frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

The magic of through running

https://www.worksinprogress.news/p/the-magic-of-through-running
26•ortegaygasset•1h ago•6 comments

Accumulation of Cognitive Debt When Using an AI Assistant for Essay Writing Task

https://www.brainonllm.com/
111•bayindirh•2h ago•73 comments

Fossify – A suite of open-source, ad-free apps

https://github.com/FossifyOrg
42•jalict•2h ago•6 comments

What happens when clergy take psilocybin

https://nautil.us/clergy-blown-away-by-psilocybin-1217112/
192•bookofjoe•12h ago•237 comments

WhatsApp introduces ads in its app

https://www.nytimes.com/2025/06/16/technology/whatsapp-ads.html
487•greenburger•20h ago•656 comments

How Frogger 2’s source code was recovered from a destroyed tape [video]

https://www.youtube.com/watch?v=lvEO4IaEJlw
124•perching_aix•1d ago•17 comments

Selfish reasons for building accessible UIs

https://nolanlawson.com/2025/06/16/selfish-reasons-for-building-accessible-uis/
111•feross•9h ago•57 comments

Show HN: Chawan TUI web browser

https://chawan.net/news/chawan-0-2-0.html
279•shiomiru•13h ago•50 comments

Show HN: Canine – A Heroku alternative built on Kubernetes

https://github.com/czhu12/canine
233•czhu12•16h ago•93 comments

The Humble Programmer (1972)

https://www.cs.utexas.edu/~EWD/transcriptions/EWD03xx/EWD340.html
52•squircle•9h ago•6 comments

Benzene at 200

https://www.chemistryworld.com/opinion/benzene-at-200/4021504.article
206•Brajeshwar•19h ago•99 comments

Photon transport through the entire adult human head

https://www.spiedigitallibrary.org/journals/neurophotonics/volume-12/issue-02/025014/Photon-transport-through-the-entire-adult-human-head/10.1117/1.NPh.12.2.025014.full
25•gnabgib•3d ago•14 comments

Why Claude Code feels like magic?

https://omarabid.com/claude-magic
10•todsacerdoti•36m ago•4 comments

Iron nitride permanent magnets made with DIY ball mill [video]

https://www.youtube.com/watch?v=M6XIgdS1rzs
52•xqcgrek2•1d ago•9 comments

Show HN: I recreated 90s Mode X demoscene effects in JavaScript and Canvas

https://jdfio.com/pages-output/demos/x-mode/
119•gneissguise•6h ago•41 comments

OpenAI wins $200M U.S. defense contract

https://www.cnbc.com/2025/06/16/openai-wins-200-million-us-defense-contract.html
197•erikrit•11h ago•117 comments

The drawbridges come up: the dream of a interconnected context ecosystem is over

https://www.dbreunig.com/2025/06/16/drawbridges-go-up.html
40•dbreunig•10h ago•13 comments

Dull Men’s Club

https://www.theguardian.com/society/2025/jun/09/meet-the-members-of-the-dull-mens-club-some-of-them-would-bore-the-ears-off-you
140•herbertl•16h ago•77 comments

Show HN: Nexus.js - Fabric.js for 3D

https://punk.cam/lab/nexus
66•ges•13h ago•21 comments

Natural rubber with high resistance to crack growth

https://www.nature.com/articles/s41893-025-01559-z.epdf?sharing_token=SST16F7yBaUkRDb702ZphtRgN0jAjWel9jnR3ZoTv0P9y52VPdTYScQoHBinE3JzdSvQ1aN3fhS4SSECYXRnvZ77nkrWJA2412S2E-26Il-ncine3ET1t1GzNaX2Oo2cK9GYzFNCrKSRycPCrQKJZ8QvfBeSTNR5d12_ZHLvyYkt26oAnSVTBuopgCE4tHIVPnWtjLZS3OhBz1H2OhtXQMmNFMhf-2lYu5vkTl596uaKjxxqTFBbSZj1phjSIDRELkwyRfUsM77Gu7S0VF_fPvJZAYxvV_2Hduld7MbfF1M4RO8vHe5OtCz383c2iHBjxkZ4gU59FErIjNBnLDPDT79Jaj04hbpqLWqUoVxoYCs%3D
19•cocoggu•3d ago•3 comments

ZX Spectrum graphics magic

https://zxonline.net/zx-spectrum-graphics-magic-the-basics-every-spectrum-fan-should-know/
91•ibobev•2d ago•26 comments

Generative AI coding tools and agents do not work for me

https://blog.miguelgrinberg.com/post/why-generative-ai-coding-tools-and-agents-do-not-work-for-me
246•nomdep•9h ago•285 comments

Nanonets-OCR-s – OCR model that transforms documents into structured markdown

https://huggingface.co/nanonets/Nanonets-OCR-s
317•PixelPanda•1d ago•69 comments

Jacob's Phone Simulator

https://jacobfilipp.com/phone/
13•surprisetalk•3d ago•1 comments

Blaze (YC S24) Is Hiring

