frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Beware of Fast-Math

https://simonbyrne.github.io/notes/fastmath/
45•blobcode•1h ago•3 comments

Photos taken inside musical instruments

https://www.dpreview.com/photography/5400934096/probe-lenses-and-focus-stacking-the-secrets-to-incredible-photos-taken-inside-instruments
607•worik•12h ago•26 comments

What's working for YC companies since the AI boom

https://jamesin.substack.com/p/whats-working-for-yc-companies-since
55•jseidel•18h ago•30 comments

Valkey Turns One: Community fork of Redis

https://www.gomomento.com/blog/valkey-turns-one-how-the-community-fork-left-redis-in-the-dust/
168•cebert•10h ago•62 comments

Gradients Are the New Intervals

https://www.mattkeeter.com/blog/2025-05-14-gradients/
15•surprisetalk•2h ago•0 comments

Simpler Backoff

https://commaok.xyz/post/simple-backoff/
45•todsacerdoti•4h ago•11 comments

Cerebras achieves 2,500T/s on Llama 4 Maverick (400B)

https://www.cerebras.ai/press-release/maverick
39•ByteAtATime•5h ago•17 comments

Surprisingly fast AI-generated kernels we didn't mean to publish yet

https://crfm.stanford.edu/2025/05/28/fast-kernels.html
271•mfiguiere•12h ago•77 comments

AI Responses May Include Mistakes

https://www.os2museum.com/wp/ai-responses-may-include-mistakes/
126•userbinator•3h ago•96 comments

AccessOwl (YC S22) is hiring an AI TypeScript Engineer to connect 100s of SaaS

https://www.ycombinator.com/companies/accessowl/jobs/hfWAhVp-ai-enabled-senior-software-engineer-typescript-focus
1•mathiasn•2h ago

The ‘white-collar bloodbath’ is all part of the AI hype machine

https://www.cnn.com/2025/05/30/business/anthropic-amodei-ai-jobs-nightcap
413•lwo32k•19h ago•690 comments

Beating Google's kernelCTF PoW using AVX512

https://anemato.de/blog/kctf-vdf
282•anematode•16h ago•87 comments

Reverse engineering of Linear's sync engine

https://github.com/wzhudev/reverse-linear-sync-engine
97•flashblaze•2d ago•11 comments

Show HN: MCP Defender – OSS AI Firewall for Protecting MCP in Cursor/Claude etc

https://mcpdefender.com
34•gsundeep•1d ago•31 comments

Show HN: Icepi Zero – The FPGA Raspberry Pi Zero Equivalent

https://github.com/cheyao/icepi-zero
149•Cyao•2d ago•36 comments

Mary Meeker's first Trends report since 2019, focused on AI

https://www.bondcap.com/reports/tai
138•kjhughes•13h ago•59 comments

Microsandbox: Virtual Machines that feel and perform like containers

https://github.com/microsandbox/microsandbox
295•makeboss•19h ago•136 comments

Systems Correctness Practices at Amazon Web Services

https://cacm.acm.org/practice/systems-correctness-practices-at-amazon-web-services/
327•tanelpoder•20h ago•118 comments

Revenge of the Chickenized Reverse-Centaurs

https://pluralistic.net/2022/04/17/revenge-of-the-chickenized-reverse-centaurs/
95•GreenWatermelon•2d ago•29 comments

Java Virtual Threads Ate My Memory: A Web Crawler's Tale of Speed vs. Memory

https://dariobalinzo.medium.com/virtual-threads-ate-my-memory-a-web-crawlers-tale-of-speed-vs-memory-a92fc75085f6
69•dariobalinzo•1d ago•21 comments

C++ to Rust Phrasebook

https://cel.cs.brown.edu/crp/
51•wcrichton•10h ago•2 comments

Cap: Lightweight, modern open-source CAPTCHA alternative using proof-of-work

https://capjs.js.org/
131•tiagorangel•16h ago•87 comments

How large should your sample size be?

https://vickiboykis.com/2015/08/04/how-large-should-your-sample-size-be/
24•sebg•3d ago•16 comments

Ray Tracing in J

https://idle.nprescott.com/2020/ray-tracing-in-j.html
64•todsacerdoti•2d ago•9 comments

Google Duo will be replaced by Google Meet in Sept 2025

https://9to5google.com/2025/05/27/google-meet-legacy-duo-calling/
14•phantomathkg•1h ago•19 comments

Every 5x5 Nonogram

https://pixelogic.app/every-5x5-nonogram
58•eieio•8h ago•23 comments

Robot is 3D-printed upside-down in one piece, then walks out of the printer

https://newatlas.com/robotics/3d-printed-soft-robot-walks/
9•Brajeshwar•1d ago•1 comments

The Darwin Gödel Machine: AI that improves itself by rewriting its own code

https://sakana.ai/dgm/
178•birriel•20h ago•172 comments

Silicon Valley finally has a big electronics retailer again: Micro Center opens

https://www.microcenter.com/site/mc-news/article/micro-center-santa-clara-photos.aspx
225•modeless•10h ago•117 comments

Anthropic launches a voice mode for Claude

https://techcrunch.com/2025/05/27/anthropic-launches-a-voice-mode-for-claude/
98•kordlessagain•2d ago•25 comments
Open in hackernews

Show HN: templUI – The UI Kit for templ (CLI-based, like shadcn/UI)

https://templui.io/
58•axadrn•1d ago
Hi HN,

I’m building templUI – a UI kit for templ, styled with TailwindCSS.

It includes a CLI installer to add and manage components (like: templui add button modal) – inspired by shadcn/ui.

templUI – The UI Kit for templ

Goals:

- Help Go devs build UIs faster with well-structured, minimal components

- No JS frameworks – just Vanilla JS

- HTMX-friendly, but optional

- CSP-compliant by default

- Built for enterprise use and long-term scaling

Currently at v0.7x, with 1000+ commits and 500+ GitHub stars. It's already used in production projects and evolving fast.

* Website: https://templui.io

* GitHub: https://github.com/axzilla/templui

Happy to hear feedback or ideas!

Comments

avithedev•1d ago
This is beautiful, thank you!
axadrn•1d ago
You are welcome! Happy coding! =)
ipsum2•1d ago
I had no idea JSX for Go would be so popular. (9.3k stars on the templ project). What are people using it for?
axadrn•1d ago
Mostly for building typed web UIs in Go – instead of using html/template, which isn’t typed and feels oldschool. templ makes Go feel way more modern for frontend work.
anonzzzies•1d ago
I know I am an old angry guy but I really don't want things to 'feel' (not sure what that even is) more modern; I have projects that bring me millions a year which are running for over 2 decades now and this kind of 'modern' is just obsolete next year. I like profit and not being bothered by updates every 5 seconds. I have a simple stack, my saas apps are violently fast and they run for decades without me touching anything but some bugs/features. The modern feel is not required and in fact detrimental to just making bucketloads of business value and company wealth imho. But then again, we never had investors, so I don't know how it feels to burn other people's money.
axadrn•1d ago
Totally fair – stable, fast, boring tech is often the best kind of tech.

templ’s more for folks who want to stay in Go but need a smoother frontend experience for modern UI needs.

anonzzzies•1d ago
Yep, that makes sense. I do prefer Go to TS really as I love typesystems but TS types often are completely unreadable. I am a Haskell guy and not entirely sure how they managed to make TS types this line noisy and, frankly, a struggle.
axadrn•1d ago
Is TS actually a thing? ^^
bananapub•1d ago
These are weird things to complain about for templ - it’s very boring and stable and it just compiles to very boring Go code while 1) providing type safety for your templates and 2) being less annoying to compose things than template.html.

It definitely doesn’t feel like JSX or any other modern/exciting thing to me.

