1988: "Containers"

This forum is for the individual discussion thread that goes with each new comic.

Moderators: Moderators General, Prelates, Magistrates

User avatar
Soupspoon
You have done something you shouldn't. Or are about to.
Posts: 3582
Joined: Thu Jan 28, 2016 7:00 pm UTC
Location: 53-1

1988: "Containers"

Postby Soupspoon » Wed May 02, 2018 6:16 pm UTC

Image

Alt text: All services are microservices if you ignore most of their features.

True story: I already plan, if I get I get a suitable windfall, to attach a large number of tablets to a wall in my house to create a touch-sensitive data-wall. Then, the programming will begin!

User avatar
cellocgw
Posts: 1933
Joined: Sat Jun 21, 2008 7:40 pm UTC

Re: 1988: "Containers"

Postby cellocgw » Wed May 02, 2018 6:34 pm UTC

I seem to remember some smartypants folks back in the early days of web browsers who set up a server that would split an image across as many devices as you had on hand. You had to browse to a common URL on all your toys, and click on some sort of map to identify the devices' screens' relative positions. Once set, the server would send out the proper subsection of some image to each device.

Anyone else remember the URL for that?
https://app.box.com/witthoftresume
Former OTTer
Vote cellocgw for President 2020. #ScienceintheWhiteHouse http://cellocgw.wordpress.com
"The Planck length is 3.81779e-33 picas." -- keithl
" Earth weighs almost exactly π milliJupiters" -- what-if #146, note 7

qvxb
Posts: 146
Joined: Mon Sep 19, 2016 10:20 pm UTC

Re: 1988: "Containers"

Postby qvxb » Wed May 02, 2018 9:42 pm UTC

Come men and women
Throughout the land
Don't try to comprehend
What you don't understand
Programming languages are
Beyond your command
Your powers of learning are fading
So get out your glue gun
To achieve your plan
It's your approach
That needs changin'

Thanks and apologies to Bob Dylan

User avatar
Soupspoon
You have done something you shouldn't. Or are about to.
Posts: 3582
Joined: Thu Jan 28, 2016 7:00 pm UTC
Location: 53-1

Re: 1988: "Containers"

Postby Soupspoon » Wed May 02, 2018 10:03 pm UTC

How many lines must a man code in,
Before he should author a man(1)?
How many Cs must K&R 'splain,
Before you code your own rand(3)?
Yes, and how many times must your sprintf(3) call,
Before you background with an &?

The answer, my friend, you find(1) in /usr/bin,
The answer you find(1) in /usr/bin.


Urgh, horrible. Should have spent more time on that than a few short minutes. I bet I'll get complaints about ambiguous scansion.

User avatar
TomPace101
Posts: 15
Joined: Sat Nov 13, 2010 11:24 pm UTC

Re: 1988: "Containers"

Postby TomPace101 » Wed May 02, 2018 11:18 pm UTC

I have to admit I need a little bit more explanation here. I don't quite see what "gluing things together" has to do with docker. The separate phones are like two docker containers, I guess, but beyond that it still doesn't quite make sense. Is the idea that all applications should be divided up into smaller ones running in VMs?

Justin Lardinois
Posts: 47
Joined: Wed Aug 26, 2015 4:47 pm UTC

Re: 1988: "Containers"

Postby Justin Lardinois » Wed May 02, 2018 11:24 pm UTC

Comic immediately made me think of this Super User answer from yesterday. Wonder if there was any inspiration.

TomPace101 wrote:I have to admit I need a little bit more explanation here. I don't quite see what "gluing things together" has to do with docker. The separate phones are like two docker containers, I guess, but beyond that it still doesn't quite make sense. Is the idea that all applications should be divided up into smaller ones running in VMs?


Cueball ends by saying "I just learned how to glue together stuff that I don't understand."

His point is that the proliferation of Docker observed by White Hat is at least in part due to Docker being widely used by people who don't understand it, for purposes that it doesn't provide much benefit.

rmsgrey
Posts: 3434
Joined: Wed Nov 16, 2011 6:35 pm UTC

Re: 1988: "Containers"

Postby rmsgrey » Thu May 03, 2018 1:15 am UTC

Justin Lardinois wrote:Cueball ends by saying "I just learned how to glue together stuff that I don't understand."

His point is that the proliferation of Docker observed by White Hat is at least in part due to Docker being widely used by people who don't understand it, for purposes that it doesn't provide much benefit.


Also, there's a lot of "cargo-cult programmers" who search Stack Exchange for code that says it does the right sort of thing, and stick it into their program, meaning it's possible to create a functional (if inefficient) program without understanding how any of the parts actually work.

DeGuerre
Posts: 48
Joined: Mon Feb 04, 2008 6:41 am UTC

Re: 1988: "Containers"

Postby DeGuerre » Thu May 03, 2018 2:38 am UTC


User avatar
orthogon
Posts: 2962
Joined: Thu May 17, 2012 7:52 am UTC
Location: The Airy 1830 ellipsoid

Re: 1988: "Containers"

Postby orthogon » Thu May 03, 2018 12:45 pm UTC

Soupspoon wrote:How many lines must a man code in,
Before he should author a man(1)?
How many Cs must K&R 'splain,
Before you code your own rand(3)?
Yes, and how many times must your sprintf(3) call,
Before you background with an &?

The answer, my friend, you find(1) in /usr/bin,
The answer you find(1) in /usr/bin.


