HNHacker News
TopNewBestAskShowJobs

darthShadow

2,025 karma · joined March 14, 2019

https://github.com/darthShadow
submissionscomments
darthShadow··on Bun's Rust rewrite has been merged
Duplicate: https://news.ycombinator.com/item?id=48132488
darthShadow··on 4x faster network file sync with rclone (vs rsync) (2025)
> doesn't honor dropbox's retry-after header

That hasn't been true for more than 8 years now.

Source: https://github.com/rclone/rclone/blob/9abf9d38c0b80094302281...

And the PR adding it: https://github.com/rclone/rclone/pull/2622

darthShadow··on We built a cloud GPU notebook that boots in seconds
Just curious, was something like https://github.com/containerd/stargz-snapshotter considered/evaluated before designing your own lazily-loaded container FS and if so, any pros/cons for the same?
darthShadow··on The madness of SaaS chargebacks
Visa/MasterCard/Amex already support such a facility in India due to RBI requirements. Doesn't seem too difficult to adapt similar functionality for other countries too, if the regulations are updated to require it.

* https://www.visa.co.in/about-visa/newsroom/press-releases/vi... * https://pgi.billdesk.com/web/sihub

darthShadow··on A 14kb page can load much faster than a 15kb page (2022)
* https://sirupsen.com/napkin/problem-15

* https://www.cdnplanet.com/blog/initcwnd-settings-major-cdn-p...

darthShadow··on Supercharge SQLite with Ruby Functions
These may be useful reading:

https://github.com/TryGhost/node-sqlite3/issues/408#issue-57...

https://github.com/WiseLibs/better-sqlite3/issues/32#issueco...

Copying a quote from the second:

> The sqlite3 C API serializes all operations (even reads) within a single process. You can parallelize reads to the database but only by having multiple processes, in which case one process being blocked doesn't affect the other processes anyways. In other words, because sqlite3 serializes everything, doing things asynchronously won't speed up database access within a process. It would only free up time for your app to do other things (like HTTP requests to other servers). Unfortunately, the overhead imposed on sqlite3 to serialize asynchronous operations is quite high, making it disadvantageous 95% of the time.

darthShadow··on Thruster – HTTP/2 proxy for Rails apps with built-in Let's Encrypt and caching
From the project README:

> Thruster also wraps the Puma process so that you can use it without managing multiple processes yourself. This is particularly useful when running in a containerized environment, where you typically won't have a process manager available to coordinate the processes. Instead you can use Thruster as your CMD, and it will manage Puma for you.

darthShadow··on Blackcandy: Self hosted music streaming server
You have Lidarr[1] as an equivalent to Sonarr/Radarr etc. and there is a pending PR[2] for adding Lidarr support to Overseerr which also has a custom docker image to try.

[1] https://github.com/Lidarr/Lidarr [2] https://github.com/sct/overseerr/pull/3800

darthShadow··on Sensible SQLite Defaults
FWIW, auto_vacuum set to INCREMENTAL doesn't do any vacuuming automatically; it just stores the information needed to vacuum the DB.

From https://www.sqlite.org/pragma.html#pragma_auto_vacuum:

> When the value of auto-vacuum is 2 or "incremental" then the additional information needed to do auto-vacuuming is stored in the database file but auto-vacuuming does not occur automatically at each commit as it does with auto_vacuum=full. In incremental mode, the separate incremental_vacuum pragma must be invoked to cause the auto-vacuum to occur.

darthShadow··on The Internet Archive is under attack
Dupe: https://news.ycombinator.com/item?id=41792500
darthShadow··on Transformers in music recommendation
Hardcover may be worth a try:

https://hardcover.app/askjules

darthShadow··on Transformers in music recommendation
Plex has something similar for local music: https://www.plex.tv/blog/super-sonic-get-closer-to-your-musi...

It requires the music to be already present, however, so not ideal for finding new music.

darthShadow··on Mpv – A free, open-source, and cross-platform media player
Adding onto this is Outplayer, which similarly uses MPV for its backend, for iOS & iPadOS.
darthShadow··on Intel is selling defective 13-14th Gen CPUs
Related Videos:

