frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

The radix 2^51 trick (2017)

https://www.chosenplaintext.ca/articles/radix-2-51-trick.html
218•blobcode•7h ago•30 comments

Modern C++ – RAII

https://green7ea.github.io/modern/modern.html
24•green7ea•1h ago•5 comments

Radio Astronomy Software Defined Radio (Rasdr)

https://radio-astronomy.org/rasdr
14•zeristor•1h ago•2 comments

Atomics and Concurrency

https://redixhumayun.github.io/systems/2024/01/03/atomics-and-concurrency.html
13•LAC-Tech•2d ago•1 comments

Bridged Indexes in OrioleDB: architecture, internals and everyday use?

https://www.orioledb.com/blog/orioledb-bridged-indexes
4•pella•26m ago•0 comments

Tokenization for language modeling: BPE vs. Unigram Language Modeling (2020)

https://ndingwall.github.io/blog/tokenization
7•phewlink•1h ago•0 comments

Practical SDR: Getting started with software-defined radio

https://nostarch.com/practical-sdr
158•teleforce•9h ago•40 comments

Triangle splatting: radiance fields represented by triangles

https://trianglesplatting.github.io/
87•ath92•6h ago•34 comments

WeatherStar 4000+: Weather Channel Simulator

https://weatherstar.netbymatt.com/
617•adam_gyroscope•19h ago•115 comments

Turn a Tesla into a mapping vehicle with Mapillary

https://blog.mapillary.com/update/2020/12/09/map-with-your-tesla.html
31•faebi•1d ago•9 comments

Germany eyes 10% digital tax on global tech groups

https://www.ft.com/content/39d4678d-a7e1-4fce-b8d8-eb799cfed3e6
33•saubeidl•1h ago•17 comments

FLUX.1 Kontext

https://bfl.ai/models/flux-kontext
389•minimaxir•17h ago•99 comments

Show HN: MCP Server SDK in Bash (~250 lines, zero runtime)

https://github.com/muthuishere/mcp-server-bash-sdk
70•muthuishere•6h ago•19 comments

OpenBAO (Vault open-source fork) Namespaces

https://openbao.org/blog/namespaces-announcement/
44•gslin•7h ago•19 comments

Buttplug MCP

https://github.com/ConAcademy/buttplug-mcp
173•surrTurr•3h ago•88 comments

Why do we get earworms?

https://theneuroscienceofeverydaylife.substack.com/p/mahna-mahna-do-doo-be-do-do-why-do
4•lentoutcry•2h ago•2 comments

The atmospheric memory that feeds billions of people: Monsoon rainfall mechanism

https://phys.org/news/2025-05-atmospheric-memory-billions-people-monsoon.html
26•PaulHoule•2d ago•5 comments

Player Piano Rolls

https://omeka-s.library.illinois.edu/s/MPAL/page/player-piano-rolls-landing
46•brudgers•7h ago•30 comments

Dr John C. Clark, a scientist who disarmed atomic bombs twice

https://daxe.substack.com/p/disarming-an-atomic-bomb-is-the-worst
92•vinnyglennon•2d ago•61 comments

Smallest Possible Files

https://github.com/mathiasbynens/small
41•yread•2d ago•16 comments

Show HN: I wrote a modern Command Line Handbook

https://commandline.stribny.name/
351•petr25102018•20h ago•88 comments

How to Do Ambitious Research in the Modern Era [video]

https://www.youtube.com/watch?v=w7DVlI_Ztq8
30•surprisetalk•5h ago•1 comments

Show HN: Donut Browser, a Browser Orchestrator

https://donutbrowser.com/
41•andrewzeno•6h ago•19 comments

Superauthenticity: Computer Game Aspect Ratios

https://datadrivengamer.blogspot.com/2025/05/superauthenticity-computer-game-aspect.html
13•msephton•3d ago•4 comments

I'm starting a social club to solve the male loneliness epidemic

https://wave3.social
210•nswizzle31•11h ago•369 comments

Show HN: templUI – The UI Kit for templ (CLI-based, like shadcn/UI)

https://templui.io/
35•axadrn•6h ago•20 comments

The David Lynch Collection

https://www.juliensauctions.com/en/auctions/julien-s-auctions-turner-classic-movies-present-the-david-lynch-collection
56•Duanemclemore•5h ago•53 comments

Making C and Python Talk to Each Other

https://leetarxiv.substack.com/p/making-c-and-python-talk-to-each
119•muragekibicho•2d ago•75 comments

Why is everybody knitting chickens?

https://ironicsans.ghost.io/why-is-everybody-knitting-chickens/
138•mooreds•2d ago•104 comments

Human coders are still better than LLMs

https://antirez.com/news/153
525•longwave•18h ago•604 comments
Open in hackernews

Show HN: I made a Zero-config tool to visualize your code

https://staying.fun/en
115•lezhu•1d ago
I built Staying – a tool that instantly turns your code into interactive animations with no setup required. Just write or paste your code and hit "Visualize". No installs, no accounts, no configuration. *Supports*: Python, JavaScript & experimental C++

Comments

chrsw•1d ago
Interesting.

In the Configuration box, for the Core Language selection, when I switched to c/c++, the example code didn't automatically update to a C/C++ example. At least not for me in Firefox.

lezhu•1d ago
You're absolutely right,thanks for pointing that out! I'll add auto-switching for all languages. Appreciate your feedback!
on_the_train•22h ago
This is an empty black site with an arrow button that does nothing
webprofusion•22h ago
Stick your site behind cloudflare, you'll get geographically distributed caching for free. It's currently very slow as if you are serving it from your basement.
lezhu•22h ago
Thanks for the suggestion, I'll give it a try
sixtyj•22h ago
Connecting from Europe, from iPhone, browser didn’t connect because of certificate…
lezhu•22h ago
This is a bit strange. I’m using ZeroSSL for my SSL certificates—maybe I should double-check my SSL configuration.
lezhu•22h ago
i just got a email says: Cloudflare's network is now boosting staying.fun’s speed and security
emushack•22h ago
I really like the examples for sorting algorithms! This would have been amazing to have back when I first took Data Structures & Algorithms in college.

This is a really cool tool.

lezhu•22h ago
Glad you like it!
mushufasa•22h ago
this could be truly helpful if I could include it into my (large) existing codebase to help spot performance bottlenecks. that's not something I could so simply pasted into a self-contained snippet, though. Do other HN know of other static analysis tools that would be great for this?
lezhu•22h ago
Maybe I'll try visualizing parts of large-scale projects in the future, though it might be a bit challenging.
szjanikowski•22h ago
Hey, what do you mean by "performance bottlenecks"? Do you mean finding CPU/memory hotspots in your apps? If so, APM tools like New Relic or runtime scanners like AppMap sound like a better fit than static code analysis.

However, if you want to visualize the codebase structure and reason about how coupling and design choices impact performance, static analysis becomes your friend.

If you're on .NET, you might consider joining our early testing campaign at Noesis.vision (https://noesis.vision). There are also a bunch of other tools—some more AI-based (like GitDiagram, DeepWiki), and others less or not AI-based and more language-specific (often IDE plugins). Let me know if you'd like to chat more.

HenryBemis•21h ago
Perhaps the parent means "identify the commands/procedures that would cause workload "5", and if many of them exist and rank them accordingly? So a procedure that 'prints a line on the log' 'costs' "1", but a thousand of them would 'cost' "1000" or something similar?
mushufasa•20h ago
A lot of our code was written by domain experts who aren't trained in algorithms/data structures. We have new relic and other performance assessment tools to see where we have long running queries etc. But looking at the realized performance will only show you the biggest problem areas, like long running queries, and will miss the "Death by 1000 papercuts" of functions that work but in a way that is unnecessary. It would be nice if there is a tool that looks more holistically at whether certain functions are designed well, both in terms of space-time complexity of the algorithms and in terms of overall design of certain features. For example, a feature that sequentially changes a lot of things in a database could not raise any red flags in a profiler, but could be unnecessarily adding a lot of time versus an approach that might pull data into memory, conduct all the operations, then bulk reinserting. Or which could be refactored to act in parallel versus sequential.

This is what is really hard to figure out because you need to know 1) what is the business logic you actually need (and what tradeoffs can you make that would be acceptable given the product), 2) algorithm design, 3) how web apps scale things horizontally, 3) which things get performed on the cpu / memory versus a database, and more.

Instead of hoping for a tool that can do all of that at once, it would be nice if a tool could at least visualize (2) within an existing project to help a human who can keep those things in their head at one time to spot problem areas with code design / system architecture that wouldn't necessarily be revealed by simply looking at logging/APM tools.

szjanikowski•18h ago
Oh that's more clear right now. Hints of such refactorings are certainly within reach of todays AI tools (if you agree to send your code to the LLM models). Have you tried asking Cursor/Windsurf this question with a prompt similar to what you've just written above?

BTW it might be an interesting feature for Noesis if it needs to be done during regular scans. Thanks for a tip ;)

