News for hackers. Stuff that matters.

beeb

So does an amber script after it's been compiled, that's the whole point. You can tweak it and inspect it if you want. Realistically though you'll probably regenerate it and copy the new compiled version over. But you can do both.
Re:Ask HN: What are you working on? (June 2026) on Sunday June 14, 2026 @02:04PM (#48530523)
I'm working on a search-and-replace TUI with case-awareness and a good preview.

https://github.com/beeb/swpui

Re:Every Frame Perfect on Saturday June 13, 2026 @02:12PM (#48519889)
All I can think seeing those examples is how macOS went from beautiful to utterly jank in the last 10 years.

Show HN: Swpui, a TUI for case-aware search and replace

https://github.com/beeb/swpui

Presentation article: https://beeb.li/blog/introducing-swpui Codeberg mirror: https://codeberg.org/beeb/swpuiI've been working on a TUI to suit my terminal IDE workflow after I noticed the most promising alternative stopped being maintained and had too many bugs.The tool is implemented in Rust using the Ratatui library and focuses on being ergonomic, fast and provide case-aware replacement.The...

( Read More... | 1 comment | 2 points | on HN )
Re:nowhere: an entire website encoded in a URL on Friday April 24, 2026 @11:08AM (#47891309)
Oh the irony
Re:Fish Shell Tips and Tricks on Monday January 05, 2026 @01:19AM (#46495847)
A collection of tips and tricks for the fish shell I wish I had known about a long time ago.
Re:A million ways to die from a data race in Go on Tuesday November 25, 2025 @01:49AM (#46043021)
I would argue it doesn't help that all errors are usually named `err` and sprinkled every third line of code in Go. It's an easy mistake to make to assign to an existing variable instead of create a new variable, especially if you frequently switch between languages (which might not have the `:=` operator).
Re:Shai-Hulud Returns: Over 300 NPM Packages Infected on Monday November 24, 2025 @07:09AM (#46033222)
decencies?
I used poetry professionally for a couple of years and hit so many bugs, it was definitely not a smooth experience. Granted that was probably 3-4 years ago.
Re:Optimizing Text Offset Calculations on Saturday October 18, 2025 @04:14PM (#45630065)
A tale of optimization for an algorithm that turns byte offsets into line and column numbers, and UTF-16 offsets. The final implementation leverages SIMD and fixes several inefficiencies in the original solution.
Re:Find SF parking cops on Wednesday September 24, 2025 @05:07AM (#45357927)
dop-spotter is next
People aren't on these hosted platforms only for the git experience, they are for the social aspects and discoverability too.
Re:Cow vs. Water Buffalo Mozzarella on Wednesday August 06, 2025 @12:06PM (#44813865)
The Italians I know swear that mozzarella should be consumed within a day of being made. And I must say that freshly made mozzarella tastes best! But also maybe because what I can get fresh was made with love and good quality milk, as opposed to the supermarket stuff.
Not really, I also live in Switzerland and would have access to equivalent plans where I live :P
That's crazy, 200M asymmetric for 60 EUR is robbery.
Wow the US really has it bad when it comes to home internet. In many European countries, you can get symmetric Gbit internet for 30-40 EUR (probably less in some places), and I haven't seen a data cap in forever.
The fact that the bug slipped through the cracks highlights the importance of sane defaults.
Rust would warn you of an unused variable: "warning: value assigned to `psize` is never read"
Re:Atuin – Magical Shell History on Tuesday June 24, 2025 @07:26AM (#44364976)
Opt-in sync with (self-hosted) server, no machine learning. Otherwise probably similar
Re:Atuin – Magical Shell History on Tuesday June 24, 2025 @07:16AM (#44364910)
Ability to change the search mode (prefix, full text, fuzzy), and filter by path/host, time range, exit code, current session only, and more
It makes it easy to find performant and quality software by searching for "[insert tool description] rust", I personally don't mind! Seeing how 95% of the tools I use on the daily are written in Rust, I love finding new ones and am rarely disappointed.

Show HN: Lintspec, a Solidity NatSpec Linter

https://github.com/beeb/lintspec

Lintspec is a code linter which checks the validity of NatSpec (doc-comments) in Solidity source code. It's written in Rust and focuses on speed and ergonomics.I was not really happy with the existing `natspec-smells` tool which was super slow and error'd often.Would love some feedback from Solidity developers!

( Read More... | no comments | on HN )
At least for Plausible, they state this (https://plausible.io/blog/google-analytics-cookies):

> Instead of tagging users with cookies, we count the number of unique IP addresses that accessed your website. Counting IP addresses is an old-school method that was used before the modern age of JavaScript snippets and tracking cookies.

Since IP addresses are considered personal data under GDPR, we anonymize them using a one-way cryptographic hash function. This generates a random string of letters and numbers that is used to calculate unique visitor numbers for the day. Old salts are deleted to avoid the possibility of linking visitor information from one day to the next. We never store IP addresses in our database or logs.

Re:Rust for AWS Lambda, the Docker Way on Tuesday November 26, 2024 @04:43PM (#42250378)
This has been my experience as well, there was little to no impact on execution time at least.
Re:Rust for AWS Lambda, the Docker Way on Tuesday November 26, 2024 @04:42PM (#42250364)
Those are great tips! I'll have a look at the axum shim, which certainly would help if using axum in the first place. Minimal functions like we have at my work rarely need a fully featured framework however.
Re:Rust for AWS Lambda, the Docker Way on Tuesday November 26, 2024 @04:40PM (#42250347)
Good question! I ran some benchmarks before because I was also curious and besides some slightly larger standard deviation for cold starts execution time, there was so significant difference in performance when using docker.
Re:France's oldest treasure hunt has been solved on Thursday October 03, 2024 @08:56AM (#41730347)

Older »