MurphyA/hacker-news huggingface dataset:
by PaulHoule | 2025-05-06 14:40:05+00:00
It's an interesting trade-off. For decades the answer to having a reliable Windows computer has been to turn off as many power saving features as possible. Saving power on USB plugs for instance makes your machine crash. Let your CPU state drop to the minimum and you'll find your $3000 desktop computer takes about a second to respond to keypresses. Power savings might not be real, but the crashes and poor performance are very real.
by mrkramer | 2025-05-06 14:40:56+00:00
Yugoslav communists were pawns of Moscow from the beginning and all the way until the end of WW2. After WW2, they grew some balls and put the interests of degenerate Yugoslavian state before the interests of the communist international, that's what almost cost them their state. And also they were traitors of their peoples because during WW2 they didn't support national movements but wanted cosmopolitan socialistic Yugoslavia with the help of Soviet Union.
by SketchySeaBeast | 2025-05-06 14:40:59+00:00
The violent crime rate for Chicago seems to be 639.7 / 100,000[1]. The united states seems to be 380.7 / 100,000[2], so it's not even double the average. This also makes Chicago safer than DC, and the entire states of New Mexico, Alaska, and Arkansas[2]. How many people are scared of going to Alaska due to all the violent crime?

[1] https://en.wikipedia.org/wiki/Crime_in_Chicago [2] https://en.wikipedia.org/wiki/List_of_U.S._states_and_territ...
by dogleash | 2025-05-06 14:41:05+00:00
I've been trying to figure out what bugs me about this advice. I think it's narrowly tailored to people with zero technical leadership on their project, but also doesn't give them enough groundwork to really succeed either.

Someone fresh enough to think anyone cares about the backlog deserves a manager that knows to meet them where they are, not expect the employee to meet them in the arena of management games. In practice, this often doesn't exist. Rather than the lowest rung of management bridging the gap into the tech, it's usually on seniors to "manage up" and shadow manage the team. Seniors good at this are more common, but time strapped with the rest of their dayjob.

The target audience of this article needs a powerleveling guide to all the management skills of a senior, because they're in a vacuum with no seniors and their managers are not leaders. But instead it's the tiniest taste of the management world needed to orient someone towards being a better cog.
Show HN: AI Impact Tracker – browser extension for ChatGPT energy-use stats
by simon-inta | 2025-05-06 14:41:10+00:00
Hello HN, I built a browser extension that shows you real-time energy consumption and environmental impact estimates of your ChatGPT usage.

It does two main things: - Adds a live energy tracker overlay at the top of the ChatGPT page - Shows detailed stats in the popup, including estimated energy use and equivalents like YouTube streaming time, elevator trips, phone charges, and even water evaporated

Chrome web store : https://chromewebstore.google.com/detail/ai-impact-tracker/l...

Website : ai-impact.tortue.studio

Github repo : https://github.com/simonaszilinskas/ai-impact-tracker

Methodology : https://github.com/simonaszilinskas/ai-impact-tracker/blob/m...

The project is open source, the methodology still has left a lot to be desired but I’d love your feedback. I’m planning to improve: - model detection (since energy use varies a lot) - add support for other sites soon - better token estimation

It's early, but I’m excited about it — feedback and contributions welcome!
by quuxplusone | 2025-05-06 14:41:16+00:00
Another ACOUP discussion of drill and discipline is here:

https://acoup.blog/2025/04/04/fireside-friday-april-4-2025/

Quote:

> But note how, while obedience to discipline and synchronized discipline are often conflated, they’re not the same: a lot of early modern pike-and-shot armies had tremendous synchronized discipline, but were mutiny-prone and it was often difficult to get them to do things like haul their own supplies or prepare their own food.
by ceejayoz | 2025-05-06 14:41:38+00:00
Reminds me of this a bit:

https://en.wikipedia.org/wiki/Kristi_Noem#%22Meth._We're_on_...

