frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

AI Agent Automates Google Stock Analysis from Financial Reports

https://pardusai.org/view/54c6646b9e273bbe103b76256a91a7f30da624062a8a6eeb16febfe403efd078
1•JasonHEIN•2m ago•0 comments

Voxtral Realtime 4B Pure C Implementation

https://github.com/antirez/voxtral.c
1•andreabat•4m ago•0 comments

I Was Trapped in Chinese Mafia Crypto Slavery [video]

https://www.youtube.com/watch?v=zOcNaWmmn0A
1•mgh2•10m ago•0 comments

U.S. CBP Reported Employee Arrests (FY2020 – FYTD)

https://www.cbp.gov/newsroom/stats/reported-employee-arrests
1•ludicrousdispla•12m ago•0 comments

Show HN: I built a free UCP checker – see if AI agents can find your store

https://ucphub.ai/ucp-store-check/
2•vladeta•17m ago•1 comments

Show HN: SVGV – A Real-Time Vector Video Format for Budget Hardware

https://github.com/thealidev/VectorVision-SVGV
1•thealidev•19m ago•0 comments

Study of 150 developers shows AI generated code no harder to maintain long term

https://www.youtube.com/watch?v=b9EbCb5A408
1•lifeisstillgood•19m ago•0 comments

Spotify now requires premium accounts for developer mode API access

https://www.neowin.net/news/spotify-now-requires-premium-accounts-for-developer-mode-api-access/
1•bundie•22m ago•0 comments

When Albert Einstein Moved to Princeton

https://twitter.com/Math_files/status/2020017485815456224
1•keepamovin•23m ago•0 comments

Agents.md as a Dark Signal

https://joshmock.com/post/2026-agents-md-as-a-dark-signal/
1•birdculture•25m ago•0 comments

System time, clocks, and their syncing in macOS

https://eclecticlight.co/2025/05/21/system-time-clocks-and-their-syncing-in-macos/
1•fanf2•26m ago•0 comments

McCLIM and 7GUIs – Part 1: The Counter

https://turtleware.eu/posts/McCLIM-and-7GUIs---Part-1-The-Counter.html
1•ramenbytes•29m ago•0 comments

So whats the next word, then? Almost-no-math intro to transformer models

https://matthias-kainer.de/blog/posts/so-whats-the-next-word-then-/
1•oesimania•30m ago•0 comments

Ed Zitron: The Hater's Guide to Microsoft

https://bsky.app/profile/edzitron.com/post/3me7ibeym2c2n
2•vintagedave•33m ago•1 comments

UK infants ill after drinking contaminated baby formula of Nestle and Danone

https://www.bbc.com/news/articles/c931rxnwn3lo
1•__natty__•34m ago•0 comments

Show HN: Android-based audio player for seniors – Homer Audio Player

https://homeraudioplayer.app
3•cinusek•34m ago•0 comments

Starter Template for Ory Kratos

https://github.com/Samuelk0nrad/docker-ory
1•samuel_0xK•36m ago•0 comments

LLMs are powerful, but enterprises are deterministic by nature

2•prateekdalal•39m ago•0 comments

Make your iPad 3 a touchscreen for your computer

https://github.com/lemonjesus/ipad-touch-screen
2•0y•44m ago•1 comments

Internationalization and Localization in the Age of Agents

https://myblog.ru/internationalization-and-localization-in-the-age-of-agents
1•xenator•45m ago•0 comments

Building a Custom Clawdbot Workflow to Automate Website Creation

https://seedance2api.org/
1•pekingzcc•47m ago•1 comments

Why the "Taiwan Dome" won't survive a Chinese attack

https://www.lowyinstitute.org/the-interpreter/why-taiwan-dome-won-t-survive-chinese-attack
2•ryan_j_naughton•48m ago•0 comments

Xkcd: Game AIs

https://xkcd.com/1002/
1•ravenical•49m ago•0 comments

Windows 11 is finally killing off legacy printer drivers in 2026

https://www.windowscentral.com/microsoft/windows-11/windows-11-finally-pulls-the-plug-on-legacy-p...
1•ValdikSS•50m ago•0 comments

From Offloading to Engagement (Study on Generative AI)

https://www.mdpi.com/2306-5729/10/11/172
1•boshomi•52m ago•1 comments

AI for People

https://justsitandgrin.im/posts/ai-for-people/
1•dive•53m ago•0 comments

Rome is studded with cannon balls (2022)

https://essenceofrome.com/rome-is-studded-with-cannon-balls
1•thomassmith65•58m ago•0 comments

