[00:00] <SirSkidmore> So do I need to say class Enemy(Character.Character) or?
[00:02] <Will123> erm actually I've not done anything like that yet. but yes i think so
[00:02] <Will123> if you look in your about dialog that quickly makes
[00:02] <Will123> it goes
[00:02] <Will123> AboutAppNameDialog(AboutDialog)
[00:03] <Will123> from app_lib.AboutDialog import AboutDialog
[00:03] <Will123> so unless you do the from X import Y, then yeah you'll have to do the Character.Character thing
[00:04] <SirSkidmore> ImportError: cannot import name Character
[00:04] <SirSkidmore> ahhhh
[00:04] <SirSkidmore> Okay
[00:04] <SirSkidmore> I'm making progress
[00:04] <SirSkidmore> never mind :)
[00:11] <SirSkidmore> Okay, so now all of my commands are messed up haha
[00:13] <Will123> oh dear :P
[00:23] <SirSkidmore> Everything worked perfectly fine when I didn't have to split everything up into multiple files :P
[00:33] <will> crashed my entire computer
[00:33] <will> due to a dodgy gtk call
[00:33] <will> and people say python isn't a real programming language
[00:36] <will> and again
[00:37] <SirSkidmore> lol
[00:37] <SirSkidmore> I think I actually need to put all of the commands in their own folder
[00:37] <SirSkidmore> file**
[00:37] <SirSkidmore> and then call them from the Rpg.py file
[00:42] <will> that would be better?
[00:43] <SirSkidmore> Maybe
[00:43] <SirSkidmore> I can't get them to work right now :P
[00:43] <SirSkidmore> I might switch gears to an interactive fiction game
[00:44] <SirSkidmore> and then kind of (in an update) add more functions like combat and such
[00:44] <will> oh yeah
[00:44] <SirSkidmore> More of a Choose-your-own-adventure game
[00:44] <will> basically mass effect then
[00:45] <will> mass effect in 24 hours
[00:45] <will> they should have called it Conversations In Spaaaaaaceeee
[00:45] <SirSkidmore> No, we have 2 days and 3 hours
[00:45] <SirSkidmore> haha
[00:47] <will> does it have to be in by monday or monday night?
[00:47] <will> guh my application freezes the entire UI
[00:47] <SirSkidmore> http://developer.ubuntu.com/2012/07/ubuntu-app-showdown-deadline-approaching-get-your-submissions-ready/
[00:47] <will> it captures all gtk mouse input
[00:47] <SirSkidmore> that's the timer
[00:48] <will> is that before monday or after
[00:48] <will> i only have 1 day and 22 hours
[00:48] <SirSkidmore> Erm
[00:48] <will> i guess it has to be in before tuesday
[00:48] <SirSkidmore> I think it might be Monday at 11:59
[00:48] <will> i hate this it's like homework all over again
[00:52] <SirSkidmore> hahah yeah
[00:57] <SirSkidmore> This will probably be rejected haha
[00:57] <will> you can always improve it afterwards
[00:58] <will> what do the rules say? can you definitely get a t shirt no matter what?
[00:58] <SirSkidmore> It has to be approved in order to get a tshirt I think
[01:17] <SirSkidmore> I don't think I'll be able to do this will
[01:17] <SirSkidmore> If I had found out about it a few weeks ago, maybe
[01:18] <SirSkidmore> Or if I actually knew python
[01:18] <SirSkidmore> But I'm just not good enough at Python
[01:19] <SirSkidmore> to be able to make a novel application
[01:20] <will> SirSkidmore: that's okay, i forgive you
[01:20] <will> you had a good old go at it though
[01:20] <SirSkidmore> This has been an excuse to get my head around some python though
[01:20] <will> i doubt if i'm going to finish too
[01:20] <will> yeah it's not often you can be bothered to learn a new language (you as in me)
[01:21] <SirSkidmore> And in my frantic researching I learned that there's a new framework for legitimate Android apps in Python
[01:21] <SirSkidmore> So maybe I'll learn Python, haha
[01:22] <will> oh nice
[01:23] <will> is that that kuwi thing? or whatever it was
[01:23] <SirSkidmore> Kivy
[01:23] <SirSkidmore> Yep
[01:23] <SirSkidmore> and that'll give me an excuse not to use poopy java
[01:24] <SirSkidmore> And if I like Python I'll stick around on here and maybe make an app
[01:25] <will> i'll hold you to that promise
[01:25] <will> maybe you can help me fix up Shifty :P
[01:25] <SirSkidmore> Sure haha
[01:32] <SirSkidmore> well, shoot, I wanted a tshirt
[01:32] <SirSkidmore> haha
[01:37] <will> if i win the laptop
[01:38] <will> i will post you my shirt
[01:38] <SirSkidmore> lololol
[01:38] <SirSkidmore> Deal :D
[01:39] <SirSkidmore> I have to buy all of my own clothes (let the records show I'm in high school living at home) so I often have to wear like the same 7 shirts over and over again because I spend all of my money on computer stuff and books
[01:40] <will> sounds like you've got your priorities in order
[01:40] <will> once wearable computers become a reality you're sorted
[01:40] <SirSkidmore> Hellz yeah
[01:41] <will> once wearable computers become a reality you're sorted
[01:41] <will> whoops!
[01:41] <will> i thought this was my quickly window
[01:41] <will> :P
[01:41] <will> i keep doing that
[01:41] <SirSkidmore> lol
[01:41] <will> i have up + enter in my muscle memory
[01:44] <SirSkidmore> Yeah, me too
[01:46] <SirSkidmore> I'm still trying to learn RoR, frankly. I don't know what I'll use it for
[01:46] <SirSkidmore> but I Love ruby
[01:47] <will> RoR?
[01:47] <will> oh
[01:47] <will> on rails
[01:47] <will> what on earth does that even mean?
[01:47] <will> i've always been too embarrassed to ask but not embarrassed enough to find out
[01:47] <SirSkidmore> It's a webapp framework
[01:52] <will> i'm one of those programmers without the creative flair for web design
[01:52] <will> and without the mathematical ability for low level programming
[01:52] <SirSkidmore> I can't do low level stuff either
[01:53] <will> :P at least you can do that though
[01:53] <SirSkidmore> I can do some C
[01:53] <SirSkidmore> but not enough to say I know it
[01:55] <will> yeah, same
[01:55] <will> i'm working on a computer game and hoping i can make something fun
[01:55] <will> other than that i'm a bit screwed
[01:55] <SirSkidmore> I can do some Java
[01:55] <SirSkidmore> some C++
[01:55] <SirSkidmore> Lots of Ruby
[01:55] <SirSkidmore> Lots of JS
[01:56] <SirSkidmore> some C, C# and now Python
[01:56] <SirSkidmore> haha
[01:57] <will> i mainly do java and php
[01:57] <will> yes yes i know
[01:58] <will> the two languages people ideally avoid if possible
[01:58] <will> still my old job was doing VB.NET on windows server
[01:58] <will> hooray
[01:58] <SirSkidmore> I hate it when people hire me to do web stuff
[01:58] <will> why's that?
[01:58] <SirSkidmore> because they always want WordPress or Joomla which requires PHP
[01:58] <SirSkidmore> (Oh yeah, I know quite a bit of PHP)
[01:59] <will> yeah
[01:59] <will> so what you want is someone to call you up and say
[01:59] <SirSkidmore> I get to do almost all JS at my job haha
[02:00] <will> i need you to make me a personal website where i can update things and maybe even sell stuff that i make in my little kiln. also a python based ubuntu gtk app
[02:00] <SirSkidmore> Because my company is transitioning to Wakanda, which boasts an (almost) all JS framework haha
[02:00] <SirSkidmore> Pretty much
[02:02] <will> what's Wakanda? and what's your company?
[02:02] <SirSkidmore> I work as the miscellaneous IT guy at a local Iron company called Metal-Technologies
[02:03] <will> that sounds cool :)
[02:03] <SirSkidmore> Wakanda is a WebApp framework for (primarily) businesses, and you can do (almost) everything solely in Javascript
[02:03] <SirSkidmore> It's pretty fun
[02:03] <SirSkidmore> I get mostly to do the throw-away jobs
[02:03] <SirSkidmore> (like help desk)
[02:03] <will> programming it or manning it
[02:04] <SirSkidmore> but they know I like networking and am trying to learn programming so they give me some of those jobs once in a while
[02:04] <SirSkidmore> manning
[02:04] <will> i remember my last software job was developer and help desk guy too
[02:04] <SirSkidmore> We don't have a ticket system
[02:04] <will> i'd have to stop fixing bugs to clear a builder's print queue
[02:05] <SirSkidmore> So I just get called, then I can either try to fix it remotely, or drive two miles to our foundry
[02:05] <SirSkidmore> Most of the time I just go to the foundry, because it's a lot easier when I get to work face-to-face
[02:06] <will> yeah, i can imagine
[02:07] <SirSkidmore> It's a good time most of the time
[02:07] <SirSkidmore> I'm the only high school we've ever hired, which is really cool, and I love making money
[02:09] <SirSkidmore> (high schooler, sorry)
[02:09] <will> how old is high school?
[02:11] <SirSkidmore> I just turned 17
[02:11] <SirSkidmore> But I've been working there since 16
[02:12] <will> that's pretty impressive
[02:13] <will> i wish i had been pointed in the right direction a bit earlier with programming
[02:13] <will> i'm 23 but i got into programming properly at 16 to 17
[02:13] <will> i had always been doing it but just not well
[02:14] <SirSkidmore> The biggest problem I had with programming up until this summer was that I'd make myself learn the syntax of a language, but I could never figure out what to do with it once I could make little simple apps
[02:14] <SirSkidmore> So I would forget everything
[02:16] <SirSkidmore> And so by like 8th grade, I could make Hello World programs in like every single language, but without a cheat-sheet couldn't do anything else. I lacked the imagination and the creativity to come up with any of my own ideas anyway.
[02:17] <will> yeah, i know what you mean
[02:17] <will> another problem is what i call the shower paradox
[02:17] <will> any program seems infinitely simpler when in the shower
[02:17] <will> "oh yeah, i could knock up a procedurally generated open world platformer/RPG over the weekend"
[02:17] <SirSkidmore> Hahaha, yeah. *cough*my text rpg*cough*
[02:17] <will> haha
[02:17] <will> yeah well my shift rota program has had the same problem
[02:18] <will> all my great ideas for software end up being 6 months of work that goes no where
[02:18] <will> my latest game is about 18 months of work and still not really ready to s how
[02:18] <will> that's either dedication or idiocy
[02:18] <will> or incompetence
[02:19] <will> or both those last ones :P
[02:19] <SirSkidmore> I don't work well on my own, but I don't have any friends who can keep up with me haha
[02:19] <SirSkidmore> not to sound douchey, it's just what it is. Most 17 year olds can check Facebook
[02:20] <will> no, i do understand what you mean. i don't have any programmer friends and sometimes i'm desperate for a partner
[02:20] <will> i tried to get my friends into ubuntu but it doesn't seem to stick
[02:21] <will> (this is the point where we fall in love and live happily ever after btw)
[02:21] <will> i guess that's where open source comes in
[02:21] <will> you can contribute small patches to anything you like
[02:21] <will> then ditch it if you get bored
[02:21] <SirSkidmore> Same. My good friend used it for a few years (I've had it for about 5, off and on) but he would not touch the terminal
[02:22] <will> that's better than nothing at least!
[02:22] <SirSkidmore> He wouldn't program either
[02:22] <SirSkidmore> haha
[02:22] <will> i've found that the guys who consider themselves a bit techie can be the hardest to convince
[02:22] <SirSkidmore> and after a while I got bored with Ubuntu and switched to ArchLinux
[02:23] <will> my biggest contribution to open source before writing this shift rota app is a string of ex girlfriends who dual boot and say "youubuntoo"
[02:23] <SirSkidmore> which was fun as a novelty but annoying as shit after a while
[02:23] <SirSkidmore> Haha, I honestly don't even think that I say it right half the time
[02:26] <will> my experience with arch was looking through a huge list of packages during the install and then spending hours wondering why it kept breaking
[02:27] <will> my longest time away from ubuntu was fedora KDE spin, but i saw a mini golf game called kolf and decided to go back
[02:27] <will> "kolf"? it doesn't even work
[02:27] <SirSkidmore> lol
[02:27] <will> a kolf is something posh people do when they need to clear their throat (that almost works as a joke :P)
[02:28] <SirSkidmore> I use Cinnamon most of the time, but Fluxbox when I have friends over to show off a little bit haha
[02:28] <will> isn't fluxbox pretty basic?
[02:28]  * SirSkidmore is just kidding, he doesn't have friends over.
[02:28] <will> haha
[02:28] <SirSkidmore> I made it look pretty decent
[02:28] <SirSkidmore> It took a lot of work
[02:29] <will> don't you love it when linux decides to have a monumental breakdown whenever you're showing it off to someone
[02:29] <will> it's heart breaking
[02:29] <SirSkidmore> "I swear I don't normally have to kill X and only use a tty for half an hour!"
[02:30] <will> hahaha yeah exactly
[02:31] <will> i was trying out fedora 16 in my friend's PC
[02:31] <will> his first time with linux
[02:31] <will> we tried the live CD out and had a poke around
[02:31] <will> he seemed semi impressed
[02:31] <will> then the CD drive wouldn't open again
[02:31] <will> even rebooting it didn't fix it
[02:31] <SirSkidmore> Ouch
[02:32] <will> i can't remember what we did in the end, but it seemed for a while that linux had somehow physically broken his CD drive :P
[02:32] <will> now he's got a job doing windows IT support at a legal firm
[02:32] <will> there's a moral in that story somewhere
[02:32] <SirSkidmore> I keep CrunchBang! on a flashdrive and always boot into that at school and one time I thought that I had completely broken the stupid computer
[02:32] <SirSkidmore> It would not boot back into Windows haah
[02:33] <will> oh dear
[02:34] <will> that's when you walk calmy but quickly away from the machine
[02:34] <SirSkidmore> Well, it was the embedded edition of Windows, so it had to be launched from another computer
[02:34] <SirSkidmore> I got it all figured it out
[02:35] <will> nice job :P
[02:35] <SirSkidmore> I've gotten in some pretty huge trouble for my computer antics
[02:36] <SirSkidmore> I created a HUGE local chat/file sharing network last year
[02:36] <SirSkidmore> and it ran off of a bootstrapped wifi router in my locker
[02:36] <SirSkidmore> and they found it haha
[02:36] <will> how did you power it?
[02:36] <SirSkidmore> BATTERIES
[02:36] <SirSkidmore> haha
[02:36] <will> :P
[02:37] <SirSkidmore> Lots and lots of batteries
[02:37] <will> you see this demonstrates the difference between us and presumably our education systems
[02:37] <will> because i kept a mould farm in my locker at school
[02:37] <SirSkidmore> IT was a 12v intake, so I had like 3 12v batteries to swap out all the time haha
[02:37] <SirSkidmore> That's icky
[02:38] <will> it started emitting a heavier than air gas that forced all the younger children with lockers underneath mine to vacate
[02:38] <SirSkidmore> Ew
[02:38] <will> didn't get caught though, so that's one up on you :P
[02:39] <SirSkidmore> Well, they never caught me when I tore down the school's website after they made this really dumb poll about our scheduling. What does the general public know about how high schoolers want their schedules working?
[02:41] <will> :P there's a wearisome school IT guy out there toiling away making lovely webpage voting systems
[02:42] <will> see the reason why i didn't get caught with my mould farm is because i kept it in someone else's locker
[02:42] <SirSkidmore> Our school's website is sooooo awful
[02:42] <will> but i put my own lock on it
[02:42] <SirSkidmore> So I feel no guilt haha
[02:42] <will> so maybe that's what you should do with your router
[02:42] <SirSkidmore> That's pretty smart
[02:43] <SirSkidmore> I tried to create a network of routers independent of my school's network
[02:43] <will> yeah they tend to be a bit embarrassing (school sites)
[02:44] <SirSkidmore> (I piggy-backed on our wifi network) which was cool, because I could change the url to the network all the time
[02:45] <will> i wouldn't know how to do that!
[02:46] <SirSkidmore> I got the same model of Cisco routers, and then plugged in directly to one of our laptops, accessed the Cisco consoles off of the IT shared (private server) and added it to the network as wireless switch or what ever :P
[02:47] <will> aparently calendar.mark_day(day) only accepts a day between 1 and 31
[02:47] <will> but the calendar widget shows days from the previous and next months
[02:47] <will> so if you're in july but you can see june the 25th, you can't mark it
[02:48] <SirSkidmore> Hmm
[02:48] <will> and that makes the last hour of programming a bit wasted :P
[02:48] <SirSkidmore> Well, is there a way so if you click it, it just switches the entire month back to June, and then marks the 25th?
[02:49] <will> the problem is i want to mark entire weeks
[02:49] <SirSkidmore> Oh
[02:49] <SirSkidmore> Hmm
[02:49] <will> weeks that transcend monthly boundaries
[02:49] <SirSkidmore> OHH
[02:49] <SirSkidmore> Can't help you there
[02:49] <SirSkidmore> heh
[02:49] <will> nor can GtkCalendar apparently
[02:49] <will> that sucks
[02:50] <will> i've already had to give up on some major functionality due to drag and drop being almost impossible to figure out
[02:52] <SirSkidmore> It's probably very doable
[02:52] <SirSkidmore> by monday however?
[02:52] <SirSkidmore> no
[02:52] <will> drag and drop you mean?
[02:52] <will> i got it working but only once in every 30 or so tries. that's with the same codebase, unaltered
[02:52] <will> different behaviour
[02:52] <SirSkidmore> both problems probably
[02:53] <will> i think there could be a better standard set of widgets
[02:53] <will> i'd like to see a clock widget
[02:53] <will> i'd also like to see a double headed slider
[02:53] <SirSkidmore> You're probably right
[02:53] <will> that lets you set a start and an end
[02:54] <will> that can be your new project
[02:55] <SirSkidmore> for Monday? I'll pass. I'm pooped haha
[02:55] <will> :P
[02:55] <will> GREWS, or Gnon-Rubbish-Extended-Widget-Set
[02:55] <SirSkidmore> however, if you get something submitted and then want to update it and want help, I'd be more than happy to do so
[02:57] <will> that's very kind of you to offer and i might well take you up on it
[02:57] <will> the code in my program is kind of terrifying in places
[02:57] <SirSkidmore> Just comment in it
[02:57] <SirSkidmore> :P
[02:57] <will> when it gets uploaded to github it'll probably get forked by 10 different rival factions
[02:57] <SirSkidmore> I'll be able to pick through it
[02:58] <will> yeah, i'll do that :)
[02:58] <SirSkidmore> What's your github username? I'll follow you
[02:58] <will> i've not actually got one yet
[02:58] <will> i was planning to sort out the whole uploading the package stuff 30 mins before the deadline on monday night
[02:58] <will> can't be too hard right :P
[02:59] <SirSkidmore> Okay, well I just PM'd you my email, so just use that :P
[02:59] <SirSkidmore> It's not
[03:00] <will> got it :)
[06:40] <jlengrand> hi all, I'd have a question concerning multiple Threads in a pygtk application, created from a quickly template
[06:42] <jlengrand> I started with the Hello world example, and added a button. I d like to run some code in a thread when the button is pressed. Thing is the thread doesn't run until the main frame has closed
[06:42] <jlengrand>  The code is here : https://github.com/jlengrand/Ivolution/blob/master/ivolution/IvolutionWindow.py
[06:42] <jlengrand> Thx !
[11:36] <viesturs> hello I am having problem with quickly, can somone help
[11:36] <viesturs> ?
[11:58] <commandoline> viesturs: it's better to directly ask a question, the chance someone says 'yes' now is pretty small.
[11:59] <viestur> hello, can someone help me with processes in ubuntu?
[11:59] <viestur> i want my app to run in background and react on certen things
[11:59] <viestur> how do i do that?
[12:00] <viestur> and how to make it so in wouldn't make new process everytime it is clicked on or dropt file on in unity's launcher?
[12:02] <commandoline> for the first thing, use 'subprocess': http://docs.python.org/library/subprocess.html
[12:02] <commandoline> included in the python standard library by default.
[12:04] <commandoline> for the last thing, see this askubuntu question I answered some time ago: http://askubuntu.com/questions/155496/how-do-i-force-only-one-instance-of-my-application-python-quickly
[12:21] <viestur> thank you
[12:28] <viestur> is there some kind of tutoral available, so i would undesrstand how do i use these processes in my app?
[12:29] <commandoline> hmm, so a tutorial about subprocess?
[12:30] <viestur> yes
[12:30] <viestur> i am new to this thing
[12:30] <viestur> may be it would help if i would tell you what i am trying to do
[12:31] <commandoline> well, mostly you can just use something like subprocess.call(["command", "-p", "option", "etc"])
[12:31] <commandoline> .call_check checks if the program exit code is zero
[12:32] <commandoline> and you can interact with the process by using subprocess.Popen, again you don't need most of the properties.
[12:34] <viestur> so the subprocess.call will create a new subprocess?
[12:34] <commandoline> well, it'll just call the program you specify
[12:34] <commandoline> http://jimmyg.org/blog/2009/working-with-python-subprocess.html is worth a look.
[12:34] <commandoline> *calls
[12:35] <viestur> it turns to the active process of that programm?
[12:36] <viestur> ok i'll look in to it
[12:37] <commandoline> subprocess.check waits for the process to complete, subprocess.Popen launches it and interacts with it when requested by your application as far as I know.
[12:38] <viestur> OK
[12:38] <viestur> that should help
[12:40] <viestur> is it passible to controll if the app is showd as runnint un unitys launcer?
[12:41] <viestur> the idea is similar like the quiestion you answered in askubuntu
[12:42] <viestur> i want to have an indicator, that works all the time, but i want to show app as running only if the main window is present
[12:42] <commandoline> no idea
[12:44] <viestur> OK thanks :)
[13:42] <megusta_123456> Hello, The appshowdown ends today or have I one more day?
[14:05] <commandoline> all the info: http://developer.ubuntu.com/showdown/
[15:14] <megusta_isback> People, i used 'quickly submitubuntu'; after few steps, It is asking me for Launchpad project name:
[15:14] <megusta_isback> should i register a project?
[15:14] <megusta_isback> ^ for ubuntu app showdown
[16:14] <almien> What does "Draft" mean on https://myapps.developer.ubuntu.com/dev/ ?
[17:04] <mohan12312> Gentlemen, I have trouble signing the ubuntu code of conduct at launchpad
[17:05] <mohan12312> says, "public key missing"
[17:05] <mohan12312> Can anyone help?
[17:07] <almien> I think the general idea is that you have to have a GPG key, and you have to publish it to public keyservers
[17:08] <almien> and at some point, ubuntu's keyserver eventually gets that info, at which point it "knows" your GPG key
[17:19] <mohan12312> almien: I had more than one gpg key.. that was the problems.. Thanks though.. :)
[18:09] <D[4]ni> hi, are there any good tutorials on how to integrate a c++/gtk application into the global menu?
[18:10] <D[4]ni> or at least some api docs?
[18:17] <almien> D[4]ni, the process of submittting it as an "app" in ubuntu gives you some choices which seem relevant to ubuntu's menu system
[18:27] <D[4]ni> almien: impossible to do it for non-public (for now) applications?
[19:15] <viestur> how do i controll whehere quickly takes icons from?