2014-07-20.log

--- Log opened Sun Jul 20 00:00:09 2014
-!- justanot1eruser [~Justan@unaffiliated/justanotheruser] has joined ##hplusroadmap00:10
-!- night|pub is now known as night00:11
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has quit [Ping timeout: 264 seconds]00:13
-!- justanotheruser [~Justan@unaffiliated/justanotheruser] has quit [Ping timeout: 240 seconds]00:13
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has joined ##hplusroadmap00:25
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has quit [Read error: Connection reset by peer]00:29
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has joined ##hplusroadmap00:29
-!- delinquentme [~dingo@74.61.157.78] has joined ##hplusroadmap00:39
-!- delinquentme [~dingo@74.61.157.78] has quit [Ping timeout: 240 seconds]00:46
-!- delinquentme [~dingo@c-98-210-194-78.hsd1.ca.comcast.net] has joined ##hplusroadmap01:02
-!- delinquentme [~dingo@c-98-210-194-78.hsd1.ca.comcast.net] has quit [Ping timeout: 250 seconds]01:22
-!- moklar [~Mookaborb@c-24-21-241-171.hsd1.or.comcast.net] has joined ##hplusroadmap01:54
-!- strangewarp [~strangewa@c-50-183-58-192.hsd1.co.comcast.net] has quit [Read error: Connection reset by peer]01:57
-!- moktsar [~Mookaborb@c-24-21-241-171.hsd1.or.comcast.net] has quit [Ping timeout: 256 seconds]01:58
-!- strangewarp [~strangewa@c-50-183-58-192.hsd1.co.comcast.net] has joined ##hplusroadmap01:58
-!- AshleyWaffle_ [~waffle@gateway/tor-sasl/anastasiawyatt] has quit [Ping timeout: 264 seconds]02:00
-!- kyknos_ [~kyknos@89.233.130.143] has quit [Ping timeout: 240 seconds]02:13
-!- moktsar [~Mookaborb@c-24-21-241-171.hsd1.or.comcast.net] has joined ##hplusroadmap02:22
-!- moklar [~Mookaborb@c-24-21-241-171.hsd1.or.comcast.net] has quit [Ping timeout: 240 seconds]02:25
-!- moktsar [~Mookaborb@c-24-21-241-171.hsd1.or.comcast.net] has quit [Ping timeout: 264 seconds]02:37
-!- sapiosexual [~sapiosexu@d50-92-48-28.bchsia.telus.net] has quit [Ping timeout: 255 seconds]02:42
-!- FourFire [~fourfire@132-32-232.connect.netcom.no] has joined ##hplusroadmap03:01
-!- kyknos_ [~kyknos@89.233.130.143] has joined ##hplusroadmap03:16
-!- andytoshi [~andytoshi@unaffiliated/andytoshi] has quit [Ping timeout: 240 seconds]03:25
-!- andytoshi [~andytoshi@unaffiliated/andytoshi] has joined ##hplusroadmap03:27
-!- Lemminkainen [uid34064@gateway/web/irccloud.com/x-naveujaexgqbamfq] has quit [Quit: Connection closed for inactivity]03:48
-!- andytoshi [~andytoshi@unaffiliated/andytoshi] has quit [Ping timeout: 260 seconds]03:51
-!- Viper168_ is now known as Viper16804:06
-!- yorick [~yorick@oftn/member/yorick] has joined ##hplusroadmap04:21
-!- archels_ is now known as archels04:26
-!- archels [charl@toad.stack.nl] has quit [Changing host]04:26
-!- archels [charl@unaffiliated/archels] has joined ##hplusroadmap04:26
-!- ebowden [~ebowden@CPE-58-169-129-68.lns4.bat.bigpond.net.au] has quit [Ping timeout: 264 seconds]04:46
-!- ebowden [~ebowden@CPE-58-169-129-68.lns4.bat.bigpond.net.au] has joined ##hplusroadmap04:53
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has quit [Ping timeout: 264 seconds]04:55
-!- ThomasEgi [~thomas@panda3d/ThomasEgi] has joined ##hplusroadmap05:00
-!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 250 seconds]05:13
-!- Viper168 [~Viper@unaffiliated/viper168] has joined ##hplusroadmap05:21
-!- AshleyWaffle_ [~waffle@gateway/tor-sasl/anastasiawyatt] has joined ##hplusroadmap05:34
-!- justanot1eruser [~Justan@unaffiliated/justanotheruser] has quit [Ping timeout: 245 seconds]05:35
-!- justanotheruser [~Justan@unaffiliated/justanotheruser] has joined ##hplusroadmap05:37
-!- poppingtonic [~poppingto@154.122.151.203] has joined ##hplusroadmap05:38
poppingtonicpaperbot: http://dl.acm.org/citation.cfm?id=20325605:38
paperbothttp://libgen.org/scimag/get.php?doi=10.1145%2F203241.20325605:38
-!- ebowden [~ebowden@CPE-58-169-129-68.lns4.bat.bigpond.net.au] has quit [Read error: Connection reset by peer]05:39
-!- ebowden [~ebowden@CPE-58-169-129-68.lns4.bat.bigpond.net.au] has joined ##hplusroadmap05:40
-!- andytoshi [~andytoshi@unaffiliated/andytoshi] has joined ##hplusroadmap05:47
-!- cluckj [~cluckj@cpe-24-92-63-104.nycap.res.rr.com] has joined ##hplusroadmap05:59
-!- ebowden_ [~ebowden@CPE-58-169-129-68.lns4.bat.bigpond.net.au] has joined ##hplusroadmap06:09
-!- ebowden [~ebowden@CPE-58-169-129-68.lns4.bat.bigpond.net.au] has quit [Read error: Connection reset by peer]06:09
-!- moktsar [~Mookaborb@c-24-21-241-171.hsd1.or.comcast.net] has joined ##hplusroadmap06:11
-!- AshleyWaffle_ [~waffle@gateway/tor-sasl/anastasiawyatt] has quit [Ping timeout: 264 seconds]06:21
kanzureswig swig swig07:23
-!- ebowden [~ebowden@CPE-58-169-129-68.lns4.bat.bigpond.net.au] has joined ##hplusroadmap07:24
-!- ebowden_ [~ebowden@CPE-58-169-129-68.lns4.bat.bigpond.net.au] has quit [Read error: Connection reset by peer]07:24
-!- yorick [~yorick@oftn/member/yorick] has quit [Remote host closed the connection]07:27
-!- justanotheruser [~Justan@unaffiliated/justanotheruser] has quit [Ping timeout: 240 seconds]07:28
-!- ThomasEgi [~thomas@panda3d/ThomasEgi] has quit [Ping timeout: 240 seconds]07:30
archelspaperbot: http://journals.aps.org/prl/pdf/10.1103/PhysRevLett.89.26450107:35
paperbotXMLSyntaxError: None (file "/home/bryan/code/paperbot/phenny/modules/scihub.py", line 70, in _go)07:35
archelsgot it, thanks07:39
kanzurehm07:39
-!- ThomasEgi [~thomas@panda3d/ThomasEgi] has joined ##hplusroadmap07:41
-!- yashgaroth [~ffffff@cpe-76-167-105-53.san.res.rr.com] has joined ##hplusroadmap08:15
-!- yorick [~yorick@oftn/member/yorick] has joined ##hplusroadmap08:21
-!- chris_99 [~chris_99@unaffiliated/chris-99/x-3062929] has joined ##hplusroadmap08:29
-!- poppingtonic [~poppingto@154.122.151.203] has quit [Ping timeout: 240 seconds]08:35
kanzure"even the original author of swig hates swig" http://code.activestate.com/lists/python-dev/109281/08:40
chris_99haha08:40
kanzure"If I went to implement something like SWIG today, I would almost surely base my implementation on Clang (http://clang.llvm.org/). They have a full C++ parser (carefully hand-crafted, quite admirably keeping a relatively comprehensible code-base for such a task) used in a real compiler front-end, and a flexible library structure aimed at creating tools. There are also Python bindings that would allow to do most of the interesting ...08:45
kanzure... Python-interface-specific work in Python - parse the C++ headers using Clang's existing parser into ASTs - then generate ctypes / extensions from that, *in Python*."08:45
-!- EnLilaSko [EnLilaSko@unaffiliated/enlilasko] has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]08:49
kanzure.title http://eli.thegreenplace.net/2011/07/03/parsing-c-in-python-with-clang/08:52
yoleauxEli Bendersky's website  ยป Parsing C++ in Python with Clang08:52
-!- EnLilaSko [EnLilaSko@unaffiliated/enlilasko] has joined ##hplusroadmap08:58
-!- AshleyWaffle_ [~waffle@gateway/tor-sasl/anastasiawyatt] has joined ##hplusroadmap09:19
-!- FourFire [~fourfire@132-32-232.connect.netcom.no] has quit [Ping timeout: 240 seconds]09:20
kanzureenvironment-sensitive hydrogels for drug delivery http://www.kinam.com/Articles/Hydrogels%20Papers/Qiu%2001%20ADDR.pdf09:24
-!- FourFire [~fourfire@192-153-232.connect.netcom.no] has joined ##hplusroadmap09:26
-!- bbrittain [~bbrittain@172.245.212.12] has joined ##hplusroadmap09:59
-!- ebowden [~ebowden@CPE-58-169-129-68.lns4.bat.bigpond.net.au] has quit [Remote host closed the connection]10:04
kanzurebbrittain: hi10:17
bbrittainkanzure: hey10:18
kanzuresup10:18
-!- HEx2 [~HEx@hexwab.plus.com] has quit [Ping timeout: 240 seconds]10:34
-!- delinquentme [~dingo@50.242.87.91] has joined ##hplusroadmap10:40
-!- FourFire [~fourfire@192-153-232.connect.netcom.no] has quit [Ping timeout: 245 seconds]10:45
-!- _0bitcount [~big-byte@81.61.209.223.dyn.user.ono.com] has joined ##hplusroadmap10:51
-!- delinquentme [~dingo@50.242.87.91] has quit [Quit: Leaving]10:59
-!- HEx2 [~HEx@hexwab.plus.com] has joined ##hplusroadmap11:15
-!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds]11:24
-!- Viper168 [~Viper@unaffiliated/viper168] has joined ##hplusroadmap11:32
-!- [nsh] [~unf@wikipedia/nsh] has quit [Ping timeout: 260 seconds]11:57
-!- justanotheruser [~Justan@unaffiliated/justanotheruser] has joined ##hplusroadmap12:45
-!- dbolser [~dbolser@unaffiliated/faceface] has quit [Ping timeout: 256 seconds]12:59
-!- sapiosexual [~sapiosexu@d50-92-48-28.bchsia.telus.net] has joined ##hplusroadmap13:05
-!- _0bitcount [~big-byte@81.61.209.223.dyn.user.ono.com] has quit [Quit: Leaving]14:08
-!- Burn_ [~Burn@pool-71-191-174-26.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer]14:26
-!- drewbot [~cinch@ec2-54-83-147-77.compute-1.amazonaws.com] has quit [Remote host closed the connection]14:44
-!- drewbot [~cinch@ec2-54-89-204-34.compute-1.amazonaws.com] has joined ##hplusroadmap14:44
-!- EnLilaSko [EnLilaSko@unaffiliated/enlilasko] has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]14:55
-!- yashgaroth [~ffffff@cpe-76-167-105-53.san.res.rr.com] has quit [Quit: Leaving]15:01
-!- Burninate [~Burn@pool-71-191-174-26.washdc.fios.verizon.net] has joined ##hplusroadmap15:21
-!- chris_99 [~chris_99@unaffiliated/chris-99/x-3062929] has quit [Quit: Leaving]15:28
-!- yashgaroth [~ffffff@cpe-76-167-105-53.san.res.rr.com] has joined ##hplusroadmap15:52
kanzurethis is thorough-ish http://www.talkingquickly.co.uk/2014/06/rails-development-environment-with-vagrant-and-docker/16:25
kanzureexplains vagrant+docker for people silly enough to want vagrant too16:25
caternam i right in thinking vagrant is awful16:28
caternwhy would you want to have an automated deployment mechanism that isn't production-ready, amirite16:28
kanzurevagrant is just a wrapper around a number of different hypervisors16:33
kanzurejust because vagrant is capable of booting up a vm image doesn't mean that that vm image has been tainted by vagrant16:33
caterndoesn't vagrant create vm images?16:34
kanzureif you ask it to16:34
caternbut isn't that the entire point?16:34
-!- sapiosexual [~sapiosexu@d50-92-48-28.bchsia.telus.net] has quit [Quit: No calling card for the unsung bard]16:35
kanzurealso i guess it depends on your strange definition of deployment16:36
kanzureif i am spinning up a vm for testing reasons, is that deployment16:37
streetyI had been under the impression docker could substitute for vagrant17:08
caternyes, a testing vm is deployment17:08
streetyalso, any ideas why "Separate Docker containers for the Rails application, PostgreSQL and Redis" is used?17:09
kanzurevagrant is just a utility thing, you can throw around docker containers or virtualbox images or whatever you please17:09
kanzurethere are separate containers because separation of concerns17:09
kanzureand one container is supposed to correspond to one application17:10
kanzurea database, key/value cache database thing, and a rails application are definitely separate things17:10
kanzurehttp://orchardup.github.io/fig/index.html17:12
streetythanks17:21
-!- yorick [~yorick@oftn/member/yorick] has quit [Remote host closed the connection]17:21
kanzurei am reviewing some old containers i wrote with fig17:23
kanzureand i clearly had no idea what i was doing17:23
kanzureone of the containers has two subcontainers for no apparent reason17:23
caterni just dislike the vagrantfile thing17:24
caternhaving yet another way to specify configuration is dumb if you can't use that configuration in production17:24
kanzuremost of the time i've seen people using vagrant as a way to distribute a vm when they don't know what hypervisor the other person wants to use17:25
kanzureyou don't have to make up fancypants configuration that has to happen in production17:25
-!- kumavis [~kumavis@office.khanacademy.org] has joined ##hplusroadmap17:27
-!- Viper168_ [~Viper@unaffiliated/viper168] has joined ##hplusroadmap17:35
-!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds]17:35
-!- Viper168_ [~Viper@unaffiliated/viper168] has quit [Ping timeout: 240 seconds]18:02
-!- kumavis [~kumavis@office.khanacademy.org] has quit [Ping timeout: 260 seconds]18:06
-!- kyknos_ [~kyknos@89.233.130.143] has quit [Ping timeout: 240 seconds]18:14
-!- gully_foyle_ja [~theghosto@pool-71-116-68-251.snfcca.dsl-w.verizon.net] has joined ##hplusroadmap18:25
ParahSailin_kanzure: what sort of vm would one use if you wanted to automate building distributable packages in various os versions; ie a work flow of push to git repo, spawn up distro in a box, build rpm in distro, export rpm to host system18:33
ParahSailin_or even a chroot jail might work for that, if all you want to do is link to different shared objects18:34
kanzurei've made that sort of workflow a number of times, and to be honest most of my answer is "it depends on the other jerks on your team"18:36
kanzurefor the last segment: fpm, scp to yum host, createrepo to reindex rpms (don't do it as fucking root)18:37
ParahSailin_yeah i already am using fpm18:37
ParahSailin_team is just me18:38
kanzurerpm should have a version number or unique id in filename so that you can have old references etc18:38
ParahSailin_right now im just using fucking virtualbox on a windows desktop host18:38
kanzuredo you have a favorite continuous integration thing? you can just dump the "git clone/fetch/whatever and fpm" on a continuous integration slave.18:38
kanzureyou could also wire one up manually i guess, where you have a git server somewhere that uses a git receive hook to trigger the slavework18:40
ParahSailin_so have several vm's constantly running with git servers?18:40
kanzurei think most people just giveup and use jenkins or teamcity, but i haven't looked lately18:40
kanzurewell, no matter what, you're going to need at least one vm that will be doing the building and packaging (because presumably you need a specific environment and toolchain to do so)18:41
kanzurenone of your problems are fpm/rpm related18:43
kanzurejrayhawk: is this the only way to get environment variables into nginx.conf? http://stackoverflow.com/a/24696592/68778318:44
kanzurethis person is doing weird things (regex replace to populate nginx.conf) https://github.com/shepmaster/nginx-template-image/blob/master/bin/substitute-env-vars.sh18:46
kanzure"set_by_lua $api_key 'return os.getenv("API_KEY")';" just seems like a very roundabout way to do this18:48
kanzurehaha what "and since Nginx does not (yet) support dynamic loading of modules which means a recompile of Nginx is needed to get support for running Lua"18:50
jrayhawkthere's the 'env' directive in core18:50
jrayhawkthat said, there's no direct CGI execution, so it's not clear what you'd want them for18:51
kanzurestuff like proxy_pass $var18:51
jrayhawkoh. templating can be done with M4.18:53
kanzuremaybe i'll just use jinja2 templates to generate my actual config file18:53
jrayhawkor that18:53
kanzurerighto18:53
jrayhawkor use lighty, which has much more flexible configuration syntax18:54
kanzurestatic config files are wrong anyway. all the cool kids just use nginx/haproxy talking to another local daemon to decide when to add/remove entries based on your application's network weather.18:54
-!- ebowden [~ebowden@CPE-58-169-129-68.lns4.bat.bigpond.net.au] has joined ##hplusroadmap18:54
caternamen to that18:56
-!- Viper168 [~Viper@unaffiliated/viper168] has joined ##hplusroadmap19:30
-!- ThomasEgi_ [~thomas@p5B13AC06.dip0.t-ipconnect.de] has joined ##hplusroadmap19:48
-!- ThomasEgi [~thomas@panda3d/ThomasEgi] has quit [Ping timeout: 245 seconds]19:51
-!- ebowden_ [~ebowden@CPE-58-169-129-68.lns4.bat.bigpond.net.au] has joined ##hplusroadmap20:53
-!- ebowden [~ebowden@CPE-58-169-129-68.lns4.bat.bigpond.net.au] has quit [Ping timeout: 264 seconds]20:56
-!- sheena [~home@d199-126-159-102.abhsia.telus.net] has joined ##hplusroadmap21:29
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has joined ##hplusroadmap21:54
-!- yashgaroth [~ffffff@cpe-76-167-105-53.san.res.rr.com] has quit [Quit: Leaving]22:03
-!- kyknos_ [~kyknos@89.233.130.143] has joined ##hplusroadmap22:11
-!- sheena [~home@d199-126-159-102.abhsia.telus.net] has quit [Quit: Leaving.]22:24
-!- Vutral [~ss@mirbsd/special/Vutral] has joined ##hplusroadmap22:38
-!- Vutral [~ss@mirbsd/special/Vutral] has quit [Ping timeout: 256 seconds]22:43
-!- sapiosexual [~sapiosexu@d50-92-48-28.bchsia.telus.net] has joined ##hplusroadmap22:47
kanzurejrayhawk: mount: cgroup already mounted or cpuset busy22:52
kanzurenot your fault, is from another box, just wondering wtf22:53
kanzureinternet says i gotta reboot but i am skeptical22:54
-!- kyknos_ [~kyknos@89.233.130.143] has quit [Ping timeout: 255 seconds]22:59
-!- kyknos_ [~kyknos@89.233.130.143] has joined ##hplusroadmap23:00
-!- gully_foyle_ja [~theghosto@pool-71-116-68-251.snfcca.dsl-w.verizon.net] has quit [Quit: Leaving]23:08
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has quit [Ping timeout: 240 seconds]23:33
-!- EnLilaSko [EnLilaSko@unaffiliated/enlilasko] has joined ##hplusroadmap23:36
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has joined ##hplusroadmap23:39
-!- sapiosexual [~sapiosexu@d50-92-48-28.bchsia.telus.net] has quit [Quit: No calling card for the unsung bard]23:43
-!- FourFire [~fourfire@61-107-15.connect.netcom.no] has joined ##hplusroadmap23:46
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has quit [Ping timeout: 245 seconds]23:51
kanzure"Note: When mapping ports in the HOST:CONTAINER format, you may experience erroneous results when using a container port lower than 60, because YAML will parse numbers in the format xx:yy as sexagesimal (base 60). For this reason, we recommend always explicitly specifying your port mappings as strings."23:52
kanzureof course23:52
-!- FourFire [~fourfire@61-107-15.connect.netcom.no] has left ##hplusroadmap ["Leaving"]23:57
jrayhawki would need a little more context for that cgroup thing23:58
jrayhawkmost notably i can't imagine doing anything with cgroup that isn't already done for you by a default fstab23:59
--- Log closed Mon Jul 21 00:00:10 2014

Generated by irclog2html.py 2.15.0.dev0 by Marius Gedminas - find it at mg.pov.lt!