> On November 18, 2019, Noem released a meth awareness campaign named "Meth. We're on It". The campaign was widely mocked and Noem was criticized for spending $449,000 of public funds while hiring an out-of-state advertising agency from Minnesota to lead the project. She defended the campaign as successful in raising awareness.
by potato3732842 | 2025-05-06 14:41:55+00:00
>I assume you're referring to, for example, enacting more government programs.

Or saddling existing ones with poorly thought out requirements and revisions and whatnot.

These programs always seem to start decent and go to crap with time as the "older" bits of government sink their teeth in with subsequent revisions because there's no political will to constantly fight the fight you need to to keep it from becoming co-opted or at the very least degraded by other interests.

At some point people start noticing the pattern, get tired of it and just saying no to the initial request even if it has merit. It's probably just yet another symptom of how bankrupt our institutions are. <sighs>
Sign in with Apple" broke after update–losing data for a third of users
by gorniv | 2025-05-06 14:41:58+00:00
We run ASO.dev, a tool helping developers manage their App Store metadata and visibility. On May 3, 2025, we faced a critical issue: “Sign in with Apple” stopped working properly for all users, resulting in the complete loss of access for one-third of our users—specifically, those using Apple’s private relay emails.

What exactly happened?

• Apple began returning a completely new userIdentifier for existing Apple IDs, without users initiating any changes. This effectively made user authentication impossible, as we can no longer match users to their existing data. • The email field now always returns null. Although this behavior is typical for subsequent sign-ins, it’s irrelevant in this case because the userIdentifier itself changed, leaving no way to identify existing accounts. • Previously issued relay emails (@privaterelay.appleid.com) no longer accept emails—we verified this with bounce tests. • Users also report that our app has disappeared from their Apple ID’s authorized apps list.

Important context:

• We migrated our Apple Developer account from Individual to Organization about a year ago. • Everything worked perfectly until the May 3, 2025 update. • The incident occurred precisely on the day Apple released updates to the Developer Console (Accounts, Profiles, etc.). We strongly believe these internal changes at Apple triggered the issue.

Consequences:

• Every user received a new userIdentifier, meaning our system sees returning users as entirely new, breaking the link to their historical data. • One-third of our users, who registered via Apple’s private relay email, are now completely unreachable: • We can’t contact them (emails bounce). • We can’t restore their access (new IDs don’t match old accounts). • We have sent three support requests to Apple via email—no reply or acknowledgment yet, with no escalation path or live chat available.

⸻

We were fortunate because ASO.dev also supports an alternative sign-in method (email with a one-time login code). Without this alternative, we would’ve permanently lost access for every user who originally signed in with Apple.

⸻

We’re openly sharing this story to:

• Warn developers who rely solely on Apple Sign-In and relay email addresses. • Connect with others who’ve faced similar issues—let’s share experiences. • Draw Apple’s attention to this critical problem—currently, there is no documented solution and no available support.

Never rely solely on Apple ID authentication. Always implement a fallback method, as even major ecosystems can fail unpredictably.
by syndeo | 2025-05-06 14:42:02+00:00
Whaaaaaat…

This same thing happened to me this past weekend, and I used Vercel v0 to fix it. https://v0-captions-adjuster.vercel.app/

Not shilling my solution; this is nowhere near actually good yet, but it was "good enough" to fix the problem for me too. Only posting it as proof that I had the same thing happen to me, and maybe it can help others too.
by egorfine | 2025-05-06 14:42:23+00:00
> skipped jobs on reboots and DST > prevent the same job from running multiple times

I'd say these are not bugs but rather a matter of realizing how cron works - just like with systemd-anything. So if you know DST is coming, a wise thing would be to not plan jobs in the rollover window. But yes, I agree that this thing is rudimentary - and thus simple - and thus reliable and independent, like the rest of unix was supposed to be.

> job has to be wrapped in a bespoke script

Well yes. Again, this is by design and well known.

> systemd has given me many headaches, but as a whole, it has saved me far fewer headaches than it has given me

Good for you - and I mean it! For me systemd was an obnoxious piece of shit which I have avoided for many years until Ubuntu decided that it's LP who's now in charge of what Unix is and at that point I had to submit.

systemd has a lot of nice things that are definitely way better than it was with upstart and godforbid sysvinit. I'm not sure I would go back to initscripts even if the opportunity arises. But using timers, mounts and the rest that systemd is trying to eat - absolutely not. Absolutely fuck the systemd crowd and the way they treat people.
by ryandrake | 2025-05-06 14:42:28+00:00
I've been self-hosting for about 15 years now, and the only deliverability problems I've had in the past were with ISPs. I have no problem sending to Gmail, Outlook, Yahoo, and so on, or any business who hosts their own E-mail. Very occasionally, I get bounces from people who still get their E-mail through their ISP, like from AT&T or something. But I just go through the ISP's opaque process and deliverability goes back to normal.
by whstl | 2025-05-06 14:42:30+00:00
Your reply sounds too ironic and too real at the same time. :D

But you're 100% right. You have to know when to use the nuclear button. And sometimes you can't press it, which means you take a backseat and watch the company burn money for no reason. This is the point where I start agreeing with _fat_santa's post [1].

[1] https://news.ycombinator.com/user?id=_fat_santa
Show HN: VibeGit – Automatically group and commit related changes in a Git repo
by kklemon | 2025-05-06 14:42:37+00:00
I built VibeGit to eliminate the friction of organizing large, interwoven diffs after long development sessions. The CLI command vibegit commit invokes an LLM (Gemini 2.5 Flash by default, GPT-4o and others supported) to examine each hunk, group semantically related changes across files, and produce a sequence of logical, stylistically consistent commits with clear messages. The workflow is configurable—fully automatic, interactive review, or summary-only—and requires only Python 3.11+. MIT-licensed; feedback and contributions are welcome.
by jandrewrogers | 2025-05-06 14:42:48+00:00
A lot of idiomatic systems code is intrinsically memory unsafe. The hardware owns direct references to objects in your address space and completely disregards the ownership semantics of your programming language. It is the same reason immediately destroying moved-from objects can be problematic: it isn’t sufficient to statically verify that the code no longer references that memory. Hardware can and sometimes does hold references to moved-from objects such that deferred destruction is required for correctness.

How is someone supposed to learn idiomatic systems programming in a language that struggles to express basic elements of systems programming? Having no GC is necessary but not sufficient to be a usable systems language but it feels like some in the Rust community are tacitly defining it that way. Being a systems programmer means being comfortable with handling ambiguous object ownership and lifetimes. Some performance and scalability engineering essentially requires this, regardless of the language you use.
by hedora | 2025-05-06 14:42:50+00:00
How is that any different than a daemon that has a parser error in its message handler, except that the daemon could be misconfigured to listen on a network socket?

The original unix process abstraction was extremely simple; the entire spec is a few pages.

The problem is that Linux keeps adding more and more levels of Rube Goldberg machine to its security model, so now literally no one understands how a default minimal install of, say, Ubuntu works.

Adding a magic daemon that runs stuff as root to this pile of complexity probably won’t help. Ripping out almost all the cruft that’s accumulated over the years, and adding back something sane (maybe BSD jails) would work a lot better.
by johnnyjeans | 2025-05-06 14:42:58+00:00
> Same for macOS compared to Windows.

This hasn't ever been my experience. Maybe if you're in a really specific market niche where most of the userbase is on Mac. Only 5% of users on Windows paying for the software still absolutely dwarfs 100% of Mac users paying for it. We have more sales on Linux than we do Mac.
by prometheus76 | 2025-05-06 14:43:13+00:00
Oh man. This makes me want to throw my phone against the nearest brick wall sometimes. The UI is loading, I reach for the button I want to hit, but it moves and a different button takes its place because the app/page is still loading, or worse, an ad has taken the place of the button.

This also happens where sometimes the hotbar has three buttons, and sometimes four, and the worst apps are when buttons switch ordinal positions depending on if there are three or four buttons in there.

It feels very strange to get so agitated by these small behaviors, but here we are.
by SketchySeaBeast | 2025-05-06 14:43:22+00:00
Totally fair point. I thought about calling it out specifically when I was writing, but I assumed that calling out it in the previous paragraph would also imply it with driving - high mileage or unsafe drivers are going to be more likely to be killed. Does it distract from my overall point, and if so, how does that change things knowing that I'm aware of and conceding the point?
by johnnyanmac | 2025-05-06 14:43:53+00:00
This may be a hot take, but I don't think most juniors should be remote. You need some time face to face to understand the processes and you miss lot of passive knowledge when you're not navigating a workplace of people discussing matters.

once you get a few years under the belt, sure. You're probably fine doing everything online. I can't think of many remote only studios hiring juniors anyways.
Show HN: I built a local-first language app to track and retain words
by andrcodes | 2025-05-06 14:43:54+00:00
Hey HN,

While learning Danish, I kept translating the same words over and over. I’d take notes, highlight books, save things in random places… then lose track of it all.

I wanted something simple. Translate a word, save it with context, and review it later so it actually sticks. Nothing I found really did that.

So I built my own app.

It lets you:

- Translate and save words instantly

- Add notes, tags, example sentences, gender, even emojis

- Review everything with flashcards using spaced repetition

- Track how many words you’ve really learned

- Use it fully offline with on-device ML Kit translation

I made it for myself, but once I showed it to others, people started asking to use it.

More details here: https://getwordwise.app

The app is live on the Play Store: https://play.google.com/store/apps/details?id=com.andr.wordw...

Would love your feedback. iOS is on the way if there's enough interest.
by duped | 2025-05-06 14:44:23+00:00
Audio is already asynchronous.

But in general no, you can't begin processing a buffer before finishing the previous buffer because the processing is stateful and you would introduce a data race. And you can't synchronize the state with something simple like a lock, because locking the audio playback is forbidden in real time.

You can buffer ahead of time, this introduces latency. You can't do things ahead of time without introducing delay, because of causality - you can't start processing packet #2 while packet #1 is in flight because packet #2 hasn't happened yet.

To make it a bit more clear why you can't do this without more latency:

Under the hood there is an audio device that reads/writes from a buffer at a fixed interval of time, call that N (number of samples, multiply by sample rate to get in seconds). When that interval is up, the driver swaps the buffer for a new one of the same size. The OS now has exactly (N samples * sample_rate) to fill the buffer before its swapped back with the device driver.

The kernel maps or copies the buffer into virtual memory, wake the user space process, call a function to fill the buffer, and return back to kernel space to commit it back to the driver. The buffer you read/write from your process is packet #1. Packet #2 doesn't arrive until the interval ticks again and buffers are exchanged.

Now say that processing packet #1 takes longer than N samples or needs at least M samples of data to do its work and M > N. What you do is copy your N samples of packet #1 into a temporary buffer, what until M samples have been acquired to do your work, but concurrently read out of your internal buffer delayed by M - N samples. You've successfully done more work, but delayed the stream by the difference.
by dns_snek | 2025-05-06 14:44:31+00:00
The vast majority of websites are obnoxious with consent prompts because they have a clear profit motive that is achieved by harassing and tricking people into giving them permission to abuse their privacy for profit, but I'm sure you know that.

Sob stories about companies being forced to reckon with their unethical business practices in the face of new laws are nothing new. Companies that profit from playing fast and loose with people's personal data complain about the hardships of following GDPR, food companies complain that the limits for cancer-causing chemicals and heavy metals are too low, and factories complain that they should be allowed to dump toxic waste in the rivers.

And employees working for those companies often pick up these sorts of irrational views by osmosis to preserve social cohesion within the company.
by dist-epoch | 2025-05-06 14:44:55+00:00
They are the same thing. The uniform keyword in shading languages is implemented using the uniform registers.

I don't know what Nvidia did in 2018, maybe they opened up access to the uniform registers to CUDA code.

I made Grok research this topic:

> In conclusion, research strongly suggests that the "uniform" keyword in GLSL is implemented in hardware using NVIDIA's "uniform registers," as evidenced by NVIDIA's own documentation on the Turing architecture and historical practices of mapping uniforms to constant registers. While explicit links can be limited due to proprietary details, the combination of technical presentations, community discussions, and historical context supports this connection. The uniform register file, with its capacity and usage in shader instructions, aligns with GLSL's uniform functionality, ensuring efficient data access during shader execution.