mushufasa•16h ago
Yes I've tried cursor. Currently it gives 1) high level suggestions if I ask about architecture, which may be valid but doesn't solve the issue of refactoring a large existing codebase to make architectural changes, or 2) some specific improvements on very simple functions, but it majorly falls short for 3) actually implementing improvements, because it doesn't have the context of the product and what "makes sense" as tradeoffs and choices. There are a lot of times where for us, "correctness" is a state of data calculations rather than code validity, where unit tests / integration tests don't exist and aren't trivial to generate.It is counterproductive if we make something run faster but return the wrong results. Or if a team member were to look at a task/function, they could reason "actually this feature that does X should actually be doing Y" but that isn't something the AI can reason about in practice. In those cases, it would be ideal to change the function without relying on tests, because you would actually want the behavior to change. Small example: a feature is not performant, and rather than just making that feature perform better, the better solution would be to switch to a different library that we added elsewhere in the codebase for accomplishing that work.

Also, while cursor is now able to scan terminal server logs to see errors, it doesn't come "out of the box" hooked up to app performance profiling tools -- even just running locally. There probably are some MCP servers or something to do that but I haven't set that up. Really you would want the IDE agent to have a feedback loop that goes like "optimize {speed, resource usage} subject to the constraint of {unit/integration test}" and let it run asynchronously or overnight etc. (Of course, there are tons of times that LLMs will work themselves into a dead end loop, and it would be bad to indefinitely generate LLM API calls on a dead end overnight).

schaefer•22h ago
This is really great!

Is there a way to run it locally? Maybe with docker?

—

If there is any way to make a small donation, buy you a coffee, I would.

lezhu•21h ago
Local Docker deployment isn't quite ready yet, but I may consider adding it in the future!
schaefer•21h ago
Wonderful.

It’s just a maybe, but what a fun maybe that would be.

:D

vishkk•21h ago
Quite neat. Reminds of this one that I used to use: https://pythontutor.com/visualize.html#mode=edit
lezhu•21h ago
Glad you like it, pythontutor is also one of the inspirations for me creating this product.
federiconafria•21h ago
This is a great learning tool!

One small improvement, show the return values, not just the result, and somehow visualize if the function has not yet returned.

Maybe it's just because I'm used to debuggeres, but the vertical arrangement of variables and their values seems weird.

lezhu•21h ago
Thanks for the suggestion! i'm continuously working to improve the visualization, and your point is very valuable.
dugmartin•20h ago
Totally off topic but this is the first time I've seen (or noticed) an ICP license link in a footer. I was curious so I looked it up (https://en.wikipedia.org/wiki/ICP_license) and its been in effect since 2000. I guess I'm one of the lucky 10,000 today.
moritonal•20h ago
Context: https://xkcd.com/1053/
cadamsdotcom•20h ago
Very cool!

Maybe LSP integration for greater compatibility with languages would make this even more cool and useful!

Imagine visualizing a whole codebase with a tool like this.

lezhu•19h ago
You're absolutely right, Thank you so much for the LSP suggestion!
jolmg•18h ago
Hey, some feedback on those 1/24 holes that fill through scrolling. They're not matched with the steps of the scrollwheel. It seems like a step fills 1.2 holes. It pauses the animation of your demonstration between your points. Checked both Chromium and Firefox. Also checked my mouse events, and a single step matches with a single event.
phcreery•14h ago
I also notice this. Maybe it was not intended to "snap" on animation checkpoints though. Scrolling with a touch scroll or mouse middle-click-and-drag is pretty smooth.
lezhu•13h ago
Thanks for the feedback! I’ve logged this scrolling misalignment issue and will fix it in the next release.
ziml77•11h ago
It's not great on a smooth scrolling input device either. You need to carefully scroll to not leave it halfway through a transition. And there's no next/previous buttons available to step through properly. Best you can do is click the little bubbles in order.
vasusen•14h ago
Thanks for building it! It can really help help my 10 yo who is just learning coding. How does it handle potentially infinite loops like below? Currently I get a parsing error after it takes a while.

```python

  while exit != "yes":
    print("\*")
    exit = input("Exit?: ")
```
lezhu•13h ago
I'm really sorry, but the input() function isn't supported at the moment. Also, just a heads-up, print() won't have any visible effect right now—maybe I should think about how to better visualize print output.
helsinki•14h ago
You're going to need to speed up the visualizer. I think you're losing a lot of potential users to the loading time.
lezhu•13h ago
Yes, you're absolutely right - especially for C++ and code with many steps. I'm actively working on improving the loading times!
benoau•12h ago
Very exciting. I'm using math in particular as an entry point for teaching programming to offspring.
Leo-thorne•7h ago
Tried this out today and it’s surprisingly smooth for a browser-based tool. The zero-setup part really helps. Would be great if the visualizer could also show how values flow across function calls over time, especially for recursive logic. That’s where beginners often get stuck.
lezhu•6h ago
Thank you for your feedback. Your suggestion makes a lot of sense, and improving data visualization has always been an area I’m continuously working on.