MurphyA/hacker-news huggingface dataset:
by thom | 2025-10-09 12:44:27+00:00
I've built quite a lot of functionality on top of Clojure's version of this. For deeply nested stuff it's great, necessary even. But for shallow sequences where you're mostly doing complex logic looking back and forth, I genuinely think you're better off building some sort of parser combinator solution where you can more naturally match multiple conditions over long ranges, and alter the output as you send it out, transducer-style. You're also much more likely to end up with good performance compared to the constant recursive navigation you do with zippers.
by braza | 2025-10-09 12:44:31+00:00
As an enthusiast of traffic engineering, the most surprising thing in US is how hard is for the engineers to handle so distinct zoning laws according to it's county/city/state, and urbanistic planning in several big/medium cities is more centered on _giving preference to the cars_ instead of _keep the cadency and flow of the cars_.

Not saying it's good or bad, but for instance, in some counties it's way simpler to have a parking lot without any traffic buffer area at the entrance than to get an approval for a roundabout to reduce electronic traffic coordination in feeder roads.

Even simple things like pedestrian passages that do not have any contact with the road (elevated passages or underground passages) are very hard to find in the US.

I really would like to know one day what kind of design philosophy the traffic engineering field follows with so much compromises.
by harimau777 | 2025-10-09 12:44:51+00:00
I'm not opposed to establishing a coding style and using a linter to enforce it.

I'm opposed to doing that without getting buy in from the team. IMHO it's important to figure out whats important to the different developers on your team and finding a set of rules that works for them; as opposed to just adopting something that makes some people happy and tanks other people's productivity.
by fdsffsvafvv | 2025-10-09 12:44:56+00:00
If anyone from the project reads this:please don't load Discord on the front page of your website.

Discord is often used as C2 server, and in many secure environments will trigger alerts when someone tries to load it. So loading your webpage triggers an alert (luckily the alert in our business come to me, but the point stands).

At least hide it behind a link.
by waisbrot | 2025-10-09 12:45:21+00:00
+1

For example, "nit: maybe call the function updateCreditCard instead of updateCard"

If you disagree and think your function name is better (or that the two are equally bad), then I'm happy to go along with what you've got. But maybe you didn't think of this name or maybe I've convinced you. Either it's a quick fix (and no re-review needed) or you just dismiss my comment.
by Princesseuh | 2025-10-09 12:46:00+00:00
Ah! Thank you for taking interest.

At this time there's no built-in way to generate RSS feeds, you'd need to use a "Endpoint" route and return a .xml from it: https://maudit.org/docs/routing/#endpoints.

It's pretty straightforward, but it does require some manual work. Crates like `rss_gen` can help making the generation easier, though
by physicsguy | 2025-10-09 12:46:16+00:00
I was amazed when I travelled to the US at just how pedestrian hostile it is. I was travelling to a conference in San Diego and it was just impossible to walk safely between where I was staying and where I was going to because this was the road: https://maps.app.goo.gl/G2PeVbEzQyqbgDTN9
by fennecfoxy | 2025-10-09 12:46:28+00:00
>They've now been asked to appear in front of Congress to address concerns about politically motivated violence being incited through their platform

Funny how for the last 30 years of right wing violence/extremists far exceeding left wing nothing was done at all about it, no questions asked. Hush hush, don't talk about gun control or the real causes of these peoples' actions.

But then the year that left wing violence finally exceeds right wing, they all start crying that it's unacceptable and something needs to be done about it.

Source: https://www.csis.org/analysis/left-wing-terrorism-and-politi... "So far, 2025 marks the first time in more than 30 years that left-wing terrorist attacks outnumber those from the violent far right."
by worldsayshi | 2025-10-09 12:46:31+00:00
I think it goes without saying that we need to be sceptical when to use and not use LLM. The point I'm trying to make is more that we should have more validations and not that we should be less sceptical about LLMs.

Meticulousness shouldn't be an excuse to not have layers of validation that doesn't have to cost that much if done well.
by IanCal | 2025-10-09 12:47:00+00:00
They're moderately unreliable text copying machines if you need exact copying of long arbitrary strings. If that's what you want, don't use LLMs. I don't think they were ever really sold as that, and we have better tools for that.

On the other hand, I've had them easily build useful code, answer questions and debug issues complex enough to escape good engineers for at least several hours.

Depends what you want. They're also bad (for computers) at complex arithmetic off the bat, but then again we have calculators.
by jacquesm | 2025-10-09 12:47:31+00:00
No, it's actually true, they are quite stable. What they lack though is outliers in terms of success. They tend to be quite conservative and as a consequence they are risk averse and tend to play it safe. For a high return you need a different appetite for risk. Of course the key to a different risk appetite is to be able to externalize the negatives of that risk but to be able to reap the rewards. Such asymmetric bets are at the root of most successful business empires, you'd never see them in a co-op.
by kakacik | 2025-10-09 12:47:45+00:00
Try loading 10 tons into some glider and shooting it up. First the winch would have to be absolutely massive, second its highly reliant on at least a bit good weather and nobody glides around during night. Pilotless doesn't remove danger of it falling onto some roof, so automation would have to be pretty much flawless.

Truck, you can load and send it much further than any glider can ever glide, any time, any day. Also throughput of highways is much bigger than airports, and you can deliver it literally to the target doors.

Not a very practical fantasy it seems.
by ToucanLoucan | 2025-10-09 12:47:50+00:00
As an adamant enthusiast of both cars and infrastructure design, if someone puts a crossover in the trucks and SUVs category, I am dubious of anything that follows. Crossovers are basically just cars with higher rollover risk. They're lighter, they have smaller engines, they can stop more quickly, and overall have much, much better safety characteristics.

Like I'm sorry but if you put crossovers and SUVs in the same bucket for a discussion anywhere, but especially in the realm of safety, I'm not taking your opinions seriously.
by lyu07282 | 2025-10-09 12:47:59+00:00
> but programmers using the language don't necessarily use these terms.

this always annoyed me about the python type annotations, you are supposed to already know what contravariant / covariant / invariant means, like: `typing.TypeVar(name, covariant=False, contravariant=False, infer_variance=False)`

Its used in documentation and error messages too:

> the SendType of Generator behaves contravariantly, not covariantly or invariantly.

https://docs.python.org/3/library/typing.html#annotating-gen...
by UncleMeat | 2025-10-09 12:48:16+00:00
The Trump administration is going with the argument that although flag burning is protected speech when it is done to incite illegal action it isn't protected and that protestors who are burning flags are doing it to incite illegal action.

This is, of course, absolute bullshit. But there's been a trend for the past several decades of the courts practically limiting speech rights for disfavored groups without technically limiting their speech rights. Nieves v Bartlett is perhaps the clearest example, where arresting somebody to retaliate against their speech (even if everybody agrees that this was the proximate reason for the arrest) is fine as long as there is any other possible justification for the arrest.
by myrmidon | 2025-10-09 12:48:40+00:00
> there were more idiots on the road after and during covid

I don't think the data really supports this, because pedestrian deaths have been rising continuously since 2008 instead of abruptly after 2019; there is at least a bunch of other factors at play.

Most suprising to me was the sharp rise in the "pedestrians on drugs" quota.

Personally, I think that "more distracted pedestrians" (from smartphones) is also an interesting theory which could possibly explain the huge increase in Sedan-lethality.
by rsynnott | 2025-10-09 12:48:48+00:00
> This is amazing, and makes me regain a bit of (much destroyed) faith in democracy.

As a general rule, politicians don't actually have a strong opinion on, or much context on, most things which they are asked to vote on. This can make this sort of lobbying/campaigning quite effective; at a certain point you're forcing the politician to _think_ about it, and that's half the battle.
by potato3732842 | 2025-10-09 12:48:49+00:00
>The US mostly (but not completely) solved the school bus problem (people passing a bus dropping off children) by having exceptionally hard penalties and enforcing them significantly for the first few months.

They also changed bus routing best practice to alter the sorts of stops that were causing the bulk of the passing. Like for example right side stops on roads divided by any sort of median are avoided where possible these days.
by braza | 2025-10-09 12:49:44+00:00
I bit of out-topic, but the best recommendation that I had here in HN was definitely the FreshRSS [1].

