**** BEGIN LOGGING AT Tue Jan 26 02:59:56 2010 Jan 26 03:00:02 lol Jan 26 03:00:36 basketball series goes back 107 years... Jan 26 03:01:42 but then, first coach at ku INVENTED basketball... Jan 26 03:02:12 I hate tracking pixels Jan 26 03:02:23 doc that regex didn't work? Jan 26 03:02:37 It won't work if there's more than one pixel Jan 26 03:02:52 paste the regex in here Jan 26 03:02:55 or PM Jan 26 03:03:08 I'm going to do it a bit differently Jan 26 03:03:15 cool Jan 26 03:03:16 I'm going to pull it down as xml Jan 26 03:03:40 nice...ajax? Jan 26 03:04:04 Well, it's all done with ajax, but parsing it as xml and then taking each node apart Jan 26 03:04:41 cool...this semester is ajax for me Jan 26 03:05:23 The new ads look good though Jan 26 03:05:31 yeah? Jan 26 03:05:36 Heroes, Bank of America, National Geographic... Jan 26 03:06:54 wow Jan 26 03:07:46 I hope it scale Jan 26 03:07:47 s Jan 26 03:11:37 good luck Jan 26 03:13:03 130,000 downloads Jan 26 03:15:21 wow Jan 26 03:16:03 its not like your day job, but still pretty cool.. Jan 26 03:16:31 it's super cool Jan 26 03:16:37 Cost of living for the day job might be getting a lot more expensive. Jan 26 03:16:45 it looks like I'm heading to California soon Jan 26 03:16:55 doc! are you coming to san diego!! Jan 26 03:17:01 oh? Jan 26 03:17:08 JenP: Nope. Jan 26 03:17:12 Cedar Sinai Jan 26 03:17:17 where Jan 26 03:17:21 ohhh Jan 26 03:17:34 thought you were considering retirement. Jan 26 03:17:43 It's hard to retire Jan 26 03:18:08 yeah Jan 26 03:18:08 I think I'd get incredibly board Jan 26 03:18:42 true,you already resemble that. Jan 26 03:18:52 Indeed Jan 26 03:19:09 Okay, so i've had the Palm Pre Plus for 12.5 hours now, and my biggest complaint: battery Jan 26 03:19:32 i went from 94% to 74% while being in a 5 bar area for about an hour and a half Jan 26 03:19:36 maybe 2 hrs Jan 26 03:19:37 ventz: What was your previous phone? Jan 26 03:19:38 ea weknow Jan 26 03:19:51 reality9110: iPhone on tmobile (so 3G disabled -- 12 hrs of talk time) Jan 26 03:20:28 ugh i can't seem to get past this addEventListener error Jan 26 03:20:59 ventz: What were you doing at the time that it went down? Jan 26 03:21:18 I'll look at it later Jan 26 03:21:28 Because if I don't use my phone at all, I can stay at above 90% for about 1/2 a day Jan 26 03:22:10 reality9110: checking email about every 20 minutes manually. Mostly web browsing and playing with the App store (downloading 2 apps) Jan 26 03:22:37 Still shouldn't shoot down that fast Jan 26 03:22:55 reality9110: it could be because the battery has been charged only once so far Jan 26 03:22:59 it needs to burn in a bit to build up Jan 26 03:23:04 Definitely Jan 26 03:23:10 but i am actually considering getting the 2000 something mAh battery Jan 26 03:23:15 but it will be so damn ugly and thick Jan 26 03:23:28 i don't care about the look...but it will be thick enough that I won't be able to put it in my pocket Jan 26 03:23:30 ventz: Stick with the current battery for a bit Jan 26 03:23:53 Eventually, you'll end up using your phone less and less as the newness factor wears off Jan 26 03:24:08 reality9110: would you recommend getting the one up (20% more, same backdoor)? Jan 26 03:24:27 ventz: I still use the original battery Jan 26 03:24:32 reality9110: yes and no, email is a big deal (get about 200 per day because of work -- thus why i disabled push) Jan 26 03:24:46 the email client kinds of sucks too Jan 26 03:24:56 i wish i can make it a bit better Jan 26 03:25:03 I get just as much email Jan 26 03:25:08 If not more Jan 26 03:25:20 me too Jan 26 03:25:28 It's not like you have to answer your email on the phone. I rarely do Jan 26 03:25:48 I delete them from the phone, that's nice Jan 26 03:26:06 and use imap filtering Jan 26 03:26:08 And I've got mine pushing directly and still don't drop off in battery that much. I can go about a day and a half without charging. Jan 26 03:26:27 anybody used Mojo.View.render and passed a 'collection' object to the function? Jan 26 03:26:29 cah Jan 26 03:26:40 reality9110: you might know this then -- i want to not sync contacts from exchange Jan 26 03:26:44 only from gmail Jan 26 03:26:45 is there a way to do it? Jan 26 03:27:01 Pretty sure there is Jan 26 03:27:04 One second Jan 26 03:27:53 whoever wrote the noPIN patch is amazing. Jan 26 03:28:20 Try Contacts, Preferences and Accounts, click on exchange, hit remove account Jan 26 03:29:33 i tried that, but it wiped my email too :-D Jan 26 03:30:26 palm selling pre + direct at palm.com Jan 26 03:30:47 Welp, no idea then. I use exchange for all contacts I care to keep on my phone Jan 26 03:31:41 what happens is my mac addressbook gets automatically synced to google and into entourage which happens to push online Jan 26 03:31:48 so i get 2 sets of accounts -- kind of annoying Jan 26 03:32:07 rboatright: wish I had the money to burn Jan 26 03:33:21 I'm getting that new android phone coming to Sprint when it comes out Jan 26 03:35:30 anyone have experience with submenus in command menus? Jan 26 03:36:34 reality9110: so many phones... Jan 26 03:38:19 sugardave: can you take a look at my code and tell if this is what you had in mind with my previous issue? http://www.pastebin.org/82408 Jan 26 03:38:23 I've only got one Jan 26 03:38:29 I never got the HTC Hero Jan 26 03:39:22 LoneStar99: not at all :D Jan 26 03:39:29 not even close :P Jan 26 03:39:41 would rather wait for a snapdragon based Sprint Android device myself Jan 26 03:39:59 sugardave: wow =) Jan 26 03:40:17 pseudocode in a minute Jan 26 03:41:03 sugardave: i thought my code would work, but it only deletes one node... Jan 26 03:45:50 LS99: ids are unique Jan 26 03:45:56 LoneStar99: that's because you are still using the same ID Jan 26 03:46:01 there can't be more than one element with the ID 'neo' Jan 26 03:46:09 something like this will keep that from happening: http://webos.pastebin.com/d39adab6 Jan 26 03:47:10 LoneStar99: HTML element IDs are like Highlanders Jan 26 03:47:15 or do something like getElementsByClassName and add a unique class name to the elements you'll want to delete Jan 26 03:47:17 "There can be only one." Jan 26 03:47:36 they sadly do not duel to the death though Jan 26 03:47:48 yeah, that would be AWESOME Jan 26 03:47:52 nor do they have scottish accents Jan 26 03:48:46 getElementsByClassName will return an array and then just do elementArray.each(function(s){s.delete()) Jan 26 03:48:57 lol thanks, will mess with it Jan 26 03:49:27 see you kids later Jan 26 03:49:29 Time to go study...have a great night all Jan 26 03:59:16 http://www.youtube.com/watch?v=Wpj1SgQQ984 Jan 26 03:59:44 sugardave: with your code does anything need to be modified from this code: http://www.pastebin.org/82363 Jan 26 04:01:01 yes, line 3 Jan 26 04:01:13 that's where you've been setting the STATIC id that never changes for every one of those nodes Jan 26 04:01:23 you should change it to match the identify line in my example Jan 26 04:01:32 storing the result in something you can access later Jan 26 04:04:43 LoneStar99: http://api.prototypejs.org/dom/element.html#identify-class_method Jan 26 04:08:44 sugardave: reading it now Jan 26 04:10:45 okay, so i changed my pre to work in 1xRTT mode Jan 26 04:10:52 hopefully that will save me some battery Jan 26 04:10:57 it's still fast enough Jan 26 04:13:43 sugardave: "neo.id = neo.identify();" is that right>? Jan 26 04:16:17 no, the very act of calling the identify() method on the element is setting its id Jan 26 04:16:25 so, neo.id = is redundant Jan 26 04:16:35 you want to set it to some other var you can get to later Jan 26 04:17:08 is setting it's id IF it doesn't already exist...otherwise it returns the exisitng id Jan 26 04:17:21 in your case, it's setting one and returning the new value Jan 26 04:18:50 actually, my tracking object example is flawed, it will only ever have the last one Jan 26 04:19:04 so you could make it an array instead and push those values onto it Jan 26 04:19:12 oh ok Jan 26 04:19:53 rick-home: congrats on win. poor shot selection in middle of first half killed any chances the Tigers had. Jan 26 04:20:13 Aldrich is a beast on defense. Jan 26 04:20:18 Hey if anyone wants to beta test an update for my app countdown, see this topic: http://forums.precentral.net/web-os-development/226909-looking-beta-testers-countdown-puzzles.html or send me an email at tibfib1 at gmail dot com Jan 26 04:20:33 As for me, it is late and I'm going to bed, cya Jan 26 04:25:58 sugardave: line 5 "document.getElementById('rpages').appendChild(neo);" --> "document.getElementById('rpages').appendDivElement;" Jan 26 05:29:13 is there a way to change a textfield's font color on the fly? Jan 26 05:36:35 maik: rich-text? Jan 26 05:36:46 just a TextField Jan 26 05:36:52 mail: do you want to change the color of all the text or just some? Jan 26 05:36:53 simple one-liner Jan 26 05:36:57 the whole thing Jan 26 05:38:07 maik: OK...have you tried element.setStyle({color: 'blah'}) on the text-widget element Jan 26 05:38:24 i haven't, i was hoping there was some sort of way to update the CSS from js Jan 26 05:38:27 with the plain text widget...I think the actual textbox is not the outer text-wudget div Jan 26 05:38:29 and that loks liek it Jan 26 05:38:37 hmm Jan 26 05:38:46 maik: setStyle does update CSS Jan 26 05:38:52 right, i just didn't know that :D Jan 26 05:39:00 hokey Jan 26 05:39:04 hokay rather Jan 26 05:39:59 I'd look at the text widget in Inspector and check out whether there are nested divs or not Jan 26 05:40:24 question: http://pastebin.com/d1866ab88 - i'm trying to make an authentication screen for an app. i have a button with the id "signIn", and i'm trying to swap the "login" scene with the "main" scene when it's tapped. this code doesn't work, but it seems like it should... Jan 26 05:40:48 i just dove into this today - sorry if i'm asking really noobish questions Jan 26 05:40:51 looking now Jan 26 05:42:23 jfelectron: it seems to work only when the textfield isn't focused. i think read something about that on webos101 Jan 26 05:42:26 jlazaroff: you have a typo....its stageController Jan 26 05:42:28 something about setting the text area property Jan 26 05:42:44 maik: you might have to blur it first yeah Jan 26 05:42:51 that's easy enough do element.blur() Jan 26 05:43:04 then update color, then focus it again if you need to Jan 26 05:43:52 the text-widget has methods to get and set the cursor position, which you'll have to do on blur and focus Jan 26 05:44:44 jfelectron: oh, wow. that fixed it, thank you so much. palm says StageController on their website though... http://developer.palm.com/index.php?option=com_content&view=article&id=1872&Itemid=244 -_- Jan 26 05:45:08 not surprising....its littered with misinfo Jan 26 05:46:33 jfelectron: that's... not good. especially since i'm using that as my go-to source for API references. Jan 26 05:46:58 jfelectron: that doesn't let it keep its color Jan 26 05:47:19 maik: keep its color? Does it revert on focus? Jan 26 05:47:32 right, but if i unfocus again it goes back to the custom color Jan 26 05:47:39 so while it's active it's black Jan 26 05:47:52 maiK: u need to set a cookie, set the color in stone Jan 26 05:48:03 jlazaroff: I use combination of API refs, the sample code in the SDK, the WebOS book, IRC....google Jan 26 05:48:05 that doesn't make sense Jan 26 05:48:28 yeah, I don't think that's right Jan 26 05:48:35 i don't think it's forgetting its color because it remembers as soon as it loses focus again, it's probably a difference between active color and inactive color Jan 26 05:48:39 what would setting a cookie have to do with it? Jan 26 05:49:05 http://webos101.com/TextField#Styling_a_TextField Jan 26 05:49:06 jfelectron: not sure Jan 26 05:49:16 does the textarea thing seem right? Jan 26 05:49:58 jfelectron: yeah, i'm starting on that now. i have the webOS book, but it's not with me currently :( Jan 26 05:50:12 maik: yeah, that's what I meant....there is a TEXTAREA inside the textwidget div Jan 26 05:50:22 jlazaroff: yeah, it takes a village... Jan 26 05:50:38 omg, now I have to get a village? Jan 26 05:50:39 it gets easier as you go along though Jan 26 05:50:41 crap Jan 26 05:50:59 sugardave: you might need a Senator too Jan 26 05:51:06 but those can be bought Jan 26 05:51:24 * sugardave goes to plan resources. Jan 26 05:52:16 so how do i access the nested div of the textfield widget? Jan 26 05:52:28 this stuff is still pretty new to me Jan 26 05:53:14 inspector? Jan 26 05:53:24 maik: do something like this.controller.get('textwidgetID').down(TEXTAREA).setStyle( Jan 26 05:53:34 .down, eh? Jan 26 05:53:36 alright laters! Jan 26 05:53:38 handy Jan 26 05:53:44 inspector would help confirm that there is indeed a TEXTAREA in there Jan 26 05:53:49 http://www.prototypejs.org/api/element/down Jan 26 05:53:51 omg, .down takes an element type? Jan 26 05:54:17 like most prototype methods its promiscuous and allows slights of hand Jan 26 05:54:25 that's great Jan 26 05:55:08 yup Jan 26 05:55:35 it takes tagname or classname but strangely not id Jan 26 05:55:52 weird Jan 26 05:56:01 hmm, doesn't liek that one Jan 26 05:56:45 the page for it says all elements are considered if none is specified, let's see what happens Jan 26 05:56:45 maik: hold on....let me fire up something with a textwidget so I can see what we are dealing with here Jan 26 05:57:02 k, i'm also not sure if i have access to Inspector using Kmodo Jan 26 05:57:06 Komodo Edit* Jan 26 05:57:21 maik: inspector is separate...its part of the SDK tools Jan 26 05:57:29 maik: yeah, you do...just click the magnifying glass to package/install the app Jan 26 05:57:36 you do palm-launch -i youapp and that launche the inspector Jan 26 05:58:05 i clicked the magnifying glass one but nothing special comes up, am i not looking hard enough? Jan 26 05:58:16 its a pretty basic DOM inspector....but it is extremely useful given that the widgets have all these hidden elements in them Jan 26 05:58:18 maik: then you launch the inspector app separately Jan 26 05:58:32 yeah that's the palm-launch -i bit Jan 26 05:58:43 the magnifying glass thing just launches your app with the 'I can be inspected' shit set Jan 26 05:58:55 oh heh Jan 26 05:58:59 then you have to run the actual inspector...sometimes it doesn't work too well (on win platforms) Jan 26 05:59:09 you have to do it fro the command....the WebOS plugin of Komodo won't launch it that way Jan 26 05:59:26 yeah, its frequently buggy, fails to connect etc. Jan 26 05:59:30 jfelectron: I use that method...it just doesn't automatically launch the inspector part Jan 26 05:59:47 yeah....didn't mean to imply that if I did Jan 26 05:59:55 its a two-step thang Jan 26 05:59:58 sorry, where is inspector? Jan 26 05:59:58 indeed Jan 26 06:00:17 maik: if on windows, there should be an icon for it in your start menu Jan 26 06:00:29 mac Jan 26 06:00:29 in the palm/sdk group Jan 26 06:00:31 oh Jan 26 06:00:33 sugardave: I guess element.down with an id is pointless because you can just use $() or get Jan 26 06:00:44 jfelectron: yeah, that is true Jan 26 06:01:17 maik: its in your application folder...should be next to the emulator icon Jan 26 06:01:24 ya, got it Jan 26 06:01:26 maik: windows binary is called PalmInspector Jan 26 06:01:27 okay Jan 26 06:06:10 so nothing's coming up and it's not behaving like the docs say on palm's website Jan 26 06:06:14 am i doing something worng? Jan 26 06:06:24 the app launches with -i flag but inspector is just empty Jan 26 06:07:14 maik: looking at mine there is an input element in there Jan 26 06:07:21 I don't see a textarea element Jan 26 06:07:25 ok Jan 26 06:07:43 Hey, I need some help getting this for statement to work http://pastebin.com/d6f1f48ed Jan 26 06:08:32 perfect Jan 26 06:08:50 maik: unfortunately, I have to restart my emulator sometimes Jan 26 06:08:59 to get inspector to work right Jan 26 06:09:13 this.controller.get("status-field").blur(); Jan 26 06:09:13 this.controller.get("status-field").setStyle({ color: 'orange'}); Jan 26 06:09:14 this.controller.get("status-field").down('input').setStyle({ color: 'orange' }); Jan 26 06:09:30 appears to do it Jan 26 06:09:38 sweet! Jan 26 06:10:03 thanks for your help Jan 26 06:10:05 I'm trying to get it to loop the two statements Jan 26 06:10:05 this.audioPlayer1.pause(); Jan 26 06:10:05 this.audioPlayer1.currentTime = 0; Jan 26 06:10:08 this channel's definitely proven to be invaluable Jan 26 06:10:24 childsd3: that is just calling pause on two objects 5 times in a row Jan 26 06:11:02 well instead of the 1 using the i Jan 26 06:11:06 or 4 Jan 26 06:11:09 actually Jan 26 06:11:37 so it loops this.audioPlayer1, then 2, then 3, then 4 Jan 26 06:12:09 so it would have to be this['audioPlayer' + i] Jan 26 06:12:59 or use exec Jan 26 06:13:25 exec example? Jan 26 06:13:51 sugardave: earlier you mentioned, that your code had a flaw. somthing about an array... Jan 26 06:13:52 exec("this.audioPlayer"+i+".pause()") Jan 26 06:14:02 jfelectron: ah Jan 26 06:14:50 LoneStar99: yeah, I was storing the value of identify in someObject.id....that will only keep the last one. so it should be someArray.push(id) instead Jan 26 06:14:52 gonna work on it in the morning, but just need to make sure, that i have the array stuff right... Jan 26 06:15:02 sorry....I mean eval() Jan 26 06:15:04 not exec Jan 26 06:15:14 eval = evil Jan 26 06:15:33 ummm....but if it gets the job done Jan 26 06:15:53 * sugardave is carrying the torch. Jan 26 06:16:21 evil smeavel......sure you can inadvertedly inject all sorts of bad code....but these apps aren't really exposed to XSS or the like Jan 26 06:16:58 function() = just as evil, but jslint lets it go Jan 26 06:17:19 O,k, so here's the code I'm currently using http://pastebin.com/d4c52cc22 Jan 26 06:17:26 It still isn't working right Jan 26 06:17:36 i.e. stoping any of the 5 sounds Jan 26 06:17:41 awesome possum, of course i didn't need the blur in there either since it's losing focus after the new color is chosen Jan 26 06:17:44 thanks again, jfelectron Jan 26 06:17:52 childsd3: do eval instead of exec Jan 26 06:18:00 maik: no prob Jan 26 06:18:19 sugardave: I'm no JS expert....but my understanding the danger of eval is code injection Jan 26 06:18:35 :D It works! Jan 26 06:19:03 jfelectron: no expert here, either....you can do all kinds of "bad things" with eval, though Jan 26 06:19:19 sugardave: "var someGlobalVariable.divTrackingObject.(id) = neo.identify();" is that right? Jan 26 06:20:33 huh....there is still only one neo Jan 26 06:20:52 you've alread cached the ids in divTrackingObject Jan 26 06:21:02 LoneStar99: more like "var someGlobalVar.trackingArray = [];" in your stage/app asst, then "someGlobalVar.trackingArray.push(neo.identify());" should be sufficient Jan 26 06:21:41 then when you want to delete them all, loop through someGlobalVar.trackingArray for the ids Jan 26 06:22:28 yeah trackingArray.each(function(s){this.controller.get(s).delete()}) Jan 26 06:23:25 sugardave: ok thanks, will get this working in the morning. Jan 26 06:24:19 jefelectron: what is (s) = id? Jan 26 06:26:47 I think that means for each element in the array, run this function and pass each value as 's' to the function Jan 26 06:27:15 the value s will be the id string, so this.controller.get(s) will get the right one Jan 26 06:27:43 gotta reboot, stupid work patches Jan 26 06:27:43 to change a textfield's text, isn't it just textfield.setValue("string"); ? Jan 26 06:27:49 see y'all tomorrow Jan 26 06:28:00 and/or textfield.value = "string"; Jan 26 06:28:10 ok laters sugardave Jan 26 06:31:59 question: is this a good way to define a custom application menu? Jan 26 06:32:00 http://www.weboshelp.net/webos-mojo-development-resources/ui-widget-list/313-application-menu Jan 26 06:33:17 what happened to the precentral website Jan 26 06:34:38 rasstar: nothing...? Jan 26 06:34:59 jlazaroff: http://www.webos101.com/AppMenu_Example Jan 26 06:36:48 Ok, another question I'm using the eval() function, but it doesnt like this statement Jan 26 06:36:50 eval("if (this.audioPlayer"+i+".palm) {this.audioPlayer"+i+".mojo.audioClass = "media";}") Jan 26 06:37:49 childsd3: why are you using the eval statement? :P Jan 26 06:38:10 LoneStar99: gracias :) Jan 26 06:38:12 As far as I can tell, you don't need it to run the code you showed Jan 26 06:38:14 Sugardave told me to :D Jan 26 06:38:31 Why can't you run that without eval? Jan 26 06:38:39 Oh I guess it's the audioPlayer + i part? Jan 26 06:39:30 Try var audioPlayer = this['audioPlayer' + i]; Jan 26 06:39:37 then it should work liek this Jan 26 06:39:48 if(audioPlayer.palm) { audioPlayer.mojo.audioClass = 'media'; } Jan 26 06:40:20 ps., I would suggest using arrays when storing multiple items instead of identifiers in their names Jan 26 06:41:25 yeah array's would definitely be easier Jan 26 06:44:44 yeah like audioPlayerArray.each(function(s){s.pause();s.currentTime+1) Jan 26 06:44:58 function(s){...} Jan 26 06:45:04 question: what if i'm fine with the default app menu items? is there a way to set a handler for them without making a model/instantiating the menu for every new scene? Jan 26 06:45:14 childsd3: did it work the way I showed? Jan 26 06:45:55 not quite yet, i'm looking at changing everything over to arrays Jan 26 06:46:02 but it seems daunting Jan 26 06:46:24 ljazaroff: setup handler in stageAssistant, then it will be available to all scenes Jan 26 06:47:06 http://pastebin.com/d28f368e7 Jan 26 06:47:08 childsds3: the prob with your eval statement is that you need two of them Jan 26 06:47:13 ah Jan 26 06:47:19 this.audioPlayer"+i+".mojo.audioClass = "media";}") doesn't make sense Jan 26 06:47:26 you need an eval for that too Jan 26 06:47:45 but the JS head here will hate the use of eval Jan 26 06:47:48 Another problem with his eval is that he isn't escaping \ Jan 26 06:47:56 erm not escaping " I mean Jan 26 06:48:10 and yes, eval is evil when used where unnecessary ;) Jan 26 06:48:27 there aren't any " to escape Jan 26 06:49:05 eval("if (this.audioPlayer"+i+".palm){this.audioPlayer"+i+".mojo.audioClass = "media";}") Jan 26 06:49:07 zomg: you can do every thing a billion different ways, yeah eval incurs much larger overhead than a simple array....but whtev Jan 26 06:49:08 okay, thanks guys Jan 26 06:49:09 Yes there is =) Jan 26 06:49:17 eval("if (this.audioPlayer"+i+".palm){this.audioPlayer"+i+".mojo.audioClass = \"media\";}") Jan 26 06:49:19 i'll probably be back a lot Jan 26 06:49:37 oh yeah....sorry didn't see that :/ Jan 26 06:49:53 Yeah I didn't initially notice it either Jan 26 06:50:03 Though I'd probably just switch the " to ' Jan 26 06:50:06 then it wouldn't need escaping Jan 26 06:50:38 Jfelectron, you work at palm? Jan 26 06:50:49 uhhh....no Jan 26 06:50:56 oh Jan 26 06:51:13 morning Jan 26 06:51:13 Misinterpreted "but the JS head here will hate the use of eval" then Jan 26 06:51:17 haha Jan 26 06:51:54 well....ppl always grumble about eval...on the web when you are susceptible to XSS and code injection it is evil...but here here....mehh its tool Jan 26 06:52:26 I agree that refactoring to arrays would be better...but its fine for now Jan 26 06:52:53 I meant JS heads...not head :) Jan 26 06:53:11 haha Jan 26 06:58:52 yeah the eval() is really mucking up the performance Jan 26 06:59:16 ill just go back through and rework it for arrays Jan 26 06:59:29 yeah...no suprise Jan 26 07:00:22 Well thanks for helping Jan 26 07:38:00 any idea how to make a button stick to the bottom of the screen when the user is scrolling? Jan 26 07:45:04 yeah Jan 26 07:45:09 it's called a command-menu :) Jan 26 07:50:59 ah, exactly what I'm looking for Jan 26 07:55:08 pretty easy to do Jan 26 07:57:10 any easy way to change the color scheme? Jan 26 07:57:25 i.e. the white fade/button colors? Jan 26 08:04:14 have not tried that yet Jan 26 08:04:28 probably css Jan 26 08:04:36 or make your own buttons, i did Jan 26 08:14:16 hello Jan 26 08:14:35 hello Jan 26 08:16:02 when launching palm-emulator then wanting to launch the SDK for the Pré, i have : The virtual machine "Palm SDK 1.3.5.368 (320x480)" is already in use Jan 26 08:16:21 (yes i previously ran it, but it's now closed) Jan 26 08:16:30 strange Jan 26 08:16:38 can you open virtualbox? Jan 26 08:16:53 the administration for the vms Jan 26 08:17:29 well... so new to vistualbox Jan 26 08:17:35 *virtualbox Jan 26 08:17:40 which os? Jan 26 08:17:45 ubuntu Jan 26 08:17:54 i ran the administration Jan 26 08:17:57 applications - system tools Jan 26 08:18:01 and it's seems ok ;) Jan 26 08:18:17 the palm vm is powered off? Jan 26 08:18:27 it was "aborted" Jan 26 08:18:37 can you start it from the admin interface? Jan 26 08:18:47 that's what i'm going to do Jan 26 08:19:02 and... good! now works :) Jan 26 08:19:18 should have look at the vm admin sooner Jan 26 08:19:27 thanks for the help Jan 26 08:23:05 np Jan 26 08:32:08 So i'm just trying to make the command-menu button run a function Jan 26 08:32:14 but I'm having trouble getting that to work Jan 26 08:32:58 can you show your code? Jan 26 08:33:09 yeah, one sec Jan 26 08:33:57 http://pastebin.com/d67bb176 Jan 26 08:34:08 basically i want the button to run the stop functin Jan 26 08:36:01 http://pastebin.com/m545f7f81 Jan 26 08:39:10 You're a lifesaver! Jan 26 08:39:22 I tried using a switch before, but it wasn't working Jan 26 08:39:41 i have a good book with several example projects Jan 26 08:39:53 "practical webos projects" Jan 26 08:40:15 I believe I have it Jan 26 08:40:29 Yeah, that's the one I've got Jan 26 08:41:04 it also shows to handle the command-menu Jan 26 08:41:09 Ah Jan 26 09:08:44 Soooo disabling the menu... Jan 26 09:08:58 change the menu Jan 26 09:09:00 oops Jan 26 09:09:02 change the model Jan 26 09:09:42 you are referring to the main menu (top right) Jan 26 09:09:47 left* Jan 26 09:10:03 are you referring to the command-menu? Jan 26 09:10:06 nope Jan 26 09:10:13 the dropdown thats on the top left Jan 26 09:10:17 ah, you want to disable that? Jan 26 09:10:21 yeah Jan 26 09:10:30 at least for this release Jan 26 09:11:13 i would leave the autogenerated help scene Jan 26 09:11:37 whaa auto-generated? Jan 26 09:12:08 pushAppSupportInfoScene() Jan 26 09:12:28 will take info from appinfo.json and create a help/about scene for you Jan 26 09:12:37 Oh nice Jan 26 09:41:21 Ugg so is there any simple way to get the auto-generated scene into an app? Jan 26 09:45:16 a new app or an existing one ? Jan 26 09:46:09 sorry, an existing app specifically getting the menu to open the automagically generated help scene Jan 26 09:46:19 yeah, let me check for the code Jan 26 09:46:50 it's in the stage assistant Jan 26 09:47:19 right Jan 26 09:47:24 http://www.pastie.org/794792 Jan 26 09:47:35 this one includes the handling for preferences too Jan 26 09:47:40 change as necessary Jan 26 09:48:47 Right, I've got something very similar to that, but I'm trying to figure out how to access it Jan 26 09:49:10 what do you mean? Jan 26 09:49:28 Well with that code alone, the menu is still greyed out Jan 26 09:50:34 do you setup an app menu somewhere? Jan 26 09:50:52 Negative, I guess that's where I'm stuck Jan 26 09:51:55 i had to remove my setup for the app menu to get it to work Jan 26 09:53:32 so when i use setupWidget Jan 26 09:53:44 I'm going to have two of em in the example you sent Jan 26 09:54:06 i.e. this.controller.setupWidget(Mojo.Menu.helpCmd,----------) Jan 26 09:54:14 yeah, remove that code Jan 26 09:54:30 which code? Jan 26 09:54:40 setupwidget for the app menu Jan 26 09:55:20 Haha, oh there it is Jan 26 09:55:45 ...a lot simpler than I thought Jan 26 09:56:14 yup Jan 26 09:56:24 if you only use the default menu Jan 26 09:58:08 I just need the help file. It seems Palm is cracking down on the lack of any menu items Jan 26 10:23:40 Awesome just got this error when trying to update my app "You have not submitted a standard webOS application." Jan 26 10:24:12 in the palm portal? Jan 26 10:24:16 Yeah Jan 26 10:37:15 guess you have to wait until palm wakes up Jan 26 10:37:34 ahh, got it Jan 26 10:37:42 t'was the appinfo.json Jan 26 10:38:01 the extra stuff that puts info in the help messed itup somehow Jan 26 10:38:14 that would make sense Jan 26 10:38:21 possibly a comma somewhere it shouldn't have been Jan 26 10:38:26 but it still ran in the emulator? Jan 26 10:38:37 usually palm-package craps out Jan 26 10:38:43 it ran on my phone just fine Jan 26 10:38:54 showed all the info in the help as well Jan 26 10:43:46 funny thing is my app doesn't work in the emulator Jan 26 12:19:43 http://developer.palm.com/distribution/viewtopic.php?f=12&t=4708 Jan 26 12:24:52 hi nouty Jan 26 12:25:03 hi Jan 26 12:25:38 did you go through the tutorial on ares (sample project) Jan 26 12:26:55 yes.. but the normal tutorials aren't for ares (so if they were, i would not ask) and the ares tutorials are not very helpful Jan 26 12:27:58 the flickr search example is pretty good Jan 26 12:29:19 by william stryker? - i watch it :) hope it helps Jan 26 12:30:57 http://ares.palm.com/Ares/docstemp/tutorial.html Jan 26 12:42:17 anyone used English/Pseudoland to test translations in the emulator? Jan 26 12:42:29 not yet Jan 26 12:42:36 why? Jan 26 12:42:46 just tried, and some of my $L() strings are translated Jan 26 12:42:48 some not :( Jan 26 12:43:07 only with english/pseudoland? Jan 26 12:43:24 just about to try with a real translation Jan 26 12:47:22 yeah, only with pseudoland :( Jan 26 12:47:35 ohwell, almost done checking anyway Jan 26 12:47:55 what's your app? Jan 26 12:48:13 just playing around so far Jan 26 13:11:15 hi Jan 26 13:11:59 can somebody tell me how can I manually call the notification bar for ex. from the command line ? Jan 26 13:12:28 hi Jan 26 13:12:39 what do you want to do? Jan 26 13:13:12 I need to make good layout of my app in case if notification bar will be shown Jan 26 13:13:22 you could simulate a call? Jan 26 13:13:34 or set an alarm in the clock Jan 26 13:15:03 cool, it works, thanks Jan 26 13:27:31 i've successfully done the tutorial but i don't get how to work with buttons o_O Jan 26 13:30:16 nouty: let me see Jan 26 13:32:45 i don't see any button examples with ares Jan 26 13:33:17 yeah, that's my problem :D Jan 26 13:34:17 you have your button set up and the listener? Jan 26 13:36:06 ehhmm.. i don't know how to set up the listener, or where i have to put it.. if i put it the "normal" way in buttons, i got a white screen.. Jan 26 13:36:57 what "normal" way? Jan 26 13:37:40 if u got a white screen Jan 26 13:37:47 syntax is screwed up somewhere Jan 26 13:37:58 Hello! I've also a question. Why i cannot use the .modelChanged() method as described in Ares? this.controller.setWidgetModel works find, but this.controller.modelChanged(.., ...) gave always an error Jan 26 13:38:39 what is the erro Jan 26 13:38:42 Nouty: Switch ur Log on, there is a problem in your syntax, the logViewer should tell you where... Jan 26 13:38:55 nouty: the flickr example has a button Jan 26 13:39:00 i get an modelChanged found no watchers Jan 26 13:39:14 rretsiem: post up your code Jan 26 13:39:16 pastie.org Jan 26 13:39:30 nouty: and on its events there's an ontap event: this is set to searchButtonTap Jan 26 13:39:31 yeah.. but the main-chrome.js is already done.. -.- Jan 26 13:40:22 then you see searchButtonTap: function(inSender) { Jan 26 13:40:35 that's the function when pressing the button Jan 26 13:41:27 do you know if there are any corrections available of the code from the "Palm webOS" book ? Jan 26 13:41:36 i thought so Jan 26 13:42:01 loic_m: what do you need help with Jan 26 13:42:06 we are your correction team Jan 26 13:42:07 :-) Jan 26 13:42:31 a dedicated team, only for me ? so goood ! ^^ Jan 26 13:42:39 yup yup Jan 26 13:42:44 shoot your questio Jan 26 13:42:53 http://oreilly.com/catalog/errata.csp?isbn=9780596155254 Jan 26 13:43:28 i'm in chapter 2 Jan 26 13:44:17 i have created a models/feeds.js and written down what's in the book Jan 26 13:44:35 but i have an error : Feeds is not defined, app/assistants/stage-assistant.js:25 Jan 26 13:44:56 so i wonder how to "include" the models/feeds.js file somewhere Jan 26 13:45:03 yeah Jan 26 13:45:06 it's in sources.json Jan 26 13:45:11 just about to say that Jan 26 13:45:13 :-) Jan 26 13:45:19 see swisstomcat is the man of the morning Jan 26 13:45:27 that's what i tought but i don't know how to declare it Jan 26 13:45:45 var Feeds {} Jan 26 13:45:49 it should be daclared Jan 26 13:45:56 atlanta: it's because it's already afternoon here Jan 26 13:46:11 swisstomcat: awww u cheater lol Jan 26 13:46:22 i already got my coffee a long time ago Jan 26 13:46:46 lol Jan 26 13:47:07 atlanta: here is the snippet: http://pastie.org/794993 Jan 26 13:47:57 switzerland swisstomcat? Jan 26 13:48:05 yeah :) Jan 26 13:48:11 <- germany :) Jan 26 13:48:19 hallo to germany Jan 26 13:49:24 i commented the pastie code a little, to show that setWidgetModel works, but modelChanged() returns an error Jan 26 13:49:41 i usually use this.controller.modelChanged Jan 26 13:49:49 WOWWW THIS IS FUCKING AMAZING Jan 26 13:49:55 what? Jan 26 13:49:57 i got my app update approved in 2 days Jan 26 13:50:03 now thats a record Jan 26 13:50:04 lol Jan 26 13:50:06 :) Jan 26 13:50:11 Bmyers_: where are you guy Jan 26 13:50:19 rretsiem: checking it out Jan 26 13:50:20 hold on Jan 26 13:50:21 i should submit my app too .. soon Jan 26 13:50:30 $50 app charge Jan 26 13:50:30 thnx Jan 26 13:50:32 grrrrr Jan 26 13:50:56 rretsiem: in my code, i usually have this.controller.modelChanged Jan 26 13:51:23 but i'm not using ares Jan 26 13:51:40 rretsiem: its saying that nothing is setup to change Jan 26 13:51:46 where do you have your widget setup at Jan 26 13:51:47 ? Jan 26 13:51:54 swisstomcat: ares was a hassle for me Jan 26 13:51:56 swisstomcat> thanks for the errata link, there's what i needed Jan 26 13:52:04 loic: google is your friend Jan 26 13:52:05 loic_m: check out Jan 26 13:52:10 the widget is setup in ares chrome file Jan 26 13:52:25 i mean the panel view... Jan 26 13:52:46 rretsiem: oh ok you have to make the model of that widget global Jan 26 13:52:56 so it should automatically be setup Jan 26 13:52:59 this.profileListModel Jan 26 13:53:03 is confined to that function Jan 26 13:53:12 rrietsiem: can you try and change it to this.controller.modelChanged(this.profileListModel,this); Jan 26 13:54:47 Anyone have any suggestion how to have a list where one item is very different from the others? I would prefer to use a different itemTemplate for that one item Jan 26 13:55:32 use two lists with two different templates? Jan 26 13:55:35 hey haeffb Jan 26 13:55:39 well, all as i see, i don't get it.. the main-scene.js doesn't help very much -.- Jan 26 13:55:54 hi swiss Jan 26 13:55:58 swisstomcat, wouldn't that cause the palm-row last style to be applied though? Jan 26 13:56:09 Ie, I wouldn't get a line between two items Jan 26 13:56:19 swisstomcat: ur suggestion does nothing, no warning, error and also no update of the model Jan 26 13:56:19 rretsiem: try what swisstomcat said Jan 26 13:56:20 nouty: what are you trying to do? Jan 26 13:56:29 rretsiem: ok this is what you need to do Jan 26 13:56:39 hmm Jan 26 13:56:41 how does the ares chrome fine define your model Jan 26 13:56:49 rretsiem: how does the ares chrome fine define your model Jan 26 13:57:31 rretsiem: i just see in my ares example that they use setWidgetModel too Jan 26 13:57:55 this.listModel= items: photos }; and then this.controller.setWidgetModel('photoList',this.listModel); Jan 26 13:58:28 to create a button which plays the stream if i hit it -.- Jan 26 13:58:28 ur right, i think there is a problem or sth with modelchanged in Ares... cause i get this error always Jan 26 13:58:48 maybe it doesn't work that same way in ares? Jan 26 13:59:03 nouty: can you follow how the button press is handled? Jan 26 13:59:11 the only Ares tutorial i've found is the Palm Tutoral and there they using setwidgetModel Jan 26 13:59:35 no, thats my problem Jan 26 14:00:24 nouty: if you go to your button in ares .. then events Jan 26 14:00:42 what do you see? Jan 26 14:00:49 atlanta: i thought Ares defines the model initially so that you can hook up on that model. (I specified a model in the options of the list) Jan 26 14:01:57 i think i've to stick with setWidgetModel() Jan 26 14:03:17 swisstomcat http://nouty.de/wp-content/uploads/2010/01/events.bmp that Jan 26 14:03:44 ok, you see StreamTap .. that's the function that's called when you tap the button Jan 26 14:04:01 yeah.. Jan 26 14:04:29 you need a function StreamTap Jan 26 14:04:38 does ares create that automatically? Jan 26 14:04:55 probably StreamTap: function(inSender) { Jan 26 14:06:09 normally Ares creates it when u specify the name and hit the little notepad icon right from there Jan 26 14:06:37 nouty: did you do that? Jan 26 14:08:18 can i update only a specific list item in a model? so that the rest of the items: in the model stays untouched? Jan 26 14:08:26 http://nouty.de/wp-content/uploads/2010/01/streamtap.bmp i think so Jan 26 14:08:42 nouty: yes, that looks good Jan 26 14:09:23 now you put the stuff that you want to do in there Jan 26 14:10:52 atlanta: what app? Jan 26 14:11:44 rretsiem: probably, if you edit the array that contains the elements and then update the model Jan 26 14:12:51 have not tried that yet tho Jan 26 14:13:21 why i asked: i retrieve content from different AJAX functions and build the list right in the success:callback then calling the next AJAX function and add the items to the list Jan 26 14:13:57 or is it better to summ up all retrieved content and build it once? Jan 26 14:14:12 that should work .. don't know if it's better Jan 26 14:14:42 or you could just add the elements into the list Jan 26 14:14:53 i think there's a function for that Jan 26 14:16:34 now i got syntax errors.. i think, the code for the stream isn't right.. i used this one http://developer.palm.com/index.php?option=com_content&view=article&id=1741&Itemid=265#Audio-PlayingAudioAppMgr Jan 26 14:17:10 can you show us the code you used? Jan 26 14:17:17 and what errors do you get? Jan 26 14:17:44 mom Jan 26 14:19:34 http://codepaste.net/6yggyr Jan 26 14:21:26 line 11 Jan 26 14:21:47 StreamTap: function();) { cant work.. it must be StreamTap: function() { Jan 26 14:21:58 yeah Jan 26 14:22:42 Nouty simply click the little notepad icon right behint your events name in the panel view, it automatically creates the function without this syntax errors ;) Jan 26 14:23:06 *Palette view Jan 26 14:26:30 if i do that, nothing changes. Jan 26 14:26:56 i deleted ";)" but i got a blank screen -.- Jan 26 14:28:22 Bmyers_: my picture tweet it was updated in 2 days Jan 26 14:28:22 woww Jan 26 14:28:51 good for you .. i'm still fighting for my first app to go thru Jan 26 14:29:35 grrr i hate they applied the $50 cahrge Jan 26 14:29:35 grr Jan 26 14:29:42 brb meeting Jan 26 14:30:49 how long u have normally to wait till u get a go? Jan 26 14:36:06 hmm.. anybody an idea how i do that? Jan 26 14:36:48 click the little notepad begind your event name in the palen view Jan 26 14:36:52 palen/panel Jan 26 14:37:42 you must provide a name for the method, e.g. Button1Tap and than click the little notepad Jan 26 14:37:52 it switches you directly to the code editor Jan 26 14:40:39 okay.. and now? -.- any ideas how to add the stream? Jan 26 14:43:02 the same function you used before to open the audio player Jan 26 14:43:05 does that work? Jan 26 14:43:19 no.. -.- Jan 26 14:43:41 why not? what's your current code? Jan 26 14:47:05 blank screen and same errors like a few minutes ago -.- Jan 26 14:47:28 can you paste your current code? Jan 26 14:48:01 rretsiem: on an app Jan 26 14:48:01 ? Jan 26 14:48:22 http://codepaste.net/qjaci3 Jan 26 14:48:47 you mean my last question? yes, i mean the approval process, how long dows it takes? Jan 26 14:49:03 atlanta: $50 for an update? Jan 26 14:49:15 rretsiem: psttt took 2.5 weeks last time Jan 26 14:49:20 haeffb_pre: no to add a new app Jan 26 14:49:25 haeffb_pre: update was free Jan 26 14:49:34 i had that one in there before the period Jan 26 14:49:55 Nouty look at your syntax its completly wrong. the button1Tap: is outside of the MainAssistant Jan 26 14:49:58 oh ok. had me worried for a second. Jan 26 14:51:05 rretsiem could you correct it? im a totally noob, you see =)) Jan 26 14:52:25 nouty: i think the url has to be enclosed in '' -> 'http://xxx' Jan 26 14:52:55 and what does the log say? Jan 26 14:53:09 if you don't use streamtap, i would remove that code Jan 26 14:53:49 the same, always the same.. Jan 26 14:55:12 without the streamtap-code it is even blank -.- Jan 26 14:55:21 this time the log is not in the codepaste example Jan 26 14:55:48 just try a simple "Mojo.Log.info("Button was pressed"); inside your TapEvent Jan 26 14:56:26 dont start with some special calls if you have no idea how to call them, start simple... :) Jan 26 14:56:42 yeah, good idea Jan 26 14:57:00 and always have a look at the log Jan 26 14:58:41 try and catch Jan 26 14:58:44 are help also Jan 26 14:59:42 ok new question, i have a palm pre that had been factory restored, but it it sonley synching up edited contcats from google even after i delate the account from contacts, calander and anything esle Jan 26 15:01:02 did you select the option to remove contacts Jan 26 15:01:05 when u deleted the account Jan 26 15:01:20 are the contacts saved in the palm profile? Jan 26 15:02:06 Yes, they are - but I still recommend manually copying off the PalmDatabase.db3 file Jan 26 15:02:24 rretsiem with or without the quotes? Jan 26 15:02:39 without the first quote Jan 26 15:02:42 without Jan 26 15:02:52 nouty: Mojo.Log.info("button was pressed"); Jan 26 15:02:56 yeah swisstomcat got it right Jan 26 15:02:56 swisstomcat: no in palm profile Jan 26 15:02:59 okay =) Jan 26 15:03:02 atlanta: how do you do that? Jan 26 15:03:06 just in case. (the file is /var/luna/data/dbdata/PalmDatabase.db3 ) Jan 26 15:04:15 swisstomcat should anything happen? Jan 26 15:04:31 you should see "button was pressed" in the log somewhere Jan 26 15:04:36 unless you get an error Jan 26 15:04:47 no, no error, all fine =) Jan 26 15:04:53 it starts.. Jan 26 15:05:11 but.. how the hack did i get the stream in there =/ Jan 26 15:05:11 the audio player? Jan 26 15:05:16 swisstomcat: When I did a Restore, all my contacts came back down (from Palm.) but still, it's always wise to have a backup right Jan 26 15:05:22 You can also send them to yourself by email http://www.webos-internals.org/wiki/Patch_Contacts_Send_All_via_Email Jan 26 15:05:44 ok Jan 26 15:06:52 Otherwise if you do choose to copy of the file /var/luna/data/dbdata/PalmDatabase.db3 - just be aware that one is not compatible across versions (if you save in 1.3.4 it will seem corrupt if you restore it to a 1.3.5 Palm.) Jan 26 15:07:36 all this is probably TMI... LOL the Restore contacts should work automaticallly and pull down from Palm Jan 26 15:07:45 the audio player won't work -.- Jan 26 15:08:02 but it starts? Jan 26 15:08:33 yeah.. WITHOUT the player Jan 26 15:09:01 nothing happens if you tap on the button? Jan 26 15:10:11 no Jan 26 15:10:24 not even the log entry you added? Jan 26 15:11:06 i can tap the button.. but nothing happenes Jan 26 15:11:32 if you don't see the log, it's not working Jan 26 15:13:05 but why the hell it is not working? -.- Jan 26 15:13:20 good question Jan 26 15:13:51 try to add another button Jan 26 15:13:56 make a new handler Jan 26 15:14:06 add the log entry Jan 26 15:14:08 see if it works Jan 26 15:16:11 Nouty: Log everything... logs help me a great deal when developing on Pre... you can add your own custom log lines in spots... ie; Mojo.Log.info("-------->now i'm trying my button"); Jan 26 15:16:41 kk, i add a new button and try it again ;) Jan 26 15:16:49 and you can log variables and text objects Mojo.Log.info("%s",myObject.lat); Jan 26 15:17:15 yup, that helps Jan 26 15:17:39 running it again Jan 26 15:17:50 removing themdosent help :( Jan 26 15:17:54 won't fix anything, but will give you insight into what's happening as it's executing Jan 26 15:18:18 especially with strange errors Jan 26 15:19:13 and then from command line you can view the log (this trims down all the spuriousness) like so; log com.freetim | awk '{ for (nLoop = 9;nLoop <= NF-1;nLoop++) printf("%s ", $nLoop);print ""; }' Jan 26 15:19:24 of couse substitue your own app's id domain for com.freetim Jan 26 15:19:34 nouty is using ares Jan 26 15:19:39 OH Jan 26 15:19:55 * FreeTim goes back to his corner. :) Jan 26 15:20:04 well, logging even helps in ares Jan 26 15:23:52 yup logging shoul be easier in are Jan 26 15:23:54 s Jan 26 15:24:01 hmm.. what should happen with Mojo.Log.info("%s",myObject.lat)? Jan 26 15:24:30 it would print the text portion of the object "myObject.lat" into the mojo log Jan 26 15:24:47 it was just an example Jan 26 15:25:44 okay.. Jan 26 15:27:30 I don't know Ares too well, as I use an IDE to develop... (Komodo) Jan 26 15:27:56 So not sure how to view the log in Ares Jan 26 15:28:27 yeah, there's a menu entry to view the log Jan 26 15:28:58 i'm still using gedit, but i should probably switch to komodo (syntax highlights etc.) Jan 26 15:29:56 have somebody another idea for putting in the stream? i think my one isn't working.. Jan 26 15:33:57 stream - are you trying to play mp3 or what? I missed the start of this. If mp3, there are media commands on developer site Jan 26 15:35:19 no, it is an pls-file Jan 26 15:42:12 ok, so that's a playlist right... what if you used the embedded mp3 files first,does that work? Jan 26 15:42:24 I mean only as a test, and then you can go back to pls later Jan 26 15:44:59 hallo noaXess Jan 26 15:45:03 grml...is there a way to prevent that i always hang off by excident, when my face touches the touchscreen?^^ Jan 26 15:45:28 isn't the pre shutting off the screen when you have it at your face? Jan 26 15:45:52 hey swisstomcat Jan 26 15:46:02 did you try the new moo? Jan 26 15:46:10 swisstomcat: no.. Jan 26 15:46:12 no time.. Jan 26 15:46:17 too much work? Jan 26 15:56:04 Toaster, the pre has a proximity sensor that is supposed to kill the display when you put the phone by your face. Jan 26 15:56:42 toaster: maybe your sensor is not working Jan 26 15:56:47 hum. Jan 26 15:56:50 Toaster if it isn't doing that, you MIGHT have a patch that is interfereing, consider doctoring, and then test, if it fails after a fresh doctor, it's a warranty hardware failure. Jan 26 15:57:18 i think sometimes it does, but not often enough Jan 26 15:59:31 mp3s doesn't work with my code either.. Jan 26 15:59:41 any errors? Jan 26 15:59:45 Make a series of test calls after doctoring, and watch in a mirror to see if the screen goes off. Jan 26 15:59:52 If not -always- then exchange it. Jan 26 15:59:53 no.. blank screen Q_Q Jan 26 16:00:27 log says nothing.. Jan 26 16:01:32 did you make the button work? Jan 26 16:02:00 what chuq email Jan 26 16:02:01 ? Jan 26 16:04:39 what did i fix? o.O - i've used the new project i opened.. -.- Jan 26 16:06:06 google voice released for iphone and webos :D Jan 26 16:06:09 atlanta: what? Jan 26 16:06:38 MiX-MaN: whereu see that Jan 26 16:06:38 ? Jan 26 16:06:44 swisstomcat: i need chuqui email Jan 26 16:06:50 getting link Jan 26 16:06:53 nice^^ Jan 26 16:07:06 atlanta: forgot how to write english? ;) Jan 26 16:07:12 lol Jan 26 16:07:21 thats englishlol Jan 26 16:07:25 http://bit.ly/8pCGFZ Jan 26 16:07:40 MiX-MaN: found it nice Jan 26 16:07:41 brb Jan 26 16:07:47 one sec Jan 26 16:08:12 <TwiT-MaN> [googlevoice]: Google Voice for iPhone and Palm Web Os just released: http://bit.ly/8pCGFZ Jan 26 16:08:18 offical tweet :P Jan 26 16:08:38 wohoo Jan 26 16:09:02 atlanta: Chuq Von Rospach Jan 26 16:09:29 aha, google voice mobile web app Jan 26 16:11:45 so it should work in any modern mobile browser (html5) Jan 26 16:11:50 -.- getting angry about that :< Jan 26 16:12:03 (stream-problem) Jan 26 16:26:33 good morning/afternoon/evening Jan 26 16:27:15 btw, Rick_work / swisstomcat: where exactly is the sensor located? that little hole in the gesture area? Jan 26 16:42:17 toaster: i think that's the microphone Jan 26 16:42:21 \morning folks Jan 26 16:42:30 toaster: it's probably near the speaker in the front Jan 26 16:42:33 howdy Jan 26 16:42:34 mhk Jan 26 16:43:22 and hi chuq Jan 26 16:43:23 could some1 with a definitly working sensor try it? maybe phone the mailbox or some free number and move with a finger over the front? Jan 26 16:43:35 let me try Jan 26 16:44:39 toaster: it's on the right side of the speaker Jan 26 16:44:49 if i put my finger there, the screen dims Jan 26 16:44:59 thx=) Jan 26 16:45:14 mh, looks like its working...strange Jan 26 17:18:47 Hi All, does anyone have any experience with the canvas in webos? I am trying to clip an image with a shape... the canvas docs on the palm website indicate that drawImage should clip but I can't seem to get it to work... any help appreciated. Jan 26 17:18:59 hi peterson79 Jan 26 17:19:06 i've played with canvas Jan 26 17:19:33 i used drawImage, but not clipping Jan 26 17:20:10 so, list widgets inside another list widget inherit the outer list's model....what if we want it to have a different model, is it possible at all? Jan 26 17:20:39 sugardave: still working on that problem? Jan 26 17:21:03 let me see what i have .. a list with drawers which has lists in it Jan 26 17:21:05 swisstomcat: trying to figure out a way to use my data structure as-is, I think I made a tactical error Jan 26 17:21:13 GM sugardave Jan 26 17:22:02 it's because I'm trying to use an object as a "sort-of" array...so I have containers[container_id].subcontainers[subcontainer_id].data_items Jan 26 17:22:19 it's the subcontainer[variable] that mucks up the templating process Jan 26 17:22:30 because I don't know how many (or what) the index will be Jan 26 17:23:24 and I want a list/drawer of container_ids, which hold a list/drawer of subcontainers, which hold the list of data_items Jan 26 17:23:52 i think i have an example for that Jan 26 17:23:54 is there a better resource than developer.palm.com for popupSubmenu ? i want to reference the label text, not just the command :/ Jan 26 17:24:00 list/drawer/list Jan 26 17:24:25 so list of containers, drawer of subcontainers, list of data_items Jan 26 17:24:32 that makes sense Jan 26 17:24:39 hi swisstomcat, my clipping code works in firefox but not on the emulator or the device... I don't quite understand the "Canvas Tag Support" page on the palm site... "Under Table: Images (2d.drawImage.*)" it indicates that clipping is supported, however there are no details... I was hoping someone here could shed some light on it for me. Jan 26 17:24:40 then I just figure how to dynamically insert drawers in the top list Jan 26 17:24:46 http://www.weboshelp.net/webos-mojo-development-resources/api-reference/67-mojocontrollerscenecontroller/588-mojocontrollerscenecontrollerpopupsubmenu Jan 26 17:24:59 that's for maik Jan 26 17:25:47 swisstomcat: so, will breaking the link of "list in list" stop the model from being shared, and then I can set whatever model I want for the lowest-level list? Jan 26 17:25:55 seems reasonable Jan 26 17:26:05 i have to check the example i have Jan 26 17:27:11 in the scene: a list Jan 26 17:27:44 then a drawer in the list template Jan 26 17:27:51 and a list inside it Jan 26 17:27:58 thanks swisstomcat, just trying to figure out how to refer to the other properties of the list, onChoose appears to only pass on command from the selected item Jan 26 17:28:15 and the id of the drawer and of the list are unique (using xxx_#{id}) from the outer menu Jan 26 17:28:55 swisstomcat: I think that's where my problem is going to be, populating that id from the inner subcontainer (which is where I have the unique id for it) Jan 26 17:29:12 but, I think what you described was what I was thinking of trying today :D Jan 26 17:29:18 great minds and all that... Jan 26 17:29:33 question is if it actually works :) Jan 26 17:32:11 in the drawer it's also using onItemRendered Jan 26 17:32:36 Morning chuqui... Jan 26 17:33:06 morning. Jan 26 17:33:32 see pm Jan 26 17:41:23 sugardave: this is what I have not sure what is missing: http://www.pastebin.org/82739 Jan 26 17:47:05 LoneStar99: http://www.pastebin.org/82744 Jan 26 17:48:05 LoneStar99: this instead: http://www.pastebin.org/82745 Jan 26 17:48:51 ok let me give it a try! thanks Jan 26 17:49:54 LoneStar99: arg, again...it's this one...you need to think about when/where you want to store the id, like when you create it: http://www.pastebin.org/82748 Jan 26 17:56:04 sugardave: would this be the delete code http://www.pastebin.org/82749 Jan 26 17:59:42 no, it should be the trackingArray AND your for loop is for an object, but you're using an array now...jfelectron had that for/each array example but I just use the other form of for loop for (var i = 0; i < arrayLength; i += 1) {} Jan 26 18:00:05 bbiaw Jan 26 18:02:22 ok thanks Jan 26 18:06:35 hi Jan 26 18:08:30 is there a way to change hintText on the fly? Jan 26 18:11:36 maik: nit as far as I know Jan 26 18:11:53 anyone knows how to disable a timepicker? Jan 26 18:11:56 bummer, that would be kind of handy Jan 26 18:12:08 hallo metaview Jan 26 18:12:17 hi swiis Jan 26 18:12:20 swisstomcat Jan 26 18:12:34 disable a timepicker ... hmmm .. why? :) Jan 26 18:13:02 because I want prevent the alarm time to be changed if the timer is active Jan 26 18:13:29 another way would be to deactivate the alarm always the user alters the time Jan 26 18:13:42 but this might quite disturbing Jan 26 18:14:27 metaview: what have you tried so far? Jan 26 18:15:02 model.disabled (but isn't even documented) Jan 26 18:15:22 and get('timepicker').disabled Jan 26 18:15:59 could put a transparent stuff over it Jan 26 18:16:04 hm Jan 26 18:16:19 I really don't like the time picker Jan 26 18:16:35 let me check Jan 26 18:16:48 a one-shot time picker would be much handier: one click and you can adjust hours and minutes at once Jan 26 18:17:02 bbl, the kids go to bed Jan 26 18:34:35 digitalpowers Jan 26 18:48:57 hi haeffb_pre Jan 26 18:49:13 yo, homie Jan 26 18:49:44 hows it going? did u release myles chrome? Jan 26 18:50:00 not yet. prob tonight. Jan 26 18:50:13 still waiting on Palm? Jan 26 18:50:25 had to resubmit again.. Jan 26 18:50:30 its getting silly.. Jan 26 18:51:14 they need to change their submittal process so it doesnt go right into "being reviewed" Jan 26 18:51:24 which it isn't Jan 26 18:52:13 it should say "queued" or something so you can muck with it until it's really "being reviewed" Jan 26 18:52:42 that way you dont have to wait a week just to have the acknowledge a change in the submittal Jan 26 18:52:48 is there a way to restrict a TextField so that _only_ pressing the enter key fires propertyChanged and not just losing focus? i know that's kind of breaking conventions, but it seems like it should be possible Jan 26 18:53:49 hopefully they're aware of the problem that creates... Jan 26 18:54:23 maybe chuqui will notice the above developer feedback.. Jan 26 18:55:36 i've been trying to get this sucker in there for a month Jan 26 18:55:54 anyone know how accurate the downloads are in "my apps"? Jan 26 18:55:59 what's been the problem? Jan 26 18:56:09 once logged in Jan 26 18:57:08 Does anyone know if ctx.clip() is really functioning with drawImage on a canvas context? The canvas support page on the webos site indicates that it is supported however, I can't seem to get it to work... Jan 26 18:59:04 maik: maybe you could catch propertychanged yourself and filter for the enter key then do what you want? Jan 26 18:59:25 peterson79: i could try it in my app and see if it doesn't work too Jan 26 19:02:17 hrmm Jan 26 19:02:32 all i get is error: null in my log, can't even push the first scene Jan 26 19:03:20 swisstomcat: that would be great here is an example... https://developer.mozilla.org/samples/canvas-tutorial/6_2_canvas_clipping.html Jan 26 19:03:29 there is an install log too Jan 26 19:06:03 in /var/log (especially messages and installer.log) Jan 26 19:07:24 freetim: for me? Jan 26 19:07:34 peterson79: doesn't seem to work here Jan 26 19:08:21 i get a white rectangle and a white quarter arc on the right-bottom side of it Jan 26 19:08:36 swisstomcat: yep hoping that helps... I got stuck one time my app wouldn't install, and the install.log helped me ferret it out Jan 26 19:09:03 swisstomcat: I was afraid of that, same thing I get... thanks for trying Jan 26 19:09:06 it turned out I needed to go from 0.0.1 to 0.0.2 to fix my issue :) Jan 26 19:09:55 freetim: let me check Jan 26 19:10:20 freetim: i can start it but the first scene isn't pushed Jan 26 19:10:35 all i see is error: null Jan 26 19:14:27 unexpected end of input , file:first-assistant.js: -1 Jan 26 19:14:29 hmm Jan 26 19:14:46 are you doing try/catch Jan 26 19:14:55 i tried Jan 26 19:15:17 Yep keep hacking you'll get it... :) a few try/catches, a few mojo.log this and mojo.log that... :) Jan 26 19:15:34 looks like the setupWidget is failing Jan 26 19:15:40 which is the first thing to do Jan 26 19:16:01 that /var/log/messages is pretty good to have Jan 26 19:18:01 anyone know when the next os update is suppose to come out (i read somewhere ~Feb) Jan 26 19:18:17 sometime in february Jan 26 19:19:02 i hope they fix some things in the email client Jan 26 19:19:16 font size for one Jan 26 19:19:48 also, getting multiple calls, and switching between them seems not to work at all (at least on palm pre plus) Jan 26 19:21:01 freetim: it was an unclosed function (no } ) ... how's that Jan 26 19:21:45 can one app interact with another app? Jan 26 19:22:07 like how? Jan 26 19:23:02 like sharing functionality? Jan 26 19:24:05 elaborate Jan 26 19:25:20 for example: selling an app as an addon for another app Jan 26 19:25:39 as an addon to your own app? Jan 26 19:26:31 yeah addon to own app Jan 26 19:27:21 why not sell two app versions then? Jan 26 19:27:26 one with and one without the add-on Jan 26 19:29:32 yeah, that is an option, but just wondering about having two apps interact Jan 26 19:30:37 yes, look into 'cross-app launch' Jan 26 19:32:15 swisstomcat: I'm glad you found it. Jan 26 19:32:48 ok thanks, Jan 26 19:32:55 yeah, it was puzzling to not have an error Jan 26 19:39:32 swisstomcat: any other ideas on why my pre is onley synching some of my address? Jan 26 19:39:49 google contacts? Jan 26 19:39:53 yeh Jan 26 19:40:06 are they in different categories Jan 26 19:40:07 ? Jan 26 19:40:14 dont think so Jan 26 19:40:23 checking now Jan 26 19:41:52 yes they are. Jan 26 19:41:56 but it syched fine the first time round? Jan 26 19:42:17 i remember seeing that only a specific category is synced? Jan 26 19:43:08 can you chose other categorys? Jan 26 19:43:18 in google contacts,yes Jan 26 19:44:19 going to try and merge them all into one then Jan 26 19:47:01 is there a way to retrieve style properties of a DOM object, like color ? Jan 26 19:48:29 oh it appears that 02 web is down Jan 26 19:49:23 maik: think so Jan 26 19:49:40 maik: $('element').style.bgcolor? Jan 26 19:49:44 does that work? Jan 26 19:57:32 re Jan 26 19:58:09 rehi Jan 26 19:58:23 can the data for a filteredList come from an ajax call? Jan 26 19:58:24 and? found something? Jan 26 19:58:33 why not? Jan 26 19:58:49 can't you create it during runtime? Jan 26 19:59:18 yeah, i can .. just wanted to make sure Jan 26 19:59:48 about your problem, metaview: can you stick the picker into a div and hide that? Jan 26 20:00:15 would like to have it still visible, just not acting on a tap Jan 26 20:00:24 aha Jan 26 20:00:32 can't you just not have a listener? Jan 26 20:00:42 meaning don't setup the listener Jan 26 20:01:38 will still popup the selection list Jan 26 20:02:09 not good Jan 26 20:03:24 and disabling in the model didn't work? Jan 26 20:05:59 no Jan 26 20:06:45 swisstomcat: i think that just worked Jan 26 20:06:54 cool Jan 26 20:07:00 wonder why it worked before the update andn ot now Jan 26 20:12:37 Hello? Can anyone see my posts now? Jan 26 20:12:51 no :) Jan 26 20:13:05 Excellent... I guess I had to register and I didnt know it. Jan 26 20:13:18 Thanks Jan 26 20:13:24 you wrote for days and never got a reply? Jan 26 20:13:47 Not really Jan 26 20:14:00 started yesterday, didnt have time to investigate Jan 26 20:14:08 I havent been on much recently Jan 26 20:14:39 and mirc didnt tell me I needed to register Jan 26 20:14:49 i see Jan 26 20:14:50 hi roy Jan 26 20:14:52 nor does trillian Jan 26 20:14:59 howdy! Jan 26 20:15:19 just try to repeat my question: anyone knows a way to disable a timepicker? Jan 26 20:16:56 Metaview can you try timepicker.style.enabled = "false" Jan 26 20:17:27 timepicker is the object id Jan 26 20:17:55 not tried this Jan 26 20:18:13 get('id').style.enabled = 'false'? Jan 26 20:18:32 You can try that but I would just use the id Jan 26 20:18:37 id.style... Jan 26 20:18:53 this usually doesn't work for me Jan 26 20:19:07 hmm ok then try get Jan 26 20:19:42 I've seen examples where they only use the id, but always thought it might be a typo Jan 26 20:19:43 style.enabled won't work Jan 26 20:20:46 does $('timepickerid').disabled=true work? Jan 26 20:20:51 no Jan 26 20:20:56 error? Jan 26 20:21:05 no error Jan 26 20:21:17 I guess I only disable/enable the outer div Jan 26 20:21:31 yeah, that could be Jan 26 20:21:49 have you looked at the timepicker in inspector? Jan 26 20:26:40 no, not yet Jan 26 20:28:19 hi Jan 26 20:29:01 hi Jan 26 20:30:48 I am considering buying the 2600mAh extended battery. Anyone oppinions/comments? (i had this battery for the curve 8320 and I loved it -- could go 3 days easily) Jan 26 20:30:53 one way to change hintText (warning, this sucks): delete the widget node and re-add a new one, re-setup the widget with new attrs/model, re-paint the scene, voila Jan 26 20:31:02 i am guessing it should be able to go 1.5-2 days on pre Jan 26 20:31:06 i installed terminal and openssh yesterday, but i can't execute ssh or any other ssh related prog like ssh-keygen. does anyone have an idea? Jan 26 20:31:53 sui: #webos-internals would be a good place to ask Jan 26 20:32:19 i will do that. thx Jan 26 20:34:54 hi Jan 26 20:36:40 who knows how to change slider attributes on the fly? Jan 26 20:37:44 can't change widget attributes once it has been set up Jan 26 20:38:08 fanatsumy: The tricky part is getting a fly to hold still long enough to put a slider on it. Jan 26 20:38:18 hehe Jan 26 20:38:59 hm, so there is no way to change slider maxValue ? Jan 26 20:39:13 fanatsumy: is it in the model? if it is, then you can change it Jan 26 20:40:02 no, in attributes ( Jan 26 20:40:47 you can do some lameness like delete the widget, re-add it, re-setup, etc. Jan 26 20:41:06 was just going to repost what you said, sugardave Jan 26 20:41:20 hehe Jan 26 20:41:23 ) Jan 26 20:41:31 it's tricky, but possible Jan 26 20:41:42 and how can I delete the widget ? Jan 26 20:42:14 cool, this.controller.modelChanged doesn't fire modelchanged event Jan 26 20:42:23 you have to delete it via the DOM Jan 26 20:42:35 so this.controller.get(widgetId).delete(); Jan 26 20:42:55 then insert new html layout and setupWidget ? Jan 26 20:43:19 my eCPM in admob goes down, what's wrong? Jan 26 20:43:26 then make a new div node in code, set it up, then insert it where it was, then this.controller.instantiateChildWidgets(document); Jan 26 20:43:33 or something very close to that Jan 26 20:44:07 anyone experiences with admob? it it normal for the end of a month, or will it dy forever now? Jan 26 20:44:11 die Jan 26 20:44:29 ok, thank you very much, I'll try) Jan 26 20:44:41 MetaView: you should talk to reality9110 when he's on later Jan 26 20:44:57 ok Jan 26 20:45:24 sugardave: have implemented all the code, but can;t figure out the delete function... Jan 26 20:46:15 this.controller.get(someGlobalVar.trackingArray[i]).delete(); Jan 26 20:47:09 sugardave: is that it? Jan 26 20:48:14 if you used a for loop that's iterating on i, yeah Jan 26 20:49:21 LOL, I have an idea: I can create two sliders and toggle their visibility Jan 26 20:49:31 hehe Jan 26 20:50:00 fanatsumy: that can work...what are you trying to do? Jan 26 20:50:25 until palm says "no, mister .. try again" Jan 26 20:50:38 zoom by slider :) Jan 26 20:51:11 fanatsumy: so why does the maxValue need to change, just curious Jan 26 20:52:04 I need long time to explain) It just must be so Jan 26 20:52:08 sugardave: http://www.pastebin.org/82848 ?? Jan 26 20:52:10 :) Jan 26 20:52:26 anyone know what error null might mean Jan 26 20:52:39 CTLAdvance: string too long? Jan 26 20:52:45 yeah0 Jan 26 20:53:06 hmm Jan 26 20:53:18 shouldn't its happening when i am making a service call Jan 26 20:53:32 when do you get nill? Jan 26 20:53:33 null Jan 26 20:53:51 LoneStar99: there is no such thing as arrayLength, I ued that as an example of what you want to check against...so use the REAL array and put .length at the end Jan 26 20:56:31 CTLAdvance: where are you seeing this error? Jan 26 20:58:35 I have several service calls that I make Jan 26 20:58:47 they happen on the on success event of another Jan 26 20:59:00 and my final one is giving me the error:null Jan 26 20:59:08 and you see them...in the console output, palm-log...where? Jan 26 20:59:15 palm-log Jan 26 20:59:20 what application do you use for debugging ? Jan 26 20:59:28 palm-log app.name Jan 26 20:59:50 command line Jan 26 21:00:02 try to use putty Jan 26 21:00:06 hmmm...I think palm-log shows 'null' when log output is too long...if you ssh in and tail messages, do you see the same thing? Jan 26 21:00:06 do you have any Mojo.Log.error calls in it? Jan 26 21:00:14 no Jan 26 21:00:26 yeah, check messages Jan 26 21:00:27 it doesnt truncate long strings Jan 26 21:00:32 it does Jan 26 21:00:40 it does truncate strings over 900bytes or so Jan 26 21:00:40 but no null Jan 26 21:00:46 yes, to null Jan 26 21:00:52 i had that problem with ajax calls Jan 26 21:00:55 well I am not working with long strings though, unless the system doesnt know how to handle file paths Jan 26 21:00:57 strange) Jan 26 21:01:07 let me see Jan 26 21:01:08 i'd check messages Jan 26 21:01:10 CTLAdvance: what are you logging when you get that message? Jan 26 21:01:21 im not, its a system error message Jan 26 21:01:24 ah Jan 26 21:01:28 weird Jan 26 21:01:32 app stops functioning Jan 26 21:01:43 i had that just before ... forgot to close a function with } Jan 26 21:01:53 finally saw the error in messages Jan 26 21:06:38 wow step father had the talking bug Jan 26 21:07:48 AND I SAY, WHAT ABOUT BREAKFAST TO TIFFANY?! Jan 26 21:09:13 Hmm Jan 26 21:09:23 Yeah for some reason the service call is breaking the app Jan 26 21:10:12 no errors tho? Jan 26 21:10:57 Yes, I get a system error. error:null Jan 26 21:11:08 and it doesnt give a line number, but I know where it stops Jan 26 21:11:09 which service? Jan 26 21:11:20 CTLAdvance: and this is in the success handler? Jan 26 21:11:35 that's pretty ironic Jan 26 21:13:14 hey sugardave hows it going? Jan 26 21:15:13 I found it Jan 26 21:15:39 I had a bad function call in the onsuccess handler of the 2nd to last service call Jan 26 21:15:49 Thanks for the help Jan 26 21:16:09 phew Jan 26 21:16:11 sugardave: get the following error: http://www.pastebin.org/82856 Jan 26 21:16:20 Bmyers_: pretty good, how's it going Jan 26 21:16:21 ? Jan 26 21:16:37 feels like a monday.. Jan 26 21:16:42 sugardave: it seems to work with one node but when more than one it gives the error abaove Jan 26 21:16:42 lame Jan 26 21:16:44 above Jan 26 21:16:49 isn't it monday? Jan 26 21:17:41 monday funday Jan 26 21:18:47 lonestar: can you do Mojo.Log.error("data: "+i+" "+someGlobalVar.trackinArray[i]); Jan 26 21:18:50 line 5 Jan 26 21:19:32 LoneStar99: so, that tells me that the second string in your array is the id of an element that doesn't exist anymore Jan 26 21:19:40 might also be i insert before or after line 5? Jan 26 21:20:13 replace line 5 .. for now Jan 26 21:20:14 or before Jan 26 21:20:15 put it before the delete Jan 26 21:20:19 k Jan 26 21:20:41 swisstomcat: the length check should be good Jan 26 21:21:27 need to restart eclipse... Jan 26 21:21:42 there's your problem right there...use Komodo Edit :D Jan 26 21:21:56 k Jan 26 21:22:33 lol, i use komodo edit for everything, but learned palm app development on eclipse... Jan 26 21:25:09 swisstomcat: did you know with Mojo.Log.error, you don't need to add the string on your own, just write Mojo.Log.error("List", i, more Vars); Jan 26 21:25:26 oh Jan 26 21:25:29 didn't know that Jan 26 21:25:52 I got the following: error: Uncaught TypeError: Cannot read property '0' of undefined, app/assistants/first-assistant.js:368 Jan 26 21:26:30 what's on 368? Jan 26 21:26:50 he pasted your line exactly Jan 26 21:26:53 which has a typo Jan 26 21:26:55 yeah Jan 26 21:27:02 LoneStar99: make sure you check, it's trackingArray Jan 26 21:27:28 removed the other link and replaced with swisstomcats mojo.error... Jan 26 21:27:47 link = other code Jan 26 21:29:01 oops, i wrote trackinArray, not trackingArray Jan 26 21:29:02 sorry Jan 26 21:30:22 [20100126-13:29:52.247322] error: data: 0 anonymous_element_1 Jan 26 21:30:33 and then it stops? Jan 26 21:30:55 let me try more than one node Jan 26 21:30:58 so what's in the trackinArray? Jan 26 21:31:05 or what should be in it Jan 26 21:31:10 trackingArray SHOULD be element id strings Jan 26 21:31:18 set with element.identify() Jan 26 21:31:43 does element.identify() return a string or an object? Jan 26 21:31:50 supposed to return a string Jan 26 21:32:06 either the element's id if it exists, or a fresh unique one Jan 26 21:32:55 two nodes: [20100126-13:32:27.334587] error: data: 0 anonymous_element_1 [20100126-13:32:27.335592] error: data: 1 anonymous_element_2 Jan 26 21:33:40 LoneStar99: okay, that's looking right to me...so you have two nodes named that in your scene....is anonymous_element_2 a sibling or child of 1? Jan 26 21:33:40 that's the id ... hmm Jan 26 21:33:53 if it's a child, then when you delete node 1, node 2 is gone Jan 26 21:35:06 code works with one, but fails with 2 Jan 26 21:35:43 that means that node 2 is GONE when the code runs...makes me think node 2 is a child of node 1, which is not what your html showed Jan 26 21:36:52 man i am having a helluva time with https :/ Jan 26 21:37:00 i almost typed :// Jan 26 21:37:03 LoneStar99: you need to look at it in inspector and see where in the heiarchy these nodes actually are in realtion to each other Jan 26 21:37:10 maik: hehe Jan 26 21:37:45 sugardave: here it the code i am using: http://www.pastebin.org/82862 Jan 26 21:37:50 * sugardave is sitting at his new desk. "Angle is different and making more typos. Yeah, I'm blaming the new desk." Jan 26 21:38:05 heh Jan 26 21:38:10 yeap it is the new desk Jan 26 21:38:21 can only be the new desk Jan 26 21:38:32 maik: what's the prob? Jan 26 21:38:36 LoneStar99: yeah, I know...but you need to make sure in inspector that those nodes are where you expect them to be Jan 26 21:38:53 ok, let me open up inspector Jan 26 21:38:59 because SOMETHING isn't right Jan 26 21:40:49 hey all Jan 26 21:41:51 hey Jan 26 21:41:55 yo Jan 26 21:41:56 hello Jan 26 21:42:10 ahoj) Jan 26 21:42:13 anyone care to test my painting app? Jan 26 21:42:21 codeslaw: hook me up! Jan 26 21:42:24 :D Jan 26 21:42:25 yeah Jan 26 21:42:36 dmontalvo@gmail.com Jan 26 21:43:04 yup Jan 26 21:43:06 tibfib1@gmail.com if that's how you are distributing it Jan 26 21:43:06 mleut@yahoo.com Jan 26 21:43:18 uploading to my server Jan 26 21:43:19 hehe Jan 26 21:43:22 k Jan 26 21:43:31 * sugardave informs the spam-bots. Jan 26 21:43:53 hah yeah. Oh well... that's my dev email. Jan 26 21:43:56 hehe Jan 26 21:44:00 oh noes Jan 26 21:44:13 be ready to collect a lot of spam) Jan 26 21:44:35 http://intereaktiv.com/palm-testing/com.codeslaw.sketchpaintlite_1.0.0_all.ipk Jan 26 21:45:06 * sugardave is going to crack this parent-child model linkage if it's the last thing he does. Jan 26 21:45:07 instructions: once on the main canvas, forward swipe to show the tool bar Jan 26 21:46:15 yes Jan 26 21:46:24 codeslaw: if you go to instruction directly and then back it has a new button "back to canvas" Jan 26 21:46:25 fun application :) Jan 26 21:46:50 yes, instructions goes to canvas page, haven't added a scene yet Jan 26 21:46:57 is there a way i can figure out what's going wrong with this https ajax.request? it works just fine over http and all the browsers i've tried work fine. i've made sure to trust the certificate on the device and i can browse to it in the device's web browser via http and https, both in the emulator and not Jan 26 21:47:00 there are no buttons on new blank canvas scene Jan 26 21:47:11 fanatsumy: forward swipe in the gesture area Jan 26 21:47:13 instead of a back gesture do a "forward" gesture Jan 26 21:47:21 IIS doesn't even make a log entry when trying https in the ajax request Jan 26 21:47:23 codeslaw: but if you go back from that one, it shows "back to canvas" Jan 26 21:47:40 and the ajax call doesn't go to onFailure or onSuccess, but onComplete is called Jan 26 21:47:47 maik: you guys aren't doing any weird MAC detection or anything, are you? Jan 26 21:47:54 nope Jan 26 21:47:55 swisstomcat: ya, it thinks the instruction page is a regular canvas page at the moment Jan 26 21:47:55 codeslaw: very nice, do you plan on being able to save it or anything? Jan 26 21:48:01 codeslaw works Jan 26 21:48:03 okie Jan 26 21:48:19 tibfib: unfortunately, palm doesnt give access to the dataURL from canvas Jan 26 21:48:23 sugardave: it loks like they are individual divs Jan 26 21:48:26 so all i can do is tell people to screen shot Jan 26 21:48:38 maik: I think the only thing you have left as a troubleshooting avenue is through the global responders object Jan 26 21:48:38 dry brush example is not showed in preferences Jan 26 21:48:48 but not sure what else you're going to be able to get out of it Jan 26 21:48:48 wussat? Jan 26 21:48:50 codeslaw: Oh yeah, you are going to get bad reviews saying you should add it Jan 26 21:48:55 maik: i heard of that problem before Jan 26 21:48:55 maik: hold on a sec Jan 26 21:48:58 you want a screenshot? Jan 26 21:49:22 swisstomcat: oh? i don't suppose it was near the solution? :) Jan 26 21:49:24 tibfib: i know =( palm gives absolutely NO information about where they are going with canvas, i can do nothing Jan 26 21:50:18 maik: same problem as you .. didn't even see the server get hit Jan 26 21:50:20 codeslaw: yeah, you should make a topic and ask em... my only suggestion: make the hard brush the default Jan 26 21:50:51 tibfib: i've been back and forth on that, why do you prefer hard brush? Jan 26 21:50:54 I like dry brush :) Jan 26 21:51:02 maik: not sure if this is going to be helpful, but check http://www.prototypejs.org/api/ajax/responders Jan 26 21:51:20 codeslaw: very nice Jan 26 21:51:21 you can set up callbacks for ever ajax request you make, and other things, etc. Jan 26 21:51:38 thanks Jan 26 21:51:49 codeslaw: it is just what everyone is used too... people will complain you cant use a "normal" style brush Jan 26 21:52:01 nice and clean Jan 26 21:52:19 good point tib Jan 26 21:52:51 codeslaw: looks really good so far Jan 26 21:52:57 I'll be waiting for the photoshop for pre from you :) Jan 26 21:53:00 codeslaw: other suggestion: once you open the canvas for the first time, do a tutorial, in addition to the intructions page... MAKE people know what to do... Jan 26 21:53:23 maik: http://www.prototypejs.org/api/ajax/options also mentions an 'onInteractive' response...not exactly sure what that means, but seems like another thing to eliminate on the server side Jan 26 21:53:25 tibfib: i like that idea a lot Jan 26 21:53:27 codeslaw: and also show the tools if you first open a new canvas .. confusign otherwise Jan 26 21:53:43 writing this stuff down for when i get home to work on it Jan 26 21:53:44 and hide them once you first touch the canvas Jan 26 21:53:57 sugardave: i remember some https problems a few weeks ago .. he wasn't even seening the server being hit Jan 26 21:54:00 nvm that is already default Jan 26 21:54:09 ya they auto hide Jan 26 21:54:11 sugardave: i'll take a peek, thanks Jan 26 21:54:15 * pandora-- waves Jan 26 21:54:16 swisstomcat: oh yeah, he mentioned that, too Jan 26 21:54:18 hmmmm Jan 26 21:54:27 codeslaw: make the main screen have no scroll... Jan 26 21:54:30 not sure why IIS won't respond to your app Jan 26 21:54:34 as soon as he switched to http, it worked .. same request Jan 26 21:54:36 yay for soemone putting money into my hosting account Jan 26 21:55:14 truth Jan 26 21:55:18 ya, exact same request, different protocol and different port Jan 26 21:55:22 new blank canvas auto-hides the tools, if you return into it, they are there by default Jan 26 21:55:38 maik: seems to be a problem in webos Jan 26 21:55:45 codeslaw: nice app... if this is the "lite" what will the full version have? :O Jan 26 21:55:56 well, thats my dilemma Jan 26 21:56:05 full version will have scrollable/zoomable canvas Jan 26 21:56:08 multiple layers Jan 26 21:56:15 whoa nice Jan 26 21:56:19 that's odd, I have an app that I use to do https forms login....it's got to be some combination problem Jan 26 21:56:20 and extendable brush packs Jan 26 21:56:31 sugardave: looks up via inspector and it looks like they are individual divs Jan 26 21:56:40 Sheeshh its like mini paint.net Jan 26 21:56:42 problem is, i NEED toDataURL Jan 26 21:56:52 and without that form palm, a large canvas can't be saved Jan 26 21:56:52 send em an email Jan 26 21:56:55 if i put in a callback in onComplete it will show this in the response object: Jan 26 21:56:55 "transport": {"status": 0, "onload": null, "statusText": "", "readyState": 4, "responseXML": null, "responseText": "", "onreadystatechange": null} Jan 26 21:57:26 who would i send it to? i've made several forum posts Jan 26 21:57:35 LoneStar99: yeah, they are...but are they like this: or Jan 26 21:57:35 preware (homebrew) Jan 26 21:57:43 codeslaw: see my message Jan 26 21:58:25 sugardave: maybe we can compare your https call to his Jan 26 21:58:32 yours that's working Jan 26 21:58:41 maik: have you tried something like live headers in ff to see what all is being sent to the server? Jan 26 21:58:53 swisstomcat: of course, I got to get komodo running again Jan 26 21:58:59 * sugardave is still on old technology. Jan 26 21:59:48 sugardave:
Jan 26 22:00:04 I've created a CSV file on the USB drive, now the file picker hangs Jan 26 22:01:02 sugardave: i haven't Jan 26 22:01:07 in an interesting note if you do an ajax request to a url over https it doesnt care if the cert is bad, just chomps on through Jan 26 22:01:45 just tested it putting a url that is definately not part of my cert in (tested in web browser and it complained) and it didnt complain at all from my app Jan 26 22:02:24 so https request do work Jan 26 22:02:41 which means any https app for webos is man in the middleable, yeah i have https requests working on my app Jan 26 22:02:49 maik: no we have to find the difference in the calls or server/certs Jan 26 22:03:46 ok weird. try setting up an https request to https://www.wsecu.org and then https://wsecu.org Jan 26 22:04:01 i get data back from the former but not the latter Jan 26 22:04:40 the difference being that their SSL cert is for www.wsecu.org and is invalid for wsecu.org Jan 26 22:06:28 maik: here is the basic gist of my ajax request that works with https forms login: http://webos.pastebin.com/d62821685 Jan 26 22:07:10 LoneStar99: are those the ids or are they "anonymous_element1", etc? Jan 26 22:07:25 question: can anyone help me figure out why my list isn't displaying any list items? http://pastebin.com/d4bbc105b Jan 26 22:07:40 sugardave: the long names above Jan 26 22:08:03 var serverURL = "https://www.wsecu.org"; Jan 26 22:08:03 var request = new Ajax.Request(serverURL, { Jan 26 22:08:04 onSuccess : this.readStatusesSuccess.bind(this), Jan 26 22:08:06 onFailure : this.readStatusesFailure.bind(this), Jan 26 22:08:07 is their any trick to getting the help menu working if you arent using an app assistant Jan 26 22:08:08 onComplete : this.readStatusesComplete.bind(this) Jan 26 22:08:10 }); Jan 26 22:08:11 hmm, that's strange, then...because 'anonymous_element2' should still exist when you delete the first one Jan 26 22:08:14 agh, sorry Jan 26 22:08:16 that's what i'm using Jan 26 22:08:32 works with www. doesn't without Jan 26 22:09:12 jlazaroff: what is the problem? Jan 26 22:09:36 swisstomcat: the "Add an account" item shows up, but not "test" Jan 26 22:10:41 LoneStar99: not sure why this is failing for you, but now that you have it generating unique IDs for those nodes, you've eliminated a major issue Jan 26 22:11:41 jlazaroff: looks ok ... hmm Jan 26 22:11:43 sugardave: very true, gonna restart emulator and run inspector and see what happens when i try to delete Jan 26 22:12:23 wait Jan 26 22:12:25 LoneStar99: Jan 26 22:12:44 change your .delete() to .remove() Jan 26 22:12:51 why do they need a 48x48 and 64x64 app icon? Jan 26 22:13:51 swisstomcat: is one for 'featured' size, or maybe the web feed or something? Jan 26 22:14:07 hmm, i only got 32x32 :) Jan 26 22:14:13 sugardave: i had changed it before Jan 26 22:14:21 48x48 is the normal one Jan 26 22:14:32 32x32 is for any header Jan 26 22:14:38 64 is for... IDK Jan 26 22:14:45 LoneStar99: ok, strange Jan 26 22:14:47 oh Jan 26 22:14:55 my icon is too small then Jan 26 22:14:57 thanks Jan 26 22:17:16 yeah very strange.. Jan 26 22:17:58 sugardave: and it is not this part "for (var i = 0; i < someGlobalVar.trackingArray.length; i += 1){" Jan 26 22:18:12 !seen reality9110 Jan 26 22:18:30 ~seen reality9110 Jan 26 22:18:38 bot is sleeping? Jan 26 22:18:45 I dont think there is a bot here... Jan 26 22:18:47 just internals Jan 26 22:18:50 oh Jan 26 22:19:06 that bot is sweet Jan 26 22:19:13 anyone done their taxes yet? am i supposed to get anything from palm for app purchases ive been paid for from last year? Jan 26 22:19:19 some day I'm going to tell it I love 'em.... see what they say... :D Jan 26 22:20:35 LoneStar99: well, that's where the error is happening, but if you read that code, all it's doing is stepping through an array of strings (the ones you saved from identify()) and calling .remove() on those strings as element IDs Jan 26 22:20:56 so, either the element exists or it doesn't Jan 26 22:21:02 yeah Jan 26 22:21:50 you could throw in an if (this.controller.get(someGlobalVar.trackingArray[i])) {} and move the remove code to inside that check Jan 26 22:22:03 it would stop the erro from happening (if the element doesn't exist) Jan 26 22:22:27 ok, just doing some test in inspector Jan 26 22:25:00 * sugardave has almost completed his db data -> object space "synchronicity" system. Jan 26 22:27:26 yo yo Jan 26 22:28:07 sugardave: you hit it right on the nail. Jan 26 22:28:51 but the question is WHY is that node gone, because all you did was remove its sibling Jan 26 22:28:52 I'm going to release my little radio app Jan 26 22:29:24 need testers? Jan 26 22:29:45 sugardave: adding your last code seemed to fixed the problem Jan 26 22:29:56 not really Jan 26 22:30:15 swisstomcat: put it to precentral Jan 26 22:30:32 * sugardave reminds himself to be on later when MetaView talks to reality9110 about AdMob and radio apps. Jan 26 22:30:40 that's going to be epic Jan 26 22:35:32 had chatted with reality9110 about some radiotime links on my app, and he pretty much said he owned the rights on pre, so went with another radio api Jan 26 22:35:55 which rights? Jan 26 22:36:45 something about RadioTime palm pre exclusive rights Jan 26 22:37:04 but if you go to Radiotime there is no mention of exclusive rights... Jan 26 22:37:13 regardless went with shoutcast Jan 26 22:37:49 but you can't have exclusiv rights on a radio application, or? Jan 26 22:39:07 i think, what he meant was, RadioTime, provided him rights to build the radiotime app and "sell" or whatever as the RadioTime app Jan 26 22:39:17 ok Jan 26 22:39:20 instead of BobbyRadio etc... Jan 26 22:39:46 but in my app you need to enter the stations on your own Jan 26 22:39:50 or AcmeRadio w/ RadioTime, his app is the "RadioTime" app Jan 26 22:40:06 means yo ujust enter the couple of stations you like to hear, nothing more Jan 26 22:40:15 chuqui: what's the haps? Jan 26 22:40:41 MetaView: i really do do not think it is a big deal... Jan 26 22:40:43 hey howdy... Jan 26 22:41:20 hrm, so with more testing i think i smoke drugs, it is not working with a bad cert, not sure where i went wrong in my testing the first time :D Jan 26 22:41:50 chuqi: i applied to dev early access last week .. shall i still wait? Jan 26 22:41:52 you think you smoke drugs? man, that's some powerful stuff :P Jan 26 22:42:22 yep, drugs, nice non-specific "drugs" Jan 26 22:42:39 chuqui: you might ask your engineers why the USB mode needs the UI to be shut down. I think it doesn't make much sense. Jan 26 22:42:43 early access stuff is pending. hit a glitch that's causing some delays, waiting for it to be fixed Jan 26 22:42:55 allright .. thanks Jan 26 22:42:55 metaview I might. they might throw stuff at me, too Jan 26 22:43:05 haha Jan 26 22:43:07 :) Jan 26 22:43:27 yeah. sorry for the delays. we had a "what could go wrong? um, what was that sound of glass breaking?" moment. Jan 26 22:43:27 rule 1: dont sass the hand thay types your code Jan 26 22:43:49 guess you got a lot of requets Jan 26 22:44:58 stupid question, but the Ajax lib does honor certificates in certificate manager, right? Jan 26 22:45:12 metaview: i have to submit app descriptions in 4 languages? Jan 26 22:46:24 maik: that's beyond my ken Jan 26 22:47:13 i'm going to be so bold as to say that it doesn't Jan 26 22:47:44 how do you do a print-screen on the device? Jan 26 22:48:02 every site i go to with an invalid cert doesn't work using an ajax call, even if i add the certificate to certificate manager by browsing to the site in the web browser Jan 26 22:48:06 orange+sym+p i think Jan 26 22:49:07 and then? Jan 26 22:49:15 "get a valid certificate" one might say, to which i would reply "it's valid if you trust our internal CA for our internal sites" :( Jan 26 22:49:27 swisstomcat: it shows up in the photo viewer Jan 26 22:49:35 under Screenshots Jan 26 22:49:39 cool Jan 26 22:49:42 thank worked, thanks Jan 26 22:49:53 * maik QQ Jan 26 22:51:54 swisstomcat: Jan 26 22:51:55 http://www.precentral.net/sites/precentral.net/files/webos-homebrew-apps/feeds/de.metaviewsoft.uberradio_0.9.5_all.ipk Jan 26 22:52:03 chuqui: might you have an insight as to whether or not we will see some new canvas tag functionality? Jan 26 22:52:28 codeslaw: would kill for dataURI manipulation Jan 26 22:52:28 metaview: 404 Jan 26 22:52:38 ok, then you need to weit, sry Jan 26 22:52:46 jfelectron: yes yes yes yes yes yes yes yes Jan 26 22:52:55 hey you two, get a room Jan 26 22:53:03 metaview: did you see my q about app submission ... description in 4 languages? Jan 26 22:53:08 don't pretend you werent watching dave Jan 26 22:53:19 we'll make some hawt data URIs...just watch Jan 26 22:53:24 codeslaw I might. can I tell you about it? um.... Jan 26 22:53:25 *whistle* Jan 26 22:53:40 epic tease Jan 26 22:53:44 chuqui: just say NO Jan 26 22:53:48 sigh. that's TWICE today I've used that routine. I need a better writer Jan 26 22:54:12 or in your dreams...cuz it is in our dreams Jan 26 22:54:47 "I am disinclined to acquiesce to your request." Jan 26 22:54:55 winner Jan 26 22:55:05 seriously, improvements to webkit in the next version Jan 26 22:55:12 dataURIs would make facile image caching possible, would open up serious canvas manipulation...etc Jan 26 22:55:18 i don't even know what's going on anymore. now it appears _some_ sites with invalid certs work just fine Jan 26 22:55:35 chuqui: just say "i can't neither deny or admit" Jan 26 22:55:35 chuqui: as in 1.4? Jan 26 22:55:52 *cough* iPhone does dataURIs *cough* Jan 26 22:56:00 you want more details, you need to be in the early access program... Jan 26 22:56:05 maik: I'm telling you, you are missing a golden opportunity to go to the infrastructure people and say "See?! This is why we need Apache/PHP!" Jan 26 22:56:17 sugardave: tell that to digitalpowers Jan 26 22:56:23 you just told us that we can't get into the early access program ;) Jan 26 22:56:26 digitalpowers: make it so Jan 26 22:56:47 you can. well, you can, but it's delayed because I broke the big red button. Jan 26 22:56:50 i am not the boss, just his boss Jan 26 22:56:52 so as soon as the button is gixed, then... Jan 26 22:56:55 heh Jan 26 22:56:55 gixed? Jan 26 22:57:02 s/gixed/fixed/g Jan 26 22:57:03 digitalpowers: free maik from the futility of toiling in IIS Jan 26 22:57:10 FREE MAIK Jan 26 22:57:12 FREE MAIK Jan 26 22:57:17 * swisstomcat slaps maik with a big wet trout Jan 26 22:57:24 the problem is aspx makes it easy like butta' to interface with MSSQL Jan 26 22:57:27 hahahahaha Jan 26 22:57:33 weiche IIS .. weiche von dir ... geh hinfort Jan 26 22:58:01 oh good lord....a full MS stack Jan 26 22:58:02 i cannot, it is not i that makes the decisions, i only stand with a whip and beak maik into the missery he currently exists in Jan 26 22:58:05 * swisstomcat does a little vodoo dance Jan 26 22:58:07 swisstomcat need to borrow my rancid salmon of contrition? Jan 26 22:58:13 it's +3 extra smelly Jan 26 22:58:19 hahaha Jan 26 22:58:23 haha Jan 26 22:58:24 rofl Jan 26 22:58:25 rancid salmon ... yum Jan 26 22:58:37 * swisstomcat smears maik with rancid salmon Jan 26 22:58:43 that should do it Jan 26 22:58:54 and now i've been fired Jan 26 22:58:58 for smelling fishy Jan 26 22:59:05 hey, no more IIS :D Jan 26 22:59:11 worth it! Jan 26 22:59:16 yay Jan 26 22:59:30 swisstomcat: no : question Jan 26 23:00:02 what was the question? Jan 26 23:00:27 belive me when i started working here and they game me iss and vb /cry i went home and curled up in a ball at the end of the day and cried for weeks on end, i am mostly dead to the real world of development now, a zombie stumpling through code with no ; at the end of the line :'( Jan 26 23:00:28 chuqui: i don't suppose you know anyone i can talk to be about the wonkiness of ajax requests with various SSL certs? Jan 26 23:00:46 heh Jan 26 23:00:49 swisstomcat: something about app catalog submission and languages Jan 26 23:01:17 digitalpowers: that's why you work with mojo .. the best of the best Jan 26 23:01:24 metaview: yes .. how did u do it? Jan 26 23:01:26 pop it in the forums and send me an email, I'll see about escalating it. Jan 26 23:01:41 javascript is some semblance of normality in a world of programming where Proper Nouns are the norm and if you can't read it it's because you don't speak english Jan 26 23:01:56 you should see ruby Jan 26 23:01:58 swisstomcat: I add a description in Germany Jan 26 23:02:00 we are both just doing mojo projects for fun, nothing terribly work related, but it is fun to learn new things Jan 26 23:02:02 all because it has if (foo) { bar; } Jan 26 23:02:04 joy. another meetig.... Jan 26 23:02:06 but no spanish Jan 26 23:02:13 cu chuqui Jan 26 23:02:23 chuqui: thanks Jan 26 23:02:24 I write english there, they are supposed to translate it Jan 26 23:02:49 I'm off Jan 26 23:02:49 i see Jan 26 23:02:52 ok, thanks Jan 26 23:02:53 g'night Jan 26 23:02:55 night Jan 26 23:03:22 how am i supposed to choose the right SPANISH categories? Jan 26 23:04:50 sugardave: thanks alot for your help once again! Jan 26 23:05:19 that was a quick meeting Jan 26 23:05:25 haha Jan 26 23:05:51 LoneStar99: you're welcome, but I still have doubts about your code....we merely masked the error...but as long as it's working Jan 26 23:07:15 sugardave: yeah will submit since the "bug" is "fixed" but will look into why it is flaking out... Jan 26 23:07:42 had gotten an email from Palm Inc... regading the bug... Jan 26 23:08:40 This is probably been asked a hundred times already, but is there a known problem with the App Catalog lately? Nothing I try to install ever gets past "Installing..." and a completed blue progress circle in the launcher Jan 26 23:08:58 Really hoping not to have to visit the doctor, since I already removed all patches and rebooted and etc Jan 26 23:11:29 sugardave: one thing I did notice, the "
never resets back to "1" so "anonymous_element_1" will eventually be " anonymous_element_7" Jan 26 23:12:10 that shouldn't matter...you're still tracking the id Jan 26 23:12:36 do you think the code can slow down the app? Jan 26 23:13:36 will test it on the device alittle later. gonna go job. Jan 26 23:13:37 hmm, it could...you should make someGlobalVar.trackingArray = [] again after the for loop Jan 26 23:15:34 time to go to bed. gn8 everybody Jan 26 23:16:21 erk Jan 26 23:16:22 gn8 Jan 26 23:16:28 why can't is submit my app? Jan 26 23:16:36 submit is greyed out :( Jan 26 23:17:36 ah, a screenshot was missing Jan 26 23:18:00 can anyone help me figure out why the "test" item isn't showing up in my list? http://pastebin.com/d4bbc105b Jan 26 23:18:26 any good drawing artists in here? Jan 26 23:18:44 not really Jan 26 23:18:50 codeslaw: sure, what's up? Jan 26 23:19:20 jlazaroff: what kind of stuff are you good at? Jan 26 23:20:27 codeslaw: like, illustration? i'm not sure what you mean Jan 26 23:20:58 i have a painting app, and i'd like to show off some cool artwork in the screenshots Jan 26 23:21:42 i personally am decent, but not excellent Jan 26 23:23:16 goodnight everyone Jan 26 23:23:29 AND I SAY, WHAT ABOUT BREAKFAST TO TIFFANY?! Jan 26 23:23:36 jlazaroff: not sure why that isn't working...one thing to try (and probably won't work) is to add a listTemplate, as well...and in there JUST have #{-listElements} Jan 26 23:24:26 jlazaroff: is your app menu working? Jan 26 23:26:37 i solved my cert problems by moving the web app to a site with a public valid certificate :/ Jan 26 23:27:35 sugardave: "template load failed" :( Jan 26 23:29:41 jlazaroff: paste your templates and code again Jan 26 23:29:46 jlazaroff: you have a listcontainer? Jan 26 23:30:06 codeslaw: not that great at painting, but i can try if you want. most of these are a few years old, but... http://photos-c.ak.fbcdn.net/photos-ak-sf2p/v296/117/60/1341660135/n1341660135_30351492_4001.jpg http://photos-f.ak.fbcdn.net/photos-ak-snc1/v314/117/60/1341660135/n1341660135_30354198_3010.jpg http://photos-e.ak.fbcdn.net/photos-ak-sf2p/v296/117/60/1341660135/n1341660135_30351493_4253.jpg Jan 26 23:30:07 http://photos-h.ak.fbcdn.net/photos-ak-snc1/v314/117/60/1341660135/n1341660135_30352711_3575.jpg http://photos-d.ak.fbcdn.net/photos-ak-sf2p/v42/117/60/1341660135/n1341660135_30010439_3883.jpg http://fc05.deviantart.net/fs15/f/2007/113/1/0/Kill__Smile_by_bananasquiddly.jpg Jan 26 23:31:35 Bmyers_away: i don't think so; what's that? Jan 26 23:32:03 it's the thing in the sdk docs called a list container.. Jan 26 23:32:24 is there something like encrypted cookies for local data storage? Jan 26 23:32:29 jlazaroff: nice Jan 26 23:32:32 simple data, like one or two strings Jan 26 23:32:55 sugardave: http://pastebin.com/d70b08182 Jan 26 23:33:00 Bmyers_away: he has a list widget in his html and templates for it Jan 26 23:33:39 codeslaw: i also did illustrations for my friend's album; it's the top portfolio item at http://jakelazaroff.com/ Jan 26 23:36:56 jlazaroff: I'm stumped...it all looks correct to me Jan 26 23:38:37 sugardave: hm. is there any way to update the SDK/emulator without uninstalling/reinstalling? Jan 26 23:42:00 jlazaroff: what do you mean? you could close it, delete the image from vbox, then start the emu again, it will create a new image Jan 26 23:42:31 jlazariff: try this for you accountlisttemplate:
Jan 26 23:42:31 #{-listElements} Jan 26 23:42:31
Jan 26 23:44:07 sugardave: not sure, i thought maybe there could be a new version of the packager or something Jan 26 23:44:54 Bmyers_away: still says "template load failed: acconuts/accountListTemplate.html" Jan 26 23:46:42 acconuts? Jan 26 23:47:01 sugardave: yeah, sorry. there's no typo in the actual code -_- Jan 26 23:47:03 it's correct in your pastebin, though Jan 26 23:47:04 i WISH it were that easy Jan 26 23:47:05 hehe Jan 26 23:47:12 acconuts and cuffea Jan 26 23:47:19 i can't copy/paste from virtualbox Jan 26 23:47:46 ah, you should ssh in and put a tail on /var/log/messages Jan 26 23:48:37 you SURE accountListTemplate.html is in the right dir? Jan 26 23:50:05 hey, what... Jan 26 23:50:07 you're right Jan 26 23:50:20 in the file browser pane thing komodo said it was in the right place Jan 26 23:50:24 ah Jan 26 23:50:29 yeah, been burned by that before Jan 26 23:50:32 but when i went to view it in my actual file browser, it was... not Jan 26 23:50:36 Hey anybody here want to beta test an update for countdown puzzles? Jan 26 23:50:39 copy and paste them in there did u? Jan 26 23:50:42 I just add them in the folder manually, and then komodo will refresh Jan 26 23:50:47 komodo has crap file management Jan 26 23:51:00 i've done the same thing too.. Jan 26 23:51:13 copying files doesn't actually...makes for frustrating debugging Jan 26 23:51:28 jlazaroff: now the test...will it work? Jan 26 23:51:31 I'm guessing no Jan 26 23:53:25 sugardave: YES! it works! :D Jan 26 23:53:40 yay! Jan 26 23:53:43 glad to be wrong, then Jan 26 23:54:10 surprising that it doesn't work without the list template, the docs say "most" apps won't need one Jan 26 23:55:23 oh, no, i still have the list template from when you told me to add it Jan 26 23:55:53 yeah, I know...I'm surprised that it didn't work before you added it, but it works now with it Jan 26 23:56:37 I thought it wasn't required Jan 26 23:56:45 sugardave: oh, it might work without it. both the list template and the item template were in the wrong directory Jan 26 23:56:50 ah Jan 26 23:56:53 I see Jan 26 23:57:04 the entire problem was that komodo lied to me about where my files were Jan 26 23:57:09 yep yep Jan 26 23:57:45 I can get komodo to put them in the right place, but it is easier to just add them outside it Jan 26 23:58:04 yeah, i guess that's what i'll have to do now Jan 27 00:04:02 does anyone have experience with getting big lists to not be laggy during scrolling in Ares? Jan 27 00:04:46 Epix: you have to do that "lazy list" thing...not load them all, then look ahead/behind, etc. Jan 27 00:04:52 I think there's an example in mojo matters Jan 27 00:05:34 sugardave: mojo matters? Jan 27 00:05:48 yeah, it comes with the sdk Jan 27 00:05:53 in the samples directory Jan 27 00:06:00 donuts... Jan 27 00:06:07 mmmmmmmmmmmm... Jan 27 00:06:09 if you copy the source out to a new dir, you can package it and install it on the emu Jan 27 00:06:10 sugardave: okay I'll have a look thanks Jan 27 00:06:14 np Jan 27 00:06:28 there are a few samples...style matters is another good one Jan 27 00:06:29 Epix: yeah lazy-loading is the key...that's what I do Jan 27 00:06:31 sugardave: StyleMatters right night mojo matters Jan 27 00:06:41 i dont have a mojo matters Jan 27 00:06:50 it's in a different dir Jan 27 00:07:01 sugardave: i lie, i need to stop with the talking Jan 27 00:07:06 haha Jan 27 00:08:08 hey dbsooner.. Jan 27 00:08:15 Epix: currently is renderLimit high? or are new items being rendered as you scroll? Jan 27 00:09:25 oh crap, he's in ares Jan 27 00:09:32 I keep forgetting that part Jan 27 00:09:40 jfelectron: I tried a high and low renderLimit. If I set a really high renderLimit there is no laggyness, but then it takes > 3 seconds to load the scene, which is too long Jan 27 00:09:49 ares is the devil, it caused me so much confusion starting out Jan 27 00:10:23 hey doc Jan 27 00:10:27 hey dave Jan 27 00:10:44 how's user land? Jan 27 00:10:50 Challenging Jan 27 00:11:15 mine are eerily silent Jan 27 00:11:23 Enjoy it Jan 27 00:11:29 Epix: I haven't found lazy loading to really improve the loading much...there is still a lag and it just burns through the items up until the renderLimit. If your items take awhile to render individually, the rendering stacks up so it still lags Jan 27 00:11:55 Anybody know how to insert a link into the message of an alert? Jan 27 00:12:22 a showAlertDialog that is Jan 27 00:13:02 Epix: you can throttle how many items you give to the framework each time it requests, to load more items,but you can't throttle the frequency of it asking or when it asks Jan 27 00:13:15 Oh...nevermind. There's an allowHTMLMessage for it Jan 27 00:13:22 reality9110: 'allowHTMLMessage' Jan 27 00:13:25 yup Jan 27 00:13:25 yeah Jan 27 00:13:57 Epix: it might be better to just do lazy-loading yourself. Just pull items from the big array and do noticeUpdatedItems(offset,nextChunk) where offset is the end of the list model Jan 27 00:15:18 jfelectron: hmm I'll have a look at lazy lists and see if it can improve it. I don't think my cells should take long to load as they are just text. I'll also have to look into doing it myself with noticeUpdatedItems. Never done that before. Thanks Jan 27 00:15:50 Epix: sure....you'll be using noticeUpdatedItems with the lazy-loading as well Jan 27 00:16:05 okay Jan 27 00:16:49 Anyone feel like beta testing an update for my app countdown puzzles? Jan 27 00:21:47 You know what's a fun show to watch? Unsolved Mysteries. They're all old episodes from about 20 years ago so they all have Updates... Not much mystery anymore. Jan 27 00:21:59 But you get to actually know what happened Jan 27 00:37:34 i used to go nuts when they wouldn't resolve the mystery Jan 27 00:41:22 tibfib: the colors really make the difference Jan 27 00:41:40 I know Jan 27 00:41:45 100% easier to visualize Jan 27 00:42:18 I wish the update was out... :/ Jan 27 00:42:18 how do these online puzzles work Jan 27 00:42:31 So on main page you have "approved" puzzles by us Jan 27 00:42:47 the number in red is the "highscore"(defaulted by difficulty Jan 27 00:42:53 ok Jan 27 00:43:06 solve a puzzle in less clicks, get a highscore, it is sent to my server and updated Jan 27 00:43:17 The folder opens up submissions to "vote" on. Jan 27 00:43:59 the shade of red is a little harsh, at first i thought they were error messages Jan 27 00:44:03 on the score counts Jan 27 00:44:23 the highscore on main page? Jan 27 00:44:33 Yeah the online stuff isn't 100% yet Jan 27 00:44:54 cool Jan 27 00:45:17 well it works 100%, I just havent decided exactly how to implement it (see email) Jan 27 00:45:48 puzzle of the day would add high replay incentive Jan 27 00:46:04 You think? Better than having a list of online puzzles? Jan 27 00:46:19 (I'm 50-50 atm) Jan 27 00:46:40 puzzle of the day, and display the daily high score Jan 27 00:46:53 Okay that sounds like a good idea Jan 27 00:46:57 you could still do the list Jan 27 00:47:04 I think I'll go difficult every day Jan 27 00:47:06 but then you'd have people trying to get on the daily score board Jan 27 00:47:19 ie mon = beginner, tues = eager beaver, weds = intermediate... Jan 27 00:47:41 I'll go *more* difficult every day Jan 27 00:47:49 codeslaw: what is wrong with that? Jan 27 00:48:08 i meant that in a positive way Jan 27 00:48:16 Oh hah. okay, my bad Jan 27 00:48:21 no worries Jan 27 00:48:43 daily "events" builds habits of playing at least once a day Jan 27 00:48:58 ala paratroopers Jan 27 00:49:07 and many flash games i used to paly Jan 27 00:49:40 oooh, I'm going to have a "daily game" records spot Jan 27 00:50:07 Thanks for the ideas Jan 27 00:51:11 np Jan 27 00:51:25 playing now =P Jan 27 00:52:00 :D Jan 27 01:52:12 jfelectron and sugardave: Thanks for your help. I now how a list that scrolls nicely. Jan 27 01:52:30 is there a way to a row to light up when you click it? Jan 27 01:52:40 Epix: nice...you went with an item callback? Jan 27 01:53:36 Epix: yes use x-mojo-touch-feedback="delayed" Jan 27 01:54:03 jfelectron: yeah. I think Ares lists are still really slow. Hopefully they speed them up the next update of Ares Jan 27 01:54:15 Epix: right on Jan 27 01:54:17 Epix: whatever class you give to your list item add listItemClass.selected class Jan 27 01:54:46 to your CSS and then give it another background color or border-image depending on what makes sense for your list Jan 27 01:55:25 jfelectron: okay. Thanks Jan 27 01:57:00 e.g. Jan 27 01:57:00 .palm-header.selected { Jan 27 01:57:00 -webkit-border-image: url(../images/header-selected-background.png) 0 30 0 30 stretch stretch; Jan 27 01:57:00 Jan 27 01:57:01 Jan 27 01:57:01 } Jan 27 01:59:02 or...div.footer.selected {background-color: #AFE9C6;} Jan 27 01:59:22 Epix: the .selected part is the ke Jan 27 01:59:24 key Jan 27 01:59:43 hello jfelectron Jan 27 01:59:52 hello LoneStar99 Jan 27 02:00:02 jfelectron: okay. I'll try that. Jan 27 02:00:05 sugardave: tested on the device and it seems to work fine Jan 27 02:31:30 Hi all! Jan 27 02:35:50 hey Jan 27 02:36:16 hi codeslaw Jan 27 02:36:29 so i have some slider widgets in side some palm-rows, in a palm group. the slider isn't and won't center justify. any ideas? Jan 27 02:37:18 the slider widget itself won't center withing the div? Jan 27 02:37:27 what have you done to your css so far? Jan 27 02:38:12 let me grab it Jan 27 02:39:38 well right now it is sticking on the right, so i have it set to float: left Jan 27 02:39:41 but that's not helping Jan 27 02:40:17 can you pastebin what you've got for me and point out the div ids/classes you're accessing Jan 27 02:40:47 sure Jan 27 02:41:49 agh, what's the method for dismissing a scene called with showDialog ? Jan 27 02:44:14 this.widget.Mojo.close() Jan 27 02:44:35 lowercase m Jan 27 02:44:55 maik: this.widghet.mojo.close() from within the dialog assistant Jan 27 02:44:58 i'm trying that but i've messed up the context somehow because it's saying it's undefined Jan 27 02:45:05 hhmm Jan 27 02:46:26 jenp: http://pastebin.org/83009 Jan 27 02:47:11 codeslaw what happens when you take the float away completely? Jan 27 02:47:45 nothing at all Jan 27 02:47:59 is it still leaning? Jan 27 02:48:37 to the right, yes Jan 27 02:48:49 kk one sec Jan 27 02:48:49 this is all in a custom dialog, by the way Jan 27 02:49:11 haeffb! Jan 27 02:49:17 JenP! Jan 27 02:49:29 what's up? Jan 27 02:50:12 not much...need your help with that list Jan 27 02:50:26 codeslaw does the slider fill the width of the row? Jan 27 02:51:31 no, looks like it has a default left pad or something, it's about 7 px from the left and 2 px from the right edges Jan 27 02:51:45 sure thing Jan 27 02:51:50 haeffb Jan 27 02:52:26 hey hey Jan 27 02:52:37 NO WAY! Jan 27 02:52:42 CONGRATS! Jan 27 02:52:48 WAY.. Jan 27 02:53:05 yeah thanks.. but I told them to reject it.. instead they published it Jan 27 02:53:18 what?...why? Jan 27 02:53:21 which app is yours? Jan 27 02:53:48 i had to rename the app id in order to re-re-submit it. that broke my alarms.. Jan 27 02:54:00 whoo hooo Jan 27 02:54:30 Bmyers_published: you should have tried reverse psychology a month ago. Jan 27 02:54:39 only took a month... Jan 27 02:55:05 i think it's a triumph for all those here who helped me along.. Thanks! Jan 27 02:57:14 codeslaw did you notice the global.css has the palm-slider within a row-wrapper? have you tried that? Jan 27 02:57:46 yup pulling it together now Jan 27 02:59:11 trying it now **** ENDING LOGGING AT Wed Jan 27 02:59:57 2010