HNHacker News
TopNewBestAskShowJobs

nsm

1,439 karma · joined August 3, 2009

I work at Skydio. Opinions here are my own.

Website: https://nikhilism.com

submissionscomments
nsm··on Ask HN: Pitch your personal newsletter/blog with a one-liner
I write about various systems programming things (build systems, profiles, code generation)

https://nikhilism.com

nsm··on Ask HN: What did you make during lockdown?
I have been re-implementing the ninja build system [1] using the ideas from the "Build Systems a la Carte" paper [2]. The software isn't ready for the public yet, but I've written 2 blog posts so far about some of the ideas.

1. Using type-classes to model the expressivity of build systems [3] 2. A Future is a Suspending Scheduler [4]

[1]: https://ninja-build.org/ [2]: https://www.microsoft.com/en-us/research/publication/build-s... [3]: https://nikhilism.com/post/2020/type-classes-build-systems/ [4]: https://nikhilism.com/post/2020/futures-suspending-scheduler...

nsm··on Ok Google – it's time you discovered cyclists
> My "solution" to this problem is to carefully but fully occupy the bike lane before making such a turn. Yeah, it's illegal, and draws lots of swearing (and worse) from bicyclists. But there's just no other good way to keep everyone safe.

Which state/country are you in? This is actually required in California, and I'm always annoyed at the majority of drivers who simply DO NOT come and occupy the bike lane intentionally, making it confusing for me (as a bicyclist) whether they are going to wait for me or not. (coupled with how a lot of drivers just don't use turn signals accurately).

nsm··on The plans to reopen the economy are scary
Yes! I think many people don't realize that COVID by itself is not the problem so much as the additional burden it places on the healthcare system, which could be used to help people with other problems. We are already seeing cases of people with cancers having surgeries delayed because hospitals are trying to conserve PPE.

I was unlucky enough to fracture my ankle right before California instituted shelter-in-place and to fracture it in a way that needed corrective surgery. I was lucky that CA managed to avoid the worst of it, so that my surgery was able to proceed on schedule. Otherwise I was looking at potential long term complications in addition to being off my feet for 5-6 months instead of the 2 months they expect now.

nsm··on Ask HN: What is your blog and why should I read it?
https://nikhilism.com

I write about various technical topics. Some recent ones

* Using type-classes to model the expressivity of build systems

* Using 1Password with ssh-agent on Linux

and some that I'm proud of:

* Sampling Profiler Internals: Introduction

* Retrieving function arguments while unwinding the stack

* Why does my stack have an extra 4 bytes? Digging into Clang's return value implementation

nsm··on New York Governor announces 100% workforce reduction for non-essential services
This is a good recent summary for non-lawyers https://thedispatch.com/p/the-police-power-of-the-states-to
nsm··on Elon Musk’s plan to build one Starship a week and settle Mars
This article from October 2019 also does a great job explaining the enormity of vision.

https://caseyhandmer.wordpress.com/2019/10/29/the-spacex-sta...

nsm··on My Ordinary Life: Improvements Since the 1990s
Back then there was no "fast fashion" because very few could afford to go through lots of clothes.

Fast fashion and quality probably don't go together, but the quality of more expensive clothing has become ridiculously good. $20-30 t-shirts last >5 years and "outdoors" clothing is so much better than anything even 10 years ago.

nsm··on All Sonos products will continue to work past May
The first story in Cory Doctorow's book "Radicalized" is about toasters that stop working because the company that sold them goes bankrupt, and how that ends up in refugees being evicted from their homes. We aren't there yet, but each of these devices is a small step in that direction.
nsm··on Must and Must Not: On writing documentation
Simon Peyton-Jones (of Haskell fame) also has a similar talk+slides that I find valuable to periodically re-visit. https://www.microsoft.com/en-us/research/academic-program/wr...
nsm··on Clear backpacks, monitored emails: U.S. students under constant surveillance
Cory Doctorow had a book about this over a decade ago (2008). https://en.wikipedia.org/wiki/Little_Brother_(Doctorow_novel...

Prescient.

nsm··on Hayabusa2 is leaving the asteroid Ryugu and heading back to Earth
I’m always reminded of Warren Ellis’ talk “How to see the Future” when I read stuff like this. We have to strive to reduce the banality with which we view the world, and things like this go a long way.

http://www.warrenellis.com/how-to-see-the-future/

nsm··on Normalization of Deviance
It’s Chubby, and it is a lock server :)
nsm··on Ask HN: What technologies did you learn in 2018?
I spent a lot of time learning about stack unwinding, debug information, and profiling on common operating systems. I’m writing down some of it: http://nikhilism.com/post/2018/sampling-profiler-internals-i...
nsm··on Ask HN: Which abandoned proprietary software would you resurrect?
I'd be curious to know what about the new webextensions based Tree Style Tab doesn't work for you? I use it all the time.

