**** BEGIN LOGGING AT Fri Mar 04 02:59:59 2011 Mar 04 03:02:19 free touchpads for all! Mar 04 03:02:27 evening all Mar 04 03:02:38 mattsmcnulty: Lisa already owes me one for the Poor Man's Twitter patch Mar 04 03:03:05 mattsmcnulty: thanks btw, I'm in the early access program now :) Mar 04 03:03:38 mattsmcnulty: I'll take one! Mar 04 03:04:00 mattsmcnulty: wait, so others beside haeffb, sugardave and myself are getting them? Mar 04 03:04:11 mattsmcnulty: hi ihihihihih Mar 04 03:04:18 popular guy Mar 04 03:04:33 chpwn: great to hear it. can you comm with your pre2 now? Mar 04 03:04:34 well when you shout "free touchpads for all!" Mar 04 03:04:37 hee Mar 04 03:04:37 ... Mar 04 03:04:43 I figured that would wake everyone up Mar 04 03:04:53 mattsmcnulty: hasn't come yet, but I've installed it to get ready :) Mar 04 03:04:59 cool Mar 04 03:05:16 replace "code" with "tablet" http://twitter.com/#!/funkatron/status/43339865399635968 Mar 04 03:06:01 I got a question for someone.. should be quick, but i can't seem to get this Mar 04 03:06:23 funkatron: you never did any free shit for me! Mar 04 03:06:38 "Elvis was a hero to most, but he never did shit for me!" Mar 04 03:06:41 though I guess technically I don't have to pay for apps Mar 04 03:06:58 i've got this code: http://bit.ly/efQxK7 and it's only displaying one of the stations in the json file pulled from yqi.. How do i make it display all of them? Mar 04 03:07:05 mattsmcnulty: heh, have you tried koto player? Mar 04 03:07:13 no? Mar 04 03:07:20 you should, it's neato Mar 04 03:07:57 mattsmcnulty: since its free, you migth as well :) Mar 04 03:07:59 I refuse to believe the built-in webos media player on 1.x could be improved upon Mar 04 03:08:03 DUNDUN Mar 04 03:08:04 lol Mar 04 03:08:09 hah Mar 04 03:08:16 What if it synced with iTunes? Mar 04 03:08:21 then there's gonna be a HUGE market for the enyo version of Koto :) Mar 04 03:08:23 * halfhalo has the zunes for the medias Mar 04 03:08:32 :O Mar 04 03:08:51 mattsmcnulty: So then I expect to see it running on the Pre3. In its full Mojo 1.0 glory. :P Mar 04 03:09:15 my pre3 sits at home most of the time. I looooove my veer though Mar 04 03:09:23 ahh Mar 04 03:09:23 *glares* Mar 04 03:09:37 mattsmcnulty: Well, if you're not using it, you can just send the Pre3 my way. :D Mar 04 03:09:53 mattsmcnulty: once an update is available, koto should be *mostly* pre3 compatible Mar 04 03:10:03 and veer compatible Mar 04 03:10:04 by "Pre3" he means "a pile of wires and breadboards on my desk" Mar 04 03:10:09 tibfib: why would it not be compatible Mar 04 03:10:24 screen size? Mar 04 03:10:33 mattsmcnulty: because I accidentally hardcoded a width/height for the background Mar 04 03:10:42 I avoid the prototypes when they are that early (breadboards and plexi) because they are super annoying Mar 04 03:10:44 and the album art stuff messed up Mar 04 03:10:49 it's neat and all, but honestly not worth it Mar 04 03:10:49 that was SO DUMB Mar 04 03:10:56 ah Mar 04 03:11:01 So you guys use plexiglass? Good to know. Mar 04 03:11:14 for early protos Mar 04 03:11:23 very very early Mar 04 03:11:36 like a screen with wires and a circuit board with wires, etc Mar 04 03:11:40 lol Mar 04 03:12:00 here's the current TouchPad http://www.amigahistory.co.uk/prototypes/cbm-lorraine-portrait.jpg Mar 04 03:12:04 all those early prototypes really do get annoying when stuff randomly doesn't work :( Mar 04 03:12:05 most of the time none of us really want much to do with protos early on as if something leaks we dont want to be anywhere near it Mar 04 03:12:15 once I get my free TouchPad, I will be unstoppable Mar 04 03:12:33 sugardave: hear, hear Mar 04 03:14:06 all right, off to get food and watch some tv. just wanted to poke my head in and say hi Mar 04 03:14:10 With these prototypes and stuff, do people ever end up with really awesome ones made of other stuff? Mar 04 03:14:17 ttyl mattsmcnulty Mar 04 03:14:20 later Mar 04 03:15:47 welp, it's all downhill after that excitement Mar 04 03:15:56 PLEXIGLASS Mar 04 03:15:56 * sugardave sighs. Mar 04 03:16:07 PALM USES PLEXIGLASS IN EARLY PROTOTYPES Mar 04 03:16:10 THE THINGS WE LEARN Mar 04 03:16:11 * Tibfib watches modern family Mar 04 03:16:20 fascinating Mar 04 03:16:56 * Tibfib will assume that was meant toward him and not sarcastic Mar 04 03:17:35 funkatron: so have you submitted the donation version? Mar 04 03:17:40 no Mar 04 03:17:53 because I sorta want to set up the main one to tell people to buy it 8D Mar 04 03:18:27 ah haha Mar 04 03:19:07 alrighty, cya everyone Mar 04 03:20:21 audi Mar 04 03:32:25 * halfhalo is testing his car after fix by going to taco bell Mar 04 04:22:01 I'm fixing to go crazy... Using this code: http://pastebin.com/KA9DbmsR and line 52 pulling a json, i can't see to get the data from it. What am I doing wrong? Mar 04 04:54:06 what command pops up the inspector? Mar 04 05:08:21 on .palm-row, i can't seem to find the css to remove what looks like a border on the bottom of it Mar 04 05:08:45 class="palm-row last" Mar 04 05:09:12 I think that will get rid of the border, well, usually you use that on the last list item Mar 04 05:09:39 hummm thanks Mar 04 05:10:13 you're welcome! Mar 04 05:10:16 hopefully it works :| Mar 04 05:10:22 i did! Mar 04 05:10:31 sweet! Mar 04 05:10:37 but seemed to add quite a bit of padding or something Mar 04 05:11:13 egh Mar 04 05:12:47 Oh well... Looks half way decent, too late at night to worry about it right now lol Mar 04 05:13:18 too late?!?! Mar 04 05:13:26 as in i'm too tired Mar 04 05:13:29 It is only 9pm here! The night is just getting started! :D Mar 04 05:13:37 ah, I see :( Mar 04 05:13:41 well you lucky cal people lol Mar 04 05:13:44 i'm in kansas Mar 04 05:13:48 hehe Mar 04 05:13:53 it's 11 and i've got school tomorrow Mar 04 05:13:57 we'll catch up to you Mar 04 05:14:04 ah, school Mar 04 05:14:11 yes sir later, thanks again - senior! :) Mar 04 05:14:12 college or high school? Mar 04 05:14:18 both acutally Mar 04 05:14:21 hehe Mar 04 05:23:46 hello Mar 04 05:25:01 hi PatrickC_Pixi Mar 04 05:25:44 hay Mar 04 05:25:50 hows it goin? Mar 04 05:26:08 not bad at all! Mar 04 05:26:18 great! lol Mar 04 05:26:24 what apps you workin on; Mar 04 05:26:30 s/;/? Mar 04 05:26:31 Universe Mar 04 05:26:39 awesome Mar 04 05:26:43 when does beta come out? Mar 04 05:26:46 and cleaning my new apartment Mar 04 05:26:51 hopefully this weekend Mar 04 05:26:56 fun fun fun Mar 04 05:26:57 actually, yes this weekend Mar 04 05:27:00 awesome! Mar 04 05:27:11 1.4.5/2.0.1/2.1? Mar 04 05:27:23 * gkatsev is backing up my pre. Is going to give it to his parents Mar 04 05:27:33 s/my/his/ Mar 04 05:27:53 havin fun! Mar 04 05:28:48 PatrickC_Pixi: all of the above Mar 04 05:29:11 awesome! Mar 04 05:29:24 it will support some webOS 2.0 features Mar 04 05:29:28 whoa, I'm still only on 1.4.1.1 on my pre Mar 04 05:29:51 I need to download 1.* onto this Sprint Pre that I have here Mar 04 05:30:00 but I don't have my Internet yet... Mar 04 05:30:15 * gkatsev is now doing a secure full erase Mar 04 05:30:46 dkirker: I can test 1.x ;) Mar 04 05:33:01 hah, sweet, it still has all the patches and everything Mar 04 05:33:50 I guess it makes sense Mar 04 05:34:30 the patches are still in place, but they won't show it in Preware Mar 04 05:34:34 happened to me Mar 04 05:34:37 sweet! I know where my servers are going! Mar 04 05:35:01 you host ur own servers Mar 04 05:35:23 PatrickC_Pixi: that's ok. My rent's are going to use it anyway. And only the good patches are on there. If they want to do anything else I'll just doctor it. Mar 04 05:36:02 or just EPR Mar 04 05:36:05 that's what I did Mar 04 05:36:13 or that, right. Mar 04 05:36:20 it kept trying to download LSDIFF and GNU Mar 04 05:36:28 and wouldn't do anything Mar 04 05:37:00 alright, dinner time! Mar 04 05:37:39 dinner? it's 1230AM here lol Mar 04 05:41:27 iPad 2 baaaahh Mar 04 05:41:29 boooooooo Mar 04 05:49:54 Hey Guys Mar 04 05:50:05 Good News i'm getting a Palm Pre 2 From Palm :) :) Mar 04 05:51:23 I'm not yet :'( Mar 04 05:51:29 haven't heard back yet Mar 04 06:13:40 nite Mar 04 10:39:21 \o\ i got response from dev-marketing! Mar 04 10:42:33 about? Mar 04 11:00:59 they will send me the pre2! Mar 04 11:02:21 dev phone? Mar 04 11:03:26 yes :-) Mar 04 11:15:30 can anyone assume how big the Pixi market is? Mar 04 11:15:37 I think about dropping support Mar 04 11:44:34 is there a way to get all elements with a certain class? Mar 04 11:45:05 KittyHello do you have matrix? Mar 04 11:45:14 it is good to see how many pixi users you have Mar 04 11:45:48 "metrix" Mar 04 11:46:23 one of my apps is: 8000 Pre and 4000 Pixie Mar 04 11:46:33 so its some! Mar 04 11:46:44 thomas: http://www.prototypejs.org/api/element/getElementsByClassName Mar 04 11:50:18 thomaschaaf Mar 04 11:51:15 leiru_web: thx :) have to use .select() though because the other is deprecated Mar 04 11:52:27 or $$('my-classname-to-select') Mar 04 11:56:32 I did this and now I want to go through each one and get the dimentions of them all.. http://pastie.org/1632215 Mar 04 12:01:08 scope... Mar 04 12:01:27 this.percent += cache.height * cache.width ---> this.cache as written the line before Mar 04 12:01:38 line 5/6 Mar 04 12:02:16 thomaschaaf: Mar 04 12:02:44 you forgot this. or forgot to remove it one line before Mar 04 12:03:02 http://pastie.org/1632235 changed it but now I get an error that the first object doesn't have a function getHeight.. Mar 04 12:03:28 http://dl.getdropbox.com/u/5910/Jing/2011-03-04_1302.png I don't understand why though Mar 04 12:05:37 8000 for webos? Mar 04 12:05:39 use classname without the dot like in jquery Mar 04 12:05:43 doh i sold 8 Mar 04 12:07:03 thomaschaaf: try -> this.walls = this.controller.select('wall'); //removed the dot Mar 04 12:07:51 Object _reverse has no method... Mar 04 12:07:57 getHeight Mar 04 12:09:52 hm Mar 04 12:10:28 seems to be selected with dot. don't know, Mar 04 12:10:44 I think the for loop is incorrect :/ Mar 04 14:29:33 I want to make users select [ 0..n ] items out of a list of m items, is there some kind of conventional standard way to do this? Or should I figure something out myself? Mar 04 14:31:55 hmm, that's [0,n] items out of n items Mar 04 14:35:26 * madnificent uses a hybrid method with a list and a scene that uses a filterlist until someone with a briliant idea comes forward Mar 04 16:00:23 so you like my theme funkatron? :) Mar 04 16:01:07 EVERYONE NEEDS LCARS Mar 04 16:01:11 haha Mar 04 16:01:21 shit, people would eat that up Mar 04 16:01:45 well sofar its just that scene Mar 04 16:05:01 dude, seriously, that would rule Mar 04 16:05:14 ill give it some more love this evening Mar 04 16:05:29 gotta get to work, bbl Mar 04 16:07:42 audi mano. you can hit me on gtalk if you want to chat it Mar 04 16:08:36 hi. hm. which preware feed should gnu patch be in? Mar 04 16:09:34 netzwurm: they're better equipped to answer that in #webos-internals Mar 04 16:10:32 sugardave: and here I was thinking i'd not bother them with my support questions :) Mar 04 16:11:00 hahaha Mar 04 16:39:12 hi Mar 04 17:07:21 Anyone else have problems with ssh seg faulting on the pre? Mar 04 17:15:29 ok, the update of optware bootstrap killed my openssh installation on my Pre2 Mar 04 17:46:48 if i delete a paid app from my phone, do I retain the rights to it? Mar 04 17:46:55 i.e. if i want it back, do I have to pay again? Mar 04 17:48:17 it sticks to your profile, so you only have to pay for it again if you have a new profile Mar 04 17:52:53 haeffb_pre: are you around? Mar 04 17:53:30 sorta Mar 04 17:53:38 what about agenda app? Mar 04 17:53:49 are you planing to make it compatible with 2.x? Mar 04 17:54:58 nope Mar 04 17:55:08 it's broken by 2.x Mar 04 17:55:20 yes, do you plan to fix it? Mar 04 17:56:45 no. I don't know that it can be fixed Mar 04 17:57:26 it could just borrow some code from Palm' calendar to read the events for a given time, orß Mar 04 17:57:28 ? Mar 04 17:57:39 do you have to source available somewhere? Mar 04 18:01:50 there's an api that I used that no longer works Mar 04 18:06:15 So how is everyone today? Mar 04 18:07:55 haeffb_pre: I know, is the source available? Mar 04 18:07:59 bbl Mar 04 18:38:56 thank god it's friday! Mar 04 18:44:42 projectalarum: fun! Mar 04 18:49:02 sugardave: ping? Mar 04 18:51:46 MetaView: source for agenda? Mar 04 19:06:56 is there a fix yet for the bug that the voice dialing icon cannot be moved from the first launcher page? Mar 04 19:16:19 haeffb_pre: yes, can I have it and try to make it compatible with 2.x? Mar 04 19:16:36 basically, I would just use the same calls as in the celndar app Mar 04 19:17:39 sure. it's not pretty, though. my 2nd javascript app and I didn't know much about what I was doing. Mar 04 19:18:09 just dl the .ipk from precentral (or grab it off your phone) Mar 04 19:18:17 well, I wouldn't have to write everything from scratch Mar 04 19:18:23 ok, I did Mar 04 19:18:26 thx Mar 04 19:19:31 but i'm sort of doubtful the calendar apis will work from a non com.palm.calendar app... Mar 04 19:21:54 then we incorporate it into UC patch... Mar 04 19:23:03 that would probably be better anyhow Mar 04 19:23:13 so you don't ned two apps Mar 04 19:29:39 hmmm Mar 04 19:29:55 pixi = good irc device methinks Mar 04 19:31:19 yeah...? Mar 04 19:32:52 yup Mar 04 20:22:39 hey developers ... busy coding? Mar 04 20:23:45 YEP Mar 04 20:24:42 joetweeply: gogogo Mar 04 20:24:51 yeah just getting a break here Mar 04 20:25:02 catching up on my reading now Mar 04 20:30:15 What exactly should I say in my email to get access to 2.x SDK? Just that I'd like to be added to it? Mar 04 20:30:32 say you are awsome Mar 04 20:31:11 graywolf336: say you know me and that I want access as well, though they don't really know me Mar 04 20:31:12 So has anyone started playing with enyo? Mar 04 20:33:59 *cough* Mar 04 20:35:02 graywolf336: .. just say "whoop wanna access", that's it Mar 04 20:35:25 today at work a girl told me about a cartoon called "legend of enyo" Mar 04 20:36:20 joetweeply: Ok.. That's what I was thinking but wasn't 100% sure. Mar 04 20:36:25 If I insert a row in a table which has an autoincrement primary key, is there a way to get that key in the same query? Or must I do something that comes close to what I need and which will most likely never fail but isn't guaranteed to do so? Mar 04 20:36:58 maybe there is a insertId() function in the transaction somewhere? Mar 04 20:37:13 lol or SORTBY Mar 04 20:38:19 projectalarum: that needn't work. It may be so that another item is inserted or that another item with a bigger id already exists Mar 04 20:38:30 exactly Mar 04 20:39:44 i have an app which does exactly that, essentially if an item is rearranged in a list of favorites, you need to ensure each item after that changes its primary key Mar 04 20:40:23 sorry* orderby Mar 04 20:40:37 we use that here at my work religiously Mar 04 20:40:38 joetweeply: nice transaction.insertId Mar 04 20:40:53 ah see Mar 04 20:40:59 projectalarum: than move to ^ :) Mar 04 20:41:05 s/than/then Mar 04 20:41:32 joetweeply: sorry no, it's resultset.insertId as it seems Mar 04 20:42:09 yeah makes sens Mar 04 20:42:10 e Mar 04 20:45:21 so like in my app, lets say i have a list with 50 items, and i move an item from the bottom to spot #3, the initial order by will load all items in the order of their 'favoriteID', then i just loop through the table, and any items with a favoriteID greater than 3 is incremented by 1.... basically... actually, i have mine going in increments of 10 to avoid inbetweens.... it's all kinda convoluted but look into the order by statem Mar 04 20:45:23 ent Mar 04 20:48:17 at least, i think we're thinking of the same concept.... lol my brain has been fried this week.... i hate taxes and yet, i develop tax software for the gov..... Mar 04 20:57:43 It'd be more exciting if you stuck easter eggs in it. Mar 04 20:58:51 Like having a list of politicians who get charged extra taxes? Or is that not what you do? Mar 04 21:00:07 lol no more on the county lvl than individual lvl Mar 04 21:00:15 there are a few hidden eggs Mar 04 21:00:20 Such as? Mar 04 21:00:36 like and the iraq Mar 04 21:01:59 my fav is the finger you get when you try to access some portions of the software that's not open to everyone, a big whole index finger pops up saying no no no, it just looks funny Mar 04 21:02:25 XD Mar 04 21:03:54 hey guys, just wondering if anyone here has experience setting up filter lists after a scene has been set up and activated Mar 04 21:04:36 yep Mar 04 21:04:43 yup Mar 04 21:04:50 40% off Dead Space 2 + free shipping (US only). Enter promo code “spaced38d22” at http://bit.ly/i6YsGf . Act quickly, supplies are limited. Mar 04 21:05:42 Do you get points for spreading these 'deals'? Mar 04 21:05:53 no just passing it along Mar 04 21:05:58 saw it on ea's facebook Mar 04 21:06:00 o.O Mar 04 21:06:12 makes it 35.97 Mar 04 21:06:25 the problem I have is, after setting up the filter list, it won't render more items than the renderLimit for the filter list Mar 04 21:06:56 I had a similar problem Mar 04 21:06:56 Having seen Steam Sales, I'm totally unimpressed by 40% off. Mar 04 21:08:09 I set up one list when the scene is set up, and this list renders just fine, but replacing that list later and then using instantiateChildWidgets prevents the list from rendering more items than the renderLimit Mar 04 21:08:42 lemme look through some code real quick, i had the same exact problem... Mar 04 21:09:40 hold on, be right back... Mar 04 21:12:35 i think i had to clear the list, set length to 0, add items to list then use a noticeUpdatedItems, followed by setLength, and setCount Mar 04 21:12:42 i think... still looking.... Mar 04 21:13:10 I never could get a lazily loaded list to work right. Mar 04 21:13:53 i know I fought with it for sure... then just as soon as I got one to work... the second list on the scene f'd up the first.... Mar 04 21:13:54 unless I knew the length when initially setup the list Mar 04 21:15:13 If I want to send data back to the previous scene when the current scene is popped, I'll have to intercept the back gesture and pop manually, correct? Mar 04 21:15:46 madnificent: afaik, yes Mar 04 21:16:04 or populate a global var Mar 04 21:16:26 or a variable in the underlying scene assistant? Mar 04 21:16:49 you could trigger it on activate Mar 04 21:16:59 wrong channel Mar 04 21:17:00 no, I want to return it... that makes it more generic :) Mar 04 21:17:10 projectalarum: which one did you think it was? Mar 04 21:17:37 no sorry, i was answering a question from another irc channel Mar 04 21:19:15 i think haeffb_pre's solution is correct, either global var or using the scene assistant Mar 04 21:19:24 i havent had to do anything like that yet... Mar 04 21:19:28 projectalarum: it sounded similar :) Mar 04 21:19:34 lol Mar 04 21:19:42 well i imagine that it could work actually Mar 04 21:19:48 haeffb_pre: so yes, you're completely right. I'm going to intercept :) Mar 04 21:19:57 what are you transporting between scenes? Mar 04 21:20:04 a list of selected items Mar 04 21:22:42 (and my selector looks really really really bad, so I really really really don't want to copy-paste this to anywhere) Mar 04 21:25:09 so is this list dumped into an array? already in a db? Mar 04 21:25:37 it's a bunch of ids and names Mar 04 21:25:45 but I'd prefer not to fetch them twice Mar 04 21:25:58 not that it's that big of a list, but it'd be useless Mar 04 21:26:52 it's too bad you can't define an object in the sceneAssistant that is passed on deactivate Mar 04 21:27:51 this.objectToPassToUnderlyingScene = xxx; Mar 04 21:28:01 right.... Mar 04 21:29:25 you could, huh? Mar 04 21:29:38 the only thing close to that that i have done with webOS would be with a cookie.... go to preferences, make a bunch of changes, one of which tells the app, hey we now have a list of favorites, then the main scene looks at the cookie on activate to see if anythings been changed... Mar 04 21:29:55 @projectalarum, @haeffb_pre, thanks for the suggestions, I'll try some and report back in a few Mar 04 21:31:13 I only have one list on the scene at a time, when I add the second list, I remove the first list from the DOM Mar 04 21:31:25 what's the commandline command to rescan apps in the launcher? Mar 04 21:31:31 rsanchez1: what I might do...is pass a sceneAssist arg when creating this new scene, then populate a var in the passed SceneAssist Mar 04 21:31:43 that is still modular Mar 04 21:32:30 luna-send -n 1 palm://com.palm.applicationManager/rescan {} Mar 04 21:32:32 hm. Mar 04 21:33:21 passedSceneAssist.objectToLookAtWhenIGetBackToActivate = xxx; Mar 04 21:33:37 that sounds like it'd work Mar 04 21:34:24 if (this.objectTo...Activate) { ... } Mar 04 21:34:57 i found a very interesting manner of storing arrays the other day that kinda shocked me.... more surprised that it worked than anything else but you can store a variable/array in a div as if it was a property Mar 04 21:35:12 that might also work for this case... Mar 04 21:36:07 you can do all kinds of scary shit Mar 04 21:37:20 lol i did it as a last ditch resort, one of those moments where my hair has already been pulled out, and when it worked, i decided i'd had enough for the day, cause in no way should it have worked the way i made it.... Mar 04 21:38:54 sorry, your suggestions didn't work :( Mar 04 21:39:37 which? Mar 04 21:40:13 well, actually the only one I tried was projectalarum's suggestion: noticeUpdatedItems, setLength, then setCount Mar 04 21:40:25 I'm not entirely sure what you mean, haeffb_pre Mar 04 21:41:10 oops, I was confusing rsanchez1 and madnificent questions Mar 04 21:41:38 oh, yeah I'm still on the lists problem Mar 04 21:42:11 your problem is much harder... :) Mar 04 21:43:00 I'm starting to think it might even be a bug with the list widget Mar 04 21:43:05 I may be able to help when I get home later & can look at code Mar 04 21:43:56 I think it is. or an expectation that the list widget can do something that it really cannot. Mar 04 21:44:21 but I would really like it to work Mar 04 21:44:31 lists seem to be really picky Mar 04 21:45:13 the part that I didn't get working is.. Mar 04 21:45:26 ..load the first X items... Mar 04 21:45:54 then load an additional Y items as the list is scrolled Mar 04 21:46:16 unless I know in advance the total number of items Mar 04 21:47:10 I have that working with filter lists Mar 04 21:47:14 are you using renderLimit when you create the widget? Mar 04 21:47:23 but maybe I was foing it wrong Mar 04 21:47:25 yes Mar 04 21:47:30 and delay?> Mar 04 21:47:34 sugardave Mar 04 21:47:34 delay? Mar 04 21:47:48 yeah, i don't think it'd do much for you Mar 04 21:48:12 don't have delay Mar 04 21:48:17 i think it relates to the delay in ms on how quickly it begins redrawing the list Mar 04 21:48:31 rsanchez1: would you be willing to share how? Mar 04 21:48:31 how about itemsCallback? Mar 04 21:48:55 filterFunction sorry Mar 04 21:48:59 I'm using a filter list, so filterFunction is taking the place of itemsCallback Mar 04 21:49:05 haeffb_pre Mar 04 21:49:34 just wanted you to see the "foing it wrong" reference Mar 04 21:49:41 haha Mar 04 21:49:44 I do now Mar 04 21:50:14 I'm failing this new event thing Mar 04 21:50:23 g'day rwhitby Mar 04 21:50:31 or maybe it's this new list thing Mar 04 21:50:51 * haeffb_pre hasn't even tried yet Mar 04 21:51:35 I'm pretty close Mar 04 21:51:51 but I think I'mhaving some kind of binding issue with the items Mar 04 21:51:53 or something Mar 04 21:52:08 they seem to not be having their properties set at the time they are tapped, only when rendered Mar 04 21:52:12 it's odd Mar 04 21:55:50 I think I'll just set the renderLimit very high and leave it at that Mar 04 21:56:00 that's a good plan Mar 04 21:56:03 I use it a lot Mar 04 21:56:19 although it does feel like it loads more quickly with a smaller renderLimit, but oh well Mar 04 21:57:07 i'll throw my filter function up on pastebin if it'd help Mar 04 21:58:18 g'day haeffb_pre Mar 04 21:59:59 I think I'm ready to sprintify my Pre2 this weekend...if I can find the time Mar 04 22:01:38 cool, you were right to wait Mar 04 22:01:42 i just did the 2.1 update on my sprint frankenPre+, gotta say I absolutely love it Mar 04 22:01:43 I am definitely sprintifying Mar 04 22:01:58 and when i get my pre2 next week, i'll be doing the same Mar 04 22:02:03 got the screwdriver delivered today, and now that the pictorial guide is up I feel confident about doing it Mar 04 22:03:04 does the back gesture do anything different than popping the scene of the stagecontroller? Mar 04 22:06:33 I used popScene( { foo : "Bar" } ) myself, however when I do a pushScene( "scene" , obj ) again, I have to do the back gesture twice to get back at the first scene. If (at the first scene) I push again, I have to pop 3 three times (etc) Mar 04 22:06:38 trying to think of a really good comment to leave in the homebrew doc review...... Mar 04 22:06:43 something epic Mar 04 22:06:48 ... Mar 04 22:07:24 projectalarum: palm documentation sucks balls Mar 04 22:07:43 i ran into that as well, i think for me though there was something wrong in the menu setup i was using on that scene Mar 04 22:08:14 did you use the menu for anything in particular? Or was it just there? Mar 04 22:08:17 and it would push the scene twice, the second time however, no widgets would have any values Mar 04 22:08:40 i had just copied and pasted the code for the menu from another scene of mine and forgot to edit it Mar 04 22:08:54 or half ass edited it.... Mar 04 22:08:55 ah Mar 04 22:09:14 but, long story short, something in my setup was causing that.... Mar 04 22:09:16 ahm, with push the scene twice, you don't mean push the scene again, right? Mar 04 22:10:01 because whenever I want to get to that scene, I use pushScene( blabla , vars ). If that is incorrect... then... I know my bug... but not how to fix it Mar 04 22:10:28 (that would also imply that popScene doesn't actually remove the scene from the stack) Mar 04 22:12:33 I could use popScenesTo Mar 04 22:13:13 well, to me, it looked like the push scene command was happening twice, what i noticed was in the logs, i'd log something when the scene was pushed, it would load everything just fine, then it seemed like it would clear all the data from every widget and at that point, the log entrie would show null Mar 04 22:13:39 i never could pin-point it, instead i ended up re-writing it, probably the same exact way, but it worked the second time around Mar 04 22:13:51 jikes Mar 04 22:14:15 (also: I can't use popSceneTo (or its documentation is erroneous) Mar 04 22:14:47 yeah, i never could get popScene to work either, i think it;s the documentation.... Mar 04 22:17:21 in normal situations popScene does seem to work... Mar 04 22:19:30 here's my filterFunction if you wanna look at the code.... if it helps at all...... Mar 04 22:19:44 pastebin.com/RKFifveZ Mar 04 22:21:09 projectalarum: yes, it does pop multiple times! Mar 04 22:21:15 push Mar 04 22:21:20 that's odd Mar 04 22:21:28 right! Mar 04 22:22:05 brb Mar 04 22:23:39 THIS IS DUMB Mar 04 22:23:53 sugardave: IT IS! Mar 04 22:23:56 sugardave: what is? Mar 04 22:24:13 well, I would tell you, but I can't...which is also dumb Mar 04 22:24:22 LoL Mar 04 22:24:43 sugardave: can you tell me why popScene and pushScene don't play well together? Mar 04 22:24:44 are we talking about the 2.0sdk again? Mar 04 22:24:46 ;) Mar 04 22:25:12 in my experience, popScenesTo should be avoided Mar 04 22:25:26 if the scene that you want to pop to is not in the stack, you're gonna pop everything and end up with nothing Mar 04 22:26:14 madnificent: the only thing I can think of is some listener is not getting stopListening, so the next time you tap whatever magice makes the scene push, it gets run all the times before Mar 04 22:26:29 wow, what a horrible sentence Mar 04 22:26:46 Loudergood: I am not Mar 04 22:26:57 it's friday evening, you're excused Mar 04 22:27:13 Loudergood: night would be the word, but thanks! Mar 04 22:27:25 sugardave: I understand the sentence, that's good :) Mar 04 22:27:31 well, I meant sugardave ;) Mar 04 22:27:33 haha Mar 04 22:27:49 Loudergood: looks like I do need sleep :) Mar 04 22:28:21 madnificent: like if you are setting up a listener in your activate method, but not doing stopListening in deactivate, you can get multiple listeners doing the same thing on the same widget Mar 04 22:28:27 okay, good :) Mar 04 22:28:30 I want to set a variable being this.variable1 = bla but I want to set it like this: this.'variable'+name how do I do this? Mar 04 22:28:49 thomaschaaf: this[variableName] Mar 04 22:29:16 ah.. I tried this.[variablesname] ;( Mar 04 22:29:28 tricky Mar 04 22:33:41 sugardave: yeah, looking at it Mar 04 22:35:31 have him restart apache Mar 04 22:35:38 oops wrong chat Mar 04 22:38:26 sugardave: I call Mojo.Event.stopListening( ... ) with the same parameters as I do in the activate() portion, that should be enough, no? Mar 04 22:39:16 madnificent: let's see it Mar 04 22:40:23 sugardave: I have just verified that you are right. My stoplistening doesn't work, so I probably don't give it the exact same objects :) Mar 04 22:40:27 * madnificent hunts Mar 04 22:40:40 madnificent: it's probably the handler Mar 04 22:40:50 * thomaschaaf want's to hit javascript in the face Mar 04 22:40:51 you need to save a reference to it and use the reference in listen and stopListening Mar 04 22:41:23 this.whateverHandler = this.whateverHandler.bindAsEventListener(this); Mar 04 22:41:27 for example Mar 04 22:41:39 then use this.whateverHandler in listen/stopListening Mar 04 22:43:05 @thomaschaaf, javascript is your friend Mar 04 22:43:18 it's fun, too! :) Mar 04 22:44:46 sugardave: yes, I used handler.bind(this) both at the listening and the stoplistening (well, another support function did that for me). That created tot non-equal objects and as such the handler was not removed Mar 04 22:44:51 sugardave: thanks! you're the best Mar 04 22:45:17 Hi, could yoo let me test Linphone? ive tried to package it from the public git repo but couldnt make the service communicate with the app in a Pre 2 Mar 04 22:45:35 I'll look for your support when it's time to get some grassroots effort to make HP hire me Mar 04 22:46:06 damnit i hate progress.... i'll be down in a sec.... Mar 04 22:46:11 sugardave: then I'll say "HP! He's the best" Mar 04 22:46:15 man i have to stop doing that.... Mar 04 22:52:30 Moris, better to ask in #webos-internals Mar 04 22:53:05 RagingMing: thanks Mar 04 22:56:05 blah. Should I install this new wifi-N router? Mar 04 22:56:10 or take a nap? Mar 04 22:59:18 wow. I have eight wifi devices connected to the router. Mar 04 22:59:37 nine if I turn on the netbook Mar 04 23:01:21 i've got a json string of data and it's being displayed in a list.. how do i pass part of that data onto another scene? Mar 04 23:02:49 which part? Mar 04 23:03:17 just some data from the json string Mar 04 23:07:52 when you say "json string" do you mean you have a string in JSON format, or you have a javascript object? Mar 04 23:07:56 graywolf336: so i it's part of the list item, you can get at it in the listTap handler...then just pass it as an argument to the next scene Mar 04 23:08:25 SWAT !!! Mar 04 23:09:23 Ok thanks for your help.. off the top of your head is there an article on webos101? Mar 04 23:09:24 about it Mar 04 23:12:06 http://pastebin.com/uvrZN1Xg - your talking about line 96-99 get it? Mar 04 23:15:53 do you want to sent the index & guid to the listen scene ? Mar 04 23:15:55 graywolf336: yeah, basically...is guid the thing you want to pass? Mar 04 23:17:25 pushScene takes multiple argument, the first is either a string (the scene name) or an object with properties like scene name, whether to disable the scene scroller, etc...all the rest (argumnets 2 - n) are passed along to the pushed scene's constructor Mar 04 23:17:32 i should have removed those two lines (97 and 98 cause there's no other reference to those)... I want to pass title and url from the list's item tapped Mar 04 23:18:23 mystuff = {}; mystuff.index = event.index; mystuff.guid = event.item.guid; Mojo.Controller.stageController.pushScene("listen", myStuff); Mar 04 23:18:33 graywolf336: so assuming you know how to reference the values from the list item that was tapped, you do something like this.controller.pushScene('nextScene', {itemTitle: title, itemUrl: url}); Mar 04 23:18:46 or in your case, get event.item.title and event.item.url and stuff them in myStuff Mar 04 23:18:56 right Mar 04 23:19:23 Ok thanks... let me try something and I might be back Mar 04 23:19:46 what happens if I pop this cisco router CD into my ubuntu laptop? Mar 04 23:19:59 nothing? Mar 04 23:20:11 it will auto-mount to your cd device Mar 04 23:20:21 but it probably won't autorun Mar 04 23:20:23 :) Mar 04 23:20:32 we'll see about that...! :) Mar 04 23:20:53 hrm. nothing. Mar 04 23:21:05 what do you need it for? Mar 04 23:21:50 I don't know that I do. but I'm installing a new router & the instructions say to run the CD first... :) Mar 04 23:22:03 yeah, that's for Windows people Mar 04 23:22:10 and Mac people Mar 04 23:22:12 probably Mar 04 23:22:25 I'm smarter than them... ? Mar 04 23:22:32 you're flying without a net Mar 04 23:22:49 woooooohooooooooo!!!!!!!!! Mar 04 23:22:59 likely that CD is to run you through security setup and key propagation, etc. Mar 04 23:23:03 yeah Mar 04 23:23:04 you will have to do it manually Mar 04 23:23:07 yeah Mar 04 23:23:26 manually is the only way to install a router Mar 04 23:23:29 though you might find somebody has made a script to help you Mar 04 23:23:30 I remember the last time, I tried to setup my router and another as an access point. it took all day Mar 04 23:23:42 but yeah, I agree with projectalarum that manual is the way to go Mar 04 23:26:18 ok. i'm off to frack some stuff up (although not in such polite terms). bbl. hopefully. Mar 04 23:26:22 You guy's are plan out awesome, just thought i'd let ya know! :) Mar 04 23:26:41 lol i try Mar 04 23:26:43 SWAT!!! Mar 04 23:26:46 talking about sugardave and haeffb :p Mar 04 23:26:47 * sugardave bows. Mar 04 23:26:57 ahhh damn.... Mar 04 23:27:00 crap. lost my router. where did i put that box Mar 04 23:27:01 lol Mar 04 23:27:42 damn cat knocked it on the floor. Mar 04 23:27:53 this project is NOT starting well. Mar 04 23:28:03 lol Mar 04 23:28:33 * sugardave crosses his fingers for haeffb. Mar 04 23:42:26 :& I think I will have to do a lot of refactoring to get my application to work at the speed I want it to Mar 04 23:43:53 I've got one strange problem lol Mar 04 23:44:53 it seems that whenever i click a list item, it carries a random title from some other list item but not the one i clicked Mar 04 23:45:53 Ok I fixed it nevermind Mar 05 00:05:52 ugh so sick i cant even sleep.. i need a gun Mar 05 00:08:26 can i pass a "this.url" to a javascript audio object? Mar 05 00:12:34 what's the best way to play a .pls? Mar 05 00:29:24 hay Mar 05 00:46:40 how can I create and switch to a new palm profile? Mar 05 00:53:10 erase apps and data? Mar 05 00:53:55 no,that doesn't do it Mar 05 00:54:14 it lets you crate/log into another peofile Mar 05 00:54:22 s/peofle/profile Mar 05 00:55:04 it does? Mar 05 00:55:14 yep Mar 05 00:55:16 did for me Mar 05 00:55:19 and my dad Mar 05 00:55:50 ok, trying Mar 05 00:55:55 kk Mar 05 00:56:07 IT ERASES YOUR USB DRIVE Mar 05 00:56:15 yeah, that's fine Mar 05 00:56:33 just lettin you know Mar 05 00:57:43 you know it *doesn't* remove any patches Mar 05 00:57:45 rite? Mar 05 00:57:49 yes Mar 05 00:58:09 kk Mar 05 00:58:34 and no, didn't ask anything and profiles Mar 05 00:58:52 wow Mar 05 00:58:56 2.1? Mar 05 00:59:02 1.4.1.1 Mar 05 00:59:19 why not 1.4.5???? Mar 05 00:59:29 because I haven't been using it in a while Mar 05 00:59:53 doctor to 1.4.5 or updates app? Mar 05 00:59:56 * haeffb can't figure out how to access the router configured as a wireless access point. Mar 05 01:00:01 doh. Mar 05 01:00:29 use the access protocol :p Mar 05 01:03:23 I just don't know what it's ip address is. Mar 05 01:03:50 ip finder? Mar 05 01:03:56 I think I have to connect hardwired Mar 05 01:04:19 it doesn't matter Mar 05 01:05:33 http://www.whatismyip.com/ Mar 05 01:06:06 i can connect to the wifi router, but not the access point Mar 05 01:06:07 I mean. I can connect to it, but I can't access the setup Mar 05 01:06:58 google manufacture support? Mar 05 01:07:31 I may have changed the address of the access point Mar 05 01:07:52 idk what to do then Mar 05 01:08:23 it's a buffalo router configured as a wireless bridge Mar 05 01:08:44 idk anything about bridges Mar 05 01:09:18 me too. Mar 05 01:09:59 google? Mar 05 01:10:09 find out if there is a freenode channel? Mar 05 01:19:27 stupid beginners question: can i play some mp4 video i've got on /media/internal on a palm pre plus? Mar 05 01:20:57 yes Mar 05 01:21:06 u should b able to Mar 05 01:21:09 I do all the time Mar 05 01:21:16 I download them from youtube Mar 05 01:25:17 no, i mean an arbitrary mp4 file i copied from my desktop pc Mar 05 01:26:01 haeffb: run this command in a terminal: Mar 05 01:26:02 route Mar 05 01:26:14 look for a destination called 'default' Mar 05 01:26:20 it is likely your router's IP Mar 05 01:26:56 sugardave: can you help hjk Mar 05 01:27:13 * sugardave doesn't know how to use webOS. Mar 05 01:27:28 we know Mar 05 01:27:36 he has an early release iPad2 Mar 05 01:27:55 hjk: regardless, if you copy an .mp4 to your device, the media player app ought to find it Mar 05 01:29:32 i thought so, but at least the video app from 1.4.5 that comes with the pre plus only shows a demo video Mar 05 01:30:07 hjk: well, that's about as much as I know about actually using apps as a user :) Mar 05 01:31:05 sugardave, i understand that, i'm a linux kernel developer :) Mar 05 01:31:22 heh Mar 05 01:32:17 luna command to scan for new apps? Mar 05 01:32:21 anyway, that damn userspace should be able to play some video on an omap3 Mar 05 01:33:08 hjk: have you restarted your phone after copying the media? way back I used to have problems with images showing up until the media indexer ran again Mar 05 01:34:03 is there some app where you can just open a video file somewhere and play it? Mar 05 01:34:30 yeah, I think so...the movie player app or whatever it's called Mar 05 01:34:34 which webos? Mar 05 01:34:41 meow Mar 05 01:34:41 1.4.5 or 2.something? Mar 05 01:35:52 hjk: in 1.4.5, the app is called Videos Mar 05 01:36:22 same in 2.x Mar 05 01:36:35 How would i insert a variable into the "src" of an