frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

IRCv3

https://ircv3.net/
20•basilikum•23m ago•0 comments

LineageOS 24.0

https://lineageos.org/Changelog-32/
111•timschumi•4h ago•26 comments

Build your own decision model

https://nishtahir.com/build-your-own-decision-model/
314•softwaredoug•11h ago•72 comments

2D Vehicles

https://patkerr.co.uk/2d-vehicles/
488•Michelangelo11•3d ago•102 comments

A city-building game in which the city would prefer you didn't

https://housing.over.pizza/
352•JumpCrisscross•14h ago•119 comments

The Lightbulb Computer

https://lightbulbcomputer.com/
431•oskarth•1d ago•66 comments

How big is a Git commit?

https://ratfactor.com/cards/git-commit-size
38•theanonymousone•2d ago•17 comments

European Alternatives

https://buy-european.net/en/alternatives
63•doener•8h ago•33 comments

Decade-old RAM is making a comeback

https://www.theverge.com/games/1009140/ram-shortage-intel-amd-ddr4-comeback
71•1potato•1d ago•58 comments

Retrofitting language models to operate over bytes

https://www.nature.com/articles/s41586-026-11111-4
68•theanonymousone•3d ago•7 comments

PSPi 6 – Raspberry Pi in a PSP

https://github.com/othermod/PSPi-Version-6
89•therepanic•9h ago•7 comments

Nix wrote half of my debugger

https://fzakaria.com/2026/10/07/nix-wrote-half-of-my-debugger
200•ingve•2d ago•47 comments

I wish you the best in the Offline

https://daverupert.com/2026/09/i-wish-you-the-best-in-the-offline/
43•birdculture•2h ago•21 comments

Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes

https://hangul.ink/blog/hangul-day
47•jbaudanza•2d ago•8 comments

Talorys – A self-hosted personal AI agent on Cloudflare's free tier

https://github.com/rociiu/talorys
296•rociiu•23h ago•134 comments

Knuth reward check

https://www.thomas-huehn.com/knuth-reward-check/
194•Curiositry•18h ago•70 comments

Five months treating bugs like patients and coding agents like a medical team

https://www.cockroachlabs.com/blog/experiment-running-hospital-code/
138•rafiss•1d ago•56 comments

Mxc: Microsoft Execution Containers version 1.0.0

https://blogs.windows.com/windowsdeveloper/2026/10/07/microsoft-execution-containers-policy-drive...
192•smokel•2d ago•51 comments

Deterministic Simulation Testing in Celld

https://celld.dev/docs/engineering/deterministic-simulation-testing/
24•handfuloflight•1d ago•1 comments

3rd Yandex Cloud Data Center Was Hit

https://status.yandex.cloud/en/incidents/2136
209•defly•3h ago•278 comments

The Marriage That Captures a High Point of American Art

https://www.theatlantic.com/culture/2026/10/jackson-pollock-lee-krasner-met-review/688916
7•prismatic•2d ago•1 comments

Cyril Hilsum invented the flat-screen displays that hold us in thrall

https://www.economist.com/obituary/2026/10/08/cyril-hilsum-invented-the-flat-screen-displays-that...
5•sohkamyung•1d ago•0 comments

Show HN: Diffle, a keyboard-centric diff viewer with LSP support

https://github.com/moritzwilksch/diffle
50•mwil1000•2d ago•7 comments

Unikernels were hard. key word: were

https://ghuntley.com/unikernels/
165•ghuntley•20h ago•81 comments

OpenSCAD the Programmers Solid 3D CAD Modeller

https://openscad.org/
149•b-man•4d ago•114 comments

Food processing influences metabolism and brain activity

https://news.vt.edu/articles/2026/10/research_fralinbiomed_upfhutelin.html
156•gmays•1d ago•123 comments

500B Tokens Later: Letting AI Agents Decompile a First-Person Shooter

https://momo5502.com/posts/2026-10-09-game-decompilation/
98•davikr•8h ago•74 comments

GameBoy on E-Paper ESP32 at 30FPS [video]

https://www.youtube.com/watch?v=XiZmM6hwwAU
97•pizzaiolo•7h ago•29 comments

C for Rust programmers

https://bd103.dev/blog/2026-10-07-c-for-rust-programmers/
153•xyproto•2d ago•160 comments

Getting old Macromedia Director Games to run on modern Hardware

https://werwolv.net/posts/macromedia_copy_protection/
79•speckx•1d 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•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.