HNHacker News
TopNewBestAskShowJobs

neallindsay

834 karma · joined February 20, 2014

const lockify = f => {

  let lock = Promise.resolve()

  return (...args) => {

    const result = lock.then(() => f(...args))

    lock = result.catch(() => {})

    return result.then(v => v)

  }

}
submissionscomments
neallindsay··on GitHub suffers a cascading supply chain attack compromising CI/CD secrets
Yes but SHA1 collisions are easy enough to engineer, so even then compromise is probably possible.

(I don't know how hard it is to push a different object to an existing SHA on GitHub—I'm guessing that you probably have to remove all references to the original object at that SHA?)

neallindsay··on Open guide to equity compensation
This doesn't even mention ESOPs[1], which have very favorable tax benefits in the US. I don't think that ESOPs are very compatible with high-risk/high-reward startups, but for businesses that turn a profit and grow at a sustainable rate, they are excellent.

[1]: https://en.wikipedia.org/wiki/Employee_Stock_Ownership_Plan

neallindsay··on Glubux's Powerwall (2016)
My comment was less a nit and more I didn't understand how it really worked! Thanks for correcting me.
neallindsay··on Animals Made from 13 Circles (2016)
That was referenced in the post as the impetus for making these. Unfortunately it just links to a Google search.
neallindsay··on Glubux's Powerwall (2016)
Even though our transmission is three-phase, most homes in the US only get single-phase power.
neallindsay··on ‘The Celts: A Modern History’ by Ian Stewart Review
I feel like any article that talks about "Celts" or uses the word "Celtic" should clarify that it starts with a hard "c". Americans familiar with the basketball team will probably pronounce it wrong otherwise.
neallindsay··on Something Is Rotten in the State of Cupertino
People call Gruber an Apple apologist, but he's really not. He's just a person whose taste aligns very well with Apple's. If your taste runs a different way then he can look like an Apple cheerleader, but he criticizes them regularly.

This is a particularly sharp example though.

neallindsay··on FFmpeg School of Assembly Language
Things that you would expect every software developer to know today will one day become niche, low-level knowledge.
neallindsay··on When your last name is Null, nothing works
I would say that the name didn't break the system, it just revealed that the system was always broken.
neallindsay··on Gravitational Effects of Small Primordial Black Hole Passing Through Human Body
It's extremely small, just very massive.
neallindsay··on Publish Your Gaussian Splats with SuperSplat
I like this Computerphile video:

https://youtu.be/VkIJbpdTujE?si=RY-r2z-Ir7mg9X9S

neallindsay··on Man from uncontacted tribe emerges in Amazon, villagers demonstrate a lighter
Fair point—that's older than I thought, but newspaper writing still uses the word in its non-euphemistic sense.
neallindsay··on Man from uncontacted tribe emerges in Amazon, villagers demonstrate a lighter
> Why an "incident"? the situation described by the article doesn't seem at all to be an incident, but rather normal and ok

In colloquial use, "incident" has recently taken on a negative connotation because people don't generally use it except to refer to situations they would rather not elaborate upon. But in the slightly-formal language of newspaper writing it is frequently used to refer to the event that the article is talking about without repeating themselves. In this context it is neutral and has no negative connotation.

neallindsay··on Trusting clients is probably a security flaw
Games that aren't turn-based at least have the excuse that they can't afford the latency. They have explicitly decided not to be secure so they can pretend to "know" client-side that you ran around the corner and can be sniped by your opponent in a timeframe that's impossible because of the speed of light.
neallindsay··on GM parks claims driver location data was given to insurers, pushing up premiums
I think that "addresses" would be a better word there? I guess they were going for a pun, but it didn't land for me either.
neallindsay··on Nikon reveals a lens that captures wide and telephoto images simultaneously
I was talking about the lens achieving the difference in image distribution across the sensor, not a sensor with non-uniform pixels.
neallindsay··on Nikon reveals a lens that captures wide and telephoto images simultaneously
Like many here, my first thought was "telephoto is just a crop of a wide-angle, so what are they bragging about?" Here's my speculation:

Most lenses are "distortion corrected" because they assume they will be displayed on a flat surface. A little explanation for those not familiar: When you take a picture of a brick wall with your camera parallel to the wall, notice that the bricks on the edge of the photo are the same size as the ones in the center, even though the edge bricks are further away from the camera. This means more pixels are allocated per degree of view near the edge of the field-of-view than at the center.

An "uncorrected" lens is basically what we would call a "fish-eye" lens. Here (ideally) the same number of pixels are in a one-degree circle in the center of the field-of-view as are in a one-degree circle near the edge.

I don't think they would crow about just using an "uncorrected" lens either, so I'm going to guess that this is a "reverse-corrected" lens system where a one-degree circle in the center gets more pixels than it would at the edge. This would be the obvious approach if they want a good center crop but want to capture all the periphery as well.

neallindsay··on Douglas Crockford Is Not Your Dad
It's definitely no good for JSON that you don't write yourself. But that's not the JSON that you want to write comments into.
neallindsay··on JSON parsers that can accept comments
no
neallindsay··on JSON parsers that can accept comments
For what it's worth, yaml is JSON that allows comments (and a bunch of other syntax).
neallindsay··on UnitedHealthcare CEO Brian Thompson fatally shot in Manhattan
I would expect spending on executive security to increase a lot.
neallindsay··on Institutional memory and reverse smuggling (2011)
Yes, I was talking about the unofficial "historical" repos, not the official git repo that everyone works off of. I should have been more clear.
neallindsay··on The Porsche Macan EV is being recalled because its headlights are too bright
Apparently these were illegal in the US until 2022, so I don't know how many cars here even have them yet.

https://www.motorauthority.com/news/1135084_us-finally-allow...

neallindsay··on Institutional memory and reverse smuggling (2011)
Some git repos were ported over from SVN repos that were migrated from CVS. I never migrated anything into CVS, so I don't know if that was common at the time. But there are a lot of git repos out there with commits older than git itself (the Linux kernel itself I'm sure is the most prominent example).
neallindsay··on Y Combinator often backs startups that duplicate other YC companies, data shows
Making lots of bets is a core part of the venture capital model.
neallindsay··on Vitest vs. Jest
The JavaScript language is extremely standardized—the differences between Safari, Chrome, and Firefox are almost 100% down to browser APIs like Bluetooth and MIDI support and such. Those things don't come up in the JavaScript engine.

The only exception I can think of is proper tail calls, which Google explicitly removed and I don't know if Mozilla ever tried to implement: https://compat-table.github.io/compat-table/es6/#test-proper... https://chromestatus.com/feature/5516876633341952

neallindsay··on Show HN: Physically accurate black hole simulation using your iPhone camera
Another nice feature would be if it could simulate an accretion disk.
neallindsay··on Is the Q source the origin of the Gospels?
If you like this, you will definitely like the Data Over Dogma podcast.
neallindsay··on The 1600s were a watershed for swear words (2022)
Variety
neallindsay··on Ironclad link between red meat and cancer identified
I'd never thought of telomere decay inhibiting cancer growth, but it makes a lot of sense. So many of the ways our biology can fail are also "load bearing bugs" that can't be fixed without negative repercussions.
← PreviousPage 2 of 8Next →