매일의 Show HN

Upvote0

2025년 11월 23일의 Show HN

4 개
137

I wrote a minimal memory allocator in C #

github.com favicongithub.com
32 댓글10:25 PMHN에서 보기
A fun toy memory allocator (not thread safe, that's a future TODO). I also wanted to explain how I approached it, so I also wrote a tutorial blog post (~20 minute read) covering the code which you can find the link to in the README.
90

Safe-NPM – only install packages that are +90 days old #

github.com favicongithub.com
64 댓글10:14 PMHN에서 보기
This past quarter has been awash with sophisticated npm supply chain attacks like [Shai-Hulud](https://www.cisa.gov/news-events/alerts/2025/09/23/widesprea...() and the [Chalk/debug Compromise](https://www.wiz.io/blog/widespread-npm-supply-chain-attack-b...). This CLI helps protect users from recently compromised packages by only downloading packages that have been public for a while (default is 90 days or older).

Install: npm install -g @dendronhq/safe-npm Usage: safe-npm install react@^18 lodash

How it works: - Queries npm registry for all versions matching your semver range - Filters out anything published in the last 90 days - Installs the newest "aged" version

Limitations: - Won't protect against packages malicious from day one - Doesn't control transitive dependencies (yet - looking into overrides) - Delays access to legitimate new features

This is meant as a 80/20 measure against recently compromised NPM packages and is not a silver bullet. Please give it a try and let me know if you have feedback.

15

Built a tool solve the nightmare of chunking tables in PDF vs. Markdown #

github.com favicongithub.com
0 댓글6:50 PMHN에서 보기
Hey HN, solo dev here. After years of frustration with how LLMs handle complex documents, especially PDFs with tables, I decided to build a solution myself. My approach uses a Markdown conversion step to preserve the table structure, which seems to work surprisingly well for chunking. This little parser is the first public piece of a much larger, privacy-focused AI platform I'm building. I'm pretty much running on fumes financially, so any feedback, critique, or support is massively appreciated. Happy to answer any questions about the approach!
9

Wolfrominoes #

demos.samgentle.com favicondemos.samgentle.com
2 댓글4:16 AMHN에서 보기
This is a little puzzle game I made based on Wolfram's rule 30[0]. I was doing some sketches based on old Genuary[1] prompts and for some reason this idea stuck with me, so I polished it up into a hopefully playable state.

I wanted to keep things minimal, but as a semi-easter egg you can play custom variants using url parameters like https://demos.samgentle.com/wolfrominoes/?rows=20&rule=110

[0] https://mathworld.wolfram.com/Rule30.html

[1] https://genuary2021.github.io/prompts