frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Myocardial infarction may be an infectious disease

https://www.tuni.fi/en/news/myocardial-infarction-may-be-infectious-disease
350•DaveZale•7h ago•123 comments

Pass: Unix Password Manager

https://www.passwordstore.org/
120•Bogdanp•6h ago•60 comments

Geedge and MESA leak: Analyzing the great firewall’s largest document leak

https://gfw.report/blog/geedge_and_mesa_leak/en/
35•yourapostasy•13h ago•3 comments

Two Slice, a font that's only 2px tall

https://joefatula.com/twoslice.html
122•JdeBP•5h ago•36 comments

Show HN: A store that generates products from anything you type in search

https://anycrap.shop/
828•kafked•17h ago•260 comments

Why you’d issue a branded stablecoin

https://text-incubation.com/Why+you%27d+issue+a+branded+stablecoin+like+McDonaldsCoin
15•krrishd•2h ago•7 comments

AMD’s RDNA4 GPU architecture

https://chipsandcheese.com/p/amds-rdna4-gpu-architecture-at-hot
87•rbanffy•8h ago•3 comments

Will AI be the basis of many future industrial fortunes, or a net loser?

https://joincolossus.com/article/ai-will-not-make-you-rich/
79•saucymew•7h ago•83 comments

Lexy: A parser combinator library for C++17

https://github.com/foonathan/lexy
38•klaussilveira•3d ago•4 comments

High Altitude Living – 8,000 ft and above (2021)

https://studioq.com/blog/2021/5/30/high-altitude-living-8000-ft-and-above-2450-meters
16•walterbell•2h ago•13 comments

