MurphyA/hacker-news huggingface dataset:
Show HN: Tagless final DSL for deterministic TypeScript programs
by mikesol | 2026-02-23 07:14:50+00:00
My goal is to reimplemenet a hefty chunk of TypeScript in TypeScript using a DSL that resembles TypeScript. But instead of immediate execution, what you get is a serializable program represented as a directed acyclic graph that can be mutated à la Nim or Haxe via a query language.

I'm not quite sure why I'm doing this, but two thoughts emerge as I tinker:

1. It's fun to explore a "boil the ocean" task with an LLM. Writing a mini TypeScript in TypeScript forces you to confront lots of design choices during the build-out that improve the core but require small, substantive changes on the entire plugin ecosystem. sed can't handle this, but a model like Sonnet can. And as the foundation gets better, I get more bullish about one-shotting entire libraries as plugins.
2. I think that something like mvfm will eventually power arbitrary 0-trust distributed programs. For example, take the case of a vibe-coded app that is otherwise frontend-heavy but uses a LLM, Stripe, and a DB. Writing parts of the program in a serializable DSL allows automatic deployment of parts of it to other targets. It also allows an untrusted environment, like a browser, to execute logic that touches sensitive things like DBs and send the actual mutations to a lightweight proxy that checks its integrity against a set of known inputs.

If you're nerd-sniped, I'd love help (a) trying to break it; (b) improving the core; and/or (c) implementing more libs as plugins.
by ddtaylor | 2026-02-23 07:14:58+00:00
0ad is a fun game but the last few times I have tried to play it with my friends it lagged very bad once a few units were moving around. I actually was able to get it to play kind of normal by hacking the pathfinding code to give up after a fixed iteration count that was low. It worked kind of, but broke path finding a lot, obviously.

The crux of the issue is that their simulation is single threaded. It's a complicated problem to do both deterministic and multi-threaded, but I feel some of us could help them.
by goobatrooba | 2026-02-23 07:15:13+00:00
Ah yes, there is a foreign government sponsored campaign to deligitimise and spread lies about your country and government. And because you are a democracy you should just accept it and let lies and propaganda flood your country? Can't even make these entities follow the law as they operate outside your legal framework. So let them lie and manipulate people while claiming to be "news.l".

This is how democracy dies - when we stop caring about truth. This is how fox ruined the US, when lies becomes fine just because they are "opinion" or "entertainment".
by ekabod | 2026-02-23 07:15:26+00:00
I think governments should enforce a social network of a maximum 150 direct contacts and setup 3 independent agencies that play the role of gate keepers for content coming from outside this small network. The agencies analyze external content, if 2/3 of them approve a content, it is pass to everybody.

These agencies would each employ thousands of people and paid by the government.
All employees will have a mandate of 3 years maximum, managers included.
by fy20 | 2026-02-23 07:16:43+00:00
Antigravity is useless anyway. I tried it last week and it needs approval for every file read and tool call. There's an option in the app to auto-approve, except it doesn't work. Plenty of complaints online about this. Clearly they don't actually care about the product, some exec just felt that they need to get into the editor game.

Next I tried using the Antigravity Gemini plan through OpenCode (I guess also a bannable offense?) and the first request used up my limit for the week.
by kleiba | 2026-02-23 07:17:11+00:00
> The actual recipe section starts with the recipe for a bowl of cereal, which I am 70% sure is a joke

For years, I would get up insanely early and be the first in the office, with no-one around other than the cleaners. My breakfast every day would be microwave-cooked oats - but it wasn't quite as easy as the recipe from the book makes it out to be, mostly because of the milk.

Unlike water, when you heat up milk to a high temperature in the microwave, it behaves just like it does on the stove top: it wants to crawl out of the container and nicely spread itself everywhere.

So, I developed sort of a technique that consisted of short bursts of microwaving at full blast, then stopping and stirring, and back in with bowl. I repeated that a few times, but after I had the technique down, it didn't require much attention any more, it worked quite reliably.

