frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Adobe Photoshop 1.0 Source Code (1990)

https://computerhistory.org/blog/adobe-photoshop-source-code/
155•tosh•4d ago•38 comments

Instant database clones with PostgreSQL 18

https://boringsql.com/posts/instant-database-clones/
77•radimm•4h ago•10 comments

Font with Built-In Syntax Highlighting (2024)

https://blog.glyphdrawing.club/font-with-built-in-syntax-highlighting/
23•california-og•2h ago•3 comments

Show HN: CineCLI – Browse and torrent movies directly from your terminal

https://github.com/eyeblech/cinecli
177•samsep10l•7h ago•69 comments

Carnap – A formal logic framework for Haskell

https://carnap.io/
38•ravenical•3h ago•9 comments

Snitch – A friendlier ss/netstat

https://github.com/karol-broda/snitch
212•karol-broda•11h ago•51 comments

It's Always TCP_NODELAY

https://brooker.co.za/blog/2024/05/09/nagle.html
348•eieio•15h ago•116 comments

The Illustrated Transformer

https://jalammar.github.io/illustrated-transformer/
402•auraham•17h ago•76 comments

What Is (AI) Glaze?

https://glaze.cs.uchicago.edu/what-is-glaze.html
18•weinzierl•1h ago•11 comments

The Polyglot NixOS

https://x86.lol/generic/2025/12/19/polyglot.html
77•todsacerdoti•3d ago•22 comments

Ultrasound Cancer Treatment: Sound Waves Fight Tumors

https://spectrum.ieee.org/ultrasound-cancer-treatment
273•rbanffy•17h ago•82 comments

GLM-4.7: Advancing the Coding Capability

https://z.ai/blog/glm-4.7
360•pretext•18h ago•187 comments

Claude Code gets native LSP support

https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
445•JamesSwift•20h ago•250 comments

10 years bootstrapped: €6.5M revenue with a team of 13

https://www.datocms.com/blog/a-look-back-at-2025
54•steffoz•4h ago•13 comments

NIST was 5 μs off UTC after last week's power cut

https://www.jeffgeerling.com/blog/2025/nist-was-5-μs-utc-after-last-weeks-power-cut
283•jtokoph•19h ago•125 comments

Our New Sam Audio Model Transforms Audio Editing

https://about.fb.com/news/2025/12/our-new-sam-audio-model-transforms-audio-editing/
116•ushakov•6d ago•44 comments

The Duodecimal Bulletin, Vol. 55, No. 1, Year 1209 [pdf]

https://dozenal.org/drupal/sites_bck/default/files/DuodecimalBulletinIssue551.pdf
44•susam•10h ago•11 comments

The Garbage Collection Handbook

https://gchandbook.org/index.html
224•andsoitis•17h ago•27 comments

Debian adds LoongArch as officially supported architecture

https://lists.debian.org/debian-devel-announce/2025/12/msg00004.html
85•cbmuser•3d ago•18 comments

FCC Updates Covered List to Include Foreign UAS and UAS Critical Components [pdf]

https://docs.fcc.gov/public/attachments/DOC-416839A1.pdf
78•Espressosaurus•8h ago•61 comments

Flock Exposed Its AI-Powered Cameras to the Internet. We Tracked Ourselves

https://www.404media.co/flock-exposed-its-ai-powered-cameras-to-the-internet-we-tracked-ourselves/
632•chaps•20h ago•412 comments

What are the best engineering blogs with real-world depth (no fluff)?

70•nishilpatel•2h ago•45 comments

Solving the Problems of HBM-on-Logic

https://morethanmoore.substack.com/p/solving-the-problems-of-hbm-on-logic
4•zdw•5d ago•0 comments

Scaling LLMs to Larger Codebases

https://blog.kierangill.xyz/oversight-and-guidance
267•kierangill•21h ago•99 comments

Remove Black Color with Shaders

https://yuanchuan.dev/remove-black-color-with-shaders
38•surprisetalk•4d ago•10 comments

A centennial look back at Edward Gorey's macabre art and guarded life

https://www.washingtonpost.com/books/2025/12/13/edward-gorey-centennial-gregory-hischak-review/
23•prismatic•6d ago•2 comments

Show HN: Python SDK – forecasting with foundation time-series and tabular models

https://github.com/S-FM/faim-python-client
25•ChernovAndrei•5d ago•7 comments

Universal Reasoning Model (53.8% pass 1 ARC1 and 16.0% ARC 2)

https://arxiv.org/abs/2512.14693
104•marojejian•17h ago•17 comments

FPGAs Need a New Future

https://www.allaboutcircuits.com/industry-articles/fpgas-need-a-new-future/
184•thawawaycold•4d ago•123 comments

The biggest CRT ever made: Sony's PVM-4300

https://dfarq.homeip.net/the-biggest-crt-ever-made-sonys-pvm-4300/
262•giuliomagnifico•23h ago•165 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•7mo 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.