frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

QGIS bans AI assisted contributions

https://github.com/qgis/QGIS-Enhancement-Proposals/pull/387
100•bwnkl•1h ago•81 comments

Deloitte falsified documents to evade tax on Abramovich's wealth

https://www.bbc.com/news/articles/c64g1l5389kvo
281•Betelbuddy•2h ago•76 comments

The Making Of Super Mario 64 – full Giles Goddard interview (2001)

https://pixelatron.com/blog/the-making-of-super-mario-64-full-giles-goddard-interview-ngc/
23•gregsadetsky•1d ago•2 comments

Secret of Orange Cats Revealed After 60-Year Search

https://www.sciencealert.com/secret-of-orange-cats-finally-revealed-after-60-year-search
43•bookofjoe•1d ago•11 comments

Type-safe HTML templating in Zig

https://lalinsky.com/2026/10/11/type-safe-html-templating-in-zig.html
146•lukaslalinsky•7h ago•61 comments

Fingerprints are the new cookies

https://royfish.dev/fingerprints-are-the-new-cookies
458•royfish•14h ago•231 comments

Show HN: PS2 games statically recompiled to WebAssembly

https://github.com/snuri00/ps2-web-recomp
79•deadxwarrior•5h ago•34 comments

Hackers activate automatic defrosting accross European supermarket fridges

https://www.tomshardware.com/tech-industry/cyber-security/unprecedented-cyberattack-cripples-supe...
23•Zeekaas•19m ago•8 comments

Total Annihilation, rebuilt for modern computers

https://nanolathe.gg
556•jttnr•18h ago•214 comments

Calculus with Julia

https://jverzani.github.io/CalculusWithJuliaNotes.jl/
160•subset•1d ago•17 comments

Running the unmodified Linux amdgpu driver on an iPad

https://github.com/Geramy/LemonSeed-Studio
44•joshcsimmons•1d ago•16 comments

Cartographers of North Korea (2019)

https://cartographers-nk.wonyoung.so/
278•edent•16h ago•55 comments

Terence Tao: Math 2.0 [pdf]

https://teorth.github.io/tao-web/slides/math-2-0-caltech-2026.pdf
430•Anon84•23h ago•446 comments

Whatever became of holography? (2011)

https://www.americanscientist.org/article/whatever-became-of-holography
145•cainxinth•12h ago•73 comments

Doory – Open-Source Canva

https://github.com/shaongitbd/doory
141•acley•11h ago•53 comments

Research Firm Calls Anthropic's IPO 'Unprecedented Test of Investor Gullibity'

https://www.cnbc.com/2026/10/07/anthropic-will-be-most-ridiculous-ipo-of-year-analyst-says.html
139•m463•7h ago•94 comments

The gap in shared understanding of LLM capability is widening

https://twitter.com/karpathy/status/2109361546505966046
513•albertzeyer•16h ago•751 comments

Postgres isn't slow, your storage is

https://clickhouse.com/blog/posette-talk-recap-postgres-isnt-slow-your-storage-is
125•saisrirampur•5h ago•123 comments

Citroen revives the 2CV for an electric age

https://www.bbc.co.uk/news/articles/c620r33plgppo
7•scrlk•27m ago•5 comments

Bag of Decisions Reranker

https://softwaredoug.com/blog/2026/10/08/bag-of-decisions.html
9•zdw•1d ago•0 comments

Passkeys are a trap

https://nonfunctional.substack.com/p/passkeys-are-a-trap-do-not-use-them
725•laurex•14h ago•414 comments

Illustration Beyond Proof

https://terrytao.wordpress.com/2026/10/11/illustration-beyond-proof/
75•smilelamp•13h ago•12 comments

Zod 4.6.6 compromised by malware?

https://github.com/colinhacks/zod/commit/d821685ea6732436fcdf786a81d076958471e467
153•luggage_bazooka•4h ago•41 comments

Local Indexing to reduce tool calling and token usage

https://tedhaley.ca/pensieve/
87•TedHaley•12h ago•26 comments

Will Linux phones become a viable alternative to the Android/iOS duopoly?

https://amosbbatto.wordpress.com/2026/10/05/linux-phones-alternative/
193•amosbatto•7h ago•212 comments

Ask HN: Do you want a router that has DD-WRT pre-installed?

72•Ixander•1d ago•70 comments

Chapter 1 of "Ways of Seeing" by John Berger (1972)

https://www.ways-of-seeing.com/ch1
118•rafael859•18h ago•26 comments

Programmable pigments: Photochromic nanoparticle inks for rewritable tattoos

https://www.cell.com/matter-light/fulltext/S3117-5848(26)00119-5
63•Bluestein•1d ago•40 comments

NYC's "Click to Cancel" rule is now in effect

https://www.nyc.gov/main/click-to-cancel
510•gregsadetsky•18h ago•248 comments

So, you’d like to sell your print issues of The Onion?

https://theonion.com/archivehunt/
344•mooreds•16h ago•51 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.