HNHacker News
TopNewBestAskShowJobs

kumarsw

290 karma · joined December 25, 2020

submissionscomments
kumarsw··on Cargo sous terrain – Underground cargo train in Switzerland
I recall someone (possibly Adam Something on YouTube complaining about a similar idea) coining the term "Not a Train" to describe concepts such as Hyperloop and this, the idea being that they are (1) futuristic and exiting and (2) because they are different, allow for arguments that the upfront costs will be much lower than trains, whose costs are well studied and known to be high.

Usually these systems are more costly and have lower throughput than trains because: 1. Trains use existing, mature technology and there are plenty existing manufacturers 2. Because trains are coupled together into trains, throughput is higher because there is not a need to space self-driving carriages apart 3. Because trains are coupled together, the expensive bits go in the locomotives and the carriage construction is simpler and cheaper

kumarsw··on Uncertain Future for Marginalia Search
Using Marginalia always reminds me just how much we have lost since the golden age (2000-2010) of the internet. Thanks for bringing it back in a small way.
kumarsw··on 10 years since Google said to “hang tight” about Linux support for Google Drive
Not a filesystem, but rclone works pretty well
kumarsw··on How can I get my boyfriend to stop digging his tunnel?
I feel that the real interest here is the HN discussion, and it really doesn’t matter if the story is fabricated for the upvotes
kumarsw··on Ask HN: Share your personal site
https://pin2.io

I work in electric power, though it's mainly behind a computer. My site is mostly a collection of personal hardware and software projects, most notably a deduplicating version control system for binary files: https://pin2.io/posts/dupver

kumarsw··on Write plain text files
I wound up writing dupver https://github.com/akbarnes/dupver after getting frustrated with the lack of versioning tools for binary files. One neat thing about .docx files and their ilk is that they are "just" zip files so it isn't hard to add special handling to pull out their contents and run deduplication over that.
kumarsw··on Ask HN: Who wants to collaborate?
I've been working on a project for deduplicating version control written in Go https://github.com/akbarnes/dupver I've been a bit frustrated with existing binary version control systems which I've found to be either too centralized, not cross-platform. Right now I'm looking at ways to add special handling for compressed archive files which tend to not deduplicate well. Check out the repo if you're interested.
kumarsw··on The Charisma Machine: The life, death, and legacy of One Laptop per Child
I'd say this is a fair assessment of the project. It came off as overambitious with a number of high-risk project management decisions made at the expensive of a minimum-viable initial product. And this was just looking at it from an engineering point of view, ignoring whether it did actually provide value over other options for educational spending in developing countries.

Funny enough it seems like the hype it generated was its main contribution, which led to the netbook product segment and ultimately Chromebooks. I'd say its spiritual descendent is the humble grades 7-12 school chromebook with much more conventional hardware and software choices. The killer app for school Chromebooks is the combination of Google Docs and whatever Google's classroom management software is, provided cheap to schools in a long-game move by Google to hook a future generation on their office suite. Ironically, despite the very agressive price points of sub-$200 Chromebooks, their current market is limited to the US and the wealthier Commonwealth nations.

kumarsw··on Show HN: Dupver - Deduplicating VCS for large binary files in Go
I started this a couple years ago to help me keep versions of binary database files I'm working on. It's based around the chunker library from the Restic backup software and more-or-less patterned after the existing binary VCS Boar, written in Python.
kumarsw··on Apple removes references to CSAM from its child safety webpage
This case reminds me a bit of the big stink with the Daraprim price hikes and Martin Shkreli being dumb enough to be the public face of it. That worked out pretty bad for him but also bad for everyone else, because now we had a guy to blame for it, instead of asking the harder questions like "why aren't drug prices regulated?" Utilities must go to the public utility commission to raise rates so why is the same not done for drugs? The federal government stockpiles oil in case of shortages, why is it not responsible for ensuring that drug production is continued?

The maddening thing about the Apple CSAM scanning controversy is that I still have no idea which legislation Apple is complying with, and it's difficult to find out any reporting on that aspect. US? UK? EU? Clearly there is/are some government organization(s) with teeth long enough that Apple is not willing to go to court again as was the case with the San Bernandino shooter. Point is, whether or not Apple has been dishonest about this whole thing, they are still just a distraction.

kumarsw··on Directory Opus is a complete replacement for Explorer
Not as far as I know, but it does have "flat mode," which I've never seen anywhere else. Flat mode displays files from all the subfolders in a single list, quite handy for bulk operations.
kumarsw··on The Internet Has a Rat Poison Problem
One thing that the article didn't mention is that second generation rodenticides are actually not especially dangerous to pets assuming that the owners are aware of the symptoms (usually lethargy and discolored lips). For warfarin the LD50 for cats is actually quite high - quite surprising for an animal that is vulnerable to kidney damage - and the treatment is a series of vitamin K injections. So good news for pet owners with crazy neighbors.

None of this is helpful for wild predators of course, and rodenticides are more likely to be used in rural areas where both rodents and their predators are present.

kumarsw··on Ask HN: Why doesn't anyone create a search engine comparable to 2005 Google?
I feel like we are at the low point or even losing the battle between search engines and SEO spam. Maybe it is time for the Yahoo-style curated directory to return? We seem to be getting a microcosm of this with the awsome-* GitHub lists and Gemini with its near-nonexistent search.
kumarsw··on Firefox is the alternative to a Chrome hegemony
I'll go ahead and point out the obvious that the chances of Safari going Chromium-based are high given that (1) iOS Safari sucks and (2) Microsoft has had good success with Edgium. So the likelihood of Mozilla being the only dissenting voice is high.
kumarsw··on The 3-2-1 Backup Rule – Why Your Data Will Always Survive (2019)
My personal interpretation/variation of this is to use two different backup formats, even if everything ultimately ends up on hard drives (whether my own or a cloud service provider's). I usually will do 1 file backup via Duplicacy (but Restic/Borg/Duplicity/Time Machine work just as well) and 1 system image backup via Macrium Reflect/Carbon Copy Cloner. The file backup gets copied to Backblaze B2, the image backup stays local.
kumarsw··on Dollar Tree says US$1.25 price point to become new standard
They have been selling for a dollar for 35 years. I'm really curious how their inventory has changed over this period. One 2020 dollar is 40 cents in 1985 dollars, but the cost of consumer goods has decreased significantly since 1985. So I wouldn't be surprised that their package sizes have not changed much.

Related trivia: Between 1886-1959, the price of a bottle of Coke was a nickel [1].

[1] https://www.npr.org/sections/money/2012/11/15/165143816/why-...

kumarsw··on Dollar Tree says US$1.25 price point to become new standard
That's Family Dollar and Dollar General. Dollar Tree is/was the "true" remaining dollar store.
kumarsw··on Reflections on E-Bikes
Something I've been wondering is in what region(s) Ebikes are becoming popular - it seems to be mostly the UK, East Asia, and maybe some larger coastal US cities.

Hopefully this will (in the US) lead to cities taking the idea of low-speed vehicles more seriously, which are a good fit for medium-density US cities with room for putting in grade-separated paths. For a bonkers example of how it isn't all that hard in moderately wealthy US new development, see Tom Scott's video "The City of Golf Carts" [1] which describes the Atlanta suburb of Peachtree.

[1] https://youtu.be/pcVGqtmd2wM

kumarsw··on Making the dislike count private across YouTube
I feel that the issue with the dislike button is its ambiguity, similar to star ratings. A Uber driver or Ebay seller with a many of 4-star ratings is clearly fine, but one with a moderate number of 1-star ratings is not, despite having the same average ranking. In the case of Uber/Ebay, the better question is a simple "Would you do business with this individual again?" For YouTube, the public dislike would be better replaced with something like "report content," followed by a choice of "clickbait/inaccurate content/hate speech."
kumarsw··on Hop: Faster than unzip and tar at reading individual files
For a random-access archive format that supports compression see DAR: http://dar.linux.free.fr/home.html

It doesn't seem very well known, which is unfortunate because it's much better suited for archiving files compared to gzipped tar (which is great for distributing files, but not great for archiving/backup).

kumarsw··on American trains need more than railfan nostalgia
This sort of density pattern is present in Colombia. The government taxes unbuilt land on a lot at a higher rate than built land, so this incentivizes having houses share a wall, which is the norm.
kumarsw··on American trains need more than railfan nostalgia
Somewhat tangentially, I watched a recent Not Just Bikes YouTube video that discusses the merits of commuter rail [1]. The video is obviously trying to discourage infrastructure that supports car-based suburbs, but another point came out that struck me: commuter rail is very expensive infrastructure with very low utilization, say 4 incoming trains in the morning and 4 outgoing trains in the evening. Any public transportation option needs to be compared against the default choice of "run more buses," which it turns out is pretty hard to beat in terms of cost-effectiveness.

[1] https://youtu.be/vxWjtpzCIfA

kumarsw··on Trump’s new social media platform found using Mastodon code
The issue with a "weird" license like this is that anyone other than individuals will be afraid to touch it. This includes corporations, universities and governments. Existing licenses like MIT or BSD are well-understood and don't need to go through legal. Strange clauses turn into lots of hours and lead time with legal making sure they won't be an issue.
kumarsw··on Facing sky-high connection fees, rural Ontarians go off the grid
Overhead distribution is somewhere on the order of $100k/mile to install. Maintenance varies depending on how much tree trimming is needed.
kumarsw··on Ask HN: What are your opinions on modern BASIC dialects?
I've been using Xojo for a little while, which is kind of like a cross-platform Visual Basic. It's pretty nice other than a fairly limited standard library (json is supported but not zip files, no object serialization and limited file/path manipulation functions). Also there's no "community edition" or similar so you have to be pretty sure you want to use it before paying up the $300 for a license.
kumarsw··on Non-Commercial Licenses Are Non-Free Licenses
Non-commercial clauses seem to be a good fit for software that is someone's "day job" where they charge for licenses. It's not common, but I've run across the following projects:

Duplicacy by Gilbert Chen https://github.com/gilbertchen/duplicacy

Dome by Federico Milano http://faraday1.ucd.ie/dome.html

Fman by Michael Herrmann https://fman.io

From what I've gathered, success has been mixed. Duplicacy seems to be doing well based on forum activity and release history. Fman never made much money. If I recall correctly the Fman author was turned off by the number of people who criticized it for being fully open-source and wished he'd stuck with a closed-source full commercial model. I'd like for the open-source community to be more accepting of this model as there is potential value in it. As an example, Mathematica still refuses to let anyone not employed by the company see the source code, which creates a reproducibility/validation problem for math researchers. While Steven Wolfram understandably rejects pleas to make the software FOSS, there is real benefit in letting people see the code.

Edit: Fixed names

kumarsw··on Bringing the Unix philosophy to the 21st century (2019)
With all the discussion here about object shells, it's a bit surprising that the project page doesn't make stronger emphasis that this (jc) is also a Python library that can take in the output of subprocess.Popen rather than fooling about with the mess that is jq. With that said, Python isn't especially nice for calling external programs. I can't wait for nushell/oil shell/elvish to hit maturity soon enough.
kumarsw··on Apple’s Mistake
I recall a court case where a police officer was convicted of possessing CSAM on his computer. The files were encrypted so the prosecution was not able to view them, but they were able to demonstrate that the encrypted files contained known images, I believe by encrypting a known image with the same public key and demonstrating that the result was binary identical. Obviously this wouldn't work except for unmodified files including cropping, scaling and editing metadata.
kumarsw··on Apple’s Mistake
It's an unfortunate choice because my understanding is that it's possible to match encrypted files on the cloud with CSAM, assuming that Apple has the public key, and this has done before in a court case as evidence leading to a conviction. Maybe it's computationally prohibitive?
kumarsw··on Ask HN: Best privacy preserving alternatives to Apple products?
I feel like the criticism for Apple here is a bit misplaced. Sure, they would be misleading consumers by touting end-end encryption when scanning has now moved to the user's device, but isn't the whole point of this to be compliant with the real villain here, the USDOJ?
← PreviousPage 2 of 4Next →