frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Building from zero after addiction, prison, and a felony

https://gavinray97.github.io/blog/building-from-zero-after-addiction-prison-felony
376•gavinray•6h ago•165 comments

Show HN: I Derived a Pancake

https://www.absurdlyoptimized.com/recipes/pancakes/
99•bkazez•2d ago•33 comments

Making peace with your unlived dreams (2023)

https://nik.art/making-peace-with-your-unlived-dreams/
134•herbertl•6h ago•63 comments

The Smallest Brain You Can Build: A Perceptron in Python

https://ranpara.net/posts/perceptron-explained-from-scratch/
6•DevarshRanpara•26m ago•1 comments

Learn PHP in 2026 (Yes, Really)

https://fagnerbrack.com/learn-php-in-2026-yes-really-bd567753dd84
20•shantnutiwari•3d ago•12 comments

How's Linear so fast? A technical breakdown

https://performance.dev/how-is-linear-so-fast-a-technical-breakdown
276•howToTestFE•5h ago•148 comments

Do we fear the serializable isolation level more than we fear subtle bugs (2024)

https://blog.ydb.tech/do-we-fear-the-serializable-isolation-level-more-than-we-fear-subtle-bugs-5...
46•b-man•4d ago•21 comments

What is the purpose of the lost+found folder in Linux and Unix? (2014)

https://unix.stackexchange.com/questions/18154/what-is-the-purpose-of-the-lostfound-folder-in-lin...
127•tosh•2d ago•49 comments

Powering up a module from the IBM 604: an electronic calculator from 1948

https://www.righto.com/2026/06/ibm-604-thyraton-tube-module.html
70•elpocko•7h ago•22 comments

My automated doubt development process

https://www.alexself.dev/blog/automated-doubt
55•aself101•6h ago•17 comments

LLMs are eroding my software engineering career and I don't know what to do

https://human-in-the-loop.bearblog.dev/llms-are-eroding-my-software-engineering-career-and-i-dont...
786•poisonfountain•12h ago•765 comments

Show HN: Lathe – Use LLMs to learn a new domain, not skip past it

https://github.com/devenjarvis/lathe
236•devenjarvis•13h ago•43 comments

The 29th International Obfuscated C Code Contest (IOCCC) 2025 Winners

https://www.ioccc.org/2025/
359•matt_d•19h ago•88 comments

Office-open-xml-viewer: Office XML document viewer that renders to HTML Canvas

https://github.com/yukiyokotani/office-open-xml-viewer
116•maxloh•7h ago•45 comments

Cloning a Sennheiser BA2015 battery pack

https://blog.brixit.nl/cloning-a-sennheiser-ba2015-accu-pack/
103•zdw•1d ago•17 comments

Firefox Merges Support for Vulkan Video Decoding

https://www.phoronix.com/news/Firefox-Vulkan-Video-Merged
37•Bender•2h ago•2 comments

Backrest – a web UI and orchestrator for restic backup

https://github.com/garethgeorge/backrest
82•flexagoon•5d ago•6 comments

Podman 6: machine usability improvements (2025)

https://blog.podman.io/2025/10/podman-6-machine-usability-improvements/
98•daesorin•10h ago•6 comments

Anthropic, please ship an official Claude Desktop for Linux

https://github.com/anthropics/claude-code/issues/65697
446•predkambrij•11h ago•254 comments

Proliferate (YC S25) is hiring to building open source Codex

https://www.ycombinator.com/companies/proliferate/jobs/L3copvK-founding-engineer
1•pablo24602•7h ago

A visual introduction to kernel functions

https://kelvinpaschal.com/blog/kernel-functions/
30•Kelvinidan•2d ago•6 comments

Splash Is a Colour Format

https://www.todepond.com/lab/splash/
50•tobr•4d ago•63 comments

An Ohio Valley 100k-watt FM signal is severed in broad daylight

https://www.radioworld.com/news-and-business/headlines/an-ohio-valley-100000-watt-fm-signal-is-se...
141•pkaeding•23h ago•137 comments

Why isn't the U.S. better at soccer?

https://www.natesilver.net/p/why-isnt-the-us-better-at-soccer
62•7777777phil•5h ago•161 comments

I design with Claude more than Figma now

https://blog.janestreet.com/i-design-with-claude-code-more-than-figma-now-index/
258•MrBuddyCasino•19h ago•231 comments

A Fundamental Principle of Aeronautical Engineering Has Been Overturned

https://www.tohoku.ac.jp/japanese/2026/05/press20260512-02-DMR.html
25•mhb•5d ago•18 comments

US troops, families adjust to new normal of Iran war

https://www.reuters.com/business/aerospace-defense/us-troops-families-adjust-to-new-normal-iran-w...
12•petethomas•1h ago•2 comments

Win16 Memory Management

http://www.os2museum.com/wp/win16-memory-management/
129•supermatou•2d ago•67 comments

The gamers taking on the industry to stop it switching off games

https://www.bbc.com/news/articles/c8e8e7g0r82o
113•Brajeshwar•8h ago•126 comments

The complete IPv4 address space, mapped

https://worldip.io/
37•theanonymousone•6h ago•15 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.