Recent submissions

Comment · 3 years ago
This reminds me of getting new sneakers as a kid and trying to keep it clean, only to have a friend deliberately step on it. Was it annoying? Sure. But I gotta admit -- I didn't have to worry about keeping them pristine afterwards.
Comment · 4 years ago
That's not necessarily true.

I have several free Slack groups that I've used for years. I haven't paid a cent. But it means I've also have Slack installed by default. At every company I've worked, I've supported using Slack because I'm a happy user and these companies have shelled out for paid plans.

It feels similar to how MS Office is given out for free to students and sold to companies.

Comment · 5 years ago
Memory on the m1 doesn't behave like it does on x86. My 16 GB intel macbook feels like a boat and sounds like a airplane taking off at load. My 8GB mini feels fast and is silent.
Comment · 6 years ago
You might have an achievement service. It watches for logins and grants a user an achievement after logging in for N consecutive days. Your authentication code need not know that an achievement service exists.
Comment · 6 years ago
It varies. There were multiple encampments in the Richmond. 24th and Anza, 20th and Geary, and 16th and Geary for example. The city cleaned them up recently and posted signs about no lodging, but they were there for months before.
Comment · 6 years ago
That narrative doesn't fit the sheer number of videos showing a violent response to peaceful protest. It's an avalanche of evidence showing hostility, if not outright violence, towards peaceful, legal protests and journalists with press passes covering the situation. What’s shocking to me is the callous disregard the police have towards the very people they’ve sworn to protect right, even as the nation watches. When coupled with the fact that there is almost no accountability except in the most egregious cases that draws enough public outcry to make a politician uncomfortable.

This shit is seriously broken.

Comment · 7 years ago
It's where the market is heading -- away from all in one cable packages to pick and choice only what you want streaming services.
Comment · 7 years ago
Editor tooling matters. Formatting, traversing, matching, and highlighting parenthesis made all the difference for me.
Comment · 7 years ago
Security is enforced inbound. You can't enter without an account. You can grab "anything" you want and it's charged to the account.
Comment · 8 years ago
Comment · 9 years ago
Don't physically split keyboards allow for more extreme flexibility?

Single piece split keyboards still restrict the angle of your wrists. I find the MS ergo keyboards to better by default, but having the ability to adjust the angle opens the possibility of finding an even better angle (that may change over time).

Comment · 11 years ago

  [(foo(a), bar(a)) for a in collection if condition(a) or alt(a)]

  foo_bar = lambda x: (foo(x), bar(x))
  condition_or_alt = lambda x: condition(x) or alt(x)
  map(foo_bar, filter(condition_or_alt, collection))
As logic gets more complicated, wouldn't list comprehensions become easier to read straight through?
Comment · 11 years ago
What happens if the payment succeeds, but the subsequent call to the ERP fails? Wouldn't the reserved items be released?
Comment · 11 years ago
It happens naturally to a degree in a top down fashion. Newly hired executes / directors / managers often bring in their own people.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton