Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do we have another war in post-WWII history where a credible theory for its genesis is a leader trying to distract from a scandal?

Closest I can come to is the Falklands War.


>Compile speed. Why do people care so much? Use debug for correctness and iterating your code. You're hardly going to change much between runs, and you'll get an incremental compile.

What's the largest Rust-based public codebase so far? Rustc with like 1 million lines of code including all the dependencies in all the languages? Zed IDE has 800k lines. Incremental compilation seems to work fine at this scale, but things become messy above it. Most people prefer to not exceed the limit.

>Mutable shared state: make bad designs hard to write. Mutable shared state is another one of these eternal bug sources. Use channels and pass messages.

People think BEAM (Erlang/Elixir) does not have shared mutable state because the programming model says so, but it actually has some mutable shared state transparently under the hood i.e. implementation details and runtime. BEAM processes all run in a single OS address space, they are not even separate threads but async tasks spread out across OS threads — and still per programming model of the language those are "shared nothing". So in the end BEAM is a very good abstraction on the partially shared mutable state.

And no, in BEAM remote messaging is not nearly the same as local messaging. For example, you don't have built-in supervision trees on remote, and ETS is also local-node-only.

I do agree that hardware model of shared mutable state is inherently problematic, but we don't have other commodity CPU-s yet — you have to handle the shared mutable if you wanna be close to hardware.

>It reads like a lot of critiques of Rust: people haven't spent enough time with it, and are not over the learning curve yet. Of course everything is cumbersome before you're used to it.

Well, at least you confirm that the complexity is real. Don't get my criticism to close to the heart though — I did exaggerated the problems a bit, because someone needs to counteract the fanboys.


> The U.S. Census Bureau releases two poverty measures each September. The first, called the official poverty measure, is based on cash resources. The second, the Supplemental Poverty Measure (SPM), includes both cash and noncash benefits and subtracts necessary expenses (such as taxes and medical expenses). The official poverty measure has remained mostly unchanged since it was introduced in the mid-1960s. In contrast, the SPM was designed to improve as new data and methods become available.

https://www.census.gov/newsroom/blogs/random-samplings/2025/...

I’m not sure how to treat this, but if the official poverty measure is used for practical purposes and not the SPM, the core premise is still entirely valid. I have no idea if that’s the case, and why the “official” one is still measured at all.


I think this was the section that made me question the accuracy of the rest:

> To function in 1955 society—to have a job, call a doctor, and be a citizen—you needed a telephone line. That “Participation Ticket” cost $5 a month. > Adjusted for standard inflation, that $5 should be $58 today. > But you cannot run a household in 2024 on a $58 landline. To function today—to factor authenticate your bank account, to answer work emails, to check your child’s school portal (which is now digital-only)—you need a smartphone plan and home broadband. > The cost of that “Participation Ticket” for a family of four is not $58. It’s $200 a month.

We're talking about needs here, yes? If your kids are young enough to need childcare (a recurring theme of the article), they don't need their own phones, so we're talking about two adults.

You can easily get an MVNO plan for $20 a month with 10GB data, which is more than enough for needs. Tether to it if you absolutely must access something on a device other than a phone. Get two of them, one for each of the adults in the family.

There's $40, not $58 and definitely not $200.

It just made me wonder if it's this easy to save 80% on the author's expected cost in this category, why should I trust that the other "national averages" the author uses should be considered as the factors in how families struggling financially could meet their needs?

It reminds me of when people use the "average SNAP benefit" as an indication that people on SNAP are going hungry. It's called "supplemental" for a reason: people are expected to spend some of their other money on food--and people receiving the average SNAP benefit as opposed to the maximum SNAP benefit have been through an assessment that determined they should have other money available to spend on food.

I don't doubt the poverty line should be higher than it is, but jumping from 3x to 16x a minimum food budget is much too far a jump.


No, it's not the "same as most other languages". C and C++ are actually the only mainstream languages that suffer from UB to this extent.

The fact that, in practice, with Rust you get a crash instead of UB is 100% a reliability issue with the language. The crashes are inbuilt. And blaming the crash on the author, saying they "chose to crash", is exactly the same as blaming UB on the author of C code, saying they "chose to double-free".


> Personally I am voting against any public transport funding until all homeless

Statistically you're just a few days of bad luck from being both homeless and carless. What's your plan for getting to work to not be in that situation?


Ha, that’s great!

I actually believe this would happen.

Here is the translation to English:

---

CNN Brazil’s report asks Trump about removing tariffs on Brazil on Thursday. He mentions that there would be another “big announcement on Friday”. On Saturday morning Bolsonaro is arrested for tampering with his electronic ankle monitor, something he did late on Friday but was caught in time.

Trump says he spoke with Bolsonaro on Friday and that they were going to meet. Then the reporters says he was arrested. He gets surprised that Bolsonaro was arrested and says it was too bad...


It still interferes with itself, and that interference affects the pattern of detections. It's as if the photon were a wave right up until the moment of detection, at which points it's forced to “particalize” and pick a spot to be located at — but it's the amplitude of the wave it was just before detection that determines where on the detection screen the photon is likely to show up. If you send many photons through one at a time, the detections (each just a point on the screen) will fill out the expected double slit pattern.

Language wars are an endemic pathogen on HN and any steps we take to suppress are probably for the good.

You are arguing with "at all costs" which I never wrote, and so do not feel any need to reply to that.

Mom and pop businesses definitely do it to make money. They aren't charities. They pay taxes on the money they make.

Non-profits are not out to make money, but (again) they are not considered businesses.


189 presumably

Another option is to generate a key and put it on an offline storage, and have a second key only in the SE. This means you'll need to upload two public keys to places to have a backup instead of one, but I think would otherwise achieve the same thing.

The nice thing with this is you can keep your backup public key easily accessible. I try to keep a primary and backup Yubikey on everything important, but you have to physically get the backup Yubikey in order to add it to a site.


They said they only pick bugs that take 2 days to fix.

Places where you can move fast and actually do things are actually far better places to work for. I mean the ones were you can show up, do 5 hours of really good work, and then slack off/leave a little early.


The fee gives a reason to kick them off. Portland's trimet recently made it a policy to not allow sleeping which means the transit police can now intervene when the opioid addict does his dose on the train. Meanwhile the tired professionals are left alone. As it should be

You use git worktrees, and then merge-in. Or rebase, or 3-way merge, as necessary.

I have a local application I developed that works extremely well for this. I.e. every thread tied to a repo creates it's own worktree, then makes it edits locally, and then I sync back to main. When conflicts occur, they are either resolved automatically if possible (i.e. another worktree merged into main first, those changes are kept so long as they don't conflict, if conflicted we get the opportunity to resolve, etc.).

At any merge-into-main from a worktree, the "non-touched" files in the worktree are automatically re-synced to main, thus updating the worktree with any other changes from any other worktree that have been already pushed to main.

Of course, multiple branches can also be used and then eventually merged into a single branch later..


It's fairly involved in an older neighbourhood if the utilities are buried... they installed it in mine a couple years ago, and it involved months of contractors and trucks in the neighbourhood marking utility right-of-ways and hydrovaccing holes in everyone's front yards.

> hold 20 people hostage on the bus until some enforcers navigate a busy city

Where this happens they arrive promptly. And it doesn’t happen often.


It's probably an anecdote.

https://www.project2025.observer/en

DOGE was the bludgeon that crippled most of the targets on this list. Not the only one, but a major player.


To be fair, the blog post does not explicitly say anywhere that the week was for bug fixes only.

It assumes that 100% of the funding went to treating children with malnutrition. First of all its doubtful that even the intent of the program was to spend 100% of the money on that in particular. And even if it was, this is clearly false because even a super efficiently run program to help starving children is going to have massive overhead, so not even close to 100% of the funding would be spent that way. It's not like starving children of the world are located around major logistics hubs, so I would be absolutely shocked if they could even get close to 50% here. It also assumes that you only have to treat each child once. So ok, you treat a child for malnutrition and then what? You send him back out into the same place where he couldn't get food in the first place? There's just so much wrong with this number that I have a hard time believing you are even asking in good faith.

The impulse console command originates from Quake, the Half-Life 1 engine (GoldSrc[0]), was based on the Quake engine, and the Half-Life 2 engine (Source), was based on GoldSrc.

In quake, the impulse commands were used mostly to switch weapons[1]. I'm not really sure about the naming though, why choose the word "impulse".

[0]: https://en.wikipedia.org/wiki/GoldSrc.

[1]: https://github.com/id-Software/Quake/blob/0023db327bc1db0006...


> People won't use public transit if they have to deal with mentally ill people or hucksters.

Do they also not use the streets in that case? There's nothing preventing "mentally ill people or hucksters" from being there.


They have an effective monopoly in a large portion of the country or they are still better than the handful of alternatives.

Who Pays for Roads?

  How the "Users Pay" Myth Gets in the Way of Solving America's Transportation Problems
~ https://frontiergroup.org/resources/who-pays-roads/

Road Taxes and Funding by State, 2025

  Most states fail to collect enough in user fees to fully provide for roadway spending. This necessitates transfers from general funds or other revenue sources that are unrelated to road use to pay for road construction and maintenance.

  Only three states—Delaware, Montana, and New Jersey—raise enough revenue to fully cover their highway spending. The remaining 47 states and the District of Columbia must make up the difference with tax revenues from other sources.

  The states that raise the lowest proportion of their highway funds from transportation-related sources are Alaska (19.4 percent) and North Dakota (35.1 percent), both states which rely heavily on revenue from severance taxes.

Sorry, does “disarming” here mean “not engaging in illegal authoritarian action”?

I’m not sure what system is being protected in the scenario where everyone is openly and illegally authoritarian. I hope that if Democrats get back into power they will invest in stabilizing democracy and the rule of law, not just attempting to run the same authoritarian playbook for their own benefit.


I moved to SF this year and I love this poem.

Q: is the church of 8 wheels really a popular destination? Or is this the poet's bias towards the haight and hayes areas?

For me, Mission Dolores represents "classic SF" and is the area I'm fondest of -- and contrarily, the Salesforce Park and the surrounding area is the pinnacle of tech & capitalism (and b2b saas.)


Homeless people have higher rates of substance and mental-health issues, and, unsurprisingly, less access to showers and laundry facilities.

What I'm taking away from this is that there's absolutely zero code of interest that is Algol 68

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: