frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Om Malik has died

https://om.co/2026/06/24/1966-2026/
869•minimaxir•12h ago•100 comments

Why current LLM costs are not sustainable

https://aditya.patadia.org/p/ai-and-cloud-costs
69•adityapatadia•1h ago•61 comments

We All Depend on Open Source. We Will Defend It Together

https://akrites.org/letter/
73•dhruv3006•3h ago•25 comments

An entire Herculaneum scroll has been read for the first time

https://scrollprize.org/firstscroll
1290•verditelabs•17h ago•269 comments

Libre Barcode Project

https://graphicore.github.io/librebarcode/
138•luu•6h ago•14 comments

What happened after 2k people tried to hack my AI assistant

https://www.fernandoi.cl/posts/hackmyclaw/
142•cuchoi•6h ago•51 comments

Framework's 10G Ethernet module exposes USB-C's complexity

https://www.jeffgeerling.com/blog/2026/framework-10g-ethernet-module-usb-c-complexity/
158•Alupis•8h ago•86 comments

The 'papers, please' era of the internet will decimate your privacy

https://expression.fire.org/p/the-papers-please-era-of-the-internet
694•bilsbie•11h ago•328 comments

The Garbage Collection Handbook: The Art of Automatic Memory Management (2nd Ed) (2023)

https://gchandbook.org/
135•teleforce•10h ago•21 comments

A game where you're an OS and have to manage processes, memory and I/O events

https://github.com/plbrault/youre-the-os
203•exploraz•2d ago•36 comments

Oxide computer 3D rack guided tour

https://explorer.oxide.computer/
365•darthcloud•3d ago•146 comments

IBM debuts sub-1 nanometer chip technology

https://newsroom.ibm.com/2026-06-25-ibm-debuts-worlds-first-sub-1-nanometer-chip-technology
316•porridgeraisin•17h ago•172 comments

Doing a masters while working in Spain

https://jan-herlyn.com/blog/doing-a-masters-while-working/
42•MHard•4d ago•19 comments

Un-0: Generating Images with Coupled Oscillators

https://unconv.ai/blog/introducing-un-0-generating-images-with-coupled-oscillators/
148•babelfish•12h ago•34 comments

Show HN: OpenKnowledge – open source AI-first alternative to Obsidian/Notion

https://github.com/inkeep/open-knowledge
271•engomez•17h ago•134 comments

Micron locks in historically high memory prices for five years

https://www.theregister.com/systems/2026/06/25/micron-locks-in-historically-high-memory-prices-fo...
44•fauigerzigerk•2h ago•39 comments

22-year-old Mozart's handwritten notebook unearthed in 'major discovery'

https://www.classicfm.com/composers/mozart/handwritten-notebook-discovered-major-paris/
43•thunderbong•5d ago•4 comments

My Steam Machine Is a 50ft HDMI Cable

https://blog.matthewbrunelle.com/my-steam-machine-is-a-50ft-hdmi-cable/
6•speckx•2d ago•1 comments

Apple to skip high-end M6 Mac chips in favor of AI-focused M7 line

https://www.bloomberg.com/news/articles/2026-06-25/apple-to-skip-high-end-m6-mac-chips-to-launch-...
254•scrlk•15h ago•240 comments

Show HN: Chess-Inspired Roguelike

https://princechazz.com
292•cowboy_henk•5d ago•97 comments

An oral history of Bank Python (2021)

https://calpaterson.com/bank-python.html
114•tosh•13h ago•36 comments

OS9Map

https://yllan.org/software/OS9Map/
226•LaSombra•18h ago•44 comments

The Doorman's Fallacy in action

https://rozumem.xyz/posts/17
111•rozumem•13h ago•151 comments

Apple raises prices of MacBooks, iPads

https://www.reuters.com/world/asia-pacific/apple-raises-prices-macbooks-ipads-memory-costs-skyroc...
715•virgildotcodes•20h ago•1028 comments

Zig's new bitCast semantics and LLVM back end improvements

https://ziglang.org/devlog/2026/#2026-06-25
237•kouosi•19h ago•120 comments

Hey Nico, you didn't vibe code your data room but stole it from Papermark

https://twitter.com/mfts0/status/2070080422482977095
328•mmunj•20h ago•135 comments

Parallel Parentheses Matching

https://williamdue.github.io/blog/parallel-parentheses-matching
85•Athas•13h ago•10 comments

The last Romans are still around

https://signoregalilei.com/2026/06/20/the-last-romans-are-still-around/
90•surprisetalk•3d ago•112 comments

Eyewitness at the Triangle (1911)

http://trianglefire.ilr.cornell.edu/index.html
22•NaOH•3d ago•1 comments

Record type inference for dummies

http://haskellforall.com/2026/06/record-type-inference-for-dummies
41•g0xA52A2A•2d ago•1 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.