frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Your ePub Is fine

https://andreklein.net/your-epub-is-fine-kobo-disagrees-blame-adobe/
360•sohkamyung•6h ago•146 comments

Even more batteries included with Emacs

https://karthinks.com/software/even-more-batteries-included-with-emacs/
67•signa11•2h ago•14 comments

Show HN: Kage – Shadow any website to a single binary for offline viewing

https://github.com/tamnd/kage
475•tamnd•12h ago•99 comments

Bitsy

https://bitsy.org/
98•tosh•3d ago•3 comments

21 years and counting of 'eight fallacies of distributed computing' (2025)

https://blog.apnic.net/2025/12/08/21-years-and-counting-of-eight-fallacies-of-distributed-computing/
49•teleforce•5h ago•8 comments

Prove you're human by winning a claw machine

https://feralui.vercel.app/#/captcha
28•speckx•2d ago•18 comments

Firewood Splitting Simulator

https://screen.toys/firewood/
724•memalign•5d ago•225 comments

Rio de Janeiro's "homegrown" LLM appears to be a merge of an existing model

https://github.com/nex-agi/Nex-N2/issues/4
313•unrvl22•13h ago•167 comments

Why does paper fold so well?

https://www.bbc.co.uk/programmes/w3ct8k70
9•zeristor•1d ago•1 comments

Show HN: Trace – Offline Mac meeting transcripts you can flag mid-call

https://traceapp.info
133•AG342•1d ago•53 comments

A short history of Cerro Torre, the most controversial mountain (2012)

https://www.markhorrell.com/blog/2012/a-short-history-of-cerro-torre/
18•joebig•4d ago•6 comments

Ask HN: What are you working on? (June 2026)

185•david927•13h ago•702 comments

Formal methods and the future of programming

https://blog.janestreet.com/formal-methods-at-jane-street-index/?from_theconsensus=1
227•eatonphil•16h ago•82 comments

Chaosnet (1981)

https://tumbleweed.nu/r/lm-3/uv/amber.html
73•RGBCube•10h ago•8 comments

Write for One Person

https://wizardzines.com/comics/write-for-one-person/
169•evakhoury•2d ago•55 comments

TorchCodec 0.14: HDR Video Decoding for CPU and CUDA, and Fast Wav Decoder

https://github.com/meta-pytorch/torchcodec/releases/tag/v0.14.0
34•scott_s•4d ago•3 comments

Perlisisms (1982)

https://www.cs.yale.edu/homes/perlis-alan/quotes.html
106•tosh•14h ago•52 comments

Segmented type appreciation corner (2018)

https://aresluna.org/segmented-type/
69•unexpectedVCR•3d ago•16 comments

Show HN: Discover Wikipedia articles popular on Hacker News

https://www.orangecrumbs.com/
80•octopus143•11h ago•22 comments

Caddy compatibility for zeroserve: 3x throughput and 70% lower latency

https://su3.io/posts/zeroserve-caddy-compat
169•losfair•15h ago•49 comments

The only scalable delete in Postgres is DROP TABLE

https://planetscale.com/blog/the-only-scalable-delete
149•hollylawly•3d ago•54 comments

Windows 11 users are tired of MS account requirements creeping into everything

https://www.windowscentral.com/microsoft/windows-11/windows-11-users-are-tired-of-microsoft-accou...
168•josephcsible•7h ago•107 comments

FarOutCompany

https://faroutcompany.com/
112•bookofjoe•15h ago•17 comments

I indexed 669 GB of my GoPro videos using my M1 Max computer and local ML models

324•iliashad•14h ago•80 comments

Chopped, Stored, Secured – The Story of the Hash Function

https://0xkrt26.github.io/math_behind_security/2026/06/09/the-story-of-the-hash-function.html
32•denismenace•4d ago•7 comments

USB Power Delivery: Plugging into the Benefits

https://www.aptiv.com/en/insights/article/usb-power-delivery-plugging-into-the-benefits
44•mooreds•3d ago•91 comments

How to earn a billion dollars

https://paulgraham.com/earn.html
526•kingstoned•17h ago•1538 comments

The hallucinogenic mushroom that contains no known psychedelic

https://psychedelics.co.uk/news/a-mushroom-genus-that-gets-people-high-but-not-the
52•thunderbong•4h ago•27 comments

The Birth and Death of JavaScript (2014)

https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
221•subset•16h ago•127 comments

Lisp's Influence on Ruby

https://blog.tacoda.dev/lisps-influence-on-ruby-6a54f1a7740e
231•tacoda•3d ago•67 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.