frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

iCloud+ Hide My Email addresses will remain on icloud.com

https://developer.apple.com/news/?id=1ptvdtcm
421•K7PJP•9h ago•114 comments

Nostr is an inclusive communication commons

https://nostr.org/
121•Bluestein•2d ago•44 comments

Xiaomi: New CPU matches Apple cores single threaded, much faster multithreaded

https://twitter.com/lemire/status/2091894299289874926
843•tosh•17h ago•598 comments

MS Paint and Photos inivisibly watermark even locally generated output with GUID

https://xusheng.dev/posts/reversing/mspaint_invisible_watermark/main/
688•ComputerGuru•16h ago•276 comments

How Universities Should Prepare Founders

https://paulgraham.com/prepare.html
101•gmays•6h ago•128 comments

Headlong: A Microharness for Persistent Agents

https://www.laude.org/updates/headlong-a-microharness-for-persistent-agents
49•lbw1215•4h ago•15 comments

How Europe is killing makers and micro-entrepreneurs

https://lectronz.com/u/lectronz/articles/how-europe-is-killing-makers-and-micro-entrepreneurs
1285•l-one-lone•19h ago•778 comments

SiFive's First Server Platform

https://chipsandcheese.com/p/sifives-first-server-platform
37•geerlingguy•5h ago•7 comments

Show HN: Screen memory without screenshots, just text to Markdown

https://github.com/dragthelake/ambient-context
35•Dramatize•3h ago•13 comments

Moon (2024)

https://ciechanow.ski/moon/
169•simonebrunozzi•10h ago•31 comments

The entire city of San Francisco as a video game

https://sf.thijs.gg/
441•centrosphere•15h ago•139 comments

Bookshelf – Self-hosted eBook library that runs on object storage

https://github.com/murerkinn/bookshelf
87•arbayi•9h ago•32 comments

What's new in Emacs 31.1

https://www.masteringemacs.org/article/whats-new-in-emacs-311
113•geospeck•19h ago•23 comments

Was modern art a CIA psy-op? (2020)

https://daily.jstor.org/was-modern-art-really-a-cia-psy-op/
69•neom•6h ago•83 comments

Where did all the public bathrooms go?

https://daily.jstor.org/where-did-all-the-public-bathrooms-go/
223•herbertl•15h ago•513 comments

Training AI to Paint with Code

https://surya.website/rling-qwen-to-paint-with-code
81•Tiberium•1d ago•7 comments

Jabber/XMPP: 25 Years of Digital Independence

https://gultsch.de/posts/25-years-of-digital-independence/
219•inputmice•16h ago•113 comments

Show HN: I wrote a BASIC interpreter that boots on UEFI machines

https://tarjan.itch.io/thoreaubasic
47•Gorsefound•1d ago•11 comments

Vintage Artificial Intelligence: Before It Got Awkward

https://blog.archive.org/2026/08/16/vintage-artificial-intelligence-before-it-got-awkward/
86•signor_bosco•11h ago•18 comments

Peppermint oil reduces blood pressure by 8.48 mmHg in small study

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0344538
146•brandonb•17h ago•71 comments

Crafting QR Codes: A deep dive into QR code art (2024)

https://kylezhe.ng/writes/crafting-qr-codes
56•subset•17h ago•1 comments

Octopus intelligence may be related to never-before-seen mutation

https://www.smithsonianmag.com/smart-news/why-are-some-octopuses-so-smart-the-answer-might-lie-in...
146•bookofjoe•14h ago•106 comments

Walgit – a Git server that is one binary in front of an object store

https://github.com/tobi/walgit
73•matallo•17h ago•11 comments

LLMs could control their host machines by exploiting inference engines

https://boydkane.com/essays/llms-could-control-their-host-machines-by-exploiting-inference-engines
133•zdw•13h ago•64 comments

Volcanoes that made history

https://knowablemagazine.org/content/article/physical-world/2026/volcanoes-that-made-history
4•flabber•3h ago•0 comments

SeL4 security proofs now complete on AArch64

https://proofcraft.systems/news-2026/#2026-08-21
186•snvzz•20h ago•42 comments

I were 17, I'd learn how to build LLMs from scratch

https://twitter.com/paulg/status/2091544343589060625
540•bilsbie•1d ago•621 comments

Oceans hit highest temperature on record

https://www.bbc.com/news/articles/c62m4gpnp78o
523•tcp_handshaker•12h ago•419 comments

Autostep (YC P26) Is Hiring AI/Fullstack Engineers and a Chief of Staff

https://app.dover.com/Autostep/careers/e9510e3b-a854-4e48-9e5d-c89796acaed4
1•adawg4•14h ago

Thomson Reuters Launches Its Own Frontier Model

https://www.thomsonreuters.com/en/press-releases/2026/august/thomson-reuters-leverages-its-world-...
96•giuliomagnifico•5h ago•38 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.