skysight-inc/HackerNews huggingface dataset:
The svg infographic on page 'Life Cycle of an Order' > 'Overview' is outstanding. Source indicates Adobe Illustrator as the generator.

Oddly, the direct hyperlink to this page doesn't seem to work properly though: https://primer.prooftrading.com/lifecycle-of-order/
Do you mean PCRE’s “(?&name)” feature? That is not portable; for instance, Python calls it “(?P=name)”. Or do you mean the common feature of “&” in the replacement string meaning “the whole matched string”? While this feature is common in languages which use regexps (including ed, sed, awk, etc.), that’s not actually a regexp feature, since the & character has that effect in the replacement string, not in the regular expression. It is also not always portable; for instance, Emacs requires escaping as \& for the character to have the special feature.
I just hired two women into an all male team. It wasn't because of DEI, it was because the code bootcamp we recruited from had equal representation. I was delighted to increase diversity, because diverse teams do better work. But the fix was farther back in the pipeline.
Doesn't the flat earth extend infinitely in all directions?
Interesting to know about the Coriolis effect.

I get that what really matters is the relative motion, but it still seems to me that there might be a gravitational/inertial effects at play, even if tiny.

Consider this thought experiment: Planes cannot really fly into space, but assume they can. At a certain altitude, it cannot be said the the plane is moving perfectly in step with the gravity of the earth. At infinite altitude, that certainly cannot be the case.

So that tells me there is some deviation due to the inertia of the plane, even at low altitudes. Like I said, the effect might be tiny, but would be interesting to learn more about it nonetheless.
I did that, then I needed to tweak things so I added options, then I needed to use the package somewhere that needed to be self-contained, so I started copy-pasting ;). I've done similar things with makefiles, tox configs, linter settings (all of which started from an initial version I wrote from scratch).

I suspect the real reason this effect exists is because there's copy-pasting is the best way to solve the problem, due to a varying mix of: there being no way of managing the dependencies, needing to avoid (unmanaged) dependencies (i.e. vendoring is the same, only we have a tool managing it), the file (or its contents) needing to exist there specifically (e.g. the various CI locations) and no real agreement on what template/templating tool to use (and a template is just as likely to include useless junk). Copy-pasting is viewed as a one-time cost, and the thing copy-pasted isn't expected to change all that much.
In US companies and universities that I have been at throughout my 30-year career: a group of men harassing a woman with strip poker jokes would be dealt with very swiftly and decisively. My 2c.
bash associative arrays are fantastic, I've made heavy use of them, but be warned that there have been several memory leaks in the implementation. (Sorry, no version notes, once we realized this, we rewrote a key component in C.)

IIRC, the latest bash addresses all of these, but that doesn't help too much if you are stuck with an older, stable OS, e.g., RHEL 7 or 8; even 9 likely has a few remaining.

These leaks become an issue if you have a long running bash script with frequent adds and updates. The update leak can be mitigated somewhat by calling unset, e.g., unset a[b], before updating, but only partially (again, apologies, no notes, just the memory of the discovery and the need to drop bash).

I'd agree with the idea that bash wasn't the best choice for this purpose in the first place, but there was history and other technical debt involved.
Finding the Perfect Gift: Tips, Trends, and Expert
Reviews and Testimonials: Look for genuine buyer feedback, whether through retailer platforms or social media groups. This ensures you avoid duds and discover hidden winners.
Return Policy: Gifting isn’t foolproof; a flexible return or exchange policy is always a plus.
Presentation: Don’t underestimate the power of good wrapping. Even the simplest gift can feel luxurious or heartfelt when presented elegantly.
6. Putting It All Together
Research the recipient’s interests—What do they enjoy? What’s their style?
Browse trusted gift guides—Start with thebestgifttip.com for broad ideas, and hone in on specialized advice through resources like Tumblr and Quora.
Weigh your options—Compare prices, check reviews, and ensure return or exchange possibilities.
Add finishing touches—Wrap it thoughtfully, include a note, or pair it with a personal gesture (like homemade cookies or a short speech).
Final Thoughts
Searching for the perfect gift doesn’t have to be daunting. With so many online platforms offering personalized advice—from everyday people on Quora to expert lists at thebestgifttip.com—you’ll have no trouble finding something that hits the mark. Whether you’re shopping for a curious toddler, a tech-savvy teen, or a hard-to-please friend, there’s a wealth of inspiration at your fingertips. Remember: meaningful gifts often reflect the thought behind them—so take the time to explore, compare, and choose something that resonates with the person you’re celebrating. By using the resources above, you’ll be well on your way to mastering the art of gift-giving.
Does not work this way in Zsh. What's the purpose of that in Bash?
Below, we’ll walk you through gift ideas, foolproof tips, and references to some fantastic resources, including thebestgifttip.com, to help you plan a memorable event.
>Language changed.

