Artwork

Content provided by JT Pennington. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by JT Pennington or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Episode 32: Jeff's Spygames... and more...

50:57
 
Share
 

Manage episode 387044343 series 3533138
Content provided by JT Pennington. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by JT Pennington or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

Jeff finds a spycam in his house...
Pics:
https://photos.smugmug.com/photos/i-3TNJDdR/0/7a1c0f79/4K/i-3TNJDdR-4K.jpg
https://photos.smugmug.com/photos/i-2XkJcGL/0/a4e69b53/4K/i-2XkJcGL-4K.jpg
https://photos.smugmug.com/photos/i-kf4ngmC/0/413f7fb1/4K/i-kf4ngmC-4K.jpg
https://photos.smugmug.com/photos/i-W7H5TwT/0/ae6d64ab/4K/i-W7H5TwT-4K.jpg
https://photos.smugmug.com/photos/i-QFBh738/0/00fd0296/4K/i-QFBh738-4K.jpg

Ulfnic's JS Code information:

What is 0.1 + 0.2? Wrong! It's 0.30000000000000004. Getting JS to evaluate basic decimal math is a StackOverflow greasy rabbit hole of hacky solutions guaranteed to work for at least a week. JavaScript needs a 3rd-party 24KB library to accomplish basic decimal math(1), alternatively you can use the new (and not well supported) BigInt() to pretend you're doing decimal math by string hacking decimal points into super long integers. (1) https://github.com/MikeMcl/big.js/blob/master/big.js (2) https://dustinpfister.github.io/2019/09/06/js-bigint/ (3) https://javascriptinfo.com/view/3760151/native-bigint-and-intl-numberformat-for-accurate-currency-calculations-and-display Steps to to reproduce 0.1 + 0.2: # Option 1: https://jsconsole.com/ console.log(0.1 + 0.2) # Option 2: In browser # ctrl + shift + j # Chromium # ctrl + shift + k # Firefox # click on "Console" tab console.log(0.1 + 0.2) # Option 3: NodeJS nodejs -e "console.log(0.1 + 0.2)" 
  continue reading

66 episodes

Artwork
iconShare
 
Manage episode 387044343 series 3533138
Content provided by JT Pennington. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by JT Pennington or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

Jeff finds a spycam in his house...
Pics:
https://photos.smugmug.com/photos/i-3TNJDdR/0/7a1c0f79/4K/i-3TNJDdR-4K.jpg
https://photos.smugmug.com/photos/i-2XkJcGL/0/a4e69b53/4K/i-2XkJcGL-4K.jpg
https://photos.smugmug.com/photos/i-kf4ngmC/0/413f7fb1/4K/i-kf4ngmC-4K.jpg
https://photos.smugmug.com/photos/i-W7H5TwT/0/ae6d64ab/4K/i-W7H5TwT-4K.jpg
https://photos.smugmug.com/photos/i-QFBh738/0/00fd0296/4K/i-QFBh738-4K.jpg

Ulfnic's JS Code information:

What is 0.1 + 0.2? Wrong! It's 0.30000000000000004. Getting JS to evaluate basic decimal math is a StackOverflow greasy rabbit hole of hacky solutions guaranteed to work for at least a week. JavaScript needs a 3rd-party 24KB library to accomplish basic decimal math(1), alternatively you can use the new (and not well supported) BigInt() to pretend you're doing decimal math by string hacking decimal points into super long integers. (1) https://github.com/MikeMcl/big.js/blob/master/big.js (2) https://dustinpfister.github.io/2019/09/06/js-bigint/ (3) https://javascriptinfo.com/view/3760151/native-bigint-and-intl-numberformat-for-accurate-currency-calculations-and-display Steps to to reproduce 0.1 + 0.2: # Option 1: https://jsconsole.com/ console.log(0.1 + 0.2) # Option 2: In browser # ctrl + shift + j # Chromium # ctrl + shift + k # Firefox # click on "Console" tab console.log(0.1 + 0.2) # Option 3: NodeJS nodejs -e "console.log(0.1 + 0.2)" 
  continue reading

66 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide