**** BEGIN LOGGING AT Mon Nov 30 02:59:58 2009 Nov 30 03:02:02 hi all! Nov 30 03:02:24 hi JenP Nov 30 03:02:35 hey Bmyers how are you? Nov 30 03:02:47 whats the correct format to create a class Nov 30 03:02:47 ? Nov 30 03:02:50 good good.. Nov 30 03:02:56 and U? Nov 30 03:03:02 hi atlanta! Nov 30 03:03:09 i'm very good thank you... Nov 30 03:03:20 hey JenP Nov 30 03:03:20 don't want to go back to work... Nov 30 03:03:49 JenP don't go back Nov 30 03:03:57 Go full time consultant. :-) Nov 30 03:04:02 lol i wish i didn't have to ...hello Rick Nov 30 03:04:02 got it Nov 30 03:04:10 Hello Max Nov 30 03:04:11 NoooOOOOoo way too much drama in consulting Nov 30 03:04:24 aaaaawwwwww Nov 30 03:04:27 dear god I'm still dealing with that other client' Nov 30 03:04:35 ahhh Nov 30 03:04:38 well, there you are. Nov 30 03:05:12 worst part is i really feel for these guys...and I want to help them out. Nov 30 03:05:24 so, what are they offering now? Nov 30 03:05:32 but there's always something else Nov 30 03:05:48 5K extra crisis managment bonus Nov 30 03:05:48 your starting data format sucked as I recall? Nov 30 03:05:57 oh it was bad...is bad Nov 30 03:05:57 Starting to be hard to turn down Nov 30 03:06:10 yes it is. Nov 30 03:06:51 i think the problem is the other consultant that burned them Nov 30 03:07:01 they seem to think I'm a friend of hers. Nov 30 03:07:05 ahhh Nov 30 03:07:14 so they go back and forth on how they treat me. Nov 30 03:07:44 written guarantee of work being acceptable? Neutral third party to decide if contract fulfilled Nov 30 03:08:05 so i don't know if the moneys worth the beat up Nov 30 03:08:18 problem is...they don't know what they want...just that they want it Nov 30 03:08:33 i've offered daily reviews so we can make sure it's on target Nov 30 03:08:58 did you forget about making the index.html for vocshopgames.com/snowglobe so that people going there from the review have something to see other than a bare INDEX page, perhaps a link to webosquick install as well as a link to the IPK Nov 30 03:08:59 ??? Nov 30 03:09:19 no i did make something Nov 30 03:09:21 hold on Nov 30 03:09:24 uh Nov 30 03:09:31 there's nothing in that folder. Nov 30 03:09:35 other than the ipk Nov 30 03:10:07 Rick: Great job on the presentation at the open dev conference Nov 30 03:10:18 ice-11 thank you Nov 30 03:10:18 Rick_work: ping Nov 30 03:10:24 ah crap...one sec Nov 30 03:10:26 np :) Nov 30 03:11:07 ice-11 I grade it as a "B". Too many Uhms, and my business partner was upset that my shirt was partly untucked. :--) Nov 30 03:11:22 lol Nov 30 03:11:36 lol Nov 30 03:11:41 WAY too many uhms. My children made serious fun of me. Nov 30 03:11:46 Rick_work: Hahahaha, I hardly noticed the Uhms. Who cares about your shirt? :p Nov 30 03:11:48 lol Nov 30 03:12:08 I didn't notice the ums OR the shirt Nov 30 03:12:10 So, uh Dad, Uh, what uh, are you uh, going to uh talk uh bout next uh time? :) Nov 30 03:12:15 lol Nov 30 03:12:28 but then again I'm a developer... i don't tend to care about those things :p Nov 30 03:12:45 now i'm listening for ums Nov 30 03:12:46 lol Nov 30 03:12:57 there we go, um um Nov 30 03:12:58 lol Nov 30 03:12:59 where at? Nov 30 03:13:08 41:30 or so Nov 30 03:13:12 but who cares? Nov 30 03:13:12 why do i get inspired and motivated just before bed time.. i hate getting up at 4am Nov 30 03:13:13 Hehehe I judge competative speech. So, when I listen to it, I hear it with a judges ear. Nov 30 03:13:26 BMyers there's all through it, about every minute. Nov 30 03:13:32 dawm: because that's when most ideas flow :) Nov 30 03:13:34 sometimes, every few seconds. :-) Nov 30 03:14:04 dawm because as you're tired, your mind is letting go of the fixed ideas of the day. Nov 30 03:14:08 well im not tired or anything, but i usually goto bed around 10, but usually when 10 rolls around i feel the need to do something Nov 30 03:14:10 url i mean Nov 30 03:14:30 BMyers are you on a windows machine? Nov 30 03:14:42 yes Nov 30 03:14:47 Rick_work: Ah. That makes sense. After taking taekwondo for a couple years, I started auditing everyone as well as noticing technique in action movies Nov 30 03:15:53 exactly. And my daughter was state champ in Original Oratory, and my son was state champ in Humerous interp. I judge policy debate, extemp and Oratory. Nov 30 03:15:58 Rick_work: Cool, I didn't know that java services weren't supported by the community... not that I would bother with java services... once I'm done my last round of projects, I'll be building a C++ service Nov 30 03:16:02 So, the presentation is a "B" Nov 30 03:16:11 hahaha Nov 30 03:16:18 supported by Palm*** Nov 30 03:16:19 sorry Nov 30 03:16:26 ice-11 java services ARE supported by the community, but not by palm YET> Nov 30 03:16:35 I'm listening to you talk at the same time as talking to you here... Nov 30 03:16:37 Binary sdk IS coming from Palm. But they're not ready yet. Nov 30 03:16:44 ahhh Nov 30 03:17:02 well I wouldn't be too surprised. libstdc++ is there. Nov 30 03:17:11 the whole system has a *lot* of potential Nov 30 03:18:27 Ah. I was under the impression that palm was not focusing on native development for the foreseeable future. Nov 30 03:18:29 BMyers link to silverlight version http://2md.hosted.panopto.com/CourseCast/Viewer/Default.aspx?id=1a963c25-6050-46c3-a0ea-e09242b2e3e2 Nov 30 03:18:41 Rick_work: you mean moonlight version? ;) Nov 30 03:18:45 Eww silverlight... Had to run firefox for that Nov 30 03:18:54 bmyers link to wmv of video only http://68.142.93.92/a2725/e1/sessions/8fd3135d-9d09-4220-baf4-a723306e0a1e/db5f1e34-451d-4df7-8fd5-790cc3060ae2-3bdb446d-f214-46fd-af14-2a84d1b67199.wmv?InvocationID=90c2e732-99dc-de11-849d-001c23d18529&StreamID=db5f1e34-451d-4df7-8fd5-790cc3060ae2&ServerName=2md.hosted.panopto.com&MSWMExt=.asf Nov 30 03:18:55 zsoc: Exactly! :p Nov 30 03:18:59 hey zsoc Nov 30 03:19:01 zsoc works fine in moonlight 2 Nov 30 03:19:12 ice-11: yo Nov 30 03:19:15 yea I just watched it with moonlight Nov 30 03:19:59 Hmm... Rick_work,zsoc: Do Palm employees have operator status in this channel when they come by? Nov 30 03:20:05 ice-11: nah Nov 30 03:20:14 ice-11: on a need to know basis ;) Nov 30 03:20:29 and right now, I don't need to know :p Nov 30 03:20:34 lol Nov 30 03:21:09 ice-11 SOME palm employees can grab op status SOMETIMES. Nov 30 03:22:41 sure, if they registered with the chanserv and/or started the channel i think; I haven't been heavily into IRC since high school. Nov 30 03:23:15 ice-11 I am not heavily into IRC but do you know a BETTER real-time-chatroom solution for an international multi-platform development team? Nov 30 03:23:25 heck no Nov 30 03:23:42 hmm Nov 30 03:23:48 Rick_work: IRC started world-wide chat :) I'm sure you're familiar with the history. IRC came first! Nov 30 03:23:54 better? yes. cheaper? no. Nov 30 03:24:14 well considering this is free lol Nov 30 03:24:14 nonlocal example???? Nov 30 03:25:52 lol Nov 30 03:26:00 his answer: netsplit Nov 30 03:26:55 hehehehehe Nov 30 03:28:53 :p Nov 30 03:29:00 um.. Nov 30 03:29:43 hmm... so native SDK coming soon... They better hurry. The N900 looks to be a direct competitor. And it already has all that, **including** a freakin GPU driver hehe. For the same GPU! Nov 30 03:30:01 *sigh* Nov 30 03:31:57 the problem is, the gpu driver a) kills battery life, Nov 30 03:32:03 b) causes the phone to get very hot Nov 30 03:32:17 u mean the battery life gets worse? Nov 30 03:32:21 and c) has to be custom integrated with Mojo, instead of some existing GUI. Nov 30 03:32:26 all that times time. Nov 30 03:33:01 BMyers if you turn on GPU battery life gets worse Nov 30 03:33:17 you can't flip transisters on and off without eating amp-hours can you? Nov 30 03:33:31 was kidding. its pretty bad already Nov 30 03:34:02 yep Nov 30 03:34:13 but unless you have a magic solution what cha going to do? Nov 30 03:34:39 Hahaha, yes: projects like Maemo have a large advantage. Nov 30 03:34:46 all out of magic dust.. Nov 30 03:34:50 Rick_work: All very good points Nov 30 03:34:56 its on my list tho.. Nov 30 03:35:42 Palm ha a team working on it. Nov 30 03:35:53 But one of the major issues is modulating power on and off for the GPU. Nov 30 03:36:13 i hope so. Nov 30 03:36:19 ah. yes, of course Nov 30 03:36:36 I thought the Smartflex chip handles tasks like that? Nov 30 03:36:44 which is off by default heh Nov 30 03:37:42 I only read up on it briefly, but smartflex is supposed to regulate voltage on the device "intelligently" Nov 30 03:37:57 in a nutshell... but you probably know that, and more :p Nov 30 03:39:20 ice-11 the issue is, that that chip isn't really smart ENOUGH Nov 30 03:39:42 the OS has to decide if a particular rendering is high enough priority to "waste" engery on the GPU for. Nov 30 03:42:00 I see. Yea, that's a lot of work from the ground up. I hope they do it *right*.... Nov 30 03:42:09 webOS is pretty damn good so far :) Nov 30 03:44:30 but it has a long way to go :) Nov 30 03:44:37 anyway, 8am class. Must sleep! Nov 30 03:44:40 gnite all Nov 30 03:44:56 night Nov 30 03:45:12 again, great job. Thanks for speaking on our behalf. Nov 30 03:45:15 cya Nov 30 03:57:00 made it to the q&a section Nov 30 04:08:39 BMyers whatcha think? Nov 30 04:08:50 few minutes left.. Nov 30 04:09:59 interesting. Nov 30 04:20:39 Rick_work: what do you think of the new Keen Studios holiday theme? http://keen-studios.net Nov 30 04:23:08 nice Nov 30 04:26:00 You really like it? Nov 30 04:28:23 Rick_work: would you be interested in helping me with some new apps? Nov 30 04:39:36 kesne I would consider it Nov 30 04:54:42 How's everyone tonight? Nov 30 04:55:18 Roy-Pre101: brain hurts, tired, etc ;) Nov 30 04:55:31 Join the club. Nov 30 04:55:53 Roy-Pre101 brain hurts, going to sleep and need to spend this week working on pre-webos clients stuff Nov 30 04:56:45 Rick_work: Sympaties. Same, I think. Nov 30 05:02:53 Rick_work: you leaving us? Nov 30 05:04:36 kesne I have to spend 3 or 4 days making a living Nov 30 05:04:48 Ah Nov 30 05:04:52 Well have a good night Nov 30 05:04:56 Shame that, eh? Nov 30 05:10:53 shame Nov 30 05:10:59 but what are you going to do? Nov 30 05:11:03 I gotta eat Nov 30 05:13:55 * Rick_work off to bed Nov 30 05:14:03 night Rick Nov 30 05:25:18 Anyone here got experience with CSS transitions? Nov 30 05:25:22 er Nov 30 05:25:25 translations Nov 30 05:25:52 Like English to Spanish? That'd be great if you could do it with a stylsheet! Nov 30 05:26:20 Trying to do a css animation? Nov 30 05:26:48 Yeah Nov 30 05:26:54 Checkers Pro already uses one Nov 30 05:26:59 but I'm trying to add more Nov 30 05:27:04 and it glitches sometimes Nov 30 05:27:16 It'll move and then jump back and then keep moving Nov 30 05:30:45 Did you read the article on pre101 about css? Nov 30 05:36:04 no Nov 30 05:36:05 link? Nov 30 05:36:32 Roy-Pre101: Also: do you know how to create a sleep efect in JS? Like, where the script pauses? Nov 30 05:36:54 setTimeout Nov 30 05:37:11 Won't work Nov 30 05:37:16 I need to do it in a loop Nov 30 05:37:35 http://pre101.com/blog/2009/11/10/a-guide-to-css-transitions-in-webos/ Nov 30 05:37:36 To pause before the next time around the loop starts Nov 30 05:37:47 ... setTimeout back to itself. Nov 30 05:40:31 That wouldnt work in a loop Nov 30 05:40:39 in a .each loop Nov 30 05:47:36 Restructure. Nov 30 05:50:41 how so? Nov 30 05:55:16 Figure out another way to do it so you can have it call back to each step. Nov 30 06:02:10 Does anyone know anything about Ares? Is there any way to join the Alpha? Nov 30 06:05:48 Check out the webOSdev Forum. There might be something there. Nov 30 06:06:39 I've been looking but info is... lacking. I did find the alpha site, but there are no signup instructions. Nov 30 06:07:57 well no instructions whatsoever. Nov 30 06:08:03 wonko6x9: It isnt public yet Nov 30 06:08:08 So nobody can just use it Nov 30 06:09:07 understood. Just looking to see if there is a way to get in early Nov 30 06:11:04 wonko6x9: You found the alpha site? Better than I've done. Link? Nov 30 06:11:53 not particularly cryptic. http://ares.palm.com/Ares/login.html Nov 30 06:14:05 No way to get in early Nov 30 06:14:19 * kesne is sleeping, see you all in the morn. Nov 30 06:17:45 wonko6x9: Thanks Nov 30 08:17:34 any way to capture radio signals using the API? Nov 30 09:32:15 good morning Nov 30 09:51:16 morning :) Nov 30 09:51:32 morning Nov 30 12:27:40 hmm Nov 30 12:27:59 why could responseText be "null" after an ajax call? Nov 30 12:29:29 but statusText is "OK" Nov 30 12:57:49 swisstomcat: You sure it is null? Nov 30 12:58:17 zomg: typeof tells me it's a string Nov 30 12:58:22 then it's not null Nov 30 12:58:44 typeof null is 'object', as weird as it sounds =) Nov 30 12:59:23 hrmm Nov 30 12:59:28 well, something is strange Nov 30 12:59:51 Mojo.Log.error("rt: "+typeof(transport.responseText)); Nov 30 12:59:51 Mojo.Log.error("rt: %s",transport.responseText); Nov 30 12:59:58 output: Nov 30 13:00:03 error: rt: string Nov 30 13:00:06 error: null Nov 30 13:00:14 Possibly a bug in Mojo.Log Nov 30 13:00:20 :/ Nov 30 13:00:21 It's most likely an empty string Nov 30 13:00:29 Try logging transport.responseText === '' Nov 30 13:00:43 with three = it compares the type of the variable too Nov 30 13:02:17 error: rt: false Nov 30 13:02:19 so it's not an empty string Nov 30 13:02:41 *headscratch* Nov 30 13:05:39 interesting Nov 30 13:05:51 transport.responseText.length is 953 Nov 30 13:07:46 yup Nov 30 13:07:51 there's something coming back Nov 30 13:13:17 swisstomcat: wow that is pretty weird o_O Is there anything in responseXML? Nov 30 13:13:36 no Nov 30 13:14:03 content-type is text/html Nov 30 13:14:39 if i do a $('result').innerHTML=HTMLString; i can see the stuff that's coming back **** BEGIN LOGGING AT Mon Nov 30 13:17:42 2009 Nov 30 13:41:56 mojo log has an 500 character limit Nov 30 13:42:00 perhaps 600 Nov 30 13:42:06 so your 953 isn't logable Nov 30 14:00:11 rick: ah, that makes sense Nov 30 14:02:49 another question for the more experienced developers Nov 30 14:02:56 in terms on application flow Nov 30 14:03:40 the second scene does an ajax call to a website to get a session id first Nov 30 14:03:54 then it uses that session id to make another ajax call with parameters Nov 30 14:04:05 the first ajax call is in activate Nov 30 14:04:30 where or who should call the second request? Nov 30 14:05:52 right now the second call is in the onsucess callback of the first call ... Nov 30 14:06:00 not sure if that's a good idea Nov 30 14:20:18 swisstomcat: That's the recommended way. Nov 30 14:22:51 oh :) Nov 30 15:04:45 Hi, I need some help with Ajax-Requests and Cookies! Nov 30 15:06:51 When I execute an Ajax.Request the first time, I get back a "Set-Cookie"-Header field containing the cookie. For each subsequent call with the same request I won't get that cookie again. Nov 30 15:07:00 Is this expected behaviour? Nov 30 15:07:22 Does the Runtime-Environment handle taht cookie anyhow? Nov 30 15:21:10 chris______: I believe the answer is that the cookie is handled automatically Nov 30 15:24:34 Hmm, is using the Ajax.Request() methology the right way to access some WebService? Nov 30 15:26:38 Most likely. Nov 30 15:27:30 yup Nov 30 15:27:39 just did that today Nov 30 15:28:16 and then parse the output, either text,html,xml or json Nov 30 15:34:08 yep Nov 30 15:37:22 I just have some problems with the cookies: When I perform the first request, the server-response contains a cookie. When I ignore this cookie (as I suppose the environment handles it for me) and perform a second (different) request, I receive a response telling me that I should turn on Cookies! :-( Nov 30 15:38:03 When I execute the first request again, the server-response does not contain the cookie anymore! Nov 30 15:38:35 If I try to find the cookie in my document by using document.cookie I get a undefined. Nov 30 15:45:13 hmm Nov 30 15:45:13 Check out the webOSdev forum. There was something about cookies persisting oddly. Nov 30 15:49:31 I am trying to include a folder under app called 'models' which will have some js code which I can use in controllers.in sources.json, should adding {"source": "app\/models\/helper.js"} do? Nov 30 15:52:08 yup Nov 30 16:06:49 chris______: are you doing ajax requests? Nov 30 16:13:57 swisstomcat: was that at me? Nov 30 16:15:27 ivshankar: yes Nov 30 16:30:04 Hi Nov 30 16:30:25 Is there here somebody from palm ? Nov 30 16:31:38 chuq usually hangs around here, but he does not appear to be here right now. I assume that he hasn't gotten into the office yet. Nov 30 16:31:48 ok, thank Nov 30 16:31:49 What is the question Nov 30 16:32:07 neither is Adora Nov 30 16:32:13 if its a development question it is likely that someone here can help Nov 30 16:32:14 and im not sure who else is from palm Nov 30 16:32:18 I have submit my app by email to the catalog Nov 30 16:32:31 and I want to have some feedback. Nov 30 16:32:35 Roy-Pre101: got a wiki page for palm employees on the wiki yet? Nov 30 16:32:45 OK - when did you do it, usually it takes about 2 weeks Nov 30 16:32:57 12 days Nov 30 16:33:01 ok Nov 30 16:33:13 yeah when you see them come on its chuqui Nov 30 16:33:23 or adora Nov 30 16:33:35 ok, thanks Nov 30 16:34:30 Is he the only one to work at palm ? Nov 30 16:35:40 Traveler3: chuq and adora work for palm. i believe there are a few others but dont remember Nov 30 16:35:53 ok Nov 30 16:36:50 Speaking of the devil Nov 30 16:37:03 Hi chuqui ! Nov 30 16:37:15 chuqui: Traveler3 has a question that you might be able to help him with. Nov 30 16:37:24 him/her Nov 30 16:37:27 morning! Nov 30 16:37:27 dkirker: chuqui is the devil? Nov 30 16:37:34 (him) Nov 30 16:37:38 chuqui: can i sell you my soul for immortality? Nov 30 16:37:42 Traveler3: sorry about that Nov 30 16:37:45 nah, I gave up satan worship years ago Nov 30 16:37:53 I have submit two apps about 12 days ago. Nov 30 16:38:07 Is it possible to know where are they in the process ? Nov 30 16:38:07 chuqui: aw, too bad Nov 30 16:38:44 pay is decent, but the long-term benefits suck Nov 30 16:39:05 ? Nov 30 16:39:24 chuqui: really? i wouldve though the opposite Nov 30 16:39:53 great long term benefits, no pay Nov 30 16:40:04 Traveler3: I think he was referring to the satan worship ;) Nov 30 16:40:29 lol Nov 30 16:40:31 lol, ok ;) Nov 30 16:41:48 okay, so what was the question again? Other than "sleeping in lava" being kinda a bad long term benefit? Nov 30 16:42:14 chuqui: Traveler3 was asking about his app approval status or something like that Nov 30 16:42:26 I have submitted two apps about 12 days ago. Nov 30 16:42:33 yeah. Nov 30 16:42:53 Do you have receive it ? Nov 30 16:43:14 the name of the first app is VoipBuster SMS Nov 30 16:43:55 Do you have receive it -> Did you receive it Nov 30 16:45:03 yes. we have it. I sent it off to the business team to start processing on the 18th. It's in the queue, but with the holidays things are still being worked on. Nov 30 16:46:20 ok, great. When will it be in the app catalog ? Nov 30 16:46:21 :D Nov 30 16:46:52 Good Morning Chuqui Nov 30 16:46:58 I dunno.... Nov 30 16:47:08 Hi...I'm having trouble with Audio objects on the Pixi. It seems that on the Pre, I can play more than one Audio object at a time, but I can't on the Pixi. has anyone else seen that, or is anyone aware of a solution? Nov 30 16:47:26 ok, thanks. Nov 30 16:47:28 next step is for a business person to contact you and get the process going; once that happens, things tend to move fast. Nov 30 16:47:41 ok. Nov 30 16:51:46 Chuq, I have added you on linkedin ;) Nov 30 16:52:05 cool~ I'll reject you. Nov 30 16:52:18 lol Nov 30 16:52:58 So, the precorder folks think they came up with a clever hack that might resolve the viewfinder problem. They'll know late tonight Nov 30 17:02:12 rick_work - cool Nov 30 17:09:52 hello Nov 30 17:11:40 is there a way to get the original target or value for the model from a view menu? Nov 30 17:18:26 chuqui: Happy Monday (and belated Thanksgiving) Nov 30 17:18:40 happy monday after thanksgiving, Roy! Nov 30 17:21:57 For those interested in Ella: http://www.nytimes.com/2009/11/29/arts/music/29ella.html?_r=1&th&emc=th Nov 30 17:25:28 all I seem to get in the event frm the viewmenu is the cmd. but I generate the menu from sql. Nov 30 17:26:09 so it the same cmd. but I need to know what was tapped Nov 30 17:28:28 event.original.Event is undefined Nov 30 17:29:02 event.originalEvent without the dot? Nov 30 17:29:03 srcElement is undefined Nov 30 17:29:56 Dremel, What do you mean by view menu? A command menu, an app menu or something else? Nov 30 17:29:57 yes. extra dot there.. Nov 30 17:30:03 undefined without the dot Nov 30 17:31:13 other. its called a view menu Nov 30 17:31:41 its supposed to float at the top of the page as opposed to the bottom Nov 30 17:32:44 like commandmenu Nov 30 17:32:45 Dremel can you post the code you're using to create and instantiate it at webos.pastebin.com ? Nov 30 17:33:47 I can't actually, my net connect is down. I only can wirc.. Nov 30 17:34:02 that's a problem then. Nov 30 17:34:07 I don't have tether. Nov 30 17:34:53 its like cmdmenu but floats at the top of the page Nov 30 17:35:03 Ok, so you're generating the menu from a query , and you're the model of the menu has a series of "commands" that get triggered when you choose them Nov 30 17:35:15 so does each menu item set a unique command from your sql? Nov 30 17:35:17 the menu and cmd fires Nov 30 17:35:25 got that. Nov 30 17:35:31 same cmd Nov 30 17:35:41 Ahhh, well, that's your problem Nov 30 17:36:00 each menu item needs to have a unique command and then your handle command needs to PARSE THAT Nov 30 17:36:10 even if it's just "item1" and "item2" Nov 30 17:36:27 you aren't going to GET the underlying event any more than you can get it from a command menu Nov 30 17:36:38 the menu handler does an event propagation stop Nov 30 17:38:23 well that's a pain.. Nov 30 17:38:44 I call stopprop in the scenes handlecmd Nov 30 17:39:12 it's not THAT bad, you're already generating the menu, just generate a unique command, you're generating a unique LABEL.... What's the big deal? Nov 30 17:39:35 parsing the cmd Nov 30 17:39:58 substring the cmd string I guess huh? Nov 30 17:40:01 this is harder than parsing the orgininating element of the menu????? Nov 30 17:40:09 !!???!! Nov 30 17:40:20 you could substring the cmd string, Nov 30 17:40:46 hello...wha tis the best way to parse an big XML file (~6MB)? Atm I use an Ajax.Request but on the Pre the big xml files will not be parsed. Nov 30 17:40:49 or if you just want to know which menu ELEMENT was clicked, you could make the command the same as the label. :-) Nov 30 17:40:53 its all relative Nov 30 17:41:19 zefanjas what are you doing with the big xml file? Nov 30 17:42:17 Rick_work, I parse the files to import them in a sqlite DB Nov 30 17:42:59 I don't know what the label might be. its dynamic. Nov 30 17:42:59 the handlecmd would need to know. Nov 30 17:43:47 Dremel, if you were parsing the origninating event you would get a tap and a div, and the handlecommand would need to know what the div ID ment. Up to you, but this does NOT seem harder. :-) Nov 30 17:44:32 zefanjas what is the source of the XML? a sql database you're downloading into the Pre? Nov 30 17:44:52 I give it a whack Rick. thx. Nov 30 17:45:24 I thought I saw the news app in the book doing something similar Nov 30 17:46:36 Dremel: I don't think there's anything on webos101.com on he view menu. Maybe you can add something to the menu section. Nov 30 17:46:51 s/on he/on the/ Nov 30 17:47:57 Rick_work, no...the data I want to use is originally a XML. But I need the data in a DB for better access Nov 30 17:48:18 Roy-Pre101: can't say that I am qualified to since I can't get it to do what I want Nov 30 17:48:49 zefanjas so your source is one giant xml document, you have no control over what's handed to you, you just get the six meg dump? Ok, that can be dealt with Nov 30 17:49:11 ooh. nice touch in wirc to auto complete names.. Nov 30 17:50:00 Dremel: How do you autocomplete names in wirc? Nov 30 17:50:10 Also: When you -do- get it to work you -will- be qualified. Nov 30 17:50:41 Something is better than nothing and people can improve upon it. Nov 30 17:52:59 Rick_work, in the emulator everything works fine, but not on the device. Nov 30 17:53:21 zefanjas how are you parsing the xml? Nov 30 17:54:26 Rick_work, I use an Ajax.Request Nov 30 17:54:55 you use an ajax request to get a variable CONTAINING the xml, but then you have to drop it into a dom element to parse it. Nov 30 17:55:13 and then you have to walk the dom to make your sql tables.... Nov 30 17:57:12 Rick_work, Yes...that's the way I do it. But this doesn't work on the Pre with big XML files... Nov 30 17:57:55 Roy I just typed roy and found you. Nov 30 17:59:00 didn't work then..:( Nov 30 18:35:49 zefanjas can you split the xml into three or four smaller chunks? Nov 30 18:36:43 or, if you know the element for a record, you could take your six meg string and split it into a javascript array on the record header... and then parse each one of those in a loop. Nov 30 18:39:23 Rick_work, hmm...I download the XML first an then parse it. So there's no way to split it. The problem is, the Ajax.Request isn't successfull, but also doesn't fail. Nov 30 18:53:58 Anyone else notice that their app's byte size is much bigger in the app catalog than the ipk you make? Nov 30 18:58:14 well the app size is bigger than the ipk, the ipk is compressed Nov 30 19:02:01 i can't get virtualbox (3.1.0) works with sdk (1.3.1.314) on osx :( Nov 30 19:02:47 "FATAL: Could not read from the boot medium!" Nov 30 19:03:43 someone can help me? Nov 30 19:05:21 I thought that 3.0.12 was the newest virtual box avaible, but I'm on WinXp so what do I know... :( Nov 30 19:06:02 anyone worked with Audio objects in the Pixi and run into problems with PixiResourceArbitration (it seems to prevent more than one Audio object from playing)? Nov 30 19:12:35 im having a wierd delete list item issue. Swipe to delete works fine but i also have a alternative submenu delete that doesnt update the list. Nov 30 19:13:02 it removes from database but doesnt refresh list Nov 30 19:15:46 natenrb9, the weird thing is, the uncompressed version on my hard-drive, (with version control files and everything that dont get included in the package) is still 1/4th the size listed in the catalog. Nov 30 19:17:25 lhyt: actually, yeah, mine is listed as double the actual size…yet another bug it looks like... Nov 30 19:17:46 lhty: btw, congrats, looks like switcharoo is doing awesome! Nov 30 19:17:50 dirs, my guess is 3.1.0 wont yet work. People have not had any trouble with 3.0.12, so if you can find that, it should work. Or you can follow the link to 3.0.10 that is on the palm dev site. Also works great. Nov 30 19:18:33 natenrb9, thanks! It got pushed out on wednesday (finally!) Nov 30 19:19:24 natenrb9, BTW, I downloaded your 8 ball. I thought it was very cool. Like the ability to add personal message groups. Not something that is possible on mine the way I did it. Nov 30 19:19:39 lyht: thanks! Nov 30 19:19:45 yeah, people are loving that feature Nov 30 19:47:03 natenrb9: Apparently, the size shown is installed size now. Not .ipk size. Nov 30 19:49:51 roy-pre101: right, that's what we were discussing, but the number is still 2X bigger (my app) or 4X bigger (lyht's) than the actual installed size Nov 30 19:50:30 Hmm... Nov 30 19:58:28 Hey all Nov 30 19:59:07 hey kesne-school Nov 30 19:59:40 Hey there Nov 30 19:59:52 kmax15: why the 15? what happened to 12? Nov 30 20:00:15 he got an update? Nov 30 20:00:43 there must be another reason Nov 30 20:00:50 kesne: when my irc client fails to connect it tries the next number and I am constantly logging on and off at school Nov 30 20:01:24 oh Nov 30 20:01:30 Register kmax12 then Nov 30 20:01:35 And just ghost it Nov 30 20:01:49 Anybody here read webOSroundup? Nov 30 20:04:31 so nobody does? Nov 30 20:04:37 This channel is dead Nov 30 20:04:43 you're dead Nov 30 20:04:46 Maybe if I say the magic word.... Nov 30 20:04:47 Meth Nov 30 20:05:01 s/dead/dying/ Nov 30 20:05:09 from meth Nov 30 20:05:10 Or for CTLAdvance-work, meh Nov 30 20:06:03 LOOK! IT'S SNOWING! http://keen-studios.net/news/ Nov 30 20:08:26 meh? where Nov 30 20:08:28 how much Nov 30 20:08:32 A HA Nov 30 20:08:43 have you seen Keen Studios lately? Nov 30 20:08:45 ill trade my left shoe for it Nov 30 20:08:50 traded my right last week Nov 30 20:09:00 no, url please Nov 30 20:09:12 Ugh, nobody save it.... Nov 30 20:09:15 http://keen-studios.net/ Nov 30 20:09:24 ill ad it to my favs Nov 30 20:10:16 brb installing new w7 bt drivers Nov 30 20:10:32 ah Nov 30 20:10:36 kmax16! Nov 30 20:11:24 kmak14-16 Nov 30 20:14:51 keen studios looks good Nov 30 20:15:04 too much snow Nov 30 20:15:10 looks fake Nov 30 20:15:28 gkatsev: Your breast implants look fake Nov 30 20:15:41 CTLAdvance-work: why thank you. Nov 30 21:00:57 lol Nov 30 21:01:11 what are you doing at school harssasing developers via email Nov 30 21:02:51 doh he left Nov 30 21:09:57 hello Nov 30 21:10:26 can anyone read my chat ? Nov 30 21:10:35 joez: what chat? Nov 30 21:10:41 that one :-) Nov 30 21:10:42 thanks Nov 30 21:11:07 first time using this chat room Nov 30 21:11:25 ah, cool. welcome Nov 30 21:11:40 we dont bite. except kesne Nov 30 21:12:09 lol, cool, will keep that in mind Nov 30 21:13:07 how can I see wut the current active app is? Nov 30 21:15:17 look at the screen? Nov 30 21:20:39 Guest1233: Hi David! Nov 30 21:24:22 dawm: lol, i am guessing programatically Nov 30 21:38:54 There we go Nov 30 21:39:07 Even better Nov 30 21:39:34 CTLAdvance-work: I IZ BACK FOO! Nov 30 21:40:21 arg, registered Nov 30 21:40:29 There we go Nov 30 21:40:53 AHA Nov 30 21:41:07 how can I programatically see which application is currently acvtive if my app is working in the background? Nov 30 21:41:23 PreGame: I'm not sure you can. Nov 30 21:41:27 Whats up playa Nov 30 21:42:15 why another dash? Nov 30 21:42:48 AFK for a few returning shortly Nov 30 21:43:11 * bigego smacks up Leon Nov 30 21:44:36 * CTLAdvance-away slaps bigego around a bit with a large trout Nov 30 21:45:15 * bigego ducks out the the way, so the trout hits zsoc Nov 30 21:47:11 damn no infobot Nov 30 21:50:00 We know Nov 30 21:50:01 :P Nov 30 22:05:49 PreGame: did you figure it out yet? Nov 30 22:10:47 anyone have issues with MIME w/ the built-in mail app? Nov 30 22:10:48 no Nov 30 22:11:34 hmm Nov 30 22:21:10 is there any way for the mail app to display how many new emails there are on the email icon at the bottom like the iphone does? Nov 30 22:21:37 Roy-Pre101 ping Nov 30 22:23:14 PreGame: do something like if (Mojo.Controller.StageController.active) {log("The stage is active")} Nov 30 22:23:15 soulsurfer: it is probably possible to get a patch that does that as the calendar icon shows the current date. Nov 30 22:23:22 I figured out how to get viewmenu to do something usefull. Nov 30 22:25:03 I need to see if my app is active and if not I need to application manager open it so it will be Nov 30 22:25:41 but you would need something open to check if your app is open Nov 30 22:28:20 whoops, missed bmyers Nov 30 22:34:48 PreGame, still there? Nov 30 22:35:20 yes Nov 30 22:35:53 PreGame, do you just need a way to have your app run if it is not currently running? Nov 30 22:37:40 Anyone know how to get the full path of my application? I can guess it based on the current install paths, but is there a way to ask mojo? Nov 30 22:38:46 no I need a way to make it the focused app if it isnt Nov 30 22:39:20 ah... Nov 30 22:40:00 this.controller.getStageController("first").activate(); Nov 30 22:40:59 if it is active, no harm. If it is not, it will come forward. Nov 30 22:41:17 but how do I detetc if my app is focused regardless of what stage it is in in my app. Nov 30 22:41:43 I dont know how to tell if it is active. Nov 30 22:42:09 I dont know how to tell what stage is active. Nov 30 22:42:25 so if you have more than one... this is trickier Nov 30 22:43:06 There is probably something that tracks it and will tell you, if not you could track it yourself. Nov 30 22:43:34 well for active scene you just use stagecontroller.actveScene Nov 30 22:44:16 have you tried stageController.activate()? Nov 30 22:48:06 sorry. on my pre. activescene tells you the active scene. and activate will open. I will try it. Nov 30 22:52:22 To get your app path use this: Mojo.appPath Nov 30 22:53:47 Roy-Pre101, awesome. Much better. Nov 30 22:54:05 Sho 'nuf. Nov 30 22:56:06 nope lyht. doesn't work? Nov 30 22:56:30 Crappy. Sorry, dont know. Nov 30 23:11:58 is Chuq watching? Nov 30 23:16:14 anyone have any experience making a system service? Nov 30 23:16:26 I've created one and placed it in /usr/lib/luna/java Nov 30 23:17:11 now I'm trying to write the dbus service definition Nov 30 23:18:10 azakus the folks who have written those tend to hang out in #webos-internals Nov 30 23:18:17 thanks Nov 30 23:18:18 and yes, there are folks around here who have done that. Nov 30 23:19:19 azakus: let's discuss in #webos-internals Nov 30 23:19:32 rwhitby: already there :) Nov 30 23:20:49 rwhitby: Howdy Rod. Nov 30 23:20:56 Rick_work: Howdy Rick. Nov 30 23:21:11 Hi Roy Nov 30 23:21:19 My job would be a lot more fun without customers. Nov 30 23:23:18 true dat! Nov 30 23:28:16 is it only possible to have 1 set of x-mojo-scroll-fade's per scene? Nov 30 23:31:33 i've got 2 horizontal scrollers in my scene, both have a left/right x-mojo-scroll-fade on the sides, but when i scroll either of them, only the first fades actually hid/show Nov 30 23:36:03 danlash: Intriguing... Nov 30 23:36:33 Likely an issue with the id's on the faders. Nov 30 23:36:51 You may need to go clone the css for the second set. Nov 30 23:36:54 i was wondering that as well, currently they do not have ids as i didn't see any in the samples Nov 30 23:37:14 they also have the same class -- i tried duplicating the classes which didn't help Nov 30 23:37:41 i was wondering if there was an explicit hook-up i could do between a scroll-fade and a scroller, but i couldn't find any in the docs Nov 30 23:45:40 besides the scroll fade issue i have another question Nov 30 23:45:58 in "anatomy of a widget" they talk about "Using Widgets in Lists" Nov 30 23:46:16 i have a button in my list, but for whatever reason, following the sample code does not setup the buttons Nov 30 23:46:49 any ideas? Nov 30 23:48:22 question: Can key press events be captured and handled by an application on Palm Pre? Nov 30 23:48:59 yes Nov 30 23:48:59 CodeRage, yes. Nov 30 23:49:07 Look in the sample code that comes with the sdk for examples. Nov 30 23:49:41 excellent. The only other thing I need to sort out is if my application can also hold top focus to prevent user interaction until they unlock my program. Nov 30 23:50:34 basically the intent of the program is to 'lock' the device and prevent use of any other app until my program has been unlocked by the user. Nov 30 23:55:22 so to do that... you need to disable the button and also hide the notifcation area some how Nov 30 23:55:53 I mean you really don't want to halt other programs right (i.e email) just prevent access to them by user Nov 30 23:58:05 man i had my fucking pre stolen Nov 30 23:58:09 oh, and consider the powerdown button in case they try to workaround it that way. What else ?? hmmm.... Nov 30 23:59:04 ah no. don't want to halt other programs. Basically I just want my program to have top focus and prevent the user from leaving my program until my programs unlock conditions are satisfied. Nov 30 23:59:41 lol what would your app do Nov 30 23:59:42 sounds like you need a scrib that spans stages Nov 30 23:59:49 powerdown and reset are fine. My program is intended to run on startup/wakeup. Dec 01 00:00:44 right ok. So I think you just need to seize the button used for switching, somehow. but you'll also need to do something about notifications too because a user can push on them if they come up and switch Dec 01 00:00:53 why not just let the lock application do its job? Whats different about your app? Dec 01 00:01:27 basically the intention of my application is to prevent the device user from fiddling with it while driving, and to prevent alerting them that some exciting yet dramatic message or phone call is begging for their attention. Dec 01 00:02:09 I see... Wouldn't airplane mode do the same thing? Dec 01 00:02:35 or do you want the notification to still be logged? Just easily ignored? Dec 01 00:02:39 that be cool if it used the GPS to auto detect the driving is occurring, and disabled notifications... and if it happened automatically Dec 01 00:02:45 honestly i'm not entirely sure. If the entire thing was up to me, i'd have the program just turn the device off, but the client doesn't like that idea. :-/ Dec 01 00:02:54 ignored. Dec 01 00:03:00 notifications ignored I mean. Dec 01 00:03:10 Yeah I see....hmmmm Dec 01 00:03:16 wierd client Dec 01 00:03:33 FreeTim3: you nailed it with the gps thing. :) Dec 01 00:03:36 would love that one, CodeRage. It sounds like a good idea for safety Dec 01 00:04:10 Ah, the GPS would definitely make it useful. Hah. Nice idea. Dec 01 00:04:48 yep - the GPS has a 'velocity' output perhaps if it sees higher than some speed, ya know? Dec 01 00:04:56 me too. the thing about this program is the marketability of it to a few different target audiences. Dec 01 00:05:44 Well from the sound of it, the APIs you'd have to use would make it stay in homebrew for a while. Dec 01 00:06:39 If I were developing my own app for my kids (when the time comes for them to have a cell phone and driving) i'd include a voice sounding like a cross between Eddie Murphy and Richard Pryor saying "Hey man! STFU and drive mofoka!" then with the same voice used in the old arcarde game Powerball *powering down!* and shut the device off. Dec 01 00:07:07 has anyone been able to get widgets inside of list item templates to work properly? Dec 01 00:07:58 hah Dec 01 00:08:06 From a humanitarian point of view the program is for saftey, but from a business point of view, multiple businesses make/save money. Dec 01 00:08:10 @danlash... yeah, what widget in particular? Dec 01 00:08:54 Wait, let me think danlash. Dec 01 00:08:55 i just want a button in each list item Dec 01 00:09:05 Well good luck with that one CodeRage would love to see it up and working for sure. Dec 01 00:09:07 and, this program is also going to be on multiple devices. Dec 01 00:09:16 Ditto. Dec 01 00:09:31 the "anatamy of a widget" article says i can just do this: this.controller.setupWidget("list-item-button", {}); Dec 01 00:09:43 where list-item-button is the _name_ of the x-mojo-element Dec 01 00:09:55 I already developed a prototype of sorts for WindowsMobile, I just gotta sort out how the Palm Pre will accomplish the same thing. Dec 01 00:09:57 and the model will be passed along Dec 01 00:10:16 hmmmm, haven't worked with that. Dec 01 00:10:37 i was originally thinking i'd have to create a widget-assistant Dec 01 00:10:47 but the artcile says it should be easier Dec 01 00:10:48 we were hoping to also incorporate TTS and STT into it, but I don't think that's going to happen due to the fact that technology is so in its infancy (practically in the womb still) and so expensive going with 3rd party that it's just not worth it yet. Dec 01 00:11:01 but then again it does reference some unknown demo app that i cant find Dec 01 00:11:06 maybe its out of date Dec 01 00:17:29 is joez still here? Dec 01 00:18:00 or dawm? Dec 01 00:19:34 hey Dec 01 00:19:58 you made my browser title bar blink Dec 01 00:21:34 Woo, I feal special! Dec 01 00:21:47 And so you know, gkatsev lied, I don't bite Dec 01 00:24:53 oh, ok, ill be picking on you then Dec 01 00:27:11 What happened? Dec 01 00:27:17 Do you need help or something? Dec 01 00:27:27 I know some great doctors... Dec 01 00:27:38 hey all - in what folder can I see the Mojo.Depot databases, anyone know? Dec 01 00:32:44 nevermind I found em - /var/home/root/html5-databases Dec 01 00:42:59 I have a handleCommand method defined in my scene assistant and my stage assistant, yet only the one in the stage assistant gets executed. Why would this be? Dec 01 00:46:11 Well I'm a novice here, but I think it's because stage is always running, while scenes only run after stage and controlled by stage (still running.) So, I think if you're doing some 'binding' then the one in stage will be executed first, and it's the binding that will stick? Dec 01 00:46:51 and I dont' know if you can have two bindings to one handler, maybe that's why the scene one then fails Dec 01 00:50:41 yeah i don't know either Dec 01 00:54:46 I'm making my first app it has two stages so i'm getting used to stage manager Dec 01 00:55:18 hah, I mean, it has two scenes, independant of each other (they share a mojo.depot.) Dec 01 01:10:11 Arg Dec 01 01:38:33 Ok, I give up. What's the proper method of evoking video launcher? I can't find the API Dec 01 01:39:21 hello Dec 01 01:40:01 its in the services api reference Dec 01 01:40:03 wow Dec 01 01:40:16 for anyone that was here earlier i found the answer to the button in a list question Dec 01 01:40:31 for any widget to work inside of a list item template, it must be wrapped in a div Dec 01 01:40:44 doesn't have to be any special class or anything, just must be wrapped Dec 01 01:40:54 ::sigh:: Dec 01 01:43:02 still having issues with multiple scroll faders in a scene Dec 01 01:43:09 WHY DOES IT NEED THREE /'s! Dec 01 01:49:02 I'm definitely tired of the lack of API reference... Dec 01 01:50:39 yeah its decent compared to nothing, but definetly leaves a lot to be desire Dec 01 01:50:40 d Dec 01 01:55:37 can the list template (not item template) use property substitution? Dec 01 01:58:39 i can't seem to setupWidget that lives in a listTemplate -- is it possible? Dec 01 02:11:38 danlash2: u need to instanciate it somehow Dec 01 02:13:59 Evening. Dec 01 02:14:59 Is tibfib1 here? Dec 01 02:15:09 I'm working on error handling for the watchdog and disconnect events of HTMLMEDIAELEMENT. Anyone have any good examples of this? Dec 01 02:21:02 Yes Dec 01 02:21:13 Not sure when that was posted...hah Dec 01 02:22:06 7 minutes ago. Dec 01 02:27:34 danlash2: you still here? Dec 01 02:27:48 yep Dec 01 02:27:57 Tibfib1: so how old are you? Dec 01 02:47:00 oh cool, my pre app hit says "published" in my developer account Dec 01 02:47:36 Apparently I'm "Creeperish" Dec 01 02:47:38 hehe Dec 01 02:57:09 kesne: you are definetly a creeper, dating adult models and all **** ENDING LOGGING AT Tue Dec 01 02:59:58 2009