frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open Chaos: A self-evolving open-source project

https://www.openchaos.dev/
209•stefanvdw1•5h ago•35 comments

A Eulogy for Dark Sky, a Data Visualization Masterpiece (2023)

https://nightingaledvs.com/dark-sky-weather-data-viz/
308•skadamat•8h ago•135 comments

AI is a business model stress test

https://dri.es/ai-is-a-business-model-stress-test
74•amarsahinovic•4h ago•106 comments

Show HN: I used Claude Code to discover connections between 100 books

https://trails.pieterma.es/
26•pmaze•4h ago•3 comments

Rats caught on camera hunting flying bats

https://scienceclock.com/rats-caught-on-camera-hunting-flying-bats-for-the-first-time/
31•akg130522•2h ago•5 comments

Finding and Fixing Ghostty's Largest Memory Leak

https://mitchellh.com/writing/ghostty-memory-leak-fix
31•thorel•2h ago•1 comments

ASCII-Driven Development

https://medium.com/@calufa/ascii-driven-development-850f66661351
46•_hfqa•2d ago•28 comments

Side-by-side comparison of how AI models answer moral dilemmas

https://civai.org/p/ai-values
32•jesenator•1d ago•23 comments

I replaced Windows with Linux and everything's going great

https://www.theverge.com/tech/858910/linux-diary-gaming-desktop
352•rorylawless•5h ago•287 comments

New information extracted from Snowden PDFs through metadata version analysis

https://libroot.org/posts/going-through-snowden-documents-part-4/
231•libroot•9h ago•107 comments

ChatGPT Health is a marketplace, guess who is the product?

https://consciousdigital.org/chatgpt-health-is-a-marketplace-guess-who-is-the-product/
164•yoaviram•2d ago•187 comments

Bichon: A lightweight, high-performance Rust email archiver with WebUI

https://github.com/rustmailer/bichon
27•rendx•1h ago•8 comments

Org Mode Syntax Is One of the Most Reasonable Markup Languages to Use for Text

https://karl-voit.at/2017/09/23/orgmode-as-markup-only/
185•adityaathalye•11h ago•149 comments

UpCodes (YC S17) is hiring PMs, SWEs to automate construction compliance

https://up.codes/careers?utm_source=HN
1•Old_Thrashbarg•4h ago

Bindless Oriented Graphics Programming

https://alextardif.com/BindlessProgramming.html
15•ibobev•3d ago•0 comments

Drones that recharge directly on transmission lines

https://www.ycombinator.com/companies/voltair
111•alphabetatango•4h ago•83 comments

Distributed Denial of Secrets

https://ddosecrets.com/
32•sabakhoj•2d ago•4 comments

UK government exempting itself from cyber law inspires little confidence

https://www.theregister.com/2026/01/10/csr_bill_analysis/
253•DyslexicAtheist•7h ago•51 comments

“Erdos problem #728 was solved more or less autonomously by AI”

https://mathstodon.xyz/@tao/115855840223258103
586•cod1r•22h ago•330 comments

Httpz – Zero-Allocation HTTP/1.1 Parser for OxCaml

https://github.com/avsm/httpz
62•noelwelsh•3d ago•16 comments

NASA announces unprecedented return of sick ISS astronaut and crew

https://www.livescience.com/space/space-exploration/nasa-cancels-spacewalk-and-considers-early-cr...
53•bookofjoe•7h ago•46 comments

O-Ring Automation

https://www.nber.org/papers/w34639
20•jandrewrogers•5d ago•9 comments

Sinclair C5

https://en.wikipedia.org/wiki/Sinclair_C5
11•jszymborski•36m ago•0 comments

Allow me to introduce, the Citroen C15

https://eupolicy.social/@jmaris/115860595238097654
626•colinprince•9h ago•421 comments

How we made v0 an effective coding agent

https://vercel.com/blog/how-we-made-v0-an-effective-coding-agent
19•MaxLeiter•2d ago•7 comments

GPU memory snapshots: sub-second startup (2025)

https://modal.com/blog/gpu-mem-snapshots
10•jxmorris12•2d ago•4 comments

Changes to Android Open Source Project

https://source.android.com/
270•TechTechTech•3d ago•173 comments

Reverse Engineering the Epson FilmScan 200 for Classic Mac

https://ronangaillard.github.io/posts/reverse-engineering-epson-filmscan-200/
82•j_leboulanger•1w ago•7 comments

Good Judgment Open

https://www.gjopen.com
9•kaycebasques•2d ago•1 comments

Creating Embroidered Charts with R and ImageMagick

https://aman.bh/blog/2025/creating-embroidered-charts-with-r-and-imagemagick
69•speckx•4d ago•4 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

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

Comments

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