MurphyA/hacker-news huggingface dataset:
by 1vuio0pswjnm7 | 2025-12-25 03:44:30+00:00
"Like, ss without any options shows such arcane, rarely needed details as send/receive queue size but not the application socket belongs to.

And omits listening sockets which is main use for such tools."

IMHO this would be one of the many arguments in favor of compiling from source rather than using "binary packages"^1

https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2...

(
printf '/int state_filter = 0;/a\\\n'
printf 'state_filter = (1 << SS_LISTEN) | (1 << SS_CLOSE);\\\n'
printf 'show_processes++;\\\n'
printf 'show_queues = 0;\\\n'
echo
echo "s/dhalBet/q&/"
printf '/switch (ch) {/a\\\n'
printf "case 'q':show_queues=1;break;\\\n"
echo
)|sed -i -f/dev/stdin misc/ss.c

This changes the default to display all sockets, hide the queues and show the processes using each socket

It also adds adds a -q option to display the queues

1. IMHO this is also an argument against "cloud computing", i.e., using someone else's computers where pre-installed kernels and binary packages are the norm
by dingody | 2025-12-25 03:47:14+00:00
Whenever I see topics about China on HN, I get this strong sense of unease. The reality is that most people don't actually understand China; when they think of it, they just imagine a country where 'people work like expressionless machines under the CCP’s high-pressure rule.' In truth, a nation of 1.4 billion is far more diverse than people imagine, and the public discourse and civic consciousness here are much more complex. Chinese people aren't 'brainwashed'; they’ve simply accepted a different political system—one that certainly has its share of problems, but also its benefits. But that’s not the whole story. You shouldn't try to link every single topic back to the political system. Look at the other, more interesting things going on.
by codingrightnow | 2025-12-25 03:49:13+00:00
When I read about the culture at Google, and similarly YouTube, I am constantly reminded of how (and probably why) their products have stagnated/gotten worse over time despite having top engineers. I believe Google has the talent to build anything in their wildest dreams. So why do their products suck? YouTube sucks from the user POV, Google classroom sucks, the user experience in their office suite leaves a tremendous amount to be desired for even a basic user like me, Android never improves, their voice recognition and assistant are trash. There's so much room for competition, I wonder where it is? What are they spending their money and talent on (besides AI)? I feel like it must primarily be on reliability, speed, and delivering more ads.
by childintime | 2025-12-25 03:50:09+00:00
When you fly you feel like you're playing Russian roulette, many times over. The flying experience is trash. RyanAir may be the worst, but just by a little. At least they fly on time and they seem to know what they're doing. Then in the Netherlands you pay 30€ in airport tax for a 39€ ticket. Yet they fine RyanAir, not themselves ;)
by caseyross | 2025-12-25 03:50:53+00:00
Allow me to submit an advanced 2000s US version that incorporates several additional lyric-flow improvements on phrases seen in the Tom Scott video and TFA:

"Dashing through the snow - - on a pair of broken skis - - -"
"Down the hills we go - - - Crashing into trees!"
"The snow is turning red - - I think I'm almost dead - -"
"And now I'm in the hospital with stitches in my head! Oh, -"

"Jingle bells, Batman smells, Robin laid an egg! - - -"
"Batmobile lost a wheel and the Joker played ballet! HEY!"
"Jingle bells, Batman smells, Granny got a gun, - - -"
"? ? ?, and shot a man in 1931! HEY!!!"
by thatoneengineer | 2025-12-25 03:51:04+00:00
https://en.wikipedia.org/wiki/Prototaxites has more context. Tree sized and shaped living thing that wasn't a plant, which probably fed and reproduced like a fungus but per this latest research wasn't a fungus either, by far the largest known organism on land up to that point, in a time when land animals barely existed. Unsettling!
by macNchz | 2025-12-25 03:53:04+00:00
SameSite=Strict is belt-and-suspenders protection in the case where you could have GET requests that have some kind of impact on state, and the extra safety is worth the UX impact (like with an online banking portal).

