frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

We've created the first vectorized Quicksort

https://opensource.googleblog.com/2022/06/Vectorized%20and%20performance%20portable%20Quicksort.html
75•mococa•44m ago•9 comments

Small Programming Tricks

https://will-keleher.com/posts/small-programming-tricks-matter/
195•signa11•3h ago•116 comments

Show HN: Friday – Self-hosted persistent memory for AI coding agents (MCP)

https://github.com/itskie/friday
5•itskie•20m ago•0 comments

Dream-RSI: Recursive Self-Improvement through Evolving Worlds

https://arxiv.org/abs/2609.14858
134•bananaflag•5h ago•41 comments

Accurate Models of AMD Matrix Cores

https://arxiv.org/abs/2609.14845
4•matt_d•19m ago•0 comments

Mistral X Mozilla: Private, Multilingual AI Browsing

https://mistral.ai/news/mistral-x-mozilla/
445•vertigoruntime•11h ago•161 comments

Tell the speakers that you liked their talks

https://ohhelloana.blog/tell-the-speakers/
187•whisper2020•1d ago•50 comments

Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations

https://github.com/arnegiacomo/fugleramme
1922•arnemunthekaas•1d ago•226 comments

The Siberian Ice Maiden and the Scythian World

https://patrickwyman.substack.com/p/the-siberian-ice-maiden-and-the-scythian
20•NaOH•1d ago•0 comments

GitHub Is Having Trouble Counting Things

https://chuckgreenman.com/2026/09/16/counting-at-github
15•chuckgreenman•1h ago•8 comments

How big are factorials?

https://eli.thegreenplace.net/2026/how-big-are-factorials/
55•ibobev•1d ago•17 comments

Learning Programming in an Age of LLMs

https://blog.ploeh.dk/2026/09/16/on-learning-programming-in-an-age-of-llms/
192•moneroloop2018•10h ago•142 comments

Claude Cowork and chat are now one Claude

https://claude.com/blog/cowork-is-now-claude
119•vertigoruntime•2h ago•147 comments

Hackers Got Inside a Flock Camera

https://www.wired.com/story/hackers-flock-camera-data-shows-how-system-works/
354•driverdan•5h ago•171 comments

The DeepMind Institute

https://institute.deepmind.com/
62•vertigoruntime•4h ago•19 comments

The Google Play app review process now regularly takes longer than a week

https://gultsch.social/@daniel/117280438824908947
300•inputmice•7h ago•287 comments

Can we stop with the uptime percentages?

https://blog.jim-nielsen.com/2026/stop-with-the-uptime-percentage/
99•surprisetalk•3h ago•75 comments

145 Days of Uptime, 56 TiB of Traffic, One Debian Upgrade

https://sarah-robin.com/blog/debian-12-13
3•sarah-robiin•2d ago•0 comments

Kyber (YC W23) Is Hiring a Forward Deployed Engineer

https://www.ycombinator.com/companies/kyber/jobs/eturrAR-forward-deployed-engineer
1•asontha•7h ago

Show HN: How Stale Is Your AI? Release age and training cutoff for 20 models

https://stale.jock.pl/
54•joozio•6h ago•38 comments

Salesforce Global Outage

https://status.salesforce.com/products/all
243•mabil•8h ago•147 comments

ER visits for gambling disorders doubled after expanded online gambling market

https://temertymedicine.utoronto.ca/news/emergency-room-visits-gambling-disorders-nearly-doubled-...
71•geox•1h ago•60 comments

Anatomy of a Texture

https://agentlien.github.io/texture/
39•Agentlien•4h ago•9 comments

This Code Is CRAP (2011)

https://testing.googleblog.com/2011/02/this-code-is-crap.html
64•luispa•3h ago•40 comments

A warning about 'model welfare'

https://mustafa-suleyman.ai/a-warning-about-model-welfare
111•andsoitis•4h ago•269 comments

Fed hikes rates as inflation worries push up bond yields

https://www.reuters.com/live/live-fed-rate-hike-expected-inflation-worries-push-up-bond-yields-20...
7•wslh•20m ago•0 comments

Original Sony PlayStation 2 security chip 'broken wide open' after 26 years

https://www.tomshardware.com/video-games/playstation/26-year-old-sony-ps2-security-chip-broken-wi...
229•rbanffy•7h ago•63 comments

Scaling Golang CI by Replacing actions/setup-go

https://www.cloudx.ai/posts/setup-go
57•peterldowns•6h ago•16 comments

Show HN: I made a flight simulator, except you're just a passenger

https://inflightsimulator.com
375•rkotcher•2d ago•194 comments

Introducing System One Models and Jev

https://typesafe.ai/blog/introducing-system-one-models-and-jev
1756•albelfio•23h ago•468 comments
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.