MurphyA/hacker-news huggingface dataset:
by sarchertech | 2025-10-25 23:42:35+00:00
If someone says “we have no plans to stop hosting this party, but we can’t promise anything concrete” and you decide to depend on that party without a backup, you’re behaving like an idiot.

This analogy has been tortured to within an inch of its life though.

People could keep using the old docker images while they trivially build their own.

If you want to make the example fit it’s more like “hey we’re still having the party but we aren’t gonna to put up any new decorations. If you want to put up the new decorations we left our garage open, but you have to do it yourself“.
by bikeshaving | 2025-10-25 23:42:36+00:00
Crank.js uses generator functions for stateful components, where you yield instead of returning, and the scope is preserved for the lifetime of the component. You could technically use `while (true)`, but `for (props of this)` is the idiomatic way to get new props. The `this` object is an iterable of the latest props, and if the component doesn’t have props, `for ({} of this)` is the idiomatic way to loop over props without needing another variable assignment.
by ricardobeat | 2025-10-25 23:44:04+00:00
What you see as a nightmare is really straight-forward code from another perspective. It just looks very unfamiliar. Yes, it feels raw, it is verbose, it's imperative and not declarative, but the entire app lifecycle is there to see.

You can easily tell what every function is doing, including the library ones, and magical behaviour is kept to a minimum. It could be easily maintained 20 years from now, as you have a very thin layer over DOM manipulation and Backbone itself can be grasped and maintained by a single human.

One could argue that React leads to better development velocity, but from experience I can say that reality is not that simple. The initial speed boost quickly fades, instead a huge amount of time starts being allotted to maintenance, updates, workarounds, architecture and tooling as complexity compounds.
by okanat | 2025-10-25 23:44:42+00:00
This is one of the cornerstones that guarantee Windows can easily upgrade the C runtime and make performance and security upgrades. Win32 APIs have a different function calling ABI too.