I argue that it hasn't; we say "man" both by itself and as part of another word (eg: manpower) in many contexts where gender is literally irrelevant.

What has changed is the likelihood of certain individuals engaging in sexism in the name of equality.
Well yes by inference
https://doc.rust-lang.org/stable/std/f64/consts/constant.TAU...

https://docs.python.org/3/library/math.html#math.tau

https://www.google.com/search?q=tau*1

https://docs.oracle.com/en/java/javase/21/docs/api/java.base...

https://learn.microsoft.com/en-us/dotnet/api/system.math.tau...
Jeju Air jet black boxes stopped recording before crash: transport ministry
Ha! I said this the other day to a friend as well. The 'typical' (Mercator) view has Greenland looking nearly as big as the continent of Africa. Reality is that it's about 1/4 the size of the mainland US. Still a lot of land but not as big as a lot of people seem to assume.

I honestly have no idea how basic math (sphere to flat projection) escapes people.
> ... bringing "energy resilience", a key policy buzzphrase.

The word "buzzphrase" implies that you think energy resilience is not as relevant as the proponents want to make it seem. Correct?

I've been thinking for years that resilience of the overall energy system is a factor that many green energy transition people appear to systematically overlook.

As I see it, chemicals based energy systems have a huge advantage over electricity based energy systems through their property of bringing large amounts of storage (and thus capacity to bridge outages) with them basically inherently.

The electrical grid is a delicate life support system and I'm convinced that it will - even in the far future - depend heavily upon chemical energy storage and transportation to give it resilience.

As far as I've heard the electrical grids in the US and Europe have come close to breaking points a lot more often over the last few years, compared to before. And even though huge sums of money are being invested in their build-out and maintenance, the supply situation with critical components such as transformers is apparently dire.

Alltogether makes me think that chemical energy storage (and thus, hydrogen, power-to-gas, ammonia, and such) will have a dead-sure place in energy systems.
because npm+electron is the vb3 of today
So if I have an empty page table 0x00000001 can be referenced as a valid address?

Memory mapping on all hardware with which I am familiar (which is not a small integer) is done by pages. If you have to fault on one address in a page (eg. zero page, stack canaries, heap guards) you have to fault on every single address in that page. But "memory is cheap". Until it's not.
Want to be part of a unique chess experiment? I'm streaming live chess puzzles on Twitch, and the viewers decide the moves! We're building a community of chess lovers who enjoy solving challenging positions together. Earn points for suggesting the best moves and climb the leaderboard. Come join us for some collaborative chess fun: https://www.twitch.tv/brainboltlive
Yes and they’re far less efficient and require far more maintenance than an equivalent electric or even diesel engine, where equivalent power is even possible
> i put as many keywords and "inurl"s and whatnot in as i can manage

More keywords does the opposite of narrowing the query. Unless you use quotes and/or other operators, it’s enough for the document to contain only one of your keywords (anywhere, including meta tags) to be a match. Hope this helps.
They are also slow AF because a lookup takes linear time.
Just don’t. We are not in the 2010s anymore. Adding dozens of dependencies to your startup is death by a thousand cuts.
I think you mean, don't be poor.

