frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

What an unprocessed photo looks like

https://maurycyz.com/misc/raw_photo/
1249•zdw•10h ago•221 comments

Staying ahead of censors in 2025

https://forum.torproject.org/t/staying-ahead-of-censors-in-2025-what-weve-learned-from-fighting-c...
88•ggeorgovassilis•3h ago•41 comments

Show HN: Z80-μLM, a 'Conversational AI' That Fits in 40KB

https://github.com/HarryR/z80ai
93•quesomaster9000•3h ago•27 comments

You can make up HTML tags

https://maurycyz.com/misc/make-up-tags/
205•todsacerdoti•6h ago•88 comments

Show HN: My not-for-profit search engine with no ads, no AI, & all DDG bangs

https://nilch.org
55•UnmappedStack•3h ago•23 comments

Binaries

https://fzakaria.com/2025/12/28/huge-binaries
28•todsacerdoti•3h ago•11 comments

My First Meshtastic Network

https://rickcarlino.com/notes/electronics/my-first-meshtastic-network.html
36•rickcarlino•3h ago•11 comments

Developing a Beautiful and Performant Block Editor in Qt C++ and QML

https://rubymamistvalove.com/block-editor
18•michaelsbradley•2d ago•3 comments

Unity's Mono problem: Why your C# code runs slower than it should

https://marekfiser.com/blog/mono-vs-dot-net-in-unity/
181•iliketrains•11h ago•85 comments

Software engineers should be a little bit cynical

https://www.seangoedecke.com/a-little-bit-cynical/
182•zdw•11h ago•126 comments

As AI gobbles up chips, prices for devices may rise

https://www.npr.org/2025/12/28/nx-s1-5656190/ai-chips-memory-prices-ram
144•geox•10h ago•160 comments

MongoBleed Explained Simply

https://bigdata.2minutestreaming.com/p/mongobleed-explained-simply
176•todsacerdoti•11h ago•66 comments

Researchers discover molecular difference in autistic brains

https://medicine.yale.edu/news-article/molecular-difference-in-autistic-brains/
119•amichail•10h ago•67 comments

Growing up in “404 Not Found”: China's nuclear city in the Gobi Desert

https://substack.com/inbox/post/182743659
758•Vincent_Yan404•1d ago•337 comments

PySDR: A Guide to SDR and DSP Using Python

https://pysdr.org/content/intro.html
173•kklisura•12h ago•8 comments

Line scan camera image processing

https://daniel.lawrence.lu/blog/2025-09-21-line-scan-camera-image-processing/
30•vasco•3d ago•1 comments

Spherical Cow

https://lib.rs/crates/spherical-cow
88•Natfan•9h ago•8 comments

Formulaic Delimiters in the Iliad and the Odyssey

https://glthr.com/formulaic-delimiters-in-the-iliad-and-the-odyssey
16•glth•1d ago•4 comments

Show HN: My app just won best iOS Japanese learning tool of 2025 award (blog)

https://skerritt.blog/best-japanese-learning-tools-2025-award-show/
103•wahnfrieden•8h ago•14 comments

Fast GPU Interconnect over Radio

https://spectrum.ieee.org/rf-over-fiber
18•montroser•5h ago•1 comments

Mouse: Computer Programming Language

http://mouse.davidgsimpson.com/
9•gappy•2d ago•2 comments

A bitwise reproducible deep learning framework

https://github.com/microsoft/RepDL
22•noosphr•6d ago•0 comments

Slaughtering Competition Problems with Quantifier Elimination (2021)

https://grossack.site/2021/12/22/qe-competition.html
49•todsacerdoti•9h ago•0 comments

Finding Jingle Town: Debugging an N64 Game Without Symbols

https://blog.chrislewis.au/finding-jingle-town-debugging-an-n64-game-without-symbols/
28•knackers•5d ago•1 comments

Fast CVVDP implementation in C

https://github.com/halidecx/fcvvdp
31•todsacerdoti•9h ago•2 comments

How to complain (2024)

https://outerproduct.net/trivial/2024-03-25_complain.html
57•ysangkok•9h ago•10 comments

Why I Disappeared – My week with minimal internet in a remote island chain

https://www.kenklippenstein.com/p/why-i-disappeared
80•eh_why_not•11h ago•82 comments

62 years in the making: NYC's newest water tunnel nears the finish line

https://ny1.com/nyc/all-boroughs/news/2025/11/09/water--dep--tunnels-
120•eatonphil•9h ago•74 comments

Panoramas of Star Trek Sets

https://mijofr.github.io/st-panorama/
52•jfil•3h ago•5 comments

No, it's not a battleship

https://www.navalgazing.net/No-its-not
134•hermitcrab•13h ago•181 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•7mo 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.