Hacker Newsnew | past | comments | ask | show | jobs | submit | ishjoh's commentslogin

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.


Geo Metro was my first car, I still have fond memories of the freedom it afforded me.


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...


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.


Or, they are just trolling the world to divert attention from something else and you buy it every time no questions asked.

Or maybe not, what do I know


OpsWorks is going to stop working next year.


I didn't see anything about that. But I assume if it is they will provide an off-ramp to Cloudformation or another similar tool.


AWS just killed OpsWorks.


AWS definitely deprecates features, but it's not near as common as Google killing products. Aside from that, AWS gives _plenty_ of notice, and good alternatives.


Yep, the RubyGems v1 API deprecation broke my ancient OpsWorks config and I guess they decided to just give up on supporting it.


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)


> cloudfront which only allows US-East-1 ssl certs

This seems like an odd limitation. Do you know the technical reason?


CloudFront is a global service according to AWS (I believe you pay more if you want your content in CDNs in more/different regions' edges).


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.


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.


Yeah imagine if they allowed crack smoking or speed. No way. Heroin and fentanyl maybe.


what city?


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?


1) I am pre-trained in fasting extended amounts of time and actually enjoy it, being hungry wasn't the problem. but sometimes (quite often for me unfortunately) adult life happens, and I just have to do something like eating business lunch with a client or some holiday feast with the family. A few times of these things happening (sometimes even within 1 week) and after a while I just think "fuck it". The only thing I actually can keep for many months now is going meatless, but this was a great body response feeling within few days and just staying noticeably good, including appetite changes over time I spotted (like preference for fresh vegetables and fruits I never had before) as well as a disgust now to kill/eat animals, so this is now a natural body reaction on a lower level.

2) the usual dopamine loop seemed to work for me here, like the workout itself was intense (nearly fainting after lifting sometimes), feeling a small high afterwards, and even enjoyed the DOMS 2 days after proudly, also helped noticeably in stress reduction to move (accumulated over sets) a few tons of iron. had a kind of personal coach (even though shared with others when I didn't need him) and felt well in my gym environment - everything on point. After a while, I stopped going for no particular reason.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: