{"id":4627,"date":"2013-05-27T00:01:40","date_gmt":"2013-05-27T07:01:40","guid":{"rendered":"http:\/\/www.wambooli.com\/blog\/?p=4627"},"modified":"2013-05-25T14:02:32","modified_gmt":"2013-05-25T21:02:32","slug":"buffer-buffer","status":"publish","type":"post","link":"https:\/\/www.wambooli.com\/blog\/?p=4627","title":{"rendered":"Buffer Buffer"},"content":{"rendered":"<p>How do you explain a <em>buffer<\/em>? If you were my grandmother, you would believe it to be some soft, fuzzy utensil used to polish something. &#8220;Bring me the buffer, I need to wax the car,&#8221; she would say. A computer programmer would find himself completely perplexed at such a request.<br \/>\n<!--more--><br \/>\nLike many normal words &#8212; boot, click, router, drive, and so on &#8212; the word buffer takes on a different meaning when you deal with high tech electronics. And like many of those words, buffer has several definitions.<\/p>\n<p>Frequently you&#8217;ll see the word buffer used when it comes to waiting for something. A video is about to load, but you see the words &#8220;buffering.&#8221; I&#8217;m certain that casual users figure that &#8220;buffering&#8221; means something like, &#8220;I&#8217;m waiting an interminable length of time just to annoy you because you&#8217;re in a hurry, especially because the Internet seems all zippy-speedy in another window.&#8221; Something like that.<\/p>\n<p>Actually, the term is improperly used in that instance. The real term should be <em>spooling<\/em>, which Grandma would take to mean gathering some type of thread-like substance up around a dowel.<\/p>\n<p>Spooling does, in fact, involve a buffer. So I suppose the term is correct, although it&#8217;s one of those times a noun is forced into verb-hood.<\/p>\n<p>A <em>buffer<\/em> is storage. It&#8217;s a chunk of memory set aside to hold information. It&#8217;s a scratch pad of sort. The memory won&#8217;t always be used to store the same information. Think of the buffer as a waiting room.<\/p>\n<p>For example, when information is read from a storage device (or from the Internet), it&#8217;s usually stored in a given chunk of memory, a buffer. From there it&#8217;s manipulated or otherwise used, but then the next batch of information is read, overwriting the original batch. That&#8217;s the function of a buffer.<\/p>\n<p>When you view streaming video on the Internet, such as on YouTube, information is read in chunks and stored in a buffer. The buffer doesn&#8217;t load the entire video, just enough to get you going. Then information is read from the buffer and displayed.<\/p>\n<p>When you have a fast connection, the buffer is read, video displayed, then the buffer is quickly filled again. You don&#8217;t notice any stops and starts. When the connection is slow, however, you see the nasty pause when the buffer can&#8217;t be refilled fast enough.<\/p>\n<p>I suppose if they called it spooling people may still be baffled as to what&#8217;s really happening. So I&#8217;m not going to vent extensively on this topic. Leave it so say that somewhere back in time, some programming nudnik decided to refer to the spooling process as &#8220;buffering.&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How do you explain a buffer? If you were my grandmother, you would believe it to be some soft, fuzzy utensil used to polish something. &#8220;Bring me the buffer, I need to wax the car,&#8221; she would say. A computer programmer would find himself completely perplexed at such a request.<\/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-4627","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\/4627","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=4627"}],"version-history":[{"count":4,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4627\/revisions"}],"predecessor-version":[{"id":4658,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4627\/revisions\/4658"}],"wp:attachment":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}