**** BEGIN LOGGING AT Tue May 18 02:59:57 2010 May 18 03:00:14 data: [[1, 10], [2, 20], [3, 30], [4, 40], [5, 50]], May 18 03:00:39 in the data you want charted, 1, 2, 3, 4, 5 correspond to different emotion_id's? May 18 03:00:58 yes May 18 03:01:12 [1, "Joy"], May 18 03:05:02 the item "array" when returning from a select in the db isn't a real array....it's a function that sort of emulates an array in that you pass it the index as a function parameter and it returns the data, i.e. results.item(0) would be like anArray[0] May 18 03:05:19 so you have to iterate through it and save the values in a real array May 18 03:07:20 # May 18 03:07:20 for (i = 0; i < results.rows.length; i += 1) { May 18 03:07:20 # May 18 03:07:20 this.chartData.push(Object.clone(results.rows.item(i))); May 18 03:07:43 like that May 18 03:08:27 she has the data in an array of objects...it's just a matter of pulling the data from the object and putting it into the 2-d array that the chart wants May 18 03:08:48 * JenP gets dizzy May 18 03:09:27 what is Object.clone for? May 18 03:09:48 results of a db query are immutable. May 18 03:10:04 speak more stupid May 18 03:10:08 if you this.chartData.push(results.rows.item(i)) May 18 03:10:38 the properties of the objects in your this.chartData array CAN'T BE CHANGED May 18 03:10:44 * haeffb speaks louder instead May 18 03:10:52 lol May 18 03:11:13 * haeffb spent an evening banging my head over why I couldn't change stuff May 18 03:11:14 oh, passed by reference, so Object.clone means "pass by value" essentially May 18 03:11:30 clone - make a new copy May 18 03:11:45 sugardave obviously hasn't seen Avatar May 18 03:12:02 lol May 18 03:12:03 heh, I did, but it was on the screen of the seatback in front of me May 18 03:12:08 I think I missed a few key points May 18 03:12:08 no, those weren't clones... they were Avatars May 18 03:13:12 Roy-Pre101: somebody should put that Object.clone stuff on webos101 May 18 03:13:22 haha May 18 03:13:35 * haeffb looks around at everyone else... May 18 03:15:28 I'm out...later folks. May 18 03:15:35 night May 18 03:15:56 me too, cya all May 18 03:16:04 tata May 18 03:17:01 So it seems I have a decision to make. Mojo has the fancy group>row>textfield layout that I want to use, but Ares makes it clunky...so do I stick with Ares? Or do I finish it off in Mojo? May 18 03:37:14 Has anyone done testing on the best audio codec to use for short, repeating sound effects for games? This is non-pdk stuff so I'm using HTML5 media objects. May 18 03:37:38 Right now I'm using the built in systemsounds and would love to try to use custom sounds instead. May 18 04:48:20 Has anyone had success using sound without the MediaExtension library? May 18 05:54:02 How do I access the model of an integer picker? I just want to assign the "value" to a variable May 18 05:55:54 PrimerFender: setValue ? May 18 05:56:32 the IntegerPicker has no methods, like my handy textFields do, so I need to access the model directly i'm guessing May 18 05:59:23 how about "this.$.yourInteger.setValue(newValue);" ? May 18 05:59:55 setValue should do the right thing whether Ares created the model for you, or you specified one in the properties. May 18 06:00:22 btw, I'm no longer using Ares May 18 06:00:39 oh, well... in that case, I'm not sure. :-/ May 18 06:02:00 I hate how ambiguous this is May 18 06:03:56 what is your "modelProperty" set to? "value" is the default... in which case wouldn't you just set value and call modelChanged? May 18 06:05:20 this might help: http://developer.palm.com/index.php?option=com_content&view=article&id=1704 May 18 06:06:33 and perhaps this: http://developer.palm.com/distribution/viewtopic.php?f=11&t=429&start=0 May 18 06:07:07 yes, value May 18 06:07:23 and http://forums.precentral.net/web-os-development/224801-read-value-integer-picker.html May 18 06:08:08 and http://palm.cocosjungle.com/?p=378 :-) May 18 06:13:54 ok, now you might be on to something May 18 06:16:44 Perfect! May 18 06:17:56 would've been easier in Ares... why did you switch? Was it the textfield layout thing you mentioned earlier? May 18 06:19:33 http://webos.pastebin.com/snNQYWCp <- Let me know if that code actually shows up May 18 06:20:54 it did May 18 06:21:04 basically, I wasn't assigning a model, just letting it magically create one - which meant I had nothing to reference, and on top of that I didn't know how to reference it, but basically it creates a model "object" and you access it's properties just like a regular objects properties <- that totally makes sense now May 18 06:21:44 I had the app "working" in Ares, but yes, I did not like the layouting May 18 06:22:21 I copied some structures in the stylematters sample app, and it's 95% perfect. with that last thing, it is now working too May 18 06:22:41 except I forgot to put in the header :-P May 18 06:22:46 OK, well, whatever works for you. :-) May 18 06:22:48 thank YOU for your help! May 18 06:23:04 Don't forget that you can still use the AresDebugger even if you don't develop IN ares. May 18 06:23:05 yeah, for me it was path of least resistance, and it was experience doing it both ways May 18 06:23:14 For that matter, you can also develop (with mojo) in ares. May 18 06:23:46 the debugger can be found here: http://ares.palm.com/AresDebug/ May 18 06:23:47 Yeah, maybe I should try copying the formatting over haha May 18 06:24:20 debugger only works on emulator, no? May 18 06:24:34 until the next device update, yes. May 18 06:25:13 ok, right now I can't run debugger. my host runs a virtual PC server and I can't have both virtual machines installed concurrently May 18 06:25:30 so i've just been working on device heh May 18 06:26:49 What other VM conflicts? I use VmWare Fusion on my host as well as VirtualBox without any problems. May 18 06:27:17 microsoft virtual pc, hardware extensions May 18 06:29:00 also, the virtual network driver in virtual box trips out the virtual network drive for virtual pc on my work computer, i got tired of resetting it multiple times a day so I just uninstalled it May 18 06:29:34 huh. Well, you could probably run your other (server) VM in VirtualBox... :-) May 18 06:30:55 haha i thought about it, but actually have some hardware i'm going to migrate it too so I can actually turn OFF my main comptuer once in a while :-/ May 18 06:31:42 That's always nice. My computers (at home) spend most of their time asleep. May 18 06:35:10 Yeah, mine is on 24x7, but I have another box that is less power, quieter that I will leave on instead May 18 06:35:33 cool, well, glad you got it working. I'm done for the evening and heading home. :-) May 18 06:35:53 great, thanks, have a good night May 18 06:36:05 you too May 18 07:13:14 sup phb_ May 18 07:19:47 dam, those rebuilds are going fast May 18 09:12:31 somewhere in the abyss of the palm dev site... there is a list of built in icons. i'm looking for the command menu stuff for "next" "prev" "reload" type icons May 18 09:12:42 anyone know where that is? or just what the convention is to use them? May 18 09:19:53 well.. i guessed them eventually May 18 14:19:40 hi May 18 14:19:56 is GPS/getCurrentLocation() supposed to work with the emulator ? (even if it did return random/fixed positions) May 18 14:31:29 hi May 18 14:31:38 I don't know May 18 14:57:16 ok May 18 14:57:19 I'll try May 18 15:26:59 haeffb_pre: you're close to falling off the list there May 18 15:27:25 ya, I know... May 18 15:28:50 ...working on getting the German translation update for a sales bump May 18 15:30:04 Done is now in the catalog May 18 15:30:13 better be a good bump May 18 15:30:16 congrats May 18 15:30:25 on getting Done, done.. May 18 15:34:22 well...I haven't spent the prize money yet, anyway May 18 15:47:25 haeffb_pre: yeah hold on buying your tickets to germany until after it's over May 18 15:47:32 unless they extended it again May 18 15:47:51 but i'd be surpirsed if HP feels like throwing good money after bad.. May 18 15:48:42 what are the current supported localizations? May 18 15:49:04 i have en_es, but will i need to copy that for other countries as well? May 18 15:49:29 sorry, es_us May 18 16:05:20 you can just use es instead of en_es and es_es May 18 16:26:06 anyone know if there is a way to get gps to work through tethering/ May 18 16:26:08 ? May 18 16:29:46 through what ? May 18 16:30:18 well i'm tethered to a debian ran laptop right now May 18 16:30:40 as far as what app to use it i don't know. i haven't dug for a gps app yet May 18 17:31:02 evening May 18 17:31:04 hey, how do i quit a scene? May 18 17:31:15 popScene? May 18 17:31:21 thanks May 18 17:34:08 hello! May 18 17:34:39 hi haeffb May 18 17:35:14 looks like i owe you an answer May 18 17:36:25 just published Done May 18 17:37:04 the one about myles May 18 17:37:31 oops...battery nearly dead. later. May 18 17:55:45 rehi May 18 17:59:26 hello May 18 17:59:41 hi warpdesign May 18 18:03:02 ping oil May 18 18:03:27 hi swisstomcat May 18 18:04:45 for spanish, there's es_us, es, and mx, right? May 18 18:05:56 and does anyone know if you can update your app description and images without updating the package? May 18 18:10:46 hey, whats the site where you can see your reviews? May 18 18:11:21 guys? =) May 18 18:11:22 cyrket.com May 18 18:11:26 myappbox.com May 18 18:11:27 thanks May 18 18:11:43 hattczech: you can only do a metadata update, which goes through the review faster May 18 18:12:27 swisstomcat: okay, so content can be updated without changing the version and package? May 18 18:13:13 anyone with a pixi willing to test a little game ? May 18 18:13:49 i think so, hattczech .. haven't done a metadata update myself May 18 18:13:53 hallo metaview May 18 18:16:39 hi May 18 18:31:26 howdy all May 18 18:31:39 heya lonestar May 18 18:33:52 hey chuqui, i just emailed you about removal of 2 of my app's reviews May 18 18:33:59 if you can look into it I'd be really appreciated May 18 18:34:02 just answered May 18 18:34:13 I know May 18 18:34:14 lol May 18 18:34:16 thanks a lot =) May 18 18:34:18 you are the best May 18 18:34:33 already asked for the data so I can work on it. May 18 18:34:43 thanks for removing my 0 star reviews, chuqui May 18 18:34:54 and get those damn app catalog bugs fixed! now! ;) May 18 18:34:58 np... May 18 18:35:05 swisstomcat, wana see my joke app? May 18 18:35:10 you'll have a good laugh =P May 18 18:35:13 sure May 18 18:35:14 nvm, its not in catalog yet May 18 18:35:28 the web version, you can't rotate the pre May 18 18:36:04 i hope that "report a problem" bug will get fixed soon ... major source of 0 star reviews May 18 18:36:14 but we have pestered you enough :) May 18 18:36:26 I think we should just remove all the 0 star reviews May 18 18:38:45 18612, almost there to get my $1000! May 18 18:40:06 Nyceane: which app? May 18 18:40:19 Fantasy Chat May 18 18:40:25 ah, ok May 18 18:40:29 when is the last day for the competition? May 18 18:40:30 never tried it :) May 18 18:40:31 I am doing an update to fix a few things May 18 18:40:40 try it, and give some feed backs =) May 18 18:40:54 I am fixing a few things on next update May 18 18:41:10 well, not enough time I fear May 18 18:41:19 is there a contains in javascript string ? May 18 18:41:43 lonestar: end of june May 18 18:42:11 string.search() might work May 18 18:44:08 indexOf? May 18 18:45:16 ah, sounds better May 18 18:46:47 now I'm going to add ICON=birthday to my birthday event pacth and draw a small candle using UberCalendar patch :D May 18 18:47:21 I'm having trouble on 64 bit Windows 7. typing Java -version in the command prompt shows that Java is not installed, but when I go to Sun's website to verify, it says that it is... Any ideas? May 18 18:47:30 hi catalystmedia May 18 18:47:41 java might not in your path? May 18 18:47:42 catalystmedia: your PATH is probably not correct May 18 18:47:52 echo PATH May 18 18:47:57 on the command-line May 18 18:48:05 swisstomcat: Will do. One sec May 18 18:48:30 the version check on the website just checks if the plugin works May 18 18:49:02 swisstomact: thanks, been out of town, but need to rollout new upgrades this week May 18 18:49:09 * MetaView is going for the woll socks, freaking not-starting summer May 18 18:49:30 swisstomcat: I do echo PATH and it returns PATH May 18 18:49:37 hrmm May 18 18:49:37 $PATH May 18 18:49:50 sorry, i'm not using windows anymore May 18 18:49:52 ech $PATH May 18 18:49:58 echo $PATH May 18 18:50:04 at least in cygwin May 18 18:50:26 let me start my XP Virtual Machine May 18 18:50:29 just write PATH in the command line May 18 18:50:40 I'm just using the command prompt right now May 18 18:50:48 write PATH May 18 18:50:53 it will print it May 18 18:50:54 yeah, that works May 18 18:51:13 echo %path% May 18 18:54:10 swisstomcat: Ok that worked. I'll pastie it in a sec May 18 18:56:45 Looks like a lot was cut off when pasting: http://pastie.org/966203 I can't really select text in the command prompt very well May 18 18:57:31 Maybe I need the Java SDK? May 18 18:57:43 the runtime should be ok May 18 18:57:54 can search for java.exe? May 18 18:57:59 i don't remember where it's installed May 18 18:58:32 In a bit I can. I'm doing screen sharing with someone. I'm getting Java and the SDK installed so I can view the log files on his phone May 18 18:59:37 So it's got a lot of lag to get anywhere :p May 18 19:09:41 Is it possible to use Putty to get at the log files somehow? May 18 19:11:15 sure May 18 19:11:21 or novacom if the SDK is installed May 18 19:11:32 novacom -t open tty:// May 18 19:14:29 Ohhh what do you put after the tty:// ? I know the SDK is installed, but java is acting up so I can't use palm-log from the command prompt :S May 18 19:15:45 just that May 18 19:15:49 and enter May 18 19:19:29 novaterm May 18 19:19:35 andthen press connect May 18 19:19:53 it's novaterm on windows? May 18 19:20:31 yes May 18 19:20:38 part of the SDK May 18 19:20:48 will be back later tonight, have alot of webos upgrading to do... May 18 19:20:54 Alright, I got it connected! Thanks guys :) May 18 19:23:21 hmm.. is there a way to clear/empty the sqlite database easily ? May 18 19:23:47 DROP TABLE May 18 19:25:55 I'm not using sql May 18 19:26:02 I'm using Depot stuff May 18 19:34:53 Anybody here using SDL with the new PDK libraries? May 18 19:35:56 which new libraries? May 18 19:37:23 whew...back on charger May 18 19:44:09 for those of you localizing your programs... how are you doing it? May 18 19:44:11 I get this at launch: error: Uncaught URIError: URI malformed, native uri.js:198 The app fails to launch completely. Why would this occur? May 18 19:44:15 translate.google.com ? May 18 19:44:46 not a good idea May 18 19:44:53 those translations suck May 18 19:45:07 what's on line 198, catalystmedia? May 18 19:45:20 hattczech: www.thinmachine.ch/en/service.html May 18 19:45:28 swisstomcat: i saw in internals that you're doing german May 18 19:45:36 That's not my file. I think it's a Mojo one or something in webkit May 18 19:46:02 oh May 18 19:46:04 true May 18 19:46:21 i know someone who could do french, hattczech .. and spanish May 18 19:46:28 i did spanish May 18 19:46:29 maybe italien May 18 19:46:33 italian May 18 19:46:35 to the best of my recollection and google May 18 19:46:40 someone in here helped me once with spanish May 18 19:46:44 i need german, french, and italian May 18 19:46:55 i could offer german May 18 19:46:59 me too May 18 19:47:03 awesome May 18 19:47:13 catalystmedia: what's ur appid? May 18 19:47:14 uri.js seems like it's a bundled file with webkit... I don't even think it's a mojo file May 18 19:47:17 now we can go into a bidding war, joetweeply May 18 19:47:22 com.catalystmediastudios.tweetme May 18 19:47:37 let's split swisstomcat .. you do the work, i take the credit May 18 19:47:44 you might want to ask warpdesign for a french translation, hattczech May 18 19:47:44 ah, the tweetme guy May 18 19:47:50 good idea, joetweeply May 18 19:48:00 tweetme is awesome :) May 18 19:48:12 it borrows the name of my twitter app... May 18 19:48:30 thanks, swisstomcat ... and here's my strings.json May 18 19:48:31 http://webos.pastebin.com/k5ayWGG0 May 18 19:48:36 MetaView what is your app called? May 18 19:48:48 2TwitMe May 18 19:48:56 and runs on Palm OS May 18 19:49:28  - Unknown paste ID, it may have expired or been deleted! May 18 19:49:32 most of the translation for mine is simple, but there are a few things that are long May 18 19:49:35 hmmm...? one sec May 18 19:49:49 oh crap, moving hoster May 18 19:51:18 MetaView: Oh, I didn't even know! They are similar. Have you made any webOS apps? May 18 19:51:27 http://pastie.org/private/te9vunuxzxy2pv989m269w May 18 19:52:29 catalystmedia: yes some May 18 19:52:38 but no TwitterApp yet May 18 19:52:39 is it open-source, hattczech? May 18 19:52:48 the twitter app market is kinda crowded :) May 18 19:52:55 MetaView: Very cool. Are any in the App Catalog? May 18 19:52:59 and I guess I rather adjust Spaz to my own needs May 18 19:53:02 is your appinfo.json OK? May 18 19:53:15 yes: MapTool or ÜberRadio for example May 18 19:53:15 hattczech: i think lonestar99 would be the one to ask for spanish May 18 19:53:32 ping lonestar99 May 18 19:53:41 ping warpdesign May 18 19:53:58 or do you call URIEncode/decode anywhere? May 18 19:54:11 haeffb_pre: I'd assume so. It works for nearly everyone else, but a small number of people are having problems. May 18 19:54:23 haeffb_pre: I'm guessing prototype does when I call new Ajax.Request May 18 19:55:42 I have no idea what the problem may be...just brainstorming May 18 19:58:06 hey HattCzech May 18 19:58:37 hey May 18 19:58:58 i heard you speak french? May 18 19:59:55 Thanks haeffb_pre I have no idea either so I appreciate the suggestions May 18 20:00:50 oh, swisstomcat, feel free to edit that pastie May 18 20:04:08 HattCzech: I do May 18 20:05:40 warpdesign: would you mind taking a few minutes to help me with a translation for my app? May 18 20:05:53 http://pastie.org/private/keruynmxpdada8n3tmnuqg May 18 20:10:15 HattCzech: sure, but not right now May 18 20:10:49 okay, thanks May 18 20:11:05 feel free to edit that when you do have time... i'll save the links somewhere May 18 20:11:57 ok May 18 20:32:15 g'night everyone May 18 21:24:51 good night everyone May 18 21:27:10 g'night May 18 21:58:25 sorry for the spam of email sometime back May 18 21:58:33 using the handle ruchir May 18 21:58:45 finally have IRC figured out May 18 21:59:21 thanks to every1 who replied May 18 22:00:00 i am using Ares to develop a to do app May 18 22:00:19 using list May 18 22:00:56 do not know how to add data to list and store and use them any suggestions? May 18 22:18:35 store the data in a SQLite database May 18 22:19:13 goosefraba: Here is what I was going to send you http://pastie.org/966602 Is that basically what you are saying or do you need persistent storage May 18 22:26:49 json doesn't support comments, does it? May 18 22:43:08 thanks May 18 22:43:38 also i want to create custom buttons May 18 22:44:31 if using ares what is a good way to tweak the existing buttons and give it a different look? May 18 22:47:05 goosefraba: change the various properties in the "Styles" tab on the right side of the screen? May 18 22:49:16 lets say i wanna change the size of a custom button and give it a square shape May 18 22:49:34 the right side screen not that helpful May 18 22:52:39 or am i missing something? May 18 22:55:17 http://www.engadget.com/2010/05/18/hp-says-webos-coming-to-slates-and-web-connected-printers/ <- lol ? May 19 00:33:23 Sprint advertising their 4G mobile hotspot as a way to get "10x faster speeds on your iPhone..." May 19 00:33:45 lol May 19 00:37:56 webOS on a printer would be cool....you could write an RSS to printer app in no time and pretend you had a newspaper May 19 00:38:24 LOL May 19 00:47:09 PrimerFender: Were you going to add something to webos101.com? May 19 00:47:39 lol May 19 00:48:03 oil: Don't be shy, you can, too. ;) May 19 00:48:47 * oil was browsing it earlier and ran across this.controller.setInitialFocusedElement(null); May 19 00:48:55 i dont remember seeing it on palms site May 19 00:49:38 I haven't done it yet because I still want to do some experimenting, but I have a stickie for it on my screen;-) May 19 00:51:30 fair 'nuff! May 19 00:59:35 setInitialFocusedElement(myWidget) works too, I think. May 19 01:00:30 https://developer.palm.com/index.php?option=com_content&view=article&id=1874&Itemid=244#.setInitialFocusedElement May 19 01:04:35 yeah May 19 01:04:41 i want to use it so nothing is selected :) May 19 02:03:46 how do you do a screen capture in the emulator? May 19 02:07:52 I heart camera May 19 02:08:56 I thought there was a button for it, in the corner of the window May 19 02:10:14 i heart camera? May 19 02:11:34 PrimerFender: i don't see the button...only a snapshot, which i believe is a snapshot of the virtual machine May 19 02:26:01 Use your desktop window capture function. May 19 02:39:25 Is that not the same thing? May 19 02:59:39 ladies and gents, I come to you today with a question **** ENDING LOGGING AT Wed May 19 02:59:57 2010