[06:43] <dpm> good mornign
[06:43] <dpm> *morning
[06:43] <dpm> still not quite there, it seems
[06:44] <elfy> one more cup of coffee
[06:44] <elfy> morning dpm
[06:44] <dpm> hi elfy :)
[07:30] <dholbach> good morning
[07:31] <elfy> morning dholbach
[07:33] <dholbach> hey elfy
[07:34] <elfy> dholbach: thanks for looking at that comm website bug so quickly :)
[07:36] <dholbach> no worries :)
[07:37] <elfy> :)
[08:06] <smartboyhw> Hey dholbach
[08:06] <dholbach> hey smartboyhw
[08:06] <smartboyhw> dholbach, private message?
[08:06] <dholbach> sure
[08:06]  * smartboyhw has some secret plans for dholbach to write
[08:06] <dholbach> haha :)
[08:11] <popey> dholbach: congrats on the diving!
[08:11] <dholbach> thanks popey
[08:11]  * popey notes discourse down for maintenance
[08:53] <AskUbuntu> This is a slitaz query - sorry! Firewall setup & Slitaz community | http://askubuntu.com/q/309152
[09:01] <smartboyhw> ......
[12:11]  * popey notes discourse is still down for maintenance
[12:11]  * popey pokes jcastro 
[12:11] <jcastro> yeah it was up last night
[12:11] <jcastro> maybe marcoceppi is cheating on a monday morning
[12:14] <popey> been down for 4 hours
[12:14] <jcastro> huh
[12:14] <jcastro> ok, he should be up soon to investigate
[12:14] <popey> cool
[13:02] <jcastro> popey: ok all set
[13:36] <popey> thanks jcastro
[13:44] <marcoceppi> popey: 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'd
[13:46] <popey> ☻
[13:57] <jono> dholbach, nice work on the XDA thread
[13:57] <dholbach> jono, there's a few more questions to be answered, but we're working on it :)
[13:57] <jono> dholbach, np
[13:57] <jono> this is just an awesome engagement with XDA
[13:58] <dholbach> yeah
[13:58] <jono> I love our relationship with that community
[14:00] <jcastro> man
[14:00] <jcastro> that is fricking awesome
[14:00] <jcastro> it's better than our FAQ!
[14:00] <jcastro> heh
[14:00] <jcastro> I love it when people first meet ubuntu and it doesn't make sense to them
[14:01] <popey> dpm: mhall119 hangout?
[14:02] <dpm> popey, mhall119, I might be a bit late today, tied with something else, please start without me
[14:03] <popey> k
[14:06] <dpm> thanks!
[14:57] <jono> dpm, all set?
[14:57] <jono> oops, I am a few mins early
[14:57] <dpm> jono, np, all set anyway :)
[15:00] <dpm> jono, I'll be a min
[15:01] <jono> dpm, np
[15:02] <dpm> jono, ok, all set
[15:03] <jono> dpm, weird, the hangout isnt loading for me
[15:03] <dpm> hm, strange
[15:05] <jono> dpm, rebooting
[15:05] <dpm> np
[15:19] <balloons> someone even ported ubuntu touch to the old phone I have the htc g2
[15:36] <smartboyhw> balloons, :)
[15:46]  * dholbach relocates - brb
[16:00] <jono> dholbach, dpm gonna be late
[16:00] <jono> otp
[16:00] <dholbach> no worries
[16:01] <dpm> jono, no worries, we'll have dholbach talk about his diving experiences there in the meantime ;)
[16:52] <daker> Hi guys, does anyone have a phone or tablet running Ubuntu Touch and i need feedback on something i am working on ?
[16:56] <popey> sure
[16:56] <daker> popey: PM
[16:56] <popey> sure
[17:04] <dholbach> see you!
[18:32] <jono> balloons, wrapping a blog entry and then will be there
[18:32] <balloons> jono, :-) kk
[18:49] <jono> mhall119, can you reddit http://www.jonobacon.org/2013/06/17/ubuntu-and-xda-an-awesome-relationship/ ?
[18:51] <mhall119> absolutely
[18:52] <mhall119> http://www.reddit.com/r/Ubuntu/comments/1gj620/ubuntu_and_xda_an_awesome_relationship/
[18:52] <mhall119> we're like chocolate and peanut butter
[18:52] <mhall119> milk and cookies
[18:52] <mhall119> lime and coconut
[18:53] <jono> jcastro, can you post that to /r/linux ?
[18:53] <jcastro> why do I always get stuck with /r/linux.
[18:54] <jcastro> it's just going to get downvoted there
[18:54] <jono> jcastro, no it wont
[18:54] <jono> most of our posts get upvoted
[18:54] <aquarius> marcoceppi, ping.
[18:54] <jono> balloons, coming now
[18:54] <marcoceppi> aquarius: pong.
[18:54] <jcastro> ok I will try it
[18:54] <jono> fantastically my Cannibal Corpose album just finished in time :-)
[18:54] <balloons> I can do it if you wish
[18:54] <balloons> I like karma
[18:55] <aquarius> marcoceppi, heya, dude. If I wanted to propose some code for the discourse install, you're the bloke to talk to, right?
[18:55] <marcoceppi> aquarius: for the ubuntu-discourse install? then yes
[18:55] <aquarius> marcoceppi, cool. Would you like Ubuntu webapps integration for it? ;)
[18:55] <jcastro> http://www.reddit.com/r/linux/comments/1gj6be/ubuntu_and_xda_an_awesome_relationship/
[18:55] <marcoceppi> aquarius: most definitely, yes
[18:55] <mhall119> jcastro: see, it just got an upvote :)
[18:56] <jcastro> lol
[18:56] <marcoceppi> I think Upstream would like it eventually as well ;)
[18:56] <aquarius> this is perfectly suitable for upstream :)
[18:58] <mhall119> +1 for discourse webapps integration
[18:58] <marcoceppi> As 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 repo
[18:58] <aquarius> marcoceppi, that'd mean that I have to grasp the git nettle ;)
[18:58] <aquarius> which I suppoooooooose I ought to do.
[18:58] <marcoceppi> aquarius: that's why I take patches :)
[18:59] <aquarius> what I am not, currently, sure about is which event I should trap to know that it's all set up...
[18:59] <marcoceppi> Oh, 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 it
[19:00] <aquarius> other than that, Launcher and messaging menu integration works. In 36 lines of code. I love JavaScript.
[19:00] <marcoceppi> \o/
[19:00] <jcastro> you should post your experience with ember yo
[19:02] <aquarius> I shall
[19:02] <aquarius> if you want to try it out, you can
[19:02] <aquarius> because you can just paste the code into the console ;)
[19:03] <aquarius> obviously 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:12] <aquarius> marcoceppi, can you try patching something into your local install to see if it works?
[19:12] <aquarius> marcoceppi, I appreciate that this will be immensely annoying remote-debugging. :)
[19:13] <marcoceppi> aquarius: no problem :)
[19:14] <marcoceppi> So, 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 feature
[19:15]  * marcoceppi spins up vagrant
[19:15] <aquarius> marcoceppi, 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:17] <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] <aquarius> it 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:33] <jcastro> jono: FYI I can go early today if you want
[19:52] <jono> jcastro, all set
[19:54] <jcastro> ya
[19:55] <jono> jcastro, I am there
[19:55] <jcastro> Waiting for people to join this video call...
[19:55] <jcastro> Invite more
[19:55] <jcastro> huh
[19:55] <jcastro> did it split brain us
[19:55] <jcastro> oh nm I am moron
[19:58] <jcastro> ok guys I messed up the URL for reddit
[19:58] <jcastro> http://www.reddit.com/r/linux/comments/1gjbmc/ubuntu_and_xda_an_awesome_relationship/
[20:07] <jcastro> jono: sec, you froze up on me
[20:17] <marcoceppi> aquarius: haven't forgotten about you, my local vagrant set up is currently broke
[20:19] <aquarius> marcoceppi, no worries
[20:19] <aquarius> marcoceppi, this is why I didn't try and set myself up a whole discourse install :)
[20:20] <aquarius> I suppose I could have spun up an ec2 instance and then jujued myself a discourse, mind.
[20:20] <marcoceppi> aquarius: okay, got that sorted. So I got request to add the webapp
[20:20] <marcoceppi> going to try notifications
[20:21] <aquarius> marcoceppi, cool. If you add it, then get yourself a notification somehow, you should find that a line shows up in the messaging menu
[20:21] <bkerensa> jono: is the plan for Ubuntu Touch to use the Android base its using for the long term?
[20:21] <aquarius> jcastro, 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] <bkerensa> I'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:22] <bkerensa> aquarius: AWS has a free tier if you have never used it.
[20:22] <aquarius> bkerensa, oh? interesting.
[20:22] <bkerensa> http://aws.amazon.com/free/
[20:22] <marcoceppi> aquarius: cool, notifications work too
[20:22] <aquarius> marcoceppi, excellent!
[20:23]  * bkerensa got a pull into discourse \o/
[20:23] <aquarius> marcoceppi, so, we should chat about how best to integrate this into your branch :)
[20:23] <marcoceppi> http://i.imgur.com/1zfT4Jd.png
[20:24] <aquarius> marcoceppi, sweet. Also, you will note that you need a new icon ;)
[20:25] <marcoceppi> aquarius: 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 file
[20:25] <marcoceppi> (after you've droped that code in to a local copy of the git repo)
[20:25] <aquarius> marcoceppi, 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] <aquarius> I am researching...
[20:25] <marcoceppi> ah
[20:26] <marcoceppi> yeah, I need to create an apple-touch icon for the ubuntu-discourse stuff
[20:26] <aquarius> marcoceppi, I will attempt to do an actual git thing. I need to hat up on that front anyway.
[20:30] <marcoceppi> aquarius: 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] <aquarius> gah.
[20:30] <aquarius> that sounds... unpleasant.
[20:31] <aquarius> really, all we need is some sort of "it is all done" event to be fired.
[20:31] <marcoceppi> otherwise it just needs an erb file somewhere _discourse_unity_integration.js.erb and that needs to be included in the compilation of the js
[20:31] <marcoceppi> aquarius: there was a reply to your thread
[20:31] <aquarius> I don't even think we need an erb file
[20:31] <aquarius> yeah, I saw the reply
[20:31] <aquarius> the Discourse object doesn't currently have a ready() method.
[20:31] <aquarius> What I am thinking of is to add one which fires a Discourse-Is-Ready event.
[20:32] <marcoceppi> aquarius: sorry, yeah it could just live in app/assets/javascripts/unity.js or whatever made sense
[20:32] <aquarius> and then our script just adds an event handler for that event.
[20:32]  * marcoceppi dislikes ruby
[20:32] <aquarius> and... then we can just drop an ubuntu-webapps-discourse.js file into javascripts/external or something :)
[20:32] <aquarius> I am trying to grasp how to make ember do events... or whether I shoudl just do a Real DOM Event and ignore ember ;)
[20:37] <bkerensa> hah I guess in Fedora circles there is a rumor that Mir will not be open source
[21:15] <mhall119> what?
[21:15] <mhall119> it's *already* open source
[21:16] <mhall119> https://launchpad.net/mir the code is right there
[21:23] <bkerensa> mhall119: I realize that and pointed the guy there.
[21:25] <aquarius> marcoceppi, ping?
[21:25] <marcoceppi> aquarius: pong
[21:25] <aquarius> marcoceppi, do you have a few minutes to give me a remedial class in git? ;)
[21:26] <marcoceppi> aquarius: of course
[21:27] <aquarius> marcoceppi, 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] <marcoceppi> aquarius: that's because, I'm doing a whole bunch of things wrong
[21:27] <aquarius> marcoceppi, do I need to do: git remote add origin https://github.com/stuartlangridge/discourse.git ?
[21:27] <marcoceppi> so it's not you, it's me
[21:28] <aquarius> to add a new remote called "origin"?
[21:28] <marcoceppi> There'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 master
[21:29] <aquarius> marcoceppi, ya, it says "ubuntu-discourse"
[21:29] <jcastro> aquarius: skip the AWS free trial
[21:29] <marcoceppi> aquarius: so, what you'll want to do is git push origin ubuntu-discourse
[21:30] <jcastro> micros are worthless and it won't even run on them
[21:30] <marcoceppi> aquarius: caveat-
[21:30]  * aquarius waits for the caveat ;)
[21:31] <marcoceppi> Because 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/275
[21:31] <jcastro> the best bang/buck right now is Digital Ocean IMO
[21:32] <aquarius> gnahh, I do not understand that at all, marcoceppi ;-)
[21:32] <marcoceppi> aquarius: don't worry about the caveat then :P
[21:32] <marcoceppi> just push away!
[21:32] <aquarius> marcoceppi, it says: "Open a merge request. " which I have no idea how to do :)
[21:33] <marcoceppi> aquarius: once you push, github will probably poke you to open a merge request: https://help.github.com/articles/using-pull-requests
[21:33] <aquarius> marcoceppi, so, I should do: git push origin ubuntu-discourse ? Or should I do, like, git push origin sil-ubuntu-webapps-integration ?
[21:33] <aquarius> I understand bzr. I do not understand this ;)
[21:33] <marcoceppi> aquarius: preferably the latter, but you'll first need to run `git checkout -b sil-ubuntu-webapps-integration`, then the push command
[21:34] <jcastro> aquarius: if you're doing dev work and need cloud instances I can certainly toss you in the reimbursement bucket and ask antonio
[21:34]  * aquarius types in commands under instructions from marcoceppi like a robot ;)
[21:34] <marcoceppi> git push origin sil-ubuntu-webapps-integration
[21:34] <marcoceppi> Give that a go
[21:34] <aquarius> I did the checkout thing first
[21:34] <marcoceppi> Your username and password are the u/p for github when it prompts you
[21:34] <aquarius>  * [new branch]      sil-ubuntu-webapps-integration -> sil-ubuntu-webapps-integration
[21:35] <aquarius> aha, and that has now shown up on github.
[21:35] <marcoceppi> aquarius: cool, it worked. If you go to the branch dropdown in github on your repo you'll see the branch you just pushed
[21:35] <aquarius> so now I click the "pull request" button on that branch, right?
[21:36] <marcoceppi> yes, you want to pull request from your repo and your ubuntu webapps branch to my ubuntu-discourse branch
[21:37] <aquarius> OK. I believe I have just done that.
[21:37] <aquarius> I have only the dimmest understanding of what I've done, there, but I think I've got it. :)
[21:37] <marcoceppi> aquarius: yup! I just got the proposal
[21:37] <aquarius> marcoceppi, 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] <marcoceppi> aquarius: no problem, I'll test before I merge
[21:38] <aquarius> I do not like proposing merges under these circumstances. :)
[21:38] <aquarius> but needs must, etc, etc.
[21:38] <marcoceppi> aquarius: So let me know when/if you're going to hack on this again you'll follow a /slightly/ different workflow
[21:38] <marcoceppi> just ever so slightly
[21:38] <aquarius> marcoceppi, sure thing
[21:38] <aquarius> marcoceppi, let me know if it works ;)
[21:39] <marcoceppi> aquarius: 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:40] <marcoceppi> heh, 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:41]  * aquarius lagughs
[21:42] <aquarius> marcoceppi, I am hoping that you will have a chance to at least vaguely check the branch works before rolling it out ;)
[21:42] <marcoceppi> psh, what's the fun of testing if you can'd debug in production :D
[21:42]  * aquarius laughs
[21:43] <jcastro> http://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.jpg
[21:43] <aquarius> it 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:44] <marcoceppi> aquarius: 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 now
[21:45] <aquarius> it include_tree's external/. So I think my script will get picked up as well
[21:45] <aquarius> also because it is named ubuntu-webapps-discourse.js, it's near the end of the alphabet ;)
[21:49] <marcoceppi> aquarius: yeah, just verified it shows up at the bottom of the list after jquery, etc
[21:50] <aquarius> haha! so that trick worked, at least :)
[21:51] <marcoceppi> aquarius: cool everything still works
[21:51] <aquarius> really?
[21:51] <marcoceppi> yup :D
[21:51] <aquarius> and this is merged against clean, not against the earlier changes you made?
[21:51] <marcoceppi> aquarius: correct, this is a clean merge against my mirror of the discourse upstream
[21:52] <aquarius> yeaaaah! who needs a javascript engine! propose merges without even running them, that's the answer.
[21:52] <aquarius> I am pleasantly surprised that it worked. :)
[21:55] <marcoceppi> Now I need to put on my pretend graphics designer hat to bang out an apple-icon
[21:56] <jcastro> just steal the ubuntu one
[21:57] <aquarius> I'd suggest colouring the existing one
[21:57] <aquarius> don't use the Ubuntu one; then you can't tell the difference between Ubuntu and the Ubuntu discourse site :)
[22:00] <marcoceppi> aquarius: I was thinking about putting the ubuntu logo inside the Discourse D
[22:00] <marcoceppi> as to differentiate discourse, from Ubuntu, but let people know what it was
[22:00] <aquarius> I'll have a play around in Inkscape. You do too, and we'll see who's best ;)
[22:01]  * marcoceppi hatches a plan to do minimal work on this and defer to you as the best icon
[22:07] <mhall119> marcoceppi: 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 minutes
[22:14] <marcoceppi> mhall119: I'll give that a shot
[22:21] <aquarius> ok, I have a proposal :)
[22:26] <marcoceppi> aquarius: I'm all eyes
[22:29] <mhall119> marcoceppi: told ya that would work :)
[22:29] <aquarius> gnaah
[22:29] <aquarius> where do I temporarily put an svg?
[22:29] <aquarius> since U1 is refusing to upload things. :(
[22:29] <mhall119> ubuntu one?
[22:30]  * mhall119 feels awkward having to suggest that to aquarius 
[22:30] <marcoceppi> aquarius: pastebin ;)
[22:30]  * aquarius looks crossly at syncdaemon. It's not uploading the file; it's just sat there in the queue.
[22:30] <mhall119> aquarius: is this what happens to non-canonical accounts?
[22:30] <aquarius> I hope not.
[22:31]  * aquarius looks jolly angry
[22:31] <mhall119> heh, only an Englishman could successfully pull off both jolly and angry
[22:32] <aquarius> http://kryogenix.org/random/ubuntu-discourse-icon.svg
[22:32] <aquarius> I hate having to do that. It's not an approach available to ordinary people.
[22:32] <mhall119> so he uploads it to his blog, lol
[22:34] <marcoceppi> aquarius: well it's by in large anything better than what I would have done
[22:34] <marcoceppi> I'll wait to see what same & co come up with
[22:34] <aquarius> marcoceppi, 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:35] <marcoceppi> aquarius: ack! Thanks again for your help
[22:35] <aquarius> I suspect, but have not tested, that iOS won't use an SVG as the touch icon :)
[22:36] <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" devices
[22:37] <aquarius> yeah
[22:46] <jono> jcastro, http://www.jonobacon.org/2013/06/17/simplifying-app-websites-with-juju/
[22:46] <jono> can you reddit that on /r/Ubuntu ?
[22:48] <jcastro> yes! I get the good one!
[23:07] <buzzard> Want to win some money while you are on your computer? https://coingeneration.com/auth/new/148807 registe and you can do it!!
[23:07] <buzzard> Want to win some money while you are on your computer? https://coingeneration.com/auth/new/148807 registe and you can do it!!
[23:16] <daker> SPAM!
[23:17] <bkerensa> hah