It's not like people in prison are actually all guilty of their convicted crime.

You'll see this double-standard a lot for minor offenses as well. How many times has MKHB been caught excessively speeding (including 90? in a school zone) and still have a license.
It's working while I try right now. Could you share more about the error you faced?
C++20 introduced std::midpoint() [0]

Interestingly, calculating the midpoint of doubles seems quite complex (according to gcc at least) [1]

[0] https://en.cppreference.com/w/cpp/numeric/midpoint

[1] https://godbolt.org/z/G1P611o7Y
If everything in your tree is similar, yes. I agree that's going to be a very small Makefile.

While this is true, for much larger projects, that have lived for a long time, you will have many parts, all with slight differences. For example, over time the language flavour of the day comes and goes. Structure changes in new code. Often different subtrees are there for different platforms or environments.

The Linux kernel is a good, maybe extreme, but clear example. There are hundreds of Makefiles.
Is Hyperstack project still active? They haven't left the alpha stage yet and there doesn't seem to be much activity there.
There is a semantic issue here that's bothering me: the word "Fact" is a contronym.

I was taught in elementary school that facts don't need to be true to be a "fact". Nearly 3 decades ago, I was told that "facts" are either true or false, as opposed to "opinions" which are neither.

Then, as time moved on, I encountered what appeared to be a bifurcation in the English language, where half the people I encountered defined "fact" as a true statement, and the other half defined "fact" as any statement about the external world that did not rely on somebody's internal state of mind to make sense.

I challenge all of you to perform a quick experiment with Google.
Step 1: Google "Fact vs Opinion". Skim the results.
Step 2: Google "Fact definition" or "Fact meaning". Skim the results.
Step 3: Compare and contrast.
What a great demonstration
ANSI SQL has had IS [NOT] UNKNOWN since SQL:1999 [1]. It's an optional feature that some databases don't support. Postgres, MySQL, and MSSQL do support it.

[1] https://modern-sql.com/concept/three-valued-logic#compatibil...
I am in Latin America so we play a lot of variants of games here.

I like canasta, 26, Escoba, 500, carioca.
Thanks for this explanation; quite interesting.

But it still seems to me that there might be a gravitational/inertial effects at play as well. At a (hypothetical) infinite altitude, it can no longer be said the the plane is moving perfectly in lock-step with the gravity/rotational acceleration of the earth. This implies the inertia of the plane relative to the rotation of the earth still has an effect at lower altitudes.

The effect might be tiny, but would be interesting to learn more about it nonetheless.
I'm not a Java programmer, but how would you load of a 1GB file into memory? I assume read returns some kind of an array.

Also big arrays being (supposedly) a coffeee smell doesn't mean that code handling them improperly is not buggy.
That's a bad benchmark, it doesn't show what type of data is being encoded or the programming language.

Encoding/Decoding an array of strings in Javascript is going to have a completely different performance profile than Encoding/Decoding an array of floats in a lower level language like C.
Why did they stop making those? When I went to 4K, I wanted to get a 24” monitor, but there were none.
That's funny, I made the same mistake on my first reading. I had to slow down and go back over it!
I would disagree. The inputs to these functions are user controlled and so can be forced to break, whereas humans cannot change how gravity works.
Of course the "answer" is never that people were biased in favor of DEI groups in the first place, and removing said overt markers of their race just removed that bias because individuals could no longer discriminate. No, the answer was obviously then is that people found "secret" and "subtle" markers instead because they just have to discriminate and don't like DEI groups.

Occams razor comes to mind.
A cynical takeaway from this is that it's hard to write good code and it doesn't really matter if you do or not.

