HNHacker News
TopNewBestAskShowJobs

kumarsw

290 karma · joined December 25, 2020

submissionscomments
kumarsw··on Ask HN: Show me your half baked project
I was thinking some some subset of a stack-based language, enough to define different data types, eg. arr_name 1 2 3 4 5 array; float_name 5.75 float

Sort of like how Clojure or KiCad uses S-expressions to store data. The idea was that like Forth, the parser for such a data structure would be minimal and suitable for even a crappy programmer to implement. I'd thought this would be useful for minimal systems like microcontrollers or locked-down corporate systems with no chance of installing third-party libraries.

kumarsw··on Ask HN: Show me your half baked project
Somewhat OT, but one of my pet crazy ideas is a Forth-like data file format based on a stack. I've never thought about it enough to say if it's completely stupid or not.
kumarsw··on Ask HN: Show me your half baked project
Cool! I'm excited to see more interest in this space after Boar development appears to have been abandoned, and no one is willing to take on converting it into Python 3.x. I have a similar project also in Go (see DupVer elsewhere in this thread) though it is based on a centralized repo.
kumarsw··on Ask HN: Show me your half baked project
DupVer https://github.com/akbarnes/dupver is a deduplicating version control system for large binary files. It's designed to keep state in a repository on the local machine separate from the working directory so it plays nice with cloud synchronization software.

I started it after constant headaches involving Git LFS and the corporate proxy. It's based around the Restic chunker library, with inspiration from both the Duplicacy backup software and Boar, another binary version control system for large binary files.

kumarsw··on College campuses are designed at human-scale – cities can be too
+1 for mentioning Cambridge. It's the sweet spot for density. Lots of folks have back yards, but it's still possible to walk/bike where you want to go. I think a lot of folks conflate "urban area" with "financial district"
kumarsw··on Groundhog: Addressing the Threat That R Poses to Reproducible Research
The impression I get is that this tool has a forensic bent to it. You ask for the code for a paper and Joe grad student with no programming knowledge emails you a zipped folder of R scripts. He just finished his dissertation, is starting a new job somewhere on the west coast, and no longer has access to the computer in his old advisor's lab where he did the work. The implementation may (or may not be) be lousy, but the use case sounds plenty valid.
kumarsw··on The account of realDonaldTrump will be locked for 12 hours
How would this work in practice? Voters post to a publicly accessible append-only database from a personally owned computer? Can this be implemented on paper ballots?
kumarsw··on GNU Units
I agree with you, but package names aren't predictable. I find that an example of installing a package is helpful even for users familiar with use of package managers as it gives context and helps readability. Whenever I see `sudo apt-get somethingsomething` I immediately know that somethingsomething is the package name.
kumarsw··on GNU Units
Looks cool. If the poster is affiliated with the project, some suggestions:

1. I don't know what I am looking at with the examples. I think that this is an interactive session with the program, but this is not clear. 2. It is also unclear how to start the program as the executable name is not specified. This and the former point could be addressed by including one of those gifs of an interactive session that are popular in GitHub readmes these days. Sure, they are a bit gimmicky, but still useful. 3. It is not clearly stated if this is an executable program or a library. I believe it is the former, but this is nowhere in the introduction. 4. Probably this is included with a number of package managers. If that is the case, instructions for installing via a package manager would be helpful, especially since the name is not particularly unique.

kumarsw··on Cincinnati is home to the largest unused subway system in the world (2016)
I think you have cherry-picked the roughest and oldest subway systems in cities with relatively high crime rates. While the Paris Metro can be scary, the Singapore MRT system is clean, quiet and boring.
kumarsw··on Cincinnati is home to the largest unused subway system in the world (2016)
A lot of people are disagreeing with you, but subways are extremely expensive compared buses and only make sense for capitols or very large cities. Public transit must match the city. Mid-sized cities like Nice or Denver will have light rail systems. Smaller cities like Boulder will have buses. Buses get a stigma in North America but they are good because the initial cost is low so it's easy to get routes with the magical <= 15 minutes between buses which is needed to attract "casual" riders.

Something no one brought up is the recent-ish idea of bus rapid transit (BRT), which solves the problem of not having exact change, because who does these days? BRT gives some of the advantages of rail like fare machines and dedicated right-of-ways. Albuquerque (which is far too small for a subway) just put in its first line.

kumarsw··on 1937 film explains how a car differential works
Suggest changing the title to reflect that this is a General Motors documentary. They are still around! Why not credit them?
kumarsw··on What comes after Git?
The state-of-the-art for backup is deduplicating software (Borg, Restic, Duplicacy). Gripes about Git's UI choices aside, Git was designed around human-readable text files and just doesn't do large binary files well. Sure, there's Git-LFS, but it sucks. The future of version control will: (1) Make use of deduplication to handle large binary files, (2) Natively supports remotes via cloud storage, (3) Doesn't keep state in the working directory so that projects can live in a Dropbox/OneDrive/iCloud folder without corrupting the repo, (4) is truly cross-platform with minimal POSIX dependencies.

I've been playing around with a proof-of-concept in Go based on the Restic chunker library: https://github.com/akbarnes/dupver

← PreviousPage 4 of 4