Intel has a Pretty Big Problem (by Level1Techs): https://www.youtube.com/watch?v=QzHcrbT5D_Y

Intel's CPUs Are Failing, ft. Wendell of Level1 Techs (by Gamers Nexus): https://www.youtube.com/watch?v=oAE4NWoyMZk

darthShadow··on Intel issues statement about CPU crashes, blames motherboard makers
And it looks like ASUS has already released updated firmware for the same: https://www.tomshardware.com/pc-components/motherboards/new-...
darthShadow··on Using ClickHouse to scale an events engine
You have already gotten excellent options from the other comments, but here's another one that's not been mentioned yet.

You may want to consider adjusting your partition key (if feasible) as a function of datetime so you can just drop a complete partition when required, rather than needing separate delete queries.

In my experience, it has proven to be a very quick and clean way to clear out older data.

darthShadow··on Ask HN: ProtonDrive is open-source, what's blocks us from building Linux client?
You can always use rclone which added ProtonDrive support 2 releases back: https://rclone.org/protondrive/

You can also mount it using rclone to present it as an external drive.

darthShadow··on Ask HN: How are Indian folks managing recurring payments now?
Eweka hasn't come up for renewal this year yet but the last year, I had to cancel my sub and set it up again due to the renewal issues. You may want to try doing the same since their BF promo is valid year-round: https://www.eweka.nl/en/landing/unlimited-usenet-special

Newshosting was the one that got renewed a few days and it went through fine without any manual intervention.

darthShadow··on Ask HN: How are Indian folks managing recurring payments now?
FWIW, I haven't had any failures in ~3-4 months now. Every subscription using Stripe has been working flawlessly for the same time. Even usenet subs have renewed fine this year (just had an automatic renewal processed yesterday).

I use ICICI, Axis & HDFC Cards and all 3 have worked fine.

darthShadow··on Ask HN: How are you transferring thousands of small files across networks?
My first goto for anything related to file transfer: https://rclone.org/

If you care about permissions, you can always run an rsync after rclone has finished the transfer because applying just the permissions is much faster than the actual single-threaded transfers of rsync.

darthShadow··on Exploring the Tailscale-Traefik Proxy Integration
Corresponding tailscale blog: https://tailscale.com/blog/traefik-certificate-resolver/
darthShadow··on Tailnet Lock
Should be tailnet lock rather than talent lock... :)
darthShadow··on Litestream live replication has been moved to the LiteFS project
Yeah, I am trying to plugin mvsqlite into a binary-only app which is using WAL mode. Changing to any other journaling mode, just causes the app to not start at all.
darthShadow··on Litestream live replication has been moved to the LiteFS project
I really wanted to give this a try but the lack of WAL support has prevented me from using it. With the recent addition of WAL support[1] in litefs, would it be possible to add the same to mvsqlite too?

[1] https://github.com/superfly/litefs/pull/120

darthShadow··on Kagi/Orion status update: First three months
You may have missed this in the same section:

> If such change to Individual plans is to occur, we plan to grandfather-in all early adopters (meaning all current and future paid customers, up until this change) allowing them to keep their existing subscription price as long as they don’t cancel it.

darthShadow··on Ask HN: Resources on learning System Design (back end/data engineering)?
https://github.com/donnemartin/system-design-primer

https://github.com/codecrafters-io/build-your-own-x

darthShadow··on My First 80 Days of VR for Exercise
Perfect, thanks.

Any first game recommendations btw?

darthShadow··on My First 80 Days of VR for Exercise
As someone who is deciding whether to splurge on a Quest 2 for exercising, how good is it without a computer system to link with?

Also, is there any step that requires a computer system like the initial setup etc.?

Any recommendations for initial games to try and guides for getting the optimal adjustment are also appreciated.

darthShadow··on Log4j 2.16: Certain strings can cause infinite recursion
No, just close and re-open the file when you receive a specific signal, generally SIGHUP, from logrotate or any equivalent tool.
darthShadow··on Comparing ClickHouse to PostgreSQL and TimescaleDB for time-series data
Thanks for the answer.

May be worth pointing that out in the article since the increased disk usage has been mentioned multiple times in the article without any indication that it's only temporary until ClickHouse merges the parts.

Page 1 of 2Next →