HNHacker News
TopNewBestAskShowJobs

wannabe44

152 karma · joined April 21, 2023

submissionscomments
wannabe44··on Go is an ideal language for AI-assisted software engineering
People don't understand exceptional control flow. They think they have to catch them at every point, instead of using them as intended (having a central boundary of error handling where you have enough context whether to retry or abort the operation). So they think Go errors are better.

With exceptions you can

1. Set exception breakpoints.

2. Have real stack traces.

3. No need to write 3 lines of boiler plate every 1 line of code which interacts with outside world.

Ironically this is the case in Go's niche - devopshit, cloud webshit - where the boilerplate error handling makes even less sense since because

1. You are making a network call or OS interactions every 2 lines which can err

2. The consequences of an unhandled exception are actually quite less severe. At worst your request will 500 or the application will restart - which is a consideration you can't escape in these environments.

3. I have seen indiscriminate error handling written by substandard developers which simply concatenates the full wrapped error string to API, leaking full details. At least with exceptions, you can designate different types of exception for 404s vs ayth errors vs bad requests vs Internal errors, and have a central handler which filters out. In go theoretically you can do this, but I have never seen someone utilize errors.As over stringy error handling.

I like Go - it has nice stdlib, nice compiler and runtime, and actually dared to innovate away from the fat-ass LLVM monoculture and made green threads popular. But error handling and uninitialised values sticks out like a sore thumb. It's impossible to read code which does many API/network/OS interactions.

wannabe44··on Go is an ideal language for AI-assisted software engineering
I want to ignore Naysayers in the thread but even SOTA LLMs write boilerplate like it is Go 1.14. I have to constantly nudge it to use newer language features properly, even if it's also in my rules/ CLAUDE md files.
wannabe44··on Show HN: Mcptoon – Token-efficient MCP CLI client
I like to know the average age of accounts which upvoted this post.
wannabe44··on Show HN: Mcptoon – Token-efficient MCP CLI client
Oh it is not returning full tool schema. You can't cut down that much by serialisation alone.
wannabe44··on Half of Europe's towns and villages have fewer residents than 60 years ago
And urban civilizations eventually collapse?
wannabe44··on Show HN: Mcptoon – Token-efficient MCP CLI client
I am not going to trust a single number thrown by these AI hustlers written in that salesman voice.

Leave alone 97%.

> Your agent calls 20 tools. Each returns 500-3,000 tokens wrapped in {"content":[{"type":"text","text":"..."}]}.

This is a problem with your tool design. Most MCPs are fully vibe coded without any thought about tool selection.

> On a 128K context window, that's 30-55% gone. Not on work. On syntax.

Tool output is not "syntax" you donkey clanker.

Again, use the code approach, let the LLM filter out the JSON using tools. This TOON thing is just vibes. Most of the time your tool output should not even be JSON. It should be well formatted markdown. In cases where it's large structured data, your LLM should have tools (code / jq) to dissect it. So TOON is pointless.

wannabe44··on The Philippines' big offshoring industry is growing despite AI
I presume they organized some cringe dances and cultural programme when GP visited, which might have led the GP to conclude that these people live great WLB.
wannabe44··on DeepSeek costs OpenCode Go user $1.14/day; dual DGX breaks even in 24 years
The RCE vulnerability drama made me never touch it, in any case.
wannabe44··on Mistral Patent for "Code implemented tool calls"
I come up with at least two ideas like this every time I sit down in the toilet to poop.
wannabe44··on The Philippines' big offshoring industry is growing despite AI
> great work life balance

Oh dear

wannabe44··on How I use LLMs to learn complex topics
No, they're just trained to impress the C-suite motherfuggers with dense vocab.
wannabe44··on What's the largest software project AI can complete on its own?
That makes it sound like a PM problem. The hardest part is building the mental model which doesn't crumble. I have worked with humans who had the same failure modes as LLMs.
wannabe44··on Go 1.27 Interactive Tour
Native compilation which is fast enough, green threads, AST and analysis framework, in-built testing and profiling, call graphs, rewrite tooling (go fix), go.work and modules which are far better than maven / gradle mess. There's a good amount of rigour applied to Go tooling that it "just works", even as horrendous the language is.

