{"id":15990,"date":"2021-10-15T09:48:16","date_gmt":"2021-10-15T07:48:16","guid":{"rendered":"https:\/\/daniel.haxx.se\/blog\/?p=15990"},"modified":"2021-10-15T09:48:16","modified_gmt":"2021-10-15T07:48:16","slug":"curl-installations-per-capita","status":"publish","type":"post","link":"https:\/\/daniel.haxx.se\/blog\/2021\/10\/15\/curl-installations-per-capita\/","title":{"rendered":"curl installations per capita"},"content":{"rendered":"\n<p>I&#8217;ve joked with friends and said that we should have a competition to see whom among us have the largest number of curl installations in their homes. This is of course somewhat based on that I claim that <strong>there are more than ten billion curl installations in the world<\/strong>. That&#8217;s more installations than humans. How many curl installations does an average person have?<\/p>\n\n\n\n<p>Amusingly, someone also asked me this question at curl presentation I did recently.<\/p>\n\n\n\n<p>I decided I would count my own installations to see what number I could possibly come up with, ignoring the discussion if I&#8217;m actually could be considered &#8220;average&#8221; in this regard or not. This counting includes a few assumptions and estimates, but this isn&#8217;t a game we can play with complete knowledge. But no crazy estimates, just reasonable ones!<\/p>\n\n\n\n<p>I decided to count my entire household&#8217;s amount just to avoid having to decide exactly which devices to include or not. I&#8217;m counting everything that is &#8220;used regularly&#8221;  in my house (things that haven&#8217;t been used within the last 12 months don&#8217;t count). We&#8217;re four persons in my household. Me, my wife and my two teenage kids.<\/p>\n\n\n\n<p>Okay. Let the game begin. This is the Stenberg household count of October, 2021.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Computer Operating Systems<\/h2>\n\n\n\n<p>4: I have two kids who have one computer each at home. One Windows 10 and one macOS. They also have one ChromeOS laptop each for school.<\/p>\n\n\n\n<p>3: My wife has no less than three laptops with Windows 10 for work and for home.<\/p>\n\n\n\n<p>3: I have three computers I use regularly. One Windows 10 laptop and two Debian Linuxes (laptop + desktop).<\/p>\n\n\n\n<p>1: We have a Windows 10 NUC connected to the living room TV.<\/p>\n\n\n\n<p>Subtotal: 11 full fledged computers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Computer applications<\/h2>\n\n\n\n<p>Tricky. In the Linux machines, the curl installation is often shared by all users so just because I use multiple tools (like git) that use curl doesn&#8217;t increase the installation count. Presumably this is also the same for most macOS and ChromeOS apps.<\/p>\n\n\n\n<p>On Windows however, applications that use libcurl use their own private build (as Windows itself doesn&#8217;t provide libcurl, only the curl tool) so they would count as additional installations. But I&#8217;m not sure how much curl is used in the applications my family use on Windows. I don&#8217;t think my son for example plays any of those games in which I know they use curl.<\/p>\n\n\n\n<p>I do however have (I counted!) 8 different VMs installed in my two primary development machines, running Windows, Linux (various distros for curl testing) and FreeBSD and they all have curl installed in them. I think they should count.<\/p>\n\n\n\n<p>Subtotal: 8 (at least)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Phone and Tablet Operating Systems<\/h2>\n\n\n\n<p>2: Android phones. curl is part of AOSP and seem to be shipped bundled by most vendor Androids as well.<\/p>\n\n\n\n<p>1: Android tablet<\/p>\n\n\n\n<p>2: iPhones. curl has been part of iOS since the beginning.<\/p>\n\n\n\n<p>1: iOS tablet<\/p>\n\n\n\n<p>Subtotal: 6<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Phone and tablet apps<\/h2>\n\n\n\n<p>6 * 5: Youtube, Instagram. Spotify, Netflix, Google photos are installed in all of the mobile devices. Lots of other apps and games also use libcurl of course. I&#8217;ve decided to count low.<\/p>\n\n\n\n<p>Subtotal: 30 &#8211; 40  yeah, the mobile apps really boost the amount.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TV, router, NAS, printer<\/h2>\n\n\n\n<p>1: an LG TV. This is tricky since I believe the TV operating system itself uses curl and I know individual apps do, and I strongly suspect they run their own builds so more or less every additional app on the TV run its own curl installation&#8230;<\/p>\n\n\n\n<p>1: An ASUS wifi router I&#8217;m &#8220;fairly sure&#8221; includes curl<\/p>\n\n\n\n<p>1: A Synology NAS I&#8217;m also fairly sure has curl<\/p>\n\n\n\n<p>1: My printer\/scanner is an HP model. I know from &#8220;sources&#8221; that pretty much every HP printer made has curl in them. I&#8217;m assuming mine does too.<\/p>\n\n\n\n<p>Subtotal: 4 &#8211; 9<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Potentials<\/h2>\n\n\n\n<p>I have half a dozen wifi-enabled powerplugs in my house but to my disappointment I&#8217;ve not found any evidence that they use curl.<\/p>\n\n\n\n<p>I have a Peugeot e2008 (electric) car, but there are no signs of curl installed in it and my casual Google searches also failed me. This could be one of the rarer <a href=\"https:\/\/daniel.haxx.se\/blog\/2018\/08\/12\/a-hundred-million-cars-run-curl\/\" data-type=\"post\" data-id=\"11277\">car brands\/models<\/a> that don&#8217;t embed curl? Oh the irony.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2021\/10\/e2008.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"2000\" height=\"857\" src=\"https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2021\/10\/e2008.jpg\" alt=\"\" class=\"wp-image-17499\"\/><\/a><figcaption>My Peugeot e2008<\/figcaption><\/figure><\/div>\n\n\n\n<p>I have a <a href=\"https:\/\/www.fitbit.com\/global\/us\/products\/smartwatches\/versa3\">Fitbit Versa 3<\/a> watch, but I don&#8217;t think it runs curl. Again, my googling doesn&#8217;t show any signs of that, and I&#8217;ve found no traces of my <a href=\"https:\/\/ember.com\/products\/ember-mug-2\">Ember coffee cup<\/a> using curl.<\/p>\n\n\n\n<p>My fridge, washing machine, dish washer, stove and oven are all &#8220;dumb&#8221;, not network connected and not running curl. Gee, my whole kitchen is basically <em>curl naked<\/em>.<\/p>\n\n\n\n<p>We don&#8217;t have game consoles in the household so we&#8217;re missing out on those possible curl installations. I also don&#8217;t have any bluray players or dedicated set-top\/streaming boxes. We don&#8217;t have any smart speakers, smart lightbulbs or  fancy networked audio-players. We have a single TV, a single car and have stayed away from lots of other &#8220;smart home&#8221; and IoT devices that could be running lots of curl.<\/p>\n\n\n\n<p>Subtotal: lots of future potential!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Score<\/h2>\n\n\n\n<p>11 + 8 + 6 + 30to40 + 4to9 = <strong>59 to 74  CIPH<\/strong> (curl installations per household). If we go with the middle estimate, it means <strong>66<\/strong>.<\/p>\n\n\n\n<p><strong>16.5 CIPC<\/strong> (curl installations per capita)<\/p>\n\n\n\n<p>If the over 16 curl installations per person in just this household is an indication, I think it may suggest that my existing &#8220;ten billion installations&#8221; estimate is rather on the low side&#8230; If we say 10 is a fair average count and there are 5 billion Internet connected users, yeah then we&#8217;re at <strong>50 billion installations<\/strong>&#8230;<\/p>\n\n\n\n<p>What&#8217;s your score?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve joked with friends and said that we should have a competition to see whom among us have the largest number of curl installations in their homes. This is of course somewhat based on that I claim that there are more than ten billion curl installations in the world. That&#8217;s more installations than humans. How &hellip; <a href=\"https:\/\/daniel.haxx.se\/blog\/2021\/10\/15\/curl-installations-per-capita\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">curl installations per capita<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":14434,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-15990","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-curl"],"_links":{"self":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/15990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/comments?post=15990"}],"version-history":[{"count":64,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/15990\/revisions"}],"predecessor-version":[{"id":17521,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/15990\/revisions\/17521"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/media\/14434"}],"wp:attachment":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/media?parent=15990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/categories?post=15990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/tags?post=15990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}