https://grok.com/share/c2hhcmQtMg%3D%3D_358362f3-21e2-4fe0-a...
by sigmaisaletter | 2025-05-06 14:45:00+00:00
It's always good to have an alternative reason beyond "we want to crush the competition", especially if one of these pesky anti-trust lawsuits comes around.

It's very easily possible for both to be true, there is a "fight spam" reason and there is also a "monopoly" reason, and of course unless you very stupid you never mention the second.
by Qem | 2025-05-06 14:45:01+00:00
> Microsoft didn't take the existence of a recognized standard format for office files lying down and did what it always does in this situation – came up with its own rival version, also based on XML.

It also activelly sabotages the rival adoption. To this day MSOffice doesn't allow me to open an ODS spreadsheet without getting a scare warning shoved in my face first.
by whatamidoingyo | 2025-05-06 14:45:43+00:00
I've been going through the same with my recent project. I think this simple sentence might help you: no one really cares.

Seriously, I've emailed ~10 potential customers, and have been in direct contact with people I personally know, offering them the software completely free in exchange for review/feedback. They created accounts, but never bothered with actually using it. So getting initial feedback has been difficult.

So, just keep that in mind: most people don't care. But if you manage to find some users, do your best to take care of them, listen to their feedback. Implement features for them, etc.
by dylan604 | 2025-05-06 14:45:43+00:00
Modern live music edits are like this as well. When the guitarist is rocking a solo, I don't want to see the back up singers or the lead singer in rapid fire edits. I want to see the guitarist.

The top down John Wick scene had me flabbergasted in the theater. The choreography, the camera tracking, the flame thrower like shells from the shotgun all just made for one incredible scene that as you say definitely goes against modern editorial styles.
by Aachen | 2025-05-06 14:46:01+00:00
> > You have power over your mind—not outside events. Realize this, and you will find strength.

> But programming lures us into believing we can control the outside events. That is where the suffering begins.

Isn't it the opposite? We're not surprised if someone who grew up amidst criminals also does crime. I'm not sure that I can choose whether to feel attracted to men instead of women. I can't control my mind, but I can choose what people to stay with and what media to be exposed to. I can adjust everything except for my mind: my hands write code, my feet take me elsewhere, I can tune into different media, I can choose to not speak agitatedly when a service rep. is following corporate policy, etc., whereas my mind moulds or reacts in response to those inputs (I'll still feel irritated by that corporate policy and be influenced by advertising)

If anything, I could see an argument for that you control neither, because obviously your control of your hands is coming from a combination of your mind's outputs and the physical laws of our environment
by ndriscoll | 2025-05-06 14:46:07+00:00
I've been thinking the same thing and mentioned it the other day[0]. When I was learning proofs, I saw people struggle with the idea of needing to choose a "generic" element to prove a forall statement, for example. I suspect it might make more sense if you taught things in terms of needing to write a function x=>P(x). I think in some cases, thinking in terms of programming might also change how we think about structuring things. e.g. define a data structure for a "point with error tolerance" (x, epsilon), then continuity says given a toleranced-point y* at f(x), I can find a toleranced-point x* at x such that f(x*) is "compatible" (equal at the base point and within tolerance) with y*. This factoring lets you avoid shocking new students with quantifier soup. Likewise the chain rule is just straightforward composition when you define a "derivative at a point" data structure Df((x,m))=(f(x), m*f'(x)).

This is not at all new, but I suppose it's currently a lot to ask students to learn proof mechanics while also unwinding multiple layers of definitions for abstractions. Computers can help do the unwinding (or lifting) automatically to make it easier to make small "quality of life" definitions that otherwise wouldn't be hugely useful when pen-and-paper-proofs would always be unwinding them anyway.

Basically, math education could look a lot like software engineering education. The concerns and solution patterns are basically the same. e.g. typeclasses are pretty much how mathematics does polymorphism, and are probably usually the right way to do it in programming too.

[0] https://news.ycombinator.com/item?id=43875101