HNHacker News
TopNewBestAskShowJobs

chris_pie

62 karma · joined April 20, 2024

chris_pie.at.hn
submissionscomments
chris_pie··on TypeScript types can run DOOM [video]
In your example, I'd use Record<PropertyKey, unknown> instead
chris_pie··on Neut Programming Language
It's a standard practice in functional languages: https://en.wikipedia.org/wiki/Unit_type
chris_pie··on Better text rendering in Chromium-based browsers on Windows
Might be worth noting that Chromium seems to only use subpixel rendering on high-constrast text. I've also seen sites that don't use it for some other unknown reason, for example Microsoft Teams.
chris_pie··on Hoppscotch: Open source alternative to Postman / Insomnia
To save some people a click: it requires a subscription.
chris_pie··on Run DeepSeek R1 Dynamic 1.58-bit
ML models do have a "source" though
chris_pie··on Run DeepSeek R1 Dynamic 1.58-bit
It absolutely doesn't. It sounds like further diluting the term "open-source" isn't great.
chris_pie··on Hedy: Textual programming made easy
Also Excel functions are translated based on your region. Which I find annoying, because most learning resources and references are in English, and English function names don't work in other regional settings.
chris_pie··on A standards-first web framework
Magic Loop looks very similar to Crank (that nobody knows about either). Was it an inspiration?
chris_pie··on Why is Cloudflare Pages' bandwidth unlimited?
Extremely anecdotal, but I've always found GitHub pages to be noticeably slower. Which is weird, because they use Fastly which is generally good.
chris_pie··on App Should Have Been a Website (and Probably Your Game Too)
Surprisingly, socket.io supports WebTransport: https://socket.io/get-started/webtransport

The guys at Colyseus (a JS library for multiplayer games netcode) also added support, in a preview version for now.

chris_pie··on Mercure: A WebSocket alternative for server-sent events
SSE are old, hardly "the new shiny thing".
chris_pie··on Mercure: A WebSocket alternative for server-sent events
Head-of-line still exists in HTTP/3, but on another level. A stream can still get blocked. With websockets the whole connection gets blocked (HTTP/1), but that connection isn't shared with anything else, right?

Worth noting that HTTP/3 seems to recover faster than TCP-based protocols.

chris_pie··on App Should Have Been a Website (and Probably Your Game Too)
Support is getting there on the browsers' side, but you need a backend that supports HTTP3+WebTransport - barely any out there
chris_pie··on Tldraw Computer
In tldraw the text is always in the DOM, so the browser can use your native font rendering (for example ClearType on Windows). In Excalidraw the text is only in the DOM while you're editing it.
chris_pie··on Tldraw Computer
And ("vanilla") tldraw supports subpixel font rendering, unlike most of their competition (for example excalidraw or Miro).
chris_pie··on Markov Keyboard: keyboard layout that changes by Markov frequency (2019)
There's a Rocksmith mod that allows you to control the menu using the guitar. Also, the Rocksmith USB cable is simply an ADC (with lower latency than most)
chris_pie··on Show HN: App that asks ‘why?’ every time you unlock your phone
Latest Android has that built-in as a "Night Mode". You can also set a schedule or have it enable while charging
chris_pie··on Analysis of economic and productivity losses caused by cookie banners in Europe
Huh? You're still a personal data processor.
chris_pie··on Svelte 5 Released
offtop, but could you share a bit on why you hate 11ty? I was considering it for a static site.
chris_pie··on Replited: Replicate SQLite to anywhere (S3\FTP\webdav\Google Drive\Dropbox,etc.)
You say it's inspired by Litestream. How is it different?
chris_pie··on Why does man print "gimme gimme gimme" at 00:30? (2017)
you can configure the breakpoint to log stuff to the console, instead of breaking
chris_pie··on A Local-First Case Study
https://remotestorage.io while it's a specific protocol for storing user data on a compatible server, their library also provides Google Drive integration
chris_pie··on A Burrito Is a Monad
This is F#. >== is a bind operator, but it's not built into the language, so it's defined as a custom operator here. |> is a pipe
chris_pie··on A Burrito Is a Monad
I think this is F#, not Haskell. '*' creates a product type, pretty sure it's a tuple in this case. "Meat option" is an alternative syntax for "Option<Meat>" and "Ingredient list" is a linked list of Ingredients
chris_pie··on Elixir's LiveView pairs beautifully with front end frameworks
Small addition because I didn't realise how LiveSvelte works. The backend pushes updated svelte component props to the client instead. You still often have to communicate the client-side changes to the server.
chris_pie··on Elixir's LiveView pairs beautifully with front end frameworks
While this paradigm is promising, I see a problem with it. When you make a client-side change to the DOM, it can get overwritten by a subsequent incoming patch from the server.

LiveView tries to be somewhat smart when patching the HTML by sending down only the dynamic parts. But on the client it generates the new HTML and morphs it into the DOM quite crudely (and inefficiently, but that's another can of worms).

I've seen a workaround for this, by notifying the server of the change via an event, mirroring of sorts. But this is messy, and can require reimplementing the same conditional template logic on the backend.

chris_pie··on Fable at 20: a uniquely British video game with a complex legacy
That's like saying sound is a lie, because it's just a vibration propagating a wave.
chris_pie··on Redis users considering alternatives after licensing move
Garnet doesn't support Lua scripting, which is quite useful for custom atomic operations.
chris_pie··on 2M users but no money in the bank
Don't most payment platforms have a constant minimum fee per transaction? That would hurt you at a $1 price.
chris_pie··on Show HN: I cloned HN to make a simple portfolio page

  djeastm.mycombinator.com
← PreviousPage 2 of 3Next →