**** BEGIN LOGGING AT Mon Mar 15 02:59:56 2010 Mar 15 03:00:27 that's pretty much the same as what I've got. The only thing I can think of is that it IS working, it's just being hidden under another layer. Mar 15 03:00:36 whats your setup widget call Mar 15 03:01:07 I posted above Mar 15 03:01:09 But you said it works if you set it to "true"? Mar 15 03:01:09 this.searchSpinnerModel = {spinning: false}; this.controller.setupWidget("searchSpinner", {spinnerSize: 'small'},this.searchSpinnerModel); Mar 15 03:01:21 it does work if I set it to true in the setup Mar 15 03:01:29 So how would it be hidden? Mar 15 03:01:45 Well, i guess that's a stupid question, nvm Mar 15 03:01:46 Well ... I'm not sure Mar 15 03:02:13 try palm-log Mar 15 03:02:24 yeh i dunno either Mar 15 03:02:34 ive got practically the same code to enable/disable the bugger Mar 15 03:02:40 this.spinnerLocationModel.spinning = true; Mar 15 03:02:40 this.controller.modelChanged(this.spinnerLocationModel); Mar 15 03:02:51 oh .. I might know what's causing it ... Mar 15 03:02:54 Your bug isn't with the spinner Mar 15 03:03:03 * Monroe sets up test case Mar 15 03:04:50 woot, dante's inferno divine edition for ps3.. snagged it for $33.91 shipped from EA Mar 15 03:05:02 saved $34.95 Mar 15 03:05:07 good. That ought to distract you from app development :) Mar 15 03:05:11 heh, you went for it? Mar 15 03:05:25 monroe.. is that you? i cant see the nick (lcd is acting funky) Mar 15 03:05:35 hehe yes Mar 15 03:05:59 i came home from work today (4:15pm ish) and went to sleep and woke up around 9pm.. Mar 15 03:06:04 lots of wasted time :P Mar 15 03:06:24 hehe .. I was at my parents for dinner and to watch the NCAA selection show Mar 15 03:06:46 grrr .. no luck Mar 15 03:06:51 but as soon as i woke up, i thought of issues i had to fix/add :P but i still haev the preferences and help scenes to do, otherwise i just need a logo/icon :P Mar 15 03:07:25 dawm: what app? Mar 15 03:07:37 Was it that ringtone app? Mar 15 03:07:43 the ringtone via gps one Mar 15 03:07:50 nice nice Mar 15 03:10:33 Me and dawm are pretty much working on the same app :) Mar 15 03:11:00 who's winning? Mar 15 03:11:10 hehe he's much closer to finished Mar 15 03:11:54 but i think the reason im closer is cause im not working on something monroe is prolly working on, which ill add later on (google map of profile radi) Mar 15 03:13:23 but im off to bed.. Mar 15 03:13:23 well, I'm not showing the radius on the map (yet). At this point, I'm just letting you use the map to mark the point for the profile. Mar 15 03:13:41 i was close :P Mar 15 03:14:35 for some reason i cant grab a gps signal at work (i work at major airport) but google maps picks it up just fine.. Mar 15 03:14:49 ill have to see if their using something other than the mojo gps service Mar 15 03:27:24 I'm off to bed Mar 15 03:27:26 Go Cats! Mar 15 03:28:38 Monroe: which ones? Mar 15 03:29:03 Kentucky Wildcats! Mar 15 03:29:19 Heh Mar 15 03:29:53 Kansas State Wildcats is my local team Mar 15 03:31:34 I see Mar 15 03:32:04 they ended up with a #2 seed? or #3? Mar 15 03:39:50 2 Mar 15 03:48:01 Ok now I really am going to bed. Mar 15 03:48:07 gnight Mar 15 04:52:01 http://www.webos-internals.org/wiki/Komodo_Macro started documenting how the macros will work. Still a ton to code in in this addon. Hopefully Friday I will have it complete enough to release. Mar 15 05:03:30 howdy folks Mar 15 05:14:42 hello folks Mar 15 05:18:28 Hello. :) Mar 15 06:03:25 Templarian: I'm looking forward to it. Mar 15 06:03:35 Will that fix all the Mac problems Mar 15 06:07:59 Roy-Pre101: hopefully. Mar 15 06:08:14 I recoded how most things are handled everything is asynchronyous now. Mar 15 06:08:33 nice. Mar 15 06:09:09 During a lot of this recode it's making sure that all the functions are ready for macros. Mar 15 06:09:35 http://www.webos-internals.org/wiki/Komodo_Macro#Editing_.22appinfo.json.22 not sure if you looked at it. Mar 15 06:11:37 Plus I'm going to be adding in the "Install IPK" option so users can simply select an ipk and install it if they want. Mar 15 06:12:43 hi everyone! Mar 15 06:17:01 Hi dr nick! Mar 15 06:21:40 ahahahaha, that's great Mar 15 06:21:50 i'm doing some of that high coding now Mar 15 06:21:51 :D Mar 15 06:23:01 well Mar 15 06:23:08 Messing with SDL? Mar 15 06:23:16 animating in maya, not coding Mar 15 06:23:20 but i WANT to be coding :( Mar 15 06:23:35 Designing stuff for a game or something else? Mar 15 06:24:07 Maya isn't really useful for 3d for games so figure it's something else. Mar 15 06:24:41 for a class Mar 15 06:25:56 finals week = crunch time for projects = long hours at the computer lab finishing an animation Mar 15 06:26:34 Templarian: Mind if I clean up the english on the wiki page? :) Mar 15 06:32:19 Roy-Pre101: go for it just typed it out really quick mostly focusing on the add-on. Mar 15 06:33:21 All better. Mar 15 06:35:26 Hope that helps. Mar 15 06:36:25 Are you still using komodo? Mar 15 06:37:03 * Templarian pokes Roy-Pre101 Mar 15 06:42:39 yes Mar 15 06:45:58 Templarian: I am. Mar 15 07:18:38 re Mar 15 07:27:22 rwhitby: howdy. Mar 15 07:27:28 hye Mar 15 12:24:21 someone need me over the weekend? I left IRC on over the weekend and this channel was flashing LOL Mar 15 15:29:27 * Monroe sees nothing but tumblweeds blowing through #webos Mar 15 15:30:04 * Monroe listens for sounds of activity ... but just hears crickets Mar 15 15:34:35 * Kuraiou closes the door to the yawning chasm of Void that had somehow been left open. Mar 15 15:34:39 Whoops, sorry about that, Monroe. Mar 15 15:35:30 lol Mar 15 15:35:40 #S1t3N2m51$ Mar 15 15:35:47 err disregard Mar 15 15:35:57 That's not the password to every server at my work or anything ... Mar 15 15:42:05 o_o Mar 15 16:11:04 dundunDUUUUUUUUUUUUUUUUUUUUUN Mar 15 16:26:42 :O Mar 15 16:27:32 :/ Mar 15 16:45:20 So chuqui, any more excitement over the weekend, or is this week looking to be "calmer" ? Mar 15 16:46:40 quiet so far. dealing with email, talking portal futures planning right now... Mar 15 16:50:17 chuqui thank you so much for getting the robots.txt fixed. It's MUCH better now. Mar 15 16:50:50 someone said robots? Mar 15 16:50:56 Where are my robots.... Mar 15 16:52:20 transformers... robots in disguise.... Mar 15 16:53:45 The problem is, that Google isn't indexing the forums yet, the robots.txt isn't blocking it, but they appear not to be following the links, which is "odd" Mar 15 16:54:11 Still, the robots.txt is VASTLY better at developer.palm.com now. Mar 15 16:54:27 true Mar 15 16:54:31 hmmmm Mar 15 16:54:39 There is a starfish gsm phone Mar 15 16:56:04 let me go see what the logs say on spidering. Mar 15 16:56:05 I don't know if I want one for crap and laughter or not..... Mar 15 16:56:08 http://www.pmptoday.com/2010/02/23/who-wants-a-starfish-gsm-cellphone/ Mar 15 16:57:51 chuqui: It's fixed so google is indexing the forum? That's really good news, if so. Mar 15 16:58:10 in theory. Mar 15 16:58:13 I really wish there was a way to get all of the contact's on a users phone Mar 15 16:58:21 I'm seeing the googlebot hitting the site. Mar 15 16:58:56 halfhalo, I bet there is Mar 15 16:59:07 It's just not documented Mar 15 16:59:11 Not using the api's Mar 15 16:59:34 My idea for an app doesn't really work withought the contacts list Mar 15 17:00:53 so there is stuff in the google index: Mar 15 17:00:54 well, you could write it and use it for yourself, and hope that the api will be documented one day so you can release it for all Mar 15 17:00:54 http://www.google.com/search?hl=en&q=site:developer.palm.com/distribution Mar 15 17:00:55 It was supposed to grab the contacts list, run through it looking for any entries without an address but with a home phone, and use reverse phone lookup to attempt to grab the data Mar 15 17:01:05 but our SEO sucks. I mean, really, really sucks. Mar 15 17:01:17 thats like, really sucky Mar 15 17:01:50 its.... bad Mar 15 17:02:32 hey, it's a step in the right direction. Mar 15 17:02:46 true, but its a baby step Mar 15 17:03:16 gah, I hate how the dev forums have a set width Mar 15 17:03:39 so do I. Mar 15 17:03:48 I hope to change that down the road. Mar 15 17:04:09 even on my 1440x900 screen its bad Mar 15 17:04:21 I shutter to think what it looks like on my desktop Mar 15 17:06:44 I should really attempt to install Titanium on my laptop to try and attempt my desktop app Mar 15 17:06:54 Chuqui, I am suddenly seeing more posts on google, they're hitting it now. Mar 15 17:07:07 It's possible that the pump needed to be primed. Mar 15 17:07:33 cool! Mar 15 17:07:39 nice Mar 15 17:07:44 But yea, viewtopic.php?f=55&t=1234 is NOT the best URL format for search. Mar 15 17:08:01 (eye roll) what's WRONG with it? (sigh) Mar 15 17:08:19 here's a hint: shh. this is secret. don't tell anyone. we're going to replace those forums. Mar 15 17:08:29 omg really! Mar 15 17:08:35 * halfhalo_T400 wants vb Mar 15 17:08:35 (and then I'm going to take the corpse of those forums out in the parking lot, set them on fire, and dance on its grave...) Mar 15 17:08:37 Halfhalo Mar 15 17:08:39 'palm://com.palm.contacts'; Mar 15 17:08:41 !!! Mar 15 17:08:59 the ONLY good thing to say about those forums is they're more or less better than what we had before. Mar 15 17:09:01 There's your contacts service Mar 15 17:09:06 except where they aren't. Mar 15 17:09:11 hmmm Mar 15 17:09:36 Monroe: I'll test that later. I left my workspace for eclipse at home and am doing a battery drain test on my phone Mar 15 17:09:49 ah Mar 15 17:09:54 and I'm playing with titanium to make a desktop app that ties to the pre Mar 15 17:10:32 I see what's wrong chuqui ... and you're not going to be happy. Mar 15 17:10:34 http://74.125.95.132/search?q=cache:fTCe7HW3Cm4J:developer.palm.com/distribution/viewtopic.php%3Ff%3D39%26t%3D3017+site:developer.palm.com/distribution/&cd=46&hl=en&ct=clnk&gl=us Mar 15 17:10:47 Because I'm a lazy bastard and want a simple program to list the apps installed on my pre and their versions in a nice, clean, non java way Mar 15 17:11:35 it displays it in java? Mar 15 17:11:48 Titanium is bascally adobe AIR but Open source and has the ability to run native apps Mar 15 17:11:52 Rick_work: lol well, it is almost indexing the forum Mar 15 17:12:03 almost. Mar 15 17:12:10 for java, I'm talking about WOSQI Mar 15 17:12:15 the google bot is logged in though, just doesnt have the right permissions Mar 15 17:12:24 but "You are not authorised to view this forum" isn't all that useful. :-) Mar 15 17:12:30 how dare you not create a googlebot user! Mar 15 17:12:37 or rather, not give it permissions Mar 15 17:13:26 chuqui can you promote the googlebot user? Mar 15 17:13:28 :) Mar 15 17:13:42 just make it an admin, what's the worst that could happen? Mar 15 17:13:51 right......... Mar 15 17:14:03 I would do it for shits and giggles Mar 15 17:14:48 titanium, don't you DARE pull this failed download crap Mar 15 17:14:53 awwawwwwwwwww Mar 15 17:15:04 here' the root of all the evil: http://74.125.95.132/search?hl=en&q=cache:developer.palm.com/distribution/&aq=f&aqi=&aql=&oq=&tbo=1 Mar 15 17:15:05 it pulled the failed download crap Mar 15 17:15:31 as of March 7, (the last time it hit the fourms) the googlebot was told that "This board has no forums." Mar 15 17:15:33 :( Mar 15 17:16:53 Man... you guys ever date a girl, think "She's pretty cute, we could have something together." Then after dating for a while you realize "This chick is frickin crazy what am I doing here?" So you dump her and find someone else, not quite as cute but 100 times more intelligent. That's Ares in a nut shell. Mar 15 17:17:13 lol Mar 15 17:17:20 Phil, I have to disagree with you about ares. Mar 15 17:17:28 I could never understand ares when I tried it Mar 15 17:17:31 I just gave up finally Mar 15 17:17:34 back to komodo Mar 15 17:17:57 For me, it's just the opposite, the deeper I get, the more I realize that Ares is just freaking amazing. Mar 15 17:18:10 Rick_work, you have a gift my friend Mar 15 17:18:18 and I am really glad it's working for you Mar 15 17:18:37 maybe after I have a more solid understanding of WebOS it'd make more sense, but for now, it's not happenin' Mar 15 17:18:42 phil_bw halfhalo_T400 would you be willing to take a look at the intro chapter to the ares book I'm working on and see if it makes sense to you? I've tried to do one in english. Mar 15 17:19:03 sure why not Mar 15 17:19:08 pm me an email. Mar 15 17:19:13 Rick_work, I could do that Mar 15 17:19:35 I suspect, that you might have an epiphany. Mar 15 17:20:16 I think my biggest frustration really is the lack of being able to edit UI elements from behind the scenes Mar 15 17:20:26 it felt like having dreamweaver without being able to edit the source directly Mar 15 17:20:57 but you CAN edit ui elements from behind the scenes. Mar 15 17:21:11 that'd be news to me Mar 15 17:22:01 there you go. It turns out that a) there are functions for setting all the UI properties and b) you can edit the HTML too. Mar 15 17:22:33 I'd like to see that book as well. I'm kinda like Rick. I looked a little bit at Ares, but I didn't "get it", so I'm back to my old editor Mar 15 17:22:45 s/Rick/Phil Mar 15 17:23:07 grrrr. Gotta write an article on android Mar 15 17:23:11 this should be fun Mar 15 17:23:17 Monroe pm an email and I'll send you the intro chapter. Mar 15 17:23:21 Rick_work, I'm reading now Mar 15 17:23:27 The cost is, you have to gimme a review of it. Mar 15 17:23:36 yeah, I'm attempting to download it Mar 15 17:23:41 but it keeps timing out. Mar 15 17:23:46 stupid wifi Mar 15 17:24:23 SERIOUSLY THUNDERBIRD ITS NOT THAT BIG Mar 15 17:24:42 Rick ... done Mar 15 17:24:45 4 meg. Mar 15 17:25:07 super crap wifi Mar 15 17:25:21 lots of screenshots. or it would be smaller. Mar 15 17:25:27 It will not allow more than like 4 connections through at the same time Mar 15 17:25:46 dammit wheres my phone Mar 15 17:26:44 http://www.vocshop.com/boatright/AiA_Chap3.doc Mar 15 17:26:48 try that halfhalo_T400 Mar 15 17:27:26 ok, that worked Mar 15 17:27:33 and I downloaded it on my phone for screenshots Mar 15 17:27:50 hey Mar 15 17:27:54 hey Mar 15 17:27:58 HEY THERE! Mar 15 17:28:32 http://www.youtube.com/watch?v=prgm4eKq6d4 Mar 15 17:29:05 lol \ Mar 15 17:29:10 whats everyone up 2 Mar 15 17:29:10 ^^ that video is awesome for hey's Mar 15 17:29:20 the usual Mar 15 17:29:26 planning mass terror and crime Mar 15 17:29:37 indeed Mar 15 17:29:47 im almost ready to take over my bank with my PRE Mar 15 17:29:48 lol Mar 15 17:30:01 psha Mar 15 17:30:05 I'm old school Mar 15 17:30:20 * Monroe sends screenshot to FBI & CIA ... Mar 15 17:30:22 :) Mar 15 17:30:30 crowbar + mask + rope + diabolical plan + extremely large hand gun Mar 15 17:31:43 * atlanta slaps Monroe with a large trout Mar 15 17:31:47 :-) Mar 15 17:32:03 hehe Mar 15 17:32:13 no, no , no, thats not how you do it. you do this: Mar 15 17:32:29 * halfhalo_T400 stabs Monroe with a large steak knife Mar 15 17:32:57 phil_bw what'cha think? Mar 15 17:33:08 Rick_work, just finishing reading it Mar 15 17:34:42 Thanks Rick. I'll give it a read tonight Mar 15 17:35:20 I'm off to lunch Mar 15 17:35:29 Rick_work, that's really quite informative Mar 15 17:35:40 yeah Mar 15 17:35:52 thanks. The sidebar on this.$ is the most important thing in the chapter. Mar 15 17:35:58 even with my brief skim over (In class), it looks good Mar 15 17:35:58 and is the KEY to ares apps. Mar 15 17:36:35 the only real change I would make is where you give steps to make them more list style instead of sentence style Mar 15 17:36:45 I know it's for a book, when learning it's just easier to grasp Mar 15 17:36:52 publisher wants me to make it MORE narrative. Mar 15 17:37:02 I see Mar 15 17:37:22 anyway, more to come on customizing look and feel etc. Mar 15 17:37:34 but this.$ is super super important. Mar 15 17:37:42 can be be marrative with little "example summaries" in blocks next to the text? Mar 15 17:37:51 perhaps Mar 15 17:37:55 yeah I was gathering that Mar 15 17:39:22 now if there were *good* documentation Mar 15 17:39:35 tht's what I'm trying to write. Mar 15 17:39:40 the two programming languages I've used most in the past 5 years are HB++ and php Mar 15 17:40:05 both of which have incredibly useful documentation with examples and lots of cross-linking between articles Mar 15 17:41:15 HB++ used the windows help file (good old chm file) and it made development very very fast. If you needed to know how to use a particular function just hit F1, click index, type it in and you have everything you'd ever want to know Mar 15 17:43:40 Rick_work: Howdy Mar 15 17:51:03 what we reading Mar 15 17:51:03 ? Mar 15 17:55:25 Alligator Wrestling (An Intro) Mar 15 17:56:20 er wait, an intro to using Ares Mar 15 18:10:09 anyone know how to use mojo.stagecontroller.sendeventtocommanders? Mar 15 18:10:24 i'm trying to send a drag event through a list to an element below it Mar 15 18:24:33 Rick_work: You want feedback on the chapter? Mar 15 18:39:15 ok this is driving me crazy.. how do you add a button to a header? I just want back and forward arrows Mar 15 18:41:54 hi Mar 15 18:41:59 hello Mar 15 18:43:26 hi halfhalo Mar 15 18:45:14 i've got a general question regarding xml parsing, is there any way to view the data in a way similar to the print_r function for php? Mar 15 18:45:34 Nope Mar 15 18:45:50 closest think is to to Mojo.log(transport.responseText) Mar 15 18:45:55 thing* Mar 15 18:46:47 oh ok, yeah i've seen that in the sample data app. i guess i'll have to look further into that thanks. Mar 15 18:48:26 anyone know where i can find guidelines for making icons? Mar 15 18:48:54 No idea Mar 15 18:50:22 quick q: are the UAs for Pre and Pre Plus the same? Mar 15 18:50:42 UAs? Mar 15 18:50:56 user-agents Mar 15 18:51:14 Methinks so. Mar 15 18:52:11 anybody have a Plus willing to check :) I only have a vanilla Pre here. Mar 15 18:52:50 0.243s (1024k) myvzw.com Mozilla/5.0 (webOS/1.4.0; U; en-US) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.1 Mar 15 18:53:07 http://developer.palm.com/index.php?option=com_content&view=article&id=1836&Itemid=52&limitstart=6, under "Prepare For Delivery", in case anyone was wondering :) Mar 15 18:53:25 Compared to: Mozilla/5.0 (webOS/1.4.0; U; en-US) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.0 for sprint Mar 15 18:53:51 halfhalo_T400_: thanks. looks like Pre/1.0 = vanilla, Pre/1.1 = Plus Mar 15 18:54:07 yeah Mar 15 18:54:28 wonder what the pixi has.... Mar 15 18:55:02 most likely: Mozilla/5.0 (webOS/1.3.5.1; U; en-US) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/1.0 Safari/525.27.1 Pixi/1.1 Mar 15 18:55:18 That looks like the pixi plus Mar 15 18:55:36 looks like wurfl has the model's wrong for the Pluses http://db.wurflpro.com/device/results?user_agent=webOS&identifier=&uaprof=&brand=&model= Mar 15 18:57:31 lol Mar 15 18:59:55 Roy-Pre101 yes, recognizing that it's an early draft Mar 15 19:00:32 Surely. Where do you want the feedback sent? Mar 15 19:00:43 gmail is fine. Mar 15 19:00:48 razzeldazzle Mar 15 19:09:26 Woot, bout time palm got a decent ad out there Mar 15 19:09:39 http://www.precentral.net/new-palm-ad-live-moves-fast Mar 15 19:13:25 I swear to god I'm am going to cut this guys foot off Mar 15 19:13:55 why Mar 15 19:14:18 he's stomping in rythm to a song Mar 15 19:16:49 I really should go open source with my apps as well Mar 15 19:19:47 cool commercial Mar 15 19:22:04 dpivs, are you a master of the xml parse? cause i need some help in that regard Mar 15 19:22:35 what is with all these people and xml parsing today? Mar 15 19:22:45 sorry bigbiff i'm just starting out. Mar 15 19:22:48 ahh Mar 15 19:23:02 it's a big xmlparse craze sweeping the nation, or maybe just precentral. Mar 15 19:23:13 stupid precentral Mar 15 19:23:15 no, it's sweeping the nation Mar 15 19:23:26 everybody's doing it Mar 15 19:23:51 so, its like crack Mar 15 19:23:57 I would rather do crack Mar 15 19:24:00 yes, but not as healthy Mar 15 19:24:27 you sure about that? Mar 15 19:24:32 no Mar 15 19:24:35 xml parsing makes ye crazy! Mar 15 19:24:51 and yet one of my apps is based off of xml feends Mar 15 19:24:56 hmm .. slacking off at work last week to work on my app is biting me in the ass today Mar 15 19:24:58 feeds Mar 15 19:25:01 i just want someone to plug a link into the data xml parse sample, and see if they get any results Mar 15 19:25:20 well, what are you trying to do with xml Mar 15 19:25:39 just grab some data from a usgs site (xml) Mar 15 19:25:49 easy to do on my browser Mar 15 19:25:50 link to xml? Mar 15 19:25:57 wont work on my app Mar 15 19:26:01 or the sample app Mar 15 19:26:10 yes Mar 15 19:27:16 what xml link are you trying to parse exactly Mar 15 19:27:57 http://waterservices.usgs.gov/WOF/InstantaneousValues?location=06306300&variable=00060&period=PT4H Mar 15 19:28:02 take a gander Mar 15 19:28:14 that's just one example Mar 15 19:28:21 i cant get any data to pop up Mar 15 19:28:29 what are you trying to get from this Mar 15 19:28:31 what values Mar 15 19:28:44 anything, specifically the //value Mar 15 19:28:54 or any attributes Mar 15 19:28:56 or anthing Mar 15 19:28:59 and how are you trying to get the values Mar 15 19:29:34 xpath, responseText, DOM, just like in the sample Mar 15 19:30:28 i have it set on my browser for responseXML, but for some reason that's no good in webos? Mar 15 19:30:56 it works Mar 15 19:31:13 :( ? Mar 15 19:31:22 give me a sec Mar 15 19:31:27 trying to pull up an example Mar 15 19:32:15 ahh i c, u mean responseXML works Mar 15 19:32:31 transport.responseXML.documentElement.getElementsByTagName('value')[0].childNodes[0].nodeValue; will get you the first value Mar 15 19:32:52 whoo, that's a mouthful. Mar 15 19:32:55 heh Mar 15 19:33:00 yeah Mar 15 19:33:21 so why does the app sample say not to use responseXML? is it a processing issue? Mar 15 19:33:38 to get all the values, just do a loop using transport.responseXML.documentElement.getElementsByTagName('value').length as the upper limit Mar 15 19:33:49 link to app sample? Mar 15 19:33:58 Im sorta doing this off of a public computer Mar 15 19:34:19 oh, eck, i just pulled it from the sdk Mar 15 19:34:53 can you put where it says that on pastie Mar 15 19:35:19 http://pastie.org/867565 Mar 15 19:35:27 http://pastie.org/867552 Mar 15 19:35:40 that's the html and js files separately Mar 15 19:36:23 halo, if you get this to work i'll give you a dollar Mar 15 19:37:04 I don't know why they don't want you to responseXML, unless it was broken in early versions Mar 15 19:37:40 but in SteamFriends I use responseXML for all my calls Mar 15 19:38:25 with responseXML, there is no DOM parser ? Mar 15 19:38:33 no Mar 15 19:38:46 yeah, the samples in the API are old Mar 15 19:38:55 their still using console.info Mar 15 19:39:06 ya, i spose it makes it tougher to create an array, unless you loop like you suggested Mar 15 19:39:07 yes Mar 15 19:39:26 well, a loop is relatively easy Mar 15 19:40:42 cool, i'll give the response xml a shot - halo i appreciate your help. make my beginner work easier Mar 15 19:40:52 http://pastie.org/870858 Mar 15 19:41:03 I think that will work Mar 15 19:41:29 cool, i'll try Mar 15 19:41:45 however, that does NOT get the dateTime Mar 15 19:41:50 only the actual value Mar 15 19:42:33 sure, the attribute would have to be a separate line Mar 15 19:43:20 in other words, no need for xpathing now Mar 15 19:43:45 cool - halo thanks again, i'm gonna give it a shot Mar 15 19:44:10 hold on Mar 15 19:51:40 is there a way to manually "backup" application data through novaterm? Mar 15 19:51:51 halfhalo: in that pastie, it looks like you're using an array as a hash? Mar 15 19:51:52 will that work? Mar 15 19:52:04 yeah Mar 15 19:52:06 thanks to Sprint, i have to factory reset my device. i want to backup my application data Mar 15 19:52:18 not the applications, per se, but their saved data Mar 15 19:52:20 huh, thought [] was only for number keys... Mar 15 19:52:21 it also comes out BEAUTIFULLY when going to .evalJSON Mar 15 19:52:34 and that you should use {} for hash. Mar 15 19:52:36 well I first make it an array outside the loop Mar 15 19:52:50 then for each entry made it an array Mar 15 19:53:12 what I'm saying is that there's a difference between an array and an object. Mar 15 19:53:26 I didn't realize that Javascript automatically converted an array into an object when using string keys. Mar 15 19:53:45 which is, as far as I can tell, what it's doing, if that works (talking about the arr[i] = []; arr[i]['date'] = blahblahblah bit) Mar 15 19:53:52 anybody know where on the filesystem applications store their saved data? Mar 15 19:54:23 why do metadata updates take so long!? Mar 15 19:54:23 s Mar 15 19:56:06 Kuraiou: There's really no difference between arrays and objects. The only difference is the methods you get if you're descended from Array. AFAIK. Rick_work: Care to weigh in? Mar 15 19:56:21 Kuraiou: Well, arrays ARE objects. With associative arrays your just skipping the whole "array" part Mar 15 20:07:55 hi, are there any tools for examining app logs in windows other than call palm-log from commandline? Mar 15 20:08:07 as of right now? Mar 15 20:08:08 no Mar 15 20:08:12 sure Mar 15 20:08:17 I can AlWAYS way in. Mar 15 20:08:50 halfhalo associative arrayes are a third class of thing, sort of kind of. Mar 15 20:09:13 topher_ TOOLS no, but you can grab the file and examine it with anything you want. Mar 15 20:09:45 I'm using the emulator at the min, how would I get the file from there? Mar 15 20:11:04 what do you want to do with the file? I would just use novterm and use the native linux tools to slice and dice it. Mar 15 20:12:09 If you want to extract it out to your desktop, then there are a bunch of ways, use winSCP, use novaterm and copy it into /media/external and then get it from the USB drive, - lots more ways to skin the cat. Mar 15 20:12:11 I just want to examine it for debugging at the min Mar 15 20:12:30 in novaterm use grep and tail. Mar 15 20:12:58 grep that tail. Mar 15 20:13:31 heh Mar 15 20:13:38 palm-log -f works just fine for me Mar 15 20:15:49 halfhalo sometimes I only want the log lines with "Condition" in them. or something. Mar 15 20:16:25 yeah, but thats effort Mar 15 20:16:41 i hadn't tried -f, but for now at least that's perfect. thanks halfhalo. Thanks Rick_work aslo, no doubt I'll use your tip at some point soon too. Mar 15 20:18:57 So, in the thing about associative arrays and numeric key arrays, associative arrays are simply converted to objects. myArray = []; myArray['frog'] = "jump" you can access it either as myArray['frog'] or as myArray.frog and you'll get the same thing. the myArray[stringVar] is useful because you can build them in loops and recusrively but you have to do for (var i in myArray) rather Mar 15 20:19:19 than for (i=1;i the latter won't work even thou you did [] Mar 15 20:23:20 evening Mar 15 20:24:34 yeah Rick_work because for associative arrays the values are not saved within the container Mar 15 20:24:51 meaning, you can't even use the array functions like splice, shift and sort and stuff Mar 15 20:31:23 you can get grep for windows somewhere, I'm sure, and pipe palm-log -f through it too Mar 15 20:31:47 seriously though wtf is causing these buttons to stop working >_< Mar 15 20:35:44 oh Mar 15 20:35:48 hrm Mar 15 20:36:35 so cleanup occurs whenever a scene is popped... Mar 15 20:37:59 dur Mar 15 20:39:51 is there a quick way to get the current scene's name? Mar 15 20:40:00 No idea Mar 15 20:40:05 but 5 minutes till paycheck! Mar 15 20:40:06 and home Mar 15 20:40:09 and food Mar 15 20:40:30 i thought there is Mar 15 20:42:27 kuraiou: Mojo.Controller.StageController.getScenes() Returns an array of scene controllers currently on the stack. result[0] is the bottom scene on the stack. Mar 15 20:42:36 http://developer.palm.com/index.php?option=com_content&view=article&id=1872&Itemid=244 Mar 15 20:43:01 Mojo.Controller.stageController.activeScene().sceneName Mar 15 20:43:03 yeah, I found it too ;) Mar 15 20:43:08 separately Mar 15 20:43:09 heh Mar 15 20:50:08 goddammit Mar 15 20:50:26 the scene isn't active until AFTER activate is called, I need the info in setup() Mar 15 20:52:26 the real problem is a 'this' context problem. I've got two scenes that both extend a BaseClass, the BaseClass has automatic handling for listeners (adds them to a list, then in cleanup loops through the list and stops listening) Mar 15 20:52:44 but for whatever reason it's tracking the lists in both scenes that inherit from BaseClass Mar 15 20:56:31 k guys, quick question... is there anything wrong with this: Mar 15 20:56:37 Mojo.Event.listen(this.controller.get("Change1"),Mojo.Event.tap, this.handleChange); Mar 15 20:57:02 no, but there's not enough information. what's the problem you're actually getting? Mar 15 20:57:07 how about this: Mar 15 20:57:08 TmainAssistant.prototype.handleChange = function(event){ Mar 15 20:57:08 this.controller.get("Field1").update("test"); Mar 15 20:57:08 } Mar 15 20:57:16 pastebin is your friend Mar 15 20:57:19 trying to figure out why my button's not working... Mar 15 20:57:32 gkatsev, sorry, I figured 3 lines wouldn't be a prob Mar 15 20:57:34 er 4 Mar 15 20:57:41 phil_bw: the this from handle change is referring to what? Mar 15 20:57:43 are you binding the 'this' context to handleChange? Mar 15 20:57:55 this.handleChange = this.handleChange.bindAsEventListener(this); Mar 15 20:58:00 try putting that line above the event.listen Mar 15 20:58:01 see if that fixes it. Mar 15 20:58:45 or you can just do var self = this and then use closure for self.controller... Mar 15 20:58:51 and it works Mar 15 20:59:00 yeah. Mar 15 20:59:03 "this" in JS is tricky. Mar 15 20:59:07 like, really really tricky. Mar 15 20:59:18 I think it's the problem I'm having currently... Mar 15 20:59:27 i'm just following the "building your first application" example Mar 15 20:59:29 it is highly recommended you learn what closure is and how to use it.it actually isnt much different just just scoping rules Mar 15 21:00:02 Kuraiou: yeah, this is bound dynamically not lexically in js. Mar 15 21:00:35 gkatsev, I just looked back at the example and the line of code you gave me is not in it... Mar 15 21:00:39 what kind of example is this... Mar 15 21:01:08 it is slightly more advanced js. Mar 15 21:02:41 ah, nm, I figured out what they were doing and just missed it Mar 15 21:03:43 so I need to figure out what Prototype is doing to screw up my 'this'. Mar 15 21:03:46 should have had .bind(this) at the end of this.handleChange Mar 15 21:04:00 because I'd really like to make this BaseClass easy for others to use and plug in. Mar 15 21:04:12 and it's stupid to have some kind of multi-class instancing problem. Mar 15 21:07:56 http://www.prototypejs.org/learn/class-inheritance ah here we go Mar 15 21:09:57 fix't! Mar 15 21:13:37 yo Mar 15 21:14:07 oy Mar 15 21:14:29 hey Mar 15 21:15:23 @codeslaw on twitter, if any of you guys hit that Mar 15 21:15:28 0 followers =( Mar 15 21:16:25 uno momento Mar 15 21:16:54 how did you get stuck with 0 followers? O_o Mar 15 21:17:22 you should have one additional follower :) Mar 15 21:17:26 @Bradleycorn ... I follow you follow me Mar 15 21:17:28 1 more as well Mar 15 21:17:46 I'm going to start tweeting updates to apps... so @tibfib Mar 15 21:18:22 +1 Mar 15 21:18:26 @kuraiou Mar 15 21:18:28 natch. Mar 15 21:18:35 cool, i'll follow you gools too Mar 15 21:18:39 fools* Mar 15 21:18:39 I'm kind of vulgar, though, so don't let your kids follow me. Mar 15 21:18:44 lol Mar 15 21:18:52 * Kuraiou would rather be a ghoul than a fool, and a fool than a gool. Mar 15 21:20:01 done Mar 15 21:21:17 it's chuq, hide the treasure! Mar 15 21:22:01 hey chuq Mar 15 21:22:50 also follow @thinmachine for more of my app specific stuff Mar 15 21:23:29 * Monroe heads to Twitter to create a webos specific account Mar 15 21:24:07 so anyone know how to change the label of an item in a viewMenu? Mar 15 21:24:07 Heh, i only have a webos specific account Mar 15 21:24:26 same, codeslaw is my only account Mar 15 21:25:12 anyone use Mojo.Locale.readStringTable before? Mar 15 21:25:13 I'm not much for twittering... I just like to stay involved with whats going on in webos. Mar 15 21:27:08 @WebOSMonroe ... follow me fools! Mar 15 21:28:23 yes Mar 15 21:28:25 an actual univac user ... wow Mar 15 21:29:09 this.viewMenuModel.items[itemIndex].label = "New Label"; Mar 15 21:29:26 thix.controller.modelChanged(this.viewMenuModel); Mar 15 21:30:24 Ok I got @codeslaw, @kuraiou, and @thinmachine ... any others I missed? Mar 15 21:30:45 did someone say treasure? Mar 15 21:31:18 phil_bw: see above for your viewMneu solution Mar 15 21:31:23 i'm on the twitters, @kmudrick Mar 15 21:31:36 * Monroe adds @Kmundrick Mar 15 21:31:42 Monroe, thank ya much :) Mar 15 21:31:52 Monroe: kmudrick not kmundrick :) Mar 15 21:32:00 err .. yes Mar 15 21:32:19 done Mar 15 21:32:44 wohoo, got 4 followers Mar 15 21:32:49 :) Mar 15 21:33:11 Only 1 for me :( Mar 15 21:34:06 @WebOSMonroe ... Mar 15 21:34:22 OK I'm off .. gotta pick up the boy before daycare starts charging overtime Mar 15 21:35:02 Plus I have a bunch of kuraiou tweets to show him ;) Mar 15 21:35:04 cu Mar 15 21:35:29 * Kuraiou salutes. Mar 15 21:35:30 latah! Mar 15 21:36:12 i see adora made a webos-developers twitter list (http://twitter.com/Adora/webos-developers) Mar 15 21:37:26 phoo. Mar 15 21:37:27 how can we get in on that Mar 15 21:37:33 when Adora comes by next, poke her. Mar 15 21:38:10 I really wanna use a .json file to handle preferences, but figuring out Mojo.Locale.readStringTable just ain't working as a hack, and Mojo.loadJSON is an undocumented feature so they probably wouldn't let it in :( Mar 15 21:39:07 chuqui: you drinking the twitter koolaid? Mar 15 21:39:44 codeslaw: chuq is on the twitter, http://twitter.com/chuq Mar 15 21:41:31 yeah, i need to poke adora too Mar 15 21:42:24 so i have a large (~1k objects) json object that i pull from a webservce. I want to filter this via the FilterList Mar 15 21:42:34 most efficient way? Mar 15 21:43:18 i feel like a string search on 1k objects with 2 searchable fields will be very heavy lifting Mar 15 21:43:22 oh, I drank the twittr coolaid early and often... Mar 15 21:43:38 chuqui: just followed you Mar 15 21:43:49 codeslaw: my sympathies Mar 15 21:44:41 ha indeed Mar 15 21:47:04 what does your json object look like? Mar 15 21:47:46 kmudrick: that's a personal question! Mar 15 21:47:52 lol Mar 15 21:50:20 so, how to deal with webos killing my long-running process is beyond me. I dont know how to keep it from dying. Mar 15 21:51:07 kmudrick: [{title: Cool Painting, artist:Pablo Picasso, image:someimageurl}, {title:Lame painting... etc etc Mar 15 21:51:37 And I have discovered that "setTimeout" can be considered a long running process. Mar 15 21:52:10 codeslaw_: guessing you want to search on title & artist? Mar 15 21:52:14 yes Mar 15 21:52:31 if I have setTimeout(this.doSomething.bind(this), 20000) in a background app, the OS will close my app before the timeout gets kicked off. Mar 15 21:52:37 could you search on the server-side? Mar 15 21:52:58 since the data is on the server anyway Mar 15 21:53:03 swisstomcat: not practical for my webservice Mar 15 21:53:26 codeslaw_: when pulling it in for the first time, how about making an artist hash and a title hash, each of them would be indexed by the title or artist and would be an array of the index of the record? Mar 15 21:54:23 so... artistHash = { "Pablo Picasso": [0, 5, 7], "Some Guy": [1] } etc Mar 15 21:54:51 could someone try the "report a problem" menu option in the app catalog when viewing my app "moo" .. i always get an error when i try to submit Mar 15 21:56:19 wow, sucks that typing "moo" into the app catalog search does not bring up your app first Mar 15 21:58:04 swisstomcat: i ust tried the report a problem Mar 15 21:58:22 the content of my "bug" was "foo bar baz" fyi, if you get it Mar 15 21:58:31 i wonder if it will show up as a review Mar 15 21:58:43 or if i get an email or something Mar 15 21:59:07 hope it does not show up as a review Mar 15 21:59:17 i always get "the report could not be sent, please try again later" (in german) ... i'm trying for a few weeks already Mar 15 21:59:31 i hope not or it would be a nasty bug! Mar 15 21:59:40 i got no error message when i tried Mar 15 21:59:41 especially if it shows up as 0 star Mar 15 22:00:00 thanks for testing, kmudrick Mar 15 22:00:07 np Mar 15 22:01:54 I was also able to submit a report. said "This is a test report... please disregard" Mar 15 22:02:15 hope i wont get two 0 star reviews :) Mar 15 22:02:26 any gsm users/german users around? Mar 15 22:02:47 You know, I have not been able to update my review to my app switcharoo. Getting the same message you got on trying to submit a report... wonder if releated. Mar 15 22:03:13 hmm Mar 15 22:03:24 lyht: you can cheat on setTimeout; just have some number that tracks iterations, divide 20000 by the number of iterations you do, increment by one each time, and when you reach the value you want set it back to zero and do the thing you wanted to do. Mar 15 22:03:25 what's the actual message? Mar 15 22:04:00 lyht: swisstomcat: i get a similar message whenever i try to review my own apps that i loaded myself (ie did not download through the catalog) Mar 15 22:05:55 kmudrick: that is probably it. Although I did buy it, the version I currently have installed in newer than the one in the catalog. Mar 15 22:07:16 Kuraiou: wont work. Mar 15 22:07:30 g'night everyone Mar 15 22:07:38 i'll report tomorrow Mar 15 22:07:42 about the reviews Mar 15 22:08:00 I know the problem Mar 15 22:08:16 The catalog checks the version number of the app before reviewing Mar 15 22:09:17 If it is different than the catalog version, it doesn't let you review Mar 15 22:09:17 Kuraiou: here is why. If I have a background app, it seems to want to kill my app after 15 seconds, no mater what I do. I have a process running, stick a setTimeout for 500 in there, and it takes that as permission to kill my app. Mar 15 22:11:11 so I am doing a loop of downloading 50 image. When it is done downloading, I put a settimeout of 300 before I go on to the next (to be a good multi-tasking app... dont hog the processes) and after 15 second, the first setTimeout that is hit, the OS kills the app. Mar 15 22:13:45 I guess I can take out the setTimeout... I thought it was the right thing to do, to keep my app from being to heavy as a background process Mar 15 22:14:44 is there a way for the simulator to show a webview widget as though it was a mobile device? Mar 15 22:14:51 rather than showing the full site Mar 15 22:16:17 SXSW is happening all around me right now Mar 15 22:16:36 open house at the agency i work at, apparently i have to give tours Mar 15 22:23:46 I think I might know what is going on. With my background app, I dont actually create a dashboard stage or anything... So I think the phone says "Hey, what you doing here. You are not valid. I kill you now!" Mar 15 22:27:13 lyht: yep... with the 1.4 update the pre kills background processes after 15(or 60 sec?) without a face Mar 15 22:43:22 is it possible to use more than one WebView widget in a scene? Mar 15 23:00:19 hi all Mar 15 23:03:13 hello JenP Mar 15 23:03:30 hey Templarian Mar 15 23:13:37 tib you sure about that? my app continues to run in the background with no probs Mar 15 23:14:07 well i mean it does its thing however long it takes, quits, and reluanches when its supposed to Mar 15 23:50:11 anybody have experience with the messaging pluging an yahoo ? Mar 15 23:50:21 I can't get it to logon correctly Mar 16 00:51:51 JenP: ping! Mar 16 01:03:53 Norm! Mar 16 01:04:09 where? Mar 16 01:04:34 I dunno ... that's what they say when Norm comes into the bar at Cheers Mar 16 01:08:47 I like how the preferred method of installing the Palm SDK on Debian is a CLI dpkg command Mar 16 01:11:25 I like how "requiresEnterKey" attribute on the TextField widget doesn't REQUIRE the enter key ... Mar 16 01:12:23 Monroe: think of it as like the "Glove Compartment". Mar 16 01:12:30 Not accurately named, but fancy nonetheless. Mar 16 01:12:42 hehe Mar 16 01:12:58 That's great, but I need it work like it's name says Mar 16 01:13:33 docs say "Required Enter key to submit; other navigation will not genterate submit event" Mar 16 01:14:08 I assume by "submit event", they mean a "propertyChanged" event Mar 16 01:15:54 It works over here. Mar 16 01:16:03 hmm Mar 16 01:18:25 what's wrong with dpkg? /me hugs his dpkg Mar 16 01:20:47 RagingMind: Oh, I actually love it. I was just amused. Mar 16 01:40:58 hmm Mar 16 02:17:58 monroe, rip the google maps app off the device and 'peek' at their code Mar 16 02:18:10 they're catching the enter key Mar 16 02:19:15 haeffb_pre did that vid work out? Mar 16 02:20:13 I don't understand what the "Enter submits" option is supposed todo. Is it supposed to send a property changed? Mar 16 02:20:48 If not then what is it "submitting"? Mar 16 02:20:49 enterSubmits only applies when using a multiline box ... Mar 16 02:21:13 what is the "submit"? Mar 16 02:21:20 normally in a multiline box (textarea) ... enter puts in a newline ... you can use that property to "submit" instead Mar 16 02:21:36 I assume "submit" = "propertyChanged" Mar 16 02:22:01 Thanks dawm .. I caught the enter key as well to make my box work as I wanted it to Mar 16 02:22:03 That would make sense I guess... it just needs to say that in the docs Mar 16 02:23:53 It needs to say a lot of things in the docs :) Mar 16 02:24:04 It would make more sense if they had an event (Mojo.event.submit) to listen too.... but oh well Mar 16 02:24:27 That way we don't have to setup our own enter key listener Mar 16 02:24:34 Monroe: oh yes it does...lol Mar 16 02:24:49 Palm really needs to make a wiki of their stuff Mar 16 02:25:23 webos101.com could work, we just need to port over the palm stuff Mar 16 02:26:31 I setup the regular propertyChanged handler, and used the "changeOnKeyPress" attribute in the TextField. That makes it fire propertyChanged for every key. Then in the event handler I check to see if the key is Enter, and take action if so Mar 16 02:27:08 also set the requiresEnterKey = true on the TextField so that when the user presses enter, the text field loses focus as it should Mar 16 02:44:12 hokay so Mar 16 02:44:23 any one make any better progress on playing sounds Mar 16 02:44:56 put them in a pipeline, end it with ! alsasink? Mar 16 02:45:06 Oh, this is #webos, whoops. Ignore that last comment. Mar 16 02:46:09 android? Mar 16 02:46:13 haha Mar 16 02:46:13 yes Mar 16 02:46:27 html audio() plretty much blows wang Mar 16 02:46:31 anyone done anything with pdk Mar 16 02:47:12 ron_frown: no, not android. Just non-SDK palm stuff Mar 16 02:47:20 pdk? Mar 16 02:47:27 and the pdk is just a cross-compile toolchain, so I'm sure many here have used it Mar 16 02:48:22 I dont get what the eff palm is thinking Mar 16 02:48:36 media in webos is just shit Mar 16 02:50:01 ron_frown: no, that's very much so incorrect Mar 16 02:50:17 _official means of access to media elements_ is garbage Mar 16 02:50:24 the actual media framework itself is badass, imo Mar 16 02:50:34 html5 audio elements... and they are just complete and utter shit Mar 16 02:50:55 the framework itself I think is amazing, and the os in general so far is what I'd say makes the most sense Mar 16 02:50:55 webos is literally capable of doing things no other phone can do, including iphone/android, and doing them right now with a little elbow grease. Mar 16 02:51:24 Ugh, this is why I try not to come in here. I just spam propaganda. Sorry all :P I'll come back when I have a mojo question.. Mar 16 02:51:28 * zsoc hides in the corner again Mar 16 02:51:37 I havent been able to play a loaded sound over and over again, while potentially playing other sounds Mar 16 02:51:38 you know Mar 16 02:51:42 like a game might do =) Mar 16 02:51:53 I dont know anyone who has been able to either Mar 16 02:53:14 ron_frown: that would be a trick through pulseaudio, but again, probably no good mojo way into that Mar 16 02:56:15 http://www.youtube.com/watch?v=bGEcYtVBxGc&feature=youtube_gdata Mar 16 02:56:22 you guys this is hysterical Mar 16 02:57:08 hahah im watching it now Mar 16 02:58:05 I'd say mildly entertaining. Mar 16 02:58:15 zsoc: thats exactly the point Mar 16 02:58:34 I know a good deal about programming and how I could get this goig n but it looks like evne the pdk is half baked Mar 16 02:58:45 I can only play audio thats in mp3 format Mar 16 02:59:35 in what seems like more of a streamed or soundtrack fashion Mar 16 02:59:36 not Mar 16 02:59:40 a bunch of soundfx **** ENDING LOGGING AT Tue Mar 16 02:59:56 2010