frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Terminal UI for AWS

https://github.com/huseyinbabal/taws
185•huseyinbabal•5h ago•90 comments

Lessons from 14 Years at Google

https://addyosmani.com/blog/21-lessons/
818•cdrnsf•10h ago•371 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...
127•azeemba•5h ago•29 comments

The Unbearable Joy of Sitting Alone in a Café

https://candost.blog/the-unbearable-joy-of-sitting-alone-in-a-cafe/
427•mooreds•11h ago•269 comments

Linear Address Spaces: Unsafe at any speed (2022)

https://queue.acm.org/detail.cfm?id=3534854
114•nithssh•4d ago•75 comments

Street Fighter II, the World Warrier (2021)

https://fabiensanglard.net/sf2_warrier/
308•birdculture•11h ago•48 comments

The Showa Hundred Year Problem

https://www.dampfkraft.com/showa-100.html
8•polm23•4d ago•0 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...
91•speckx•5h ago•25 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...
17•lifeisstillgood•2h ago•6 comments

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

https://ripplegame.app/
76•mooreds•8h ago•13 comments

Web development is fun again

https://ma.ttias.be/web-development-is-fun-again/
285•Mojah•10h ago•370 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...
20•ozirus•3d ago•1 comments

Show HN: An interactive guide to how browsers work

https://howbrowserswork.com/
174•krasun•10h ago•28 comments

The Year of the 3D Printed Miniature (and Other Lies We Tell Ourselves)

https://matduggan.com/the-year-of-the-3d-printed-miniature-and-other-lies-we-tell-ourselves/
96•sagacity•6d ago•59 comments

Server-rendered multiplayer games with Lua (no client code)

https://cleoselene.com/
55•brunovcosta•6h ago•32 comments

Show HN: An LLM-Powered PCB Schematic Checker (Major Update)

https://traceformer.io/
31•wafflesfreak•4h ago•14 comments

The great shift of English prose

https://www.worksinprogress.news/p/english-prose-has-become-much-easier
30•dsubburam•3d ago•20 comments

Claude Code On-the-Go

https://granda.org/en/2026/01/02/claude-code-on-the-go/
208•todsacerdoti•6h ago•139 comments

Agentic Patterns

https://github.com/nibzard/awesome-agentic-patterns
67•PretzelFisch•6h ago•6 comments

Show HN: Hover – IDE style hover documentation on any webpage

https://github.com/Sampsoon/hover
36•sampsonj•7h ago•16 comments

OpenGitOps

https://opengitops.dev/
34•locknitpicker•5h ago•35 comments

Using Hinge as a Command and Control Server

https://mattwie.se/hinge-command-control-c2
91•mattwiese•11h ago•42 comments

Moiré Explorer

https://play.ertdfgcvb.xyz/#/src/demos/moire_explorer
128•Luc•13h ago•17 comments

Trellis AI (YC W24) is hiring engineers to build AI agents for healthcare access

https://www.ycombinator.com/companies/trellis-ai/jobs/ngvfeaq-member-of-technical-staff-full-time
1•macklinkachorn•8h ago

Maybe comments should explain 'what' (2017)

https://www.hillelwayne.com/post/what-comments/
187•zahrevsky•15h ago•180 comments

Stop Forwarding Errors, Start Designing Them

https://fast.github.io/blog/stop-forwarding-errors-start-designing-them/
72•andylokandy•6h ago•46 comments

Show HN: Quantum Tunnel

https://chuanqisun.github.io/quantum-tunnel/
14•osmoscraft•2h ago•5 comments

FreeBSD Home NAS, part 3: WireGuard VPN, routing, and Linux peers

https://rtfm.co.ua/en/freebsd-home-nas-part-3-wireguard-vpn-linux-peer-and-routing/
144•todsacerdoti•14h ago•8 comments

Bison return to Illinois' Kane County after 200 years

https://phys.org/news/2025-12-bison-illinois-kane-county-years.html
116•bikenaga•5d ago•33 comments

How I archived 10 years of memories using Spotify

https://notes.xdavidhu.me/notes/how-i-archived-10-years-of-memories-using-spotify
82•xdavidhu•10h ago•37 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.