Recreating the US/* time zone situation

https://rachelbythebay.com/w/2025/09/12/tz/
60•move-on-by•13h ago•29 comments

The Socratic Journal Method: A Simple Journaling Method That Works

https://mindthenerd.com/the-socratic-journal-method-a-simple-journaling-method-that-actually-works/
49•surprisetalk•3d ago•9 comments

George Bernard Shaw by G. K. Chesterton (1909)

https://www.gutenberg.org/ebooks/19535
9•lordleft•3d ago•1 comments

RIP pthread_cancel

https://eissing.org/icing/posts/rip_pthread_cancel/
170•robin_reala•12h ago•79 comments

486Tang – 486 on a credit-card-sized FPGA board

https://nand2mario.github.io/posts/2025/486tang_486_on_a_credit_card_size_fpga_board/
164•bitbrewer•14h ago•47 comments

How the restoration of ancient Babylon is drawing tourists back to Iraq

https://www.theartnewspaper.com/2025/09/12/how-the-restoration-of-ancient-babylon-is-helping-to-d...
27•leoh•5h ago•9 comments

Safe C++ proposal is not being continued

https://sibellavia.lol/posts/2025/09/safe-c-proposal-is-not-being-continued/
135•charles_irl•10h ago•99 comments

Visual programming is stuck on the form

https://interjectedfuture.com/visual-programming-is-stuck-on-the-form/
11•iamwil•3h ago•2 comments

How Ruby executes JIT code

https://railsatscale.com/2025-09-08-how-ruby-executes-jit-code-the-hidden-mechanics-behind-the-ma...
116•ciconia•4d ago•17 comments

The case against social media is stronger than you think

https://arachnemag.substack.com/p/the-case-against-social-media-is
189•ingve•11h ago•155 comments

Ancient DNA solves Plague of Justinian mystery to rewrite pandemic history

https://phys.org/news/2025-08-ancient-dna-plague-justinian-mystery.html
8•PaulHoule•2d ago•0 comments

Presence in VR should show tiny people, not user avatars (2022)

https://interconnected.org/home/2022/05/03/landscape
9•andsoitis•3d ago•4 comments

Four-year wedding crasher mystery solved

https://www.theguardian.com/uk-news/2025/sep/12/wedding-crasher-mystery-solved-four-years-bride-s...
280•wallflower•14h ago•82 comments

If my kids excel, will they move away?

https://jeffreybigham.com/blog/2025/where-will-my-kids-go.html
163•azhenley•5h ago•74 comments

My first impressions of Gleam

https://mtlynch.io/notes/gleam-first-impressions/
176•AlexeyBrin•16h ago•63 comments

Orange rivers signal toxic shift in Arctic wilderness

https://news.ucr.edu/articles/2025/09/08/orange-rivers-signal-toxic-shift-arctic-wilderness
73•hbcondo714•2d ago•1 comments

SkiftOS: A hobby OS built from scratch using C/C++ for ARM, x86, and RISC-V

https://skiftos.org
443•ksec•1d ago•89 comments

EFF to court: The Supreme Court must rein in secondary copyright liability

https://www.eff.org/deeplinks/2025/09/eff-court-supreme-court-must-rein-expansive-secondary-copyr...
81•walterbell•5h ago•30 comments

Show HN: CLAVIER-36 – A programming environment for generative music

https://clavier36.com/p/LtZDdcRP3haTWHErgvdM
114•river_dillon•15h ago•22 comments

Open Source SDR Ham Transceiver Prototype

https://m17project.org/2025/08/18/first-linht-tests/
97•crcastle•4d ago•9 comments
Open in hackernews

Clojuring the web application stack: Meditation One

https://www.evalapply.org/posts/clojure-web-app-from-scratch/index.html
165•adityaathalye•3mo ago

Comments

adityaathalye•3mo ago
The ongoing discussion for Biff [1] prompted me to re-share my post because I'd like more people to understand this "other way". Outside Clojureville, it is not obvious most of these Clojure "frameworks" are not monoliths.

The consummate Clojurist's default (and very normal-feeling way) to build a web application (or any application for that matter) is to roll their own web stack from production-grade libraries.

Of course, this state of affairs is a double-edged sword, just like is true for traditional web frameworks. In my post, I try to go into the whys and the wherefores, building upward from first principles.

[1] Biff – a batteries-included web framework for Clojure https://news.ycombinator.com/item?id=44037426

andersmurphy•3mo ago
A fantastic post! Enjoyed re-reading it.

I'd say the nice thing with the Clojure way of building your own stack is it becomes quite easy to swap parts out. On a previous project we swapped out our web server three different times with minimal changes (jetty -> aleph -> httpkit) as for the most part they all shared the same interface.

After a while you get good at seeing where you want things to be configurable and where you don't. It also gives you the confidence to roll your own micro stack/framework which means you are not dependent on third party aggregates to adopt new features.

adityaathalye•3mo ago
Thank you for the kind appreciation. Made my day :)

Yes; next to the sheer stability of parts, their fungibility is a business-critical feature of the Clojure ecosystem. Of course said fungibility does not magically manifest. However the effort to get there is "not much", I'd say. The use of "system" libraries, with some well-reasoned module design brings it pretty close to magic.

As in the post, a fungible, production-grade part can be just a multimethod (e.g. the router in the post). Why? Because "production" comes in all sizes. A small SaaS with a few hundred customers may chug along happily with a bunch of functions.

yakshaving_jgt•3mo ago
This suggests to me that “production grade” isn’t much of a qualifier at all then.

You could just as well say that PHP has “production grade” functions.

adityaathalye•3mo ago
Hm, I'm saying a given function can be production grade. I'm not saying all functions are production-grade. Also, I'm saying production comes in all sizes. If your micro-SaaS app gives you a livelihood, that's hella production --- real skin in game, real stakes in ground.

To analogise further...

- HackerNews is a "production" system, you would agree. Back in 2015, it was still true. Are flat files a "production grade" primary data storage choice? [1]

- Suppose your production service transacts a million requests an hour (say it is a short-link maker). Further, let's say it has only a handful of API endpoints. Do you really need a whole routing library for that, if a single multimethod does exactly what you need, correctly?

etc...

[1] https://news.ycombinator.com/item?id=9990630

(edit: add reference for flat file storage)

yakshaving_jgt•3mo ago
Right. And what I’m saying is that if “production grade” means all of these things, then it’s not a very meaningful qualifier.

My personal site is statically generated — it’s just a bunch of HTML files and some CSS. Do you not think it would be a bit pretentious of me to describe that as “production grade”?

If “production grade” simply means fit for purpose, then given the GP commenter’s reason for their initial web server swap, wouldn’t you say by definition that jetty is not production grade, since it doesn’t (didn’t?) support SSE?

adityaathalye•3mo ago
I agree with you... "production grade" is in fact a meaningless term without saying what grade one's production needs to be.

A static site that serves is most definitely a production system. Perhaps one that could scale in traffic almost without end.

evalapply.org gets (to my continued amazement) 20K+ unique visitors a month when it's business as usual. On a busy HN day, it's easily that much in hours. I don't have to think about "scaling problems". I don't have one.

I'm being the realest real with you.

yakshaving_jgt•3mo ago
> On a previous project we swapped out our web server three different times

Why is this desirable?

On all my projects over the past 10 years, I’ve swapped out the web server exactly zero times because the one I have works just fine. The parent comment describes these components as “production grade”, but then if that’s the case, what could be the reason for swapping them out other than self-indulgence?

andersmurphy•3mo ago
It's not. But, the fact that we could and it was straight forward still amazes me.

In our case the first time we needed to, we needed SSE and at the time there was no ring-jetty async interface (it's a long time ago so I'm forgetting the details) so we moved to aleph. Much later, we wanted to try out http-kit (self-indulgence) as we were operating behind a proxy anyway for performance reasons and it made a significant difference.

If we'd just started with http-kit that would have been fine. I guess it comes down to what features you need.

Also I 100% agree it's something ideally you would want to avoid a in the case of databases for example so much performance is left on the table because for some reason we want to be able to swap between SQLite, postgres and mySQL. Which in practice you never want to do.

KingMob•3mo ago
As the former maintainer of Aleph, I'm very surprised you ran into a situation where http-kit was faster. Or do you mean it was just preferable to develop for?
adityaathalye•3mo ago
> Why is this desirable?

Generally, yes one would not want to swap out their web server willy-nilly...

Yet, this is one of those "YAGNI in 99% of your use cases", but when that 1% use case arises, a server swap would be far more desirable than a whole framework shift.

So while self-indulgence can certainly be a motive (and why not? as long as everyone's having a good time), may I offer a few more charitable reasons for this:

- programming API ergonomics

- performance

- application runtime model (servlets -> embedded server)

- security model

- application server features (websockets, comet?)

- binary size

- server configuration niceties

etc...

That said, a developer only has flexibility if it is built in from the get go.

A counterfactual would be to consider the set of developers who have had to put in ugly hacks because they can't just rip the web server out of the framework of choice they are locked into.

(edit: bullet list formatting)

yakshaving_jgt•3mo ago
> and why not?

Because I pay the people who work for me.

adityaathalye•3mo ago
Well, if you're paying, you certainly get to set the rules. No self-indulgence, then. The other reasons I enumerated may still hold.
0x1ceb00da•3mo ago
> Why is this desirable?

Because Brawndo's got electrolytes.

gehrman•3mo ago
Your comment reminded me of this talk https://www.youtube.com/watch?v=MZy-SNswH2E.

The part about building just the functionality you need, using the bare minimum libraries etc stuck out.

elchief•3mo ago
Metabase is written in clojure, if you want to see the source code of a large web app

https://github.com/metabase/metabase

adityaathalye•3mo ago
+1

NASA's Common Metadata Repository is worth exploring too https://github.com/nasa/Common-Metadata-Repository

It is a neat example of how an org can structure and manage multiple projects and services in a single git repository. They've use Leiningen to achieve their objective.

> The Common Metadata Repository (CMR) is an earth science metadata repository for NASA EOSDIS data. The CMR Search API provides access to this metadata.

> Building and Running the CMR

> The CMR is a system consisting of many services. The services can run individually or in a single process. Running in a single process makes local development easier because it avoids having to start many different processes. The sections below contain instructions for running the CMR as a single process or as many processes.

(edit: add relevant context for quick reference)

geokon•3mo ago
wow I had no idea Nasa used Clojure. I do remmeber them using quite a bit of Java so it's not terribly surprising
trenchgun•3mo ago
Also: NASA used to use Common Lisp before
adityaathalye•3mo ago
"Lisping at the JPL" is one of my favourite stories (all-time favourite, not just computery favourite).

https://flownet.com/gat/jpl-lisp.html

> Debugging a program running on a $100M piece of hardware that is 100 million miles away is an interesting experience. Having a read-eval-print loop running on the spacecraft proved invaluable in finding and fixing the problem. The story of the Remote Agent bug is an interesting one in and of itself.

fud101•3mo ago
If you haven't heard it before, i'd recommend checking out this podcast episode - it's fantastic. https://corecursive.com/lisp-in-space-with-ron-garret/
adityaathalye•3mo ago
I've heard it and I agree! Thanks for the re-up. Might give it a listen again :)
90s_dev•3mo ago
Sorry, what? Did you just say NASA uses Clojure?? That must be a pretty big honor for Rich.
adityaathalye•3mo ago
Clojure(Script) apps and systems exist at a bunch of household name places.

- Clojure: https://clojure.org/community/companies

- ClojureScript: https://clojurescript.org/community/companies

Also, a few case studies may interest you: https://clojure.org/community/success_stories and community stories: https://clojure.org/community/community_stories

ramirond•3mo ago
Thanks for the shout! I recommend this video about our Clojure journey: https://www.youtube.com/watch?v=vUe3slLHk20

We are also hiring Clojure devs: https://www.metabase.com/jobs

lelag•3mo ago
The metabase "backend" is written in clojure.

The web frontend is written in TypeScript/React.

librasteve•3mo ago
a very lyrical post, i will reread at my leisure and try to apply the lessons to https://harcstack.org

that’s HTMX, Air, Red & Cro btw

that said … I am a true believer in HTMX for the right amount of UX dynamism and I don’t initially get solves that piece

andersmurphy•3mo ago
If you need the next level of UX dynamism and or realtime updates and or multiplayer. I've handled a billion checkboxes[1] with clojure, sqlite and datastar (realtime hypermedia) just fine.

[1] https://checkboxes.andersmurphy.com

librasteve•3mo ago
yeah the datastar guys are often on the HTMX discord - guess that's an option for that - tx!
adityaathalye•3mo ago
Goes both ways... We are all moles in each others' organisations.
adityaathalye•3mo ago
Thank you for the kind appreciation.

Following writing advice or post structuring guidelines is not in my job description at evalapply.org Luckily, Michael Hamburger offered a legitimate excuse in his classic (so I'm told) essay, "An Essay About Essays": https://substack.com/@bombaylitmag/p-162583447

wink•3mo ago
The problem with this approach is that (esp. for hobby projects) updating stuff is a bit tedious. Let's say you have a relatively bare bones project in Rails or a PHP framework you have a couple of dependencies that people usually use together, so upgrading can be quick and painless.

I've now had it several times in the years-long lifespan of small clojure web projects that people have moved on and the thing (framework-ish) basically doesn't exist anymore and going by the issues it only had like 10 users in the first place.

It's not the end of the world, and fortunately there's not a lot of needless churn, but I guess I would prefer to have this "I am trusting project x and I only have to care about their releases (pre-testing all the moving parts) and then my 5 dependencies" and instead I have 20 dependencies/moving parts for my web app.

Yes, I'm lazy and I don't think it's a problem in an env where you have a proper dev workflow anyway.

wild_egg•3mo ago
> updating stuff is a bit tedious

How often do you have to do that though? I was under the impression that Clojure was a bit like CL in that old code will keep working basically forever. Unless there are new features you need, you just leave most libs alone to do their job.

epgui•3mo ago
This can be a culture shock for people coming from places like ruby, python, javascript... But a lot of clojure libraries are actually just "finished", they're not abandoned.