MurphyA/hacker-news huggingface dataset:
by kllrnohj | 2026-01-08 17:47:14+00:00
The author is clearly aware of `error.Is` as they use it in the snippet they complain about. The problem is Go's errors are not exhaustive, the equivalent to ENOTDIR does not exist. So you can't `errors.Is` it. And while Stat does tell you what specific error type it'll be in the documentation, that error type also doesn't have the error code. Just more strings!

Is this a problem with Go the language or Go the standard library or Go the community as a whole? Hard to say. But if the standard library uses errors badly, it does provide rather compelling evidence that the language design around it wasn't that great.
by junon | 2026-01-08 17:47:28+00:00
I did that, so maybe I'm just missing something but after adding them to the looper and deleting the notes to start a new layer, the old layer doesn't play anymore.

I'd suggest instead of making the loop layers and editors "siblings" ontologically, instead default on app load to have a single layer, then have the option to add more layers and switch between them - add layer then edit, instead of creating a layer and adding it to a list.

I really do like the randomization though, it actually sounded surprisingly nice. Took me a moment to realize what was happening but it's actually a seemingly simple feature that's hard to achieve in full blown DAWs.
by johncolanduoni | 2026-01-08 17:47:31+00:00
I mentioned XNU below. It doesn’t really count as a microkernel if you, you know, don’t actually use the microkernel part. At least for the 30 years between the FreeBSD collision and the introduction of DriverKit, which does most of its IPC through shared memory (because the mach ports are not efficient enough, I would assume).
by skeeter2020 | 2026-01-08 17:47:38+00:00
>> We don't need to explain how they do it

We most certainly do. PE owns pools of rental housing; this is a fundamentally different model from speculation. While both impact the selling price they do it in completely different ways, and if institutional investors own a tiny fraction of the total stock, they're not having a huge impact on the supply side which would potentially drive up prices.

You're supposed "logic" seems comparable to magic.
by pixl97 | 2026-01-08 17:47:43+00:00
>hide for years in application code

Yea, it's pretty common. We had a customer years ago that was having a rare and random application crash under load. Never could figure out where it was from. Quite some time later a batch load interface was added to the app and with the rate things were input with it the crash could be triggered reliably.

It's something else that's added/changed in the application that eventually makes the bug stand out.
by dylan604 | 2026-01-08 17:47:58+00:00
What CRT standard is this meant to be emulating? It can't be NTSC, it's too clean. Red would never display that cleanly. Red was infamous for bleeding as the saturation increased. Never had much experience with True PAL in that I've only ever seen PAL at 60Hz so I'm not sure if had the same bleeding red issue.

It's these kinds of details that cab really set your yet another emulator apart
by randysalami | 2026-01-08 17:48:05+00:00
Here is my tech angle: AI disinfo is already out in full force but the non-techies cannot even conceptualize. This is not some superiority complex but the fact that even navigating the UI of a simple app like Reddit can be daunting for newer users, let alone understanding the level of manipulation that goes on at even the smallest level in these programs (many, multiple full-time smart people on this stuff). I feel that this is one of the few places on the English-speaking internet (public that is) that really understands how far-reaching AI disinfo is and why discussion is important to happen here. Despite as you mention with, maybe some tampering by HN (though I truly believe HN does a good job walking that line) but look at places like Reddit with institutional moves after moves to push towards a low-trust environment that fundamentally fragments the socialsphere and makes people more scared and confused (with botting, algorithms, government oversight, etc. [where is your transparency report now?]). Call a spade a spade.

To add a more personal opinion here which I also think is correct, all of this is intentional and deliberate and I'm sure there are people "in the know" who this is so obvious to but I'm only 25 and I only start wrapping my head around this stuff by the day. The admin clearly shaped conditions for something like this to happen but also create plausible deniability. You take people who aren't properly-vetted, and want this job, you know what will happen. Especially when you do it at scale, for a long enough time, it's an inevitability. What's the reason? Well the most scary thing I've noticed is how it's drawn a line. The other side, they're human and maybe find themselves trapped in a position but the chips are coming down. This is forcing people to take a stand that they might not agree with to remain in their community, their families, and even keep their careers, to take the step themselves of being ok with cold-blooded murder.

