frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I built a light that reacts to radio waves [video]

https://www.youtube.com/watch?v=moBCOEiqiPs
163•codetheweb•5h ago•29 comments

Google is ending full-web search for niche search engines

https://programmablesearchengine.googleblog.com/
71•01jonny01•57m ago•40 comments

Proton Spam and the AI Consent Problem

https://dbushell.com/2026/01/22/proton-spam/
192•dbushell•3h ago•99 comments

AI Is a Horse (2024)

https://kconner.com/2024/08/02/ai-is-a-horse.html
21•zdw•3d ago•4 comments

Show HN: isometric.nyc – giant isometric pixel art map of NYC

https://cannoneyed.com/isometric-nyc/
939•cannoneyed•17h ago•187 comments

GPTZero finds 100 new hallucinations in NeurIPS 2025 accepted papers

https://gptzero.me/news/neurips/
843•segmenta•19h ago•442 comments

Replacing Protobuf with Rust to go 5 times faster

https://pgdog.dev/blog/replace-protobuf-with-rust
20•whiteros_e•1h ago•10 comments

Capital One to acquire Brex for $5.15B

https://www.reuters.com/legal/transactional/capital-one-buy-fintech-firm-brex-515-billion-deal-20...
302•personjerry•13h ago•232 comments

Why does SSH send 100 packets per keystroke?

https://eieio.games/blog/ssh-sends-100-packets-per-keystroke/
479•eieio•15h ago•266 comments

I was banned from Claude for scaffolding a Claude.md file?

https://hugodaniel.com/posts/claude-code-banned-me/
547•hugodan•15h ago•462 comments

TI-99/4A: Leaning More on the Firmware

https://bumbershootsoft.wordpress.com/2026/01/17/ti-99-4a-leaning-more-heavily-on-the-firmware/
35•ibobev•4d ago•16 comments

Ghostty's AI Policy

https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md
5•mefengl•45m ago•1 comments

Qwen3-TTS family is now open sourced: Voice design, clone, and generation

https://qwen.ai/blog?id=qwen3tts-0115
603•Palmik•20h ago•188 comments

Scaling PostgreSQL to power 800M ChatGPT users

https://openai.com/index/scaling-postgresql/
191•mustaphah•13h ago•84 comments

Douglas Adams on the English–American cultural divide over "heroes"

https://shreevatsa.net/post/douglas-adams-cultural-divide/
450•speckx•20h ago•441 comments

Bugs Apple Loves

https://www.bugsappleloves.com
645•nhod•8h ago•281 comments

A gaming success story: how Warhammer became one of Britain's biggest companies

https://www.theguardian.com/lifeandstyle/2026/jan/18/a-gaming-success-story-how-warhammer-became-...
34•GeoAtreides•4d ago•35 comments

Your app subscription is now my weekend project

https://rselbach.com/your-sub-is-now-my-weekend-project
358•robteix•4d ago•263 comments

Improving the usability of C libraries in Swift

https://www.swift.org/blog/improving-usability-of-c-libraries-in-swift/
116•timsneath•11h ago•10 comments

Project Mercury and the Sofar Bomb

https://www.thequantumcat.space/p/project-mercury-and-the-sofar-bomb
9•verzali•4d ago•0 comments

Why medieval city-builder video games are historically inaccurate (2020)

https://www.leidenmedievalistsblog.nl/articles/why-medieval-city-builder-video-games-are-historic...
142•benbreen•10h ago•88 comments

Writing First, Tooling Second

https://susam.net/writing-first-tooling-second.html
34•blenderob•4d ago•4 comments

Show HN: Txt2plotter – True centerline vectors from Flux.2 for pen plotters

https://github.com/malvarezcastillo/txt2plotter
19•tsanummy•3d ago•5 comments

Turso is an in-process SQL database, compatible with SQLite

https://github.com/tursodatabase/turso
119•marklit•3d ago•72 comments

Stunnel

https://www.stunnel.org/
77•firesteelrain•10h ago•27 comments

'Askers' vs. 'Guessers' (2010)

https://www.theatlantic.com/national/2010/05/askers-vs-guessers/340891/
149•BoorishBears•22h ago•99 comments

CSS Optical Illusions

https://alvaromontoro.com/blog/68091/css-optical-illusions
186•ulrischa•16h ago•16 comments

Why are there so many CPU bugs nowadays

https://mas.to/@gabrielesvelto/115939583202357863
17•riffraff•1h ago•4 comments

Launch HN: Constellation Space (YC W26) – AI for satellite mission assurance

40•kmajid•17h ago•15 comments

Show HN: Text-to-video model from scratch (2 brothers, 2 years, 2B params)

https://huggingface.co/collections/Linum-AI/linum-v2-2b-text-to-video
84•schopra909•18h ago•15 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

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

Comments

yxhuvud•8mo ago
Eww, pretending to support utf8 matchers while not supporting them at all was not pretty to see.
gitroom•8mo ago
Honestly that part bugs me, fake support is worse than no support imo
kayodelycaon•8mo 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•8mo 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•8mo 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•8mo 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.