HNHacker News
TopNewBestAskShowJobs

manoDev

7,576 karma · joined January 28, 2012

submissionscomments
manoDev··on That Secret Service SIM farm story is bogus
[flagged]
manoDev··on South Korea's President says US investment demands would spark financial crisis
If you think being an US antagonist is bad, try being an ally.

South Korea, Japan, Philippines, are all proxy states and hostages to the US defense budget.

manoDev··on How can England possibly be running out of water?
Seems fitting, considering it’s the birthplace of liberalism.
manoDev··on Kenvue stock drops on report RFK Jr will link autism to Tylenol during pregnancy
There is a “better” painkiller than both Tylenol and Ibuprofen (Metamizol), but it has been forbidden on the US based on a study attributing strong side-effects to it, despite it being freely available over the counter on multiple countries for decades without issue.

If this study is true, it should be easy to compare prevalence of autism on these countries that don’t rely on Tylenol.

manoDev··on A Navajo weaving of an integrated circuit: the 555 timer
This is the kind of thing that can start conspiracy theories of time travelers :)
manoDev··on 996
> 996 for a business owner or top exec at a big company? It’s the norm. And the risk-reward makes sense to them.

It's bad anyway. These people burnout and start making dumb moves to bail out sooner.

manoDev··on Survey: a third of senior developers say over half their code is AI-generated
> I tend to begin asking for an empty application with the characteristics I want (CLI, has subcommands, ...) then I ask it to add a simple feature.

That makes sense, as you're breaking the task into smaller achievable tasks. But it takes an already experienced developer to think like this.

Instead, a lot of people in the hype train are pretending an AI can work an idea to production from a "CEO level" of detail – that probably ain't happening.

manoDev··on Survey: a third of senior developers say over half their code is AI-generated
“AI” is great for coding in the small, it’s like having a powerful semantic code editor, or pairing with a junior developer who can lookup some info online quickly. The hardest part of the job was never typing or figuring out some API bullshit anyway.

But trying to use it like “please write this entire feature for me” (what vibe coding is supposed to mean) is the wrong way to handle the tool IMO. It turns into a specification problem.

manoDev··on Do the simplest thing that could possibly work
The Principle of Least Action as well.
manoDev··on AI’s coding evolution hinges on collaboration and trust
Not a joke.

Proofreaders still exist, despite spell checker. Art assistants still exist, despite Photoshop. There's always more work to do, you just incorporate the new tools and bump the productivity, until it gets so commoditized it stops being a competitive advantage.

Saying AI "replaces" anyone is just a matter of rhetoric to justify lower salaries, as always.

manoDev··on AI’s coding evolution hinges on collaboration and trust
I'm tired of the anthropomorphization marketing behind AI driving this kind of discussion. In a few years, all this talk will sound as dumb as stating "MS Word spell checker will replace writers" or "Photoshop will replace designers".

We'll reap the productivity benefits from this new tool, create more work for ourselves, output will stabilize at a new level and salaries will stagnate again, as it always happens.

manoDev··on China is eating the world
China's population is 4.2x larger than the US. If they concentrate in developing their own country and creating an internal market, they'll do well.

Meanwhile, US development strategy post-WW has been 100% based on projecting military [1], political [2] and economic [3] power on a global scale.

So war isn't just "spending", but trading off investment on your own country vs. extracting value from somewhere else. That's how you get large defense funding but not public health care.

[1] https://www.visualcapitalist.com/mapped-every-known-u-s-mili...

[2] https://en.wikipedia.org/wiki/United_States_involvement_in_r...

[3] https://en.wikipedia.org/wiki/Bretton_Woods_system

manoDev··on US attack on renewables will lead to power crunch that spikes electricity prices
The artificial energy supply shortage caused by this prohibition will be a great excuse to invade another oil-rich country. The current administration has already demonstrated Venezuela is next in line.
manoDev··on AGI is an engineering problem, not a model training problem
Right now, we just did the equivalent of a tech demo of Broca's area.

AGI would take making at least one full brain, and then putting many of those working together, efficiently.

I don't believe we can engineer our way out of that before explaining how the f. the wetware works first.

manoDev··on Why you can’t grow cool-climate plants in hot climates
This graph isn’t telling the history you think it does…

China’s population is 4x times the US, and still, total emissions are a little over 2x — and that’s ignoring the outsized impact from exported goods.

manoDev··on Why you can’t grow cool-climate plants in hot climates
“Horse and buggy”. How dramatic.

If at least the US got in line with the rest of the world, we would be half-way there.

https://ourworldindata.org/grapher/co-emissions-per-capita

The problem is not the 8 billion people, is the handful that have an disproportionate impact.

manoDev··on Vibe Debugging: Enterprises' Up and Coming Nightmare
AI makes it quicker and cheaper to ship something. The problem with most companies is shipping the wrong thing.

VCs hope that with AI they can have a larger portfolio, shipping more things, so that by sheer luck, one is a success. That's why many employees are critical of the AI hype while VCs and C-level love it. The whole discussion about maintainability doesn't even register on the radar, employees vs. VCs and C-level are operating at a different definition of "failure".