8-piece tablebase development on Lichess (op1 partial)

https://lichess.org/@/Lichess/blog/op1-partial-8-piece-tablebase-available/1ptPBDpC
2•somethingp•1h ago•0 comments

US to bankroll far-right think tanks in Europe against digital laws

https://www.brusselstimes.com/1957195/us-to-fund-far-right-forces-in-europe-tbtb
4•saubeidl•1h ago•0 comments

Ask HN: Have AI companies replaced their own SaaS usage with agents?

1•tuxpenguine•1h ago•0 comments
Open in hackernews

Doom in Django: testing the limits of LiveView at 600.000 divs/segundo

https://en.andros.dev/blog/7b1b607b/doom-in-django-testing-the-limits-of-liveview-at-600000-divssegundo/
190•andros•1mo ago

Comments

ksec•1mo ago
In the blog post it uses "600,000 divs/second!" and "10,000 divs using its template engine" while the heading uses 600.000.

I assume the difference in usage of full stop / period or comma is accidental?

andros•1mo ago
Yes, you right hehe. I had fixed!
agentifysh•1mo ago
if only i could run django on cloudflare workers

guess i could run it on a dedicated server

would be nice if we can get django and liveview working without a server

leobuskin•1mo ago
you can do it on wasmer's workers, their last wasm/python approach is pretty solid (compatibility, performance). it's sad to say, but after 4 years of "beta" Python support on CF workers - it's still ugly. I dunno who was responsible for such a neglect, but even with the last changes - total fiasco
gscho•1mo ago
Why is it “ugly”?
evilmonkey19•1mo ago
I wish we could host Django apps with the tasks and everything on Cloudflare workers. Also it would be nice to have a DB like SQLite within Cloudflare.
yoavm•1mo ago
Cloudflare D1 is SQLite within Cloudflare.
BiteCode_dev•1mo ago
Why, because it's free?
isodev•1mo ago
Bunny has very solid edge runtime if you manage to squeeze it into wasm or “magic containers” so it’s just a pod

https://bunny.net/cdn-lp

slig•1mo ago
Should be possible with this, no?

https://developers.cloudflare.com/containers/

fulafel•1mo ago
They just announced many improvements to Python workers earlier this month: https://blog.cloudflare.com/python-workers-advancements/

https://github.com/G4brym/django-cf has a template (among other things) to get started

Another option is the containers stuff mentioned in sibling comment but it's not so FaaS.

_boffin_•1mo ago
We ran Django on AWS Lambas years ago. Wasn’t fun and caused headaches, but worked
pawelduda•1mo ago
Shame Phoenix LiveView is missing from the comparison
leobuskin•1mo ago
It's only django-related third-party packages comparison (and SSR itself), would be a bit strange to compare with a different language/stack and/or framework
isodev•1mo ago
With focus on LiveView, I think it’s interesting to see how the runtime influences the results. Django and Phoenix have a very different concurrency model
true_religion•1mo ago
Six years ago when I was working with a Phoenix API, we were measuring responses in microseconds on local dev machines, and under 5 ms in production with zero optimization. In comparison the identical Django app had a 50 ms floor.
pawelduda•1mo ago
If it's only about Django ecosystem, true that. But if it's about pushing the limits how fast you can server-side render doom, then there are more possibilities to be tested:)
kvakvs•1mo ago
Since Doom renders the image with vertical columns of pixels (floor, lower wall, portal if exists continues rendering the other sector, then upper wall then ceiling) and since browsers are very good at drawing the sprites out of larger textures... You could send vertical divs shaded with the sector light level and picking the correct textures. Instead of hundreds per column you will have like 5 divs on average per column and they will be textured shaded and scaled by the browser?
ffsm8•1mo ago
I believe he stated in the beginning pretty clearly that the point of this exercise was to stress test the Liveview performance.

Making this more efficient would be kinda counter productive

jasonjmcghee•1mo ago
I agree, but it certainly wasn't performant (in the video).

I'd be curious to see what parameters are required for a smooth / playable demo.

Or am I missing something?

(Slow input with no interpolation?)

