**** BEGIN LOGGING AT Thu Dec 17 02:59:58 2009 Dec 17 03:00:02 render it where u want to Dec 17 03:00:33 you can write whatever in the list and render it anywhere in the template Dec 17 03:01:32 Yeesh. I was on a conference call with 4 people from InMobi...so hard to understand Dec 17 03:02:21
Dec 17 03:04:24 only problem is that makes my data slightly larger, list rendering slightly slower, etc... Dec 17 03:05:51 measure the milliseconds and see if its loosing sleep over.. Dec 17 03:06:13 log will tell you how long it takes.. Dec 17 03:06:31 guess he didnt like that idea.. Dec 17 03:06:56 didnt want to piss you off haeffb Dec 17 03:09:30 Doubt he had any problem with it, but clearly lindbohm.freenode.net didn't want any part of it. Dec 17 03:09:37 Been having way too many netsplits the last few days. Dec 17 03:09:51 yes. its been ugly.. Dec 17 03:11:34 hello! Dec 17 03:12:32 welcome back kotter! Dec 17 03:12:47 you all left and never came back. Dec 17 03:13:14 adding the list item property works like a charm Dec 17 03:14:12 cool man Dec 17 03:20:07 wanna test the new version of Agenda? Dec 17 03:20:13 whew Dec 17 03:20:14 finally Dec 17 03:20:22 send it over Dec 17 03:20:24 i think i have my new logo Dec 17 03:20:33 email? Dec 17 03:20:46 now to start revamping the website Dec 17 03:20:53 haeffb at yahoo Dec 17 03:22:17 tarzan in jungle Dec 17 03:22:59 jane with cheetah. dang. Dec 17 03:23:52 translations is going to be a pain. Dec 17 03:31:48 maybe I've had one too many tonight, but can't make heads or tails of this: http://developer.palm.com/index.php?option=com_content&view=article&id=1610 Dec 17 03:37:51 hi all! Dec 17 03:37:51 haeffb: what u having the problem with Dec 17 03:38:02 JenP: hey Dec 17 03:38:08 Does anyone have some tips for speeding up scrolling? I set up a scroller div with a list inside and it is very choppy and unresponsive. I'm not sure why :S Dec 17 03:38:09 http://pastie.org/746458 Dec 17 03:38:11 hey atlanta! Dec 17 03:38:26 hey was your app the one about the dave mathews band? Dec 17 03:39:05 was trying to figure out how to change "truncating-text" in a row template based on user prefs. One idea posed was to use a different template. So I was trying to learn how to instantiate widgets on the fly Dec 17 03:39:24 hy jenp Dec 17 03:39:43 hey haeffb! Dec 17 03:39:48 I think that's something that I'll have to do when sober and fresh in the morning. Dec 17 03:39:49 hi jenp Dec 17 03:40:01 hey bmyers! Dec 17 03:40:23 ok guys I'm gonna try working on the stupid calendar function again...wish me luck Dec 17 03:41:55 good luck! Dec 17 03:41:56 you should work on a smart calendar function. Dec 17 03:42:03 oh. and good luck. Dec 17 03:42:16 smiles...at this point i'll take anything Dec 17 03:42:30 what's the calendar function do? Dec 17 03:42:44 lets me store an alarm on a cal date Dec 17 03:42:52 s/b simple right?....not for me Dec 17 03:45:16 u mean like remind me when a bill is due? Dec 17 03:45:18 what's the problem part? Dec 17 03:45:23 haeffb: its easy either use .innerHTML Dec 17 03:45:26 or .update Dec 17 03:45:42 Bmyers yup Dec 17 03:46:07 haeffb: it's not doing anything....just sits there and mocks me Dec 17 03:46:15 could do it at least 2 ways Dec 17 03:46:24 well, I'd do that too, if I had the opportunity Dec 17 03:46:30 lol Dec 17 03:47:03 atlanta: don't have a div id for list rows Dec 17 03:47:09 how r u planning on doing it Dec 17 03:49:02 ...using the alarm service to pop up dashboard notification.... Dec 17 03:49:08 what's the other way? Dec 17 03:53:57 push a calendar appt with alarm ? Dec 17 03:54:15 o but you want to do a dashboard Dec 17 03:54:26 i thought u just wanted the reminder Dec 17 03:54:27 no i want to do the calendar bmyers Dec 17 03:54:55 well then haeffb is you man.. he's a cal wiz! Dec 17 03:55:15 are you haeffb? Dec 17 03:55:31 yeah, but don't tell my wife. Dec 17 03:55:54 lol Dec 17 03:55:54 i am haeffa Dec 17 03:56:51 you have to have your own cal Dec 17 03:58:45 you want to create your own account and add calendar events? Dec 17 03:58:53 jenp, see if this meets you needs http://developer.palm.com/index.php?option=com_content&view=article&id=1737 Dec 17 03:59:07 i've gone through it Dec 17 03:59:24 i've got the create account & add cal events... Dec 17 03:59:26 you're good to go then Dec 17 03:59:36 but i'm missing something because it doesn't work Dec 17 03:59:47 i almost think the button i've got launching it is wrong Dec 17 04:02:30 well pastebin something Dec 17 04:02:40 kk Dec 17 04:03:54 http://pastebin.com/m5c0b6ccf Dec 17 04:03:58 there's my button Dec 17 04:05:09 http://pastebin.com/d672e8428 Dec 17 04:05:19 this has the calendar in it Dec 17 04:05:32 this.calButtonPressAttributes ? Dec 17 04:05:46 i didn't know what to call it Dec 17 04:06:19 what is it? have you defined it somewhere? Dec 17 04:06:57 no because i didn't define attributes for any of my other buttons Dec 17 04:07:43 attributes are just empty do i still need to define them? Dec 17 04:07:46 you can use {} Dec 17 04:07:54 don't need anything in particular Dec 17 04:09:40 so what exactly doesnt it do? Dec 17 04:09:47 anything Dec 17 04:09:51 :) Dec 17 04:09:57 i click on the button...nothing happens Dec 17 04:10:04 Mojo.Log.info is your friend. Dec 17 04:10:08 it is Dec 17 04:10:19 ok how do i view log info again? Dec 17 04:10:34 I remember back in the day geekgrl taught me how to do it. Dec 17 04:10:58 palm-log -d tcp -f my.app.stuff Dec 17 04:11:19 lol yeah those days are gone...my brain is mush now Dec 17 04:11:26 Mojo.Log.info("<<==== BADNESS "); Dec 17 04:11:31 lol Dec 17 04:11:31 or Dec 17 04:11:39 set "logLevel": 99 in framework-config.json Dec 17 04:12:01 whoa, chuq is messing with me...re-arranging forum order like that Dec 17 04:12:04 put your catch stuff in there Dec 17 04:12:10 sugardave: no kidding Dec 17 04:14:12 Jenp, get at least a few logs in there to see how far down the chain you are making it Dec 17 04:14:16 first thing is in ShowTextAssistant.prototype.calButtonPress, add Mojo.Log.info("Made it here. Whew!"); Dec 17 04:14:28 you go from one success handler to another to another Dec 17 04:14:33 i'm dizzy already.. Dec 17 04:14:37 "wipes sweat from brow" Dec 17 04:15:04 kk LOL Dec 17 04:16:32 i should find it in putty right? Dec 17 04:16:54 log com.max..wizbang app Dec 17 04:17:27 thanks Dec 17 04:17:35 screw putty. use command prompt and palm-log as shown above Dec 17 04:17:53 seriously? Dec 17 04:18:00 srsly. Dec 17 04:18:03 u on windoze Dec 17 04:18:06 ? Dec 17 04:18:19 palm-log sucks on xp Dec 17 04:18:31 i'm win 7 Dec 17 04:18:39 Bmyers: join the modern world... Dec 17 04:18:44 yeah yeah.. Dec 17 04:18:52 wouldn't the "inspector" show this stuff? Dec 17 04:19:03 XP 4 EVER!!!!!!!! Dec 17 04:19:12 no. Dec 17 04:19:14 command prompt: palm-log -d tcp -f com.jenp.debtfree Dec 17 04:19:15 switch to 7 it's sooo much better Dec 17 04:19:18 anyone know if there is a hidden text field in mojo? Dec 17 04:19:22 i'm in it haeffb Dec 17 04:19:27 i know... Dec 17 04:19:34 looks like I get to my createEvent func then die Dec 17 04:19:34 i live in linux otherwise.. Dec 17 04:19:35 -d tcp says emulator Dec 17 04:19:44 -f says "follow" as in keep showing the logs Dec 17 04:21:27 LoneStar34: why do you need a hidden textfield? Dec 17 04:22:08 security... Dec 17 04:22:27 JenP: check to make sure this.clndrid, etc are defined? Dec 17 04:22:29 there is a regular text field Dec 17 04:22:40 it may support the hidden tag. didnt try that.. Dec 17 04:22:43 there's a password text field Dec 17 04:24:13 wow. sometimes i hate my site's community Dec 17 04:24:21 "why palm? what about iphone!!! wahhhh" Dec 17 04:24:22 haeffb: well need to store a value somewhere on a "scene" Dec 17 04:24:34 once your platform has a decent notification system, maybe Dec 17 04:24:51 JenP: you have two versions of ShowTextAssistant.prototype.handleAddResponse - line 228 and 191 Dec 17 04:25:17 oh man... Dec 17 04:25:24 why on a scene? global variable not work? Dec 17 04:26:27 hey jenp.. when you console log or mojo log or whatever Dec 17 04:26:38 hmm? Dec 17 04:26:40 put the method you are in in the text Dec 17 04:26:48 i just did Dec 17 04:26:51 jenp: this looks pretty complicated. Why not use alarms service and handle within your app? Dec 17 04:27:27 think it would be "simpler" Dec 17 04:27:31 not "simple" Dec 17 04:27:36 but "simpler" Dec 17 04:27:59 if she makes a calendar entry Dec 17 04:28:03 because when I want to remind my bf to pay a bill i put it on the calendar Dec 17 04:28:04 haeffb: maybe you can come up with a better logic. Scenario: 1.) user enters text, presses submit 2.) ajax call produces results, 3.) user wants more results so press "more recipes" Dec 17 04:28:05 it'll show up in agenda.. Dec 17 04:28:36 plus haeffb I figured you realized i was complicated.... Dec 17 04:28:37 oh, good point, Bmyers! Dec 17 04:28:55 see.. Dec 17 04:29:04 haeffb: I need to figure how to do step 3.) pagination via ajax call Dec 17 04:29:13 more sales for me == good! Dec 17 04:29:32 you need to save the user entered text? Dec 17 04:29:38 i think the cal is the way to go but.. Dec 17 04:30:03 going multistage and alarms and stuff gets sticky too Dec 17 04:30:23 true. but I've done that, so can be more help... Dec 17 04:30:55 Jenp, you making progress? Dec 17 04:31:04 make it anything further down the chain? Dec 17 04:31:06 no...now i get can't find bind Dec 17 04:31:12 grrr Dec 17 04:31:26 pastbin update? Dec 17 04:31:36 kk Dec 17 04:31:59 brb Dec 17 04:32:00 * haeffb suggests pasties.org. just like that name better for some reason.... Dec 17 04:32:06 yetdog: tell 'em you hate iPhones Dec 17 04:32:09 that's what I do Dec 17 04:32:10 lol Dec 17 04:32:27 bunch of spoiled whiners Dec 17 04:32:53 yeah. .org much nicer than .com Dec 17 04:34:00 Anyone here use Blender? Dec 17 04:34:09 LoneStar34: what about step 3 requires a hidden text field? Dec 17 04:34:10 http://pastebin.com/d4dd27ecb Dec 17 04:34:22 ok still have two cal calls Dec 17 04:35:41 * haeffb doesn't think "domain" is required to be "palm" btw Dec 17 04:36:12 haeffb: just need a way to make it work, http://buildasearch.com/search/ uses a hidden field to store the value of starting point Dec 17 04:37:28 i get a cannot call method bind Dec 17 04:37:46 LoneStar34: the user entered text? Dec 17 04:37:57 of "undefined" Dec 17 04:38:23 can not call method bind of undefined Dec 17 04:38:34 looks like it's on line 41 Dec 17 04:38:39 haeffb: what produces undefined? the url i sent? Dec 17 04:39:08 no, JenP Dec 17 04:39:16 no, JenP's code Dec 17 04:39:31 oh ok Dec 17 04:39:41 LoneStar34: what are you trying to save in a hidden text field? the user entered text? Dec 17 04:40:25 no the value of "page" page=1 page=2 page=3 etc.... Dec 17 04:41:01 JenP: you don't have a setAccount function Dec 17 04:41:17 this.page = xx; Dec 17 04:42:10 haeffb: I was just about to point that out... Dec 17 04:42:40 haeffb: where do I define "this.page=xx" Dec 17 04:43:43 every time you get a new page. Dec 17 04:43:49 i mean, how would I have "this.page=xx" value change dynamically when mojo button is clicked Dec 17 04:44:13 in your scene assistant's setup() this.page = 0; Dec 17 04:44:44 in your button's onTap event handler this.page = this.page ++; Dec 17 04:46:16 haeffb: "this.page++;" means that the page value is dynamic right? Dec 17 04:46:19 this.page += 1; Dec 17 04:46:36 this.page = this.page + 1; Dec 17 04:46:39 recommended by that Crockford dude Dec 17 04:47:37 haeffb: ok starting to understand, just used to my stupid "hidden fields" ... Dec 17 04:47:56 LoneStar34: I tried to tell you the other day that you probably didn't need that :P Dec 17 04:49:20 sugardave: the "hidden field"? lol I know, just used to that technique, so trying to understand the haeffb solution Dec 17 04:50:40 * haeffb likes "the haeffb solution" Dec 17 04:50:57 is that anything like saline? Dec 17 04:51:47 yes. but not. Dec 17 04:52:56 haeffb: do not mean to be the dude that asks for a ride and wants to drive, but can you add some sample code to pastebin, so i can get a better understanding Dec 17 04:54:30 LoneStar34: it would be easier if you'd post your code, so that I can see where we need to go. You can drive if you want, but I can only navigate if I know where you're headed... Dec 17 04:54:31 Just remember, if you're not part of the solution....... Dec 17 04:54:56 (anyone?) Dec 17 04:55:13 you're a terrorist? Dec 17 04:55:19 what? I'm already part of the solution. Dec 17 04:55:22 You're part of the precipitate. Dec 17 04:55:37 chemistry jokes. never not funny. Dec 17 04:57:20 Night, all. Dec 17 05:00:12 now, that's an exit. "you're part of the precipitate." yowza! Dec 17 05:01:59 Does anyone have some tips for speeding up scrolling? I set up a scroller div with a list inside and it is very choppy and unresponsive. I'm not sure why http://pastie.org/746458 Could it be because the scroller is also in a fixed position? Dec 17 05:03:29 http://pastebin.com/dbb880b Dec 17 05:11:22 LoneStar34: is that code in your button tap handler? Dec 17 05:16:30 haeffb: no it is to handle the pagination Dec 17 05:17:31 is it in your sceneAssistant? Dec 17 05:18:27 no in another part of the code for the ajax call Dec 17 05:18:31 Good evening Dec 17 05:19:29 do you have an appAssistant? or stageAssistant? Dec 17 05:19:32 hi rbredow Dec 17 05:21:03 stageAssistant Dec 17 05:21:52 catalystmediastu: sorry that nobody seems to be able to answer your question...wish I knew Dec 17 05:23:16 ok, I gotta hit the sack. sugardave: show LoneStar34 how to create a global var in stageAssistant that he can use in his Ajax stuff. Dec 17 05:23:20 i was wondering if he has a verry long list or something Dec 17 05:23:27 haeffb: button tap handler "Mojo.Event.listen($("shareButton"), Dec 17 05:23:27 Mojo.Event.tap, Dec 17 05:23:27 this.shareButtonTapped.bind(this));" Dec 17 05:24:06 thats not right is it? Dec 17 05:24:39 okay, so basically you need to know how to make a global variable and use it as a "what page should I get" query parameter in an ajax call? Dec 17 05:25:25 * haeffb was wondering why he ( catalystmediastu ) needed to wrap the list in a scroller. Dec 17 05:25:50 SG: is smallicon something to do with support? Dec 17 05:25:58 http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Controller.StageController.html#.pushAppSupportInfoScene Dec 17 05:26:29 Bmyers: shouldn't be....basically just make a 'support Dec 17 05:26:32 haeffb: It's a very complicated layout. The scroller is the height and width of the window (card) and houses the list so that the entire list can be moved up and down and have stuff underneath it revealed. Dec 17 05:26:37 ' JSON entry in appinfo Dec 17 05:27:01 Bmyers: I'll paste mine, gimme a few minutes Dec 17 05:27:21 there's one up there Dec 17 05:27:33 sugardave: Thanks, I've been experimenting and found that when the height is 200px the scrolling is extremely fast, but as I add pixel height the performance goes down FAST, I'm trying to figure out a workaround right now :p Dec 17 05:27:36 i'm just hacking that one and didnt have a smallicon32x32 Dec 17 05:27:36 I didn't mess with miniicon Dec 17 05:27:55 ok Dec 17 05:28:05 er smallicon Dec 17 05:28:56 just {'support': {'email': 'blahblahblah'}} or whichever option Dec 17 05:29:31 i think i got the app info. lets see if it blows up.. Dec 17 05:30:01 now just replace all your pushScene for help in the app menu to use the new method Dec 17 05:30:44 this.controller.stageController.pushAppSupportInfoScene(); Dec 17 05:32:00 not on the first try.. Dec 17 05:32:12 just froze the help menu Dec 17 05:34:40 catalystmediastu: this looks wrong: this.controller.setupWidget("divScrollerPane", this.modesModel = { mode: "vertical" }, {}); Dec 17 05:35:01 attributes, then model? Dec 17 05:36:47 gotta love multistage apps Dec 17 05:36:48 Uncaught TypeError: Cannot call method 'pushAppSupportInfoScene' Dec 17 05:37:40 haeffb: You're right. I switched 'em and everything still works, but still crappy performance :S Dec 17 05:37:52 ooooh. slick.. Dec 17 05:38:20 got it working Dec 17 05:38:27 >250px height and performance starts goin down the drain Dec 17 05:38:29 Bmyers_away: lame....try the Mojo.Controller.appContr....good! Dec 17 05:38:57 yeah its in my appassistant, already had a stagecontroller around Dec 17 05:39:07 i just pasted in what was in the example Dec 17 05:39:10 haeffb: thanks alot for all your help! Have a good nite! Dec 17 05:39:11 coolness Dec 17 05:39:24 i see why u would want the 32x32 icon tho Dec 17 05:39:30 thanks SD! Dec 17 05:39:36 np Dec 17 05:39:39 i would have kept putting that off Dec 17 05:40:35 how did jenp make out with her cal stuff? Dec 17 05:40:45 now just put in your reviewer notes something like "this app use pushAppSupportInfoScene so there is no app menu in the help scene" Dec 17 05:40:49 hey Bmyers_away I got it to work Dec 17 05:40:52 *uses Dec 17 05:40:59 now i need to give user ability to set the date Dec 17 05:41:12 sugardave: yes i need to know "how to make global" so to know what page to display in ajax querystring Dec 17 05:41:24 has anyone pulled off a list of drawers? In other words a list of collapsible/expandable things? Dec 17 05:41:53 its disabled in the help menu Dec 17 05:42:06 was side tracked earlier had some company Dec 17 05:42:19 jenp date picker? Dec 17 05:42:25 yeppers Dec 17 05:42:56 jan 1, 1970.. Dec 17 05:43:10 and u r on your way.. Dec 17 05:43:35 JF, I've done that.. Dec 17 05:43:39 1970 for utc? Dec 17 05:43:49 epoch start.. Dec 17 05:43:52 AHHH Dec 17 05:44:06 seconds since then Dec 17 05:44:27 someday, that will be a REALLY BIG NUMBER! Dec 17 05:44:39 Bmyers: OK...so what I'm confused about is how to create each individual drawer widget. Does each one need a unique ID? Do you have to instantiate these explicitly or is there some trick I'm missing? Dec 17 05:44:44 the next Y2k scare Dec 17 05:44:52 oh no.. Dec 17 05:44:57 i know what the next app flood will be Dec 17 05:45:17 chicken years? Dec 17 05:45:17 JF: templates Dec 17 05:45:27 an app for each team in each bowl game? Dec 17 05:45:28 no recipes Dec 17 05:45:39 brighthouse has a ton of recipe apps for the iphone Dec 17 05:45:45 gnat years? Dec 17 05:45:56 they're already here, dawm_ Dec 17 05:45:58 as well as quotes Dec 17 05:46:04 so are those Dec 17 05:46:06 really? i haent looked in the catalog lately due to the flood Dec 17 05:46:14 LoneStar34: basically, in your scene assistant just make a var, it will be global in all your scenes Dec 17 05:46:28 var myGlobalVar = {}; Dec 17 05:46:34 dutch recipes. spanish recipes. french recipes. angolian recipes. Dec 17 05:46:46 they apparently have 1961 apps on the iphone (http://www.iappphone.com/developer/304663034/Brighthouse/) Dec 17 05:46:57 JF: style matters has a list of drawers example Dec 17 05:47:01 Bmyers: OK, but the list item template will just specify a single drawer id. Does the framework take care of figuring out which drawer in which item has been tapped on? Dec 17 05:47:06 and now in any scene and any function in the scene(s) you can reference myGlobalVar to get whatever from it Dec 17 05:47:14 except don't use var Dec 17 05:47:23 haeffb: oh yeah, sorry Dec 17 05:47:26 don't use var Dec 17 05:47:29 so a line like Dec 17 05:47:36 myGlobalVar = {}; Dec 17 05:47:47 or myGlobalVar = 1; Dec 17 05:47:53 whatever Dec 17 05:48:09 Bwyers: so do you just setup a single drawer widget that automatically gets replicated by the template? Dec 17 05:48:14 oh, and do it in stageAssistant Dec 17 05:48:16 sugardave: how do I add an value a dynamic value to the "myGlobalVar = dynamic"? Dec 17 05:48:19 JF: in the template you make unique id's with
yadda yadda Dec 17 05:48:43 Bmyers: But what if the list length is dynamic? Dec 17 05:48:55 don't use id's in lists Dec 17 05:49:02 LoneStar34: like what do you mean? anytime you get the new dynamic value you say: myGlobalVar = new dynamic value; Dec 17 05:49:34 Bmyers: A priori I don't know the number of items and hence drawers Dec 17 05:50:03 JF: neither do I Dec 17 05:50:12 doesnt matter Dec 17 05:50:54 you have some top level thing you want to organize sub things into right? Dec 17 05:50:59 OK..I see now, didn't look at the closely enough. But where does entryID come from? Dec 17 05:51:12 ooo, I know that one Dec 17 05:51:18 whatever is unique about your record Dec 17 05:51:21 from your list item Dec 17 05:51:29 right Dec 17 05:51:32 item.idFoo Dec 17 05:51:36 OK....got it Dec 17 05:51:43 well Dec 17 05:51:45 item.entryID Dec 17 05:51:50 haeffb : why not use id's? Dec 17 05:52:03 I was having a mental block on how the template was working....its clear now. Thanks! Dec 17 05:52:18 swiss cheese and mustard man! Dec 17 05:52:29 templates are the swiss cheese, data is the mustard Dec 17 05:52:40 lol...yeah Dec 17 05:52:40 sugardave: 1.) place "myGlobalVar = {};" inside "StageAssistant.prototype.setup = function() {" 2.) anytime the global changes do the following myGlobalVar = 'abc'; or myGlobalVar = 'halloween'; etc.... is that correct? Dec 17 05:53:12 you dont have to use
LoneStar34: not quite, I will paste an example stage assistant with a global var definition Dec 17 05:53:40 but you can use items.whatever to place in the spaces of {whatever} in your pages Dec 17 05:53:44 sugardave: thanks Dec 17 05:54:17 OK...the template makes sense now. But when you setup each drawer widget....don't you need to refer to the id? It Dec 17 05:54:23 will be owing alot of pints after the first release of this app is done Dec 17 05:54:35 depends Dec 17 05:55:14 this.controller.setupWidget("drawerId".... Dec 17 05:55:25 no not that... Dec 17 05:55:33 well. Dec 17 05:55:37 What version of eclipse is ubuntu 9.10 karmic using now? Dec 17 05:55:41 i dunno. what r u putting in the drawers? Dec 17 05:55:52 each item of a list Dec 17 05:56:09 I can loop over the setupWidget with each list item Dec 17 05:56:17 in what exactly? a textfield? Dec 17 05:56:23 just plain text? Dec 17 05:56:33 date widget? Dec 17 05:56:46 its the content of blog posts Dec 17 05:57:08 basically I want to have the content hidden in a drawer Dec 17 05:57:17 lo Dec 17 05:57:22 LoneStar34: http://webos.pastebin.com/d338cfb0a Dec 17 05:57:23 not a widget then.. Dec 17 05:57:23 oops Dec 17 05:57:36 the list items are not widgets no Dec 17 05:57:44 Bmyers_away: Palm says "don't use id's for widgets in a list" Dec 17 05:58:00 technically, I think var myGlobalVar should work, shouldn't it? since it's in the stage assistant and all its functions... Dec 17 05:58:03 can you post that for me to review? Dec 17 05:58:11 widgets... Dec 17 05:58:13 in a list.. Dec 17 05:58:20 he isnt doing widgets in a list Dec 17 05:58:23 just text. Dec 17 05:58:34 he doesnt even need id's Dec 17 05:58:38 drawers are not widgets? Dec 17 05:59:08 I think they are....maybe I'm not being clear....a drawer for each list item Dec 17 05:59:14 i meant to say he's not doing widgets in the drawers Dec 17 05:59:15 so 30 items...30 drawers Dec 17 05:59:40 * haeffb hasn't done drawers, so you may not want to listen to what I say... Dec 17 05:59:41 where is that written haeffb? Dec 17 05:59:47 hang tight... Dec 17 06:00:06 JF: have you read style matters? Dec 17 06:00:26 it has a list of drawers example Dec 17 06:00:28 sugardave: thanks alot! Dec 17 06:00:41 np Dec 17 06:01:13 one last question regarding this: is it possible to make the global value change dynamically? Dec 17 06:01:19 Bmyers: I'll look into that Dec 17 06:01:29 it's in Allen's book. Dec 17 06:01:42 they dont make it easy to follow.. Dec 17 06:01:46 but its in there Dec 17 06:01:57 LoneStar34: of course, just update it whenever you want Dec 17 06:02:24 haeffb: any idea where? Dec 17 06:02:30 sugardave: ok will begin to work on it now Dec 17 06:02:35 thanks Dec 17 06:02:37 np Dec 17 06:04:41 pg 84, in the Using Widgets in Lists section Dec 17 06:05:18 widgets declared in the itemTemplate use a name attribute not an ID because the same name.... Dec 17 06:05:59 On the other hand, if you're generating the ID dynamically, maybe that works too. Dec 17 06:06:26 yeah i think they mean dont hard code them Dec 17 06:06:58 Ok, disregard the "dont use id's in a list" thing...! Dec 17 06:07:00 and be sure you cant create two Dec 17 06:07:07 names are fine too Dec 17 06:07:18 with the ID you can setup a listener Dec 17 06:07:30 see? you guys REALLY make me want to not do Lists Dec 17 06:07:49 if you have to do more than 1 thing per list entry Dec 17 06:08:15 it's a little involved.. Dec 17 06:08:19 * sugardave shamelessly peruses Bmyers' code for his collapsible group lists. Dec 17 06:08:30 yeah.. Dec 17 06:08:32 ok lol Dec 17 06:08:35 setup the listener on the list, not the rows? Dec 17 06:09:16 that'll get you 1 event per list item Dec 17 06:09:21 listtap you mean? Dec 17 06:09:47 look at Agenda code - it recognizes tap on the list row, and/or on the icon on the right. Dec 17 06:10:11 without using ID's Dec 17 06:10:26 bmyers shamelessly peruses haeffb's code for his list wizardry Dec 17 06:10:32 in AgendaAssistant Dec 17 06:11:03 i'll check that out.. Dec 17 06:11:17 OK JF: there you go.. Dec 17 06:11:21 ko. this time I'm really hitting the sack. Dec 17 06:11:34 Oops. I just adding an option to this poll on the dev forum and wiped out all the entries so far. In case you voted already and care, you might wanna re-vote: https://developer.palm.com/distribution/viewtopic.php?f=23&t=3859 Dec 17 06:11:56 l8r haeffb Dec 17 06:12:09 Thanks guys....I got it Dec 17 06:12:41 where is haefb's code and said wizardry? Dec 17 06:13:10 oops. just realized that I am usign ID's. Never mind. Dec 17 06:13:25 lol....thought you had some serious MOJO Dec 17 06:13:32 I'm sorry. your last message was garbled on this end Haeffb.. Dec 17 06:13:37 not for widgets, but for divs in the list. Dec 17 06:14:08 did you say you DO use ID's? Dec 17 06:14:17 :) Dec 17 06:14:49 but I think you can still do the same thing with widgets in the list, with no ID's. Dec 17 06:14:58 I'm not sure what you would give to setupWidget() were it not an id Dec 17 06:15:22 i'll have a look haeffb tomorrow with my morn'n cup o joe.. Dec 17 06:15:49 the list widget has an ID, but widgets in the list do not. Dec 17 06:16:30 gah. I've had too many beers & need sleep. Hope I haven't confused the issue too much. Later. Dec 17 06:16:35 so how do you create the widgets within the list? Dec 17 06:16:39 OK...gnite Dec 17 06:17:03 l8r ! Dec 17 06:17:22 wait wait Dec 17 06:18:06 http://www.pastie.org/746795 Dec 17 06:18:23 'calendarList' is the list widget Dec 17 06:18:52 'listCheckBox' are the checkbox widgets in the list Dec 17 06:20:14 OK...this is exactly what I suspected might work Dec 17 06:20:30 It does some internal name mangling to track events properly Dec 17 06:20:52 setupWidget with the 'listCheckBox' has no model - it uses the listModel. Dec 17 06:21:06 o right yeah.. Dec 17 06:21:14 it templates widgets inside of lists the same way list items are Dec 17 06:21:35 where AGENDA.myCalendars.display is used for the checkbox modelProperty Dec 17 06:21:35 the checkbox model is in the list model Dec 17 06:22:04 i used that somewhere too! Dec 17 06:22:13 and i dont even remember where! Dec 17 06:22:19 jfelectron: you can DL Agenda from precentral to look at source. Dec 17 06:22:21 ok, gotta pack it in i guess Dec 17 06:22:31 Roger...thanks....will do Dec 17 06:22:38 just don't expect it to be "good" code. just code that works. Dec 17 06:22:45 (my motto!) Dec 17 06:22:50 lol....mine as well Dec 17 06:22:56 out. Dec 17 06:23:11 haeffb Dec 17 06:23:12 peace Dec 17 06:23:20 wheres the listener? Dec 17 06:24:37 oh well Dec 17 06:25:13 well...I don't use one there. but you could still use a listener on the list itself. and look at event.originalEvent. I think. Dec 17 06:26:26 ok.. i'll catch u tomorrow. Dec 17 06:26:31 PreferencesAssistant.prototype.doChange Dec 17 06:27:02 looks at propertyChange event on the list. Dec 17 06:27:17 see what comes in the event, and what can you do with it. Dec 17 06:27:49 I'll see what I can do Dec 17 06:29:00 good luck! Dec 17 06:32:49 i'm out too. c u l8r! Dec 17 06:47:46 hi all Dec 17 06:47:51 hi Dec 17 06:51:23 howdy Dec 17 07:03:33 I just added a minefield to my game. Even with simple sound effects, it's quite satisfying. :) Dec 17 07:03:52 Explosions are always fun. Dec 17 07:38:41 * _ivanst_ waves Dec 17 07:39:07 <_ivanst_> anyone got any ideas why (suddenly) the top of my scene gets scrolled out of view when i push it? Dec 17 07:41:11 <_ivanst_> it seems to have something to do with the fact that the top scrolls out of view by say 20-30px when my dynamic list loads it's data... Dec 17 07:44:17 <_ivanst_> hm.... Dec 17 07:44:35 <_ivanst_> apparently calling setLength on a List causes some unforseen scrolling. that's strange... Dec 17 07:50:26 <_ivanst_> well this is funny... Dec 17 07:53:23 howdy ivanst Dec 17 07:56:52 * _ivanst_ waves Dec 17 07:57:51 <_ivanst_> this is fucked up... check out this: you have a dynamic List, and in the itemsCallback, you first call setLength on the widget to let it know how many items you have in total, then you call noticeUpdatedItems to actually send the data over Dec 17 07:58:22 <_ivanst_> it causes the whole view of your app to scroll downwards by some amount of pixels defined by (i think) the rendered content size Dec 17 07:58:42 <_ivanst_> however... if you first call noticeUpdatedItems, and then call setLength, then it works okay - without scrolling :D Dec 17 08:00:32 hmmm... that sounds like a bug Dec 17 08:01:25 <_ivanst_> meh, who cares... got to get this shtick done... i'm not above juggling around the order of statements to make that happen ;-) Dec 17 08:01:55 <_ivanst_> besides, whatever bugs you might have in webOS, i assure you it's not as bad as fixing problems in a compiler written in OCaml :-p Dec 17 08:04:52 <_ivanst_> (for the record, that would be the Haxe compiler) Dec 17 08:05:13 <_ivanst_> (which would kick fscking ass if they knew what the hell is it that they want to do with it) Dec 17 08:07:33 <_ivanst_> hm... Dec 17 08:07:45 <_ivanst_> i always kinda envied people with cool IRC nicknames... Dec 17 08:07:54 <_ivanst_> "incidentist" sounds pretty radical Dec 17 08:08:04 lol Dec 17 08:14:11 <_ivanst_> a guy goes to parachuting school, they give them all the training and explain that if both their main and reserve fail, they should wait and someone will be around to help them. so the guy takes his first jump, both chutes fail, and he notices someone flying up from the ground. when they meet up the guy asks the newcomer if he's here to repair his parachute, and the newcomer replies "no, i'm from the munitions factory" Dec 17 08:16:12 Sounds like a new level for my game. :) Dec 17 08:17:05 <_ivanst_> i wish pre had a built-in compass like the 3GS... that'd open some wicked augmented reality possibilities Dec 17 08:17:18 Agreed. That would be cool. Dec 17 08:24:29 Anyone wanna join my paratrooper-beta program? I'm adding users to test out the new version with 10 extra levels. Dec 17 08:25:14 * _ivanst_ raises his hand! Dec 17 08:29:37 what if I only have the emulator? Dec 17 08:30:55 Unfortunately, tilt is pretty much required to get past the first few levels. Dec 17 08:31:55 oh ok Dec 17 08:32:03 right on Dec 17 08:32:44 I think you'd find it a bit frustration when the paratroopers sail off-screen repeatedly. :) Dec 17 08:33:08 In case you haven Dec 17 08:33:08 t Dec 17 08:33:09 oops Dec 17 08:33:16 in case you haven't seen it, this is the gameplay demo: http://www.youtube.com/watch?v=xmHm4oP8vg0 Dec 17 08:35:17 nice Dec 17 08:35:23 thanks! Dec 17 08:35:33 looks like the game features the same kind of humor as Cannonfodder Dec 17 08:35:42 anyone remembers cannonfodder? Dec 17 08:35:46 have you ever heard of a game called goop something? Dec 17 08:36:01 for the Wii? Dec 17 08:36:07 gloop? Dec 17 08:36:16 Is it the World of Goo? Dec 17 08:36:22 yeah Dec 17 08:36:27 Yes...awesome game. Dec 17 08:36:42 yeah, it has the same song in your video Dec 17 08:37:43 Yes. We're using the same soundtrack. Dec 17 08:38:21 oh ok, you have any connection with the world of goo? Dec 17 08:39:02 No. They licensed a couple of tracks of their music for a broad range of uses so we couldn't resist. Dec 17 08:39:35 that is cool, world of goo is awesome, need to buy the full version Dec 17 08:41:14 It's absolutely worth it. For the music alone! Dec 17 08:42:23 MetaView: who doesn't remember cannon fodder? =) Dec 17 08:42:54 yeah, like the music alot Dec 17 08:43:11 very soothing music like boomshine Dec 17 08:51:50 * _ivanst_ is heading out to a client... see you in a few hours folks! Dec 17 08:55:05 good night all. Dec 17 08:55:29 nite Dec 17 09:44:00 invanst: are you there? Dec 17 13:27:45 ok, this is frustrating, i can't even get a button to be inserted Dec 17 14:48:54 Anyone here have experience with memory management issues? My app can open browser cards and if I play around with it enough I get the 'too many cards open' error message (even when my app is the only one open) and the app becomes unresponsive (just a white screen with the view menu buttons visible but dont do anything) Dec 17 14:51:18 I have a Palm running 1.2.1 I used the PrewareInstaller-0.9.5.jar to install Preware (using web doctor 1.2.1 jar file) ... but it freezes on either "Downloading Feeds" or "Checking Package Manager Version" (which should be instantaneous it states) ... my internet is working, I verified it using the browser -- any ideas? Dec 17 14:57:23 JangKro, maybe try installing via WebOS Quick Install Dec 17 14:57:54 JayCanuck, just reinstall it? Dec 17 14:58:23 might work Dec 17 14:58:39 yeah I was considering trying that ... though it seems as if it is installed, just doesn't work Dec 17 14:59:11 sounds like package manager service isn't working Dec 17 14:59:34 0.9.12 seems to be the latest version, but only 0.9.5 or 0.9.4 are downloadable from http://get.preware.org/ Dec 17 14:59:38 sounds like package manager service isn't working :) Dec 17 15:00:02 oops mistype Dec 17 15:00:06 i will try to install both preware and package manager using webOS quick install then ... Dec 17 15:00:34 PreCentral has several how-to guides that should get ya started with webos quick install quickly :) Dec 17 15:00:46 i've read all of them, I don't see any troubleshooting sections though Dec 17 15:00:58 well hmmm ... didn't know of several, I've read the only two I keep finding over and over again Dec 17 15:01:01 3rd post Dec 17 15:01:29 3rd post? third ... link in the topic ? Dec 17 15:01:31 (3rd post of webos quick install thread) Dec 17 15:03:04 3rd posth ere: http://forums.precentral.net/webos-internals/199090-preware.html Dec 17 15:04:24 http://forums.precentral.net/canuck-software/206905-webos-quick-install-v2-96-a.html Dec 17 15:07:31 I read that one you just posted and also this one http://www.webos-internals.org/wiki/Application:Preware (the link to this one I found from http://www.precentral.net/homebrew-apps/preware and also from http://forums.precentral.net/webos-internals/199090-preware.html) Dec 17 15:08:16 I bought my Pre unlocked (was originally Sprint) for a non-Sprint CDMA network ... not sure how that might affect it Dec 17 15:09:52 Anyway thanks for the feedback, will try webOS since initially I used the Preware Installer Dec 17 15:10:01 which might not have done a proper install for the Package Manager Service Dec 17 15:11:36 JayCanuck, fancy meeting a professional palm develoer :) Dec 17 15:12:29 I think novacom drivers were not working on my x64 XP professional, but I managed to get it installed using my laptop... Dec 17 15:14:06 JayCanuck, I think you're the best person to ask this... as I understand it now, the API's publically availble for the Pre do not allow things like phonecall or sms interception -- is this right ? Dec 17 15:14:22 in third party apps, nope Dec 17 15:14:41 though homebrew could be an option Dec 17 15:15:34 Hmmm ... I'm confused ... third party apps means applications not written by Palm but supported/advocated by Palm? whereas homebrew are third party apps that have no sort of approval ? Dec 17 15:16:33 well, technically homebrew are third party as well, just meant with homebrew, you can use unofficial api and such Dec 17 15:17:30 okay ... that clears things up .... is the unofficial api documented anywhere? Dec 17 15:17:30 whereas unofficial api and apps that have their own custom services will not be allowed in the App Catalog in the foreseeable future (from what i've been told) Dec 17 15:18:08 well that's for Palm to ensure the integrity of it's OS I'm guessing ? Dec 17 15:18:12 not surrent. the closest would be webosinternals, though most times it's just discover for oneself Dec 17 15:18:27 *currently Dec 17 15:28:22 webos-internals allows for the interception of calls / sms messages at this point? Dec 17 15:29:53 lemme check out the tools section Dec 17 15:30:19 Just remember you wont be ableto submit to the app catalog Dec 17 15:31:10 yeah I gotcha ... but that doesn't mean I couldn't still well the software ! though that's not what i'm aiming at just yet ... Dec 17 15:31:50 You really wont have a good chance at selling at this point Dec 17 15:32:36 maybe adsupported but if you cant get it in preware unless you build in a server side register Dec 17 15:33:37 oh, you can't like just ... upload it to the preware feed ? :) Dec 17 15:33:58 hi there Dec 17 15:34:30 can anyone help me out with getting the current day of the month in mojo? Dec 17 15:34:53 or can I just use the JavaScript getMonth() ? Dec 17 15:35:23 sorry, getDate() Dec 17 15:35:26 JangKro - You can but not if you want to sell it Dec 17 15:35:44 CTLAdvance, okay ... at this point that's really not what I'm looking into anyway. Dec 17 15:35:44 what should I use then? Dec 17 15:37:01 great Dec 17 15:38:21 noone to help me out? is there a good reference on how to code for webOS then? Dec 17 15:39:44 if no one helps i can in a few Dec 17 15:40:23 its javascript... not really webos specific Dec 17 15:42:39 I just tried this.dayinmonth=new Date().getDate(); Dec 17 15:42:42 svetter, "var month = new Date().getMonth();" should wouk Dec 17 15:42:43 worked just fine Dec 17 15:42:45 yea Dec 17 15:42:51 thanks anyway :) Dec 17 15:42:54 lol Dec 17 15:43:08 already got the next problem :) Dec 17 15:43:30 I'm using a friend's netbook and can't get used to the small keyboard and trackpad, lol Dec 17 15:43:39 eh? Dec 17 15:43:54 the array I created in the browser-version of my app doesnt work Dec 17 15:44:28 this.daysinmonth=new Object(); daysinmonth[0]=31; daysinmonth[1]=28; etc... Dec 17 15:44:49 is there another way to get that running on webOS? Dec 17 15:45:20 this.daysinmonth = Array(); Dec 17 15:45:30 that should get it workin Dec 17 15:45:31 okay Dec 17 15:45:52 where can I look up all these differences? Dec 17 15:45:57 oops, meant Dec 17 15:46:09 this.daysinmonth = new Array(); Dec 17 15:46:15 The browser-version needs a lot of changes to work on webOS Dec 17 15:46:25 is there any reference for all these differences? Dec 17 15:47:16 this is standard javascript. I highly http://www.w3schools.com/jsref/ Dec 17 15:47:19 :) Dec 17 15:47:49 so new Object was wrong in the first place? Dec 17 15:47:51 I wonder if a trigger on com_palm_pim_FolderEntry could effectively save SMS's to a special location Dec 17 15:48:13 yea, Array is what you want for arrays Dec 17 15:48:26 makes sense to me ^^ Dec 17 15:48:32 or #javascript as well may help you Dec 17 15:48:49 so there aren't as many changes as I assume? Dec 17 15:49:05 my browser-application should basically work for webOS? Dec 17 15:50:06 most javascript should run on webos fine, though the code would still need to be added to palm's format, but overall should work with not many changes :) Dec 17 15:52:11 I find taking a look through the sample apps palm provides is one of the quickest ways to understand their webos app format Dec 17 15:52:24 yeah, that would probably help Dec 17 15:52:31 how can I access them? Dec 17 15:58:55 JayCanuck, what do you think of a trigger on the PalmDatabase.db3's "com_palm_pim_FolderEntry" table that stored SMS's in a user-defined table within the same db? Dec 17 16:01:30 let me think ... performance hit, possible problems later due to db tampering ... Dec 17 16:02:59 svetter, I believe sdk includes samples Dec 17 16:03:37 JangKro, honestly not sure, haven't looked into PalmDatabase.db3 Dec 17 16:04:43 okay ... theoretically seems like it'd work :) because that that table contains the message text and another table contains sender/receipient details Dec 17 16:05:02 & SQLlite has pretty good trigger support Dec 17 16:07:44 hello Dec 17 16:07:57 i am looking to develop an palmpre app via my mac os 1.4 Dec 17 16:08:08 i just heard that you cant run the mojo software on osx 10.4 Dec 17 16:08:19 * yetdog is celebrating the release of his two apps in the app catalog :) Dec 17 16:08:33 any work-arounds or do i need to upgrade my mac operating system before starting the development software? Dec 17 16:11:37 ? Dec 17 16:16:34 * sugardave fires spitballs at yetdog. Dec 17 16:16:41 lucyvanpelt: unknown, I shun Macs Dec 17 16:16:50 lol Dec 17 16:22:11 * yetdog fires them back at sugardave, with a side of os x :) Dec 17 16:22:30 yetdog: Football Fan Detroit and Football Fan Oakland? Dec 17 16:22:39 how'd you guess ambackstrom? :) Dec 17 16:22:42 lol Dec 17 16:22:46 ooh Santa's Sexy Helpers Dec 17 16:23:02 haha! dmb live setlist and ants tour central Dec 17 16:23:07 free and paid, respectively Dec 17 16:24:23 aw, no shows scheduled Dec 17 16:25:28 :) hehe spring dates soon Dec 17 16:31:36 hey, can i get someone's opinion? Dec 17 16:33:47 dawm_: most assuredly Dec 17 16:33:50 whats in it for me? Dec 17 16:33:51 http://uploads.biocandy.com/data/biocandylabs.png Dec 17 16:33:54 jk Dec 17 16:33:55 my new logo Dec 17 16:34:28 I like the test tube with the 'b' in it Dec 17 16:34:32 the long bottom one and the right test tube are awesom Dec 17 16:34:43 good Dec 17 16:34:59 the test tube is cooler Dec 17 16:35:47 yeah, i like the bottom one as the full logo, and the testube one as the small logo Dec 17 16:36:13 thanks guys Dec 17 16:36:21 ill bbl, gonna go look at the new apartment Dec 17 16:36:26 dawm__ why not just biocandy Dec 17 16:44:19 I wonder where dijit is getting their pictures from I am guessing they stole them from the web, which since they are paid apps could lead to copyright lawsuits Dec 17 16:47:46 anybody having trouble staying logged in at the webosdev forums? every time I try to access a private forum, it logs me out and sends me back to the log in screen Dec 17 16:51:21 sugardave: just accessed the private forum with no problem, using firefox Dec 17 16:52:10 whats the quickest someone has had their app reviewed Dec 17 16:52:10 ? Dec 17 16:55:59 LoneStar34: k, thanks Dec 17 16:56:11 atlanta: < than 24 hours Dec 17 16:57:44 really Dec 17 16:57:50 hopefully mines gets done Dec 17 16:57:51 quickl Dec 17 16:58:38 ah, it's a different private forum Dec 17 16:58:47 any Palm peeps here yet? Dec 17 16:59:54 oh ok Dec 17 16:59:58 any news on adobe flash support on webos? Dec 17 17:00:04 janurary Dec 17 17:00:08 beta comes out Dec 17 17:00:15 yay. Dec 17 17:00:36 wondering if they're going to have it use the GPU or not... Dec 17 17:00:37 i bet ppl will start to make their apps in flash and just wrap a browser-card around it :p Dec 17 17:00:56 wysiwtf: not me, I will refrain from Flash as long as I can Dec 17 17:01:04 wysiwtf: flash is a horrible idea Dec 17 17:01:12 i mean, html + javascript is so very expressive... Dec 17 17:01:28 still its not fun to make interactive games and stuff with it Dec 17 17:02:14 wysiwtf: I think it would be great fun... Dec 17 17:02:15 yea personally i dont like flash Dec 17 17:02:22 games wise Dec 17 17:02:24 would be fun Dec 17 17:02:43 yay chuqui! Dec 17 17:02:49 I have an issue with the forums... Dec 17 17:03:00 oh? Dec 17 17:03:12 pm sent Dec 17 17:03:25 well im not a coder/dev so you probably now better.. but from what ive seen on pre apps so far it looks difficult to get rid of that default layout structure Dec 17 17:03:38 timepiece did it quite well, but its not that interactive Dec 17 17:06:11 the default layout structure....what do you mean? Dec 17 17:06:27 the scenes can be designed however the dev wants them to be Dec 17 17:09:08 i just hope when the GPU gets turned up, the responsiveness of touch is better Dec 17 17:09:30 i hate flash! Dec 17 17:09:31 the difference between the pre and the iphone is night and day when scrolling, etc, esp the launcher Dec 17 17:10:09 indeed it is Dec 17 17:10:31 when are the gpu drivers excepted anyone know? Dec 17 17:10:45 no clue :( Dec 17 17:11:25 hopefully soon Dec 17 17:11:50 * ivanst is rubbing his hands in anticipation... Dec 17 17:12:30 david guetta is performing in zagreb today Dec 17 17:12:48 gpu drivers are coming at the end of tax season Dec 17 17:12:52 so april 15, 2010 Dec 17 17:13:00 it seems anything Adobe makes, becomes bloatware. Love Photoshop, but still running some older version Dec 17 17:13:06 grndslm: orly? Dec 17 17:13:13 nope :P Dec 17 17:13:20 ~lart grndslm Dec 17 17:13:23 dammit Dec 17 17:13:30 ~lart sugardave Dec 17 17:13:33 this channel needs an infobot :P Dec 17 17:13:40 i just know of two games that i love from the iphone store - scramble and bejeweled...and they just arent possible with the current environment :( Dec 17 17:14:03 dawm_ has made Swap & Drop...a bejeweled type game Dec 17 17:14:15 yeah but not draggable Dec 17 17:14:22 tap source -> tap destination Dec 17 17:14:34 I thought that is how you played it? Dec 17 17:14:51 not any version i've ever played...you click/drag or tap/drag Dec 17 17:15:08 there's a "free klondike" in app catalog where you drag card stacks Dec 17 17:15:09 its animation thats the problem, thats why we need gpu (and really, lower level access) Dec 17 17:15:11 interesting...been awhile Dec 17 17:15:14 i can attest it's friggin slow Dec 17 17:15:21 i dont blame dawm, they've done a great job Dec 17 17:15:42 its just, i use my gf's iphone, and wow its like you're dragging a piece of paper on a surface, so responsive Dec 17 17:15:53 wheres with the pre, its almost like im dipping my finger in water and swishing it around Dec 17 17:15:59 theres that muddiness to the touch response Dec 17 17:16:09 all I know is that even if gpu were turned on today, I wouldn't know how to do anything with it :D Dec 17 17:16:15 lol ditto Dec 17 17:16:48 i cant count the time where i accedentaly(?) made one too much back-gesture because i thought it didnt recognize the first one.. but it was just UI lag Dec 17 17:16:58 so if i get this correctly, all the rendering/scrolling/zooming is done on the CPU right now or what? Dec 17 17:17:01 swapping pages in the launcher is sometimes laughably bad Dec 17 17:17:10 ivanst: yep Dec 17 17:17:12 yes ivanst, everything is CPU, the GPU is literally powered down Dec 17 17:17:17 ffs... Dec 17 17:17:23 yup which sucks Dec 17 17:17:26 pretty impressive, though, don't you think? Dec 17 17:17:33 maybe they are afraid to drain the battery too fast if the GPU is working Dec 17 17:17:36 you ever scrolled down a long list in a app and tried to use universal search Dec 17 17:17:37 for JUST cpu Dec 17 17:17:46 very impressive for just cpu Dec 17 17:18:00 coming from iphone though, sluggish, that's all Dec 17 17:18:07 and trust me im not pining for my iphone back Dec 17 17:18:15 not only would i sooner castrate myself than go back to AT&T Dec 17 17:18:24 yeah, I don't have that issue...Pal Treo was my first and only s until the Pre Dec 17 17:18:30 but the one-task at a time environment on iphone frustrates the hell out of me Dec 17 17:18:34 meh, you 'merkins have a completely different view of phones than europeans do Dec 17 17:18:37 as a user and developer Dec 17 17:18:46 i see whats in the future for the pre thats why im still here Dec 17 17:18:51 ditto atlanta Dec 17 17:18:51 i don't recall the last time i bought a phone on contract Dec 17 17:18:53 yetdog: but their commercial clearly shows multi-tasking...you can be on the phone and look up a movie time for your buddy :P Dec 17 17:18:54 completely agree Dec 17 17:19:03 LOL wow, im sold. im switching. Dec 17 17:19:04 hahaha Dec 17 17:19:07 lol Dec 17 17:19:33 $150 unlimited plan is rediculous Dec 17 17:19:58 i did the math, to get what i currently get w/ my sprint plan, it would run something like $185 Dec 17 17:19:59 damn rididcul;ous Dec 17 17:20:04 instead i pay $62 w/ sprint Dec 17 17:20:04 yeah, that is pretty ridiculous...I like Sprint's plan, but I may have to get a verizon Pixi since it will have wifi Dec 17 17:20:20 i love sprints network, i find i dont really need wifi Dec 17 17:20:22 yeah, whats up with that? Dec 17 17:20:33 yetdog: just for app stuff and testing Dec 17 17:20:35 i used to pay $350 a month for land rover - $150 for a mobile plan is ridiculous Dec 17 17:20:37 gkatsev: no clue Dec 17 17:20:43 plus, sprint exclusive stuff is amazing - nfl mobile live (!!!) Dec 17 17:20:50 LoneStar34: lmfao Dec 17 17:20:51 i sometimes find that data connections for apps which are not up in front just lock up Dec 17 17:20:52 streaming radio of both sides, every game Dec 17 17:20:57 sprint should be called the best network. its big and fast and it has free voice roaming and 500MB of data roaming on verizon. so biggest network ftw! Dec 17 17:21:06 when i launch preware and its loading feeds and i start another app it never finishes Dec 17 17:21:11 (for example) Dec 17 17:21:23 you seen the new tmobile unlimited plan Dec 17 17:21:24 it sucks that sprint (probably) cant advertise that they roam on verizon. too sticky politically and probably illegal Dec 17 17:21:27 for like $45 buz Dec 17 17:21:28 but it really is the best network Dec 17 17:21:47 yetdog: i dont see why they cant Dec 17 17:21:53 i tell people if im out of sprint coverage, i roam on verizon for free - they're stunned Dec 17 17:22:02 it would contradic Dec 17 17:22:04 itself Dec 17 17:22:06 exactly Dec 17 17:22:09 * gkatsev -> lunch Dec 17 17:22:18 wysiwtf: that's not all going to be the phone/OS fault...some apps you are running may be, um, leaking a little Dec 17 17:22:32 i think boggle leaks Dec 17 17:22:44 my battery seems to drain after i close it out Dec 17 17:22:47 faster, at least Dec 17 17:22:57 i love boggle, just wish i could find someone to play against Dec 17 17:23:11 scramble on iphone has the play against the internet, where they have live games. cant wait till we get that Dec 17 17:23:49 sugardave: i have no idea wheter its the phone or the (sometimes) crappy uplink of o2 germany but the preware-thing is pretty reproducable, no matter what app i launch.. it just needs to be "focused" to load Dec 17 17:24:20 wysiwtf: try not having it update feeds every time you launch it and see if you can get one good refresh manually Dec 17 17:24:33 wysiwtf: maybe it is the network :( Dec 17 17:25:57 that could very well be... my data flatrate covers 200mb of 3g data-rate and is then capped to gprs speed.. but i think o2 doesnt really make the data stream slower but stalls it every x seconds so the average amount of transferred data doesnt exceed 56kbps Dec 17 17:26:23 which fucks up some things seriously Dec 17 17:26:54 anybody ever noticed tmobile commerical about their unlimited doesnt mention sprint Dec 17 17:27:23 or maybe they just put me onto another segment which is so crowded and laggy they claim its gprs Dec 17 17:28:09 but still ampache mobile is my favourite app :) Dec 17 17:28:20 its just so cool streaming all that good music wherever you go Dec 17 17:29:17 brb Dec 17 17:29:19 lunch Dec 17 17:46:46 hi guys Dec 17 17:47:29 I keep getting a "undefined" return when trying to get this.spendingsModel.value Dec 17 17:47:45 and behind that "undefined" stands the actual value Dec 17 17:47:54 how do I get rid of undefined in front of it? Dec 17 17:48:30 and : can I get the App to display a "0" as long as the variable is undefined? Dec 17 17:49:10 svetter: what about var xyz = ''; Dec 17 17:50:04 ? Dec 17 17:50:28 the undefined variable is a value given back from a textfield Dec 17 17:50:30 that should work Dec 17 17:50:39 hi, i am looking for a nntp client for webos (1.3.1). none found. does one exist? Dec 17 17:51:55 hawiwo: that'd be a bit hard to hack up without a proxy of some sort Dec 17 17:51:59 svetter: what is it suppose to be giving back? Dec 17 17:52:15 a number Dec 17 17:53:10 the scene opens itself up again after a button is hit Dec 17 17:53:33 but that next time it is opened up, the number entered should be displayed Dec 17 17:53:44 so the first time it is opened there is no number entered Dec 17 17:54:15 that first time I want it to display "0" and the next time the value entered in the textfield Dec 17 17:54:33 and the time after that I want it to add the new value from the textfield to the old one Dec 17 17:54:44 kind of like a +1 Script Dec 17 17:54:58 but with a variable value instead of +1 Dec 17 17:56:28 I have seen a +1 program that uses some kind of ".update" expression, but I don't get how that works Dec 17 17:56:31 how are you passing the values? Dec 17 17:56:52 hawiwo: you can't get at raw sockets from the Mojo API (afaik), and you'd need something that can accept HTTP requests and send back articles/newsgroup info to you Dec 17 17:56:57 through pushScene ( x, y ) Dec 17 17:57:00 hawiwo: why not just use google groups? Dec 17 17:57:33 why? a simple usenet reader Dec 17 17:58:47 because i use newsreader for over 30 jears and i miss it on my pre Dec 17 17:59:36 svetter: are the values being stored anywhere? Dec 17 17:59:45 * sugardav1 kicks the crap out of sugardave. Dec 17 17:59:47 um.. Dec 17 17:59:53 don't think so Dec 17 18:02:09 i am working out a similar issue, where I need "a" value stored, then "a + 1" when a button is pressed Dec 17 18:02:23 yeah Dec 17 18:02:33 thats exactly what i need too Dec 17 18:02:41 the only difference is I am not getting the undefined Dec 17 18:02:47 what do you get? Dec 17 18:03:46 thanks, bye Dec 17 18:04:29 svetter: in regular web development I would use a hidden text field to store the "a" value, Dec 17 18:05:16 I used something like that "window.incsum += parseFloat(window.f.varinc.value);" Dec 17 18:05:18 LoneStar34: are you still going on about hidden fields? unnecessary Dec 17 18:05:36 when the button is tapped, increment your global var I showed you last night Dec 17 18:05:43 myGlobalVar += 1; Dec 17 18:06:21 sugardave: I am going to work on that right now, Dec 17 18:06:23 brb Dec 17 18:06:28 =) Dec 17 18:08:16 sugardave: svetter needs a similar solution Dec 17 18:08:25 yup Dec 17 18:08:54 I''l figure it out I guess. I'm not really into that handleButtonPress thing yet Dec 17 18:09:08 right now nothing works anymore :-D Dec 17 18:11:05 I'll work on that tomorrow Dec 17 18:11:11 thanks for the help everyone Dec 17 18:11:15 good evening Dec 17 18:11:36 svetter: gonna work on a possible solution, will have somehting for 4 Dec 17 18:11:49 :) Dec 17 18:12:22 I've looked all over the docs, but can't figure out how to change the the flickSpeed for a Scroller widget. I noticed there is a private method called http://pastie.org/747513 in widget-scroller.js (the mojo js file for creating scroller widgets), but I have no idea how to call it. Ideas? Dec 17 18:13:43 i wondering if answering that question is wrong :-) Dec 17 18:14:31 catalystmediastu: i think you'd prolly call it something like this: $('your-widget-id').mojo.updatePhysicsParameters({ flickSpeed: 123, flickRatio: 42 }); Dec 17 18:15:04 Ivanst: Thanks, I'll try that! Dec 17 18:15:28 catalystmediastu: if you ask me, i'd try small integers for the flick speed, and numbers between 0 and 1 for the ratio Dec 17 18:15:35 but really, i'm just guessing ;-) Dec 17 18:16:31 catalystmediastu: I dont think you can access that method.. Dec 17 18:16:52 Yep, that's correct. The stock values are about 0.5 Dec 17 18:17:00 if you look in widget_scroller.js you will see a call to this.controller.exposeMethods Dec 17 18:17:10 and those are the public functions Dec 17 18:17:14 you can access Dec 17 18:17:38 LoneStar34 and svetter: you guys should probably spend some time making sure you can handle tap events...then, hopefully, it will become clear what you can do Dec 17 18:17:38 wait.. Dec 17 18:17:48 my bad.. Nevermind Dec 17 18:18:08 sugardave: have the tap event in place and works well Dec 17 18:18:13 am i splicing this correctly? Dec 17 18:18:17 http://pastebin.com/d6e229ad7 Dec 17 18:18:21 edektor: I think you're right. I noticed that it is marked as private. Dec 17 18:18:22 Could I use prototype's addMethods to add methods to the Mojo.Widget.Scroller class? Dec 17 18:18:42 but it is in the exposeMethods call Dec 17 18:19:14 catalystmediastu: or prototype Dec 17 18:19:55 as in Mojo.Widget.Scroller.prototype.customMethod = function() {} Dec 17 18:20:27 Well here's the error I get when I try what ivanst suggested: Error: Cannot call method 'updatePhysicsParameters' of undefined, line undefined, file undefined --- no idea Dec 17 18:20:45 LoneStar34: okay, then WHY on earth are you still mucking around with this hidden field thing? in your tap event handler, increment your global var (or decrement it if they're going back) Dec 17 18:20:55 catalystmediastu: where are you calling it.. Dec 17 18:21:03 in setup() Dec 17 18:21:18 Oh... oops. Probably should be in activate not setup :p Dec 17 18:21:25 yeah Dec 17 18:21:35 As soon as you said that I knew where I screwed up haha. Thanks Dec 17 18:22:03 thats what I've noticed.. .mojo isnt part of the object till activate Dec 17 18:23:16 Yeah, you're right. It definitely works now. One small flick and I'm at the bottom of the list haha. Dec 17 18:25:50 cant seem to get the splice to work right.. Dec 17 18:26:15 removes the correctly i think. but doesnt insert Dec 17 18:26:33 sugardave: working on the global stuff now +) Dec 17 18:26:36 =) Dec 17 18:27:07 hey all Dec 17 18:27:35 LoneStar34: just because you can cram horrid HTML kludges into your app doesn't mean you should ;) look at the bigger picture and all the nifty things you can do on the JS side Dec 17 18:28:08 sugardave: so if global begins at 0 and increments does this look right: GlobalVar = (0 + a); ?? Dec 17 18:28:19 no Dec 17 18:28:25 lol Dec 17 18:28:28 a true increment would be like this Dec 17 18:28:39 globalVar = 0; // at start Dec 17 18:28:55 globalVar += 1; // add 1 to current globalVar value Dec 17 18:29:12 or even globalVar++; Dec 17 18:29:31 sirgeoph: sure, but I'm trying to stick with Crockford's recommendations for robust JS Dec 17 18:30:05 user taps "25" then it would be "globalVar += 25" Dec 17 18:30:31 the reason i shy away from += when dealing with integers is because JS lacks differentiating joining operators for integers and strings Dec 17 18:30:57 LoneStar34: depends on what you are trying to do...I assumed a 'next' button, so add 1 and get the page..if you are giving them page numbers, then you just use that as the new value...if it's 'go 25 pages ahead' then yeah, globalVar += 25; Dec 17 18:32:30 sugardave: ok let me test it out - need to remove 30 hidden fields first Dec 17 18:32:35 jk Dec 17 18:32:38 ha Dec 17 18:33:45 hi sd Dec 17 18:33:57 yo, how's it going, Bmyers? Dec 17 18:34:07 ok, u? Dec 17 18:34:30 pretty good, I think....about to crack this nut at work Dec 17 18:34:45 nut? Dec 17 18:35:03 disgruntled office worker? Dec 17 18:35:11 * sugardave is trying to integrate a UPEK USB fingerprint reader with the new version of our access management software. Dec 17 18:35:17 it's not pretty Dec 17 18:35:21 o Dec 17 18:35:25 yeah Dec 17 18:35:39 will the pre ever get gpu support? Dec 17 18:35:59 u good with array.splice? Dec 17 18:36:36 Bmyers: I don't think so....might have used it once from an example Dec 17 18:36:43 what are you trying to do? Dec 17 18:36:49 rasstar: I think so Dec 17 18:36:52 http://pastebin.com/d6e229ad7 Dec 17 18:40:15 Bmyers: not sure about this, but would the toIndex number need to be -1, since you've just removed something else from the array? I doubt that's causing whatever your issue is, since the code looks like it's right Dec 17 18:40:27 -1 from it's current value Dec 17 18:40:29 not -1 Dec 17 18:40:50 <<==== ListReorder Moving Item from index 1 to index 0 Dec 17 18:41:01 thats a log entry Dec 17 18:41:19 line 18 Dec 17 18:42:05 k, that should be fine then...what's happening? Dec 17 18:43:32 when i modelchange its not right Dec 17 18:44:26 goes back to the way it was Dec 17 18:44:29 wait....the array in the code is only length 1 ...there is no index 1...is this some weird list thing? :P Dec 17 18:44:30 sugardave: i think i like old school hidden fields more- lo Dec 17 18:44:32 lol Dec 17 18:44:51 Bmyers: what about debug output, does it show the correct order of entries? Dec 17 18:45:09 got the global working, did not expect it to be so easy Dec 17 18:45:48 LoneStar34: piece of cake Dec 17 18:46:26 will pass it on to svetter Dec 17 18:47:45 try this another way here.. Dec 17 18:49:53 if you just have a list of strings for your mojo list, how could you put them into a listitem template without wrapping them with a dictionary? Dec 17 19:00:16 looks like Ares is in public beta now Dec 17 19:00:31 edektor: oh yeah? nifty Dec 17 19:00:59 yeah just got the email from chuq Dec 17 19:01:20 maybe that's why I can't get in the board today :D Dec 17 19:02:19 carful guys, still under NDA for a couple of hours. Dec 17 19:02:31 s/carful/careful/ Dec 17 19:04:12 oops Dec 17 19:04:38 chuqui: if I submitted an app in late November, and sitll have not heard anythin, should I be worried? Dec 17 19:04:52 didnt read that far Dec 17 19:04:54 is ares dl'able somehwere? Dec 17 19:05:06 send me an email on the app. I'll pass it into the team Dec 17 19:05:38 chuqui: cuss I have a new release with "help" and more fixes Dec 17 19:06:06 coolio. send it at me. Dec 17 19:06:22 what the audio object fire multiple canPlay events Dec 17 19:06:35 why is* Dec 17 19:09:04 is ares a file share software Dec 17 19:12:39 chuqui: just sent! thanks! Dec 17 19:16:30 rasstar: i believe it's a gui builder for webos Dec 17 19:21:38 ah ha, so that's why I've been feeling so lonely Dec 17 19:21:56 linkinus is crap for reconnects Dec 17 19:30:40 chuqui: sent you that email about what were talking about yesterday....I'm willing to talk to anyone at Palm if they need some ideas ;) Dec 17 19:31:06 thanks. I glanced, but I need a bit of free time to take a closer look Dec 17 19:31:55 sure, np Dec 17 19:34:02 sugardave is now : globalDave Dec 17 19:38:54 any ideas why the drawers in Style Matters use the Element methods (e.g. up, down, show, hide..) rather than the abstracted methods of the drawer widget? Dec 17 19:40:00 maybe it was written before the API was finalized and they never went back to change it? Dec 17 19:41:19 jfelectron: sounds reasonable Dec 17 19:41:51 anyone here with experience with widgets (like drawers) as list elements? Dec 17 19:56:19 i have a SCRIM question :) Dec 17 19:56:54 and thats how you do it.. just got all my xmas gifts for my family Dec 17 19:57:11 i have a spinner that i have properly starting/stopping with an ajax call. but i want to put it inside a scrim, so i did it according to style matters, but now, the scrim is always visible on my scene. How do i have the scrim only show during the spinner start? Dec 17 19:57:29 yetdog, Dec 17 19:57:46 can i smak u Dec 17 19:57:57 * sugardave smacks yetdog. Dec 17 19:57:58 too late Dec 17 19:58:02 LOL whats going on here Dec 17 19:58:08 why am i getting beat up? Dec 17 19:58:10 swap&drop has swipe/drag now Dec 17 19:58:19 hahaha it does? Dec 17 19:58:23 * yetdog hangs head Dec 17 19:58:29 heh its not in the catalog yet Dec 17 19:58:33 level mode is still waiting for review Dec 17 19:58:39 well once it does - im picking it up for sure Dec 17 19:58:42 but the current version has no more tapping Dec 17 19:58:45 * sugardave can't remember how to display scrims. "Can't you just set a model proeprty for it and do modelChanged? Dec 17 19:59:00 probably sugardave..will check it out :) Dec 17 19:59:06 i made a gameplay video last night on my hackintosh.. but the stupid dock jumped into view part way thru so i have to redo it Dec 17 19:59:20 ill be on the lookout for it. do you use screenflow? Dec 17 19:59:26 (great screen cap program) Dec 17 19:59:34 snap pro x or something Dec 17 19:59:55 sugardave - palm's doc for scrims = :( Dec 17 20:00:16 im thinking of seeing if i can modify that iphone screencap program that uses a bubble to simulate your fingher so that it doesnt show the iphone sheeit just the app Dec 17 20:00:31 yetdog: yeah, it blows Dec 17 20:00:44 its open source but ive never used xcode or anything mac related Dec 17 20:00:54 actually, now that I think about it...just having it in your html means it's always there...try removing that node? Dec 17 20:01:12 right, but then how to i show the scrim when i want to show the spinner? Dec 17 20:01:19 right now the spinner just pushes everything down Dec 17 20:01:29 you will have to re-create/re-insert the widget...perhaps Dec 17 20:01:38 i think yuou're onto something w/ the modelchanged Dec 17 20:01:40 if you can't get it working in a while, I'm ALMOST done with this, I think Dec 17 20:01:45 take your time Dec 17 20:01:47 ill be poking around Dec 17 20:01:58 stupid fingerprint reader is pissing me off Dec 17 20:06:59 yetdog: use removeChild and appendChild Dec 17 20:07:18 fixed it Dec 17 20:07:21 not using that tho jfelectron Dec 17 20:07:30 gave my scrim div an id of spinnerScrim Dec 17 20:07:34 well its one way :/ Dec 17 20:07:39 this.spinnerScrim = this.controller.get("spinnerScrim"); Dec 17 20:07:46 this.spinnerScrim.show() and hide() Dec 17 20:07:47 :) Dec 17 20:07:48 thanks tho! Dec 17 20:08:01 show and hide are abstractions of the DOM methods Dec 17 20:08:13 yep..and im just learning it so duh yetdog :) Dec 17 20:08:13 JF: how u making out on that? Dec 17 20:09:01 which dom methods, out of curiosity? Dec 17 20:09:56 Bmyers: OK...here's the deal. Using a single explicit drawer widget and setting the model property to be a 'display' property of the list item object, the drawers do render in the list. The problem is I can't get tap events to propagate properly. Dec 17 20:10:39 ambackstrom: I'm not sure what Prototype's implementation is....but I think somewhere they have to use appendChild and removeChild Dec 17 20:10:58 tap events to open drawers or tap events for widgets in the drawers? Dec 17 20:11:17 tap events to open to drawers Dec 17 20:11:29 whats in the log? Dec 17 20:11:58 and what do you plan on tapping on to open the drawer? Dec 17 20:13:45 it registers the tap. But its indicating a DIV with no ID. Dec 17 20:13:59 I have a pill like header div for each list item Dec 17 20:14:12 I'd like a tap on that to open to the drawer Dec 17 20:14:28 doesn listTapEvent.originalEvent.target has any clues? Dec 17 20:14:41 jfelectron: i ask because jQuery adds and removes style="display:none;" for .show() and .hide() Dec 17 20:15:03 ambackstrom: Prototype might do that...don't know Dec 17 20:15:39 Bmyers: let me see Dec 17 20:15:47 (or whatever you call your event Dec 17 20:16:00 may not be listTapEvent.. Dec 17 20:18:49 OK...the event is going to the handler. Now the problem is how to flip the state of the drawer. What I have now is: event.item.display=true; Dec 17 20:18:49 this.controller.modelChanged(event.item.display) Dec 17 20:19:26 the setup: this.controller.setupWidget("listDrawer",{modelProperty:'display'}); Dec 17 20:20:09 its a drawer widget? Dec 17 20:20:15 yes Dec 17 20:20:30
Dec 17 20:20:35 dont u want to use to togglestate method of the drawer? Dec 17 20:20:49 I don't have a uniqueid Dec 17 20:21:10 when I call this.controller.get('drawerID')....the drawerID isn't unique Dec 17 20:21:22 this was what I didn't understand last night Dec 17 20:21:44 ok.. well u made it pretty far Dec 17 20:22:27 lemme go see something here.. BRB Dec 17 20:22:40 K...thanks! Dec 17 20:23:51 hi all Dec 17 20:24:47 what is the value of event.originalEvent.target? is that what u used to capture the tap? Dec 17 20:24:47 Hmmm, When I run the Palm worm I have 40 nodes left on exit and 1 handle. What would cause a handle to get left over? It is a multi-stage lightweight app. Do I need to specifically close a stage somehow? Dec 17 20:25:13 killl things off in cleanup() Dec 17 20:25:14 catalyst. mutlistage app here too that does the same thing Dec 17 20:26:07 catalyst: try just logging something and exiting on a paramlaunch and you'll still get a handle open without even opening anything.. Dec 17 20:26:43 maybe it's a chuqita or adora question.. Dec 17 20:27:25 dawm_ what are the types of things I should kill? I only have one listener on a button and I've called the stopListening method correctly. Anything else I need to kill? Dec 17 20:27:26 yetdog, uploading a preview video of the new drag support to youtube now. Dec 17 20:27:28 chuqita banana? Dec 17 20:27:34 dawm_ link me up when its up Dec 17 20:27:41 are you sure you're calling the stopListening properly? Dec 17 20:27:55 is the 64x64 the recommended smallest size for an image to be clicked on? Dec 17 20:27:56 Bmyers: Yeah it's very strange, I'm very early on and don't have much even there :S Dec 17 20:28:03 dawm_ I'll show a pastie, one sec Dec 17 20:28:13 and is the button dynamically made? (as in its erased and recreated at some point?) Dec 17 20:28:37 lone, i believe the smallest area is now 38px Dec 17 20:29:07 ive seen different dimensions here and there but i think 38px wsa the smallest i saw Dec 17 20:29:17 Bmyers: investigating Dec 17 20:29:37 http://pastie.org/747725 The button is just an x-mojo-element div in the sign-in view. Dec 17 20:30:18 you're stoplistening is commented out Dec 17 20:30:37 38px ... does that look really small? in the actuall device? Dec 17 20:30:43 not really Dec 17 20:31:14 make the cleanup stopListening call identical to the startListening Dec 17 20:31:22 use this.controller instead of Mojo.Event Dec 17 20:31:36 he has 2 Dec 17 20:31:44 1 in deactivate and 1 in cleanup Dec 17 20:32:02 hi everyone Dec 17 20:32:04 well deactivate is only called when minimized Dec 17 20:32:16 or on another scene Dec 17 20:32:22 cleanup is on exit Dec 17 20:32:31 yea Dec 17 20:32:32 but you'll kill it before you need to i think Dec 17 20:33:01 all my stoplisteners are in cleanup, and my app closes with no remaining resources Dec 17 20:33:10 and i use anywhere up to 50+listeners Dec 17 20:33:19 dawm_ Oh yeah, I had it in cleanup and tried doing it on deactivate. It doesn't work either way :S I tried commenting out the stopListening in deactivate and uncommenting in the cleanup and still leaves a handle Dec 17 20:33:32 i agree should be in cleanup Dec 17 20:33:35 some are stopped during the run of the app and recreated Dec 17 20:34:40 hrm Dec 17 20:34:50 i need that syntax highlighting scheme for komodo Dec 17 20:34:56 i miss the darker scheme Dec 17 20:35:15 Bmyers: Yeah it was in cleanup before. Both ways still leave a leak. If I comment out the listener and the stopListener I still have a leak though... Leads me to believe it has nothing to do with the listeners. That's the only one defined in the app so far :S Dec 17 20:35:50 comment out the listener, you'll still have an open handle i bet Dec 17 20:37:26 i have a test launch param that just does mojo log and exits and it still has an open handle.. Dec 17 20:38:05 it never opens a card or dashboard or anything.. 1 open handle on exit Dec 17 20:38:19 Bmyers: Yeah, it does have an open handler still and 40 dom nodes left over, even with the listener commented out. I wish there were more info on multi-stage/lightweight apps. There used to be a page on it, but now it doesn't exist Dec 17 20:38:21 do a palm-launch -c and the handles will go to 0 Dec 17 20:39:58 Bmyers: Yep, when I clean it everything goes to 0. So strange. I'm gonna try something. I'll let you know if it works. Dec 17 20:40:14 Bmyers: OK...If I bind the listener to the list widget. The event gets propagated, but I have this warning: WARNING: modelChanged() found no watcher Dec 17 20:40:45 the 'model' of the drawer is a property of the list item object Dec 17 20:41:05 that may be a different error. sure its for this error? Dec 17 20:41:25 Adora: have you had a chance to check out the build of the Foursquare app I put up last night? Dec 17 20:41:39 it happens within the event handler Dec 17 20:41:51 sirgeoph: no, I haven't Dec 17 20:42:03 I heard it was up, though Dec 17 20:42:06 on my list of things to do =] Dec 17 20:42:25 this palm worm tool...where can i find it? Dec 17 20:42:34 id like to know how badly my apps are misbehaving on close... Dec 17 20:43:19 Adora: cool, sounds good Dec 17 20:43:42 palm-worm is installed for me, must just be part of the sdk. haven't used it, myself Dec 17 20:43:58 cool. app clearance in the catalog Dec 17 20:44:00 ah, ok :) Dec 17 20:44:14 s/clearance/sale/ Dec 17 20:44:29 JF: pastebin it.. Dec 17 20:45:20 yetdog: I believe from the command line you do palm-worm com.vendor.appname Dec 17 20:45:51 thanks catalystmediastu Dec 17 20:45:51 yetdog just run palm-worm Dec 17 20:46:52 sorry for the slow respones, i am coding and playing Mr. Mom at the same time.. Dec 17 20:46:54 should # of nodes always goto 0 when closing? Dec 17 20:48:31 yetdog: According to this: http://developer.palm.com/index.php?option=com_content&view=article&id=1689 I believe so Dec 17 20:49:26 Bmyers: hold on....Minefield just crashed on me Dec 17 20:49:41 http://webos.pastebin.com/m1bdc4429 Dec 17 20:51:53 this.controller.modelChanged(event.item.display) Dec 17 20:52:07 has to match the way you setup the widget in the first place.. Dec 17 20:52:13 i doubt it looked like that.. Dec 17 20:52:37 nice catalystmediastu...mine does :) Dec 17 20:52:40 that give the the modelchanged error i think Dec 17 20:52:43 and i havent even been that diligent w/ cleanup Dec 17 20:52:53 yetdog: multistage app? Dec 17 20:53:01 yetdog: Excellent! That's good to hear Dec 17 20:53:11 haeffb suggested to setup the widget within the list without a model Dec 17 20:53:19 bmeyers, yep Dec 17 20:53:32 wait Dec 17 20:53:35 this.controller.setupWidget("listDrawer",{modelProperty:'display'}); Dec 17 20:53:38 multi SCENE app Dec 17 20:53:41 not stage :) Dec 17 20:53:53 yetdog: i gotta talk to you later... remond me if i dont remember to pick your brain.. Dec 17 20:53:59 o Dec 17 20:54:10 i will be around for another 2 hrs. drop me a PM Dec 17 20:54:11 ye. multiSTAGE app it is not? Dec 17 20:54:11 the modelProperty refers to a property of the list item object Dec 17 20:54:17 yes its multistage Dec 17 20:54:25 quick and dirty preview video of swap&drop 0.5.4+ Dec 17 20:54:28 http://www.youtube.com/watch_private?v=eirWhufNa3w&sharing_token=GQ8yTRZqx4EE0buaspGKjA Dec 17 20:54:29 aw yeah here we go Dec 17 20:55:08 JF: lemma do some more checking here on your pastebin Dec 17 20:55:44 dawm_ that looks awesome Dec 17 20:55:49 this is craptaular quailty Dec 17 20:55:53 lol Dec 17 20:55:55 shouldnt do screencaps on a netbook Dec 17 20:56:15 now if we can get it to tie in w/ bejeweled blitz on facebook ;) lol Dec 17 20:56:23 lol Dec 17 20:56:25 Hey yetdog: Could you pastie your appinfo.json and app-assistant? Maybe I'm screwing something up in that area. If not that's cool too :] Dec 17 20:56:36 sure Dec 17 20:56:38 popcap said months ago they're working some webos games but i aint seen none Dec 17 20:57:22 catalystmediastu: appinfo http://webos.pastebin.com/ma203b1 Dec 17 20:57:31 which assistant do you want/ Dec 17 20:57:49 yetdog: The app-assistant or stage-assistant. Whatever you use to create your initial stage Dec 17 20:58:19 stage-assistant: http://webos.pastebin.com/m740247ea Dec 17 20:58:24 JF: what does this log? Mojo.Log.info(event.originalEvent.target) Dec 17 20:58:43 you outta put more stuff in there to describe to yourself in the logs.. Dec 17 20:58:46 popcap probably found out the GPU was disabled and bailed Dec 17 20:59:13 they have a iphone jscript version of bejeweled Dec 17 20:59:29 really?? Dec 17 20:59:32 the src is huge Dec 17 20:59:32 JF: like Mojo.Log.info("<=== handleDrawerSelection Event Target: " + event.originalEvent.target) Dec 17 21:01:11 Bmyers: yeah.....that's better :) Dec 17 21:01:11 yetdog: You said, it's multi-stage right? Where/how do you create your stages? Dec 17 21:01:39 I found the relevant doc about widgets in lists: http://developer.palm.com/index.php?option=com_content&view=article&id=1531 Dec 17 21:01:55 i use eclipse and do new mojo scene, but if you wanna add a new one y ou just follow the folder structure and add the scene to your sources.json Dec 17 21:02:15 well if you want to use the list model for the drawer Dec 17 21:03:12 (in case you arnet using an IDE) Dec 17 21:03:19 Hey Bmyers: Could you pastie your appinfo.json and app-assistant. I changed something in mine and now it works. I have no idea what I changed though. I could let you know what I did and see if it works for you too! Dec 17 21:03:34 "Note that the widget declared in the item template does not have an id attribute specified. An element id must be unique across the entire DOM. Because this element will be duplicated for each list item, you cannot an IDs to it. Instead, use name, which setupWidget() accepts in place of an id" Dec 17 21:03:42 ping chuqui Dec 17 21:03:45 I need to fix that Dec 17 21:04:47 catalyst: let me know.. i'm interested for sure Dec 17 21:04:57 Bmyers: <=== handleDrawerSelection Event Target: [object HTMLDivElement] Dec 17 21:05:13 JF: like Mojo.Log.info("<=== handleDrawerSelection Event Target ID: " + event.originalEvent.target.id) Dec 17 21:05:19 try that Dec 17 21:05:36 ahh....yeah...that's the property we want! Dec 17 21:05:47 Bmyers: I figured it out! I was looking for a way to close all stages (I figured it was leaving them open) and saw that you can't use closeAllStages and had to use window.close() <-- (http://developer.palm.com/index.php?option=com_content&view=article&id=1598 very bottom) Dec 17 21:06:16 So just put window.close() in all your cleanup methods in each assistant and no more leak. Let me know if that works for you. Dec 17 21:06:27 how EXACTLY did you call windows.close? Dec 17 21:06:47 , just read.. just window.close? Dec 17 21:07:16 i remember trying that but it didnt work.. Dec 17 21:07:19 i'll try it again Dec 17 21:07:28 chuqui: ping 2 Dec 17 21:07:48 as of 30 seconds ago, chuq wasn't at his desk Dec 17 21:08:11 (Hi Adora) Dec 17 21:08:18 heya =] Dec 17 21:08:22 hi adora Dec 17 21:08:28 keeping busy over there? Dec 17 21:08:43 thanks to you guys, yes Dec 17 21:08:44 hehehe Dec 17 21:08:56 i got one coming in any second now.. Dec 17 21:09:05 Bmyers: the id seems to be undefined Dec 17 21:09:13 as soon as i stop debugging OPC and debug mine.. Dec 17 21:09:57 and where was he Adora? Dec 17 21:10:06 did you have him "occupied"? Dec 17 21:10:30 Bmyers, yep just window.close() in the cleanup function. Only prob is it does it every time you close a stage which causes issues, so not a total fix, but on step closer to figuring out Dec 17 21:10:30 JF: like Mojo.Log.info("<=== handleDrawerSelection Event Target Name: " + event.originalEvent.target.name) Dec 17 21:10:34 wha? no =P Dec 17 21:10:49 me ? Dec 17 21:11:04 (last message was for dbsooner, sry) Dec 17 21:12:10 yep.. she can't program. ;) Dec 17 21:13:25 Adora: this is from the other day.. but you left me: http://blog.al.com/bargain-mom/2009/12/old_navys_adora-boots_15_for_w.html Dec 17 21:13:29 what is the 'framework-library app' Dec 17 21:13:37 I see a UIWdgets app Dec 17 21:13:53 Hi all, I'm trying to upgrade docviewer to support other file extension (.eml). I've tried few things but without success. Any idea ? Dec 17 21:14:02 Hi all, I'm trying to upgrade docviewer to support other file extension (.eml). I've tried few things but without success. Any idea ? Dec 17 21:14:17 thats what it logs? Dec 17 21:14:20 adora is a palm employee? cool! Dec 17 21:14:36 Bmyers: no...that was a non-sequiter Dec 17 21:14:40 ahh dammit, my cover is blown now Dec 17 21:14:45 had to reset emu...went to lunch Dec 17 21:14:48 no worries :) Dec 17 21:14:55 Adora: and you keep such a low profile on the net too ;-) Dec 17 21:14:57 im no palm-f'er haha Dec 17 21:15:05 dBsooner: dude, those boots are actuallly pretty cute Dec 17 21:15:11 :D Dec 17 21:15:19 rwhitby: INO! Dec 17 21:15:21 I know right.. At least they use your name properly. Dec 17 21:15:54 those boots are fluffy Dec 17 21:16:15 Bmyers: the name is also undefined...this is really bizarre Dec 17 21:16:49 JF: like Mojo.Log.info("<=== handleDrawerSelection Event Target Name: " + event.originalEvent.target.classNames) Dec 17 21:17:05 ok.. try that one.. should be the classnames of what you're clicking on Dec 17 21:17:42 oh, might be an array there.. Dec 17 21:19:26 haeffb's suggestion was to include the object properties on the drawer in the listmodel Dec 17 21:20:00 In agenda....there is no model specified for the clciker widget in the list Dec 17 21:20:46 yes, I have a display property on the entries objects Dec 17 21:21:03 I want to use that to set the state of the drawer Dec 17 21:21:17 r u looking at haeffb's code? Dec 17 21:21:28 yes Dec 17 21:21:49 ok, he has no id for the widget either does he? Dec 17 21:23:28 lol....plugging in laptop helps Dec 17 21:23:59 Correct...just a name:
Dec 17 21:23:59
#{name}
Dec 17 21:25:46 yours still has the id tho right? Dec 17 21:26:39 I've removed it Dec 17 21:27:03 the pastebin had it in there tho right? Dec 17 21:27:07 yes Dec 17 21:27:18 after reading the palm doc I removed it Dec 17 21:28:53 I thinking of just using show and hide Dec 17 21:29:38 the problem is without an ID....I can't really drill down to the child content that I want to show and hide Dec 17 21:30:16 event.originalEvent.target.hide would hide what you click on i think.. :) Dec 17 21:30:31 but i dont think you want that.. Dec 17 21:31:04 no I want to hide another element Dec 17 21:31:16 which would be a child of the click target Dec 17 21:31:42 In the inspector I don't see the drawer div in the list Dec 17 21:32:17 did you remove the model of the drawer some setupwidget? Dec 17 21:32:23 just { } Dec 17 21:33:27 nevermind it is there Dec 17 21:33:55 just had to drill down....the framwork inserts a bunch of extraneous divs Dec 17 21:34:02 u got it working? Dec 17 21:34:23 no...but I might be closer Dec 17 21:34:45 what is getting a unique id is the div containing the content of the drawer and not the drawer itself Dec 17 21:35:32 eg. id="palm-anon_element0_scene_first_wrappper" Dec 17 21:35:43 its iterating over the element number in the list Dec 17 21:36:26 it has an overflow property set to hidden Dec 17 21:36:50 anyway....I'll toil with this some more....I've taken up enough of your time :) Dec 17 21:36:52 Thanks for the help Dec 17 21:37:06 i gotta go now anyway. Dec 17 21:37:12 i'll be back later tho Dec 17 21:37:31 K...maybe I'll have it solved by then :/ Dec 17 21:37:32 i do that in my code somewhere i just cant find it off hand to remember Dec 17 21:37:57 but the model for the drawer should come from the list model Dec 17 21:38:04 thats the general idea.. Dec 17 21:38:11 good luck! Dec 17 21:44:15 thanks! Dec 17 21:49:45 chuqui here? Dec 17 21:49:53 somewhere? Dec 17 21:50:36 sorta. Dec 17 21:50:50 lol Dec 17 21:53:14 Adora Dec 17 21:53:18 have a comment. Dec 17 21:53:24 and its a mean comment. Dec 17 21:53:31 uh oh Dec 17 21:53:34 * Adora braces herself Dec 17 21:53:35 lol Dec 17 21:53:42 from a distance... Dec 17 21:53:52 your twitter picture looks like Sarah Palin Dec 17 21:54:01 your new Christmas one Dec 17 21:54:02 WHAT? Dec 17 21:54:04 no! Dec 17 21:54:08 she Dec 17 21:54:13 she's gone ROGUE Dec 17 21:54:18 lol Dec 17 21:54:19 nowai Dec 17 21:56:35 awesome - palm just confirmed 1.3.5 Dec 17 21:56:39 speed and battery life improvements :) Dec 17 21:56:51 3d acceleratoin Dec 17 21:56:55 acceleration? Dec 17 21:57:21 that sound. from the other cube. As if a soul died and was condemned to hell... Dec 17 21:58:16 does that mean the NDA on 1.3.5 is expired? Dec 17 21:58:23 lol, good question Dec 17 21:58:30 no, NDA is not expired. Dec 17 21:58:33 yetdog: where is it confirmed? Dec 17 21:58:38 it seems 1.3.5 was only confirmed via conference call Dec 17 21:58:44 not until it's available via OTA. Dec 17 21:58:51 ah, the earnings call Dec 17 21:59:10 http://www.precentral.net/palm-confirms-135-speed-battery-app-limit-all-be-improved-plus-investor-call-notes Dec 17 21:59:48 ah just speed on the pixi :( Dec 17 22:00:23 JayCanuck_: Palm could get "thousands" of apps today (2000+ to be precise) just by including Preware in the base firmware image ;-) Dec 17 22:00:44 O.o Dec 17 22:00:46 rwhitby: they totally, should, lol Dec 17 22:00:51 how 2k+? Dec 17 22:00:57 JayCanuck_: ghost yourself Dec 17 22:01:01 JayCanuck_: preware and optware Dec 17 22:01:05 oh Dec 17 22:01:08 JayCanuck_: if you count themes too :-) Dec 17 22:01:17 ah, lol Dec 17 22:01:17 I'm having some scrolling issues, as illustrated here: http://tinyurl.com/y9h8kgb Same issue Twee has. I've been trying everything, but all I know is the height of the scroller is a big factor Dec 17 22:01:26 you said apps, I kinda thought ya meant webos apps ;) Dec 17 22:01:46 and why shouldn't we count themes, they're just like Brighthouse Labs apps ;-) Dec 17 22:02:03 lol Dec 17 22:02:14 (wince) Dec 17 22:02:58 chuqui: and Preware accepts them and let's the market decide, just like Palm rightly does :-) Dec 17 22:03:21 lol Dec 17 22:03:57 I would love to see any of my services/apps on the app catalog, but unfortunately the app catalog won't support em :( Dec 17 22:04:10 the world needs a comic book reader for webos! lol Dec 17 22:06:57 JayCanuck_: port cdisplay to it, lol Dec 17 22:07:38 I already have a working one, but it uses a custom service, thus homebrew life Dec 17 22:11:39 ah, cool. Dec 17 22:11:51 whats the service used for? reading from zip/cbz/rar/cbr files? Dec 17 22:12:01 wtf Dec 17 22:12:03 att.com just died Dec 17 22:12:06 zip/rar/tar/tar.gx, yep Dec 17 22:12:09 lol Dec 17 22:12:14 im trying to decide att or comcast.. and their site goes down.. wtf Dec 17 22:12:30 ok its back heh Dec 17 22:12:30 dawm_: att or comcast for what? Dec 17 22:12:40 inet/tv Dec 17 22:12:53 for internet, i would go with att... Dec 17 22:13:00 as much as i hate them Dec 17 22:13:04 i really dislike dsl tho Dec 17 22:13:10 ive been a cable guy since @Home Dec 17 22:13:28 comcast has a 250GB cap and throttles you if you use more than 75% of your bandwidth for more than 15mins Dec 17 22:13:54 ive got WOW! now Dec 17 22:14:00 love the service, but the new apt isnt in their area Dec 17 22:14:37 dawm_: so, as long as you are fine with those two limitations, comcast is fine Dec 17 22:14:37 i cant find any specific info on comcast's site either Dec 17 22:14:45 oh im not Dec 17 22:15:02 then stay away Dec 17 22:15:08 dawm_: no fios where you are? Dec 17 22:15:20 i dont know i forgot to look Dec 17 22:16:09 dawm_: where are you located? Dec 17 22:16:24 detroit Dec 17 22:16:27 no fios Dec 17 22:21:33 chuqui: you here yet? Dec 17 22:22:09 gkatsev: I have a 25GB cap, then shaped to 64Kb. Dec 17 22:22:31 what is the proper way to setup a scroller widget? meaning where to I place the text in html or js? Dec 17 22:22:43 both Dec 17 22:22:49 place the scroller tag in the html Dec 17 22:22:51 rwhitby: yeah, im sorry. it must be horrible Dec 17 22:23:05 or dynamically with JS but then you have to et the x-mojo stuff to the element Dec 17 22:23:17 then in setup do setupwidget Dec 17 22:23:21 for that scroller Dec 17 22:23:22 ive stopped watching TV. i watch it all online. probably download about 5GB minimum a week. Dec 17 22:23:28 there is documentation for it Dec 17 22:24:18 deliciousmorsel: ok thanks, working on it now Dec 17 22:25:03 rwhitby: How much does it cost for that 25GB cap and how much is more? Dec 17 22:26:51 * sugardave wonders how Verizon can't seem to understand that there are lots of people in Austin, TX that would buy FIOS. "Baytown, TX? Not so much....idiots." Dec 17 22:26:51 Yikes, my IRC logged me off without me realizing. Is it cool if I repost my question. I don't know if anyone answered or not :S Dec 17 22:27:08 Shiggity: http://www.bigpond.com/internet/plans/cable/plans-and-offers/ Dec 17 22:28:07 30/10 isnt too bad actually, but horrible cap Dec 17 22:28:23 read that, and then see if anyone in the US can complain about the proposed caps by your providers ;-) Dec 17 22:28:41 gkatsev: 30/10 is only in 3 capital cities Dec 17 22:28:51 (not mine) Dec 17 22:28:53 rwhitby: ah Dec 17 22:30:12 rwhitby: yeah, it really sucks. and now the gov wants to implement the great fire reef of autralia Dec 17 22:30:39 gkatsev: I'd respond to that, but my response might be censored Dec 17 22:30:46 lol Dec 17 22:31:20 it still has to get through parliament Dec 17 22:31:36 yeah, it just sucks that it was even proposed. Dec 17 22:31:55 oh, it's proposed every second year for the last 10 years it seems Dec 17 22:32:39 heh, but from what i understood is that this time is much worse and the guy behind it is pushing much harder than in previous attempts Dec 17 22:33:01 yeah Dec 17 22:33:09 didnt one of the isps say "sure, well add the firewall, just to prove how terrible an idea it is" Dec 17 22:33:25 "its for the children!" is how he is pushing it, right? Dec 17 22:35:16 * gkatsev -> kendo practice Dec 17 22:35:28 bye Dec 17 22:35:59 haeffb ping Dec 17 22:39:59 wow ares is interesting Dec 17 22:41:03 is it somewhere ppl can dl it? Dec 17 22:41:10 ares.palm.com Dec 17 22:41:12 web-based Dec 17 22:41:13 heh Dec 17 22:41:24 kind of makes sense :) Dec 17 22:41:26 web-based OS Dec 17 22:41:30 web-based dev tool :) Dec 17 22:41:39 of course Dec 17 22:41:41 how about using ares ON your pre? ;) Dec 17 22:41:51 to develop an app, using an app you developed...ah nevermind ;) Dec 17 22:41:51 do you need special access? Dec 17 22:41:57 dev account i know of Dec 17 22:42:26 so just log into dev account? Dec 17 22:42:34 yeah, thats what i did. let me in Dec 17 22:43:02 dremel: ? Dec 17 22:43:03 cool Dec 17 22:43:56 sugardave, my nemesis! Dec 17 22:44:26 rawr Dec 17 22:44:44 my wifi keeps dropping in the lab...most distressing Dec 17 22:46:28 ok i got a new & better preview video (you can see where the mouse/finger is now) Dec 17 22:46:30 http://www.youtube.com/watch_private?v=Ku3cx2MAqGQ&sharing_token=qK9Ux8GTew7aU1x9hrOorA Dec 17 22:46:58 hi folks - anyone from Palm online? Dec 17 22:48:01 wow.. looks nice and fast heh Dec 17 22:50:21 jfelectron: examples of widgets in lists are in the UIWidget sample app Dec 17 22:50:40 thanks....figured that out Dec 17 22:50:55 still trying to get drawer to open ....arrrrr Dec 17 22:51:06 dawm_: Looks really good Dec 17 22:51:17 dawm_ Looks cool. I like how it doesn't have the standard mouse pointer. If you don't mind me asking, how did you change it to the black circle? Dec 17 22:51:34 camstudio Dec 17 22:51:42 bbl - nick should say "GoneToBasketballGame" Dec 17 22:51:42 haeffb: the event handler gets the list object and I can set the 'display' property to true...but then I don Dec 17 22:51:51 turned off the cursor and turned on highlight and switched it from yellow to grey (white is invisible) Dec 17 22:51:52 don't know how to refresh the drawer model Dec 17 22:52:01 refresh the list model. Dec 17 22:52:27 the drawer doesn't have a model, the list does Dec 17 22:52:37 but event.item is not is in the model per se...no? Dec 17 22:52:39 dawm_ So in the host OS prefs or is that in virtualbox? Dec 17 22:52:50 uh Dec 17 22:52:54 its a completely different program Dec 17 22:52:57 http://camstudio.org/ Dec 17 22:53:04 do I need to replace the list model with event.item at the correct offset? Dec 17 22:53:21 i just set camstudio to 320x480 and put it over the emulator Dec 17 22:53:38 if you can determine which item in the list was clicked (event.index), you can set the display property to "true" for that drawer, then refresh the list model Dec 17 22:53:46 thats why theres a slight edge on the rightside, it was a bitch trying to get it lined up heh Dec 17 22:53:51 * haeffb_GoneToBas hasn't done it, but think that's how it should work. Dec 17 22:53:57 dawm_ Awesome, I'll check it out. Thanks Dec 17 22:54:15 Ok...I think I can do that....the framework gives each drawer content div a unique id which contains the position in the list Dec 17 22:55:06 this.myListModel.items[event.index].drawerDisplay = 'true'; this.controller.modelChanged(this.myListModel); Dec 17 22:55:26 haeffb: oh sweet....thanks!!! Dec 17 22:55:38 where drawerDisplay is whatever property in the listModel you use for the drawer's modelProperty Dec 17 22:55:48 roger Dec 17 22:55:57 I'll be back later if that doesn't work. Dec 17 22:56:36 project ares open beta - http://bit.ly/6sG6Sy (now live!) Dec 17 22:59:16 Anyone used Ares on Firefox 3.5.6pre on Ubuntu? Hangs the browser for me. Dec 17 22:59:54 hangs for me too Dec 17 23:00:01 its gotta be webkit i believe Dec 17 23:00:06 try out konqueror Dec 17 23:00:12 or crhome Dec 17 23:00:14 chrome Dec 17 23:01:00 Bah, browsers are supposed to be about standards. Wonder which side is in the wrong this time. Okay, I guess I have an excuse to try out Chrome. Dec 17 23:04:19 will try opera on freebsd Dec 17 23:05:51 chuqui: Thanks for letting us know! Looks cool Dec 17 23:06:15 yeah thanks! chuqui Dec 17 23:06:23 woo hoo! Dec 17 23:06:57 I'm building up to a rant. Is there a reason app updates are taking so insanely long? It can't be right that apple is faster than palm... Dec 17 23:08:29 ConfusedVorlon, they're working on them as fast as possible Dec 17 23:10:13 * sugardave feels the pressure of NDAs lifted. Dec 17 23:11:06 yeh not talking about ares kinda sucked heh Dec 17 23:11:18 now I can finally figure out why I don't understand it :D Dec 17 23:11:23 cluttered Dec 17 23:11:44 Well it doesn't hang Chrome like it does Shiretoko. Doesn't do anything when I launch the sample app though. Guess I'll have to read the tutorial. Dec 17 23:11:51 Ares: i think it looks good, but do not really have time to mess with it Dec 17 23:11:52 * sugardave is missing the link between chrome and HTML Dec 17 23:11:59 lordbah, it runs the app on your emulator Dec 17 23:12:01 emu has to be running Dec 17 23:12:21 Launch/Browser preview doesn't ... uh, preview it in the browser? Dec 17 23:12:44 oh that must be new the browser preview part Dec 17 23:12:50 thats possible just for the html Dec 17 23:12:53 which is blank Dec 17 23:14:10 Ares is very cool! Ok will continue using eclipse for this app! Dec 17 23:14:13 dawm_: You don't have any screen shots of ares you can release do you? Dec 17 23:14:28 its live to the public Dec 17 23:14:30 no need Dec 17 23:14:36 http://ares.palm.com Dec 17 23:14:50 dawm_, started emulator (Palm SDK 1.3.1.314), did Ares Launch ... nothing happened in the emulator. Dec 17 23:15:08 did you allow the applet to run when you first went to ares? Dec 17 23:15:18 I'm not getting how to upload an existing app. I tried uploading a zip which I thought would automatically uncompress, but that doesn't seem to be the case. Dec 17 23:15:24 yeah Launch>Browser just shows the html view rendered Dec 17 23:15:36 catalystmediastu: you have to upload your zip in a top-level "new" directory Dec 17 23:15:42 only tried it once Dec 17 23:15:48 dawm_, Shiretoko asked about the applet, Chrome never did. I wondered if it somehow 'knew' that the applet had been allowed in the other browser. Dec 17 23:16:08 sample app launches on my emu Dec 17 23:16:12 im using google chrome Dec 17 23:16:25 sissies: Iron 4 Dec 17 23:16:27 sugardave: Ahh, that worked. Thanks! Dec 17 23:16:29 i added 'boo' to the 'main-scene.html' Dec 17 23:16:31 np Dec 17 23:16:32 Does it install an icon in the launcher and then launch it? Dec 17 23:16:40 shows up in the launch>browser window and in the sample app Dec 17 23:16:49 yeh Dec 17 23:16:56 sampleApp with the default Moon icon Dec 17 23:17:36 Wonder if it conflicts with the sample app from Eclipse which was already installed? Dec 17 23:17:49 shouldnt Dec 17 23:17:52 should have a different namespace Dec 17 23:18:14 is the eclipse app com.mycompany.sampleapp ? Dec 17 23:19:06 uh don't know yet, trying to figure out how to make my mouse pointer visible in emu window so I can see what I'm about to click on Dec 17 23:19:55 oh my Dec 17 23:19:55 one of our canadian users reports that the most recent version of webOS available to them is 1.1.0. Can anyone confirm this? Dec 17 23:19:58 i love the debugger Dec 17 23:20:47 need a debugger app tho, ares doesnt like swapndrop heh Dec 17 23:21:44 incidentist: they lie (no, I can't confirm it) Dec 17 23:22:23 Ares works great on Safari for Windoze Dec 17 23:22:59 Ares is interesting Dec 17 23:23:50 dawn_: are you a saddist? Dec 17 23:24:00 theres no dawn_ here Dec 17 23:24:01 I mean I *love* it too Dec 17 23:24:27 dawn_=dawm_ Dec 17 23:24:36 dawn_ != dawm_ Dec 17 23:24:36 were is the ares link? Dec 17 23:24:42 http://ares.palm.com Dec 17 23:25:15 sugardave: thanks, i think :P Dec 17 23:27:41 hey yetdog Dec 17 23:27:49 heya dawm_ Dec 17 23:27:55 something weird. Dec 17 23:27:56 i got a new video Dec 17 23:27:57 http://www.youtube.com/watch?v=Ku3cx2MAqGQ Dec 17 23:27:59 dawm_: ok you clear *are* a saddist Dec 17 23:28:14 i had an old version of my app on my pre, and removed it to download the one in the catalog Dec 17 23:28:32 so i download it from the catalog, but instead of installing, it just says "download again for free" Dec 17 23:28:44 did it work Dec 17 23:28:46 and it stays like that, letting me redownoad it, but never ends up saying "tap to launch" Dec 17 23:28:48 no :( Dec 17 23:28:53 just goes back to download again for free Dec 17 23:29:02 nice Dec 17 23:29:18 oooh now i have an install failed Dec 17 23:29:19 thats better Dec 17 23:29:23 standby. log time :) Dec 17 23:29:53 hmmm Dec 17 23:29:58 nothing in /var/log/messages Dec 17 23:30:31 now i get download again for free. ugh Dec 17 23:30:58 Does Ares save to the server? Dec 17 23:31:12 yes Dec 17 23:32:07 ha. it flips to "tap to launch" VERY briefly then back to download again for free :( Dec 17 23:32:10 could not find a browse... local machine.. will mess with it more late Dec 17 23:32:45 How do you add an existing app to Ares? Dec 17 23:33:01 It doesn't seem to upload directories Dec 17 23:33:04 just files Dec 17 23:34:23 hrm, now the emulator won't launch. It opens a 720x400 window, all black screen, and just sits there. Haven't seen this before. Dec 17 23:35:49 JF: you get your list working? Dec 17 23:36:50 jfelectron, drag and drop them into a new folder directly under Applications Dec 17 23:37:21 looks like it takes a .zip or .tgz Dec 17 23:37:22 thanks Dec 17 23:37:40 yeah it doesnt accept directories Dec 17 23:51:04 Ares can also works with (accessible) svn repositories. :-) Dec 17 23:51:36 uh oh Dec 17 23:51:46 theres a swap&drop competitor in the catalog now Dec 17 23:52:08 no sound, minimal options/notications, but it has sparkly animations and explosions.. Dec 17 23:52:15 dawm: and it has more bling, too Dec 17 23:53:10 well if swap&drop 0.5.2 would get reviewed, ill finish tweaking 0.5.4 (has drag support) and submit it. but 0.5.2 has been sitting there 'being reviewed' but actually 'not reviewed yet' Dec 17 23:54:37 I don't have it on my list, else I'd review it right now Dec 17 23:54:42 heh Dec 17 23:54:50 I'll ask around to see what's up Dec 17 23:55:02 been sitting there since the 13th Dec 18 00:06:54 Anyone going to SCALE? https://www.socallinuxexpo.org/scale8x/ Dec 18 00:07:13 webos-internals.org will be having a booth there in the .org pavillion Dec 18 00:07:19 oh snap Dec 18 00:07:24 I've been in the past Dec 18 00:07:28 and we're looking for volunteers to help staff the booth Dec 18 00:07:41 and my fedora ambassador friends will be begging me to go Dec 18 00:07:59 * Adora puts it on her calendar Dec 18 00:08:48 Adora is required to go because of Palm Dev Relations Dec 18 00:09:12 and I gotta go relate to the developers? Dec 18 00:09:38 yes Dec 18 00:09:38 to/with same diff. Dec 18 00:10:40 ugh linux Dec 18 00:11:26 This day keeps getting weirder. Emulator stopped working - starts to black screen 720x400 and just stays there forever. That's when run as I normally do from the VirtualBox menu. I happened to run palm-emulator from command line, and it started up properly, did a Palm boot, got to the launcher, seems fine. Took a snapshot. Now it launches from the VB menu fine. What happened? Dec 18 00:14:51 adora did you get my pm a bit ago? Dec 18 00:15:02 no Dec 18 00:15:07 well Dec 18 00:15:08 yes Dec 18 00:15:10 I thought it was old Dec 18 00:15:11 =] Dec 18 00:15:16 gasp Dec 18 00:15:21 * dBsooner is never old. Dec 18 00:16:25 How can I make the mouse pointer visible in the emulator so I know where I am about to click? Dec 18 00:38:37 can ares import an existing project? Dec 18 00:40:56 can anyone point me to a horizontal scroller sample or tutorial? Dec 18 00:44:25 Robi_, yes Dec 18 00:44:50 you have to zip or gzip it, highlight applications and drag and drop the zip/gzip to the lower portion of the window where it says drag and drop here Dec 18 00:57:52 dawn: I can import...but how do you get it to render the scene UI? Dec 18 00:58:18 it doesn't seem to populate all the ares js files that would be neccessary for that Dec 18 01:00:41 what does the instantiateChildWidgets() method take as an argument? Dec 18 01:03:35 You guys try ares yet? I've got paratrooper working in it. Doesn't run in the browser, but works as an IDE and can push changes to the emulator (albeit one that I don't know). Dec 18 01:04:32 trying to get it to work..... Dec 18 01:04:49 Took me a few hours to re-configure my svn repository in a way that it liked it. Dec 18 01:04:59 But, once that's working, the import of the project is one step. Dec 18 01:05:16 rbredow: what had to change in svn? Dec 18 01:05:34 I use ssh+svn for my normal connection. I couldn't get that to work. Had to go with svn:// Dec 18 01:05:53 rbredow: the keychain stuff didn't work? Dec 18 01:06:03 Also, my svn repository was on my local machine, so migrating it to my external server took me a while. Dec 18 01:06:13 * rwhitby wonders about giving a private key to Ares ... Dec 18 01:06:14 It might have. I'm not smart enough to know how to configure it. Dec 18 01:06:59 I haven't tried yet - will need to create a separate key for it Dec 18 01:07:27 (no machine that's outside of my direct physical control get's my private ssh key) Dec 18 01:08:06 most people use one key per machine/account anyway Dec 18 01:08:18 I had a trivial test app running in the browser in just a few minutes. Haven't had any success with my non-trivial apps. Dec 18 01:08:44 sjanssen: I prefer agent forwarding personally. Dec 18 01:08:57 anyone else know about this "download again for free" bug? Dec 18 01:09:00 (but only through machines where I trust root) Dec 18 01:09:22 Woo Dec 18 01:09:27 Phone Call with palm Dec 18 01:10:07 having this problem with one of my apps that i had on my phone, just removed it and tried installing it from the app catalog Dec 18 01:10:08 http://forums.precentral.net/palm-pre/211165-download-again-free-app-downloading-problem.html Dec 18 01:12:06 ugh...im worried that there may be a problem w/ my app in the catalog, now :( Dec 18 01:12:20 and no one seems to know anything about the issue. no solutions in any threads ive seen online Dec 18 01:13:24 * rwhitby just created a hello world app with ares while on the bus ... Dec 18 01:18:13 what's the problem? Dec 18 01:19:01 http://forums.precentral.net/palm-pre/211165-download-again-free-app-downloading-problem.html Dec 18 01:19:08 rbredow: assuming that was asked to me? Dec 18 01:19:24 yetdog: Yup. I should have scrolled up a bit. Dec 18 01:19:41 assuming its not happening for everyone...ive got 6 reviews on the app and they like it so its working... Dec 18 01:20:17 I read that earlier. Dec 18 01:20:34 considering webos doctoring Dec 18 01:20:43 dont really want to with 1.3.5 coming soon Dec 18 01:20:59 Anyone know if you can query the stuff you put in appinfo.js? Dec 18 01:22:04 dawm: awesome, i'll try it later. now off to BayLISA Dec 18 01:22:33 rbredow: preware displays it in the help screen, so that's an example. git.webos-internals.org apps/preware.git Dec 18 01:22:44 rbredow, yeh Dec 18 01:22:52 cool. I'll check that out. Dec 18 01:23:04 Mojo.appInfo.* Dec 18 01:23:51 Super easy. Thanks guys. Dec 18 01:24:15 anyone with experience with drawers inside lists? Dec 18 01:25:58 I update a display property in the list item in response to a tap...but the drawers doesn't seem to mind the change despite it being setup with modelProperty: 'display' Dec 18 01:26:31 I can flip text not inside the drawer, so the handler is working and the list item does re-render Dec 18 01:34:15 cant even install it via eclipse and palm-install. must be my device Dec 18 01:36:18 webos doctor it is . ah well Dec 18 01:59:19 hello Dec 18 01:59:25 hola Dec 18 02:00:10 sugardave: u around? Dec 18 02:01:01 jfelectron, are you using modelChanged ? Dec 18 02:01:31 I've tried modelChanged() as well as noticeUpdatedItems() Dec 18 02:01:38 uh oh.. Dec 18 02:01:42 the latter is preferable, because there is no need to re-render the entire list Dec 18 02:01:48 still working on JF? Dec 18 02:02:00 well back to i.... Dec 18 02:02:02 it Dec 18 02:02:14 how far did u make it? Dec 18 02:02:26 its really strange...I can flip text not in the drawer, so the list item is being updated Dec 18 02:02:41 the drawer just doesn't seem to mind the modelProperty Dec 18 02:02:51 oh my bad Dec 18 02:02:54 this is what i use Dec 18 02:02:55 this.controller.get('freeplayDrawer').mojo.setOpenState(false); Dec 18 02:02:58 this.controller.get('freeplayDrawer').mojo.setOpenState(true); Dec 18 02:03:03 thats how i open/close my drawer Dec 18 02:03:21 dawm: this is in a list...so there isn't a unique ID for the drawer Dec 18 02:03:42 mines in a list, but mine have unique ids Dec 18 02:03:56 this is a list of dynamic length Dec 18 02:04:01 not fixed items Dec 18 02:04:09 run the inspector Dec 18 02:04:17 see if it gets assigned a id Dec 18 02:04:35 well the drawer itself doesn't, but it creates a div inside the drawer that does Dec 18 02:04:50 maybe you can grab the divs parent then Dec 18 02:05:07 yeah...I'm thinking about that Dec 18 02:05:48 not sure if this is right but this.controller.get('divID').parentNode.mojo.setOpenState(false); Dec 18 02:07:06 something like that yeah Dec 18 02:07:48 sorry irc was blocked by komodo heh didnt see you continuing to have trouble otherwise i would have chimed in sooner Dec 18 02:08:00 trying to get scores submitted to my server Dec 18 02:08:08 no worries Dec 18 02:10:49 but ? Dec 18 02:11:20 but what? Dec 18 02:11:34 you said you can flip text not in the drawer Dec 18 02:11:45 yes Dec 18 02:12:01 I can display the very property that should induce the drawer state! Dec 18 02:13:20 but it doesnt open/close? Dec 18 02:14:26 nope...its frustrating Dec 18 02:14:41 do you call modelchanged and flipping the bits? Dec 18 02:15:07 I've tried modelChanged and noticeUpdatedItems Dec 18 02:15:21 the latter is better because I don't want to re-render the whole list Dec 18 02:15:27 both have the same result Dec 18 02:15:32 of nothing? Dec 18 02:15:39 they flip the contents of the list item...but not the drawer Dec 18 02:16:00 do use do the setopenstate stuff? Dec 18 02:16:01 I'm wondering if it has to do with when I setup the drawer widget Dec 18 02:16:23 I don't have a handle to the individual drawer object Dec 18 02:16:48 o, cause of the property you are trying to write? Dec 18 02:17:15 well maybe paste some stuff if you havent already Dec 18 02:17:35 well haeffb seem to think that all I needed to do was update the List model because the drawer is tied to that...or should Dec 18 02:17:39 will paste...hold on Dec 18 02:17:49 was he here? Dec 18 02:18:29 briefly Dec 18 02:18:45 bastard.. Dec 18 02:19:02 lol...yeah Dec 18 02:19:33 well lemme know when u got it up there Dec 18 02:21:13 http://www.pastie.org/748199 Dec 18 02:22:23 I thought that perhaps the problem was that when I setup the List, its model is empty...so when I setup the drawer..the modelProperty is invalid Dec 18 02:23:01 I populate the list from AJAX....so I put the drawer setup right after the list model gets updated Dec 18 02:23:06 but that didn't work either Dec 18 02:27:23 There are some errors in that...I replaced some text right before I posted it Dec 18 02:28:50 http://www.pastie.org/748199 Its updated now Dec 18 02:28:59 k Dec 18 02:31:53 i dont think thats quite right ;) Dec 18 02:33:06 which part? Dec 18 02:34:07 do you know that this: callback=function(response) works right? Dec 18 02:34:28 it does....that's where the content is coming from Dec 18 02:34:50 it displays just fine sans drawer Dec 18 02:39:08 when does that response function get run? Dec 18 02:39:44 its the callback of an AJAX request that buried inside my XmlRPC class Dec 18 02:40:00 it gets called and I have a handle to the assistant object Dec 18 02:40:23 the whole thing wouldn't work if that callback didn't work Dec 18 02:40:43 it fires b4 the setupwidget firendspage ? Dec 18 02:40:49 line 37? Dec 18 02:41:38 nope....after Dec 18 02:41:51 ok Dec 18 02:42:01 wasnt sure there.. Dec 18 02:42:05 the AJAX request is fired some time after: ljclient.LJ_XMLRPC_getfriendspage(login) is called Dec 18 02:42:20 the list gets setup with a blank model Dec 18 02:42:25 good Dec 18 02:42:55 the AJAX callback populates the model items and call modelChanged() Dec 18 02:43:22 and sets up the widget Dec 18 02:43:52 as it stands there, yes I've tried setting up the drawer right after the list is setup too Dec 18 02:44:01 34 and 35 are swapped around Dec 18 02:44:23 33 34 and 35 are swapped around Dec 18 02:44:38 but until 34, the list model is empty Dec 18 02:44:39 should do 35 first Dec 18 02:44:48 then 33 Dec 18 02:44:51 then 34 Dec 18 02:44:54 the modelProperty will be invalid Dec 18 02:44:57 Where is the listDrawer widget defined? Dec 18 02:44:59 but you might not need 34 Dec 18 02:45:11 Oh, see it. Dec 18 02:45:24 Let me reorder them...hold on Dec 18 02:46:13 Wait, so you're defining the listDrawer widget in the row template? Dec 18 02:46:30 yes Dec 18 02:46:34 So that means that if you have multiple list items, you'll have multiple div's with the listDrawer ID? Dec 18 02:46:43 * FoxFireX doesn't think that works so well.... Dec 18 02:46:43 nope Dec 18 02:46:50 he has no id set Dec 18 02:46:53 just a name Dec 18 02:47:06 actually the framework assigns a unique id to an div internal to the drawer Dec 18 02:47:13 but i think you'll need to setupwidget those too Dec 18 02:47:21 Ah... Wasn't aware you could do setup against a name instead of an ID. Dec 18 02:47:33 for dynamic lists with widgets yes Dec 18 02:47:45 it should work..... Dec 18 02:47:53 well pastie what u have now Dec 18 02:48:12 you'll need to set those up i think also Dec 18 02:48:13 OK Dec 18 02:48:21 the drawerrs Dec 18 02:48:39 your style is REALLY different than mine Dec 18 02:48:47 so it took me a while to catch up Dec 18 02:49:35 well...I'm not a JS programmer by 'training' Dec 18 02:51:04 Do you guys know why a call to "this.controller.serviceRequest" would work from a scene-assistant but fail with an error [Uncaught TypeError: Object # has no method 'serviceRequest'] from the stage-assistant? Dec 18 02:51:26 this.controller.pushScene(...) works from the stage-assistant for me. Dec 18 02:52:18 rb: you lost your this Dec 18 02:52:34 what is this referencing in the stage assistant? Dec 18 02:52:37 That probably means I need to "bind" when I call it. I'll give that a rry. Dec 18 02:52:43 maybe Dec 18 02:52:44 Presumably the scene controller object has a serviceRequest() method, but the stage controller doesn't. They may both be called "this.controller" is different in those contexts. Dec 18 02:52:51 yes Dec 18 02:52:52 you might have to find the controller yourself Dec 18 02:53:10 I'm trying to move my global menus into the stage-assistant to remove some duplicate code. My menus are no longer completely trivial. Dec 18 02:53:18 I can pass it in. Dec 18 02:53:18 yes, cache the scene assistant controller and bind the call to that Dec 18 02:53:52 listen to JF: big time JS scripter now.. :) Dec 18 02:54:01 lol Dec 18 02:54:41 only recently did I understand binding....but now it really makes sense Dec 18 02:55:03 JS is all loosey-goosey Dec 18 02:56:50 Bmyers: moving the setup of the drawer widget before the modelChanged....fails Dec 18 02:56:56 the list doesn Dec 18 02:57:01 doesn't render Dec 18 02:57:30 the modelProperty is undefined until the list model is updated Dec 18 02:58:13 pastebin that again for me Dec 18 02:58:18 let me see what u got Dec 18 02:58:30 K **** ENDING LOGGING AT Fri Dec 18 02:59:56 2009