All this to say, for the "bad thing" to happen, it doesn't just happen, it needs to be tested and proved and honestly, no one knows exactly how to get there (though we have some historical examples to look at). So the administration is testing, proving, prodding, deliberately to shape things so the conditions for the "bad system" can arise. A bit the breaking the seals in revelation except the seals are our moral composure as a society and the rule of law. This is a big step in that direction of badness and viewing r/conservative on Reddit (very botted), you can see how dire the party line has become. That's my theory at least.
by rocmcd | 2026-01-08 17:48:07+00:00
Yeah, I'm not aware of any regulation preventing new painters/drywallers from entering the market that would drive up costs.

This is a pretty straightforward example of the Baumol effect, where _anything_ bespoke (not manufactured) requiring a human is simply going to cost more. The materials for patching drywall/plaster are tiny, it's the cost of the person that is expensive because overall cost of living is rising. The cost of outsourced labor (which you can leverage when making a TV, but can't for local labor) also probably plays a role.

In fact, I bet you could find someone to fix the drywall/plaster much cheaper than the cost of a TV. You just won't like the quality of the work.
by refulgentis | 2026-01-08 17:48:40+00:00
May I humbly suggest taking a breath or two? It is extremely taxing mentally to select strangers to tell you don’t trust them in an imaginary crisis. (Especially ones on a tech discussion board! Especially just because they noted there were no negative comments and only fawning ones! Especially when you think fawning feels fine in a crisis!)
by smsm42 | 2026-01-08 17:49:08+00:00
IIRC even activating the physical card requires an app, which is of course only existing on iphone. Also, the user agreement specifies you need a device which is ApplePay compatible (i.e., iphone). Also, IIRC the card doesn't actually have a number anywhere, so if you ever need to enter it, you're out of luck. And to use the cashback funds, IIRC you need the app again.
by vunderba | 2026-01-08 17:49:23+00:00
Thanks! My brother is a chemical engineer so he's about the only one who can come close to solving the puzzles. :)

Also really like how the Timeline fades out the elements to filter by year.

Hmmm... I wonder if its a HiDPI scaling thing? I tried the site on a couple browsers (Safari, Chromium) and even on a 4K monitor it only fits Hydrogen to Nitrogen.
Show HN: Serverless online chess (no accounts)
by xFixItNow | 2026-01-08 17:49:44+00:00
I built a “serverless” online chess app and published it on my personal website. It runs mostly client-side and connects players directly over WebRTC (P2P). No accounts, no matchmaking, no backend game server.

The entire UI + chess rules/validation run in the browser (static HTML/CSS/JS). For multiplayer, the host generates a 6-digit room code and shares it. The guest pastes it in and connects. WebRTC signaling is done through a small set of endpoints (create room, store offer/answer, delete room). After signaling, the connection is direct peer-to-peer via SimplePeer.

There's a known limitation where connection doesn't with both players connected to the same network.

Demo: https://www.adriclumma.com/projects/chessOnline/

Code: https://github.com/ALumma/chessOnline

Let me know what you think!
by mindslight | 2026-01-08 17:50:31+00:00
> you are attempting vehicular homicide

No, poor "officer" training and conflicting orders ("move move move") from different gang members does not make for mens rea.

On a meta note, can HN just start banning these troll accounts that shotgun reactionary propaganda to abuse our assumption of good faith? This commenter is all over this thread posting support for an American mother being murdered. Most of them have been flagged but some I guess they're not over "the line" enough.

The goal is obviously to derail the conversation and suck the energy out, and we really need discussion to be moving past these regressive fascist-cheerleading flame-bombs if we want to constructively figure out how to save our country.
by gruez | 2026-01-08 17:50:34+00:00
>Do not use devices that can be trivially tracked through the cell network, or that can be surveilled by big tech. This means a device bought anonymously, a free/libre OS like Graphene

GrapheneOS isn't magically exempt from cell tracking, and both android and ios phones can go into airplane mode and have location disabled, which provides similar privacy.

>and an anonymous SIM paid for with cash or crypto. This should be done by everyone to avoid the possibility of mass surveillance, not only people who have something to hide from a three-letter agency.

No, it's much harder than just "an anonymous SIM paid for with cash or crypto". You need to practice proper opsec. There's no point getting an anonymous sim when you then turn around and then use it as a 2fa number for your bank, or carry it around with you every day.
by afro88 | 2026-01-08 17:50:55+00:00
This may sound backwards, but gemini 3 flash is quite good when given very specific tasks. It's very fast (much faster than Opus and GPT-5.2), follows instructions very well and spits out working code (in contrast to other flash, haiku etc fast models).

It does need a solid test suite to keep it in check. But you can move very fast if you have well defined small tasks to give it. I have a PRD then breakdown epics, stories and finally the tasks with Pro first. Works very well.
by roadside_picnic | 2026-01-08 17:51:06+00:00
> One might as well say that neural networks trained with gradient descent are a reinvention of numerical methods for function approximation.

I don't know anyone who would disagree with that statement, and this is the standard framing I've encountered in nearly all neural network literature and courses. If you read any of the classic gradient based papers they fundamentally assume this position. Just take a quick read of "A Theoretical Framework for Back-Propagation (LeCun, 1988)" [0], here's a quote from the abstract:

> We present a mathematical framework for studying back-propagation based on the Lagrangian formalism. In this framework, inspired by optimal control theory, back-propagation is formulated as an optimization problem with nonlinear constraints.

There's no way you can read that a not recognize that you're reading a paper on numerical methods for function approximation.

The issue is that Vaswani, et al never mentions this relationship.

0. http://yann.lecun.com/exdb/publis/pdf/lecun-88.pdf
by genewitch | 2026-01-08 17:51:25+00:00
vitamin D? unless you live within 10 degrees of the equator "the sun" is not a valid answer.

The most available form of vitamin D comes from extracting the oil from sheep's wool/skin using chemicals (soap is a chemical, for the record.) Yes, it is possible to get a much weaker form of D from mushrooms, but not as they arrive, regardless of packaging. they have to be left outside in the sun for at least 8 hours, but ideally "two full days in the sun", cap-side up (facing the sun), and then a standard mushroom will have enough D2 for the average adult, maybe. I don't know the specific conversion from D2 to calciferol or whatever.

And before anyone decides to cite 30ng/ml or whatever as "recommended", i disagree, 90-105ng/ml is more "ideal" and 500IU of vitamin D supplements aren't going to cut it. it's 1 IU per 10 grams of body mass (roughly).

i can do this all day, it's a waste of both of our time. As lovely as vegetarian/veganism is in the abstract, the entire planet cannot be vegan any more than the entire planet can subsist off insects.
by rdtsc | 2026-01-08 17:51:59+00:00
> You can mine a lot of intelligence from public data. And his approach of doing some kind of scenario modelling on top of the open data actually is interesting.

That’s sort of how it happens in the intelligence world. A bunch of analysts can look at open source data - news snippets, public data sets etc, but once they analyze it and distill to some conclusions it may become sensitive or classified.
by steele | 2026-01-08 17:52:03+00:00
Everytime there a post containing a whiff of negative sentiment related to the 2024-2028 US administration, a wave of elective sociopaths swoop in to flag posts and derail discussion. Even if they understand the merit of the material, they will bemoan the political aspect. Even if they agree with the sentiment, there is absolutely an audience that prefers to ignore any sense of personal responsibility or culpability, however small, to the environment today-- and choose to attempt to stifle discussion broadly instead of politely allowing others to meaningfully engage with it. I believe this activity boils down: 1) agenda or 2) stubbornly evading shame/guilt
by tooilln | 2026-01-08 17:52:13+00:00
First off, while the headline numbers are slightly clickbaity, they are true. There are obviously other areas where JGraphT performs much more reasonably (Guava Graphs less so), so I don't want to throw them under the bus too much!

Like a lot of you guys I'm sure, I occasionally like to mess around with various graph algorithms and projects in my spare time, and recently I was implementing and playing around with some force directed layout algorithms for the Nth time when I got really frustrated with existing JVM graph library performance. I'm clearly not the first person to notice this - there are many graph library projects on github, but I didn't find any that seemed designed for general use. Obviously JNI is always an option if you really want, but I firmly believe that performance is not something you should be required to give up simply by running on JVM, and it's a little ridiculous that the existing major graph Java libraries show little concern for performance (though they have other advantages).

I suspect this will mostly be useful to hobbyists like myself since I don't think anyone is doing too much serious graph work on JVM (that seems to be mostly Python which has some great libraries).
by loeg | 2026-01-08 17:52:41+00:00
> Dietary cholesterol has little to zero impact on blood cholesterol

The "well, actually" point on this is that dietary saturated fat drives blood cholesterol levels more strongly than dietary cholesterol. But it is not true that dietary cholesterol has "zero impact," and it is not true that "saturated fat we don't have reliable data that points to it being harmful." High-cholesterol foods are typically high in saturated fat, so these things are kind of intertwined.
by filoleg | 2026-01-08 17:52:44+00:00
>"[...] fabric's work by utilizing the principles of a Faraday cage to block or shield against electrical signals, electromagnetic radiation (EMR), and radio frequency interference (RFI)."

But what's the point of bringing a phone at this point?

Other comments mentioned valid points about tradeoffs of using an offline camera vs. a phone, with pro-phone arguments listing things like "being able to livestream and get the evidence out even if the device is damaged/destroyed" and "messaging/coordinating/comms". The anti-phone/pro-camera side also had good points, saying that those things also make it easier to track/identify you. The choice between those two options is definitely not clear-cut, and it is all about individual tradeoffs and risk assessment.

But if you are rocking something that's essentially a wearable Faraday cage that block all signals (I am just assuming it works exactly as stated, without attempting to judge its efficacy), what's the point of bringing (an essentially fully offline) phone in the first place, as opposed to bringing a camera with zero connectivity?
by shermantanktop | 2026-01-08 17:52:59+00:00
I don't buy the 'both sides' POV except in the longest historical view. Right now it's just not true.

One team is a feckless collection of timid hesitators who is trying to defend a social welfare policy from 70 years ago, and the other team believes their volatile leader is infallible and will direct revenge at whatever they are pointed to by the latest 3am tweet.

It's just not the same.
by GaryBluto | 2026-01-08 17:53:35+00:00
The current Republican government is frankly almost identical to past Democratic ones, it's just that the Republicans lack tact and the competence to cover things up. And no, they're not using the police for the purpose of murdering citizens.

> Only one side

If you're going to use that tired old trope, maybe Reddit is a more suitable place for you. Thanks for reminding me to add it to my blocklist though.
by lastofthemojito | 2026-01-08 17:53:37+00:00
Oh man I misunderstood that headline at first. I thought it was along the lines of "Waymo will start offering long-distance autonomous roadtrips across the US" but it's really "Waymo is still geoboxed in a handful of cities but is adding a second model of car to its fleet".

I've taken a handful of sightseeing roadtrips in the US where the pattern tends to be hike/sightsee during the day, then hop in the car in the evening and drive for a few hours to get close to tomorrow's destination. It'd be great to be able to do that, except outsource the driving (and skip the hotel) by sleeping through the drive. Similar to night train travel in Europe.
by patmorgan23 | 2026-01-08 17:53:59+00:00
Respectfully your comment sounds like paranoid thinking.

The section of the article pointing out the AS prepending makes it really clear the route leak is a nothing Burger.

It's incredibly unlikely this leak change how any traffic was flowing, and is more indicative of a network operator with an understaffed/underskilled team. Furry evidence is that a similar leak has been appearing on and off for several weeks.

That's not to say the US government can't, doesn't or didn't use the Internet to spy, it's just that this isn't evidence of it.

