HackerLangs
TopNewTrendsCommentsPastAskShowJobs

riwsky

no profile record

Submissions

Show HN: Iosef, an iOS simulator CLI designed for agents

github.com
1 points·by riwsky·4 mesi fa·0 comments

comments

riwsky
·9 giorni fa·discuss
HLA
riwsky
·21 giorni fa·discuss
A much better test, which dynamically adjusts difficulty level: https://www.myvocab.info/en
riwsky
·2 mesi fa·discuss
git let me make changes to local files without fear, since version control let me undo those changes easily.

jj let me make changes to my git commits without fear, since version control of the git state itself let me undo those changes easily, too.
riwsky
·2 mesi fa·discuss
That’s, uh, exactly how jj works!
riwsky
·2 mesi fa·discuss
I’ll just leave this here: https://www.businessinsider.com/grok-ai-elon-musk-is-more-fi...
riwsky
·3 mesi fa·discuss
With jj worktrees, you can even have agents working on each of those sub-megamerge branches in parallel.
riwsky
·3 mesi fa·discuss
My gRPC point is that it already gives you a language for describing interfaces and support for generating client types from it, and already abstracts the connection management[1]. If OBI just generated a gRPC ClientConn implementation to map the Invoke calls to eg REST paths, it’d inherit the large existing gRPC client ecosystem. That ClientConn interface can already technically capture what OBI calls binding executors. People don’t do this though because it’s not worth it.

[1]: https://github.com/grpc/grpc-go/blob/06fc26a196350499dd0cf2d...
riwsky
·3 mesi fa·discuss
You’re still not getting it. Duck typing comes from the phrase “if it looks like a duck, and quacks like a duck, then it must be a duck”. The Wikipedia page contrasts it with nominative typing that requires a declaration, and calls out that duck typing does not need the adapter pattern. What you are calling duck typing is just “interfaces”.

Also “tasks.create” is morally a route. Eg grpc has web transports and autogenerated CLIs too; even without those, there’s no particular reason why the OBI “client layer” couldn’t just be, say, gRPC under the hood, with the OBI specs just being used to codegen adapters from the source protocol to gRPC. It would then immediately have a much more widely understood and supported client layer, with better performance, while remaining as simple to implement as the adapters to this new custom OBI runtime protocol.
riwsky
·3 mesi fa·discuss
Artificial intelligence predates computers.
riwsky
·3 mesi fa·discuss
Ad-hoc duck typing—“if it looks like a duck[…]”—is the only kind that exists! The point of the term “duck typing” is that it doesn’t require explicit declaration of the contract by implementers, it’s not synonymous with polymorphism or with interfaces in general. Haskell type classes are not duck typed, nor are Swift protocols; Go interfaces are.

OBI is a boilerplate generator for the adapter pattern for service communication; its contracts are just another set of their own paths, payload shapes, and protocols. The distinction between “protocol” and “contract” in this context is nonsense.
riwsky
·3 mesi fa·discuss
The web IS the duck typing equivalent at the network boundary! That’s why plenty of alternative service providers can and do implement eg object storage APIs that work with aws s3 client libraries, or LLM APIs that work with Claude Code. The reasons these use cases are standardized (while others remain fragmented) are economic, not technical (lock-in isn’t as profitable for these alt services as raw adoption)—and so a purely technical solution like this is unlikely to address the crux of the problem.

Even purely on the technical level, this seemingly hasn't internalized the lessons of https://xkcd.com/927/
riwsky
·3 mesi fa·discuss
Might makes right; brains hold reigns.
riwsky
·4 mesi fa·discuss
Sure—but that’s a property of the inferred types moreso than the mere application syntax. It can be hard to revisit or understand the type of JS or unannotated Python expressions, too—but unlike those cases, the unknown-to-the-reader type of the Haskell code will always be known on the compiler/LSP side.
riwsky
·4 mesi fa·discuss
The functional programming take is that “the result of foobinade-ing an and b” IS “foobinade applied to two of its arguments”. The application is not some syntactic pun or homonym that can refer to two different meanings—those are the same meaning.
riwsky
·4 mesi fa·discuss
cries in google wave
riwsky
·5 mesi fa·discuss
In fairness to the skill author, this is indeed what Elon did to the US government with DOGE
riwsky
·5 mesi fa·discuss
Am I the only one who finds this material rather dense?
riwsky
·5 mesi fa·discuss
1. The collaboration and notation app for rock bands that I’d wished existed already: https://bandwith.rocks/about

2. A “runtime scheduler for humans” that I wished existed, too (think morning routines, travel checklists, and pomodoros in the same abstraction—but also a lot of support for ad-hoc rearrangement and addition of the task queue).
riwsky
·5 mesi fa·discuss
I agree that the font and emoji hops aren’t great for complexity or performance, but the problem in the post was in the rendering of a tiny SVG; serving it directly would not have avoided the problem.
riwsky
·5 mesi fa·discuss
Damn, wait: you mean the random HN commenter didn’t magically solve a difficult problem that has long-confounded experts, simply by bringing their unique insights and thirty seconds to bear?