MurphyA/hacker-news huggingface dataset:
by inglor_cz | 2025-11-24 11:48:08+00:00
Czechia is the most Jewish-friendly country in the EU, and will likely stay so. Our Jewish community used to be very vibrant and it is sorely missed.

We should indeed defend Taiwan, but we (as "the entire EU") seem to be lukewarm even about defending Ukraine which is much closer to us and in a hot war. Some people just prefer sticking their head in the sand.

Maybe the Jewish people are better at discerning building-up danger, because of their long history of persecution.
by lioeters | 2025-11-24 11:48:32+00:00
> A.N. Kolomogorov

That wouldn't be who Kolmogorov complexity is named after? ("The Kolmogorov complexity of an object, such as a piece of text, is the length of a shortest computer program that produces the object as output.") ..Oh it is the same mathematician, Andrey Nikolaevich Kolmogorov. I see he was a major figure with many other concepts, equations and theorems named after him.
by imtringued | 2025-11-24 11:49:31+00:00
.unwrap() was a huge mistake. It should be banned from release builds outright. It's the equivalent of dereferencing a null pointer in C or the NullPointerException in Java. All .unwraps() should be replaced by .expect("uniquely identifying message") immediately and preferably the compiler checks that the expect messages are unique within a crate and issues a warning. Debug builds should by default give .unwrap() and .expect() a tiny chance, like 0.1%, to trigger anyway, even when the Option is Some (opt out via configuration).
by thih9 | 2025-11-24 11:49:42+00:00
Parent comment is an indirect reference to US mass shootings:.

> "'No Way to Prevent This,' Says Only Nation Where This Regularly Happens" is the recurring headline of articles published by the American news satire organization The Onion after mass shootings in the United States.

Source: https://en.wikipedia.org/wiki/%27No_Way_to_Prevent_This,%27_...
by spacedcowboy | 2025-11-24 11:49:56+00:00
> This is the special thing about OpenSCAD design is they figured out how to build an abstract syntax tree that could either be sent to OpenCSG, CGAL (old engine), Manifold (new engine), or even the bare bones 'ThrownTogether' renderer (ancient engine on machines with no gpu that just draws 'negatives' as green blobs iirc).

Mostly.

I've still had several instances when drawing curved solids that the OpenCSG renderer worked well with (visually) but when it came to render-time, there was something wrong. It is very hard to debug things, or at least I found it so, when it goes wrong like that.
by tialaramex | 2025-11-24 11:49:58+00:00
This is very true from outside an encapsulation, but within the private implementation of a type there may be safe Rust that's required to uphold some assumptions made by the unsafe Rust [if there is some] and while in theory the bug is in the incorrect assumption made by the unsafe Rust in practice we're going to fix the "safe" code which broke our assumption instead.
by kstrauser | 2025-11-24 11:50:35+00:00
Same for me, but kind of because of DEI. Basically, it offended some people, and even if I thought it was a little overblown, it took about 2 minutes to change the default name of future repos to be something else (which was at least as good, and perhaps better). It made some people happier at approximately zero cost to myself, so why not.
by mnafees | 2025-11-24 11:50:50+00:00
I remember we used https://github.com/getlantern/systray at some point along with some interaction with fyne.io. That said, I do not remember how we managed the lifetime but we did test it thoroughly before deploying to our initial beta users (or so we thought :P). The GC behavior started to happen whenever the app was in the background, which it was supposed to be for the majority of the time.
by noduerme | 2025-11-24 11:51:45+00:00
In terms of survival strategies, letting someone else rule over you was sort of the OG Christian thing before they got control of the Roman Empire. It's kind of the default in most places. Declaring independence and actually succeeding at it and governing yourself is remarkably rare. The question isn't what you think is wise, or what you would do (because no one knows until they're in that situation). It's whether you feel you have anything worth preserving when you are conquered. Some people don't, evidently. Other people do.
by skwee357 | 2025-11-24 11:51:57+00:00
I’m not a node/js apologist, but every time there is a vulnerability in NPM package, this opinion is voiced.

But in reality it has nothing to do with node/js. It’s just because it’s the most used ecosystem. So I really don’t understand the argument of not using node. Just be mindful of your dependencies and avoid updating every day.
by sph | 2025-11-24 11:53:19+00:00
> In the early days the Node ecosystem adopted (from Unix) the notion that everything has to be its own micro package.

The medium is the message. If a language creates a very convenient package manager that completely eliminates the friction of sharing code, practically any permutation of code will be shared as a library. As productivity is the most important metric for most companies, devs will prefer the conveniently-shared third-party library instead of implementing something from scratch. And this is the result.

I don't believe you can have packaging convenience and avoiding dependency hell. You need some amount of friction.
by misja111 | 2025-11-24 11:53:34+00:00
There is this:

> CPU Specific Instructions

> If you do not care about the compatibility of your binary on older (or other types of) processors, you can tell the compiler to generate the newest (and potentially fastest) instructions specific to a certain CPU architecture, such as AVX SIMD instructions for x86-64 CPUs.

> To request these instructions from the command line, use the -C target-cpu=native flag
by mnafees | 2025-11-24 11:53:50+00:00
I totally agree :) I don't blame Go either. We were already a pure Go shop with a lot of focus on backend and infra systems engineering and were trying to venture into the desktop app market for our device monitoring software. Once we validated our idea with a rather buggy MVP haha, we quickly switched over to Electron and deployed on all 3 desktop OSes properly.
by ben_w | 2025-11-24 11:54:11+00:00
Antimatter is more of a Star Trek (and Revelation Space and a few others) issue than a Black Mirror episode.

