frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tiny C Compiler

https://bellard.org/tcc/
70•guerrilla•2h ago•26 comments

SectorC: A C Compiler in 512 bytes

https://xorvoid.com/sectorc.html
155•valyala•6h ago•28 comments

The F Word

http://muratbuffalo.blogspot.com/2026/02/friction.html
84•zdw•3d ago•37 comments

Speed up responses with fast mode

https://code.claude.com/docs/en/fast-mode
90•surprisetalk•5h ago•93 comments

Software factories and the agentic moment

https://factory.strongdm.ai/
122•mellosouls•8h ago•249 comments

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

https://openciv3.org/
868•klaussilveira•1d ago•266 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
161•AlexeyBrin•11h ago•29 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
117•vinhnx•9h ago•14 comments

Show HN: Browser based state machine simulator and visualizer

https://svylabs.github.io/smac-viz/
3•sridhar87•4d ago•1 comments

You Are Here

https://brooker.co.za/blog/2026/02/07/you-are-here.html
42•mltvc•1h ago•52 comments

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
24•mbitsnbites•3d ago•1 comments

First Proof

https://arxiv.org/abs/2602.05192
83•samasblack•8h ago•59 comments

LLMs as the new high level language

https://federicopereiro.com/llm-high/
28•swah•4d ago•30 comments

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

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
74•thelok•7h ago•14 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
256•jesperordrup•16h ago•83 comments

Brookhaven Lab's RHIC concludes 25-year run with final collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
37•gnufx•4h ago•42 comments

I write games in C (yes, C) (2016)

https://jonathanwhiting.com/writing/blog/games_in_c/
157•valyala•6h ago•136 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
539•theblazehen•3d ago•197 comments

Washington Post CEO Will Lewis Steps Down After Stormy Tenure

https://www.nytimes.com/2026/02/07/technology/washington-post-will-lewis.html
7•jbegley•22m ago•1 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
42•momciloo•6h ago•5 comments

Reinforcement Learning from Human Feedback

https://rlhfbook.com/
100•onurkanbkrc•10h ago•5 comments

Selection rather than prediction

https://voratiq.com/blog/selection-rather-than-prediction/
19•languid-photic•4d ago•5 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
219•1vuio0pswjnm7•12h ago•338 comments

Microsoft account bugs locked me out of Notepad – Are thin clients ruining PCs?

https://www.windowscentral.com/microsoft/windows-11/windows-locked-me-out-of-notepad-is-the-thin-...
58•josephcsible•3h ago•70 comments

72M Points of Interest

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

Coding agents have replaced every framework I used

https://blog.alaindichiappari.dev/p/software-engineering-is-back
281•alainrk•10h ago•462 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
129•videotopia•4d ago•42 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
53•rbanffy•4d ago•15 comments

France's homegrown open source online office suite

https://github.com/suitenumerique
659•nar001•10h ago•287 comments

Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

https://github.com/sandys/kappal
41•sandGorgon•2d ago•17 comments
Open in hackernews

Profiling with Ctrl-C (2024)

https://yosefk.com/blog/profiling-with-ctrl-c.html
92•hun3•1mo ago

Comments

dzdt•1mo ago
The first footnote here had me cackling aloud. Don't miss the footnotes!
Brian_K_White•1mo ago
The very similar "stepped in it" definitely has the same connotation in English.

But it needs the "it". "step in" alone or in any context where "it" isn't a mystery doesn't do it.

"step into the function" or "step into the hallway" doesn't do it even slightly.

The opposite even. In the case of "step into the hallway" where "step" does actually refer to literally using ones feet, saying step is a bit more sophisticated option for something like walk or go, invoking a sense of dancing vs merely relocating. So the "step in" is actually more elegant and tasteful.

Stepping into into or through a function doesn't invoke any dancing, merely the non-continuous, non-analog nature of the process.

But "here's where we stepped in it" has exactly the image and meaning he means.

Perhaps there is some other word in Russian that would do a better job of expressing something that proceeds in hard jumps? Maybe "step" was always just a too-literal translation from English or other languages because there is obviously a Russian word for "step"?

Is the 90-degree shape of stair called a step in Russian? Were instructions called steps in Russian before the western world put our own words for computer stuff into everyone else's languages overnight? Would a 400 year old document describe the recipe for a soup as a set of steps? In that case "step" was not merely a too-literal translation.

lelandfe•1mo ago
"I stepped into a management role. Then I had to scrape it off my shoes."
ahartmetz•1mo ago
Sure, it's a fine technique if essentially one thing is consuming all the CPU time (and it shouldn't), which does happen. It becomes tedious when you're looking for the thing that consumes 20% or so of the CPU time.
vjvjvjvjghv•1mo ago
Yes, this method is probably fine for finding the one big offender. But you quickly reach a point where you see 5% here and 5% there. Then you need a real profiler.
layer8•1mo ago
Luckily the article discusses that.
silon42•1mo ago
Once upon a time (maybe even before pthreads) I made an automatic version of this using SIGALARM for profiling.

I made a wrapper (using LD_PRELOAD) around XSelectInput that would trigger the signal 0.1 seconds after a keyboard/mouse (or other event) was received... Then it would dump stack traces every 0.1 seconds where "slow" UI code was being executed (before next call to XSelectInput).

incanus77•1mo ago
I kind of do a variant of this sometimes with “pause” in the Xcode debugger. If I’ve just encountered some kind of hang or delay, often hitting that will put me in the right place in the threads/call stack to figure out what I did.
maccard•1mo ago
> Which goes to show that Ctrl-C profiling is often enough to solve a simple problem, and it’s usually much easier than learning how to use a profiler and how to properly read its output

As the article says, this is a low frequency sampling profiler, which means it comes with all the caveats of a sampling profiler, and interpreting its output. As a very crude tool, sure, but it is not an excuse to not learnt to use a profiler. Perf, instruments and UIForETW are simple enough to use that anyone who can follow the instructions in this blog past can pick up the basics in the same length of time.

eichin•1mo ago
This is interestingly analogous to nelhage's memory sampling approach https://blog.nelhage.com/2013/03/tracking-an-eventmachine-le... where if something is leaking "at scale", let it - then gcore it, and pick a random page of the core and see what's there. (An even cheaper variant I've used a few times with python is to just run "strings | sort | uniq -c | sort -n" on the core, so you get the most common strings which are usually part of object metadata and give you a solid hint without needing to go in with a debugger...) The ^C approach basically samples time instead of memory.
tialaramex•1mo ago
Substantially pre-dated by e.g. Raymond Chen's explanation

https://devblogs.microsoft.com/oldnewthing/20050815-11/?p=34...

and by my implementation (for Linux) https://github.com/tialaramex/leakdice-rust or https://github.com/tialaramex/leakdice if you can't use Rust)

nvartolomei•1mo ago
Wrap gdb in a shell script and you’ve got yourself an actual profiler: https://poormansprofiler.org/
baruch•1mo ago
Ages ago, working on an embedded system we did something similar by running gdb server on the embedded machine and gdb on the server and running a script to collect periodic stack traces to get a sampling profiler.