frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ticker: Don't Die of Heart Disease

https://myticker.com/
97•colelyman•2h ago•40 comments

Zig is so cool, C is cooler

https://github.com/little-book-of/c/blob/main/articles/zig-is-cool-c-is-cooler.md
42•tamnd•2h ago•3 comments

Cloudflare Scrubs Aisuru Botnet from Top Domains List

https://krebsonsecurity.com/2025/11/cloudflare-scrubs-aisuru-botnet-from-top-domains-list/
9•jtbayly•53m ago•0 comments

Btop: A better modern alternative of htop with a gamified interface

https://github.com/aristocratos/btop
79•vismit2000•2h ago•57 comments

An Algebraic Language for the Manipulation of Symbolic Expressions (1958) [pdf]

https://softwarepreservation.computerhistory.org/LISP/MIT/AIM-001.pdf
21•swatson741•2h ago•1 comments

AI benchmarks are a bad joke – and LLM makers are the ones laughing

https://www.theregister.com/2025/11/07/measuring_ai_models_hampered_by/
134•pseudolus•3h ago•58 comments

C++ move semantics from scratch (2022)

https://cbarrete.com/move-from-scratch.html
18•todsacerdoti•5d ago•1 comments

Why is Zig so cool?

https://nilostolte.github.io/tech/articles/ZigCool.html
435•vitalnodo•18h ago•360 comments

Valdi – A cross-platform UI framework that delivers native performance

https://github.com/Snapchat/Valdi
398•yehiaabdelm•17h ago•157 comments

Making Democracy Work: Fixing and Simplifying Egalitarian Paxos

https://arxiv.org/abs/2511.02743
108•otrack•9h ago•30 comments

My friends and I accidentally faked the Ryzen 7 9700X3D leaks

https://old.reddit.com/r/pcmasterrace/comments/1orc6jl/my_friends_and_i_accidentally_faked_the_ry...
216•djrockstar1•5h ago•59 comments

52 Year old data tape could contain Unix history

https://www.theregister.com/2025/11/07/unix_fourth_edition_tape_rediscovered/
16•rbanffy•1h ago•2 comments

Friendly attributes pattern in Ruby

https://brunosutic.com/blog/ruby-friendly-attributes-pattern
77•brunosutic•5d ago•42 comments

Cekura (YC F24) Is Hiring

1•atarus•5h ago

Computational Complexity of Air Travel Planning (2003) [pdf]

http://www.ai.mit.edu/courses/6.034f/psets/ps1/airtravel.pdf
28•arnon•4d ago•1 comments

Reverse engineering a neural network's clever solution to binary addition (2023)

https://cprimozic.net/blog/reverse-engineering-a-small-neural-network/
40•Ameo•4d ago•8 comments

Myna: Monospace typeface designed for symbol-heavy programming languages

https://github.com/sayyadirfanali/Myna
326•birdculture•22h ago•157 comments

Immutable Software Deploys Using ZFS Jails on FreeBSD

https://conradresearch.com/articles/immutable-software-deploy-zfs-jails
132•vermaden•16h ago•40 comments

Dark mode by local sunlight (2021)

https://www.ctnicholas.dev/articles/dark-mode-by-sunlight
27•gaws•5d ago•32 comments

How did I get here?

https://how-did-i-get-here.net/
258•zachlatta•21h ago•51 comments

Why I love OCaml (2023)

https://mccd.space/posts/ocaml-the-worlds-best/
362•art-w•1d ago•256 comments

Nubeian Translation for Childhood Songs by Hamza El Din

https://nubianfoundation.org/translations/
5•tzury•6d ago•0 comments

The Initial Ideal Customer Profile Worksheet

https://www.reifyworks.com/writing/2023-01-30-iicp
74•mrbbk•4d ago•7 comments

Mullvad: Shutting down our search proxy Leta

https://mullvad.net/en/blog/shutting-down-our-search-proxy-leta
156•holysoles•16h ago•110 comments

Cerebras Code now supports GLM 4.6 at 1000 tokens/sec

https://www.cerebras.ai/code
134•nathabonfim59•17h ago•93 comments

Authorities Shut Down Film Festival in New York

https://www.hrw.org/news/2025/11/07/china-authorities-shut-down-film-festival-in-new-york
10•ilamont•1h ago•2 comments

YouTube Removes Windows 11 Bypass Tutorials, Claims 'Risk of Physical Harm'

https://news.itsfoss.com/youtube-removes-windows-11-bypass-tutorials/
784•WaitWaitWha•20h ago•331 comments

Ruby already solved my problem

https://newsletter.masilotti.com/p/ruby-already-solved-my-problem
246•joemasilotti•22h ago•109 comments

Apple is crossing a Steve Jobs red line

https://kensegall.com/2025/11/07/apple-is-crossing-a-steve-jobs-red-line/
459•zdw•21h ago•372 comments

Apple's "notarisation" – blocking software freedom of developers and users

https://fsfe.org/news/2025/news-20251105-01.en.html
215•DavideNL•11h ago•130 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

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

Comments

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