MurphyA/hacker-news huggingface dataset:
by ThrownOffGame | 2025-10-04 05:16:57+00:00
After decades of gleefully using signal handlers to handle all sorts of contingencies, systems programmers were solemnly informed that signal handler functions were very dangerous indeed, because a bunch of other stuff was on the stack and undefined while they were being run, and therefore, handler functions couldn't call anything that was unsafe or non-reentrant.

Systems programmers were told that the best signal handler function was one that set a flag, a volatile int, and then exited immediately without doing or touching anything else.

Sort of defeats the purpose of the elaborate signal-handler-callback-pointer-to-function system we had in place, but them's the breaks.
by sfink | 2025-10-04 05:17:43+00:00
Actually, let/const do the opposite of adding flexibility. Simple example: if you have a REPL, it has to cheat (as in, violate the rules of the language) in order to do something sensible for let/const. Once you do `let x;`, you can never declare `x` in the REPL again. In fact, simple typing `console.log(v)` is ambiguous: will you enter `let v` some time in the future or not?

You can't monkey patch lexicals, that is much of their point. Any reference to a lexical variable is a fixed binding.

In practice, this comes up most often for me when I have a script that I want to reload: if there are any toplevel `let/const`, you can't do it. Even worse, `class C { ... }` is also a lexical binding that cannot be replaced or overridden. Personally, I normally use `var` exclusively at the toplevel, and `let/const` exclusively in any other scope. But `class` is painful -- for scripts that I really want to be able to reload, I use `var C = class { ... };` which is fugly but mostly works. And yet, I like lexical scoping anyway, and think it's worth the price. The price didn't have to be quite so high, is all. I would happily take the benefit of avoiding TDZ for the price of disabling hoisting in the specific situations where it no longer makes sense.

I agree that hoisting is a backwards compatibility thing. I just think that the minute optional lexical scoping entered the picture, hoisting no longer made sense. Either one is great, the combination is awful, but it's possible for them to coexist peacefully in a language if you forbid the problematic intersection. TDZ is a hack, a workaround, not peaceful coexistence. (TDZ is basically the same fix as I'm proposing, just done dynamically instead of statically. Which means that JS's static semantics depend on dynamic behavior, when the whole point of lexical scoping is that it's lexical.)
by card_zero | 2025-10-04 05:18:05+00:00
What is the fantasy AGI supposed to be that's so great for billionaires to have? A human baby is an 
A
GI, it won't tell you the Ultimate Answer, or even a penultimate one, because it has no way to know.

No, seriously, what? You think an AGI is going to be a willing slave and endowed with special knowledge? Where does either part of that come from?
by tbossanova | 2025-10-04 05:18:10+00:00
I just had a conversation with free chatgpt about when a sports game started. Chatgpt got it hilariously wrong, like a time it couldn't possibly be given the other things I know about the game. I just didn't want to trawl through search results to find out, so thought AI could be a nice shortcut. Mistake, I guess. Then I tried to tell it how and why it was wrong, with further hilariously wrong attempts to respond from the AI. I couldn't help but give a few more pointless clarifying replies, even though I knew I would get nothing out of it and the AI would learn nothing. I seem to do this every month or so and then get frustrated with how useless it is and then swear off it for another month.
by earthnail | 2025-10-04 05:18:10+00:00
You got the last paragraph wrong. They need to negotiate with rights holders on the revenue split. They’re hoping that the virality aspect will be more important to rights holders than money alone, but they will of course also give money to rights holders.

Or, in other words: here’s Sam Altman saying to Disney “you should actually be grateful if people generate tons of videos with Disney characters because it puts them front and center again.”, but then he acknowledges that OpenAI also benefits from it and therefore should pay Disney something. But this will be his argument when negotiating for a lower revenue share, and if his theory holds, then brands that don’t enter into a revenue share with OpenAI because they don’t like the deal terms may lose out on even more money and attention that they would get via Sora.
by noduerme | 2025-10-04 05:18:49+00:00
No, it really doesn't, besides the fixed investment of buying a cash register. The idea of being forced to hand over a percentage of all my earnings to private company is abominable. I pay taxes to the elected government, not to some bank. It's why I only accept checks, ACH transfers or cash as payment, and it saves me 3% of my income a year over taking credit cards.
by varenc | 2025-10-04 05:18:58+00:00
Agreed it's a bit annoying how non-discoverable this is. Wish it was in some sort of onboarding prompt. But I can see Tailscale's argument for making it the way it is.

Tailscale is really targeting the business market, especially since their product is basically free for personal use. In a corporate environment, I imagine that the client logs are actually hugely valuable to the corporate customers themselves. It lets them see who is accessing what and is super critical when doing a post-mortem after a hack. (also no actual traffic content is logged)

But I still keep client logging disabled for my personal use.
by timschmidt | 2025-10-04 05:20:54+00:00
> So optimizing compile times isn’t worthwhile because we already do things to optimize compile times?

That seems strange to you? If build times constituted a significant portion of my development time I might think differently. They don't. Seems the compiler developers have done an excellent job. No complaints. The pareto principle and law of diminishing returns apply.

> What about projects for which hot builds take significantly longer than a few seconds?

A hot build of Servo, one of the larger Rust projects I can think of off the top of my head, takes just a couple seconds, mostly linking. You're thinking of something larger? Which can't be broken up into smaller compilation units? That'd be an unusual project. I can think of lots of things which are probably more important than optimizing for rare projects. Can't you?
by mohmal | 2025-10-04 05:22:13+00:00
Artificial Intelligence (AI) is no longer a concept limited to science fiction. Over the past decade, it has rapidly transformed industries, economies, and daily life, becoming an essential part of modern society. From self-driving cars to advanced medical diagnostics, AI technologies are enhancing human capabilities and creating unprecedented opportunities for innovation.

One of the most significant areas where AI has made an impact is in data analysis. Businesses now rely on AI-driven tools to analyze vast amounts of information in real time, enabling smarter decision-making and more efficient operations. Similarly, AI algorithms are revolutionizing healthcare by assisting doctors in detecting diseases earlier and personalizing treatment plans for patients.

AI is also reshaping the media and news industry. Platforms can now automatically generate content, summarize articles, and even provide personalized news recommendations to readers. For instance, online news websites, such as Shahrivar News , have started leveraging AI technologies to deliver faster and more accurate updates to their audiences, demonstrating the practical benefits of AI in journalism.

Despite its advantages, AI also raises important ethical and societal questions. Issues like job displacement, privacy concerns, and algorithmic bias require careful consideration and regulation. Experts argue that to maximize AI’s benefits while minimizing risks, transparency, accountability, and continuous monitoring are essential.

In conclusion, AI is no longer a futuristic concept but a present-day reality that influences nearly every aspect of life. Its potential to revolutionize industries, enhance human decision-making, and improve overall quality of life is immense. By responsibly integrating AI technologies, society can harness their power for meaningful and positive change.
by snvzz | 2025-10-04 05:22:35+00:00
I was thinking "where do I order?" but then realized it's not actual OSH (Open Source Hardware) but just a publicity stunt.

This is a textbook case where the headline should be editorialized as it contains misinformation, and many are only ever gonna read the headline.

Once, a long time ago. Richard Stallman was pissed off at an hostile printer. We got Free Software just because. Yet the printer problem remains unsolved.

I still hope somebody, somewhere, will eventually get it done and commoditize printing forever, riding us of the mafia which is printer makers.
by fakedang | 2025-10-04 05:22:50+00:00
Talking from personal experience, it applies also. Perfectionists like me are often deadlocked into not releasing something until it's perfectly executed, caters to every use case, takes every edge case into account, etc. My late cofounder spent (too much) time training me otherwise, that small incremental changes will compound into larger ones in a big enough timescale, and that it's more effective to simply get started than deliberate ages over it.
by intended | 2025-10-04 05:23:05+00:00
It seems the crux is that we needed X people to produce goods, and we had Y demand.

Now we need X*0.75 people to do meet Y demand.

However, those savings are partially piped to consumers, and partially piped to owners.