For Google Reader, I am using BazQux and really like it. No ads, no smart "suggestions", just a very simple UI and reading experience.

nsm··on The Second Edition of “Refactoring”
Types help eliminate an entire class of unit tests one would need to write before refactoring. Things like newtype also allow enforcing certain constraints while refactoring. So yes, while the end goal is the same, the process is simplified.
nsm··on New Google Pixel 3, Pixel Slate, and Home Hub
Not sure about the slate, but I have a Pixelbook, which is my personal laptop, and the crostini Linux integration is great for development. Specifically, I use it for Rust programming, and have compiled a couple of C++ projects too.

The Terminal app that comes with the Linux install is good, supports tmux etc.

There is clipboard integration between the pixelbook host and the container. File sharing is also easy with the file manager being able to drag andd drop files in and out of the container.

I can use Firefox inside the container, which is what I usually use to browse.

Theoretically you have access to the lxc tool inside the top level container, so you could create multiple containers and possibly set up complicated networking setups between them, but I've not tried this.

nsm··on 385 Feet of Crazy: The Most Audacious Flying Machine
I just saw the Spruce Goose in the Evergreen Aviation Museum near Portland. That has a wing span of 320’ and is already impressive in its own right. This must be better! Bit of trivia: the Goose is made largely of wood, one of the older “composites” :)
nsm··on An introduction to libuv (2016)
Original author here. Yes this book was written a long time ago when I was into the node ecosystem.

A lot of the book was copied into the official docs later https://github.com/libuv/libuv/pull/1246.

The book definitely does not capture new things. I do not intend to update it, but I still look at pull requests.

nsm··on Firefox is back. It's time to give it a try
Thanks!

I tried this out, but it said "experimental" and didn't really work on the pixelbook. It only asked for microphone permission, not camera, and neither speakers nor microphone worked.

nsm··on Firefox is back. It's time to give it a try
I'm typing this comment from Firefox running inside a container on a Pixelbook (ChromeOS) :)

Firefox has been my daily driver for over 5 years, with all my history and bookmarks synced across all devices I had to have it on ChromeOS too.

It does a great job. The Tree Style Tabs extension really makes life easy and with u2f support, there are very few things I need to use Chrome for now (Looks at hangouts!).

nsm··on Americans are spending less on clothing
I agree. I do buy clothes towards the higher end of the cost spectrum, but they routinely last 4-5 years, after which the old T-shirt’s simply get cycled into the “wear at home and for sleeping” set.
nsm··on Mark – A simple and unified notation for both object and markup data
JS objects are tables, with Arrays being a syntactic convenience with some extra properties. JS engines do heavily optimize for the array case with dense layout. https://docs.microsoft.com/en-us/scripting/javascript/object...

Calling it novel to JS is a stretch. Lua does this too and I’m sure there are other languages.

nsm··on Dropbox Files Confidentially for U.S. IPO
Do you mean background uploads? I believe that is because the iOS APIs don't allow apps to run in the background keep uploading data.

I've never had uploads failed while the app was in the foreground. I agree this is inconvenient, but it isn't the app developer's fault.

nsm··on Not Ready for Takeoff: Face Scans at Airport Departure Gates
Who makes the rules about how long these records can be stored and so on? Do citizens have a say? I feel I’d be ok with this as long as the data was used once for a quick criminal check or whatever and then discarded. Of course, we need strong verification that the data is really deleted.
nsm··on Why Google stores billions of lines of code in a single repository (2016)
There is a great talk by their C++ dev team about how a build everything from source, mono repo really helps with C++ change enablement

https://m.youtube.com/watch?v=tISy7EJQPzI&t=2589s

Personally, I’d have to agree that at a minimum a mono repo per distinct product role (server side in one mono repo, desktop software in one mono repo) is immensely valuable.

nsm··on Mozilla’s revenue increased significantly in 2016
For those who will come in and complain about why Mozilla needs so much money:

http://robert.ocallahan.org/2017/12/maintaining-independent-... discussed just a few days ago https://news.ycombinator.com/item?id=15836027

nsm··on Ask HN: What are some interesting papers in CS for a beginner?
I feel like battling with complexity is an important part of growing as a programmer, and it doesn't require any domain knowledge. To that end:

No Silver Bullet - for two ways to think of complexity https://blog.acolyer.org/2016/09/06/no-silver-bullet-essence...

Not really a paper, but a turing award lecture The Emperor's old clothes - https://blog.acolyer.org/2016/09/07/the-emperors-old-clothes...

nsm··on Eight years of Go
http://www.jerf.org/iri/post/2930 is a really nice blog post from an Erlang programmer attempting to bring supervisor trees to Go as https://github.com/thejerf/suture.
nsm··on uBlock Origin Maintainer on Chrome vs. Firefox WebExtensions
Yep, not legacy, but "not compatible with multiprocess" is what it should show for offending addons.
← PreviousPage 7 of 10Next →