MurphyA/hacker-news huggingface dataset:
by chrismorgan | 2025-10-07 07:12:40+00:00
> img { max-width: 100%; }

This must be paired with `height: auto`, or your image’s aspect ratio will be messed up if the width gets capped.

> img, svg, video { max-width: 100%; }

… but beware, Chrome 141 has CSS width/height work on nested SVG elements, and auto is being miscalculated. Workaround is to change the `svg` to `svg:where(:not(svg svg))`.

> We’ll just use a basic system-ui for this example. It has pretty good support these days, and looks good on every system without having to worry about loading in any extra fonts.

Please don’t. system-ui is a font for matching the system UI. The UI font is often not good for long content, and in some less common OS/language combinations it’s almost unusable. Stick with sans-serif if that’s what you want. People have been using system-ui as a proxy for a maybe-better sans-serif. This is not what it is, and it is bad to use it so.

> In general, the font-size is a little small as well, so we can bump it up

This is acceptable for larger screens. I reckon 18–20px is a reasonable target, so 1.25rem is fine. But on small screens, please don’t go above 1rem, it’s the platform’s customary size and you don’t have the space to waste.

> the default line-height is always a bit tight, so anything within the 1.5 to 1.7 range should do

Ouch. 1.7 is huge on smaller displays. If you want a single value, I suggest 1.4–1.5. If you want to vary by width, 1.4 on small displays up to 1.6 on large will be reasonable.

> font-family: System UI;

That’s a second glaring error you should instantly observe if you use the stylesheet. I am not encouraged about its quality.

> Some people prefer a dark system theme, but light website themes, and vice-versa.

Sensible browsers let you separate the two. Firefox defaults to having content follow the system theme, but you can change it to just light or just dark.

> main { max-width: min(70ch, 100% - 4rem); margin-inline: auto; }

This is effectively giving a minimum 2rem margin. Well, actually 2rem + 8px once including the default body margin. That’s way too much, and applied in the wrong way.

If you wanted to apply it to the main element, it would be easier and I think more logical to use padding:

main { max-width: 70ch; padding-inline: 2rem; margin-inline: auto; }

But I doubt that you actually wanted to apply it to main: if you have a site header or footer outside that, you probably still want the same side padding. So it’s probably better to use body margin:

body { margin: 1rem; } main { max-width: 70ch; margin-inline: auto; }

… and I have there decreased it from the wildly-excessive ~40px to the reasonable ~16px.
by lloeki | 2025-10-07 07:13:16+00:00
The art of opening windows instead of tabs appears to have been lost to time.

Oh the irony that lots complain that mainstream OSes window managers are oh so poor when all people seem to be able to do is fullscreen everything and then tab around.

Meanwhile, macOS gave up on the absolutely brilliant if misunderstood Mac OS X green + a.k.a "zoom" which would miraculously resize windows to the maximum size of its content but no more.
by mort96 | 2025-10-07 07:13:24+00:00
The format-specific decompressor is part of the compressed file. Nothing here crosses a security boundary. Either the compressed file is trustworthy and therefore decompresses into a trustworthy file, or the compressed file is not trustworthy and therefor decompresses into a non-trustworthy file.

If the compressed file is malicious, it doesn't matter whether it's malicious because it originated from a malicious uncompressed file, or is malicious because it originated from a benign uncompressed file and the transformation into a compressed file introduces the malicious parts due to the bundled custom decompressor.
by hackingonempty | 2025-10-07 07:13:27+00:00
It is scary to see the President and Health Secretary and their appointees acting on conspiracy theories.

The evidence for zoonotic origin of SARS-COV2 is very strong[0] and the conspiracy theorists as usual have little more than speculation.

[0] https://www.annualreviews.org/content/journals/10.1146/annur...
by beAbU | 2025-10-07 07:13:56+00:00
The leafblower is one of those partisan issues where one camp likes to score internet points by joining the chorus against Unpopular Thing even though they have never been impacted by it, and the other camp defending it because their area really gets a lot of leaves compared to the rest, leaves kill their lawns, and brooms/rakes are seemingly ineffective or they don't exist.
by CalRobert | 2025-10-07 07:14:38+00:00
Modern Ubuntu, for me, is akin to Windows 7 (peak Windows), but with some added benefits like real package management and mnemonics (the underlined letters in menus you can access with alt+underlined letter), and other cool things like middle-click anywhere on the window to resize.

