MurphyA/hacker-news huggingface dataset:
Show HN: TemplUI v1.7.0 – UI components for Go and templ, now with import mode
by axadrn | 2026-03-09 10:16:32+00:00
I shipped templUI v1.7.0 today.

templUI is a component library for Go + templ + Tailwind.

The biggest change in this release is that you can now use it in two ways:
- CLI workflow: copy components into your own codebase
- Import workflow: use github.com/templui/templui directly as a dependency

Other changes:
- dedicated quickstart repo is back
- interactive components now handle their own script rendering automatically
- docs were simplified around Quickstart, Import Workflow, and CLI Workflow

The import workflow is still marked beta, but it’s usable now and was one of the most requested things.

Repo:
https://github.com/templui/templui

Quickstart:
https://github.com/templui/templui-quickstart

Would love feedback from people building with Go and templ.
by quietbritishjim | 2026-03-09 10:17:50+00:00
I guess it's an instance of a more general principle: sending an email doesn't guarantee it gets to the user's inbox, never mind that it gets read.

Even if you are OK with the idea that a user can be presented updated TOS with no option to disagree (I don't, but put that aside for a moment), it should still require a mechanism that actually guarantees (or at least verifies) that the user has seen that the terms are updated. Email is not that. (An unskippable notice on login to a web service would be.)
by drakonka | 2026-03-09 10:17:59+00:00
I enjoy being alone (emphasis: alone, not lonely), but I don't think it's good to try to force yourself to just cope with it somehow if it isn't your thing. But then, you seem to not want to do anything that would help you not be alone? It sounds like you're trying to turn yourself into a different person, which seems even harder than things like finding a hobby or joining a Meetup group.
by flohofwoe | 2026-03-09 10:18:16+00:00
> "obviously we just need a hub-and-spoke architecture where there's a common intermediate representation for all these types"

I'm perfectly happy with integers and floats as common interface types (native ABIs also only use integers and floats: pointers are integer-indices into memory, and struct offsets need to be implicitly known and compiled into the caller and callee).

The WASM Component Model looks like a throwback to the 1990s when component object models where all the rage (COM, CORBA, and whatnot).
by ozgrakkurt | 2026-03-09 10:18:52+00:00
"Tight control over memory use" sounds wrong considering every single allocation in rust is done through the global allocator. And pretty much everything in rust async is put into an Arc.

I don't understand what kind of use case they were optimizing for when they designed this system. Don't think they were optimizing only for embedded or similar applications where they don't use a runtime at all.

Using stackfull coroutines, having a trait in std for runtimes and passing that trait around into async functions would be much better in my opinion instead of having the compiler transform entire functions and having more and more and more complexity layered on top of it solve the complexities that this decision created.
by 7777777phil | 2026-03-09 10:18:55+00:00
This is textbook Pozsar. His Bretton Woods III framework argues the global monetary system is shifting from inside money (Treasuries, dollar reserves) to outside money (commodities, gold). Every time a geopolitical shock disrupts physical commodity flows, the premium on outside money reprices upward. Hormuz closing is exactly the scenario he built the framework around. Wrote a two-part deep dive on the thesis last year: https://philippdubach.com/posts/pozsars-bretton-woods-iii-th...
by jonaslanglotz | 2026-03-09 10:19:17+00:00
I'm working on site that let's you check when a manned space station was last directly over your house.

It's a reference to https://xkcd.com/2883/, which I've always liked and was suprised there was no tool to check when you last had astronauts over for dinner.

Looking up the location of the ISS at a specific time is easy. Looking up the closest passes of the ISS to a specific location for the last 30 years on-demand is more complicated.
by dsr_ | 2026-03-09 10:19:44+00:00
By way of contrast, I've seen so many corporations led by deranged idiots who used to make good decisions within their realm of competence that I have no trouble believing that Huy Fong decided that they could completely dominate Underwood, and were very wrong.

The more power a person believes they have, the stupider they act.

Quoth wikipedia: "The jury unanimously ruled in favor of Underwood on the grounds of breach of contract and fraud."
by Grimblewald | 2026-03-09 10:19:44+00:00
At some point I have to describe what I need with such a level of detail and precision, that if I had chosen to wrote it in my language of interest I'd have had the code I wanted long before i finish writing all the boundry conditions, safe guards, long term pitfalls etc. Thats if the system even respects all of those things, it might just lose track of some instruction at some point or make some bs placeholder and now we're back to bug hunting, only i'm now wading through code that is best described as slop.
by voodooEntity | 2026-03-09 10:20:03+00:00
Ishikawa : a framework/architecture for automated Attack Surface Mapping & Vulnerability scanning

- golang based architecture

- information is dynamically mapped into one central directed knowledge graph

- default multithreading

- utilizes existing tools (such as nmap/nuclei/katana/wfuzz/....) instead of reinventing the wheel

- architecture is (tldr) a self supervising logic in which every worker is also a scheduler that based on delta causality uses cartesian fanout and graph overlay mapping including local only witness nodes to dispatch new "jobs" without having a central scheduler or the necessity to scan a central total job queue to prevent duplicate executions.

In this architecture every "action" that can be executed defines an input structure necessary. If the previously mentioned mechanic identifies a possible job execution it will create a job input payload which will automatically be picked up by a worker an executed. Therefor every action is a self containing logic. This results in a organically growing knowledge graph without defining a full execution flow. It is very easy to extend.

I worked on this for the past ~10 years (private time). The sad truth tho is, while this project was initially planned to be open sourced - after i not to long ago for quite some bucks consulted a lawyer, i basically was presented with the fact that if i would publish it i could get sued due to germany's hacker and software reliability laws. So for now its only trapped on my disk and maybe will never see daylight.

Im right now working on a blog article (thats why i even mention it) about the whole thing with quite more detailed description and will also contain some example visual data. Maybe will post it on hackernews will see.

PS:The tool does not need llm/nn.
by simianwords | 2026-03-09 10:21:08+00:00
that's fair and you have highlighted a good limitation. but we do this all the time - we try to understand the author, learn from them and mimic them and we succeed to good extent.

that's why we have really good fake van gogh's for which a person can't tell the difference.

of course you can't do the same as the original person but you get close enough many times and as humans we do this frequently.

in the context of this post i think it is for sure possible to mimic a dead author and give steps to achieve writing that would sound like them using an LLM - just like a human.
by kace91 | 2026-03-09 10:21:18+00:00
There is a strange phenomena where introducing tech makes people suddenly blind or numb to established rules.

Can you imagine buying a car in the seventies and a month later finding a technician under your parked car making adjustments to it? You’d kick them out and call the police. But put an internet connection in between and it’s ok.

Same goes for wiretapping (compare Nixon vs current state), unlicensed hotels and cabs being ok when booked by an app, and so on.
by raghavbali | 2026-03-09 10:21:34+00:00
> With RSS, you subscribe directly to websites, blogs, or news outlets, meaning there is no middleman algorithm deciding what you see.

This enters a failure mode very soon, especially because most people using RSS-like technologies would typically subscribe to more sources than they can typically read through. Like it or not, _the algorithm_ does serve the purpose in prioritizing and discovery. The trouble, IMO, is with the objectives for these recommendation and ranking algorithms.

A middleman/aggregator who is paid by subscribers would be incentivized for the users, a marketplace-like aggregator would always have trade-offs.
by sigriv | 2026-03-09 10:21:51+00:00
Seems like your whole social life was dependent on your partner? Which tends to happen with men and is - in my and many others eyes- not healthy for a relationship. Invest in your social life, as you would in other aspects (work/health/fin), and start building.

The start up cost is vulnerability: if you meet someone you like to be friends with you need to essentially tell them 'I like you, I want to have you as my friend, I want to spend time with you, lets' hang'. The vulnerability and awkwardness are the initial price.
by flohofwoe | 2026-03-09 10:22:23+00:00
> Google has done almost nothing to their DWARF debugging tooling since it was introduced as beta a few years ago

WASM DWARF debugging works perfectly fine though?

The 'debugger half' just moved from Chrome into a VSCode debug adapter extension where debugging is much more comfortable than in the browser:

https://marketplace.visualstudio.com/items?itemName=ms-vscod...

I use that all the time when working on web-platform specific code, with this extension WASM debugging in VSCode feels just like native debugging (it actually feels snappier on macOS than debugging a native macOS exe via LLDB).
by aa-jv | 2026-03-09 10:22:28+00:00
Do you review every package in your package manager for back doors/trojans - or do you rely on the social circle upstream to do this work for you?

How is this any different than running some random .sh script?

The assumption is that package-manager code is reviewed - that same assumption can be applied just as equitably to wget'ed .sh files.

tl;dr - you are reviewing everything you ever run on your system, right?
by pjc50 | 2026-03-09 10:22:30+00:00
> discussion of political assassinations

This is one of those things that gets categorized one way or the other depending on whether you're respectably right-wing enough. People have been selling firing range targets with their political enemies on, and even in a couple of cases using them in campaigns, for a long time. And now political assassination is official US state policy!

> the path that neo-fascist ideology took from 4chan /pol -> gaming culture -> the white house

Yes, although I think that shows how difficult it is to moderate against ideology which can be smuggled in through "reasonable concerns".
by Joker_vD | 2026-03-09 10:22:39+00:00
Oh, is that how MINIX did that? AIUI, the original UNIX could only hold one process in memory at a time, so its fork() would dump the process's current working space to disk, then rename it with a new PID, and return to the user space — essentially, the parent process literally turned into the child process. That's also where the misconception "after fork(), the child gets to run before the parent" comes from.
by thaumasiotes | 2026-03-09 10:22:43+00:00
> I guess viscosity because “consistency” has other connotations and if anything they seem to be more consistent.

You're thinking of two different words.

https://www.merriam-webster.com/dictionary/consistency

Sense 1: agreement of parts or features to one another or a whole

Sense 2: degree of firmness, density, or viscosity

Notably, sense 1 has a related adjective, consistent, and sense 2 does not.
by bargainbin | 2026-03-09 10:23:02+00:00
Had the same crisis - I split from my long term partner after 14 years at 33 years old. Was happy to be alone for the first time in my life then within two weeks the dread of loneliness started creeping in.

My advice is find a social outlet - Group exercise like CrossFit and Run Clubs help a lot and cater to all people.

Also - restarting your life alone is expensive, but you will never again have a cheaper cost of living. Take the opportunity to save so you can let the good times roll when you find someone.

Also also - I had zero luck on dating apps, I think their prime days are over, and they’re superficial. Don’t bother with that negative feedback loop.
by donyaie | 2026-03-09 10:23:04+00:00
I explored how to turn messy human input into structured, validated JSON using LLMs in a production-ready backend. The article covers:

input normalization for ambiguous requests

prompt engineering treated as an API contract

structured JSON output and schema validation

reliability patterns, retries, and fallback handling

lessons from what went wrong

The goal was not just to generate text, but to build a robust system where LLM reasoning is controlled and predictable. Full Go code is linked at the end.
by backrun | 2026-03-09 10:23:05+00:00
Fair concern — that's the most common failure mode for extensions like this.
A few things I've built in to reduce breakage:

First, the parser doesn't rely on a single fragile selector chain. It targets multiple fallback identifiers per element type, so if Google renames one class, the others still catch it. It's not bulletproof but it degrades gracefully rather than exporting blank files.

Second, I'm running a lightweight automated check that pings the extension against a fixed Gemini conversation daily. If the output diff crosses a threshold, I get alerted before users notice.

Third — honestly — the extension is small enough that I can ship a patch within 24–48 hours of a breaking change. That's one advantage of not having a 6-week release cycle.

It will break at some point. I'd rather be upfront about that than oversell stability. The goal is to fix it fast when it does.
by Lyrex | 2026-03-09 10:23:07+00:00
I work for a digital bank and the versioning is essentially exactly how we handle T&Cs.
The user accepts a certain version of some terms, and if we launch for example a new product that requires changed T&Cs then we ask the user to accept them if they want to use the new product.
If they don't, well, then they just keep using the existing offering without accepting any new terms.
Show HN: SubstanceWiki – Open-source encyclopedia of psychoactive substances
by toprak123 | 2026-03-09 10:23:08+00:00
SubstanceWiki is a free, open-source encyclopedia of psychoactive substances with a harm reduction focus.

Site: https://substancewiki.org
Source: https://github.com/yagcioglutoprak/substance_wiki

The database covers 381 substances with structured data including dosage tables by route of administration, duration timelines, 14,967 interaction safety ratings, 240+ catalogued subjective effects, experience reports, and community insights aggregated from Reddit.

Tech stack: Next.js 16 (App Router), PostgreSQL via Prisma, Tailwind CSS. Content is CC-BY-SA 4.0. The whole codebase including the database schema and seed scripts is public.

Some technical decisions that might interest HN:

- Interaction checker is backed by ~15K pre-computed combination records, not runtime calculation
- Community insights are built from Reddit data via the Arctic Shift archive, run through a classification and enrichment pipeline
- Programmatic SEO generates comparison pages, combo guides, and concept pages from the underlying data
- Dynamic OG images generated per-page via @vercel/og
- JSON-LD structured data on every page type (WebSite, Article, BreadcrumbList, FAQPage)

Feedback welcome on the data model, the UX for presenting safety-critical information, or anything else.
by 7777777phil | 2026-03-09 10:23:16+00:00
Don't necessarily agree with this article but I think the framing is interesting.. Most analysis still treats this as a degradation in progress, something the next election reverses.

Modelled as a transition to oligarchy with democratic aesthetics, the prescriptions flip. You stop trying to fix the process and start building parallel institutions. I would assume that some European allies are reaching the same conclusion right now, just from the outside looking in.
by carefree-bob | 2026-03-09 10:23:28+00:00
That is a very, uh, idiosyncratic reading of history.

You are conflating the Cuban Missile crisis of October 1962 -- which was the USSR placing nuclear weapons close to the US in Cuba in early 1962, in response to the US placing nuclear weapons close to the USSR in Turkey in 1961, and in your mind you have blended that crisis, which was a close call in which both sides ultimately agreed to withdraw their nukes, with the acquisition of nukes by the USSR 11 years earlier.

Yet when North Korea, India, China, Pakistan, South Africa, or Israel, got nukes this did not set off a crisis, it was the brinksmanship that set off a crisis.

Soon, both major powers in the gulf -- Iran and KSA will get nukes. Odds are this will happen within a decade. There is nothing anyone can do to stop it.

There are too many pressures forcing this to happen, not least of which is the clear understanding that these nations need to have nukes to prevent destruction by the other nuclear powers some of which are clearly hostile to them and bent on their destruction. It's why North Korea, which kept their nukes, is still around, but Libya, which gave up their nukes, has been dismembered. Just as a matter of self-defense and survival this is inevitable.

However what we can do is tone down the rhetoric of nuclear brinksmanship, threatening global war if a rival doesn't withdraw their nukes. That was the real lesson of the Cuban Missile crisis, which you have confused with Russia's 1949 achievement, or China's 1964 achievement.

Since no one is going to disarm their nukes, this is just something people have to live with. Threatening war over this issue is exactly what causes the risk of global catastrophe, not the spread of the technology, which is inevitable.
by throwaw12 | 2026-03-09 10:23:32+00:00
Why not remove TOS completely, if your provider is anyway forcing new terms?

Suppose I start with simple TOS at the beginning: do not use in criminal scenarios

Then I change it to: do whatever you do with it, you are responsible for it anyways

I can even do this per sign-up, show TOS which makes sense, then next day send new TOS to allow everything
by sshine | 2026-03-09 10:23:43+00:00
There's an election in my country, and every campaign is full of lies:

Every bold change, whether it's more or less taxes, will not realize.

It is just meant for people to vote on, not for the government to realize.

I do think that in multi-party systems, parties have more to lose long-term.

One crazy president won't fundamentally change your color.
by exe34 | 2026-03-09 10:23:43+00:00
I deal with loneliness the same way I'd deal with any addiction. I tell myself I just need to get through one minute at a time, then one hour and then one day. It's not even a whole 24h, I only have to be awake for 16h and I can get through that. Tomorrow doesn't matter, because I might not have to wake up again. If I do, I'll handle it then.

This allows me to not add any further worry/anxiety/pain to the day. when it hurts, I get by, and when the pain stops for a few hours, I enjoy the things I have available to me - walks on the beach, substance abuse (chocolate), reading, watching TV. I tend to watch the same shows over and over, it's almost like having friends, but they never leave. I do try to talk to one human being at least once a week even if it's online, just to make sure my voice still works. It's important to realise that nothing really matters in the end. There's no viva committee at the end that will pass/fail you. Serving your time on earth is the only thing that matters. Once the time is passed, you never have to serve it again.
by short_sells_poo | 2026-03-09 10:25:29+00:00
Because the power is disproportionally concentrated with one party - the service provider. The users of the service are numerous, comparatively small and uncoordinated.

In a situation like that, users have no means of resisting egregious terms, and no you cannot pull up stuff like "if you don't like it, don't buy it". As I wrote, the users are uncoordinated, and would take a huge effort to coordinate. Boycotting services rarely works (if ever). So what we end up with is that legal teams employed by firms optimize to shove as much bullshit into ToS as they can, the users grind their teeth and bear the bullshit, and get shittier service. Nobody really wins, because I'd argue the marginal gain for the company is minimal at best from this.

The government is not there just to enforce laws, but also to legislate such that the scales are balanced. Otherwise we may as well live in a dictatorship.
by appsoftware | 2026-03-09 10:25:57+00:00
I've released a free extension for VS Code that implements a kanban board in visual studio with a GitOps friendly markdown storage format that helps with a 'human in the loop' agent flow I've been working with to a high degree of success:

Agent Kanban has 4 main features:

GitOps & team friendly kanban board integration inside VS Code
Structured plan / todo / implement via @kanban commands
Leverages your existing agent harness rather than trying to bundle a built in one
.md task format provides a permanent (editable) source of truth including considerations, decisions and actions, that is resistant to context rot
by peter_griffin | 2026-03-09 10:26:10+00:00
>Why should a government prohibit private parties from agreeing to anything other than those 3 things?

because ToS have been long used to demand unreasonable things and threaten people with expensive lawsuits. The advantage of companies losing bullying power significantly outweighs the disadvantage of less business freedom

ToS are normally "contracts" (hard to even call them that) between a large corporation with very high resources for a lawsuit and an individual with very low resources. The power imbalance makes challenging ToS for the individual unfeasible in 99% of cases
by nirvael | 2026-03-09 10:26:12+00:00
Using a Muse EEG headset to read brain activity and use that to drive the output of a GAN. Similar to other projects that try to visualise or decode thoughts, but at the moment it's an art project. Obviosuly quite limited by compute and hardware. I'm sort of looking for collaborators / co-founders / opportunities in the AI + neuroscience + creativity space.
by unsnap_biceps | 2026-03-09 10:26:23+00:00
So this is where legal stuff gets complicated. Judges don't send the jury into deliberations with a copy of the revenant laws, but they write instructions that lay out the criteria the jury has to deliberate on. For simpler cases, it's a checklist of things, like for a DUI, "Was the defendant driving the vehicle?" "Was the defendant impaired?" and so on. For a murder case, it gets tricky. I don't have a way to view those instructions, so it's possible that the instructions basically laid it out as "If x and y and z, then you will find them guilty with a death sentence, however if x and y but not z, then they're guilty with a life imprisonment, and finally if not x or not y, then they're not guilty".

It's also possible that they did have a vote and voted to recommend a death sentence, however, it would still be entirely up to the judge to follow though with that recommendation. Jury sentencing guidelines are entirely non-binding. Judges are bound by the guidelines defined by the letter of the law and other cases.

We may never know if it was as black and white as them voting for "Execute or not" or if it was just the outcome of the jury instructions. Both cases are reasonable for a jury member to feel guilt over.