HNHacker News
TopNewBestAskShowJobs

logankeenan

295 karma · joined October 30, 2020

logankeenan.com
submissionscomments
logankeenan··on Iran faces unprecedented drought as water crisis hits Tehran
I had no idea Romanization of Perian was a thing. Thanks for sharing!

https://en.wikipedia.org/wiki/Romanization_of_Persian

logankeenan··on Iran faces unprecedented drought as water crisis hits Tehran
The BBC article spelled the dam's name wrong in their interactive image. It's Latyan Dam if anyone else wanted to look up more on it.

https://en.wikipedia.org/wiki/Latyan_Dam https://maps.app.goo.gl/UzQrPMR4iHRdbsuP7

Edit: TIL there can be different translations/spellings of Persian to English

logankeenan··on Local First Htmx
Using Rust instead of a Go would provide a smaller binary since it doesn't need a runtime. Compared to JavaScript apps, it's not terrible but also not great. One thing WASM has over JS is that it can decode and compile code in parallel across multiple threads as it streams in.

https://hacks.mozilla.org/2018/01/making-webassembly-even-fa...

logankeenan··on Local First Htmx
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

logankeenan··on </> Htmx – The Fetch()ening
Oh that’ll be much nicer. Would myCustomFetch then need to return a Response?

https://developer.mozilla.org/en-US/docs/Web/API/Response

logankeenan··on </> Htmx – The Fetch()ening
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...
logankeenan··on </> Htmx – The Fetch()ening
This is great! I had to create an xhr-fetch-proxy to use fetch and htmx. This change should open up a lot of fun possibilities.

https://github.com/logankeenan/xhr-fetch-proxy

logankeenan··on Meta readies $25B bond sale as soaring AI costs trigger stock sell-off
> Usage their customers would not pay for if it did not have a positive ROI.

I don't think we can assume that's true. Their customers are paying for it, but we don't know how profitable they are being with the AI compute they pay for.

logankeenan··on Microsoft needs to open up more about its OpenAI dealings
Can you elaborate on this a bit more? Does that mean OpenAI had a ~$9.4 billion loss so MSFT needs to put 49% of that loss in their books?
logankeenan··on Claude Haiku 4.5
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.
logankeenan··on Claude Haiku 4.5
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?
logankeenan··on Figure 03, our 3rd generation humanoid robot
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
logankeenan··on About the security content of iOS 15.8.5 and iPadOS 15.8.5
It’s great that they made an update.

It’s not clear to me if this can result in a RCE. If it does, then does this mean that enough iPhone 6s are still out in the wild where a bad actor could easily take over a big enough portion to do more nefarious things?

logankeenan··on Try the Mosquito Bucket of Death
Has anyone had luck with bat boxes to help control the mosquito population?
logankeenan··on U.S. bombs Iranian nuclear sites
Iran is the largest state sponsor of terrorist groups. The key word being “state”. There are many well known terrorist groups that are not sponsored by Iran.
logankeenan··on Show HN: I rewrote my Mac Electron app in Rust
With Electron, it will bundle chrome into the app so you only have to handle that single rendering engine. Tauri uses whatever is the default browser on the system the app is installed on
logankeenan··on Show HN: I rewrote my Mac Electron app in Rust
Do you mean the actual rendering of html/css when you say rendering differences? Or are you referring more to differences in JS support?
logankeenan··on Why does the U.S. always run a trade deficit?
Do you have a source for that? Recently, I was trying to understand the trade deficit when consider services, but couldn’t find anything credible
logankeenan··on FastVLM: Efficient vision encoding for vision language models
I used molmo to parse screenshots in order to detect locations of UI elements. See the repo below. I think Omni parser from Microsoft would also work well.

https://github.com/logankeenan/george

https://github.com/microsoft/OmniParser

logankeenan··on A flat pricing subscription for Claude Code
I’ve been wanting to try Claude Code. What makes it such a difference maker compared to existing AI tools?
logankeenan··on Show HN: I build a Fantasy NHL app in 3 days with Claude AI
That looks pretty nice and polished! Did you use Claude Code? Also, what are some of the crates you used for your Rust stack? Did you ever consider doing a server side rendered app and no React?
logankeenan··on Why Do Domestic Prices Rise with Tarriffs?
I believe they are referring to marginal costs. Yes, with economies of scale can become cheaper to produce, but they still require capital to reach that scale.

https://en.m.wikipedia.org/wiki/Marginal_cost

logankeenan··on OpenAI's o1-pro now available via API
> lets you stop breaking down one level up from what you're used to.

Can you provide an example of what you mean by this? I provide very verbose prompts where I know what needs to be done and just let AI “do” the work. I’m curious how this is different?

logankeenan··on Iroh – P2P that just works
Iroh has a local discovery option which uses mDNS-like system for discovery when on the same network.

https://www.iroh.computer/docs/concepts/discovery#local-disc...

logankeenan··on Delta Chat – Email Based PGP Encrypted Chat
I’ve been experimenting with Iroh over the past month. It’s been such a pleasant experience. Previously, I created a p2p connection with webrtc and had to create a layer on top of that to use request/response style communication between nodes. I can throw that all away with Iroh and focus on the product. It’s a relief.
logankeenan··on Artic blast to bring in -50F temperatures breaking records in 27 states
I live in one of the states mentioned in the article. It’s been really cold here for the last two days, but being from the Midwest, you kind of get used to it. Tomorrow’s just going to be another cold day
logankeenan··on Amazon plans to spend $100B this year to capture once in a lifetime opportunity
They make money from their core income streams like ads or hosting for AWS. People pay them money for these services because doing so helps those companies make money.

What about AI, do they expect to sell that much AI compute to other companies to justify the large capex sums? That’s what I’m curious about. Where is this demand going to come from?

logankeenan··on Amazon plans to spend $100B this year to capture once in a lifetime opportunity
I’m genuinely curious how these companies are going to get a ROI?
logankeenan··on How to Inspect React Server Component Activity with Next.js and OpenTelemetry
I don’t think this answers the parent question. Database queries still needs to be made and a view still needs to be rendered. What complexity does next.js solve?
logankeenan··on You vs. a Billionaire: An Interactive Perspective on Wealth
If you received one dollar per second from the day you were born then you’d be a millionaire in ~11 days and a billionaire in ~31 years.

At some point, these big numbers are generalized as “big numbers” and we don’t conceptually comprehend the significant difference between “big numbers”.

← PreviousPage 2 of 4Next →