frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I am building a cloud

https://crawshaw.io/blog/building-a-cloud
423•bumbledraven•6h ago•205 comments

Alberta startup sells no-tech tractors for half price

https://wheelfront.com/this-alberta-startup-sells-no-tech-tractors-for-half-price/
1820•Kaibeezy•18h ago•586 comments

Your hex editor should color-code bytes

https://simonomi.dev/blog/color-code-your-bytes/
125•tobr•2d ago•32 comments

Apple fixes bug that cops used to extract deleted chat messages from iPhones

https://techcrunch.com/2026/04/22/apple-fixes-bug-that-cops-used-to-extract-deleted-chat-messages...
623•cdrnsf•14h ago•154 comments

Fundamental Theorem of Calculus

https://david.alvarezrosa.com/posts/fundamental-theorem-of-calculus/
25•dalvrosa•10h ago•19 comments

Do you want the US to "win" AI?

https://geohot.github.io//blog/jekyll/update/2026/04/23/us-win-ai.html
16•mefengl•1h ago•16 comments

We found a stable Firefox identifier linking all your private Tor identities

https://fingerprint.com/blog/firefox-tor-indexeddb-privacy-vulnerability/
734•danpinto•17h ago•216 comments

Our newsroom AI policy

https://arstechnica.com/staff/2026/04/our-newsroom-ai-policy/
70•zdw•6h ago•47 comments

5x5 Pixel font for tiny screens

https://maurycyz.com/projects/mcufont/
652•zdw•3d ago•136 comments

Isopods of the world

https://isopod.site/
20•debesyla•2d ago•5 comments

A True Life Hack: What Physical 'Life Force' Turns Biology's Wheels?

https://www.quantamagazine.org/what-physical-life-force-turns-biologys-wheels-20260420/
91•Prof_Sigmund•2d ago•17 comments

Writing a C Compiler, in Zig

https://ar-ms.me/thoughts/c-compiler-1-zig/
5•tosh•1h ago•0 comments

Over-editing refers to a model modifying code beyond what is necessary

https://nrehiew.github.io/blog/minimal_editing/
372•pella•17h ago•210 comments

An amateur historian's favorite books about the Silk Road

https://bookdna.com/best-books/silk-road
24•bwb•2d ago•12 comments

The Onion to Take over InfoWars

https://www.nytimes.com/2026/04/20/business/infowars-alex-jones-the-onion.html
188•lxm•2d ago•61 comments

Website streamed live directly from a model

https://flipbook.page/
298•sethbannon•17h ago•81 comments

Tempest vs. Tempest: The Making and Remaking of Atari's Iconic Video Game

https://tempest.homemade.systems
82•mwenge•10h ago•26 comments

Arch Linux Now Has a Bit-for-Bit Reproducible Docker Image

https://antiz.fr/blog/archlinux-now-has-a-reproducible-docker-image/
83•maxloh•9h ago•17 comments

Technical, cognitive, and intent debt

https://martinfowler.com/fragments/2026-04-02.html
271•theorchid•19h ago•69 comments

Parallel agents in Zed

https://zed.dev/blog/parallel-agents
235•ajeetdsouza•17h ago•125 comments

Ping-pong robot beats top-level human players

https://www.reuters.com/sports/ping-pong-robot-ace-makes-history-by-beating-top-level-human-playe...
124•wslh•20h ago•163 comments

Qwen3.6-27B: Flagship-Level Coding in a 27B Dense Model

https://qwen.ai/blog?id=qwen3.6-27b
865•mfiguiere•21h ago•401 comments

MacBook Neo and How the iPad Should Be

https://craigmod.com/essays/ipad_neo/
32•jen729w•6h ago•15 comments

Highlights from Git 2.54

https://github.blog/open-source/git/highlights-from-git-2-54/
12•ingve•2d ago•2 comments

Ultraviolet corona discharges on treetops during storms

https://www.psu.edu/news/earth-and-mineral-sciences/story/treetops-glowing-during-storms-captured...
240•t-3•21h ago•65 comments

Books are not too expensive

https://www.millersbookreview.com/p/no-books-are-not-remotely-too-expensive
63•herbertl•2d ago•72 comments

Scoring Show HN submissions for AI design patterns

https://www.adriankrebs.ch/blog/design-slop/
313•hubraumhugo•20h ago•225 comments

Plexus P/20 Emulator

https://spritetm.github.io/plexus_20_emu/
21•hggh•3d ago•2 comments

OpenAI's response to the Axios developer tool compromise

https://openai.com/index/axios-developer-tool-compromise/
76•shpat•10h ago•48 comments

Bring Your Agent to Teams

https://microsoft.github.io/teams-sdk/blog/bring-your-agent-to-teams/
65•umangsehgal93•12h ago•53 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

https://serpapi.com/blog/faster-regular-expression-engines-in-ruby/
60•davidsojevic•11mo ago

Comments

yxhuvud•11mo ago
Eww, pretending to support utf8 matchers while not supporting them at all was not pretty to see.
gitroom•11mo ago
Honestly that part bugs me, fake support is worse than no support imo
kayodelycaon•11mo 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•11mo 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•11mo 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•11mo 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.