/srv/irclogs.ubuntu.com/2015/06/02/#ubuntu-app-devel.txt

mhall119ahoneybun: that means you are somewhere doing foo.actualValue where 'foo' is null00:02
ahoneybunany clues about this: https://plus.google.com/+ChloeJohnson/posts/97M5g2aXrJQ00:44
ahoneybunmhall119: still here?01:00
mhall119ahoneybun: only off and on01:32
mhall119ahoneybun: no idea about that, sorry, he should ask in #ubuntu-touch during work hours01:34
mhall119or email ubuntu-phone ML01:34
ahoneybunis there a reason why my buttons are not all visiable in the combobutton02:07
=== chihchun_afk is now known as chihchun
dholbachgood morning07:00
=== c-nv-s_ is now known as c-nv-s
aypac\msg popey hey08:02
popeyaypac: yo08:31
mivoligomzanetti: hi10:27
mzanettimivoligo, hi10:28
mivoligomzanetti: just added sounds and music to the levelpack, I think it's ready :)10:28
mzanettioh really, cool!10:29
mzanettiwill try to get it merged tonight then10:29
mivoligogreat, thanks :)10:29
MasternoobCan anyone tell me if there is any progress on Bug 1309042?10:52
ubot5bug 1309042 in Ubuntu Calendar App "Calendar sync only syncs the default calendar" [Wishlist,Confirmed] https://launchpad.net/bugs/130904210:52
popeyMasternoob: no.10:55
Masternoob:(10:55
popeyit won't progress until we move away from our current sync tool10:55
Masternoobah ok...is the change in the sync tool somthing that's planed or is it actively in developement?10:58
Masternooband is there a bug/wish to track this?11:01
=== MacSlow is now known as MacSlow|lunch
=== mzanetti is now known as mzanetti|run
=== _salem is now known as salem_
kalikianaloicm: I tried your orientation fix for ubuntushape, at least for buttons I see no difference https://code.launchpad.net/~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-dfdt-factors-fix/+merge/25969211:34
loicmkalikiana: ok thanks, testing should be done on the phone using a MainView with automaticOrientation set to false, rotate the device, then ensure there's an update, current behaviour is anti-aliasing and shadows on the shape are broken, with the branch it's fixed (actually it should)11:36
loicmkalikiana: or just rotate the phone while using the shell, and scroll -> all the shapes are incorrectly anti-aliased11:37
kalikianaloicm: http://geraldfield.org/orientationButtons.png11:45
kalikianathat's rotated on my laptop11:45
kalikianaand it's with and without your fixes11:46
loicmkalikiana: that's odd11:47
kalikianaloicm: it's been like that for a while so when I saw your fix I was assuming that was the motivation for it11:48
loicmkalikiana: try to lock the gallery, go to the progressbar page and rotate11:49
loicmkalikiana: this was broken before, and I'm sure this fixes it11:49
loicmkalikiana: (well at least that particular  case)11:49
loicmkalikiana: lock the gallery by modifying the MainView directly btw11:50
kalikianaloicm: what do you mean by locked?11:51
loicmkalikiana: set automaticOrientation to false11:51
kalikianaah11:52
kalikianaloicm: wow, now I see it12:03
kalikianait looks much like what I see on the desktop12:03
kalikiananow I wonder what's needed to fix it for all cases12:03
loicmkalikiana: you mean you see the AA issue without the patch?12:04
kalikianaloicm: yes, sorry for the ambiguity12:04
loicmkalikiana: disappeared with the patch?12:05
jjwSomeone here?12:06
kalikianaloicm: looks perfect with your changes12:13
=== MacSlow|lunch is now known as MacSlow
=== chihchun is now known as chihchun_afk
=== mzanetti|run is now known as mzanetti
loicmkalikiana: got disconnected, don't know if you've talked to me12:29
kalikianaloicm: no worries, I added a comment https://code.launchpad.net/~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-dfdt-factors-fix/+merge/259692 the fix is fine as far as I can tell, and as mentioned my main concern being it's very hard to know if it has any surprising side effects12:30
loicmkalikiana: I really don't think so, but I could be wrong12:32
kalikianaloicm: don't think what?12:32
loicmkalikiana: that there's side effects12:33
loicmkalikiana: good thing with this patch also, is the AA parameter are changed after the timeout defined in the orientation helper12:33
loicmkalikiana: since it's watching for the same screen prop changes12:34
kalikianaloicm: ah, yes. I'm just fundamentally suspicious as we can't unit test it. and we know of two cases where it won't work12:34
=== rickspencer3_ is now known as rickspencer3
=== mzanetti is now known as mzanetti|food
=== mzanetti|food is now known as mzanetti
mhall119pmcgowan: do we have plans yet for releasing ubuntu-sdk-15.10-dev1?16:15
pmcgowanmhall119, its in that bug assigned to mvo, i think we need to decide what to call it as it will also need to live in 15.04 as we discussed16:18
pmcgowanperhaps the name doesn't matter16:19
nik90pmcgowan, mhall119: Would that mean that the current 15.04 images will support the 15.10 framework?16:19
mhall119pmcgowan: right, the framework names aren't stricly dependent on Ubuntu release versions, they've just coincided so far16:19
pmcgowannik90, not exactly16:19
pmcgowanfuture 5.04 based releases will support new apis16:19
pmcgowanaka 15.10-dev16:19
pmcgowanor 15.04.1-dev or something16:20
nik90ok16:20
pmcgowanmhall119, maybe we need to have a quick call to firm it up16:20
mhall119nik90: so the phone images will be based on Ubuntu 15.05 until the switch to snappy (if I understand "the plan" correctly) but they will have additional APIs added16:20
bzoltanmhall119: pmcgowan: there is not much to release ... the store json file just should be extended with that string16:20
pmcgowansince its not gettingresolved on its own16:20
mhall119pmcgowan: works for me, I'm available all afternoon today, and tomorrow afternoon (but not morning)16:21
mhall119wait, sorry, not Thursday morning16:21
pmcgowanmhall119, ok let me see when mvo and bzoltan are available and we can decide16:21
* mhall119 is thinking (wishing) it was wednesday already16:21
nik90mhall119: understood..so future OTAs have the potential to support Ubuntu.Components 1.3 and app devs can use that by switching to the newer framework version16:21
nik90while sticking to ubuntu 15.04 base16:22
kalikianazsombi: wanna review? https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/darkBackgroundText/+merge/260647 the theme fix is checked with design (as you can see in the bug comments)16:22
mhall119nik90: correct16:22
mhall119nik90: we just need to give a name to this new framework and use it in 1) the store 2) the SDK 3) the devportal and 4) the device images16:22
mhall119pmcgowan: maybe we should do as Android and just give a sequential version number16:23
pmcgowanmhall119, oh man we discussed that originally :)16:24
mhall119I remember :)16:24
pmcgowanI got out voted16:24
mhall119the first api docs were published as sdk-1.016:24
nik90mhall119: just do make sure to announce the release of the new framework (when the above 4 areas have been updated) so that app devs can then start to use it.16:24
mhall119nik90: absolutely, it will be on developer.u.c16:25
nik90awesome16:26
bzoltanmhall119: pmcgowan: This file you need to fix https://myapps.developer.ubuntu.com/dev/api/click-framework/16:26
mhall119bzoltan: ack, we know what needs to be done and where, it's only a matter of deciding on a name and coordinating the work16:27
=== oSoMoN_ is now known as oSoMoN
ahoneybunmhall119: with 4-6 TextFields, how would you switch between them?19:18
ahoneybunopps again19:18
mhall119ahoneybun: you mean like tab-key navigation?19:19
ahoneybunno19:19
ahoneybuna button maybe?19:19
mhall119ahoneybun: I don't understand the setup you're talking about19:20
mhall119do you have screenshots or code samples?19:20
ahoneybunI thought touching the textfield would switch the focus19:20
mhall119it should19:20
ahoneybunsure let me grab19:20
ahoneybunI think the setup I have disables that as I set the focus by default19:20
mhall119ah, that might be the problem, yeah19:21
ahoneybunhttp://pastebin.ubuntu.com/11526714/19:21
ahoneybunbut if I pull it out it breaks19:21
ahoneybunI kinda know why but I would have to find a different way to add19:21
ahoneybunit is a scorekeeper19:21
ahoneybunso I need to add numbers and remove them19:21
ahoneybunincoming ss19:22
ahoneybunhttp://imgur.com/M0RpaIC19:22
ahoneybun    property TextField focused: score1 : this sets the focus to TextField id: score119:23
ahoneybunso I need a way to switch the focus from that textfield19:23
mhall119ahoneybun: where is actualValue coming from?19:25
nik90ahoneybun: your setup looks awesome..kde plasma 5..which ubuntu version are you running this on?19:25
ahoneybunproperty int actualValue: 019:25
ahoneybunnik90: Kubuntu 15.0419:25
ahoneybunthanks also19:25
ahoneybunahayzen: helped me with this a lot19:26
mhall119ahoneybun: oh, I was looking elsewhere, ok19:26
mhall119ahoneybun: ok, so what happens now when you press a button, does it update score1?19:26
ahoneybunyes19:26
ahoneybunonly score119:26
mhall119right, that's what I would expect19:27
mhall119ahoneybun: I don't see any code that changes the 'focused' variable19:27
ahoneybunI've been trying to use combobutton, a listview and a few others to make switching TextFields much better19:27
ahoneybunmhall119: thats the problem I'm having, I don't know how19:27
ahoneybunlike I said ahayzen did a lot of it19:27
ahoneybunthe math behind it19:28
ahoneybunI'm thinking of just using a button to switch the focus but then the user has to hit it many times to get to the score they want to edit19:29
ahoneybunComboButtons never fit all the Buttons right19:29
mhall119ahoneybun: try putting an onActiveFocusChanged handler on each of your score# TextFields, and if activeFocus == true, make that field the Column.focused19:29
* ahoneybun thinks19:30
mhall119If I'm reading https://developer.ubuntu.com/api/apps/qml/sdk-14.10/QtQuick.Item/#activeFocus-prop properly, the activeFocus variable should change when the component gets or loses keyboard focus19:30
ahoneybunmhall119: I;m a bit lost19:32
ahoneybunnot sure what  handler is tbh19:33
ahoneybunoh wait reading19:34
mhall119ahoneybun: just a property change handler19:34
ahoneybunhttps://bugreports.qt.io/browse/QTBUG-37954 ?19:35
mhall119ahoneybun: http://pastebin.ubuntu.com/11526931/ is what I'm suggesting (I haven't tested it yet though)19:35
mhall119ahoneybun: that shouldn't be relevant to you19:36
ahoneybunI was looking at the handler example19:36
mivoligoahoneybun: instead of using "property TextField focused: score1" you can use "property bool isSelected: false" for each TextField. Then on clicking on given TextField "isSelected" changes value. That way a user could update several scores at once and you don't have to rely on "focused"19:37
ahoneybunway above me19:38
ahoneybunthat worked mhall11919:38
mhall119\o/19:38
mhall119ahoneybun: so in QML, any property of an item will automatically create an on<propertyName>Changed signal that you can react to19:39
ahoneybunproperty?19:40
mhall119since QtQuick.Item has an activeFocus property that is changed when it gets or loses keyboard focus, you can use the corresponding onActiveFocusChanged signal to do something19:40
ahoneybunI just type things and hope lol19:40
mhall119ahoneybun: any named variable of a component type19:40
ahoneybunhasClearButton: false ?19:40
ahoneybunproperty19:40
ahoneybunbool propery19:41
ahoneybunsorry just saying things out load helps me19:41
mhall119ahoneybun: https://developer.ubuntu.com/api/apps/qml/sdk-14.10/QtQml.qtqml-syntax-signals/ would be good to read through19:43
ahoneybunso the user clicks the other TextField and the system knows that this happened = so you can use this cause to haave a effect: that TextField focused changes19:43
mhall119ahoneybun: yup19:43
ahoneybunmhall119: be ready for my questions at SELF lol19:44
mhall119Qt changes the activeFocus property when the user touches the TextField, it then calls any javascript in it's onActiveFocusChanged19:44
mhall119ahoneybun: I'm going to give a presentation on app development, though I wasn't planning on going into this level of detail19:44
ahoneybunI meant outside of the class19:44
ahoneybunlets keep it simple for newbies :)19:45
mhall119ahoneybun: I'll be more than glad to help :)19:45
ahoneybunthanks mhall119  as always :)19:45
ahoneybunand thank you mivoligo for that option too :)19:46
mhall119ahoneybun: once you understand QML, it will all make so much sense19:46
mivoligoahoneybun: :)19:46
ahoneybunmhall119: this time I'll have my N4 :)19:46
ahoneybunmhall119: I understand it more then C++19:46
ahoneybunI need more C++19:46
ahoneybunmhall119: I'm working on :  https://launchpad.net/gazeteer btw19:47
ahoneybuna whole new UI thanks to some feedback19:47
* mhall119 also needs to learn more C++19:48
mhall119ahoneybun: you should try writing a Scope to learn C++19:48
ahoneybunmhall119: I like scopes. but they are not for me19:49
ahoneybunway way way above me19:49
ahoneybunI've tried19:49
mhall119ahoneybun: I think they've simplified the template recently, might be worth taking another look19:50
mhall119I know it's on my TODO list :)19:50
ahoneybunmhall119: from what I saw a while ago they made all the examples to websites . but I know very little of API, REST and they stuff19:56
ahoneybunexplaining those would be very helpful19:56
ahoneybunand JSON and such19:56
ahoneybunmhall119: how would I disable the keyboard?20:05
ahoneybuninputMask : string looks like it20:07
mhall119ahoneybun: I don't think that's it20:09
mhall119you mean you don't want the keyboard to pop up?20:10
ahoneybunwell what would be reason for the buttons?20:11
ahoneybunmhall119: also the SIM problem was with Cricket but I might be what I did20:14
ahoneybunif I setup the APN for data, and I send a picture it disables the data till I reboot20:15
ahoneybunI want to use my N4 with Ubuntu as my daily driver but it is hard to go back from my OnePlus One lol20:18
* ahoneybun uploads the changes to his branch20:27
ahoneybunahayzen: something is up with my buttons width20:36
ahoneybunmivoligo: still around?20:37
mivoligoahoneybun: yes20:38
ahoneybunam I doing something wrong here: http://pastebin.ubuntu.com/11528074/ ?20:38
ahoneybunwith the width of the buttons20:38
ahayzenahoneybun, you haven't taken the spacing into account i think20:40
mivoligoahoneybun: ahayzen was faster :)20:40
ahayzenheh20:41
ahoneybunso - units.gu(1) on each button ahayzen?20:41
ahoneybunthanks mivoligo too20:41
ahayzenerm20:41
ahayzenwidth: (row3.width - units.gu(2)) / 3 ... would work i think20:41
ahoneybunto each?20:42
ahayzenyeah20:42
ahoneybunlet me try then20:43
ahayzensurely you can do like... width: (row3.width - (row3.children.length - 1) * row3.spacing) / row3.children.length .. or something aha20:43
ahayzenyou should really read up about repeaters as well ;-)20:43
ahoneybunrepeaters can't do onClicked no?20:43
ahayzenyeah they can like the Button would be the delegate of the repeater20:44
ahayzenand then you would only have to write the button once20:44
ahoneybunsamples you mad man20:44
ahayzenit would be a big change to the code but you could do the same with your rows as well and it'd probably half the size of the code if you got it working20:44
ahayzenhttp://doc.qt.io/qt-5/qml-qtquick-repeater.html20:45
ahoneybunI'll throw it into my testbed in min20:45
ahoneybununits.gu(1) looks better20:46
ahayzenhehe20:46
ahoneybunlooks much better then ahayzen again20:47
ahoneybunI try out things in my testbed project lol20:47
ahayzenno problem20:47
* ahoneybun throws it on his N420:48
ahoneybunseems sending a pic message breaks my data20:48
ahoneybunahayzen: could use this on the uDeck idea20:49
ahoneybunhttps://developer.ubuntu.com/api/apps/qml/sdk-15.04/QtQuick.Flipable/20:49
ahoneybunto flip the card from back to front20:49
ahayzenuDeck?20:50
ahoneybunthe membership card app20:50
ahayzenah20:50
* ahoneybun trys out repeaters20:52
ahoneybunahayzen: QQuickWindow: possible QQuickItem::polish() loop :)20:56
ahayzenomg that brings back memories20:57
ahayzenwhat did you do?20:57
ahoneybunhttp://pastebin.ubuntu.com/11528514/20:58
ahoneybunalso we can't use spacing?20:58
ahayzenyou should be able to use the spacing20:59
ahoneybunnoe21:00
ahoneybunnope21:00
ahayzentry adding the width: parent.width back to the row21:00
ahoneybunodd21:01
ahoneybunnot spacing works21:01
ahoneybun*now21:01
mivoligoahoneybun: if you have anchors.fill: parent, you don't need other anchors :)21:02
ahoneybun?21:02
mivoligoin your Column21:02
ahayzenyeah just fill: and margins:21:02
ahoneybunthe top . bottom etc ?21:03
mivoligoyep21:03
ahoneybunoh ok21:03
ahoneybunidk I think I copied from somewhere21:03
ahoneybunahayzen: http://pastebin.ubuntu.com/11528610/ : mathPart is not defined21:07
ahoneybunbut it is right there21:07
ahayzenmagic, put an id on the column then do the id.mathPart21:08
ahoneybunI did not need that in Gazeteer21:08
mivoligoahoneybun: it'd work if the mathPart was defined in the MainView21:09
ahoneybunI changed things21:10
ahoneybunhttp://pastebin.ubuntu.com/11528641/21:10
ahoneybunit is21:10
mivoligoahoneybun: it is in Column21:10
ahayzenyeah just put an id: myColumn on your Column... then do myColumn.mathPart21:10
ahoneybunI changed parent.parent.focused.actualValue += 2 * mathPart to actualValue += 1 * mathPart21:11
ahoneybungot it21:11
ahoneybunlabel.actualValue += *mathPart21:11
ahoneybunhow would I do +1 +2 +3 with repeaters21:13
ahoneybunsince this is set for them all : onClicked: label.actualValue += 1 * mathPart21:13
mivoligoinstead of "1" use "index+1"21:14
ahoneybunawesomenesss21:14
* ahayzen senses ahoneybun is learning the awesomeness of repeaters ;-)21:15
mivoligo:D21:16
ahoneybunI'm getting to label them would be "text: index+1 ?21:17
ahoneybun*guessing21:17
mivoligoahoneybun: you learn fast :)21:17
ahoneybunI;m right :)21:17
ahayzentry it ;-)21:17
ahayzen\o/21:17
ahoneybunyay!21:17
ahoneybunmivoligo: ahayzen http://pastebin.ubuntu.com/11528794/21:19
ahoneybunworking all good21:19
ahoneybun1-6 add right21:19
ahayzensweat now to the same for the Rows ;-)21:19
ahoneybunI'll try21:20
ahoneybunahayzen:  that would go under the Column is the repeater for buttons went under rows21:20
ahayzenyup21:20
ahayzenyou may only be able to do it for the last 3 rows?21:21
ahayzenand not the top one as that is different21:21
ahoneybunas a example?21:21
ahayzenoh no the top is the same21:21
ahayzenso it'll be Column { Repeater { Row { Repeater { Button {21:21
ahayzentake a copy of what you have now incase it doesn't work out ;-)21:22
ahoneybunwell I'm just working in my testbed atm21:22
ahoneybunproving it works till I copy it to the main project at hand :)21:22
ahayzenhehe21:22
* ahoneybun pushes the current work to LP anyway21:23
mivoligoahoneybun: instead of rows, you can use Grid21:25
ahoneybunoh>21:26
mivoligofor the scores, I mean21:26
ahayzenooo yeah good plan21:27
ahoneybuntextfields?21:27
mivoligoyes21:27
* ahoneybun is still working on Row Repeater21:29
mivoligofor buttons?21:29
ahoneybunin total21:29
ahoneybunyea21:29
ahoneybunjust the number buttons21:30
ahoneybunI;ll look into Grid in amin21:30
ahoneybunor so21:30
ahoneybunahayzen: now this does kinda work21:31
ahayzen\o/21:31
ahoneybunbut I have 1 2 3 4 5 6 7 8 9 buttons21:31
ahayzenwhat was the target?21:31
ahoneybun?21:32
ahoneybunright now it make 9 buttons thaat all add 121:32
ahayzenoh well the value needs to be coming from the index21:32
ahoneybunno clue on that21:33
mivoligoscreenshot?21:33
ahayzenpaste the code?21:33
ahoneybunhttp://pastebin.ubuntu.com/11528903/21:33
ahayzenhmm what happens with nested repeaters and the index value again?21:34
mivoligo(index+1)21:34
ahoneybunall the buttons add 1 2 321:34
ahoneybun123 123 12321:34
ahayzenyeah they will21:35
ahayzenyou need to * by the index of the outer repeater21:35
ahayzenlike add property int rowIndex: index .. to the outer repeater21:35
ahayzenthen do  + (rowIndex - 1) * 3  or something21:36
ahoneybunproperty in rowIndex: index where?21:36
ahoneybunmain row repeater?21:37
ahayzeninside the Row {21:37
ahayzensorry lol21:37
* ahayzen is thinking on the fly21:37
mivoligoit's easier to go with Grid in this case I htink21:37
ahayzenyeah it is21:37
ahoneybunproperty int rowIndex: index ?21:38
ahoneybunnothing special21:38
ahoneybun?21:38
ahayzenGrid vs GridView lol21:38
mivoligoahoneybun: put index+1 into brackets first21:39
ahoneybunbrackets?21:39
ahoneybunonClicked: labelScore.actualValue += index+1 * mathPart21:39
ahoneybunthis is what I have currently21:39
mivoligoso do (index+1)21:40
ahoneybunk21:40
ahayzenlike = (index + rowIndex) * 3 * mathPart21:40
ahayzenwould maybe work for all the rows?21:40
mivoligoahoneybun: but seriously, if you need 9 buttons, it's much easier with Grid21:42
ahoneybunthat add 321:42
* ahoneybun looks up Grid21:43
ahayzenhmm = (index + (rowIndex * 3)) * mathPart ...is probably it but yeah go Grid ;-)21:44
mivoligoahoneybun: simple example from my app: http://bazaar.launchpad.net/~mpredotka/big-moving-text/trunk/view/head:/qml/ColorPicker.qml21:46
ahoneybunit makes no rows21:48
mivoligodo you use "model: 9"?21:49
ahoneybunno.21:49
mivoligo:)21:49
ahoneybunwhat is the reason for rows: 3 then?21:50
mivoligothat's the size of grit but you have to specify how many elements go into it21:51
mivoligoso if you used 3, the rest of the grit is empty21:52
ahoneybunhttp://pastebin.ubuntu.com/11529194/21:52
mivoligoget rid of the mainRow completely21:53
mivoligouse just Grid21:53
ahoneybunbreaks21:54
mivoligoand in Grid do: columns:3 ; rows: 321:54
ahoneybundone21:54
ahoneybunnothing on the screen21:54
mivoligoand model: 921:54
ahoneybunnothing21:54
mivoligoget rid of model: 3 from repeater21:55
ahoneybunso no repeater?21:56
mivoligoahoneybun: sorry, I'm not thinking correctly, on emoment21:56
ahoneybunall I see atm is the label21:56
ahoneybunfor the score21:56
mivoligoahoneybun: try this: http://paste2.org/YI6NDZHa22:04
mivoligoahoneybun: you'll probably need to specify Grid width and height or anchors22:05
ahoneybunyea the width and height worked22:08
ahoneybunbtw what you had was the same that I had22:08
mivoligo:)22:08
mivoligook, good luck with the code ahoneybun, I'm off to bed :)22:09
ahoneybunnight mivoligo thanks for everything22:10
mivoligoo/22:10
ahoneybunthe grid works great btw ahayzen22:15
ahayzen\o/22:15
ahoneybuncuts a lot of code22:16
ahoneybunhttp://pastebin.ubuntu.com/11529560/22:16
ahayzenheh22:17
ahayzen:-)22:17
ahoneybunahayzen: could you make it when you click on a toolbaritem or button and it changes the model: #22:18
ahoneybun?22:18
ahayzenyeah i guess22:18
ahoneybunif a person wanted more then 4 players?22:18
ahayzenyou would need to adjust the columns # as well22:18
ahoneybunI'm not talking about the Grid22:19
ahayzenoh22:19
ahoneybunabout this now: return Math.round(Math.random()) === 0 ? "Heads" : "Tails";22:20
ahoneybunis there a way to change from 2 variables to 4?22:20
ahoneybunrandomly select a player22:20
ahayzenyeah you could do that22:21
ahoneybunI;ve tried " 0 ? "Player 1" : "Player 2" : "Player 3" like that22:22
ahayzenno...22:22
ahayzenthere are quite a few ways of doing it22:22
ahoneybunoh ok22:24
ahayzenlike you could just pick a number between 1 and 4 i guess22:25
ahoneybunhow would that look in code though?22:25
ahayzenjust like lookup generating random numbers between ranges http://stackoverflow.com/questions/1527803/generating-random-numbers-in-javascript-in-a-specific-range22:29
ahoneybundear god22:30
* ahoneybun closes up for the day22:32
ahayzenhaha sounds like a plan22:32
ahoneybunI've learned a lot thanks ahayzen22:33
ahoneybunand miv as well22:33
ahayzenno problem22:33
ahoneybunI know he is gone22:33
ahoneybunahayzen: do you use your Ubuntu phone as your daily driver?22:35
ahayzenyup22:35
ahoneybunwith the OnePlus One I just cannot22:35
ahoneybunalso I need working GPS lol22:36
ahayzendamn, i thought you had a N4?22:36
ahoneybunI do22:36
ahayzen...that has working GPS?...22:37
ahoneybunno app has amazing GPS features22:37
ahoneybunnothing beats Google Maps22:37
ahayzenhttps://uappexplorer.com/app/navigator.costales ?22:38
ahoneybunthat crap22:38
ahoneybunalways says "Waiting for GPS"22:38
ahayzenah damn :-/22:39
ahoneybunI need that for Akademy22:39
ahayzenwhen the location-service works it like locks instantly for me :-)22:39
ahoneybunnice22:39
ahoneybunI mean it might because the bad signal in my room22:40
ahoneybunwait it got me22:41
ahoneybunI'll try it as a daily driver sometime22:47
ahoneybunahayzen: the BQ device?22:48
=== aaron is now known as Guest8432
=== Guest8432 is now known as ahoneybun
ahoneybunElleo: I really love PodBird23:47
Elleoahoneybun: cool :) glad to hear it, nik90's been responsible for a lot of the recent work on it though :)23:50
ahoneybunreally nice stuff Elleo and nik90 :)23:51
ahoneybunI was listening to some Ubuntu podcast on the way to work in the car23:51
ahoneybunpopey's of course23:51
ahoneybunlol23:51
Elleoheh23:51

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