Readit News logoReadit News
lunarcave commented on Node.js is able to execute TypeScript files without additional configuration   nodejs.org/en/blog/releas... · Posted by u/steren
lunarcave · 7 days ago
I think this + node:test makes Node.js a pretty compelling sensible default for most things now. Running things with `tsx` was such a QoL improvement when it happened, but it didn't solve everything.

Runtime type assertion at the edges is mostly solved through `zod` and tools like `ts-rest` and `trpc` makes it so much easier to do full-stack Typescript these days.

lunarcave commented on Vibechart   vibechart.net/... · Posted by u/datadrivenangel
lunarcave · 16 days ago
We're fast approaching the point where vibeX is becoming derogatory.
lunarcave commented on Ask HN: What are you working on? (July 2025)    · Posted by u/david927
lunarcave · a month ago
I've had a notion that LLMs can read Typescript types much better, than JSON schema types.

So, I've been tinkering around with a library that can generate schemas for structured JSON outputs, according to a Typescript-like custom schema definition: https://github.com/nadeesha/structlm

So far, I've been seeing promising results with accuracy on-par or better, but using 20-40% less tokens than JSON schemas.

lunarcave commented on Show HN: Token-efficient zod-like schema definition library for LLMs   github.com/nadeesha/struc... · Posted by u/lunarcave
nbbaier · a month ago
Interesting, but why wouldn't I just use zod here?
lunarcave · a month ago
Zod doesn't give you the ability to serialize or de-serialize schemas, unless you convert to JSON schema, which is verbose. See: https://github.com/colinhacks/zod/discussions/2030
lunarcave commented on It's time for modern CSS to kill the SPA   jonoalderson.com/conjectu... · Posted by u/tambourine_man
lunarcave · a month ago
I don't know how I feel about this one, honestly.

> Build a site like a site. Use HTML. Use navigation. Use the platform.

Sure, but what about all the other problems that aren't solved by View Transitions? There's some truth to the fact that frameworks like Next.js has jumped the shark. But they're not solving the problems of _just_ the SPA.

lunarcave commented on Coding with LLMs in the summer of 2025 – an update   antirez.com/news/154... · Posted by u/antirez
lunarcave · a month ago
> Despite the large interest in agents that can code alone, right now you can maximize your impact as a software developer by using LLMs in an explicit way, staying in the loop.

I think this is key here. Whoever has the best UX for this (right now, it's Cursor IMO) will get the bulk of the market share. But the switching costs are so low for this set of tooling that we'll see a rapid improvement in the products available, and possibly some new entrants.

lunarcave commented on Light exposure at night predicts incidence of cardiovascular diseases   medrxiv.org/content/10.11... · Posted by u/gnabgib
lunarcave · a month ago
> including physical activity, smoking, alcohol, diet, sleep duration, socioeconomic status, and polygenic risk

Wondering how much of this is due to geography and air quality. City centers have relatively bad air quality and a high amount of ambient lighting at night, compared to non urbanized areas.

The cardiovascular effects of poor air quality is arguably well understood.

u/lunarcave

KarmaCake day497February 26, 2013
About
meet.hn/city/-37.8142454,144.9631732/Melbourne

Socials: - n@nadeesha.me - github.com/nadeesha - www.nadeeshacabral.com

---

View Original