The oats got cooked nicely, and thanks to the pectin of an apple that I also added in, it also thickened. (And in case you wonder, the apple's acidity does sometimes split the milk somewhat, but in most cases it doesn't.) However, there's definitely a difference in smoothness between microwaved oat meal and one that's made slowly on the stove top - the latter being much nicer in texture.

But it was a quick breakfast that I really enjoyed (with a dash of cinnamon) at my desk every morning while I was going through my email from the night before.
by lelanthran | 2026-02-23 07:17:45+00:00
> Then it should be “This is your first and final warning. The next time we catch you, it’s a ban.”. People are building their lives around this stuff and kneejerk bans erode good faith in your platform.

This is actually the soft-touch approach: the users of these vibe-coded products need to understand that they are delegating their authority to the tool to work on their behalf.

In this case, they delegated to a tool that broke the ToS. The result could have been a lot worse, and in return they learned that the tool is acting with their full authority.

-----------------

EDIT:

One of the users got this response from google support:

> Our product engineering team has confirmed that your account was suspended from using our Antigravity service. This suspension affects your access to the Gemini CLI and any other service that uses the Cloud Code Private API.

Their decision? To break ToS on some other provider:

> I guess it is time to move on to Codex or Claude Code.

So, yeah, perhaps the users really are too stupid to understand what's going on, and even this soft-touch approach has done nothing to clue them in.
by jcattle | 2026-02-23 07:17:49+00:00
Yes, the mass and you distance to it counts. And one of the biggest influences on that mass in absolute terms is earths very dense inner and outer cores.

Due to the "equatorial bulge" (actual term) you are further away from that heavy center, than at the equator. And due to the inverse square law, you lose intensity of that gravitational force very quickly, the further you are away.

Hence: the smallest gravitational force you get is on a mountain in the Andes near the equator.
by efreak | 2026-02-23 07:18:08+00:00
I usually try to make it obvious what company I have the account to, it makes it easier to track down in cases where the service isn't one that sends mail often. Samsung will not let me use Samsung in my email address. Many companies don't want your email address to include their name.

After I give up and use a real address, some companies will reject my personal first@last.family address because it's still Y2K and .family is not a valid tld.
by MajorBee | 2026-02-23 07:18:36+00:00
Only tangential, but I recently discovered that VS Code also picks up paths in `.ignore` to decided whether to include paths in search. I knew that `.gitignore` is automatically picked up, but was surprised when all of a sudden directories that weren't supposed to show up in file search started showing up -- it's because I had unignored them in `.ignore` for ripgrep. Makes sense I suppose.
by stackghost | 2026-02-23 07:18:38+00:00
>It’s sad the best we could do in terms of community forum is a VC’s website.

It is sad. There are definitely some talented people here but the pervasive corporate bootlicking is pretty hard to take, at times.

Certain usenet newsgroups had a similar vibe, once upon a time, but usenet couldn't solve the spam problem.
Show HN: Labhlabs – What Happens When LLMs Trade the Indian Market?
by sasponn | 2026-02-23 07:18:47+00:00
LabhLabs is a live shadow trading and AI orchestration arena for Indian markets.

It enables strategies to run on real time market data using paper capital, mirroring live conditions without deploying actual funds. This allows models to be evaluated against execution aware realities such as latency, slippage, and regime shifts not just historical simulations.

Beyond simulation, LabhLabs functions as an orchestration and governance layer for multiple AI trading agents.

In contrast to Alpha Arena, LabhLabs is implemented for Indian markets, where data is inherently fragmented and less standardized than US market feeds. The framework embeds structured risk controls prior to any live capital deployment.
by echelon | 2026-02-23 07:18:49+00:00
I actually looked at several graphs before posting. Wasn't easy to share crude data so I didn't link it.

Now that I'm googling for more deliberate correlations, I see other people are talking about this:

https://roytriggs.medium.com/internet-use-and-birth-rates-an...

https://fortune.com/well/2025/03/28/phones-declining-birth-r...

https://www.nytimes.com/2025/05/29/opinion/dating-marriage-c...

"The phone killed babies" tracks with my intuition about this. Data correlates.

Finances aren't keeping me from having kids. The internet is. Smartphones are. Weird as that sounds. I can unpack more and expand this into a conversation.
by dbg31415 | 2026-02-23 07:18:59+00:00
Accessibility matters.

In 2026, tools like WAVE, Lighthouse, and a real screen reader should be part of any website design process. They catch issues early. A stitch in time saves nine.

I know you may not be a designer. That’s fine. Starting with a solid, off-the-shelf CSS framework can get you much closer to Web Content Accessibility Guidelines (WCAG) compliance from day one. It sets a baseline so you’re not reinventing solved problems.

Building from scratch is absolutely valid. It’s cool, even. But right now it reads less like an intentional design choice and more like missing fundamentals.

I’m not trying to be a dick, the project has potential! A few design improvements would make it usable for a lot more people.

Cheers!
by threethirtytwo | 2026-02-23 07:19:05+00:00
>To live in a country where tens of millions of people have food insecurity, 50 million rely on food stamps, and the median income is 40,000 while the median rent is 1,700 (20,000/year) and claim no one has to watch their grocery bill to their own inconvenience would be utterly disconnected from the reality of the survival of half of their countrymen.

Stop turning this into some kind of holier than thou angle. He knows, you know we all know.

>Anyway, the irony is not lost that you simultaneously advocate for the parent being interpreted non-literally, by intent, but my colloquial, common use of the word "nuts" is "unacceptable".

It is, because it's a targetted attack. Let me put it this way, would you say what you said to someones face? Your best friend? You mother? or father and call them nuts because they said something that was off? Would you go on some holier than thou lecture on the amount of people relying on food stamps? You would? Then please continue.
by jcattle | 2026-02-23 07:19:10+00:00
Because due to rotation the earth bulges outward at the equator. The actual term is "Equatorial bulge".

Due to that "equatorial bulge" you are further away from earths dense center, than at the equator. And due to the inverse square law, you lose intensity of that gravitational force very quickly, the further you are away.

Hence: the smallest gravitational force you get is on a mountain in the Andes near the equator.
by Animats | 2026-02-23 07:19:45+00:00
This is great. Gives a strong sense of the stress level of carrier operations.

It seems to be cut and pasted from somewhere else. Large blocks of text are duplicated. See [1] for one of five examples. Is there some place to read the original?

[1] https://thelexicans.wordpress.com/2021/10/17/part-x-a-blown-...
by goobatrooba | 2026-02-23 07:20:03+00:00
Blocking a propaganda outlet by a hostile foreign government is not censorship and certainly not "general censorship that is normalised."

If you know that a foreign actor intentionally tries to undermine your government you honestly think the right course of action is to just relax and let it happen? Absurd.

Europe has seen it's share of dictators and knows that a democracy needs to also protect itself.
by recursivecaveat | 2026-02-23 07:20:26+00:00
Yeah I don't mind people taking their "I was there" pic. Sometimes I just want something to be in my camera roll to prompt a memory in 5 years. What I don't understand is 200 people all holding their phone up to take the same terrible quality video as each other of an event that will be recorded professionally from every angle anyways. Certainly no way would I ever watch back a 1 hour DJ set if I recorded that on a personal phone.
by foota | 2026-02-23 07:20:27+00:00
That's... weird? Maybe it's blocked in your country? The link opens just fine for me.

Those were tested numbers, not advertised though. I don't see how you'd get a drop from 200 to 120 miles, that's a 40% drop. Maybe in a gasoline powered car, but EVs can regeneratively break, so I don't think it'd make that much of a difference.

Reading some more, there are a handful of different ratings. the old European one: NEDC, the new European one: WLTP, the US EPA, and China's CLTC.

Generally the ratings from lowest to highest go EPA, WLTP, NEDC, then CLTC. The EPA rating is just a tad high I've read when you look at fast highway driving (e.g., 75 MPH), but should be within ballpark range.

I think you're under estimating the range of modern EVs.
by qsera | 2026-02-23 07:20:45+00:00
>The peer review process provides a minimal level of verification

But this is only true if you trust the peer more than the author. Because both the author and the peer are not accountable to you or to mostly none.

So "peer review", without any other qualification is as good as shit.

