**** BEGIN LOGGING AT Tue Dec 08 02:59:56 2009 Dec 08 03:08:18 http://keen-studios.net/2009/12/wordpress-for-webos/ Dec 08 03:11:26 hey uhh, doesnt wordpress have their own api and stuff? Dec 08 03:11:37 why the plugin Dec 08 03:12:50 yeah what he said Dec 08 03:15:38 Lol Dec 08 03:15:49 The Plugin allows us for a more direct way to do it Dec 08 03:16:00 It's also faster Dec 08 03:16:05 and in a way more secure Dec 08 03:16:58 kesne: open source plugin? Dec 08 03:17:09 rwhitby: Of course Dec 08 03:17:18 kesne! Dec 08 03:17:24 yetdog! Dec 08 03:17:35 now im debating on if i want to start on my wp app or just let you run with yours :P Dec 08 03:17:39 rwhitby: is that good or bad? Dec 08 03:17:40 just wrote another app in about 8 hours, much more complex, multiple scenes :) Dec 08 03:17:46 dawm: mine will beat yours Dec 08 03:18:13 dawm: for one reason, you don't have PreCentral pimping you Dec 08 03:18:14 kesne: so you'll have a kill switch on someone's wordpress plugin installation? Dec 08 03:18:14 * FoxFireX is nowhere near that fast. Dec 08 03:18:30 lol Dec 08 03:18:39 Is webos-internals package archive down? Dec 08 03:18:42 Or maybe I'm just trying too hard. Dec 08 03:18:53 * yetdog 's application is most likely nowhere near as complex as FoxFireX Dec 08 03:18:55 rwhitby: Sorta. It's basically checking a static file on a server to see if everything is a-ok Dec 08 03:18:59 if it is, it'll run fine Dec 08 03:19:07 if not, it blocks off the function Dec 08 03:19:22 kesne: what if your server goes down? Dec 08 03:19:34 rwhitby: strength in numbers Dec 08 03:19:40 And our server rarely goes down Dec 08 03:19:43 so it's a phone home, not a push kill switch. Dec 08 03:19:52 rwhitby: yeah Dec 08 03:20:01 kill switch is the wrong word Dec 08 03:20:06 but people will understand it Dec 08 03:20:10 interesting. why do you need it? Dec 08 03:20:23 Keeping users secure Dec 08 03:20:32 (since people are likely to be concerned about their wordpress installation contacting your site) Dec 08 03:20:35 would anyone like to test my app? should be quick and easy :) Dec 08 03:20:40 no, give me the real technical reason, not the marketing reason. Dec 08 03:20:54 rwhitby: that is genuinly why Dec 08 03:21:21 how can contacting your server make their existing wordpress installation more secure? Dec 08 03:21:22 I don't want people getting mad because my 'safe' plugin screwed them up Dec 08 03:21:37 rwhitby: it makes our plugin more secure, not the install Dec 08 03:21:42 yetdog: Sure thing! Dec 08 03:21:56 kesne: but if your plugin is not secure, then it's too late. Dec 08 03:22:04 Yeah Dec 08 03:22:14 but that's why we have the phone home.... Dec 08 03:22:23 so it's a damage control phone home facility? Dec 08 03:22:33 yeahj Dec 08 03:22:34 ER Dec 08 03:22:39 no J after yeah Dec 08 03:22:43 kesne: PM'd. Dec 08 03:22:47 Basically, that's exactly what it is Dec 08 03:22:48 anyone else let me know if you'd like to test :) Dec 08 03:23:20 cupcakes anyone? Dec 08 03:23:30 i made some. delicious. Dec 08 03:23:45 I'd love some Dec 08 03:24:06 kesne: it will be interesting to see the trade-off between the perception of that versus the real risk on insecurity versus the ability to detect a vulnerability before it is widespread enough to damage the reputation anyway. Dec 08 03:24:25 rwhitby: Well, it's just a try Dec 08 03:24:32 hey everyone Dec 08 03:24:36 rwhitby: other ideas are accepted Dec 08 03:24:39 Hey david! Dec 08 03:24:47 kesne: don't get me wrong, I'm not knocking it. I'm genuinely interested in the trade-off. Dec 08 03:25:22 since it's open source, people shouldn't be concerned about the phone home. Dec 08 03:25:31 rwhitby: PM'd Dec 08 03:26:23 night all Dec 08 03:26:46 Who here is good at basic trig? Dec 08 03:28:02 ooh, fun - what trig ? Dec 08 03:28:23 * haeffb_ used to be good at trig Dec 08 03:28:31 can't even spell it anymore Dec 08 03:29:28 * yetdog stopped being good @ math in calc Dec 08 03:29:31 exp(i*x) is good stuff Dec 08 03:30:20 so, what's the trig question?? Dec 08 03:32:25 I have the pitch and roll of the device Dec 08 03:32:28 the world may never know the trig question Dec 08 03:32:34 ranging from -90 to 90 Dec 08 03:32:51 I need to turn those into degrees for rotation Dec 08 03:34:41 it's the summation of the sines and cosines of the two values, isn't it ? Dec 08 03:34:56 that will yield the vector you're pointing Dec 08 03:35:19 -90 to 0 to 90 isn't already degrees? what unit of measure is it? Dec 08 03:35:24 I mean Dec 08 03:35:32 degrees from 0-360 Dec 08 03:35:38 turn it into ROTATION degrees Dec 08 03:35:40 for a div Dec 08 03:36:59 is this for the device ? Dec 08 03:37:16 yes Dec 08 03:37:23 an app actually Dec 08 03:37:52 hmm...Agenda is about to be available in French...! Dec 08 03:38:04 so pitch is what for the device .. ? Dec 08 03:38:08 * haeffb_ doesn't understand your question Dec 08 03:38:36 if the x-axis is along the bottom of the device, y-axis is along the left side.... Dec 08 03:39:04 pitch is measured about which axis? and roll...? Dec 08 03:39:42 http://developer.palm.com/index.php?option=com_content&view=article&id=1554 Dec 08 03:39:43 detials there Dec 08 03:41:19 and you want degrees? of? what? Dec 08 03:41:28 Give him the 3rd degree. Dec 08 03:42:48 your pitch and roll are already in degrees. 180 degrees from pointing straight up (-90) to straight down (90) Dec 08 03:43:38 kesne, so you get a vector .. not just a single value :( Dec 08 03:44:44 haeffb_ that isnt what I need Dec 08 03:44:45 you want rotation around what axis? Dec 08 03:44:54 think airplane Dec 08 03:44:56 Around Z Dec 08 03:48:16 * haeffb_ thinks you're missing one dimension Dec 08 03:48:19 see: http://en.wikipedia.org/wiki/Yaw,_pitch,_and_roll Dec 08 03:48:30 I don't need Yaw Dec 08 03:49:20 i dont think it does yaw.. Dec 08 03:49:25 It doesnt Dec 08 03:49:28 but pitch and roll Dec 08 03:50:09 pitch it and roll it up Dec 08 03:56:28 sorry, I just can't see where you're going with this... Dec 08 03:57:48 lol Dec 08 03:58:03 I need to make an arrow point to which way the device is tilted Dec 08 03:58:28 why not try starting with just roll ? Dec 08 03:58:33 then extend it out to pitch Dec 08 03:58:39 and show your 2 vectors ... Dec 08 03:58:58 roll would be rotation to the side, pitch would be fwd/aft Dec 08 03:59:00 then you can combine them to show only the one vector Dec 08 03:59:06 Make sure to put all this accelerometer stuff on webos101.com if it's not there! Dec 08 03:59:53 i'd think a slider is a better indicator .. make one horizontal and one vertical going up the pre .. Dec 08 04:00:00 at (0,0) .. place in the center locations Dec 08 04:00:19 as you do each, move them to each direction Dec 08 04:00:39 you will see that this yields a graph on the pre in an x,y plane .. Dec 08 04:00:48 * haeffb_ would just paint an arrow on the screen. Then whichever way the screen is moved, the arrow moves. Dec 08 04:01:02 many ways to skin this cat Dec 08 04:01:37 I suggest red nail polish, so you can remove it with acetone later if you get tired of the arrow. Dec 08 04:02:44 i thought french tip is a much classier look Dec 08 04:03:01 +1 for french tip Dec 08 04:03:22 hrm Dec 08 04:03:31 wifi doesnt seem to work well on the touchstone.. im not getting my emails Dec 08 04:03:32 mmm...french dip....i'm hungry Dec 08 04:03:50 french dip w french tip.. Dec 08 04:07:03 @dawm i have the same issue Dec 08 04:07:11 but cell is worse too Dec 08 04:08:05 i get emails on touchstone. not sure if evdo or wifi, though Dec 08 04:10:22 dawn - the electrical wave from the touchstone could effect your cellular and wireless adapters Dec 08 04:10:26 electrical field Dec 08 04:10:56 not sure how much though, potentially enough to screw it up some maybe make it weaker Dec 08 04:15:47 webosroundup is so close to palm's site Dec 08 04:15:49 color wise Dec 08 04:16:34 Somebody want to do me a favor and send me weatherman lite? Dec 08 04:17:37 Hmmmm...I guess you wouldn't be able to send the ipkg anyway... Dec 08 04:17:53 Not being able to install anything on your pre is kind of a bummer Dec 08 04:19:10 is it app catalog? Dec 08 04:19:16 Yeah Dec 08 04:19:35 cuz, someone could DL it, copy it from the device and repackage it Dec 08 04:20:15 I can repackage things. Not a problem Dec 08 04:21:28 Somebody might have the ipkg though because it used to be available on homebrew Dec 08 04:22:51 haeffb_ that would be breaking the rules without the devs concent Dec 08 04:25:38 that's OK, I got distracted by new apps in the catalog and forgot what I was doing. Dec 08 04:26:00 fuel looks nice Dec 08 04:26:20 and free! Dec 08 04:26:39 but I've hit the app limit again. Dec 08 04:27:42 I'm no where near the app limit yet I'm unable to install any apps from the app catalog Dec 08 04:29:15 eekfuh: you still looking for help with loggin? Dec 08 04:36:56 huh? Dec 08 04:37:07 oh yeah Dec 08 04:37:10 i read it differently Dec 08 04:37:15 but its not a big deal Dec 08 04:37:23 was gonna get the tokening for the appcatalog Dec 08 04:40:38 So where is this fairdinkum thing in preware? Dec 08 04:40:53 preferences screen Dec 08 04:41:39 ah Dec 08 04:41:49 Does it only apply to preware downloaded apps? Dec 08 04:42:23 webOSroundup: http://www.webosroundup.com/2009/12/pre101-and-webosroundup-are-joining-forces/ <- you spelt my name incorrectly. Dec 08 04:42:37 Apparently not. I can finally download app catalog apps. Dec 08 04:42:57 And install my own apps through komodo... Dec 08 04:48:48 Anybody know where the api doc is on non-standard windows? Dec 08 05:18:23 need some WebOS help. Anybody available? Dec 08 05:18:58 Need a way to know when a notification has some in so that I can resize the screen. Dec 08 05:19:12 some in => come in Dec 08 05:27:05 Say what? Dec 08 05:48:33 djpushplay: there are several ways to accomplish that Dec 08 05:48:42 have you done any serches at all? djpushplay Dec 08 05:53:38 he's probably not paying attention but djpushplay http://developer.palm.com/distribution/viewtopic.php?f=7&t=1223&p=5304&hilit=notifications#p5304 Dec 08 05:53:38 there's an event to listen to and a property to check in that thread Dec 08 06:16:25 im having an issue with a list on a scene not properly re-drawing then i use the back gesture to move back to the list Dec 08 06:16:44 so scene A contains a list (>30 items), and clicking on a list item pushes to that item;s details Dec 08 06:17:29 so after i view an item's details (typically > 18 items down on that list - if i just try one of the top list items the bug doesnt show), and then perform the back gesture to go back to scene A, the list greys out underneath the item i tapped on Dec 08 06:17:36 and only shows back up once i try scrolling up/down Dec 08 06:18:01 is there an event that is called when i swipe back to scene A? if so, could i force a screen refresh or something similar? Dec 08 06:28:24 darn. hit an empty room :) Dec 08 06:28:30 will try again in the AM i suppose! Dec 08 06:37:35 okay. I'm going to try it right now Dec 08 06:37:49 yo Dec 08 06:41:11 anyone around care to lend some insight to list display disappearing on back gesture? Dec 08 06:46:01 . Dec 08 08:08:22 The latest version of Google's closure compiler works much better on my webos code. Dec 08 08:08:57 My code is compressed down from 336k to 56k. Dec 08 08:09:26 I'm not smart enough to get the advanced options working...but that might actually speed things up further. Dec 08 12:35:44 and goodmorning Dec 08 12:47:43 good morning Dec 08 12:52:32 hey atlanta in fla. hows it going down there Dec 08 12:57:38 hey atlanta in fla. hows it going down there Dec 08 12:57:56 pretty good really foggy this morning Dec 08 12:58:01 other than that nice weather Dec 08 12:58:03 warm Dec 08 12:58:19 sounds nice... Dec 08 12:58:34 f'n freez'n here Dec 08 12:58:53 lol Dec 08 12:58:57 its gonna be 86 2mro Dec 08 12:58:59 crazyness Dec 08 12:59:14 must be ruff Dec 08 12:59:20 i like it Dec 08 12:59:53 i used to live in AZ so dec-mar in NY is a rude awakening Dec 08 13:00:21 i bet Dec 08 13:00:25 me and cold dont get along too well Dec 08 13:00:42 all i need is a few days to put my winter clothes to use then im ready for the heat again Dec 08 13:01:02 downloading the sdk here at work so i can have something to do on my free time :-) Dec 08 13:01:06 like no Dec 08 13:01:08 now Dec 08 13:01:09 i hear ya. i'm done with winter already Dec 08 13:01:22 Passion Pit - Sleepyhead Dec 08 13:01:30 thats the song on the palm pixi commerical i like it Dec 08 13:01:42 havent seen it yet.. Dec 08 13:01:52 too cold for the tv to work right here.. Dec 08 13:02:10 awww get with it buddy lol Dec 08 13:02:36 brb installing virtualbox probably gonna drop my connection for a sec Dec 08 13:02:41 i'd rather be living in a big sailboat down in the keys somewhere Dec 08 13:07:36 is anyone using WebView's webViewUrlChanged event? Dec 08 13:08:06 the docs aren't really clear: can i expect that thing to be called as the user navigates through the web site? Dec 08 13:08:22 (because it doesn't seem to be) Dec 08 13:23:13 this is fucked up... webViewUrlChanged event never triggers, though it should... but webViewTitleUrlChanged fires like i expected the other one to fire... Dec 08 13:30:57 it does fire Dec 08 13:31:10 post up your code Dec 08 13:32:00 ah, fsck... i already changed it to webViewTitleUrlChanged and didn't do a commit of the first version (with plain webViewUrlChanged) Dec 08 13:32:18 tsk tsk tsk Dec 08 13:32:31 i'll just git commit this and undo in emacs till i get back to the original :-p just a jiffy... Dec 08 13:32:45 another good ol case of user error Dec 08 13:34:02 my wife says that afte sex all the time... Dec 08 13:34:37 wheres foghorn leghorn when you need em Dec 08 15:36:14 anyone around to hopefully help on a scene display issue/bug? Dec 08 15:36:58 yetdog: what's that Dec 08 15:37:15 well i put together a quick 25 second video on youtube to show it in action Dec 08 15:37:16 http://www.youtube.com/yetdog#p/a/u/0/0pMUy0TnQIE Dec 08 15:37:31 but basically, scene A has a list. each item pushes a new scene on a tap to details of that list item Dec 08 15:37:42 if i pick an item towards the top of the list in scene A, no problem Dec 08 15:37:54 but if i scroll way down, then view details, and use the back gesture to go back to scene A Dec 08 15:38:05 the list partially disappears until i tap/scroll Dec 08 15:38:49 the video doesn't seem to be worknig Dec 08 15:38:56 hmm Dec 08 15:39:17 http://www.youtube.com/watch?v=0pMUy0TnQIE Dec 08 15:39:19 lets try that Dec 08 15:40:00 nope Dec 08 15:40:05 it's probably on my end Dec 08 15:40:11 my ISP is terrible Dec 08 15:40:16 yeah that 2nd link should work for sure. hehe. i hear that Dec 08 15:40:22 thanks for trying, anyway Dec 08 15:40:36 so when i perform the back gesture, the list "greys out" Dec 08 15:41:01 cant see the items unless i start to scroll Dec 08 15:41:24 hmm Dec 08 15:41:30 but only when i have clicked on an item far down in the list, viewed its details scene, then performed the back gesture Dec 08 15:41:50 are there any other elements on the scene with the list? Dec 08 15:42:11 yes, a palm-header Dec 08 15:42:15 which displays just fine Dec 08 15:42:31 sounds then like something with list item buffering Dec 08 15:42:32 the header and the blue-lined heading Dec 08 15:42:39 yeah, it would appear to be something like that Dec 08 15:43:17 have you tried raising the renderLimit and lookAhead properties? Dec 08 15:43:49 havent even touched them..,..will take a look here Dec 08 15:45:16 Are we talking about a dynamic list? Dec 08 15:46:00 yes, populated via JSON Dec 08 15:46:03 ajax call Dec 08 15:48:34 trying it out w/ a high render limit Dec 08 15:48:45 (higher than the number of rows it could possibly return) Dec 08 15:50:03 wow OnlyByGrace Dec 08 15:50:07 it seems to be fixed!!!! Dec 08 15:50:21 hunny im home Dec 08 15:51:14 atlanta_: whew I can breathe easy again... Dec 08 15:51:22 :-) Dec 08 15:51:32 what is eveyrone up 2 Dec 08 15:51:56 saving the world one line of code at a time, what else? Dec 08 15:53:34 sounds like fun Dec 08 15:53:43 im just about to go through the forums looking for a app idea Dec 08 15:54:22 how about an app to collect users' app ideas then? Dec 08 15:54:57 thank you OnlyByGrace - very much appreciated. very close to being able to submit to palm Dec 08 15:55:26 yetdog: I hope you didn't set it too high Dec 08 15:55:51 It still seems like a bug though Dec 08 15:56:27 like it starts rendering from the beginning of the list again when you do the back gesture Dec 08 15:57:08 perhaps. does it matter how high i set it if, say only ...50 rows can ever be drawn? Dec 08 15:57:14 I just guessed; you may want to mess around to see if you can't find what it might actually be Dec 08 15:57:18 (the data set will never be more than 80-90 or so) Dec 08 15:57:40 I'm not sure Dec 08 15:57:41 well i think its weird that about 18-19 rows in, its fine. but then that 20th row caused the issue Dec 08 15:57:56 performance seems to be absolutely blazing (scrolling, etc) Dec 08 15:58:00 device and emu Dec 08 15:58:02 the default render limit is 20 Dec 08 15:58:12 right, i saw that, and figured it might be related to the issue Dec 08 16:11:17 oh nevermindi know what imma do Dec 08 16:11:24 time to dive in on the sql Dec 08 16:29:16 any quick tips on what might cause an "error: null" in the log when i return to a scene by popping something that's been on top? the initial activation doesn't cause the error... Dec 08 16:29:35 what's on the scene istojic? Dec 08 16:29:59 on the one i'm returning to? nothing much... some text and a Button widget, but i ain't touching it in the activate method Dec 08 16:30:23 so you just get an error in the log, but no visible problems.?? Dec 08 16:30:28 yup. Dec 08 16:30:55 and by putting a log at the end of the scene's activate, i can determine that it happens *after* i return from the activate... not sure where, though Dec 08 16:32:22 if i understand the lifecycle correctly, nothing is called on my assistant after the activate, right? Dec 08 16:34:45 Anyone in here using the javascript-source obfuscator? Dec 08 16:41:00 i believe so istojic - im still new @ this Dec 08 16:41:19 but odd indeed. you using the framework_config.json file? Dec 08 16:41:22 yetdog: aren't we all? :-) that's half the fun of it Dec 08 16:41:37 yetdog: yes, i have framework_config.json to enable logging for my app Dec 08 16:41:50 perhaps drop some mojo.log entries all over your scene Dec 08 16:41:56 that way you can source out WHERE its happening? Dec 08 17:39:21 is there some sort of limit to JSON get requestrs? Dec 08 17:39:28 size-wise Dec 08 17:40:02 i have this code: http://webos.pastebin.com/d2e2b88c7 Dec 08 17:40:15 Mojo never logs "GOT ITEMS" Dec 08 17:40:31 seems like its stalling at the items population Dec 08 17:43:43 there is. i go to a smaller data set for the json response, and it loads Dec 08 17:45:06 anyone know of any data size limits on a ajax get call and JSON response data? Dec 08 17:45:39 how big of data are you dealing with? Dec 08 17:46:02 and are you getting the data back with json content-types so it auto-evals it? Dec 08 17:48:04 i force the json eval , yes Dec 08 17:48:16 i dont believe its content type is set in the file, tho Dec 08 17:48:18 what do you mean by force? Dec 08 17:48:29 you do transport.responseText.evalJSON()? Dec 08 17:48:33 evalJSON: 'force', Dec 08 17:48:39 on the ajax call Dec 08 17:48:39 k Dec 08 17:48:44 what if you do not do that Dec 08 17:48:49 then evalJSON it Dec 08 17:48:49 ? Dec 08 17:48:58 i wonder if the thread gets too heavy Dec 08 17:49:03 and the browser kills it Dec 08 17:49:27 trying.. Dec 08 17:50:03 Hello is chuq here? Dec 08 17:50:03 maybe even do a setTimeout(this.postEval.bind(this , t.responseText) , 0); Dec 08 17:50:23 transport.responseJSON.evalJSON(); Dec 08 17:50:31 doesnt work - it doesnt get to the log event on the next line Dec 08 17:50:32 so make a function that all it does is eval it and then does what its supposed after that… if you setTimeout it will start a new thread Dec 08 17:50:35 chuqui I should say Dec 08 17:51:00 chuqui: you around? Dec 08 17:51:54 also you should try logging t.responseText.substr(0 , 10) Dec 08 17:51:54 make sure it has somethign Dec 08 17:52:12 well here's the data set it fails on Dec 08 17:52:15 also put it around a try and log the catch error Dec 08 17:52:32 http://www.antsmarching.org/tour/cron/api/showreviews.php?showid=3969 Dec 08 17:52:38 which validates Dec 08 17:53:41 I'm in and out... watching quietly. well, watching. Dec 08 17:53:48 lol, nice Dec 08 17:53:56 quick question for you Dec 08 17:55:11 so it was being discussed yesterday, is it true that the patche for catalog downloads counts even update downloads…? so after an apps first update it is impossible to know which are actual unique downloads? Dec 08 17:55:54 it is total downloads, not unique Dec 08 17:56:18 s yes, right now that's true. when the portal metrics are released, it'll have better data. Dec 08 17:56:26 crap, k, well that sucks…after the first update then impossible to tell your metrics... Dec 08 17:56:49 oh lalala safari nightly build FTW with the database codin Dec 08 17:59:48 this is gonna be fun Dec 08 18:00:28 eekfuh: still around? Dec 08 18:00:40 there's definitely something going on related to the length of the json data Dec 08 18:00:50 yetdog: whats ur issue Dec 08 18:00:50 ? Dec 08 18:01:07 scene that should be loading a json list is stalling when processing the data Dec 08 18:01:12 (spinner stays) Dec 08 18:01:29 seems to be related to the size of the data Dec 08 18:01:35 if i keep the set small, it loads Dec 08 18:01:40 yeah, our metrics need to get better. It's being worked. Dec 08 18:01:42 so it doesnt seem to be broken code, at least in the implementation Dec 08 18:02:32 chuqui: seriously, unique downloads is definitely a must…asap…thanks for the info Dec 08 18:02:37 atlanta_: check http://www.antsmarching.org/tour/cron/api/showreviews.php?showid=3969 Dec 08 18:02:55 that data set stalls the app Dec 08 18:03:53 nate: yeah, I agree. Dec 08 18:04:10 that dataset freezes it? Dec 08 18:04:28 to my knowledge the app feeds are larger than that and its not to much of an lag Dec 08 18:04:34 yep. if i artifically hold it back and only return like, one short review, it works Dec 08 18:04:34 what are u doing with the data after Dec 08 18:04:34 ? Dec 08 18:04:59 http://webos.pastebin.com/d2e2b88c7 Dec 08 18:05:12 line 5 never happens Dec 08 18:05:15 or...stalls there Dec 08 18:05:28 the log entry on line 4 writes, line 6 does not Dec 08 18:05:30 nate I think palm has bigger things to worry about, sounds like someone needs some diazepam Dec 08 18:05:41 But it would be nice Dec 08 18:06:00 However I think being able to sell to other countries is more important than that, really Dec 08 18:06:59 yetdog: when u comment line 5 what happens Dec 08 18:07:11 or do a try {} catch(e) on it Dec 08 18:07:51 spinner still spinning - same behavior Dec 08 18:07:57 ? not sure what you mean about the catch Dec 08 18:10:08 the stall occurs on the modelChanged call when i comment line 5 Dec 08 18:10:20 if i comment *that* out, the spinner stops, and it completes the function Dec 08 18:11:54 yetdog: something like Dec 08 18:11:55 http://webos.pastebin.com/m1ffc953e Dec 08 18:13:01 CTLAdvance-work: I think developers knowing how much money they are making is pretty dang high on the list. If they don't know this, how do they decide how much resources to put toward their existing apps or new apps...? Dec 08 18:14:29 both important. both in active development. Dec 08 18:14:40 meeting time. back later... Dec 08 18:14:49 atlanta_: TypeError: Cannot read property 'reviews' of undefined Dec 08 18:14:52 of course not saying that selling in other countries isn't important... Dec 08 18:16:28 yetdog: ok now we can go from there Dec 08 18:16:55 that is ur problem let me see what u need to do next hold on Dec 08 18:16:59 yeah, the ajax call brings back an undefined object? Dec 08 18:17:19 but a smaller set seems to work just fine. hmm Dec 08 18:17:56 do u have evalJson set to force Dec 08 18:17:57 or true Dec 08 18:18:01 force Dec 08 18:18:19 post that whole ajax call Dec 08 18:18:44 http://webos.pastebin.com/d20d6f53f Dec 08 18:25:50 put this on line 5 for sec Dec 08 18:26:04 Mojo.Controller.errorDialog(transport.responseJSON); Dec 08 18:26:10 and see what happens Dec 08 18:26:19 in the success func? Dec 08 18:27:40 If anyone has time to help, I made a topic in the developer forums for a question I have.... https://developer.palm.com/distribution/viewtopic.php?f=11&t=3725&start=0 Thanks Dec 08 18:27:59 when i take out the {} catch, and put that line in @ line 5, before the items assignment Dec 08 18:28:13 it just throws an error, with no text Dec 08 18:28:27 (thanks for helping on this btw, atlanta_) Dec 08 18:30:18 no problem Dec 08 18:31:34 give me one sec Dec 08 18:31:46 atlanta_ FYI... if i take the "review" portion out of the JSON, as in, just blank it out for each record before its passed to the palm Dec 08 18:31:50 the list loads Dec 08 18:32:00 maybe there's a size limit to a json record's item? Dec 08 18:32:05 take your time Dec 08 18:32:44 http://webos.pastebin.com/m24e66bfa Dec 08 18:32:47 see what that does Dec 08 18:32:54 Tibfib: seeing if i can help one sec Dec 08 18:34:18 TypeError: cannot read property 'length' of undefined Dec 08 18:36:35 something isnt escaping right Dec 08 18:36:53 so even tho the JSON is "valid" according to structure, the content is blowing it up Dec 08 18:37:16 are there any illegal characters for a JSON field's contents? I already stripped " Dec 08 18:37:51 is there a pattern for doing two "trees" of scenes that are mutually excusive? i have one set of scenes that handle the initial configuration/account setup. and i have the "normal" ui... if i push config from the normal ui, the user can back out of configuration back to normal ui, without proper setup... any ideas on how to handle it? Dec 08 18:38:55 try using ' Dec 08 18:39:00 instead of ' Dec 08 18:39:08 haha ummmm... Dec 08 18:39:19 looks similar in mirc Dec 08 18:40:04 istojic: instead of doing a "push" do a "swap" Dec 08 18:40:23 " Dec 08 18:40:25 opps Dec 08 18:40:26 lol Dec 08 18:40:46 lyht: aaaaah! Dec 08 18:40:56 and there was light! Dec 08 18:41:00 so ... use ' instead of " in the json? Dec 08 18:41:02 lyht: much obliged! Dec 08 18:41:06 yetdog: yup Dec 08 18:41:12 istojic: N.P. Dec 08 18:42:35 same typeerror thrown Dec 08 18:42:44 and upon clicking OK, spinner remains Dec 08 18:45:57 grrr Dec 08 18:46:06 also stripped out all ' within the review field Dec 08 18:46:50 i suppose i could build an HTML page on the site and just pass the responseText to the app Dec 08 18:46:56 and not do a "list" perse Dec 08 18:52:26 would hate to give up on the issue for future reasons, but might end up just doing it that way Dec 08 18:53:06 awww but u shouldnt have to Dec 08 18:53:13 im a troubleshooting guy i wanan get to the bottom of it Dec 08 18:53:17 lol i know exactly, same here Dec 08 18:53:18 you gonna be on in about 1-2 hours Dec 08 18:53:19 ? Dec 08 18:53:24 yeah, ill be around Dec 08 18:53:41 iight ill be home then Dec 08 18:54:19 thanks atlanta_, much appreciated! drop me a line if you have tim Dec 08 18:55:12 ok Dec 08 18:55:24 ahhh lalala work is boring right about now Dec 08 18:55:32 yeah, programming is keeping me going ;) Dec 08 18:55:37 (not work-related) Dec 08 18:56:23 yea i wish i had my tools here Dec 08 18:56:32 maybe ill take time 2mro to install them 2mro Dec 08 18:56:35 for time like these Dec 08 18:58:12 yeah, its totally related to the "review" field Dec 08 18:58:18 if i blank that out on the server side Dec 08 18:58:31 http://www.antsmarching.org/tour/cron/api/showreviews.php?showid=3969 Dec 08 18:58:35 what that looks like now, works Dec 08 18:58:42 the second i bring the reviews back in, it blows up Dec 08 18:58:52 even tho both are valid json according to spec Dec 08 19:03:19 post just the review section Dec 08 19:03:25 how do u have it formatted Dec 08 19:03:52 i did nl2br, and then stripped it of
Dec 08 19:04:02 (after pulling from database) Dec 08 19:04:46 ha. http://webos.pastebin.com/d506f3037 Dec 08 19:04:58 that's copied/pasted from the ants link Dec 08 19:21:57 Where is the application data for 3rd party apps stored on the pre? Dec 08 19:22:40 depends Dec 08 19:22:44 what data u mean Dec 08 19:23:02 certain stuff is stored on the 8gb parition some on the internal mem Dec 08 19:23:49 I want to chang the apps icon Dec 08 19:26:38 but I am not sure where to find it Dec 08 19:30:10 the icon is just a file, icon.png and it's in the apps directory Dec 08 19:30:48 it is in /var/usr/palm/applications/something Dec 08 19:30:56 where somting is the app id Dec 08 19:30:59 PREA Dec 08 19:33:19 ping prea Dec 08 19:33:24 ping PREA Dec 08 19:33:25 anyone ever heard anything about json entries being too large and causing the responseJSON object to break? Dec 08 19:33:42 no how large? Dec 08 19:33:57 http://www.antsmarching.org/tour/cron/api/showreviews.php?showid=3969 Dec 08 19:34:02 I seldom use responseJSON I usually get the string and then json parse that. Dec 08 19:34:12 that result set. if i clear out the "review" field on the server side, it works fine Dec 08 19:34:22 so sometihng in the review field, either content (pretty clean tho) or the length is making it puke Dec 08 19:34:59 well on the server side i build the json Dec 08 19:35:06 JSONlint likes it Dec 08 19:35:12 yeah, structurally its clean Dec 08 19:35:35 atlanta_ was working w/ me on it - hes stumped so far too but is going to be taking a look once he gets home and has access to his tools Dec 08 19:35:56 Rick_work: thanks, I will check out that dirctory...sorry, work got in the way of Pre fun. Dec 08 19:38:00 yetdog try getting it in a string and just eval ing it or doing string.evalJSON instead of trying to get responseJSON Dec 08 19:38:13 already did the string.evalJSON - same result Dec 08 19:38:21 ok Dec 08 19:38:42 yetdog let's try the ultimately stupid version. Dec 08 19:38:51 myobject = eval(string) Dec 08 19:39:04 so what does that string look like? Dec 08 19:39:19 from the server code i create Dec 08 19:39:49 because right now im just building the JSON straight on the server Dec 08 19:39:57 you're just going to use response.text instead of responseJSON Dec 08 19:40:10 ok so leave the server stuff alone? Dec 08 19:40:23 build the json on the server, get it with responseText and then eval THAT Dec 08 19:40:27 ah ok Dec 08 19:40:46 var myText = transport.responseText; Dec 08 19:40:47 right? Dec 08 19:40:55 yep Dec 08 19:41:18 then var myJSON = evalJSON(myText); Dec 08 19:41:19 ? Dec 08 19:41:34 no Dec 08 19:41:45 myObject = eval(myText) Dec 08 19:41:49 oh just eval Dec 08 19:41:53 yep Dec 08 19:41:56 unless you want to try Dec 08 19:42:06 myObject = myText.evalJSON first Dec 08 19:43:06 ok im doing a try {} catch(e) Dec 08 19:43:21 and i get a syntaxerror: unexpected token : Dec 08 19:43:28 doing the eval(myText) Dec 08 19:45:13 yetdog try this : Dec 08 19:45:44 myObject = myText.evalJSON Dec 08 19:46:25 hmm Dec 08 19:46:31 it actually completed the function Dec 08 19:46:39 ive commented out the list population Dec 08 19:46:41 for testing Dec 08 19:46:46 and never seen it make it thru Dec 08 19:46:50 so let me try to uncomment that stuff Dec 08 19:47:35 shoot Dec 08 19:47:46 typeerror: canont read property 'length' of undefined Dec 08 19:47:50 ill pastebin the func Dec 08 19:48:09 http://webos.pastebin.com/d26e182ec Dec 08 19:49:37 hmm, it throws that error due to line 15 Dec 08 19:49:50 if i comment that out, it doesnt error, the spinner stops, but no list population Dec 08 19:53:06 can I see the definition for listModel???? Dec 08 19:53:39 and the setupWidget call that uses it? Dec 08 19:53:40 please Dec 08 19:54:35 yetdog Dec 08 19:55:12 yetdoc, can you pastebin the entire reviewsassistant please? Dec 08 19:55:39 sure Dec 08 19:55:58 http://webos.pastebin.com/d67f706b8 Dec 08 19:56:05 sorry man, didnt see the window Dec 08 19:56:10 (i like colloquy on the mac better than mirc) Dec 08 19:57:20 yetdog on line 27 of what you posted. Dec 08 19:57:27 which is where you instantiate listmodel. Dec 08 19:57:51 do you notice that your model doesn't HAVE an items? Dec 08 19:58:04 hmm Dec 08 19:58:21 yes, because i populate it w/ the ajax call Dec 08 19:58:26 you need to add a null items items:{} Dec 08 19:58:29 same structure in the other scenes of my apps Dec 08 19:58:33 which do the same type calls Dec 08 19:58:38 and those scenes work Dec 08 19:58:45 weird. Dec 08 19:58:48 yeah Dec 08 19:59:00 i was actually scolded before for having items set lol. "why are you setting them twice?" Dec 08 19:59:07 weird Dec 08 20:01:38 yeah, because the list works if i leave the "review" items blank in the json Dec 08 20:01:58 something about it is blowing it up, seems to be length, because ive scrubbed the hell out of the data on the server side before presenting it Dec 08 20:02:02 yetdog -- after line 67, put in a log to log listModel.items.reviews[1].user and see if you get antmarching89. Dec 08 20:02:29 it isn't length. Dec 08 20:02:55 We used up to a half-a-meg of text in objects when we were doing search in simple-big-book Dec 08 20:06:28 trying Dec 08 20:07:05 typeerror: cannot read property 'reviews' of undefined Dec 08 20:07:37 o wait, this.listModel.items = myJSON.reviews Dec 08 20:07:44 of course there's no reviews subitem Dec 08 20:09:32 it's claming myJSON to be undefinied Dec 08 20:11:11 so it should be this.listModel.items[1].user right rick_home? Dec 08 20:11:16 so it should be this.listModel.items[1].user right Rick_work Dec 08 20:11:34 Should be -- right? Dec 08 20:11:41 yeah, it errors. ill get you the msg Dec 08 20:11:52 kkkk Dec 08 20:12:16 typeerror: cannot read property '1' of undefined Dec 08 20:12:28 so something in the eval along the way bombs and doesnt set up the object Dec 08 20:15:22 ok yetdog -- do this. Dec 08 20:15:31 your json is in myText. Dec 08 20:15:39 so please do the following. Dec 08 20:15:41 right Dec 08 20:15:54 MyTestResult = myText.evalJSON Dec 08 20:16:17 $('debug').innerHTML = MyTestResult.toJSON Dec 08 20:16:32 and put a
ill try just myText Dec 08 20:19:54 ok Dec 08 20:20:16 its all of it, raw Dec 08 20:20:21 just like the web link gives you Dec 08 20:20:22 ok Dec 08 20:20:38 now, you did mytestresult = myText.evalJSON Dec 08 20:20:40 right? Dec 08 20:20:48 and mytestresult shows empty div? Dec 08 20:20:51 Right? Dec 08 20:20:52 lets check Dec 08 20:20:57 so we can't evalJSON it. :-( Dec 08 20:21:07 well i did myTestResult.toJSON Dec 08 20:21:12 did u mean eval? Dec 08 20:21:15 no no no Dec 08 20:21:17 wait Dec 08 20:21:30 FIRST we have to evalJSON the myText to get an object. Dec 08 20:21:40 so mytestresult = myText.evalJSON Dec 08 20:21:47 right Dec 08 20:21:53 which gives us an object in mytestresult we hope Dec 08 20:22:02 THEN we want to see what's IN that object Dec 08 20:22:05 so the next line is Dec 08 20:22:25 var myTestResult = myText.evalJSON; Dec 08 20:22:25 $('debug').innerHTML = myTestResult; Dec 08 20:22:27 $('debug').innterHTML = mytestresult.toJSON Dec 08 20:22:38 yep Dec 08 20:22:39 like that Dec 08 20:22:40 hmm what's the toJSON? Dec 08 20:22:52 ahh heres what i get Dec 08 20:22:54 what a mess Dec 08 20:22:54 Rick_Work, why not use $('debug').update()? Dec 08 20:22:58 it's taking the object, and reverting BACK to a string. Dec 08 20:23:09 kesne no reason they do exactly the same thing. Dec 08 20:23:22 oh ok so i get a function (santize) junk when i dont put the toJSON in there Dec 08 20:23:35 that's not the problem. eval'ing his json is the problem. he has valid json which is not evaling Dec 08 20:23:48 and when i put toJSON in there, i get the "undefined" Dec 08 20:23:55 ok Dec 08 20:24:02 evalJSON() Dec 08 20:24:04 but when i take out.toJSON... Dec 08 20:24:05 if you do not put the toJSON do you get "object) Dec 08 20:24:08 no Dec 08 20:24:11 i get an error :) Dec 08 20:24:13 its long hang tight Dec 08 20:24:14 kesne -- I'm not stupid. Dec 08 20:24:18 the error in the div actually Dec 08 20:24:20 interesting Dec 08 20:24:34 yes? Dec 08 20:24:37 ok here goes Dec 08 20:25:00 Rick_work: but he has to use the parenthesis. Dec 08 20:25:39 function (sanitize) { var json = this.unfilterJSON(); try { if (!sanitize || json.isJSON()) return builtinEval( '(' + json + ')'); } catch (3_ {} throw new $SyntaxError('Badly formed JSON string: ' + this.inspect()): } Dec 08 20:25:45 THAT shows up IN THE DIV Dec 08 20:26:04 ok Dec 08 20:26:23 so we're back to the fact that evalJSON doesn't like your json which is a perfectly GOOD json. :-( Dec 08 20:26:26 ok Dec 08 20:26:30 one more thing to try. Dec 08 20:26:36 k.. Dec 08 20:27:06 test2 = "mytestresult = " + mytext Dec 08 20:27:13 eval(test2) Dec 08 20:27:35 $('debug').innerHTML = mytestresult.toJSON() Dec 08 20:27:56 do u mean test2.toJSON()? Dec 08 20:28:02 nope Dec 08 20:28:09 here's what I'm doing Dec 08 20:28:15 I'm creating a string that says Dec 08 20:28:32 mytest result = {blah blab blah} Dec 08 20:28:43 and then evaling the string -- "running" that program from teh string. Dec 08 20:28:54 which should ASSIGN blah blah blah to mytestresult Dec 08 20:29:18 so the eval(test2) line Dec 08 20:29:24 it smore than that right? Dec 08 20:29:37 i guess im confused how you're getting any info out of test2 Dec 08 20:29:37 nope that's a whole line by itself Dec 08 20:29:47 test2 has the "string to be eval'ed" in it Dec 08 20:30:29 Is it possible to change the text in the file picker from "Open Photo" to "Choose Photo"? Dec 08 20:30:41 syntaxerrr: unexpected token ILLEGAL Dec 08 20:30:47 is it toJSON() or just toJSON Dec 08 20:31:12 lyht not that I know of Dec 08 20:31:15 yetdog use the ()'s Dec 08 20:31:21 yeah, it throws that error Dec 08 20:31:23 ahright. Dec 08 20:31:35 u might wanna take a look at my code again, since ive tried some things - make sure we're still on the same page Dec 08 20:31:51 http://webos.pastebin.com/d782b875 Dec 08 20:31:51 pastebin the entire thing again Dec 08 20:31:56 thats the latest function Dec 08 20:32:01 u want the whole thing? k Dec 08 20:32:15 http://webos.pastebin.com/d12b7a396 Dec 08 20:33:41 yetdog -- line 13 says mytestresult line 15 says MyTestResult -- case error Dec 08 20:34:23 ah ok i see what you were doing now lol Dec 08 20:34:27 ok fixing and testing Dec 08 20:34:48 same syntax error Dec 08 20:35:56 take the parens off Dec 08 20:36:28 same error :( Dec 08 20:36:46 well CRAP Dec 08 20:36:56 ok, is your server side php? Dec 08 20:37:07 yes Dec 08 20:37:17 same error if i take out toJSON. its not that line thats throwing the error it seems Dec 08 20:37:31 it's the eval Dec 08 20:37:40 crud crud crus Dec 08 20:38:01 yeah, so weird tho Dec 08 20:38:13 definitely the eval Dec 08 20:44:20 basketball fan invasion Dec 08 20:46:00 also note Rick_work, that i had commented out the evaljson force in the ajax call Dec 08 20:46:18 bryanroth: no doubt! Dec 08 20:46:43 lyht: lol Dec 08 20:47:19 I can't find my apps in the forest of basketball fan apps. Dec 08 20:48:57 lyht: no kidding Dec 08 20:50:14 yetdog -- trim the review string to less than 200 char long on the server. Dec 08 20:50:40 I can't get behind that development mentality. If I were making an app like that, I would have it so you pick your team or teams in the app, and away you go. Here, if you like more than one team, you have to buy more than one app. Which I am sure is the point. Dec 08 20:50:52 yeah thats my next step ;) lol Dec 08 20:51:46 lyht: seriously, why are they approving all of those... Dec 08 20:52:29 I can see targeting niche markets…but c'mon, that is a bit ridiculous... Dec 08 20:52:47 Cause no doubt the approval process does not check for quality of apps. Just does it follow the ui guidelines. Dec 08 20:52:48 its prolly the same app with a gfx and feed change Dec 08 20:53:00 would be a nightmare to maintain all those apps Dec 08 20:53:10 100% guaranteed it is the same app Dec 08 20:53:13 It is prolly one code base Dec 08 20:53:17 one mistake and you feed the wrong info for the wrong app Dec 08 20:53:18 which is why palm is instituting the $50 submission fee for apps. Dec 08 20:53:30 200 still throws error Dec 08 20:53:34 If you don't think you're going to make 50, you won't submit Dec 08 20:53:35 where 0 chars lets it run Dec 08 20:53:36 change of name, and internal code pulls from different feeds. Dec 08 20:53:39 gonna see where it breaks Dec 08 20:53:49 yetdog take it down to 10 Dec 08 20:53:59 see if it still bombs, or if there's some other problem Dec 08 20:54:03 Rick_work: I will actually be glad for it for that reason. Less crap thrown in there. Dec 08 20:54:05 I don't think length CAN be the problem Dec 08 20:54:22 and $50 for free too unless open source. Dec 08 20:54:34 and that means "has an open repository that any one can review." Dec 08 20:55:02 But if the pre gets popular enough, it wont matter. Their will be crap anyway, and people will pay for it. Dec 08 20:55:11 23 characters works Dec 08 20:55:17 24 throws the error Dec 08 20:55:46 so its the 24th character is ONE of those results Dec 08 20:55:50 (limited it to 10) Dec 08 20:57:37 "},{"user":"gfdead","rating":"4","review":"This is my 20+ show... Overall Slow start..."} Dec 08 20:57:40 its that user Dec 08 20:57:59 the "show... " Dec 08 20:58:04 that space is the 23rd character Dec 08 20:58:07 and it fails on the 24th Dec 08 20:58:32 if i limit the review field to 23 chars, that row passes. the second i try to grab the 24th char, it throws the error Dec 08 21:00:25 but why it doens't like "... " is behind me Dec 08 21:05:47 UGH Dec 08 21:08:49 because... uh because ... uh Dec 08 21:08:51 errr Dec 08 21:08:53 because Dec 08 21:08:56 hmmmmm Dec 08 21:09:41 lol Dec 08 21:09:58 im gonna just have to do it on the server end and pass the responsetext back :( Dec 08 21:10:00 boohiss Dec 08 21:10:24 yetdog. wait one. Dec 08 21:10:30 lol k Dec 08 21:11:58 just out of rediculous idel curiosity,,,,, turn all the periods in that string into spaces. I don't belive that it's a period. is the 24th caracter the one just AFTER the period? Does this have embedded CR and LF's??? Dec 08 21:12:47 somebody is hitting the sauce a little hard Dec 08 21:13:00 yeah, its the one after the period Dec 08 21:13:09 ok Dec 08 21:13:37 take the string cut out the 24th char, and do an asc() of it to find out what character it IS. What's the hex value of the character. Dec 08 21:13:47 you could do that in the js or the php I don't care Dec 08 21:14:58 thisafternoon's woot off is very annoying. Dec 08 21:15:00 i thikn its a newline thing Dec 08 21:15:35 not sure what it is tho, since the view source doesnt show it Dec 08 21:15:53 not sure whta the asc function in php ois Dec 08 21:16:10 oh ebcdic2ascii Dec 08 21:16:39 and...that blos it up lol Dec 08 21:17:22 it's ord() Dec 08 21:18:11 ord() Returns the ASCII value of the first character of a string Dec 08 21:18:19 thanks :) Dec 08 21:18:27 Hey everyone Dec 08 21:18:55 yah when i let 23 chars thru, it dies. it creates some sort of newline in the output Dec 08 21:18:56 gonna check Dec 08 21:21:06 hey david Dec 08 21:21:16 greetings! Dec 08 21:21:20 woot, didnt know win7 could make symlinks ;D Dec 08 21:21:33 that wa smy idea Dec 08 21:21:57 who was it that was trying to catch the event when notifications came up? Dec 08 21:22:54 Hey webOSroundup Dec 08 21:23:01 hi there lyht Dec 08 21:23:03 what is the word? Dec 08 21:23:09 well if he comes back, i think his name was djsomething , its on webos101 -> http://www.webos101.com/Mojo.Event_-_Detect_Card_Resize Dec 08 21:23:23 ummm...the word is melodious Dec 08 21:23:25 bad code: ascii 13 Dec 08 21:23:27 Yes, I answered him in his precentral thread Dec 08 21:23:28 aka CR Dec 08 21:23:35 how can i clear that rick? Dec 08 21:23:55 hmmmmm Dec 08 21:23:56 how about melodilicous? Dec 08 21:24:08 that works too :) Dec 08 21:24:28 If I make a music app, that is what I am going to name it. Dec 08 21:24:48 works for me :) **** BEGIN LOGGING AT Tue Dec 08 21:26:51 2009 Dec 08 21:26:54 now im gonna try it not trunc'ing the string @ all Dec 08 21:27:02 or on the javascript side, before evalJSON do myText.replace(/\r/, ' '); Dec 08 21:27:12 and its working Rick_work Dec 08 21:27:17 thankyou thankyou THANKYOU!!! Dec 08 21:27:17 coolness Dec 08 21:27:29 you are indeed a scholar :) Dec 08 21:27:32 that was actually a pain in the ass yetdog Dec 08 21:27:48 hahahaha. helps our debug skills though right? Dec 08 21:27:52 What's your actual name? Dec 08 21:27:55 name's matt Dec 08 21:28:03 You're welcome Matt. Dec 08 21:28:12 :) very kind of you Dec 08 21:28:23 I -like- helping people. Dec 08 21:28:35 i hope to get better @ this so i can lend a hand as well Dec 08 21:28:36 it's sort of "what I do" Dec 08 21:28:40 loving the IRC resource, though Dec 08 21:28:42 great forum Dec 08 21:48:42 split Dec 08 22:17:04 if you're populating a list w/ JSON data, can you manipulate each row's data before it gets populated on the list? Dec 08 22:17:27 basically, im looking to take an item in each json row, and see what its value is. based on the value, i want to display an image (# of stars) Dec 08 22:18:01 but there is no real "loop" that populates the list Dec 08 22:18:16 so i dont know if its possible to check each row and run a procedure on it Dec 08 22:20:07 i've not used it, but you can specify a function to be called each time a list item is rendered Dec 08 22:20:09 http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Widget.html#.List Dec 08 22:20:13 might do what you want Dec 08 22:20:23 oh nice call daveisadork Dec 08 22:21:08 what method is that? Dec 08 22:27:08 he game you the link to the doc yetdoc Dec 08 22:27:13 yetdog Dec 08 22:36:36 Anyone try the new admob code they released Dec 08 22:37:01 Doc did. But he's not here yet. Dec 08 22:37:41 ok thanks, I have my own version working but cant get this one to display anything, ill keep digging Dec 08 22:37:43 thanks Dec 08 22:38:04 check bak later and see if reality911 is on Dec 08 22:38:08 DOc's good with ad stuff Dec 08 22:41:20 sure thing thanks rick Dec 08 23:07:51 Wow, 24 hours and no mention of "emulator". That's a record. ;-) Dec 08 23:08:58 lemketron welcome Dec 08 23:09:02 and I can fix that. Dec 08 23:09:41 lemketron GREAT WORK on setting the emulator up on landscape. Dec 08 23:10:20 heh, wait until you see the next one. :-) Dec 08 23:10:38 lemketron what about audio in the emulator? Dec 08 23:11:00 went and looked at some houses today.. gonna look at one again tomorrow and see if i want to put an offer in.. sofar i love it Dec 08 23:11:18 audio broke in 1.3.1. In 1.3.5 it's back to where it was in 1.2 (wav/pcm). Still trying to get some cycles from the audio folks to get the software mp3 codec up. Dec 08 23:11:26 dawm: where? Dec 08 23:11:32 lemketron and is there a way that we could get a button or something to fake an accelerometer data stream? You fake GPS data. Dec 08 23:11:40 about 5minutes from my work :P Dec 08 23:11:55 Rick: you can construct your own file to replace the one that comes with the emulator Dec 08 23:12:00 luna-send "shake me" Dec 08 23:12:10 Rick: Close. F5 key. Dec 08 23:12:22 really? That's documented somewhere? Dec 08 23:12:34 lemketron i I have been adding 3 seconds of silence to the end of our sounds so they dont get cut off, glad to hear its fixed in 1.3.1 Dec 08 23:12:38 next emulator. Press for shakestart, hold for shaking, and let go for shakestop. ;-) Dec 08 23:12:54 ahhh not in 135. NEXT emulator Dec 08 23:12:56 :-) Dec 08 23:13:04 when I said "audio broke in 1.3.1" I meant "in the 1.3.1 emulator". Dec 08 23:13:15 and we can do "custom" accelerometer data streams..... cool. Dec 08 23:13:18 when I said "next emulator" I meant "next 1.3.5 build". Dec 08 23:13:28 REALLY! You the man! Dec 08 23:14:02 anything ELSE cool coming? Dec 08 23:15:44 (hint hint - multitouch hint hint) Dec 08 23:15:46 I've probably already said too much... ;-) Dec 08 23:15:52 I'm sure you have Dec 08 23:15:59 but never the less.... Dec 08 23:16:38 you know the other thing that I wish the darned thing had. ... which it never will, but I can wish, I wish it had a "scale this to the actual device size" function. Dec 08 23:35:10 there's someway to click on an app in the launcher and get its info isn't there? Dec 08 23:36:34 orange-tap will let you see the size. what other info are you looking for? Dec 08 23:36:59 ah, there's the size all small, thanks Dec 08 23:37:10 I did that but didn't see the size there Dec 09 00:35:19 Hey Dec 09 00:35:24 Anybody want to help me? Dec 09 00:38:20 yeah, you got a few bags of cash you need to launder? Dec 09 00:44:55 kesne get the trig figured out? Dec 09 00:45:04 not at all Dec 09 00:45:12 * haeffb_ likes the look of the Fuel app Dec 09 00:45:50 Yeah, it's really slick. Makes me wish I had half that design sense. Dec 09 00:46:19 usability is not perfect, but it looks really nice. Dec 09 00:47:43 I think my app's a bit better for daily use, but it just doesn't have that shine. Should bring it up to feature parity when I get this update finished, but man. I'm just not gonna be able to compete on looks. :) Dec 09 00:56:52 will you have ability to do trip logs? i.e. track mileage for business trips for tax purposes? Dec 09 00:57:29 Definitely something I'm planning to add, but probably not this go around. Dec 09 00:57:48 I want to get maintenance tracking/reminders in place first. Dec 09 00:58:40 those are important, too. Dec 09 00:58:44 import/export? Dec 09 01:01:55 Already there. Dec 09 01:09:08 so did anyone else notice that the download count in the catalog (from the patch) is broken…rudimentary as it is, it was very nice to have so idea... Dec 09 01:09:15 has this already been discussed? Dec 09 01:09:28 Broken how? In that it's total instead of unique? Dec 09 01:09:44 nope, even worse Dec 09 01:09:58 its not incrementing as of at least midday or so Dec 09 01:10:11 I just did a test, monitored a bunch of apps, all stayed the same... Dec 09 01:10:25 Over how long? Dec 09 01:10:30 I guess….maybe its my phone…but that seems unlikely Dec 09 01:10:36 couple hours Dec 09 01:10:55 chuqui left right after I mentioned this…interesting... Dec 09 01:10:57 :) Dec 09 01:10:59 They may only update the numbers every so often. *shrug* Dec 09 01:11:02 conspiracy! Dec 09 01:11:10 no, I monitor this stuff all the time Dec 09 01:11:15 its broken Dec 09 01:15:49 what is broken? Dec 09 01:15:54 download count Dec 09 01:16:05 its not incrementing Dec 09 01:16:10 yeah.... Dec 09 01:16:15 it's also worthless Dec 09 01:16:23 you noticed that too? Dec 09 01:16:38 it's been worthless ever since its existence Dec 09 01:16:42 true Dec 09 01:16:47 I don't even bother looking anymore Dec 09 01:16:49 too depressing Dec 09 01:16:51 but it was incrementing before at least... Dec 09 01:17:15 also, I think they have a LOT of different servers...sometimes my really old screenshots show up Dec 09 01:17:26 so, I wouldn't put it past being a time issue Dec 09 01:17:44 I know that Mind Master incremented once today Dec 09 01:18:13 I'm game to test it. :) Dec 09 01:18:24 $1.99 ;) Dec 09 01:18:34 from my observation it looks to have happened around midday Dec 09 01:18:46 mmm, spaghettit time Dec 09 01:18:46 Let's see... free app... Friendsbook. Dec 09 01:18:52 Currently 13969. Dec 09 01:18:58 Download for free... Dec 09 01:18:59 yep Dec 09 01:19:02 monitored that one Dec 09 01:19:10 has changed in the last couple hours... Dec 09 01:19:16 which is impossible Dec 09 01:19:32 Close app catalog, reopen... Dec 09 01:19:35 free + facebook = many downloads Dec 09 01:19:55 lol, I hope you aren't recommending me to do that FoxFireX... Dec 09 01:20:07 And still 13969. Not sure when the number Dec 09 01:20:11 's supposed to update. Dec 09 01:20:20 Just cataloging. Dec 09 01:20:42 you can tell when the catalog has updated because it shows up blank and low opacity when loading Dec 09 01:21:06 if it hasn't been updated, it opens right up Dec 09 01:21:15 (yes, I check the catalog a lot...) Dec 09 01:22:40 but yeah, others monitor, and see what you get Dec 09 01:23:08 maybe it will do a refresh later on…or maybe the catalog has been stricken with yet another bug... Dec 09 01:25:02 Hmm... I needed to replace the battery. Good excuse to restart. Dec 09 01:30:43 Okay, so post-restart, still the same. Not sure it refreshed, though. Dec 09 01:38:55 is there a trick to external methods in your appassistant? I've got a file in sources.json that does seem to be recognized in appass. Dec 09 01:42:07 hi Doc Dec 09 01:43:49 Bmyers_qwerty: should be easy as pie...make sure you don't have a typo....that happens to me a lot Dec 09 01:44:49 thanks SD.. i'll go look again.... and again.. Dec 09 01:45:38 SD, appassistant still goes first right? then my includes in the sources.json Dec 09 01:46:06 has anyone done an app where they push multiple instances of the same scene onto the stage? Dec 09 01:46:41 Hey all Dec 09 01:47:26 fifty: do you have an appassistant? Dec 09 01:47:32 Ok. So. If you submitted an app, and there's a problem with the app you submitted, but you don't want to redo the entire app submittal process and get kicked to the back of the que, is there a way to resubmit if it's in review? Dec 09 01:47:54 Bmyers_qwerty: yep. Dec 09 01:48:23 reality9110: don't think so...you have to request a reject and re-submit afterwards...talk to your handler and see if they can arrange it better Dec 09 01:48:27 reality9110: are you already approved as a devleoper? Dec 09 01:48:35 or did you just email in? Dec 09 01:48:36 natenrb9: Yes Dec 09 01:48:48 Approved Dec 09 01:48:50 Bmyers_qwerty: load for your external files can go before anything else...at least without using an app assistant I know it works Dec 09 01:49:47 talk to your rep, then request for reject, they then should be able to quickly confirm the rejection, you resubmit, and then hopefully they will get you back in the same spot in the "queue" Dec 09 01:50:25 fifty: is this in your appinfo.json ? "noWindow":true, Dec 09 01:51:22 Bmyers_qwerty: are you wondering what noWindow: true does? Dec 09 01:51:38 Yeah, a bit of back and forth with the rep right now Dec 09 01:52:05 yeah, your rep should be able to help you keep your spot in the "queue" Dec 09 01:53:03 natenrb9: no that was for fiftycal Dec 09 01:53:03 Bmyers_qwerty: to natenrb9 's point, are you trying to help me or is this related to your question? Either is cool, I'm just wondering where you are going with this. Dec 09 01:53:28 fiftycal: i was helping u Dec 09 01:53:32 i fixed my problem.. Dec 09 01:53:37 Bmyers_qwerty: no I don't have that in my app info Dec 09 01:53:46 ah ok. Dec 09 01:53:56 try it... Dec 09 01:54:32 sugardave: includes must go before the place you try to use them... even appassistant.. Dec 09 01:54:43 ok. but how will that help? what does this do? Dec 09 01:55:09 it tells webos that you'll handle opening card or whatever you want Dec 09 01:55:14 and not to open one for you Dec 09 01:55:27 so you dont get 2 Dec 09 01:55:34 ok, but that's not my issue... Dec 09 01:55:45 u get 2 starting scenes? Dec 09 01:55:59 My issue is I have an app with multiple instances of the same scene, like picture a file system browser. Dec 09 01:56:19 an what's the problem? Dec 09 01:56:42 I want to be able to push multiple instances of my "directory" scene on the stage, and it doesn't seem to want to do it. Dec 09 01:57:20 why aren't you just updating the scene…? shouldn't need multiple instances of the same scene... Dec 09 01:57:53 i thought you were getting 2 scenes and wanted 1. sorry.. Dec 09 01:57:58 because I want to have all the fun of going back like a natural user action. Dec 09 01:58:46 in other words, the user is expecting to go back as they do in other apps on the system. right? Dec 09 01:59:01 using the back gesture you mean? Dec 09 01:59:07 yeah Dec 09 01:59:57 what does it do when you try to push the same scene again? Dec 09 02:00:06 absolutely nothing. :) Dec 09 02:00:56 how many levels do you need, why not just make multiple scenes that have the same code? Dec 09 02:01:16 Bmyers_qwerty: yeah, I might have been unclear...I meant you can load your included files in sources.json before the line for your app assistant (I guess you can, it works that way with stage assistants) Dec 09 02:02:15 either way, pushing multiple instances of the same scene doesn't seem like the best way to set things up... Dec 09 02:02:31 natenrb9: I thought of that, but that's like saying, "how many levels deep of filesystem could a user need?" I was so tempted to do that, but then I thought... this is wrong! I should find out the right way to do this. Dec 09 02:03:04 natenrb9: agree....I really confused myself with the scene stack early on and ended up with multiple copies of the same scene Dec 09 02:03:05 natenrb9 yeah, Im still trying to figure out what the 'right' way is... Dec 09 02:04:53 can you configure exactly what the back gesture does? (make it so it doesn't go back to the previous scene) Dec 09 02:04:53 fiftycal_: the "right" way is probably to just update the current scene if possible, if not possible, pop it then re-push? Dec 09 02:04:53 so what is the right way of having an arbitrary depth scene-like structure, that can utilize the back gesture? Dec 09 02:04:54 natenrb9: over-riding the back gesture... hadn't even thought about that, but I'm guessing that will not be allowed... seems like something that would be ripe for abuse, or user confusion. Dec 09 02:04:55 fiftycal_: what are you trying to accomplish with multiple copies of the same scene? Dec 09 02:06:03 I want to be able to create an arbitrary depth browsable structure, like > Music > World Music > Asia > Japan > Traditional > Kodo Drums Dec 09 02:06:57 each scene would contain an array of leaf nodes or directories. Dec 09 02:07:20 basically the problem is you want to use the back gesture to browse on the same scene Dec 09 02:07:38 you could just re-use the scene to display the next level of nodes, then intercept the back gesture to load the "parent" Dec 09 02:07:55 when at the top, back gesture would behave as per normal Dec 09 02:08:02 sugardave: so the back gesture can be over-ridden? Dec 09 02:08:15 you can intercept it, from what I've read...never done it, though Dec 09 02:08:55 OK great. Thanks. Will read. Dec 09 02:09:17 sugardave: and have it not go back to the previous underlying (previous) scene? Dec 09 02:10:00 I THINK so...if you're intercepting it, I'm guessing there is a reason to be able to do so, i.e. your own action (such as re-load the scene with new info, etc.)...again, I 'm just speculating Dec 09 02:10:59 Anybody outside the US? Dec 09 02:12:48 lots of people. why? Dec 09 02:13:48 I need somebody to test a URL to see if this will work Dec 09 02:18:48 Ok. Nevermind. I got it checked. Dec 09 02:21:11 download count still the same…definitely broken... Dec 09 02:22:23 average review stat down, download count down…man the catalog is falling apart... Dec 09 02:24:11 FWIW, I've overridden back. Trying to catch incomplete user data that can't be saved, and warn them about it so they can fix it or give up knowingly. Dec 09 02:24:31 so you can override back then? good to know Dec 09 02:24:46 sweet, I was right :D Dec 09 02:25:00 lol, I recommended it first ;) Dec 09 02:27:05 *hasn't helped even a small fraction of the people sugardave has…so has to take dues when he can* :) Dec 09 02:28:01 pshaw, I hardly know any of this stuff, but thanks :D Dec 09 02:31:17 FoxFireX: very cool. Still reading up on it. Dec 09 02:35:37 FoxFireX: how did you override the back gesture? Dec 09 02:36:24 You need to set up a handleCommand method on your assistant... Dec 09 02:36:41 ah got it. Dec 09 02:36:42 Check for event.type is Mojo.Event.back Dec 09 02:37:01 perfect. Thanks! Dec 09 02:37:04 Then event.stopPropogation () and event.preventDefault (). Seems like you need both. Dec 09 02:40:29 and just so I can learn to fish... where did you find this out? Dec 09 02:41:07 Reading the docs and experimenting. *shrug* Dec 09 02:44:22 once you guys have it hammered out, don't forget to put something up at webos101.com Dec 09 02:44:27 hi Adora Dec 09 02:44:46 hihi Dec 09 02:45:54 makes sense re: experimenting. I just wanted to make sure I wasn't missing something too obvious. Now that I know where to look the Mojo.Event page seems right. Dec 09 02:45:58 hindsight 20/20 Dec 09 02:50:05 Oh yeah - https://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Event.html#.back Dec 09 02:50:29 so it looks like its not really hacking to have it do something else, its setup to change what it does Dec 09 02:50:49 going back to the previous scene is just the default action Dec 09 02:51:51 You need to stop propagation for it to work Dec 09 02:52:45 I really need to get this app into the App Catalog. Dec 09 02:52:54 I've got some massive advertisers lined up Dec 09 02:53:16 FoxFire, works great! Dec 09 02:53:45 reality9110: massive as in they will pay you a decent CPC or CPM? (that is all that really matters...) Dec 09 02:53:56 natenrb9: CPM Dec 09 02:54:12 Just getting a CPM deal is hard enough these days Dec 09 02:54:20 what kind of CPM are we looking at? Dec 09 02:54:27 $3-21 Dec 09 02:54:28 (if you can disclose anything) Dec 09 02:54:44 $3-$21 Dec 09 02:54:48 that is a big range Dec 09 02:54:58 but even $3 is pretty dang good Dec 09 02:55:11 Yeah, there are few $21 holiday deals Dec 09 02:55:16 and yes CPM is the golden egg for devs Dec 09 02:55:47 and CPC is the golden egg for advertisers… Dec 09 02:56:47 I've got three layers of ads in the app Dec 09 02:57:15 But even with Admob, I'm pulling big name brand ads Dec 09 02:57:31 so its with Admob? Dec 09 02:57:43 you are just getting some sweet deals through them? Dec 09 02:57:45 The strictly CPM isn't. Dec 09 02:57:52 oh Dec 09 02:57:59 They are the backup backup Dec 09 02:58:05 gotcha **** ENDING LOGGING AT Wed Dec 09 02:59:57 2009