**** BEGIN LOGGING AT Fri Apr 10 02:59:59 2015 Apr 10 05:53:31 morning Apr 10 05:53:34 morphis: ping Apr 10 08:59:03 JaMa: morning & ping Apr 10 09:02:33 Herrie|Veer: pong Apr 10 09:03:27 Herrie|Veer: morning and slow pong Apr 10 09:03:59 JaMa' Apr 10 09:04:03 Herrie|Veer: https://github.com/webOS-ports/luna-sysservice and you have full access Apr 10 09:04:19 JaMa: Had any luck with the stable build? Apr 10 09:04:23 morphis: Great Apr 10 09:05:04 Have some code ready but nizovn made some suggestions to remove the overlap with luna-sysmgr-common to prevent duplicate code Apr 10 09:05:07 Will look into that Apr 10 09:06:12 Herrie|Veer: I wouldn't like us to modify luna-sysservice too much and diverge from upstream Apr 10 09:06:13 morphis: What kernel are we using exactly for the TP4G? Asked NewbyJE if he had any ideas re Ericsson and Sierra ;) Apr 10 09:06:42 https://github.com/shr-distribution/linux/tree/tenderloin/3.0/master Apr 10 09:07:05 morphis: Upstream hasn't been maintained by LG SVL for ages. Seems they don't push anything to public GH anymore Apr 10 09:07:23 Not sure if and when that will change Apr 10 09:08:58 Basically nizovn suggested to use the includes from luna-sysmgr-common instead of the own ones from luna-sysservice. Since they're identical it doesn't make much sense to maintain them twice? Similar cleanup was done in lunasysmgr already Apr 10 09:13:41 Herrie|Veer: unfortunately no Apr 10 09:13:56 Herrie|Veer: everything went crazy at work Apr 10 09:18:44 Herrie|Veer: yeah, but we forked luna-sysmgr completely Apr 10 09:18:50 luna-sysservice is still unmodified Apr 10 09:18:54 lets leave it that way Apr 10 09:19:40 morphis: Well we need to modify it anyway Apr 10 09:19:44 yes Apr 10 09:19:52 but lets not change it that way Apr 10 09:19:55 just fix its bugs Apr 10 09:20:04 You suggest we do the minimal changes to fix the issue and PR to upstream? Apr 10 09:20:24 right Apr 10 09:20:38 Then later if LG SVL decides to ever publish to public again we can do a PR for cleanup? Apr 10 09:20:58 what exactly do you want to fix? Apr 10 09:21:30 The json v2 vs v4 problem which gives the excessive "keyword unknown" in logs Apr 10 09:21:42 Let me PR Apr 10 09:21:58 You think we should have our own webos-ports/master branch? Apr 10 09:22:10 sure Apr 10 09:25:44 OK did the PR Apr 10 09:25:52 Have a look and see if it's good like this. Apr 10 09:33:18 Herrie|Veer: I think we should do it this way for now Apr 10 09:40:53 morphis: OK. Not 100% sure we'd need to update LSMessageJsonParser in for example Src/BroadcastTimeHandler.cpp too Apr 10 09:40:55 ? Apr 10 09:50:14 Herrie|Veer: not sure too Apr 10 09:52:26 OK lets first try without then Apr 10 09:53:11 Does this look OK? I had a look at some of the other luna ones and made changes accordingly so we use our own fork instead of OWO: https://github.com/webOS-ports/meta-webos-ports/compare/dizzy...Herrie82:patch-50 Apr 10 09:55:13 Need to update to the right commit after PR has been merged of course ;) Apr 10 10:30:56 morphis: Also did the Lumberjack mjson -> json-c conversion with help from nizovn. Probably needs some tlc for integration i.e. upstart vs systemd etc Apr 10 10:31:29 Recipe I have as well might need some tlc too assigned a new feature for that to you Apr 10 10:38:05 Herrie|Veer: ok Apr 10 11:36:14 If you could integrate it in an image in the near future it would be a lot easier to work on the actual Enyo 2 app and make improvements to the service etc Apr 10 12:20:11 morphis: There's a PR by me to Dizzy for Lumberjack recipe provided by nizovn: we're quite sure it needs some TLC since we're both not very experienced with it ;) Apr 10 12:23:13 Hi Apr 10 12:23:14 :-) Apr 10 12:40:45 Feniksa: Hi :) Apr 10 12:52:05 If someone need help with db8 - you are welcome :-) I have some expertiese with db8 :-) Apr 10 12:52:26 maybe for developing or if it have some bug :-) Apr 10 13:00:27 Feniksa: on which level? Apr 10 13:01:37 Herrie|Veer: will have a look Apr 10 13:05:42 morphis: Sorry? Apr 10 13:06:07 Feniksa: on which level of db8 do you have expertise, on the API or internal one? Apr 10 13:06:20 morphis: API + internals Apr 10 13:06:41 sounds great :) Apr 10 13:07:03 :-) Apr 10 13:09:30 currently nothing I know about in that direction Apr 10 13:09:44 maybe DougReeder has something Apr 10 13:11:00 Also, I develop fork of db8 with some internal changes. Maybe intresting too :-) For example - switch to old logging engine, etc... Apr 10 13:16:48 Feniksa: really? Apr 10 13:17:05 yep. -> https://github.com/feniksa/indb8 Apr 10 13:18:03 Feniksa: one question: what are the different engines db8 has for? Apr 10 13:18:15 or was is the advantage of each one? Apr 10 13:19:21 morphis: On low level db8 use no-sql library to store phisical data. To properly work with low-level library (for example, berkeleydb or leveldb) db8 have "engine" Apr 10 13:19:30 sure Apr 10 13:20:01 Currently, db8 support only "leveldb" and "sandwich" Apr 10 13:20:12 Both of this engines use "leveldb" library. Apr 10 13:20:39 differents - leveldb engine haven't atomic transactions Apr 10 13:20:43 sandwich have :-) Apr 10 13:20:57 And - berkeley engine is broken :-( Apr 10 13:21:11 Theoretically it is possible to fix it Apr 10 13:21:49 * DougReeder wakes up and reads Apr 10 13:25:28 By the way, what build system used for luna-os? Apr 10 13:26:06 Feniksa: We use openembedded Apr 10 13:26:45 Herrie|Veer: btw. who does the lumberjack enyo2 app? Apr 10 13:27:05 morphis: Sugardave said he could work on it :) Apr 10 13:27:08 morphis: I believe it was sugardave Apr 10 13:27:40 Transactions are not part of the DB8 API. I’m not sure what advantage we get from the engine supporting them Apr 10 13:27:45 By the way, If someone use gentoo as workstation, I have non-official repo with ebuilds for openwebos. Apr 10 13:28:11 Feniksa: neat. I use Arch, tho' Apr 10 13:28:50 DougReeder: DB8 opens different databases. From engine perpective, db8 open 5 leveldb database... And, leveldb DOESN'T support transaction beetwin databases Apr 10 13:29:37 so, db8 MUST guarantee atomic transaction (even if transaction logic goes from low-leveldb no-sql library) Apr 10 13:29:51 it is main difference, why db8 have sandwich and leveldb engines Apr 10 13:29:57 Feniksa: I think we might need some help with db8 watches for the Messaging Enyo 2 app ;) Currently it has none ;) Apr 10 13:30:15 DougReeder: I'm correct there right? Apr 10 13:30:41 Well, we’re going to refactor that; Apr 10 13:30:44 Herrie|Veer: it will be greast, if I can help Apr 10 13:30:50 but we will need a watch, yes. Apr 10 13:31:25 DougReeder: Not sure how you are time wise, maybe Feniksa could help with some of the refactoring too? Apr 10 13:36:14 * DougReeder nods Apr 10 13:38:30 Feniksa, currently, Messasging has both the chat threader and app writing to DB8. (Every message is part of a thread) We’re changing the architecture a bit so the app calls the chat threader to create a message, and the chat threader creates the message (and thread if necassary) in DB8. Apr 10 13:40:16 The display part of the app will use a DB8 watch to get the latest messages, whether created by the app or incoming. Apr 10 13:40:43 DougReeder: ok. Use watch for getting notification about incoming data :-) Apr 10 13:40:47 greate idea Apr 10 13:42:10 Feniksa, what are the 5 LevelDB databases used by DB8? Apr 10 13:42:14 Feniksa: Messaging wasn't open sourced so needed complete rewrite in Enyo 2. Apr 10 13:42:45 So we have an initial version but it has no watches, so currently necessary to restart the app to see new msgs :P Apr 10 13:42:47 Far from ideal :P Apr 10 13:43:30 And it's currently not possible to send SMS to a new number due to the current chatthreader code either. Only reply to messages works :P Apr 10 13:44:25 DougReeder: database for storing: objects, idseq, permissions, quotas, kinds. In other words, when you start db8 and open database, on low-level db8 will open 5 leveldb databases with Apr 10 13:44:29 leveldb engine Apr 10 13:45:25 Herrie|Veer: I can help only with writing requests for watching :-) Apr 10 13:45:33 I am not familiar with node :-) Apr 10 13:45:51 What sorts of operations require a cross-leveldb transaction? Apr 10 13:46:29 Oh, creating a new object with a new ID, of course. Apr 10 13:46:59 DougReeder: that a main problem - leveldb DOESN'T support cross databases transaction (like berkeleydb for example). Thats why in db8 was created sandwich engine Apr 10 13:47:28 sandwich engine multiplex all queries to one leveldb engine Apr 10 13:47:50 Hmmm, does that cause a performance hit? Apr 10 13:49:12 DougReeder: small performance impact on multiplexing (near 5%) - this is cost of atomic transaction for leveldb :-( Apr 10 13:49:33 5% is worth it for atomic transactions. Apr 10 13:50:11 So, does sandwich need more work to be production-ready? Apr 10 13:52:07 DougReeder: 5% is in wost case. In average near 1%. This impact because for each stroing key db8 add database identifier. Apr 10 13:52:18 for sandwich engine Apr 10 13:53:32 And it is not big price for full support of atomic transactions for leveldb. Apr 10 13:53:47 chromium project made very similar logic :-) Apr 10 13:55:13 So, is sandwich production ready? Apr 10 13:55:42 DougReeder: yep Apr 10 13:56:03 DougReeder: by the way, what version of db8 on luna-os ? Apr 10 13:56:20 Well, I would support switching to sandwich in LuneOS, then. Apr 10 13:56:36 Feniksa: We use latest Open webOS one I think? Apr 10 13:56:42 I have no idea. How does one get the version number? Apr 10 13:56:54 DougReeder: one min Apr 10 13:58:30 Seems we already use the leveldb and sandwich options for building with OpenEmbedded Apr 10 14:01:06 See: https://github.com/webOS-ports/meta-webos-ports/blob/ba0abb24ed43c8c6a63f25fc899e3f4037b706e9/meta-luneos/recipes-webos/db8/db8.bb Apr 10 14:08:13 Feniksa, how can we check which engine is in use? Apr 10 14:13:41 DougReeder: Herrie|Veer: than db8 compilled with supporting both engines - sandwich and leveldb. By default it should use sandwich Apr 10 14:14:18 Can we test that somehow? Apr 10 14:15:15 DougReeder: yes. Compile db8 with -DWEBOS_CONFIG_BUILD_TESTS=true, and run unit test for db8. Apr 10 14:16:03 for example: MOJODB_ENGINE=sandwich ./test_db_core Apr 10 14:16:06 Is -DWEBOS_CONFIG_BUILD_TESTS:BOOL=TRUE equivalent? Apr 10 14:16:10 yes Apr 10 14:16:17 same Apr 10 14:17:38 Hmmm, find / -name test_db_core doesn’t find a file with that name on device Apr 10 14:18:32 one moment, I will try to find Apr 10 14:19:13 We might not be copying the test code to device Apr 10 14:19:42 maybe no tests on device... Apr 10 14:19:59 DougReeder: heh Apr 10 14:20:05 I know, how you can easy Apr 10 14:20:07 check Apr 10 14:20:13 just go to /var/db/main Apr 10 14:20:14 on device Apr 10 14:20:19 What files you see there? Apr 10 14:20:30 just execute ls :-) Apr 10 14:20:36 in /var/db/main Apr 10 14:20:38 000098.log LOCK MANIFEST-000088 Apr 10 14:20:39 000100.ldb LOG _ldblock Apr 10 14:20:40 CURRENT LOG.old _version Apr 10 14:20:48 hah, this is sandwich engine Apr 10 14:20:56 Excellent! Apr 10 14:29:35 Seems my home internet connection is a bit unstable today LOL :P Apr 10 14:34:30 Feniksa, can you please look into whether the tests are really being run when we build? Obviously the flag is set. Apr 10 14:36:10 And, should we change -DWEBOS_DB8_BACKEND:STRING='leveldb;sandwich' to -DWEBOS_DB8_BACKEND:STRING='sandwich' ? Apr 10 14:38:01 DougReeder: flag WEBOS_CONFIG_BUILD_TESTS only trigger to build and install db8 tests in sandbox Apr 10 14:38:20 You should specify additional packages and set to this package db8 tests Apr 10 14:38:29 add to db8.bb Apr 10 14:38:31 PACKAGES =+ "${PN}-tests" Apr 10 14:38:35 and something like Apr 10 14:38:40 FILES_${PN}-tests = "${libdir}/${PN}/tests/*" Apr 10 14:38:44 Can you put together a PR? Apr 10 14:39:22 DougReeder: one momemnt Apr 10 14:39:28 I will take a look: https://github.com/webOS-ports/meta-webos-ports/blob/ba0abb24ed43c8c6a63f25fc899e3f4037b706e9/meta-luneos/recipes-webos/db8/db8.bb Apr 10 14:40:28 DougReeder: /meta-luneos/recipes-webos/db8/db8.bb looks correct. db8 unit tests should be on device in /usr/lib/db8/tests/* Apr 10 14:40:56 I am not familiar, how luna-os meta works... but bb looks right :-) Apr 10 14:41:06 No such idrectory on device Apr 10 14:41:39 DougReeder: can you try to find db8-tests package on build host (where you build luna-os)? Apr 10 14:42:09 db8 unit tests should go to db8-tests package, and those package should be installed on device. Apr 10 14:42:18 No such directory Apr 10 14:42:33 If you have release build and developer build for luna-os, than db8-tests should be on dev build Apr 10 14:42:45 db8-tests is name of package Apr 10 14:42:46 :-) Apr 10 14:42:53 for example, db8-tests.ipk Apr 10 14:42:58 or db8-tests.epk Apr 10 14:43:19 Feniksa: We use ipk still ;) We currently have dev build only Apr 10 14:47:04 DougReeder: I think, luna-os should have packagegroup for tests Apr 10 14:47:08 https://github.com/webOS-ports/meta-webos-ports/tree/ba0abb24ed43c8c6a63f25fc899e3f4037b706e9/meta-luneos/recipes-core/packagegroups Apr 10 14:48:20 DougReeder: try to add packagegroup "packagegroup-luna-test.bb" Apr 10 14:48:38 Um, add it to what? Apr 10 14:49:12 It would probably be best for you to build yourself; build the emulator if you don’t have a device. Apr 10 14:49:36 DougReeder: I will try... also I have old one HP touchpad Apr 10 14:49:58 * DougReeder nods Apr 10 17:49:21 Herrie: have lumberjack building now Apr 10 18:07:35 Herrie: pushed all changes and triggered new testing build with it Apr 10 18:46:24 Herrie: ping Apr 10 18:46:59 Herrie: can you try to break my new tabbed launcher drag'n'drop code? I think I've got something pretty stable now Apr 10 18:47:31 Getting rid of VisualDataModel was the key: it's far too buggy. Apr 10 18:50:05 now I still have to test the save/restore of the fullauncher state into db8, and we'll have something great Apr 10 18:53:34 Tofe: you should have HaDAk take a shot at it. IIRC, didn't he break the drag and drop in the normal launcher within 10 minutes of getting it set up? :P Apr 10 18:53:59 i'm AMAZING at QA Apr 10 18:54:05 or, more to the point, breaking shit. Apr 10 19:05:13 He broke it, but I think that's when he changed the layout of the whole thing :) Apr 10 19:54:55 morphis, DougReeder: so i should make both services(org.webosports.location and com.palm.location) to be on both buses? Apr 10 20:24:36 morphis: Great, you didn't include teh luna-sysservice yet? Apr 10 20:26:11 Tofe: great stuff will give it a go Apr 10 20:30:46 elvispre: ping Apr 10 20:31:06 Herrin: long Apr 10 20:31:28 Autocorrect! Apr 10 20:31:53 LOL ;) Apr 10 20:32:11 Finally about to give your small wifi fix a try for Settings on TP Apr 10 20:32:25 Been away a lot this week and don't have working ADB on work laptop currently :P Apr 10 20:32:42 How's the lock stuff coming along? Ready for me to test already or still lots of WIP? Apr 10 20:33:31 Actually, I may have the lock stuff completely working. I am about to test it now. Apr 10 20:33:48 If it works, I just need to make it look more sensible. Apr 10 20:34:13 OK :) Apr 10 20:35:35 Tofe: Drag & Drop is pretty SOLID now! Apr 10 20:35:50 Just 1 problem, when I try to drag to another tab and it's behind the DONE button it gets stuck ;) Apr 10 20:36:07 Downloads tab is OK but further to the right not Apr 10 20:36:13 But it's for sure a big improvement! Apr 10 20:39:05 Herrie: ok, I'll fix that, work on save/restore with db8, and we're good to go Apr 10 20:50:05 + x for delete ;) Apr 10 20:50:14 But that should be minor in general right? Apr 10 20:52:21 nizovn, we should work out a consensus plan to open up sensitive APIs, with proper user interaction. Apr 10 20:53:19 So, I wouldn’t put org.webosports.location and com.palm.location on the public bus until we have a plan for implementing the system UI. Apr 10 20:57:53 Permissions UI should be reworked from webOS, IMNSHO. Permissions for different things had different system UI. Apr 10 21:02:02 DougReeder: ok Apr 10 21:03:52 Probably, we need two bits of UI: 1) a pane which shows all permissions for an app (geolocation, read all contacts, write all contacts, read all calendar events, write all calendar events, etc) 2) dialogs as needed. Apr 10 21:04:24 No phone OS has really gotten this right yet - it’s a chance for us to shine. Apr 10 21:06:34 Every permission should have an “unknown” value. If an app tries to use it, the system should put up a dialog. Apr 10 21:07:06 If a permission has been explicitly denied - no system UI, the call just fails. Apr 10 21:08:07 elvispre: The wifi one seems good :) WIll merge Apr 10 21:08:08 Probably our set of permissions will look something like https://developer.mozilla.org/en-US/Apps/Build/App_permissions Apr 10 21:08:31 I noticed that the spinner is a bit off with the wifi icon when it's spinning. Might be good to center them under each other? Apr 10 21:11:22 An app gets installed with no permissions. As APIs are called, the user grant or denies permissions. Apr 10 21:11:45 At any time, the user can open the pane and see which permissions have been granted or denied. Apr 10 21:12:38 Herrie you got mail i did some more tweeking on week view for calander Apr 10 21:13:01 cobblemonster: Build & deploying to TP now Apr 10 21:13:35 ok Apr 10 21:14:40 Seems OK Apr 10 21:14:52 Red line only shows for current week, not sure that's what we want Apr 10 21:14:55 Or also for other weeks Apr 10 21:16:40 well that the way day view also worked so i copied it Apr 10 21:17:15 easy if thou Apr 10 21:18:30 fix that is Apr 10 21:19:23 Yeah not sure what we want there tbh Apr 10 21:19:28 Let's think a bit about it Apr 10 21:19:34 Looks OK on N4 Apr 10 21:19:42 Just managed to cause a Luna Next Restart though :P Apr 10 21:20:26 opps Apr 10 21:21:00 let me know when toy find out Apr 10 21:21:56 right now the red line is there only on current day or current week Apr 10 21:23:09 cobblemonster: Restart is probably something with the webappmgr: https://bpaste.net/show/7e2d420e0941 **** ENDING LOGGING AT Sat Apr 11 02:59:58 2015