frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Genie 4

https://deepmind.google/blog/genie-4-a-new-generation-of-world-simulation/
717•acossta•9h ago•427 comments

Ghostty 1.4

https://ghostty.org/docs/install/release-notes/1-4-0
738•deaux•8h ago•225 comments

Tailscale SSH: Investigation and remediation update

https://tailscale.com/ssh-investigation-update
179•figmert•5h ago•101 comments

Early progress on accelerating drug development with Claude

https://www.anthropic.com/research/early-progress-drug-development
113•dataking•4h ago•98 comments

Survival LLM: AI assistant and emergency library that runs on your own computer

https://www.brangus.io/survival-llm
170•Luc•5h ago•96 comments

Raspberry Pi Zero 3W and Pi 4 Model A spotted in device trees

https://bret.dk/raspberry-pi-zero-3-w-pi-4-model-a/
90•sthlmb•4h ago•33 comments

81 Jokes for the ZX81

https://spelk.press/gb/products/81-jokes-for-the-zx81
23•robin_reala•1d ago•1 comments

New 14‑inch MacBook Pro with M6

https://www.apple.com/in/newsroom/2026/10/apple-introduces-the-new-14-inch-macbook-pro-with-m6/
279•beex•9h ago•337 comments

An examination of lost firefly species of the US and Canada

https://journaloflostspecies.org/index.php/jls/article/view/37/33
84•bryanrasmussen•3d ago•14 comments

Four Months of Zig

https://gracefulliberty.com/articles/four-months-of-zig/
71•ibobev•4h ago•40 comments

Ink droplets in motion snag top prize in Nikon Small World contest

https://arstechnica.com/science/2026/10/meet-the-2026-winner-of-nikons-small-world-photomicrograp...
17•_Microft•2d ago•2 comments

Python's experimental JIT to be removed

https://lwn.net/SubscriberLink/1102102/0c00e4d550f25f8c/
443•f311a•13h ago•233 comments

Reviewers rarely talk about reliability. Owners bring it up twice as often

https://www.bettascore.ai/research/reliability-reviewers-vs-owners
44•tsxng•2h ago•48 comments

SS United States to be sunk as largest artificial reef

https://divemagazine.com/scuba-diving-news/ss-united-states-to-be-sunk-as-worlds-largest-artifici...
71•geox•1d ago•48 comments

Wikipedia's Cleanup of AI-Generated Content

https://spectrum.ieee.org/wikipedia-wikiproject-ai-writing-cleanup
446•rbanffy•14h ago•203 comments

New iMac with M6

https://www.apple.com/imac/
306•notfried•12h ago•375 comments

Classification of Finite Simple Groups Formalized in Lean

https://cfsg.axiommath.ai/
166•pfdietz•8h ago•42 comments

Radio-tagged Monarch butterflies

https://news.vt.edu/articles/2026/10/cmi-monarchs.html
25•rdmuser•7h ago•8 comments

Hex Raises $100M

https://hex.tech/blog/hex-new-era/
47•tomwphillips•4h ago•24 comments

Introducing LFM3: Every Modality for Specialized Intelligence

https://www.liquid.ai/blog/lfm3
118•Philpax•8h ago•48 comments

US Government is hiding a secret court ruling about how it spies on Americans

https://www.wired.com/story/the-us-government-is-hiding-a-secret-court-ruling-about-how-it-spies-...
773•helterskelter2•11h ago•277 comments

Why Micron Is Suddenly Ditching 4F² DRAM as Rivals Double Down

https://hothardware.com/news/why-micron-is-suddenly-ditching-4f-dram
137•rbanffy•1d ago•22 comments

Nvidia and Micron Make Up 34% of America's Earnings Boom

https://www.wsj.com/finance/stocks/the-earnings-boom-is-heavily-reliant-on-just-a-handful-of-stoc...
54•JumpCrisscross•2d ago•5 comments

Land Value Capture in Practice: Ethiopia's Urban Land Lease System

https://blog.landeconomics.org/p/land-value-capture-in-practice-reflections
42•surprisetalk•1d ago•7 comments

Three TLS Bugs in GoAhead

https://foxio.io/blog/choose-your-backend-three-tls-bugs-in-goahead
59•owenshen24•6h ago•13 comments

Expanding our partnership with GSA to bring Claude to all levels of government

https://www.anthropic.com/news/expanding-partnership-gsa
15•matthieu_bl•2h ago•10 comments

Moxnox 1.0: NT-Like, POSIX-Compatible OS Running Atop Btrfs

https://github.com/maharmstone/moxnox
5•SockThief•1h ago•1 comments

Discord will soon let anyone find public server messages through Google

https://discord.com/blog/making-content-from-discoverable-servers-easier-to-discover
234•DeepLogin•6h ago•131 comments

Amazon Is Gutting Its AI Division After Sustained Failure

https://futurism.com/artificial-intelligence/amazon-ai-division-failure-nova
246•dpflan•8h ago•158 comments

Anthropic trained Claude on illegally obtained Stanford professors' books

https://stanforddaily.com/2026/10/27/professors-books-pirated-to-train-claude/
456•car•9h ago•262 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.