Every time I see people go "BUT IS IT PEER REVIEWED !??" I can't help but chuckle.
by Hikikomori | 2026-02-23 07:20:48+00:00
Dont need your victim theatrics, we both know who made that comment. We both also know Ben gurions private correspondence and what the plan always was for Israel.

We both know the majority of Israel supports the settlements and the status quo in Gaza, but maybe not the last few years. We both know they went out to protest against the punishment of your rapists.

Oslo and David talks included poison pills so that Palestinians would never agree to it. While I believe that Hamas should not exist I do believe the powers in Israel wants them to.

Essentially everyone but Israel supports the 1967 borders today, but Hamas does not recognize Israel, just like Israel didn't recognize Palestine in the Oslo accords, that would also allow settlements in the west bank to continue.
by Terr_ | 2026-02-23 07:21:07+00:00
I think it's worth highlighting that these are semi-independent questions:

1. Can the output of an LLM be given a new copyright? (No, according to the precedent where a monkey taking a selfie does not have copyright to the picture.)

2. Can the output of an LLM infringe on an existing copyright? (Yes, or else we get to see very interesting things happen to some big incumbent companies.)
by MantraHQ | 2026-02-23 07:21:15+00:00
The workspace partitioning approach here is interesting. Context overflow in coding agents is usually framed as a memory problem but it's more accurately a retrieval problem — the model doesn't lack capacity so much as it lacks the right information at the right time.

What tends to work well: instead of loading all skills upfront, treat each workspace as a profile that the agent queries at task start. The agent sees a short index ('these are the skill categories available'), then pulls in full detail only for the relevant subset. This way your 800-skill corpus becomes a 50-token pointer, not a 50k-token dump.

The tricky part is boundary detection — knowing when a task crosses workspace boundaries mid-session. I've found that explicitly modeling 'intents' at session start and checking whether they remain coherent as work progresses catches most of the cases where an agent drifts into needing a different skill set. At that point, you restart with the appropriate workspace rather than letting context get increasingly polluted.

One thing I'd watch: skill files that reference each other create implicit coupling. If workspace A's skills assume workspace B's utilities are already loaded, you end up with hidden dependencies that break the partitioning. Worth adding a dependency declaration format early before the corpus grows further.
by Jarred | 2026-02-23 07:21:57+00:00
You can find a comparison with `bun build` on Bun's homepage. It hasn't been updated in a little while, but I haven't heard that the relative difference between Bun and Rolldown has changed much in the time since (both have gotten faster).

In text form:

Bundling 10,000 React components
(Linux x64, Hetzner)

Bundler Version Time
─────────────────────────────────────────────────────────
Bun v1.3.0 269.1 ms
Rolldown v1.0.0-beta.42 494.9 ms
esbuild v0.25.10 571.9 ms
Farm v1.0.5 1,608.0 ms
Rspack v1.5.8 2,137.0 ms
by mlsu | 2026-02-23 07:22:23+00:00
If I had a human personal assistant, I'd tell him to clean my gutters, sweep the driveway, clean the kitchen table...

I understand, if we imagine a world where everyone is constantly plugged into the computer all the time, and every bit of human activity is coordinated and surveilled by the computer at all times, this shit appears to be quite useful. Otherwise and even if, it's total schlock.

Like, "hey openclaw can you order me groceries" is great, but the only reason is that there's a wageslave on the other side of that transaction who has to drive to the grocery storef and pick the groceries out. Pretty soon that slave is going to be all of us and my god it makes me feel like an insane person that the boosters of this tech don't see that.
by renegat0x0 | 2026-02-23 07:22:57+00:00
- the site is awesome, but could be better

- I was also a fan of githubs awesome lists (eg. https://github.com/awesome-selfhosted/awesome-selfhosted)

- I think separated lists are cool, because they focus on one subject, like self-hosted above... but if all awesome lists were in one big list...

- awesome lists are often data, with a lack of search functionality. fmhy site has a search functionality, but I often prefer searching links by a 'tag'

- what most of awesome lists lack is 'votes', or 'ranking'

My solution is to provide links, with tags, and 'ranking' https://github.com/rumca-js/Internet-Places-Database. Provides search by link, title, description, whatever. I think that is where it all should go.

Also my database captures links from fmhy.
by lenkite | 2026-02-23 07:23:18+00:00
Why are people even debating this ? Mossad themselves admitted to supporting protests on the ground. Pompeo even boasted about Mossad agents "walking beside" protesters - they were fully confident that they would successfully engineer regime change.

"Go out into the streets together. The time has come. We are with you. Not just from a distance or through words. We are also with you on the ground." -> Mossad.

https://www.jpost.com/middle-east/iran-news/article-883524

https://english.aawsat.com/world/5224901-israel%E2%80%99s-mo...
by heisenbit | 2026-02-23 07:23:47+00:00
That is a meme and it does not matter whether it happened or not it would be too rare to matter.

What matters is the lack of discipline and respect for boundaries (beyond traditional teen behavior) possibly caused by social deprivation in our social app age. It is brought to the surface in the classroom where teachers have considerable less power than earlier. Physical attack once unthinkable are not rare anymore.
by lelanthran | 2026-02-23 07:24:03+00:00
> I dunno, it seems like way more cost effective to use the first party tools but I'm not sure why they really want that. Are the third party tools just really inefficient with API usage or something?

No, the first party tools, even if they used the same number of tokens, gives them valuable data for their training.

Essentially, the first party tools are subsidised because it saves them money on gathering even more training data. When you use a 3rd party tool, you are expected to pay the actual cost of each token.
by xixixao | 2026-02-23 07:24:11+00:00
I’ve been dreaming about this for so long. Clearly I’m not the only one. While power delivery could be an issue, I’m surprised no tech company has come up with a real product.

It does remind me though of Portals from FB/Meta, which were really nifty, but not profitable enough for otherwise highly profitable company to continue investing in.
by ta8903 | 2026-02-23 07:24:49+00:00
>global ignore file at ~/.config/git/ignore or wherever core.excludesFile points

Most mentions I see of `core.excludesFile` refer to it as a global, but it could also be a local file. I use it as a local file since for some projects I'm working on I end up having a set of scripts/logs/anything specific to the repository that I don't want to be in the `.gitignore`.
Show HN: Code Lantern– A self-hosted, local code-analysis and visualization tool
by tjindl | 2026-02-23 07:25:07+00:00
Hi HN,

I'm excited to share a project I've been working on called Code Lantern. It's a self-hosted tool designed to help you visually explore and understand codebases.

Whenever I jump into a new codebase (or return to one of my own after a few months), I often find myself spending hours just tracing function calls, mapping out dependencies, and trying to build a mental model of how everything fits together. I wanted a way to instantly generate a high-level architectural view, but I didn't want to upload my code to a third-party server to get it.

So, I built Code Lantern. You run it via Docker, point it at any local project folder, and it generates:

Interactive Dependency Graphs: Visual maps of how files and functions connect, powered by Cytoscape.js.
Architecture Maps: Tree diagrams breaking down your file and function structures.
Complexity Heatmaps: It uses AST to calculate cyclomatic complexity scores, helping you spot technical debt at a glance.
AI Deep Dives (Optional): If you click on any function, it can generate a description of what it does, its inputs/outputs, and call relationships.
How it works under the hood: The backend is built with FastAPI and uses Tree-sitter for accurate AST parsing (supporting Python, JS/TS, Java, C++, and Rust). It extracts functions, classes, imports, and resolves call relationships locally. The frontend is built in React.

Privacy and Setup: Privacy was my main priority. The tool runs locally in Docker and mounts your project folder strictly as read-only. Your code never leaves your machine.

The core analysis, graphs, and heatmaps work completely offline without any API keys. If you want to use the AI "Deep Dive" descriptions, you can just plug in your own API key in the .env file (it supports Groq, OpenAI, Anthropic, Gemini, OpenRouter, or Cohere). The API calls are optimized and will take least amount of tokens possible.

It’s open source under the MIT license. You can spin it up with a single ./run.sh script.

I'd love for you to try it out on one of your projects and let me know what you think, or what features would make navigating new codebases easier for you. Happy to answer any questions and hear your feedback!

Repo: https://github.com/Tjindl/code-lantern