MurphyA/hacker-news huggingface dataset:
by weitendorf | 2026-01-08 17:38:23+00:00
Disagree. Enums are named for being enumerable which is not the same thing as simply having an equivalent number.

It’s incredibly useful to be able to easily iterate over all possible values of a type at runtime or otherwise handle enum types as if they are their enum value and not just a leaky wrapper around an int.

If you let an enum be any old number or make the user implement that themselves, they also have to implement the enumeration of those numbers and any optimizations that you can unlock by explicitly knowing ahead of time what all possible values of a type are and how to quickly enumerate them.

What’s a better representation: letting an enum with two values be “1245927” or “0” or maybe even a float or a string whatever the programmer wants? Or, should they be 0 and 1 or directly compiled into the program on a way that allows the programmer to only ever need to think about the enum values and not the implementation?

IMO the first approach completely defeats the purpose of an enum. It’s supposed to be a union type, not a static set of values of any type. If I want the enum to be tagged or serializable to a string that should be implemented on top of the actual enumerable type.

They’re not mutually exclusive at all, it’s just that making enums “just tags” forces you to think about their internals even if you don’t need to serialize them and doesn’t give you enumerability, so why would I even use those enums at all when a string does the same thing with less jank?
by sethammons | 2026-01-08 17:39:08+00:00
I think some pythonistas maybe got their feeling hurt by your comment causing it to grey out.

Over the last 25 years in the SaaS world, I have never seen python evolve into a system that is easy to reason about and debug. It lets you do too many things. In over 30 cases, I have seen teams deliver better software faster in Go after replacing their Python.
by skirmish | 2026-01-08 17:39:09+00:00
You may be calling it "quark" then? From a quick search:

"The two most common translations of tvorog are cottage cheese (common in the US) and quark (common in Germany). The process of making these different cheeses is quite similar: you take fermented, acidized or sour milk, and separate the curds from the whey. For cottage cheese, cream is added to the curds before they’re packaged, and for quark, the curds are not overly dried so the curds come out quite soft and creamy. Tvorog, on the other hand, is most often packaged as dry grainy pieces of curd."
by minimaxir | 2026-01-08 17:39:36+00:00
That is a fair counterpoint, but if that were the case, there would always be more context accessible, e.g. the agent could do a `df.head()` to get an overview of the data and columns (which would indicate financial indices) or there would be code after that which would give strong signal that the intent is financial indices and not the DataFrame index.

This is why vague examples in blog posts aren't great.
by ericmcer | 2026-01-08 17:39:36+00:00
But... A lot of stuff you rely on now was probably once distracting and unpredictable. There are a ton of subtle UX behaviors a modern computer is doing that you don't notice, but if they all disappeared and you had to use windows 95 for a week you would miss.

That is more what I am advocating for, subtle background UX improvements based on an LLMs ability to interpret a users intent. We had limited abilities to look at an applications state and try to determine a users intent, but it is easier to do that with an LLM. Yeah like you point out some users don't want you to try and predict their intent, but if you can do it accurately a high percentage of the time it is "magic".
by DannyBee | 2026-01-08 17:39:53+00:00
Taking words out of sentences and trying to define them piece by piece rarely makes sense.
For example, you forgot the "intended to" part.

Especially taking terms about a military operation and appling regular dictionary definitions to them makes little to no sense.

For example, in the legal and contract realm, something like establishing control means simply having authority over something, even temporarily. IE statements of the intent to run venezuela would suffice, even without any land control, ability to do so, etc.

In practice - a court is going to give it a fairly broad reading consistent with an everyday person's understanding, since that is who is betting. They will additionally rely on public statements about intent, etc.
This assumes nobody can get enough information about the actual operational plans.