So only part of that gets "bloated" is Win32 API itself (which is spread across multiple DLLs and don't actually bloat RAM usage). Most of the time even those functions and structures are carefully designed to have some future-proofness but it is usual to see APIs like CreateFile, CreateFile2, CreateFile3. Internally the earlier versions are upgraded to call the latest version. So not so much bloating there either.

When the C runtime and the OS system calls are combined into the single binary like POSIX, it creates the ABI hell we're in with the modern Unix-likes. Either the OSes have to regularly break the C ABI compatibility for the updates or we have to live with terrible implementations.

GNU libc and Linux combo is particularly bad. On GNU/Linux (or any other current libc replacements), the dynamic loading is also provided by the C library. This makes "forever" binary file compatibility particularly tricky to achieve. Glibc broke certain games / Steam by removing some parts of their ELF implementation: https://sourceware.org/bugzilla/show_bug.cgi?id=32653 . They backed due to huge backlash from the community.

If "the year of Linux desktop" would ever happen, they need to either do an Android and change the definition of what a software package is, or split Glibc into 3 parts: syscalls, dynamic loader and the actual C library.

PS: There is actually a catch to your " C runtime is optional." argument. Microsoft still intentionally holds back the ability of compiling native ABI Windows programs without Visual Studio.

The structured exception handlers (equivalent of Windows for SIGILL, SIGBUS etc.. not for SIGINT or SIGTERM though) are populated by the object files from the C runtime libraries (called VCRuntime/VCStartup). So it is actually not possible to have official Windows binaries without MSVC or any other C runtime like Mingw-64 that provides those symbols. It looks like some developers in Microsoft wanted to open-source VCRuntime / VCStartup but it was ~vetoed~ not fully approved by some people: https://github.com/microsoft/STL/issues/4560#issuecomment-23... , https://www.reddit.com/r/cpp/comments/1l8mqlv/is_msvc_ever_g...
by consumer451 | 2025-10-25 23:46:29+00:00
> maybe we should re-fund the police.

When I first heard "de-fund the police" as a slogan, I figured that phrase must have been run by Frank Luntz, just to make sure it made progressives (this includes myself, to some extent) sound as dumb as possible. I mean, he could not have focus-grouped a better phrase. It's hilarious, if you think that dark humor is funny.

All that aside, the reality is:

> In one version of the story, yes-ish. Parking enforcement and 911 call center response were moved out of the police department. Restructuring the 911 system has become an important step in many cities' efforts to reduce armed police response to civilians. Dispatchers are the gatekeepers of the criminal justice system: They are tasked with identifying true public safety emergencies and deciding what resources—armed or unarmed—should respond. (Parking enforcement was later moved back into the police department.)

> But in another version of the story, no. While the police department lost a little over 10% of its budget between 2020 and 2021 (mostly because 911 dispatch and parking enforcement were moved), it has been closing that gap since.

> Tellingly, not a single sworn officer has lost their job or pay due to budget constraints. In fact, the department has consistently received more funding for hiring than it can spend. And yet, the myth that the police department was defunded persists, partly because budgets are convoluted and boring, and because it's an easy answer for the police departments' woes.

https://www.kuow.org/stories/did-seattle-defund-the-police

It's crazy how hard, under Biden, that NPR station had to dance around the simple objective fact that: No. Seattle did not "de-fund the police." Actually, SPD got more money than they could spend.
by 2III7 | 2025-10-25 23:47:02+00:00
We mainly need humanoids to replace jobs with repetitive tasks i.e. harvesting crops or any kind of service related jobs and tasks perofrmed in dangerous environments like mines, disaster zones, war zones etc.

Eventually having a humanoid at home doing the dishes and whatever other tasks we find boring is a byproduct of developing a capable robot for the repetitive and dangerous jobs.
by ajross | 2025-10-25 23:48:58+00:00
The "syscall API" is part of libc too. The read syscall is a trap, you put arguments in the right registers and issue the correct instruction[1] to enter the kernel. That's not something that can be expressed in C. The read() function that your C code actually uses is a C function provided by the C library.

[1] "svc 0" on ARM, "int 0x80" on i386, etc...
by GuB-42 | 2025-10-25 23:49:05+00:00
I'd go with bad UI/UX.

A lot of progress has been made by acknowledging that people are idiots and that the system has to work around that. Toyota, which went from one of the worst to one the most reliable automaker is known for formalizing idiot-proofing.

If the reader was able to read the card both way, there wouldn't have been a problem and no training required. The next best thing would be for the card to not fit upside down. Or have a clear message "try flipping the card". It is not something you should train people for, it should be obvious.

I also suspect the reader was in an unusual configuration, because everyone knows how to use smart cards and they probably did what they always do instinctively and it didn't work. On the thousands of times I did it, I don't remember having ever inserted my credit card the wrong way and don't remember anyone who did, it is just so instinctive. For an entire team to miss that, there must be something wrong with how the reader is set up.
by zahlman | 2025-10-25 23:49:40+00:00
> When power stabilizes, the CPU resets itself to a tiny, old‑fashioned mode called real mode. Real mode dates back to the original 8086 chip. The rules are simple on purpose. Memory addresses are built from two values the CPU keeps in special fast storage called registers. You combine a segment and an offset like this:

physical_address = (segment << 4) + offset

Your grandmother sounds unusually proficient with this sort of thing.
by 1718627440 | 2025-10-25 23:51:28+00:00
That's how stacks on my desk grow and how everything grows in reality. I wouldn't numerate stacked things on my desk from the top, since this constantly changes. You also wouldn't name the first branch of a tree (the plant) to be the top-most one.

In your example "the stack grows down", seems to be wrong in the image.
by zahlman | 2025-10-25 23:53:26+00:00
In the page source:

<body> <!-- Femboy Mode Button - Hidden on Mobile --> <button class="rave-button" id="raveButton" onclick="toggleRaveMode()" title="Femboy Mode" style="display: none;"> <span class="button-text">uwu</span> </button>

OwO what's this?
by userbinator | 2025-10-25 23:53:42+00:00
Sorry, it's currently not open-source but perhaps in the future; it's actually quite simple, using DPMI functions to call the VBIOS for modesetting and then passing the framebuffer address to Windows' DIBENG for the drawing. If an Intel GPU is detected then it sets up the ring buffer and handles some of the drawing functions by writing commands to the GPU and waiting for them to finish. No 3D acceleration (yet) but I imagine it wouldn't take that much more code to essentially translate a higher level graphics API to the appropriate GPU commands.
by zmmmmm | 2025-10-25 23:54:47+00:00
It's definitely much needed.

I use PlantUML for most diagramming but for anything with more than about 5 components in it I'm spending 20-30% of my time desperately trying to tweak the layout with hints.

It's an interesting approach to embed comments and then build that into the layout engine. I've always thought it would solve a lot of my issues if I could just lock the coordinates for certain components and then let the layout engine do the rest with those as hard constraints. This looks like something similar to that approach.

I really want this because the alternative is to spill over to completely manually maintained diagrams using GUI tools which then can't be easily integrated with source control - I want the same commit that changes the code to also change the architecture diagram for that code. Then it is part of code review and integrates to the whole process well.
Show HN: NickelJoke – Pay a Nickel to Get a Joke Using X402 Micropayments
by bilater | 2025-10-25 23:55:13+00:00
Since everyone’s talking about x402 now, I figured I’d open-source my NickelJoke project.

It’s built on top of the Coinbase + Next.js x402 Starter and lets you pay a nickel for a joke.

It’s a simple app, but it’s a fun way to explore the protocol and experiment with building and monetizing microservices on top of it.
by LoganDark | 2025-10-25 23:56:55+00:00
The problem with magic links is that the secret is sent with each login attempt. It's just like SMS verification codes - an attacker that controls the email address, or the phone number, can log right in. In this case, probably without even resetting a password. Plus, with no way to verify the account owner other than the email address, if the email address is lost or changed, the account's as good as gone.

Also yes they're super annoying for the user too. It's inconvenient and less secure.

Passkeys are awesome, yeah.
by photonthug | 2025-10-25 23:57:04+00:00
There's some interesting stuff in here if you can tolerate the meandering and the way-back-when. Like you'd expect from po-mo wonks, everything's gotta be infinitely subtle and infinitely contextualized. So no big mea-culpa and no big defensive denial either. All of that's been hashed and rehashed many times already I guess. You'll find some self-deprecating humor, some spots with surprising self-awareness, some with a surprising lack of it. The main fresh thing is how they'd like to try and compare/contrast/contextualize it in this moment. For example:

> Being a gatekeeper by maintaining high intellectual standards is not what public opinion would associate with Social Text, to say the least. Yet that is what the journal practiced, mainly. And it is a practice worth defending, however elitist it might look. All the more so because of how the Trump administration has weaponized both the idea of the hoax and the program of anti-elitism. [..] We know what has befallen intellectual standards. [..] Is this ChatGPT, or is it Orwell’s doublethink?

Well ok, there's a conversation to be had about these things! This is not the time to pontificate though, it's the time for sweet revenge. There's never been a better time for po-mo wonks to lean on AI slop and blast physics journals with fake stuff about gravity until someone understaffed falls for the trick. Then you can do a big scandalous reveal about how you can't believe you got away it ;)
by megous | 2025-10-25 23:57:16+00:00
It's not a dependency for Linux boot at all. You can do well with serial port alone, as anyone who brought up eg. an ARM SoC in Linux will attest to.

Also it's not very interesting either. At simplest, Linux just needs to take a pointer to a beginning of a framebuffer and some metadata, and will write to the framebuffer whenever there's something to update.
by monkeycantype | 2025-10-25 23:58:14+00:00
Hello Rohan. This is really great. If you are able to include parameters to expose the intermediate data as inputs and outputs, so that this can be run to a step in the process and output the data, or run from a step with pre-prepared data. It would mean that other people could build on what you've done to create other diagrams and renderings.
by bargainbin | 2025-10-25 23:58:42+00:00
D2 has a lot of merits but there’s little that sells it over PlantUML or Mermaid - I do feel like diagrams-as-code is still waiting for a killer program that makes everything else obsolete.

I’m forever chasing that dragon. In the meantime I still recommend D2 if PUML is feeling a bit stale.
by austin-cheney | 2025-10-26 00:00:35+00:00
I stopped watching the moment the speaker correlated imperative code to fragility. All code is inherently fragile. The only thing that makes code durable is not failing. Failure can be minimized by separating code into portable units that do nothing more than achieve a singular purpose.

Secondly, they kept talking about this creeping complexity in their code base of about 8 lines of code. 8 lines is still ridiculously tiny. I suspect their actual concern is that the code did multiple things like decrementing a number and modifying a state. I understand this was before TypeScript where execution can be planned against an interface, but I still would have created an object that stores all the relevant data they need to modify on each interaction.
by amitprasad | 2025-10-26 00:01:08+00:00
I think I got stuck in the same rut that I learned address space in whilst writing that diagram. I would tend to agree with you that your model makes much more sense to the student.