https://www.ycombinator.com/companies/blaze-2/jobs/dzNmNuw-junior-software-engineer
1•faiyamrahman•13h ago

Fun with Telnet

https://brandonrozek.com/blog/fun-with-telnet/
7•Apollo1010330•5h ago•0 comments

Open-Source RISC-V: Energy Efficiency of Superscalar, Out-of-Order Execution

https://arxiv.org/abs/2505.24363
85•PaulHoule•17h ago•22 comments

Pitfalls of premature closure with LLM assisted coding

https://www.shayon.dev/post/2025/164/pitfalls-of-premature-closure-with-llm-assisted-coding/
4•shayonj•2d ago•2 comments

Show HN: Zeekstd – Rust Implementation of the ZSTD Seekable Format

https://github.com/rorosen/zeekstd
198•rorosen•1d ago•44 comments

Working on databases from prison

https://turso.tech/blog/working-on-databases-from-prison
785•dvektor•21h ago•491 comments
Open in hackernews

Show HN: I recreated 90s Mode X demoscene effects in JavaScript and Canvas

https://jdfio.com/pages-output/demos/x-mode/
119•gneissguise•6h ago
After 25 years of writing software, I was feeling nostalgic for the kinds of things that got me into programming in the first place: the old DOS demoscene. I spent a weekend seeing if I could recapture some of that INT 13H VGA magic using today's web tech, but with the old-school constraints of doing it from scratch.

The result is this portfolio of ten classic effects running in a single HTML file. It's all vanilla JavaScript writing to a <canvas> element, with no external libraries. It was a fun challenge to implement things like:

* The color palette cycling and smooth fading in the Plasma demo. * The buffer-averaging algorithm for the Fire effect to make the flames feel more natural. * The distance-based texture crossfading in the Tunnel to create the illusion of flying through different sections. * A 2D scalar field for the Metaballs to calculate the surface normals for that classic blended, metallic look (I did the best I could with the given constraints).

It was a great exercise in getting back to first principles and a reminder of how much those early demo programmers could accomplish with so little. I hope it brings back some good memories for others who grew up with this stuff.

I'd love to hear about your favorite classic demos or if there are any other iconic effects you think would be a fun challenge to add.

Cheers!

Comments

pentaphobe•5h ago
Neat! The nostalgia is palpable.

Off topic: we always referred to mode-x variants as MCGA, TIL that's more of a colloquial term than a technically accurate one [1]

[1]: https://en.m.wikipedia.org/wiki/Multi-Color_Graphics_Array

gneissguise•3h ago
Thanks for sharing, I do not believe that I was familiar with that term at the time.
guiambros•5h ago
wow, well done! Pretty solid implementation, genuinely Future Crew-worthy :)
gneissguise•3h ago
w00t! Greetz!!!1
pengaru•4h ago
Neat, but beyond the 320x240 resolution I don't have the impression you're really emulating anything uniquely mode-X here (not that it would really make sense to do so)
gneissguise•3h ago
You would be correct, it's more the appearance of the demoscene than the actual underlying mechanism.

A true in browser mode-x API would take me much longer than a weekend to implement.. But it does sound like a neat challenge!

juhanakristian•4h ago
Well done! These look very authentic. I remember creating the fire and plasma effects when I was first learning how to code in the late 90s.
gneissguise•3h ago
Oh yes, I have similar memories mixing asm and pascal together in Turbo Pascal to get interesting results!!
KingOfCoders•3h ago
More like 80s Amiga effects :-)
gneissguise•3h ago
I could see that too.

I didn't own an Amiga but a friend of mine from school did. We had a blast playing Gobliiins!

dr_dshiv•3h ago
Thanks for putting this together!

I’ve been thinking a lot about demoscene in a Vibecoding era. Demoscene was often very close to the metal; Vibecoding is often completely abstracted from it.

To explore this tension, I’m cohosting an 8bit game design workshop (pico8) in Amsterdam this summer. Just for fun.

Working with intense constraints can bring a lot of creativity. I really want to see how AI affects the workshop vibe.

gneissguise•3h ago
It was my pleasure to work on and share, glad you liked it!
elpocko•3h ago
>very close to the metal

>(pico8)

But PICO-8 with its integrated tools and Lua programming is super high level, pretty far removed from "8bit". It's only 8 bit in aesthetics, entirely artificial and forced. Why not write games for the 2600, the C64 or the NES to experience real constraints of an actual 8 bit platform, the actual "metal."

