frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Please don't spam people looking for employment. It's just cruel

342•IliaLitviak•54m ago•73 comments

Why Janet? (2023)

https://ianthehenry.com/posts/why-janet/
282•yacin•5h ago•134 comments

Adafruit Receives Demand Letter from Fenwick Legal Counsel on Behalf of Flux.ai

https://blog.adafruit.com/
325•semanser•4h ago•112 comments

Expanding Project Glasswing

https://www.anthropic.com/news/expanding-project-glasswing
48•surprisetalk•1h ago•35 comments

Fidonet: Technology, Use, Tools, and History (1993)

https://www.fidonet.org/inet92_Randy_Bush.txt
23•BruceEel•57m ago•7 comments

Apple rejected my dictation app for using the accessibility API

https://www.mitmllc.com/blog/apple-rejected-my-dictation-app/
153•RZelaya•2h ago•94 comments

A walking tour of surveillance infrastructure in Seattle

https://coveillance.org/a-walking-tour-of-surveillance-infrastructure-in-seattle/
34•eustoria•1h ago•4 comments

You Don't Love Systemd Timers Enough

https://blog.tjll.net/you-dont-love-systemd-timers-enough/
119•yacin•5h ago•66 comments

CSS-Native Parallax Effect

https://dan-webnotes.com/posts/2026-06-02-css-native-parallax-effect/
73•dandep•4h ago•35 comments

The newest Instagram “exploit” is the goofiest I've seen

https://www.0xsid.com/blog/meta-account-takeover-fiasco
2002•ssiddharth•22h ago•445 comments

Can the stockmarket swallow Anthropic, SpaceX and OpenAI?

https://www.economist.com/finance-and-economics/2026/06/01/can-the-stockmarket-swallow-anthropic-...
533•1vuio0pswjnm7•15h ago•909 comments

Great Question (YC W21) Is Hiring Applied AI Interns

https://www.ycombinator.com/companies/great-question/jobs/J5TNvQH-ai-engineer-intern
1•nedwin•2h ago

Muxcard, a dyi credit card size computer

https://github.com/krauseler/muxcard
157•sargstuff•2d ago•45 comments

macOS needs its grid back

https://blog.hopefullyuseful.com/blog/macos-needs-its-grid-back/
331•ranebo•13h ago•195 comments

Webcam head tracking, webcam to control in‑game FOV

https://www.openfov.com/
42•mwit2023•3d ago•27 comments

AI Doesn't Have ROI

https://www.wheresyoured.at/ai-doesnt-have-roi/
22•crescit_eundo•44m ago•1 comments

Show HN: Eyeball

https://eyeball.rory.codes/
60•mrroryflint•5h ago•30 comments

Martin Scorsese Is Embracing A.I

https://www.nytimes.com/2026/06/02/business/media/martin-scorsese-artificial-intelligence.html
38•stephen37•1h ago•35 comments

CQL: Categorical Databases

https://categoricaldata.net/
71•noworriesnate•3d ago•22 comments

Stop Ruining It

https://seths.blog/2026/06/stop-ruining-it/
65•herbertl•4h ago•24 comments

Reviving Teletext for Ham Radio

https://spectrum.ieee.org/reviving-teletext-for-ham-radio
6•yarapavan•3d ago•0 comments

OpenAI frontier models and Codex are now available on AWS

https://openai.com/index/openai-frontier-models-and-codex-are-now-available-on-aws/
324•typpo•17h ago•111 comments

Chipotlai Max

https://github.com/cyberpapiii/chipotlai-max
301•nigelgutzmann•15h ago•51 comments

Strace-ui, Bonsai_term, and the TUI renaissance

https://blog.janestreet.com/strace-ui-bonsai-term-and-the-tui-renaissance/
99•matt_d•10h ago•55 comments

Why Custom Attributes in .NET Give Me Nightmares

https://blog.washi.dev/posts/custom-attributes-and-why-they-suck/
13•jandeboevrie•2d ago•2 comments

Debug Project

https://debug.com/
252•Eridanus2•18h ago•100 comments

CS336: Language Modeling from Scratch

https://cs336.stanford.edu/
517•kristianpaul•1d ago•49 comments

AI Agent Guidelines for CS336 at Stanford

https://github.com/stanford-cs336/assignment1-basics/blob/main/CLAUDE.md
461•prakashqwerty•22h ago•143 comments

Should you normalize RGB values by 255 or 256?

https://30fps.net/pages/255-vs-256-division/
295•pplanu•21h ago•124 comments

How is Groq raising more money?

https://www.zach.be/p/how-the-hell-is-groq-raising-more
136•hasheddan•13h ago•59 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.