frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Never Buy A .online Domain

https://www.0xsid.com/blog/online-tld-is-pain
157•ssiddharth•43m ago•45 comments

Danish government agency to ditch Microsoft software (2025)

https://therecord.media/denmark-digital-agency-microsoft-digital-independence
362•robtherobber•3h ago•209 comments

Show HN: A real-time strategy game that AI agents can play

https://llmskirmish.com/
106•__cayenne__•4h ago•35 comments

How to fold the Blade Runner origami unicorn (1996)

https://web.archive.org/web/20011104015933/www.linkclub.or.jp/~null/index_br.html
62•exvi•2d ago•0 comments

100M-Row Challenge with PHP

https://github.com/tempestphp/100-million-row-challenge
66•brentroose•3h ago•17 comments

AIs can't stop recommending nuclear strikes in war game simulations

https://www.newscientist.com/article/2516885-ais-cant-stop-recommending-nuclear-strikes-in-war-ga...
36•ceejayoz•1h ago•33 comments

I'm helping my dog vibe code games

https://www.calebleak.com/posts/dog-game/
993•cleak•20h ago•320 comments

LLM=True

https://blog.codemine.be/posts/2026/20260222-be-quiet/
158•avh3•5h ago•104 comments

Claude Code Remote Control

https://code.claude.com/docs/en/remote-control
154•empressplay•6h ago•110 comments

Event Horizon Labs (YC W24) Is Hiring

https://www.ycombinator.com/companies/event-horizon-labs/jobs/xGQicps-founding-infrastructure-eng...
1•ocolegro•2h ago

Pi – A minimal terminal coding harness

https://pi.dev
466•kristianpaul•16h ago•222 comments

Mercury 2: Fast reasoning LLM powered by diffusion

https://www.inceptionlabs.ai/blog/introducing-mercury-2
269•fittingopposite•15h ago•107 comments

Turing Completeness of GNU find

https://arxiv.org/abs/2602.20762
79•todsacerdoti•8h ago•15 comments

Show HN: Moonshine Open-Weights STT models – higher accuracy than WhisperLargev3

https://github.com/moonshine-ai/moonshine
276•petewarden•16h ago•65 comments

Japanese Death Poems

https://www.secretorum.life/p/japanese-death-poems-part-3
75•NaOH•2d ago•22 comments

Cl-kawa: Scheme on Java on Common Lisp

https://github.com/atgreen/cl-kawa
57•varjag•3d ago•15 comments

Mac mini will be made at a new facility in Houston

https://www.apple.com/newsroom/2026/02/apple-accelerates-us-manufacturing-with-mac-mini-production/
556•haunter•17h ago•561 comments

Hacking an old Kindle to display bus arrival times

https://www.mariannefeng.com/portfolio/kindle/
301•mengchengfeng•18h ago•75 comments

I pitched a roller coaster to Disneyland at age 10 in 1978

https://wordglyph.xyz/one-piece-at-a-time
496•wordglyph•1d ago•179 comments

Show HN: Scheme-langserver – Digest incomplete code with static analysis

https://github.com/ufo5260987423/scheme-langserver
16•ufo5260987423•1d ago•0 comments

Nearby Glasses

https://github.com/yjeanrenaud/yj_nearbyglasses
374•zingerlio•20h ago•161 comments

Show HN: Emdash – Open-source agentic development environment

https://github.com/generalaction/emdash
179•onecommit•20h ago•63 comments

Steel Bank Common Lisp

https://www.sbcl.org/
237•tosh•19h ago•98 comments

Confusables.txt and NFKC disagree on 31 characters

https://paultendo.github.io/posts/unicode-confusables-nfkc-conflict/
3•pimterry•2d ago•0 comments

Amazon accused of widespread scheme to inflate prices across the economy

https://www.thebignewsletter.com/p/amazon-busted-for-widespread-price
536•toomuchtodo•13h ago•195 comments

Half million 'Words with Spaces' missing from dictionaries

https://www.linguabase.org/words-with-spaces.html
92•gligierko•1d ago•174 comments

Running RISC-V in a VM to test my snaps

https://blog.popey.com/2026/02/running-risc-v-in-a-vm-to-test-my-snaps/
13•jandeboevrie•3d ago•0 comments

Anthropic Drops Flagship Safety Pledge

https://time.com/7380854/exclusive-anthropic-drops-flagship-safety-pledge/
456•cwwc•13h ago•218 comments

Cell Service for the Fairly Paranoid

https://www.cape.co/
129•0xWTF•15h ago•122 comments

Hugging Face Skills

https://github.com/huggingface/skills
183•armcat•20h ago•53 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

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

Comments

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