Feed aggregator

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

Hacker News - Mon, 07/27/2026 - 6:22am

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!

Comments URL: https://news.ycombinator.com/item?id=49067477

Points: 1

# Comments: 0

Categories: Hacker News

Is Software Solved?

Hacker News - Mon, 07/27/2026 - 6:03am

Article URL: https://ahmet.ee/is-software-solved/

Comments URL: https://news.ycombinator.com/item?id=49067336

Points: 1

# Comments: 1

Categories: Hacker News

Anthropic’s Opus 5 Nears Mythos 5 on Finding Bugs, but Falls Short on Exploits

Security Week - Mon, 07/27/2026 - 6:02am

Binary-based vulnerability scanning, penetration testing, and exploit generation are blocked in Opus 5.

The post Anthropic’s Opus 5 Nears Mythos 5 on Finding Bugs, but Falls Short on Exploits appeared first on SecurityWeek.

Categories: SecurityWeek

DentaQuest Data Breach Potentially Impacts Over 23 Million People

Security Week - Mon, 07/27/2026 - 5:34am

In May 2026, hackers stole personal and dental health information from DentaQuest’s computer network.

The post DentaQuest Data Breach Potentially Impacts Over 23 Million People appeared first on SecurityWeek.

Categories: SecurityWeek

Pages