greptilian logo

IRC log for #sourcefu, 2015-07-02

http://sourcefu.com

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:23 pdurbin 'i think docker containers have taken over the "container" idea that was traditionally held by appservers, OSGi, etc' http://javabot.evanchooly.com/logs/%23glassfish/2015-07-01
00:36 prologic I disagree
00:36 prologic Docker containers at least
00:36 prologic are more aligned with processes
00:36 prologic the Docker CLI itself even mimics parts of many CLI tools found in binutils
00:36 prologic docker ps, docker rm, docker run, etc
00:37 prologic What I've come to appreciate (I've been using containers since OpenVZ) is that the Docker "way" is about process/service isolation
00:37 prologic where ideally each container just does one thing and typically only runs a single process
00:37 prologic and are as a side effect quite quick to spawn and scale
00:38 prologic I'm still waiting for the whole build process of images to improve though to a point wher eyou can separate our buidl from runtime
00:38 prologic and have very tiny runtime images with just the stuff needed to run X
00:39 pdurbin prologic: did I already ask you about Docker vs. Rocket? I heard about the latter here: #138: Rocket, App Container Spec, and CoreOS with Alex Polvi - The Changelog - https://changelog.com/138/
00:40 prologic I think so yeah
00:40 prologic but I think CoreOS efforts are becoming more aligned with Docker again
00:40 prologic which is nice to see
00:40 prologic aka runC
00:40 prologic open containers
00:40 prologic So hopefully we'll see a lot of tood things come out of that
00:43 pdurbin the Rocket guy said something about how he liked Docker back when it was a simple unit everyone could build on
00:43 pdurbin http://techcrunch.com/2014/12/01/coreos-calls-docker-fundamentally-flawed-launches-its-own-container-runtime/
00:50 pdurbin anyway, it sounded good :)
01:08 prologic yeah I can see where he's coming from
01:08 prologic but Docker grew did'nt it
01:08 prologic and became an ecosystem unto it's own
01:08 prologic which I really appreciate and love using
01:09 prologic that's not to say that I won't perhaps develop my own ecosystem and container solution around runC one day -- perhaps in Python :)
01:11 * pdurbin looks at runC: Introducing runC: a lightweight universal container runtime | Docker Blog - https://blog.docker.com/2015/06/runc/
01:12 pdurbin "There has been lots of demand for separating this plumbing from the Docker platform, so that it can be re-used by other infrastructure plumbers in accordance with infrastructure plumbing best practices. Today we are excited to announce that we are doing just that!"
01:13 pdurbin ok so runC seems to address the concerns of the Rocket guy
01:13 pdurbin at first glance anyway
01:15 pdurbin anyway, let me know when it all settles down ;)
01:17 pdurbin because this is me trying to use docker in production: https://twitter.com/kelseyhightower/status/530797723596111872 ;)
01:34 pdurbin aditsu: I'm getting "SHA1 checksum verification for jetty-8.1.5.v20120716.zip failed!" from http://myivy.aditsu.net/org.eclipse/jetty/8.1.5.v20120716/packager.xml when I try `ant build`
01:39 prologic pdurbin: I don't understand the reference
01:39 prologic What issues are you having or not having? :)
06:23 aditsu pdurbin: oh noes... I'll check
07:20 aditsu damn, these turkeys.. they don't release source archives, so I have to get snapshots from their git, but they change sometimes
07:27 aditsu joined #sourcefu
09:19 aditsu pdurbin: ok, should be fixed now (I also updated the jetty version)
09:19 aditsu no change in the project, just in my ivy repository
10:11 * pdurbin hits up arrow and enter
10:12 pdurbin BUILD SUCCESSFUL
10:13 pdurbin org.postgresql.util.PSQLException: FATAL: database "phonebook" does not exist
10:13 pdurbin I think I missed a step :)
10:15 pdurbin Database setup: Create a postgres database called "phonebook" and run the command from setup.sql
10:15 aditsu right
10:17 pdurbin aditsu: it works! nice. no need for docker or vagrant even
10:18 aditsu yay :)
10:39 pdurbin aditsu: I mean, you *could* use vagrant or docker to create the database and run postgres in a VM or container if you want.
10:59 philbot joined #sourcefu
10:59 Topic for #sourcefu is now http://sourcefu.com | logs at http://irclog.greptilian.com/sourcefu/today
11:19 prologic hey all
11:20 prologic just a reminder to please try out and test https://github.com/prologic/autodock-paas when you have a few spare mins :)
11:20 prologic be interested to see if this "just works"
11:20 prologic I tested it at work today and fixed up any issues I found
11:20 prologic so it works in one environment/host so far
11:20 prologic Ubuntu laptop
11:39 aditsu well, I have no idea what all that stuff is
11:43 pdurbin_m joined #sourcefu
11:43 pdurbin_m hydrajump: I nominate you to try it out :)
11:47 pdurbin_m aditsu: thanks for adding more to http://www.tricider.com/brainstorming/35DVEKere5x
11:48 pdurbin_m prologic: maybe you can pm him the link to delete the test idea
11:50 aditsu pdurbin_m: there doesn't seem to be a way to sort them
11:50 aditsu (you can sort entries in my phonebook demo :p)
11:58 pdurbin_m aditsu: maybe we should make a brainstorming app ;)
11:58 aditsu hehe
12:09 prologic I need an idea for a new org/proejct name
12:09 prologic for my minmal cli-driven docker paas
12:09 prologic ideas?
12:26 aditsu dockli
12:42 prologic dockli eh? hmm
12:42 prologic thinking?
12:43 prologic so if you haven't seen already:
12:43 prologic http://shortcircuit.net.au/~prologic/blog/article/2015/03/24/a-docker-based-mini-paas/
12:43 prologic this is what I want to turn into a bit of a side project
12:43 prologic because I've already seen several folk start o tuse this in productino/internal systems
12:43 prologic I'm using it myself too for several customer sites
12:44 prologic https://github.com/prologic/autodock-paas is my attempt at making setting this up a single command
12:44 prologic ala curl .. | bash -s style
13:00 pdurbin I forget what they call that. There's a nicely judgemental and pejorative term.
13:01 prologic hmm?
13:02 pdurbin piping the output of curl to your shell
13:02 pdurbin especially dangerous as root :)
13:02 pdurbin codex: you're a security guy
13:04 prologic dangerous?
13:04 prologic only if you run some malicious script
13:04 prologic sure :)
13:05 prologic but that's like saying
13:05 prologic downloading some executable
13:05 prologic especialyl dangerous if run as rot
13:05 prologic how is it any different?
13:07 prologic https://gist.githubusercontent.com/prologic/dbc4d86eda8405c412dc/raw/12b29d091ad3785624dd4c5cf88fa990f41ebf98/rootme.sh
13:08 prologic pipe that into /bin/bash -s
13:08 prologic no don't :)
13:08 pdurbin heh
14:16 aditsu "Whoops. We seem to have missed the gist of that gist you were looking for."
14:17 aditsu anyway, it's not different, and that's why I don't "download some executable" and run as root
14:19 aditsu I'm not aware of a special pejorative term for that though
14:21 prologic I deleted it
14:21 prologic it was silly
14:21 prologic something like
14:22 prologic sudo dd if=...
14:22 prologic you get the drift :)
14:22 prologic (factory)
14:22 prologic prologic@daisy
14:22 prologic Fri Jul 03 00:25:31
14:22 prologic ~/factory
14:22 prologic $ factory up
14:22 prologic Creating machine: test
14:22 prologic {'driver': 'digitalocean'}
14:22 prologic woot woot :)
14:22 prologic factory is coming together nicely
14:23 aditsu lol that would have completely failed here :p
14:24 aditsu zsh: command not found: sudo
14:24 prologic ahahaha
14:24 prologic no sudo on your system?
14:24 aditsu it might work without sudo though, because I'm in the disk group
14:24 prologic oh whoops
14:24 prologic yeah that'll do it
14:24 aditsu nope, sudo is lame
14:25 prologic I normally never know root passwords
14:25 prologic so I use it quite a bit
14:25 prologic I'm not even sure any of my systems have valid root passwords really
14:28 aditsu why sudo this and sudo that? just use a root shell and be done with it :p I keep a couple open at all times
14:32 prologic no that's what I mean
14:32 prologic that's precisely what I use sudo for :P
14:32 prologic sudo su -
14:32 prologic that's is 99% of the time
14:32 prologic like I said; f**k knows what any of my root passwords are on dozens of systems
14:33 prologic haha
14:33 aditsu ah ok, that makes more sense I guess
14:34 aditsu but you still need to know your password for a dozen systems, don't you?
14:34 aditsu or dozens
14:36 prologic nope
14:36 prologic all key base
14:37 aditsu doesn't sudo ask for a password?
14:37 prologic it does
14:37 prologic I don't normally change that password though
14:37 prologic it's the only one my fingers remember how to type quickly
14:38 aditsu so you use the same password everywhere? :p
14:38 prologic my 150+ other passwords for various sites, services and what not are stored in an encrypted file
14:38 prologic with a set of tools I wrote myself
14:38 prologic haha
14:38 prologic you wish :P
14:38 aditsu I mean for sudo
14:38 prologic oh yeah sure
14:39 aditsu that's kinda like having the same root password
14:39 prologic you'll have to break my fingers to compromise that though
14:39 prologic that's true
14:39 aditsu so you still don't need sudo :)
14:39 prologic but I guess you a) have to break into my desktop at home
14:39 prologic and b) break my fingers
14:40 prologic lol
14:40 prologic I still need sudo to gain root
14:40 prologic but that's all I guess
14:40 aditsu hey man, I'm not trying to get your password, just talking :)
14:40 prologic I know
14:40 prologic haha
14:40 prologic it's kinda funny though
14:40 prologic the lengths we go to
14:40 prologic and yet it can never be good enough
14:40 prologic fuck passwords
14:41 prologic they're useless really
14:41 prologic I actually want to try implementing TFA auth just about everwhere at some point
14:41 prologic so you really can't compromise anything I do or own
14:41 prologic not without breaking my fingers
14:41 prologic and stealing my posessions
14:41 prologic haha
14:41 aditsu I doubt anybody is trying to
14:42 prologic $ factory ls
14:42 prologic NAME                           ACTIVE   DRIVER         STATE     URL                          SWARM
14:42 prologic test                                    digitalocean   Running   tcp://104.131.100.159:2376
14:42 prologic and guess what
14:42 prologic that worked :)
14:42 prologic so what factory is trying to be
14:42 aditsu and if serious people are trying, all the auth stuff will probably not protect you :p
14:42 prologic is a sort-of docker-machine wrapper
14:42 prologic e.g: https://gist.github.com/91577ba6676a399b32bd
14:42 prologic and
14:42 prologic $ factory up
14:43 aditsu e.g. the friendly folks at NSA who are monitoring this channel (hi there)
14:43 prologic yeah nah it's cool just funny
14:43 prologic since a few years now I keep a random password database
14:43 prologic it makes getting into things inconvenient
14:43 prologic but very secure
14:43 prologic oh yes hi NSA
14:43 prologic and hi AU Federal Police
14:44 prologic and let's not forget otu dear friends ASIO
14:44 prologic hi!
14:47 prologic basically Australia - if you've seen the news
14:47 prologic now has laws and infrastructure in place
14:47 prologic that basically make our Internet almost as stupid as China's
14:47 prologic not quite
14:47 prologic but we're not far off
14:47 aditsu oh
14:48 prologic we have some real bright sparks running this country atm
14:49 aditsu hm, I happen to be wearing an Australian t-shirt at the moment :p
14:50 prologic haha
14:50 prologic okay look it's not quite as bad as I make it sound
14:50 prologic but we do have some quite serious crap going on here
14:50 prologic metadata laws, data retention
14:51 prologic bike gang crap that was an excuse just to give police more powers
14:51 prologic some gay marriage rubbish going on
14:51 prologic we're trying to tax multi-nationals
14:51 prologic yeah bright spark politicians here :)
14:51 prologic no worse than anywhere else I suppose
14:54 aditsu I saw a guy in a cliip... just found it again, his name is Steve Fielding
14:54 prologic oh yeah?
14:54 aditsu a senator or something
14:54 aditsu he believes the earth is about 6000 years old :p
14:55 aditsu wikipedia says "former Australian senator for the state of Victoria and the former federal parliamentary leader of the Family First Party"
14:55 prologic oh yes
14:55 prologic right
14:55 prologic like I said
14:55 prologic bright sparks
14:55 prologic :)
14:57 aditsu at least you have free elections
14:59 aditsu oh, and I heard that voting is required over there
14:59 prologic free as in doesn't cost money to vote?
14:59 prologic yes voting is compulsory
14:59 aditsu free as in anybody can be a candidate if they have supporters, and everybody can vote for whoever they want
15:00 prologic well the 2nd part is true - sure
15:00 prologic but not so much the first
15:00 aditsu oh?
15:00 prologic our most recent govt. currently in power actually made it nigh impossible for smaller parties to exist
15:00 prologic let alone be viable candidates
15:01 prologic so it's pretty much a 2-party system of government here now
15:01 prologic no small party will ever get up enough votes or enough funds to beat or compete with the big players
15:03 aditsu somewhat like the US, I guess
15:03 prologic yeah
15:03 prologic we're copycats somewhat
15:04 prologic we copy a lot of what the US does
15:04 aditsu are there huge campaign contributions with no caps? as that's what's killing democracy in the US
15:05 prologic I believe we have the same problem
15:06 aditsu that sucks :/
15:08 aditsu well, in HK, China is kinda controlling things, they're giving us democracy with an eyedropper
15:10 aditsu the internet is still free, but I'm not familiar with the data retention rules and stuff
15:10 aditsu free as in open
15:11 pdurbin "The biggest potential for negative change is governance" http://news.harvard.edu/gazette/story/2014/03/happy-birthday-web/
15:12 sivoais joined #sourcefu
15:12 aditsu I heard that in the UK many people are in favor of increased surveillance
15:20 prologic UK folk are weird though
15:20 prologic and if they like it so much
15:20 prologic I'll go for a holiday and start installing video cameras in random folks homes
15:20 prologic just for shits and giggles
15:20 prologic see how they like it then!
15:21 * prologic *sigh* why are people so blind
15:21 prologic I know I am; but what's everyone else's excuse :P
15:24 prologic on another stop
15:24 prologic let's talk about infrastructure building
15:24 prologic see I"m building this tool called factory right?
15:24 prologic so far we have working up, ls and stop commands
15:24 prologic just about to add rm
15:24 prologic what else should we have?
15:28 aditsu if it's about docker, no idea :p
15:29 prologic well sure
15:29 prologic it brings up docker machines
15:29 prologic kinda how vagrant brings up machines
15:36 aditsu don't know vagrant either
15:36 pdurbin aditsu: this is how I try to explain Vagrant: http://wiki.greptilian.com/vagrant
15:40 prologic https://github.com/prologic/factory
15:41 aditsu running virtual machines? why?
15:42 prologic I don't :)
15:42 prologic I run containers
15:42 prologic haha
15:42 prologic I don't care about machines as such
15:42 prologic anyway
15:43 prologic factory is good enough atm for a 0.1 release I think
15:45 pdurbin prologic: is there a difference between a docker machine and a docker image?
15:45 prologic yes!
15:46 prologic a Docker machine or host is some computer running some OS that has Docker on it
15:46 prologic basically :)
15:46 prologic hence Docker machine
15:46 prologic and the tool docker-machine
15:46 prologic docker-swarm, docker-compose, docker-amchine and docker
15:46 prologic all part of the docker tooling so far
15:46 prologic from the Docker project ofc
15:46 aditsu huh, there used to be just vmware and qemu (and chroot, I guess), now there are 50 shades of virtualization/containers
15:47 prologic openvz, runC, Docker, Rocket
15:47 prologic to name a few container engines
15:47 prologic Xen, VirtualBox, Vmware
15:47 prologic yeah
15:47 prologic I see what you mean :)
15:47 aditsu kvm
15:48 prologic -but-
15:48 prologic diversity is good
15:50 aditsu about the earlier sudo discussion, I was saying you still don't need sudo to gain root, because you could just use the same root password and use su
15:52 prologic that is true
15:52 prologic but that's more passwords to manage
15:52 prologic I just manage one password
15:53 aditsu it's not more passwords if you use the same password for root.. it's just not set currently
16:02 aditsu anyway, docker seems to make a bit more sense than vagrant, but I still don't know why I would want to use it :p
16:03 dotplus aditsu: and zones, they've been around forever too, right?
16:03 aditsu what zones?
16:04 prologic http://shortcircuit.net.au/~prologic/blog/article/2015/07/03/a-compose-for-docker-machines/
16:05 prologic Solaris Zones
16:05 prologic and yes they have
16:05 dotplus I was adding to your list of "there used to be".
16:05 dotplus oh and IBM's mainframe/AIX thingie. partitions?
16:06 dotplus which started it all off, I believe
16:06 aditsu I don't know about those :p anyway, I think I should say bochs instead of qemu
16:07 prologic g'night all
16:07 prologic enjoy :)
16:07 pdurbin heh. AIX
16:07 dotplus cheers
16:07 aditsu g'night, mate :)
20:10 aditsu are you guys using ansible? seems like a cool thing
20:24 pdurbin_m joined #sourcefu
20:24 pdurbin_m aditsu: I've been used puppet
20:25 aditsu you've been used? :o
20:27 sivoais I just made a makefile that calls both cmake and qmake... I feel a little dirty.
20:28 pdurbin_m d'oh!
20:28 pdurbin_m salt too
20:28 pdurbin_m sivoais: time for a shower
20:29 sivoais hey, there's a gym in the building right by my lab... not a bad idea :-)

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

http://sourcefu.com