{"id":8501,"date":"2016-08-16T00:01:41","date_gmt":"2016-08-16T07:01:41","guid":{"rendered":"http:\/\/www.wambooli.com\/blog\/?p=8501"},"modified":"2016-08-13T12:21:12","modified_gmt":"2016-08-13T19:21:12","slug":"time-travel-to-1982-and-deal-with-a-jpeg","status":"publish","type":"post","link":"https:\/\/www.wambooli.com\/blog\/?p=8501","title":{"rendered":"Time Travel to 1982 and Deal with a JPEG"},"content":{"rendered":"<p>Today, downloading an image from the Internet takes mere seconds. It&#8217;s not a big deal. Yet, I remember in the 1990s, when I originally crafted the Wambooli website, I made sure that all the graphics were about 50K in size. I didn&#8217;t want someone to grow old while the page loaded.<br \/>\n<!--more--><br \/>\nPage load times are insignificant today. In fact, downloading huge images and video files happens nearly instantaneously, thanks to broadband Internet.<\/p>\n<p>But take yourself back in time to the days of the microcomputer, back when the Apple II reigned and the Commodore 64 vied for second place with the TRS-80.<\/p>\n<p>A computer system back then didn&#8217;t have a hard drive. That&#8217;s because your typical 5MB hard drive cost several thousand dollars. Even so, those early operating systems couldn&#8217;t deal with that much storage: The 10MB hard drive attached to my TRS-80 Model III at work had to be partitioned into multiple &#8220;logical&#8221; drives so that I could use it.<\/p>\n<p>Computers used floppy drives for storage, or they used cassette tape, but most nerds saved up and purchased a floppy drive. That drive gave you about 100K or 200K of storage. That was plenty, especially given that usable RAM topped out at 64K.<\/p>\n<p>Modems were around back then, but they ran at a piddly 300BPS. I believe the 1200 &#8220;baud&#8221; modems were available, but horrendously expensive.<\/p>\n<div id=\"attachment_955\" style=\"width: 360px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-955\" src=\"http:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2009\/12\/trs80modem.png\" alt=\"Figure 1. My very first modem.\" width=\"350\" height=\"251\" class=\"size-full wp-image-955\" srcset=\"https:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2009\/12\/trs80modem.png 350w, https:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2009\/12\/trs80modem-300x215.png 300w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><p id=\"caption-attachment-955\" class=\"wp-caption-text\">Figure 1. My very first modem.<\/p><\/div>\n<p>Given a typical computer configuration, assume you wanted to download a 1.2 megapixel JPEG file, basically a typical image file you&#8217;d see on Reddit or 9gag.<\/p>\n<p>First, it would take you over two hours to do the transfer. That&#8217;s assuming that the call (because it was a dialup modem) wasn&#8217;t interrupted and no packets needed to be re-sent.<\/p>\n<p>Second, you wouldn&#8217;t be able to store the JPEG file in a standard computer configuration. You might find a utility that could spool a 1.2MB (approximate) file across several floppy disks. Doing so as the file was received, however, would be problematic: microcomputers didn&#8217;t multitask. The transfer would have to wait while information was written to disk.<\/p>\n<p>Finally, assuming that the file was saved to disk, you absolutely could not load it into memory. Even if the system had the full 64K of RAM, you&#8217;d need nearly 20 times that amount to load the full image. Further, the monitors of the day lacked the graphics depth to properly display the image. A hacker might be able to cobble together code to sample the image and display it at low resolution, but what&#8217;s the point?<\/p>\n<p>Even an early IBM PC, packed with 640K of RAM, a hard drive, and CGA graphics, wouldn&#8217;t be up to the task.<\/p>\n<p>So when you see a typical 1.2 megapixel image appear on the screen on a web page, and it loads in no time, show some appreciation. Things could be worse.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Computers back then were similar to what they are now, just slower, with less capacity, and no graphics.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-8501","post","type-post","status-publish","format-standard","hentry","category-main"],"_links":{"self":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8501"}],"version-history":[{"count":3,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8501\/revisions"}],"predecessor-version":[{"id":8516,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8501\/revisions\/8516"}],"wp:attachment":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}