/srv/irclogs.ubuntu.com/2013/06/17/#ubuntu-community-team.txt

dpmgood mornign06:43
dpm*morning06:43
dpmstill not quite there, it seems06:43
elfyone more cup of coffee06:44
elfymorning dpm06:44
dpmhi elfy :)06:44
dholbachgood morning07:30
elfymorning dholbach07:31
dholbachhey elfy07:33
elfydholbach: thanks for looking at that comm website bug so quickly :)07:34
dholbachno worries :)07:36
elfy:)07:37
smartboyhwHey dholbach08:06
dholbachhey smartboyhw08:06
smartboyhwdholbach, private message?08:06
dholbachsure08:06
* smartboyhw has some secret plans for dholbach to write08:06
dholbachhaha :)08:06
popeydholbach: congrats on the diving!08:11
dholbachthanks popey08:11
* popey notes discourse down for maintenance08:11
AskUbuntuThis is a slitaz query - sorry! Firewall setup & Slitaz community | http://askubuntu.com/q/30915208:53
smartboyhw......09:01
* popey notes discourse is still down for maintenance12:11
* popey pokes jcastro 12:11
jcastroyeah it was up last night12:11
jcastromaybe marcoceppi is cheating on a monday morning12:11
popeybeen down for 4 hours12:14
jcastrohuh12:14
jcastrook, he should be up soon to investigate12:14
popeycool12:14
jcastropopey: ok all set13:02
popeythanks jcastro13:36
marcoceppipopey: that error message is the default for when nginx is up, but discourse is down. So if it's not during a maint window, or it's not back within 5 mins, something dun bork'd13:44
popey13:46
jonodholbach, nice work on the XDA thread13:57
dholbachjono, there's a few more questions to be answered, but we're working on it :)13:57
jonodholbach, np13:57
jonothis is just an awesome engagement with XDA13:57
dholbachyeah13:58
jonoI love our relationship with that community13:58
jcastroman14:00
jcastrothat is fricking awesome14:00
jcastroit's better than our FAQ!14:00
jcastroheh14:00
jcastroI love it when people first meet ubuntu and it doesn't make sense to them14:00
popeydpm: mhall119 hangout?14:01
dpmpopey, mhall119, I might be a bit late today, tied with something else, please start without me14:02
popeyk14:03
dpmthanks!14:06
jonodpm, all set?14:57
jonooops, I am a few mins early14:57
dpmjono, np, all set anyway :)14:57
dpmjono, I'll be a min15:00
jonodpm, np15:01
dpmjono, ok, all set15:02
jonodpm, weird, the hangout isnt loading for me15:03
dpmhm, strange15:03
jonodpm, rebooting15:05
dpmnp15:05
balloonssomeone even ported ubuntu touch to the old phone I have the htc g215:19
smartboyhwballoons, :)15:36
* dholbach relocates - brb15:46
=== dholbach_ is now known as dholbach
jonodholbach, dpm gonna be late16:00
jonootp16:00
dholbachno worries16:00
dpmjono, no worries, we'll have dholbach talk about his diving experiences there in the meantime ;)16:01
dakerHi guys, does anyone have a phone or tablet running Ubuntu Touch and i need feedback on something i am working on ?16:52
popeysure16:56
dakerpopey: PM16:56
popeysure16:56
dholbachsee you!17:04
jonoballoons, wrapping a blog entry and then will be there18:32
balloonsjono, :-) kk18:32
jonomhall119, can you reddit http://www.jonobacon.org/2013/06/17/ubuntu-and-xda-an-awesome-relationship/ ?18:49
mhall119absolutely18:51
mhall119http://www.reddit.com/r/Ubuntu/comments/1gj620/ubuntu_and_xda_an_awesome_relationship/18:52
mhall119we're like chocolate and peanut butter18:52
mhall119milk and cookies18:52
mhall119lime and coconut18:52
jonojcastro, can you post that to /r/linux ?18:53
jcastrowhy do I always get stuck with /r/linux.18:53
jcastroit's just going to get downvoted there18:54
jonojcastro, no it wont18:54
jonomost of our posts get upvoted18:54
aquariusmarcoceppi, ping.18:54
jonoballoons, coming now18:54
marcoceppiaquarius: pong.18:54
jcastrook I will try it18:54
jonofantastically my Cannibal Corpose album just finished in time :-)18:54
balloonsI can do it if you wish18:54
balloonsI like karma18:54
aquariusmarcoceppi, heya, dude. If I wanted to propose some code for the discourse install, you're the bloke to talk to, right?18:55
marcoceppiaquarius: for the ubuntu-discourse install? then yes18:55
aquariusmarcoceppi, cool. Would you like Ubuntu webapps integration for it? ;)18:55
jcastrohttp://www.reddit.com/r/linux/comments/1gj6be/ubuntu_and_xda_an_awesome_relationship/18:55
marcoceppiaquarius: most definitely, yes18:55
mhall119jcastro: see, it just got an upvote :)18:55
jcastrolol18:56
marcoceppiI think Upstream would like it eventually as well ;)18:56
aquariusthis is perfectly suitable for upstream :)18:56
mhall119+1 for discourse webapps integration18:58
marcoceppiAs far as getting it on to the ubuntu-discourse site you can send me a git patch, or submit it for inclusion on my fork of the git repo18:58
aquariusmarcoceppi, that'd mean that I have to grasp the git nettle ;)18:58
aquariuswhich I suppoooooooose I ought to do.18:58
marcoceppiaquarius: that's why I take patches :)18:58
aquariuswhat I am not, currently, sure about is which event I should trap to know that it's all set up...18:59
marcoceppiOh, well that's out of my leauge as well. I saw your post on the meta site, I'm sure sam or someone will drop by to answer it18:59
aquariusother than that, Launcher and messaging menu integration works. In 36 lines of code. I love JavaScript.19:00
marcoceppi\o/19:00
jcastroyou should post your experience with ember yo19:00
aquariusI shall19:02
aquariusif you want to try it out, you can19:02
aquariusbecause you can just paste the code into the console ;)19:02
aquariusobviously to integrate into the site proper we need to hook a discourse-is-set-up-now event, and I'm trying to work that out, but you can test it now if you want :)19:03
aquariusmarcoceppi, can you try patching something into your local install to see if it works?19:12
aquariusmarcoceppi, I appreciate that this will be immensely annoying remote-debugging. :)19:12
marcoceppiaquarius: no problem :)19:13
marcoceppiSo, I'm not sure what upstream will say, if this is something they'd want in core (seems passive enough, that "why not", would be a sufficient answer) but if not they're working on a plugin system and I could see this being a prime example of a plugin if not a core feature19:14
* marcoceppi spins up vagrant19:15
aquariusmarcoceppi, https://gist.github.com/stuartlangridge/5799474 -- that code should go in discourse/app/views/common/_discourse_javascript.html.erb, after Discourse.start()19:15
aquarius(obviously we'd want to put it in a separate file, call out to it as a function, etc, etc, etc, etc)19:15
aquarius(we might want to put it *in* Discourse.start. Or invent a we-are-done event and fire it. Etc. But this will do for now just to see if it works ;))19:17
aquariusit should do, in theory, three things: 1. put an icon on the launcher, 2. when you get notifications, put a count in the messaging menu, and 3. put that count as a Launcher badge.19:17
jcastrojono: FYI I can go early today if you want19:33
jonojcastro, all set19:52
jcastroya19:54
jonojcastro, I am there19:55
jcastroWaiting for people to join this video call...19:55
jcastroInvite more19:55
jcastrohuh19:55
jcastrodid it split brain us19:55
jcastrooh nm I am moron19:55
jcastrook guys I messed up the URL for reddit19:58
jcastrohttp://www.reddit.com/r/linux/comments/1gjbmc/ubuntu_and_xda_an_awesome_relationship/19:58
jcastrojono: sec, you froze up on me20:07
marcoceppiaquarius: haven't forgotten about you, my local vagrant set up is currently broke20:17
aquariusmarcoceppi, no worries20:19
aquariusmarcoceppi, this is why I didn't try and set myself up a whole discourse install :)20:19
aquariusI suppose I could have spun up an ec2 instance and then jujued myself a discourse, mind.20:20
marcoceppiaquarius: okay, got that sorted. So I got request to add the webapp20:20
marcoceppigoing to try notifications20:20
aquariusmarcoceppi, cool. If you add it, then get yourself a notification somehow, you should find that a line shows up in the messaging menu20:21
bkerensajono: is the plan for Ubuntu Touch to use the Android base its using for the long term?20:21
aquariusjcastro, is there anyone who offers free cloud instances? so I could spin up a free cloud machine and stick discourse on it with juju to try this sort of thing?20:21
bkerensaI'm a bit baffled as to why sponsoring a XDA conference would bring benefit to Canonical or Ubuntu unless the plan were to stick with a Android base.20:21
bkerensaaquarius: AWS has a free tier if you have never used it.20:22
aquariusbkerensa, oh? interesting.20:22
bkerensahttp://aws.amazon.com/free/20:22
marcoceppiaquarius: cool, notifications work too20:22
aquariusmarcoceppi, excellent!20:22
* bkerensa got a pull into discourse \o/20:23
aquariusmarcoceppi, so, we should chat about how best to integrate this into your branch :)20:23
marcoceppihttp://i.imgur.com/1zfT4Jd.png20:23
aquariusmarcoceppi, sweet. Also, you will note that you need a new icon ;)20:24
marcoceppiaquarius: it's pretty easy. You can run the following to get me a patch: `git commit -a; git format-patch origin/master --stdout > add_ubuntu_webapps.patch` then just send me the patch file20:25
marcoceppi(after you've droped that code in to a local copy of the git repo)20:25
aquariusmarcoceppi, ah, I didn't mean "how do I send you a patch", it's more "where should we put the code to be best appreciated by upstream" :)20:25
aquariusI am researching...20:25
marcoceppiah20:25
marcoceppiyeah, I need to create an apple-touch icon for the ubuntu-discourse stuff20:26
aquariusmarcoceppi, I will attempt to do an actual git thing. I need to hat up on that front anyway.20:26
marcoceppiaquarius: So, there's plugins. I'm still not comfortable using them, since they require messing with Gemfiles and Gemlock files, but if you wanted to, you could use the discourse_emoji or discourse_plugin "gem" as an example (in the vendor directory)20:30
aquariusgah.20:30
aquariusthat sounds... unpleasant.20:30
aquariusreally, all we need is some sort of "it is all done" event to be fired.20:31
marcoceppiotherwise it just needs an erb file somewhere _discourse_unity_integration.js.erb and that needs to be included in the compilation of the js20:31
marcoceppiaquarius: there was a reply to your thread20:31
aquariusI don't even think we need an erb file20:31
aquariusyeah, I saw the reply20:31
aquariusthe Discourse object doesn't currently have a ready() method.20:31
aquariusWhat I am thinking of is to add one which fires a Discourse-Is-Ready event.20:31
marcoceppiaquarius: sorry, yeah it could just live in app/assets/javascripts/unity.js or whatever made sense20:32
aquariusand then our script just adds an event handler for that event.20:32
* marcoceppi dislikes ruby20:32
aquariusand... then we can just drop an ubuntu-webapps-discourse.js file into javascripts/external or something :)20:32
aquariusI am trying to grasp how to make ember do events... or whether I shoudl just do a Real DOM Event and ignore ember ;)20:32
bkerensahah I guess in Fedora circles there is a rumor that Mir will not be open source20:37
mhall119what?21:15
mhall119it's *already* open source21:15
mhall119https://launchpad.net/mir the code is right there21:16
bkerensamhall119: I realize that and pointed the guy there.21:23
aquariusmarcoceppi, ping?21:25
marcoceppiaquarius: pong21:25
aquariusmarcoceppi, do you have a few minutes to give me a remedial class in git? ;)21:25
marcoceppiaquarius: of course21:26
aquariusmarcoceppi, OK. I forked your discourse repo on github, then git cloned my fork. I changed a couple of files, then "git add"ed those files, then git commit with a message. Now I want to push my changes back to my github repo; I did "git push origin master", it asked for my username/password, then says: error: src refspec master does not match any.21:27
marcoceppiaquarius: that's because, I'm doing a whole bunch of things wrong21:27
aquariusmarcoceppi, do I need to do: git remote add origin https://github.com/stuartlangridge/discourse.git ?21:27
marcoceppiso it's not you, it's me21:27
aquariusto add a new remote called "origin"?21:28
marcoceppiThere's already an origin, if you cloned it from your git. You just cloned with https instead of the git@github.com address (not a big deal). Check what branch you're currently on (`git branch`) it probably says "ubuntu-discourse" instead of the typical master21:28
aquariusmarcoceppi, ya, it says "ubuntu-discourse"21:29
jcastroaquarius: skip the AWS free trial21:29
marcoceppiaquarius: so, what you'll want to do is git push origin ubuntu-discourse21:29
jcastromicros are worthless and it won't even run on them21:30
marcoceppiaquarius: caveat-21:30
* aquarius waits for the caveat ;)21:30
marcoceppiBecause I constantly re-write history I'd recommend you push to a different branch other than ubuntu-discourse  http://test.ubuntu-discourse.org/t/i-want-to-contribute-to-this-sites-code-how-do-i-do-that/27521:31
jcastrothe best bang/buck right now is Digital Ocean IMO21:31
aquariusgnahh, I do not understand that at all, marcoceppi ;-)21:32
marcoceppiaquarius: don't worry about the caveat then :P21:32
marcoceppijust push away!21:32
aquariusmarcoceppi, it says: "Open a merge request. " which I have no idea how to do :)21:32
marcoceppiaquarius: once you push, github will probably poke you to open a merge request: https://help.github.com/articles/using-pull-requests21:33
aquariusmarcoceppi, so, I should do: git push origin ubuntu-discourse ? Or should I do, like, git push origin sil-ubuntu-webapps-integration ?21:33
aquariusI understand bzr. I do not understand this ;)21:33
marcoceppiaquarius: preferably the latter, but you'll first need to run `git checkout -b sil-ubuntu-webapps-integration`, then the push command21:33
jcastroaquarius: if you're doing dev work and need cloud instances I can certainly toss you in the reimbursement bucket and ask antonio21:34
* aquarius types in commands under instructions from marcoceppi like a robot ;)21:34
marcoceppigit push origin sil-ubuntu-webapps-integration21:34
marcoceppiGive that a go21:34
aquariusI did the checkout thing first21:34
marcoceppiYour username and password are the u/p for github when it prompts you21:34
aquarius * [new branch]      sil-ubuntu-webapps-integration -> sil-ubuntu-webapps-integration21:34
aquariusaha, and that has now shown up on github.21:35
marcoceppiaquarius: cool, it worked. If you go to the branch dropdown in github on your repo you'll see the branch you just pushed21:35
aquariusso now I click the "pull request" button on that branch, right?21:35
marcoceppiyes, you want to pull request from your repo and your ubuntu webapps branch to my ubuntu-discourse branch21:36
aquariusOK. I believe I have just done that.21:37
aquariusI have only the dimmest understanding of what I've done, there, but I think I've got it. :)21:37
marcoceppiaquarius: yup! I just got the proposal21:37
aquariusmarcoceppi, to be clear: I do not have a local discourse install! So I can't test this. I can't even test that it's free of syntax errors.21:37
marcoceppiaquarius: no problem, I'll test before I merge21:37
aquariusI do not like proposing merges under these circumstances. :)21:38
aquariusbut needs must, etc, etc.21:38
marcoceppiaquarius: So let me know when/if you're going to hack on this again you'll follow a /slightly/ different workflow21:38
marcoceppijust ever so slightly21:38
aquariusmarcoceppi, sure thing21:38
aquariusmarcoceppi, let me know if it works ;)21:38
marcoceppiaquarius: we'll find out tomorrow when I roll it out ;)21:39
aquarius(every branch is a new folder. that makes sense to me. I love bzr. :( )21:39
marcoceppiheh, every branch is a bunch of jumbled meta data that, when switching context, re-writes your entire current staging area with the files from that 'branch' ;)21:40
* aquarius lagughs21:41
aquariusmarcoceppi, I am hoping that you will have a chance to at least vaguely check the branch works before rolling it out ;)21:42
marcoceppipsh, what's the fun of testing if you can'd debug in production :D21:42
* aquarius laughs21:42
jcastrohttp://www.troll.me/images/the-most-interesting-man-in-the-world/i-dont-always-test-my-code-but-when-i-do-i-do-it-in-production.jpg21:43
aquariusit is quite possible that I am, for example, including my script before jQuery gets included, so it'll blow up. Or something equally stupid. I am totally unclear on whether I've understood the script inclusion stuff properly :)21:43
marcoceppiaquarius: all script inclusions are done explictly. So I think I'm going to have to add this to the template.21:44
* marcoceppi is checking now21:44
aquariusit include_tree's external/. So I think my script will get picked up as well21:45
aquariusalso because it is named ubuntu-webapps-discourse.js, it's near the end of the alphabet ;)21:45
marcoceppiaquarius: yeah, just verified it shows up at the bottom of the list after jquery, etc21:49
aquariushaha! so that trick worked, at least :)21:50
marcoceppiaquarius: cool everything still works21:51
aquariusreally?21:51
marcoceppiyup :D21:51
aquariusand this is merged against clean, not against the earlier changes you made?21:51
marcoceppiaquarius: correct, this is a clean merge against my mirror of the discourse upstream21:51
aquariusyeaaaah! who needs a javascript engine! propose merges without even running them, that's the answer.21:52
aquariusI am pleasantly surprised that it worked. :)21:52
marcoceppiNow I need to put on my pretend graphics designer hat to bang out an apple-icon21:55
jcastrojust steal the ubuntu one21:56
=== glebihan__ is now known as glebihan
aquariusI'd suggest colouring the existing one21:57
aquariusdon't use the Ubuntu one; then you can't tell the difference between Ubuntu and the Ubuntu discourse site :)21:57
marcoceppiaquarius: I was thinking about putting the ubuntu logo inside the Discourse D22:00
marcoceppias to differentiate discourse, from Ubuntu, but let people know what it was22:00
aquariusI'll have a play around in Inkscape. You do too, and we'll see who's best ;)22:00
* marcoceppi hatches a plan to do minimal work on this and defer to you as the best icon22:01
mhall119marcoceppi: aquarius: just post on Google+ how cool it would be if somebody made you one, and either Georgi or Sam will probably have one ready in 10 minutes22:07
marcoceppimhall119: I'll give that a shot22:14
aquariusok, I have a proposal :)22:21
marcoceppiaquarius: I'm all eyes22:26
mhall119marcoceppi: told ya that would work :)22:29
aquariusgnaah22:29
aquariuswhere do I temporarily put an svg?22:29
aquariussince U1 is refusing to upload things. :(22:29
mhall119ubuntu one?22:29
* mhall119 feels awkward having to suggest that to aquarius 22:30
marcoceppiaquarius: pastebin ;)22:30
* aquarius looks crossly at syncdaemon. It's not uploading the file; it's just sat there in the queue.22:30
mhall119aquarius: is this what happens to non-canonical accounts?22:30
aquariusI hope not.22:30
* aquarius looks jolly angry22:31
mhall119heh, only an Englishman could successfully pull off both jolly and angry22:31
aquariushttp://kryogenix.org/random/ubuntu-discourse-icon.svg22:32
aquariusI hate having to do that. It's not an approach available to ordinary people.22:32
mhall119so he uploads it to his blog, lol22:32
marcoceppiaquarius: well it's by in large anything better than what I would have done22:34
marcoceppiI'll wait to see what same & co come up with22:34
aquariusmarcoceppi, obviously, if you find that acceptable and someone with art skills doesn't come up with anything better, you'll need to make a 144x144 png out of it :)22:34
marcoceppiaquarius: ack! Thanks again for your help22:35
aquariusI suspect, but have not tested, that iOS won't use an SVG as the touch icon :)22:35
aquarius(and I don't know what our icon guidance is. I wish the webapps stuff used touch icons as the default icon if you don't specify one. And I wish the documentation suggested doing so rather than installing an icon in the theme.)22:36
marcoceppi aquarius probably not, I'll just roll with a png to support those "other" devices22:36
aquariusyeah22:37
jonojcastro, http://www.jonobacon.org/2013/06/17/simplifying-app-websites-with-juju/22:46
jonocan you reddit that on /r/Ubuntu ?22:46
jcastroyes! I get the good one!22:48
buzzardWant to win some money while you are on your computer? https://coingeneration.com/auth/new/148807 registe and you can do it!!23:07
buzzardWant to win some money while you are on your computer? https://coingeneration.com/auth/new/148807 registe and you can do it!!23:07
dakerSPAM!23:16
bkerensahah23:17

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