frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Fran Sans – font inspired by San Francisco light rail displays

https://emilysneddon.com/fran-sans-essay
559•ChrisArchitect•7h ago•82 comments

Native Secure Enclave backed SSH keys on macOS

https://gist.github.com/arianvp/5f59f1783e3eaf1a2d4cd8e952bb4acf
307•arianvanp•7h ago•128 comments

Show HN: I wrote a minimal memory allocator in C

https://github.com/t9nzin/memory
39•t9nzin•3h ago•3 comments

µcad: New open source programming language that can generate 2D sketches and 3D

https://microcad.xyz/
59•todsacerdoti•4h ago•15 comments

Calculus for Mathematicians, Computer Scientists, and Physicists [pdf]

https://mathcs.holycross.edu/~ahwang/print/calc.pdf
227•o4c•9h ago•46 comments

New magnetic component discovered in the Faraday effect after nearly 2 centuries

https://phys.org/news/2025-11-magnetic-component-faraday-effect-centuries.html
23•rbanffy•4d ago•0 comments

A desktop app for isolated, parallel agentic development

https://github.com/coder/mux
28•mercat•3h ago•9 comments

Shaders: How to draw high fidelity graphics with just x and y coordinates

https://www.makingsoftware.com/chapters/shaders
334•Garbage•13h ago•75 comments

Racket v9.0

https://blog.racket-lang.org/2025/11/racket-v9-0.html
269•Fice•12h ago•91 comments

Particle Life – Sandbox Science

https://sandbox-science.com/particle-life
36•StromFLIX•3h ago•3 comments

Show HN: Gitlogue – A terminal tool that replays your Git commits with animation

https://github.com/unhappychoice/gitlogue
93•unhappychoice•5d ago•11 comments

Liva AI (YC S25) Is Hiring

https://www.ycombinator.com/companies/liva-ai/jobs/fYP8QP8-growth-intern
1•ashlleymo•3h ago

Sunsetting Supermaven

https://supermaven.com/blog/sunsetting-supermaven
26•vednig•3h ago•14 comments

Iowa City made its buses free. traffic cleared, and so did the air

https://www.nytimes.com/2025/11/18/climate/iowa-city-free-buses.html
146•bookofjoe•3h ago•149 comments

Mount Proton Drive on Linux using rclone and systemd

https://github.com/dadtronics/protondrive-linux
104•cf100clunk•9h ago•36 comments

A time-travelling door bug in Half Life 2

https://mastodon.gamedev.place/@TomF/115589875974658415
323•AshleysBrain•2d ago•42 comments

After my dad died, we found the love letters

https://www.jenn.site/after-my-dad-died-we-found-the-love-letters/
775•eatitraw•17h ago•371 comments

Doge 'doesn't exist' with eight months left on its charter

https://www.reuters.com/world/us/doge-doesnt-exist-with-eight-months-left-its-charter-2025-11-23/
56•the_mitsuhiko•1h ago•25 comments

ISPs more likely to throttle netizens who connect through CG-NAT: Cloudflare

https://www.theregister.com/2025/11/03/cloudflare_cgnat_bias_research/
27•throw0101a•1h ago•4 comments

1M Downloads of Zorin OS 18

https://blog.zorin.com/2025/11/18/test-the-upgrade-from-zorin-os-17-to-18-and-celebrating-1-milli...
209•m463•6h ago•176 comments

An Economy of AI Agents

https://arxiv.org/abs/2509.01063
86•nerder92•23h ago•61 comments

MCP Apps: Extending servers with interactive user interfaces

http://blog.modelcontextprotocol.io/posts/2025-11-21-mcp-apps/
167•mercury24aug•22h ago•108 comments

X's new country-of-origin feature reveals many 'US' accounts to be foreign-run

https://www.hindustantimes.com/world-news/us-news/xs-new-country-of-origin-feature-shakes-maga-an...
284•ourmandave•2h ago•149 comments

Terence Tao: At the Erdos problem website, AI assistance now becoming routine

https://mathstodon.xyz/@tao/115591487350860999
175•dwohnitmok•1d ago•23 comments

Editing Code in Emacs

https://redpenguin101.github.io/html/posts/2025_11_23_emacs_for_code_editing.html
120•redpenguin101•10h ago•34 comments

"Good engineering management" is a fad

https://lethain.com/good-eng-mgmt-is-a-fad/
147•jkbyc•5h ago•55 comments

Court filings allege Meta downplayed risks to children and misled the public

https://time.com/7336204/meta-lawsuit-files-child-safety/
315•binning•10h ago•140 comments

'Invisible' microplastics spread in skies as global pollutant

https://www.asahi.com/ajw/articles/16137995
13•devonnull•1h ago•4 comments

Several core problems with Rust

https://bykozy.me/blog/rust-is-a-disappointment/
91•byko3y•3h ago•111 comments

Giving the Jakks Atari Paddle a Spin

https://nicole.express/2025/paddle-me-atari.html
8•ingve•5h 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•6mo ago

Comments

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