frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The time the x86 emulator team found code so bad they fixed it during emulation

https://devblogs.microsoft.com/oldnewthing/20260615-00/?p=112419
143•paulmooreparks•2h ago•24 comments

I Could've Rickrolled the FIFA World Cup. All I Needed Was My ID

https://bobdahacker.com/blog/fifa-hack
137•BobDaHacker•1h ago•29 comments

John Carmack on Fabrice Bellard

https://twitter.com/ID_AA_Carmack/status/2064095424420487226
58•apitman•1h ago•17 comments

A backdoor in a LinkedIn job offer

https://roman.pt/posts/linkedin-backdoor/
995•lwhsiao•10h ago•190 comments

Banned Book Library in a Wi-Fi Smart Light Bulb

https://www.richardosgood.com/posts/banned-book-library/
314•sohkamyung•8h ago•151 comments

Iroh 1.0

https://www.iroh.computer/blog/v1
1099•chadfowler•15h ago•326 comments

Show HN: Garden of Flowers – an archive of pictorial typography before ASCII art

https://garden-of-flowers.heikkilotvonen.com/
35•california-og•2h ago•8 comments

Ask HN: Has anyone replaced Claude/GPT with a local model for daily coding?

883•cloudking•16h ago•403 comments

TinyWind: A pixel pirate sailing game with real wind physics (380k+ kms sailed)

https://tinywind.io
752•tinywind•14h ago•148 comments

I hacked into the worst e-bike and fixed it [video]

https://www.youtube.com/watch?v=hPrtVGimBYs
56•alexis-d•5d ago•18 comments

I Love the Computer

https://michaelenger.com/blog/i-love-the-computer/
206•speckx•10h ago•123 comments

Humanity isn't ready for the coming intelligence explosion

https://www.economist.com/by-invitation/2026/06/15/humanity-isnt-ready-for-the-coming-intelligenc...
45•andsoitis•4h ago•103 comments

Why I email complete strangers

https://www.goodinternetmagazine.com/why-i-email-complete-strangers/
132•karakoram•8h ago•56 comments

Cohere's First Model for Developers

https://cohere.com/blog/north-mini-code
66•hmokiguess•4d ago•17 comments

Amazon Announces Multibillion-Dollar Data Center in Missouri

https://www.narracomm.com/amazon-announces-multibillion-dollar-data-center-in-missouri/
97•thelonelyborg•6h ago•84 comments

The 90-year-old idea behind JEPA models: Canonical Correlation Analysis

https://shonczinner.github.io/posts/embedding-prediction/
42•Anon84•4d ago•7 comments

My Homelab AI Dev Platform

https://rsgm.dev/post/ai-dev-platform/
293•rsgm•15h ago•52 comments

Peopleless economy? Not technically impossible

https://gmalandrakis.com/writings/ad-economicum.html
156•l0new0lf-G•9h ago•276 comments

Hetzner Price Adjustment

https://docs.hetzner.com/general/infrastructure-and-availability/price-adjustment/#cloud-servers
398•tuhtah•17h ago•555 comments

Chili peppers of the world: cultivars, species, and heat

https://www.notesfromtheroad.com/desertmexico/chili-peppers.html
18•fanf2•3d ago•2 comments

Fox to buy Roku

https://www.wsj.com/business/deals/fox-roku-deal-f6e564f9
312•thm•18h ago•387 comments

What job interviews taught me about Kubernetes

https://notnotp.com/notes/what-job-interviews-taught-me-about-kubernetes/
152•chmaynard•10h ago•110 comments

What every coder should know about gamma (2016)

https://blog.johnnovak.net/2016/09/21/what-every-coder-should-know-about-gamma/
90•sph•2d ago•27 comments

Copper transport drug restores memory and clears toxic Alzheimer's proteins

https://www.monash.edu/news/articles/copper-drug-restores-memory-and-clears-toxic-alzheimers-prot...
285•bookofjoe•16h ago•107 comments

Salesforce to Acquire Fin (formerly Intercom) for $3.6B

https://www.salesforce.com/news/press-releases/2026/06/15/salesforce-signs-definitive-agreement-t...
300•colesantiago•18h ago•220 comments

Game Engine White Papers: Commander Keen

https://forgottenbytes.net/commander_keen.html
191•mfiguiere•12h ago•63 comments

Launch HN: Drafted (YC P26) – Models for residential architecture

52•PrimalNick•14h ago•55 comments

How TimescaleDB compresses time-series data

https://roszigit.com/en/blog/timescaledb-compression-hypercore
141•lkanwoqwp•13h ago•16 comments

Show HN: Veterinarian turned founder, AI lawn diagnosis

https://grassdx.com/
60•andrewbr•12h ago•52 comments

Claude Corps

https://www.anthropic.com/news/claude-corps
116•Mustan•13h ago•80 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.