**** BEGIN LOGGING AT Mon Apr 16 02:59:59 2012 Apr 16 03:02:38 video games for what platform Apr 16 03:15:07 EricBlade, I see your comment up on the front page on woot :D Apr 16 03:15:35 wrea: woot! Apr 16 03:15:48 invalidopcode: well, no. i can toggle the online/offline status of it, but it doesnt' do anything Apr 16 03:16:49 does anyone want Cut the Rope for webos? Apr 16 03:18:48 EricBlade: PROGRESS! Apr 16 03:18:55 baboo: sure Apr 16 03:19:15 baboo: though personally, Draw Something for webos would be nicer :) Apr 16 03:19:23 i'll try to convert the HTML5 version Apr 16 03:19:43 what's draw something Apr 16 03:20:25 baboo: its kindof like hangman, you draw a picture then your friend has to guess what you drew Apr 16 03:20:55 http://en.wikipedia.org/wiki/Draw_Something Apr 16 03:21:20 i see Apr 16 03:23:07 yeah Apr 16 03:23:39 so, my current mystery, is where is it getting the string "SMS Account" from Apr 16 03:24:06 its clearly black magic Apr 16 03:24:17 i'm doing the insane thing, and grepping the entire touchpad Apr 16 03:24:37 i should probably do this on a clean device that doesn't have 16 gigs of data in /media/internal Apr 16 03:24:46 i tried that earlier.... it takes a *really*really* long time Apr 16 03:25:00 or at least exclude /media/internal from it Apr 16 03:25:07 yeah Apr 16 03:25:29 maybe just grep /usr, /var and /etc? Apr 16 03:28:05 ok "SMS Account" is the "loc_name" property of the com.palm.palmprofile.sms service Apr 16 03:28:26 or, wait Apr 16 03:28:46 that's the property given to the loc_name attribute of the -account- in the com.palm.palmprofile.sms service Apr 16 03:29:40 maybe Apr 16 03:30:43 no that's what's setup in the capabilityProviders Apr 16 03:31:25 so, somehow i'm flagging that the SMS account is online Apr 16 03:32:14 hahahah nice job. that takes skill :P Apr 16 03:34:29 well thanks to your encouragement, we've almost got another step figured out Apr 16 03:34:39 this whole "taking an entire day to figure out a step" thing is really crappy though Apr 16 03:35:52 http://pastebin.com/JCg2bECX Apr 16 03:36:37 hahah yay! glad to be of service Apr 16 03:36:56 where's DougReeder at Apr 16 03:37:06 idk, its kindof run... we should just have a monthly "Discovering the Secrets of WebOS" day Apr 16 03:38:24 DougReeder, or anyone else who understands db8 Apr 16 03:39:05 oh btw i have a ls-monitor dump of the communication when you send and receive a yahoo im. would that be helpful? Apr 16 03:47:01 i have to go to bed, goodnight Apr 16 03:55:33 hello Apr 16 03:56:29 hello wapp Apr 16 04:04:46 invalidopcode: well it cant hurt Apr 16 04:05:11 ok, ill email it to you since it might contain id stuff Apr 16 04:08:24 can I ask a pre plus tech question or is this the wrong chat room? Apr 16 04:11:10 you may as well Apr 16 04:12:06 invalidopcode: blade.eric@gmail.com Apr 16 04:12:25 I bought a pre 2 and I wanted to keep the pre + as a function browser/computer/music play... Apr 16 04:12:46 EricBlade: i know, hold on, im replacing my email and the recipient email so its easier for you to find them Apr 16 04:12:46 I put the pre + on aitplane mode and then activated he pre2 Apr 16 04:13:38 I did not turn off the wifi on hte pre+ so when I turned it back on it told me that an other device was using the palm profile.... Apr 16 04:14:11 Now my pre +is stuck on the blue screen with the rotating circle.... Apr 16 04:14:28 it is erasing itself, it will eventually stop Apr 16 04:14:42 what can I do to get past this without losing the data on the pre + Apr 16 04:14:58 pretty sure you are too late, but you might want to ask over in #webos-internals Apr 16 04:15:08 there's something on the webosinternals pages about preventing a device wipe Apr 16 04:15:14 but that's about all that i know Apr 16 04:16:19 ok thanks I did not know there was a webos interals room. Apr 16 04:16:24 EricBlade: sent Apr 16 04:17:18 jeebus Apr 16 04:17:40 hahaha Apr 16 04:17:56 i've got to zoom it in like 150% in the browser before i can even make out that it's text Apr 16 04:18:14 i replaced my email with and the person i was sending it to to Apr 16 04:19:10 What are you guys up to? Apr 16 04:20:24 rrix: creating a messaging synergy service Apr 16 04:20:38 ... or at least trying to Apr 16 04:20:51 Nice nice Apr 16 04:20:57 invalidopcode: you don't happen to have a really clean device you can do that on would you? Apr 16 04:21:07 I gave up on that after realising there wasn't docus, lol Apr 16 04:21:24 EricBlade: nope, sorry :/ Apr 16 04:21:59 alrighty, then. Apr 16 04:22:02 here's what i'm gonna do Apr 16 04:22:15 i'm gonna boot my developer pad into webos, since it's been in cm7 for like 3 months Apr 16 04:22:19 wipe it Apr 16 04:22:43 and capture a ls-monitor from account creation to sending a message Apr 16 04:23:39 rrix: would you do one if you had docs? or at least a semi functioning example? Apr 16 04:24:34 ok, sounds good. if you don't mind, i would like to see that dump afterwards if possible Apr 16 04:25:27 ok i guess i don't really need to wipe it it only had 4 accounts on it Apr 16 04:26:47 wow a stock 3.0.5 touchpad with nothing on it sure is fast Apr 16 04:27:12 hahah yeah Apr 16 04:28:53 hey what's your yahoo Apr 16 04:29:46 * DougReeder waves hello Apr 16 04:29:48 hey DougReeder! Apr 16 04:29:57 * DougReeder smiles Apr 16 04:30:06 EricBlade: it should be the one i emailed you from (i don't want to say it on public irc :P) Apr 16 04:30:22 yay never fear, DougReeder is hear Apr 16 04:30:24 *here Apr 16 04:30:38 Gosh! Apr 16 04:30:54 DougReeder: invalidopcode and i are working on cracking the Messaging Connector nut Apr 16 04:31:10 invalidopcode: i added you Apr 16 04:31:16 send me a message or something Apr 16 04:31:32 Ah, yeah. I've grepped through everything looking for stuff at times Apr 16 04:31:43 DougReeder: yeah i just completed a grep -r on / .. ugh Apr 16 04:32:08 ...but I haven't actually written a Synergy connector. Apr 16 04:32:30 Just Calendar DB8 entries Apr 16 04:32:32 anyway, i managed to get something to show up in the messaging app, but i don't understand what, and i figured someone who understands db8 could point me to where i could gain some information Apr 16 04:32:41 EricBlade: Yes, eventually; I'd like to host my own XMPP server but I'm stuck on gtalk for now since messaging-plugins never actually worked Apr 16 04:32:50 (on my device, anyways) Apr 16 04:32:55 I can try, but I'm not at a computer Apr 16 04:34:43 I presume you ned to create DB8 kinds that inherit from the build-in kinds Apr 16 04:35:05 ohh.. well, yes Apr 16 04:35:27 what i'm wondering, is how do i find out what fields that built in ones support Apr 16 04:35:50 yeah DougReeder it looks like the synergy services write to a database and then the messaging app just reads from it Apr 16 04:35:57 The messagingnones aren't documented? Apr 16 04:36:23 messaging is not documented in the slightest. invalidopcode and i have been poring over C source and Javascript source and JSON files all evening Apr 16 04:36:40 (nods) Apr 16 04:36:58 what i've managed to do, is put one of my custom database kinds in .. which caused the messaging program to recognize the existence of something Apr 16 04:37:03 * invalidopcode leveled up in reading C code today Apr 16 04:37:15 Are there schema for them in the config files? Apr 16 04:37:25 i don't know where the config files are Apr 16 04:37:42 i located a bunch of files in /etc/palm/db that just have lists of indexes Apr 16 04:37:51 They look like other JavaScript service schema, IIRC Apr 16 04:37:59 EricBlade: do you have the imlibpurpleservice code still open? Apr 16 04:38:16 invalidopcode: i can get it open .. i need to turn on my third monitor .. and buy a fourth one.. heh Apr 16 04:38:23 because if you do, look under files/etc/palm/db/kinds/ Apr 16 04:38:30 haha Apr 16 04:38:54 i think that *might* be what DougReeder is talking about Apr 16 04:40:09 yeah, the files with indexes should also have schema Apr 16 04:40:23 ok, yeah, those are the same as what's in the /etc/palm/db on the device, it's a list of indexes .. i can glean some property names that might belong there Apr 16 04:40:41 but i don't see where any actual properties might be defined Apr 16 04:41:40 how about back in the utils.js file? Apr 16 04:41:47 so, doug, what I just did is this .. http://pastebin.com/JCg2bECX Apr 16 04:41:55 just made up some stuff Apr 16 04:42:01 it puts it into the database Apr 16 04:42:28 and then i get an IM account in my system called "SMS Account". which is the name of the Palm Profile's messaging service, not my service. Apr 16 04:43:07 Ah, look at the JSON files that define the indexes for the messaging kinds Apr 16 04:43:26 so i thought maybe i need to somehow associate my database kinds to the account, which is associated to the service Apr 16 04:44:44 DougReeder: would that look like this: http://pastebin.com/kRkwQUuC ? Apr 16 04:45:10 ok my loginstate kind extends the com.palm.imloginstate Apr 16 04:45:16 * invalidopcode has very little experience with webos databases Apr 16 04:45:40 yes, that's the sort of file you're looking for. Apr 16 04:45:54 EricBlade: i wonder if it is recognizing your account as the SMS one because if the _id: 1 Apr 16 04:46:01 ...but that file has no schema. :-( Apr 16 04:46:13 what would a schema look like? Apr 16 04:46:18 yeah i tried changing that around, i added one with _id 5, and i got two of the same entries Apr 16 04:46:31 interesting... Apr 16 04:47:01 the /etc/palm/db/kinds/com.palm.imloginstate just reveals a "state" and a "_rev" property Apr 16 04:48:12 what's are those files in the activities folder for? like this one: http://pastebin.com/rPx3B0XD Apr 16 04:48:26 https://developer.palm.com/content/api/reference/config/services.json.html has a stub example Apr 16 04:49:27 Google "JSON schema"for the actual format Apr 16 04:50:27 what's it used for? Apr 16 04:50:45 invalidopcode: that looks like JSON format of what the ActivityManager service does Apr 16 04:51:08 EricBlade: ah ok Apr 16 04:51:08 DougReeder: yes, i have the service operating completely up to the point of actually enabling the account Apr 16 04:51:17 The argument to a JavaScript service method call are validated against the schema, if one is given. Apr 16 04:52:04 Dig up my old posts on schema on the dev forums - the docs used to be wrong and still may be. Apr 16 04:52:24 hm.. ok Apr 16 04:52:24 I can send you some working examples tomorrow. Apr 16 04:53:06 do you know some way perhaps with lunasend or some other utility, i can actually see the contents of some particular part of the database? Apr 16 04:53:44 yeah, is there a webos database explorer? Apr 16 04:53:56 hmm. impostah can do that can't it Apr 16 04:53:58 Impostah. Apr 16 04:54:31 heh invalidopcode that log file is 3mb Apr 16 04:54:55 EricBlade: the setup and message one? Apr 16 04:54:59 yea Apr 16 04:55:27 haha did you set ls-monitor to monitor just the com.palm.imyahoo service? Apr 16 04:55:28 check all the services.json files on the system for schema. Apr 16 04:55:49 DougReeder: while we were wondering where you were :) i decided to get a ls-monitor dump of everything that happens from creation to enabling to sending messages to removal of the account .. :D Apr 16 04:55:59 of a working messaging account that is Apr 16 04:56:06 (nods) Apr 16 04:56:25 Distraction: OMG.... a package upgrade in preware... Apr 16 04:56:38 ok back on topic... Apr 16 04:56:54 invalidopcode: i just emailed that to you. Apr 16 04:56:57 Anyway, it's past my bedtime - I can talk more tomorrow. Apr 16 04:57:10 thank you very much doug, leads are good Apr 16 04:57:10 ok thanks for the DougReeder Apr 16 04:57:25 EricBlade: thanks, got it Apr 16 04:58:17 * DougReeder waves goodnight Apr 16 04:58:26 maybe this would be easier to read in a spreadsheet somehow Apr 16 05:01:08 well, it imports into LibreOffice's calc, which then barfs on the file size Apr 16 05:02:03 and doesn't look any better than the text Apr 16 05:03:51 that zip you emailed me appears to be blank Apr 16 05:04:10 it most definitely has a 3.4mb text file in it Apr 16 05:04:58 well its not showing it on my system Apr 16 05:05:19 End-of-central-directory signature not found. Either this file is not Apr 16 05:05:19 a zipfile, or it constitutes one disk of a multi-part archive. In the Apr 16 05:05:19 latter case the central directory and zipfile comment will be found on Apr 16 05:05:19 the last disk(s) of this archive. Apr 16 05:05:43 opens fine with winrar here Apr 16 05:07:49 hm... there is it Apr 16 05:07:59 thunderbird didn't like it that was weird Apr 16 05:09:00 ack.... this is ugly Apr 16 05:11:48 yeah there's like.. sometimes one tab and sometimes two seperating things Apr 16 05:12:13 haha yeah Apr 16 05:12:30 and looking at it in a normal text editor, of course, one tab just isn't enough Apr 16 05:12:52 hahah yeah Apr 16 05:15:38 i don't think this will be of much help Apr 16 05:16:19 if possible you might want to try it again with the -f com.palm.imyahoo flag Apr 16 05:16:44 so then we don't get all the power and audio and who know what else stuff in here Apr 16 05:19:36 well i can grep this file Apr 16 05:19:45 need the com.palm.db stuff too i'm sure Apr 16 05:26:23 hey EricBlade do you have impostah installed? Apr 16 05:27:04 umm.. not sure Apr 16 05:27:09 find anything interesting? Apr 16 05:27:48 if you go into the database exploration section then query the imloginstate:1 kind, you can find some info about the current services Apr 16 05:28:09 i'm trying to figure out the syntax to grep for (yahoo | com.palm.db) .. except that's not it Apr 16 05:28:47 also, if you query immessage:1 you can see a info for each of the messages its stored Apr 16 05:30:20 hmm. yahoo emailed me to tell me that i'd configured Palm Synergy with my yahoo information. o.O Apr 16 05:30:45 haha yeah it does that :P Apr 16 05:31:49 uhh Apr 16 05:32:41 im wondering how the messages services generate all of these id #s Apr 16 05:32:58 it sets my custom status message! Apr 16 05:33:10 in my account kind! Apr 16 05:33:54 cool! where and how? Apr 16 05:34:11 loginstate object, "customMessage" field Apr 16 05:35:15 ah i see Apr 16 05:35:32 did you look at the imporstah database yet? you can see that all the other fields are Apr 16 05:35:54 yeah Apr 16 05:36:09 ok cool Apr 16 05:36:46 ok, so the imloginstate is apparently indexed by serviceName and username Apr 16 05:37:19 ok Apr 16 05:37:55 so, the serviceName matches whatever is in your capabilityProviders as a serviceName Apr 16 05:38:07 in this case, type_gvoice since i copied the others Apr 16 05:38:13 ok Apr 16 05:38:27 and i'm guessing that the username should match my account username Apr 16 05:38:38 did that work in changing it not to say SMS Account anymore? Apr 16 05:38:51 i'm going over this in my head and on here before i actually type it in Apr 16 05:39:00 ah ok Apr 16 05:43:24 i may have something Apr 16 05:43:45 ... do tell Apr 16 05:44:02 whoa, my display just tilted 10 degrees or so Apr 16 05:44:05 and then snapped back Apr 16 05:44:24 weird... haha Apr 16 05:46:14 so what did you get (before your display did weird things)? Apr 16 05:47:12 well, i can see the account name Apr 16 05:47:29 it doesn't have the service name next to it Apr 16 05:48:16 ah ok Apr 16 05:48:40 i'm going to send you on a mission if you don't mind Apr 16 05:48:50 haha ok Apr 16 05:48:58 i need you to locate the "Yahoo!" string Apr 16 05:49:16 while I figure out what/if anything is being called here Apr 16 05:49:40 also, how the hell do you originate a message? i hit "New conversation" but it doesn't let me select what service to use, it assumes SMS via bluetooth Apr 16 05:50:55 start typing in the To: header Apr 16 05:52:00 ok it doesn't apparently give me a choice of using my new account Apr 16 05:52:20 "loc_name": "Yahoo!" Apr 16 05:52:30 "loc_shortName": "Yahoo!" Apr 16 05:53:03 look in /usr/palm/public/accounts/com.palm.yahoo/com.palm.yahoo.json Apr 16 05:54:08 also in that file it says "serviceName": "type_yahoo" Apr 16 05:54:22 hmm. the messaging AccountLoginState has a "accountName" entry Apr 16 05:54:30 er, component Apr 16 05:55:01 ok Apr 16 05:55:34 you might want to add a "serviceName": "type_gvoice" or whatever it was to your account template Apr 16 05:55:43 yeah got that Apr 16 05:55:51 ok accountName comes from loginState.accountTypeName Apr 16 05:56:14 ok Apr 16 05:57:10 are you in the messaging app code? Apr 16 05:57:15 yes Apr 16 05:57:44 which file? Apr 16 05:57:45 accountTypeName calls getAccount(serviceName, username) Apr 16 05:57:54 AccountLoginState, then ImStatus Apr 16 05:59:26 ok i need to check my account definition now Apr 16 06:00:16 ok Apr 16 06:01:19 ok, i need to get to bed now Apr 16 06:02:08 ill be back tomorrow, good luck EricBlade Apr 16 06:13:11 and smashing into another brick wall Apr 16 06:25:12 BOOYAH Apr 16 19:21:39 DougReeder: i almost got it :) examining the existing dbs with impostah was a huge win Apr 16 19:32:53 :) Apr 16 19:38:46 wrea: http://ericbla.de/gvoice-webos/?page_id=45 Apr 16 19:54:44 EricBlade, image doesnt load Apr 16 20:10:16 * DougReeder_ waves hello Apr 16 21:11:44 wrea: image doesn't load?? Apr 16 21:12:16 DougReeder: good afternoon :) Apr 16 21:18:57 EricBlade, it wasnt, now it does Apr 17 00:25:58 yay the ask500 beta finally went in. http://t.co/0tMeFxoo Apr 17 00:26:13 err.. https://developer.palm.com/appredirect/?packageid=com.ericblade.ask500 Apr 17 01:01:04 invalidopcode: :) Apr 17 01:01:27 hey EricBlade :P get your lost sleep back? Apr 17 01:01:32 lol no Apr 17 01:01:51 i was up till about 6am getting my app to populate the messaging database Apr 17 01:02:04 ah nice! Apr 17 01:02:12 side note: what timezone are you? Apr 17 01:02:16 and then i was up at 10am for a meeting Apr 17 01:02:18 i'm eastern Apr 17 01:02:35 oh wow haha nice Apr 17 01:02:43 so did you get it to work? Apr 17 01:02:54 so i did get data from the regular app into the database, but i haven't figured out how the messaging app picks it up Apr 17 01:03:24 i figured it was just some kind of a watch on all subkinds of the message kind or something like that, but that doesn't seem to be doing it Apr 17 01:06:42 hm... ok Apr 17 01:07:25 i've got free time tonight so i was going to messing with it again Apr 17 01:10:08 what's your account template look like again? Apr 17 01:30:42 EricBlade: your last GVoice update seems to be broken on my touchpad.... Apr 17 01:31:07 its been siting here for 25 minutes "loading" Apr 17 01:34:27 my Pi Apr 17 01:34:28 My PigLatin app keeps getting the error message "latinize is not defined, index.html:1" Apr 17 01:35:03 baboo: maybe you should define latinize Apr 17 01:36:40 check out http://pastebin.com/KbpAH8eL that is my index.html Apr 17 01:38:35 ok Apr 17 01:38:45 i have to go... ill be back later Apr 17 01:39:13 bye Apr 17 01:41:12 fxspec06, do you know the answer to my problem Apr 17 01:45:31 did everyone know that there is a log on a website that monitors what we're doing? Apr 17 01:47:23 http://logs.nslu2-linux.org/livelogs/webos.txt Apr 17 02:33:24 EricBlade: are you there? **** ENDING LOGGING AT Tue Apr 17 02:59:59 2012