frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Decorative Cryptography

https://www.dlp.rip/decorative-cryptography
4•todsacerdoti•8m ago•0 comments

Databases in 2025: A Year in Review

https://www.cs.cmu.edu/~pavlo/blog/2026/01/2025-databases-retrospective.html
16•viveknathani_•1h ago•2 comments

Building a Rust-style static analyzer for C++ with AI

http://mpaxos.com/blog/rusty-cpp.html
43•shuaimu•3h ago•14 comments

Lessons from 14 years at Google

https://addyosmani.com/blog/21-lessons/
1168•cdrnsf•17h ago•502 comments

A spider web unlike any seen before (2025)

https://www.nytimes.com/2025/11/08/science/biggest-spiderweb-sulfur-cave.html
17•juanplusjuan•1h ago•10 comments

Logos Language Guide: Compile English to Rust

https://logicaffeine.com/guide
34•tristenharr•3d ago•16 comments

Show HN: Terminal UI for AWS

https://github.com/huseyinbabal/taws
288•huseyinbabal•12h ago•145 comments

During Helene, I just wanted a plain text website

https://sparkbox.com/foundry/helene_and_mobile_web_performance
170•CqtGLRGcukpy•6h ago•85 comments

The unbearable joy of sitting alone in a café

https://candost.blog/the-unbearable-joy-of-sitting-alone-in-a-cafe/
587•mooreds•17h ago•343 comments

Why does a least squares fit appear to have a bias when applied to simple data?

https://stats.stackexchange.com/questions/674129/why-does-a-linear-least-squares-fit-appear-to-ha...
227•azeemba•12h ago•57 comments

Street Fighter II, the World Warrier (2021)

https://fabiensanglard.net/sf2_warrier/
364•birdculture•18h ago•63 comments

ICE Is Using Facial-Recognition Technology to Quickly Arrest People

https://www.wsj.com/politics/policy/ice-facial-recognition-app-mobile-fortify-dfdd00bf
80•KnuthIsGod•3h ago•30 comments

I charged $18k for a Static HTML Page (2019)

https://idiallo.com/blog/18000-dollars-static-web-page
266•caminanteblanco•2d ago•65 comments

Baffling purple honey found only in North Carolina

https://www.bbc.com/travel/article/20250417-the-baffling-purple-honey-found-only-in-north-carolina
68•rmason•4d ago•19 comments

Inducing self-NSFW classification in image models to prevent deepfakes edits

4•Genesis_rish•35m ago•0 comments

Why Microsoft Store Discontinued Support for Office Apps

https://www.bgr.com/2027774/why-microsoft-store-discontinued-office-support/
10•itronitron•3d ago•2 comments

Claude Code On-the-Go

https://granda.org/en/2026/01/02/claude-code-on-the-go/
303•todsacerdoti•12h ago•189 comments

How to translate a ROM: The mysteries of the game cartridge [video]

https://www.youtube.com/watch?v=XDg73E1n5-g
14•zdw•5d ago•0 comments

Web development is fun again

https://ma.ttias.be/web-development-is-fun-again/
371•Mojah•17h ago•459 comments

Show HN: An interactive guide to how browsers work

https://howbrowserswork.com/
227•krasun•17h ago•32 comments

Six Harmless Bugs Lead to Remote Code Execution

https://mehmetince.net/the-story-of-a-perfect-exploit-chain-six-bugs-that-looked-harmless-until-t...
58•ozirus•3d ago•10 comments

Eurostar AI vulnerability: When a chatbot goes off the rails

https://www.pentestpartners.com/security-blog/eurostar-ai-vulnerability-when-a-chatbot-goes-off-t...
129•speckx•11h ago•33 comments

Linear Address Spaces: Unsafe at any speed (2022)

https://queue.acm.org/detail.cfm?id=3534854
149•nithssh•5d ago•109 comments

Monads in C# (Part 2): Result

https://alexyorke.github.io/2025/09/13/monads-in-c-sharp-part-2-result/
10•polygot•3d ago•8 comments

Ripple, a puzzle game about 2nd and 3rd order effects

https://ripplegame.app/
115•mooreds•14h ago•29 comments

California residents can now request all data brokers delete personal info

https://consumer.drop.privacy.ca.gov/
216•memalign•4h ago•51 comments

Millennium Challenge: A corrupted military exercise and its legacy (2015)

https://warontherocks.com/2015/11/millennium-challenge-the-real-story-of-a-corrupted-military-exe...
35•lifeisstillgood•8h ago•32 comments

NeXTSTEP on Pa-RISC

https://www.openpa.net/nextstep_pa-risc.html
25•andsoitis•7h ago•4 comments

Moiré Explorer

https://play.ertdfgcvb.xyz/#/src/demos/moire_explorer
161•Luc•19h ago•19 comments

Agentic Patterns

https://github.com/nibzard/awesome-agentic-patterns
113•PretzelFisch•13h ago•19 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.