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