Relevant section below:
> Many of the leaked routes were also heavily prepended with AS8048, meaning it would have been potentially less attractive for routing when received by other networks. Prepending is the padding of an AS more than one time in an outbound advertisement by a customer or peer, to attempt to switch traffic away from a particular circuit to another. For example, many of the paths during the leak by AS8048 looked like this: “52320,8048,8048,8048,8048,8048,8048,8048,8048,8048,23520,1299,269832,21980”.

> You can see that AS8048 has sent their AS multiple times in an advertisement to AS52320, because by means of BGP loop prevention the path would never actually travel in and out of AS8048 multiple times in a row. A non-prepended path would look like this: “52320,8048,23520,1299,269832,21980”.

> If AS8048 was intentionally trying to become a man-in-the-middle (MITM) for traffic, why would they make the BGP advertisement less attractive instead of more attractive? Also, why leak prefixes to try and MITM traffic when you’re already a provider for the downstream AS anyway? That wouldn’t make much sense.
by foobarian | 2026-01-08 17:54:14+00:00
The peak torque at 0rpm is a nice feature for city traffic low-key drag racing. I think if you really wanted to have a chance to troll an EV owner you'd have to incite them to race you on a highway with conditions that cause frequent speed changes in the 50-100mph range. But tbh even they you'd have a hard time. Maybe if you kept that up until they ran down the battery?
by johncolanduoni | 2026-01-08 17:54:32+00:00
A warning doesn’t help at all. The main threat model for FDE is that someone steals your device and dumps the disk. If you don’t protect the boot process somehow, then you’re just storing the encryption key next to the data.

If you don’t care about that (which is not “military level security”, laptop thieves stealing creds is a thing), just don’t use FDE or use it with an on-boot password every time. No point in the theater.
by nradov | 2026-01-08 17:54:35+00:00
Well now you're talking about a different problem and moving the goalposts. It would be impossible for every other problem to stay the same under a single-payer system. That would solve some existing problems and create other new problems. In particular the need to hold down government budgets would necessarily force increased care rationing and longer queues. Whether that would be a net positive or negative is a complex question with no clear answers.

The statistics you see about bankruptcy due to medical debt are highly misleading. While it is a problem, very few consumers are directly forced into bankruptcy by medical expenses. What tends to happen is that serious medical problems leave them unable to work and then with no income and then with no income all of their debts pile up. What we really need there is a better disability welfare system to keep consumers afloat.
by nickjj | 2026-01-08 17:54:40+00:00
I think it's both but I think the end result is less traffic means less sales.

I don't have paid ads, everything has been organic with the blog being the main funnel into everything. For quite a few years I tried creating a podcast and also have 5+ years of weekly YouTube videos but the traffic back to the courses from those are close to nothing.

Conversion percent rates haven't changed, they have remained consistent.

My figures almost track perfectly with StackOverflow's chart: https://i.sstatic.net/IY0g8JZW.png
by johnnyanmac | 2026-01-08 17:54:43+00:00
>had he charged for recurring licenses, would fewer people have signed up? would his subscriptions also be drawing down?

History says yes, and no. Much easier to retain periodic payment on a few engaged businesses than to continually look for people willing to make a one time payment. Especially in professional software.

The premium model just doesn't work unless you stay very lean. Workers need to be continually paid, even if you make your entire audience happy once.
Show HN: Catnip – Run Claude Code from Your iPhone Using GitHub Codespaces
by vanpelt | 2026-01-08 17:55:10+00:00
Hi HN — I built Catnip, an open-source iOS app that lets you run Claude Code against a real development environment from your phone.

Under the hood it spins up a GitHub Codespace, installs Claude Code, and connects the iOS client to it securely. You can use a full terminal when needed, or a lightweight native UI for monitoring and interaction.

I built this because Claude Code is most useful when it has access to a persistent environment with plugins, tools, and real repos — and I wanted that flexibility away from my laptop.

GitHub gives personal users 120 free Codespaces hours/month, and Catnip automatically shuts down inactive instances.

Open source: https://github.com/wandb/catnip
App Store: https://apps.apple.com/us/app/w-b-catnip/id6755161660

Happy to answer questions or hear feedback.