frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Switzerland. Block by block. At 1:1 scale

https://blocks.manifold3d.ch/
140•theanonymousone•2h ago•53 comments

Show HN: TitleArt – Make text like it's 1997

https://titleart.dvy.io/
255•davidbarker•7h ago•39 comments

PaperPilot – Zero-Cloud, Pure-Rust PDF Engine with WASM and MCP

https://github.com/KrushnaVardhanReddy/PaperPilot
151•vardhan1237•7h ago•44 comments

Birdwatching rewires the brain and slows cognitive decline

https://www.bbc.com/future/article/20261019-birdwatching-rewires-the-brain-and-slows-cognitive-de...
43•cisc•2d ago•23 comments

Behind the scenes at the NeXT Computer office

https://exhibits.stanford.edu/menuez/browse/next-computer-inc?per_page=96&sort=pub_year_isi+asc%2...
131•Austin_Conlon•7h ago•64 comments

Dolly Parton's Imagination Library

https://imaginationlibrary.com/
558•jumploops•16h ago•95 comments

Growing Trees

https://brashandplucky.com/2026/10/15/growing-trees.html
74•ibobev•2d ago•9 comments

Show HN: A Truly Modular Keyboard

https://github.com/notaroomba/keybytes
173•NotARoomba•1d ago•57 comments

Overgrown, when plants invade your abandoned tabs

https://charliegerard.dev/blog/overgrown-extension/
291•speckx•3d ago•100 comments

Superhuman Hardware Design Is the Easy Part

https://www.a16z.news/p/superhuman-hardware-design-is-the
23•gmays•2d ago•8 comments

Attention Is Not What You Need (2025)

https://arxiv.org/abs/2512.19428
123•westurner•11h ago•40 comments

Iron Age salt-mining complex found beneath Hallstatt in Austria

https://archaeologymag.com/2026/09/iron-age-salt-mining-complex-beneath-hallstatt/
83•janandonly•3d ago•25 comments

IBM CEO says open weight models are now good and cheap on-prem

https://www.theregister.com/systems/2026/10/22/ibm-ceo-says-open-weight-models-are-now-irresistib...
273•Betelbuddy•9h ago•164 comments

Why I Am a Programmer

https://www.alfie.wtf/programming/why-i-am-a-programmer.html
239•jruohonen•15h ago•75 comments

Steal My Bitcoin CTF PoC

https://github.com/KillaBoi/StealMyBitcoin-PoC
122•davikr•10h ago•29 comments

Microsoft Decision-1: 9B Qwen Model Launch Explained

https://shattered.io/microsoft-decision-1-qwen3-5-9b-model-2026/
65•gmays•7h ago•24 comments

F-Zero X on Nintendo 3DS

https://hypnotize.works/gdx-3ds/postmortem/index.html
124•bpierre•11h ago•62 comments

The State of Context Engineering

https://www.dbreunig.com/2026/10/24/the-state-of-context-engineering.html
189•pchristensen•14h ago•43 comments

We should be more ambitious with the software we build

https://danluu.com/ambitious/
810•ltratt•1d ago•720 comments

Two Million Hornets

https://dark-mountain.net/two-million-hornets/
4•promulgate•2d ago•1 comments

Amazon’s “digital pacifier” for toddlers

https://oligarchwatch.substack.com/p/amazons-digital-pacifier-for-toddlers
201•jumploops•4d ago•290 comments

Show HN: ADRs for AI – Deliberation records for human–AI work, versioned in Git

https://adrs.systems
44•lumbroso•1d ago•26 comments

A 10-year-old CNN outperforms frontier LLMs for skin cancer diagnosis

https://lynchlab.net/llm-skin-cancer
568•sungam•17h ago•244 comments

OpenAI and Anthropic cut their LLM prices by up to 80% within a few months. Why?

https://minimaxir.com/2026/10/cheap-llms/
327•minimaxir•13h ago•319 comments

Removing Next.js Got My Blog to 100 on Every Lighthouse Category

https://korindiehacker.bloffy.blog/en/removing-nextjs-got-my-blog-to-100-on-every-lighthouse-cate...
142•textlanes33•9h ago•82 comments

Making the Buddha Head from Merv Whole Again

https://www.getty.edu/news/buddha-head-of-merv-turkmenistan-conservation/
51•laybak•2d ago•0 comments

Where the Romans Fought (interactive map)

https://iosiflazaridis.github.io/battles-of-the-romans/
104•endorphine•16h ago•38 comments

Active incident at Dreamhost forcing password reset

https://www.dreamhoststatus.com/
154•greenchair•21h ago•60 comments

What goes into making an animated film?

https://www.disneyanimation.com/process/
147•embedding-shape•14h ago•65 comments

I refuse to accept a censored Internet. Join Me at FOSDEM 27

https://talkweb.eu/openweb/4558/
483•Tomte•17h ago•232 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.