So if the court wanted to interpret "establish control" (which, again, it would not do separately from the other words, but let's say they did), it would do something like the following:

1. Is it defined in the contract? Yes - contract definition controls

2. Is it consistently used in context? Yes - context control

3. Is it a term of art in the field? Yes - definition of
term of art controls

4. Is it still ambiguous? Yes - evidence about what it means gets presented by both sides

Part 4 is where you'd present a dictionary definition.

In any case, there is no point in having this argument, as polymarket's TOS almost certainly allows them to do what they want, and nobody is going to care what random internet commentators who suddenly have turned themselves into full blown lawyers, think :)
by newfriend | 2026-01-08 17:40:49+00:00
Are you saying there aren't millions of illegal aliens in the US? Time for a reality check.

>The number of unauthorized immigrants in the United States reached an all-time high of 14 million in 2023

https://www.pewresearch.org/race-and-ethnicity/2025/08/21/u-...

There are millions living in California alone.
by Analemma_ | 2026-01-08 17:40:58+00:00
To me the torque is more important than the horsepower: one nice thing about Waymo is that they're quite good at gentle, constant acceleration up San Francisco's steep hills. Human Uber drivers have a 50/50 chance of making me carsick when they try this, out of some combination of inexperience and driving a car without enough low-end torque.
by lagniappe | 2026-01-08 17:41:09+00:00
I would not agree with that assertion. Just off the top of my head, being familiar with both:

- context

- net/http as a full server framework, not just a request library

- net/http/pprof

- runtime/pprof

- runtime/trace

- embed

- testing as the canonical, required test framework

- net/rpc

- net/http/cgi

- net/http/fcgi

- net/http/httptest

- os/signal with integrated channel-based delivery

- sync/atomic with language-aligned memory model semantics

- runtime as a documented and supported API surface
by chubot | 2026-01-08 17:41:19+00:00
Side note: I used this query to test LLM recall: Do jeff dean and russ cox know each other?

Interesting results:

1. Gemini pointed me back at MY OWN comment, above, an hour after I wrote it. So Google is crawling the web FAST. It also pointed to: https://learning.acm.org/bytecast/ep78-russ-cox

This matches my recent experience -- Gemini is enhanced for many use cases by superior recall

2. Claude also knows this, pointing to pages like: https://usesthis.com/interviews/jeff.dean/ - https://goodlisten.co/clip/the-unlikely-friendship-that-shap... (never seen this)

3. ChatGPT did the worst. It said

... they have likely crossed paths professionally given their roles at Google and other tech circles. ...

While I can't confirm if they know each other personally or have worked directly together on projects, they both would have had substantial overlap in their careers at Google.

(edit: I should add I pay for Claude but not Gemini or ChatGPT; this was not a very scientific test)
by nonameiguess | 2026-01-08 17:41:24+00:00
This particular design more or less can't tell us whether fame in and of itself is a risk factor. We'd need to look at a cross-section of professions, not just musicians. Do marquee leading actors die younger than character actors? Do national politicians die younger than local? Do best-selling authors die younger than struggling authors who publish but never sell anything? Do professional athletes in popular sports die younger than athletes in less popular sports?

Mechanistically, it seems pretty obvious that fame can't cause a physical health outcome. I think the authors know this and they mention that it isn't really fame per se; it's the anxiety caused by public scrutiny and high expectations, often coped with by using illegal drugs to self-medicate.

That isn't a worthless finding, but what are we supposed to take from this? I would imagine drug-using hard-partying rock stars know their lifestyle in unhealthy and dangerous, just as I am fairly certain you'd be able to produce a retrospective study showing wingsuit divers die younger than big wall rock climbers, and big wall rock climbers die younger than trail runners. Anyone doing these things knows the risk and does it anyway. It seems the effect they found is famous musicians die 4.6 years younger on average than comparable unknown musicians. If you told me I could be a rock star but I'd die at 81 instead of 85, I think I'm probably taking that. Of course, we know it doesn't actually work that way, more that a few die in their 20s, far more in their 40s and 50s, and anyone making it past that is probably dying about the same time as anyone else, but whatever the risk is, if that's the life you want, so be it.
by skeeter2020 | 2026-01-08 17:41:31+00:00
if we start with reasonable but definitely vague numbers that suggest 2M houses are for sale and institutional investors own 500k of the total stock, it suggests this is NOT true; it's unlikely they own all their houses in the same geo market and they're all for sale at the same time. This doesn't mesh with a business strategy (diversification) or the typical model (they rent houses; they don't flip them).
by falloutx | 2026-01-08 17:41:44+00:00
You dont need synthetic data, people are posting vibe coded projects on the github every day and they are being added to next model's training set. I expect in like 4-5 years, humans would just not be able to do things that are not in the training set. Anything novel or fun will be locked down to creative agencies and few holdouts who managed to survive.
by embedding-shape | 2026-01-08 17:42:08+00:00
Basically: if it has a modem in it, it can be used against you in some way. Phones, routers, cars, public signs, cameras.

It's been so turbulent lately, that it's hard to register events that would have blown our minds if so many things didn't also happen around the same time. Remember when Israel made a bunch of pagers explode indiscriminately across Lebanon and Syria? So many things going on, one worse than the other, that it is hard to stop and really consider the implication of these single events fully.
by AnimalMuppet | 2026-01-08 17:42:26+00:00
I'm not sure I understand your argument. You're saying that you can't really use enums for field numbers. And let's say that you're absolutely correct about that.

It still seems to me that you're addressing a completely separate issue from having a specific field that is an enum - not an enum of a field number, but an enum of something else, like encryption algorithm or SHA type or something.

Am I missing your point?
by ActorNightly | 2026-01-08 17:42:36+00:00
I dunno what issues you are running into, but generally, code from old Python should work fine under new releases if you are developing, you just have to set up your venv right up front and install the specific version of libraries that don't have modern Python code.

I still work on projects that were written under 3.6.

If you care enough, you can also use something like asdf to install an older Python alongside the system one.
by ACS_Solver | 2026-01-08 17:42:58+00:00
Thanks, I'll see about an on-page zoom. On my 1440p the whole table fits even with the side drawer open and with my webdev inexperience I didn't even think about zoom controls other than the browser's being an option.

I love your slide puzzle too. Very cool with different hint levels, where you can have just the element symbol or the full name as well. Surely trivial for chemists but not so for me.
by moshegramovsky | 2026-01-08 17:43:09+00:00
> If you ask people (who are not doctors) to remember this time they will likely tell you this is what they remember. I also do have tons of anecdotal accounts of doctors saying the Covid 19 vaccine is safe and you can find many yourself by searching. Here’s one: https://fb.watch/Evzwfkc6Mp/?mibextid=wwXIfr

> No it’s not false. Most of the writing on human medical stuff is scientific in nature. Formalized with experimental trials which is the strongest form of truth humanity has both practically and theoretically. This “medical science” is even more accurate than other black box sciences like psychology as clinical trials have ultra high thresholds and even test for causality (in contrast to much of science only covers correlation and assumes causality through probabilistic reasoning)

Sorry, but these kinds of remarks wreck your credibility and make it impossible for me to take you seriously.
by drnick1 | 2026-01-08 17:43:20+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, no Google/Facebook/Apple spyware apps, 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. If you really have something to hide, then the cellular network shouldn't be used at all.
by giancarlostoro | 2026-01-08 17:43:32+00:00
Stuxnet v2? Speculation I know, but wow, IPv4 came back up, but IPv6 is completely out, looks like 48 million devices? Compared to IPv4's 47 thousand (wow that's insane).

Looking at IPv6 its not 0 exactly, looks like probably censorship, only some devices allowed online? Some other comment mentioned there's calls to protest again today.
by moogly | 2026-01-08 17:44:03+00:00
It's been building for a long time; it's not recent per se, just accelerated.

2025 showed that you can't just go "ok, it's over now, we'll go back to business as usual" (like I know the limp-wristed Dems will want to do) or it'll repeat after every other election until it's successful. You just cannot have this many people constantly being convinced they live in this alternate reality for much longer without civilization collapse.