manoDev··on Show HN: OS X Mavericks Forever
That was the golden era of Mac. The OS was fast, and Apple software didn’t suck (I still miss Aperture).
manoDev··on Do things that don't scale, and then don't scale
Yes – but when people say "AI", most often they are talking about the latest OpenAI/Claude development.
manoDev··on Do things that don't scale, and then don't scale
> The cost to build is so low now.

The cost seems deceivingly low right now because those AI companies are fighting for monopoly, but in reality the cost is huge – not only capital, but also trust, privacy, and environmental.

manoDev··on Architecting large software projects [video]
That’s not how I read “Don't ever implement good-enough-for-now APIs”.

Requirements _may_ change, but it’s much harder to have consumers move to a new API. Once it’s published, it’s a contract you don’t want to break.

That doesn’t mean you need to design an extremely flexible and future-proof API to the point it stops making sense — it’s a false dichotomy.

What you can do is take your time designing an API that still makes sense as long as possible, until your understanding of the domain has changed so much that it’s a different shape altogether.

Throwing your hands up and saying “it’s impossible” is easy, the art is in figuring out how much has to change until you have to say that.

Design is a game of push-pull between context and form, and you can add tolerances both ways.

manoDev··on OCaml as my primary language
I don't find the ADT and matching part weird, but rather everything else (as mentioned).
manoDev··on OCaml as my primary language
I'm sure there's merit to the language, but the syntax seems absolutely alien to me. Some attempt to look like verbose imperative code, a bunch of semicolons, and for some strange reason, hate of parenthesis.

Real life sample:

    let print_expr exp =
        (* Local function definitions *)
        let open_paren prec op_prec =
          if prec > op_prec then print_string "(" in
        let close_paren prec op_prec =
          if prec > op_prec then print_string ")" in
        let rec print prec exp =     (* prec is the current precedence *)
          match exp with
            Const c -> print_float c
          | Var v -> print_string v
          | Sum(f, g) ->
              open_paren prec 0;
              print 0 f; print_string " + "; print 0 g;
              close_paren prec 0
          | Diff(f, g) ->
              open_paren prec 0;
              print 0 f; print_string " - "; print 1 g;
              close_paren prec 0
          | Prod(f, g) ->
              open_paren prec 2;
              print 2 f; print_string " * "; print 2 g;
              close_paren prec 2
          | Quot(f, g) ->
              open_paren prec 2;
              print 2 f; print_string " / "; print 3 g;
              close_paren prec 2
        in print 0 exp;;
A function is defined as:

    let print_expr exp =
That seems pretty hard to read at a glance, and easy to mistype as a definition.

Also, you need to end the declaration with `in`?

Then, semicolons...

    open_paren prec 0;
    print 0 f; print_string " + "; print 0 g;
... and even double semicolons ...

    print 0 exp;;
That looks like a language you really want an IDE helping you with.
manoDev··on Coalton Playground: Type-Safe Lisp in the Browser
OP: You might want to check, a bunch of examples after "maybe monad" are broken.
manoDev··on We are all mercantilists now
This isn't an example of them not knowing what tariffs are. This is an example of the rhetoric they're using to convince the voter.
manoDev··on Use Your Type System

    > In any nontrivial codebase, this inevitably leads to bugs when, for example, a string representing a user ID gets used as an account ID
Inevitably is a strong word. I can't recall the last time I've seen such bug in the wild.

    > or when a critical function accepts three integer arguments and someone mixes up the correct order when calling it.
Positional arguments suck and we should rely on named/keyword arguments?

I understand the line of reasoning here, but the examples are bad. Those aren't good reasons to introduce new types. If you follow this advice, you'll end up with an insufferable codebase where 80% LoC is type casting.

Types are like database schemas. You should spend a lot of time thinking about semantics, not simply introduce new types because you want to avoid (hypothetical) programmer errors.

"It is better to have 100 functions operate on one data structure than to have 10 functions operate on 10 data structures."

manoDev··on The United States withdraws from UNESCO
That’s a very naive reading, pretending all that is happening is because of Twitter flame wars.

It may appear so, because that’s how the actors involved use social media, but it’s not caused by it.

manoDev··on MacPaint Art from the Mid-80s Still Looks Great Today
These seem to be made by artists trained on traditional drawing. All drawings show knowledge of cross-hatching or pointillism, correct use of values, perspective, and so on. That’s why it looks great today, these qualities are independent of how advanced the digital medium of the time was.
manoDev··on Apple violated antitrust ruling, judge finds
The "bean counters" always win in the current state of affairs.

The pressure of the financial capitalism on the industrial capitalism is too high. Any company that produces anything is eventually forced into rent-seeking to keep delivering what has come to be expected YoY growth. C-level that won't let that happen will see the way out.

manoDev··on I passionately hate hype, especially the AI hype
LLMs can’t do anything for my work besides being an alternative to Google, and even then I need to double check on another source.

You get a lot of positive reinforcement from positive opinions online, but the people who don’t depend on this to work won’t be vocal about it.

← PreviousPage 8 of 9Next →