Discussions about this often wind up with a lot of people saying "GET requests aren't supposed to change state!!!", which is true, but just because they're not supposed to doesn't mean there aren't some floating around in large applications, or that there aren't clever ways to abuse seemingly innocuous side effects from otherwise-stateless GET requests (maybe just visiting /posts/1337/?shared_by_user=12345 exposes some tiny detail about your account to user #12345, who can then use that as part of a multi-step attack). Setting the strict flag just closes the door on all of those possibilities in one go.
by gitaarik | 2025-12-25 03:53:23+00:00
When using component frameworks like React, you typically put the styling for a button in the button component, and use that component. So then you don't need to have a global CSS class for a button. You just need to style the button once in the component.

But with the @apply function it's also still possible to create a new CSS class that combines other Tailwind attributes. That is sometimes useful for within a single component that uses the same styling for multiple elements.

.common-style {
@apply flex w-4 h-3 bg-green;
}

https://tailwindcss.com/docs/functions-and-directives#apply-...
by sho_hn | 2025-12-25 03:54:26+00:00
Windows is reasonably OK, but MacOS' window management has always been really terrible.

Just think through the many different iterations over the years of what the green button on the deco does, which still isn't working consistently, same as double-clicking the title bar. Not to mention that whatever the Maximize-alike is that you can set title bar double click too (the options being Zoom and Fill, buried in settings somewhere) is different from dragging the title bar against the top of the screen and chosing single tile. Which is different from Control-Clicking the green button. Maybe. It depends on the app.

What a mess.

Both of them miss (without add-ons) convenience niche features I cherish, such as the ability to pin arbitrary windows on-top, but at least the basics in Windows work alright and moreover predictably and reliabily. Window management in MacOS just feels neglected and broken.

There may be many other ways in which MacOS shines as a desktop OS, and certainly in terms of display server tech it has innovated by going compositing first, but the window manager is bizarrely bad.
by cryptonector | 2025-12-25 03:54:53+00:00
I wonder how well Claude would do at porting Heimdal's ASN.1 compiler to Rust, Swift, Java, etc. I wonder how well it would do at porting Heimdal's lib/hx509. I think the latter would be much easier than the former. But I'd expect that porting the krb5 code would be much harder still.
by ldenoue | 2025-12-25 03:54:59+00:00
I developed a stack on Cloudflare workers where latency is super low and it is cheap to run at scale thanks to Cloudflare pricing.

Runs at around 50 cents per hour using AssemblyAI or Deepgram as the STT, Gemini Flash as LLM and InWorld.ai as the TTS (for me it’s on par with ElevenLabs and super fast)
by ndiddy | 2025-12-25 03:55:33+00:00
As far as I'm aware, all of the Snapdragon ARM laptops are existing chassis designs with different motherboards. I'm not sure how ARM affects build quality. Moreover, Snapdragon X support on Linux is still heavily a work in progress with issues with sound, power management, webcam support, and video acceleration. I don't know why anyone would go with a Snapdragon laptop today when Intel Lunar Lake excels at the exact same workloads Snapdragon X does, has similar battery life, and Intel actually works on getting device support upstreamed in a timely manner.
by ldenoue | 2025-12-25 03:57:03+00:00
The problem with PipeCat and LiveKit (the 2 major stacks for building voice ai) is the deployment at scale.

That’s why I created a stack entirely in Cloudflare workers and durable objects in JavaScript.

Providers like AssemblyAI and Deepgram now integrate VAD in their realtime API so our voice AI only need networking (no CPU anymore).
by NiloCK | 2025-12-25 03:57:43+00:00
I think what you're describing here is mostly a mindset / user education problem. SRS is for "serious learning", which by necessity will unconditionally feel difficult - if your training sessions aren't strenuous, then they don't drive adaptation.

It's hard to get around without marrying the SRS with something like a hierarchical skill tree whose traversal you can be made aware of, or some other visible progress metric (eg, climbing the ELO of encountered puzzles in a chess training engine).

Still: users have to get comfortable with being uncomfortable if they want to profit from these sorts of systems.

A different issue with SRS's lazer accuracy is the Pareto tradeoff between efficiency and robustness.
by gsf_emergency_6 | 2025-12-25 03:59:45+00:00
Bizness busyness merry crismez!

Here just to acknowledge that we seem to be getting somewhere,

(+according to Arnol'd, Varchenko discovered?/invented? mixed Hodge* structures to deal with oscillatory integrals. those lowly monsters that feature in many a baby phyker's trauma..

https://m.mathnet.ru/php/archive.phtml?wshow=paper&jrnid=rm&...
)

More later!

*Hodge as the Grassmann of XXI?
by llmslave2 | 2025-12-25 04:00:04+00:00
Lmao! Now I know my friends who claim to be masterful betters are lying because they've never had issues placing bets.

> To get the most out of beards, sharps engage in “priming”, a digital version of the old pool-hall hustle. This involves intentionally making large losing bets to get an account’s limits raised, and then earning the losses back and more before the books realise they’ve been had. “They want to prey on degenerates and irresponsible gamblers,” says Chris Dierkes, a veteran sharp. “So you want to dress yourself as the most degenerate, irresponsible gambler out there.”

Honestly? Fucking amazing. Please for the love of god do not regulate this, and let the bookies and sharps duke it out.
by notepad0x90 | 2025-12-25 04:01:15+00:00
I concede on all but the last point. For that, I think you're taking a very language or platform specific perspective. And I think I myself am highly biased by security incidents. To give examples:

1) The Notepad++ compromise is one, lots of people install it and don't even have auto-update

2) There has been lots of state-sponsored attacks in recent years that abuse software specific to a country, for example "HWP" against south korean users; sometimes this involves code-signing cert theft

3) Things like log4j have traumatized the industry badly, how do I know what software is using log4j, or some other highly depended-upon software under $randomlang

4) It's very important to detect when someone is using some weird/unusual usage of a popular software, for example things like node, nginx, docker, k8s running on windows 10/11.

I admit I too am biased, but that's my point, we need a solution that works for the messy world out there today, not an ideal world some day. Getting people to use it is like 90% of the problem, the technical part isn't a blocker. I don't care if it's a lockfile, an xml catalog, yaml, etc... can it get standardized and widely used in practice? Can it solve the problems we're all facing in this area? That's why "most software I know" is a very important requirement.

The problem at the end of the day is malicious actors abusing software, so they sort of set the requirements.
by cyberax | 2025-12-25 04:02:18+00:00
> Size is also nice…do you really need ls and dozens of other executables in your containerized service?

Yeah, I do. For debugging mostly :(

> Most Docker users don’t care about reproducibility. They’ll apt-get install and get one version today and another version tomorrow.

Ubuntu has daily snapshots. Not great, but works reasonably well. I tried going down the Nix route, but my team (well, and also myself) struggled with it.

I'd love to have fully bit-for-bit reproducible builds, but it's too complicated with the current tooling. Especially for something like mobile iOS apps (blergh).
by fc417fc802 | 2025-12-25 04:03:19+00:00
Sure, I also dislike corporate policy that doesn't require a warrant for such things. But at the end of the day that is their choice.

My complaint is that Google should not have been permitted that choice in the first place. The entire sequence of events - from requesting the data without a warrant through to handing the data over without a warrant and any following data mining that was done with it should have been forbidden on constitutional grounds. Both parties ought to have been in violation of the law here. We need to fix the gaping hole in our constitutional rights that the third party doctrine represents.
by Razengan | 2025-12-25 04:04:11+00:00
> somebody read the bank statement to you…

But it's not that. I'm GIVING it the data.

It's simple, I can do it myself:

Go row by row. See a certain phrase in the transaction description? Look a few rows ahead. Spot associated fees with just a glance. Write that group of transactions down somewhere else.

That's it.

I tried different kinds of prompts, from imperative to declarative, including telling the AI to write a script for its own internal use, but they just don't seem to get it.
by lioeters | 2025-12-25 04:05:32+00:00
Hear, hear. The key word I feel, is autonomy. It's like that article says, the coming war on general-purpose computing. We must seize the means of computation. We've already lost control of mobile phones, whose major operating systems barely allow you to see files, or run software of your own choice. That corporate colonization is coming for the rest of the personal computing stack.

Large language models, the resources and the exploitative means it took to create them, are not "free", they have serious social costs and loss of personal freedom. I still use them, particularly local models, but even that is questionable. At least when the AI bubble bursts and the inevitable enshittification begins, I will be able to continue running them without further vendor lock-in or erosion of privacy.

In terms of bootstrappability and supply chain risk, LLMs fail because we the people are not able to re-create them from scratch.
by sho_hn | 2025-12-25 04:05:41+00:00
This is all playing a bit fast and loose with the details.

The "isolating windows from each other" stuff in Xlibre for example is the Xnamespace extension, which requires a static config file up front and lets X clients within the namespace interact as before. This may have some utility for specific scenarios (dunno, kiosks maybe?), but is nothing like Wayland's default security model.

Similarly, enabling TearTree in the modesetting driver and having another backbuffer in the driver is a huge crutch vs. having a proper architecture where the compositor can own presentation timing. For one it makes adaptive sync/VRR a lot trickier.

These things are overall not equivalent.
by LeFantome | 2025-12-25 04:08:41+00:00
Well, you are not really forced to write a compositor these days as there are libraries that do all the heavy lifting for you.

Check out Louvre for example. Or Smithay if you like Rust. And if you want a bit more depth, there is wlroots of course (or the hyprland version). It is not really any harder than writing an X11 WM.
by Tade0 | 2025-12-25 04:08:46+00:00
I don't recommended getting a Framework to anyone who isn't interested specifically in repairability, as it has its quirks and doesn't feel like something which should cost this much. I've broken something in every laptop I've ever owned (+the butterfly keyboard in a company 2019 MBP), so to me it's an important feature.

That being said my previous device - a "gaming" laptop - was essentially e-waste two years after purchase because firmware updates stopped despite there being unresolved issues and the official parts store didn't even have basic items like fans, which I had to get from AliExpress instead. Eventually it was the cheapo Intel SSD which did it in, as it slowed to a crawl from being 80% full for too long.

I think there's a problem with my 1yo FW16's keyboard as during intense gaming the "D" key temporarily just stops responding, but if it ever fails completely I can order a new keyboard and once it arrives replace it literally within a minute.

Other parts take longer, but the general idea is that any sort of malfunction is manageable.

> This wouldn't be so bad if it wasn't sitting in the bottom right corner of your eye when you look at the display.

This is about the power LED and it makes me wonder how dark is the author's environment? Is that healthy?
by Froedlich | 2025-12-25 04:09:07+00:00
I understand the "everybody does it that way" aspect of the cloud, but the old way of subscribing to a dynamic DNS and hosting locally still works just fine and you have full control of things.

Later, once you have more traffic and/or paying customers, it would be worth looking into cloud hosting. And even then, you probably don't need as much horsepower as they're trying to sell.
by Bad_Initialism | 2025-12-25 04:09:51+00:00
How unfortunate that the first line of that article contains a racial slur. Does the race of the pickpocket make any difference?

You may not realize that the Romani were victimized by the NAZIs or that they have been vilified because their traditionally nomadic lifestyle conflicted with the bourgeois mores of the shopkeeper class, but in the age of the Internet it's not too hard to figure that out.

Let's keep the overt racism to a minimum, please.
by notepad0x90 | 2025-12-25 04:11:02+00:00
Your comment is sensible, so long as repair parts aren't duds all the time, and repairs don't cost you the same as a purchase.

For most laptops, including macs, replacing things like batteries and screens is not what makes them irreparable, but it is things like the cpu, discrete gpu, etc.. I applaud framework on what they're doing, but it isn't there yet. If anything on the mothrerboard breaks, you're looking at a hefty repair bill to replace it. If they keep a decent stock of original,tested and quality parts long-term (10+ years) that would be one thing, but if "repair" means upgrading to the latest stuff, then it is just saving you on a replacement.

Ideally, I would purchase replacement components at the time of purchase, so if I have a loose $300 after the initial purchase, I might spend it on a spare ram, cpu, or gpu. Now, with that money, I can only buy cosmetic/casing parts, battery, connectors and such. Again, I appreciate their direction, and if we're spending to support them alone, that's great. But they have been around for a while, and some constructive criticism regarding value might be good.
by the_af | 2025-12-25 04:11:30+00:00
> If a company requires 13 people to sign off on a hire, it suggests they operate on a consensus-based model that stifles autonomy [...] the companies with 5 to 8 rounds had the clearest internal culture

Wow. 5 already feels like too many to me. 3 would be closer to ideal, counting the initial screening. 8 is positively too many; 13 is hellish.

It's very depressing when we start accepting 5 as the new normal.
by daveidol | 2025-12-25 04:11:58+00:00
Yeah unless you legitimately enjoy it, want the experience, or want to save up some money for a while - I don’t think it’s worth it (coming from someone that spent 10+ yrs at FAANG).

It’s certainly not apples to apples with any other random tech job to where you can just compare TC while ignoring level of stress. And the money is good but not life changing good.
by ProllyInfamous | 2025-12-25 04:13:34+00:00
>"Tesla's design choices created a highly forseeable risk..."

Same thing with their PowerWall 2 [0] — it's almost as if risk assessment doesn't matter to Tesla, at least not as much as aesthetics.

[0] <https://www.youtube.com/watch?v=1TvZG7o3F7Y> & <https://www.youtube.com/watch?v=vtWXM1AEeEw>
by squirrellous | 2025-12-25 04:14:33+00:00
Google is a somewhat widely known place where promo is a huge problem, but the problem isn’t particular to Google. Generally companies will require you to repeatedly “prove” you are worth the additional compensation before agreeing to it. The friction varies, but the structural incentives are always there. Therefore if the goal is to maximize earnings, and assuming you are a high performer, it’s in your best interest to job hop once in a while.

To not play this made-up game, you either decide to stop caring about compensation, or be your own boss. Of course these are not always realistic depending on one’s life situation.
Ask HN: Does open-sourcing in B2C usually cripple monetization prospects?
by schelskedevco | 2025-12-25 04:15:28+00:00
I have a consumer financial planning app that I want to open source, but also want to monetize. I think I can use the classic open source business model of hosted option + branch out with additional closed source stuff for enterprise, but the fact this doesn't seem common in my space gives me pause.

Is there a rule of thumb for the effect that open sourcing will have on prospects for monetization, especially on the B2C side? Any insights are appreciated.
by slwvx | 2025-12-25 04:15:45+00:00
> The labs on this website are designed to accompany the Foundations of Applied Mathematics textbook series. [1]

It's great that they are making the labs free and putting them on GitHub. Even so, the fact that the textbooks are not free and open source make this much less interesting. In contrast, "ALGORITHMS FOR OPTIMIZATION" is available online [2] as well as code from the book, and two more books by the same authors [3].

Seems like university departments should start funding fully open, downloadable books by their faculty and staff as a marketing tool. The books [2],[3] are great marketing for Stanford.

[1] https://epubs.siam.org/action/doSearch?ContribRaw=Jarvis%2C+...

[2] https://algorithmsbook.com/optimization/

[3] https://algorithmsbook.com