frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: JavaScript/JSON and CSS minifier lib in minimal C89

https://fossil.wanderinghorse.net/r/cssminc/doc/ckout/README.md
1•sgbeal•44m ago
For those 1.7 of you who may have need of a JavaScript or JSON minifier which (A) is not based on node.js and (B) is not "poisoned" by the "do no evil" license attached to Douglas Crockford's minifier (commonly seen in various projects over the years)...

My C89 CSS minifier was recently broken down into a separate JavaScript/JSON minifier. It's trivial to embed in C, "should" build fine in WASM (that's untested, though), and is pretty small: the whole combined library is about 67kb, or about 34kb for just the JS parts (much of which is docs).

It minifies only spaces, not symbols, and does not offer any options for _not_ minifying (e.g. adding newlines every so often for the sake of tools which treat extremely-long-lined files as binaries) except that by default it retains the first comment in the input if it's the first non-whitespace content (those are typically license/attribution blocks) but it can be told to optionally strip those too.

LLM disclaimer: the 100% hand-written CSS minifier was given to an LLM which, tasked with creating a JS minifier with the same interface, created the new variant in about 20 seconds. That code was later hand-refactored to consolidate parts common to the two minifiers (all of which were hand-written) but the JS-specific pieces are otherwise 100% LLM-generated.

Happy minifying!

Ukraine's Kill Zone

https://www.reuters.com/graphics/UKRAINE-CRISIS/KILL-ZONE/znpnojmknvl/
1•stared•3m ago•0 comments

Free engagement-rate calculator for creators and brands

https://collabios.com/en/tools/engagement-rate-calculator
1•ghassendaoud•3m ago•0 comments

Show HN: Release-gate – a CLI that checks AI-agent PRs for risky changes

1•VamsiSudhakaran•4m ago•0 comments

Donald Trump's AI Brain Trust

https://www.wired.com/story/this-is-donald-trumps-ai-brain-trust/
1•joozio•4m ago•0 comments

A quantum heat engine that simultaneously provides work and refrigeration

https://phys.org/news/2026-07-quantum-simultaneously-refrigeration.html
1•pseudolus•4m ago•0 comments

UX-Context Design: The future of UX design and user research?

https://www.nngroup.com/articles/ux-context-design/
2•TonyAlicea10•6m ago•0 comments

The Ukrainian startup taking the missile fight deep into Russia

https://www.theguardian.com/world/2026/jul/27/fire-point-ukraine-cruise-missiles-russia
2•Anon84•6m ago•0 comments

The Birth of the American 12-string Guitar

https://www.harpguitars.net/history/grunewald/12-string.htm
2•bilegeek•13m ago•0 comments

Show HN: Horus-runtime – High Performance Computing workflow manager

https://github.com/temple-compute/horus-runtime
2•chdominguez•14m ago•0 comments

America Stopped Reading

https://ilummi.app/how-america-stopped-reading
1•anttonio•16m ago•1 comments

OpenAI is shutting down Atlas

https://techcrunch.com/2026/07/09/openai-is-shutting-down-atlas-but-its-ai-browser-ambitions-are-...
1•quadrige•17m ago•1 comments

Build a Basic AI Agent from Scratch: Security III

https://www.ruxu.dev/articles/ai/build-an-ai-agent-security-3/
1•ruxudev•17m ago•0 comments

Show HN: Dozenal – A Game of Spatial Arithmetic

https://dozenal.game
7•sarreph•21m ago•1 comments

Ask HN: Why is every company encorporating AI everywhere?

6•vanessa1211•26m ago•3 comments

If digital computers are conscious, they are conscious at the hardware level

https://smoothbrains.net/posts/2026-05-09-digital-consciousness.html
2•eatitraw•32m ago•0 comments

How to Run an Autonomous Agent Against Your Own Server

https://medium.com/@vektormemory/how-to-run-an-autonomous-agent-against-your-own-server-3ff9335ba69f
2•vektormemory•33m ago•1 comments

A preferred way to design tools for AI agents

https://www.bolshchikov.com/p/your-agent-isnt-dumb-your-tools-are
2•bolshchikov•33m ago•0 comments

Show HN: Spsc-ring-threadsafe Python C ext. 100x faster as multiprocessing.Queue

https://github.com/eliasdejong/spsc-ring-threadsafe
1•eliasdejong•37m ago•0 comments

Show HN: JavaScript/JSON and CSS minifier lib in minimal C89

https://fossil.wanderinghorse.net/r/cssminc/doc/ckout/README.md
1•sgbeal•44m ago•0 comments

How to Build an Automated SEO Workflow That Improves over Time

https://medium.com/@stefant/how-to-build-an-automated-seo-workflow-that-actually-improves-over-ti...
1•stevematzal•45m ago•0 comments

Big Companies Are Starting to Hire Again, Defying Predictions of AI Wipeout

https://www.wsj.com/business/big-companies-are-starting-to-hire-again-defying-predictions-of-ai-w...
4•thm•49m ago•1 comments

How to Set Up an On-Premises Project Management Platform

https://ones.com/blog/how-to-set-up-an-on-premises-project-management-platform-without-real-time-...
2•coding1134•53m ago•0 comments

Finance engineering roles are 2.6% of open finance-department jobs

https://app.layerz.cc/resources/finance-engineer-statistics
2•abarbey•56m ago•0 comments

How to Build a 50k Ton Forging Press

https://www.construction-physics.com/p/how-to-build-a-50000-ton-forging
3•Michelangelo11•58m ago•0 comments

Beyond Lambda-Calculus: Intensional Computation (2017) [video]

https://www.youtube.com/watch?v=Mmjwdtcu99I
2•sargstuff•59m ago•0 comments

Libsm64: Mario 64 as a library for use in external game engines

https://github.com/libsm64/libsm64
6•klaussilveira•1h ago•0 comments

Is Software Solved?

https://ahmet.ee/is-software-solved/
2•aozisik•1h ago•1 comments

The Odyssey Leaked on X: Bootleg Seen by Millions in Hours Before Takedown

https://variety.com/2026/film/news/the-odyssey-leaked-high-quality-bootleg-x-1236821418/
5•smurda•1h ago•2 comments

Removing React.js from the codebase and adapting Htmx for UI interactivity

https://misago-project.org/t/removing-reactjs-from-the-codebase-and-adapting-htmx-for-ui-interact...
2•Ralfp•1h ago•0 comments

Why I Left Google DeepMind

https://www.lesswrong.com/posts/iKm2FhpWkuuBojm82/why-i-left-google-deepmind
7•eatitraw•1h ago•1 comments