HNHacker News
TopNewBestAskShowJobs

devnullbrain

1,889 karma · joined November 25, 2022

submissionscomments
devnullbrain··on Changes since congestion pricing started in New York
Tokyo?
devnullbrain··on Flattening Rust’s learning curve
>it's very different from other languages. That's intentional but also an obstacle.

It's very different from a lot of the languages that people are typically using, but all the big features and syntax came from somewhere else. See:

>The type system and the borrowing mechanism are good examples. Unless you are a type system nerd a lot of that is just gobblygook to the average Python or Javascript user.

Well, yeah, but they generally don't like types at all. You won't have much knowledge to draw on if that's all you've ever done, unless you're learning another language in the same space with the same problems.

devnullbrain··on Flattening Rust’s learning curve
It's very flattering! It's perhaps the only time in internet computing circles where I repeatedly see people argue in a way that boils down to:

'I'm not as good as learning things at you'

devnullbrain··on Flattening Rust’s learning curve
>and then access the data at that location

Or many other locations, by many other authors, at many other times, or simultaneously.

devnullbrain··on The Barbican
The inaccesibility for mere mortals ruins any claim it has to being a representative of brutalism, IMO. Of course it looks nice, it was made by the City of London at eyewatering cost with absurd levels of craftmanship. The movement wouldn't have such a bad image if other buildings had that kind of budget for upkeep and gardening. But they don't: they're rotten and barren.
devnullbrain··on Rust’s dependencies are starting to worry me
Dynamically typed languages do the opposite.
devnullbrain··on Rust’s dependencies are starting to worry me
Then they can also pass in an erroneous URI. You still need some way to deal with the ones you're not accepting.
devnullbrain··on VVVVVV Source Code
This video fails to capture the experience of making it past each screen but landing on the left
devnullbrain··on Matt Godbolt sold me on Rust by showing me C++
>code that has a lot of tricky mathematical algorithms in it, rather than just "plumbing" data between different sources

Your hierarchy is backwards. Borrowing for algorithmic code is easy, it's for writing libraries that can be used by others where it's hard. Rust lets you - makes you - encode in in the API in a way C++ can't yet express.

> I just very rarely have problems with memory errors in C++ code bases with a little thought applied to lifetimes and use of smart pointers

If these are sparing you C++ bugs but causing you to struggle with the borrow checker, it's because you're writing code that depends on constraints that you can't force other contributors (or future you) to stick to. For example, objects are thread-unsafe by default. You can use expensive locks, or you can pray that nobody uses it wrong, but you can't design it so it can only be used correctly and efficiently.

devnullbrain··on I'd rather read the prompt
Yep. They're very closely linked.

http://prize.hutter1.net/

Note the preamble, FAQs, and that all of the winning entries are now neural networks.

devnullbrain··on All four major web browsers are about to lose 80% of their funding
Whereas if it doesn't happen nobody remembers your comment and you suffer no social consequences. Very +EV bet.

Currently, it's ceded to a country hostile to mine. Great.

devnullbrain··on All four major web browsers are about to lose 80% of their funding
That's the point.

If you say browser developers need money from the search giant to compete in browser development, you are saying that - right now - you can't compete in browser development without it.

That is a cartel.

We only have four major browsers because only four players can play on a fair playing field. There are people who have been paid millions to create and perpetuate this system. Web developers worrying about feature development without it is their KPI. None of this is a coincidence, none of this is a natural law.

devnullbrain··on All four major web browsers are about to lose 80% of their funding
As a corollary:

If you are a company that wants to have control over the browser market and ensure that it doesn't get taken away, you should contrive to have the funding depend on you continuing to control it.

The current situation is not an accident.

devnullbrain··on All four major web browsers are about to lose 80% of their funding
Comparing this site (that you choose to comment on) to what Reddit has done with those features, I'm not convinced.

I will concede the features are very useful for developers to push algorithmic slop and walled gardens onto us.

devnullbrain··on C++26: more constexpr in the core language
The resources here are amplified elsewhere.

As a specific example, expanding constexpr means a codebase I recently worked on can move away from template metaprogramming magic to something that is more idiomatic. That means iterating on that code will be easier, faster, and less error-prone. I've already done static dispatch using constexpr and type traits that would have taken longer to do with templates.

Currently constexpr programming needs you to know the specifics of what is supported - ideally you'll be able to infer that from first principles of the invariants that are available at compile time. That leads to faster, more confident development.

It's a similar story for reflection: we were using custom scripts and soon won't have to. The changes usually come out of the problems people are already finding solutions for in the real world, rather than gilding a lily.

devnullbrain··on You wouldn't steal a font
There are many movies available for free
devnullbrain··on How a 20 year old bug in GTA San Andreas surfaced in Windows 11 24H2
User has working software. User updates operating system. User has broken software.

That's a problem for the party trying to sell operating system updates.

devnullbrain··on How a 20 year old bug in GTA San Andreas surfaced in Windows 11 24H2
There'd be a lot less Rust evangelism on this site if there were less UB bug outcomes on this site.
devnullbrain··on Getting forked by Microsoft
For the layman, acquisition rumours are almost always bad news.

Even as a premise. Your domain is enough of a concern for Bigcorp to spend executive time on. Bigcorp wants to acquire your employer because and they think they can get more value out of it than the asking price.

Your own executives will ignore the threat that due diligence means to your business in the case a deal fails to be completed, because this is their promotion cycle. But you are a potentially redundant cog that is unlikely to be a more efficient part at Bigcorp. After all, you don’t already work for them.

devnullbrain··on I maintain a 17 year old ThinkPad
The last point is really a special feature in today's laptop market, Linux or not.
devnullbrain··on Electron band structure in germanium, my ass (2001)
I have my own, similar stories but, as a mediocre student, they were lost in the noise of my own mistakes. Nonetheless it's injustice, so I still remember it. Some people on this site were really excellent students, where these deductions really mattered. I don't know how they cope.
devnullbrain··on Why Anthropic's Claude still hasn't beaten Pokémon
PC's complaint may be related to this:

https://x.com/GergelyOrosz/status/1905000078839845303

devnullbrain··on Why Anthropic's Claude still hasn't beaten Pokémon
Well, it's not to play Pokemon. Pokemon is a contrived example to research and display reasoning. That would be a useful step for the real world use-cases that aren't index in fine detail, as a human would. Actually, getting this to work is important for avoiding the thing you're complaining about.
devnullbrain··on 'A walking billboard': The history of San Francisco's most recognizable bag
Books don't give us cancer like records do.

Unfortunately, the PVC used will off-gas even when they're not being played[1], so this even applies to the 48%[2] of record buyers who never play them.

[1] https://youtu.be/aZ2czFuIYmQ?si=OdAsQONSm8MzY761&t=735

[2] https://www.bbc.co.uk/news/entertainment-arts-36027867

devnullbrain··on C++26: Deprecating or removing library features
C++14 minimum is the standard
devnullbrain··on How I got 100% off my train travel
Yes, you're not a legitimate passenger if you haven't paid the fare.

It's immaterial though. They could instead face increased cost in taxes, decreased investment elsewhere, or good-old eminent domain for infrastructure expansion. The downstream effects of an infinite number of backup lines to guarantee service following an infinite number of track trespassers are not good for passenger satisfaction.

devnullbrain··on How I got 100% off my train travel
Passengers have to pay.
devnullbrain··on How I got 100% off my train travel
The optimal amount of train delay is non-zero. You need high redundancy to avoid many causes - and their knock on effects - and redundancy is antithetical to efficiency.
devnullbrain··on How I got 100% off my train travel
I believe the PC is hinting about station barriers. Major stations need you to scan a ticket (or con a guard) to get off the platform or out of the station. Minor stations sometimes don't - and if it's your station you'll know.

I think the real reason is less sensational: trains that go full in one direction still have to go back in the other direction whether they're full or not.

devnullbrain··on Video game workers in North America now have an industry-wide union
Your point might come across as disingenuous if you start by complaining about stock prices but immediately switch to cultural dogwhistle concerns.
← PreviousPage 7 of 25Next →