frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

98.css

https://jdan.github.io/98.css/#status-bar
92•lopespm•1h ago•10 comments

Writing by hand is good for your brain

https://nealstephenson.substack.com/p/writing-by-hand-is-good-for-your
917•dwwoelfel•9h ago•455 comments

Show HN: Echo – Fable-level results at 1/3 the cost using open-weight models

190•adam_rida•4h ago•91 comments

The Beam Engine

https://glinscott.github.io/beam-engine/
115•glinscott•1d ago•43 comments

A Taxonomy of Omnicidal Futures Involving Artificial Intelligence

https://arxiv.org/abs/2507.09369
22•amelius•1h ago•9 comments

What happened to TheNumbers.com

https://stephenfollows.com/p/what-just-happened-to-thenumberscom-should-worry-us-all
270•nickthegreek•7h ago•117 comments

Startup founders urge U.S. government not to shut off Chinese open weight AI

https://www.politico.com/news/2026/07/22/startup-founders-urge-trump-not-to-shut-off-chinese-open...
687•theanonymousone•8h ago•617 comments

Building on ATProto

https://lukekanies.com/writing/building-on-atproto/
117•speckx•5h ago•59 comments

What else do people draw on gradient.horse?

https://rybakov.com/blog/what_else_do_people_draw_on_gradient-copy.horse/
21•spython•5d ago•5 comments

Software rendering in 500 lines of bare C++

https://haqr.eu/tinyrenderer/
234•mpweiher•9h ago•45 comments

Why Software Factories Fail (or: harness engineering is not enough)

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/wsff.md
147•dhorthy•8h ago•129 comments

Interview with Matheus Moreira about Lone Lisp and Linux Kernel

https://alexalejandre.com/interviews/interview-with-matheus-moreira/
27•veqq•6d ago•5 comments

Learn OpenGL, extensive tutorial resource for learning Modern OpenGL

https://learnopengl.com/
169•ibobev•9h ago•95 comments

Show HN: Palmier Pro – Open-source macOS video editor built for AI

https://github.com/palmier-io/palmier-pro
111•harrisontin•9h ago•17 comments

DARPA, U.S. Air Force fly AI-controlled F-16

https://www.darpa.mil/news/2026/darpa-us-air-force-fly-ai-controlled-f-16
163•r2sk5t•10h ago•182 comments

Astronomers may have found the first exomoon

https://www.eso.org/public/news/eso2610/
188•MarcoDewey•10h ago•73 comments

A solid-state “atomic channel” for separating rare earth elements

https://pme.uchicago.edu/news-events/news/cleaner-route-purifying-rare-earth-elements
63•MarcoDewey•5h ago•12 comments

The Visual 6502

http://visual6502.org/JSSim/index.html
3•infiniteregrets•35m ago•0 comments

Converting Files into Minecraft Worlds

https://wuemeli.com/blog/sulfur-part-1/
44•wuemeli•3d ago•13 comments

The arguments against open source AI are bad

https://tombedor.dev/arguments-against-open-source-ai-are-very-bad/
187•jjfoooo4•7h ago•135 comments

Launch HN: Screenpipe (YC S26) – Record how you work and turn that into agents

51•louis030195•7h ago•49 comments

Geekbench 7

https://www.geekbench.com/blog/2026/07/geekbench-7/
49•ilreb•6h ago•38 comments

Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

https://github.com/onecli/onecli
73•Jonathanfishner•8h ago•27 comments

Show HN: Claude-thermos keeps your Claude session warm for you

https://github.com/izeigerman/claude-thermos
57•s0ck_r4w•7h ago•49 comments

Learn WebGPU for C++

https://eliemichel.github.io/LearnWebGPU/
80•ibobev•9h ago•11 comments

Tell HN: Namecheap gave my account to an unverified third party

330•Thrashed•3h ago•120 comments

Escape Analysis in Go: Stack vs. Heap Allocations Explained

https://blog.jetbrains.com/go/2026/07/20/escape-analysis/
31•ingve•2d ago•6 comments

Show HN: Trifle – Open-source analytics that stores answers, not events

https://trifle.io/
35•iluzone•1d ago•3 comments

AI Companies Are Trying to Hide a Staggering Amount of Debt

https://futurism.com/artificial-intelligence/ai-companies-hide-debt-off-balance-sheet
580•technewssss•11h ago•284 comments

Fields Medals 2026

https://www.mathunion.org/imu-awards/fields-medal/fields-medals-2026
129•nill0•9h ago•62 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.