Even Mac is pretty bad by comparison.

Again, this is just me, but I wonder if people saying Linux is bad are really just complaining it's different? It does help that I only buy hardware I know works.
by ruszki | 2025-10-07 07:15:50+00:00
All of my problem was solved by disabling hybrid graphics and use the dedicated card only. I had not a single bug since then on X11 (I didn’t try Wayland yet, because it was almost completely unusable with hybrid config). The only drawback is battery life, but that wasn’t great even before. I could never reach the ~4 hours, which was possible with Windows. Even with the dedicated card disabled. So, I’m not entirely sure that it’s entirely on Nvidia.
by database64128 | 2025-10-07 07:15:56+00:00
> Every time I login using a Wayland desktop, only my main monitor is detected and it defaults to 60hz. I have to go through a whole process of unplugging the "undetected" monitors and plugging them back in.

Are you using GNOME? mutter has this problem where it does not retry commit on the next CRTC: https://gitlab.gnome.org/GNOME/mutter/-/issues/3833. If this is actually what's happening on your system, switching to KDE should solve it.

> HDR on Wayland is barely functional (in my experience)

This also sounds specific to GNOME, as mutter still doesn't have color management. You'll get a better HDR experience with KDE.
by Fischgericht | 2025-10-07 07:17:44+00:00
[For those who are not into the LTSC IoT stuff: Basically it's a decrapified Win10 with support and security updates until January 13 2032. Yes, 2032.]

I am seeing the exact opposite. It's not just that my tiny company has completely moved to Win10 Enterprise LTSC IoT, but every newly bought computer gets Win11 nuked and that installed. In Germany (shady) resellers of Win10 LTSCblabla licenses are popping up.

Pretty much everyone in the embedded electronics industry that has to use Windows is doing ass covering right now by buying the LTSC licenses while you still can.

The departures time table on your airport or train station is not going to be replaced because M$ claims that Win11 is incompatible with it. It will be moved to LTSC if it's not already on that for long. Same for ATMs, the strange machine my dentist uses together with her drills etc.

Of course I have no clue how/if Win10 LTSC market share is or can be detected at all. But from inside the embedded electronics industry I can say: Panic buying of Win10 LTSC licenses going on.

Not a contradiction to what you wrote, by the way: "Nobody" ) is buying Win10 Pro or Ent anymore. But they are buying LTSC in heaps according to sadly only anecdotical evidence.

) Well, not in their online shop, but if you ask, you very well can still buy new Thinkpads with Win10 installed from Lenovo, for example.
by idle_zealot | 2025-10-07 07:19:30+00:00
The Internet, and before it, computers, broke our legal system. There are loads of things that we decided were bad and banned, but "thing but on computer" or "thing but online" somehow were interpreted to be exempt.

For instance, there's a law banning video rental stores from sharing customer records, because it's obviously bad if private entities are allowed to collect and use potentially private information like media consumption habits. But movie streaming? Every detail about every piece of media you read or watch, when you watch, when you pause or bounce, every interaction and speck of attention catalogued and actively used to guide consumer behavior? That's fine actually, totally allowed.

How about copyright? Right of first sale dictates that you can do whatever you want with a purchased copy of some media, short of distributing copies. You can give it away, sell it, lend it out, modify it, make personal copies, whatever. But what about "media but on computer"? That all goes out the window. Oh, you don't own a copy, you just have a non-transferable limited license to view that media on a specific device for as long as the distributor doesn't change their minds. An insane legal fiction that magically nullifies hard-won rights.
by antirez | 2025-10-07 07:19:31+00:00
Yep, however people don't configure things properly so many years ago I introduced a middle ground between not listening to * (which makes things harder for users in actual deployment systems) and leaving the server exposed, that is: protected mode. If Redis has the default configuration to bind all the addresses and no auth is configured, it refuses commands and informs you how to configure it properly. This avoided many security problems, and avoid also the feeling I always had as a user of other systems defaulting to binding to only local interfaces, where you need to understand what to do in order to make it reachable from other computers.
by perching_aix | 2025-10-07 07:19:46+00:00
Resizing your browser resizes your browser. The rest of the page content, the tab you're on (in every major browser), and the window holding those tabs, all resize with it. This is so misguided, I can't help but consider it to be just a thin veiled plea at making sites more frustrating for everyone in support of your supposed preference.

I'd know, because this is exactly how I temporarily "fix" rubbish, outdated sites that have all their 80 column text appear on the left: I resize my browser window to move the text in to the center of my display. It's immensely annoying. It's annoying enough that sometimes it compels me to spend the (short but anger filled) time and override the site's stylesheet rather. At which point, may as well have served me some plain text instead. Speaking of, I do sometimes just toggle reader mode on too.
by Telaneo | 2025-10-07 07:19:53+00:00
Macs were at a bit over 10% market share in q4 2024[1], but it's also worth noting that the PC market is shrinking as a whole. Windows still has most of the pie, but the pie itself is getting smaller, since many find phones to be a better (and cheaper) experience than Windows, and I can't say that I blame them.

I'm curious how inflated the numbers are from business sales, since the default option there is still Windows, even if you don't actually use any software that needs it (i.e. you just need a web browser). Consumer sales of PCs is probably only going to trend downwards, and it only got a small spike from people buying PCs for COVID.

[1] https://9to5mac.com/2025/02/26/mac-market-share-growing-fast...
by M95D | 2025-10-07 07:20:39+00:00
Anyone can send mails to a mailing list. It doesn't mean anything.

busybox.net is down, along with their git and bugzilla, and the github mirror has last commit a year ago. The bugged tc.c was last updated 2 years ago.

https://github.com/mirror/busybox/blob/master/networking/tc....

So, yes, it looks abandoned.
by sortedFred | 2025-10-07 07:20:54+00:00
Most i18n advice still assumes you already have a translation system and the team discipline to maintain abstract keys. We didn’t. On every project where we tried to go from zero translations to “ship it”, inventing keys and wiring up files slowed everything to a crawl. Developers procrastinated, strings stayed hard-coded, and localisation kept falling off the roadmap.

We flipped the process on its head: treat the literal strings as the source of truth, make t("Delete this account") the default, and let tooling worry about context and variants later. That single shift makes onboarding take seconds per string, keeps the code readable, lets grep/LLMs understand intent, and still leaves room to annotate edge cases once you actually feel the pain.

After building a VSCode extension to automate extraction, dedupe near matches, classify strings with an LLM, and generate framework-specific locale files, we finally got localisation over the line in real codebases. What surprised us most is how far you can get with “controversial but pragmatic” natural language keys—especially when the goal is 0→1 adoption, not theoretical purity.

We built a VSCode extension called Rokalise. It scans your project, transforms translatable strings, normalises natural keys, and can spit out JSON locale files ready for Next.js/React today (Rails, Laravel, Vue in progress). Happy to share how we handle collisions, context markers, and progressive enhancement if you’re curious—or hear counterexamples where this breaks.
by grumpyprole | 2025-10-07 07:21:15+00:00
Less of the personal attacks please, you know nothing about me. I actually think it is you that is missing context here. Don Syme personally visited and presented at a variety of investment banks. He was the creator not a marketing type. I was present at one of his pitches and met him. One bank, Credit Suisse ended up adopting it. Any comparisons he made to C# where based around readability and time to market (C# is very verbose and boilerplate heavy compared to both Python and F#). This was all on the 2010-2015 timeframe. Python ended up winning in these markets. My point has always been that this now puts it in a difficult position, it's simply not radical enough to disrupt but still carries the perceived "functional programming" barrier to entry.
by tanvach | 2025-10-07 07:21:46+00:00
Many moons ago, we looked into doing molds for injection molding in US and China for a simple plastic part. The US based companies quoted 10x more expensive, while the Chinese company we ended up with offered more features (over molding with TPU) at cheaper initial and unit prices, and really great customer service walking through optimizing the part design with us. We were very happy with them. It made it possible to get our product to be economical.

Might be worth doing a test and order from your Chinese competitor to see how things look from your customers perspective.
by mythz | 2025-10-07 07:22:28+00:00
> Such a naive assumption

My bad. I naively assumed the successful developer-focued tools company with 25 years experience in parsing programming languages and building IDEs with advanced AST/refactoring tooling, that I've been happily using for 8 years had a great C/C++ story based on my experience of having used 7 of their other IDEs (built from the same platform base), were all best-in-class.

Maybe that's why I ended my thought with a question mark? i.e. So C/C++ developers with experience in both can clarify what makes VS so much better than CLion. Or if they haven't tried CLion that it would be a good alternative on Linux to try given all JetBrains other IDEs are of high quality.
by OCTAGRAM | 2025-10-07 07:24:08+00:00
Last time I saw them they were having alien input controls. I used to press M for portable Medkit. And J for Jetpack. And all keyboard is meaningful. Stand-alone gaming systems are having limited amount of buttons on their alien input controls and packing diverse actions into disgusting combos. This could probably be solved by Cronus Zen.

The only good thing about alien input control was smooth movement. Wooting Two emulates this by pretenting to be both human and alien input controls. Would be nice if such keyboards would be more widespread.
by throwawayqqq11 | 2025-10-07 07:24:30+00:00
Even if it was true:

1) It would be lacking bio safety, not GoF research. There are plenty of dangerous viruses stored away for research, which could escape too. Would you like to ban storage aswell?

2) Viruses mutate even if we stop GoF research. So why not try to stay ahead of the curve.

3) Many people died because conspiracy fueled rejection from vaccines even up to masks. Or would you like to elaborate how many millions died because of the new mRNA vaccine?
by rhubarbtree | 2025-10-07 07:28:02+00:00
I travelled the world with a backpack.

The good news is, it took me nearly 20 years before I started taking hot showers for granted again. It really did make me very grateful for a lot of things.

But I’ve also had similar thoughts to you.

I watch a lot of hiking videos of the PCT etc as one day I’d like to walk it.

When I watch those videos, and when I see people on social media telling folks to “drop out of the system, be free.” I can’t help but wonder exactly who is going to prepare their dehydrated meal packs for them.

Absolutely nothing wrong with taking such trips, made me a better and more grateful person, but it’s not an alternative lifestyle.
by vortex_guardian | 2025-10-07 07:29:02+00:00
That's cool about the Dinosaur hoist! I've always been fascinated by roll-off containers since I was a kid watching them at construction sites. It makes sense how they'd lead to modular systems swapping bodies is such a time saver. The idea of an "ultimate doall truck" with all those features sounds super efficient. I wonder who first thought up the rolloff concept? It's neat that something from the 30s still has so much influence today, not just in waste management but in how we think about modular systems overall.
by thomasfl | 2025-10-07 07:30:30+00:00
Upvote for making a great city planning game. This could teach the young generation the importance of good city planning for the economy, the environment and the well-being of people. The architectural uprising is just as much about city planning as beautiful architecture. Human friendly towns is good for business, saves the municipalities money and increases quality of life. Ideally people should be paid to live in cities. Disclaimer, I am the chairman of the Norwegian architectural uprising.
by bigmattystyles | 2025-10-07 07:31:21+00:00
The video store example is funny because iirc, it wasn’t until someone high up/very involved in government got bit by it. During Robert Bork’s failed Supreme Court confirmation, a reporter figured out he rented porn. Maybe it was something less raunchy / embarrassing than porn but either way, iirc, they got that law on the books fast after that….
by dmurray | 2025-10-07 07:31:36+00:00
> Are they in the same orbit as the satellites? If so, China is effectively mining their own constellations

This is LEO, so it's everyone's orbits. And in any case the big worry about space junk is not so much that it takes out one or one thousand existing satellites - which China could replace - but that it makes the orbits unusable by future spacecraft.
by lxgr | 2025-10-07 07:32:16+00:00
> For Firefox, I create a separate profile.

Firefox supports per-container (and as such per-tab) SOCKS proxies, which I find really useful.

So useful, in fact, that I've come full circle and I am now running a userspace Wireguard to SOCKS proxy [1] in order to have that convenience for a VPN which does not have any host I could SSH to.

[1] https://github.com/whyvl/wireproxy
by StopDisinfo910 | 2025-10-07 07:34:05+00:00
Visual Studio is nice for C++ if you target Windows and CLR languages but for the rest it’s pretty abysmal. I personally generally prefer IntelliJ and used to find CLion nicer for C++ but that was a long time ago.

Anyway, Windows has become a pain for normal user but remains fine if you are a company user. The management tools will strip away most if not all the annoyance people are complaining about here. I think Microsoft knows where the money comes from.
by logicallee | 2025-10-07 07:34:16+00:00
I didn't originally include this text in the browser feature vote, but I showed my wife the feature vote and she insisted that I need to include this part until it's solved. I can't wait for this to be done.

I didn't see any feature suggestions from you, please feel free to suggest a browser feature for AI to build once it is powerful enough to do so, you can do so at the bottom of the page. It only takes a few seconds. Thank you.
by CaptainOfCoit | 2025-10-07 07:35:14+00:00
> In the Swiftie-verse, an “Easter egg” refers to a hidden clue or detail that Taylor plants in her work to suggest something big (like a new album) is coming

I refuse to believe that the authors actually think Taylor Swift invented the "Easter Egg", is this the engineering version of discussion-bait?

Besides, not much of an easter egg if you give it away in the very next paragraph, that name kinda implies how you're supposed to do it.
by mschuster91 | 2025-10-07 07:35:15+00:00
The thing is, the storage on Apple devices is so unbelievably fast, you can get by on 8GB just fine. Even with clogging up hundreds of Chrome tabs. Swap is barely noticeable.

Memory management on Windows devices in contrast is utterly painful. The RAM itself is already slower simply due to physics (can't beat the SoC proximity with anything socketed), storage I/O usually has to cross through a lot of chips (same thing, Apple attaches storage directly to the SoC), and then the storage itself that you find on cheap devices is actually SATA under the hood or bottom of the barrel NVMe, no competition at all to Apple. Oh and the storage and RAM are both adequately cooled on Apple devices, so Apple can drive them much much harder unlike the Windows world where often enough the only thing that gets cooled is the CPU and GPU.

Yes, I do think Apple wants far too much money for RAM and SSD storage upgrades, but it's undeniable that even the more expensive ends pack a lot of punch.
by bell-cot | 2025-10-07 07:35:39+00:00
Click the "parent" links until you see this exchange:

>> ...Bing felt like it had a mental breakdown...

> LLMs have ingested the social media content of mentally disturbed people...

My point was that formally asserting "LLMs have mental breakdowns because of input from mentally disturbed people" is problematic at best. Has anyone run an experiment, where one LLM was trained on a dataset without such material?

Informally - yes, I agree that all the "junk" input for our LLMs looks very problematic.
by da_chicken | 2025-10-07 07:35:44+00:00
Well, that's the thing. That's not as stupid as you're trying to make it sound.

There IS Microsoft Defender on Linux because there's multiple products that Microsoft calls Defender. There's the product that ships in Windows for the consumer market, which is just the basic antivirus product that you probably think they're talking about. However, Microsoft's full endpoint protection software is also branded Defender, and there is a Linux version.

And while you might think that it's silly to run that on Linux, (a) your business is probably already licensed for it so will be cheap to add a client, (b) it's what their infrastructure is already using so it's minimal setup, and (c) having security software everywhere is critical simply for saving thousands of dollars in insurance costs. The software nearly pays for itself in reduced premiums at any company of any size even if it does nothing. With how catastrophic ransomware attacks and data breaches are, insurance companies now require annual environmental surveys for evaluating risks.

So you're trying to make this IT team sound stupid, but as someone in the industry I can't even tell from what you said if they are.
by lifthrasiir | 2025-10-07 07:36:26+00:00
As someone seriously trying to develop a compressed archive format with WebAssembly, sandboxing is actually easy and that's indeed why WebAssembly was chosen. The real problem is determinism, which WebAssembly does technically support but actual implementations may vary significantly. And even when WebAssembly can be made fully deterministic, function calls made to those WebAssembly modules may still be undeterministic! I tried very hard to avoid such pitfalls in my design, and it is entirely reasonable to avoid WebAssembly due to these issues.