#jython IRC Log

Index

IRC Log for 2016-03-11

Timestamps are in GMT/BST.

[0:08] * xemdetia (xemdetia@nat/ibm/x-bpqdqlltddbpoxys) Quit (Ping timeout: 248 seconds)
[0:13] * shoemonkey (~shoemonke@207-181-207-153.c3-0.hnc-ubr1.chi-hnc.il.cable.rcn.com) Quit (Remote host closed the connection)
[1:09] <Numix> So in order to import a java class I just place it in the folder and use "import myRandomJavaCode" right?
[1:09] <Numix> root or project folder
[1:10] <agronholm> don't mix python and java code in the same folder structure
[1:10] <agronholm> no good things come from that
[1:10] <Numix> How about in a subfolder like "import javaFolder.myJavaCode"
[1:17] <agronholm> Numix: that should be okay
[1:39] <Cheaterman> Owiii agronholm ^__^
[1:39] <agronholm> hello
[1:39] <Cheaterman> Java really sucks! Fortunately Jython makes it bearable :-)
[1:39] <Cheaterman> You going goodie buddi?
[1:39] <agronholm> Cheaterman: desperately trying to configure my jenkins builds
[1:40] <Cheaterman> That's a difficult but very rewarding task
[1:40] <agronholm> banging my head to the wall with Sencha Cmd
[1:40] <Cheaterman> we use Jenkins at workie
[1:40] <agronholm> I'm migrating to docker based builds
[1:40] <Cheaterman> :-( I wish I could help, my head dev set it up before I arrived, he did tell me he was in for some headbashing too
[1:40] <agronholm> it's been a rocky road
[1:40] <Cheaterman> Yes, docker based builds is what we (mostly) do too
[1:40] <Cheaterman> very very good stuff
[1:41] <agronholm> the next step is to use docker in deployment as well
[1:41] <Cheaterman> Wow
[1:41] <Cheaterman> That we don't do, how would that work
[1:41] <agronholm> I deploy using ansible
[1:42] <agronholm> currently I use an ansible playbook to install system dependencies, set up postgresql and a virtualenv for the app
[1:42] <agronholm> then I install the wheels from our devpi server and set up an upstart script that starts it up on system boot
[1:42] <agronholm> one command does it all
[1:43] <agronholm> once I have a fresh server w/ ssh access, ansible-playbook -l newserver site.yml sets up everything
[1:44] <agronholm> right now the things it does is: sets up account settings, installs docker, sets up unattended upgrades, installs ntp, installs samba + mounts remote shares, installs postgresql and crossbar, installs our app and finally sets up periodic database backups
[1:45] <agronholm> ansible has direct support for docker so it's very handy
[1:45] <Cheaterman> Hmm
[1:45] <agronholm> I just need to change it to pull our docker images from our private registry instead of installing to virtualenv from devpi
[1:45] <Cheaterman> Just I don't see where you use docker in your deployment?
[1:46] <agronholm> to run our app in a container?
[1:46] <agronholm> and to run the latest postgresql in a container too
[1:46] <Cheaterman> oh, just that, okay
[1:46] <agronholm> that way I'm not limited to what the host OS has to offer
[1:47] <agronholm> I'll need to weight the pros and cons of running docker
[1:47] <agronholm> the cons being that I need to set up production grade logging somehow
[1:48] <agronholm> by default docker containers append logs into a JSON file that just grows and grows and grows...
[1:50] <Cheaterman> just logrotate that file
[1:50] <agronholm> and where do I find this file?
[1:50] <Cheaterman> quick & dirty, but at least it works
[1:50] <Cheaterman> you tell me
[1:50] <agronholm> that's the prob :)
[1:50] <agronholm> and it won't work if docker keeps an open file handle on it
[1:50] <Cheaterman> what do you mean? it has to be somewhere
[1:50] <agronholm> it may not be in a very predictable location
[1:50] <Cheaterman> No, that definitely does not matter
[1:50] <Cheaterman> Well, then just determine where it is
[1:51] <Cheaterman> That's what programming is for, helping us automate tedious stuff
[1:51] <agronholm> I can maybe determine it for one container
[1:51] <agronholm> but then if I recreate the container it'll be somewhere else
[1:51] <Cheaterman> that's fine yeah
[1:51] <agronholm> there are proper solutions to this
[1:51] <Cheaterman> okay
[1:51] <agronholm> like changing logging to use syslog
[1:52] <agronholm> should definitely be more robust than logrotating some json file
[1:53] <Cheaterman> :D
[3:12] * IBIT-ZEE (~IBIT-ZEE@217.70.54.77.rev.vodafone.pt) has joined #jython
[3:17] * IBIT-ZEE (~IBIT-ZEE@217.70.54.77.rev.vodafone.pt) Quit (Read error: Connection reset by peer)
[5:52] * non-sense (~non@unaffiliated/non-sense) Quit (Ping timeout: 268 seconds)
[5:58] * [Arfrever] (~Arfrever@apache/committer/Arfrever) Quit (Remote host closed the connection)
[5:58] * [Arfrever] (~Arfrever@apache/committer/Arfrever) has joined #jython
[5:58] * ChanServ sets mode +o [Arfrever]
[5:59] * agronholm (~agronholm@188-127-199-138.cust.suomicom.net) Quit (*.net *.split)
[6:01] * non-sense (~non@unaffiliated/non-sense) has joined #jython
[6:05] * agronholm (~agronholm@188-127-199-138.cust.suomicom.net) has joined #jython
[6:49] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Ping timeout: 276 seconds)
[7:13] * agronholm (~agronholm@188-127-199-138.cust.suomicom.net) Quit (*.net *.split)
[7:23] * agronholm (~agronholm@188-127-199-138.cust.suomicom.net) has joined #jython
[7:49] * agronholm (~agronholm@188-127-199-138.cust.suomicom.net) Quit (*.net *.split)
[7:56] * agronholm (~agronholm@188-127-199-138.cust.suomicom.net) has joined #jython
[9:18] * Numix (~Numix@119.235.55.66) Quit (Read error: Connection reset by peer)
[9:19] * Numix (~Numix@119.235.55.66) has joined #jython
[13:15] * TomA (~TomA@c-68-32-46-223.hsd1.mi.comcast.net) has joined #jython
[14:08] * xemdetia (xemdetia@nat/ibm/x-tgeaguhylahqedda) has joined #jython
[14:10] * Numix (~Numix@119.235.55.66) Quit (Read error: Connection reset by peer)
[14:11] * Numix (~Numix@119.235.55.66) has joined #jython
[14:23] * shoemonkey (~shoemonke@c-50-158-254-28.hsd1.il.comcast.net) has joined #jython
[14:29] * shoemonkey (~shoemonke@c-50-158-254-28.hsd1.il.comcast.net) Quit (Remote host closed the connection)
[14:41] * shoemonkey (~shoemonke@c-50-158-254-28.hsd1.il.comcast.net) has joined #jython
[16:43] * shoemonkey (~shoemonke@c-50-158-254-28.hsd1.il.comcast.net) Quit (Remote host closed the connection)
[17:15] * dhable (~textual@c-73-9-211-65.hsd1.il.comcast.net) has joined #jython
[17:39] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[17:39] * ChanServ sets mode +o jimbaker
[17:53] * Techcable (Techcable@techcable.net) Quit (Quit: ZNC - http://znc.in)
[17:53] * Techcable (Techcable@techcable.net) has joined #jython
[17:59] <jimbaker> nickmbailey, TomA - any feedback on the patch for http://bugs.jython.org/issue2462 ? i don't believe that deadlock has anything to do with the patch per se, more of a bug that got exposed. (the socket/select/ssl work has been good at doing that...)
[18:03] * dhable (~textual@c-73-9-211-65.hsd1.il.comcast.net) Quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[18:11] * shoemonkey (~shoemonke@108-200-241-180.lightspeed.cicril.sbcglobal.net) has joined #jython
[18:17] * dhable (~textual@c-73-9-211-65.hsd1.il.comcast.net) has joined #jython
[18:17] * dhable (~textual@c-73-9-211-65.hsd1.il.comcast.net) Quit (Client Quit)
[19:04] * xemdetia_ (xemdetia@nat/ibm/x-vbcqyfmczvfakpjf) has joined #jython
[19:05] * xemdetia (xemdetia@nat/ibm/x-tgeaguhylahqedda) Quit (Ping timeout: 248 seconds)
[19:42] * IBIT-ZEE (~IBIT-ZEE@a89-152-235-10.cpe.netcabo.pt) has joined #jython
[19:44] * IBIT-ZEE (~IBIT-ZEE@a89-152-235-10.cpe.netcabo.pt) Quit (Client Quit)
[19:45] * IBIT-ZEE (~IBIT-ZEE@a89-152-235-10.cpe.netcabo.pt) has joined #jython
[19:47] * shoemonkey (~shoemonke@108-200-241-180.lightspeed.cicril.sbcglobal.net) Quit (Remote host closed the connection)
[21:16] * IBIT-ZEE (~IBIT-ZEE@a89-152-235-10.cpe.netcabo.pt) Quit (Quit: Leaving)
[21:48] * shoemonkey (~shoemonke@2601:240:c802:4e23:64fc:b65c:83b8:9458) has joined #jython
[21:51] * xemdetia__ (xemdetia@nat/ibm/x-lphapufijikkefzq) has joined #jython
[21:53] * shoemonkey (~shoemonke@2601:240:c802:4e23:64fc:b65c:83b8:9458) Quit (Ping timeout: 250 seconds)
[21:55] * xemdetia_ (xemdetia@nat/ibm/x-vbcqyfmczvfakpjf) Quit (Ping timeout: 250 seconds)
[22:02] * xemdetia__ (xemdetia@nat/ibm/x-lphapufijikkefzq) Quit (Ping timeout: 244 seconds)
[23:03] * shoemonkey (~shoemonke@2601:240:c802:4e23:652a:a3b5:8055:e035) has joined #jython
[23:37] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython

Index

These logs were automatically created by JythonLogBot on irc.freenode.net using a slightly modified version of the Java IRC LogBot.