HNHacker News
TopNewBestAskShowJobs

lunarcave

570 karma · joined February 26, 2013

submissionscomments
lunarcave··on Transparent leadership beats servant leadership
I can't remember where I heard this, but the moment it flipped for me is when someone phrased this as - "be a heat shield".

A heat shield has some leakage of heat that the people inside know that there's heat, but enough cover that the team is shielded somewhat.

lunarcave··on High-income job losses are cooling housing demand
From the article:

> The Bay Area continues to lose jobs across high-income sectors (-0.4% YOY), driving modest overall employment declines. These job losses have slowed compared to a year ago but remain negative YOY. Despite generating substantial spending and wealth, the AI-driven tech boom hasn’t added meaningful employment to the region.

lunarcave··on Pablo Picasso's poetry
Some of his poetry makes sense if you know what his personal life was like: https://en.wikipedia.org/wiki/Pablo_Picasso#Personal_life
lunarcave··on Helium Browser
In the "choose a default search engine" page, it has a slightly amusing summary for each.

> Google

> Your personal data fuels its monopoly. Market-dominant due to anti-competitive and anti-consumer practices.

> Qwant

> Based in Europe. Uses Bing results. Sends tracking data to Microsoft.

> DuckDuckGo

> Privacy-focused. Relies on Bing results but never tracks or profiles you.

> Ecosia

> May plant trees for clicking ads. Relies on Bing and Google. Sends tracking data to Microsoft and Google.

> Microsoft Bing

> Collects extensive personal data. Privacy controls are buried and limited. Subjectively overwhelming UI.

> Kagi

> Privacy-focused. Customizable results without ads or tracking. Requires a paid account.

lunarcave··on Getting AI to work in complex codebases
> Our role is shifting from writing implementation details to defining and verifying behavior.

I could argue that our main job was always that - defining and verifying behavior. As in, it was a large part of the job. Time spent on writing implementation details have always been on a downward trend via higher level languages, compilers and other abstractions.

lunarcave··on I forced myself to spend a week in Instagram instead of Xcode
It's a nice write up.

> Build it and they will come is a fallacy.

This is true. But is this the alternative?

No trying to minimize the efforts of people who do this as real jobs or influencing - you do you. However, generating fake message screenshot, sending unsolicited messages etc? And the winner is the one who gets the biggest rise from the consumer, authentic or not.

Distribution is hard, I get it. But isn't this the equivalent of everyone just rocking up to the village square in the most outrageous costumes and screaming into the megaphone?

lunarcave··on Node.js is able to execute TypeScript files without additional configuration
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··on Vibechart
We're fast approaching the point where vibeX is becoming derogatory.
lunarcave··on Ask HN: What are you working on? (July 2025)
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··on Show HN: Token-efficient zod-like schema definition library for LLMs
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··on It's time for modern CSS to kill the SPA
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··on Coding with LLMs in the summer of 2025 – an update
> 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··on Light exposure at night predicts incidence of cardiovascular diseases
> 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.

lunarcave··on OpenAI’s Windsurf deal is off, and Windsurf’s CEO is going to Google
Strictly speaking about large, complex, sprawling codebases, I don't think you can beat the experience that an IDE + coding agent brings with a terminal-based coding agent.

Auto-regressive nature of these things mean that errors accumulate, and IDEs are well placed to give that observability to the human, than a coding agent. I can course correct more easily in an IDE with clear diffs, coding navigation, than following a terminal timeline.

lunarcave··on Go is a good fit for agents
Agents easily spend >90% of their time waiting for LLMs to reply and optionally executing API calls in other services (HTTP APIs and DBs).

In my experience the performance of the language runtime rarely matters.

If there ever was a language feature that matters for agent performance and scale, it's actually the performance of JSON serialization and deserialization.

lunarcave··on Conformance checking at MongoDB: Testing that our code matches our TLA+ specs
Personal opinion.

I swore away from it for 10 years, but came back recently. And I'm pleasantly surprised with the developer experience of MongoDB Atlas (the cloud version).

You just have to keep in mind the common sense best practices about developing with kv stores, and you'll be mostly alright.

lunarcave··on Ask HN: What are you working on? (May 2025)
ParseLM: https://github.com/parselm/parselm

It's a Typescript library that allows you to wrangle structured outputs from LLMs and pipe them to programmatically useful control flow or structured data.

lunarcave··on The copilot delusion
The things that's most often missed in these discussions that "writing code" is the end artefact. It doesn't take into account the endless tradeoffs made in producing the said artefact - the journey to get there.

