Recent submissions

Comment · 1 month ago
I reached a certain point and decided that a plain single color or striped cotton tshirt from kohls looks and feels as good as any plain single color cotton shirt that might have a swoosh on it. Bonus the no logo version is usually cheaper as well.
Comment · 2 months ago
10/10, no notes.
Comment · 4 months ago
this is one of the coolest projects I've seen in a while. Great work.
Comment · 3 years ago
One easy thing you can do to reduce your caffeine intake is to drink 1/2 caff or have every X coffee be decaf. I switched to 1/2 caff and tapered down, that was a lot easier for me.
Comment · 3 years ago
Geo Metro was my first car, I still have fond memories of the freedom it afforded me.
Comment · 3 years ago
Great article and I had no idea what to call 'time of check, time of use' (TOCTOU) which is a great name instead of me having to describe the situation.

I'm building an app on top of django where I have to worry about this, if you're using django check out there support for select-for-update, and if you're database supports it nowait=True can be a great thing that will fail a read if a select for update is already run:

https://docs.djangoproject.com/en/4.2/ref/models/querysets/#...

Also worth mentioning optimistic locking if you're looking to solve the issue in a different way, there is more involved from the application side but it has some advantages as well. I tend to prefer select for update with nowait=True since it's simpler on the application side, but I have used optimistic locking in the past with great success and some systems support it OOTB. Here is a description from AWS for those curious:

https://docs.aws.amazon.com/amazondynamodb/latest/developerg...

Comment · 3 years ago
Both men are trained in martial arts and have competed in fights in the past in those disciplines. It's hard to describe the draw to someone that hasn't trained seriously or participated in that type of physical contest but it lets you understand yourself and someone else very deeply. There is a reason so many fighters will hug after a match, it's because in that moment you understand things about the other person that very few other people ever will. It started as a joke, gained some steam, and fizzled out, but I fully understand why they would want to do it.
Comment · 3 years ago
OpsWorks is going to stop working next year.
Comment · 3 years ago
AWS just killed OpsWorks.
Comment · 3 years ago
certificate manager also down (I know because I tried to update an ssl cert for cloudfront which only allows US-East-1 ssl certs, maybe someone will eventually fix that to allow any region to have the ssl cert for cloudfront)
Comment · 3 years ago
wanted to install a new ssl cert for cloudfront which can only be done on US-EAST-1, wish that would get fixed to allow SSL certs in different regions.
Comment · 3 years ago
I live in a midsize city outside of California that has 3 shelters downtown. 1 shelter dropped the sober requirement trying to house those people. They had to reinstate the rules within 24h because 2 employees had been assaulted, and a serious fight had broken out that required hospital care for both people involved. It is sad state of affairs.
Comment · 3 years ago
I'm curious about example 1. It sounds like you had all the right things in place so I have a few questions for you:

1. Were you just so hungry that you didn't want to stick with it anymore? What was your daily calorie deficit?

2. Did you enjoy your sports program or was it a chore to do?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton