Better HN
topnewbestaskshowjobs
Log inSign up

devnullbrain

1,889 karma · joined Nov 25, 2022 (4y ago) · 747 submissions

Submissions

comment 1y ago · link · parent

>This means, that a function will return an error enum, containing error variants that the function cannot even produce. If you match on this error enum, you will have to manually distinguish which of those variants are not applicable in your current scope

You have to anyway.

The return type isn't to define what error variants the function can return. We already have something for that, it's called the function body. If we only wanted to specify the variants that could be returned, we wouldn't need to specify anything at all: the compiler could work it out.

No. The point of the function signature is the interface for the calling function. If that function sees an error type with foo and bar and baz variants, it should have code paths for all of them.

It's not right to say that the function cannot produce them, only that it doesn't currently produce them.

comment 1y ago · link · parent

I can do better than that. Uninstall it.

It's a 600 MB app and you can log back in using only the iOS password manager. Reinstall it when you need to use it.

comment 1y ago · link · parent

>20 years ago

So while Windows was letting everyone be root?

comment 1y ago · link · parent

Yes. If advice can't be followed, it's probably just bragging.

comment 1y ago · link · parent

It's bad, but it's not impossible. I got an improved offer from one company when I told them I was going to accept another company's offer. And then I accepted the other company's offer, because it was the best move in my career. I've ended up with some surprisingly rare skills that end up being desirable to some niche companies.

So I won the negotiation game with the first company by truly not wanting the job. And I got the rational desired outcome of negotation with the second, by having the right skills and right luck at the right time.

None of us would be feeling pessimistic about our career prospects if we had OpenAI experience.

comment 1y ago · link · parent

Even small claims?

comment 1y ago · link · parent

Rubbing alcohol is also cheap enough that the 'free shipping' is really just being included in the price.

comment 1y ago · link · parent

Archived in 2024

comment 1y ago · link · parent

Valve already failed with Steam Machines. There's not a compelling enough reason for them to split production of the Deck into two divergent streams with lesser economies of scale.

Also, 'just' the deck in a box still needs the same regulatory approval.

comment 1y ago · link · parent

The technical constraint still applies. My keyboard uses ' ' and '-' to represent many different symbols.

comment 1y ago · link · parent

>All this is not to say Google Translate is doing a bad job

Google Translate is doing a bad job.

The Chrome translate function regularly detects Traditional Chinese as Japanese. While many characters are shared, detecting the latter is trivial by comparing unicode code points - Chinese has no kana. The function used to detect this correctly, but it has regressed.

Most irritatingly of all, it doesn't even let you correct its mistakes: as is the rule for all kinds of modern software, the machine thinks it knows best.

comment 1y ago · link · parent

Designing all the slow animations that are required for maintaining the kayfabe of shells that depend on desk analogies.

comment 1y ago · link · parent

I find it surprising that skeumorphism is popular here: the rationale is the opposite of the rationale for power-user desktop UIs.

I suppose it's easy to grok what the newsstand is[1], but I'm not convinced it would matter after the first five minutes.

[1] Because I've seen it in US media, along with the route symbol on the maps icon and the fire hydrants that are in captchas.

comment 1y ago · link · parent

>which is going to be horrible for accessibility

My suspicion is this concern went the same way as DEI/ESG

comment 1y ago · link · parent

>Before Liquid Glass, your least intrusive option was backdrop blur or translucent pastel dimming overlays.

Or an outline, like gameboy emulators have been doing forever

comment 1y ago · link · parent

But that sun has never been a pharoah of Egypt.

If the only common factor is a belief that 'something' created 'something', you're really not saying anything worth evaluating.

comment 1y ago · link · parent

>despite Google solemnly promising that “all existing links will continue to redirect to the intended destination,” it went read-only a few years back, and now they’re finally sunsetting it in August 2025

It's become so trite to mention that I'm rolling my eyes at myself just for bringing it up again but... come on! How bad can it be before Google do something about the reputation this behaviour has created?

Was Stadia not an expensive enough failure?

comment 1y ago · link · parent

No, it isn't restarted! See, all your browser windows are open and in almost the same place. Context? What's that? It always looked like this. You're crazy.

comment 1y ago · link · parent

I don't actually see which guideline it's breaking. It's a serious offer.

comment 1y ago · link · parent

[flagged]

comment 1y ago · link · parent

[flagged]

comment 1y ago · link · parent

In case you missed the 4 places it's made explicit in the graphs, or 'London' in the URL.

comment 1y ago · link · parent

Ok, but so is everyone involved with building the fulfillment centre, the sorting machines, the roads for delivery, the trucks, the railways...

If it sounds like I'm including a lot of jobs, it's because every non-service job in the history of the post-industrial revolution economy has revolved around making things more efficient. Software development is not some uniquely evil domain.

comment 1y ago · link · parent

Web devs are a tiny proportion of the employees needed for e-commerce.

comment 1y ago · link · parent

Same goes for a truck driver, road builder, railway worker, etc.

FWIW, I spent many years as a cashier. It's not something I find inherently more valuable to the world. If we could trust people not to steal, we wouldn't need them.

comment 1y ago · link · parent

So would it be poetic justice when an electrician gets laid off?

comment 1y ago · link · parent

The person the headline refers to is a webdev. What job is that getting rid of?

comment 1y ago · link · parent

This is the message between the lines of much of the anti-dev schadenfreude, but actually spelling it out makes it obvious: it's not true.

Only a minority of dev jobs are automating people out of work. There are entirely new industries like game dev that can't exist without it.

Software development has gained such a political whipping-boy status, you'd be forgiven for forgetting it's been the route to the middle classes for a lot of people who would otherwise be too common, weird or foreign.

1
567
25