Better HN
topnewbestaskshowjobs
Log inSign up

vaibhavsagar

160 karma · joined Apr 11, 2014 (12y ago) · 68 submissions

[ my public key: https://keybase.io/vaibhavsagar; my proof: https://keybase.io/vaibhavsagar/sigs/XsHYsQTU6Pv2DruoRse8bvZ1HRoU-6XcUMAIHrdBkdM ]

You can reach me at vaibhavsagar(at)gmail.com

Submissions

comment 3w ago · link · parent

This is a false dichotomy: text-to-speech and a variety of autocomplete tools with zero Generative AI also exist.

2.

SoundScope – PS1 Audio Visualizer(soundscope.greg.technology ↗)

3 points · by vaibhavsagar · 5mo ago · discuss

comment 7mo ago · link · parent

Resolve also has a premium Studio offering with some features that are particularly appealing to professional users. I assume that helps cover some of their costs.

4.

A 1961 Relay Computer Running in the Browser(minivac.greg.technology ↗)

139 points · by vaibhavsagar · 1y ago · 37 comments

comment 2y ago · link · parent

I got one so that I could make copies of my apartment keyfob; I live alone and having a spare keycard that goes inside my phone case has saved me from locking myself out of my building multiple times. For me it's already paid for itself by ensuring my peace of mind. I've also used it to copy my gym tag (NFC), my parents' apartment keyfob (also NFC surprisingly), and multiple office access cards.

comment 2y ago · link · parent

This article doesn't touch on what I consider to be the central feature of Haskell: it is lazily (more precisely non-strictly) evaluated. A lot of the other aspects of it, such as monadic IO, follow from that decision.

comment 2y ago · link · parent

Have you worked with Nix much?

comment 2y ago · link · parent

Why not `git clone --bare`?

comment 2y ago · link · parent

I hope there's at least one chapter on compact data structures!

10.

The Software Engineer's Guidebook(engguidebook.com ↗)

90 points · by vaibhavsagar · 3y ago · 32 comments

comment 3y ago · link · parent

I wrote about these too: https://vaibhavsagar.com/blog/2018/07/29/hamts-from-scratch/! Unfortunately it's in Haskell which probably makes it less approachable than it would be otherwise.

comment 3y ago · link · parent

I personally use Vim, but Emacs alone is IMO the strongest counterexample to your claim about Lisp interpreters (followed by all the programs scriptable with Guile).

comment 4y ago · link · parent

I also have my own implementation of packfiles [1], which I implemented as part of a toy Git implementation in Haskell [2]. I personally found the packfile format underdocumented, e.g. the official reference for the packfile generation strategy is an IRC transcript [3].

1: https://github.com/vaibhavsagar/duffer/blob/bad9c6c6cf09f717...

2: https://vaibhavsagar.com/blog/2017/08/13/i-haskell-a-git/

3: https://git-scm.com/docs/pack-heuristics/

comment 4y ago · link · parent

What if Haskell is my favourite language?

comment 4y ago · link · parent

This is why I do all of mine in Haskell.

comment 4y ago · link · parent

Doing a hashmap lookup is already very much like using a bloom filter: for any addressing scheme, if an element exists at a particular location, then either the key exists or it's a false positive. If no element exists, then there's no way the key exists. Adding an extra bloom filter would then come down to trading off space usage against a different probability of false positives, in addition to an extra lookup, and I think one would have to contrive an extremely unlikely scenario for it to make sense.

comment 4y ago · link · parent

At my last job, we had a Python codebase that had grown large and unwieldy. We wanted a language with stronger compile-time guarantees and better concurrency support. After evaluating several options the team at the time settled on Haskell and it's still used on all our kiosks to perform tasks including interfacing with the credit card reader: https://www.youtube.com/watch?v=O-z8hDXIQSg

comment 4y ago · link · parent

I hope Mark gets the Haskell job he wants!

comment 4y ago · link · parent

I was hoping this might be about the Victorinox Cyber Tool, which is actually a Swiss Army Knife: https://www.victorinox.com/global/en/Products/Swiss-Army-Kni...

comment 5y ago · link · parent

Yup, I'm doing this. I was living in the US when I interviewed in Feb 2020 but as an Australian citizen on an E-3 visa I had to leave the country to get a new one and then the pandemic happened. So far my employer has been happy to have me work remotely but the timezone offset has been pretty brutal and I'm only doing this because I hope to move back at some point early next year.

comment 5y ago · link · parent

Aaron Levin did a very interesting talk about this at !!Con 2017: https://www.youtube.com/watch?v=kKRvEJrvvso

comment 6y ago · link · parent

RC is not a YC company.

comment 6y ago · link · parent

Why there aren't more places like Recurse Center: creating and sustaining a space for self-directed learning is a difficult and mostly thankless job. It also doesn't pay particularly well, the last job posting I found[1] mentions a $100,000 salary.

Why there aren't any workplaces like the Recurse Center: no company will give you the total freedom to pursue your own programming interests 100% of the time, especially if they conflict with the larger goals of the company.

1: https://www.recurse.com/blog/146-why-you-should-work-at-rc

comment 6y ago · link · parent

I'm not sure what you mean by "internship", I don't think RC has ever offered those.

I was rejected the first time I applied to do a batch at RC. I applied again a few months later and was accepted.

comment 6y ago · link · parent

I love Nix and NixOS, but having "a lotta gotchas" doesn't square with "no nasty surprises".

26.

Why talk about compensation?(blog.wesleyac.com ↗)

1 points · by vaibhavsagar · 6y ago · 1 comment

comment 6y ago · link · parent

I recently switched to https://www.goatcounter.com/, which is also open source and privacy-conscious, and I've been very happy with it. Even though I'm on the free tier, the developer has been incredibly responsive to all the issues I've raised.

comment 6y ago · link · parent

DJ software! AFAICT Mixxx is the strongest player in this space, and it doesn't hold a candle to Serato/Traktor.

comment 7y ago · link · parent

GHC also includes a `popCount` function that is implemented in terms of the built-in instruction: https://haskell-works.github.io/posts/2018-08-22-pdep-and-pe...

comment 7y ago · link · parent

ARM NEON includes it as VCNT: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc....
123