There is only so much marginal propensity to spend that rich people have, so that additional wealth is not resulting in an increase in demand, at least commensurate enough to absorb the 25% who are unemployed or underemployed.

Ideally that money would be getting ploughed back into making new firms, or creating new work, but the work being created requires people with PHDs, and a few specific skills, which means that entire fields of people are not in the work force.

However all that money has to go somewhere, and so asset classes are rising in value, because there is no where else for it to go.
by athrowaway3z | 2025-10-04 05:26:29+00:00
I'm not a user, but I do think there is a need for these type of schemes.

Approximately 0% of email users could change email host, and prove their identity between the old messages and the new messages.

The value is it caps bluesky's "window of abuse".

Platforms like Facebook or Twitter have dialed up the enshitification far beyond what I find acceptable, but many people are still on there.

A competitor to bluesky can decide how to approach it. Like staying (partially) compatible, and decide to compete on UI, repo storage, or user admin.
by almostgotcaught | 2025-10-04 05:26:48+00:00
https://github.com/intel/llvm

https://github.com/iree-org/llvm-project

https://github.com/ROCm/llvm-project

https://github.com/apple/swift-llvm

https://github.com/dotnet/llvm-project

https://github.com/espressif/llvm-project

should i keep going?
by sfink | 2025-10-04 05:26:52+00:00
Ah, fair, I didn't actually pay attention to which example you were referring to. That example is specifically about `var` being terrible, not `let/const`.

I was really using your comment as a jumping off point for my rant.

I wouldn't describe `var` declarations as lexical, though. Sure, they have a lexical scope that they get hoisted up to cover, but hoisting is not "just lexical scope". It's unusual.
by phplovesong | 2025-10-04 05:27:06+00:00
Both Go and Ocaml have really, really fast compilers. They did the works from the get go, and now wont have to pay the price.

I cant see myself ever again working on a system with compile times that take over a minute or so (prod build not counting).

I wish more projects would have they own "dev" compiler that would not do all the shit llvm does, and only use llvm for the final prod build.
by m_fayer | 2025-10-04 05:28:32+00:00
Doctors are the only people I’ve encountered who are ready to inform you of their poorly supported contradictory conclusions with full confidence, and are fully ready to meet any pushback with gaslighting or the dreaded “difficult patient” label.

They approach the phenomenon of dropping trust and respect for their profession in much the same way.

It’s really frustrating. I don’t get why they feel entitled to acting this way when no one else does.
by phil21 | 2025-10-04 05:31:02+00:00
This is the reason I try to pay everything I reasonably can with cash. I’m about as northern as you get.

I’m definitely looked as crazy in my friend group from time to time, but over the years I’ve just become known as the guy who will always have cash on him if necessary so I guess the walking ATM bit helped with acceptance of it?

I figure that if folks don’t take a stand and use cash even if they don’t need to now, we will lose the ability to later. I don’t want to live in a world where all my purchases are mineable, because that eventually turns into monitored and then authorized.

The inconvenience is a small price to pay for freedom from surveillance.

It has amused me though over the years how bad cash handling skills have become. When I was a cashier as a teenager 25+ years ago, myself and all my fellow coworkers could break change at relative light speed and often just from mental math/memory. Now it’s amusing watching a young cashier give change back on a $48.31 order after handing them a $100 bill. Sometimes takes longer than the proverbial grandma writing a check back in my day.
by chatmasta | 2025-10-04 05:31:51+00:00
> if there are any toplevel `let/const`, you can't do it [monkeypatch it]

True, but you can at least wrap the entire scope and hack around it. It's not gonna be pretty or maintainable but you can avoid/override the code path that defines the let.

Anecdotally... I've monkeypatched a lot of JavaScript code and I've never been stopped from what I wanted to do, whereas with Python I've hit a dead-end in similar situations. Maybe there's some corner case that's unpatchable but I really think there is always a workaround by the ability to wrap the scope in a closure. Worst case you re-implement the entire logic and change the bit you care about.
by Too | 2025-10-04 05:32:31+00:00
If your local hairdresser gives you a cheaper price when paying cash, wouldn't you assume tax evasion? (criminal).

