Better HN
topnewbestaskshowjobs
Log inSign up

amiruci2

3 karma · joined Apr 21, 2013 (13y ago) · 5 submissions

Submissions

comment 5y ago · link · parent

I gave it a shot and it was the closest I had felt to being at a party since covid. I usually bounce around at parties IRL and no other virtual experience had given me that ability so far.

comment 6y ago · link · parent

They resort to jamming at times: https://ir.usembassy.gov/the-iranian-regime-continues-jammin... https://www.wsj.com/articles/SB10001424052970203501304577088...

comment 13y ago · link · parent

I looked into getTimezoneOffset when implementing pre-orders here at Gumroad and realized that technically this is incorrect:

"Luckily, the browser already knows what timezone the user is currently in, so we can make use of the getTimezoneOffset() function"

Getting the timezone offset isn't the same as getting the timezone. Granted that in certain cases having the offset is good enough, but sometimes you need the actual timezone. In my example I needed to know when a merchant wants their pre-order to be released. For that to work predictably I needed to know their exact timezone in order to adjust the time for daylight saving properly. Remember that there are quite a few timezones that are UTC-7 and they can behave differently in regards to daylight saving.