Sunday, 2015-01-04

*** arcean has quit IRC00:00
*** Nc_ has quit IRC00:14
*** f3an0r has quit IRC00:16
*** Nc_ has joined #sailfishos00:24
*** AlmAck has quit IRC00:25
*** r0kk3rz has quit IRC00:28
*** R-Z has joined #sailfishos00:28
*** Sailor11736_ has quit IRC00:31
*** Sailor11736 has joined #sailfishos00:31
*** olafh has quit IRC00:34
*** roboro has quit IRC00:35
*** tat has joined #sailfishos00:36
*** RoKenn has quit IRC00:37
*** rm_work|away is now known as rm_work00:37
*** Nc_ has quit IRC00:38
*** cvp__ has joined #sailfishos00:38
*** cvp_ has quit IRC00:41
*** Sailor11736 has quit IRC00:43
*** phaeron has quit IRC00:46
*** cybrNaut has quit IRC00:49
*** cybrNaut has joined #sailfishos00:49
*** inte_awa` has joined #sailfishos00:55
*** inte_awa` has quit IRC00:55
*** inte_awa` has joined #sailfishos00:55
*** flywheel has quit IRC00:57
*** inte_away has quit IRC00:58
*** jua_ has quit IRC01:00
*** Behold has quit IRC01:02
*** nodevel has quit IRC01:06
*** nodevel has joined #sailfishos01:08
*** hasdf has joined #sailfishos01:19
*** cvp__ has quit IRC01:29
*** hasdf has quit IRC01:36
*** zhxt has joined #sailfishos01:47
*** Sailor11736 has joined #sailfishos01:53
*** Sailor11736_ has joined #sailfishos02:03
*** Sailor11736 has quit IRC02:06
saidinesh5sandsmark: if you implement BK tree, i think our memory issues would be solved!!02:17
saidinesh5one doesnt have to keep the swipeHints in memory then....02:17
saidinesh5please tell me you didnt implement this so that i can nerdgazm implementing it :p02:18
saidinesh5well it depends on the amount of crawling we have to do though02:21
*** ArtVandalae has quit IRC02:32
*** Sailor11736 has joined #sailfishos02:33
sandsmarksaidinesh5: haha, no02:35
sandsmarkslept on the plane :P02:36
*** Sailor11736_ has quit IRC02:36
saidinesh5sandsmark: coolio02:36
saidinesh5sandsmark: so back at home?02:37
*** energycsdx has quit IRC02:39
*** jcbjoe has quit IRC02:41
*** hoodlum has joined #sailfishos02:43
saidinesh5"Tests show that searching with a distance of 1 queries no more than 5-8% of the tree, and searching with two errors queries no more than 17-25% of the tree - a substantial improvement over checking every node! "02:46
saidinesh5hmm.......02:48
*** jcbjoe has joined #sailfishos02:48
*** flash1 has joined #sailfishos02:49
sandsmarksaidinesh5: yup :D02:49
*** flash1 has quit IRC02:49
saidinesh5so was thinking if i should add the swipeHint functionality to the keyboardModel btw.02:49
sandsmarkHmm02:50
saidinesh5b/c it is very specific to a matcher02:50
sandsmarkI guess it makes sense in the keyboard model,  though02:50
saidinesh5also is only valid for alphabetical keyboards...02:50
saidinesh5hmm.......02:50
saidinesh5btw. did you take a look at that new class?02:51
sandsmarkIt would need to be a bit tightly integrated with it, no?02:51
sandsmarkNot yet :V02:51
sandsmarkI'm already in bed02:51
saidinesh5hehh i guess so..02:51
saidinesh5Ahh02:51
saidinesh5its currently in a separate branch...02:51
sandsmarkMore travel tomorrow02:51
sandsmarkKk02:51
saidinesh5was wondering how to deal with swipes etc..02:51
saidinesh5ahh02:51
saidinesh5i thought your vacation is over?02:51
sandsmarkOn Monday02:52
saidinesh5Ah right02:52
saidinesh5and keyEvents in general02:52
sandsmarkHmm02:52
saidinesh5like the UI calls the methods on keyboardModel02:53
saidinesh5then it can emit signals with the actual keyCodes for the engine to catch?02:53
sandsmarkYeah, that makes sense02:53
saidinesh5this class is so general it looks quite scary lol02:53
sandsmarkBut meh, I'm not good at architectural stuff02:54
saidinesh5hmm....02:54
saidinesh5well there's always a first time :p02:54
saidinesh5btw. the singletons were a bad idea.. so reverted it back02:54
sandsmarkOk02:54
saidinesh5like it was like using global variables actually!02:55
sandsmarkHmm02:55
*** Kabouik_ has quit IRC02:56
saidinesh5the only singleton we now have = settings02:56
sandsmarkBut I need to sleep, I'll take a look tomorrow02:56
saidinesh5Ah sure02:56
saidinesh5np02:56
saidinesh5a bit more discussion before we progress02:56
sandsmarkGnite02:56
saidinesh5tomorrow i mean02:56
saidinesh5yeah niters02:56
*** M4rtinK has quit IRC02:57
*** Sailor11736_ has joined #sailfishos03:04
*** Sailor11736 has quit IRC03:07
*** krnlyng has quit IRC03:09
*** qqK has quit IRC03:19
*** rm_work is now known as rm_work|away03:24
*** Photon12 has quit IRC03:36
*** Photon12 has joined #sailfishos03:37
*** inte_away has joined #sailfishos03:48
*** inte_awa` has quit IRC03:48
*** inte_awa` has joined #sailfishos03:55
*** inte_awa` has quit IRC03:55
*** inte_awa` has joined #sailfishos03:55
*** inte_away has quit IRC03:55
*** Shinryuu has quit IRC04:07
*** Shinryuu has joined #sailfishos04:09
*** R-Z has quit IRC04:10
*** jcbjoe has quit IRC04:23
*** Photon12 has quit IRC04:29
*** fmunozs has joined #sailfishos04:31
*** Eismann has quit IRC04:57
*** Eismann has joined #sailfishos04:58
*** furikku has joined #sailfishos04:59
*** flash1 has joined #sailfishos05:03
*** flash1 has quit IRC05:06
*** flash1 has joined #sailfishos05:07
*** flash1 has quit IRC05:07
*** flash1 has joined #sailfishos05:15
*** flash1 has quit IRC05:17
*** Pat_o has joined #sailfishos05:30
*** olafh has joined #sailfishos05:51
*** flywheel has joined #sailfishos05:51
*** martyone has joined #sailfishos05:58
*** filippz has joined #sailfishos06:03
*** krnlyng has joined #sailfishos06:03
*** rm_work|away is now known as rm_work06:26
*** tat has quit IRC06:35
*** roger___ has joined #sailfishos06:48
*** samikshan is now known as samikshan|afk06:49
*** samikshan|afk is now known as samikshan06:49
*** Shinryuu has quit IRC06:51
*** filippz has quit IRC06:52
*** Shinryuu has joined #sailfishos06:55
*** flash1 has joined #sailfishos07:15
*** flash1 has quit IRC07:22
*** roboro has joined #sailfishos07:31
*** SCVgeo has quit IRC07:48
*** flash1 has joined #sailfishos07:55
*** flash1 has quit IRC07:55
*** fmunozs has quit IRC08:13
*** energycsdx has joined #sailfishos08:17
*** SCVgeo_ has joined #sailfishos08:19
*** piggz has joined #sailfishos08:28
*** rm_work is now known as rm_work|away08:31
*** m4g0g has joined #sailfishos08:33
m4g0ghello08:39
m4g0gchriadam_: ping08:39
*** gogeta has joined #sailfishos08:43
*** rm_work|away is now known as rm_work08:44
*** filippz has joined #sailfishos08:49
*** martyone has quit IRC08:56
*** roger___ has quit IRC08:59
*** piggz has quit IRC09:16
*** piggz has joined #sailfishos09:16
*** SCVgeo has joined #sailfishos09:24
*** SCVgeo_ has quit IRC09:24
*** Shinryuu has quit IRC09:26
*** Nightmare__ has joined #sailfishos09:28
*** piggz has quit IRC09:38
*** r0kk3rz has joined #sailfishos09:40
*** piggz has joined #sailfishos09:54
*** kvt has quit IRC10:02
*** filippz has quit IRC10:07
*** jua_ has joined #sailfishos10:09
*** crazy_imp has quit IRC10:19
*** crazy_imp has joined #sailfishos10:21
*** Nc_ has joined #sailfishos10:28
*** filippz has joined #sailfishos10:31
*** jua_ has quit IRC10:34
*** paju has joined #sailfishos10:34
*** jua_ has joined #sailfishos10:36
*** Lipevakala has quit IRC10:36
*** piggz has quit IRC10:37
*** r0kk3rz has quit IRC10:39
*** Shinryuu has joined #sailfishos10:49
*** plfiorini has joined #sailfishos10:50
*** sandy_locke has joined #sailfishos10:52
*** Lipevakala has joined #sailfishos10:55
*** xcv_ has joined #sailfishos10:59
*** flash1 has joined #sailfishos11:00
*** flash1 has quit IRC11:01
*** Shinryuu has quit IRC11:01
*** corne has quit IRC11:02
*** inte_away has joined #sailfishos11:02
*** Shinryuu has joined #sailfishos11:03
*** billtux has joined #sailfishos11:04
*** inte_awa` has quit IRC11:05
*** mkollaro has joined #sailfishos11:06
*** tat has joined #sailfishos11:09
*** billtux has quit IRC11:15
*** Sail0r has joined #sailfishos11:15
*** Morpog_PC has quit IRC11:18
*** Morpog_PC has joined #sailfishos11:18
*** ahiemstra has quit IRC11:20
*** ahiemstra has joined #sailfishos11:21
*** DiosDelRayo has joined #sailfishos11:25
*** Behold has joined #sailfishos11:30
*** fferner has joined #sailfishos11:30
*** flywheel has quit IRC11:31
*** filippz has quit IRC11:34
*** dirkvl has joined #sailfishos11:34
*** hoodlum has quit IRC11:34
*** tat has quit IRC11:34
*** piggz has joined #sailfishos11:34
*** Sequenced_ has quit IRC11:35
*** crazy_imp has quit IRC11:46
*** filippz has joined #sailfishos11:49
*** hasdf has joined #sailfishos11:57
*** crazy_imp has joined #sailfishos11:58
*** crazy_imp has joined #sailfishos11:58
*** arcean has joined #sailfishos12:00
*** nbg23 has quit IRC12:17
*** Sequenced_ has joined #sailfishos12:19
*** jcbjoe has joined #sailfishos12:19
*** skeithc has quit IRC12:21
*** jcbjoe has quit IRC12:21
*** qqK has joined #sailfishos12:23
*** Sail0r has quit IRC12:23
*** Sail0r has joined #sailfishos12:24
*** flywheel has joined #sailfishos12:41
*** hasdf has quit IRC12:42
*** flash1 has joined #sailfishos12:45
*** flash1 has quit IRC12:46
*** EddieX has left #sailfishos12:47
*** cloanta_ has quit IRC12:51
coderusm4g0g: hello12:52
*** cloanta_ has joined #sailfishos12:52
coderusm4g0g: did you succed?12:52
*** flash1 has joined #sailfishos12:54
*** flash1 has quit IRC12:55
*** anandrkris has joined #sailfishos12:57
*** Sail0r has quit IRC12:58
anandrkrisHi Folks - Greetings, Just quick check if this issue occurs for everyone12:58
anandrkris https://together.jolla.com/question/73380/regression-androids-share-function-always-opens-email-app/12:58
*** corne has joined #sailfishos12:59
*** corne has quit IRC12:59
*** corne has joined #sailfishos12:59
m4g0gcoderus: yes13:00
m4g0gi released new version of LinksBug yesterday13:00
m4g0gcoderus: I should convert UserData to Map and read values from it13:00
*** M4rtinK has joined #sailfishos13:05
*** Sail0r has joined #sailfishos13:06
*** rashm2k has joined #sailfishos13:08
coderuscool :)13:10
coderussdk tomorrow? :)13:12
gogetahttp://www.slashgear.com/alcatel-pixi-3-smartphone-runs-three-operating-systems-02361417/13:14
StskeepsO_o13:19
Sail0rwhy not four ? ;)13:21
gogetamaybe 5 at this point13:24
* tbr saw that and thinks it's a way to multiply development and maintenance cost by n13:25
tbrI wonder if that android will be google certified, they kinda dislike such stunts13:25
gogetai don't think so i think are just a bunch of aosp13:26
*** hasdf has joined #sailfishos13:26
gogetaand the certified os is just wp8.113:26
gogetait requires a uefi bootloader13:26
gogetasigned by m$13:26
*** alexxy has quit IRC13:29
*** alexxy has joined #sailfishos13:30
*** Sail0r has quit IRC13:31
*** Kabouik has joined #sailfishos13:32
*** filippz has quit IRC13:33
*** lpotter has quit IRC13:33
*** lpotter has joined #sailfishos13:33
*** hasdf has quit IRC13:35
*** lpotter has quit IRC13:38
*** lpotter has joined #sailfishos13:40
*** Kabouik_ has joined #sailfishos13:41
anandrkrisHi13:42
anandrkrisAnyone has a view on this issue - https://together.jolla.com/question/64993/imobile-icici-banking-application-does-not-run-on-jolla/13:42
*** Kabouik has quit IRC13:43
*** DiosDelRayo has quit IRC13:43
anandrkrisany idea if phone number is already exposed through Aliendalvik?13:44
*** Kabouik_ has quit IRC13:44
*** Kabouik has joined #sailfishos13:46
kimmolihttps://twitter.com/Morpog/status/55173431304234188813:47
kimmoliäh ^13:47
coderusanandrkris: for me it sounds like it trying to send direct sms13:47
*** Kabouik has quit IRC13:48
coderuskimmoli: not really https://twitter.com/cybette/status/55173665931500748813:48
*** Kabouik has joined #sailfishos13:48
Morpog_PCkimmoli, :D13:48
kimmolicoderus: i see13:49
krnlyngcoderus: did you figure out why mupen64plus isnt building properly?13:49
*** martyone has joined #sailfishos13:51
*** igordcard has joined #sailfishos14:04
*** flash1 has joined #sailfishos14:08
*** gogeta has quit IRC14:09
*** flash1 has quit IRC14:09
anandrkriscoderus: okies...14:11
*** anandrkris has quit IRC14:12
coderuskrnlyng: no14:15
*** Photon12 has joined #sailfishos14:15
coderuskrnlyng: need to check some sources of common packages with no qt and compare spec files14:15
coderusi feel something initial and simple is missing :)14:15
*** jua_ has quit IRC14:16
krnlyngi hope it's something minimal :)14:17
*** Sailor11736_ has quit IRC14:19
*** jua_ has joined #sailfishos14:21
*** hasdf has joined #sailfishos14:21
coderuskrnlyng: you can dig it yourself now14:29
coderusi can continue after arriving to home in 3-5 days :)14:29
*** martyone has quit IRC14:32
*** akloud has joined #sailfishos14:37
akloudhi all!14:37
*** tat has joined #sailfishos14:38
*** cvp_ has joined #sailfishos14:40
*** flash1 has joined #sailfishos14:50
*** flash1 has quit IRC14:50
*** rm_work is now known as rm_work|away14:54
*** filippz has joined #sailfishos14:57
*** Sail0r has joined #sailfishos15:03
*** Photon12 has quit IRC15:19
*** nodevel has quit IRC15:21
*** Sailor11736_ has joined #sailfishos15:26
akloudwow, just deployed my first app on my Jolla. that is really working like a charme! my compliments to the guys which set up the SDK.15:29
*** nodevel has joined #sailfishos15:31
Yanielhow did you deploy?15:33
akloudby  rpm package.15:34
Yanielit could be streamlined a lot still (deploy over ssh, run and attach remote gdb)15:34
akloudmaybe deploy is not that correct. I started it on my phone.15:34
Yanielwell deploy means installing the binary on the phone15:35
Yanielby "deploy over ssh" I meant not having to copy the file and telling it to install manually15:35
akloudin that case it was deployed15:36
akloudno, I didn't install the rpm manually. this is probably the next step in case I want to use my app in a more permanent way.15:36
*** cloanta_ has quit IRC15:37
akloudah, no! it is already installed permanently.15:37
akloudcool!15:37
akloudbrb...15:37
Yanielcool15:39
Yanieldoes remote gdb work already too?15:39
*** cloanta_ has joined #sailfishos15:41
*** R-Z has joined #sailfishos15:56
*** Sequenced has joined #sailfishos16:02
*** Sequenced_ has quit IRC16:02
*** Sailor11736 has joined #sailfishos16:06
*** Sailor11736_ has quit IRC16:10
*** filippz has quit IRC16:12
*** filippz has joined #sailfishos16:12
*** fmunozs has joined #sailfishos16:14
*** crazy_imp has quit IRC16:18
*** crazy_imp has joined #sailfishos16:19
*** crazy_imp has joined #sailfishos16:19
*** Sequenced has quit IRC16:23
*** Sequenced has joined #sailfishos16:23
*** igordcard has quit IRC16:29
*** jcbjoe has joined #sailfishos16:31
*** nomeata has joined #sailfishos16:34
sandsmarksaidinesh5: how did it go with the kb-tree?16:38
sandsmarkoh, and one thing I've noticed; the default keyboard is actually unbearably slow :P16:38
saidinesh5bk tree16:38
saidinesh5sandsmark: default keyboard?16:38
sandsmarkburger king16:38
sandsmarkyeah, on sailfish16:38
saidinesh5you mean our keyboard?16:38
sandsmarklike, half a second or something to bring up suggestions on long words16:38
saidinesh5or theirs?16:38
sandsmarktheirs16:39
saidinesh5Ahh16:39
saidinesh5wait wht16:39
saidinesh5what16:39
sandsmarkit's pretty unusable16:39
sandsmarkmore annoying than anything :p16:39
saidinesh5O_o16:39
saidinesh5seriously?16:39
sandsmarkyeah16:39
saidinesh5they use hunspell......... afaik16:39
*** flywheel has quit IRC16:39
*** cloanta_ has quit IRC16:39
sandsmarkwell, then hunspell can go suck a something something16:39
sandsmark:D16:39
saidinesh5lol16:39
sandsmarkbut yeah, imho we should strive for sub-100ms16:39
saidinesh5i m not sure though...16:39
sandsmarkhopefully about 50ms :p16:39
saidinesh5hmm......16:39
saidinesh5well i m okay with anything around 300 ms16:40
sandsmark100ms is "instant" iirc16:40
saidinesh5(the time for longpress basically)16:40
sandsmarkwell, longpress is longpress because you wait :P16:40
saidinesh5lol16:40
sandsmarkyou shouldn't need to wait for the keyboard to catch up to your typing16:40
sandsmarkbut yeah, where are you now, code-wise?16:40
saidinesh52 things.. debugging a bug in the UI.. and implementing the Keyboard::shift()16:41
saidinesh5i m actually a little lost though..16:41
saidinesh51 sec16:41
saidinesh5gimme 5 minutes16:41
saidinesh5puppy time16:41
sandsmarkhaha, ok16:41
*** cloanta_ has joined #sailfishos16:43
*** igordcard has joined #sailfishos16:43
*** fferner has quit IRC16:44
*** kysse_ has quit IRC16:44
*** kysse has joined #sailfishos16:45
*** igordcard has quit IRC16:46
*** piggz has quit IRC16:46
sandsmarkpuppies are valid excuses :D16:48
sandsmarksaidinesh5: uhu, now the keyboard shows up right in the middle of the test app window :D16:49
*** till_ is now known as Guest5508616:50
saidinesh5sandsmark: Ahh yeah was adding more flags to the SkeyerView .. something like AlignHCenter, AlignVCenter and so on...16:55
saidinesh5sandsmark: was a little lost actually16:55
sandsmarkah, ok16:55
sandsmarkhmmhmm16:55
saidinesh5so the current keyboard layout, shift is a modifier that applies to the whole grid instead of individual keys16:55
sandsmarkmakes senes16:55
sandsmarksense16:55
saidinesh5except16:55
saidinesh5that means the layout is redrawn16:56
saidinesh5meaning existing keys are destroyed and remade16:56
saidinesh5upon shift key16:56
saidinesh5that doesnt seem right......16:56
sandsmarkwhy not?16:57
saidinesh5For one, it means you press shift, start a swipe, then shift key has to wait until the swipe ends to16:57
saidinesh5stop swipe16:58
sandsmarkwell, yes16:58
sandsmarkI think all existing keyboards do that16:58
saidinesh5hmm...16:58
*** r0kk3rz has joined #sailfishos17:00
saidinesh5so first things frst ....there is somehow a new bug that isnt detecting swipes properly17:01
saidinesh5so17:01
sandsmarkhmm17:01
saidinesh5adding the signals swiepStarted, swipeContinued, swipeEnded to17:01
sandsmarkwith your pushed code?17:01
saidinesh5SwipeableKey17:01
saidinesh5yup17:01
saidinesh5so that should fix the bug i think17:03
saidinesh5then i ll probably look into implementing BKTreeMatcher17:03
sandsmarkokok17:03
saidinesh5there it can create 2 trees - one with a words, one with the swipeHints17:04
sandsmarkhmm, calling SkeyerView::setKeyboardGeometry manually to QRect(0, screenSize.height()/2, screenSize.width(), screenSize.height()/2 ) fucked things up :D17:04
sandsmarksaidinesh5: hmm17:04
sandsmarkwhy with words?17:04
sandsmarkah, for when people manually type17:04
saidinesh5yup17:04
saidinesh5both these things linked to indices of wordList basically17:05
sandsmarkyeah17:05
saidinesh5and screenshot btw?17:05
sandsmarkhttp://i.imgur.com/goftOCr.png17:06
sandsmarkI wanted to make it not show up on top of where I'm supposed to type :P17:09
saidinesh5interesting...17:09
saidinesh5sandsmark: you have to set the SkeyerView 's geometry...17:09
saidinesh5there are 2 things now..17:10
sandsmarkyeah, this is the only thing I added: m_view->setKeyboardGeometry(QRect(0, screenSize.height()/2, screenSize.width(), screenSize.height()/2 ));17:10
akloudsaidinesh5: are you working on adding swipe input for the keyboard?17:10
saidinesh5akloud: kind of...17:10
sandsmarkakloud: no, making a new keyboard17:10
saidinesh5makign a keyboard which supports that17:10
saidinesh5sandsmark: SkeyerView's geometry (the transparent window which occupies fullscreen) and KeyboardGeometry17:10
akloudthat would be lovely. inputting text is really slow compared to what I was used to with the swipe keyboard on android.17:11
sandsmarksaidinesh5: uhm17:11
sandsmarkshouldn't the SkeyerView always be fullscreen?17:11
saidinesh5yes by default it is..17:11
saidinesh5so i m not sure why it is just showing only this much..17:11
sandsmarkI can't see where you set the size17:12
saidinesh5skeyerview's constructor for nwo17:12
saidinesh5defaulting to 500x400 i think17:12
saidinesh5480x50017:12
sandsmarkno, that sets the keyboard geometry17:13
saidinesh5Ahh17:13
saidinesh5i didnt update the skeyerplugin's code i guess :p17:13
sandsmarkok, this works:    m_view->showFullScreen();17:13
sandsmarkyeah :P17:13
sandsmarkskeyer_demo worked fine anyways17:13
saidinesh5Ahh17:13
saidinesh5damn.. why didnt i think of showFullScreen17:13
sandsmarkhaha :P17:14
saidinesh5good one!17:14
saidinesh5sandsmark:  so could you add a few flags to the viewer then?17:14
sandsmarkhmm, for what?17:14
saidinesh5for alignment of the keyboard17:14
sandsmarkah, sure17:14
sandsmarkWARNING: requestActivate() called for  SkeyerView(0xa40950)  which has Qt::WindowDoesNotAcceptFocus set.17:15
sandsmarkmucho weird going on17:15
saidinesh5interesting...17:16
sandsmarkalso, now the geometry isn't correctly set in the maliit, so I can't actually use the keyboard17:17
sandsmarkhmm17:17
sandsmarkbah, qrect vs qregion17:18
sandsmarky no implicit cast17:18
*** filippz has quit IRC17:19
saidinesh5lol17:20
sandsmarkWARNING: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARRRRRRRRRRRRRGH QRect(0,-100 480x500)17:20
sandsmarkno wonder maliit gets confused about those coordinates :p17:20
*** blabber has joined #sailfishos17:23
sandsmarkbah, my flight is delayed 45 minutes17:24
saidinesh5you are on flight again?17:25
sandsmarknot yet17:25
sandsmarknow it's almost three hours until it leaves17:25
saidinesh5lol i thought you have to get back home...17:25
sandsmarkyeah, I have to, but now I need to wait :D17:25
sandsmarksaidinesh5: any reason to use QRect instead of QRegion for the geometry?17:26
saidinesh5prolly cuz its exposable to qml?17:26
saidinesh5i used native qml types17:26
saidinesh5in qml17:26
saidinesh5rect17:26
sandsmarkah, k17:27
sandsmarkwell, ima just add a tiny slot then17:27
saidinesh5sure17:27
sandsmarkok, now it works like a charm17:29
saidinesh5btw. verrrrrry useful website17:29
sandsmarkyouporn.com17:29
sandsmarksaidinesh5: push'd17:30
saidinesh5lol17:30
saidinesh5i mean http://shapecatcher.com/17:30
saidinesh5sandsmark:  which branch?17:30
sandsmarkkeyboardclass17:30
saidinesh5Ah cool17:30
sandsmarkdoesn't make sense in master17:30
saidinesh5sandsmark: could you review the keyboard class a little?17:30
sandsmarksuresure17:31
*** dirkvl has quit IRC17:31
saidinesh5its so general it can give you a headache and some sleep in the flight lol17:31
sandsmarkshapecatcher thought my very well drawn penis was Ԡ17:31
sandsmarkhaha17:31
*** dirkvl has joined #sailfishos17:31
sandsmarksaidinesh5: uhm, LayoutModifier enum, I don't get it17:32
sandsmarkis it just for shifted/notshifted?17:32
*** blabber has quit IRC17:32
saidinesh5layout = alphabetical, numeric17:32
saidinesh5modifier = shift, caps etc...17:32
saidinesh5well yeah kind of17:32
sandsmarkbut we have shift/shiftlock already :p17:32
saidinesh5right now the modifiers are :default and shifted itself17:33
saidinesh5the shiftKey state is separate from shiftModifier..17:33
sandsmarkurrh17:34
saidinesh5like shift key can be pressed/locked/default17:34
sandsmarkyeah17:34
saidinesh5pressde/locked will make sure the shiftModifier is used17:34
saidinesh5all this is so parsing is easier :P17:34
sandsmarkhmm, maybe it would make sense to separate just Shift from shiftLocked()?17:35
saidinesh5hmm?17:36
sandsmarkyou were right; so general it hurts my mind :D17:36
saidinesh5yeah17:36
sandsmarkbut ok, this should work17:36
saidinesh5on the plus side,17:37
saidinesh5the methods neighbours()17:37
saidinesh5and keysBetween( startPoint, endPoint )17:37
saidinesh5are easier now :P17:37
sandsmarkI *think* we should drop the "different columns/rows depending on modifiers", tho17:37
sandsmarkyeah :D17:37
saidinesh5exactly!17:37
saidinesh5like the modifiers are to be applied to keys i think.. and not the grid17:37
sandsmarkthe modifier just changes what a key returns, not what keys are there17:37
sandsmarkimho.17:37
saidinesh5itself17:37
sandsmarkyeah17:37
sandsmarkexactamente17:37
sandsmarkgreat minds!17:37
*** blabber has joined #sailfishos17:38
*** Nokius__ has joined #sailfishos17:38
saidinesh5that also means reverting back to the old layout again17:39
saidinesh5grrrrrrrrrr17:39
sandsmarkhaha, never mind then17:39
sandsmarkthis works17:39
saidinesh5nah i m yet to implement "Shift"17:39
saidinesh5in this17:39
sandsmarkok17:39
saidinesh5thats why was thinking17:40
saidinesh5what is the best way to do this17:40
*** appelgriebsch has joined #sailfishos17:40
sandsmarkthe best way is always the simplest way!17:40
sandsmarkthat's why I run arch :p17:40
sandsmarkwith religious fervor17:41
saidinesh5lol17:41
saidinesh5i m on arch too now17:41
tadzikwell, I must say I prefer tormenting implementors for the sake of users, not the other way around...17:41
*** Nokius_ has quit IRC17:41
sandsmarkbut yeah, you can't stop me from implementing the burger king trees much longer :P17:42
saidinesh5lol17:42
*** dpurgin has quit IRC17:42
saidinesh5lol17:42
saidinesh5sandsmark: btw. your maliit plugin works in arch?17:42
sandsmarkofc17:42
saidinesh5with upstream framework?17:42
sandsmarkhaven't tested it on my phone yet17:42
sandsmarkyeah17:42
saidinesh5umm... let me try it again then17:42
sandsmarkdamn, I need to fix my maliit patches17:42
sandsmarkoh, I fixed it already17:44
saidinesh5what more patches?17:44
sandsmarkpvuorela: plz17:44
*** Sequenced has joined #sailfishos17:44
sandsmarksaidinesh5: well, just one17:44
saidinesh5i thought its only the -bypasswimhint17:44
sandsmarkfor the annoying warning when launching the server17:44
saidinesh5Ahh17:44
saidinesh5yeah17:44
sandsmarkthere was another one, but that was actually an attempt to work around a bug in our code :P17:44
saidinesh5yeah i remember17:44
sandsmarkhttps://github.com/maliit/framework/pull/817:45
* saidinesh5 checks17:45
sandsmarkI guess he's been on holidays17:45
sandsmarkhmmmm17:46
sandsmarkI wonder if we can use link-grammar17:46
*** appelgriebsch has quit IRC17:46
sandsmarklimited language support, but would give pretty awesome results17:46
saidinesh5nope17:46
saidinesh5not working for me17:46
saidinesh5sandsmark: any special patches to our plugin?17:47
sandsmarknope17:47
sandsmarkhmmmm17:47
sandsmarkhow do you launch it?17:47
sandsmarkand do you have something like [maliit]\nonscreen\active=/home/sandsmark/src/skeyer/bin/lib/maliit/plugins/libskeyerplugin.so:en_US17:47
sandsmarkin your ~/.config/maliit.org/server.conf17:47
sandsmarkok, I'm starting on the burger king tree now :P17:50
sandsmarkthe keyboard class looks good17:50
saidinesh5weird...17:50
sandsmarkany debug output?17:50
* saidinesh5 checks17:50
sandsmarkand did you click the input, and then wait 30 seconds for things to load?17:50
saidinesh5and sandsmarki do have  that line17:51
saidinesh5in .config17:51
saidinesh5Ah nvm17:52
pvuorelasandsmark: sure :) been in vacation mode and haven't followed up the github notifications lately.17:52
saidinesh5the view is broken...17:52
sandsmarkpvuorela: <317:52
sandsmarknot a big patch, but the warning is annoying :P17:52
akloudbtw, what is maliit?17:53
pvuorelaakloud: virtual keyboard service.17:53
*** Sail0r has quit IRC17:53
akloudah, ok!17:53
*** iskatu has quit IRC17:55
saidinesh5sandsmark: O_O works...17:55
sandsmark:D17:55
saidinesh5and it doesnt....17:55
sandsmarksurprisingly!17:55
sandsmarkoh17:55
sandsmarkwhat worked?17:56
saidinesh5and it does17:56
saidinesh5the keyboard shows up i mean17:56
saidinesh5but not always17:56
sandsmarkhmm17:56
sandsmarkwhat do you mean not always?17:56
sandsmarknot everytime you open it? or everytime you give a widget focus?17:56
sandsmarkan input widget17:56
saidinesh5umm.... everytime i run the app17:57
akloudthe link to http://wiki.maliit.org/ appears to be not up-to-date anymore. maybe the github page needs a small update17:57
sandsmarkmaliit.org seems to have died, and then kind-of resurrected using archive.org :P17:58
sandsmarksaidinesh5: hmm17:58
sandsmarkare you sure maliit-server is killed properly between each time?17:58
sandsmarkit somehow stays around sometimes17:58
saidinesh5oh17:58
* saidinesh5 shrugs18:00
*** iskatu has joined #sailfishos18:01
saidinesh5sandsmark: umm.... so about the BKtree thing.....18:01
saidinesh5it makes sense in the matcher .....18:01
saidinesh5sandsmark: first i need to finish off this keyboard class.... which is giving me headache lol18:02
sandsmarkyeah :V18:02
saidinesh5okay if i dont finish this tonight, screw german for now and reuse the swipeHiint() methods from AbstractWordMatcher18:03
sandsmarkhaha, yeah18:04
saidinesh5you can use them from the KeyboardClass18:04
sandsmarkfucking germans18:04
saidinesh5lol18:04
sandsmarkthis gives some german incentive to work on this18:04
saidinesh5hehh18:04
saidinesh5so sandsmark we should move the Modifier back to the key right?18:05
sandsmarkI think that makes sense18:05
sandsmarkthe modifiers work on keys, not on layouts or anything else18:05
sandsmarkimho.18:05
saidinesh5yup18:05
ajalkaneumm... anyone know wots this. Trying to deploy to my phone using SDK, getting this:18:05
saidinesh5we already have a layoutmodifier anyways18:05
saidinesh5the first one18:05
saidinesh5sandsmark: oh btw. do you use emojis?18:05
saidinesh5or whatever they are called..18:05
ajalkaneStarting: "/home/$USER/.config/SailfishAlpha4/mer-sdk-tools/MerSDK/SailfishOS-armv7hl/deploy" --sdk18:05
sandsmarksaidinesh5: nope18:05
ajalkaneInvalid command arguments18:05
saidinesh5Ahh wanted someone to create that emojilayout..18:06
sandsmarksaidinesh5: sometimes stickers on facebook, though, which is I have plans to reverse engineer the facebook messenger protocol sometime :P18:06
sandsmark(it seems pretty straightforward so far, it is built on an open protocol)18:06
saidinesh5oh btw. sandsmark how did the android dictionary parsing come along?18:06
*** martyone has joined #sailfishos18:06
ajalkaneoh and further output seems like the error is about merssh: "merssh usage: "18:06
sandsmarksaidinesh5: hmm, I was waiting for that c++ dictionary analyzer18:06
saidinesh5not sure facebook had stickers back when i was there18:06
sandsmarkajalkane: pastebin the entire error18:06
saidinesh5dictionary analyzer?18:06
sandsmarkyeah18:07
saidinesh5Ahh right18:07
sandsmarkinstead of the pythorn18:07
saidinesh5swipeHint18:07
sandsmarkya18:07
saidinesh5generator18:07
saidinesh5hmm......18:07
sandsmarkyizz18:07
saidinesh5okay one night of headache..... i hope this is worth it!18:07
saidinesh5at least the header stays the same....18:07
saidinesh5phew18:07
ajalkanesandsmark: http://pastebin.com/nnyDFkVE18:07
sandsmarksaidinesh5: you want some pills? :D18:07
saidinesh5lol18:08
sandsmarkajalkane: uh18:08
sandsmarkhave you done anything weird with your SDK install?18:08
ajalkanesandsmark: nope... I had used some very early version late 2013 or early 2014, and recently removed it and reinstalled the newest one. That's the weirdest thing I've done.18:09
sandsmarkhmm18:09
sandsmarkmaybe some settings are left over which fucks stuff up?18:09
ajalkanepossible... is it ok to remove $USER/.config/SailfishAlpha4 ?18:09
sandsmarktry just moving it out of the way18:10
sandsmarkthat way you won't lose something completely18:10
*** zetaz has joined #sailfishos18:12
*** martyone has quit IRC18:12
ajalkaneI kind of have feeling I've done something like this after doing the upgrade. Worth a try now.18:14
sandsmarkindeedly18:15
sandsmarksaidinesh5: either I'm too stupid to see the complexity, or the burger king trees are very simple to implement18:15
sandsmarksaidinesh5: btw, what edit distance are you using? Damerau–Levenshtein?18:15
*** RoKenn has joined #sailfishos18:16
ajalkaneThe deploy icon still remains grayed out. Interesting errro in General Messages: "Error while parsing file /home/arto/coding/src/sailfish/datediffcalculator/harbour-datediffcalculator.pro. Giving up."18:16
ajalkaneI think I may have to create a new dummy hello world project to get a proper .pro file. Thanks for the help18:17
sandsmarknp18:17
*** tango_ has quit IRC18:17
saidinesh5sandsmark: they look simpl actually18:19
*** tango_ has joined #sailfishos18:19
saidinesh5sandsmark: i waaaaaaas using damerau levenstein18:19
saidinesh5then moved to a custom levenstein18:19
sandsmarkah, ok18:19
saidinesh5then back to normal levenstein for now18:19
saidinesh5wanted to edit the levenstein to keep track of "expected path"18:20
saidinesh5brb18:20
sandsmarkyeah18:20
Nc_SailfishOS.org's documentation for "Packaging Apps" says to always use macros such as such as %{_bindir} ... but I don't see these actually listed and described anywhere?18:23
ajalkaneargh... same annoying error still. I'll just try the SDK wizard generated hello world if even that works.18:24
*** blabber has quit IRC18:24
sandsmarkNc_: aren't they rpm things?18:25
sandsmarkidunno18:25
m4g0gcoderus: wht there is not call vibration patch for u10?18:26
Nc_sandsmark, perhaps, though I'd still expect them to be documented somewhere sane :)18:26
sandsmarksane schmane18:26
*** s1gk1ll has joined #sailfishos18:27
Nc_:)18:27
*** hasdf has quit IRC18:30
*** piggz has joined #sailfishos18:30
ajalkaneuser error once more... I had forgotten to add this particular Jolla device to the SDK. Weird error anyway.18:30
ajalkaneDoes anyone know... I don't fancy creating a separate Cover page. I like for example what N9/harmattan does, showing a the scaled version of what's in the window. How'd you go ahead of making that happen with ApplicationWindow's cover property?18:32
*** fferner has joined #sailfishos18:36
*** nodevel has quit IRC18:36
*** s1gk1ll has quit IRC18:36
*** Lipevakala has quit IRC18:39
saidinesh5hmm......18:40
ajalkaneIt used to work just creating a Component which was referenced by initialPage and cover, but as of I guess u9 it doesn't work (including u10)18:41
*** Lipevakala_ has joined #sailfishos18:41
*** furikku has quit IRC18:44
*** piggz has quit IRC18:45
*** Lipevakala has joined #sailfishos18:45
*** nodevel has joined #sailfishos18:47
*** piggz has joined #sailfishos18:48
*** Lipevakala_ has quit IRC18:49
r0kk3rzmmm my qtcoreapp wont deploy :(18:55
ajalkaneRight on, total suckiness. I guess I just have to create a separate Cover page. Tried Component, Loader, Component.onCompleted. Everyone is buggy in one way or the other for what I try to do :-D18:56
*** Lipevakala has quit IRC18:56
*** Lipevakala has joined #sailfishos18:58
sandsmarksaidinesh5: I spent ten minutes on the tree implementation, and then twenty trying to figure out why my debug printing didn't work :P18:59
saidinesh5sandsmark: lol done already?19:00
sandsmarkwell, the insertion19:00
sandsmarkharder to get, I guess19:00
saidinesh5sandsmark:  how are you making sure the tree is balanced?19:00
saidinesh5also what distance code are you using?19:00
sandsmarkhmm?19:00
sandsmarkyour questions make no sense!19:00
sandsmarkthe tree is not supposed to be balanced19:00
saidinesh5not exactly balanced but i meant19:01
sandsmarkand I borrowed your edit distance code19:01
saidinesh5number of children19:01
saidinesh5Ahh19:01
saidinesh5and which node is the root19:01
sandsmarkI remembered we had that already19:01
saidinesh5i think those things matter don't they?19:01
sandsmarkthe first item is always the root19:01
sandsmarknope19:01
saidinesh5Ahh19:01
sandsmarksupposedly not :P19:01
saidinesh5hmm......19:01
*** Sfiet_Konstantin has joined #sailfishos19:02
saidinesh5meanwhile i m converting the layouts again lol19:02
*** Lipevakala has quit IRC19:02
*** Lipevakala_ has joined #sailfishos19:02
sandsmarkaww19:02
saidinesh5hopefully i wont have to touch this code again19:03
sandsmarksaidinesh5: hmm, I'm not sure what kind of tolerance we want to search with19:07
sandsmarkI guess we can tune that19:07
saidinesh5yup19:07
saidinesh5also the tolerance has to depend on the swipeLength.... doesnt it?19:08
saidinesh5larger the swipe, larger the scope for errors19:08
sandsmarkhmm, maybe19:08
sandsmarkyeah19:08
sandsmarkso a dynamic one19:08
saidinesh5thats why was curious about how blanced the tree is...19:08
sandsmarkbut also => larger tolerance, longer search time19:08
saidinesh5of course19:08
sandsmarkwell, balanced doesn't really make sense :P19:08
saidinesh5no i mean ..19:08
saidinesh5like how "wide"19:08
saidinesh5the tree is19:08
saidinesh5but yeah i should probably read more about the trees19:08
sandsmarkI'm not really sure how that makes sense either :D19:09
sandsmarkbut idunno19:09
sandsmarkI don't think tweaking root word would change much, but I can write up a QBenchmark test so we can see19:09
saidinesh5sure19:10
saidinesh5more on that later anyways19:10
saidinesh5sandsmark: btw. are you storing the words too in the tree?19:10
sandsmarkyes19:10
saidinesh5or let the keys be indices too?19:10
saidinesh5hmm....19:10
sandsmarkuhm, extra indirection19:10
sandsmark== bad19:10
saidinesh5yeah i guess so19:10
sandsmarkQStrings already have internal indirection19:10
saidinesh5ah right19:10
sandsmark(that's why const QString & doesn't make much sense)19:10
saidinesh5hehh i know that one :P19:10
sandsmark:D19:11
sandsmarkthe great wisdom of thiago!19:11
saidinesh5but i use it for the sake of "pretty code"19:11
saidinesh5yup19:11
saidinesh5the const & doesnt make sense for signals and slots' params too19:11
sandsmarkya19:11
saidinesh5but i dont know why a lot of Qt's code uses int for indices instead of unsigned int...19:12
saidinesh5makes us check even if it is greater than 019:12
sandsmarkbecause it is shorter to type19:13
sandsmarkand looks prettier19:13
saidinesh5lol19:14
sandsmarksaidinesh5: but now inserting and searching works19:19
saidinesh5O_O19:20
sandsmarkI'm tempted to make the insertion non-recursive, but I'm lazy19:20
saidinesh5\o/19:20
saidinesh5lol19:20
saidinesh5we can run it in a thread then :P19:20
sandsmarkwell, inserting a single item shouldn't take much19:20
sandsmarkdoubt it needs to be threaded19:20
saidinesh5i meant the initial parsing..19:20
saidinesh5but yeah19:20
saidinesh5its install time...19:20
saidinesh5is it just a BKTree class?19:21
saidinesh5or a matcher?19:21
sandsmarkBKTree19:22
saidinesh5Ah okay19:22
sandsmarkbktree.h19:22
sandsmarkwith a BKNode19:22
saidinesh5could you also check how fast it is to NOT save swipeHints19:22
sandsmarkI was tempted to call it BurkerKingTree19:22
saidinesh5and generate them on the fly for the words..19:22
saidinesh5lol19:22
sandsmarkwhat do you mean?19:22
sandsmarkhmm19:22
saidinesh5feel free to do so19:22
saidinesh5we need two of those...19:22
sandsmarkI thought I'd start writing some tests first19:22
saidinesh5Ahh sure19:22
sandsmarkand a QBenchmark for this19:22
saidinesh5aye19:23
*** Lipevakala_ has quit IRC19:23
sandsmarkfuck git19:24
sandsmarkgah19:24
sandsmarkgit stash pop complains about merge conflicts, how do I solve that19:24
saidinesh5O_o19:24
sandsmarkhow do I tell git that I solved the stash conflict :V19:25
sandsmarksaidinesh5: bah, master is unbuildable :P19:25
sandsmark../lib/skeyerview.cpp:3:26: fatal error: keygridmodel.h: Ingen slik fil eller filkatalog19:26
sandsmark #include "keygridmodel.h"19:26
saidinesh5O_O19:26
saidinesh5Ahh feel free to fix that19:26
saidinesh5weird though....19:26
saidinesh5afaik i made that class later on...19:26
sandsmarkyarp19:26
saidinesh5in a branch19:27
sandsmarkjust removed the include tho19:27
saidinesh5sure19:27
sandsmarkand pushed19:27
sandsmarkhmm, we probably need to use ctest and whatnot19:27
sandsmarkoh, wait, we use qmake19:28
saidinesh5qtest...19:29
sandsmarkyarp19:30
*** Photon12 has joined #sailfishos19:30
*** Sfiet_Konstantin has quit IRC19:30
m4g0gguys,19:31
saidinesh5hm?19:31
m4g0gc++ signal to qml with string19:31
r0kk3rzkimmoli: ping19:32
m4g0gwhat type of string should I use?19:32
saidinesh5QString ?19:32
m4g0gQVariant or QString19:32
sandsmarkQString19:32
m4g0gbecause QString returns undefined19:32
sandsmarkwut19:32
sandsmarkreturns?19:32
sandsmarkbah, now it can't find Q_VERIFY19:33
sandsmarkoh, no _19:34
sandsmark:(19:34
m4g0gvoid notify (NotifyType type, const QString& message);19:34
*** JoshStrobl has quit IRC19:34
m4g0ghttps://bpaste.net/show/57a8b5bc3ee219:35
m4g0g[D] onNotify:48 - undefined19:35
m4g0g[D] onNotify:52 - 119:35
m4g0gthis is output19:35
m4g0glol, it doesn't work at all19:36
kimmolir0kk3rz: back in 10 min19:38
*** R-Z has quit IRC19:40
*** stephg has joined #sailfishos19:42
*** Sail0r has joined #sailfishos19:42
kimmolir0kk3rz: pong19:43
*** gogeta has joined #sailfishos19:45
* lpotter blinks19:46
sandsmarksaidinesh5: 2,687 insertion time for the complete american wordlist (161 091 words)19:46
sandsmarkcan probably be improved a lot, tho19:46
* kimmoli runs for beer while waiting19:46
sandsmarkI haven't thought about performance at all19:46
*** Sail0r has quit IRC19:46
saidinesh5is that point or a comma?19:46
saidinesh5decimal point or a comma?19:46
sandsmark2 seconds19:46
saidinesh5Ahh cool19:46
sandsmark     2,687 msecs per iteration (total: 2,687, iterations: 1)19:47
saidinesh5Ahh19:47
saidinesh5sandsmark: could you see how long it takes to create a swipeHint tree too?19:47
sandsmarkgive me some time19:47
saidinesh5sure19:47
sandsmarkhopefully the plane doesn't leave too soon :P19:47
saidinesh5lol sure19:47
sandsmarkhmm, boarding in an hour, I should probably find the gate soon :P19:47
saidinesh5Ahh19:48
saidinesh5you can do this in the flight then19:48
sandsmark:D19:48
sandsmarkor you can do it yourself, I just hardcoded "dictionary.txt" in the test19:48
saidinesh5or you can benchmark maximum search time for this tree19:48
sandsmarkso place whatever you want there19:48
saidinesh5eAhh19:48
saidinesh5Ahh19:48
saidinesh5sure19:48
saidinesh5could you find out the maximum search time on this tree?19:49
m4g0gMay be somebody uses LinksBag? I need help with checking my bad english19:49
sandsmarkI hate qtest19:52
sandsmarksaidinesh5: idunno19:52
sandsmarkmaybe19:52
sandsmarkQFATAL : BKTreeBench::searching(cake) QFETCH: Requested testdata 'word' not available, check your _data function.19:52
saidinesh5O_O19:52
sandsmarkoh19:52
sandsmarkhmm, searching takes 400ms19:53
sandsmarkconstant 300-400 ms19:53
sandsmarkneed to get that down19:53
stephgin the absence of Sfiet_Kostantin, anyone know how deep/where harbour-friends keeps it's DB? I've nuked various databases under ~/.local/share/harbour-friends but I still have friends who show up with no content19:53
sandsmarkbut yeah, I'll commit, push and get on a plane :P19:53
stephgI want to nuke the lot19:54
saidinesh5aye19:54
saidinesh5happy journey..19:54
stephg(or does it leverage the SFOS FB account19:54
saidinesh5and sandsmark 400ms is quite good...19:54
sandsmarkcan probably tune it19:54
saidinesh5yeah its doing the whole dictionary19:54
sandsmarkoh well19:55
saidinesh5i wonder if we can trim it down to limited set of neighbours19:55
sandsmarkwell, that's what the SEARCH_TOLERANCE does19:55
saidinesh5no i mean19:55
sandsmarkbut have fun :D19:55
saidinesh5no computing levenstein19:55
saidinesh5if the key is faaaaaar away19:55
sandsmarkyes19:55
sandsmarkthat's what it does19:55
sandsmarkit just checks the current levenstein19:55
sandsmarkno calculatory19:56
saidinesh5no no.. i m saying19:56
saidinesh5if you are looking words that start with S19:56
sandsmarkmaybe19:56
saidinesh5then dont even bother looking at words starting with P19:56
sandsmarkbut we don't know that it starts with S :D19:56
saidinesh5dont use levenstein there at all19:56
saidinesh5sure.. but we know its near S19:57
sandsmarkmaybe :D19:57
sandsmarkbut yeah, we might need to leverage position stuff19:57
sandsmarkhmm19:57
saidinesh5yup19:57
sandsmarkI'll think about that on the plane19:57
saidinesh5aye19:57
sandsmarkmaybe some burgerking-spatial hybrid19:57
saidinesh5yup19:57
*** phaeron has joined #sailfishos19:57
sandsmarkspatial trees...19:57
sandsmarkneed to read up on that :D19:58
saidinesh5whut19:58
saidinesh5ermm......19:58
saidinesh5spatial trees are different arent they?19:58
sandsmarkr-trees19:58
sandsmarkyes19:58
saidinesh5yeah but i remember they were for answering where does a point lie kind of questions...19:58
*** r0kk3rz has quit IRC19:59
saidinesh5anyhow happy journey19:59
saidinesh5i hope to fix this keyboard class till then20:00
*** r0kk3rz has joined #sailfishos20:00
saidinesh5its such a pain to even rewrite the layout20:00
r0kk3rzkimmoli: you using sailfish sdk for your tohkbd daemon?20:04
kimmolisdk and merobs20:05
sandsmarksaidinesh5: plane delayed :D20:05
saidinesh5Again ? O_o20:06
r0kk3rzkimmoli: how did you set up the project?20:06
sandsmarkyeah20:06
r0kk3rzbecause mine fails the rpm build :(20:06
sandsmarkfuckings to norway20:06
r0kk3rzand all ive changed is the sailfishapp to a qcoreapp20:06
sandsmarksaidinesh5: btw, I was testing with swipehints :P20:06
saidinesh5sandsmark: oh and?20:06
r0kk3rzbecause i dont want a GUI20:06
sandsmarksaidinesh5: well, the 3-400ms was with the swipehints20:06
sandsmarkI used the wrong file :P20:06
saidinesh5Ahh20:06
kimmolir0kk3rz: any errormsgs ? builds fine for me20:07
saidinesh5i mean dont bother saving swipeHints to memory at all.........20:07
sandsmarkyeah, iKno20:07
sandsmark:D20:07
saidinesh5just use a new distanec function to generate swipeHints on the fly20:07
r0kk3rzkimmoli: i'll keep digging, but if you're making daemons using the sailfish sdk then it can work20:08
kimmolir0kk3rz: i usually make everything so that they build on sdk, and merobs. and use only spec (skipping yaml)20:08
kimmolii configure the project only for arm+release20:09
sandsmarksaidinesh5: with cracklib-small (52875 words),  inserting everything is 195ms, and then 50-60 ms per fetch20:09
saidinesh5whut20:09
r0kk3rzkimmoli: yeah fair enough, i might try that20:09
saidinesh5thats a nicer dictionary?20:09
*** Ishmayeck has quit IRC20:09
sandsmarksaidinesh5: well, it's not swipehints20:09
kimmolir0kk3rz: and use deploy from menu20:09
sandsmarkI didn't want to bother with parsing out words properly :P20:09
sandsmarkand the cracklib dicts are just one word per line20:09
kimmolir0kk3rz: not that feature there on left-bottom corner20:09
saidinesh5Ahhh20:10
r0kk3rzkimmoli: arent they the same?20:10
saidinesh5sandsmark: so here is the idea for the BK tree20:10
saidinesh5the WordList uses BKTree to store the words20:10
kimmolir0kk3rz: dunno. made also F7 shortcut key for deploy20:10
saidinesh5then wordMatcher does the probabilities and more careful matching if needed20:10
kimmolir0kk3rz: and have only one project open20:10
saidinesh5sandsmark: how many results is the BKTree giving out?20:11
sandsmarksaidinesh5: as many as we want20:11
saidinesh5Ahh cool20:11
sandsmarksaidinesh5: but for now everything with an edit distance less or equal to 220:11
saidinesh5Ahh could you change that to umm.......20:11
saidinesh5edit distance less than or equal to 520:11
*** Ishmayeck has joined #sailfishos20:12
saidinesh5and benchmark it?20:12
sandsmarksure, one sec20:12
saidinesh5on the swipeHint file i mean20:12
sandsmarkairports are very noisy...20:13
sandsmarkhard to concentrate :p20:13
saidinesh55-10 should be the average swipeHint length i guess20:13
saidinesh5i mean average k value20:13
saidinesh5with brute force matcher thats kind of what i was using for a threshold...20:13
sandsmarkok20:13
*** gogeta has quit IRC20:14
sandsmark354ms with SEARCH_TOLERANCE 520:14
*** ballock has quit IRC20:14
sandsmarkthat was the highest20:14
saidinesh5So one BKTree in the wordList and another BKTree in abstractMatcher20:14
saidinesh5Ahh cooll20:14
saidinesh5not bad then20:14
*** meetingcpp has joined #sailfishos20:14
saidinesh5considering we arent even considering the spacial20:14
saidinesh5word positions20:14
sandsmarkyeah20:14
saidinesh5out of curiosity  how many nodes is it searching on average20:15
sandsmarkman, debug builds are slow20:15
saidinesh5lol20:15
*** ballock has joined #sailfishos20:15
sandsmarkhmm20:15
sandsmarkI'm just going to finish this perf run20:15
saidinesh5Ah20:15
sandsmarkhaha, more than 10 times slower when running a debug build under perf...20:16
*** flywheel has joined #sailfishos20:17
sandsmark       │             for(j = 1; j <= destination.length(); j++)20:17
sandsmarkis the most expensive line in the program :P20:17
saidinesh5O_o20:17
sandsmark12.47% of all the time is spent on that20:17
saidinesh5isnt that an inline function?20:17
sandsmarkor rather, on addl   $0x1,-0x18(%rbp)20:17
sandsmarkyeah, but that doesn't matter20:17
sandsmarkit is called all the time20:17
saidinesh5Ahhh20:17
saidinesh5i thought you meant that function call is taking up the most20:18
saidinesh5hmm.....20:18
saidinesh5sure..20:18
sandsmarkit's just expensive in terms of computing power20:18
saidinesh5i wonder how much we can cut this down once we consider the positions of the keys20:18
*** f3an0r has joined #sailfishos20:18
saidinesh5sandsmark: also i wonder if we can represent a word in terms of angles20:19
saidinesh5and then use BKtrees on that...20:19
sandsmarkhmm20:19
sandsmarknot sure if that makes sense20:19
saidinesh5like for eg.20:19
sandsmarkQDEBUG : BKTreeBench::searching(lol) 105750 nodes searched.20:20
sandsmarkthis doesn't make sense :D20:20
saidinesh5O_O20:20
saidinesh5wow20:20
saidinesh5or wait20:20
sandsmarkmy code must be broken20:20
saidinesh5no it considers 105750 nodes......20:20
saidinesh5it uses levenstein on a fraction of them20:20
saidinesh5?20:20
saidinesh5or that too20:20
sandsmarknope, this is the amount that I run levenstein on20:20
saidinesh5Oh20:21
sandsmarkI'm not entirely sure why this is so20:21
saidinesh5not possible :p20:21
sandsmarkyeah, no20:21
saidinesh5thats worse than bruteforce lol20:21
saidinesh5the current bruteforce i mean20:21
sandsmarkthis doesn't make sense at all20:21
sandsmarkthere aren't that many nodes in the tree20:22
sandsmarkah, and it always prints 10575020:22
saidinesh5lol20:22
sandsmarkno matter what :D20:22
sandsmarkhmm, storing the children in a QMap instead of a QHash is faster20:25
sandsmarkcpu caches, how do they work20:25
sandsmarkmight want to use sparse vectors...20:26
saidinesh5hmm......20:26
saidinesh5im not sure why it always prints 10575020:26
*** Sail0r has joined #sailfishos20:26
sandsmarkme neither :P20:28
m4g0gmay be somebody has an exmaple of running label?20:30
sandsmarklabel?20:30
sandsmarksaidinesh5: pushed some stuff...20:31
m4g0gyes20:31
sandsmarkwhat label20:31
* saidinesh5 git pulls20:31
* sandsmark pulled the power from the laptop20:31
m4g0gsimple label with text which running if has text longer then view20:31
sandsmarkplane should start boarding in a couple of minutes, unless it gets delayed again :P20:31
sandsmarkm4g0g: I don't understand20:31
m4g0glike label which notify about new messages in im. Message running from left to right20:32
sandsmarkoh, a notification?20:32
sandsmarkthose on top?20:32
sandsmarkidunno, looked into the source of applications that do that?20:33
saidinesh5weird....20:33
sandsmarkeverything is weird20:33
m4g0gsandsmark: this do message application20:33
saidinesh5mhm  when code to read a layout gives you more headache than reading a datastructure's code..... :p20:33
m4g0gthere is no sources for it20:33
sandsmarksaidinesh5: :D20:33
sandsmarksaidinesh5: GUI sucks20:33
saidinesh5lol20:34
sandsmarkm4g0g: there are other applications that do it20:34
saidinesh5this is JSON :P20:34
sandsmarkI think the owncloud client does it20:34
saidinesh5but too general i guess.......20:34
sandsmarkm4g0g: it uses a library called nemo-qml-plugin-notifications apparently20:34
sandsmarksaidinesh5: json sucks :D20:34
saidinesh5lol20:34
sandsmarkanyhow, a kbtree is the simplest data structure I've implemented in a while :p20:34
*** DiosDelRayo has joined #sailfishos20:35
sandsmarkbk20:35
sandsmarkdamn...20:35
sandsmarkwe should name it burgerking, so I stop misspelling it20:35
saidinesh5lol20:36
saidinesh5and thankfully we dont even have to implement delete in it.....20:36
sandsmarkhaha20:37
sandsmarkwell, that shouldn't be so hard, tbh.20:37
sandsmarkthere's no rebalancing to be done20:37
sandsmarkoh, unless20:37
sandsmarkyeah20:37
sandsmarknever mind :D20:37
saidinesh5mhm20:37
m4g0gsaidinesh5: nemo-qml-plugin-notifications - it is prohibited for harbour?20:38
saidinesh5sandsmark: ^20:38
sandsmarkm4g0g: owncloud bundles it20:39
sandsmarkgithub.com/beidl/harbour-owncloud20:40
*** gogeta has joined #sailfishos20:43
*** jua_ has quit IRC20:44
*** fmunozs has quit IRC20:54
*** fmunozs has joined #sailfishos20:55
*** DiosDelRayo has quit IRC20:58
*** Sailor11736 has quit IRC21:02
*** DiosDelRayo has joined #sailfishos21:05
*** Nc_ has quit IRC21:06
saidinesh5sandsmark: so what happned to your flight?21:06
saidinesh5sandsmark: the keyboard layout json definitely looks more enterprisey now :P https://paste.kde.org/pcplxcdao21:09
m4g0gargh21:10
m4g0ghttps://bpaste.net/show/96e3007b09e821:10
m4g0gwhy does this animation doesn't work?21:10
saidinesh5contentX .... is that property readonly?21:11
m4g0gno21:14
*** s1gk1ll has joined #sailfishos21:14
m4g0gI did it21:15
m4g0gargh21:15
*** Sail0r has quit IRC21:17
*** r0kk3rz has quit IRC21:19
saidinesh5sandsmark: btw. this Norwegian keyboard.....21:27
saidinesh5the "Å" is already there in the extended characters of the A key21:28
M4rtinKthat symbol reminds me of Stargate :)21:28
*** Sail0r has joined #sailfishos21:31
akloudn821:32
*** akloud has quit IRC21:33
m4g0ghow to prevent flickable inside mousearea to steal click event?21:33
kimmolihttp://doc.qt.digia.com/qt-5.2/qml-qtquick-mousearea.html#preventStealing-prop ?21:35
*** nodevel has quit IRC21:35
*** Sail0r has quit IRC21:35
*** nodevel has joined #sailfishos21:35
m4g0gkimmoli: it for mouse area inside flickable21:36
m4g0gbut i have flickable inside mouse area21:36
kimmoliah way around21:36
coderusm4g0g: i never used/developed this patch21:38
m4g0gcoderus: hm. Sorry. I don't know why I consider that21:38
kimmolim4g0g: is this the way around? http://comments.gmane.org/gmane.comp.lib.qt.user/272221:38
kimmolibut imho, ask coderus :)21:39
*** DiosDelRayo has quit IRC21:39
m4g0gcrutch...21:44
*** zetaz has left #sailfishos21:51
m4g0git's very funny but harbour hasn't allowed oauth libs21:51
*** Nc_ has joined #sailfishos21:52
m4g0gI have never seen such strange mobile applications shop21:52
m4g0gIt's seems like jolla don't want to have many applications21:52
*** Sail0r has joined #sailfishos21:54
*** Sequenced has quit IRC21:55
coderuswhat, flickable inside musearea? why?21:57
coderusmousearea*21:58
*** Nc_ has quit IRC21:58
*** Sail0r has quit IRC21:59
*** meetingcpp has quit IRC21:59
coderusbut if you REALLY (think twice) need this way, you can change flickable pressDelay and set preventStealing to mousearea21:59
*** piggz has quit IRC22:01
ffernerM4rtinK: I didn't end up with quite as much time as I thought, but I've just pushed what I currently have to a separate branch, it certainly is not even close to finished/usable but I thought you might wanted to look at it and comment... (https://github.com/fferner/modrana/tree/routing_PoC)22:09
ffernerI certainly wouldn't recommend this for any pull request.22:09
M4rtinKfferner: thanks! :)22:18
M4rtinKfferner: I'll take a look & see how it works and will then probably add some inline comments :)22:19
ffernerM4rtinK: cool.22:19
ffernerIt currently seems to succeed in getting a route but then there are a few tracebacks in one of the threads, I think related to turnbyturn routing...22:20
ffernerand no particular rush, I'll likely be quite busy during most of next week anyway...22:21
M4rtinKfferner: yeah, even though it is supposed to be a platform/GUI independent core22:21
M4rtinKfferner: different platforms and GUIs still manage to uncover some unhandled edge cases from time to time :)22:21
M4rtinKfferner: well I won't be able to properly try it out at least until tomorrow evening anyway :)22:23
ffernerno problem, I need to leave now anyway.22:23
M4rtinKfferner: ok :)22:24
M4rtinKfferner: and thanks yet again for working on this! :)22:24
ffernerM4rtinK: no problem, it's fun and gives me a good reason to learn something new.  ;-)22:25
m4g0gcoderus: nothing of this works22:30
m4g0gI add mouse area to flickable, add prevent stealing to it and call the same function as top mouse area22:30
*** m4g0g has quit IRC22:36
*** fferner has quit IRC22:36
*** Nc_ has joined #sailfishos22:37
*** Nc_ has quit IRC22:41
*** zetaz has joined #sailfishos22:44
*** nomeata has quit IRC22:45
*** zetaz has left #sailfishos22:59
*** cvp_ has quit IRC23:00
*** Pat_o has quit IRC23:03
*** mkollaro has quit IRC23:11
coderusm4g0g: explain please what are you doing? :D23:11
coderusi can't understand Y U DO SO COMPLEX?23:12
*** arcean has quit IRC23:13
*** RoKenn has quit IRC23:19
*** ahiemstra has quit IRC23:24
*** ahiemstra has joined #sailfishos23:24
*** Nc_ has joined #sailfishos23:27
chriadam_m4g0g: pong - was on holiday23:37
sandsmarksaidinesh5: got very, very delayed23:46
saidinesh5Ahh23:46
saidinesh5okay so you finally reached?23:46
sandsmarkSat on the ground like an hour, and then they needed to clear the runway of snow before landing23:47
sandsmarkYeah23:47
saidinesh5heh i see23:47
sandsmarkAnd yes, the nemo/maliit default layouts suck :p23:47
saidinesh5out here i m pretty sure you dget a refund for it23:48
saidinesh5so sandsmark what do we do with that key?23:48
saidinesh5that A with a dot up its head23:48
sandsmarkDo it like all proper keyboards23:48
saidinesh5that is.. ?23:48
*** flywheel has quit IRC23:48
sandsmarkNot on the alternate23:49
saidinesh5Ahh23:49
saidinesh5okay23:49
saidinesh5so feel free to delete it from the alternate keys23:49
saidinesh5im also tempted to remove the alternate keys from english keyboard23:49
sandsmarkAlmost all of the alternates are useless for Norwegian at least23:49
sandsmarkYeah23:49
saidinesh5yeah even in english the same is the case23:50
sandsmarkHave you found the layout files for android ?23:50
saidinesh5most of my fonts dont even render that lol23:50
sandsmarkHaha23:50
saidinesh5sandsmark: yes i did23:50
saidinesh5they were horrible23:50
sandsmarkHaha23:51
saidinesh5i simply cloned the android's layout by looking23:51
sandsmarkWhat format?23:51
saidinesh5xml23:51
sandsmarkOuch23:51
saidinesh5but its like scary.....23:51
saidinesh5like they split the keyboard into chunks23:51
sandsmarkHaha, what23:51
*** SpeedEvil has quit IRC23:51
saidinesh5and english = qwerty rows, , standard symbols, so on..23:52
sandsmarkFor swipeguessing or something ?23:52
saidinesh5yup23:52
saidinesh5nope23:52
saidinesh5well that too prolly in some of the same xml files23:52
sandsmarkWas there any method to the splitting madness?23:52
saidinesh5but i mean they implemented a lot of languages and you can see its a little too....... overengineered23:52
*** SpeedEvil has joined #sailfishos23:52
saidinesh5let me show you23:52
sandsmarkAh, ok23:52
*** phaeron has quit IRC23:53
*** ndvl has joined #sailfishos23:53
sandsmarkWhat an unholy mess :D23:55
saidinesh5yup23:56
saidinesh5i dont mind a bit of redundancy but i m not going to do that with this json23:56
*** nodevel has quit IRC23:56
*** nodevel has joined #sailfishos23:56
saidinesh5anyhow our numeric keyboard is now the same as android keyboard's23:56
sandsmarkOk, nice23:57
saidinesh5and i m almost done with today's task of reverting back23:57
*** Morpog_PC has quit IRC23:57
saidinesh5btw. here our keyboardlayout..23:57
sandsmarkBut yeah, seems like they went a bit overboard with abstraction, they use more on abstraction than what they're abstracting23:57
saidinesh5not that great looking either23:57
saidinesh5https://paste.kde.org/pcplxcdao23:57
saidinesh5sandsmark: c'mon. they use javaaaaaaargh :P23:58
sandsmarkHaha23:58
*** SpeedEvil has quit IRC23:58
sandsmarkHmm, json isn't utf8?23:58
saidinesh5some fonts werent rendering in arch23:58
saidinesh5needed to install that stuff23:59
sandsmarkAh, ok, safer this way23:59
*** SpeedEvil has joined #sailfishos23:59
saidinesh5yup23:59
saidinesh5also installed ttf-symbola or something23:59
*** SpeedEvil has quit IRC23:59
*** SpeedEvil has joined #sailfishos23:59
sandsmarkYeah, good for when making keyboards23:59

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!