HN user

logankeenan

259 karma

logankeenan.com

Posts5
Comments100
View on HN

You uncover a better design and submit a string of diffs not only implementing the task but simplifying other parts of the code too. Bonus points for doing this before you implement (make the hard change easy then make the easy change).

The last part of this really stands out. A high performer understands that software is malleable. However, the way you shape it, when things change, and how much is changed at one time matters a lot

Iroh 1.0 1 month ago

Iroh has been amazing to work with and the engineers are so nice in the discord channel. The pragmatic approach to making p2p just work has been easy to understand. Their YouTube channel has great content too. Congrats on v1!

https://youtube.com/@n0computer

Regardless of how you feel about content moderation, 48 hours is a ridiculously long time given what AI can do today. That “bad” image could have been propagated around the world to millions of people in that time. It can and should be removed in minutes because AI can evaluate the “bad” image quickly and a human moderator isn’t required anymore. However, the compute costs would eat into profits…

Again, I’m not judging about content moderation, but this is an extremely weak initiative.

This holiday season, I wouldn’t buy high priced high quality items from Amazon due to concerns about counterfeit. I probably still won’t even after they’ve made this change. DTC from quality producers now have decent websites, free shipping, and good customer service. If I’m going to buy a premium expensive product, why risk it.

Software that connects your own personal devices to form a p2p mesh network and also connects your friends personal mesh network. On top of that technology, the ability to chat, share media, or any other basic computing done between friends. Data is synced between devices. The goal is to make the underlying tech mostly invisible to the users. They pair devices and start doing standard software things.

We need to support farmers because a market spread too thin on farming means people would starve.

People would not starve if we stopped the ethanol mandate. In fact, corn prices would fall because the government would no longer force ethanol to be mixed with oil. Less demand would decrease the price.

Local First Htmx 9 months ago

It's really cool to see someone else gravitate toward this idea. I think there might be some real potential in the future. I wrote about a similar idea in 2022 [0] and 2023 [1]. The service worker approach was heavily inspired by Richard Anaya's work [2]. HTMX migrating to fetch [3] makes this even easier. I had to create a xhr-fetch-proxy [4] to intercept requests with htmx today. I'm not the author, but would be happy to answer any questions.

[0] https://logankeenan.com/posts/a-rust-server-app-compiled-to-...

[1] https://logankeenan.com/posts/client-side-server-with-rust-a...

[2] https://github.com/richardanaya/wasm-service

[3] https://news.ycombinator.com/item?id=45803358

[4] https://github.com/logankeenan/xhr-fetch-proxy

Yep, it's super nice. The Service Workers API also makes this really easy too. I experimented with compiling a Rust Axum server to WASM and then ran it in my service worker. Also, thanks for incorporating fetch into htmx!

I thought I'd include an example of replacing fetch for anyone that come across this.

    const originalFetch = window.fetch;
    window.fetch = function(url, options) {
      if (url.includes('/api/user')) {
        const mockUser = {id: 1, name: 'John Doe', email: 'john@example.com'};
        return Promise.resolve(new Response(JSON.stringify(mockUser)));
      }
      return originalFetch(url, options);
    };
https://developer.mozilla.org/en-US/docs/Web/API/ServiceWork...
Claude Haiku 4.5 9 months ago

I'm on the binary install with version v2.0.19. It never showed in the `/model` selector UI. I did end up typing `/model haiku` and now it shows as a custom model in the `/model` selector. It shows claude-haiku-4-5-20251001 when selected.

Claude Haiku 4.5 9 months ago

I'm not seeing it as a model option in Claude Code for my Pro plan. Perhaps, it'll roll out eventually? Anyone else seeing it with the same plan?

I’d really like to understand the total compute cost it takes to accomplish these tasks. I assume the compute is happening in a DC somewhere and not all onboard. Is the total cost of compute plus electricity to power the machine less than the cost of human labor to do the same task? At some point it’ll be less. If so, far out in the future until the prices make economic sense