skysight-inc/HackerNews huggingface dataset:
Anything could be supported with sufficient effort, but streaming hasn't been my priority so far and I haven't explored it in detail. I want to get XSLT 3.0 working properly first.

There's a potential alternative to streaming, though - succinct storage of XML in memory:

https://blog.startifact.com/posts/succinct/

I've built a succinct XML library named Xoz (not integrated into Xee yet):

https://github.com/Paligo/xoz

The parsed in memory overhead goes down to 20% of the original XML text in my small experiments.

There's a lot of questions on how this functions in the real world, but this library also has very interesting properties like "jump to the descendant with this tag without going through intermediaries".
Pebal is really pedantic about the term in every thread. Because apparently only he has ever achieved pause free GC for his C++ gc.
> Thanks a lot! My family is fine in Yangon. Yangon didn't got hit much

Glad to hear! That is a massive silver lining!
> using the wrong language

IMO this is the source of much of the demand for type hints in Python. People don't want to write idiomatic Python, they want to write Java - but they're stuck using Python because of library availability or an existing Python codebase.

So, they write Java-style code in Python. Most of the time this means heavy use of type hints and an overuse of class hierarchies (e.g. introducing abstract classes just to satisfy the type checker) - which in my experience leads to code that's twice as long as it should be. But recently I heard more extreme advice - someone recommended "write every function as a member of a class" and "put every class in its own file".
No.

Lightning striking the tree is bad. It damages it, full stop.

Lightning striking the trees surrounding it is good, because it kills them, and it gets more resources and grows more.

But the two events tend to happen together, because lightning hits several trees at once.

So the title is, indeed, incorrect. It's confused about which trees are being hit, and which trees are benefiting.

Obviously the best-case scenario for the tree is to have lightning strike next door, killing neighboring trees with no damage whatsoever to yourself.
The geometry of the fault may have something to do with it, maybe some constructive interference at play...?
oh hell yeah. makes me want to go grab a 6502 box from the gar-age. Do the rPi Pico 2W next!
Edit: as pointed out, you can't simply divide by each number, because then its not equal to original number factorial. However, I've fixed the algorithm somewhat maintaining the basic idea

The "naive" way

100!= 2*3*4*...*99*100

Obviously t(100) > 1. If we can get rid of the single 2, we know that t(100) > 2. If you multiply the whole thing by 2/2 (=1),

100! = (2/2)*2*3*4*...*50*...99*100
= (2*2/2)*3*4*...*50*...99*100
= (4/2)*3*4*...*50*...99*100
= 4*3*4*...*50*...99*(100/2)
= 3*4*4*...*50*50*...99

We can continue with t(100) > 3 by multiplying by 3/3 and pairing it with 99, i.e. 99*3*(3/3) = (99/3)*3*3 = 33*9 yielding

100! = 4*4*5*...*9*9*10*..*33*33*...*50*50...*97*98

However, once we get to t(100) > 4, trying to get rid of 4, we have to skip 98 since its not divisible by 4. The other problem is we have two 4s... If we had instead using 98 for getting rid of 2, we can then use 100, and 96 for the other 4. This is our first "gotcha" for the naive algorithm of always picking the largest number, which seems intuitive at first glance.