I agree java is good too, except spring boot manages to undo all the engineering that has gone to Java.

wannabe44··on The AI Productivity Gap
> no patience for working through hard problems with others, and can’t break down vague requirements into tangible action items.

These are very convenient and vague enough excuses to single out whoever honestly says your architecture is stupid.

wannabe44··on Don't be a meat proxy
To add, less articulate and somewhat overtly anti-intellectual. Why even learn something when you can ask the slot machine?
wannabe44··on Why we write our own C and C++ inference engines
It's always hyping up something and throwing punch lines in every sentence. Normies love this shit.
wannabe44··on Adding Go's Defer to the TypeScript Compiler
A (lexically-scoped) defer is a more general than a finally block. You can express finally-block semantics using defer.

It's also more exception-safe when you have more than one throwing call in the try block.

wannabe44··on Go 1.27 Interactive Tour
Map/Filter/Reduce is a bad example for an imperative language. But look at slices and maps packages, or the new proposal for container types. There are many good examples how generics are like salt to food. Another example is errors.AsType.
wannabe44··on Go 1.27 Interactive Tour
Sure it's a bad example. But you can't simplify something like this without losing type safety:

    SortBy[T, K comparable](slice: []T, key: func (T) K)
wannabe44··on Go 1.27 Interactive Tour
In terms of tooling, Go is one of the few languages which remembers that we are in STEM.
wannabe44··on What liberal arts education is for (2024)
Good that you asked, I found even worse wastages of your taxpayer money.

https://scholarspace.manoa.hawaii.edu/items/1d69a970-812a-43...

Or let's talk about our own field:

https://www.felienne.com/archives/8470

Everyone knows how ridiculous anti-science, anti-logic, and anti-progress propaganda has gotten. Anyone arguing otherwise is engaging in bad faith rhetoric.

Aside- the right had all the chances to be the side of science and logic, given how left-liberals deny genetics and realities of evolution. Alas, they have worse issues.

wannabe44··on What liberal arts education is for (2024)
Everyone knows the humanities departments are bastions of certain types of propaganda. Either you're naive or engaging in bad faith rhetoric.
wannabe44··on What liberal arts education is for (2024)
Nietzsche, Norse havamal, Greek epics and the Vedas of India did teach me some critical thinking skills on how we take certain types of morality and virtue for granted in the current society.

All this critical thinking runs opposite to the monoculture of liberal arts departments. Anyone would be better of studying them by themselves.

wannabe44··on Golang proposal: container/: generic collection types
Comprehensions are way cleaner and more optimizable for the common case.
wannabe44··on Why We're Dropping Basecamp (2023)
That makes it even more interesting. There are now two possibilities.

1. Most business leaders have quietly turned "anti-woke" because of the performative and loud rhetoric, and DHH considered this before publicly airing his position.

2. Most businesses don't give a F.

wannabe44··on What liberal arts education is for (2024)
> The humanities are what tells you whether to build a bomb or a bridge etc.

That's just the justification they give for their existence. You neither need not count on someone who wrote a thesis on 'feminist perspective of aztek dance' or some nonsense like that.

The only reason humanities departments are this big today is because of the biological waste who can't make it to STEM or any other useful profession. If we limit humanities to classicists, linguists etc... whose work is actually rigorous and not just peddling political nonsense, humanities would not have such a bad rap.

wannabe44··on Golang proposal: container/: generic collection types
Map function leads to poor code in Go. Function literals are verbose and inlining is far less agressive. It simply isn't the way of the language. Even python shuns map and filter in favor of comprehensions. A for loop is more readable than the lambda soup.
wannabe44··on OpenJDK Interim Policy on Generative AI
I would be interested to hear the lore.
wannabe44··on GCC steering committee announces AI policy
And forget it after the "demonstration".
wannabe44··on 2x, not 10x: coding with LLMs in 2026
Have you worked with codebases where people produced slop even before LLMs? In such codebases LLMs are a godsend. They can churn around huge amounts of code and find needles in the haystack.
← PreviousPage 4 of 5Next →