Most code at every company I've worked at and project I've built is littered with technical incorrectness and buggy half-measure implementations. It's human nature or time pressure or something like that, but the application continues providing business value despite that.
Otel is a spec. You can create your own clients/aggregators/etc.. The problem is that if nobody does it, there will be no tooling. So Otel created some tooling (and yes, it's bad) for people to use.

Some companies (ie: Datadog) are contributing to the tooling but I think most companies would rather spend dev time on their own platforms than something that anybody (competitor) can use.
Come on this is HN, the news / link aggregator of a VC: tell us how much the exit was in $$$ ;-)
The Deadline Doom Loop
It can't overflow - max_int+max_int < max_uint
> As in you, a German born in Germany, get addressed in English every now and then by strangers, because if you're not white,

Not sure why you find that surprising. Being German is not written on your face. Since most Germans are white, most people will make the correct assumption that if someone is not white, there is a stronger likelihood that they are not German. The same happens in Japan with mixed race kids who get treated like foreigners even though they were born and spent their whole life in Japan. That's just how brains work.

If you had no prior assumption you could assume that nobody is who they seem to be and that would make things very complicated for everyday life.
> One usage example is worth a hundred words ... For bash idk if that exists on the internet, ...

Totally agree with that - I maintain a big txt file too.

Maybe this bash compendium is a bit similar:

https://www.commandlinefu.com/commands/browse
Spelling it out like that sure gives some perspective - It's a frighteningly low number! They sell 2tb microsd cards nowadays. I bet you could fit 2^64 bytes in a shoebox. So I think uint64 might eventually be insufficient as a size type.

Edit: Well not quite, more like a small closet.
> This is an obvious, common category of bug that's been well known for decades.

TFA is actually the article which made it common knowledge, it's from 2006.
I end up doing the copy paste thing quite a lot with build tools, it was very common in Ant, Maven and then in Scala build tool. When your projects all have the same fundamental top level layout and you are doing the same actions over and over you solve the problem once then you copy and paste it and remove the bits that don't apply.

These types of tools there isn't much you do differently they don't give you much in the way of abstractions its just a list of actions which are very similar between projects. Since you typically with them are working in declarations rather than the usual programming primitives it often fundamentally falls down to "does my project need this build feature or not?".
A hydrogen fuel cell powered vehicle is an electric vehicle. The fuel cell outputs electricity that powers an electric motor.
If you interview 10 people for one job opening, you have to pick one of them. If 5 of them pass the technical interview you start filtering them on other non-technical things. "Would I like to hang out with this person", "were they funny", "do they have similar hobbies to me?", "did they go to the same school as me?"

Whoever you pick, for whatever reason, didn't take an opportunity from the other 4 qualified people.

Heck, my wife would have a pile of resumes to go through and she only read them until she found 5 people she wanted to call. If you were "the next" person in the pile it was just bad luck that you didn't get called. The people in the pile before you didn't take your opportunity.

Interviewing is hard. People don't have a "technical skill" stat that you can sort by and just take the best one. People interviewing people is a terrible way to decided if someone will be a good fit, but it's the only way we have.

Often you end up with a bunch of people that you feel are equally qualified and you just have to pick one. If you use "dei" to pick rather than "this person was in the same fraternity as me" that's just a different side of the same coin. The difference is that before DEI programs, the people that passed the "post technical" part of the interview were the people that were most similar to the interviewers (that's human nature) and the interviewers were mostly white guys.

Rather than taking away opportunities, DEI takes away the ability for white people to "always win ties"
Thanks for clarifying. But note that the same applies to modern translations. There is no agreement between experts (translators) what it means for a translation to be "good" or "bad", or anything in between.

So the done thing in translation is to choose some existing translation as a "gold standard" and use that one, without any assumptions of how good or bad it is. Sometimes there's an attempt to rate translations by polling humans but that can not be easily done at scale and certainly not at web-scale, as in LLMs (the modern de facto standard for automatic translation as far as I can tell; I haven't been watching the field closely lately).

The same logic is applied to metrics like BLEU and ROUGE scores, used to measure the goodness of a translation. The general idea is that you choose a translation to be the "gold standard" and then compare the n-grams in the gold standard, and the automatic translation, for overlap.

