frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Don't post generated/AI-edited comments. HN is for conversation between humans.

https://news.ycombinator.com/newsguidelines.html#generated
1403•usefulposter•2h ago•591 comments

The dead Internet is not a theory anymore

https://www.adriankrebs.ch/blog/dead-internet/
183•hubraumhugo•1h ago•105 comments

Temporal: A nine-year journey to fix time in JavaScript

https://bloomberg.github.io/js-blog/post/temporal/
395•robpalmer•5h ago•138 comments

I'm glad the Anthropic fight is happening now

https://www.dwarkesh.com/p/dow-anthropic
58•emschwartz•2h ago•33 comments

Making WebAssembly a first-class language on the Web

https://hacks.mozilla.org/2026/02/making-webassembly-a-first-class-language-on-the-web/
297•mikece•16h ago•119 comments

Show HN: I built a tool that watches webpages and exposes changes as RSS

https://sitespy.app
95•vkuprin•5h ago•26 comments

Meticulous (YC S21) is hiring to redefine software dev

https://jobs.ashbyhq.com/meticulous/3197ae3d-bb26-4750-9ed7-b830f640515e
1•Gabriel_h•30m ago

Google closes deal to acquire Wiz

https://www.wiz.io/blog/google-closes-deal-to-acquire-wiz
160•aldarisbm•6h ago•103 comments

Entities enabling scientific fraud at scale (2025)

https://doi.org/10.1073/pnas.2420092122
233•peyton•8h ago•163 comments

BitNet: 100B Param 1-Bit model for local CPUs

https://github.com/microsoft/BitNet
270•redm•9h ago•133 comments

The MacBook Neo

https://daringfireball.net/2026/03/the_macbook_neo
271•etothet•9h ago•467 comments

5,200 holes carved into a Peruvian mountain left by an ancient economy

https://newatlas.com/environment/5-200-holes-peruvian-mountain/
60•defrost•1d ago•33 comments

Personal Computer by Perplexity

https://www.perplexity.ai/personal-computer-waitlist
29•josephwegner•3h ago•12 comments

Iran warns U.S. tech firms could become targets as war expands

https://www.wired.me/story/war-on-big-tech-iran-names-israeli-linked-us-firms-as-potential-targets
44•Fricken•1h ago•16 comments

What Is a Tort?

https://harvardlawreview.org/print/vol-139/what-is-a-tort/
17•bookofjoe•1h ago•14 comments

Show HN: Klaus – OpenClaw on a VM, batteries included

https://klausai.com/
92•robthompson2018•5h ago•54 comments

I was interviewed by an AI bot for a job

https://www.theverge.com/featured-video/892850/i-was-interviewed-by-an-ai-bot-for-a-job
41•speckx•3h ago•35 comments

Physicist Astrid Eichhorn is a leader in the field of asymptotic safety

https://www.quantamagazine.org/where-some-see-strings-she-sees-a-space-time-made-of-fractals-2026...
93•tzury•5h ago•14 comments

X is selling existing users' handles

51•hac•1h ago•30 comments

How we hacked McKinsey's AI platform

https://codewall.ai/blog/how-we-hacked-mckinseys-ai-platform
345•mycroft_4221•11h ago•139 comments

Show HN: Satellite imagery object detection using text prompts

https://www.useful-ai-tools.com/tools/satellite-analysis-demo/
28•eyasu6464•2d ago•9 comments

Show HN: Open-source browser for AI agents

https://github.com/theredsix/agent-browser-protocol
81•theredsix•6h ago•23 comments

Show HN: Vanilla JavaScript refinery simulator built to explain job to my kids

https://fuelingcuriosity.com/game.html
71•fuelingcurious•4h ago•37 comments

Swiss e-voting pilot can't count 2,048 ballots after decryption failure

https://www.theregister.com/2026/03/11/swiss_evote_usb_snafu/
113•jjgreen•8h ago•266 comments

Fungal Electronics (2021)

https://arxiv.org/abs/2111.11231
47•byt3h3ad•4h ago•5 comments

Launch HN: Prism (YC X25) – Workspace and API to generate and edit videos

https://www.prismvideos.com
27•aliu327•5h ago•14 comments

Lego's 0.002mm specification and its implications for manufacturing (2025)

https://www.thewave.engineer/articles.html/productivity/legos-0002mm-specification-and-its-implic...
322•scrlk•8h ago•273 comments

Launch HN: Sentrial (YC W26) – Catch AI agent failures before your users do

https://www.sentrial.com/
20•anayrshukla•5h ago•7 comments

Building a TB-303 from Scratch

https://loopmaster.xyz/tutorials/tb303-from-scratch
198•stagas•4d ago•80 comments

Show HN: I built an ISP infrastructure emulator from scratch with a custom vBNG

https://aether.saphal.me/dashboard/default
41•saphalpdyl•7h ago•9 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

https://serpapi.com/blog/faster-regular-expression-engines-in-ruby/
60•davidsojevic•10mo ago

Comments

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