frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Show HN: ETHShot – an Ethereum test‑net "take‑your‑shot" jackpot game

1•cranberryturkey•37s ago•0 comments

First ever fault rupture caught on video, Mianmar 7.9

https://www.youtube.com/watch?v=_OeLRK0rkCE
1•kurthr•1m ago•0 comments

Built this after my mom asked how to 'just make herself smile in a photo

https://apps.apple.com/us/app/phoai-ai-photo-maker-editor/id6747897909
1•incendies•2m ago•2 comments

I built a complete guide site for the game "99 Nights in the Forest"

https://99nightsintheforest.online
1•hugh1st•3m ago•1 comments

We transcribed a week of audio in a minute for a dollar

https://modal.com/blog/fast-cheap-batch-transcription
1•plurby•4m ago•0 comments

Test Ad Block

https://adblock.turtlecute.org/
1•colinprince•4m ago•0 comments

What Makes a Mature Science

https://www.asimov.press/p/mature-science
1•bookofjoe•6m ago•0 comments

Dynamic Chunking for End-to-End Hierarchical Sequence Modeling

https://arxiv.org/abs/2507.07955
2•gatane•7m ago•0 comments

Name SF Streets

https://carvin.github.io/sf-street-names/
1•kelnos•8m ago•0 comments

Vintage Macintosh Programming Book Library

https://vintageapple.org/macprogramming/index_year.html
6•todsacerdoti•14m ago•3 comments

FDA's New Drug Approval AI Is Generating Fake Studies: Report

https://gizmodo.com/fdas-new-drug-approval-ai-is-generating-fake-studies-report-2000633153
1•pseudolus•15m ago•0 comments

Revisiting My 2010 JavaScript Library

https://idiallo.com/blog/revisiting-my-old-javascript
1•bariumbitmap•15m ago•0 comments

The Death of Industrial Design

https://hackaday.com/2025/07/23/the-death-of-industrial-design-and-the-era-of-dull-electronics/
1•drpixie•19m ago•0 comments

Katharine Graham: The Washington Post

https://fs.blog/knowledge-project-podcast/outliers-katharine-graham/
2•feross•21m ago•0 comments

DreamHAT+ Radar by Dream Boards for Raspberry Pi

https://shop.pimoroni.com/products/dream-hat-plus-radar
2•teleforce•23m ago•0 comments

Ask HN: Copilot Makes Me Dumb

3•ynarwal__•23m ago•1 comments

Purple Earth Hypothesis

https://en.wikipedia.org/wiki/Purple_Earth_hypothesis
1•colinprince•24m ago•0 comments

Using mmWave Radar to Detect and Track Humans with Raspberry Pi

https://core-electronics.com.au/guides/using-mmwave-radar-to-detect-and-track-humans-raspberry-pi-guide/
1•teleforce•26m ago•0 comments

Why Can't We Just Send an HTML Email

https://blog.julik.nl/2025/07/html-emails-the-hard-way
2•julik•36m ago•0 comments

Memphis is a warning: AI will be driven off-planet [video]

https://www.youtube.com/watch?v=3VJT2JeDCyw
2•HocusLocus•38m ago•1 comments

Kernel

https://web.cs.wpi.edu/%7Ejshutt/kernel.html#:%7E:text=On%20the%20theoretical%20side%2C%20the,also:%20My%20Academic%20Work%20page
1•Bogdanp•38m ago•0 comments

Detect and Track Humans with a Raspberry Pi MmWave Radar Sensor [video]

https://www.youtube.com/watch?v=CacGXNJawss
1•teleforce•39m ago•0 comments

FreeBSD 15.0 Aims to Have a KDE Desktop Install Option

https://www.phoronix.com/news/FreeBSD-15-KDE-Install-Plan
2•rbanffy•44m ago•0 comments

AMD Ryzen Threadripper Pro 9000WX Content Creation Review

https://www.pugetsystems.com/labs/articles/amd-ryzen-threadripper-pro-9000wx-content-creation-review/
2•binarycrusader•47m ago•0 comments

Inside Amsterdam's high-stakes experiment to create fair welfare AI

https://www.technologyreview.com/2025/06/11/1118233/amsterdam-fair-welfare-ai-discriminatory-algorithms-failure/
1•pseudolus•48m ago•1 comments

ExoMars parachutes ready for Martian deployment

https://www.esa.int/Science_Exploration/Human_and_Robotic_Exploration/Exploration/ExoMars/ExoMars_parachutes_ready_for_martian_deployment
2•rbanffy•50m ago•0 comments

Quantum Batteries Get a Big Storage Time Boost

https://spectrum.ieee.org/quantum-battery-rmit-university
1•pseudolus•54m ago•1 comments

Erythritol adversely affects brain microvascular endothelial cell function

https://journals.physiology.org/doi/full/10.1152/japplphysiol.00276.2025
2•domofutu•57m ago•0 comments

New dating safety app 'Tea' spills some controversy

https://www.fox2detroit.com/news/tea-app-controversy
3•carabiner•58m ago•1 comments

Human teens beat AI at an international math competition

https://www.popsci.com/technology/ai-math-competition/
4•domofutu•1h ago•0 comments
Open in hackernews

Interactive Programming in C (2014)

https://nullprogram.com/blog/2014/12/23/
55•ofalkaed•7h ago

Comments

lkuty•4h ago
Tsoding made a video about hot code reloading in C (https://www.youtube.com/watch?v=Y57ruDOwH1g) and also used the same concept in "My Own 3b1b Animation Engine but in C" (https://www.youtube.com/watch?v=RVwuYgXNUCM).
uticus•3h ago
> When the library loads without error, look up the GAME_API struct.... If looking up the GAME_API fails, close the handle and consider it a failure.

Error handling strategies, and what fallback state things fall into when the hot code breaks, would be great to hear about.

90s_dev•3h ago
I did something similar ones as a vs code extension for love2d which I called live2d, so that you could develop your game while it was running. It was incredibly fun, but incredibly hard to use, and nobody had any interest in it, so I abandoned it and lost the source code eventually. But it worked so well. I had invented this thing called magic tables to go along with it and make it easier to use, I forgot what they did, I just remember the name and how cool it was.
fao_•1h ago
My favourite go-to for that in Love2D has been rxi's lurker: https://github.com/rxi/lurker
RustyRussell•3h ago
Andrew Tridgell's KnightCap did this differently: it's a network chess server, and it would dump its data to a file and re-exec. The trick here is that it would keep the (network) fds open for zero downtime. IIRC he used a Perl script called datadumper to gen the code marshal/demarshal the structures.

This has the advantage that reboots can be handled fairly seemlessly too (though there will be reconnections then of).

sitkack•2h ago
https://man7.org/linux/man-pages/man2/pidfd_getfd.2.html

https://gist.github.com/kentonv/bc7592af98c68ba2738f44369208...

For those curious research "SCM_RIGHTS" (Socket-Level Control Message) and sendmsg/recvmsg

o11c•2h ago
The main disadvantage of this is that most encryption libraries don't support serializing their state.
fao_•1h ago
Eh, you could probably get away with it if you use BearSSL[0]. The only difficulty would be:

    These elements can be allocated anywhere in (writable) memory, e.g.
    heap, data segment or stack. They must not be moved while in use
    (they may contain pointers to each other and to themselves).
Which you could probably get around with by just keeping track of offsets and using mmap

[0]: https://www.bearssl.org/api1.html