axadrn•1d ago
THIS actually!
anonzzzies•1d ago
The author and you are good at convincing me to use it. thanks and thats not sarcasm.
axadrn•1d ago
Appreciate that! Always happy to find common ground.
thestepafter•23h ago
Curious about your stack that you are using if you don’t mind sharing.
muspimerol•23h ago
Why do you say "JSX"? JSX is an HTML templating language for JavaScript. templ looks like an HTML templating language for Go. Every popular web backend language has an HTML templating language... so that it can produce HTML - is it really that surprising?
preisschild•19h ago
I recently started using it to make a web frontend for a go backend. This is perfect for that as you can use the same struct definitions and functions from the backend.
preisschild•1d ago
I used the icons from templui, but haven't updated since a few weeks when the packages went internal, because you have to install its own cli now for dependency management.

Not a fan of that.

axadrn•1d ago
The CLI is just a small Go binary – you can install it once via `go install` and then run `templui add icon`.

It helps keep things consistent as the library evolves.

But yeah, I get that some folks prefer manual imports – all good!

pst•10h ago
Everything under internal did discourage me from trying templUI too. What's the reason for it?
ale•1d ago
What does "HTMX support" even supposed to mean? HTMX is a drop-in library. Literally any html file "supports" HTMX.
axadrn•1d ago
You're right – HTMX works everywhere by default.

By “HTMX support” I just mean: the JS logic in components (e.g. tooltips, modals) auto-reinitializes after HTMX swaps.

So you can use components inside HTMX-driven UIs without worrying about broken behavior.

crowdyriver•23h ago
While I like the modern feel of shadcn/ui and derivatives, I still think that daisyui is much easier to use.

You really just paste these 2 lines in your html and that's it:

  <link href="https://cdn.jsdelivr.net/npm/daisyui@5" rel="stylesheet" type="text/css" />
  <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4" />
it's a bit more than 100kb of js, but for prototyping it is very nice.

I wish more UI libraries where in the same style. You can always optimize the bundle later.

lyu07282•23h ago
Checkbox/Radio Card is a neat idea, but doesn't seem to work on mobile.
andrewingram•19h ago
Nit: I just spent about 5 minutes clicking around trying to find out what templ is.

I could've just Googled it sooner, but I was just surprised I couldn't find any reference to the thing it's actually building on/for.

dcsan•19h ago
What is it
andrewingram•19h ago
From what I can tell it's a Go-based library for building web UI.
preisschild•19h ago
Its a components library for [templ](https://templ.guide/)
__jonas•19h ago
templ is kind of like JSX but for Golang, if you are familiar with JSX.

It's a language that compiles down to Go and lets you mix HTML-like syntax into your Go code for HTML templating.

https://templ.guide/

axadrn•19h ago
Fair point – I’ll make sure to link to https://templ.guide more prominently. Thanks for the heads-up!
axadrn•9h ago
I took another look and we do explain what templ is on our introduction page: https://templui.io/docs/introduction#built-on-strong-foundat...

"Templ - Type-safe templating for Go" with a link to templ.guide.

Thanks for the feedback!

pst•10h ago
I'm working on an application and use Fiber, Templ and Datastar to keep my frontend in Go, like my backend. I'm overall quite happy with this approach.

But Datastar tries to do both, AlpineJS stuff like show/hide dropdow options, as well as HTMX stuff like talk to backend and merge/replace parts of the DOM.

I came across TemplUI a few times while working on this app so far. But always felt the Vanilla JS plus HTMX approach of TemplUI conflicts with Datastar. Too much overlap in different components doing the same stuff for my taste. While at the same time, I spent way too much time converting Tailwind UI components into Tempo. Time I could spend better.

Datastar is quite on the experimental/unstable side of things. And its concept of signals doesn't quite work for my Kubernetes style API resources. So maybe I need to revisit this decision at some point.

What I really like about Datastar and what made me choose it in the first place is how easy it makes using server sent events.

So yeah, exciting times. Still some rough edges I would say. But for me personally I already prefer hypermedia over the predominant React frontends approach.