/srv/irclogs.ubuntu.com/2010/02/16/#ubuntu-manual.txt

dutchieit's too late to be doing all this00:03
dutchieI don't think tidying up all my folders was a very good idae00:06
dutchieidea*00:06
humphreybclol00:28
humphreybcshould i separate them00:28
dutchieit's alright for you, it's not half past midnight where you are00:28
humphreybcis there a quick way to separate them?00:28
dutchiehumphreybc: probably00:28
dutchiecut and paste?00:29
humphreybcheh okay00:29
humphreybci'll attempt that :)00:29
humphreybcget some sleep!00:29
dutchiegood idea00:29
humphreybcdutchie: you still here?00:44
humphreybchey godbyk i've created some new windows and things in quickshot and pushed. The cancel/close buttons actually work now too.02:57
humphreybcOn an unrelated note, have you had a chance to look into including the revision number in the copyright page?02:57
godbykcool02:58
godbykah, no, I haven't looked yet.02:58
godbykI'll give that a shot in a couple minutes, though.02:59
humphreybcsweet03:01
godbykI think I'm going to irk everyone soon by making them all upgrade to TeX Live 2009.  :-)03:07
godbykIt seems that bzr doesn't use the normal RCS keywords (like everyone else does).03:21
godbykso I'm doing it in a hackier way, but it'll work.03:22
godbykhumphreybc: Revision info pushed.03:24
humphreybcgodbyk: sweet03:27
humphreybcgodbyk: are you planning on changing to tex live 2009?03:33
humphreybcperhaps we could look at creating a PPA for the team with everything packaged for ubuntu to make it easy for translators/contributors etc to download03:33
godbykIt seems that the glossary stuff in 2007 is antiquated (and the packages we want to use aren't in 2007), so we may have to update to 2009 for that.03:33
humphreybchmm03:34
humphreybcokay03:34
godbykAnd since we're using 2009 for the translated stuff, it means I can remove some of the special, just-for-English code that's there and then it's all using the same code regardless of language.03:34
godbykSo It'll simplify things on that front, too.03:34
godbykhumphreybc: There is a PPA, but I don't know if it's at all complete: http://www.tug.org/texlive/debian.html03:35
humphreybcokay03:40
humphreybclast updated 15/1/201003:40
humphreybcthat's pretty good03:40
humphreybc"TeX Live 2009 is now in Debian/unstable, and should transit to testing in a few days (2010-01-15)."03:41
humphreybcoh no wait03:41
humphreybcthat's not ubuntu :P03:41
humphreybchttps://edge.launchpad.net/~aelmahmoudy/+archive/tl200903:41
humphreybcyou've already got an install script right? just add a couple of lines that add that PPA and then install the necessary packages... presuming that PPA has everything we need. If you could have it echo some stuff like "Installing PPA..." "Downloading necessary packages..." then that would be cool too so everyone knows what's going on while they wait for 500mb to download...03:42
godbykyeah, I saw the PPA, but it seems like it has a lot fewer packages than what's there for 2007.03:43
godbyk(There are many more than 12 texlive-* packages in the Karmic repositories.)03:44
godbykNow, with 2009, you get a tlmgr program that grabs the latest LaTeX packages from the CTAN site.03:44
godbykSo maybe they're going to rely on that from here on instead of packaging the LaTeX packages themselves.03:44
godbykI don't know.03:44
humphreybchmm oky03:45
humphreybcwhen do we have to switch to 2009?03:45
godbykWe'll have to switch before we start doing the glossary stuff.03:46
humphreybcperhaps it's worth contacting "them" to find out what the best way is.... packaging ourselves in our own PPA (eek!) or using their tlmgr thing03:46
godbykYou can switch now if you want.  It doesn't hurt anything.03:46
godbykI don't have time to package all of that myself.03:46
humphreybclol i know03:46
godbykIt's pretty easy to install TL2009 using its own install scripts.03:46
godbyk(See my previous email with the instructions.)03:46
humphreybcokay cool03:47
humphreybcany way we can make that super easy?03:47
humphreybc(i'm just thinking of people like wendy who haven't used ubuntu before etc)03:47
godbykI think the install-tl program is about as easy as it can be.03:47
godbykIt autodetects everything.03:47
humphreybcoh gnarly03:47
humphreybcno problemo then03:47
godbykYou just tell it 'go' and it goes.03:47
humphreybcthat sounds swell03:47
godbykWhy don't you give it a try and let me know what part of the instructions could be clearer or elaborated on?03:48
humphreybcsure03:48
humphreybcso just from that email?03:48
godbykyep03:49
humphreybcsome keywords for me to find it in gmail?03:49
humphreybchaha03:49
godbyksearch for 'install-tl'03:50
humphreybcsweet03:50
humphreybcgot it03:50
humphreybchow big is 2009?03:51
humphreybc(don't say "about 52 weeks!"03:52
humphreybchaha03:52
godbykIt'll tell you on the menu how much it wants to download.03:53
godbykI think for me, it was a couple gigs, 'cause I installed absolutely everything.03:53
humphreybcoO03:53
humphreybcthat would take forever on our connection03:53
godbykHey, *you're* the one who wanted to switch ISPs! <grin>03:54
humphreybclol well we'd be over our cap by now if i hadn't haha03:55
godbykYou can skip installing the documentation.03:55
godbykThat'll save a bit of space.03:55
godbyk(Quite a bit, actually.)03:55
humphreybcokay, well, i'll see what speed it goes at and if it's less than 20KB/s I'm ringing the ISP03:55
humphreybci'll make up some (half true) stuff about it's stopping me from doing my work03:55
godbykYou *do* need to install the XeTeX/XeLaTeX engine, and you will need to install any languages you want to compile the translations for.03:55
humphreybcrighto03:56
humphreybcwhat's this, it's going really fast!03:58
humphreybclike 700KB/s03:58
humphreybcWOW03:58
humphreybcI am amazed03:58
* humphreybc wants a big ubuntu poster or flag for his wall04:01
godbykcool04:01
humphreybctypical, the wireless drops halfway thru latex install04:42
humphreybclooks like it's going to pick up where it left off though which is good04:43
godbykhumphreybc: How goes the install?05:10
humphreybcoO it's done05:10
humphreybchaven't looked at it till just now05:10
humphreybccool05:10
humphreybcso what's the command to make say, the spanish version?05:10
humphreybcgodbyk: benjamin@benjamin-laptop:~/Manual/ubuntu-manual$ make05:12
humphreybcbzr version-info > revision.tex05:12
humphreybcpdflatex main05:12
humphreybc/bin/bash: pdflatex: command not found05:12
humphreybcmake: *** [main.pdf] Error 12705:12
godbykrun the install-tl script again and make sure the 'create symlinks' option (last option listed) is checked.05:13
godbyk(it shouldn't have to install or download anything again)05:13
godbykor, alternatively, add the bin dir to your PATH.05:13
humphreybcwhat do I put as the "new value for binary directory?"05:14
godbykleave the default, probably.05:17
humphreybcsweet05:18
godbykdid that work?05:19
godbykif so, you can try running "make ubuntu-manual-es.pdf" for instance.05:19
humphreybcI think it has to download another 2GB05:20
humphreybcit did say "Disk space required: 2036mb" or something05:20
humphreybcand it's downloading stuff05:20
godbykreally?  hmm..05:21
humphreybcyep05:21
godbykit should detect that you've already installed the stuff.05:21
godbykwell, you could kill it, and make the symlinks yourself, I s'pose.05:21
godbykwe should add a note to the instructions about telling the installer to create symlinks.05:22
godbykwere there any other quirks or errors in the install instructions I wrote?05:22
humphreybchmm i don't think so05:24
humphreybci'll see if this works05:24
godbykWhat's it downloading? Everything?05:26
humphreybcappears that way05:28
humphreybcup to 280/2003 things, or mb, it doesn't say05:28
humphreybcit says "Installing" so maybe it's not downloading but just installing... although it does pause for a bit on larger things05:29
humphreybcit also has time/total - I guess the total is estimated. It's currently at 12:36/40:205:31
humphreybc40:22*05:31
godbykHmm.. weird.05:31
humphreybcwhere did it install it the first time round?05:31
godbykIn /usr/local/texlive/2009/ probably05:34
godbyk(that's the default location for all its files)05:35
godbykmight've been able to create the symlinks via tlmgr, too. I'm not very familiar with it yet.05:35
humphreybcokay so there's 2.3GB in that directory05:37
humphreybcand where is it installing stuff to now?05:37
humphreybcheh i don't know what dutchie is doing with the planet but for some reason it never updates my feed automatically05:38
godbyksame place, presumably.05:38
humphreybcthat was odd, pidgin just randomly crashed for no reason05:45
humphreybcand it crashed again05:47
godbyknice05:50
godbykwhat irc client are you using?05:51
humphreybcpidgin05:52
humphreybcit usually works flawlessly05:52
humphreybcbut maybe i upset it somehow05:52
humphreybcapparently texlive has 15 minutes left05:53
godbykah, pidgin crashes randomly for me, too05:54
humphreybccould be worse i guess05:55
humphreybccould be using windows05:59
humphreybcgodbyk: looks like i'm in business with 200906:43
humphreybchow do you make a translated one again?06:43
humphreybclost the command after pidgin crashed06:43
godbykjust run: make ubuntu-manual-LANG.pdf06:47
godbykwhere LANG is the same name as the .po file06:47
godbyk(try es for spanish, for instance.)06:47
humphreybcbenjamin@benjamin-laptop:~/Manual/ubuntu-manual$ make ubuntu-manual-es.pdf06:57
humphreybcpo4a-translate --master-charset=utf8 -f latex -m main.tex -p po/es.po -l ubuntu-manual-es.tex -k 006:57
humphreybcpo4a::tex: Can't read from file without having a filename06:57
humphreybc at /usr/bin/po4a-translate line 22706:57
humphreybcmake: *** [ubuntu-manual-es.tex] Error 906:57
godbykum..07:05
godbykweird07:05
godbykhold on07:05
godbyknice07:08
godbykpo4a doesn't like my revision stuff for some reason.07:08
godbyklemme see what it's problem is.07:08
godbykfixed it.07:11
godbykpushed.07:11
godbyknow I have to fix some typos that others left behind.07:11
godbyk(I swear no one tries to compile before they commit.)07:11
godbykhumphreybc: try make ubuntu-manual-lt.pdf07:14
godbykes has typos07:14
godbykde has typos07:14
godbyk(different typos, even.)07:14
godbykI'm going to write a script to attempt to build all of the translations and whatever and put 'em on my site.07:14
godbykwill also post errors.07:14
godbykis there an API for launchpad to create bugs against our translated manual?07:15
humphreybcnot sure07:23
humphreybcmake ubuntu-manual-lt.pdf throws the same error, 907:23
humphreybcoh wait didn't see that you fixed it above07:25
humphreybci'll try again07:25
godbykyeah, do a pull and try again07:25
godbykknow of any open source build servers?07:25
humphreybcthis seems to be more successful07:25
godbykI'm looking to set one up for our project.07:25
humphreybcnot off hand nope07:25
humphreybci get a couple of errors regarding "Gentium Book Basic"07:26
humphreybcand Aksharyogini07:26
humphreybcI guess i'm missing fonts07:26
godbykInstall the ttf-sil-gentium and ttf-sil-gentium-basic packages.07:26
godbykright.07:26
humphreybcalso Gautami07:26
godbykwell, install ttf-*  :-)07:26
humphreybci think07:27
humphreybchaha okay07:27
godbykI'm going to restructure that bit of code, soon too.07:27
humphreybcso they're just in the default repos?07:27
godbykyeah, I think all the fonts I'm using so far, are.07:27
godbykwell, maybe not Gautami.07:27
godbykI think that's a MS Windows font.07:27
humphreybci'm getting loads of errors07:28
humphreybc! \textfont 0 is undefined (character u).07:28
humphreybc\Url@FormatString ...\Url@String \UrlRight \m@th $07:28
humphreybcbut replace character u with every single character ever07:28
humphreybcso overall didn't build07:28
humphreybci'll try installing fonts07:29
godbykyeah, install fonts first, then try it again.07:29
humphreybcThe following packages have unmet dependencies:07:30
humphreybc  ttf-kochi-gothic: Conflicts: ttf-kochi-gothic-naga1007:30
humphreybc  ttf-kochi-gothic-naga10: Conflicts: ttf-kochi-gothic07:30
humphreybc  ttf-kochi-mincho: Conflicts: ttf-kochi-mincho-naga1007:30
humphreybc  ttf-kochi-mincho-naga10: Conflicts: ttf-kochi-mincho07:30
humphreybcgood times all round haha07:30
godbyknice.07:31
godbykokay, well, look in the ubuntu-manual.cls file07:31
godbykthere will be a bunch of \setmainfont lines with comments telling you where I got the fonts from.07:31
humphreybchmm fun07:33
humphreybcso i need to go to all these sites and download them?07:33
godbykat the moment, yeah.07:34
godbykor you can wait 'til I restructure that bit.. then you'll only need those fonts if you want to compile those translations.07:34
humphreybcokay i'll install the ones i can find in the repos07:35
humphreybcand other than that just wait i think :)07:35
humphreybcpretty shattered, been up since about 7am today07:36
humphreybcmy brain has stopped working properly07:36
humphreybc:)07:36
godbyknice07:36
humphreybchalf past 8 and i'm almost falling asleep on my laptop!07:37
humphreybca build server would be cool07:37
humphreybcif you need somewhere to host stuff my server has a bit of space07:37
humphreybci'm getting another 500GB HDD for it next week07:38
godbykI've got (allegedly) unlimited space and bandwidth.07:38
godbykThough I've never pushed it. :-)07:38
humphreybcoh really? who are you with?07:38
humphreybcdoes that cost a lot per month?07:39
godbykDreamhost: http://www.dreamhost.com/07:39
godbykCosts ~$8 a month, I think.07:39
humphreybcwow07:40
humphreybcthat's impressive07:40
humphreybcwhat's with the dude on the front page? http://www.dreamhost.com/hosting.html07:40
humphreybcdoes he actually run it!?07:41
humphreybche must be like 1307:41
humphreybcthey do everything for so cheap... far out... the NZ costs are at least 1000x more expensive07:42
godbykheh07:42
humphreybcI think for $180 a month you get something like 5GB with 10GB of bandwidth or something07:42
humphreybchttp://www.freeparking.co.nz/hosting07:42
humphreybccorrection 250mb of space, 10GB bandwidth for $150 a year07:42
humphreybcoh it's a year07:42
godbykHere's what "unlimited" means: http://www.dreamhost.com/unlimited.html07:42
humphreybcthat's not as bad but still... lol07:43
humphreybci still want to know who the kid is07:43
godbykStock photo, I'm guessing.07:44
humphreybcthey're rather informal07:45
humphreybc"Actually, for you, my dear Legitimate Website Owner, it is unlimited."07:45
humphreybc"This whole page is just to announce to the <.1% of people who want to try and run free porn affiliate sites or anime video trading forums or host pirated rips of The Dark Knight on DreamHost that we're not having any."07:45
humphreybclol07:45
godbykOh, yeah, they have character!07:45
humphreybcthey do07:46
godbykYou should see the monthly newsletters.07:46
humphreybchaha07:46
humphreybc$8 is so cheap07:46
humphreybchow do they make their money?07:46
godbykVolume?07:46
humphreybchttp://www.dreamhost.com/aboutus-profiles.html07:47
humphreybcthey put photos up of them as a kid, what the hell lol07:47
godbykha! nice.07:48
godbykSo it *is* Mike S.07:48
humphreybcit is so weird but cool07:48
godbykTheir blog has more cheekiness: http://blog.dreamhost.com/07:49
humphreybcLOL read "What's the craziest thing you've ever seen while working at DreamHost?"07:49
humphreybchttp://www.dreamhost.com/profile-dallask.html07:49
humphreybchttp://www.dreamhost.com/profile-jeremyk.html07:50
humphreybc"What do you do at DreamHost?"07:50
humphreybc"I make music with the fans of the servers. Ok, not really. But I do try to bring all of the servers into harmony and keep them there!"07:50
godbyknice07:50
humphreybclol07:52
humphreybcthe ipad giveaway thing07:53
humphreybc"Okay, it’s going to be 20 of the $499 models (16G wifi-only) given away. Also note: if you don’t live in the US but give us a US mailing address when we contact you after you win, well, how are we going to know the difference?"07:53
humphreybclol what: http://blog.dreamhost.com/2010/01/18/happy-new-year-zealand/07:53
humphreybcoh cool they went to LCA07:53
humphreybcwhat an odd company07:54
humphreybcthey're even stranger than google07:54
humphreybci wonder how many customers they have07:55
godbykI'm not sure, but a ton.07:56
humphreybcLOL http://techcrunch.com/2008/01/15/dreamhost-overbills-customers-75-million-uses-homer-simpson-to-deliver-apology/07:57
humphreybci think that's how i'd run a business07:59
humphreybci've always had this grand scheme of my first business modelled after google with cool furniture and crazy staff schemes07:59
humphreybcthese guys are probably all just kids at heart, hence the child photos07:59
humphreybcbut i love their laid back attitude about 7.5 million bucks. just like "whoops."08:01
godbykYeah, they're pretty crazy.  I like 'em.08:01
godbykhttp://www.dreamhost.com/limited-time-sale-going-on-now.html08:02
humphreybctoo bad i don't need their services at the moment, otherwise i'd sign up lol08:02
humphreybcanother great service I use is Weebly08:03
humphreybcthey're really good guys08:03
humphreybcI use them for my website (no I didn't make it myself, but I could have) because it's reliable, fast, there is no limit on data or bandwidth and it's like $30 a year or something which is perfectly reasonable08:03
humphreybcplus it's sooo easy to maintain08:03
humphreybcand their customer support is excellent. I emailed them to suggest a feature and I got the CEO reply and say he'll work on in personally. We had a chat about Ubuntu too because he noticed my signature08:04
godbykCool08:05
humphreybcI love IT... it's so... different08:06
humphreybcwork from home/crazy companies/tonnes of creativity/usually friendly people08:07
humphreybci could never see myself as a lawyer or accountant :O08:07
godbykSame here.  I much prefer the relaxed environments.08:10
godbykI'm not a fan of wearing ties or suits.08:10
humphreybcyeah me neither08:12
humphreybcgodbyk: what would be the easiest way for me to see the other windows in quickshot?08:15
humphreybcjust to test out the UI08:15
godbykHmm. Not sure.  Can you call window.show() or something?08:16
godbyk(where 'window' is the var that points to that window)08:16
humphreybcwell i'm looking in the quickshot python file and i'm a bit lost08:16
humphreybci don't know any python at all08:16
humphreybci do know a bit of java but i've forgotten most of that08:17
humphreybci just want glade to render a window for me, or to call it from the CLI?08:17
godbykI haven't done any GUI programming in Python, so I'm not sure.  Sorry.08:18
humphreybcthat's all good08:18
godbykI'm setting up buildbot.08:26
humphreybcoh yes?08:37
godbykslowly. :-)08:37
humphreybcnice, so it's a server based thing that takes latex imports and builds PDFs, right?08:37
godbykWell, the buildbot will build anything you tell it how to build.08:43
godbykin this case, I'll have it pull our manual out of bzr, then compile each translation, and generate a report about what worked, what failed, etc.08:43
ubuntujenkinswhat theme was used to take the quickshot screen shot?08:46
godbykThat's a question for humphreybc.08:51
humphreybcubuntujenkins: it's this: http://www.omgubuntu.co.uk/2010/02/x-ivi-human-deluxe-proposed-lucid-theme.html08:53
humphreybcbut with lucidity borders08:53
humphreybcor homosapien borders... i'll check hold up08:53
humphreybcif you think the windows look nice, check out the menus and panel xD08:53
humphreybcLucidity window borders08:54
ubuntujenkinsthanks i will, I am quite happy to test quickshot as and when you need more tester I have a very limited python knowledge so can't help on that front.08:55
humphreybcubuntujenkins: sure, well at the moment there is nothing to test but soon there will be :D08:57
ubuntujenkinsI have been having a sneky peak at the bzr branch08:58
ubuntujenkinsIt looks good08:59
humphreybcsure go for it, you want me to add you to the dev team?08:59
* humphreybc buzz has actually been useful - had a person who knows python express interest in helping with quickshot!!09:00
ubuntujenkinsfeel free to add me, I shall join the luanchpad group I am going to follow closely so that I can understand how to make a program09:02
humphreybcwhat's your launchpad username?09:02
ubuntujenkinsluke jennings09:02
humphreybccool09:03
ubuntujenkinsjust joined the quickshot lp page09:03
humphreybcyup i'm just loading the page to confirm you09:03
humphreybclaunchpad is so slow09:03
ubuntujenkinsthanks :)09:03
humphreybcdone09:04
ubuntujenkinscool09:04
TommyBrunnHey humphreybc09:05
humphreybcgidday!09:05
TommyBrunnI take it you're Benjamin?09:05
humphreybcyep09:05
humphreybchumphreybc is my nick for pretty much everything09:05
TommyBrunnI see.09:05
humphreybcubuntu forums, wiki, launchpad, IRC, skype, msn, gmail etc etc09:05
TommyBrunnAnyway, I'm going to take a look at Quickshot later today09:05
humphreybcit's just my last name with my initials :)09:05
humphreybcawesome, sounds great!09:06
TommyBrunnI can't promise much though. I'm afraid I'm terribly rusty.09:06
humphreybcI created it using Quickly, so you'll have to install quickly first to run it - or you could probably just run the python file09:06
TommyBrunnMy uni is forcing me to use horrible languages such as Java and C#, rather than Python.09:06
humphreybchehe same at my uni09:06
humphreybcalthough I'm doing a python paper this semester09:06
humphreybclast year I did java09:06
humphreybcwhat year are you?09:06
TommyBrunnFirst year.09:06
humphreybcoh cool, i'm going to be second this year09:07
humphreybcI'm not of much use regarding python at the moment, but I am getting kinda good at Glade09:07
TommyBrunnI'm thinking about doing the same thing as you did, and switching over to comp sci instead. The program I'm currently in is a complete joke in many aspects.09:07
TommyBrunnQuickly uses glade and gtkbuilder for the interface, right?09:08
TommyBrunnI've never used Quickly before, but I do have some experience with Glade.09:08
humphreybcmmm, well for my uni, the software engineering major had a whole YEAR of commerce papers... dry, boring, commerce papers... so I changed to comp sci, got rid of the boringness, get to do more programming and chop a year off my degree09:08
humphreybcyep that's correct09:08
humphreybcquickly basically just creates a project off a template09:08
humphreybcthis is the first time i've used it too, so I'm sort of walking blind if you will09:08
humphreybcheh... i haven't used quickly, python or glade before... yet the program uses all three tools. O.o09:09
TommyBrunnAlright. I'll give it a shot in a bit. I'm afraid my brain wonä09:09
TommyBrunn*won't be of much use until I've had a shower09:09
humphreybcso basically, if you want to take a look at it, what i'd quite like it to do just for this week is to get the "next" buttons working so they actually go to the next window09:09
humphreybcthat way I can test out the other UI windows that I've created in glade09:09
TommyBrunnI'll have a look once I get back.09:10
TommyBrunnbbl09:10
humphreybcawesome09:10
humphreybci may not be here when you get back, it's 10pm here and i have an exam tomorrow so should probably get some shut-eye09:10
ubuntujenkinsgood luck with the exam09:18
humphreybchaha ubuntujenkins, i'll need it, i haven't been to any lectures or anything09:21
humphreybci'll need a LOT of luck!09:21
humphreybcgodbyk: sorry for late reply, that sounds awesome09:22
ubuntujenkinshave a LOT of luck09:22
humphreybchaha09:22
humphreybcTommyBrunn: let me know how you go with Quickshot, email me: humphreybc@gmail.com09:22
humphreybcTommyBrunn: I'll check my emails tomorrow sometime before I head away on holiday and answer any questions you have - other than that, just go nuts! The specification and workflow layout is on the wiki for Quickshot: https://wiki.ubuntu.com/ubuntu-manual/quickshot09:23
TommyBrunnhumphreybc: In case you're still here, maybe you should add me to the launchpad dev team.09:42
humphreybcyep i am here09:45
humphreybcwhat's your lp username?09:45
humphreybcomg dutchie09:45
humphreybcare you just waking up and i'm still here?09:45
TommyBrunnhumphreybc: My lp username is reklamnevon, I believe.09:53
humphreybccool09:53
humphreybci think you're just tommy brunn09:55
humphreybci added you09:55
TommyBrunnOh yeah, would you look at that. Three new fancy icons on my profile.09:57
TommyBrunnIf I go ahead and make something awesome of this, how would I commit those changes back to trunk? Do I make a new branch and then let you merge that into trunk, or do I just push it there myself?09:58
humphreybcnope just push to the main one10:02
humphreybcnot enough people to bother with merges at the moment10:02
humphreybcjust bzr add, bzr diff, bzr commit -m "Your changes", bzr push lp:quickshot10:02
humphreybc(in that order)10:02
humphreybcoh and don't forget to pull first in case I have made changes10:02
humphreybcubuntujenkins: if you've got some time, it would be really helpful if you could go through your chapter and put in the /screenshotTODO{text} commands wherever you want a screenshot10:17
ubuntujenkinsI will do in the bits I have written not I will have thought about what screen shots are needed10:19
humphreybcawesome thanks10:20
humphreybcI just emailed the ML with some more info10:20
ubuntujenkinsignore the "not" that has got to be the worst sentence Ever written! I will see where I would like them10:20
ubuntujenkinsjust got it :)10:21
TommyBrunnhumphreybc: Your friendly neighborhood Python coder has gotten the basic next buttons to work. [party]10:24
humphreybcTommyBrunn: awesome!10:24
humphreybcpush push and i'll have a look :D10:24
TommyBrunnAlright. Will do.10:24
* ubuntujenkins gets ready to pull10:24
TommyBrunnShould be pushed now10:26
TommyBrunnNote that when you click next it'll just run through a lot of the windows really quickly, as it doesn't actually do anything yet.10:26
TommyBrunnNormally content would be downloaded, user accounts would be created, and stuff like that.10:26
humphreybccool10:26
TommyBrunnFor now it just prints something to the terminal.10:26
ubuntujenkinscool TommyBrunn which file is that funtionality of that done in?10:28
TommyBrunnquickshot/bin/quickshot10:28
TommyBrunnThe method called on_next_1_clicked() is the callback from the first next button.10:28
TommyBrunnAnything in that method is run when the button is clicked.10:28
ubuntujenkinsok cool I think it might be over my head might need to know more python. :)10:30
TommyBrunnIt took me some time to get back into this whole signal-callback thing. I haven't been coding Python for over 6 months, and the only graphical thing I've done in that time is some Lua scripting and some Java swing development.10:31
TommyBrunnBut it's not that complicated once you get into it.10:31
TommyBrunnCoffee helps.10:32
TommyBrunnWhich is why I'm going to go fetch a cup right now.10:32
ubuntujenkinsI can do bits of bash/shell and matlab I started learning python a while ago and ran out of time due to my course . but I have no work at the moment so free time!10:32
humphreybcwicked, yeah i can do java and html and stuff but python is new to me. soon i will be a python whizz though, i bought a python book and am doing a python paper this semester at uni.. plus writing a python program! woo! python!10:33
ubuntujenkinsis the book any good? which one is it10:34
TommyBrunnI would recommend Beginning Python by Magnus Lie Hetland. It has a lot of practical examples in it. The only bad thing I can say about it is that it doesn't use gtkbuilder for any of its graphical parts.10:35
TommyBrunnI think it uses Tkinter.10:35
humphreybcTommyBrunn: could you make it so that it goes from window to window in this order: main > usersetup > login > newuserwelcome > screenshotinfo > capture?10:35
humphreybcI've got the "Python visual quickstart guide second edition" by Toby Donaldson10:36
TommyBrunnIt does. It's just that it doesn't do anything, so you never see the windows because they appear and disappear so fast.10:36
humphreybcah okay10:36
humphreybccould you make it so that it goes so that we can actually see the other windows, or perhaps even just a delay of 10 seconds on the windows without buttons10:37
humphreybcjust so i can test the UI10:37
TommyBrunnSure.10:37
humphreybcawesome :)10:37
humphreybcwould you know how to have the content in the same window?10:37
humphreybcinstead of spawning new ones10:37
humphreybcso main > usersetup > login should all be in one window instance10:37
humphreybclike a real program10:37
ubuntujenkinsmy library doesn't have it :(10:37
humphreybcand then newuserwelcome would spawn a new window10:38
humphreybc(because the app starts up again in the other user account)10:38
humphreybcand then from then on it's all in one window too10:38
ubuntujenkinsI have a heat transfer lab to go to night humphrey10:38
humphreybcubuntujenkins: it's fairly new, written last year i think10:38
humphreybcokay night10:38
ubuntujenkinsby TommyBrunn thanks10:39
ubuntujenkins*bye10:39
TommyBrunnHmm... I'm having some problems here with the sleep command. It's sleeping alright, but after it has slept it spawns all the windows at once. Not quite what i had in mind...10:39
humphreybchaha10:40
humphreybcyou can ask for help in #ubuntu-app-devel if you want10:40
TommyBrunnI believe that in order to have the stuff in the same window, you would need to have a single window and then substitute the content in the program. Though I'm not sure, as I haven't used glade that much.10:40
humphreybcor #pygtk on irc.gnome.org10:40
humphreybcyeah i think that's what martin says10:41
humphreybcwell feel free to leave me a list of stuff to do10:41
humphreybcand i'll try my best to work it out and do it for you :)10:41
TommyBrunnHonestly though, I think that at this point it would probably be easier and faster for us to have each "view" be a different window - even if it isn't quite as pretty.10:43
humphreybcrighto10:43
humphreybcthat's cool10:43
humphreybcdutchie godbyk: http://doctormo.wordpress.com/2010/02/15/groundcontrol-1-5-–-custom-scripts-and-bug-fixes/10:43
humphreybcdutchie godbyk: we want to take advantage of these "buttons" that martin talks about. (It's actually something that I suggested) and so basically we want make release to build the PDF. All it has to do is run make show10:44
humphreybcactually10:44
humphreybci'll do that now10:44
TommyBrunnGot it working now. You need to press a button in the terminal you're running it from, in order to proceed to the next window.10:46
TommyBrunnI just realized, however, that I missed a tiny thingy. I'll push once I've got that sorted.10:47
humphreybcawesome10:48
TommyBrunnPushed.10:50
TommyBrunnHowever, something struck me as odd, or quite possibly impossible. Once the user account has been created, it wouldn't really be possible to switch sessions and still have Quickshot running in the same state in the new session.10:52
TommyBrunnWhat I suppose you could do is to instruct the user to start quickshot from that other session, and have the program check the user account to see if it's called quickshot - and if so, skip the whole creation of a user account, and just skip ahead to the screenshot part.10:53
humphreybcno i know, we have to start quickshot again10:53
humphreybcyeah10:53
humphreybcor just set it up so that when it creates the user "quickshot" it also creates a startup entry for quickshot10:54
TommyBrunnBut can an application be installed globally?10:54
humphreybci think it should be installed globally.10:54
humphreybcif not, we can install it on the new user as well :)10:54
humphreybcall of that will happen when it sets up the new user10:54
TommyBrunnYeah, I guess so.10:54
humphreybcit might be a bit hackish10:55
humphreybcbut it should work10:55
TommyBrunnHackish is how I roll. :P10:55
humphreybcit's not often that programs are actually required to make a new user :D10:55
TommyBrunnWhat would be very helpful, if you have the time, would be to create a branch for the screenshots, so I can see if I can get the downloading and parsing of that set up.10:55
humphreybcdutchie godbyk i've created a .gcfunctions file that points towards two new scripts i've made, make_pdf.sh and make_clean.sh that just run those commands. Ground Control 1.5 should see the .gcfunctions file and create the buttons, but I haven't tested it yet because I'm still waiting for Martin to package 1.5 for karmic.10:56
humphreybcyep10:56
humphreybci'll do that tomorrow10:56
TommyBrunnAlright.10:56
humphreybcif i have time :)10:57
godbykgotcha10:57
TommyBrunnAnything else I can do today, other than small UI fixes?10:57
humphreybcnot really, just go ahead and have a play10:57
humphreybcsmall UI fixes could be good :)10:57
TommyBrunn(I always get really exited when I first become involved with a project. Expect my level of commitment to gradually decrease with time. :P)10:57
humphreybchaha10:57
humphreybcthat's oaky10:57
humphreybcokay*10:57
godbykhumphreybc: Can't you just have it run 'make' without the shell script?10:58
humphreybci don't think so because ground control creates the buttons that point to a script10:58
humphreybci'm just going to test it now10:58
humphreybcthis is quite cool because it means contributors don't have to use the CLI for anything for our project10:59
humphreybcunless they want to do some fancy shit10:59
humphreybcso much for my early night :D11:01
komsasgodbyk: I get error that I don't have AksharYogini font, do you know package which can solve this?11:01
komsashttp://paste.ubuntu.com/377507/11:01
godbykdoes it say in the ubuntu-manual.cls file?11:01
komsasyes, there is one line "\newfontfamily\devanagarifont[]{Aksharyogini}% from ttf-FIXME"11:03
godbykhumphreybc: Try ttf-devanagari-fonts11:03
godbykEr, sorry, komsas: apt-get install ttf-devanagari-fonts11:04
godbyk(humphreybc was asking about it earlier, too.)11:04
komsashe11:05
humphreybchmm godbyk i'm just pushing through the changes that should make ground control work with the buttons but it hasn't11:05
komsasI'm not only one with problems :)11:05
godbykkomsas: Yeah, I'm still playing with a ton of fonts, so that bit is in flux.11:05
komsas"\button{forward}" - I don't have experience with latex, can I translate word "forward"?11:13
humphreybcnope11:17
humphreybcanything in braces or in front of a backslash is a command and doesn't need to be translated11:18
godbykkomsas: Don't translate button, but do translate forward.11:19
godbykThe translation should match whatever the label of the forward button is in that situation.11:19
humphreybcoh yeah of course11:21
humphreybcoops11:21
humphreybci think i need some sleep11:21
humphreybclol11:21
godbykhumphreybc: no problem.11:22
godbykI think I'm going to head to bed myself.11:22
godbykIt's 5:22 a.m. here.11:22
humphreybcwhat time is it at yours?11:22
humphreybceeek!11:22
godbyk(I'm on a weird schedule where I go to sleep early in the morning and wake up early/mid afternoon.)11:22
humphreybclol11:23
humphreybcsuits my timezone which is good11:23
godbyk(One of the perks to being unemployed, I s'pose.)11:23
humphreybchaha11:23
humphreybcif you could just remind everyone when you see each person to do two things11:23
TommyBrunnI'm making some serious progress here. I've already been able to check for an existing user account, and if it doesn't exist, make one.11:23
humphreybc1) confirm 48 hour times ASAP11:23
humphreybc2) insert screenshot TODOs all over the place11:23
humphreybcTommyBrunn: that's awesome!11:23
humphreybcGround Control is actually quite usable now btw guys11:24
humphreybcit's not crashing nautilus as much and it's a lot quicker11:24
godbykWhere can we snag the latest version?11:25
humphreybcbtw, the Lucid universe freeze is tomorrow11:25
humphreybcgodbyk: one sec i'll find the ppa11:25
humphreybcsudo add-apt-repository ppa:doctormo/groundcontrol11:25
humphreybcsudo apt-get install groundcontrol11:25
humphreybcthat's ppa: doctormo/groundcontrol11:25
humphreybcwith no space11:26
humphreybcotherwise it activates a smiley face11:26
humphreybchttps://edge.launchpad.net/groundcontrol11:26
humphreybc:D11:26
humphreybctest it out on our branch, in theory the buttons should be working but they're not11:26
humphreybcgodbyk: in case you haven't already figured it out, I want our project to be as accessible to contributors as possible... so I want to get all new people using Ground Control and I want these buttons working to make the pdf and also make clean11:27
humphreybcthat way we attract a whole new base of potential contributors who don't like the command line :D11:28
humphreybceven though it is only running a couple of commands11:28
godbykdoes the latest repository version of groundcontrol support the buttons? or is it not in the repos yet?11:29
humphreybcyep it does11:31
humphreybcit should do11:32
humphreybcsee martin's post that i linked to earlier11:32
humphreybci'm pretty sure i've done everything right11:32
humphreybcbut just have a look to make sure11:32
godbykthere's code in there that references the .gcfunctions file11:33
godbyktrying to see where I can find logs of errors/warnings from gc11:33
TommyBrunnWhat's the "Help me figure this out or I will shoot myself" Python IRC channel?11:33
humphreybc#ubuntu-app-devel on irc.freenode.net or #pygtk on irc.gnome.org11:34
humphreybcor ubuntu forums :)11:34
godbykTommyBrunn: I think you just add 'import writeitforme' and you're done11:34
TommyBrunnOh, so that's why it wasn't working!11:34
TommyBrunnI'll give that module a shot.11:34
humphreybcTommyBrunn: before you push remember to pull, i've committed two revisions since you last pulled11:35
humphreybc(for quickshot)11:35
TommyBrunnWill do.11:35
humphreybci wonder if we need another IRC channel for quickshot....11:35
humphreybclol11:35
TommyBrunnI have a feeling that it would be a quite empty channel.11:36
godbykno warnings in the log file about the buttons.11:36
godbykI'll be right back.11:36
humphreybcTommyBrunn: you'd be right haha11:36
humphreybcright i'm going to sleep, night all!11:36
TommyBrunnNight!11:36
humphreybchave fun with quickshot xD11:36
thorwildoes inkscape embed fonts in PDF exports?11:39
thorwilseems like it doesn't. https://answers.launchpad.net/inkscape/+question/3762011:42
TommyBrunnToo bad Benjamin went to bed just now. Some guy over at ubuntu-app-devel had a great idea, that would be our job about a gazillion times easier.11:44
TommyBrunnInstead of creating a new user account, why not just have the user log in to a guest account and run quickshot from there.11:45
dutchiethat was me12:03
godbykback12:05
godbykTommyBrunn: I brought that up with humphreybc earlier, and he shot it down.  I can't remember why.  I think because the guest account doesn't have enough permissions or something.12:06
TommyBrunnAlright. Oh well, I've already gotten the user account creation working, so it should be fine.12:06
TommyBrunnI had forgotten how awesome Python is.12:07
godbykFrakking groundcontrol.12:12
godbykDidn't do what I told it to.12:12
godbykI told it to ignore the 'new' files it say, but oh no.. it decided to commit them anyway.12:12
godbykfixed now.12:15
thorwilso i found out the hard way that converting text to path in inkscape before saving to pdf is safer than just checking the convert checkbox on export12:22
godbykthorwil: Nice!12:39
godbykDo the transparent bits look nicer now?12:39
godbykSorry.. should've phrased that differently:12:40
godbykDid you also figure out how to make the semi-transparent bits look nice during conversion to PDF?12:40
TommyBrunnIt just occurred to me that it's probably not a very good idea to have a default password on the created account. Seems like quite a security issue, if you ask me. Wouldn't it be better to ask the user for a password?12:40
godbykTommyBrunn: If you wanted to be somewhat sneaky, you could copy the user's hashed password and use their same password for the new account.12:41
godbykBut that opens a small security risk in that there are two accounts using the same password.12:41
TommyBrunnYes. I think that if the user is intent on using the same password, he or she would just have to enter the same password. Either way, it's better than having a password that is known to the world.12:42
godbykSo instead of having to guess your username *and* password, I can (perhaps, if the program is super popular) assume that there's a quickshot user and then just test against the passwords.12:42
godbykAgreed.12:42
thorwilgodbyk: nope, all about fonts. check http://bazaar.launchpad.net/%7Et-w-/%2Bjunk/ubuntu_manual_cover/download/head%3A/font_test_sans_conve-20100216121920-clj4bpv5zzzqe172-1/font_test_sans_converted.pdf12:42
godbyk'kay.12:42
godbykthorwil: When you get some more of that spare time, do you want to try to get inkscape to deal with the transparency or gradients or whatever its problem is with the cover page?  (See the lynx's nose, for instance.)12:43
thorwilgodbyk: i'll deal with it once the same problems arive with a design that might be the final12:44
godbykthorwil: Fair enough.12:45
godbykOkay, I'm off to bed.  (It's 7 a.m. here.)12:46
* dutchie wonders what the ebong latex package does13:12
ubuntujenkinsits a strange game of pong :P13:14
dutchie\o/ TL 2009 is installed18:07
ubuntujenkinsdoes it work though?18:08
dutchieyep18:09
ubuntujenkinscool I might have to have a go just want to see what it looks like in other languages18:10
dutchieit takes a while18:10
dutchieit's about a 2.5G download18:10
ubuntujenkinsthats fine about half an hour18:11
ubuntujenkinsunistall everything in synaptic right?18:11
dutchieyep18:11
ubuntujenkinsI have the 2009 set in lucid, I think I will as god bk before I start though18:12
dutchieif you've got it in lucid, surely just installing texlive-full should do the trick18:13
* ubuntujenkins tries18:14
* dutchie tries building a localised version18:26
dutchiegodbyk: ping18:35
ubuntujenkinsdutchie I get an error that looks similar to ko msas had yesterday.18:35
dutchiefonts?18:35
ubuntujenkinsyes18:35
dutchiesame here18:35
ubuntujenkinsI am reading yesterdays logs18:36
TommyBrunnAnyone have Benjamin's email address? He gave it to me, but I promptly forgot it, as always.18:39
TommyBrunnNevermind, found it on Launchpad.18:40
ubuntujenkinskomsas did you fix your problem yesterday? dut chie and I are trying to compile it in other languages18:47
komsasyes, but now I need more fonts.18:48
ubuntujenkinsI have a font error as well we shall have to ask god byk18:49
komsaswhat kind of font u need?18:51
ubuntujenkinshttp://paste.ubuntu.com/377806/ is the error18:52
cjohnstonHas the schedule for the 48 hours thing been finalized?18:52
dutchienot yet18:53
dutchieam I being poked to do so?18:53
cjohnstonI'm wanting to add it to the calendar.. so the sooner the better18:53
dutchiehttps://wiki.ubuntu.com/ubuntu-manual/48hours is what we have so far18:53
komsasubuntujenkins: my error like yours18:54
cjohnstondutchie: when you do get it finalized, ping me and ill put it on the calendar18:55
ubuntujenkinsI couldn't find your error to compare18:55
dutchiecjohnston: sure18:55
cjohnstonty18:55
komsashttp://paste.ubuntu.com/377810/ ubuntujenkins18:56
ubuntujenkinsthanks komas I think I might have found the package to fix it18:57
ubuntujenkinsnope no luck19:01
komsasI don't think that we need Gautami font, http://www.microsoft.com/typography/Fonts/family.aspx?FID=238 I commened that lines where is it.19:19
ubuntujenkinskomsas did commenting that line mean that iti compiles?22:09
ubuntujenkins*it22:10
komsasno, it means that make will skip that line.22:13
ubuntujenkinsdoes that create another error then? I can't solve it, there are so many packages that it could be.22:15
komsasyes I get another errors, but I commented that lines with unnecessary fonts. Now make works smoothly.22:24
godbykdutchie: pong22:24
godbyk(Haven't read the backlog yet, though)22:24
dutchiegodbyk: fonts are b0rk3d22:27
dutchiefor me, komsas and ubuntujenkins22:27
dutchieall on 200922:27
ubuntujenkinsI am using lucid so have 2009 by  already22:27
godbykdutchie: fonts aren't borked, you just don't have all of 'em installed. :-)22:28
dutchiewell, yeah22:28
godbykfor the time being, you can play around by commenting out all the fonts that aren't required for the specific language you're compiling.22:28
godbykI'm going to restructure that code a bit so that you don't have to have *all* the fonts installed -- just the ones needed for the language you're compiling.22:29
godbykUntil then, you'll have to comment them out (or install the fonts).22:29
ubuntujenkinscan you give a list of the fonts? If you can't it doesn't matter I am just doing it to see what my writing looks like in other languages.22:30
godbykubuntujenkins: The fonts are listed in the ubuntu-manual.cls file.  See the lines starting with \newfontfamily.22:31
godbykIt also tells you where I found each of the fonts (what package or website).22:32
godbykTo further make your lives difficult, I haven't settled on any of the fonts yet either. :-)22:32
ubuntujenkinsok thanks godbyk I will have a look22:32
ubuntujenkinsnight22:49
godbykhey, dutchie..  am I allowed to directly edit the po/*.po files?22:55
godbyksome of them have typos that prevent latex from compiling the doc.22:55
dutchiegodbyk: if you avoid breaking them and angering the translators22:56
godbykdutchie: heh.. I'll try.22:56
godbykah, man.  we should've had these training sessions before people started translating..22:57
godbyksome of them have translated the LaTeX commands (like \button, \application, etc.)22:58
dutchiedo you want me to cover that?22:58
dutchieI hadn't been expecting to tbh22:58
dutchieI was going to go fairly nuts-and-bolts22:58
godbykWell, I'm wondering what you, Ilya, and Jamin are going to be covering (and what I'm going to be left with).23:00
godbykBasically, I need someone to let me know what they want me to cover and what others will be covering. :-)23:01
dutchiepersonally, I was going to say this is a .pot file, this a .po file, this is how you translate, and this is how I integrate it23:01
dutchiehi humphreybc23:01
godbykdutchie: gotcha.23:02
godbykI was going to cover what latex code looks like and the specific commands we have for our manual.23:02
humphreybchey dutchie23:02
dutchieshould be able to stretch that out over an hour23:02
humphreybcjust checking in real quickly before i catch my flight23:03
godbykand make some notes for translators -- what to translate, what to leave as-is.23:03
dutchiehumphreybc: now sign off and chill out23:04
dutchiehumphreybc: I hope you left your laptop at home23:06
humphreybcdutchie: i'm taking it with me, but only because i'll be at home after i go on holiday23:07
humphreybcso inadvertantly... i'll try not to use it xD23:07
humphreybcdutchie godbyk and Ilya, you guys are in charge, have fun!23:08
dutchieoh no, responsibility23:08
dutchie:(23:08
dutchieI think I should go to bed23:08
godbykw00t!  party time!23:08
humphreybchaha23:08
humphreybcalso when the times are confirmed, someone tell #ubuntu-classroom-backstage23:08
humphreybcand email the learning team ML23:08
humphreybclaters!23:09
dutchienight23:17
godbykdutchie: night.23:18

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