**** BEGIN LOGGING AT Mon Aug 02 02:59:57 2010 Aug 02 03:08:07 can you use returnValue with popScenesTo? http://developer.palm.com/index.php?option=com_content&view=article&id=1872&Itemid=244#.popScenesTo Aug 02 03:09:17 in fact you can Aug 02 03:09:28 haeffb helped me with it today or yesterday Aug 02 03:09:49 sugardave: nice! could you post a snippet? Aug 02 03:10:23 popScenesTo(sceneName, {'something': 'foo'}); Aug 02 03:10:39 in the popped-to scene's activate, you'll have event.something Aug 02 03:10:39 very nice Aug 02 03:10:58 okay cool, did you add it to webos101? Aug 02 03:11:04 no :D Aug 02 03:11:09 hah Aug 02 03:11:15 wnat me to? Aug 02 03:11:20 yes! Aug 02 03:11:51 interesting indeed Aug 02 03:16:57 there, added to snippets! Aug 02 03:17:12 thanks sugardave, and haeffb_ Aug 02 03:41:33 Tibfib: cheers Aug 02 04:01:36 although sugardave... I can't get that snippet to work Aug 02 04:01:53 lol oops Aug 02 04:02:12 hah, yeah Aug 02 04:02:41 oh wait Aug 02 04:02:43 just a sec Aug 02 04:04:18 lol Aug 02 04:04:25 it works perfectly. I am just fail Aug 02 04:06:15 * Tibfib shouldn't code past 10 Aug 02 04:06:30 haha Aug 02 04:06:41 I get that too, start making mistakes and takes me 4 times longer to debug things Aug 02 04:07:15 which usually results in this channel being filled with my code Aug 02 04:16:00 damn tequila shot got me sleepy Aug 02 04:16:46 So what's the best way to store a bit of data locally? Are depots as bad as I've heard? Aug 02 04:17:04 nah Aug 02 04:17:12 how big is your data? Aug 02 04:17:26 I just want to do LOTS of preferences for my app but I don't want to use cookies Aug 02 04:17:38 well both options are equally good Aug 02 04:17:46 Cupcakes makes sql super easy Aug 02 04:18:08 compliments of haeffb Aug 02 04:18:42 And he made a depot helper as well which makes depot even easier. Aug 02 04:19:12 so both are easy, he says go with depot, less error prone. dont know whether that's true but might as well Aug 02 04:19:20 Tibfib: ^ Aug 02 04:19:38 cookies are great for preferences...the only synchronous Mojo storage around Aug 02 04:20:12 Hey sugardave: wanna test my game right now? Aug 02 04:20:25 I may just have to buckle down and use cookies Aug 02 04:20:32 I can't...deep in code Aug 02 04:20:46 sugardave: I want to use your bakery example... wonder if I can get it to work this time Aug 02 04:21:02 I just re-copied it and it's working great :D Aug 02 04:21:09 heh Aug 02 04:21:09 darn it, you ruined the joke, was gonna say "gimme a couple weeks to clear up these bugs" Aug 02 04:21:22 Anivrom: next time :P Aug 02 04:21:34 Tibfib: should be pretty straightforward....what wasn't working right last time? Aug 02 04:21:46 tib you wanna see my customized bakery object? Aug 02 04:21:48 Somehow I couldn't get the bakery object Aug 02 04:22:08 oh, was it multi-stage? Aug 02 04:22:12 yeah Aug 02 04:22:15 yeah Aug 02 04:22:23 my shit only works in single-stage as a general rule Aug 02 04:22:25 :D Aug 02 04:22:29 hah Aug 02 04:22:32 i.e. untested Aug 02 04:22:42 Anivrom: I'm good thanks Aug 02 04:23:04 I think you just can't put the bakery in the app-assistant Aug 02 04:23:06 darn it, you ruined the joke, was gonna say " well too bad cause I deleted it weeks ago" Aug 02 04:23:12 I think it should still work though if you put it in the app assistant Aug 02 04:23:14 0/2 ... gahh Aug 02 04:23:21 I'll try putting it in a separate js file Aug 02 04:23:30 that definitely works Aug 02 04:23:39 doing it right now NSvar.Bakery Aug 02 04:24:04 make sure you change all the Bakery references to whatever NSvar.Bakery Aug 02 04:24:09 if you do that Aug 02 04:24:33 ah well that's another weeks from now... Had to figure out how to do what I need to do later :) Aug 02 04:24:42 heh Aug 02 04:25:10 I normally use a cookie for preferences and to do "first run" checks, then db for heavy data storage Aug 02 04:25:34 I've been using cookies already... just annoyed by their unreliability Aug 02 04:25:56 I think its just my bad luck Aug 02 04:26:02 why not just skip them? even for a small amount of prefs its better Aug 02 04:26:07 I haven't had any problems, but my apps are not popular :D Aug 02 04:26:18 Anivrom: there's one advantage to them, they block Aug 02 04:26:43 if you absolutely want to wait for a value before something else happens, a cookie method will let you do that Aug 02 04:28:18 yea, but you can just have your function calls setup inside the db callback, which accomplishes the same thing Aug 02 04:29:15 yep, except in some cases if I try to immediately access one of those values in the next scene...the scene has loaded before the callback finishes Aug 02 04:29:18 screwed Aug 02 04:29:42 and I may not want to wait for my 10K records to load before pushing that scene so... Aug 02 04:29:48 not doing it in the callback Aug 02 04:29:58 rgr Aug 02 04:34:27 What is the best way to sync with iTunes? Aug 02 04:34:28 don't do it? Aug 02 04:34:30 LOL Aug 02 04:34:50 lol Aug 02 04:36:01 kesne was right, you say you should be done an app in a certain amount of time... well double that and you'll get the more likely release date Aug 02 04:36:09 the little foxes keep popping up everywhere Aug 02 04:36:50 heh. someone reminded me today that my original release date for mojo messenger was April Aug 02 04:36:52 hah. Aug 02 04:36:58 gay Aug 02 04:37:08 flash..*cough Aug 02 04:37:35 Yup Aug 02 04:37:53 1.4.5 *cough* Aug 02 04:41:34 i brewed my beer! Aug 02 04:41:38 nice! Aug 02 04:41:43 http://www.brew-wineforum.com/shwmessage.aspx?ForumID=1&MessageID=157231&TopicPage=&Post=True&AutoApprove=false pictures and description stuff Aug 02 04:42:24 Wolvenhaven: lol at first reply Aug 02 04:42:29 yea Aug 02 04:42:59 i do do that having sex though, just in my head, and it turns out great so iunno what he means :P Aug 02 05:40:51 are Palm Notes in txt format? Aug 02 05:41:11 can I copy them from the hidden folders onto the desktop and read them fine? Aug 02 06:23:30 Alright guys I'm falling asleep on my keyboard, cya guys later Aug 02 06:31:01 good morning Aug 02 07:31:39 ah be doctoring mah pre! Aug 02 07:32:36 :( Aug 02 07:32:39 what happend? Aug 02 07:34:14 Coms board swap Aug 02 07:36:03 morning Aug 02 07:39:28 doctor hard bro Aug 02 08:05:21 morning swisstomcat Aug 02 08:06:58 hi hotdp Aug 02 08:07:19 swisstomcat, i have made the jump away from Ares :) Aug 02 08:07:27 good Aug 02 08:07:28 and i ******** loving it Aug 02 08:07:34 :) Aug 02 08:07:48 its much much better not all hazzle and full control Aug 02 08:07:59 now i can see html :) Aug 02 08:08:47 no you can see everything Aug 02 08:09:22 the only thing is that i miss another screen (have two at work) because i have to have debug and log open in another window then eclipse. In ares it is the same "window" Aug 02 08:10:47 yeah Aug 02 08:12:21 It would be nice if it worked with console and debug in eclipse Aug 02 08:12:31 have you Aug 02 08:12:36 started on tut webos? Aug 02 08:13:30 not yet Aug 02 08:37:27 hi guys .. i have developed a hybrid (SDk + PDK) app .. i known palm is not allowing hybrid apps .. any work around to achieve this? Aug 02 08:38:07 release it as homebrew Aug 02 08:38:15 like wirc Aug 02 08:39:42 hmmm ... homebrew ... can i get some more info ... any link? Aug 02 08:40:22 #webos-internals Aug 02 08:41:55 homebrew apps will not getting into palm app catalog ... right? Aug 02 08:42:20 depends whether they meet the content guidelines or not Aug 02 08:43:15 like i said an hybrid app ... Aug 02 08:43:46 somewhere i read hybrid apps are not approved Aug 02 08:43:59 they said they won't allow hybrid apps into the catalog at the moment Aug 02 08:46:01 u mean my app will not be available in app store ... right? Aug 02 08:46:46 correct Aug 02 08:46:58 not yet Aug 02 08:47:08 raghuk: what does the app do, and is it open source? Aug 02 08:48:02 no it's not open source ... making for an client ... i have used openGL for some features ... so here I am ... what to so next Aug 02 08:48:11 what to do next Aug 02 08:48:18 contact palm's pdk hotline? Aug 02 08:48:25 pdk@palm.com i think Aug 02 08:48:34 see what they can do for you Aug 02 08:50:02 ooh .. i don't knwon abt that ... i'll mail them Aug 02 08:50:24 thanks Aug 02 09:31:29 swisstomcat, any good places for styling? Aug 02 09:31:54 what kind of styling? Aug 02 09:34:33 general Aug 02 09:34:40 tips on getting it to look nice Aug 02 09:34:44 colors Aug 02 09:34:50 ect. Aug 02 09:34:55 tips and tricks :) Aug 02 09:38:28 to start with UI, you can download StyleMatters app Aug 02 09:40:49 i have that one :) Aug 02 09:41:10 but i don't see "nice" styling. More talk about how to use widgets Aug 02 09:45:19 hmm Aug 02 09:45:30 some stuff is on webos101.com Aug 02 09:45:43 a nice looking app is a work of art :) Aug 02 10:01:04 i know Aug 02 10:01:22 i think my apps look okay, but would like more inspiration Aug 02 10:02:32 look at other apps Aug 02 10:13:33 and focus on function not decoration. a well functioning app is far more important than one that looks nice. Aug 02 10:28:46 rwhitby, i know. I make it work good and easy to use. But wanna make it nice also Aug 02 10:37:51 yeah, form follows function .. that's for sure Aug 02 12:03:08 Jailbroke my iPod OTA with jailbreakme.com Aug 02 12:03:20 hmm Aug 02 12:04:05 Let's see if multitasking works Aug 02 12:04:39 Appears so :) Aug 02 12:11:09 Crashed when trying to install the webos style switcher :( Aug 02 13:11:41 I HATE MY PALM PRE KEYBOARD Aug 02 13:33:07 Sop annoying Aug 02 13:35:07 dawm-ipod: got it jailbroken, eh? Aug 02 13:35:36 Yeah, did it thru the browser even Aug 02 13:36:19 Jailbreakme.com Aug 02 13:55:23 Now if I could get irc to stay running in the background... Aug 02 13:55:32 heh Aug 02 13:55:37 that's what webos is for :) Aug 02 14:09:29 Yeah I know but I can keep my iPod plugged in and trust that no one here will mess with it, but my phone is a different story :) Aug 02 14:58:07 morning sunshien Aug 02 14:58:07 morning lonestar Aug 02 14:58:09 shine too Aug 02 14:58:19 hi anivrom .. rain here Aug 02 14:58:25 hey swiss Aug 02 14:58:36 sun sun sun here. stat holiday too :D Aug 02 14:58:48 rain gives no reason to go out Aug 02 14:58:50 gonna go to the beach and have a bbq in about half an hour Aug 02 15:11:31 * sugardave tries to figure out why an array.sort function that always returns 0 results in a randomly ordered array. Aug 02 15:12:12 its a feature sugardave Aug 02 15:12:31 a damn annoying one Aug 02 15:14:58 * sugardave eschews conventional wisdom and boldly uses an id attribute in his list item template. Aug 02 15:15:14 :O what insanity is this Aug 02 15:15:21 oh NOOOOOOESSSSSS!! Aug 02 15:15:41 it's fine... id="#{id}" Aug 02 15:15:41 wait. I think I do that too Aug 02 15:15:42 win Aug 02 15:16:18 * haeffb_pre gonna start a new app Aug 02 15:16:26 what's it going to do? Aug 02 15:16:31 yay new apps Aug 02 15:16:37 I love started a new project Aug 02 15:16:50 So full of potential and new opportunities Aug 02 15:20:37 sekrit stuff Aug 02 15:20:54 take notes Aug 02 15:21:04 does it involve squirrels? Aug 02 15:21:31 squirrels take nuts not notes Aug 02 15:22:09 haeffb_pre: you should consider making a game Aug 02 15:23:01 involving squirrels and rednecks Aug 02 15:23:04 oh noes Aug 02 15:23:07 * Anivrom copyrights idea Aug 02 15:23:50 not into games Aug 02 15:24:11 funny cause I'm not into apps. I only build apps out of necessity Aug 02 15:24:37 haeffb_pre: do much array.sort-ing? Aug 02 15:24:47 I have purchased a dozen webOS games and NEVER play Aug 02 15:24:57 sugardave: yes Aug 02 15:25:21 ever see when your sort function always returns 0 that you still get a re-ordered (randomly) array? Aug 02 15:25:57 why always 0? Aug 02 15:26:04 well, testing at this point Aug 02 15:26:13 but for now, all weights of terms are 0 Aug 02 15:26:16 so 0 - 0 = 0 Aug 02 15:26:18 I think Aug 02 15:26:43 hmmm Aug 02 15:27:08 not sure what it's supposwd to do in that case Aug 02 15:27:38 I often define multiple sort criteria tho Aug 02 15:28:06 like sort by weight, then title Aug 02 15:28:32 or whatever secondary criteeia you'd like Aug 02 15:29:09 morning folks Aug 02 15:29:39 alright ladies, off to a bbq on the beach Aug 02 15:29:48 good luck with your .sort sugardave Aug 02 15:31:30 supposedly, a 0 response means "do nothing/don't sort" Aug 02 15:34:02 haeffb_pre: good idea, though...I can secondary sort on id# to get the unordered list Aug 02 15:34:23 yep Aug 02 15:39:48 morn Tibfib Aug 02 15:40:21 did you get your prefs working? Aug 02 15:41:19 haeffb_pre: morning Aug 02 15:41:33 haeffb_pre: haven't started working on it... was just discussing the best way to go Aug 02 15:43:17 depot isn't difficult. I put a howto on 101 Aug 02 15:44:00 I think it's well suited for prefs Aug 02 15:44:19 Yeah I think I'll probably go depot Aug 02 15:44:35 you two-timing son of a... Aug 02 15:44:39 oh hai! Aug 02 15:45:47 good morning, all! Aug 02 15:46:02 chuqui: good morning Aug 02 15:46:06 morning, chuqui! Aug 02 15:46:51 aloha Aug 02 15:57:30 chuqui: can you find out from a Widget person if it is SUPPOSED to be impossible to use a List widget with a layout? Aug 02 15:57:57 I'll ask Aug 02 15:58:04 thanks Aug 02 15:58:23 I mean, I can make it work, but the DOM is incorrect Aug 02 15:58:36 docs make it seem like you should be able to do it.... Aug 02 15:58:41 but, those are the docs Aug 02 16:01:07 docs can Aug 02 16:01:15 ... docs can't be trusted Aug 02 16:01:41 soooo many emails to load Aug 02 16:02:25 from reading, it seems that if you use a list template (not item template), wherever you put #{-listElements} is where the item template will be rendered Aug 02 16:02:40 but, sadly, that seems to not be the case Aug 02 16:03:50 Going to attemp this _again_ Aug 02 16:04:18 hi Aug 02 16:04:36 Hola Que Tal Como Estas Aug 02 16:20:27 Restoring Palm Profile.... Aug 02 16:22:47 you think, it is alright: to add in the app descritpion: "Before leaving unfavorable feedback, let us help you." .... Aug 02 16:24:10 chuqui: for reference: http://developer.palm.com/distribution/viewtopic.php?f=92&t=8307&start=0 Aug 02 16:24:59 Lets see if everything works or is fudged up Aug 02 16:25:07 graci Aug 02 16:26:24 hey sugardave Aug 02 16:26:34 funkatron: hey hey Aug 02 16:26:40 how's YOUR list going? Aug 02 16:26:45 eh, not so good Aug 02 16:27:14 I am still having that issue with, well, mysterious empty rows Aug 02 16:27:17 that appear at the bottom of the list Aug 02 16:27:29 funkatron: is it a renderLimit problem? Aug 02 16:27:32 then when I scroll back up, now I'll have empty rows at the top Aug 02 16:27:36 Are there null thingies? Aug 02 16:27:36 sugardave: maybe? Aug 02 16:27:43 its always the null thingies... Aug 02 16:27:50 AFAICT the model itself has no null thingiies in it Aug 02 16:27:52 funkatron: do you set renderLimit in your list attribute? Aug 02 16:28:01 yes, I do Aug 02 16:28:06 it defaults to 20, which is suck Aug 02 16:28:11 I make mine about 200 Aug 02 16:28:13 okay, what should it be? Aug 02 16:28:29 ah. won't that render, say, 200*2? Aug 02 16:28:31 so 400 items? Aug 02 16:28:38 cmon, dont fail me now app cat Aug 02 16:29:10 if you have that many...I have it render that many, because if you happen to scroll past the initial render limit, BadThings(tm) can happen Aug 02 16:29:21 hrm Aug 02 16:29:27 I'm sure there is a sweet spot Aug 02 16:29:46 Gogo native app install! Aug 02 16:29:58 funkatron: are these complex items or just a couple of properties? Aug 02 16:30:14 so 2 properties Aug 02 16:30:16 1. id Aug 02 16:30:17 2. html Aug 02 16:30:33 basically I'm doing the html rendering myself because I want control structures in my templates Aug 02 16:30:34 that should be pretty simple Aug 02 16:30:39 yeah, fo sho Aug 02 16:30:45 oh Aug 02 16:30:58 you are doing Mojo.View.render for the item template contents? Aug 02 16:31:03 or do you mean something else? Aug 02 16:31:07 no, I'm not using Mojo templates Aug 02 16:31:32 except for the item template...? Aug 02 16:31:35 yes Aug 02 16:31:40 okay....weird Aug 02 16:31:44 the item template just has a placeholder where I inject the html Aug 02 16:31:48 right Aug 02 16:31:58 you're escaping it correctly, I assume Aug 02 16:32:03 yes Aug 02 16:32:05 #{-theThing} Aug 02 16:32:07 no problem with the display Aug 02 16:32:08 okay Aug 02 16:32:20 it's only an issue with scrolling down to the bottom of the list Aug 02 16:32:31 Ohhh.. I had that issue I think Aug 02 16:32:37 right, which is why I wondered if setting a higher render limit might help Aug 02 16:32:44 Twas due to the list not finishing reloading Aug 02 16:33:22 this is my assistant Aug 02 16:33:23 https://gist.github.com/b6acf131456948b43751 Aug 02 16:33:24 * halfhalo_class crosses his fingers hoping the sims 3 installs properly on his phone Aug 02 16:34:55 wait for it.... Aug 02 16:34:59 wait.............. Aug 02 16:35:26 Still waiting for it to install.... Aug 02 16:36:23 funkatron: doesn't get much simpler than that...any reason you have to use the listTemplate? Aug 02 16:37:02 not that I think that will change things... Aug 02 16:37:03 just curious Aug 02 16:37:05 not that I know of. I thought it was required actually Aug 02 16:37:11 that one is optional Aug 02 16:37:23 if you just have #{listElements} in there, you don't really need it Aug 02 16:37:32 I see Aug 02 16:38:07 man, I thought we could get this licked in short order, but I don't know what else might be happening Aug 02 16:38:29 And... looking like its failing again Aug 02 16:38:30 yeah, it's odd. like really odd Aug 02 16:40:38 funkatron: you could also set hasNoWidgets to true, since you're just rendering text in there...again probably won't make a shit Aug 02 16:40:48 right Aug 02 16:40:51 I'll tweak a little Aug 02 16:41:05 I'm wondering if my super nonstandard HTML setups are causing this, but… Aug 02 16:41:35 there's also an attribute for "rendering every other row" or something that is supposed to speed up the initial display a little Aug 02 16:41:43 huh Aug 02 16:42:00 see, the issue is that I've not been using the mojo list widget before Aug 02 16:42:14 it is bitchy Aug 02 16:42:25 but the performance turns to shit when I get more than, say, 150 items Aug 02 16:43:29 Ok, my sprint pre plus will NOT install native apps Aug 02 16:43:31 :/ Aug 02 16:43:50 Methinks it has to do with phone reporting itself as a pre vs preplus Aug 02 16:44:30 you might have to resort to one of the things I've never done...using itemsCallback and only load the entries for that screen.... Aug 02 16:46:59 OR it installed one.... Aug 02 16:49:30 sugardave: yeah, I might need to mess with it Aug 02 16:50:02 if you figure out how THAT works, you will be the List master and you could put an example on webos101 :D Aug 02 16:50:13 oh god Aug 02 16:50:14 hahah Aug 02 16:50:26 man, I dunno if I have the brain to make it work Aug 02 16:50:37 I have faith Aug 02 16:57:35 Hey all! Aug 02 17:03:03 lemketron! Aug 02 17:03:40 kesne! Aug 02 17:04:08 Actally, it's kesne_pre. Aug 02 17:04:19 uh, right. Aug 02 17:05:07 Roy-Pre101! Aug 02 17:05:28 lemketron: It's his tron-ness. Aug 02 17:05:37 lemketron: How goes? Aug 02 17:05:39 Heh. That has a nice ring to it... Aug 02 17:05:57 You guys all settled in now? Aug 02 17:06:05 Settled? I didn't even move. Aug 02 17:06:41 Mentally. Aug 02 17:06:47 Funny... I was at the San Jose Plug-in show last week where this picture was taken: http://www.engadget.com/2010/08/02/general-motors-upping-chevy-volt-production-by-50-percent-in-201/ Aug 02 17:08:14 Oh Aug 02 17:08:21 I'm in disneyland Aug 02 17:08:32 Roy-Pre101: hey! Aug 02 17:08:33 We've suspected you were goofy for a while. Aug 02 17:09:42 'morning everyone Aug 02 17:09:48 morning Aug 02 17:10:19 Hey dkirker. How goes it? Aug 02 17:10:52 lemketron: Hey! Not bad. Kinda want to be back in my bed asleep. Not sure I have much to do at work this morning. :/ Aug 02 17:22:58 anyone know where i can locate the "avaliable at palm app store" image? Aug 02 17:26:56 hey guys =) Aug 02 17:28:16 hi Nyceane Aug 02 17:30:44 LoneStar99: keen-studios.net Aug 02 17:30:49 Click either app Aug 02 17:30:55 Download the image Aug 02 17:35:41 Hi! Is there any possibility to save files to the filesystem through the current html/css/js/mojo solution in webos? Aug 02 17:39:08 kesne_pre: ok thanks Aug 02 17:39:20 was eating lunch Aug 02 17:41:24 Hi LoneStar99, do you know if there is the possibility to save files to the filesystem in the current mojo implementation? Aug 02 17:45:14 Noone? Aug 02 17:48:17 arg.. I'm tired of waiting. doctoring to 1.4.5 now Aug 02 17:48:34 I return. Aug 02 17:49:29 Did you get my question? Do you know if it's possible to save files on the filesystem with the mojo sdk? Aug 02 17:49:38 not possible Aug 02 17:49:58 :( That's not what I wanne hear...but thank you :) Aug 02 17:50:04 you could download a file from a server and save it somewhere... Aug 02 17:50:16 That's possible?! Aug 02 17:50:33 if you use the download manager you can pick where to save the file Aug 02 17:50:42 plasmasolutions: what are you trying to save? Aug 02 17:51:03 My app is trying to generate a gpx file Aug 02 17:51:19 I could send the data to a server that produces the file Aug 02 17:51:31 than save it through a download manager Aug 02 17:51:34 ... Aug 02 17:51:35 ok Aug 02 17:51:41 which is a pain... but the only solution Aug 02 17:52:08 Yes, it is Aug 02 17:52:47 that's the limitation of using a js - based system ... Aug 02 17:53:15 maybe palm could include a java service in the future that takes data and saves it to a file Aug 02 17:53:18 Tibfib: where did you get the doctor? Aug 02 17:53:24 hello Aug 02 17:53:38 kesne_pre: a magic place I'm not allowed to speak of Aug 02 17:53:55 Tibfib: :O Aug 02 17:54:28 Hey look, it's a chuqui! Aug 02 17:54:31 chuqui: did you get my email last week re: bugfix update for Done? Aug 02 17:57:35 yo, kesne. watch out for the dwarfs. I've put a contract out on you. Aug 02 17:57:50 haeffb_pre think so. digging that stuff out is next. Aug 02 17:57:59 chuqui: do not get Aug 02 17:58:17 kesne you will. just not until it's too late. (evil grin) Aug 02 17:58:56 got a bad bug & the updates been subnitted since Thurs Aug 02 17:59:12 lol at dwarfs Aug 02 17:59:16 chuqui: you work with dwarfs? Aug 02 17:59:31 Planty Eaters! Aug 02 18:00:56 dekan: good morning Aug 02 18:00:57 good morning haeffb_pre Aug 02 18:01:49 cheeky monkey Aug 02 18:02:15 yay! dekan is back Aug 02 18:02:49 ya, blame his borrowed hoster :/ Aug 02 18:03:09 i have no internet at my house, but one of my clients was nice enough to let me put my server at their place until i do Aug 02 18:03:14 hi Aug 02 18:03:23 hi Aug 02 18:04:51 spdsktr when necessary. Remember, app review is staffed by oompa loompahs. Aug 02 18:04:57 what mode is your pre supposed to be in when you doctor? Aug 02 18:05:13 nvm Aug 02 18:05:41 Tibfib: awesome mode Aug 02 18:06:02 yeah I couldn't find the button for that :P Aug 02 18:07:02 hi chuqui Aug 02 18:07:07 hey! Aug 02 18:08:00 i have 2 pending app updates for the oompas Aug 02 18:08:08 :) Aug 02 18:08:51 yay, one of them was just released Aug 02 18:09:01 it features your excellent pics, chuqui Aug 02 18:09:15 cool! Aug 02 18:11:06 i should do an app with only your pics Aug 02 18:11:28 yay! mine too. never mind chuqui Aug 02 18:12:45 * haeffb_pre wonders how long to appear in catalog... Aug 02 18:17:49 trying to find the proper encoding for "á" Aug 02 18:17:59 is it ascii ... Aug 02 18:18:13 get an ugly ass symbol in browser Aug 02 18:19:18 chuqui: Howdy. Aug 02 18:19:27 hey roy Aug 02 18:20:17 How's stuff in your world? Aug 02 18:22:21 woot woot 1.4.5 done... now let's see if it worked right :) Aug 02 18:23:55 yeah, what's up with 1.4.5 .. stuck in the carrier review? or is that something you can't comment, chuqui Aug 02 18:32:08 it takes time to orient all those bits properly... Aug 02 18:32:19 Magnets will solve that Aug 02 18:32:31 But my Sprint Pre Plus is fully working Aug 02 18:32:58 it just seems unusual for the carrier review taking that long Aug 02 18:33:10 especially now that you have a contest that started 2 weeks ago Aug 02 18:33:23 coincidence or just bad luck? Aug 02 18:33:27 yeah really what is the dear Aug 02 18:33:31 I'm a scared Aug 02 18:33:51 has the leaderboard been retooled Aug 02 18:35:39 i assume so Aug 02 18:35:57 just looked at palmhotapps.com Aug 02 18:36:02 no retoolation! Aug 02 18:38:10 are you guy sin the pdk contest? Aug 02 18:38:14 i dont even have time to be in there lol Aug 02 18:38:25 missing out on my new hp laptop =( Aug 02 18:38:40 bah, hp Aug 02 18:38:58 I'm not, I'm just here to bug everyone about 2 questions Aug 02 18:39:01 i already have an HP laptop Aug 02 18:39:10 1) is 1.4.5 out in the US 2) has the leaderboard been retooled Aug 02 18:39:20 1) no 2) probably Aug 02 18:41:59 1`.4.5 isn't out in the US. It's coming. Aug 02 18:42:19 this month? Aug 02 18:42:24 :D? Aug 02 18:42:32 the ` is because were special, isn't it Aug 02 18:42:33 we don't believe in 1.4.5 anymore Aug 02 18:42:39 v1.4.5 Aug 02 18:42:39 v1.4.5 is never coming Aug 02 18:42:43 thank you dekan Aug 02 18:42:45 it no longer exists Aug 02 18:42:55 well, then when it does show up you will all be pleasantly surprised. Aug 02 18:42:55 1.4.5 is not a version Aug 02 18:42:59 it is a state of mind Aug 02 18:43:07 dekan has spoken Aug 02 18:43:09 much like nirvana or equanimity Aug 02 18:43:32 the first step to attaining 1.4.5 is to let go of 1.4.5 Aug 02 18:43:42 "pleasantly surprised" .. whatever that means Aug 02 18:43:50 :) Aug 02 18:44:16 or do as Tibfib and just grab it with both hands. either way works. Aug 02 18:44:36 swisstomcat: who is? Aug 02 18:44:38 i'm already on 1.4.5 .. i'm waiting for 2.0 Aug 02 18:44:47 will 2.0 come to the pre Aug 02 18:44:50 haeffb: (08:42:55 PM) chuqui: well, then when it does show up you will all be pleasantly surprised. Aug 02 18:44:52 yeah, apps are restoring now :) Aug 02 18:45:03 or is that palmpad exclusive Aug 02 18:45:30 palmpad and pre cubed Aug 02 18:45:49 hah, sorry chuq... we kind of drove him off :) Aug 02 18:45:50 ipad,blackpad,palmpad,whateverpad Aug 02 18:45:54 god Aug 02 18:45:57 why RIM why Aug 02 18:46:03 blackpad is MUCH worse than palm pad Aug 02 18:46:03 blackboard would have been awesome Aug 02 18:46:17 lol Aug 02 18:46:23 palm slate? Aug 02 18:46:28 it's a board, it's black, the name is BB just like the phones Aug 02 18:46:44 and you could push it hard in the education sector or something silly like that Aug 02 18:46:46 palmtop Aug 02 18:46:51 palm pilot Aug 02 18:46:55 Grow Wings™ Aug 02 18:47:05 Life moves fast. Grow wings. Aug 02 18:47:12 haeffb_pre: gonna doctor to 1.4.5? Aug 02 18:47:35 fairly painless... just lost all my homebrew apps :( hopefully save/restore to the rescue Aug 02 18:47:54 nah. not much in there afaik Aug 02 18:48:06 idk, it seems pretty magical to me Aug 02 18:48:20 since I don't play games Aug 02 18:48:50 REALLY?!!?!? Aug 02 18:49:04 I can't tell a difference ... Aug 02 18:49:17 I can't see a difference* Aug 02 18:50:51 like seriously... why isn 't this available yet? Aug 02 18:52:04 I blame chuqui Aug 02 18:52:30 probably Aug 02 18:52:42 poor chuqui .. has to take all blame .. it's probably the carriers fault Aug 02 18:53:03 wasn't 1.4.5 released to the carriers like 1 month ago? Aug 02 18:53:17 o2 release it very fast Aug 02 18:53:21 released Aug 02 18:53:41 dekan: is 1.4.5 out yet? Aug 02 18:53:42 GIVE IT A REST, WILL YA!? Aug 02 18:53:53 & then we found it was broke Aug 02 18:55:02 haeffb_pre: but we were told that didn't effect their release Aug 02 18:55:06 fix the bug and release it to the carriers again? Aug 02 18:55:16 nah, they didn't do that Aug 02 18:55:28 so what's the holdup .. summertime? Aug 02 18:55:43 HP? Aug 02 18:55:49 why? Aug 02 18:56:00 o2 released it Aug 02 18:56:02 buyout angst? Aug 02 18:56:02 that's the thing. we have no idea. at all. for all we know someone at palm forgot to push the button "launch 1.4.5" Aug 02 18:56:13 chuqui Aug 02 18:56:15 and there's silence everywhere Aug 02 18:56:16 yeah that's what I feel like Aug 02 18:56:23 someone was about to push the button Aug 02 18:56:27 but then an AT&T sniper got him Aug 02 18:56:29 why isn't there an official statement? Aug 02 18:56:38 silence is frustrating Aug 02 18:56:38 because the masses don't care yet Aug 02 18:56:39 except "it's coming" Aug 02 18:56:46 yeah honestly. palm needs to say SOMETHING Aug 02 18:56:57 palm said "it's coming" Aug 02 18:57:05 or because HP's ready to dissolve Palm and bring back the iPaw Aug 02 18:57:07 iPaq Aug 02 18:57:07 a lot of things are coming Aug 02 18:57:17 The WebOS iPaq Aug 02 18:57:17 :D Aug 02 18:57:23 only to be sold unlocked to enterprise customers Aug 02 18:57:25 enjoy! Aug 02 18:57:29 heh Aug 02 18:57:33 All future questions of "When is it coming" shall henceforth be answered by: http://www.sheetmusicdigital.com/pdf/9/1/1/10000119.png Aug 02 18:57:36 also the screen is QVGA Aug 02 18:57:57 and it will have 128MB of internal storage Aug 02 18:58:09 QVGA!?!?! SURELY NOT! Aug 02 18:58:10 that's even more helpful than palm's statement, spdsktr :) Aug 02 18:58:19 s/SURELY/SHIRLEY/ Aug 02 18:58:23 Shorely Aug 02 18:58:25 dekan, when is it coming? is sigh, http://www.sheetmusicdigital.com/pdf/9/1/1/10000119.png Aug 02 18:58:25 Okay, Tibfib. Aug 02 18:58:26 swisstomcat: :) but you already have it! Aug 02 18:58:29 when is it coming? Aug 02 18:58:29 sigh, http://www.sheetmusicdigital.com/pdf/9/1/1/10000119.png Aug 02 18:58:35 scoobysnack Aug 02 18:58:35 Scoobydoobeedoo! Aug 02 18:58:39 botsmack Aug 02 18:58:39 * dekan dodges your attack and parries with bananas. Aug 02 18:58:56 this is gonna be murder for my inline image irc client Aug 02 18:58:57 :( Aug 02 18:58:58 insolent bot! Aug 02 18:59:00 when is it coming Aug 02 18:59:00 sigh, http://www.sheetmusicdigital.com/pdf/9/1/1/10000119.png Aug 02 18:59:16 torchie: i disabled that in Limechat, i have too many NSFW channels :) Aug 02 18:59:22 lol Aug 02 18:59:31 spdsktr: i do, but i also care for my poor american brothers Aug 02 18:59:59 represent Aug 02 19:00:06 * torchie pound Aug 02 19:00:12 now let's all take a trip to the blackpad Aug 02 19:00:28 swisstomcat: thanks, but it's about time we got held up on a new release Aug 02 19:00:47 why is that? Aug 02 19:00:50 just wish it didn't affect PDK stuff Aug 02 19:01:03 huh. app restore after re logging into profile doesn't restore beta apps Aug 02 19:01:12 yeah Aug 02 19:01:17 that's dumb Aug 02 19:01:32 now I have to find the links and install them again :( Aug 02 19:01:46 yeah Aug 02 19:01:51 use appscoop Aug 02 19:01:56 or preware Aug 02 19:02:02 yeah Aug 02 19:02:11 a few are not in the feeds Aug 02 19:03:49 I wonder if the app restore will work correctly if I restart my pre... I assume it will Aug 02 19:03:55 let's see! Aug 02 19:04:30 afternoon, everyone Aug 02 19:04:50 hi hattczech Aug 02 19:05:51 why isn't developer mode enabled by default? what's the downside to it? Aug 02 19:07:01 it's too awesome Aug 02 19:07:20 that makes sense Aug 02 19:07:37 it's not necessary for "normal" users Aug 02 19:07:43 non-developers Aug 02 19:07:58 yeah but does it hurt anything? Aug 02 19:08:33 I think it would be a cool thing for palm to say, "webos phones are jailbroken from the start" Aug 02 19:09:10 tibfib: security reasons I do believe Aug 02 19:09:11 not for "normal" users Aug 02 19:09:32 spdsktr: that would make sense Aug 02 19:09:53 imagine a virus that could remotely install apps via bluetooth Aug 02 19:10:03 I know it's not possible now, but once api's are opened up... Aug 02 19:10:57 true Aug 02 19:37:03 my touchstone is buzzing, should I be worried Aug 02 19:37:07 about the future of mankind Aug 02 19:38:03 just don't put it near your junk Aug 02 19:43:57 you should be worried, but not because of the touchstone... Aug 02 19:45:47 get it implanted in your hand so whenever you hold your pre its charging Aug 02 19:45:55 and the magnets will make you less likely to drop it xD Aug 02 19:47:30 oil: but how would you power it? farts? Aug 02 19:47:41 that seems like the most logical solution Aug 02 19:48:07 haha Aug 02 19:53:17 farts make the world go round Aug 02 20:00:24 hmm.. how do you change an element's style with prototype (mojo) ? tried setStyle but it says Object [object HTMLDivElement] has no method 'setStyle' Aug 02 20:00:31 weird.. Aug 02 20:00:52 warpdesign what is your code? Aug 02 20:01:06 $$('.splashBackground').setStyle({opacity: '0'}); Aug 02 20:01:26 .style should be enough Aug 02 20:01:29 why double $$? Aug 02 20:01:59 $('splashBackground).style='opacity:0' Aug 02 20:04:52 element.style.opacity = 0; Aug 02 20:05:04 element.isAToaster=1 Aug 02 20:05:19 warpdesign: mine is correct, halfhalo_class is a doofus Aug 02 20:05:30 Fine, you get no toast Aug 02 20:06:09 now that is a novel idea...make my own x-mojo-element Aug 02 20:06:38 probably not for this app, but good to know for the FUTURE FUTUre Future Fu.... Aug 02 20:07:20 PAST Aug 02 20:07:21 warpdesign: try Mojo.Controller.stageController.activeScene().get('splashBackground').setStyle({ opacity: '10'}); Aug 02 20:07:46 hmm.. Aug 02 20:07:53 use mine! Aug 02 20:07:54 use mine! Aug 02 20:08:06 double cause I'm not selecting an id Aug 02 20:08:50 sugardave: wanna use prototype, not direct style access when possible :) Aug 02 20:09:07 warpdesign: double $$ what selecting class? Aug 02 20:09:19 $$ allows to select anything Aug 02 20:09:21 this.controller.selec('.whateverClass').each(function(item, index){item.style.opacity = 0;}); Aug 02 20:09:25 much like jQuery's $ Aug 02 20:09:26 select, too Aug 02 20:09:35 each is Prototype-y :D Aug 02 20:09:35 $ restricts to selecting ID (getElementById) Aug 02 20:09:42 warpdesign: good to know thanks Aug 02 20:10:07 or is it... o_0 Aug 02 20:10:22 taking a break from app development till tommorrow Aug 02 20:10:27 I think setStlye may break for you unless you are setting all the style with it Aug 02 20:10:33 don't know, don't use it Aug 02 20:10:42 hmm.. that's not what the Prototype doc says Aug 02 20:10:46 something else must be wrong Aug 02 20:11:03 20 bucks says guest rejoins and leaves again trying to talk Aug 02 20:11:04 warpdesign: I could be wrong on that Aug 02 20:11:44 warpdesign try "Mojo.Controller.stageController.activeScene().get('splashBackground') ... " Aug 02 20:14:24 LoneStar99: that won't work if he doesn't have IDs on those divs Aug 02 20:14:45 hmm.. Aug 02 20:16:06 sugardave: oh yeah good point... Aug 02 20:16:41 oh shit, my each thing won't work either Aug 02 20:16:41 warpdesign: is it a dynamic div? Aug 02 20:16:56 have to wrap the nodelist in $A() to make it be .each-able Aug 02 20:17:09 warpdesign: why are you trying to change the splashBackground's opacity? Aug 02 20:17:14 I don't think it will work Aug 02 20:18:07 $A(this.controller.select('.whateverClass')).each(function(item, index){item.style.opacity = 0;}); Aug 02 20:18:10 that's better Aug 02 20:19:45 humm.. Aug 02 20:20:19 Tibfib: It's my splash :) I want to fade it in ;) nothing to do with Palm's app splash icon.. Aug 02 20:20:39 oh okay Aug 02 20:20:44 boy IE is up in usage for two months in a row... IE really sucks, so heavy Aug 02 20:20:55 and old Aug 02 20:21:04 warpdesign: are you getting an error or something? Aug 02 20:21:11 aloha Aug 02 20:21:19 Anivrom: hello Aug 02 20:21:21 a bad browser that comes with the most widely distributed desktop operating system, Aug 02 20:21:24 also arguably bad Aug 02 20:21:49 free cancer for the internet! Aug 02 20:22:21 torchie: yeah - it totally sucks, but building a site for a friend and his primary browser is IE =( Aug 02 20:22:31 get a new friend Aug 02 20:22:36 one that knows Aug 02 20:22:42 my mom still uses IE6 :( Aug 02 20:22:58 once I installed the latest firefox and she was like Aug 02 20:23:00 i dont like it Aug 02 20:23:22 but at the same time she doesn't like plugins, adware, or unsecure connections Aug 02 20:23:40 change the IE shortcut to launch Iron instead Aug 02 20:24:03 sugardave: yeah good idea Aug 02 20:24:18 haha nice http://www.precentral.net/app-gallery/app-catalog/crusade-of-destiny Aug 02 20:24:38 wow Aug 02 20:24:51 looks hot Aug 02 20:25:01 sugardave: I'm trying to understand what I got wrong.. Aug 02 20:25:04 glad I doctored to 1.4.5 :) Aug 02 20:25:26 tibfib: there's a 1.4.5 doctor out there for sprint? Aug 02 20:25:29 me too :) Aug 02 20:25:32 i personally use Opera as my primary browser and firefox for debugging websites etc... Aug 02 20:25:40 as primary I use Aug 02 20:25:41 gasp Aug 02 20:25:43 Safari Aug 02 20:25:53 torchie: if you are special... ie early cough access Aug 02 20:25:53 <3 Chrome Aug 02 20:25:57 U! Aug 02 20:26:01 I use chrome on windows Aug 02 20:26:01 maik: +1 Aug 02 20:26:36 ff Aug 02 20:26:42 iron, yo Aug 02 20:29:00 chrome and ff (linux,x64) Aug 02 20:29:06 i like safari on macos Aug 02 20:29:52 ok, got it Aug 02 20:30:01 $$ returns an array Aug 02 20:30:05 yep Aug 02 20:30:26 getElementsByClassName Aug 02 20:30:53 Good night Aug 02 20:31:02 night hotdp Aug 02 20:31:05 night Aug 02 20:31:16 laters hotdp Aug 02 20:31:46 warpdesign: you got it working? Aug 02 20:31:51 yeah Aug 02 20:31:55 ok, it's progressing further Aug 02 20:32:18 now I need to understand why my scene's cleanup() is called before the setup :) Aug 02 20:32:39 warpdesign: that shouldn't happen Aug 02 20:32:41 $$('.foo')[0] will do the trick (in case you target only one element of course) Aug 02 20:32:53 otherwise should use each(), as you said Aug 02 20:32:59 mmm, <3 Tim's Jalapeño chips Aug 02 20:33:01 shouldn't, but it does :) Aug 02 20:33:02 splash scene cleanup will occur before next scene setup Aug 02 20:33:38 warpdesign: i have some weird bug when opening a new scene myself Aug 02 20:34:59 hmm.. when is the stage supposed to be activated ? Aug 02 20:35:23 warpdesign: constructor->setup->readyToActivate->activate Aug 02 20:35:25 oh Aug 02 20:35:26 stage Aug 02 20:35:27 ? Aug 02 20:35:45 I think it has a similar lifecycle Aug 02 20:35:57 warpdesign: $$('.splashBackground')[0].setStyle({opacity: '0'}); works then? Aug 02 20:37:03 sugardave: ok. So I'm not supposed to see any scene activation before the stage got activated, right ? Aug 02 20:37:05 LoneStar99: yes Aug 02 20:38:03 Hey all! Aug 02 20:38:12 warpdesign: true, stage has to be active before a scene gets active Aug 02 20:38:23 ok Aug 02 20:38:29 something must go really wrong then :) Aug 02 20:38:59 I said hello! Aug 02 20:39:01 Anivrom: Aug 02 20:39:11 ChanServ: hey buddy! Aug 02 20:39:12 hi Aug 02 20:39:33 :) Aug 02 20:40:30 chuqui: ! Aug 02 20:40:37 yo Aug 02 20:40:41 hi kesne_pre Aug 02 20:40:57 hello chuqui Aug 02 20:41:12 RUN Aug 02 20:41:15 Wait, what? Aug 02 20:41:56 hey ho, all. Aug 02 20:42:07 chuqui: you calling me a hoe? Aug 02 20:42:11 * Anivrom is offended Aug 02 20:42:52 no, but if it'll make you feel better, I'll call you a three pronged cultivator Aug 02 20:43:00 :( Aug 02 20:43:23 worthless rake.... Aug 02 20:43:25 So i'm just a farming tool to you? I thought we had something Aug 02 20:43:54 lol Aug 02 20:43:57 you thought WRONG Aug 02 20:44:01 apparently Aug 02 20:44:20 thats ok I have a new boyfriend and her name is wifey Aug 02 20:44:26 dekan, Anivrom is a farming tool Aug 02 20:44:26 Okay, Tibfib. Aug 02 20:44:31 sugardave: actually it seems that's the stage only gets activated once a scene has been pushed Aug 02 20:45:17 what is anivrom Aug 02 20:45:17 anivrom is a farming tool Aug 02 20:45:20 hmmm...that doesn't seem right, but it could be...I only deal with single-stage apps and haven't had to do anything fancy with stage events Aug 02 20:45:26 lies] Aug 02 20:45:50 goodnight everyone Aug 02 20:45:55 night Aug 02 20:45:57 night Aug 02 20:46:03 i'll be back Aug 02 20:46:10 oh noes! Aug 02 20:46:23 muhuaahahahah Aug 02 20:46:38 * swisstomcat exits the stage left Aug 02 20:46:41 chuqui: is steven back from wherever he was? Aug 02 20:47:53 um... not sure. Aug 02 20:48:06 no love on that thread? Aug 02 20:48:11 not yet :/ Aug 02 20:48:16 what's teh URL? Aug 02 20:48:31 https://developer.palm.com/distribution/viewtopic.php?f=11&t=7675 Aug 02 20:51:11 hmm.. what is that supposed to mean ? "Warning: indicated new content, but not active." Aug 02 20:51:19 nothing Aug 02 20:51:39 Its just a general webos error that has no meaning to us devs. Aug 02 20:52:14 prolly for devs that work on the actual webos Aug 02 20:52:22 Would have more meaning Aug 02 20:52:39 like they say if it dont break it dont fix it Aug 02 20:53:56 ok Aug 02 20:54:09 thought it was hapenning cause I was doing something wrong maybe.. Aug 02 20:54:18 WebOS has a lot of things that cause error messages Aug 02 20:54:22 nah I get that error allt he time Aug 02 20:54:28 They didn't remove their try/catch Aug 02 20:54:30 even if nothings wrong in my app Aug 02 20:55:32 webos has less errors/crashes than iOS.. i swear my ipod has had 1000s of app crashes.. even stock iOS apps Aug 02 20:55:36 warpdesign: I think if you do not have a handleLaunch method in your stage controller you get that error message Aug 02 20:55:41 lols Aug 02 20:55:45 however.. Aug 02 20:55:47 i.e. I never do handleLaunch and I always get that error Aug 02 20:55:54 dawm|laptop: +1 Aug 02 20:56:03 i have to give a nod to the people that made jailbreaking thru a website possible ;p Aug 02 20:56:13 i jailbroke my ipod today while at work Aug 02 20:56:26 I think typing the konami code is cooler :) Aug 02 20:56:30 well, we don't need to have stuff liek that since we dont need to jailbreak Aug 02 20:56:49 Tibfib: http://www.jailbreakme.com was pretty simple too Aug 02 20:56:56 so I dropped my pre on the macbook keyboard and the computer hard-froze Aug 02 20:57:06 dawm|laptop: looks pretty cool Aug 02 20:57:13 penguin strikes again! Aug 02 20:57:26 i dunno how it does what it does thru safari, but it did it within 5minutes Aug 02 20:57:37 ok Aug 02 20:57:42 sugardave: handleLaunch ? Aug 02 20:57:44 didnt even reboot it Aug 02 20:58:13 btw when it's safe to play with my scenes elements ? in the setup method or do have i to wait for the activate handler ? Aug 02 21:03:42 warpdesign: you cannot guarantee access to this.controller in setup Aug 02 21:03:48 so, better use activate Aug 02 21:03:55 er sorry Aug 02 21:04:07 can't guaranteee it in the constructor Aug 02 21:04:11 so you can use in setup Aug 02 21:04:14 my bad :) Aug 02 21:05:58 he he Aug 02 21:06:08 ok Aug 02 21:06:51 now that i can use internalz to modify my optware configs... what else do i need to re-enable ssh? Aug 02 21:07:06 i configured dropbear... but i probably need some user configs... Aug 02 21:07:20 and now that i'm asking, i realize i should probably ask in webos-internals Aug 02 21:07:27 warpdesign: http://developer.palm.com/index.php?option=com_content&view=article&id=1794&Itemid=20#TheBasicsStages-CreatingAStage Aug 02 21:07:31 example of handleLaunch Aug 02 21:07:50 ok, let's see Aug 02 21:07:55 pfft, use webos101 for multistage Aug 02 21:08:33 oh there you go, then Aug 02 21:08:42 * sugardave knows nothing about it. Aug 02 21:09:57 anyone who's talking about multistage ? :) Aug 02 21:10:53 now I got something weird: can't set the opacity to 1.. but 0.5 (for example) works Aug 02 21:10:57 ?? Aug 02 21:13:45 how are you setting it Aug 02 21:13:51 code example? Aug 02 21:18:59 $$('.foo').setStyle({opacity: 1}) Aug 02 21:19:15 try this Aug 02 21:19:15 tried with "1", with 1.0, with "1.0", and tried setOpacity() shortcut as well Aug 02 21:19:23 weird Aug 02 21:19:24 .style.opacity = 1; Aug 02 21:19:29 yeah, yeah Aug 02 21:19:45 but that's what I did, but it doesn't explain why setStyle() fails Aug 02 21:19:49 it might be retarded but try 1.0 Aug 02 21:19:55 did it Aug 02 21:20:09 .style.opacity is the sure fire way Aug 02 21:20:34 well actually thats not true Aug 02 21:22:08 lol @ sugar_dave's retweet Aug 02 21:24:07 hmm... Aug 02 21:24:11 "Element.show cannot display elements hidden via CSS stylesheets." Aug 02 21:24:21 that explains some problem I'm having.. that's weird Aug 02 21:24:23 howdy Aug 02 21:25:34 (h) Aug 02 21:25:43 but that's nonsense.. I don't get it Aug 02 21:25:57 wow this place is dead! Aug 02 21:26:14 We are all busy building the app of the century Aug 02 21:26:38 really? you figured out how to mute my wife? whoooohooooo Aug 02 21:26:54 tisk tisk Aug 02 21:26:55 :P Aug 02 21:27:01 hehe Aug 02 21:27:55 c ya Aug 02 21:28:00 cya Aug 02 21:44:29 heh sucks for switchedgear Aug 02 21:47:42 hmm.. moving jQuery to Prototype isn't so easy after all :) Aug 02 21:53:02 is it possible to alter/hide the title of a video being played through com.palm.app.videoplayer? Aug 02 22:06:44 answer: yes, set videoTitle as a parameter to the service call Aug 02 22:08:42 sugardave: add it to webos101 :) Aug 02 22:08:51 I'm looking for a good place Aug 02 22:09:34 nice Aug 02 22:12:00 in snippets now Aug 02 22:17:33 hey guys, i m leading by like 75 points now lol Aug 02 22:17:42 but competitor just got like 40 points in like past 2 hours =( Aug 02 22:18:01 Nyceane: is it the kid app comp? Aug 02 22:18:06 yah Aug 02 22:18:10 =) Aug 02 22:18:10 nyceane, I bet he's email exploiting Aug 02 22:18:21 hopefully, ip can be tracked tho Aug 02 22:18:25 ip/browser version Aug 02 22:18:46 I thought about cheating, but if i can detect that myself using google analytic, its very easy for them to detect with better tools Aug 02 22:18:56 Nyceane: when does the comp end? Aug 02 22:19:00 8/12 Aug 02 22:19:09 ok Aug 02 22:19:36 its hard to see that he's got like almost 50 votes within past 2 hours Aug 02 22:19:52 words by words, i know how hard it is to pass the words around, etc Aug 02 22:20:01 yeah that seems very weird Aug 02 22:20:09 if he gets 100 votes within short time, I can ask for an audit Aug 02 22:20:19 since my votes are clean, lol Aug 02 22:20:24 yeah Aug 02 22:20:29 what version of prototype is being used in Mojo ? anyone knows if it has been tweaked ? Aug 02 22:20:46 tibfib might know Aug 02 22:21:18 warpdesign: i believe 1.5 atleast Aug 02 22:21:59 ok Aug 02 22:22:14 seems like store/retrieve weren't available in this version... sigh.. Aug 02 22:23:58 warpdesign: an older one Aug 02 22:24:04 Prototype 1.5 something Aug 02 22:24:12 alright Aug 02 22:24:13 version 1.6.0.3 Aug 02 22:24:18 oh? Aug 02 22:24:22 that high? Aug 02 22:24:51 hmmm, I don't think it's true... but that's what the prototype js file in the framework says Aug 02 22:25:45 oh, that version is still from 2008 Aug 02 22:25:49 Tibfib: webos is using 1.6.0.3? Aug 02 22:26:00 apparently Aug 02 22:26:08 wow Aug 02 22:26:08 yeah, but Tibfib has that fancy new 1.4.5 Aug 02 22:26:13 check out C:\Program Files\Palm\SDK\share\refcode\webos-framework\330\builtins Aug 02 22:26:20 dont think its any different haeffb Aug 02 22:26:20 haeffb: don't have 1.4.5 sdk Aug 02 22:26:25 lol Aug 02 22:26:33 why not? it's been published... Aug 02 22:26:48 lazy Aug 02 22:26:58 I got everything up to date but idk how to check prototype Aug 02 22:27:27 17:26 < Tibfib> check out C:\Program Files\Palm\SDK\share\refcode\webos-framework\330\builtins Aug 02 22:27:38 I just compared webos' prototype to regular prototype 1.6.0.3...WAY different. no wonder we are behind so much Aug 02 22:27:49 it's "heavily modified" Aug 02 22:27:56 heh Aug 02 22:29:03 ok so how do you guys handle db corruption for data that is a little more 'important' and 'larger' than simple app preferences Aug 02 22:29:05 ok Aug 02 22:29:17 not surprising some methods aren't available then Aug 02 22:29:24 Anivrom: attack the money source? Aug 02 22:29:37 hum? Aug 02 22:30:45 ah I see what happened. I changed the appinfo.json and it booted up a 2nd app and I already had the first one running, so it was a clean db Aug 02 22:30:56 atleast I think thats what happened O_o Aug 02 22:33:07 ok, we're getting there: got the cards displayed :) Aug 02 22:45:02 ok, done Aug 02 22:45:06 that will be a nice article :) Aug 02 22:45:44 warpdesign: whatcha working on? Aug 02 22:48:56 Tibfib: I'm planning to release the sources of my first webos game. I'm cleaning it up and decided to move from jQuery to mojo/prototype Aug 02 22:49:41 cool, what's the game about? Aug 02 22:52:00 it's a solitaire game Aug 02 22:52:19 got it mostly working now. Aug 02 22:52:33 seems like startup is quite slow, I'll see what I can do to speed it up Aug 02 22:52:41 anything mind blowing that other solitaire games dont have? Aug 02 22:52:57 You use canvas? Aug 02 22:53:07 it's free, got nice graphics, auto save game, saves score,.. Aug 02 22:53:12 no Aug 02 22:53:18 dom Aug 02 22:53:19 ? Aug 02 22:53:23 yep Aug 02 22:53:27 noice noice Aug 02 22:53:34 whoa interesting Aug 02 22:53:44 I also switched from jQuery/animate() to transitions Aug 02 22:53:52 only had some transitions Aug 02 22:53:56 any AJAX experts around? Aug 02 22:54:02 webkit is good for transitions for me Aug 02 22:54:10 haeffb: not expert, but ask still :) Aug 02 22:54:13 haeffb: how "expert"? Aug 02 22:54:27 haeffb: I thought 'you' were the expert :P Aug 02 22:54:30 expert: "able to help me get this working" Aug 02 22:54:39 haha Aug 02 22:54:42 Anivrom: yes, although webkit found in webos lacks some intersting stuff, and.. 3d acceleration for transitions ;) Aug 02 22:54:47 post your question Aug 02 22:54:47 trying to do a simple login using POST Aug 02 22:54:53 in ajax ? Aug 02 22:55:19 yes. Prototypes Ajax.request Aug 02 22:55:32 they want the post body encoded in base64 Aug 02 22:55:42 fairly simple Aug 02 22:55:43 is it cross domain ? (ou can't do ajax post cross domain) Aug 02 22:55:50 mojo doesn't care Aug 02 22:56:02 oh it doesn't ? Aug 02 22:56:07 nope Aug 02 22:56:15 haeffb: what's the problem? Aug 02 22:56:16 hmm.. it's ,not "ajax" then i guess :) Aug 02 22:56:21 ok Aug 02 22:56:41 haeffb: you can download base64.js and its 1 line to encode Aug 02 22:57:01 that's what I do Aug 02 22:57:11 just a sec... Aug 02 22:57:22 I have a .js file that has md5 and base64 functions Aug 02 22:58:38 http://www.pastie.org/1071822 Aug 02 22:58:58 I have a Base64.js already Aug 02 22:59:10 but with that code, I get a 405 error response Aug 02 23:01:08 http://www.pastie.org/1071828 might work Aug 02 23:02:43 I asked for an audit Aug 02 23:03:09 haeffb: I think you'd have to base64 the password and email individually Aug 02 23:03:38 not sure, not an expert... just know how to do how I do it :) Aug 02 23:03:46 they want the whole thing base64 encoded... Aug 02 23:03:59 encode it first then do request? Aug 02 23:04:09 "The entire request body should be encoded in base64." Aug 02 23:04:12 or the whole request Aug 02 23:04:15 interesting Aug 02 23:04:17 then what you posted should work Aug 02 23:04:27 maybe I need a different base64 Aug 02 23:04:29 have you examined the base64 code? Aug 02 23:05:37 here's mine: http://webos.pastebin.com/mX6bapmX Aug 02 23:09:37 Tibfib: I think that's the one I'm using. Looks awfully similar Aug 02 23:11:26 I thought you usually encode username:password and push that in the headers somehow Aug 02 23:12:20 Authentication header or Authorization header, I can't remember Aug 02 23:13:03 here's their instructions: http://webos.pastebin.com/FtAFHDis Aug 02 23:13:09 maybe I'm reading them too literally... Aug 02 23:15:07 parameters: {email: Base64.encode(email), password: Base64.encode(password)} doesn't work? Aug 02 23:15:33 that's what I thought Aug 02 23:15:36 nope. Fails spectacularly Aug 02 23:15:41 -_- Aug 02 23:15:41 nice Aug 02 23:15:53 atleast it's spectacular right? Aug 02 23:16:08 oh well. I give up. So much for my app idea that will save the world. Aug 02 23:16:15 lol Aug 02 23:16:22 why dont you fire off an email/ Aug 02 23:16:27 and come back to it another day Aug 02 23:17:06 query = Base64.encode('email=' + email + '&password=' password); and then use query at the end of your url, with no parameters? Aug 02 23:29:02 who is trying to use base64_encode? Aug 02 23:29:23 haeffb Aug 02 23:30:18 i used this in my app and work great with php: http://phpjs.org/functions/base64_encode:358 Aug 02 23:31:23 sugardave: nope Aug 02 23:31:44 haeffb: use the above link Aug 02 23:32:15 have tested it hundreds of times and works great Aug 02 23:32:39 as simple as "base64_encode(myVar)" Aug 02 23:32:46 good night Aug 02 23:32:47 lonestar, he's not having trouble with that Aug 02 23:32:51 Scroll up Aug 02 23:32:51 :) Aug 02 23:33:01 goodnight warp Aug 02 23:33:10 laters warp Aug 02 23:33:10 and thanks for the help Aug 02 23:34:23 no, I think the base64 encoding is fine. I need to talk to the api keepers or sumthin. Aug 02 23:34:39 yea thats what I was saying, just fire off an email and sit on it Aug 02 23:35:41 haeffb: do you have something encoded in base64? i can test it with my php script Aug 02 23:36:17 LoneStar99: he's running base64.js Aug 02 23:36:29 So it shouldnt be a problem with encoding or decoding Aug 02 23:37:15 anivrom: that is fine, but sometimes the encoding is screwed up Aug 02 23:37:33 Dont know how it could be on a widely distributed .js Aug 02 23:38:24 true that Aug 02 23:38:37 arg, do that all the time, put a period instead of a , and it breaks the whole scene lol Aug 02 23:38:57 the font in ares makes . and , seem almost the same Aug 02 23:38:58 ok need to go for a jog Aug 02 23:40:36 following style matters for multiple toggles in a palm-list...and only the first toggle in the dom will take taps Aug 02 23:40:39 wtf? Aug 02 23:40:52 lulz Aug 02 23:40:55 docs ftw Aug 02 23:41:05 no, actual working code Aug 02 23:41:08 in style matters Aug 02 23:41:14 but still docs Aug 02 23:41:26 but see, it works in style matters Aug 02 23:41:33 oh I see Aug 02 23:45:25 why do some ppl even join this channel? they never talk, ever Aug 02 23:47:23 bots Aug 02 23:47:31 like, botnet bots Aug 02 23:47:35 I know some arent bots Aug 02 23:48:06 10 minutes later my pre boots up..... Aug 02 23:49:27 Hello. I am dkirker, and I am a bot. Are you a bot too? Aug 02 23:49:28 :D Aug 02 23:49:52 botbotbotbot Aug 02 23:49:54 oh hai i r teh botz 2 Aug 02 23:49:58 PINEAPPLE Aug 02 23:50:04 NOM NOM NOM Aug 02 23:50:06 pineapple is great, halfhalo_class Aug 02 23:54:00 botsnack Aug 02 23:54:00 * dekan nom nom nom Aug 02 23:54:14 is dekan a bot? Aug 02 23:54:14 NO! Aug 02 23:54:19 oh, phew Aug 02 23:54:57 is dkirker a bot? Aug 02 23:55:31 dekan: Is dkirker a bot? Aug 02 23:55:31 I do not know. Aug 02 23:55:36 lol Aug 02 23:55:54 dekan: is dkirker a bot? Aug 02 23:55:54 Well, I'd prefer not to say... Aug 02 23:56:02 hehe Aug 02 23:56:05 :D Aug 02 23:59:22 * Anivrom wishes he had some snacks. Aug 02 23:59:30 lol Aug 02 23:59:33 I got teh munchies Aug 03 00:00:07 * haeffb confirms the base64 encoding is correct. Aug 03 00:03:48 GUYS Aug 03 00:03:55 I am now Aug 03 00:03:57 looking at Aug 03 00:03:59 a banner ad Aug 03 00:04:02 for the palm hot apps promotion Aug 03 00:04:07 sweet Aug 03 00:04:21 just intime for 1.4.5 to not rollout Aug 03 00:04:31 yeah pretty much. Aug 03 00:06:03 and what of the leaderboard! Aug 03 00:07:53 anyone got their winnings yet? Aug 03 00:10:41 i dont have it yet =( Aug 03 00:10:49 i m suppose to get few Gs Aug 03 00:10:51 which app did you win for? Aug 03 00:10:56 Fantasy Chat Aug 03 00:10:58 Audio Blaster Aug 03 00:11:06 Interesting Aug 03 00:11:15 Audio Blaster was ranked #50 Aug 03 00:11:34 and one that didn't make it, but they'll give me 1G anyway Aug 03 00:11:42 O_O Aug 03 00:16:44 ah, tricky tricky....my scroller's wrapper was intercepting my tap Aug 03 00:16:51 lol Aug 03 00:16:57 you were working on it this whole time? Aug 03 00:17:01 no Aug 03 00:17:03 ate dinner Aug 03 00:17:03 oh Aug 03 00:17:19 I don't get to use fancy tools like Inspector Aug 03 00:17:30 :D Aug 03 00:17:32 so, turned on event sniffing and was enlightened Aug 03 00:17:55 -webkit-palm-mouse-target: ignore; is the answer Aug 03 00:18:33 where would that go? Aug 03 00:18:48 in css Aug 03 00:18:54 I'm assuming you have reverse propogation in order for that to be a problem? Aug 03 00:19:27 no, I have pre-empted a single scene to be a 3-tab multi-mini-scene. two tabs have a scroller, the 3rd is for preferences Aug 03 00:20:01 I do that same thing Aug 03 00:20:07 in my inventory and shop scenes Aug 03 00:20:15 hide and show the lists Aug 03 00:20:31 yep, but I didn't hide my wrapper, since there's nothing else in it Aug 03 00:20:49 I dont either Aug 03 00:20:53 Just the list widgets Aug 03 00:21:29 well, for me, the scroller wrapper comes before the preferences widgets, and its top happens to align perfectly with toggles 2 through the bottom Aug 03 00:21:46 so if it isn't hidden, it's a big transparent square hogging all the taps Aug 03 00:21:53 mhmmm Aug 03 00:25:06 there we go, smart ordering and shuffle now work nicely together Aug 03 00:25:28 there's a reorder event for lists right? Aug 03 00:25:38 listReorder I think Aug 03 00:25:50 just trying to think of whats possible Aug 03 00:26:21 anything is possible Aug 03 00:26:28 to those that believe Aug 03 00:30:44 Can anyone help me with a complicated css problem?!?! Aug 03 00:33:06 pl0x11!1elevel!1one Aug 03 00:37:25 sugardave: how do I hide/reveal a div inside a list items template? would I be able to change each list items class individually and then setup 2 classes with display:block and display:none for the div? Aug 03 00:37:33
#{invCount} Aug 03 00:37:33
Aug 03 00:42:27 element.show(); Aug 03 00:42:30 element.hide(); Aug 03 00:42:41 how do I access element? Aug 03 00:43:06 in the context of a list item Aug 03 00:45:37 hmm I have managed to find it in the ares dom tree of event Aug 03 00:45:46 but its so nested I doubt I could access it this way Aug 03 00:46:18 I do in my listTap event Aug 03 00:46:36 className = event.originalEvent.target.className Aug 03 00:47:06 event.srcElement.firstElementChild.firstElementChild is the tree Aug 03 00:47:46 no, wait.... Aug 03 00:48:01 my code is whacked up. Aug 03 00:48:32 curDrawerNode = this.controller.get('taskListing').mojo.getList().mojo.getNodeByIndex(event.index); Aug 03 00:48:32 curDrawer = curDrawerNode.getElementsByClassName('note-container')[0]; Aug 03 00:48:51 O_O can you break that down a bit? Aug 03 00:49:11 first one gets me the DOM element of the list item Aug 03 00:49:11 that's not jacked up, thats efficiency Aug 03 00:49:17 ok Aug 03 00:49:30 Wouldnt that just be event.item? Aug 03 00:49:33 oh wait nvm Aug 03 00:49:59 second one gets the div with class name 'note-container' within that element Aug 03 00:50:03 first div Aug 03 00:50:12 (and only div) Aug 03 00:50:50 'taskListing' is the list widget Aug 03 00:51:25 so I should be able to take that code and change note-container to palm-row-format-icons-inventorycount and it will work Aug 03 00:52:39 I need to do that while I'm populating the list widget though Aug 03 00:52:48 how can I ref it while I'm populating it Aug 03 00:53:02 ie. not a tap event Aug 03 00:59:54 So if I change any data that my list items html references with the #{var} tag, I have to call noticedUpdatedItems to get it to refresh? Aug 03 01:03:19 maybe Aug 03 01:03:28 :O Aug 03 01:03:33 I don't know Aug 03 01:03:42 that's some Ares crap Aug 03 01:03:50 erm no Aug 03 01:03:56 You use #{var} right? Aug 03 01:04:06 huh Aug 03 01:04:09 I don't use noticeUpdatedItems, no Aug 03 01:04:18 no, in your items html template Aug 03 01:04:23 #{var} Aug 03 01:04:24 I do this.controller.modelChanged(theUpdatedModel); Aug 03 01:04:27 yeah Aug 03 01:04:29 that's standard mojo Aug 03 01:04:34 templating system Aug 03 01:04:49 ok so if var changes, I have to call a method to get webos to reload the data Aug 03 01:04:56 standard mojo Aug 03 01:04:59 what I'm saying is I never once have used noticeUpdatedItems Aug 03 01:05:11 right Aug 03 01:05:15 Ares Aug 03 01:05:19 But was just wondering if thats how it works in general Aug 03 01:05:29 I don't know Aug 03 01:05:41 aside from noticedUpdatedItems Aug 03 01:05:45 the rest is how it works Aug 03 01:05:46 Mojo: update some model, call modelChanged Aug 03 01:06:21 I ASSUME noticeUpdatedItems is similar somehow Aug 03 01:06:29 but its name suggests that it should automatically notice things Aug 03 01:06:43 Yea, but putting methods aside, I wanted to know if thats the process of updating the list items data Aug 03 01:06:47 and now I know it is Aug 03 01:06:59 update the ref vars and then call modelChanged/whatever else Aug 03 01:08:00 that's about the size of it Aug 03 01:08:34 ok, last time I tried using modelChanged it threw an error which doesn't mean it doesn't work since I have a knack for breaking seemingly straightforward methods lol Aug 03 01:09:10 I think it's Ares fault Aug 03 01:09:30 yea lets blame ares Aug 03 01:10:58 huzzah for negative margins Aug 03 01:11:34 woo, my name is blue Aug 03 01:11:37 It sucks launching your app from a webbrowser to a phone. Aug 03 01:11:52 takes a long time, especially if you're launching a 1mb app Aug 03 01:13:00 like 7 seconds or more, which sucks for fine tuning of visuals via css Aug 03 01:13:14 7/15 Aug 03 01:29:09 Anivrom: the emulator is faster Aug 03 01:30:41 hey tib Aug 03 01:30:49 anyting knew in MM Aug 03 01:30:51 ? Aug 03 01:31:29 Anivrom: howdy! Aug 03 01:31:31 what do you mean? Aug 03 01:31:37 have you been working on it? Aug 03 01:31:46 oh yeah Aug 03 01:31:54 Whats new :) Aug 03 01:32:04 I have high expectations for it Aug 03 01:32:19 hah, I can send you the next build if you want Aug 03 01:32:27 Yea man, is it functional? Aug 03 01:32:31 oh yeah Aug 03 01:32:33 Dude Aug 03 01:32:40 Hook me up so we can beta test during the day Aug 03 01:32:45 alpha test* Aug 03 01:32:51 almost ready for public beta release Aug 03 01:32:55 oh snap Aug 03 01:33:03 just got 1 more update or so Aug 03 01:33:04 it looks very sharp Aug 03 01:33:10 thanks! Aug 03 01:33:44 Anivrom: pm me your email Aug 03 01:34:43 lol, I like I how I see a tweet about Mojo Messenger, then look into the channel and see you guys talking about it :) Aug 03 01:36:03 heh :) Aug 03 01:36:56 How is it on the battery? Aug 03 01:37:39 Constant ajax polls suck. thats for sure. Aug 03 01:38:34 I just need to finish up the next two updates and them I'll start implementing push, which should help quite a bit Aug 03 01:39:22 I would imaginine more than "quite a bit" Aug 03 01:40:12 Anivrom: not sure yet. not gonna make any promises Aug 03 01:40:32 I reaaaaaaaaaallllllllly want mojo messaging service... *sigh*. but I'll have to do my own stuff Aug 03 01:41:26 well doing anything inside a loop is hard on batt, doing ajax requests would be even more so since it's using data connection, which happens to be the hardest hit on battery life Aug 03 01:41:54 in my experiences Aug 03 01:42:14 Yeah. moVox even hits the battery pretty hard sometimes... :/ Aug 03 01:42:29 SIP registration ever x seconds isn't pretty :( Aug 03 01:43:25 jafar jafar, he's our man, if he can't do it... GREAT! Aug 03 01:43:28 LOL Aug 03 01:46:47 Anivrom: why do you need to access the list item Aug 03 01:46:58 's DOM element during setup()? Aug 03 01:47:03 lol ares has a bug where if you copy an html element and paste it most times it sets the left and top properties to the ref + like 2 more digits, so like 30,000 Aug 03 01:47:29 Cause I need to know if I want to display the div or not depending on a var that relates to inventory quantity Aug 03 01:47:40 If quantity is 0 don't show the div Aug 03 01:47:57 don't display that list item? Aug 03 01:48:05 nono Aug 03 01:48:14 just a div inside the list item? Aug 03 01:48:23 there's a shop screen which pulls the inventory quantity and displays how much of an item you have Aug 03 01:50:44 * Tibfib is excited for 2.0 apis Aug 03 01:51:08 I bet 2.0 will be released december 31st. Aug 03 01:52:52 i like the old prototype api page, the new one does not provide samples Aug 03 01:53:15 LoneStar99: I agree Aug 03 01:54:21 the new api page is kinda useless, so much for making it pretty Aug 03 01:55:46 tibfib: i guess it does show examples... http://api.prototypejs.org/ajax/ajax/request/ Aug 03 01:55:57 ooooooooooops Aug 03 01:56:10 Anivrom: do you know formatters? Aug 03 01:56:10 No, but if you hum a few bars I can fake it Aug 03 01:56:25 what he said Aug 03 01:56:29 dekan: good morning Aug 03 01:56:29 good morning haeffb Aug 03 01:56:32 list formatters Aug 03 01:56:39 #{var}? Aug 03 01:56:53 O_o Aug 03 01:57:33 you can define a function in your list's attributes to be called to format that #{var} Aug 03 01:57:41 oh Aug 03 01:57:47 So can I do it inline? Aug 03 01:57:51 & use #{varFormatted} instead Aug 03 01:58:29 Hmm Aug 03 01:58:31 I think there's an example on 101 Aug 03 01:58:33 dekan: 101 Aug 03 01:58:33 101 is http://www.webos101.com Aug 03 01:58:35 ok Aug 03 01:59:21 for example: http://www.webos101.com/Pseudo-Drawers_In_A_List Aug 03 02:02:34 ah, the mysterious Mojo Messaging Aug 03 02:04:57 aha. Aug 03 02:05:19 solution was to put the base64 encoded string into parameters rather than postBody Aug 03 02:05:32 ....and we're off! Aug 03 02:05:59 haeffb: the problem is, I don't know how to access the formatters arg since ares does setupWidget for you Aug 03 02:06:00 :) Aug 03 02:06:38 you can't change attributes for your widget? Aug 03 02:07:06 someday I will have to learn to use Ares Aug 03 02:07:17 you prolly can Aug 03 02:07:18 haeffb: NOOOOOOOoooooooo! Aug 03 02:07:20 let me have a look see Aug 03 02:08:34 LOL, ares has an "item designer" which allows you to drag and drop/move widgets around and create a list template. didnt realise Aug 03 02:08:38 oh well it seems buggy Aug 03 02:10:38 happy with eclipse here Aug 03 02:11:09 this.$.myListWidgetModel.setItems(myArrayForTheList) Aug 03 02:11:09 This fills the list with items and automatically calls a modelChanged() when done. Aug 03 02:11:10 handy Aug 03 02:13:28 I can't even find a scroller in Ares Aug 03 02:13:37 let me guess Aug 03 02:13:38 pallette Aug 03 02:13:41 layout Aug 03 02:13:42 it makes one automatically Aug 03 02:13:44 scroller Aug 03 02:13:49 oh for the scene? yea Aug 03 02:13:54 if you want "more" scrollers its in layout Aug 03 02:15:48 hmmm a list widget in ares has a onformat event in the events tab, wonder if I could breakpoint that and see what goodies the event object has : Aug 03 02:15:50 I finally found it Aug 03 02:16:02 go to the view tab to see all the widgets in your scene Aug 03 02:16:04 so, looks like there is no formatters functionality exposed? Aug 03 02:16:37 and itemDesigner just wipes out my list, and presents nothing else Aug 03 02:16:48 I dont know how to use that one Aug 03 02:16:56 there are a whole bunch of other attributes, but not formatters Aug 03 02:16:58 lame Aug 03 02:16:59 But haeffb I found the formatter stuff Aug 03 02:17:11 its heavily "wrapped" Aug 03 02:18:12 very top level stuff but I'm sure that's not a bad thing in the end Aug 03 02:18:34 where is it? Aug 03 02:18:50 create a list and go to the events tab on the far right Aug 03 02:18:53 beside settings Aug 03 02:19:09 click on onformat, it will create a event listener function automagically Aug 03 02:19:12 and then you can play around in that Aug 03 02:19:19 oh that is terrible Aug 03 02:19:22 negative Aug 03 02:19:23 :) Aug 03 02:19:50 no, it is...the real way is the formatters is a property of the list attributes Aug 03 02:19:55 it's not an "event" Aug 03 02:20:34 alright lets crack open this inSender object Aug 03 02:20:59 noice noice Aug 03 02:24:17 woohoo! works! Aug 03 02:24:23 nice gtz Aug 03 02:29:38 sugardave: you're theory about my #{var}'s updating when I call modelChanged didnt work. Aug 03 02:31:00 this works: myListModel.items[0].someProperty = newValue; this.controller.modelChanged(myListModel); Aug 03 02:31:03 guaranteed Aug 03 02:31:30 someProperty = the var I put in #{var}? Aug 03 02:31:33 it's not a theory Aug 03 02:31:42 its "How Things Work in Mojo" Aug 03 02:31:47 rawr Aug 03 02:32:22 someProperty = the var I put in #{var}? Aug 03 02:32:28 yep Aug 03 02:32:39 okey dokey Aug 03 02:33:00 and I can just get 0 from event.index right Aug 03 02:33:05 right Aug 03 02:33:11 or Aug 03 02:33:13 actually Aug 03 02:33:20 hmmm Aug 03 02:33:36 wait wait wait Aug 03 02:33:41 event should send the model Aug 03 02:34:19 * Anivrom doesn't know the possibilites of that Aug 03 02:34:26 so, event.model.someProperty = newValue; should be sufficient Aug 03 02:34:36 this.controller.modelChanged(event.model); Aug 03 02:34:41 I think that will work Aug 03 02:34:54 hmmm, but each list item has a different #{var} that was loaded in setup Aug 03 02:34:55 I normally have a scene var of my list (well all) of my widgets Aug 03 02:35:18 a different value for each item Aug 03 02:35:20 no, they have different values for the same property Aug 03 02:35:24 right Aug 03 02:35:28 what I meant Aug 03 02:35:39 oh, I'm thinking of my toggles, so you'd still need the index, yes Aug 03 02:35:48 event.model.items[event.index].someProperty Aug 03 02:35:50 perhaps Aug 03 02:36:06 I'll need to save the index out so when I click my confirm button it updates that items #{var} Aug 03 02:36:20 I already save the event.item object out Aug 03 02:36:22 confirm? Aug 03 02:36:24 wtf is that? Aug 03 02:36:40 oh just a button that confirms whether you want to use that particular item Aug 03 02:36:43 my users better be damnn sure they know what they're doing Aug 03 02:36:56 :P Aug 03 02:36:57 ooops, you didn't mean to delete that? too bad! Aug 03 02:37:28 so I have to call modelChanged after I update that var correct? Aug 03 02:37:40 that's what we do Aug 03 02:37:47 would be the same for ares Aug 03 02:37:49 I don't know about you guys :P Aug 03 02:37:54 you do some weird crap Aug 03 02:37:57 Unless I wanted to use the more efficient noticeUpdatedItems method Aug 03 02:38:00 and have these weird things Aug 03 02:38:13 but my list wont be big enough to warrant that Aug 03 02:38:17 I thought it wasn't working? Aug 03 02:38:47 nah like I said, was prolly my ability to break methods that made it not work the first time I tried Aug 03 02:38:54 It seems to execute without errors now Aug 03 02:39:02 ah Aug 03 02:39:13 well if it works...you know the rest Aug 03 02:39:49 mhmm Aug 03 02:39:50 :) Aug 03 02:40:11 gonna have a peek at the event.model dom first though Aug 03 02:44:54 how do I get HTTP headers out of Ajax.request response? Aug 03 02:46:11 sugardave: its even easier in ares, just event.item.myVar Aug 03 02:47:00 right, because you have the item Aug 03 02:47:20 but I thought you said you needed to save off the index? Aug 03 02:47:30 if I say var currentSelectedItem = event.item/event.model.item; will that be a ref where I can manipulate currentSelectedItem and it will affect the list item model? Aug 03 02:47:34 or does it copy Aug 03 02:47:42 haeffb: response.getAllResponseHeaders() I think Aug 03 02:48:06 yep, found it. Aug 03 02:54:44 Anivrom: supposedly everything in javascript is a reference. I know for a fact if it's an array, it's a reference Aug 03 02:55:12 wouldnt be an array though Aug 03 02:55:20 its a ref to event.item Aug 03 02:55:24 then it falls under the 'everything' part Aug 03 02:56:06 well once my phone boots up in about 10 minutes due to ares crashing my app, I'll test it Aug 03 02:56:20 the emulator starts a lot faster than the phone, too Aug 03 02:57:05 meh I have my app locked to landscape and I would have to change some code to compensate on the emulator Aug 03 02:57:48 got some gui issues I can fix in the mean time **** ENDING LOGGING AT Tue Aug 03 02:59:56 2010