It's a very crude and imperfect measure and it's one reason why, in practice, we have no idea how good automatic translations are especially now that automatic translation systems are deployed and working every day with millions of input and output texts that nobody can reasonably be expected to evaluate.

In any case just because there's no fixed opinion on what is a good translation, doesn't mean an LLM can't be used to produce one. It probably will. Assuming I understand your point better now, I agree that this is going to cause trouble down the line.
I built an Gemini powered AI that detects and fixes Python errors with reasoning
> Over the course of a year and hundreds of candidates I presented, I've managed to place just one developer in a company

I work at pseudo government organization where we take seminars every few months about dei, gender issues, etc... and it has made 0 difference when it comes to hiring. Ultimately my org is trying to reach out more, get to dei events, but that's as far as the effort goes. Once a job application is posted, it's the same old process. Maybe that's fair, but it felt disingenuous, and unnecessary, especially since we weren't great at hiring anyways.
The current state of web development is unfortunately a perfect example of this quality crisis. The tangle of dependencies either directly causes or quickly multiplies the inefficiency and fragility we’ve all come to expect from the web. The solution is unrealistic because it involves design choices which are either not trendy enough or precluded by the platform
Two 30s unskippable video ads during POST
Taking resources - tax dollars and opportunities usually granted on the basis of merit - from white person and redistributing them to black person on the basis of race absolutely does punish the white person. Talk of "historical oppression" is just a polemic to distract from this racist favoritism.
Python is the new Basic
It was, but it created some nightmare HTML that even FrontPage had trouble rendering.

We called it Don’tPage.
I meant coriolis effect on the wind. Not sure if noticeable in a plane.
'I think there is life there. Today': race to put a human on Mars – in pictures
It was very easy to get from the usual “alternative” software sources.
My thought exactly. But that's C++, a bolted-on mess of crap whose redeeming features are (a) roughly the same execution performance as C and assembly, and (b) it's safer and higher productivity than C or assembly.

At this point, it feels like a matter of time before Rust replaces C/C++.
Actually works, a bit buggy but its a good POC.
You might like these:

• <https://learnxinyminutes.com/>

And some code search engines:

• Debian: <https://codesearch.debian.net/>

• Python: <https://www.programcreek.com/python/>

• Linux: <https://livegrep.com/search/linux>

• GitHub: <https://grep.app/>

• HTML, JS and CSS: <https://publicwww.com/>
According to the WSJ, not so embarrassing that people are tapping the top button that much. After a while people are just done with it.

(And while this probably isn't a major factor, it backfires for people like me. By default I tip higher than most of the canned buttons.)
Trump has stated that he's against this ban. But my working assumption is that Meta's recent announcements around moderation, diversity, and new execs are a quid pro quo for Trump supporting to the ban in office.
What do you do when both A and B score a 95 and there is only one job?

That's what DEI solves for. Not "higher a lesser candidate," but "when both candidates are equal, use diversity of the company when making the final decision"
People have been moving from rural areas to cities since the beginning of the industrial revolution. People want to improve their economic lot, and that is the most likely way to do it. I didn't know of it is even possible to stop that in a capitalist society.
There’s still tons of new projects being started in PHP. Frameworks like Laravel and Symfony are massive and actively popular.
As far I understand things, due to the weather and climate over there, anybody not in a seriously built home properly connected to utility networks is literaly dead. And those home must be properly maintained, not to mention they must have some empty spares, which must stay empty but ready, in case some nasty big local event does happen.

In other words, you better be welcomed over there, or you'll die, literaly.

And with climate change, I wonder if the current weather computer simulations on the new climate we are creating will generate extreme cold events in more southern countries, long enough event to kill many homeless if not all.
Not every "problem" needs a solution.

At this point only LLMs will be able to decipher every intricacy of C++.
Can you make it open source?
Ask HN: Next Gen, Slow, Heavy Lift Firefighting Aircraft Specs?
How can new and existing firefighting aircraft, land craft, seacraft, and other capabilities help fight fire; in California at present and against the new climate enemy?