Better HN
topnewbestaskshowjobs
Log inSign up

kaoD

4,665 karma · joined Feb 16, 2013 (13y ago) · 1,963 submissions

Feel free to reach out to me at hn@kaod.me

Or just reply to my comment publicly, I'll get notified via https://www.hnreplies.com

Submissions

comment 5d ago · link · parent

Look, I understand where you're coming from, but we just know "Won't somebody please think of the children?!" will (as always) be used to arbitrarily limit our freedoms.

comment 6d ago · link · parent

This was deranked suspiciously fast.

9hrs and >400 points, and yet it's sitting in page 3 with >24hrs and <100 point submissions.

Weird.

comment 1w ago · link · parent

It's 2AM in San Francisco. I bet the response team is still waking up from the PagerDuty alarms.

EDIT: status page now shows the incident. The engineers arrived at their laptops.

I don't envy them. Good luck folks!

EDIT2: wow that was a quick fix.

EDIT3: aaaaaaand it's gone again.

comment 2w ago · link · parent

I've read this 3 times and I think OP's question still stands. How is AI winner-take-all and not just a commodity market?

> Now, lets say there are 5 companies competing to be the winner. Only one can be the winner, [...].

Here you just stated what a winner-take-all market is, in the problem statement? Why can only one be the winner in AI's case? Even better: why can't they all be the losers if they spend as if this was a winner-take-all market? If one of the players suspects that's not the case, isn't it wise for them not to play the game as stated? What if ROI is logarithmic? What if the losing competitors go open source?

I have so many questions.

Is this a spherical cow?

comment 2w ago · link · parent

I never liked currying. It feels more theoretically elegant than practically useful.

IMO it is hard to read (unless you're very familiar with the functions at hand), produces type errors that are not easy to follow (oops, I forgot the last arg), and is too rigid (I often need to partially apply arguments in non left-to-right order).

I never understood why partial application via "slots" isn't more common though (I just made up the term, not sure if this has a name). Like Clojure's:

    #(f %2 "foo" %1 "bar")
    ;; same as
    (fn [a b] (f b "foo" a "bar"))
Does Gleam have something like that?

comment 2w ago · link · parent

Maybe I can understand better with an actual example? I might just be biased by React's mindset, but I've always considered two-way binding (and any non-unidirectional data flow) a mistake, and it has only brought me pain and sorrow.

In other words: the patterns I use outside of Rust are also Rust's happy paths (on paper, maybe I'm just missing something?)