Just try implementing a feature with a junior, in a mildly complex codebase and you'd catch all the unconscious tradeoffs that you're making as an experienced developer. AI has some concept of what these tradeoffs are, but that's mostly by observation.

AI _does_ help with writing code. Keyword there being - "help".

But thinking is the human's job. LLMs can't/don't "think". Thinking how to get the AI to produce the output you want is also your job. You'd think less and less if models get better.

lunarcave··on North America Is Dripping from Below, Geoscientists Discover
> Researchers have discovered that the underside of the North American continent is dripping away in blobs of rock — and that the remnants of a tectonic plate sinking in the Earth’s mantle may be the reason why.

Really appreciate the first sentence of the article having a pithy summary of what the whole thing is all about.

lunarcave··on Ask HN: Has your company shipped anything useful/successful using LLMs?
Probably. At this point, I'd take _any_ form of success.
lunarcave··on New tools for building agents
(Shameless plug) I worked on something for anyone else wanting to get structured outputs from LLMs in a model agnostic way (Including Open AI models): https://github.com/inferablehq/l1m
lunarcave··on Show HN: I built an app to get daily wisdom from Mr. Worldwide
I don't know why I like it, but I like it.
lunarcave··on Show HN: A lightweight LLM proxy to get structured results from most LLMs
Thanks.

We use a minimal schema[1] to prompt the LLM under the hood. We were inspired by BAML [2]. Then the output is wrangled with a converter and ajv [3].

[1] https://github.com/inferablehq/l1m/blob/main/api/src/schema....

[2] https://github.com/boundaryml/baml

[3] https://ajv.js.org

lunarcave··on Show HN: Val Town Projects
Been waiting for something like this to land in val.town for too long! Congrats to Steve and the team for shipping this.
lunarcave··on Ask HN: Looking at AI development, I feel pointless in the work I'm doing
Concretely, if you're a web developer - go up a level. AI doing a lot of "web development work" means that now you have time to do other things that you pushed aside as too hard. That might be back-end systems / databases / algorithms etc.

Or learn about user experience, design, how humans think and how to build good products.

Please don't get discouraged by the hype. The only people saying AI will replace developers are the people who have something to sell. Engineering is more than just writing code. If anything, AI will increase the level of complexity in the software today, so you'd need engineers to tame that increased complexity.

---

This is from a related thread I wrote in Reddit:

There has never been a more exciting time than now to be a software engineer.

In a nutshell: all the parts I enjoy about software engineering remains challenging, unchanged and open areas of research (distributed systems, algorithms etc). All the grunt work that I hated doing (CRUD work, remembering tailwind classes) have gotten automated very well.

I've played around with AI a lot. I mean A LOT. People who don't code fundamentally lack the insight that writing code is not the only thing that a software engineer does. The way software engineers are coding is changing - but it's changing it in a way that make good ones better, not necessarily bad ones any good.

lunarcave··on Ask HN: What do you read to keep up with AI?
Some axioms I use:

- Stay away from all the newsletters who pump the latest news. There's a ton of them there. They just mostly use AI to summarise the arxiv papers and discord channels.

- Look for blogs from people building in AI, builders who are commenting on AI, but not "selling AI".

- If you need keep up with the latest, subscribe to the blogs / newsletters of the big companies. Not a lot of them there - Anthropic, OpenAI, Deepmind, Groq, Cerebrus etc.

lunarcave··on Ask HN: Moving a not-for-profit web app off AWS
Have you tried applying to AWS Activate? I'm not sure whether they support non-profits, but if you can swing it, they'll subsidise your compute and some model costs.

In terms of a budget friendly alternatives, definitely look into fly.io. We have a AWS setup, but run some compute for ephemeral use cases in fly.io.

> Also, if anyone has experience with applying spaced repetition or other memorization techniques to chatbot interfaces and long-form text retention, I'd love to hear your thoughts.

Have some experience with conversational experiences and LLMs. It all depends on what the modality of the interaction is. Is it something that users can have a long chat conversation with? Or is it more like the anki experience where "flashcards" get presented to you?

lunarcave··on Ask HN: How many of you open up your production DBs to internal users?
Interesting. How do the users connect to it? Do they tunnel into it or is there an application that acts as the proxy?
lunarcave··on Ask HN: How many of you open up your production DBs to internal users?
Fair. But my intuition is that people do it until they get restricted by compliance, after which they seem to invest in a proper setup.
lunarcave··on Ask HN: How many of you open up your production DBs to internal users?
Thanks. And I assume that the web app allows them to do parameterization of ids etc?
Page 1 of 6Next →