frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Software factories and the agentic moment

https://factory.strongdm.ai/
39•mellosouls•3h ago•32 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
36•thelok•2h ago•3 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
95•AlexeyBrin•5h ago•17 comments

First Proof

https://arxiv.org/abs/2602.05192
46•samasblack•2h ago•34 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
787•klaussilveira•20h ago•241 comments

StrongDM's AI team build serious software without even looking at the code

https://simonwillison.net/2026/Feb/7/software-factory/
29•simonw•2h ago•37 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
37•vinhnx•3h ago•4 comments

Reinforcement Learning from Human Feedback

https://arxiv.org/abs/2504.12501
59•onurkanbkrc•5h ago•4 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
456•theblazehen•2d ago•163 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
1037•xnx•1d ago•587 comments

France's homegrown open source online office suite

https://github.com/suitenumerique
496•nar001•4h ago•232 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
176•jesperordrup•10h ago•65 comments

Coding agents have replaced every framework I used

https://blog.alaindichiappari.dev/p/software-engineering-is-back
182•alainrk•5h ago•269 comments

A Fresh Look at IBM 3270 Information Display System

https://www.rs-online.com/designspark/a-fresh-look-at-ibm-3270-information-display-system
27•rbanffy•4d ago•5 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
59•1vuio0pswjnm7•6h ago•56 comments

72M Points of Interest

https://tech.marksblogg.com/overture-places-pois.html
18•marklit•5d ago•0 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
107•videotopia•4d ago•27 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
56•speckx•4d ago•62 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
267•isitcontent•20h ago•33 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
280•dmpetrov•21h ago•148 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
196•limoce•4d ago•105 comments

Making geo joins faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
152•matheusalmeida•2d ago•46 comments

British drivers over 70 to face eye tests every three years

https://www.bbc.com/news/articles/c205nxy0p31o
165•bookofjoe•2h ago•150 comments

What Is Stoicism?

https://stoacentral.com/guides/what-is-stoicism
10•0xmattf•2h ago•5 comments

Ga68, a GNU Algol 68 Compiler

https://fosdem.org/2026/schedule/event/PEXRTN-ga68-intro/
37•matt_d•4d ago•12 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
547•todsacerdoti•1d ago•266 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
422•ostacke•1d ago•110 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
365•vecti•22h ago•167 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
462•lstoll•1d ago•305 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
339•eljojo•23h ago•209 comments
Open in hackernews

URL in C (2011)

https://susam.net/url-in-c.html
92•birdculture•2mo ago

Comments

gblargg•2mo ago
I do this to embed shell commands at the beginning of short one-file C/C++ programs to execute when hitting an F key in my text editor. I usually put very basic compile-and-run commands. It's wrapped in #if and #endif which are comments in many shells. I end the commands with exit so it doesn't try to execute the code as commands.
writebetterc•2mo ago
This is why you should only use /* */ as your comment style.
danhau•2mo ago
How is this related to the article?
wkjagt•2mo ago
Solve the puzzle and you'll know :-)
dxroshan•2mo ago
It's a puzzle. Nobody is going to put a URL amid your code. There is no harm in using // for comments.
writebetterc•2mo ago
It's a joke
dxroshan•2mo ago
My bad, I thought you are serious.
p0w3n3d•2mo ago
Quite a time ago, my colleague accidentally committed a Youtube url to our Java codebase (middle-click accidental paste, no code review at that time). We had some laughing moments when we discovered it, as it was compelling evidence that he was watching videos during work, and even we knew what he was watching at that time.
raverbashing•2mo ago
Of all the (ahem, not as many as hoped) things C++ got right, // comments are one of the best ones

And I'm glad it now is part of C as well

dhosek•2mo ago
I remember working on some code back in ’99 when the other dev on the project used // comments in C code which, it turned out, were supported by the C compiler we were using, but which broke the embedded SQL preprocessor.
anonnon•2mo ago
Clearly, the "http:" is parsed as a label (for goto), and the subsequent "//", as a C++ or C99 comment. This shouldn't give you more than a moment's pause if you know C.
pwdisswordfishy•2mo ago
Or if you use a syntax highlighter.
anonnon•2mo ago
Yes, I don't know why people are downvoting me. Have these people never seen C code using goto-based error handling?
NackerHughes•2mo ago
I wouldn't be surprised if a fair majority of them have been taught to see goto as nothing but a vestige of the 70s which should never be used under any circumstances except as a meme or to deliberately obfuscate code.

I have recently become quite fond of goto-based error handling and find it a lot cleaner and more readable than the if-else-mountains you otherwise end up with. I just make sure to leave a comment with a link to xkcd.com/292 so anyone else reading it knows I'm aware of what I'm doing. Now with this URL trick I can do both in one line. :)

elcapitan•2mo ago
And the corresponding `goto http` is the chef's kiss :D love it
dhosek•2mo ago
I mean, I’ve not written C code in decades¹ and this didn’t cause a second’s pause.

⸻

1. Long enough ago that the only practical way to get syntax highlighting was to run a separate program on the source code to generate a TeX document.

tromp•2mo ago
You can only have one URL for each scheme though, else your compiler will report something like

error: redefinition of label 'https'

rplnt•2mo ago
This puzzle would become extra trivial with syntax highlighting.
eps•2mo ago
Nice.

Another neat comment-based construct is the good old:

  //*
     foo
  /*/
     bar
  //*/
It yields 'foo' as is, and 'bar' if the first slash is removed.
pwdisswordfishy•2mo ago
It's not as needed in C given that you can use #if 1

It is handy in C derivatives, though.

askl•2mo ago
At least when using -Wall the compiler will give you the warning

  <source>:5:5: warning: label 'https' defined but not used [-Wunused-label]
as a hint.
rts_cts•2mo ago
That's exactly how we found an accidental copy/paste of an internal URL in our source code.
1vuio0pswjnm7•2mo ago
Wouldn't there be a warning about an unused goto label
alilikestech•2mo ago
This is very neat.