frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

France to ban unsolicited telemarketing calls

https://www.lemonde.fr/en/france/article/2026/08/06/france-to-ban-unsolicited-telemarketing-calls...
194•aziaziazi•2h ago•125 comments

H3-metal – Native MiniMax-H3 inference for Apple Silicon

https://github.com/antirez/h3.c
290•swyx•9h ago•60 comments

As AI eats the web, the internet’s collective memory is disappearing

https://thewalrus.ca/google-search-is-dying/
328•awnird•12h ago•335 comments

To Save C, We Must Save ABI

https://thephd.dev/to-save-c-we-must-save-abi-fixing-c-function-abi
54•gurjeet•3d ago•30 comments

Chicken Scheme 6.0

https://code.call-cc.org/releases/6.0.0/NEWS
197•eatonphil•10h ago•24 comments

London Underground begins scanning passengers' faces

https://www.btp.police.uk/news/btp/news/england/btp-expands-live-facial-recognition-lfr-trial-int...
56•BlueBerry2001•1h ago•42 comments

LFM2.5 2.6B model competitive with 4x larger models

https://huggingface.co/LiquidAI/LFM2.5-2.6B
85•nateb2022•6d ago•18 comments

Show HN: Needle2: 14MB agentic LLM for phones, wearables, smart home and robots

https://cactuscompute.com/needle
350•HenryNdubuaku•17h ago•134 comments

Show HN: Scroll through all 43252003274489856000 Rubik's Cube states

https://everycube.alen.is/
198•Alen123•11h ago•66 comments

Show HN: Mcptoon – Token-efficient MCP CLI client

https://github.com/activeing123/mcptoon
49•mcptokensaver•5h ago•37 comments

Mark Zuckerberg attacks 'closed' AI rivals as Meta returns to open models

https://www.ft.com/content/4e3957f8-ea7c-4c46-a3de-cdce8e526878
515•root-parent•20h ago•475 comments

About Rx Kids

https://rxkids.org/about/
24•mooreds•4d ago•11 comments

The Water Footprint of AI

https://doi.org/10.1016/j.watres.2026.125866
25•MASNeo•3h ago•15 comments

The “mechanical miracle” that ruined Mark Twain’s life

https://resobscura.substack.com/p/the-mechanical-miracle-that-ruined
143•benbreen•5d ago•73 comments

Recycle – Floppydisks

https://www.floppydisk.com/recycle
63•calvinmorrison•8h ago•28 comments

Stowaway – Take the window seat on any plane or satellite overhead

https://stowaway.live/
277•thunderbong•3d ago•34 comments

Faster floating point math with Rust's new API

https://pythonspeed.com/articles/faster-float-math-rust/
45•subset•4d ago•3 comments

Sonic Pi v5

https://www.patreon.com/samaaron/posts/sonic-pi-v5-166001392
381•samaaron•4d ago•91 comments

Programming the Gigatron

https://www.iwriteiam.nl/PGigatron.html
6•shakna•4d ago•0 comments

The UK's war on anonymity has come to America

https://www.effort.news/uk-lobby
510•slowin•11h ago•453 comments

Closing Canario Terminal source code

https://rapha.land/closing-canario-terminal-source-code/
5•atan2•2h ago•1 comments

How Claude marks AI-generated content

https://support.claude.com/en/articles/16266773-how-claude-marks-ai-generated-content
190•mfiguiere•13h ago•151 comments

Rust SIMD on the GPU

https://www.vectorware.com/blog/simd-on-gpu/
188•sagacity•16h ago•92 comments

What's the best programming language for coding agents?

http://danluu.com/pl-tokens/
188•chaychoong•18h ago•123 comments

Muse Glimmer: 30B-parameter model optimized for always-on local agent workflows

https://research.meta.ai/blog/introducing-muse-glimmer-open-agentic-model
1121•riordan•1d ago•609 comments

Squeak 6.1

https://squeak.org/release_notes/6.1/
268•fniephaus•22h ago•131 comments

Publishing Schematics Before “Open Source” Was a Word

https://fabscene.medium.com/publishing-schematics-before-open-source-was-a-word-55-years-of-akizu...
92•extralongdivisi•3d ago•19 comments

Confessions of a Long-Distance Sailor

https://arachnoid.com/lutusp/sailbook.html
120•AntiRush•13h ago•34 comments

Tail-call optimization in C is relatively recent (2025)

https://lwn.net/Articles/1034703/
152•prakashqwerty•23h ago•135 comments

Learning more about Claude's mathematical capabilities

https://www.anthropic.com/research/riemann-zeta
211•tosh•17h ago•141 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.