HN user

dullcrisp

1,530 karma
Posts1
Comments784
View on HN
The Lone Lisp Heap 2 months ago

Yeah upon looking it up it appears to have nothing to do with the data structure.

When they were doing a linear scan to find a large enough free block I was waiting for a heap to come into the picture, but apparently it’s not done that way.

The Lone Lisp Heap 2 months ago

I don’t know too much about this, but strictly based on the name I assumed that you should use a heap. Is that not right?

If you haven’t taken a lock, any other code can start executing at any time, so any invariant you might have established on one line may no longer be true on the next line.

If you don’t depend on anything mutable that anyone else can modify then this is mitigated, but that’s a very specific discipline you have to abide by.

Because the police violated the constitution by breaking down his door without a warrant, and were apparently doing so as a matter of practice?

Is revocation really such a hard problem? Seems you could store a set of revoked tokens in memory and have a background task update it every couple of seconds. I guess it’s a separate set of infrastructure to maintain but I don’t see why it’s always presented as the thing that undermines an entire authentication scheme.

I guess if you need your tokens revoked this millisecond it’ll require an extra synchronous call on every request but that seems like a unlikely requirement. And not that any of this matter for your 10 user app anyway I guess.

Do you all really have your random public git repos accidentally being used in production by Facebook? No one’s ever made one of my one-commit git repos a key component of corporate infrastructure.

Or do you mean that the meaning of what it is to “publish” something has shifted?

We’d have a settlement in the Sahara desert if it took six months to get there and there were something interesting there. We have one in Antarctica.

Okay pretend I said baby carrots if you prefer.

I’m sure some companies do cynically provide perks to try to buy or dazzle people, but I don’t think that that’s the only reason that anyone does it.

The point is it’s not about the monetary value of the perks but about the attitude. If you used to get donuts in the break room on Fridays or get a card on your birthday or whatever, and then management decided you don’t need donuts you’d feel about the same way.