MurphyA/hacker-news huggingface dataset:
by monkeyelite | 2025-09-21 22:27:58+00:00
I am aware but without a spec we don’t know which is which. You can’t say it has no undefined behavior because what happens is you try to specify it and find gaps or challenges.

In C undefined is used primarily when there is not a reliable and efficient mechanism for detecting a problem is happening. For example a C implementation may check every single invalid pointer deref, but more realistically it only detects only extreme out of range. So it’s undefined what happens.
by Brian_K_White | 2025-09-21 22:28:30+00:00
Incorrect assumption.

If you are reading data from a file or stream that only you yourself wrote some other time, then it's true that data could possibly have been corrupted or something, but it's not true that it's automatically worth worrying about enough to justify making the code and thus it's bug surface larger.

How likely is the problem, how bad are the consequences if the problem happens, how many edge cases could possibly exist, how much code does it take to handle them all? None of these are questions you or anyone else can say about anyone else's project ahead of time.

If the full featured parser is too big, then the line drawing the scope of the lightweight parser has to go somewhere, and so of course there will be things on the other side of that line no matter where it is except all the way back at full-featured-parser.

"just this one little check" is not automatially reasonable, because that check isn't automatically more impoprtant than any other, and they are all "just one little checks"s. The one little check would perevent what? Maybe a problem that never happens or doesn't hurt when it does happen. A value might be misinerpreted? So what? Let it. Maybe it makes more sense to handle that in the application code the one place it might matter. If it will matter so much, then maybe the application needs the full fat library.
by manquer | 2025-09-21 22:28:46+00:00
Having a enforced max length on any route especially those with commuter service is not a bad idea, it is the tendency of freight to scale up the number of cars as much as possible for efficiency, passenger services work better shorter with more frequent services.

Yes there are myriad other reasons Amtrak gets delayed, it is not like this is the only bottleneck they have, but that doesn't mean this is not also a key problem.
by hamdingers | 2025-09-21 22:29:05+00:00
Cross country rail journeys will always be the domain of weirdo railfans (I say, having ridden many of them many times). Flying is just too economical past the first few hundred miles.

However, we live along the Surfliner route, and for weekend trips it's fantastic. It's a 1-3 hour penalty versus driving depending on which city we're going to, but the kids vastly prefer it because they're not strapped in and we can all interact.
by brunooliv | 2025-09-21 22:29:42+00:00
I’ve been reading the comments here… idk which companies you all work at, but, at least in all places I’ve worked you’ll have 2/3 people who are REALLY GOOD. Then you’ll have like 3/4 people who can sort of “trail” after those. And then there’s “the rest”. I’ve seen “the rest” making informed and “well planned” decisions that are just terrible approaches to a given problem. An LLM can actually be a net positive versus this rest.
by noone_youknow | 2025-09-21 22:30:08+00:00
Nice work! Looks like most of the basics are covered, and meanwhile in my current kernel the RISC-V entrypoint is >700 lines (of C) just to get to the arch-independent entrypoint!

I was just looking around for your input/output code, I don’t know zig but I expected to find putChar in kernel.zig based on the import in common.zig, but I don’t see it, should I be looking somewhere else? I didn’t see any simple command line processing either as mentioned in the README?

Mostly just looking around since your README mentioned VGA (and you seem to have a BIOS boot) which struck me as interesting on a RISC-V project, I was curious if you were actually using the SBI routines or had actually mapped in a VGA text mode buffer?
by casta | 2025-09-21 22:30:43+00:00
Interesting. To provide a different experience, I live in NYC with kids and I find it great here. Daycare/Kindergarten is at most 4 blocks away, grocery stores are less than a block away, it takes me 10 minutes to get to the office on the train (1/2/3). I still bike to the office often. If we need a car there is a rental less than a block away, but in practice we rent maybe once a year. Today there was an open street on Columbus Ave and it was lovely to meet co-workers with their kids and let them play there. To be fair, I wasn't born here even if I'm a citizen, so I guess I wouldn't be considered "American".
by pvtmert | 2025-09-21 22:30:47+00:00
i guess that is why you need to keep pressing the button (also battery conserving too)

the guy mentions cutting self occurs mostly due to excessive force applied by the (amateur/inexperienced) user and i kind of agree.

other part is that the inattentiveness and distraction, maybe trying to be fast... although if i were able to cut through (pun intended) things that easily, i would be steadier hand...
by DrewADesign | 2025-09-21 22:30:48+00:00
From what people in the industry have told me, freight train management is no less scummy than any other kind of freight transportation management, and they continually make trains longer and longer despite nearly everyone’s objections. Some are miles long so there’s no way engineers can see the front of the train even with a gentle curve, and they’re taking hazardous cargo through populated areas.

I’d take Amtrak’s word on it.
by hoangvu12 | 2025-09-21 22:30:52+00:00
I built Vexly after discovering I was wasting $200/month on forgotten subscriptions. That free trial from 2023? Still charging me. The gym I haven't visited since January? Yep, that too.

What makes Vexly different:

You get alerts 7 days before renewals so you can actually cancel in time. No bank connections needed, just pure privacy-first tracking.

Most people find 3-5 forgotten subscriptions in their first minute using Vexly. Our beta testers saved an average of $540 in year one.
by rglullis | 2025-09-21 22:32:06+00:00
Way to miss the point, or are you trying to strawman the discussion?

The argument is intra-municipalities, not intra-country. The argument is that people that live in the suburbs of a city end up costing more and paying less than the city-center counterparts. The richer people in the city do not pay proportionally to the cost they incur in the city's expenses, but when push comes to shove it's the poor people who are left with poor infrastructure, unmaintained roads, etc.