andros•1mo ago
To improve fluidity, all you have to do is change the frames per second or the resolution, although the goal is not to make it playable. :D
andros•1mo ago
That is!
omoikane•1mo ago
I think the proposal here is to optimize for bandwidth by minimizing number of divs, because there are fewer divs per column per frame. It might actually turn out to be more work for the browser because it has to layout the columns with divs that are not uniformly sized.
oersted•1mo ago
At that point just run the browser on the server and use proper cloud gaming tech to stream the screen and have low-latency interactivity.
andros•1mo ago
If it's streaming at 60 fps, the bottleneck is in the browser, which is doing what it can :)
maccard•1mo ago
My phone and TV can go to 120hz, and my PC can go to 240 with adaptive sync. There’s still plenty of room to improve.
Jare•1mo ago
IIRC someone did exactly that around 15 years ago, a game renderer using div strips, first with Wolfenstein and then Doom. It may have been "Jacob Seidelin" who was very active experimenting with early HTML5 tech, but I've lost all links or they've vanished from the web - I only keep two screenshots I used in a lecture back then.
dentalnanobot•1mo ago
Wonder if it would be more efficient to use a single-pixel column and then draw the colours with gradient stops?
rockyj•1mo ago
Very impressive! Worth noting that HTMX also has a WebSocket extension - https://v1.htmx.org/extensions/web-sockets/ so one could potentially also do "live views" in more performant runtimes like JVM or Node.js
andros•1mo ago
My first version of Django LiveView used HTMX. WebSocket connectivity is one aspect; there is another part of logic and architecture where it falls short.
BiteCode_dev•1mo ago
Can you tell us more? Espacially, how does they both fair with auth.
andros•1mo ago
There is native middleware in Channels. I have it documented with a brief example in the documentation, and I also mention some security measures.
crimsonnoodle58•1mo ago
So SSR is 50ms and LiveView is 10ms, what test was being performed to achieve these timings? Rendering a sample page or rendering doom?

Also LiveView is described as "Build rich, dynamic user experiences with server-rendered HTML without writing a single line of JavaScript." and their example uses django templating to render the HTML that is returned.

So what are we really measuring here? The speed up seems to solely come from WebSockets, and maybe skipping some Django middleware. Anyone care to elaborate?

aeonfox•1mo ago
I assume Django LiveView is directly inspired by Phoenix LiveView. It's essentially diffing template expansion on the backend and sending patches to the frontend via websockets where JS then applies the patches. Clicks and other interactions are also transmitted to the backend where state for the socket is updated and the template is reevaluated, hence completing the loop.
andros•1mo ago
The concept is correct, but it's a bit simpler Its architecture is explained in the documentation, that's why it's so fast!
zie•1mo ago
I looked(admittedly briefly) and couldn't find the architecture explanation in the docs here: https://django-liveview.andros.dev/docs/
andros•1mo ago
I apologize, I assumed the architecture would be understandable from the examples. I'll keep that in mind!
aeonfox•1mo ago
The docs lead to a 403, but I'd be curious to know how it is simpler. I believe the Phoenix version uses Erlang iolists and immutability to make diffing more efficient, and perhaps the Django version has something similar?
zie•1mo ago
sorry, try this: https://django-liveview.andros.dev/docs/install/

Though it doesn't answer your question, the link at least works :)

scop•1mo ago
Tangential question: is it common for frameworks to use the same name as a package from another framework? I had never heard of Django LiveView, but have used Phoenix’s Liveview and assumed that’s what it was. Not sure if I like that? I.e. does it imply some sort of endorsement or partnership? I do like that Laravel went with Livewire to distinguish it.
andros•1mo ago
There are two things I'm really bad at: invalidating the cache and naming frameworks. It has that name because it's very inspired. It's an adaptation of Django.
elzbardico•1mo ago
And well done! I really prefer very descriptive names, even at the expense of originality than some ridiculous invention like "Nano Banana".
ameliaquining•1mo ago
IIUC the "Nano Banana" name was originally used on LMArena when the model had not yet been announced; the purpose of the name was therefore to be as opaque as possible. I assume they hadn't originally intended to keep using it after the announcement, but it unexpectedly took off among users.
pallar•1mo ago
> 600.000 divs/segundo

Basado

hoistbypetard•1mo ago
That is beautifully ridiculous! Thank you for doing that and sharing.
andros•1mo ago
Thank you for this comment :)
lukevp•1mo ago
It definitely isn’t running at 60 fps in the video. Is this css performance or something? Or this not really running as fast as it’s stated?
elzbardico•1mo ago
This shows how modern hardware is ridiculously powerful.
andypants•1mo ago
This is more like HTMX+websockets than phoenix liveview.

  - It's not stateful
  - There's no html diffing
  - Handlers return target+fragment instead of updating state
andros•1mo ago
Each user has their ID in the backend; you can save their status... if you want.
jkhall81•1mo ago
When will people stop doing this and just leave Doom alone?
pak9rabid•1mo ago
Never I hope
tomcam•1mo ago
Doesn't this also show that HTML/CSS performance is incredibly good on web browsers these days?