{"id":20256,"date":"2020-02-08T17:41:03","date_gmt":"2020-02-09T01:41:03","guid":{"rendered":"https:\/\/www.podfeet.com\/blog\/?p=20256"},"modified":"2020-02-08T17:41:03","modified_gmt":"2020-02-09T01:41:03","slug":"pbs-tb-1","status":"publish","type":"post","link":"https:\/\/www.podfeet.com\/blog\/2020\/02\/pbs-tb-1\/","title":{"rendered":"PBS Tidbit 1 of Y \u2014 Display Values are not Data!"},"content":{"rendered":"<p>This is not a normal episode of Programming By Stealth, it&#8217;s what Bart Busschots is calling a PBS Tidbit.  Listener <a href=\"https:\/\/twitter.com\/lbutlr\/\" target=\"_blank\" rel=\"noopener noreferrer\">@lbutlr<\/a> pointed out to Bart and me on Twitter that Bart&#8217;s math was wrong in his solution to the challenge he posted in PBS 89.  The assignment was to produce currency exchange rates for a variety of currencies, based an amount for the base country.  That is, 10,000 Japanese Yen is how many Euro, Canadian Dollars and New Zealand Dollars.<\/p>\n<p>The problem was that if you chose large amounts (like 10,000 Yen), Bart&#8217;s math fell over in a heap, returning 100 for all countires or with South Korean Won, most countries returned 0.<\/p>\n<p>Instead of being incensed or embarrassed at having made a mistake, Bart dug in, figured out what went wrong, and then wrote up his path to discovery and the tools he used to fix the mistake. He made it a teachable moment.  He decided to call this PBS Tidbit 1 of Y because this probably won&#8217;t be the last time this happens.<\/p>\n<p>After Bart finished, I talked about another thing @lbutlr told us and how I&#8217;m trying to implement it in my challenge solution. I&#8217;ll be writing that up once I get it figured out.<\/p>\n<p>You can read Bart&#8217;s explanation at <a href=\"https:\/\/www.bartbusschots.ie\/s\/2020\/02\/08\/pbs-tidbit-1-of-y-display-values-are-not-data\/\">www.bartbusschots.ie\/&#8230;<\/a>.<\/p>\n<audio class=\"wp-audio-shortcode\" id=\"audio-20256-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2020_02_08-TB1.mp3?_=1\" \/><a href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2020_02_08-TB1.mp3\">https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2020_02_08-TB1.mp3<\/a><\/audio>\n<p><a title=\"mp3 download\" href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2020_02_08-TB1.mp3\" target=\"_blank\" rel=\"noopener noreferrer\">mp3 download<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is not a normal episode of Programming By Stealth, it&#8217;s what Bart Busschots is calling a PBS Tidbit. Listener @lbutlr pointed out to Bart and me on Twitter that Bart&#8217;s math was wrong in his solution to the challenge he posted in PBS 89. The assignment was to produce currency exchange rates for a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":18994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[147,172,213],"tags":[474,1795,177,176,240,3895],"class_list":["post-20256","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-posts","category-ccatp","category-programming-by-stealth","tag-math","tag-numbers","tag-pbs","tag-programming","tag-programming-by-stealth","tag-rounding"],"jetpack_featured_media_url":"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2019\/08\/PBS_Logo-1-300x300_no_alpha.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/20256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/comments?post=20256"}],"version-history":[{"count":1,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/20256\/revisions"}],"predecessor-version":[{"id":20257,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/20256\/revisions\/20257"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media\/18994"}],"wp:attachment":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media?parent=20256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=20256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=20256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}