**** BEGIN LOGGING AT Sun Mar 21 02:59:56 2010 Mar 21 06:12:02 anyone here? Mar 21 06:15:31 no Mar 21 06:21:17 well THIS is an interesting side effect.... Mar 21 06:24:07 halfhalo_T400: what happened now? Mar 21 06:24:23 Well, half my friendslist does not appear in my app Mar 21 06:31:17 anyone know the hotkey to get to the lockscreen in the webOS simulator? Mar 21 06:31:29 don't think you can.... Mar 21 06:33:19 well when you start it up sometimes it goes to the lockscreen Mar 21 06:33:34 for some reason it started doing it to me just today Mar 21 06:33:40 never knew that... Mar 21 06:33:48 is there a gesture or something that locks it? Mar 21 06:33:54 or is it the button on top only Mar 21 06:34:11 on the actual device Mar 21 06:34:25 button only Mar 21 06:34:35 well looook who it is! Mar 21 06:35:44 you know, I should probly stopoverriding my db every pageview, but meh Mar 21 06:46:44 I'm having a problem guys Mar 21 06:46:46 and gals Mar 21 06:46:53 orly Mar 21 06:50:06 I am trying to figure out a data structure so that I can use a setInterval to repeatedly execture an objects method Mar 21 06:50:06 the other posibility is to make a function that increments an object's parameter, using setInterval Mar 21 06:50:06 in the first case, the problem is vast Mar 21 06:50:13 the second case, the only problem I'm having is trying to write a function that can run on any object, as if it was a method of that class Mar 21 06:50:17 are you following me? Mar 21 06:51:03 why not make a class containing the object and method and be done? Mar 21 06:51:17 well here's the deal Mar 21 06:51:29 There are one hundred of these objects of the same class Mar 21 06:51:49 so the reason for the repetition is two fold Mar 21 06:52:38 Don't know how to help you, sorry.... Mar 21 06:52:42 BOO Mar 21 07:03:22 so what do you guys think Mar 21 07:03:32 all these rumors about palm tanking going to fail? Mar 21 07:03:54 er Mar 21 07:06:57 who knows Mar 21 07:07:07 I was trying to think about why they haven't taken off Mar 21 07:07:11 its easy Mar 21 07:07:16 I really like their idea of what a phone should be Mar 21 07:07:21 pre and pixi are substandard hardware Mar 21 07:07:22 webOS really turns me on :D Mar 21 07:07:31 they really should put it on a premium phone Mar 21 07:07:32 but the pre is the same hardware as the iphone 3gS Mar 21 07:07:36 the os itself works really quite well Mar 21 07:07:42 and no one says that about the iphone 3gS Mar 21 07:07:47 alexfner: the keyboard is so crappy they should have just left it off Mar 21 07:07:58 bigger screen would have been better Mar 21 07:08:05 I really like the physical keyboard, and probably wouldn't have bought it if they didn't have it Mar 21 07:08:17 admittedly it isn't super clicky, but I like it Mar 21 07:08:21 wtf Mar 21 07:08:24 I mean, I guess all that stuff is true Mar 21 07:08:25 I got my sound playing stuff going Mar 21 07:08:30 but for a certain market Mar 21 07:08:32 but the volume is all over the place on playback Mar 21 07:08:42 I mean, I like that the phone isn't mega huge or anything Mar 21 07:09:00 well I have the google phone Mar 21 07:09:03 and that thing is slick Mar 21 07:09:54 media stuff in html5 sucks big fatty Mar 21 07:10:00 thus media in webos suck big fatty Mar 21 07:11:12 hmm, I'm not sure Mar 21 07:11:22 It's just not quite ready for prime time Mar 21 07:12:39 I noticed that the difference between palm and apple is that palm is willing to put things on it's phone that aren't quite ready for prime time, as represented by html5, and the necessity of the PDS Mar 21 07:12:41 PDK* Mar 21 07:12:49 as well as flash Mar 21 07:12:53 is another good example Mar 21 07:13:52 I don't mean html5 isn't ready for prime time, but it isn't finished yet, and it isn't ready (at least not in 1.4) to be used as the primary media interface for webOS SDK apps Mar 21 07:15:02 well the media apis in html5 are just crap in the first place Mar 21 07:15:09 looks like 10 year olds designed it Mar 21 07:15:15 but if it worked reliably I'd be down Mar 21 07:15:22 its really nto responsive Mar 21 07:15:36 I am considering writing a pdk plugin and wrapper so people can use sound from their apps reliably Mar 21 07:28:06 well do it Mar 21 07:28:14 you've been talking about it for years Mar 21 07:28:25 I know I thought I had worked out the kinks Mar 21 07:28:28 I got it working mostly Mar 21 07:28:35 but still way too laggy and way too unreliable Mar 21 07:28:55 tap same sound over and over, and it starts varying audio levels and starts IN the wav at the wrong location Mar 21 07:29:08 alexfner: I am working on it now as we speak Mar 21 07:29:17 I'll open source it Mar 21 07:29:33 seeing as its going to just be a wrapper it shouldnt matter anyway Mar 21 07:32:24 do you think anyone cares about canvas games? Mar 21 07:32:28 I'm working on one now Mar 21 07:32:38 with the pdk though, are they irrelevant? Mar 21 07:32:42 I'd definately be interested to see what people come up with Mar 21 07:32:50 alexfner: the point is with those games Mar 21 07:32:52 if you can run them fast Mar 21 07:32:55 why not do it with mojo Mar 21 07:33:04 wait, what? Mar 21 07:33:11 you mean 2d games Mar 21 07:33:14 I mean Mar 21 07:33:21 no sense in using pdk jsut to use pdk Mar 21 07:33:28 if the game runs fine via regular mojo sdk Mar 21 07:34:17 yeah but with the mojo sdk I always run into shuttering Mar 21 07:34:21 haha Mar 21 07:34:22 and lagg at some point Mar 21 07:34:44 so my thoughts are if I could give my app an elevated priority perhaps the problem would be fixed? Mar 21 07:34:55 I don't know though Mar 21 07:34:58 no idea Mar 21 07:35:04 I think my app would be suitable on this hardware Mar 21 07:35:13 but implementation and html5 media elements prove that wrong Mar 21 07:36:13 I'm curious just what causes those html5 problems though Mar 21 07:36:28 it seems to me like the switch to webKit 4 was a bit too fast perhaps? Mar 21 07:45:16 hey ron, ya there? Mar 21 07:48:36 yessir Mar 21 07:48:49 html5 is not a complete specification Mar 21 07:49:01 and the sounds in html5 were designed for simple stuff Mar 21 07:49:14 like streaming a mp3 or wav, or playing a wave real quick one time Mar 21 07:49:16 not for repeated Mar 21 07:49:19 not for buffered Mar 21 07:49:22 not for use like a sound mixer Mar 21 08:12:54 well, hmm Mar 21 08:12:57 ron, ya here? Mar 21 08:13:38 yeah boyee Mar 21 08:13:44 got sound playing via sdl Mar 21 08:13:53 gotta build the mixing helpers and test =) Mar 21 08:25:45 haha Mar 21 08:25:49 nice Mar 21 08:28:16 morning Mar 21 08:28:20 rainy sunday morning Mar 21 08:28:56 yes yes it is Mar 21 08:29:14 c++ isnt my native lang so it may take me another hour to get the sound cache inserting/removing like I want Mar 21 08:29:31 hey ron_frown Mar 21 08:29:34 yessir Mar 21 08:29:44 well I never got my mojo sound engine going Mar 21 08:29:47 so PDK it is Mar 21 08:30:03 sounds good too Mar 21 08:30:07 i have to work on sound too Mar 21 08:30:14 I got sound working in pdk Mar 21 08:30:17 just want to clean it up Mar 21 08:30:29 as a plugin? Mar 21 08:30:31 well I should say, compiling with pdk bits on osx runs and plays sounds as expected Mar 21 08:30:47 so it should just install and run on webos Mar 21 08:36:20 swiss you have pdk bits? Mar 21 08:36:26 nah Mar 21 08:36:32 i'm no c/c++ guy Mar 21 08:36:45 hha neither am I Mar 21 08:36:49 but I learn quickly =) Mar 21 08:37:48 i'll try it out when we get the linux version Mar 21 08:37:59 linux version of what Mar 21 08:38:00 pdk? Mar 21 08:38:05 yeah Mar 21 08:38:15 guess i could already play with the WIDK Mar 21 08:38:23 but i'm finishing up my next app Mar 21 08:38:58 sweet Mar 21 08:39:04 what might that be or you cant say just yet Mar 21 08:39:16 you can test the beta if you want Mar 21 08:39:30 if you want me too Mar 21 08:39:36 I am interested in what people are working on Mar 21 08:39:54 especially since this kinda feels like a community, something I am working on may be something you are working on and if I can help good Mar 21 08:39:59 and hopefully vice versa =) Mar 21 08:40:26 yeah, i usually beta test other apps too Mar 21 08:40:54 what is this one Mar 21 08:41:29 http://www.inorbit.ch/upload/com.inorbit.animalmemory.beta_1.0.1_all.ipk Mar 21 08:44:49 dumb question Mar 21 08:44:57 is there a move cursor left in webos? Mar 21 08:45:15 which cursor? :) Mar 21 08:45:22 text editing cursor Mar 21 08:45:27 I typed in url apparently its bad Mar 21 08:45:30 oh Mar 21 08:45:33 but I can see beginning of url Mar 21 08:45:43 press and hold the orange button Mar 21 08:45:48 move the cursor Mar 21 08:45:53 pixi Mar 21 08:46:21 doesn't it have something like a orange button too? grey button? Mar 21 08:47:00 haha Mar 21 08:47:00 white Mar 21 08:47:08 that is basically useless on the pixi plus Mar 21 08:48:58 actually url just doesnt work for me Mar 21 08:48:59 I see Mar 21 08:49:04 option swipe Mar 21 08:49:09 no drag of the little dot Mar 21 08:59:22 did you look at the app? Mar 21 08:59:32 it gave me a server error Mar 21 08:59:38 oh Mar 21 08:59:38 couldnt fetch Mar 21 09:00:18 http://www.inorbit.ch/upload/com.inorbit.animalmemory.beta_1.0.1_all.ipk Mar 21 09:00:57 works here Mar 21 09:00:58 looks like its doing something diff Mar 21 09:01:16 ahh I had a period instead of the first underscore Mar 21 09:01:26 I cant install from the web? Mar 21 09:01:32 says unable to open file type Mar 21 09:01:38 format not supported Mar 21 09:01:40 on the device? Mar 21 09:02:19 yea Mar 21 09:02:22 how else do you fetch Mar 21 09:02:29 download then palm-install? Mar 21 09:02:33 yeah Mar 21 09:03:31 on the device, wget it then ipkg -o /media/cryptofs/apps install Mar 21 09:03:58 hey rwhitby Mar 21 09:04:31 hey. who's interested in writing me a front-end to a general purpose WebOS Internals Save&Restore utility? Mar 21 09:04:54 * swisstomcat raises ha...paw Mar 21 09:05:12 The first thing it does so far is make sure your NFS and Glyder saved games are preserved across a webOS Doctoring Mar 21 09:05:26 oh, and your netstat stats and your DrPodder feeds Mar 21 09:05:32 sounds good Mar 21 09:05:46 it interfaces with a service? Mar 21 09:06:23 rown_frown: have you seen this: http://github.com/maygrait/1.4-Media-App ? Mar 21 09:06:49 I need something that looks just like the manage feeds screen in Preware, with a list of applications which will be retrieved from the service, each with a toggle button on the right, and three buttons down the bottom for Select/Deselect All, Save and Restore. Mar 21 09:06:56 rwhitby: send me the customer requirement specification? :) Mar 21 09:07:27 oh, and it needs to be open source and be org.webosinternals.saverestore Mar 21 09:07:36 no problem with that Mar 21 09:07:44 http://www.webos-internals.org/wiki/Save_and_Restore Mar 21 09:08:34 It currently handles save files in the app directory (e.g. NFS, Glyder) and app databases (e.g. DrPodder and netstat). Mar 21 09:08:48 rwhitby: let my finish my audio testing then i'll whip something up as a prototype Mar 21 09:09:09 The list of apps it supports is easily extendable by creating a script that just moves the files to and from /media/internal/saverestore/ Mar 21 09:09:33 then after you doctor, you just install preware and saverestore and make sure all the apps you want are installed, and then hit restore Mar 21 09:16:50 swisstomcat: git clone git@git.webos-internals.org:applications/saverestore.git - I've left room there to put an application in place at the top-level. It'll be a single package install of both mojo app and service. Mar 21 09:18:13 cloned Mar 21 09:20:14 swisstomcat: the service is org.webosinternals.saverestore, and it has list, save and restore methods. The list method has no parameters and returns an array of appid's. The save and restore methods take an id parameter. Mar 21 09:20:40 i will probably need help to interface with the service .. but first things first Mar 21 09:20:56 what you you usually have as the appid? Mar 21 09:20:59 do you Mar 21 09:21:16 swisstomcat: you call the list method on startup, and display the list of items, each with a toggle. Just like in the preware manage feeds screen (feel free to grab code from that to start, cause I'd like it to have the same look and feel as preware) Mar 21 09:21:17 guess i could look at the preware source Mar 21 09:21:48 then when the save or restore buttons are hit, you call the service repeatedly with the appids that are selected Mar 21 09:23:59 hmm, or maybe a front screen like in Preware, with Save and Restore selections (like Available Applications and Available Patches), and a Select Applications screen with the checkboxes Mar 21 09:24:18 and a go button at the bottom. Mar 21 09:24:37 that could look good too Mar 21 09:25:02 I'm aiming for a common look and feel with Preware, including the front-screen with the title-bar and the taglines and stuff Mar 21 09:25:14 aye Mar 21 09:25:25 App name is "Save & Restore" Mar 21 09:25:34 org.webosinternals.saverestore Mar 21 09:25:38 yep Mar 21 09:26:29 i'll reuse some preware code ... open source rocks :) Mar 21 09:26:55 just saw another translation error Mar 21 09:40:19 rwhitby: i also need to push those updated german preware translations Mar 21 09:40:36 at least it's a rainy sunday morning Mar 21 09:40:44 no reason to go outside : Mar 21 09:51:10 swisstomcat: feel free to push german translations whenever you please Mar 21 09:51:10 still here, ron_frown? Mar 21 09:51:20 yes Mar 21 09:51:21 sorry Mar 21 09:51:24 rwhitby: yeah, i have to test them first Mar 21 09:51:27 compiling compiling compiling Mar 21 09:51:33 I havent touched c++ in ~15yr Mar 21 09:51:35 well c Mar 21 09:51:39 never touched c++ Mar 21 09:52:04 ron_frown: do you have some code from your audio player i can compare against mine? Mar 21 09:53:00 it was extremely messy Mar 21 09:54:12 i'm trying to make sense of the palm example i posted earlier Mar 21 09:55:11 which one Mar 21 09:55:13 enda's? Mar 21 09:55:15 yeah Mar 21 09:55:29 I can walk you through that if you have speciic questions Mar 21 09:55:42 did you make it work? Mar 21 09:56:08 not out of box like she/he had it there, that was more of a audio cotnrol wiht play ff/resume/etc Mar 21 09:56:25 first, ist this needed in the view?