• 0 Posts
  • 22 Comments
Joined 5 years ago
cake
Cake day: May 12th, 2020

help-circle
  • You can set up a global exception handler in some frameworks. By having multiple (not a crazy amount) of exceptions, you can set up logic for how to handle that kind of error. Then you can just throw the exception instead of writing individual catch blocks.

    This is especially helpful in things like a REST API where user input can cause all kinds of fun, let alone network issues, problems with your data source, etc.












  • Ohhh, that touched a deep well of hatred. My first engineering job was full stack and we had a highly modified Bootstrap front end. I’d build the thing they wanted, and the designers would get looped in for QA and insist that various pieces had to look like their little wireframe down to the pixel. I mean look, it’s easy right?

    I asked why they are insisting on constantly going against the standards that had been adopted company-wide. Did it stop? Why no! Did I get a suit down with my boss? Why yes!

    He is/was a cool guy and saw my perspective but also gave me precious advice on how to survive.





  • Here’s one: Trading cards are something you own. Skins are limited to a game you’re licensing.

    Here’s another: trading cards are portable; they can be put in a collection for display, put in a safety deposit box, etc. When CS goes, all the skins go with it.

    Another minor one: baseball cards are informational, the skins are cosmetic only.

    Mind you, I think both are forms of unregulated gambling and trading cards as well as loot boxes should have better societal scrutiny, but they aren’t identical.

    Edited for typo




  • As an exmo, it is specifically a ban on coffee and tea (not herbal tea, caffeinated tea). Some are strict and extrapolate this to mean “caffeine” and some are literalists that chug Mountain Dew. It’s very weird. As an aside: one of the names of ephedra is “Mormon tea”.


  • Honestly, I count using the four fingers for 1-4, close the fingers and extend thumb for five, then extend each finger again for 6-9.

    The right hand counts tens and works the same way. Can count to 100, and it’s pretty intuitive. It’s like if positional notation was discovered way earlier.