frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

OBS Studio 33

https://github.com/obsproject/obs-studio/releases/tag/33.0.0
113•pentagrama•4h ago•30 comments

Kimi K3.1 Pro and K3.1 Pro Highspeed

https://www.kimi.ai/blog/kimi-k3-1-pro
896•Jowsey•15h ago•529 comments

Twelve years of distributed SQLite

https://philipotoole.com/twelve-years-of-distributed-sqlite/
185•otoolep•7h ago•23 comments

Today, we hacked what we'd set out to hack: the iPhone

https://blog.calif.io/p/iphone
866•pavel_lishin•16h ago•562 comments

How close can pure functional programming get to C?

https://rtfeldman.com/fp-vs-c
105•stmonty•5h ago•10 comments

Physicists trap a single antimatter particle for a month

https://www.scientificamerican.com/article/physicists-trap-a-single-antimatter-particle-for-a-month/
14•mooreds•2d ago•6 comments

Apple Music 404 Not Found

https://music.apple.com/this-url-doesnt-exist
746•frizlab•20h ago•230 comments

Local Wikipedia: Wikipedia, but only for things a half hour walk from you

https://edjefferson.com/localwiki/
1371•sohkamyung•1d ago•233 comments

A practical guide to AI image generation, from diffusion to agents

https://danielball.com/notes/ai_image_generation.html
81•westsmith•3d ago•21 comments

Bringing uv and ty together

https://astral.sh/blog/uv-ty-integration
144•Ravencentric•3d ago•31 comments

Dessa: Conversation Model trained only on speech

https://block.xyz/dessa
378•dsr12•13h ago•136 comments

Apple Security Research Device

https://security.apple.com/research-device/
51•neom•6h ago•14 comments

The Best Monopoly Strategy, Tested on 300M Games [video]

https://www.youtube.com/watch?v=S_2eVAaw1UM
22•zdw•3d ago•12 comments

CVE Tracker

https://cve.0xosprey.com/
167•Group_B•11h ago•61 comments

Canadians are running out of time to oppose Bill C-22

https://www.eff.org/deeplinks/2026/10/canadians-are-running-out-time-oppose-dangerous-c-22-survei...
409•hn_acker•1d ago•215 comments

Hacker reverses Samsung TV, finds on-board AI listening OpenAI account suspended

https://www.reddit.com/r/antiai/comments/1xdv3e5/hacker_reverse_engineers_his_samsung_tv_and_finds/
87•testing22321•3h ago•15 comments

How to run a city builder on 16 MHz

https://larstofus.com/2025/11/16/how-to-run-a-city-builder-on-12-5-mhz/
3•rex64•1d ago•0 comments

The Real Kevin Bacon

https://pudding.cool/2026/10/kevin-bacon/
300•xnx•3d ago•77 comments

The Quake Fan who built the map editor everybody uses

https://funcarena.com/articles/the-quake-fan-who-built-the-map-editor-everybody-uses
107•klaussilveira•1d ago•8 comments

One Man's Pan Am 747 Replica [video]

https://www.youtube.com/watch?v=vAFwHGGfPz4
33•Teever•11h ago•2 comments

Around a dozen banking apps began specifically permitting GrapheneOS

https://grapheneos.social/@GrapheneOS/117492375462459244
35•privacyishuman•7h ago•2 comments

How Block Blast harvests its players for ad money

https://ayoships.com/breakdowns/block-blast
44•motionlessveloc•6h ago•10 comments

C vs. C#: racing VLC's Gaussian blur

https://martinfinkel.com/blog/gaussian-blur-c-vs-csharp/
70•martz•3d ago•17 comments

Air Purifiers as White Noise Machines

https://www.jefftk.com/p/air-purifiers-as-white-noise-machines
126•luu•15h ago•114 comments

A Cocktail Party in the Street: An Interview with Alan Stillman (2010)

https://www.ediblegeography.com/a-cocktail-party-in-the-street-an-interview-with-alan-stillman/
5•NaOH•2d ago•0 comments

Show HN: Corgi, a helpful {agent, terminal} multiplexer

https://corgi.computer/
79•eiopa•13h ago•21 comments

The past, present, and future share a show floor at Pinball Expo 2026

https://arstechnica.com/gaming/2026/10/the-past-present-and-future-share-a-show-floor-at-pinball-...
31•civicpivot•2d ago•6 comments

UUIDv7: Timestamps aren’t time-ordered and other oddities

https://alexsci.com/blog/uuidv7-is-weird/
144•ibobev•16h ago•117 comments

Rise of collagen-eating microbes may help explain gaps in the fossil record

https://www.cam.ac.uk/research/news/rise-of-collagen-eating-microbes-may-help-explain-gaps-in-the...
41•gmays•3d ago•1 comments

How is music possible

https://www.henrikkarlsson.xyz/p/music
130•rafaelc•16h ago•79 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.