Related: In notation, one thing that I used to struggle with is how addresses (e.g. 0xAB_CD) actually have the bit representation of [0xCD, 0xAB]. Wonder if there's a common way to address that?
by woodruffw | 2025-10-26 00:01:15+00:00
I triaged this vulnerability from Astral's side, so I wanted to make a clarificatory point that's also present in the advisory[1]: parser differentials can be extremely bad, but the risk to the Python ecosystem in this particular case is moderated by the fact that tar is only used with source distributions, which already possess arbitrary code execution at resolution/install time by design.

In other words: this is an obfuscation vector within Python packaging, but it doesn't grant the attacker a novel privilege.

(This doesn't detract from the overall severity of the bug itself: there are plenty of ecosystems and contexts where this is a serious issue, and there's no easy way to assert that they aren't affected by the bug in this family of async-tar packages. Edera has done an excellent job of highlighting this, and I thank them for their disclosure!)

[1]: https://github.com/astral-sh/tokio-tar/security/advisories/G...
by raw_anon_1111 | 2025-10-26 00:01:32+00:00
People find it strange when I interview candidates, I don’t even look at resumes. I don’t need to. I ask questions to measure among other things the size and complexity of projects they were responsible for, the level of complexity, and what they actually accomplished.

If he came in and call himself a “CTO” and then he described his day to day work, that would be a red flag for me.
Show HN: I Simplified Time Tracking and Invoicing for Freelancer with FacturMe
by raihanstark | 2025-10-26 00:03:27+00:00
I'm building this because, as a freelancer myself, I find it hard to manage client billing and track hours manually. Most time-tracking apps feel overly complex, so I wanted to create something simpler — designed specifically for solo freelancers rather than teams. I'm actively developing it every day, so give it a try!
by bradlys | 2025-10-26 00:04:21+00:00
It’s a public company, not run directly by the government. It has a monopoly dictated by the CA government.

They have no interest in doing good service but instead in making money. They don’t have to really answer to anyone. Supposedly the CA government could implement things to improve the lives of Californians that would influence how PG&E operates but CA politicians are bought off by this corporation. So, there we have it
by MBCook | 2025-10-26 00:05:19+00:00
Doesn’t the hydrogen somehow come from fossil fuels anyway?

I know there are completely clean ways to get it like splitting water apart using solar energy.

But that’s not what was actually happening in practice right?

I was under the impression for the people who bought one of these that they’re tended to only be a single place they could ever fuel up anyway. Like maybe there were a couple throughout California but realistically you’ll never had a choice because it was never popular enough. That is one thing electric cars didn’t have to overcome. Electricity was already available everywhere. Charging off a 120v outlet is slow (I know, I do it) but it works.
by ttd | 2025-10-26 00:07:01+00:00
Ah, ok - thank you for elaborating on that. I don't actually have that type of interactivity at the moment, though you're right in saying all the information is there in order to make it happen. I also like your idea of changing between the states via some collapsible menu. In theory all of this could be achieved just by building on what's already here. Do you mind sharing what sorts of things you might use this for?

Glad to hear dark mode was the other issue :-). I'll investigate further, it's probably just a matter of a flag not being propagated properly during the scene change.
by superkuh | 2025-10-26 00:07:06+00:00
Maybe not linux specifically, but POST requires a video device software (BIOS Option ROM or UEFI GOP Drivers) of some sort does it not? That's been my experience with all PCs for 30 years. But maybe there are cases where it doesn't?