Hats off to you and qvxb. Blowin' in the Wind was the first protest song I heard, when a teacher brought his electric guitar into my junior school class circa 1980. That was the coolest thing ever.

As I recall it, in the recording most of the lines start with "yes and". I'm not sure whether to interpret this as "yes &" or "yes &&". I guess it's the former, since it would fill up the terminal with y's, but at least the next command would run. In the latter case, "yes" would never terminate.

("yes" must be in contention for the most quintessentially unixy of all unix commands. Utterly ridiculous at first sight, but combined with the power of pipes, it's a jolly useful bit of kit.)
xtifr wrote:... and orthogon merely sounds undecided.

NotAllThere
Posts: 140
Joined: Fri Aug 06, 2010 12:54 pm UTC

Re: 1988: "Containers"

Postby NotAllThere » Thu May 03, 2018 3:09 pm UTC

qvxb wrote:Come men and women
Throughout the land
Don't try to comprehend
What you don't understand
Programming languages are
Beyond your command
Your powers of learning are fading
So get out your glue gun
To achieve your plan
It's your approach
That needs changin'

Thanks and apologies to Bob Dylan


Point of order. The offshore morons I interact with on a day-to-day basis never had any powers of learning. :x
yangosplat wrote:So many amazing quotes, so little room in 300 characters!

User avatar
ucim
Posts: 6489
Joined: Fri Sep 28, 2012 3:23 pm UTC
Location: The One True Thread

Re: 1988: "Containers"

Postby ucim » Thu May 03, 2018 4:18 pm UTC

That's not a point of order, that's a point of information. It might even be a pint of information.

Jose
Order of the Sillies, Honoris Causam - bestowed by charlie_grumbles on NP 859 * OTTscar winner: Wordsmith - bestowed by yappobiscuts and the OTT on NP 1832 * Ecclesiastical Calendar of the Order of the Holy Contradiction * Please help addams if you can. She needs all of us.

User avatar
SDK
Posts: 645
Joined: Thu May 22, 2014 7:40 pm UTC
Location: Canada

Re: 1988: "Containers"

Postby SDK » Thu May 03, 2018 8:06 pm UTC

Man, I just got downloaded into an xkcd comic.

I don't know how I feel about it.
The biggest number (63 quintillion googols in debt)

User avatar
Soupspoon
You have done something you shouldn't. Or are about to.
Posts: 3582
Joined: Thu Jan 28, 2016 7:00 pm UTC
Location: 53-1

Re: 1988: "Containers"

Postby Soupspoon » Thu May 03, 2018 11:18 pm UTC

You really hve no IDEa?

shieldforyoureyes
Posts: 342
Joined: Sat Apr 19, 2008 9:00 am UTC
Contact:

Re: 1988: "Containers"

Postby shieldforyoureyes » Fri May 04, 2018 1:05 pm UTC

I use droid2's as extra X displays. This is my desktop:

Image

The upper phone shows the current cut buffer on the laptop, the lower one has a bunch of status stuff. Email notification, various queues, date, weather, current mp3, etc.

User avatar
Soupspoon
You have done something you shouldn't. Or are about to.
Posts: 3582
Joined: Thu Jan 28, 2016 7:00 pm UTC
Location: 53-1

Re: 1988: "Containers"

Postby Soupspoon » Fri May 04, 2018 1:17 pm UTC

And the coffee cup shows how awake you are/should be?

shieldforyoureyes
Posts: 342
Joined: Sat Apr 19, 2008 9:00 am UTC
Contact:

Re: 1988: "Containers"

Postby shieldforyoureyes » Fri May 04, 2018 1:36 pm UTC

Soupspoon wrote:And the coffee cup shows how awake you are/should be?


That shows how much coffee I have available. (So... yes.)

User avatar
somitomi
Posts: 640
Joined: Fri Nov 06, 2015 11:21 pm UTC
Location: can be found in Hungary
Contact:

Re: 1988: "Containers"

Postby somitomi » Fri May 04, 2018 4:20 pm UTC

shieldforyoureyes wrote:I use droid2's as extra X displays. This is my desktop:

Image

The upper phone shows the current cut buffer on the laptop, the lower one has a bunch of status stuff. Email notification, various queues, date, weather, current mp3, etc.

Whoa, that's kind of neat. Could use some of the phone's we have kicking around doing nothing. What do I need to google in order find guides for this?
—◯-◯

shieldforyoureyes
Posts: 342
Joined: Sat Apr 19, 2008 9:00 am UTC
Contact:

Re: 1988: "Containers"

Postby shieldforyoureyes » Fri May 04, 2018 6:06 pm UTC

somitomi wrote:Whoa, that's kind of neat. Could use some of the phone's we have kicking around doing nothing. What do I need to google in order find guides for this?


You need an app on the phone to run X (I'm using "XServer XSDL", there might be alternatives?).

Then a shell script on a *nix computer sets env variable DISPLAY to point to the phone (DISPLAY=droid:0.0 or DISPLAY=192.168.10.73:0.0 or something like that) for X programs to display on the phone. (I use dhcp to give each phone a static internal ip, & local dns to name them.)

With just a couple of xterm windows & other simple things, you specify size & location when you start the program (with -geometry widthxheight+xoffsetxyoffset) then you don't even need to run a window manager on the device!


Return to “Individual XKCD Comic Threads”

Who is online

Users browsing this forum: Archgeek and 35 guests