But I think it's gone too far and we're witnessing the fall of the empire in real-time. I'm just hoping that fall won't screw up the rest of the world too much, but I'm pretty sure it will.
by gruez | 2026-01-08 17:44:11+00:00
Is there any evidence that "NSA can turn on your phone even if they're off" or "location toggles on phones don't actually do anything" conspiracy theories are true? Even if the NSA has such capabilities, is there any reason to believe that they'll burn it to go after some ICE protester? That's the type of stuff you'd save so you can use it to go after bin laden, not burn on some run of the mill protester.
by dominick-cc | 2026-01-08 17:44:34+00:00
From https://www.bose.com/soundtouch-end-of-life:

> Open-source options for the community

> We’re making our technical specifications available so that independent developers can create their own SoundTouch-compatible tools and features. The documentation is available here: SoundTouch API Documentation (https://assets.bosecreative.com/m/496577402d128874/original/...).

AFAIK, the soundtouch web API was already accessible via some bose developer portal. It doesn't seem like they are open sourcing anything. This API just allows you to make basic requests to do things like change volume on the speaker.

To support the smart features of the SoundTouch speakers, we would the soundtouch user management service. Speakers connect to this very frequently and its where refresh tokens for music services and presets are stored. The speaker firmware itself has lots of source code, including the bit to handle music services and playback. There is an abstraction layer for music service APIs. There is a process on the speaker that reaches out to a music service registry, which is an index of bose music service adapters. Each of these adapters essentially proxies a music service like tunein, spotify, and even the "stream a custom station" feature.

If bose open-sourced the speaker firmware, we could make a firmware build which talks to a 3rd party user management service, and reaches out to a 3rd party music service registry. Then we could add and maintain music service playback for the community. But there is no open sourcing of any actual code here and this soundtouch web api cannot change the URLs on the existing firmware of the user management service or the music service registry.

So to my eye this story seems misleading and just some PR nonsense. It's a little frustrating reading all of the "great job, Bose!" comments here like anything was actually done... Disclaimer: I used to work at Bose.
by everdrive | 2026-01-08 17:44:34+00:00
People have allowed themselves to become so dependent on mobile phones that I'm frankly disgusted. You're talking about a scenario where you're worried about being illegally arrested by the secret police -- aided by their tracking of your phone, but it's still not enough to consider using your phone less. It's no different that a rat starving to death but continuing to push the lever for the cocaine hit.

[edit]

Vote me down all you want. If a bulletin went out that said "we're going to use your phone to steal your children and torture them" you'd have people saying "but, but .. how am I going to do my banking and check my messages." It's the height of absurdity.
Show HN: TierHive – Hourly-billed NAT VPS with private /24 subnets
by backtogeek | 2026-01-08 17:44:47+00:00
This idea has been floating in my head for about 10 years. Some of you might remember LowEndSpirit.com back before it became a forum, I started that. I've been obsessed with making tiny, cheap VPS actually useful ever since.

TierHive is my attempt to make 128MB VPS great again :)

It's a NAT VPS (KVM) platform with true hourly billing. Spin up a server, use it for 3 hours, delete it, pay for 3 hours. No monthly commitments, no minimums beyond a $5 top-up.

The tradeoff is NAT (no dedicated IPv4), but I've tried to make that less painful:

- Every account gets a /24 private subnet with full DHCP management.
- Every server gets auto ssh port forwarding and a few TCP/UDP ports
- Built-in HAProxy with Let's Encrypt SSL, load balancing, and auto-failover
- WireGuard mesh between locations (Canada, Germany, UK currently)
- PXE/iPXE boot support for custom installs
- Email relay with DKIM/SPF
- Recipe system for one-click deploys

Still in alpha. Small team, rough edges, but I've been running my own stuff on it for months.
Would love feedback — especially on whether the NAT tradeoff kills it for your use cases, or what's missing. (IPv6 is coming)
https://tierhive.com
by eulers_secret | 2026-01-08 17:45:10+00:00
The new model Y AWD non-performance does 0-60 in 4.6 seconds! The performance version is ~3.3; Ioniq 5 AWD is 4.6 and the N is 2.9 (!!!). For comparison the latest Corvette does 0-60 in 2.9 and the Z06 in 2.6.