dr_dshiv•55m ago
I know, tell me about it, we’ve been debating this, tbh. We landed on pico8 to introduce the ideas of creativity within constraints as there is a very active community and nice tooling. We’ve done NES workshops before, but always with CS students and eproms. 6502 assembly isn’t that complicated, but can be scary.
elpocko•43m ago
I've been thinking about making a fantasy computer/console that uses an emulated 65C02 CPU, maybe a bit simplified -- every instruction only taking 1 cycle, for example. You could use all existing tools for the 6502, like the amazing 64tass, and there's an interesting high level language called prog8 (https://github.com/irmen/prog8) that's relatively easy to use. Not sure if there's any interest for something like that.
ceronman•58m ago
Hi! That sounds very interesting, where can I find information about this workshop? I am interested in participating.
imiric•56m ago
Vibecoding is entirely antithetical to demos.

Demos aren't just pretty visuals. Their entire purpose is to showcase the skills of the programmer in accomplishing something remarkable within a constrained environment, or within artificially imposed constraints. Using exorbitant amounts of resources to run a machine learning model to generate a muddy mixture of existing demos goes completely against this spirit. The idea of the two together is, frankly, repulsive.

dr_dshiv•48m ago
Be repulsed then! We are doing the workshop specifically to explore this tension. I’m well aware that times are weird.

This workshop is actually a forerunner to a workshop on demos with quantum computers, where the constraints are very real and creative participation is very lacking.

kookamamie•3h ago
Nice. Except that Mode X was not usually called 13h. The former would be 320x240 and the latter 320x200. Technically X would be a variant of the 13h, though.
ale42•3h ago
And actually, INT 13h is the BIOS interrupt to access block-based disk I/O functions (like sector read, track format, etc.). The INT used for mode-setting is 10h (with AH=00h and AL=13h as mode for 320x200 at 256 colors).
gneissguise•3h ago
Thank you both for the corrections, I was a teen in the 90s so I could have had it wrong or misremembered.

I just looked up the 13h interrupt and you are absolutely right!

QuiCasseRien•3h ago
thank for make me back to 25 years ago with the star windows screensaver ^^
gneissguise•3h ago
Anytime! I was also trying to add a Star Wars like hyperspace feature to the starfield demo but I failed miserably at implementing it!
abrookewood•3h ago
Thank you - takes me back :)
gneissguise•3h ago
You're welcome, it's my pleasure to share with ya!
luismedel•3h ago
Nice. But if I remember correctly, Mode X was a special VGA mode to squeeze a bit more performance (due to planes and full graphics memory addressing), not the "normal" MCGA 320x200x256 (13h)

If you're interested, I also implemented a few effects like lens[0] and Jare's fire[1] along with some other amusements[2]

[0] https://toys.luismedel.com/lens/index.html

[1] https://toys.luismedel.com/fire/index.html

[2] https://github.com/luismedel/js-toys

gneissguise•3h ago
Thanks for sharing the link! I remember the lense demos, and I remember downloading one or two of them from a BBS that had NSFW pictures rendered in the background.
wvh•16m ago
That's one way to stimulate memory...

I was so into this in the mid-90s. I tried some assembly but I wish I would have been better at the maths part back then.

rareitem•2h ago
Amazing, I was not born in that era but it makes me feel nostalgic too. How does on go on to learn to make animations like this?
gneissguise•2h ago
Start off small, you gotta know your underlying API. For this demo it's JavaScript and the HTML5 canvas API (which is MUCH easier to learn than the languages of the 90s except for BASIC)

https://www.freecodecamp.org/news/drawing-on-a-canvas-elemen...

From there, you'll need a good understanding of loops, control flow, data structures like arrays to store the pixels, lines, shapes, and colors, wiping and redrawing the screen between "ticks" (a single pass of the main loop), and refresh timing to control the speed of the animations.

On a side note there's actually a refresh bug in my plasma demo I just noticed a moment ago... if you leave it open for too long on plasma it starts redrawing faster and faster until it looks like glitch-art!

rollulus•2h ago
Good job. Looks authentic. But you forgot the rotozoom!
gneissguise•2h ago
D'oh! Now that I'm in my mid 40s there's so much I've forgotten!

Thank you for the reminder

leptons•2h ago
You should check out dwitter.net if you have not already.
gneissguise•1h ago
Just took a look, very cool algorithmic art! Thanks for sharing!
stuaxo•1h ago
Wonderful. Did you simulate through weird bitplains of VGA?

I found them hard to get my head round, still do.

gneissguise•1h ago
Excellent question. This is more a modern chunky pixel framebuffer, not planar.

The spirit of the project, however, was to emulate the tricks that bitplanes made famous. The plasma and flag effects, for example, don't move any pixels; they just cycle the color palette's offset against a static pattern, which is a direct software simulation of that classic Amiga hardware hack.

TrackerFF•1h ago
The vector one is still alive and kicking. I've lost count how many current websites have that one on their landing page.
gneissguise•1h ago
Yep it has totally made a resurgence with the background animation trend showing up in modern web UI.. except without the pixelated appearance and the green phosphor color.
p1dda•1h ago
Thanks! So great to watch these demos in 80-90's of the wizards creating these spectacular visuals.
gneissguise•1h ago
Heck yeah you're welcome! It was a blast to put together
gneissguise•1h ago
If anyone is interested in doing algorithmic art while learning Clojure/ClojureScript then I highly recommend checking out the Quil library:

https://landofquil.clojureverse.org/

http://quil.info/

https://github.com/quil/quil

Just lean into the declarative lisp style and immutable data and make some beautiful art to share with others!