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