frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Boing

https://boing.greg.technology/
148•gregsadetsky•3h ago•27 comments

Zigbook Is Plagiarizing the Zigtools Playground

https://zigtools.org/blog/zigbook-plagiarizing-playground/
85•todsacerdoti•2h ago•12 comments

Bazzite: The next generation of Linux gaming

https://bazzite.gg/
341•doener•8h ago•218 comments

Meshtastic

https://meshtastic.org/
100•debo_•5h ago•19 comments

All it takes is for one to work out

https://alearningaday.blog/2025/11/28/all-it-takes-is-for-one-to-work-out-2/
452•herbertl•10h ago•227 comments

Landlock-Ing Linux

https://blog.prizrak.me/post/landlock/
168•razighter777•9h ago•59 comments

The HTTP Query Method

https://www.ietf.org/archive/id/draft-ietf-httpbis-safe-method-w-body-14.html
119•Ivoah•3d ago•54 comments

Learning Feynman's Trick for Integrals

https://zackyzz.github.io/feynman.html
167•Zen1th•10h ago•19 comments

Americans no longer see four-year college degrees as worth the cost

https://www.nbcnews.com/politics/politics-news/poll-dramatic-shift-americans-no-longer-see-four-y...
187•jnord•7h ago•260 comments

Blender facial animation tool. What else should it do?

https://github.com/shun126/livelinkface_arkit_receiver/wiki
63•happy-game-dev•2d ago•12 comments

Scala

https://www.huygens-fokker.org/scala/
51•onestay42•6h ago•10 comments

Datacenters in space aren't going to work

https://taranis.ie/datacenters-in-space-are-a-terrible-horrible-no-good-idea/
228•mindracer•16h ago•199 comments

A new Little Prince museum has opened its doors in Switzerland

https://www.lepetitprince.com/en/events-around-the-world/a-new-little-prince-museum-has-opened-it...
39•gnabgib•5h ago•11 comments

Matrix Core Programming on AMD CDNA Architecture

https://rocm.blogs.amd.com/software-tools-optimization/matrix-cores-cdna/README.html
15•salykova•4d ago•2 comments

Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's Nano Banana

https://github.com/gavrielc/Nano-PDF
119•GavCo•10h ago•28 comments

Be Like Clippy

https://be-clippy.com/
260•Aloha•11h ago•167 comments

Our Phosphorescent World

https://aeon.co/essays/the-cycling-of-phosphorus-is-the-basis-for-all-life-on-earth
7•the-mitr•5d ago•0 comments

An update on the Farphone's battery

https://far.computer/battery-update/
77•louismerlin•1d ago•52 comments

Rare X-ray images of a 4.5-ton satellite that returned intact from space

https://www.empa.ch/web/s604/eureca-satellit-mit-roentgenmethoden-untersucht
78•giuliomagnifico•3d ago•12 comments

Leak confirms OpenAI is preparing ads on ChatGPT for public roll out

https://www.bleepingcomputer.com/news/artificial-intelligence/leak-confirms-openai-is-preparing-a...
607•fleahunter•19h ago•557 comments

Testing shows automotive glassbreakers can't break modern automotive glass

https://www.core77.com/posts/138925/Testing-Shows-Automotive-Glassbreakers-Cant-Break-Modern-Auto...
107•surprisetalk•15h ago•115 comments

The Origins of Scala (2009)

https://www.artima.com/articles/the-origins-of-scala
66•todsacerdoti•10h ago•37 comments

Show HN: Network Monitor – a GUI to spot anomalous connections on your Linux

109•grigio•5d ago•42 comments

Anthony Bourdain's Lost Li.st's

https://bourdain.greg.technology/
260•gregsadetsky•3d ago•82 comments

Hardening the C++ Standard Library at scale

https://queue.acm.org/detail.cfm?id=3773097
139•ndesaulniers•1w ago•60 comments

Zero knowlege proof of compositeness

https://www.johndcook.com/blog/2025/11/29/zkp-composite/
101•ColinWright•12h ago•32 comments

A new myth appeared during the presidential campaign of Andrew Jackson

https://www.historynewsnetwork.org/article/self-made
30•Petiver•4d ago•62 comments

Stopping bad guys from using my open source project (feedback wanted)

https://evanhahn.com/stopping-bad-guys-from-using-my-open-source-project/
60•emschwartz•5h ago•99 comments

Student perceptions of AI coding assistants in learning

https://arxiv.org/abs/2507.22900
75•victorbuilds•12h ago•99 comments

Bronze Age mega-settlement in Kazakhstan has advanced urban planning, metallurgy

https://archaeologymag.com/2025/11/bronze-age-mega-settlement-in-kazakhstan/
135•CGMthrowaway•1w ago•44 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

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

Comments

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