• 3 Posts
  • 109 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle



  • When passing or storing data in code you usually have to specify what type of data is it. An int is an integer, so numbers, there’s also boolean (true/false) and many others. There’s also string which is just characters of any kind (for the most part) which pretty much makes it a catch-all, since numbers can be a string along with letters and special characters.

    But to use a number as a number after it’s been received as a string it has to be converted to an int, which means extra code, more effort, more failure points etc etc.







  • You should look in a mirror, because you’re the densest one here, you’re just not getting it

    It’s possible with high precision sensors in a device meant for that purpose i.e. NOT your average phone

    Its NOT possible with any sort of degree of accuracy with the commodity grade sensors available in most consumer available devices

    The “app” that they “pinky promise” is accurate, isn’t. It can tell when you’re moving and coupled with GPS even what speed and that’s about it. Any promises about being able to determine where you are in the vehicle are a lie.

    The sensors built-in to your phone are done so for the job of determining the position of the device relative to YOU the PERSON NOT relative to where YOU AND your phone ARE in the physical space i.e. is it in your pocket, are you trying to rotate to landscape, is it upside down. NOT where you and your phone together are in physical space i.e. what seat you’re in.











  • Sugar is sugar, HFCS found in sodas and juice with added sugars is more concentrated, but your body still sees it and treats it as sugar.

    Which it also just happens to see as something to hoard because for our entire evolutionary timeline sugar was a rare resource to be had. It wasn’t until the industrial revolution that we began being able to have sugar whenever and however we wanted. Which on the timeline of evolution is nothing but a blimp, a speck of sand.