HNHacker News
TopNewBestAskShowJobs

mseepgood

3,799 karma · joined June 2, 2012

submissionscomments
mseepgood··on Go 1.27
"May well be added at some point" it said and added they were at some point.
mseepgood··on Go 1.27 Interactive Tour
It's not good Go code anyway. In Go you would use a for loop. Just because Go has generics nowadays doesn't mean you should abandon good taste and write ML/Haskell/Rust/C# in it.
mseepgood··on How to Exist
Isn't that just how one falls asleep? I've been doing this every evening for decades.
mseepgood··on Unauthorized alert sent to cell phones across Brazil
Of all the messages they could have sent they chose the most boring.
mseepgood··on Timmy the Whale Released After Being Stranded Off the German Coast for Weeks
He's probably dead by now.
mseepgood··on When Dawkins met Claude – Could this AI be conscious?
> It seems to me that humans often fall into the trap of anthropomorphism.

That's true, but they also often fall into the trap of exceptionalism.

mseepgood··on Sunsetting the Techempower Framework Benchmarks
This text lacks information about why it is being sunset.
mseepgood··on Almost a third of Gen Z men agree a wife should obey her husband
A third that will never have a wife.
mseepgood··on Blood test boosts Alzheimer's diagnosis accuracy to 94.5%, clinical study shows
> We would immediately build better telescopes to track it precisely, refine its trajectory models, and begin developing propulsion systems capable of interception

That's not what would happen. We wouldn't mobilize. We'd fragment. Within days, the prediction would be declared partisan. One bloc would call it settled science; another would call it statistical hysteria. Billionaires would quietly commission private shelters while publicly funding studies questioning whether the asteroid even qualified as "large." News panels would debate whether the projected impact zone was being unfairly politicized. Conspiracy channels would insist the asteroid was fabricated to justify global governance. Others would insist the real asteroid was being hidden. Amateur analysts would flood the internet with homemade trajectory charts proving the professionals wrong. Death threats would arrive in astronomers' inboxes faster than research grants.

mseepgood··on Turn Dependabot off
With a statically compiled language it is usually culled through dead-code elimination (DCE), and with static linking you don’t ship entire libraries.
mseepgood··on Building a TUI is easy now
The question is how many decades each user of your software would have to use it in order to offset, through the optimisation it provides, the energy consumption you burned through with LLMs.
mseepgood··on Italy Railways Sabotaged
Our railways don't need sabotage - trains fail to run anyway.
mseepgood··on CSS now has an if() conditional function
So why do people still design declarative languages?
mseepgood··on Go's Sweet 16
> Octals must start with zero and then o/O literals.

No, the o/O is optional (hence in square brackets), only the leading zero is required. All of these are valid octal literals in Go:

0600 (zero six zero zero)

0_600 (zero underscore six zero zero)

0o600 (zero lower-case-letter-o six zero zero)

0O600 (zero upper-case-letter-o six zero zero)

mseepgood··on Go's Sweet 16
You're looking at the wrong production. They are octal literals:

    octal_lit      = "0" [ "o" | "O" ] [ "_" ] octal_digits .
mseepgood··on It’s not wrong that "\u{1F926}\u{1F3FC}\u200D\u2642\uFE0F".length == 7 (2019)
The values for x and y should't come from your brain, though (with the exception of 0). They should come from previous index operations like s.indexOf(...) or s.search(regex), etc.
mseepgood··on The Daily Life of a Medieval King
Delegation is key
mseepgood··on The daily life of a medieval king
So he only did four hours of actual work per day.
mseepgood··on MCP: An (Accidentally) Universal Plugin System
Is it some kind of CORBA?
mseepgood··on Prompt engineering playbook for programmers
You don't even have to write proper sentences. "me get error X how fix here code:" usually works.
mseepgood··on Prompt engineering playbook for programmers
Is asking good questions or making clear requests what people now refer to as 'prompt engineering'?
mseepgood··on (On | No) Syntactic Support for Error Handling
The second most popular issue was adding generics. So it's probably not a resistance to change.
mseepgood··on (On | No) Syntactic Support for Error Handling
> sometimes a decision is better than nothing

Not in this case. The most popular Go proposal/issue of all times was 'leave "if err != nil" alone': https://github.com/golang/go/issues?q=is%3Aissue%20%20sort%3...

mseepgood··on (On | No) Syntactic Support for Error Handling
It's good to have languages with different approaches to design and and with different design philosophies.
mseepgood··on (On | No) Syntactic Support for Error Handling
- It has poor visibility, it hides control flow branches in a single statement / expression. That's one of the reasons Go got rid of the ternary operator in favor of an if statement where each branch has to be on its own line.

- It isn't easily breakpointable.

- It favors "bubbling up" as-is over enriching or handling.

mseepgood··on (On | No) Syntactic Support for Error Handling
One reason I consider Rust's approach worse than Go's.
mseepgood··on (On | No) Syntactic Support for Error Handling
How would you set a breakpoint on the error return case?
mseepgood··on (On | No) Syntactic Support for Error Handling
Sometimes doing nothing is the right thing to do. (Quote from Until Dawn)

Go chose not to change the error handling - Nature remained in balance.

mseepgood··on Plutonium Mountain: The 17-year mission to guard remains of Soviet nuclear tests (2013)
Or the 2006 London incident, where a Putin critic was irradiated by a radioactive source in his stomach.
mseepgood··on What were the MS-DOS programs that the moricons.dll icons were intended for?
They were composed by Ennio Moricons.
Page 1 of 34Next →