frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Some more things about Django I've been enjoying

https://jvns.ca/blog/2026/07/21/more-nice-django-things/
29•surprisetalk•4d ago

Comments

altbdoor•1h ago
Good ole Django. Worked with a number of frameworks (tm), but nothing really quite scratches my itch like Django does. I still find the ORM and database migration system unmatched.
hahahaa•24m ago
I found Django a bit hard to get on with vs. other frameworks and I've used Rails, .NET MVC and Express (and friends). I just found more friction trying to achieve X for any given X for some reason. Not sure why.
echoangle•54m ago
> Some light load testing (with (ab -n 1000 -c 1) shows that right now we can serve about 2-3 requests per second (on a ~$10/month VM).

> After turning on template caching, it seems like the site can now pretty easily handle 12 requests per second or so without using all of the CPU. I have not carefully benchmarked the before and after but it seems like it’s made a pretty big difference.

That seems crazy low, I think there has to be something else going on here.

shakna•20m ago
Those numbers sound... Single-threaded. Like they're using the development runserver instead of uwsgi or gunicorn.
jonatron•14m ago
A $10/month VM might only have a single thread anyway. Some providers like lightsail are really slow too.
echoangle•7m ago
You can run multiple OS threads (gunicorn workers) on one VM thread so the workers don’t have to wait for each others request to finish though, right?

And if you pay $10/month for a single threaded machine, you’re overpaying by a lot.

BrenBarn•17m ago
The Django filter syntax with the double underscores is like fingernails on a chalkboard to me. I find it insane that they didn't just use operator overloading to create a real query expression language.
faangguyindia•10m ago
I mostly use Go + SQLite for all the things I used to use Rails, JavaScript, or Python for.

I find python django wastes too much resources, just look at memory usage.

One of my web app backend (go) is serving approx 100 req/s right now and i look at pprof i see it's not bottlenecked by CPU but mostly IO and i love this.

Writing concurrent code in Go is easy, the code i wrote 10yrs ago still compiles with no issue! This is why i am never gonna switch.

My go apps use very little memory, so we can scale to many users for very cheap.

For larger apps i use postgres (why? replication is easy using pgfailover, high demand apps need multiple api servers so it's out of process db like postgres is fine) but most of my web app use HTMX and if we need some reactivity, i use react (simply due to react experience from work)

For our maintenance calorie tracking app, which is free and has no ads, we have to use as few resources as possible as we scale to thousands of users: macrocodex (which figures out maintenance calories from weight and calorie intake). We initially used Haskell.

Later, it became slow and cumbersome to develop in (developing on an Apple Silicon Mac and deploying to x64 is a pain), even though I liked writing Haskell code. I even tried nix and wasted a day on that! I had a choice between OCaml and Rust. I picked Rust and never looked back.

The algorithm serves in 0.1 ms on Rust. In Haskell, it was 0.2 ms, and memory usage was twice that of Rust. There are many optimization possible in Rust which i didn't do (for sake of simplicity) yet i received good performance.

Yeah, I use Docker to compile Rust, but it's pretty fast, much faster than what I had with Haskell, so the developer experience is great.

By switching to Rust, the LOC dropped to half of what we had in Haskell.

project turned out to be successful. It has already produced guaranteed weight loss or weight gain for many people.

So I set out to create an algorithmic workout app, for which I am using Rust and Go. The mobile app is in Flutter.

ranedk•8m ago
I have been using Django since 0.95 and I haven't seen anything which is so flexible with amazing DSLs while also making it easy to understand the magic behind it.

For the last 10 years, even in a Golang stack or Java stack, I still use Django for models and migration. I even have generators which generate Gorm (or other framework) DAO or Java hibernate classes using Django models.

With LLMs, it becomes easier since I can now write all the model, custom querysets in Django, ask the LLM to generate Golang DAO, setters and getters... and test the query against the Django generated queries for completeness.

Atlas, sqlx, sqlc and all other ORM like things in golang cannot do migrations the way Django does.

A shell colon does nothing. Use it anyway

https://refp.se/articles/your-shell-and-the-magic-colon
135•olexsmir•19h ago•52 comments

An ESP32 based plane radar for my desk

https://blog.ktz.me/esp32-plane-radar/
126•alexktz•6h ago•25 comments

The new rules of context engineering for Claude 5 generation models

https://claude.com/blog/the-new-rules-of-context-engineering-for-claude-5-generation-models
309•mellosouls•12h ago•191 comments

Show HN: I mapped every US golf course

https://golfcoursebrowser.com/
118•rickmf•6h ago•61 comments

Inflect-Micro-v2: complete voice in 9.36M parameters

https://huggingface.co/owensong/Inflect-Micro-v2
119•nateb2022•8h ago•10 comments

Stinkpot: SQLite-backed shell history

https://tangled.org/oppi.li/stinkpot
46•nerdypepper•1d ago•12 comments

GrapheneOS protections against data extraction from locked devices

https://discuss.grapheneos.org/d/40700-grapheneos-protections-against-data-extraction-from-locked...
23•Cider9986•2h ago•4 comments

DeepSeek pause fundraise after comments on compute gap to US leaked (transcript) [pdf]

https://github.com/demo-zexuan/liang-wenfeng-investor-meeting-2026-7-22/blob/master/%E6%A2%81%E6%...
137•oliculipolicula•9h ago•96 comments

Some more things about Django I've been enjoying

https://jvns.ca/blog/2026/07/21/more-nice-django-things/
29•surprisetalk•4d ago•9 comments

Cloudflare's new AI traffic options for customers

https://blog.cloudflare.com/content-independence-day-ai-options/
111•alphabetatango•9h ago•75 comments

Alien World Chemistry Found Inside Meteorite That Struck New Jersey Home

https://www.seti.org/news/alien-world-chemistry-found-inside-meteorite/
62•spzx•7h ago•15 comments

Rethinking Legal Education in the AI Era

https://www.law.uchicago.edu/news/ai-strategy-statement
72•jjwiseman•2d ago•31 comments

JetZero

https://www.jetzero.aero
188•lisper•5h ago•147 comments

DskDitto: Ultra-fast, parallel duplicate-file detector

https://github.com/jdefrancesco/dskDitto
9•ingve•4d ago•2 comments

Running a 28.9M parameter LLM on an $8 microcontroller

https://github.com/slvDev/esp32-ai
175•boveyking•13h ago•38 comments

Git rebase -I is not that scary

https://cachebag.sh/journal/interactive-rebasing/
60•vinhnx•8h ago•57 comments

Clinical failure rates over the decades: yikes

https://www.science.org/content/blog-post/clinical-failure-rates-over-decades-yikes
99•EA-3167•9h ago•72 comments

Systems and Delays

https://martin.janiczek.cz/2026/07/24/systems-and-delays.html
59•vinhnx•8h ago•14 comments

LLM Usage in Debian: Three Proposals

https://www.debian.org/vote/2026/vote_002
143•zdw•13h ago•125 comments

What is happening to jobs? Separating AI hype from reality

https://siepr.stanford.edu/publications/policy-brief/what-really-happening-jobs-separating-ai-hyp...
83•pod_krad•9h ago•87 comments

W4ME Station – a WASM-4 runtime for Java ME phones

https://github.com/mulfyx/w4me-station
15•sqshi•4h ago•3 comments

SIMD for Collision

https://box2d.org/posts/2026/07/simd-for-collision/
90•birdculture•3d ago•27 comments

GM Backs Sodium Ion Batteries for U.S. Grid Storage

https://spectrum.ieee.org/sodium-ion-battery-peak-energy
173•rbanffy•10h ago•73 comments

Show HN: I made some transistor animations

https://brandonli.net/semisim/animations
180•stunningllama•1d ago•21 comments

Show HN: Brolly, a plain-text weather forecast site

https://brolly.sh/forecast/RWFP2qW8
183•jsax•15h ago•57 comments

Producing ammonia and fertiliser using wind power in Morris, Minnesota

https://ammoniaenergy.org/articles/flexible-renewable-ammonia-demonstrator-now-operational-in-min...
119•gritzko•13h ago•86 comments

Agatha Christie's Disappearance: Amnesia, Suicide, or Despair?

https://www.historicmysteries.com/unexplained-mysteries/agatha-christie-disappearance/23136/
21•thunderbong•3d ago•9 comments

Android may soon restrict on-device ADB

https://kitsumed.github.io/blog/posts/android-may-soon-restrict-on-device-adb/
920•shscs911•1d ago•448 comments

Turn And Face The Strange

https://fly.io/blog/kurt-scott-money-sprites/
196•subarctic•12h ago•127 comments

Memory safety absolutists

https://itsallaboutthebit.com/memory-safety-absolutists/
93•drogus•14h ago•135 comments