edit: Apparently it's a desktop motherboard firmware thing. Ubiquitous but not technically a requirement for POSTing a computer.
by bm3719 | 2025-10-26 00:07:20+00:00
Sokal was right, of course. He deservedly made fools of a bunch of naked emperors. However, he also influenced a lot of people (myself included) to eschew a whole genre of thinkers for which there was a lot of truly brilliant ideas.

For example, Lacan is given a good spanking by Sokal both in his paper Transgressing the Boundaries and an entire chapter is dedicated to him in Intellectual Impostures. Lacan looks like a complete fool if this is your only exposure to his thought. Again, Sokal is not wrong on his criticisms in these excerpts. Lacan definitely uses mathematical terms incorrectly. He was making an attempt to formalize his field (psychoanalysis) by skimming textbooks/papers on topology, knot theory, and other mathematical subfields and, from the perspective of someone who uses those terms for precise things, rather haphazardly putting them together. His "mathemes" go through many updates throughout his career, getting ever more complex. Later, Lacan almost certainly was suffering from senility (as most of us will by age 80), and got rather obsessed with the fake math side of his own work.

However, if you actually read Lacan, this is a miniscule and often completely ignored side of his work. No Lacanian psychoanalyst is filling their notebooks with fake math formulas and computing what's wrong with your relationship with the objet petit a. They're metaphors, shorthand, or diagrammatic expressions of what he's really saying in the ~10k pages of his massive corpus. Many of us use compsci terms all the time to express things metaphorically (e.g., being out of bandwidth or disk space when we really mean real world time and mental memory). Think about it this way, and Lacan becomes a source of manifest brilliance, as I discovered only way later in life.

All that said, the critical theory and cultural studies space of the 90s was indeed a cesspool, living in the shadow of former intellectual greats. The great flood of mediocre intellects was starting to bear its rotten fruit, but the truly fatal problem was the politicization. Sokal only addressed this some, making surface-level wrongness his focus in some kind of defense of his own field's purity. Politics poisoned critical theory just like it did wherever else a field became subservient to the street-level goals of a political monoculture. Mindless foot soldiers, bleating about race and gender, capable of only bumper-sticker-length thoughts, make poor philosophers, it turns out. That should've been the core of his point, and could've been helpful framing for a countercurrent against it. Leftist intellectuals, or what was left of them, could've cleaned up their own space, and put the people like this article's author in a quiet corner where they belong. (Note how even here, he can't help but get sucked into the immediacy of the left-reactionary political zeitgeist; the spittle being anything but subtextual.) Instead it came to its inevitable, expensive conclusion of having the decolonization of the university from political imperialists done for them by their equally unthinking opponents.
by FridayoLeary | 2025-10-26 00:08:13+00:00
I think you are putting too much faith in the courts. They are independent, but they have shown time and again that they will interpret the law how they like. They don't live in a vacuum and they certainly aren't free from, or blind to political considerations that influence their decisions, like the rest of us. Ofcom are very clearly the sort of people who want to apply the most open ended and widespread use of the powers they can in a misguided effort to save the public from themselves and i have very little confidence that our judges are not cut from the same cloth. I won't go so far as to say they would collude with ofcom, but i do think they are more likely to side with them over the defendants, however weak the case may be.

The problem is the law is worded in the vaguest way possible and ofcom in exceptionally bad faith have refused to give any clear guidance on what they will and won't prosecute. Our politicians in their arrogance have passed this law, so expect no help from them.