Now if we test all possibilities starting with 2, we get 48 choices for the dividing 2 (even numbers > 2, not including 2 which will not increase t(100) beyond 2. Then ~33 choices for dividing 3 (depending if our div of 2 resulted in a factor of 3), ~25 for 4, But notice since we now have two 4s, we have to do it twice, so its 25*24 choices for getting rid of 4.*
It's not clear what you tried to start and absent any other information your personal failure at it isn't a compelling alternative picture of the region's development to me.

I'm sure there are valid other views than the one presented in the article, I'm not saying there aren't. But as someone who doesn't know much about the region, you aren't really giving me more information about it, or giving me any reasons to take your view more seriously than the one presented in the article.
Today we (Depot) are not, though some of our customers configure this. For the moment at least, the ephemeral public IP architecture makes it generally unnecessary from a rate-limit perspective.

From a performance / efficiency perspective, we generally recommend using ECR Public images[0], since AWS hosts mirrors of all the "Docker official" images, and throughput to ECR Public is great from inside AWS.

[0] https://gallery.ecr.aws/
There's nothing to track here really. For better or worse, browsers are stuck with 1999's XSLT 1.0, and it's a miracle it's still part of native browser stacks given PDF rendering has been implemented using JS for well over a decade now.

XSLT 2 and 3 is a W3C standard written by the sole commercial provider of an XSLT 2 or 3 processor, which is problematic not only because it reduces W3C to a moniker for pushing sales, but also because it undermines W3C's own policy of at least two interworking implementations for a spec to get "recommendation" status.

XSLT is of course a competent language for manipulating XML. It would be a good fit if your processing requires lots of XML literals/fragments to be copied into your target document since XSLT is an XML language itself. Though OTOH it uses XPath embedded in strings excessively, thereby distrusting XML syntax for a core part of its language itself, and coding XPath in XML attributes can be awkward due to restrictive contextual encoding rules for special characters and such.

XSLT can be a maintenance burden if used casually/rarely, since revisiting XSLT requires substantial relearning and time investment due to its somewhat idiosyncratic nature. IDE support for discovery, refactoring, and test automation etc. is lacking.
In GCP there are many tier-1 services where that is not even possible. It's also definitely gotten way easier to do this using IaC etc.
I believe it. My wife shops at Coach and their outlet stores are much better than their main stores. The store footprint is at least double, which means they also carry more product. The outlet has more men's products as well. Plus the staff is generally more grounded.

I had a purse of hers sent back for reconditioning and the regular store didn't seem to notice that it was originally an outlet product (granted, it was like 8 years old at that point).

Granted, not every retailer is like that. GAP brands definitely sell inferior products at their outlet stores. But I don't notice a difference in quality for Levi's stuff at their outlet stores vs department stores.

I think outlet malls are generally seen by consumers as "malls that focus largely on clothing". The only regular malls that have survived in my area are maybe 30% clothing, with the rest being the huge Apple store, restaurants, cafes, jewelry, car showrooms (?), LEGO, overpriced home goods, etc. While the outlet mall remains like 80% clothing.
I know that's what I do! It's a fun exercise, and Forth is uniquely suited to writing Forth interpreters. Forth really only has a few areas where it excels and they are incredibly niche ones at that.
Thanks!

Unfortunately at this point there's no HTML parser frontend for Xee (and its underlying library Xot) yet (HTML 5 parser serialization is supported at least in code). It shouldn't be too hard to add at least HTML 5 support using something like html5ever.
> The problem is that our brains are designed to sort of lie to us and tell us that what we've created is amazing when in fact we'd never actually read it if someone else had written it.

You've just described 98% of my poetry output. Luckily I consider this to be a feature, not a bug, and shall continue to churn out more poetry regardless of what the rest of the world thinks.
I just pulled the 100GB number out of nowhere, I have no idea how much overhead parsed xml consumes, it could be less or it could be more than 2.5x (it probably depends on the specific document in question).

In any case I don't have $1500 to blow on a new computer with 100GB of ram in the unsubstantiated hope that it happens to fit, just so I can play with the Wikipedia data dump. And I don't think that's a reasonable floor for every person that wants to mess with big xml files.
Interesting, I have a Roland S-330 from the late 1980s and my main concern getting it was the floppy drive viability. It didn’t occur to me that the mouse would be difficult.
The real mathematics is the one that we dream
Encryption might not even need much any explanation, just using familiar terms: kids come up with "secret languages" all the time between friends and siblings.
Meanwhile, KeystoneJS (a Typescript CMS using Prisma ORM) has such complex generics that I am unable to write a field validation function as standalone, only inline; I simply cannot express the type signature! Ridiculously expressive can be just ridiculous.
I used to think I hated children. No, I hate bad parenting. Friends had kids and talked to them like adults (not when they were toddlers, obviously) and the kids turned out awesome. I think it’s easy to handicap children by limiting your expectations of them.
Where in the world did you get those statistics from?
In my own humble opinion, jgc is the reason behind Cloudflare's open culture and incredible post-mortems. Thanks for making Cloudflare an incredible company to work for and with John. <3
This post seems to be missing an additional opportunity: Zig's build can involve go build! Use Build.addSystemCommand, have it depend on library step, and have the install step depend on that step. This reduces the steps to build to just 'zig build'
The AT connector predated that and is essentially a jumbo PS/2 connector. Mice were DB9 serial, though.
As per your 1st document (page 15). Kerala has risen from 84.6 to 152 (~80%) while Haryana from 106.9 to 176.8 (~65%) in addition to the fact that most of the Haryana's growth has come from being in proximity of New Delhi. Same for Tamil Nadu (56%).
I use livreoffice writer for my legal work on a full time basis. Gets the job done.

Have to send PDFs so it works.

I do not have to do collaborative editing like tracking but I suppose that works too.

Calc is.. slowly improving but it works.
Well, I'm relegated to tall sizes so my options are probably a bit more limited.

The brands I typically wear are Izod, RL Chaps, US Polo(not RL Polo), and lately some from Kingsize. The latter fit nicely but I find a lot of styles a bit wonky or dated.
Why should this require opt-in? I don’t see anything wrong with publishing interesting statistics.
on this similar topic, the book `Writing for Developers - Blogs that get read` is also a great book
> I was at XML Prague, an XML conference

There's an XML conference?!
What's the bias I don't really understand. That I only see the ones that get caught and had a victim willing to show up in court over it? So this is actually probably a much bigger issue than I think it is?
I can't understand my own code a week after writing it if I forget to comment it.
The majority of people thought they were voting for cheaper groceries, not for undoing our entire system of alliances and global trade.

Also, the President is not a King, so just because people voted for him it doesn't mean opposition ceases to exist. Opposition and push-back to executive policy been a mainstay of US politics. It's been true of Democratic Presidents (e.g., federal courts blocking Biden's policies), and it remains true of the current President.
Stuff just doesn't start. 404 errors.

Maybe consider using ipfs instead of unreliable mirrors, to access the files.
> You're implying that buggy software has no impact on the bottom line.

I'm not implying that, and I don't think my manager was implying that either. I think rather there were 2 things going on:

1. It's often hard to connect bug-fixing to metrics.

A specific feature change can easily be linked with an increase in sales, or an increase in usage. It's much harder to measure the impact of a bugfix. How can you measure how many people are _not_ churning thanks to a change you pushed? How can you claim an increase in sales is due to a bugfix?

In your case, I'm sure some team at Microsoft has a dashboard that was updated the minute you used one of these features you bought Microsoft 365 for. How could you build something similar for a bugfix?

Bugfixes don't tend make the line go up quickly. If they make the line go up it often is a slow increase of regained users that's hard to attribute to the bugfixes alone. Usually you're trying to measure not an increase, but a "not decrease", which if possible is tricky at best. The impact is intuitively clear to anyone who uses the software, but hard to measure in a graph.

2. A ruthless prioritization of the most clearly impactful work.

I wouldn't have minded working on something less-clearly measurable which I nonetheless thought was important. But my manager does care though because their performance is an aggregate of all those measurable things the team has worked on. And their manager cares, and so on and so forth.

So at the end of the day, in broad strokes, unless the very top (which tends to be much more disconnected from triage and edge-cases) "doesn't mind" spending time on less measurable things like bugfixing, said bugfixing will be incentivized against.

I think we all know this impacts the bottom-line. Everyone knows people prefer to use software that is not buggy. But a combination of "knowing is not enough, you have to show it" and "don't work on what you know, you have to prioritize work on what is shown", makes for active disincentivizing of bug-fixing work.
>"There's no such thing as fish"

fun fact, your average bony fish is more closely related to us than it is to a shark
mmm... like a whole Harry Potter series
My complaints about XML remain pretty much unchanged since 10 years ago.

- Not including self-closing tags, there should only be one close tag: </>

- Elements are for data. Attributes are evil

- XPath indexing should be 0-based

- Documents without a schema should not make your tools panic or complain

- An xml document shouldn't have to waste it's time telling you it's an xml document in xml

I maintain that one of the reasons JSON got so popular so quickly is because it does all of the above. The problem with JSON is that you lose the benefits of having a schema to validate against.
It is all about informational asymmetry, you know nothing about the people in power, while they (potentially) could know all about you. The idea is to get you to self-police by assuming the gaze of those wielding the power.
that's another thing! people are all "just read the documentation". the documentation goes on and on about irrelevant details, how do people not see the difference between "do x with library" -> "code that does x", and having to read a bunch of documentation to make a snippet of code that does the same x?
https://x.com/VertigoWarrior/status/1905613070636122443
_will_ vote in some folks? see this is what confuses me about the trump is a fascist crowd, aren't we concerned about giving the state this much power because of the people who have already been voted in?

I mean, it's too little too late but likewise it's amazing to me that the same people who are trying to convince me that the current government is fascist is also at the same time still campaigning on behalf of the same government to disarm its citizens.

make it make sense!
This is just neoliberalism and it doesn't surprise me given the pedigree of the people involved. The author Laura Foote went to Georgetown Day, a DC private school (2025 tuition ~$50k/year) that counts the Obama daughters among its alumni, and Hamilton College, a private liberal arts college in upstate New York (2025 tuition ~$60k/year). "Abundance" co-author Derek Thompson went the Potomac School, a prep-school in the shadow of Langely (2025 tuition ~$50k/year), and Northwestern, a well-known Chicago private university (2025 tuition ~$65k/year). At last Ezra Klein went to public school before getting on that grind.

Meanwhile, on the subject of "state capacity" the author immediately cites "the Niskanen Center". What the heck is the Niskanen Center? Evidently, it's "the most interesting think tank in American politics" according to Time magazine's Molly Ball (Yale, 2025 tuition ~$65k/year), with "roots on the libertarian right". The Niskanen Center says of itself that it "promotes policies that advance prosperity, opportunity, and human flourishing, guided by the belief that a free market and an effective government are mutually dependent." So, what does the most interesting think tank in American politics say about state capacity? Surprise surprise, it says both the traditional Right and the traditional Left are to blame for the decline in state capacity, the latter owing to what else but stifling and "sclerotic" over-regulation. Who exactly at the Center says that? That "research" comes from Brick Lindsey (Yale, Harvard), former senior vice president at the Cato institute where he focused on free trade. Who else is on the masthead for the Niskanen Center? It seems like it's mostly right-leaning Republicans, ex-military, and ex-Cato people.

Is all of this as clear to you as it is to me? To me, this is just the usual prep-school to Ivy League Acela Corridor and Silicon Valley wealthy neoliberal elite making yet another bipartisan "blame both sides" bid to roll back regulations that stand in the way of them making even more money. If that's what you want to read, go for it. It's a free country. Just please don't have any illusions that there's anything new here.
I never said that. I only said as the boss I make the rules. Perhaps I work and commute more, or less, than my charges.
A sufficiently smart anything can do anything.

What makes modern debuggers special is the insane amount of engineering to make it work.

LLDB is close to a thousand man years of engineering iirc.
You reminded me of someone! :-)
> Why does such a tool need an API and an external connection?

So time spent on different devices can be tracked under a single user account, I guess.
But many, perhaps most, parsers and serializers for CSV are not compliant with RFC 4180.

RFC 4180 is not an official standard. The text of the RFC itself states:

> This memo provides information for the Internet community. It does
> not specify an Internet standard of any kind.

CSVs existed long before that RFC was written, and it is more a description of CSVs that are somewhat portable, not a definitive specification.
Heh - I was looking for examples of 6502 Forth. I did fine fig-forth, but this looks interesting too now. This always happens on hacker news - I have some interest, and I see it on the front page of Hacker News soon after.
Show HN: To understand recursion, you must understand recursion
> Attending a baseball game with your kids or [...] is out of reach for millions of Americans. Between rising ticket prices and exorbitant concession costs...

If you think the only type of baseball game worth seeing is Major League Ba$eball...that's kinda like "needing transportation", when you can't afford a Rolls.
I can ask chatgpt to generate a painting of my wife and it does it instantly. That would cost thousands of pounds from a human.
Hold on, I'm coming back to this thread, I think I've cracked it guys. Some real alpha for you right here:

If the em dash has spaces around it -- as seen in AP style -- it was probably written by a real human, because that's how it comes out most conveniently on a word processor.

But if the em dash has no spaces around it--Chicago style--there's a good chance you're looking at LLM slop.
We can and, IMHO, should do both. Scientists explaining physical realities, such as gravity, don't use advanced mathematics - it would be pointless.
« To understand recursion, you must understand recursion. »

In other words "go your way" you will not understand anything about recursion if you are not among the lucky ones. In this paper, taking forgotten byways, I propose to demonstrate the opposite, to show why recursion is consubstantial to us and why it concerns us all as humans.
y is this on HN first page? by wat measure is Kerala rich? No industries if exports bodies to ME, commie rule for decades atrophied all industry. It's a political hitjob against India central gov, HN should keep its standard above this shitshow
You're imagining things. I never said who works more at home or in the office. Or who has longer commutes.
Hopefully Uttarakhand can follow Himachal Pradesh, but it is ravaged by national parties as of now, best case scenario, the new youth leadership of UKD actually wins and does some work
I'm still a fan of J. Crew. They fit me very well.
You can completely ignore what I said about my personal experience. The rest of it is still valid, and please read the child comment I posted on the same sub-thread.

Basically, Kerala exports a workforce because it can't produce or export anything else. At roughly a third of the GDP (in 2012 according to Wikipedia), it's a remittance based economy. Someone commented that remittances are a smaller part of the economy of late (and that might well be true), but in the last decade or so Kerala is also heavily in debt.
But a comma is much more likely to need to be escaped.
Americans enjoy their current (highly subsidized) standard of living in large part because we produce a surplus of goods and services that we export to the rest of the world.

If a good chunk of the world turns against the US, such that they refuse to consume our goods and services, then Americans will not be able to continue to enjoy their current standard of living.

This is why "soft power" matters, and it's why would-be contenders such as China have invested as heavily as they have in building up their soft power in LatAm, Africa, and elsewhere.

So yes, enjoy your "hard power," but you'll probably be poor.
*-either NOT vetted or were vetted by unknown/untrusted parties
In addition to Kamshak's note about parallel inference accumulating float errors differently due to order of operations, which makes LLMs theoretically non-deterministic at temperature 0, there is the issue of them being practically non-deterministic as-deployed, not just via temperature but because of inclusion of prior "turns" in context, variations in phrasing of prompts, etc.

It's also "non-deterministic" in the sense that if you removed all sources of non-determinism and asked "What is 1+1?" and received the answer "2" deterministically, that doesn't guarantee a correct answer for "What is 1+2?". Ie a variation in the input isn't correlated in a logical way with a variation in the output, which is somewhat fatal for computer programs, where the goal is to generalize a problem across a range of inputs.
Competent government workers are able to rely on experts to deal with various issues. There's lots of regulation around tech, environment, animals, health, building requirements, etc. that we can't realistically expect everyone to have a deep understanding of.
I wasn't trying to refute it; I was adding information: The quote didn't mention or imply that there are also single-cell eukaryotes, so I added that detail.

Not everything is an argument or attack.
> [...] one pair ordered from Amazon, one pair sent by Levi’s for each style. [...] It seemed the tipster was half right. The tests confirmed a lot of variability between two pairs of the same jeans — you could buy the same style from Amazon and Levi’s and feel a difference. But it didn’t add up to gaps in quality; there was no indication that the Levi’s from Amazon were worse.

All this time, researchers have been wasting money on sample sizes larger than 1 before drawing conclusions.

Also, I find the word "commingling" nowhere in the article. It's very relevant to the question of what product you're receiving when you buy from Amazon.
0.2x of the original size would certainly make big documents more accessible. I've heard of succinct storage, but not in the context of xml before, thanks for sharing!