skysight-inc/HackerNews huggingface dataset:
he also body slammed a reporter, so lets not give him too much credit
This is fun :-) I was pleased to learn about __builtin_longjmp. There's a small aside in this article about the signal mask, which skates past another horrible abyss - which might even make it sensible to DIY longjmp.

Some of the nastiness can be seen in the POSIX rationale for sigsetjmp (https://pubs.opengroup.org/onlinepubs/9699919799.2018edition...) which says that on BSD-like systems, setjmp and _setjmp correspond to sigsetjmp and setjmp on System V Unixes. The effect is that setjmp might or might not involve a system call to adjust the signal mask. The syscall overhead might be OK for exceptional error recovery, such as the arena out of memory example, but it's likely to be more troublesome if you are implementing coroutines.

But why would they need to mess with the signal mask? Well, if you are using BSD-style signals or you are using sigaction correctly, a signal handler will run with its signal masked. If you decide to longjmp out of the handler, you also need to take care to unmask the signal. On BSD-like systems, longjmp does that for you.

The problem is that longjmp out of a signal handler is basically impossible to do correctly. (There's a whole flamewar in the wg14 committee documents on this subject.) So this is another example of libc being optimized for the unusual, broken case at the cost of the typical case.
Right. The languages themselves are usually pretty straightforward; 80% of them have a "common DNA" as most other languages, which an experienced programmer can pick up quickly. The ecosystems, on the other hand, have a lot less commonality, though more recent languages like Rust and Go are bundling more of that stuff so it's less chaotic than C and JavaScript.
this... seems insane. Tourettes is a genuine syndrome that the annoying TikTok and internet culture is causing teenage girls to misdiagnose themselves.
Discussion about accurate titling can sit alongside, it doesn’t have to get dragged into a discussion about the main topic.
Or, you know, build with three tool chains: arm, windows x64, and Linux gnu x64 and get 90% of your users.

Static complied dependencies goes a long way.
> Holocaust denial is such a pervasive and murderous conspiracy theory that any free and open society cannot tolerate.

Free and open societies don't decide at all what they tolerate. That's the entire point. If certain ideas are banned, you are not free.
Very interesting, thank you :)
Flatpak is much worse than packages because if i install a package from my distro it doesn't make duplicates for libraries and other software i already have installed.

If Flatpak checked to see what i have already available and downloaded only the dependencies i do not have already installed while also providing seamless integration (a large part of which wouldn't be an issue if it used the system libraries/software), it'd actually be very useful and a solution to every distro having to package every program under the sun and keep it up to date (which IMO is also a bad thing because obviously not all distros can do that, it is just that Flatpak is a worse solution).
I encourage you to program with Ward Cunningham sometime and then call him a poor programmer.
They would just look like spheres?
(2009)

Compression and AI have a lot of overlap, this article makes a potent argument. However there's still more to intelligence than pattern recognition. We might, now, have agents that can say "all cats are grey when its dark." They don't come out with these things on their own, yet.
This is not actually a situation where the Oxford comma disambiguates, though I also had the gut feeling one should be there
The monarchy hadn't stopped, and the Shah was still the monarch before, during and after Mosaddegh's time as Prime Minister. The Shah got more powers concentrated on him during the coup d'état, but you make it sound like the monarchy hadn't existed before 1953.
Yeah, almost everything good in tech attracts people who push a good thing too far. If not for working with some reasonable advocates, the FP zealots would have seriously put me off the techniques entirely.
Twitter fired many more engineers, and the reason for those firings was Elon's takeover and temper tantrums. Many more companies had firings this winter and things aren't on fire anywhere but Elon's Twitter.
It gets even worse when you find that asking questions about this specific historical event can get you considered "anti-Semitic" just because you were asking questions, inquiring about evidence presented is considered a "dog whistle". I've known many "holocaust deniers" and nine times out of ten it started out with them being presented with counter-evidence to the "official narrative" and instead of being treated like human beings they get called evil, told not to ask questions, and get shut down instead of having their concerns addressed in a kind, loving way. When getting slandered and abused it makes it much easier to justify leaps and make assumptions and go down a bad path.
Conspiracy Theorists Think Walkable Cities Are Open-Air Prison Dystopias
As much as I want to see the Islamic Republic collapse, and as much as I do believe it will collapse in the next few years, to me this hack[1] seems state-sponsored. It looks like professionals trying to look like amateurs. Not a bad thing, though. Iranians need all the help they can get.

[1] https://twitter.com/EdaalateAli1400/status/16243732348366684...
It's refreshing to see more information identifying ADHD beyond the behaviors and traits shown on the surface. I've always felt my brain is incapable of doing things a NT can do effortlessly and it's hard to live in a world that thinks "everyone has a little ADHD. You just need to try to focus more."
A 10 lb structure would have to displace something like 3500 liters of air (a cube with side lengths of about 5 ft). Maintaining a vacuum with such little material is highly unlikely, to say the least. Moreover, scaling the structure by a factor of 2 increases the weight by a factor of 8. So the researcher's claim that "in order to make them flow to air, we just need to make them bigger" just doesn't make much sense. The larger the "balloon", the LESS likely it is to be structurally feasible.
A New History Unveils the Exploitative Origins of the Tech Giants
> corporate personhood is little more than a legal shortcut or convenience at best.

Kind of like inheritance vs. composition.
When the are engaged in any activity and need to limit liability.
Charlie Chaplin: official website
Beware fear, uncertainty, and doubt. The new small reactors have safer designs and more fail-safes than the last gen reactors.
How about forgetting glibc alltogether and statically linking musl?
The fate of Sun just goes to show that 'worse is better' isn't just about the superiority of the Unix philosophy, it really takes no prisoners.
This is a review of the book Palo Alto: A History of California, Capitalism, and the World. From the article:

[The book] cuts past the deceit, examining the histories the fable dresses up in heroic garb. Doing for Palo Alto — population 70,000 — what Mike Davis’s classic “City of Quartz” did for Los Angeles, Harris reconsiders 200 years of history that many in the town would rather forget. Over more than 600 concussive pages, Harris narrates the town’s evolution and influence throughout the 19th and 20th centuries. He theorizes, above all, that it is defined by its distinctive approach to capitalism and profit, known as the “Palo Alto System”: a rapacious, violently exploitative mode of capitalism that generations of would-be moguls have perfected. “Palo Alto” is a skeptic’s record, a vital, critical demonstration of Northern California’s two centuries of mixing technology and cruelty for money.
As much as I disliked the violence it was the politics that did me in. I generally agree with what they're saying, but the way in which they're saying it says a lot about the respect they have for their audience.

That's probably why Orville felt like such a breath of fresh air to me.
I had a quick look at the code to understand what (sort of) meant. It's appending to a file and then reading it back and looking for the key line by line so it's O(n). I'm not sure about redis internals but I imagine its using some search tree for saving to disk which will likely be O(log n). So in a benchmark with more data redis should win by exponential margins. Ofc if you are only storing 100s of keys then this is a good approach.
Hello, the job application specifically mentions you aren't hiring remotely, is this something I can just ignore or is remote in Europe not applicable for this position?
Very nice. Does it also build out authentication and authorization? Login, and JWT validation would be very nice.

I mentor new prospective developers and this would be a great help in surmounting all of the complexity we have to deal with in getting a project to a point where you can start actually building an app. A lot of people who would otherwise be interested in development get overwhelmed with ancillary crap (setting up a basic nodejs express project, for example).
That's a really good way of putting it.

TDD assume that you can write a test as the first step. Which sort of sounds reasonable if you don't think about it too much. Sometimes it is reasonable (e.g. leetcode, improving existing code, well defined problems).

But a lot of the time that is sneakily missing out the enormous steps of prototyping, experimenting, trying solutions that didn't turn out to be a good idea, finding out that the problem wasn't a good idea, etc. etc.

All that can take longer than actually implementing a solution.

So, fine use TDD where it works well but don't pretend it is the only way to do things.
Don't these corporate people all have iPhones and want to quickly take care of something while on the run?
I agree with this response, but it would probably be a good idea to have government regulation on trans healthcare to some extent. Just not to this overwhelming degree of banning all of it.
That definition could also apply to nations, religious groups, sports teams, and many other types of organization, completely redefining the term “person”. What would be the purpose?
Amusingly when i saw the title i assumed it'd be about APE :-P.
Nit: Wikipedia articles are supposed to be based primarily on secondary sources, not primary ones, though some uses of primary sources are accepted. https://en.wikipedia.org/wiki/Wikipedia:No_original_research...
Even if you don't share it, I'm curious why you loathe that attitude.
I wasn’t able to find anything about striking down industrial safety measures in JD Vance’s campaign platform or voting record. Can you? If not then what does this have to do with JD Vance?
Do you mean as a sort of sponsored/approved false flag, or just that thoughts of revolution are reaching up into institutions?
In competition formats, the test data is not seen by anybody and after submission, the best algorithm is ranked based on how well it works on this unseen test data.
But... what if that's what this is? Being aware of the biases and position of an author is always helpful to more clearly evaluate.
Ask HN: What needs to happen for ChatGPT to iron out inaccuracies?
To me what we are seeing is what a failure the field of the philosophy of artificial intelligence has been to prepare us linguistically to have discussions about all this.

Even when we have real AGI, some people will argue we don't because it can't cook a hamburger. Then even if we make a robot AI arm to cook a hamburger, people will complain the arm can't play the guitar.
That's clearly a type of off by one error.
Personally, I tend to err on the side of hardware that can take a fall from waist-height and not set me back $600. To each their own though, I guess.
i think the problem you really have is that counterfactual conditionals are tautologies. all i've said is that the cold war did in fact happen, and it had an effect on every communist state. maybe if there was no cold war (a counterfactual), things would've been different. it's unfalsifiable like every counterfactual because you can't change history. big deal, everyone knows that and they give counterfactuals their appropriate weight.

but what's the alternative? pretend the cold war didn't happen? it's also counterfactual reasoning to critique the communist countries without acknowledging that war was being waged against them.

but, the cold war did happen. that's just a fact.
Semiconductors, computers, fiber optics, airplanes, satellites, the telephone and many other technologies came out from primarily tax-funded R&D...
Apple recently released “security updates” for the iPhone 5s - released in 2013.
Or the world.

Ice age I believe.
Do you speak Farsi? The Hindustani variant Murdabad is never meant literally.
Let’s hope we’re not getting to “Vamos a la playa” narrative soon …

https://en.m.wikipedia.org/wiki/Vamos_a_la_playa_(Righeira_s...
I could see opting for a 15/16” machine with no dedicated GPU, simply because the size of it means the cooling system is likely large enough to keep the CPU at reasonable temps without keeping fans spun up the vast majority of the time.

For a short while I had a 15” laptop with a high power AMD CPU and high power Nvidia GPU (5900HS/3080) and while the power was nice, it was much more noisy and hot than I prefer in a laptop so I returned it. Now if I need graphical muscle I turn to a tower, which can provide that in vast quantities with a fraction of the fan noise.
They'd have to stop training ChatGPT on inaccurate or contradictory information.
No like the post mentions you need to target a libc your users have on their system, which they show is best handled by linking to one that's a decade plus old (as a least common denominator most likely to be available).

If that sounds silly... then ship your libc and everything you depend on in a flatpak or similar contained system image.
There was a lot of other stuff going on that wasn’t microcomputing.
Lol, this is just basic nutrition. You should read something that's not written by the bros.
> they have to be put on watch to check their health condition so they will be separated from their parents side.

This is the North American way, I guess? So the question should be modified to include what country this happens in. Where I live, children never leave their parents' side. They pop out, get weighed in the same room, etc., and the mothers have a private recovery room for up to 5 days where both are monitored and taught some basics.
Plane and Bus Collide at Los Angeles Airport, Injuring 5, Officials Say
That is true. And then the West pushed the Shah to losen up control and become less authoritarian which enabled the Islamic Revolution.

There is a reason a lot of countries verbally lash out when the US/EU or Western NGOs accuse them of being too authoritarian. The alternative to authoritarianism is often worse.

The CIA should stop meddling in other countries. But the same goes for Western governments and NGOs. The latter is often worse than the former.
In 'my' free and open society other people are free to have ideas and I am free to avoid interaction with those people who's ideas I won't tolerate. I believe that is what it means to not tolerate holocaust denialism.
If the issue here is that Wikipedia’s editor set is being dominated by motivated nationalists, then the issue should absolutely be addressed in a non-Wikipedia forum. Both to gain access to an audience that isn’t captured, and to make sure there is public awareness that Wikipedia’s internal editorial controls might be compromised.

If the folks arguing the other side feel differently, then can certainly respond in a similar forum.

ETA: Or failing that they can hunt down any open Internet forum that is discussing the article and brigade it with opinionated takes. Which may explain what’s happening in this HN thread.
> Isn't the c++ exception system built on top of setjmp/longjmp?

It is not. The dominant C++ exception system is based on "zero-cost exception handling", which refers to the fact that you do not call any extra code (like setjmp) until an exception is to be thrown. All of that logic is instead encapsulated in tables of exception-handling data and sophisticated unwind routines that look up those tables to figure out where to transfer control-flow to.

> For setjmp to have a measurable performance impact, you have to be calling it an awful lot.

If you built the C++ exception system on top of setjmp/longjmp, you would have to call setjmp on every instance that begins a try block. This includes implicit try blocks generated for every object that has a nontrivial destructor (which must be called if you unwind through the block). So yeah, you would be calling it an awful lot...
Battery Recycler Wins $2B loan
Linux didn't even dent it in my universe back then. Between 1996 and 1999 we switched our internal systems from Solaris to NT. Even our Oracle on HP/UX estate got eaten by SQL Server 7.

Our 1999 capex and opex was 25% of what it was in 1996 and we delivered more benefits to our users.
Related to N. N. Taleb, his colleague and CIO of Black Swan fund Universa Investments Mark Spitznagel [1] discusses iatrogenics in the context of hedge funds in a recent interview [0], at 18:20.

[0] https://www.youtube.com/watch?v=s5yVDVIvQL4

[1] https://en.wikipedia.org/wiki/Mark_Spitznagel
Minimalist PostgreSQL Migrations
You are totally correct. I just copied it from the Tom's Hardware article[1] about the project where this error appears to have existed at some point in time (it still appears in the cache of my RSS reader[2]).

[1]https://www.tomshardware.com/news/risc-v-laptop-easy-to-buil...
[2]https://imgur.com/a/dPgMLYm
Any use in 30 days gets you flagged by my insurance company.
> The native HTML <dialog> element should be used in creating modal dialogs as it provides usability and accessibility features that must be replicated if using other elements for a similar purpose. Use the appropriate .showModal() or .show() method to render dialogs. If creating a custom dialog implementation, ensure all expected default behaviors are supported and proper labeling recommendations are followed.

Any bets how long it will take JS frameworks to catch up to default behavior?

Many websites still do not manage to properly make the back and forward button work, even after years.

I am glad, that more semantic elements made it into HTML, reducing the amount of stuff needed to make simple things. I only wish, that we used the standard more.
jaeger + opentracing/opentelemetry libs are easy enough. When testing Jaeger can just work as in-memory database, or put it to some other storage like elasticsearch
There was a collapse of nuclear output in France because half of its plants were at one point offline. Of those, about half were unplanned and unscheduled because of "mysterious stress corrosion". Normally a net exporter, France became a net importer of electricity. The surrounding countries kept it on life support all year. The EDF kept postponing deadlines throughout the year because they could not solve the problem. The prices were skyrocketing across western Europe, but at one point (I think late summer, but not sure) they blew up in France only, after yet another delay, reaching almost $2000 per MWh on the futures market. My guess because it became clear that the EDF doesn't have a grip on the issue, and the neighboring countries maybe can't provide enough support in the winter. The government was preparing for blackouts, and pleaded to conserve energy. The situation overall with EDF got so severe that it had to be nationalized.

All of this is easily verifiable, and well documented, but only for people that are willing to read and look at facts. For some, you included, this is mostly a religion so I realize it's difficult to get far. It's like telling a person of faith that we have no proof a god exists -- this will not work. So take care.
Homans paid $15/hour to correct it. Deepmind self play mechanisms. Fine tuning on blog posts by Gary Marcus.
One also crops up in Banks' "Feersum Endjinn" which I think pre-dates it by a couple of years?
Serious question? There will be a root object that has a stable name through updates. When you write that, you embed current content hashes in it.

Someone could get the cached of it, of course. But since it content addresses what it links to, it should avoid incoherent groups of cached data.
I wonder if setjmp/longjmp can be implemented in hardware, i.e. introduce an instruction set that points, save and switch the current registers called register window that can be switched by saving a pointer.

This way both setjmp and longjmp are basically few cycles and exception handling would be hella fast.
You can do all of that using helium (or hydrogen…) plus it actually works. (China’s recent balloon shot down over Myrtle Beach didn’t use propellers, but others have: https://twitter.com/mrjeffu/status/1621728807609843718?s=20&... )
Couldn't you just feed a 4k screen a 1080p resolution? It's a bit annoying if it defaults to 4K every time you plug in I guess. If you can use HDMI, you could get an inline EDID adapter.
It works if whoever created the binary statically linked it or ships the deps with it. This isn't the typical experience for rpm and deb packages but it's still doable.
Bypassing Jekyll on GitHub Pages (2009)
It was tragic but a failure of what? It was what a majority of the most populous and important voting block wanted.
I was diagnosed with ADHD as a kid and as an adult it makes me feel angry because we slap a label on kids, and now even adults so we can have something to point the finger at rather than acknowledge that people are stimulated by different things.
i learned something. thanks for responding.
It's like goto, but you can jump over function boundaries. Checking out the other comments here its not considered harmful...
The "everyone is a little ADHD" is particularly annoying because it's basically true but misses the problem. Everyone does get distracted at times. But people with ADHD have it to a much worse degree.

It's like height. Everyone has a height, but if you're 180cm tall you'll find the world caters to you well, but at 250cm you struggle to fit and basic tasks are difficult.
Not likely if they’re vacuum.
CoreOS (not specifically Fedora CoreOS) used to do that with Docker. I believe the OS ran your standard systemd services and all through interconnected containers. As far as I can tell, the project has been abandoned, though.

I don't think Flatpak is the right tool for the job, it's clearly optimized for UI tools and the occasional command line invocation. Snap may be better for composing a working systems, though that comes with the obvious Snap downsides. Systemd has some great tools to accomplish image/container based operating systems, though I'm not sure how common it's used.
Damn that’s really cool. I hope someone makes one that doesn’t need the modem, adapter and USB-to-Serial interface. This would be a really neat thing for kids to do in their Arduino classes
Fractional scaling in Wayland still needs some work in my experience. Primarily, apps running through XWayland look blurry which sucks because there’s a decent number that font natively support Wayland yet (or have it behind an experimental flag with caveats, like how Anki loses its native titlebar and window shadow when Wayland support is turned on).
I did some adaptations like this 20 years ago and always another thing would bother. Or too cumbersome.

In the end what helped me was a bit of exercise. If the reason is pain, and you can - try exercise.
If Flatpak wasn't designed or intended for services, I fail to see how it can be recommended as a relevant tool. I get what you're saying about containerization, but Flatpak is as much of a 'solution' to package management as a cork in a bullet wound.
You are confusing Open Source and Free Software. Richard Stallman always pushed for reciprocal licensing e.g. GPL. Companies have been pushing against that because they love taking without giving back.