[00:36] <duanedesign> Squirrel, lol
[00:53] <pleia2> doctormo: ok, I'm around, I'm going to see if I can break art now ;)
[00:59] <pleia2> doctormo: actually, I think I sorted out permissions so you *should* be able to do it, can you give it a try?
[00:59] <pleia2> permissions are going to be the concern here, we want it all to still be owned by you, but give www-data access to write (so I made them of the www-data group)
[01:38] <doctormo> pleia2: back
[01:39] <pleia2> wb :)
[01:41] <DiegoTc> doctormo, do you have time for a small python question?
[01:41] <doctormo> DiegoTc: how can I help you?
[01:41] <DiegoTc> doctormo, I am having a little trouble with a for loop in c i can have a for this way
[01:42] <DiegoTc> for(int i=99;i>0;i--)
[01:42] <DiegoTc> i thought that in python it will be this way
[01:42] <DiegoTc> for i in range (10,0):
[01:42] <DiegoTc> but it looks i am wrong :(
[01:43] <doctormo> DiegoTc: What is wrong with for i in range(10): ?
[01:44] <DiegoTc> doctormo, I want to print numbers this way 10,9,8,7,6,.....
[01:44] <DiegoTc> no 1,2,3,4,5,6,7,...
[01:45] <doctormo> the hack is just to say "for i in range(10): print 10 -i
[01:45] <doctormo> but range can do that too
[01:46] <DiegoTc> so how it will be the range way¿?
[01:47] <doctormo> DiegoTc: What you need to do is look at the range method, it's range([start=0], stop, [step=1])
[01:48] <DiegoTc> ohh thanks
[01:48] <doctormo> DiegoTc: Which means range(10, 0, -1) will work. Of course we'll never get anything out of range(10, 0) because 10+1 can never get to 0
[01:48] <doctormo> DiegoTc: Remember to get yourself into a python command line (type python at the bash shell) and do help(method) on anything you need help for.
[01:48] <doctormo> q to exit the help
[01:49] <DiegoTc> whoa a little difference from c++ or java
[01:49] <DiegoTc> thanks doctormo
[01:50] <doctormo> DiegoTc: Python is more like Perl than C or Java. It's very, very different in how it operates.
[01:50] <doctormo> yw
[01:50] <doctormo> pleia2: back to you
[01:50] <doctormo> I'm munching right now
[01:52] <pleia2> ok :)
[01:52] <pleia2> well, I think you have the permission to do what you need now
[01:52] <pleia2> so if you want to give it a go - all yours!
[01:56] <doctormo> pleia2: aye aye
[01:56] <doctormo> thanks skipper
[01:57] <pleia2> sure, just let me know if you have any trouble, I'll be around this evening
[02:02] <zkriesse_> hey lyz
[02:03] <pleia2> evening, zkriesse_
[02:03] <zkriesse_> how are ya?
[02:06] <pleia2> doing good, busy as always, you?
[02:07] <zkriesse_> the same
[02:08] <zkriesse_> college, job hunting, multiple ubuntu projects
[02:56] <doctormo> pleia2: dagoba doesn't have bzip2 support?
[03:00] <pleia2> I'll install it, sec
[03:01] <pleia2> doctormo: installed
[03:05] <doctormo> pleia2: Thanks! ok so the permissions are a bit off kilter, most files are owned by www-data user and doctormo group, so some directories don't have a writer permission for group.
[03:05] <doctormo> I thought it would have been the other way round
[03:06] <pleia2> yeah that's weird, it's the opposite of what it was
[03:06] <pleia2> kinda
[03:07] <pleia2> just gave group write to content/
[03:07] <pleia2> everything else you should have access to, I think
[03:08] <pleia2> doctormo: you should be able to look in htdocs.bak to see what the permissions were earlier today before I gave your user permissions, that might give you a clue as to why it's wonky
[03:09] <doctormo> pleia2: It was htdocs/art_files/images that had the problem
[03:10] <doctormo> And it's weird because the contents are 777
[03:10] <pleia2> ok, group has write now
[03:11] <doctormo> pleia2: Ah the content directory can be given to www-data user and group if you like, it's not in the repository. up to you of course.
[03:12] <pleia2> ok
[03:13] <pleia2> having ccadmin/ there is confusing the live site
[03:13] <pleia2> I think
[03:15] <doctormo> pleia2: OK we're set, we just need a cronjob, do you want that to run as my user?
[03:16] <pleia2> yeah
[03:16] <pleia2> and yay! :)
[03:20] <doctormo> OK set to 2:05 each morning to do a bzr pull.
[03:20] <pleia2> great
[05:39] <nhandler> doctormo: Is that for ubuntu-owl or one of the other sites?
[05:40] <pleia2> it's art.ubuntu-owl.org
[05:40] <nhandler> pleia2: Think we should setup a similar cronjob for ubuntu-owl ?
[05:40] <pleia2> probably :)