These cars are insanely, incredibly fast. My G70 (gasoline, ~370 HP) does the jaunt in 4.5. That used to be considered a fast car, now it's just average (though the warranty is almost over, and I'll be modifying it to ~450HP).

TBH, electric cars 100% broke auto enthusiast circles. When a highly modified, very fast car just gets stomped by an electric car hauling a family of 4 it smashed that world to pieces. Especially in the early days, when EV enthusiasts were mostly Tesla techbro fanboys - who didn't really mix well with the oil, grease, gasoline, and DIY culture that was there before.

Interesting times for sure.
by hedgehog | 2026-01-08 17:45:11+00:00
I've followed the research a little bit. The general sense I get is that, specifically vehicle control at the edge of traction, software in the lab has far outperformed normal humans for over a decade. The problem is that delivering the "boring" point A to B reliably in all conditions is still unsolved. Relative safety is also a moving target because all the advances in the first bucket are directly applicable to human-driven cars as driver aids.
by TSiege | 2026-01-08 17:45:54+00:00
Extreme Codesign Across NVIDIA Vera CPU, Rubin GPU, NVLink 6 Switch, ConnectX-9 SuperNIC, BlueField-4 DPU and Spectrum-6 Ethernet Switch Slashes Training Time and Inference Token Generation Cost

Technical details available here https://developer.nvidia.com/blog/inside-the-nvidia-rubin-pl...
by overtone1000 | 2026-01-08 17:46:36+00:00
Comparing this site to Veritasium seems unfair to me. I don't see any evidence that this site generates direct revenue. I also think it's an excellent exercise in pedagogy. The best professors and brightest colleagues I remember from college - or, since you said "maths" I guess I should say "university" ;) - demonstrated extreme facility with the physical concepts and regarded their mathematical representations only as a useful tool to characterize them and communicate about them, not an end to themselves.

Maybe this is just personal preference. I knew capable students who were wrote and prescriptive in their approach to the courses, but I was closer to those who played in the conceptual end of the pool.

I once made a resource like this site for my own educational benefit when I was grappling with MR physics. You're right - I had to do the math(s)! - and came away with a much clearer understanding of the subject. Still, I received lots of correspondence from students and professors who found the visual aid helpful on their journey.
by benrazdev | 2026-01-08 17:46:46+00:00
>> difficulty of writing if err != nil
>Literally the simplest way to deal with errors (cognitively and character wise). Since AI autocomplete entered the scene, typing this repetitive (for a reason) pattern became not a problem at all (I'm not even talking about post Claude Code era)

I agree with you. I don't have problems with the `if err!=nil` syntax.

From my post:
> It’s become something of a meme to bemoan the supposed difficulty of writing if err != nil. I actually won’t make that point because I think it is a very surface level point that has been talked about to death and *I don’t think the ‘verbosity’ of this code snippet is such an issue.*

I apologize if my language was ambiguous on whether or whether not I had a problem with that syntax.

>In his example author could easily use his `progError` type instead.

I agree, but it was my impression that type erasure was more idiomatic. I should have made it clear that I was criticizing that idiom, not the language.

>Well, no. See for wrap/unwrap functionality https://go.dev/blog/go1.13-errors

You are right. I should have done my research on that before writing that point. I still think that downcasting isn't the most elegant solution because it defeats the point of using the opaque return type but I agree that it is nowhere near as much of a problem as I thought it was.
by jdefr89 | 2026-01-08 17:47:03+00:00
They don't seem to understand Go much at all. Comparisons to Rust are somewhat misplaced but that's a different topic... Back to errors. Errors are interface values. They are simple yet powerful. You can create sentinel errors that can be wrapped or just passed to be checked then discarded. Go has all the functionality it needs to provide what ever it is Rust cult members believe makes Rust error handling so great. You can use the primitive constructs Go provides to do nearly the same damn things Rust can do and it won't look like a pile of hieroglyphs your local crackhead would draw. Best of all... Its simple and the syntax of Go (veering off topic) doesn't make me want to jump off a bridge. Stop gaslighting yourselves into thinking Rust syntax is reasonable and that its some perfectly proven language with all edge cases put to rest..