frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Postmortem: TanStack NPM supply-chain compromise

https://tanstack.com/blog/npm-supply-chain-compromise-postmortem
722•varunsharma07•9h ago•265 comments

They Live (1988) inspired Adblocker

https://github.com/davmlaw/they_live_adblocker
122•tokenburner•5h ago•24 comments

If AI writes your code, why use Python?

https://medium.com/@NMitchem/if-ai-writes-your-code-why-use-python-bf8c4ba1a055
363•indigodaddy•9h ago•370 comments

Claude Platform on AWS

https://claude.com/blog/claude-platform-on-aws
107•matrixhelix•4h ago•47 comments

UCLA discovers first stroke rehabilitation drug to repair brain damage (2025)

https://stemcell.ucla.edu/news/ucla-discovers-first-stroke-rehabilitation-drug-repair-brain-damage
294•bookofjoe•12h ago•60 comments

Google says criminal hackers used AI to find a major software flaw

https://www.nytimes.com/2026/05/11/us/politics/google-hackers-attack-ai.html
156•donohoe•17h ago•115 comments

Software Internals Book Club

https://eatonphil.com/bookclub.html
54•aragonite•3h ago•10 comments

Boriel BASIC

https://zxbasic.readthedocs.io/en/docs/
16•AlexeyBrin•2d ago•1 comments

Show HN: A modern Music Player Daemon based on Rockbox firmware

https://github.com/tsirysndr/rockbox-zig
57•tsiry•2d ago•7 comments

I let AI build a tool to help me figure out what was waking me up at night

https://martin.sh/i-let-ai-build-a-tool-to-help-me-figure-out-what-was-waking-me-up-at-night/
131•showmypost•9h ago•143 comments

I hate soldering

https://user8.bearblog.dev/rant/
63•James72689•3d ago•53 comments

High-precision HDC reference instrument for the Sol Star System

https://pypi.org/project/ephemerides-spectral/
6•lemonforest•1d ago•0 comments

Nullsoft, 1997-2004 (2004)

https://slate.com/technology/2004/11/the-death-of-the-last-maverick-tech-company.html
261•downbad_•3d ago•76 comments

A lost ancient script reveals how writing as we know it began

https://www.newscientist.com/article/2524042-a-lost-ancient-script-reveals-how-writing-as-we-know...
40•emot•4d ago•10 comments

Library for fast mapping of Java records to native memory

https://github.com/mamba-studio/TypedMemory
130•joe_mwangi•10h ago•27 comments

Interaction Models

https://thinkingmachines.ai/blog/interaction-models/
173•smhx•9h ago•21 comments

GitLab announces workforce reduction and end of their CREDIT values

https://about.gitlab.com/blog/gitlab-act-2/
435•AnonGitLabEmpl•9h ago•460 comments

Extremely Low Frequencies

https://computer.rip/2026-05-09-extremely-low-frequencies.html
10•pinewurst•2h ago•0 comments

VGA Memory Access Is Complicated

https://www.os2museum.com/wp/learn-something-old-every-day-part-xxi-vga-memory-access-is-complica...
41•ingve•2d ago•5 comments

Griffin PowerMate driver for modern macOS

https://github.com/jameslockman/Griffin-PowerMate-Driver
66•classichasclass•8h ago•23 comments

Show HN: TikTok but for scientific papers

https://andreaturchet.github.io/website/index.html
95•ciwrl•14h ago•49 comments

Productivity isn't about going faster

https://humanpro.co/articles/productivity-isnt-about-going-faster/
47•gx•2h ago•25 comments

Supercomputer networking to accelerate large scale AI training

https://openai.com/index/mrc-supercomputer-networking/
3•gmays•1h ago•0 comments

The rise and fall of snake oil

https://www.historytoday.com/archive/history-matters/rise-and-fall-snake-oil
52•samizdis•4d ago•26 comments

Training an LLM in Swift, Part 1: Taking matrix mult from Gflop/s to Tflop/s

https://www.cocoawithlove.com/blog/matrix-multiplications-swift.html
229•zdw•1d ago•12 comments

Interfaze: A new model architecture built for high accuracy at scale

https://interfaze.ai/blog/interfaze-a-new-model-architecture-built-for-high-accuracy-at-scale
132•yoeven•14h ago•32 comments

Silverback Imfura took a chance, and ended up alone

https://gorillafund.org/mountain-gorillas/silverback-imfura-took-a-chance-and-ended-up-alone/
53•alex000kim•2d ago•17 comments

Abstract Machines for Logic Programs

https://chrisistyping.bearblog.dev/abstract-machines-for-logic-programs/
33•surprisetalk•2d ago•1 comments

Show HN: OpenGravity – A zero-install, BYOK vanilla JS clone of Antigravity

https://github.com/ab-613/opengravity
74•ab613•9h ago•23 comments

Bild AI (YC W25) Is Hiring Founding Product Engineers

https://bild.ai/jobs
1•rooppal•12h ago
Open in hackernews

Fast(er) regular expression engines in Ruby

https://serpapi.com/blog/faster-regular-expression-engines-in-ruby/
60•davidsojevic•1y ago

Comments

yxhuvud•1y ago
Eww, pretending to support utf8 matchers while not supporting them at all was not pretty to see.
gitroom•1y ago
Honestly that part bugs me, fake support is worse than no support imo
kayodelycaon•1y ago
> Another nuance was found in ruby, which cannot scan the haystack with invalid UTF-8 byte sequences.

This is extremely basic ruby: UTF-8 encoded strings must be valid UTF-8. This is not unique to ruby. If I recall correctly, python 3 does the same thing.

    2.7.1 :001 > haystack = "\xfc\xa1\xa1\xa1\xa1\xa1abc"
    2.7.1 :003 > haystack.force_encoding "ASCII-8BIT"
    => "\xFC\xA1\xA1\xA1\xA1\xA1abc" 
    2.7.1 :004 > haystack.scan(/.+/)
    => ["\xFC\xA1\xA1\xA1\xA1\xA1abc"]
This person is a senior engineer on their Team page. All they had to do was google "ArgumentError: invalid byte sequence in UTF-8". Or ask a coworker... the company has Ruby on Rails applications. headdesk
burntsushi•1y ago
The nuance is specifically relevant here because neither of the other two regex engines benchmarked have this requirement. It's doubly relevant because that means running a regex search doesn't require a UTF-8 validation step, and is therefore likely beneficial from a perf perspective, dependening on the workload.
kayodelycaon•1y ago
That’s a good point. I hadn’t considered it because I’ve hit the validation error long before getting to search. It is possible to avoid string operations with careful coding prior to the search.

Edit: After a little testing, the strings can be read from and written to files without triggering validation. Presumably this applies to sockets as well.

DmitryOlshansky•1y ago
I wonder how std.regex of dlang would fare in such test. Sadly due to a tiny bit of D’s GC use it’s hard to provide as a library for other languages. If there is an interest I might take it through the tests.