frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Japan develops a method to recover up to 90% of lithium from used EV batteries

https://tech.supercarblondie.com/japan-recovers-up-to-90-of-lithium-from-used-ev-batteries/
534•donohoe•8h ago•133 comments

Alternative(s) to run CUDA on non-Nvidia hardware

https://www.hpcwire.com/2026/07/09/spectral-compute-aims-to-set-cuda-free-will-it-succeed/
56•alok-g•2h ago•30 comments

The git history command

https://lalitm.com/post/git-history/
327•turbocon•10h ago•190 comments

Australian energy retailers must provide three hours of free daytime electricity

https://lenergy.com.au/free-daytime-electricity-is-coming-heres-how-it-actually-works/
125•i2oc•6h ago•192 comments

Indian scientists produce most detailed 3D atlas of the human brainstem

https://www.bbc.com/news/articles/cg53l737v1qo
69•BaudouinVH•4h ago•4 comments

YouTrackDB is a general-use object-oriented graph database

https://github.com/JetBrains/youtrackdb
134•gjvc•7h ago•41 comments

Notable Knot Index (2016)

https://knots.neocities.org/knotindex
17•surprisetalk•4d ago•2 comments

Building and shipping Mac and iOS apps without opening Xcode

https://scottwillsey.com/building-and-shipping-mac-and-ios-apps-without-ever-opening-xcode/
490•speckx•16h ago•209 comments

Fundamentals of Wireless Communication (2005)

https://web.stanford.edu/~dntse/wireless_book.html
141•teleforce•9h ago•6 comments

How to build a circular LCD clock

https://blinry.org/lcd-clock/
87•birdculture•2d ago•34 comments

Just Let Me Write Digits

https://gendx.dev/blog/2026/07/13/input-digits.html
49•brandon_bot•5h ago•12 comments

Understanding the Go Runtime: Profiling

https://internals-for-interns.com/posts/go-runtime-profiling/
13•valyala•6d ago•6 comments

The Economics of Recursive Self-Improvement [pdf]

https://elasticity.institute/rsi-paper.pdf
104•apsec112•9h ago•41 comments

An Englishwoman who sketched India before photography took hold

https://www.bbc.com/news/articles/cm2drrv6q54o
165•1659447091•12h ago•51 comments

Zero Knowledge Tolstoyan Art

https://max-amb.github.io/blog/zero_knowledge_tolstoyan_art/
25•max-amb•2d ago•8 comments

Is x86 ready to ACE it?

https://chipsandcheese.com/p/is-x86-ready-to-ace-it
84•mfiguiere•9h ago•15 comments

Satellite Tracker – Live Map of Starlink and 30k Satellites

https://satellitemap.space/
97•rolph•9h ago•51 comments

Your 'App' Could Have Been a Webpage (so I fixed it for you)

https://danq.me/2026/07/09/your-app-could-have-been-a-webpage/
4•MrVandemar•3d ago•0 comments

World-First 'Super Alloy' Could Transform the Way Metals Are Made

https://www.sciencealert.com/world-first-super-alloy-could-transform-the-way-metals-are-made
72•tejohnso•4d ago•44 comments

MorphoHDL: A minimalistic language for growing circuits

https://paradigms-of-intelligence.github.io/morpho/
75•jacktang•10h ago•8 comments

The infinite scroll may become endangered if controversial Calif. law passes

https://www.sfgate.com/politics/article/meta-social-media-teenagers-22337724.php
180•Stratoscope•16h ago•306 comments

Writing a bindless GPU abstraction layer

https://www.kevin-gibson.com/blog/writing-a-bindless-gpu-abstraction-layer/
58•surprisetalk•4d ago•7 comments

Nokia’s years of mobile-phone supremacy ended in an afternoon

https://spectrum.ieee.org/nokia-phones-history
133•jruohonen•21h ago•96 comments

Two Case Studies of NaN

https://sebsite.pw/w/20260709-nan.html
22•ryantsuji•4d ago•8 comments

What are Forward Deployed Engineers, and why are they so in demand? (2025)

https://newsletter.pragmaticengineer.com/p/forward-deployed-engineers
75•saisrirampur•11h ago•80 comments

Jektex 0.2.0 – A Jekyll plugin for LaTeX rendering is now ~10x faster

https://github.com/yagarea/jektex
22•yagarea•2d ago•2 comments

Linux 0.11 rewritten in idiomatic Rust, boots in QEMU

https://github.com/Poseidon-fan/linux-0.11-rs
109•arto•15h ago•101 comments

Linux on the Sega 32X. Who needs hardware synchronization primitives anyway?

https://cakehonolulu.github.io/linux-on-32x/
136•cakehonolulu•16h ago•29 comments

Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop

https://github.com/clawkwork/clawk
203•celrenheit•21h ago•153 comments

Precursor

https://blog.cloudflare.com/introducing-precursor/
188•AznHisoka•20h ago•151 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.