(For clarity: I'm talking of userland here. I assume that's what OP meant by "UX" -- I agree with your "big runtime" point, but that's why my RAM is filled by Electron apps.)

comment 2w ago · link · parent

> Parent/child and handler/emitter relations are very common. You can work around it, but unnaturally.

I think this is where we disagree.

If your UI data flow is not unidirectional, that's a problem you brought yourself into, Rust or not.

For reference: I don't do my UIs in Rust, but the language is not the reason why, and I still use unidirectional data flow even on GC'd languages.

> Because the 'best' language for JSON is obviously Javascript/Typescript

As a TypeScript fan (it's my main language)... ser/de sucks in TS and IO boundaries are most of my pain points with it. My top 2 things that I miss from Rust are: (1) serde/rkyv (2) affine types. Zod has been great but it's still miles behind a proper ser/de library.

And yet I still can't see how JSON is relevant for UIs.

comment 2w ago · link · parent

> Rust is less well suited to UX than other langauges - tree based data structures, a lot of ugly state, event driven, heavily async, and naturally all of the json and other things that come in at that layer don't have 'very nice' libraries.

Can you elaborate? I don't see anything there that is hard for Rust per se:

- Tree-based data structures are just the bread and butter of Rust as long as they are not cyclic, but arguably you shouldn't be declaring your UI with cycles at all.

- Ugly state is exactly what Rust was made for. It forces you to tame the ugly state instead of hacking at it and hoping it works.

- Event driven and heavily async are neither a Rust strength nor a weakness (some would say it's actually a strength but IMO there are tradeoffs). Actors and message passing are one of the many patterns that Rust is fantastic at.

- And I don't see how JSON is relevant to UI, but JSON is not only "solved" in Rust but the best ser/de libraries I've ever used are in Rust.

Rust gets cumbersome with hyper-connected or hyper-shared ownership (think e.g. inodes in a filesystem) where you have to sidestep the borrow checker... but UIs are inherently hierarchical.

Yes, Rust doesn't fit the traditional OOP cycle-connected "widget" model where a textbox "knows" about its sibling button, and the button "knows" about its sibling textbox. Turns out that that model sucks, and that's why everyone fled to React and other saner models even without Rust's constraints.

Maybe I'm just biased by the React mindset (unidirectional data flow), but I've never been happy with any other UI paradigm so I consider that an advantage.

comment 2w ago · link · parent

I agree but I think was also because Java didn't have sum types (or still doesn't? years I haven't read Java) and rethrowing is super easy, while Rust kinda nudges you into the right direction (if you need to rethrow at all, think if you want to rethrow verbatim or wrap with a semantic error type).

Right idea at the wrong time.

comment 3w ago · link · parent

What does this enable an attacker to do exactly? RCE? DoS? Unknown?

comment 1mo ago · link · parent

Not to mention the very prominent "$0 PDF to MP3".

comment 1mo ago · link · parent

It was localized with the name Humor Amarillo ("Yellow Comedy").

I know...

comment 1mo ago · link · parent

8 years is not super old, or even old. It's important to understand software maturity cycles for core components.

comment 1mo ago · link · parent

Spanish from where? Here (Castilian Spanish) it seemed to work fine.

comment 1mo ago · link · parent

That's the best case scenario and already looks like crap. If that looks sane to you, I don't know what to say.

Make it have an initial count via attributes, sync it with the DOM so if the attribute changes the count resets, and make the JS property always match the attribute (and vice-versa) so it behaves sanely. You're in for a world of pain even for something as simple as this.

Plus they're not declarative: you will only make me use innerText-based updates by threatening me and my family.

Plus they only work with JS enabled, while I can use JSX in SSR.

I've worked extensively with Web Components. They suck.

comment 1mo ago · link · parent

By "it" you mean Turso? Maybe you can help since I don't understand what they offer. What does Turso do that SQLite doesn't?

comment 1mo ago · link · parent

Absolutely not my experience. I've been a long time Claude user and at work people slowly started using Claude too. I canceled Claude for my personal account due to the Astra hype, but I'm back after a single month and the absolutely ridiculous context window is one of the many reasons.

I barely compact at work in a very complex monorepo (neither with Fable 5.1 nor Opus 5.5), and yet in my personal greenfield project Astra keeps compacting all the time, to the point of it being unusable.

comment 1mo ago · link · parent

1. You're lumping distinct groups of people. This is Hacker News but "hack" often in the sense of "growth hacking", not in the "hacker manifesto" sense.

2. Even in that case, people might just be demanding equal justice. If I make information free I might get jailed. Regardless of my moral framework.

comment 2mo ago · link · parent

> token inefficient to have it write code

It does not write code. It just calls my tool.

But I see your other points though.

comment 2mo ago · link · parent

> MCP is just Tool Use

I wish. https://modelcontextprotocol.io/specification/2026-07-28

comment 2mo ago · link · parent

I guess someone could expose the coding environment via MCP.

comment 2mo ago · link · parent

Skills are not only Markdown files. I often structure my skills as small Python scripts and the actual Markdown is only the skill front matter and maybe some brief documentation. You can even stick an OpenAPI schema or whatever you see fit.

If you often need timezone conversion, sounds like a `timezones` skill exposing a few lines in a Python script. Boom. No MCP needed. No server needed. It's just files, all the way down. If you find yourself operating with dates a lot maybe you need a `datetime` skill wrapping a bunch of tiny scripts. Fully deterministic, cheap on tokens, and you can even run them without an agent (shocking nowadays :P)

As I identify repetitive actions I add (Claude adds) new scripts to the Skill to save tokens in the future, whereas MCP I'm at the mercy of the server provider. E.g. I have a Magic the Gathering skill with a bunch of tools to retrieve card databases, simulate hands, get card images...

This article enlightened me: https://mariozechner.at/posts/2025-11-02-what-if-you-dont-ne...

This is why I don't feel Skills are orthogonal. They feel like MCP on steroids since the scripts can be composed with Bash et al (huge battle-tested ecosystem, plenty in the training set)... and you don't need crappy abstractions like "resources" (yes, that's a thing in MCP) when the agent has a shell and a filesystem.

I've used this pattern to great success. Nowadays I just share these `.skill` packages with my friends (I think they're just a fancy ZIP file?)

The only thing missing for me is credentials and sandboxing (see my GP post). I have my own ideas on how to solve this (and some of that Claude in cloud already solves for me), but it's not easy (which is how MCP won).

comment 2mo ago · link · parent

All of that can be solved in better ways than MCP. 1+2+4 belongs to sandboxing. 3 to sandbox UIs. Ideally baked into the next generation OSs.

MCP is the wrong abstraction for all of that. Skills are better as pluggable interfaces, and I predict[0] chat and agentic loops will converge eventually (Anthropic already did this correctly; OpenAI, it's your turn) and skills marketplace will replace MCP in its current form.

I see value in MCP, but it feels like a stopgap/stepping stone.

[0] Where "predict" = "hope". The best solutions are often not the winners.

comment 2mo ago · link · parent

> What i dont understand is why does everything have to be so brief

Computers used to have very little memory and processing power, and screens had very low pixel density so line width was not that big. Then you have to deal with the baggage 50 years later.

Modern Lisps have the luxury so they use head/tail or first/rest.

comment 2mo ago · link · parent

> it may be that my point of view is too narrow

Not sure if you're just being polite but, in case you're doubting, functional languages make that distinction too.

Haskell has `Data.Vector.Vector` vs `Data.Vector.Mutable.MVector`.

Clojure has `transient`.

OP is just mistaken.

comment 2mo ago · link · parent

> Mutability is a property of variable, not of a value. [...] This has nothing to do with whether it can be reassigned (i.e. mutability).

I feel like you're using "mutable" too narrowly, as it's used colloquially in some programming languages. E.g. in JS, MDN itself talks about "reassignment"[0] and not "mutability" even though people often use "mutability" as a word to refer to the distinction between `const` and `let`. The only mention of mutability there is:

> Others may prefer `let` for non-primitives that are mutated

I.e. explicitly using `let` for mutated arrays, even if not reassigned, to make the signal mutability (which JS cannot express).

Note that you used "reassignment" which is the specific word for "mutating a binding", but the article is not referring to bindings at all.

[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

comment 2mo ago · link · parent

You might want to start by explaining what AIM is?
12345
66