Yes, the design sounds _phpish_, but on Docker it's so reliable and fast, that I feel that I am in some sort of "final version of the software" and not needing anything else or enhancements, like WinRar, Notepad.exe, Winamp, Nero Burning ROM, Windows XP, etc.

I do not know if others have the same feeling about a software that works so great, that _any_ update will be a downgrade given the high level of contentment and satisfaction.

[1] - https://news.ycombinator.com/item?id=18097105
by whizzter | 2025-10-09 12:49:47+00:00
If it's protecting something then yeah it stinks.

In this case people are critical of other things also and want to voice those things for selfish reasons without getting into mud slinging contests with fanatics who are protecting everything shitty just because it's their favourite hater that is on one side.

Perfect is the enemy of good and an ally of fanaticism.
by A4ET8a8uTh0_v2 | 2025-10-09 12:49:54+00:00
Eh, I guess I am talking to militant anti-SUV people.

Allow me to rephrase:

- Your environment imposes restrictions upon you - Even if you can control your actions, optimal choice is to move within those restrictions - Doing things that attempt to move outside those restrictions are not optimal - Some people choose the optimal path - Some people are upset that the optimal path is chosen

Good grief, why am I bothering with nonsense so early?
by chithanh | 2025-10-09 12:50:05+00:00
No. What I say is if we introduce a public health policy, then we need to take human behavior and adherence rates into account.

Example: Abstinence is 100% effective against STDs and teenage pregnancy in any controlled setting. That does not make it a good public health policy to tell teenagers to abstain from having sex. In fact despite condoms having lower efficacy than abstinence, teaching people the proper use of condoms is overall more effective.

If we want to solve obesity then randomly adding/substituting artificial sweeteners to human food will not work. Instead we need to reduce access to hyperpalatable foods, which can be done through economic means (e.g. taxes).
by _fat_santa | 2025-10-09 12:50:11+00:00
One thing I always do is say a car is stopped at an intersection and is making a right turn while I'm in the crosswalk, I always look at the driver and where they are looking. Often times what I see is the driver will just look to see that the road is clear and never looks to see that the sidewalk is clear and just goes. I can count maybe 2-3 occasions where had I not done this I would have been run over.

This was one thing not talked about in the article: drivers in the US are not used to pedestrians outside of major cities like Boston, NYC, etc. I've seen drivers blow past me while I was in the crosswalk to rush and make a right turn and were bewildered that someone was actually using the crosswalk.
by watwut | 2025-10-09 12:50:27+00:00
I do not want to go there. I made comment about huge amount of violence slavery in Americas required daily back then. Slavery was violence in amounts completely incomparable to what you are trying to equate with it.

Moreover, that sentiment was literally expressed by slavery opposition back then. Afaik, the sophistry about "any government is violence therefore, it is the same, que" was not all that much thing back then.
by throw-10-8 | 2025-10-09 12:50:38+00:00
My experience is that a lot of people on this forum are afraid to voice negative opinions on tools they use at work.

Seen a lot of people in my professional circles shit on Next/Vercel over beers, but then go to work every day and bang out Next because it's what their manager chose 5 years ago.

Vercel can only ride that wave until the people who hate their product are the decision makers.
by Mattwmaster58 | 2025-10-09 12:50:51+00:00
vx-underground claims to have communication with the group, and this post of theirs adds to the support agent theory: https://xcancel.com/vxunderground/status/1976238815665856646

> they were able to compromise Discord Zendesk by compromising a "BPO Agent" (outsourced support).

> Of course, as is tradition, it is also entirely possible they're lying
by fennecfoxy | 2025-10-09 12:50:55+00:00
I mean we could've voted to outlaw proprietary protocols/cloud requirements. Make it illegal unless they support a minimum of common functionality with a standard spec, closing up loopholes like only doing a half-assed job of it because executives can't be trusted not to salivate over where their next bonus is coming from, the parasites.

These companies are fucken happy to use USB, Bluetooth, Wifi, etc specs because it benefits them. So we should be forcing them to have everything else interoperate.

But eh, it's too late for that.
by beAbU | 2025-10-09 12:51:03+00:00
Can you please ELI5 winched gliding to me?

Is a glider basically joinked into the air by a large and fast winch, and then detached and the glider glides on it's own "power" back to the landing? Or is the winch at the destination, with a cable going _all_ the way across the landscape to where the launch point is, so that it can pull the glider over?

I'm a tad confused.
by tialaramex | 2025-10-09 12:51:03+00:00
Unsafe Rust does have tooling to help you not make some kinds of mistakes, but by its nature you have to be able to press on after the tools can't help you.

For example MIRI can understand pointer twiddling under strict provenance. It'll synthesize provenance for the not-really-pointers it is working with and check what you wrote works when executed. But if your algorithm can't work with strict provenance (and thus wouldn't work for CHERI hardware for example) but your target is maybe an x86-64 Windows PC so you don't care, you can write exposed or even just arbitrary "You Gotta Believe Me" pointer twiddling, MIRI just can't check it any more when you do that, so, hope you never make mistakes.
by potato3732842 | 2025-10-09 12:51:46+00:00
The problem is that even if they look back and fourth and know you're there the "go" condition (no incoming cross traffic) is the same for both parties so it's a ready made "two idiots trying to pass each other in the hallway" situation.

I think it speaks volumes that the discussion is anchored around whether cars look or not despite the fact that the underlying algorithm will produce conflicts even if they do.
by harimau777 | 2025-10-09 12:51:47+00:00
100% agree! The pattern that I've found works well is:

Reviewing a PR with "Approval" status means that the comments are just suggestions.

Choosing "Comment" status means that the comments are optional but important enough that I want to make sure that you read them. If you come back and say "I read them but decided not to make any changes" then I'm happy to approve the PR.

Choosing "Request changes" means that the comments aren't just nits.
by chneu | 2025-10-09 12:51:53+00:00
Be aware that the science on this is evolving pretty quickly.

A study came out recently that showed when folks ate a designed diet, one with and one without UPFs, they found the UPF diets resulted in a few additional lbs of weight gain.

The study accounted for a ton of variables. It showed that UPF calories lead to weight gain when consuming the same number of unprocessed calories.

https://www.cell.com/cell-metabolism/fulltext/S1550-4131(25)...

I think, at the current moment, there is enough evidence to support guidelines to avoid UPFs for the most part. Idk about banning but I do think it'll eventually get there, at least in schools. But who knows? American lunches are garbage in the first place
by bsnnkv | 2025-10-09 12:52:12+00:00
As much as I appreciate a good snarky comment, this is a good reminder for contributors to be thoughtful about the licenses under which they contribute code to projects

> Nowhere in any common open license does anyone promise to keep working on their project, much less on particular terms. Any contributor to a permissively-licensed project can license their next contribution however they want. Any steward of a copyleft project with rights to all contributions can, too. Much as you could pick an Apache-licensed project, fork it, and sell your enhanced version under proprietary terms, a project steward can share new work under new terms, as well.

>

> None of this changes the license terms for old releases. Prior versions with MIT or Apache 2 or MPLv2 or what have you in the LICENSE file remain available to use, share, and change under those terms. That includes forking. We see that every time a going-forward relicensing spawns a new one. The reason the new license terms matter for new releases is that those new license terms apply to the diff between the old release and the new one.[1]

[1]: https://writing.kemitchell.com/2023/09/23/Two-Kinds-Relicens...
by IanCal | 2025-10-09 12:52:15+00:00
I wish people would stop assuming that an area with 500M people, more than 20 countries and far more cultures are one addressable block.

Some places are, others are absolutely awful.

> Another advantage is that narrower roads make drivers drive more carefully and slowly,

In some places, in others people go absolutely hell for leather because the roads are pretty fun.

This varies city to city.
by Alex-C137 | 2025-10-09 12:52:24+00:00
Hard disagree. React is only popular because large companies made it so. There are few things that React is inherently better than Vue and none of them are its bundle footprint, page load speeds, nor the average time to learn one or the other.

Subjectively I am extremely in opposition to the fact that XML anything with composable functions is more intuitive than HTML templates by any stretch of the imagination.
by teleforce | 2025-10-09 12:52:51+00:00
I'd say the gold price (the OP topic) sudden rise after being very consistent for several decades is mainly due to the recent ending of petrodollar.

Somewhat related is the Turkey-Iran "oil for gold scandal" where gold is being used to bypass the sanction against Iran for oil and gas transactions [1].

When there is no petrodollar arrangement then as this scandal has shown, gold is naturally the most trustworthy "currency" for the oil and gas transaction, easily worth several billions per year for a single country like Turkey.

On the very basic, economic is all about supply and demand, with gold is on higher demand for the lucrative oil and gas transactions, then the demand of the alternative USD is naturally lower compared to during petrodollar era.

[1] 2013 corruption scandal in Turkey:

https://en.wikipedia.org/wiki/2013_corruption_scandal_in_Tur...
by quantumwannabe | 2025-10-09 12:53:00+00:00
Only because you chose to walk through the port instead of through town. Google Maps' walking route is shorter than the route that goes through that road, entirely on sidewalks, and only requires crossing one road wider than one car lane per direction (and said road has a signalized crosswalk). There is also a pedestrian bridge across that road that could be used instead, but Google didn't pick it, likely because it connects with "private" property (the convention center's path).

https://maps.app.goo.gl/asfGrRLkLmtpqnps5
by pixl97 | 2025-10-09 12:53:01+00:00
Typically people with long reddit histories aren't 'bots', though there are some cases.

What I typically saw was accounts that had a decent sized but very generic history, things like gaming or cooking. Then suddenly the accounts became very politically motivated over one particular thing. Then within a few weeks to a months the accounts were gone.

My assumption these were sold/farmed accounts with reused comments/boring posts that were then used to push a political message when needed.
by hmry | 2025-10-09 12:53:27+00:00
I think most of the complexity here comes from trying to write as little unsafe code as possible (and not repeating any unsafe operation in multiple places, hence the many layered abstractions).

If you were to implement Vec without layering, it would be no more complicated than writing a dynamic array in C (but more verbose due to all the unsafe blocks and unabbreviated names)
by johnisgood | 2025-10-09 12:53:38+00:00
Erm what? The article contradicts this. I'd push back on "without jumping through hoops". The article itself demonstrates 6 layers of abstraction (Vec<T> -> RawVec<T> -> RawVecInner -> Unique<u8> -> NonNull<u8> -> *const u8) built on unsafe primitives. The standard library does the hoop-jumping for you, which is valuable, but the hoops exist, they're just relocated.

I bet Vec's implementation is full of unsafe blocks and careful invariant management. Users face different hoops: lifetime wrangling, fighting the borrow checker on valid patterns, Pin semantics, etc. Rust trades runtime overhead for upfront costs: compile-time complexity and developer time wrestling with the borrow checker which is often the right trade, but it's not hoop-free.

The "close to hardware" claim needs qualification too. You're close to hardware through abstractions that hide significant complexity. Ada/SPARK gives formal correctness guarantees but requires proof effort and runtime checks (unless you use SPARK which is a subset of Ada). C gives you actual hardware access but manual memory management. Each has trade-offs - Rust's aren't magically absent.
by fireflash38 | 2025-10-09 12:53:45+00:00
You don't have to be a moderator to poison the well.

Post a shitload of bad faith attacks and slander. Not as a root comment. You don't have to actually relate to the parent at all, you're just trying to get your talking points out there. If someone calls you out? Gish gallop never actually addressing their comments. It's another opportunity for you to spew whatever bullshit you want.

If they follow you around and get more engagement/up votes? Block them. Now you are free to continue to post whatever BS you want without any of those pesky fact checkers.
by Zambyte | 2025-10-09 12:53:48+00:00
This comment makes it seem like people are built differently in the US than they are in the rest of the world, but that obviously isn't true. The roads (particularly intersections, where crashes tend to happen) are in fact built differently though. Urbanist resources like NotJustBikes and Oh The Urbanity! YouTube channels do a great job of highlighting the differences, and how they force drivers to pay attention through the laws of physics rather than the laws of signage.