frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Meta’s new commercial terms will allow the scraping of news sites: experts

https://www.niemanlab.org/2026/10/metas-new-commercial-terms-will-allow-the-scraping-of-news-site...
261•0in•9h ago•93 comments

Muse Spark Open

https://research.meta.ai/blog/muse-spark-open
793•bigwheels•14h ago•396 comments

Woman who rescued injured crow keeps getting 'thank-you gifts' from birds [video]

https://www.youtube.com/watch?v=sjNpfz4UzqU
235•johnnyApplePRNG•3d ago•55 comments

Last rites for Gentoo's Chromium package

https://lwn.net/Articles/1097760/
46•signa11•3h ago•25 comments

New York City's iconic horse-drawn carriages expected to take their last trot

https://www.cnn.com/2026/10/13/us/nyc-horse-carriage-ban
24•1659447091•2d ago•12 comments

RPKI now protects 70% of internet routes

https://ipinfo.io/blog/rpki-protects-70-internet-routes
145•emot•7h ago•42 comments

The Folders Programming Language

https://danieltemkin.com/esolangs/folders
39•gurst•3h ago•4 comments

Neural networks are clean

https://already-clean.goodfire.com/
669•themgt•16h ago•248 comments

'500-hour' Order of the Sinking Star is as complex and exhausting as it sounds

https://www.polygon.com/order-of-the-sinking-star-impressions/
130•cvoss•2d ago•76 comments

What I self-host

https://viceconsole.fyi/blog/2026/10/10/what-i-self-host/
459•BrunoBernardino•12h ago•291 comments

New Withings Users Must Pay $99/Year for Apple Health Syncing

https://support.withings.com/hc/en-us/community/posts/51887047154577-Unacceptable-Apple-Health-Sy...
276•johnbehnke•12h ago•178 comments

Wayland desktop for Linux with skeuomorphic design

https://github.com/fyzugx/DEsk
597•FinalDestiny•19h ago•236 comments

Apple routed a graphite pipe through the iPhone Duo's hinge to dissipate heat

https://www.pcmag.com/news/apple-routed-a-graphite-pipe-through-the-iphone-duos-hinge
129•giuliomagnifico•3d ago•88 comments

Jev meets the Trolley Problem

https://zachlandes.com/trolley-problem/
442•zlandes86•16h ago•187 comments

BIPM decides to stop adding leap seconds to UTC

https://www.bipm.org/en/cgpm-2026/resolution-5
169•gliffie•16h ago•77 comments

Any window from your Mac, on your iPhone and iPad

https://github.com/Saffsanity/sill
137•chanana•6h ago•30 comments

The insider trading you're allowed to do

https://coached.com/essays/the-insider-trading-youre-allowed-to-do/
5•rohanm93•1h ago•1 comments

Casio F-91W using Statecharts

https://github.com/dundalek/casio-f91w-fsm
29•austinallegro•3d ago•8 comments

Someone on Torrent Sites Kept Fucking with My Sonarr

https://thereallo.dev/blog/someone-on-torrent-sites-kept-fucking-with-my-sonarr-setup
332•speckx•13h ago•149 comments

Celebrating 70 Years of Fortran

https://fortran-lang.org/news/2026/09-15-Fortran-birthday/
269•rbanffy•17h ago•110 comments

Krea 3 – An image model built for editing at scale

https://www.krea.ai/krea-3
302•dvrp•16h ago•96 comments

Comparing Chromium Development at Google and Igalia

https://lwn.net/Articles/1094721/
41•signa11•6h ago•13 comments

Porsche Mission S

https://www.porsche.com/international/models/mission-s/
18•porphyra•5h ago•32 comments

Two-Stack Sliding-Window Aggregation

https://orlp.net/blog/two-stack-sliding-window-aggregation/
3•surprisetalk•2d ago•0 comments

BeBox is a Haiku application that emulates Be Inc.'s BeBox

https://github.com/johnrash/bebox
57•rguiscard•9h ago•14 comments

Thank You, Deno

https://www.vlt.io/blog/competition-keeps-javascript-moving
70•jcbhmr•7h ago•12 comments

Why I Wrote PGP (1991, revised 1999)

https://philzimmermann.com/EN/essays/WhyIWrotePGP.html
154•GaryBluto•1d ago•54 comments

Libreboot 26.10 "Ominous Olive" released with UEFI, Chromebook support

https://libreboot.org/news/libreboot2610.html
283•iamnothere•19h ago•170 comments

Delta’s Biscoff cookies were supposed to be temporary

https://www.seriouseats.com/biscoff-history-12168161
216•mhb•2d ago•169 comments

Major ICQ security hole (1998)

https://opennet.ru/base/maillist/169.txt.html
81•sysoleg•2d ago•43 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.