asztal
Re:Trackmania Nightmares
on Tuesday July 09, 2024 @03:49AM (#40913540)
This has happened to me multiple times with AWS SDK V3 (and other packages like react, cassandra-driver, etc.) and while there are ways to avoid it, it's not entirely simple to prevent.
Sadly, the most robust solution is often to use duck typing, e.g. instead of checking if the error is an instance of ResourceNotFoundError, check if error.code equals "ResourceNotFound" which works even if there are multiple library versions present. This is especially the case if you're writing a library that might be provided an instance of an AWS SDK v3 client, as it could be a different version.
I've been doing this stuff for 20 years so I'm used to it, I just feel bad for the novices.
Re:Tell HN: Bash.org Is No More
on Thursday January 11, 2024 @05:34PM (#38960378)
*****? That's amazing! I've got the same password on my luggage!
Re:The “Activate Windows” watermark ported to Linux
on Sunday May 15, 2022 @02:14PM (#31389613)
This looks nice, but would be better if it were fully functional. Maybe it could integrate with http://www.linuxgenuineadvantage.org/?
Re:Mate: Netflix browser extension for learning words via subtitles
on Friday April 05, 2019 @02:40PM (#19585702)
Kindle has this in eBooks, for English and Chinese. There's 3 or 4 difficulty levels. I'm just hoping they'll add more languages. (Or that there will be a free software solution...)
Re:How Designers Engineer Luck Into Video Games (2017)
on Saturday March 16, 2019 @09:40AM (#19407769)
My first thought was about NetHack. That game is ruthless, and has no qualms about letting the RNG screw you over. If you make 3 attempts at something with a 1 in 3 probability of success, you'd better be prepared for that 29.6% chance of failure.
And don't even talk to me about breaking mirrors...
Re:Matt Parker – Standup Mathematician
on Saturday October 06, 2018 @09:57AM (#18155136)
Didn't expect to see you posting here either. Anyway, thanks for teaching me what a sausage catastrophe is!
Re:The NetHack dev team is happy to announce the release of NetHack 3.6.1
on Sunday April 29, 2018 @09:02AM (#16951825)
Ascended my first tourist yesterday! It's actually a great class to play after the quest. You just have to be very careful (and perhaps lucky) in the early game.
Re:What I learned from writing six functions that all did the same thing
on Sunday November 06, 2016 @03:51PM (#12886966)
Sounds exactly like my experience doing Project Euler. I learned a lot about mathematics from it. I don't know how much of it actually helped me as a programmer, because I don't tend to run into problems of this nature (not that I notice, anyway), but it was fun.
Re:StartSSL starts LetsEncrypt competitor product
on Thursday June 16, 2016 @07:34AM (#11915414)
StartCom is based in Israel as far as I know.
Re:ES6 is beautiful
on Thursday April 07, 2016 @02:51PM (#11449608)
The main thing I am looking forward to becoming accepted is the async/await proposal.
It makes my code look a lot easier to follow, easier to write, and less error-prone.
Re:Am I hacked? Oh, it's just Vodafone
on Saturday December 26, 2015 @08:27PM (#10796022)
The company I work for had problems with users who couldn't install our ClickOnce-deployed application. It turned out that they were using a 3G dongle which modified one of the JPEG files in-flight such that it didn't match the hash in the application manifest. We moved to HTTPS anyway so thankfully this stuff is more or less history.
Re:Securing Email Communications from Facebook
on Monday June 01, 2015 @05:18PM (#9642232)
Exactly. It seems perfect for this sort of email because the existing PKI handles trust.