frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Bring Back Idiomatic Design

https://essays.johnloeber.com/p/4-bring-back-idiomatic-design
334•phil294•8h ago•157 comments

Most people can't juggle one ball

https://www.lesswrong.com/posts/jTGbKKGqs5EdyYoRc/most-people-can-t-juggle-one-ball
119•surprisetalk•3d ago•42 comments

The peril of laziness lost

https://bcantrill.dtrace.org/2026/04/12/the-peril-of-laziness-lost/
19•gpm•46m ago•2 comments

Show HN: Claudraband – Claude Code for the Power User

https://github.com/halfwhey/claudraband
43•halfwhey•3h ago•12 comments

Show HN: boringBar – a taskbar-style dock replacement for macOS

https://boringbar.app/
160•a-ve•3h ago•101 comments

I gave every train in New York an instrument

https://www.trainjazz.com/
123•joshuawolk•2d ago•29 comments

DIY Soft Drinks

https://blinry.org/diy-soft-drinks/
59•_Microft•3h ago•15 comments

Show HN: Oberon System 3 runs natively on Raspberry Pi 3 (with ready SD card)

https://github.com/rochus-keller/OberonSystem3Native/releases
128•Rochus•7h ago•19 comments

Bouncer: Block "crypto", "rage politics", and more from your X feed using AI

https://github.com/imbue-ai/bouncer
25•steveharing1•4h ago•34 comments

Tell HN: docker pull fails in spain due to football cloudflare block

510•littlecranky67•8h ago•212 comments

Seven countries now generate 100% of their electricity from renewable energy

https://www.the-independent.com/tech/renewable-energy-solar-nepal-bhutan-iceland-b2533699.html
377•mpweiher•7h ago•171 comments

JVM Options Explorer

https://chriswhocodes.com/vm-options-explorer.html
153•0x54MUR41•10h ago•67 comments

EasyPost (YC S13) Is Hiring

https://www.easypost.com/careers
1•jstreebin•3h ago

The Closing of the Frontier

https://tanyaverma.sh/2026/04/10/closing-of-the-frontier.html
131•MindGods•2h ago•82 comments

European AI. A playbook to own it

https://europe.mistral.ai/
56•hjouneau•39m ago•16 comments

Google Removes "Doki Doki Literature Club" from Google Play

https://bsky.app/profile/serenityforge.com/post/3mj3r4nbiws2t
24•super256•37m ago•4 comments

Anthropic downgraded cache TTL on March 6th

https://github.com/anthropics/claude-code/issues/46829
409•lsdmtme•14h ago•308 comments

Happy Map

https://pudding.cool/2026/02/happy-map/
179•surprisetalk•5d ago•31 comments

Apple has removed most of the towns and villages in Lebanon from Apple maps?

https://maps.apple.com/frame?center=33.723388%2C35.614698&span=1.983925%2C4.004193
138•thepasswordis•2h ago•88 comments

Cooperative Vectors Introduction

https://www.evolvebenchmark.com/blog-posts/cooperative-vectors-introduction
37•JasperBekkers•2d ago•2 comments

Phyphox – Physical Experiments Using a Smartphone

https://phyphox.org/
157•_Microft•11h ago•28 comments

The Physics of GPS

https://perthirtysix.com/how-does-gps-work
89•maouida•9h ago•22 comments

Ask HN: What Are You Working On? (April 2026)

30•david927•4h ago•51 comments

I run multiple $10K MRR companies on a $20/month tech stack

https://stevehanov.ca/blog/how-i-run-multiple-10k-mrr-companies-on-a-20month-tech-stack
727•tradertef•14h ago•418 comments

Exploiting the most prominent AI agent benchmarks

https://rdi.berkeley.edu/blog/trustworthy-benchmarks-cont/
475•Anon84•1d ago•118 comments

A Tour of Oodi

https://blinry.org/oodi/
87•zdw•3d ago•29 comments

Investigating How Long-Distance Couples Use Digital Games to Facilitate Intimacy

https://arxiv.org/abs/2505.09509
23•radeeyate•4h ago•4 comments

Textbooks and Methods of Note-Taking in Early Modern Europe (2008)

https://dash.harvard.edu/server/api/core/bitstreams/7312037d-e342-6bd4-e053-0100007fdf3b/content
12•mooreds•4h ago•0 comments

Doom, Played over Curl

https://github.com/xsawyerx/curl-doom
81•creaktive•10h ago•11 comments

Mark's Magic Multiply

https://wren.wtf/shower-thoughts/marks-magic-multiply/
11•luu•1d ago•0 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.