Someone selling a used bike, or other items of similar value, on second hand market and not accepting Swish would maybe not directly be considered criminal, but would for sure raise an extra eyebrow about the origins of the goods.

Otherwise correct, nobody would blink if you use cash for other daily purchases like ice cream or groceries, even if unusual.
by zo1 | 2025-10-04 05:33:20+00:00
We're nearly-there. The humans then become the capital/resource to be acquired, not money.

That's why every country is somehow chasing that elusive "population growth". It creates more "things" to own, whether that be money by virtue of more people creating more money through economic activity or simply more people to claim as "yours" (for the elites/leaders).
by msadowski | 2025-10-04 05:34:18+00:00
One thing that comes to mind is checking the timestamps across sensors and other topics. Two cases come to mind:

* I was setting up Ouster lidar to use gos time, don’t remember the details now but it was reporting the time ~32 seconds in the past (probably some leap seconds setting?)

* I had a ROS node misbehaving in some weird ways - it turned out there was a service call to insert something into db and for some reason the db started taking 5+ minutes to complete which wasn’t really appropriate for a blocking call

I think the timing is one thing that needs to be consistently done right on every platform. The other issues I came across were very application specific.
by gtsop | 2025-10-04 05:34:29+00:00
When ordered to do something that is clearly an illegal action, you can just say no. However, in most situations your actions won't be directly illegal, but aid someone else to illegal actions.

Simply, deny to carry out the work UNLESS you are directly and clearly instructed to by EMAIL. Oh, and be sure to make this request by email as well, as a record. So send an email saying "hey i was told to do that and i am concerned about the legality, please give me clear instructions over email"

This will calm them down.
by LPisGood | 2025-10-04 05:36:10+00:00
The CAN bus, the network interface vehicle components use to communicate was, at least as of a few years ago, the source of basically infinite vulnerabilities.

Add in over the air updates or worse, updated bluetooth or radio firmware and you find things like stopping a vehicle remotely at highway speeds[1]

[1] https://fractionalciso.com/the-groundbreaking-2015-jeep-hack...
by Retric | 2025-10-04 05:38:38+00:00
> Do you see the issue here when I frame it this way?

Honestly no.

Newton mechanics can be accurate to 20 decimal places, that’s currently indistinguishable from reality in relevant and well understood contexts. Making Newtonian Mechanics actually useful.

The core microeconomic assumption is never anywhere close to that accurate. It works except XYZ which doesn’t apply is acceptable, it never works isn’t.
by dlcarrier | 2025-10-04 05:38:57+00:00
I would like to know what your're running, too, in case I can find a better workaround.

I'm running MX Linux, Arch Linux, and FreeBSD, and usually use Seamonkey or Pale Moon, and if I absolutely have to I use Thorium.

Some websites using Cloudflare services, or other similar services, first load a landing page, historically with a captcha checkbox to verify that I'm human that would let me through, after completing. More recently, it'll outright say that I am denied access, or when I check the box it switches to a throbber that spins indefinitely, or it unchecks itself.

Some web pages, like eBay, will let me through initially, then at some point all tabs I have open will simultaneously switch to an unpassable captcha.
by minitech | 2025-10-04 05:39:37+00:00
None of the things you mentioned are clearly related to each other. “It basically means you can always override anything, which allows for monkey patching and proxying and adapter patterns and circular imports” is not true. “They’re the reason why JavaScript can have multiple versions of the same package while Python cannot” is definitely not true. (I’m not even sure if you’re referring to TDZ or hoisting or lexical scope or whatever other part of the context, but these things are unrelated to every option.)

The premise of “a language like Python that works as you describe” is wrong too, since Python doesn’t work like that (it has the same hoisting and TDZ concepts as JavaScript):

def g(): def f(): return x x = 4 return f() print(g()) # 4
by pazimzadeh | 2025-10-04 05:43:35+00:00
not exactly but E. coli and other Enterobacteriaceae can actually use the inflammation to their advantage

Inflammation release nitrates, which Enterobacteriaceae can use as a replacement for oxygen as a terminal electron acceptor

