HNHacker News
TopNewBestAskShowJobs

snizovtsev

41 karma · joined October 4, 2012

submissionscomments
snizovtsev··on Backups Aren't Simple
You can exercise it against regular, non-Glacier S3. Same flow; the only difference is that you skip one attribute on upload and one request/wait step on download.
snizovtsev··on Backups Aren't Simple
I'm polishing my backup system right now, and found that `tar | zstd | gpg` plus a small vibe-coded wrapper is pretty much all I need.

GNU tar has its own incremental index via `--listed-incremental=FILE`. Unlike Borg or Restic, which have their own more complicated repository formats, this leaves me with just one additional file (the `.snar`) alongside a dumb, portable full-disk tar archive.

The nice part is that, unlike repositories that require both read/write access patterns, tar can compute deltas using only the small `.snar` file, while the main `full-disk.tar` can remain buried in write-only Glacier storage. This makes it a much better fit for Glacier's write-once model and 180-day minimum retention.

My current plan is to upload a full-disk tar to an external HDD + Glacier on a weekly cadence, and the `.snar`-based deltas daily. That gives me a pretty simple cloud backup solution for a few bucks a month (after burning through $100+ of free credits).

snizovtsev··on DRAM has a design flaw from 1966. I bypassed it [video]
Not really. FPGAs run some simple proven strategies, but hardware guys can't keep up with how fast quants iterate on new strategies - so CPUs stay relevant.
snizovtsev··on Introducing tmux-rs
I started working on this feature about a month ago: https://github.com/snizovtsev/tmux (it's in early experiments, not ready for a try).

Luckily tmux has a well-established "control mode" protocol designed for iTerm2 that can serialize internal state updates into a stream of text messages. So I do write client-side of this feature right inside tmux.

When it's ready, you will able to embed remote sessions inside local tmux instance by calling something like "ssh example.com tmux -CC attach". It will auto-detect "control mode" escape sequence and create special "remote session" you can switch into.

If you are interested, connect with me (snizovtsev@gmail.com) so I will notify when feature is ready and ask for early testing before making upstream proposal.

snizovtsev··on BYD says new fast-charging system could be as quick as filling up a tank
Most likely gas stations will have to buy these systems to keep their business running.
snizovtsev··on Discovery Coding
No, it will be "somehow working solution for case A" and "somehow working solution for case B" but not together.
snizovtsev··on My failed attempt to shrink all NPM packages by 5%
Yes, but it was expected. It's like prioritising code readability over performance everywhere but the hot path.

Earlier in my career, I managed to use Zopfli once to compress gigabytes of PNG assets into a fast in-memory database supporting a 50K+ RPS web page. We wanted to keep it simple and avoid the complexity of horizontal scaling, and it was OK to drop some rarely used images. So the more images we could pack into a single server, the more coverage we had. In that sense Zopfli was beneficial.

snizovtsev··on Intel's Tofino P4 Software Is Now Open Source
I think half of Tofino's complexity was in their compiler. So it may inspire new hardware vendors to reuse it in some contexts.
snizovtsev··on Engineer eats efficiently for $2.50 a day (2016)
Optimal in theory but totally uncookable.
snizovtsev··on Engineer eats efficiently for $2.50 a day (2016)
Lower labor cost and heavily subsidized agriculture.
snizovtsev··on New 13- and 15‑inch MacBook Air with M3 chip
$999 is for soldered 8GB/256GB crap. Add $400 for 16GB/512GB models.
snizovtsev··on Freenginx: Core Nginx developer announces fork
Living in Russia could be very cheap compared to other countries. If you own a flat and you don't need cars or travel, then it's possible to live a few years just on money saved from your previous software job.
snizovtsev··on Ask HN: V2 – Laid off folks, are you getting hired yet?
I had to quit in September due to burn out. Given how many better engineers now on market I feel there are no space for me anymore. Now burning my saving money on rent and food and going to commit suicide few months later.
snizovtsev··on GNU Make Guile Integration
make -p -f/dev/null | grep FEATURES
snizovtsev··on H-1B in 2020: Immigration Visa Faces Further Restrictions
I think foreign remote employees are much more risky in terms of IT security and law protection. Companies need to take this risk into their business model or develop countermeasures beforehand.
snizovtsev··on Show HN: Powderkeg, a realtime, synchronous, multiplayer HTML5 action game
Another online bomberman clone with massive multiplayer from Russians: http://bombermine.ru/