kgabbott's comments

kgabbott | 3 years ago | on: Choosing happiness

But which “you” matters here? Is it the you of the current moment, next hour, tomorrow, next month, etc…?

Any activity you do regularly and consistently will bring about different emotions and states of mind on different days. Some days you can’t wait to get started and some times you go weeks of having no motivation towards it.

I’m on a journey right now of hiking 50 miles a week. On most days, being able to get in nature for an hour or more is such a serene and grounding experience that brings me a lot of joy. But there are weeks where I don’t want to get out there, and even when I get started I don’t want to be there. But looking back, I see those days as part of the whole experience. I have retroactive enjoyment and pride in having pushed myself (type 2 fun) and I know that the subsequent 50 mile weeks are easier and more enjoyable because I kept the consistency up.

Yes, it is good to take breaks from things when you’re not enjoying them anymore. This allows you to reevaluate and get back your motivating “why”. But it can also be extremely hard to get back into a routine after a relatively short break. Anyone who has not exercised for a few weeks will know that feeling of weakness when they get started again.

kgabbott | 3 years ago | on: Ask HN: Who is hiring? (June 2022)

For (b), would also be really awesome if they explained how they chose these numbers. Given how specific it is, a salary of 197,819 seems to be derived from some function (e.g. average salary for a senior engineer position in SF).

kgabbott | 5 years ago | on: Stripe Will Pay Workers $20k to Leave New York and San Francisco

> and if you move to a state with no income tax, you might not even lose almost any net income.

If you relocate from NY to a no tax state, but are still basically working for the NY office, you might be taxed as a telecommuter in NY and still need to pay NY income tax.

I'm not sure how this works for a multi-state company like Stripe, but I've had to do this when I transitioned to working remotely for a NY based startup.

kgabbott | 5 years ago | on: Your Phone Is Your Castle

Why is it useless for actually protecting users? Is it easily circumventable or is it just that there are simpler attack vectors that don't require modifying kernel code?

kgabbott | 6 years ago | on: 2020 Leap Day Bugs

I respect wanting or needing to do this with just the builtin datetime module. For everyone else, I recommend relativedelta from the dateutil package: https://dateutil.readthedocs.io/en/stable/relativedelta.html

e.g.:

  >>> from dateutil.relativedelta import relativedelta
  >>> date = datetime.utcnow().date()
  >>> date
  datetime.date(2020, 2, 29)
  >>> date + relativedelta(years=1)
  datetime.date(2021, 2, 28)
page 1