HNHacker News
TopNewBestAskShowJobs

vadiml

194 karma · joined August 9, 2010

submissionscomments
vadiml··on 2G to 5G Evolution
For people interested in mobile telephony protoclos
vadiml··on CDC File Xfer Google Stadia's rsync replacement now works on Linux and macOS
I've been working on extending CDC File Transfer to support Linux→Linux and macOS builds. This is an open-source project born from Google Stadia – fast file sync tools (cdc_rsync) and a streaming filesystem (cdc_stream) that use Content Defined Chunking (FastCDC) to transfer only the changed portions of files.

Originally Windows→Linux only, designed for game developers to iterate on 40+ GB builds. The CDC-based diffing is up to 30x faster than rsync (1500 MB/s vs 50 MB/s).

What I added (40 commits):

Linux Client Support:

Ported cdc_rsync client to run on Linux (was Windows-only) Added process_linux.cc (~700 lines): Process management using fork/execve Added port_manager_linux.cc: Port detection using POSIX shared memory Now you can sync Linux→Linux, not just Windows→Linux macOS Support:

Full build support for macOS (ARM64 and x86_64) Fixed 17+ platform-specific issues: /tmp, /var, /etc are symlinks to /private/* – breaks path comparisons POSIX shared memory rounds ftruncate() up to 16KB, rejects shrinking BSD fts_* API reports Bazel runfiles symlinks as FTS_SL not FTS_F strerror(0) returns different strings per platform stat64 doesn't exist on macOS (just use stat) All 41 tests now pass on macOS Infrastructure:

GitHub Actions CI for Linux and macOS (self-hosted runner for macOS) Added comprehensive CLAUDE.md for AI-assisted development The project uses Bazel with gRPC, protobuf, and FUSE. Dependencies via git submodules or http_archive.

GitHub (original): https://github.com/google/cdc-file-transfer My fork: https://github.com/Vadiml1024/cdc-file-transfer

I've been using Claude Code (Anthropic's AI coding assistant) for most of this work. Happy to discuss the experience or the technical challenges.

vadiml··on Kidnapped by Deutsche Bahn
Why NOBODY pulled emergency stop
vadiml··on Kidnapped by Deutsche Bahn
What is strange that NOBODY pulled emergency stop
vadiml··on Python implementation of Apple PQ3 protocol
Used Claude Code to implement Apple PQ3 protocol which use Elliptic Curves and Post Quantum Kyber encryption. Pretty decent result IMHO
vadiml··on Show HN: Infinity – Realistic AI characters that can speak
Let's see what Putin says about it: https://6ammc3n5zzf5ljnz.public.blob.vercel-storage.com/inf2...
vadiml··on Supreme Court rules ex-presidents have immunity for official acts
Biden need to sign executive order to jail all judges voted for this verdict for high treason of not protecting US constitution. And he will be immune thanks to them.
vadiml··on Arthur Whitney releases an open-source subset of K with MIT license
Apl always was kind of write only language. But now you probly can paste all code in chat gpt and it will explain it
vadiml··on TCP connection timeout mystery
This would prevent initial SYN To reach the server too.
vadiml··on ChatGPT and C++ ostream duplicating data to Windows Event Log
I've recently needed to modify a program using c++ std::ostream to write info to a text log file. This is the writeup of exprience egaging ChatGPT for help
vadiml··on Munich court tells Netflix to stop using H.265 video coding to stream UHD
I don't understand really why these patents are granted. Software is math and math formulas are not patentable. The patent (and copyrights) system today is actually subverted by greedy players and instead of promoting progress and sciences is serving to enrich the middlemen by artificially SLOWING the progress.
vadiml··on Unit: A visual programming system [video]
Reminds me LabView
vadiml··on Please don’t upload my code on GitHub
And what is LEARNING in your opinion?
vadiml··on Please don’t upload my code on GitHub
So we should attack the problem of proprietary code. Maybe from Right to Repair angle. I believe there should be no such thing as closed source code.
vadiml··on Please don’t upload my code on GitHub
There are people who do it... I personally know a guy whit photographic memory
vadiml··on Please don’t upload my code on GitHub
I'm really baffled by all this discussion on copyrights in the age of AI. The Copilot does not 'steal' or and reproduce our code - it simply LEARNS from it as a human coder would learn from it. IMHO desire to prevent learning from your open source code seems kind of irrational and antithetical to open source ideas.
vadiml··on The 2-MAXSAT Problem Can Be Solved in Polynomial Time
The author is CS professor in university of Winnipeg
vadiml··on Blowing Holes in Seymour Hersh's Pipe Dream
Well, a strategic goal to let Europeans suffer during winter in order to shatter our resolve to support Ukraine, while avoiding contractual penalties for unilateral cessation of gaz delivery, can explain the benefit of exploding the pipeline. This can explain also the fact that the fourth pipe was left intact - as a potential carrot to Europe... I do not pretend that the above is truth, but it seams to be a plausible explanation.
vadiml··on The first new build of Circle, a new C++20 compiler, since April 2022 is online
I think the first take on the subject was IBM with their PL/I Checkout and Optimizing compilers. They've integrated almost full PL/I language interpreter in the macro pre-processor stage. I was using it in the beginning of 80ies.
vadiml··on The only way of being anonymous in Sweden is illegal?
IANAL but in EU the EU laws override member laws. So, since GDPR if you want your info to be removed you' ll be able to do it. Of course maybe you' ll need to go to EUCJ to acheive it
vadiml··on Node_modules: One character saved 50 GB of disk space
The limitation of this approach it that all project must reside on the same device as the pnpm store. There is no cross-device symlinks
vadiml··on Watch NIST’s ‘Atomic Television’ Live and in Color
Wouln't this approach be useful to miniaturize antennas?
vadiml··on Man arrested for promoting jury nullification wins federal case
The classic representative democracy suffers from a problem that it promotes a-holes to power. Because they have no scrupules to lie and cheat they have to get and hold power. And this explain the fact that the percentage of a-holes in political elites is way bigger then in rest of populations. (btw this specific problem could be easily solved by replacing elections by some form of lottery) What is relatively unknown about Swiss democracy is that on the referendums on national level are extremely rare, but a possibility of a referendum looms like a Damocles sword over political elites and prevent them from abusing their legislative power.
vadiml··on Researchers discover major roadblock in alleviating network congestion
In VOIP applications the correct jitter estimation is very important and RTP/RTCP protocols are doing it pretty well. Of course each RTP packet has a timestamp which simplifies the task
vadiml··on Researchers discover major roadblock in alleviating network congestion
Given the fact that the root cause of the problem with current CC algorithms is inability to discriminate between congestion and jitter provoked delays the obvious solution will be to implement some kind of method to report jitter state to the source. Maybe some kind of ICMP packet or IP option.
vadiml··on Give up GitHub: The time has come
If i read the code published on github and later i do not infringe on any license. If later i'm hired to implement some function chances are that i'll produce code which is similar to what i've learned from github. Or if somebody asks me on how to implement some function and i can respond: Hey that and that project on github already doing it, just use it, i'm not infringing on any license. Now, replace "I" in the above paragraph by "Copilot". It seems that Copilot is not infringing on anything...
vadiml··on The SymPy/HackerRank DMCA Incident
If we REALLY want to reform DMCA there is relatevily simple way to do it: Organize a massive simultaneous DMCA takedowns of congressmen web pages... The reform will come in days.
vadiml··on Show HN: Full text search on 630M US court cases
Page 1 of 2,970 total cases for: donald trump
vadiml··on A CIA website was out of date about who runs the UK
Valid for Ukraine too
vadiml··on Serotonin selectively influences moral judgment and behavior
So how about daily serotonin injections to all elected officials?
Page 1 of 3Next →