Page 1 of 1

1988: "Containers"

Posted: Wed May 02, 2018 6:16 pm UTC
by Soupspoon
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!

Re: 1988: "Containers"

Posted: Wed May 02, 2018 6:34 pm UTC
by cellocgw
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?

Re: 1988: "Containers"

Posted: Wed May 02, 2018 9:42 pm UTC
by qvxb
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

Re: 1988: "Containers"

Posted: Wed May 02, 2018 10:03 pm UTC
by Soupspoon
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.

Re: 1988: "Containers"

Posted: Wed May 02, 2018 11:18 pm UTC
by TomPace101
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?

Re: 1988: "Containers"

Posted: Wed May 02, 2018 11:24 pm UTC
by Justin Lardinois
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.

Re: 1988: "Containers"

Posted: Thu May 03, 2018 1:15 am UTC
by rmsgrey
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.

Re: 1988: "Containers"

Posted: Thu May 03, 2018 2:38 am UTC
by DeGuerre

Re: 1988: "Containers"

Posted: Thu May 03, 2018 12:45 pm UTC
by orthogon
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.)

Re: 1988: "Containers"

Posted: Thu May 03, 2018 3:09 pm UTC
by NotAllThere
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

Re: 1988: "Containers"

Posted: Thu May 03, 2018 4:18 pm UTC
by ucim
That's not a point of order, that's a point of information. It might even be a pint of information.

Jose

Re: 1988: "Containers"

Posted: Thu May 03, 2018 8:06 pm UTC
by SDK
Man, I just got downloaded into an xkcd comic.

I don't know how I feel about it.

Re: 1988: "Containers"

Posted: Thu May 03, 2018 11:18 pm UTC
by Soupspoon
You really hve no IDEa?

Re: 1988: "Containers"

Posted: Fri May 04, 2018 1:05 pm UTC
by shieldforyoureyes
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.

Re: 1988: "Containers"

Posted: Fri May 04, 2018 1:17 pm UTC
by Soupspoon
And the coffee cup shows how awake you are/should be?

Re: 1988: "Containers"

Posted: Fri May 04, 2018 1:36 pm UTC
by shieldforyoureyes
Soupspoon wrote:And the coffee cup shows how awake you are/should be?


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

Re: 1988: "Containers"

Posted: Fri May 04, 2018 4:20 pm UTC
by somitomi
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?

Re: 1988: "Containers"

Posted: Fri May 04, 2018 6:06 pm UTC
by shieldforyoureyes
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!