(As for the discussion regarding Berlin getting subsidies from the south: I can not argue there, but I am pretty sure that what I am paying in taxes is vastly more than what I am getting in benefits and public services. Just like I am pretty sure that the 1000€/month I am sending to TK is to cover the cost of others. There isn't much more than I am supposed to do, is there?)
by vidarh | 2025-09-21 22:32:15+00:00
Yeah, the phonetics can be far harder. I struggle to even make out discrete words in spoken Dutch despite finding it quite easy to read.

For Danish, it's so similar to Norwegian it's a lot easier, but there's an old Norwegian joke that Danish is just Norwegian spoken with a potato in your mouth... To us, Danish sounds like they're failing to enunciate every single sound...

Incidentally, pronunciation got a lot easier to me when I started looking at mouth placement of natives when speaking. Just watching and copying mouth placement and movements have fixed so many pronunciation issues for me that no amount of listening and repeting could address.
by calf | 2025-09-21 22:32:48+00:00
The problem with this view is that it actively obscures the central role that neoliberalization of academic institutions plays in these formations of quality. So I'll give a logical argument: the US remains the most powerful nation on Earth, and it "in-sources" the world's talent to maintain and reproduce its scientific and technological leadership. Inasmuch as political conditions are changing, European neoliberalized academia shall change and develop as well.

Pointedly, I don't define results or leadership as "research output". I mean who was responsible for Crispr? For LLMs? All roads lead to Rome; but today, empires also change shape and form.
by jmyeet | 2025-09-21 22:33:16+00:00
So many people may not realize that this sort of thing has happened and does happen in the US.

Some may not know how large ISPs connect to each other. If you're sufficiently large, you basically get to peer for "free". There are common peering points where most of this happens. Now, how does traffic travel between ISPs? WWell, routing protocols (notably BGP4) dictate how these connetions are used.

Thing is, providers can directly and indirectly throttle traffic with all this. A famous example is where several US ISPs, notably Verizon FiOS (from my own experience) to Netflix. There was a time about a decade ago where in the evening you could get <500kbps and Netflix was unwatchable. Verizon alternated between denying it and saying it was a technical limitation.

But lo and behold if you just used a VPN to bypass Verizon's routing and peering Netflix was completely watchable.

Many believe (myself included) this was intentional to try and kill Netflix and prop up their declining cable TV business.
by DougMerritt | 2025-09-21 22:33:27+00:00
You're arguing with people talking about how things are currently by talking about how things could be or should be and how people should change how things are.

That can be a great topic on its own, but it's not the same topic others are discussing.

And unless I missed it, you didn't say "let's switch the topic", you just went off in your own direction.
by musicale | 2025-09-21 22:33:48+00:00
> demonstrated financial need

Higher education is a strange purchase that is engineered to extract the maximum amount of money (up to full-cost tuition, fees, etc.), based on financial records which you are forced to provide.

Any asset except for a residence is typically considered something that could be tendered to the university, and is accordingly deducted from financial need.

This means that external scholarships are limited as to how much they can reduce the expected parental or student contribution. Anything beyond this limit is deducted from need and pocketed by the university.
by casta | 2025-09-21 22:34:15+00:00
I traveled with my kid when he was less than 1 year old in Tokyo. What is the issue with the stroller in the subway? There are always signs of how to get where you need to go using elevators.

While Tokyo has one of the worst fertility rates, it's not like the rest of Japan is doing particularly well. Also, I was staying in Azabujuban and I was surprised by the amount of kids I saw there.
by rlpb | 2025-09-21 22:34:22+00:00
> ...not to mention the absurd amount of energy wasted in braking and then re-accelerating that 3 mile freight monster.

> Fixing this would be possible - either by limiting the maximum length of a train...

It can't be both. Splitting a freight train and then stopping and starting the smaller trains would take the same amount of energy as stopping and starting the single long freight train.

Unless they're deliberately moving empty freight cars to make it artificially long.
by BoredPositron | 2025-09-21 22:34:54+00:00
It means it doesn't use a vae. I usually do some tests with pixel grids on new models 16x16,8x8,4x4,2x2 and with nano bana there is none of the typical degradation of Vae models. It's probably a similar to what lodestone does with the new chroma radiance model.

https://huggingface.co/lodestones/Chroma1-Radiance
by mbesto | 2025-09-21 22:35:28+00:00
> The rating is a measure of how many amps the battery can emit continuously for one hour.

This is absolutely not true at all. 'Ah' is a measure of capacity and 'amps' is a measure of current. Batteries typically have three measurements: nominal voltage, capacity (Ah or mAh), and rated continuous current (amps).

> watt hour measurements are path dependent

Watt hour is a normalized measurement of the battery's capacity. For example, it lets me compare a 12v/100Ah LifePO4 battery versus a 3.7v/3Ah Li-ion 18650 battery in terms of each batteries capacity (in this case 1200Wh versus 11 Wh).
by lossolo | 2025-09-21 22:37:08+00:00
They recognized a state, not Hamas.

All three governments paired recognition with language that explicitly excludes Hamas from any governing role and ties the path forward to PA reform, elections, and 1967 based parameters. Canada spelled out elections in 2026 with Hamas barred and a demilitarized Palestinian state, Australia said plainly "Hamas must have no role in Palestine" the UK framed recognition inside a two state horizon and negotiations, not as an endorsement of whoever currently wields guns in Gaza.

You can recognize a state while withholding recognition and cooperation from a particular authority. That’s what’s happening here: political recognition to salvage a two state outcome while keeping Hamas proscribed and sanctioned. The UK, Australia and Canada continue to list/designate Hamas as a terrorist organization and maintain sanctions, nothing about these decisions lifted that status.

> If conditions aren’t met, what leverage remains?

Plenty. Recognition can be followed by conditional steps (embassies, treaties, budget support, security cooperation) that only move if reforms happen so exactly what Canada, UK and Australia are signaling by tying recognition to PA reform, elections, demilitarization and negotiated borders. If those benchmarks stall, governments can freeze high level engagement, funding and agreements without "rescinding" recognition. The point is to separate Palestinian national rights from Hamas’s fortunes, not fuse them.

It’s an attempt to take the oxygen out of their narrative by decoupling Palestinian statehood from Hamas’s fate and putting the burden on reformed, elected, non Hamas institutions to represent Palestinians. If that path advances, Hamas loses relevance. And as I already mentioned, if it stalls, the recognition still strengthens the legal/political basis for a negotiated two state endgame instead of leaving the field to endless war and maximalists on both sides.
by guizmo | 2025-09-21 22:37:44+00:00
I see it as Nazi Germany and the de-nazification process. Reconstruction and economic prosperity combined with re-education program lead by the allies occupying the different zones with a clear time-limited mandate. US occupation of Japan after WW2 might also provide some ideas on how it could work.

I don't think letting the Nazi regime or the Japan regime survive the war would have been a great idea. I think the same about Hamas.

I wonder what would have been the views in the West at the time if TikTok existed and people saw the war as vividly. I can only imagine how the Nazi propaganda would have worked out on the US for example.
by bsder | 2025-09-21 22:38:11+00:00
> An X server selectively deprecating older functionality can be lean.

Is that actually true?

The big problem is that Xlib uses a lot of the dusty corners and the people using X11 apps expect those dusty corners to work. And Xlib is very, very, very badly architected in many places and you still have to do something sane or the apps won't work.

If you get Xcb right, you at least pick up Qt and that gets you probably 80+% of the modern apps.
by nathan_douglas | 2025-09-21 22:38:33+00:00
Yeah, I worked at a tiny company (<10 employees total) for five years, then was in a small company with a tiny dev team (3 engineers and 1 PM at peak) for almost five years. Now I've been at a government contractor for five years, so I have a ton of contacts now... but they tend to remain in the civic tech space, and I'd like to move into research. Where I know absolutely nobody. I feel ya.
by cavetalk | 2025-09-21 22:38:39+00:00
I think these cave drawings are a global written language, not a universal spoken language.

- Smushed oval is water, because it looks like a water drop from the side.

- Hand is a person or family or tribe.

- Hand surrounded by circle is what is around us, water around us, swim.

- Jagged line is danger. Having to dart back-and-forth to get away from a predator or rough sharp rocks.

- Small filled circles are rocks.

- Large circle is large body of water.

- Group of open circles is area that gets rain or is wet.

- Vertical lines are a penetrable forest.

- Crosshatch is an impenetrable area.

- Three lines up to point are a place to gather/sleep/have a fire.

- Four lines coming up is fire/dry brush to make fire.

- Horizontal line is a plain/flat area.

- U-shape is a significant valley or dip.

- Tree-branch looking thing means a place to get wood for fire.

- Snake symbol is snake/going around obstacles/not a direct path.

- Lines covered by line at top is a hut/shelter, because it's made with trees.

- The spiral is home/where to go/journey.

- The X is a rest spot or a place where things are put. People had to be on top of each other for warmth, and spears/tools may go in a pile.

- The rectangle with bent top is ocean, deep water, or pit with water.
by ianburrell | 2025-09-21 22:39:21+00:00
The US should focus on medium speed rail (100-155mph). It is easier to upgrade existing track than build new high speed track. There are lots of routes that aren't worth doing for HSR but would be at slower speed.

Good example is the Amtrak Cascades which reaches 80mph. The rolling stock can reach 125 mph. High speed rail would be nice, but Portland, Seattle, Vancouver may not be big enough to support it.
by hamdingers | 2025-09-21 22:40:33+00:00
I do that route all the time, "work from train" days before in-office events in SF are one of my greatest pleasures.

If I had one wish it would be a second daily Coast Starlight offset 12 hours from the current one. LA Union to SJ Diridon is roughly 9am to 8pm in both directions, so my second train would be the perfect night train from LA to SF.
by MathMonkeyMan | 2025-09-21 22:40:59+00:00
I took the Acela from NYC to DC to visit a friend. It was expensive, but I wanted to try it.

The interior of the cars was old and beat up. The tray in front of me didn't work. The bathroom door was borked and there was this persistent hint of a foul smell.

The woman across the isle was bombed and clearly going through something, but before long she fell asleep and when she woke up was docile as a lamb.

I've read that the main advantage of inter-metropolis rail travel is that you enter and exit in the middle of town. This helped for NYC and DC -- I took a short subway ride to Penn Station on the NYC side, and then walked from Union Station to my friend's house on the DC side.

Rail is the most comfortable way to travel by far. If only it were cheaper and faster.
by sporkxrocket | 2025-09-21 22:42:34+00:00
I know that Harris winning wouldn't have made any difference than Trump because she literally stated that she would not deviate from Biden's policy (which was as bad as Trump, if not worse).

The best thing you could have done on election day is not vote and encourage everyone you know to not vote. Our system is 100% corrupt and invalid, stop propping it up.

I will vote when there is an anti-Zionist running, until then I will abstain and encourage everyone to do the same. Very curious that going against Israel is beyond the pale for Democrats despite being a wildly popular position.
by cmckn | 2025-09-21 22:43:01+00:00
I took the Amtrak Cascades from Seattle to Portland recently and was pretty impressed. It’d be a bit silly to fly, but it’s long enough that if I drove myself I’d be kinda tired when I arrived. On the train I got to nap and eat something. The boarding experience is great and the staff were pros. It’s not cheap though; I think it was about $90 each way for business class, and about $70 for coach. I plan on taking it to Vancouver BC next. :)
by _DeadFred_ | 2025-09-21 22:44:06+00:00
The Twitter files revealed the government communication to Twitter was a continuation/mirroring of communication from the previous Republican regime making requests of Twitter.