They can also encroach more easily on the protective mucus layers, which are thinner and more porous during inflammatory conditions (which itself may be a result of a messed up microbiota, which is why broad-spectrum antibiotics are not a solution)

These Enterobacteriaceae blooms in turn can cause inflammation, makes remission harder

There has been some success in reducing inflammation levels in IBD by blocking some of the binding factors that E. coli uses to attach to the epithelium/mucus
by _ZeD_ | 2025-10-04 05:43:48+00:00
> I would gladly take a command line flag that I can pass to python that makes all module loading lazy.

oh, you want a "break my libraries" flag? :D

seriously, in theory lazy imports may be "transparent" for common use cases, but I've saw too many modules rely on the side effects of the importing, that I understand why they needed to make this a "double opt in" feature
by atlintots | 2025-10-04 05:44:20+00:00
Those are provided by desktop shells rather than niri. For example Noctalia [0], or DankMaterialShell [1] which is build for niri specifically.

[0] https://github.com/noctalia-dev/noctalia-shell [1] https://github.com/AvengeMedia/DankMaterialShell
by margalabargala | 2025-10-04 05:44:48+00:00
> > ... so long as the investors and their staff are all insulated from the illegal behavior and jail time risks.

> There is no such thing.

Sure there is. You can never request an illegal act, never commit an illegal act, but create a culture where others become incentivized to do illegal acts. This can be done in sufficiently subtle ways that it's impossible to prove it was intentional.

"Will no one rid me of this turbulent priest"
by conductr | 2025-10-04 05:45:29+00:00
Single payor system would solve a lot of problems as insurance companies and the economic system/incentives they’ve created in healthcare is the root cause of a lot of the issues. Also, it’s such a large and relatively unnecessary value extraction layer (middleman) that we’d immediately have many more dollars going towards providing care than to running of insurance companies and their owners. Even the hospitals and other providers have to employ armies of people just to understand how to bill things properly in this unnecessarily complex ecosystem. It’s a massive waste of resources in the name of capitalism that does nothing to improve the care provided.

It’s even worse when considering these companies profit more by denying care altogether.
by sjrd | 2025-10-04 05:45:30+00:00
Usage of Scala.js is steadily growing. Several indicators suggest that 1 in 5 Scala developers use Scala.js at this point. It's regularly brought up as one of the strongest suits of Scala.

Usage of Scala itself is less shiny if you look at market share. But I believe it's still growing in absolute numbers, only quite slowly.
by gigatexal | 2025-10-04 05:46:37+00:00
You mean this?

#!/usr/bin/env -S uv run --script # # /// script # requires-python = ">=3.12" # dependencies = ["httpx"] # ///

import httpx

print(httpx.get("https://example.com"))

https://docs.astral.sh/uv/guides/scripts/#improving-reproduc...

There are also projects py2exe pyinstaller iirc and others that try to get the whole static binary thing going.

You’re trying imo to make Python into Golang and if you’re wanting to do that just use Golang. That seems like a far better use of your time.
by rmoriz | 2025-10-04 05:46:59+00:00
After 3 years on Mastodon and some lurking on bsky, I believe the main issue is not technical but getting and keeping interesting content on a platform. This is a social issue as bubbles ruin everything over time. OTOH using algorithms to mix some „foreign“ content into the feeds causes outrages. Sure we can all go web3 and self-hosted but nobody will read. Mastodon is the posterchild of a failed experiment. I‘m interested in the creative, productive, inspiring long-tail content on all platforms instead of migrating the peer group over to a new platform every couple of years. I know them already, I have better ways to communicate with my direct peers and the rest is like having 500 contacts on LinkedIn: A social illusion. I appreciate and respect the technical efforts behind atproto, but yet I can‘t see that it solves the problem described above.
by yobbo | 2025-10-04 05:48:14+00:00
> it uses Wireguard if I'm mobile and doesn't if I'm at home (which saves me a hop through the cloud hub)

Appropriate netmasks in the routing tables do this regardless of physical interfaces. For example, if your local network has netmask 255.255.255.128, the local link is prioritised over the tunnel link which could have netmask 255.255.255.0, but you have to decide which nets/subnets are useful to you.