frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How to make almost anything

https://pub.cba.mit.edu/863.26/site/
326•o4c•5h ago•59 comments

Universal XSS in uBlock Origin from website-driven element picker

https://iter.ca/post/ubo-uxss/
394•zaik•8h ago•111 comments

Researchers track whole body movement with just a smartwatch

https://news.cornell.edu/stories/2026/11/researchers-track-whole-body-movement-just-smartwatch
50•PaulHoule•2d ago•7 comments

Qwen4-Max

https://qwen.ai/blog?id=qwen4-max
553•ilreb•8h ago•232 comments

Old Bitly links are being hijacked

https://ransomnews.com/burger-king-tweet-bitly-link-hijack-2026/
298•hspeiser•12h ago•156 comments

What's Next for Nvidia?

https://steveblank.com/2026/11/15/whats-next-for-nvidia/
276•zdw•11h ago•353 comments

Tor Project Issues Rapid-Response DoS-Defense Fix Amid Sustained DDoS Attack

https://forum.torproject.org/t/security-release-0-4-9-17/22454
162•aillia•10h ago•46 comments

Protomaps: Self-hosting map tiles has gotten cheap and easy

https://bruceroettgers.eu/blog/protomaps/
353•bcye•15h ago•58 comments

“…and the proof is checked in Lean”

https://xenaproject.wordpress.com/2026/11/12/and-the-proof-is-checked-in-lean/
28•matt_d•3h ago•5 comments

Preserving 30 years of Salon journalism

https://blog.archive.org/2026/11/12/preserving-30-years-of-salon-journalism/
156•CharlesW•12h ago•39 comments

Exact Gradients Through a BRep Kernel

https://muni.works/research/vcad
3•ecto•2d ago•0 comments

I Can't Believe It Can Sort

https://yugen-tsuki.github.io/unbelievablesort.html
16•Muhammad523•2d ago•26 comments

The Lasting Influence of John Berger

https://www.newyorker.com/magazine/2026/11/16/john-berger-a-life-tom-overton-book-review
25•prismatic•4d ago•0 comments

A short explainer on how El Niño works [video]

https://www.youtube.com/watch?v=7_JF3etiAv8
245•nharada•16h ago•115 comments

Handwriting, as a Font

https://ductus.sorenblank.com
311•coinfused•15h ago•58 comments

Do we still have to denormalize? Have your schema and search it too

https://www.paradedb.com/blog/joins
77•philippemnoel•2d ago•21 comments

Crows make decisions faster than we can

https://www.nytimes.com/2026/11/15/science/birdbrain-crows-birds-research-decision.html
245•gumby•17h ago•166 comments

Simple 8085 Computer

https://www.hackster.io/mit41301/simple-8085-computer-9fe156
45•AlexeyBrin•3d ago•3 comments

WebGL Flight Simulator with seed generated terrain

https://baron.by.dai.studio/
161•ranger_danger•14h ago•32 comments

Making Atuin sync 32x faster with packfiles

https://blog.atuin.sh/making-atuin-sync-32x-faster-with-packfiles/
14•ossusermivami•4d ago•5 comments

Artificial Intelligence for the Z80

https://www.dfsantos.com/en/libro-ia-z80
49•AlexeyBrin•2d ago•7 comments

Did the Apollo Guidance Computer use 60% of the ICs in 1963?

https://retrocomputing.stackexchange.com/questions/12158/did-the-apollo-guidance-computer-really-...
18•Skyfall106•5h ago•1 comments

Mini.nvim Is Now on Tangled

https://tangled.org/nvim-mini.org/mini.nvim
72•nerdypepper•11h ago•21 comments

A quest to create the perfect whiskey glass

https://www.nytimes.com/2026/11/13/dining/drinks/kurt-josef-zalto-whiskey-glass.html
66•Kaibeezy•2d ago•69 comments

Debian Becomes Unresponsive after 6.1.0-55 Kernel Update

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154101
103•artooro•6h ago•36 comments

Skydio's asymmetrical F10 Lightrunner solves a problem with fixed-wing drones

https://spectrum.ieee.org/skydio-f10-lightrunner-asymmetrical-drone
42•Gaishan•10h ago•6 comments

Microsoft 365 outage leads to chlorine gas poisoning of 15 hotel guests

https://www1.wdr.de/nrw/rheinland/rhein-erft-kreis/technischer-defekt-chlor-phantasialand-100.html
558•DeepLogin•16h ago•241 comments

Emacs Is My Browser

https://joshblais.com/blog/emacs-as-my-browser/
216•nyc111•19h ago•122 comments

SpaceX catches the Starship to end Flight 15

https://www.spacex.com/launches/starship-flight-15
1702•ls612•1d ago•1277 comments

Parcel: A desktop mail client for Linux, built with Zig

https://tangled.org/rockorager.dev/parcel
46•nerdypepper•11h ago•9 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.