Purge? Which administration threw out all of our civil service rules and purged people as soon as they had power? Which is telling the DOJ PUBLICALLY 'there are the people you need to get convictions against because it's making us look bad? Hint, it wasn't the previous administration.

Your second paragraph is a direct indictment of the CURRENT Right wing administration, who have incorporated exactly what you condemn as part of their current plans, spoken out loud that is their plan, and have executed on this plan.

Forget the past, if what you say is bad and should be prevented, I'm here, now, agreeing with you so lets condemn this shit! We can rehash the past come next election, but let's take care of ongoing/current business today.
by avlbk | 2025-09-21 22:44:50+00:00
I've taken the Surfliner route (SB->LA) frequently while in college. Moving to NYC and taking the Acela (NYC to Boston) over 20 times, I have to say the east coast experience is amazing. The route is super popular with business travelers commuting to NYC or other major cities along the route. You show up, grab a seat, pop your laptop open, get some work done... wow you're at your destination. Hungry? Walk to the snack cart and grab a coffee or a beer, at a reasonable price.
by Zambyte | 2025-09-21 22:46:35+00:00
"Slower" only if you consider yourself to be the only individual that matters. High speed trains move way more people per mile per hour. Plus train stations can be located in much more convenient locations (directly in city centers), so even though your time in the air may be less time than you would be on a train, door-to-door home-to-destination may be faster.
by chiph | 2025-09-21 22:47:17+00:00
The State of North Carolina runs several trains a day between Charlotte and Raleigh (The Piedmont). It runs along the same tracks as Amtrak's Carolinian. The Crescent, Palmetto, Silver Meteor and Floridian aren't focused on North Carolina but make stops in the state.

I've ridden the Piedmont a couple of times and it's very convenient compared to driving, especially during inclement weather. Could it be better? Yes - especially in Charlotte where they have a half-completed station in Uptown while the current station is in a sketchy industrial area and isn't convenient for anyone.

Once Charlotte Gateway station is completed it will link Amtrak service with local commuter rail and streetcar service (and bus/ride-share).

https://en.wikipedia.org/wiki/Piedmont_(train)
by habibur | 2025-09-21 22:47:18+00:00
Will trigger UB if level depth is > 2 billion or in the 2nd case number of lines > 2 billion.

Limit you JS input to 1 GB. I will have more problems in other portions of the stack if I start to receive a 2 GB JSON file over the web.

And if I still want to make it work for > 2GB, I would change all int in the source to 64 bits. Will still crash if input is > 2^64.

What I won't ever do in my code is check for int overflow.
by tredre3 | 2025-09-21 22:47:32+00:00
> Concrete example: in Rust, locking a mutex returns a handle that lets you access the data protected by the mutex, and the mutex is unlocked when the handle is dropped.

This is how it works in the kernel on the C side, too. Usually by using guard/scoped_guard which wrap the generic mutexes with some RAII.