I am far from a domain expert, I only know of four current and speculated uses for antimatter: energy storage, inducing nuclear reactions, medical imaging, and one specific tumour removal method.

For the first one, antimatter has about 1000x the energy density of fission, but also unlike a fission bomb all of it reacts (with an equal mass of normal matter), which means 1 gram of the stuff is a bigger boom than Fat Man and Little Boy combined.

Fortunately, "15000 antihydrogen atoms" is a factor of 4e19 away from 1 gram, and even if it wasn't we'd probably have to fuse the antihydrogen into antilithium to hold that much in a not completely absurd storage system.

Inducing nuclear reactions might make for some interesting propulsion systems, or might make atomic weapon proliferation even harder to prevent; that's expected at around 10^18 (the microgram level), which is still 1e14 more than announced by CERN — if it works, this use is hypothetical because current production is so much less than that: https://en.wikipedia.org/wiki/Antimatter-catalyzed_nuclear_p...

Medical imaging is already done with positron sources (doesn't need complete antihydrogen atoms), and antiproton beam therapy doesn't need the antiprotons to be turned into antihydrogen at any point: https://home.cern/science/experiments/ace etc.
by ZaoLahma | 2025-11-24 11:55:20+00:00
For me the longer I work, the worse the bugs I work with become.

Nowadays, after some 17 years in the business, it's pretty much always intermittently and rarely occurring race conditions of different flavors. They might result in different behaviors (crashes, missing or wrong data, ...), but at the core of it, it's almost always race conditions.

The easy and quick to fix bugs never end up with me.
by sph | 2025-11-24 11:55:26+00:00
That is true, but the hand-rolled StringUtil won't steal your credentials and infect your machine, which is the problem here.

And what is wrong with writing your own util library that fits your use case anyway? In C/C++ world, if it takes less than a couple hours to write, you might as well do it yourself rather than introduce a new dependency. No one sane will add a third-party git submodule, wire it to the main Makefile, just to left-pad a string.
by amiga386 | 2025-11-24 11:55:52+00:00
I agree, I feel much the same way about The Da Vinci Code. It's an interesting diversion to read, if somewhat poorly written, but the very first page listing "facts" rubs me up the wrong way because every claim on that page is fantasy horseshit. The novel is 1000x better with that page is ripped out.

The Catholic Church don't like it, not because it ties some fictional conspiracy to them in the context of the plot, but because that first page claims the conspiracy is real. There is a real Opus Dei organisation, but that organisation does not employ albino assassins with peanut allergies, and it's not at war with Pierre Plantard's completely made up organisation.
Ask HN: Photos corrupted on Google Pixel phones over time?
by poolnoodle | 2025-11-24 11:58:29+00:00
I have had this problem for years now: Scrolling through photos on my phone that are maybe a year old or older I notice grey squares here and there in my Google Photos app (used without an account). The files are properly corrupted - can't view them on other devices either. I checked some out in a hex editor and sure enough there is a good chunk of null bytes in the beginning. Sometimes it's just the first byte and changing it from 00 to FF fixes the image. But oftentimes it's a whole lot more 00s to the point where I don't know how to recover the image.

I've been using only Pixel a-series phones for the last couple years (3a, 6a, 9a) and had this happen on all of them. It surely can't be bad storage, can it? I feel like there is a bug in some part of Google's Android OS.

Has anyone of you encountered this issue? I can't believe I'm alone with it.
by embedding-shape | 2025-11-24 11:58:30+00:00
Not sure what the language has anything to do with it, we've built JavaScript applications within pulling in 100s of NPM packages before NPM was a thing, people and organizations can still do so today, without having to switch language, if they don't want to.

Does it require disciple and a project not run by developers who just learned program? You betcha.
by johannes1234321 | 2025-11-24 11:59:20+00:00
> should never be possible for someone to sign away their rights. If you can sign them away, you can be swindled of them.

So, if I sell you my house or car I can't sign away my rights on it? - Sure, there is a difference between material and intellectual property ...

Against swindling there needs to be protection from fraud, but that exists in most legislative systems.
by eru | 2025-11-24 11:59:43+00:00
> The people who can't/aren't going to pay that some people "don't want" on public transit are always going to not pay and still use it, so why not make it free for everybody?

Why? We are excluding non-paying passengers from planes just fine. Why not busses and trains?

And over in many other parts of the world, they also manage this just fine, too. It's not exactly rocket science.
by fragmede | 2025-11-24 12:00:41+00:00
> Every serious transit city in the world ends up in the same place

If we look to Asia, we see that's not the only way things can work. Hong Kong, Taipei, Singapore, Tokyo, Osaka, are serious transit cities in my book, and their way is to have property development, diversified business models, or operating in extremely dense corridors where demand is high enough to cover costs through fares alone.

But you're right that "just run trains and collect fares" doesn't work and has to be subsidized everywhere else. The question is, how do you account for the subsidies that cars get. The cost to invade Iraq isn't usually accounted for when screaming about how much it costs to fund public transportation out of tax money.
Show HN: Monolith - DIY Datalogger for Formula Student
by luftaquila | 2025-11-24 12:01:17+00:00
I built a DIY wireless datalogging platform called Monolith for Formula Student racing cars.

It is a combination of an open source credit-card sized hardware and a web client software.

The device can read CAN bus traffic, GPS signals, on-board IMU data and digital/analog inputs, and store them on SD card.

It can also wirelessly transmit real-time data, download stored records, and be reconfigured via the MQTT protocol.

All you need is the device, an MQTT broker and the self-hostable web client. (A driver and a car, too!)

The device's internet connection is provided by the Wi-Fi hotspot network of the driver's phone.
by lotsofpulp | 2025-11-24 12:01:36+00:00
I don’t see how this can be true. Reduced copyright terms mean price for old stuff goes down (to however much hosting and bandwidth costs). This means more funds are available for new content.

Currently, people give a ton of money to Comcast/Disney for stuff made decades ago, which in turn gives Comcast/Disney more power, since people are far likelier to stay within those silos.

If friends/seinfeld/whatever could be accessible via multiple sources, then other groups of content creators could emerge, offering $15 to $25 per month of new stuff, rather than compete for a smaller portion of the budget since the old content takes up so much.

The creators of new work don’t earn much from 130 year copyrights anyway, to fund any decent production, they will need outside investors such as Disney or Apple or whoever to make the gamble. In exchange, Disney and Apple are going to want the ability to sell it for 130 years, but few if any new content creators is able to negotiate gross royalties, those days are long gone.

>Also, shorter terms would presumably lead to more consolidation between media companies (as there would be less differentiation via exclusive content)

This is the opposite of what would happen. If everyone can sell the popular reruns and holiday movies, then they stop being exclusive to Disney and Comcast and Warner Bros and so the only thing they can compete with is new stuff, forcing then to invest in new stuff.
by carlosjobim | 2025-11-24 12:02:06+00:00
> Every major maker is decades ahead of the competion in some specific niche.

Apple is ahead in every aspect which matters for consumers. Touchpad, speakers, battery, performance, operating system, display. And those are incredibly important aspects. Not gigabytes of RAM and such things which people here care about. If another manufacturer made a device which would be as good as Apple on any of those points, people would be singing their praise for years.

If any operating system was released which was half as good for general computing (not administering servers and programming), then likewise. It would be considered incredible.

As for gaming, I'll give you that one. It's not Apple's strong point. Never was. Just like enterprise office suites.

> Chinese makers are already on that beat, and that's where we saw the first e-ink smartphones. Computer wise, I'd expect Lenovo to hit the mark first. Now I get that many here won't touch a laptop with Windows on it, but Linux support is also getting decently good.

Yeah, and they are not consumer ready. The display tech is almost there, but the devices mostly suck because manufacturers seem to not be able to understand how to deliver quality in their products. I expect Apple to be the only company to be able to do that, just like with so many other technologies where others were first.
Show HN: I built an LLM powered receptionist for website chats
by teemingdev | 2025-11-24 12:02:13+00:00
I built Receptionst after noticing a pattern across my own projects. Visitors would open the website chat widget, ask a question and leave before I could answer. If it happened during deep work I missed it. If it happened overnight I never saw it at all. It became obvious that I could not respond instantly which meant I was losing leads without realizing it.

I wanted something lightweight that acted like a receptionist by giving instant LLM powered answers based on my own content and by collecting lead details when visitors showed intent. I kept the scope narrow so setup is simple. You connect your site, add the info you want it to know and it starts responding with context from your docs, pricing pages and FAQs.

I am happy to answer questions about the tech choices, the prompting, or the things I would do differently.
by theandrewbailey | 2025-11-24 12:02:43+00:00
Back when this was making the rounds several years ago, I was intrigued that they request pages in the background on mouse-over, then swap on click. I decided to do similar on my blog, since my pages are about a dozen kb of HTML, and I aggressively cache things. My blog now feels super fast to navigate through, since I've eliminated a ton of network lag.

https://theandrewbailey.com/
by FranzFerdiNaN | 2025-11-24 12:03:07+00:00
> I've gotten strong push back for telling people they shouldn't trust Wikipedia and should look at primary sources themselves.

Yeah, but basically nobody is capable of evaluating those sources themselves, outside of very narrow topics.

Reading a wikipedia page about Cicero? Better make sure you can read Latin and Greek, and also have a PhD in Roman history and preferably another one in Classical philosophy, or else you will always be stuck with translations and interpretations of other people. And no, reading a Loeb translation from the 1930's doesnt mean you will fully understand what he wrote, because so much of it all hinges on specific words and what those words meant in the context they were written, and how you should interpret whole passages and how those passages relate to other authors and things that happened when he was alive and all that fun stuff.

And that's just one small subject in one discipline. Now move on to an article about Florence during the Renaissance and oh hey suddenly there are yet another couple of languages you should learn and another PhD to get.
by rafaelcosta | 2025-11-24 12:03:10+00:00
I don't get why this applies on the Cloudflare outage but not on the AWS ones... I'd argue that the big cloud providers are WAY more impactful when they go down than Cloudflare. The only difference is that the average techie uses Cloudflare more and sees the impact more, but this point was already there before...
by senko | 2025-11-24 12:03:11+00:00
> I can't stand Gnome. [...] Nah, no thanks.

Good thing there are many other Linux desktop environments to choose: you already mentioned XFCE, Mate and KDE!

I personally like Gnome, I'm happy with out-of-the-box experience (zero extensions), and I'm glad they don't try to be everything to everyone.
by lioeters | 2025-11-24 12:03:19+00:00
That is a surprising use case about Go and Electron (!), I would have imagined no contest for the superior performance of a compiled language, even with garbage collection. But the mention of "bindings for native UI frameworks", it was probably running the compiled code in a very tight loop, stressing the runtime. In contrast, Chromium specializes in UI with years of optimization.

Recently for a specific purpose I was reviewing options including Tauri, various WebView bindings, and in the end had to admit that Electron is probably the best approach in terms of feature set, development speed, etc.
by OCTAGRAM | 2025-11-24 12:03:47+00:00
It does not behave identically.

I have MultiWAN on OPNsense. My PC IP is always 192.168.0.12. My router decides which upstream it should go. If I go full IPv6, router should derive double IPv6 from both WANs and if main upstream goes down, stop advertising IPv6 from main upstream. Or stop advertising gateway. I don't know what is the right IPv6 way of doing MultiWAN.

Not only PC may change IP, but also servers. Legacy IPv4 DNS can be extended to IPv6, but that mechanical action is not flexible enough. With IPv6 we need to be able to mass replace IPv6 /64 prefix leaving all suffixes intact. We probably need /64 prefix alias system. Software is not prepared for this. In IPv4 SNAT and DNAT were being these "aliases". If NAT is not an option anymore, then DNS must step in.

For many server software it just not possible to listen on multiple IPv6 address. Last time I tried MySQL, it just could not listen on multiple addresses. I could not make it listen on IPv4 and IPv6, specifying two addresses. MySQL server wanted just one address. This address could be [::], which means all interfaces and all protocols. And Linux implements some stupid hack to accept IPv4 connections to IPv6 socket. And Windows Vista also adopted this brainrot. But this is all wrong. Servers have to learn to listen to multiple IPs. This is normal. And for good IPv6 servers should learn to not only listen on multiple IPs, most wanted multiple IPv6, but also rebind listeners on the fly. If I got disconnected from ISP, reconnected by DHCPv6, and ISP assigned another IPv6 prefix, then DynDNS should update all my zones to new /64 prefix, and all servers in my network should rebind listeners.

Or else we may abandon all that TRUE IPv6 philosophy and do SNAT in DNAT in IPv6 just like in IPv4, but with wider address space. But then again, software (another software) is not quite ready for this. Software is expecting public IPv6 address to be just reachable. And private IPv6 address to be just unreachable.
by gen2brain | 2025-11-24 12:04:00+00:00
IUP has custom-drawn controls for tables and cells (additional controls), and it uses another CD (canvas draw) library for that, not internal IUP Draw functions. I also started rewriting that to use the core IUP drawing functions instead. I also added a few more drawing functions, for rounded rectangles, bezier curves, and gradients. But ALL drivers, including Motif, have native table controls, so I really want to add one. Edit: Also, the GLcanvas control now has an EGL driver, with native Wayland support for GTK3, GTK4, and Qt6 (needs private headers). I modernized a bit of everything, added support for APPID, DARKMODE, etc. Linux uses xdg-open rather than hardcoding browsers. Win32 driver is not using the Internet Explorer web control but the WebView2 with custom loader, on GTK, you do not have to worry about the WebKitGTK, it will find the correct library with dlopen, etc, etc. But, there is still a lot to do.
by dizhn | 2025-11-24 12:04:52+00:00
Wireguard Portal is an open source self service capable web interface for Wireguard user and configuration management. It supports creating users automatically from external sources such as LDAP and comes with LDAP, oauth and Passkey authentication for the web interface. No SSO tax.

Wireguard Portal allows creating, enabling and disabling Wireguard users and sessions both manually and via its API. i.e Removing an employee from LDAP would disable that user's Wireguard access almost immediately. (This is the missing bit in many of the similar projects right now)

Github url: https://github.com/h44z/wg-portal
by mschuster91 | 2025-11-24 12:04:56+00:00
> That is true, but the hand-rolled StringUtil won't steal your credentials and infect your machine, which is the problem here.

Yeah, that's why I said that this is the other end of the pendulum.

> In C/C++ world, if it takes less than a couple hours to write, you might as well do it yourself rather than introduce a new dependency.

Oh I'm aware of that. My point still stands - that comes at a serious maintenance cost as well, and I'd also say a safety cost because you're probably not wrapping your homebrew StringUtils with a bunch of sanity checks and asserts, meaning there will be an opportunity for someone looking for a cheap source of exploits.