**** BEGIN LOGGING AT Tue Jul 31 02:59:59 2012 Jul 31 15:27:03 hello ? should I create my db8 database under {myapp}/services/configuration/db/kinds in an enyo app> Jul 31 15:27:04 ? Jul 31 15:33:33 where can I find some examples on how to create a db8 db for an enyo app? Jul 31 15:55:43 hello hisa_py Jul 31 15:56:01 does your app have a service? Jul 31 15:56:53 if not, you should be able to put it in the main app folder, under configuration/db/kinds Jul 31 15:57:16 or you can PalmService call palm://com.palm.db/ with the putKind method Jul 31 15:59:35 hi EricBlade Jul 31 16:00:08 I just need to create some sort of database to store references to images and some other attributes related to them ? do I need a service? Jul 31 16:01:15 hisa_py: I wouldn't even use DB8 then. Jul 31 16:02:24 what would you use?? the problem is that the database can become large ? more than 5 MB Jul 31 16:02:45 hisa_py: Ah, well then DB8 is probably your best bet. Jul 31 16:03:09 hisa_py: Or you could use some sort of SQLite database. Jul 31 16:03:16 my question is ? How do I create the database when installing the app ? and how not to recreate it when the user launch the app Jul 31 16:03:44 node services are good if you have any operations that require significant processing time, or handy for some things that can't be done in an app, such as direct file access Jul 31 16:03:45 I'm reading code of db-simple example that comes with the SDK Jul 31 16:04:12 EricBlade: That's true, but it's also a pain to get set up. Jul 31 16:04:33 can be, but i'm not suggesting that he needs a service, either. Jul 31 16:04:49 you can define your kind in configuration/db/kinds and it should be loaded when the app is installed Jul 31 16:04:53 hisa_py: You should read this, I feel like it'll help you out. https://developer.palm.com/content/api/reference/services/db8.html Jul 31 16:05:00 EricBlade: True enough. Jul 31 16:05:00 then you can put and get whatever Jul 31 16:05:37 Actually, if you don't care about the neat syncing features of DB8 Jul 31 16:05:39 I would use this: https://github.com/onecrayon/database-webos Jul 31 16:06:56 that's another option as well Jul 31 16:07:21 here's another document on db8 https://developer.palm.com/content/api/dev-guide/mojo/db8.html Jul 31 16:08:22 ok guys .. If I define my kind in configuration/db/kinds ? Do I need to declare the service in appinfo.json? ? here https://developer.palm.com/content/api/dev-guide/synergy/creating-synergy-contacts-package.html#appendix-a-packageserviceaccountsapp-files is the only doc I found where they talk about the directory configuration/db/kinds Jul 31 16:08:46 but is under service so it is service/configuration/db/kinds Jul 31 16:08:55 moreover, that example is for a mojo app Jul 31 16:09:08 and the declare a package.json inside a package dir Jul 31 16:09:15 declare a service Jul 31 16:09:34 so in enyo ? it is not necessary to declare the service in any .json file? Jul 31 16:09:56 do I just need to create my kind in configuration/db/kinds? Jul 31 16:10:34 I've already researched about database-webos but is not going to fullfill my requirements in the future Jul 31 16:15:21 I will need sync of db8 or whatever other solution I find ? Jul 31 16:18:20 hisa_py: applications and service can both have the configuration dir Jul 31 16:19:00 i haven't actually done it without a service, but it looks like it should work Jul 31 16:21:07 if you can get to a command line on device, you can do something like: luna-send -n 1 -a com.hisa.myapp palm://com.palm.db/search '{"query":{"from":"com.hisa.myapp.mydbkind:1"}}' Jul 31 16:21:26 and that should either return an error that there is no such kind, or return anything in that db kind Jul 31 16:21:39 EricBlade ? what are the advantages of creating a service? ? I can imagine a more organized code but don't know about added features Jul 31 16:22:35 hisa_py: well, node.js services are executed completely in parallel from webkit Jul 31 16:23:31 on the touchpad, you have anything that's available in node.js 0.4, it's most commonly used for direct file system access, but i use it for a lot of stuff in my current google-voice interface, mostly communicating to the server and parsing HTML Jul 31 16:24:16 where can I find node.js docs for touchpad? .. Jul 31 16:24:33 http://nodejs.org/docs/v0.4.0/api/ Jul 31 16:24:41 sorry for that question and thanks Jul 31 16:26:54 I'll try to extend a db8 service for my app ? If can Jul 31 16:27:30 sorry .. thank you guys ? Jul 31 16:32:32 how more question ? do you know how to query from enyo if a kind exists ? Jul 31 16:33:34 i'm not sure exactly how to use the DbService enyo kind, but you should be able to use { name: "searchDb", kind: "PalmService", service: "palm://com.palm.db/", method: "search" } .. this.$.searchDb.call({ query: { from: "mydbkind:1" } }); which would return anything in your dbkind .. and it would return an error if the kind doesn't exist Jul 31 16:34:05 if you add an onSuccess and onFailure to the PalmService component, it should call each one with either results or an error Jul 31 16:38:15 anyone know if the Plaxo Synergy service is packaged up anywhere? Jul 31 16:38:56 plaxo? Jul 31 17:08:33 thank you EricBlade Jul 31 20:41:53 so Jul 31 20:42:03 do I sell my Pre3 or keep it? that's the question Jul 31 20:42:48 keep! :) Jul 31 20:43:10 bnceo`: give it way :P Jul 31 20:43:32 lol. so not giving it away Jul 31 20:43:48 I was going to keep it to help alpha/beta test open webOS on it Jul 31 20:43:50 bnceo`: you either /give/ it to me, or you keep it. that, or satan himself will come and haunt you! Jul 31 20:44:17 but if it's not being supported, then it has no use. I'll use the $$ to get another backup phone Jul 31 20:45:37 EricBlade: re:plaxo it's the synergy contacts example at developer.palm.com (which is up today :) ) Jul 31 20:46:13 oh, i thought it sounded familiar Jul 31 20:46:23 i think it's included in the sdk somewhere Jul 31 20:48:31 ah, cool. will hunt there then Jul 31 20:48:31 tnx Jul 31 21:04:14 where can I find a complete documentation of db8? all the docs in developer.palm.com are really confusing ? I need to know how to create something like a catalog to reference images Jul 31 21:09:35 Anyone here have a DVT touchpad? Jul 31 21:09:41 Or has anybody had one any some point? Jul 31 21:14:33 bnceo`: do you care what open webos will work on or what HP will promise to support? Jul 31 21:14:52 because I think it would be ridiculous to imagine that pre3 won't be a port target Jul 31 21:40:57 * RagingMind hugs his pre3 Jul 31 21:51:01 * madnificent would hug his veer, but it's too tiny Jul 31 21:53:58 * fxspec06 hoards all his devices. all for himself. Jul 31 21:56:59 fxspec06: screaming "MINE. MINE! THEY'RE ALL MINE!" Jul 31 22:15:50 madnificent: but they are. they really are mine. all mine. all of them. every. single. one. Jul 31 22:16:11 * fxspec06 buaha. buahaha. buahahahaha Jul 31 22:16:43 http://www.youtube.com/watch?v=7edeOEuXdMU Jul 31 22:30:23 fxspec06: exactly! Aug 01 00:35:08 i kinda saw openwebos not supporting current devices right from the start, as they dont support standard kernel they are targeting Aug 01 00:35:54 as nice as the pre3 is im all working with new hardware, i just want webos not the "pre3" Aug 01 00:38:33 Sucks no TP support though Aug 01 00:38:47 yeah that does Aug 01 00:39:16 but that would mean someone has to work on getting that supported rather than "moving forward" Aug 01 00:40:09 moving forward the the chance of a mnau giving a darn Aug 01 00:40:21 Probably graphics are the big issue with the tp though Aug 01 00:41:04 tbh there is enough hacking of android/ubuntu on touchpad community will make it work Aug 01 00:41:59 hewball: that depends on whomever thinks it is worth it or not Aug 01 00:42:26 yes exactly Aug 01 00:42:42 if a bunch of stuff won't work or breaks, then it might not be worth it Aug 01 00:43:00 i'm still waiting for webos 3.0 on my pre 2 Aug 01 00:43:15 since the device "officially supports" it Aug 01 00:57:49 yeah the open driver situation of all arm devices is pretty poor right now Aug 01 01:13:27 same with the raspberry pi graphics Aug 01 01:17:31 wasn't the veer going to get an update too? Aug 01 01:19:43 madnificent: for touch to share yes Aug 01 01:23:21 hewball: my veer and my touchpad want to have some sexy time, but they can't touch! ;_; Aug 01 01:31:44 well if it's any consolation, there was a topaz build of the lsm in the original source drop. but it's gone now. Aug 01 01:35:51 http://www.engadget.com/2012/07/31/no-open-webos-support-for-existing-webos-devices-no-soup-for-yo/?a_dgi=aolshare_twitter Aug 01 02:06:04 then sadly, it'll be a homebrew effort Aug 01 02:06:07 * madnificent sigs Aug 01 02:07:31 i am extremely curious why they are releasing it then... afaict, that's would have become their only install base Aug 01 02:08:06 extremely curious is an awesome phrase Aug 01 02:08:09 also, would we be able to take one of the custom kernels and use those to boot the crap? Aug 01 02:08:20 * fxspec06 thinks they have hardware lined up Aug 01 02:08:42 remember, meg said webos tablets were *(well i can't remember the exact wording) likely Aug 01 02:08:53 fxspec06: whatever they're doing, the smokescreen they're putting up is big enough to capture the ghostbusters Aug 01 02:09:22 well gee all i can hope is it's better than the crap they pulled two february's ago Aug 01 02:09:31 fxspec06: it could make sense though Aug 01 02:09:38 they're walking the "it needs to be standard" route Aug 01 02:09:41 AND Aug 01 02:09:46 "NO MORE ANNOUNCING DEVICES THAT AREN'T READY!" Aug 01 02:09:49 *cheers* Aug 01 02:09:55 they have (possibly two) dev teams that aren't allowed to talk to each other Aug 01 02:10:01 "NO MORE FAKE ANSWERS!" *cheers* Aug 01 02:10:20 "LEGACY OWNERS WILL BE REWARDED!" *cheers* *bows* *ovation* Aug 01 02:10:33 however, how can people not be allowed to communicate on standardized things... if everything is standard, then launching yawod (yet another webos device) is simple Aug 01 02:18:35 simple Aug 01 02:18:50 lol Aug 01 02:19:06 there's practically nothing about it that's simple, but we can pretend =P Aug 01 02:19:55 fxspec06: i don't know actually... it isn't a one-day job. but it'll be vastly cheaper than constructing the complete device. add to the mix that hp is likely bitten it its rear by hp's announcement and you may have a start (same goes for samsung/acer/...) Aug 01 02:23:07 they're most likely just going to partner up and let someone else make "future devices" Aug 01 02:23:36 i wonder what wosos is gonna look like. definitely entirely new look and feel Aug 01 02:24:04 it's gonna be like, webos 3.0 v2.0 Aug 01 02:24:20 which you would think would be 4.0, but somehow translates to 1.0 o.O Aug 01 02:25:51 fxspec06: with 4.0 they'd be walking android territory ;) Aug 01 02:30:13 android's not doing too bad! **** ENDING LOGGING AT Wed Aug 01 02:59:59 2012