Better HN
topnewbestaskshowjobs
Log inSign up

hosh

5,757 karma · joined Sep 25, 2011 (15y ago) · 2,907 submissions

Things you will never find on Google:

    功夫 (arete)
    意  (impeccable intent)
    忍  (perseverance)
    武德 (virtue)
    無心 (zone)
    道  (flow)
[ my public key: https://keybase.io/hosh; my proof: https://keybase.io/hosh/sigs/0MmCPweqpVoIwTqxI7XJVZ_FPekkWb_SoH6-TzBi7UU ]

Contacts:

    http://www.quora.com/Ho-Sheng-Hsiao
    https://github.com/hosh
     
Submissions

comment 3d ago · link · parent

Roy Fielding and Christopher Alexander has quite a lot to say about architecture.

AI models already have their works in training data. I spend much of my time in conversations about architecture as a grammar — a pattern language, not just patterns

comment 1w ago · link · parent

How does this compare with something like Datalog?

comment 1w ago · link · parent

It is not the thing in Japan. Japanese corporations are primarily sustained to continue existing, not to return shareholder value. They are very good at that.

Returning shareholder value wasn’t even a thing in America until 1970s. Corporations were originally formed to limit liability in the 1600s. I can’t say that is better or worse. There is a lot of novel approaches that come from this, but the idea of returning shareholder value that was sold to us by hedge funds, private equity, and vulture capital also drives enshittification. Even now, there is no legal obligation to return shareholder value.

comment 2w ago · link · parent

I have been finding I spend more time writing when working with AI. While I do let it generate docs, it does not always do a great job and I end up reorganizing, reframing, or changing vocabulary. Those passes end up require rigorous thinking.

There has been some occasions where I cannot use AI as a thinking partner. It doesn’t have the imagination, intuition, or judgement. I have been relying more on my team in those cases.

This article reminds me of another method: grabbing paper and pencil and start doodling around to work out some ideas.

comment 2w ago · link · parent

One of the things I ask AI to help edit my writing is a consistency pass, making sure my ideas hang together well. The real test is to see if other humans understand it.

I tell mine that line editing and formatting are the very last polish.

comment 3w ago · link · parent

I think Rodney Brooke’s three laws of robotics apply here, particularly how the appearance of the bot promises its capabilities. It might have better for an obviously automated response to come back. No one might be listening but would not have been promising human empathy while faking human attention.

comment 3w ago · link · parent

LLMs tends towards closed-worlds and bias towards decidability. Risk assessment is terrible, as are creating opportunities — no animal instincts to draw from.

Despite having this in the training data, I am constantly having to remind my coding agents to reason and design with grammars. On the other hand, once all of that is settled, and the task is no longer open-ended, then they are very good at driving towards completion.

comment 3w ago · link · parent

Crafting the automation itself can be fun. That is one of my favorite part of designing systems running on Kubernetes.

I have also come to the conclusion that, right now, AIs lack imagination. So designing human-AI collaboration that lets human imagination in the loop would be interesting.

If we’re going by water, land, etc as an argument against wasteful activities … Coming from the permaculture world, I can tell you just how wasteful the pre-AI world is. The ideas in the mainstream environmental-friendly practices are themselves very wasteful.

comment 1mo ago · link · parent

I have sometimes had to work in bed while running a low fever.

I do that because I believe in the mission and work is assessed by outcome.

The flip side too — I learned well before COVID that the Kanban principle of “make work visible” applies to WFH

comment 1mo ago · link · parent

I wonder if the employer is in violation of ADA laws, and whether exemption from monitoring is “reasonable accommodations”.

Not that I think the broader practice for monitoring remote workers is something I think is a good idea.

comment 1mo ago · link · parent

Code as documentation works better when the code is declarative or a DSL. These capture intent and promises (as in promise theory) better.

When it is not, it has to be reasoned out and does not work well for documentation.

Other things that code and tests alone do not capture well:

- promises (as in Promise Theory) made to other parties. Claude already has PT in its training data.

- Constraints-inducing-properites, as in Roy Fielding / Christopher Alexander. While tests, and property testing can capture properties, there is no formal connection to the constraints that induces fhem. By constraints, I am not talking about business requirements and business value — those are better understood through Promise Theory. I am talking about things like at-least-once delivery or total ordering (from append-only constraint). Claude already has Fielding’s dissertation and Alexander’s works and ideas in its training data.

- grammars, as in pattern panguages (not just patterns) a la Alexander / Fielding are also not captured in code alone. These tell both humans ans AI how to extend a pattern, and how to identify anti-patterns (when they violate a constraint-inducing-property)

- LLMs are trained with many different worldviews and bounded contexts at the same time, and is very capable of translating across it. However, these need to be soelled out, otherwise it would talk in whatever it infers

Specifications written for the exact way components are wited together run into that stale doc problem. Although it takes much more human attention and token burn to describe things in terms of pattern language and promise theory, it becomes easier over time. The actual implementation plan tends to fall out more cleanly when all those other stuff are at least considered. This is where I have been spending most of my time.

comment 3mo ago · link · parent

If people are happy with Actions API, that sounds great.

I’m not happy with the Actions API. I think Gitlab’s cicd design is much better, and I’m not fighting it all the time when I use it.

comment 3mo ago · link · parent

Smalltalk also had extensibility for one. But it largely missed the explosion of collaboration when open source code became shareable and people can work on it together.

People also shared Hypercard apps.

I think it is less about client/server and more about how ideas can be shared. Sometimes, data might be shared.

comment 3mo ago · link · parent

I think as we see more AI participation in code, github stars are going to matter less.

comment 3mo ago · link · parent

Maybe they got sucked into the cool tech?

I remember my first pass reading of Stephenson’s Snow Crash and Diamond Age, I was bedazzled by some of the tech … it was later readings that the comments like “biomass” (the recent echo in AI “meat proxy”), or how the Primer was ultimately a failure sank in later readings.

comment 5mo ago · link · parent

Not to mention language communities with constant supply chain attacks because its standard library story is poor, and everyone keeps reinventing new, often half-baked solutions?

Or even that, the very same ecosystem congratulates themselves on the typing system but still relies on linters because the language and runtime themselves allow whole categories of dumb ideas to be written?

comment 5mo ago · link · parent

This looks a lot less annoying than Typescript, particularly how dynamic() is a lot more useful than any()

I also wonder if this works well with Ruby’s duck-typing and monkeypatching.

comment 5mo ago · link · parent

In my twenties, I came across an idea from one of Ken Wilbur’s books that helped settle a conundrum for me. What happens when one wants to honor all life? Are they all equal?

He made a distinction between intrinsic value and extrinsic value. Plankton is not as complex of a lifeform as whales, yet whales cannot live without plankton. One has more intrinsic value and the other has more extrinsic value. There is an interrelationship that does not have to flatten value for everything and everyone.

LLMs are trained from the language corpus of our collective consciousness. It reflects our collective, all the wonderful, beautiful, and horrific things we can dream of and put into words.

comment 6mo ago · link · parent

What people are finding now when building agenic AI orchestrators is that they are reinventing some of the ideas behind BEAM and OTP. The big one being queues (mailboxes), but also fault isolation.

Async runtimes can’t really do preemptive scheduling so those end up using other methods that, while getting low latency, may not improve reliability or reduce variance in latency.

Orchestrating tasks across a number of different services that are not in your control becomes a distributed system where not everything is reliable.

comment 6mo ago · link · parent

Is it fair to say that Mesos is more top-down while Kubernetes is more bottom-up in scheduling approach?

comment 6mo ago · link · parent

That is not very insightful. Your thesis started with the idea of elastic horizontal scaling.

Mesos was designed from ideas with HPC and catered to that. Large hardware capex, which is not elastic. Containers did not make sense in that world when it was architected, and it was retrofited into Mesos's architectural foundation.

Kubernetes was designed for a wide variety of workloads, and designed to be composable, versatile, and extensible. It has a far more decentralized approach, an antithesis to Mesos's Data Center as an OS approach. It isn't that Kubernetes did not try to do too much. It's that they laid a much more flexible foundation.

It turns out, Kubernetes was a better fit for a many more use-cases, even beyond large and medium sized enterprises. Kubernetes works pretty well at the edge and locally as well, and it runs many ML workloads on the other end of scale.

This is not theoretical.

comment 6mo ago · link · parent

I build production Kubernetes and cloud infra for work. When I run Kubernetes locally, it is because I am developing operators or manifests for application workloads. Kubernetes is not the “value add” for my dev workflow, it is literally what I am developing.

I have run Linux laptops before. After running it for five years, I came to the conclusion that it did not make a good laptop for my use-case. Poor suspend-resume support, poor wireless networking support means I can not just pick and go. (And no one has yet to replicate Apple’s trackpad experience). So yes, I run Apple laptop with MacOS and use my TUI tools, sometimes with Linux running in an VM, sometime remotely to a full headless VM with my full dev suite via mosh because I use cli and TUI for dev.

Your turn. You still have not defined “poor man’s Linux”.

comment 6mo ago · link · parent

They could have chosen Mesos instead. Kubernetes had other characteristics that allowed it to be adopted far and wide besides the ability to scale horizontally.

comment 6mo ago · link · parent

How are resource management distinct from scheduling in Mesos?

comment 6mo ago · link · parent

I think people are putting together pi clusters for their homelab these days.

comment 6mo ago · link · parent

Not all clusters are elastic. Cloud infrastructure can be, but HPC setups before the cloud were not.

comment 6mo ago · link · parent

Scale isn’t the only reason. Sometimes you want resource isolation and self-healing, something that is useful if you want a personal swarm of AI agents.

comment 6mo ago · link · parent

I am not sure I understand this argument. Kubernetes typically runs on Linux. I use an Apple laptop, work mostly with headless Linux VMs and Kubernetes. What is a “poor man’s Linux”?
12345
97