frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A Kantian Critique of "Sorry" by Justin Bieber

https://decodingvibes.com/blog/a-kantian-critique-of-sorry-by-justin-bieber/
32•altmanaltman•48m ago•4 comments

Munder Difflin – Agent harness to run an office of your clones

https://munderdiffl.in/
119•simonpure•4h ago•33 comments

Z80–The 1970s Microprocessor Still Alive

https://www.computer.org/csdl/magazine/mi/2021/06/09623402/1yJTvlRLmhi
53•asdefghyk•4h ago•24 comments

Hook, hold, harvest and hide: Meta's alleged strategy laid out in first week

https://www.theguardian.com/technology/2026/aug/22/meta-trial-children-privacy
81•sbulaev•2h ago•11 comments

Rust Glancer: Rust LSP using 100x less RAM

https://rust-glancer.github.io/blog/hello-world/
319•matklad•18h ago•62 comments

The New MCP Roadmap

https://blog.modelcontextprotocol.io/posts/mcp-roadmap/
4•pentagrama•41m ago•1 comments

Canada suspends trade negotiations with USA and match tariffs dollar for dollar

https://www.pm.gc.ca/en/news/statements/2026/08/21/statement-prime-minister-carney-canada-us-trad...
498•backlit4034•3h ago•408 comments

A formal degree and algorithmic problem-solving is the answer. Always has been

https://zaksa.zip/blog/formal-education-is-the-answer/
7•zaksa•2h ago•3 comments

Felony Bench

https://www.felonybench.com/
768•colinprince•22h ago•300 comments

Kobo can run apps now

https://bandarlabs.github.io/Cobalt/
595•thepoet•21h ago•193 comments

Felony charges for citizen deleting phone data at US Border

https://www.nytimes.com/2026/08/21/us/politics/samuel-tunick-deleted-phone-felony.html
890•floathub•1d ago•1046 comments

I accidentally logged hundreds of thousands of phone calls to military bases

https://lina.sh/blog/hijacking-e164-arpa
596•gavide•1d ago•75 comments

There's no reason for software to be slow anymore

https://danluu.com/perf-opt/
524•Jach•13h ago•376 comments

Stop Making TUIs

https://sockpuppet.org/blog/2026/08/20/stop-making-tuis/
233•underdeserver•1d ago•317 comments

Kagi added a setting for removing paywalled links from search results

https://kagi.com/changelog#11296
1178•speckx•1d ago•371 comments

Zig’s io.threaded is neat

https://matklad.github.io/2026/08/06/neat-io-threaded.html
106•chilipepperhott•23h ago•61 comments

Three important steps in my maturation process

https://thomasdullien.github.io/posts/2026-08-21-three-important-steps-in-my-maturation-process/
179•tdullien•15h ago•81 comments

OTel isn’t going well

https://matduggan.com/otel-isnt-going-well-and-i-made-a-spreadsheet-about-it/
162•hn_acker•20h ago•65 comments

How Thailand Resisted Colonization

https://worksinprogress.co/issue/how-thailand-resisted-colonization/
65•karakoram•19h ago•15 comments

Scientists release biggest 2D map of the universe

https://newscenter.lbl.gov/2026/08/10/scientists-release-biggest-2d-map-of-the-universe/
223•NKosmatos•19h ago•60 comments

AI boosted homework scores, then exam scores dropped: study

https://www.economist.com/graphic-detail/2026/08/18/does-ai-stop-children-from-learning
335•dash2•3d ago•340 comments

Optimizing meshoptimizer to process billions of triangles in minutes (2025)

https://zeux.io/2025/09/30/billions-of-triangles-in-minutes/
53•corysama•20h ago•0 comments

Claudette: Make Claude stop talking like a BuzzFeed article

https://github.com/adnanakil/nobuzz/blob/main/README.md
313•aakil•23h ago•198 comments

Galactic Compass 2: now with new augmented reality mode

https://interconnected.org/home/2026/08/21/galactic
21•bobbiechen•20h ago•3 comments

I'm becoming AI-blind

https://cymerys.com/w/im-becoming-ai-blind
422•rcymerys•1d ago•427 comments

People of ACM – Russ Cox

https://www.acm.org/articles/people-of-acm/2026/russ-cox
147•signa11•5d ago•14 comments

Everyone says assembly is untyped—everyone is wrong

https://www.gingerbill.org/article/2026/08/20/designing-odins-inline-asm/
113•adamrezich•1d ago•49 comments

Early-life stress leaves a 'scar' inside brain cells in mice

https://medicine.washu.edu/news/how-early-life-stress-leaves-a-scar-inside-brain-cells/
106•gmays•1d ago•50 comments

New Worlds: We are living in the future of J.G. Ballard or William Gibson

https://precastreinforced.co.uk/2026/08/16/new-worlds/
262•speckx•1d ago•169 comments

Embedded AI

https://nostarch.com/embedded-ai
9•0x54MUR41•5h ago•0 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.