**** BEGIN LOGGING AT Sun Mar 14 02:59:56 2010 Mar 14 03:08:02 err ... Cable Modem crapped out there Mar 14 03:08:17 TibFib, you still around? Mar 14 03:08:38 yep Mar 14 03:09:15 you know where on the pre file system I can find all the palm stylesheets? Mar 14 03:10:01 on the sdk Mar 14 03:10:15 C:\Program Files (x86)\Palm\SDK\share\refcode\webos-framework\330\stylesheets Mar 14 03:10:20 on my laptop Mar 14 03:10:26 gotcha Mar 14 03:10:34 yeah I found them on device as well Mar 14 05:17:15 * halfhalo_T400 just shit himself after his titanium find Mar 14 05:18:14 time to change pants, huh ? Mar 14 05:18:17 i hate when that happens Mar 14 05:18:31 its amazing..... Mar 14 05:18:58 type 3 ? Mar 14 05:19:12 ? Mar 14 05:19:15 http://en.wikipedia.org/wiki/Bristol_Stool_Scale Mar 14 05:19:19 bad joke, sorry Mar 14 05:19:49 Think a combo of adobe AIR and Mojo Mar 14 05:19:57 with a dash of php, python, and ruby Mar 14 05:20:09 and being able to deploy to EVERYTHING Mar 14 05:20:20 my microwave may never be the same Mar 14 05:59:55 Has anyone successfully built a Javascript PDK plugin and called a method on it? Mar 14 06:02:53 I think it may be broken right now, JasonLP Mar 14 06:03:20 Oh? ok, so it's not just me. :) Mar 14 06:03:55 Check the PDK forum, I was just reading them and it seems it's not working Mar 14 06:04:00 Seems pretty straightforward and I couldn't get it to work. Mar 14 06:04:29 Yeah, no one else in the forum seemed to have any solution either, so I just thought I'd check here to see if there were any updates. Mar 14 06:34:09 hi all Mar 14 06:34:19 * ball waves Mar 14 06:35:43 hiya Mar 14 06:37:05 back from the brink....physical drive failure on my laptop Mar 14 06:39:02 hi Mar 14 06:40:17 morning Mar 14 06:40:21 * Templarian has fun at the bar... Mar 14 06:40:30 Far from morning stateside. Mar 14 06:41:19 Morning's closer than it feels because the clocks go forward where I this morning. Mar 14 06:41:22 can i get a beer? :) Mar 14 06:42:02 I don't know, can you? Mar 14 06:42:33 i thought since templarian is at the bar already Mar 14 06:42:58 one scotch, one bourbon, one beer Mar 14 06:43:10 Drinking some Guinness getting my irish side ready for the holiday. Mar 14 06:43:40 7:43am here .. a quiet sunday morning to work Mar 14 06:44:08 I should set the coffee pot to boil at 06:30. Mar 14 06:44:11 brb Mar 14 06:44:19 Pff, around here wed morning my friends start the holiday. Mar 14 06:44:52 They are starte at ihop and go from there. Mar 14 06:45:01 start* Mar 14 06:45:53 The drink specials before noon are dirt cheep Mar 14 06:46:52 Also wtf they called last call at 1:15am how odd is that. Mar 14 06:47:32 If I had the money to go out on the razzle, I'd put it towards a Pixi or something Mar 14 06:48:42 ...probably "or something" Mar 14 06:49:24 a developer device? Mar 14 06:50:49 Can you use a Pre Plus on sprint? If so then it would be worth it. Mar 14 06:51:08 i would totally buy one if we could Mar 14 06:51:12 i hate verizon Mar 14 06:51:17 swisstomcat: Is it possible to write code and test it directly on my own Pixi, or does it have to be "blessed" by Palm somehow? Mar 14 06:51:21 they are carrier locked as far as i heard Mar 14 06:51:27 yeah i know Mar 14 06:51:57 ball: that is called the SDK. Mar 14 06:52:05 ball: i don't know why you couldn't Mar 14 06:52:16 question: anyone know how to style the view menu? Mar 14 06:52:18 just put it in developer mode and off you go Mar 14 06:52:25 Feeling a little sad for you that you have a pixi though. Mar 14 06:52:27 still awake, jenp? Mar 14 06:52:36 yeah you too huh? Mar 14 06:52:47 You guys are in EST right? Mar 14 06:52:47 jenp: not exactly, i just got up :) Mar 14 06:52:50 Templarian: who has the Pixi? Mar 14 06:52:51 LOL Mar 14 06:52:59 that's great... Mar 14 06:53:16 * ball is in CST, at least for another hour Mar 14 06:53:19 ball: figured you did well the way you worded it. Mar 14 06:53:28 ...then supposedly jump into CDT then. Mar 14 06:53:37 oh, it's only 22:53 in California Mar 14 06:53:44 lol yup Mar 14 06:53:45 Templarian: No, but I'm thinking of buying one, despite the wee keys. Mar 14 06:53:56 swisstomcat: are you by chance a Sweed? Mar 14 06:54:09 almost .. swiss Mar 14 06:54:21 ball: don't you can't play games or develop cool powerful 3d games. Mar 14 06:54:27 but sweden and switzerland are almost the same for most americans anyway :P Mar 14 06:54:34 Templarian: Not fussed about games. Mar 14 06:54:56 * Templarian thinks he is a tad bit buzzed since he read swiss and typed sweed instead of swiss Mar 14 06:55:04 hehe Mar 14 06:55:12 more beer for templarian Mar 14 06:55:52 It was half off drinks but I had to drive myself home so 2 is my limit for the night hehe. Mar 14 06:56:13 dammit i hate when you're a little tispy and have a 'revelation' in coding...only to sober up and realize you screwed it all up Mar 14 06:56:18 * Templarian is not really buzzed just sleepy hmm Mar 14 06:56:35 :-D Mar 14 06:56:43 I do that high drunk makes me sleepy. Mar 14 06:56:43 * ball may have to pass out shortly. Mar 14 06:56:52 lol Mar 14 06:57:16 doesn't seem fair...it should be hang over OR messed up code...not both Mar 14 06:57:23 Did have fun messing with this hot chick since she was on "e". Doing that thing where you get everyone to move back and forth in a swaying motion. Mar 14 06:57:38 OMG Mar 14 06:58:01 Did use my pre as a make shift strobe light btw best app for parties. Mar 14 06:58:12 I can write code high. It makes no sense in the morning, but it works. Mar 14 06:58:13 LOL Mar 14 06:58:21 And the "Good news everyone!" app was a huge hit. Mar 14 06:58:31 i can't imagine why Mar 14 06:58:58 jlazaroff: really I'm the complete opposite. I get so damn focused on it I code really fast till I get distracted by my brothers cat and end up playing with it for an hour. Mar 14 07:00:14 oh and hey...i have comments..."this will work cause that thing needed it" Mar 14 07:01:07 My clock just did that thing where it jumped in time. Mar 14 07:01:13 Templarian: Yeah, distractions are an issue. There's always the part where I realize I've been like blankly staring at the screen for 10 minutes. Mar 14 07:01:47 Templarian: I'm tempted to sit here for another hour just to see if the hands on my clock whirl around quickly Mar 14 07:01:52 jlazaroff: yes or when you move your cursor over the windows 7 taskbar and do that for the next few minutes. Mar 14 07:03:12 * ball falls down Mar 14 07:05:31 on a more serious note, does anyone know what the style hooks are for the view/command menus? Mar 14 07:10:59 guess you could check out the facebook app Mar 14 07:11:31 swisstomcat: what do you mean? Mar 14 07:11:48 it does some special styling of the view menu Mar 14 07:12:00 yeah, but what do you mean check it out? Mar 14 07:13:37 like peek under the hood of it :) Mar 14 07:13:54 whoa whoa whoa whoa whoa Mar 14 07:13:55 you can do that? Mar 14 07:15:54 sure Mar 14 07:17:12 how do i go about doing that? Mar 14 07:17:13 xD Mar 14 07:18:29 use 7-zip to open the ipk Mar 14 07:19:54 JenP: you're kidding? The source code of webOS applications is right there for anyone to read? I'm shocked. Mar 14 07:20:04 lol Mar 14 07:20:21 that means anyone can read my code .. OMG Mar 14 07:20:25 rod...it would work.... Mar 14 07:20:28 LOL Mar 14 07:20:39 where is the ipk available other than the app store? Mar 14 07:21:11 well, there used to be these https download links you could use .... oh, never mind. Mar 14 07:21:18 psssh! Mar 14 07:21:20 lol Mar 14 07:21:54 jlazaroff: ssh into your device, look in /media/cryptofs/apps/usr/palm/applications Mar 14 07:22:03 * swisstomcat quickly leads rwhitby out of the room Mar 14 07:22:21 oh, wow Mar 14 07:22:48 oh no, now the secret is revealed .. and in the palm channel no less Mar 14 07:22:58 rwhitby: oooh, thanks :) Mar 14 07:23:02 * swisstomcat is waiting for the black helicopters to arrive Mar 14 07:23:04 lol...rod you're gonna de-flower this guy... Mar 14 07:23:04 I for one am astounded. Mar 14 07:23:05 swisstomcat: oh, I didn't realise anyone other than you and I were reading this .... Mar 14 07:23:12 buy him dinner first Mar 14 07:23:37 :-D Mar 14 07:25:00 you could also look at /opt/palmSDK/Current/share/refcode/applications for the builtin apps Mar 14 07:25:19 swisstomcat: you mean Palm show their source code too!!!! ? Mar 14 07:25:45 how is anyone going to make any money if all this source code is out in the open? Mar 14 07:25:58 rwhitby: yeah, in the freely downloadable sdk no less! Mar 14 07:26:23 palm is doomed, everyone will just copy the palm apps Mar 14 07:26:30 apple,google,nokia Mar 14 07:26:46 it's right there in the open Mar 14 07:26:47 lmao Mar 14 07:26:58 another question: how do i pass variables along with an event listener? Mar 14 07:27:02 swisstomcat: let alone people changing the palm apps to do things like making the batter icon a percentage! how will palm ever stop that? Mar 14 07:27:14 s/batter/battery/ Mar 14 07:27:22 lol Mar 14 07:27:38 it's just gonna be like the wild west with all this stuff happening? who is going to bring any order to this chaos? Mar 14 07:27:40 or actually improve the music player app based on palm code! Mar 14 07:28:14 yeah, shut that open source stuff down .. it all started with those rebels from webos-internals Mar 14 07:28:29 what's their leader .. rod something .. oh, wait Mar 14 07:28:43 yeah, someone should do something about that guy Mar 14 07:28:55 he's spilling all the beans Mar 14 07:29:31 next thing you know, you'll be able to download apps over the internet, not through the app store. who knows what could happen then? Mar 14 07:30:07 someone stop these guys please Mar 14 07:30:13 Surely Palm wouldn't allow that to happen. They'd have to lock it down tight to stop that sort of activity. Mar 14 07:30:37 lol, my sleep deprived self is laughing inside right now. Mar 14 07:31:08 download apps over the internet .. how backwards is that .. you used to buy the shrink-wrapped at a store Mar 14 07:31:13 And make sure those sorts of people don't present at Sprint developer conferences, or give them phones to give away in order to advertise their cause ... Mar 14 07:31:16 s/the/them Mar 14 07:32:02 and certainly don't let them get the word out in neutral countries like switzerland Mar 14 07:32:04 yeah, and don't give phones for open source expos .. oh wait Mar 14 07:32:38 yeah, because we already harbour all that black money on our banks Mar 14 07:33:58 on a different note, today is 3,1415926-day Mar 14 07:39:19 http://shop.nordstrom.com/S/3093596/0~2376778~2372808~6019281~6019411?mediumthumbnail=Y&origin=category&searchtype=&pbo=6019411&P=1 Mar 14 07:39:25 omg i'm so getting these Mar 14 07:41:25 * swisstomcat doesn't understand women and shoes :) Mar 14 07:42:12 sigh...shoes...so purrtyyyy... Mar 14 07:43:56 I understand women and shoes but get some nice looking shoes Mar 14 07:43:58 shoes are just tools to walk with Mar 14 07:44:03 JenP: can't they make them without all those holes in them? that'll let the mud in! Mar 14 07:44:13 exactly, rwhitby Mar 14 07:44:20 shoes are sexy.... Mar 14 07:44:26 and so perfect Mar 14 07:45:14 hmm - shoe or woman ... Mar 14 07:45:44 shoes are low maintenance *ducks* Mar 14 07:45:47 woman in shoe... Mar 14 07:45:56 shoes last longer then men Mar 14 07:46:16 O:-) Mar 14 07:46:29 JenP: thats the same comparison I have about technology and women Mar 14 07:46:50 * rwhitby exits, stage left Mar 14 07:47:01 lol i'll take a 5 inch stilleto any day... Mar 14 07:47:27 on a related note (from twitter): "Why ppl follow @adora: RT @lukeembley: it's because you are a Palm Goddess of the Babe class. (via @Adora, @webOSdev) // Palm fanboys melt!" Mar 14 07:47:40 lol Mar 14 07:48:17 * swisstomcat starts purring Mar 14 07:48:23 :-D Mar 14 07:49:03 it's the adora boots. http://blog.al.com/bargain-mom/2009/12/old_navys_adora-boots_15_for_w.html Mar 14 07:49:10 now there are a few people in here Mar 14 07:49:15 eek Mar 14 07:49:26 anyone with recommendations for playing a sound repeatedly and have it work Mar 14 07:49:30 eg, like a drum machine Mar 14 07:49:45 use adora's boots Mar 14 07:49:58 instant drum machine Mar 14 07:50:26 ron_frown: 1.4 i assume? Mar 14 07:50:31 yes Mar 14 07:50:42 god damn html5 audio objects seem to be just complete and utter bollocks Mar 14 07:50:54 I can get ONE sound playing and playing again Mar 14 07:51:03 but I cant seem to load two audio()'s up Mar 14 07:51:07 trigger them by button presses Mar 14 07:51:11 and tap tap tap away Mar 14 07:53:51 playing them side-by-side? Mar 14 07:56:06 If nothing gets in my way I'll have the addon updates done for tomorrow I think. Mar 14 07:56:10 :) gnite all. Mar 14 07:56:24 that's great Templarian Mar 14 07:56:27 g'nite Mar 14 07:57:14 night templarian Mar 14 07:57:43 ron_frown: start playing with the PDK? Mar 14 07:58:03 haha Mar 14 07:58:13 I want to, but I dont even know where to begin setting up my environement Mar 14 07:58:28 I'd be more than happy to whip up a pdk object that I'd share across the board Mar 14 07:58:37 I think the html+css+js bits are working REAL well for sdk Mar 14 07:58:41 because i'm sure there you can play with the audio-mixer directly Mar 14 07:58:44 but sound like for a game Mar 14 07:58:54 would never work with html audio() Mar 14 07:58:56 your dev environment or for the plugin? Mar 14 07:59:07 to start writing pdks Mar 14 07:59:12 the documentation seems to be crap Mar 14 07:59:23 I thought eclipse could handle c++ dev Mar 14 07:59:26 * swisstomcat calls rwhitby back onto the stage Mar 14 07:59:32 xcode would absolutely not be what I'd liek to use =) Mar 14 08:02:33 well xcode i think is only needed to run the apps on the dekstop Mar 14 08:03:17 see... why palm can you not have an end to end tutorial on building pdk bits Mar 14 08:03:49 ron_frown: cause Palm uses OpenEmbedded to build their rootfs contents, not the PDK. Mar 14 08:05:00 you can write the code with whatev......they're pretty standard C executables, just cross-compiled and of course you have to include all their custom libs Mar 14 08:05:38 they don't intend the PDK for casual devs Mar 14 08:06:21 "It is assumed most developers already have their own system in place for building their apps, i.e., jam, make, etc." Mar 14 08:09:11 yeahI get all that shit Mar 14 08:09:23 familliar with gcc etc Mar 14 08:09:55 I dont know what open embedded is, but I will want this to be something I can actually get put in the store when I am done Mar 14 08:09:59 have you played with the WIDK, ron_frown? Mar 14 08:10:10 never even heard of that to be hoenst Mar 14 08:10:15 thats the homebrew one or somethign Mar 14 08:11:12 well you won't be able to deploy PDK apps for a couple months probably Mar 14 08:11:50 open embedded...where are you seeing that? Mar 14 08:13:53 question: does anyone know how i can have an object in a class update the model of one of my widgets? Mar 14 08:14:43 ron_frown: http://www.webos-internals.org/wiki/WebOS_Internals_PDK Mar 14 08:15:07 jlazaroff: pass the scene's this to the object constructor so it's available for it Mar 14 08:15:53 swisstomcat: I cant deploy that rigth Mar 14 08:16:05 jfelectron: pass by reference, right? Mar 14 08:16:11 only homebrew Mar 14 08:16:36 the guys at #webos-internals would be the ones to ask Mar 14 08:16:40 ron_frown: if you only use the same libraries as Palm provides, then your executable will run on the device, and when PDK deployment opens up mid-year you'll be ready Mar 14 08:16:47 yeah I am not going to be ready to look at that Mar 14 08:16:58 jlazaroff: its always pass by ref in JS Mar 14 08:16:59 I know some peops at palm, not saying thats going to benefit me, but it might Mar 14 08:17:04 jfelectron: oh, okay Mar 14 08:17:06 homebrew is the *only* way you can deploy binary apps today Mar 14 08:17:30 (unless you have a large commercial agreement with Palm like Gameloft or Motion Apps) Mar 14 08:17:37 jfelectron: initialize: function(options) { this = options.this; } something like that? Mar 14 08:19:00 no, that crashes it Mar 14 08:19:00 -_- Mar 14 08:19:03 jlazaroff: more like initialize: function(options) { that = options.this; } Mar 14 08:19:40 use that to refer to the scene Assistant's this Mar 14 08:19:49 I havent had any weirdness with assistants etc Mar 14 08:20:44 this isn't wierdness...it's just how to deal with scene ref from another object (i.e. not the scene asstnt Mar 14 08:21:32 I guess you'd have to give me a bit more detail even if its a fake example Mar 14 08:21:45 can the class talk to the assistant? Mar 14 08:22:04 in the world of mvc which is what this is, you'd tell the controller to update the widget Mar 14 08:22:20 you just pass the class a reference to the assistant this and store it as a prop of the class...done Mar 14 08:24:37 fucking webos shit right on my face way too early on Mar 14 08:24:46 I never got far enough I needed any crazy classes Mar 14 08:25:01 anything anyone requests as far as pdk bits improved on the sdk? Mar 14 08:25:13 audio() blows, I am going to build a lib you can consume with hm, it's not updating the model, but it's also not throwing any errors Mar 14 08:28:25 welcome to webos Mar 14 08:28:26 yay Mar 14 08:28:31 no errors Mar 14 08:28:33 no worky Mar 14 08:29:15 first order of business: restart the emulator Mar 14 08:30:11 there are just some things that I dont understand why they arent there Mar 14 08:31:17 second oder of business: check the logs and /var/log/messages Mar 14 08:31:21 order Mar 14 08:31:42 third order of business: shake fist and curse :) Mar 14 08:31:56 swisstomcat: no errors in the logs Mar 14 08:32:04 third order of business is pasting the code :) Mar 14 08:32:05 http://pastebin.com/4PJHBSpW Mar 14 08:32:57 jlazaroff: what level of logging are you reporting? Mar 14 08:33:02 wrap it into try/catch Mar 14 08:33:23 ron_frown: 0? not sure Mar 14 08:34:28 aaah, here we go. set it to 99, got this warning: [20100314-04:33:52.501831] warning: WARNING: modelChanged() found no watchers. Did you call it with the ORIGINAL model object, and not a replacement? Mar 14 08:35:19 jlazaroff: i see your prob Mar 14 08:35:37 you are replacing the model as the error suggests Mar 14 08:35:58 do context.timelineModel.items={} Mar 14 08:36:14 just update the items prop, not the whole object Mar 14 08:37:02 jfelectron: <33333 Mar 14 08:38:24 i've encountered it before.....just watch out for making the model a new object Mar 14 08:40:05 hrm.. what is "smoky" in terms of weather supposed to be? Mar 14 08:40:16 3rd world-war? :) Mar 14 08:40:23 swisstomcat: doomsday Mar 14 08:40:31 nuclear winter Mar 14 08:40:39 maybe just smog? Mar 14 08:40:56 or a forest fire.....like actual smoke :) Mar 14 08:40:58 california in summer Mar 14 08:41:11 oh the later then....we have lots of fires Mar 14 08:41:11 in the ^^ Mar 14 08:41:19 yes.....real smoke Mar 14 08:41:33 real tress up in smoke Mar 14 08:41:43 anyone else? Mar 14 08:41:59 anyone want anything in a opensource/free pdk plugin to supplement the sdk Mar 14 08:42:10 I have no need to build a 3d game or anything Mar 14 08:42:11 audio Mar 14 08:42:18 swiss, yessir Mar 14 08:42:25 I aim to have that part of it done momentarily Mar 14 08:42:30 just trying to decide HOW Mar 14 08:42:46 I am thinking you register the object with no params (maybe some will come later) Mar 14 08:42:59 there's some discussion in the developer forums Mar 14 08:43:01 and basically what you do is play("/path/to/resource") Mar 14 08:43:10 of pdk/js plugins Mar 14 08:43:11 and if the file hasnt been loaded, load it Mar 14 08:43:17 yeah its on palms site Mar 14 08:43:18 image processing comes next i think Mar 14 08:43:23 looks like it could actually be quite easy Mar 14 08:43:25 filters Mar 14 08:43:35 resizes/rotate Mar 14 08:43:42 def Mar 14 08:43:43 that kind of stuff Mar 14 08:43:50 snap pic, crop/rotate/zoom Mar 14 08:43:55 that would all be easy enough too Mar 14 08:44:08 12:44am now Mar 14 08:44:13 but how would you pass the image back and forth? Mar 14 08:44:21 ron_frown: better get started :) Mar 14 08:44:29 swisstomcat: write it to a file Mar 14 08:44:32 swisstomcat: yeah the audio should be REAL fucking easy Mar 14 08:44:38 i want this next day in the morning Mar 14 08:44:58 jfelectron: can't do that now in js Mar 14 08:45:00 jfelectron: afaik I dont think there is a HUGE amount of support for writing files from sdk Mar 14 08:45:05 download and that was it I thought Mar 14 08:45:05 PDK gives u file i/o Mar 14 08:45:14 jfelectron: can't save a canvas to anything atm Mar 14 08:45:15 yeah but interface between is string passing only Mar 14 08:45:32 you can draw from pdk Mar 14 08:45:59 if you could snap a pic, save it to filesystem, pass path to sdk Mar 14 08:46:04 it'd be easy to make it all work Mar 14 08:46:06 ron_frown: you'd fetch the image from the binary...write to file...render with JS Mar 14 08:46:43 haha Mar 14 08:46:48 yeah I suppose that would work Mar 14 08:47:06 dont quite get why palm was so set in a strictly html5 api Mar 14 08:47:13 its worked well, and I agree thats how it should be Mar 14 08:47:16 i mean for external images...not generated ones Mar 14 08:47:19 but html5 media objects are crap Mar 14 08:47:28 media objects are under construction Mar 14 08:47:32 yes Mar 14 08:47:35 yeah Mar 14 08:47:36 palm admitted that they're working on it Mar 14 08:47:39 get this Mar 14 08:47:41 1.4 is just a first step Mar 14 08:47:50 well part of it is that they are the html spec isnt done Mar 14 08:47:52 that's what i head Mar 14 08:47:57 heard ^^ Mar 14 08:47:59 but heres the problem Mar 14 08:48:08 you can create new audio() Mar 14 08:48:23 all fine, you can play, then you have to set time to 0.0 then you can play again Mar 14 08:48:26 BUT Mar 14 08:48:37 you cant set 0.0 without errors if the sound is loaded but never played Mar 14 08:48:55 there is no .HasPlayed or .Position that I am aware of Mar 14 08:49:04 do that yourself? Mar 14 08:49:06 so you literally have to keep track of every button click and every .play() call Mar 14 08:49:16 i have that in my code right now Mar 14 08:49:27 I manage to get that working with two static audio() elements in my app no problem Mar 14 08:49:33 so I fgure, ok time to do it right Mar 14 08:49:36 array of audio() Mar 14 08:49:40 no worky whatsoever =) Mar 14 08:49:44 nope? Mar 14 08:49:55 it creates the objects, tosses them into an array, loads them... then just calls play Mar 14 08:50:09 I created a wrapper that you .play on that keeps track if it needs to rewind first Mar 14 08:50:11 it should...must be their implemntation: http://www.storiesinflight.com/html5/audio.html Mar 14 08:50:42 hmm Mar 14 08:50:43 shit Mar 14 08:50:50 did you try that in a webos app? Mar 14 08:51:01 in anycase my samples never loaded particularly fast Mar 14 08:51:18 caused noticeable delay creating 8 sounds on a scene Mar 14 08:51:21 no i don't do audio Mar 14 08:51:47 according to that example....each object is a single channel Mar 14 08:51:49 i do audio but just one at a time Mar 14 08:52:32 thats exactly what I want to do Mar 14 08:52:41 I dont need multiple sounds at a time either Mar 14 08:52:47 but I do need to be able to play a sound over and over Mar 14 08:52:58 best example of what I am looking to do is something of a drum machine Mar 14 08:53:09 yeah, i see Mar 14 08:53:26 if that sample there works, I could just change a .playing= var that contained the channel thats playing Mar 14 08:53:32 i didn't try that either .. just playing one sound once at a time Mar 14 08:55:34 damn it Mar 14 08:55:45 I was so going to get my android app on the road tonight Mar 14 08:56:00 but now I am wanting to get that sound crap going agaon Mar 14 08:56:15 morgen sebastianha Mar 14 08:56:17 swisstomcat: it'd all be a LOT better off if you could properly debug Mar 14 08:56:19 hi Mar 14 08:57:04 yeah, not debugging by try/catch and Mojo.Log.error Mar 14 08:57:38 question: anyone know how to add list items to the top of a list? Mar 14 08:57:40 I mean it literally causes you to take like 10x as long Mar 14 08:58:04 jlazaroff: let me check Mar 14 08:59:00 damn it Mar 14 08:59:02 wtf Mar 14 08:59:05 webos has crap debugger Mar 14 08:59:09 android has a decent debugger Mar 14 08:59:12 but ui is a pita to build out Mar 14 08:59:28 ron_frown: use Ares for debugging Mar 14 08:59:39 ares? Mar 14 08:59:52 yes.....you can use the webapp for debugging Mar 14 09:00:22 its their online dev app....based on Moz Bespin Mar 14 09:00:45 jlazaroff: recalculate model, update model, call revealitems on the list Mar 14 09:00:51 whaa Mar 14 09:00:56 why not have that in the app Mar 14 09:01:03 I mean being all this is html+css+js Mar 14 09:01:04 ares.palm.com Mar 14 09:01:11 it would seem you technically dont even NEED an emu Mar 14 09:01:28 for services you do Mar 14 09:01:37 dbus Mar 14 09:02:14 swisstomcat: so it's what i have now, plus revealitems? Mar 14 09:02:22 hmm Mar 14 09:02:29 lets try and bust it out there Mar 14 09:02:36 you can edit code on ares too? Mar 14 09:02:40 jlazaroff: apparently Mar 14 09:02:46 ron_frown: yep Mar 14 09:02:57 ron_frown: and build the gui visually Mar 14 09:03:17 need a decent browser tho Mar 14 09:03:18 jlazaroff: do unshift on the items array...then call noticeUpdatedItems(0,newitem) Mar 14 09:03:22 oh no prob there Mar 14 09:03:30 it may not help as far as testing audio files Mar 14 09:03:35 not really Mar 14 09:03:37 but at least I'll know it works online Mar 14 09:03:53 then if I toss it on the pixi and its compeltely fucked Mar 14 09:03:54 oh well Mar 14 09:03:54 emulator only supports wav-files unofficially Mar 14 09:03:59 yeah Mar 14 09:04:02 I had that part working ok Mar 14 09:04:06 it'll stop every now and then Mar 14 09:04:12 but restart emu and its good again Mar 14 09:04:13 the ares gui layout is crap imo Mar 14 09:04:20 yeah Mar 14 09:04:34 well I would say it looks nice, but I dont know how to do simple stuff like copy/paste a button Mar 14 09:04:41 and auto flow them etc Mar 14 09:04:49 jfelectron: but if i'm looping through a bunch of items and unshifting them onto the array, won't they get added in the wrong order? Mar 14 09:05:21 right now i'm pushing them onto the array and they get added in the right order Mar 14 09:05:28 then use noticeAdded Mar 14 09:05:41 what about revealitems? Mar 14 09:05:44 it will insert them into the list Mar 14 09:05:57 reveal just SHOWS them Mar 14 09:06:03 doesn't add them Mar 14 09:06:07 oh Mar 14 09:07:10 jlazaroff: so you have a bunch of new items that you want to add sequentially to the top of the list? Mar 14 09:07:43 unshift will place each item at the head....you want something else? Mar 14 09:07:53 g'nite guys Mar 14 09:11:34 jfelectron: the data the items are coming from is in reverse chronological order, though, and i want it to display in reverse chronological order Mar 14 09:11:38 so actually, you're right Mar 14 09:11:55 hmmm Mar 14 09:12:28 actually, do i even need a master array of items? Mar 14 09:12:40 well if you wanted the other way...could just push them into a temp array and then concat that withe list array Mar 14 09:12:47 master array? Mar 14 09:12:56 you have the list model Mar 14 09:13:05 oh, right Mar 14 09:13:32 i keep a master....but i'm sorting in response to user input Mar 14 09:13:52 Hey, you guys have been ignoring http://webos101.com ! Mar 14 09:14:03 I know you're learning stuff so don't forget to share. Mar 14 09:15:22 Roy-Pre101: funny you should mention because i just pulled my Oauth stuff out of my code, made a class and going to post it to webos101 when its nicely encapsulated Mar 14 09:15:23 morgen noaXess Mar 14 09:15:28 hey roy-pre101 Mar 14 09:15:46 hey swisstomcat.. and bye :) Mar 14 09:15:49 jfelectron: how do i call noticeAddedItems? Mar 14 09:16:42 would it be like this.controller.get("listname").noticeAddedItems(offset, array);? Mar 14 09:16:43 jlazaroff: listRef.mojo.noticeAddedItems Mar 14 09:16:47 yes Mar 14 09:17:29 i generally cache the list element as a prop of the class so i can access it later Mar 14 09:17:32 See, good stuff for the wiki. :) Mar 14 09:20:13 i reaaaaaaly need to finish my app.....which will be open source, and then i'll write some stuff for WebOS101.....promise Mar 14 09:20:44 jfelectron: have it translated to german ... www.thinmachine.ch/en/service.html :) Mar 14 09:21:13 for how much :) ? Mar 14 09:21:26 gratis Mar 14 09:21:28 jfelectron: I recommend swisstomcat! He did my app and now I can't understand a word of it! Mar 14 09:21:50 hehe .. it's not even german :) Mar 14 09:21:58 oh nice.....will do for sure Mar 14 09:22:10 jfelectron: What's your app? Mar 14 09:22:10 open source apps are translated free Mar 14 09:22:19 just did whendle Mar 14 09:22:41 argh, not working -_- Mar 14 09:22:42 http://pastebin.com/YCGAsRt3 Mar 14 09:22:59 error? Mar 14 09:23:03 Roy-Pre101: i am working on LiveJournal, Tumblr and Blogger clients Mar 14 09:23:54 swisstomcat: nope, not even a warning :( Mar 14 09:24:14 wrap it in try/catch Mar 14 09:25:07 jlazaroff: feed noticeAddedItems 1 item....or just the new ones, not the entire array Mar 14 09:25:39 that makes sense Mar 14 09:25:58 whoops, i forgot i switched those Mar 14 09:26:06 silly mistake, though: i said timelineArray instead of this.timelineARray Mar 14 09:27:20 wonder how eros hooks into phone sdk to push page to phone Mar 14 09:27:23 ares Mar 14 09:27:25 not eros Mar 14 09:27:45 java Mar 14 09:27:49 plugin Mar 14 09:27:51 ron_frown: apps run on emu.....not sure what you mean Mar 14 09:27:52 ahh Mar 14 09:28:02 also for file upload/download Mar 14 09:28:05 hey, it works! Mar 14 09:28:09 wohoo Mar 14 09:28:10 jfelectron: when I hit play button said "phone not connected" Mar 14 09:28:11 thanks guys :) Mar 14 09:28:52 ron_frown: i don't use that feature.....use command-line tools Mar 14 09:29:32 I wish they had some styling css already on the phone that did shit like centering and laying out Mar 14 09:29:42 eg, I want to ensure buttons are nice on any size screen Mar 14 09:29:47 3 buttons in a row Mar 14 09:29:58 ron_frown: i think you have to build it first Mar 14 09:30:15 is there really such a thing as building in webos? Mar 14 09:30:22 package Mar 14 09:30:25 whatev Mar 14 09:30:46 hmm Mar 14 09:30:48 doesnt matter Mar 14 09:31:16 building means create an .ipk Mar 14 09:31:17 just download the source and package it Mar 14 09:32:25 ron_frown: just use relative sizing and float everything so it adapts to difff screen sizes Mar 14 09:32:43 is there a float center? Mar 14 09:32:53 I am trying to do effectively like phone pad Mar 14 09:33:14 so I could pad the main div Mar 14 09:33:19 then do 3 cols 3 rows Mar 14 09:33:20 ron_frown: nope :\ Mar 14 09:33:56 you could use absolute positioning if you wanted Mar 14 09:35:24 how do i change the emulator to landscape? Mar 14 09:35:48 ron_frown: float the buttons left and figure out padding to give layout you want Mar 14 09:36:19 yeah Mar 14 09:36:22 I suppose I could Mar 14 09:36:26 its not critical Mar 14 09:36:33 just would liek to be able to handle diff layouts and diff sizes Mar 14 09:36:38 thats one thing nice about the iphoen Mar 14 09:36:47 the only thing =) Mar 14 09:37:09 lol Mar 14 09:38:44 ares has gotten a LOT better Mar 14 09:39:00 I just bought a nexus one and while there are some bugs with keyboard Mar 14 09:39:04 its amazing Mar 14 09:39:24 in what sense? Mar 14 09:39:35 probably speed Mar 14 09:39:38 in what sense what? Mar 14 09:39:39 screen Mar 14 09:39:41 why is it amazing? Mar 14 09:39:44 both of those Mar 14 09:39:45 yeah Mar 14 09:39:55 and android is designed so that I can basically replace anything I want on there for te most part Mar 14 09:39:56 general ui polish? Mar 14 09:40:07 keyboard you dont like? Write a better one and replace it Mar 14 09:40:08 ui consistency Mar 14 09:40:18 want to write a sms or call dialer provider? Mar 14 09:40:20 go for it Mar 14 09:42:12 what is worse than on the pre? Mar 14 09:42:33 hmm? Mar 14 09:44:04 sure android is very open in that sense Mar 14 09:45:25 swisstomcat: so you just need the file that has all the $L() pulled from the app...and any HTML templates that need localization? Mar 14 09:46:11 what I'd say about palm phones Mar 14 09:46:21 need to be just a hair faster, and if the keyboard is going to be shitty Mar 14 09:46:28 make it a software keyboard and gain realestate Mar 14 09:46:37 I have a pixi plus and its a mf to type on Mar 14 09:46:48 jfelectron: yeah ... also add the ipk so i can run the app on the emulator and check the translation for accuracy Mar 14 09:46:58 ahhh....OK Mar 14 09:47:30 swisstomcat: i'll be in contact....thanks! Mar 14 09:47:36 ron_frown: software keyboard is available as homebrew Mar 14 09:48:17 I am not actually suggesting thats a better solution Mar 14 09:48:21 i prefer physical keyboards tho Mar 14 09:48:24 just saying the keyboard buttons are so god damn small its pointless Mar 14 09:48:39 they are ok but it probably depends on your fingersize Mar 14 09:49:09 had the treo 650 before .. is a bit better Mar 14 09:49:30 but man, that screen is small and low resolution Mar 14 09:51:19 there are benefits to software keyboard Mar 14 09:51:30 yeah, especially in landscape mode Mar 14 09:51:33 and that is dynamic key size (in pickup) Mar 14 09:51:41 well I'd say benefit and negative Mar 14 09:51:54 keyboard on its side if it takes up 2/3's the screen Mar 14 09:52:00 seems kinda pointeless =) Mar 14 09:54:34 nite guys Mar 14 10:04:09 okay, sleepytime for me Mar 14 10:04:13 gnite everyone Mar 14 10:04:16 thanks for all the help :) Mar 14 10:05:06 haha Mar 14 10:05:12 the night is young yet Mar 14 10:07:40 is this correct english "it took you 8 tries" .. do finish something Mar 14 10:07:56 ? Mar 14 10:08:12 sure Mar 14 10:08:15 try's Mar 14 10:08:18 er trys Mar 14 10:08:18 but yes Mar 14 10:08:24 the phrase works Mar 14 10:08:25 trys Mar 14 10:08:30 not tries? Mar 14 10:08:45 hell I dont know Mar 14 10:08:46 maybe it is Mar 14 10:08:50 and my mind isnt working great Mar 14 10:08:54 hehe Mar 14 10:15:31 what in the world is going on here Mar 14 10:43:53 swisstomcat: "it took you 8 tries" is correct Mar 14 10:45:24 ok, thanks Mar 14 10:45:57 rwhitby: btw, i saw some untranslated english text in the latest preware .. shall i look at that? Mar 14 10:46:08 swisstomcat: yes please Mar 14 10:46:38 wha'ts the git command again to pull? Mar 14 10:48:37 is there a way I can non have to build out a full event handler? Mar 14 10:48:55 all I want to do is wire same function to every button, but the buttons will pass in an id Mar 14 10:49:10 that should work Mar 14 10:49:28 you should have an event object passed Mar 14 10:49:37 then use event.target.id Mar 14 10:50:17 hmm Mar 14 10:50:29 so where I normally do .bindAsEventListener(this) Mar 14 10:50:32 I do what differently Mar 14 10:50:37 or you are saying just grab the button id? Mar 14 10:50:38 no Mar 14 10:50:57 in your listener function, the parameter passed is an event object Mar 14 10:51:29 and event.target.id was the button I hit to fire the event? Mar 14 10:51:30 xxxAssistant.prototype.handleTap=function(event) { Mar 14 10:52:04 yeah, as far as i remember Mar 14 10:52:07 ok Mar 14 10:52:18 otherwise i have to check my code Mar 14 10:56:59 so much nicer that I can do a -f on the log Mar 14 10:57:02 didnt know that until tonight Mar 14 10:57:29 yeah, pretty handy Mar 14 10:57:44 bongiorno darkmagister Mar 14 10:58:06 buongiorno swisstomcat :D Mar 14 10:58:55 how are you ? Mar 14 10:59:54 darkmagister: http://www.youtube.com/watch?v=hT-mto5qg8U&feature=related :) Mar 14 11:04:24 ahahah Mar 14 11:06:21 in one prototype method I set a var and then go to get it elsewhere Mar 14 11:06:30 do I have to have a prototype variable to do that Mar 14 11:09:01 I have an array of itemst Mar 14 11:09:05 that are initialized on create Mar 14 11:09:55 so all my accesses appear to work until I try to go and get length on an array Mar 14 11:09:56 and get Mar 14 11:10:04 oh Mar 14 11:10:06 I see the problem Mar 14 11:10:07 sorry Mar 14 11:20:25 wtf Mar 14 11:20:30 no sound playing Mar 14 11:20:34 no errors anymore Mar 14 11:20:36 just nothing Mar 14 11:22:42 in the emu? Mar 14 11:25:16 even on the phoen Mar 14 11:25:23 its just not playing for no apparent reason Mar 14 11:25:56 if I reference files from same level as app I should be able to just do audio/folder/file.wav right? Mar 14 11:26:04 obviously '/audio isnt right Mar 14 11:26:35 wtf WTF Mar 14 11:26:45 I just hit the buttons like 100 tmes Mar 14 11:26:49 and it played one sound 1 time Mar 14 11:26:51 and thats it Mar 14 11:27:02 audio is just too damn flakey Mar 14 11:31:03 I guess I get to try the pdk one now =) Mar 14 11:32:45 i use audio/whatever.mp3 Mar 14 11:34:31 well I have subfolder because of some other restrictions and then wav instead of mp3 atm because theoretically wav should always be faster to play but use more space Mar 14 11:35:34 i don't see why that would not work Mar 14 11:35:47 oh it plays sound once Mar 14 11:35:52 not the first time Mar 14 11:35:59 just one random time in hitting the button ~100 times Mar 14 11:36:02 screw it Mar 14 11:36:10 I am going to build an audio engine Mar 14 11:36:13 it just makes more sense Mar 14 11:36:14 can you post some code so i can compare it to mine? Mar 14 11:36:27 this route I was using was a hack anyway Mar 14 11:36:36 basically I have audio tags for each sound Mar 14 11:36:47 used that article you posted about html5+js and audio tag Mar 14 11:36:52 max channels Mar 14 11:37:03 on sound play it goes to insert one in a free channel if its finished Mar 14 11:37:43 I need to hit the sack Mar 14 11:37:58 if i could jsut get two buttons that I could go to town hitting without problems Mar 14 11:38:03 wed be in good shape Mar 14 11:38:10 I jsut think the audio tags are too fragile Mar 14 11:38:13 to work reliably Mar 14 11:38:19 evenwhen I had sound working with hardcoding etc Mar 14 11:38:30 it took forever to start playing and would stop playing them at random Mar 14 12:29:40 q: how do i place a label next to a listselector? (to the left) Mar 14 12:51:40 label attribute Mar 14 12:52:30 and labelPlacement attribute Mar 14 12:52:37 g'morning swisstomcat Mar 14 12:52:59 thanks for the testing. Mar 14 13:08:54 anyone from the us online? Mar 14 13:10:01 morning haeffb Mar 14 13:10:16 * haeffb is us'ian Mar 14 13:10:21 haeffb: i still have that open notification if you want to check what's going on Mar 14 13:11:22 I think you're tapping the banner notification before the export is done. So the framework displays the dashboard before it has data to render Mar 14 13:11:38 but i said to export daily Mar 14 13:11:40 did you check to see if data was actually exported to Google? Mar 14 13:11:44 yeah, that worked Mar 14 13:11:52 i assume daily means only once? Mar 14 13:12:15 Well...it will mean only once... :) as soon as I remove the hard-coded 2 minutes Mar 14 13:12:36 I just didn't want you to have to sit waiting until 1 am your time to see if it worked. Mar 14 13:12:49 i tap on the notification, see the empty dashboard, click on it, myles opens Mar 14 13:13:18 i see Mar 14 13:13:30 It's supposed to export daily at 1am. Except for the test version. Mar 14 13:15:01 how do i get rid of the notification? :) Mar 14 13:15:10 it stays forever Mar 14 13:15:24 just swipe it away Mar 14 13:15:25 oh shoot Mar 14 13:15:38 i deleted myles and the luna in the emulator restarted Mar 14 13:15:49 then^^ Mar 14 13:16:08 oh, you should never delete Myles. It's bad for the universe. Mar 14 13:16:14 apparently Mar 14 13:16:27 but i don't want notifications to stick forever :) Mar 14 13:16:46 is it the banner notification or the dashboard that you couldn't get rid of? Mar 14 13:17:07 & it's probably because it's been exporting ever 2 minutes for the last 12 hours. Mar 14 13:17:17 th banner notification Mar 14 13:17:19 I maybe should have given better instructions. Mar 14 13:17:32 kinda late don't you think Mar 14 13:17:44 I'll have to buy you a new hard drive to replace the one I filled up with log messages. Mar 14 13:18:16 it's not too bad, only got 6 exports Mar 14 13:18:44 well, i won't say no to a bigger ssd .. like a 1tb one :P Mar 14 13:19:12 this will only set you back the paltry sum of $6000 Mar 14 13:21:34 and well worth the excellent feedback. Mar 14 13:21:51 i love being a beta tester :) Mar 14 13:23:37 thanks for the tip of label and labelplacement Mar 14 13:27:40 who'd like to beta test my new app? Mar 14 13:29:17 haeffb: Did you receive my query? Mar 14 13:38:19 did now, sorry was AFK Mar 14 13:39:00 swisstomcat: send it to me...with instructions...good ones... Mar 14 13:39:13 you can download it Mar 14 13:39:20 swisstomcat: here is a tester, too Mar 14 13:39:53 http://www.inorbit.ch/upload/com.inorbit.animalmemory.beta_1.0.1_all.ipk Mar 14 13:40:01 no instructions .. try to figure it out :) Mar 14 13:42:30 emu OK? Mar 14 13:42:50 yeah, have not activated sound yet Mar 14 13:44:36 13 tries Mar 14 13:44:47 not bad Mar 14 13:45:32 12 tries for tracks Mar 14 13:45:42 pretty good too Mar 14 13:46:03 the sounds level is of course not that much fun without sounds Mar 14 13:47:08 is it OK on pixi? Mar 14 13:48:18 haven't tried it yet Mar 14 13:49:04 make one with bikinis & sell to teen-aged boys... Mar 14 13:50:26 hehe .. including sounds? Mar 14 13:50:57 * MetaView moans Mar 14 13:51:22 * swisstomcat tapes metaview and uses that for the app Mar 14 13:51:44 it might be hard to tell Carla's sounds from Gretchen's Mar 14 13:52:00 or MetaView's for that matter Mar 14 13:53:42 bottom row is partially cut off on pixi Mar 14 13:54:05 dang, need to fix that Mar 14 13:54:18 haeffb: you never has hear me :) Mar 14 13:54:29 9 tries on pixi Mar 14 13:54:46 6 would be perfect Mar 14 13:54:49 yeah Mar 14 13:55:13 bbl Mar 14 13:55:35 haeffb: did you have problems recognizing the level selector on the "good job" dialog? Mar 14 13:55:55 it wasn't obvious, but I figured it out. Mar 14 13:56:06 guess i have to improve that Mar 14 13:56:13 * haeffb just realized I can nave a Pixi emu and a Pre emu running at the same time. Mar 14 13:56:54 an insider welcomes anoutsider Mar 14 13:56:58 but how does eclipse know which to install to Mar 14 13:57:05 good question Mar 14 13:57:38 just run only one Mar 14 13:57:54 haha hello Mar 14 13:58:19 looks like maybe the last one that I ran. Mar 14 13:58:49 it installed to Pre. I closed that virtualbox & the hit install again & it went to Pixi. Mar 14 14:04:10 thumbs up in general, haeffb? Mar 14 14:06:05 yeah, two thumbs up. two matching thumbs. Mar 14 14:06:13 hehe Mar 14 14:06:52 thanks for testing Mar 14 14:36:24 Has anyone elses pre decided to jump forward 2 hours instead of one? Mar 14 14:38:13 I forgot about that... now I dont feel bad about sleeping til 9 Mar 14 14:38:35 my time is the same as my computer's time though Mar 14 14:39:38 its odd. The network time says 10:38 (central) on the pre but my computer says 9:38 and google says 9:38 Mar 14 14:40:05 is there anyway to manually change the time? Mar 14 14:41:02 1038 central? Mar 14 14:41:09 I'm EST and my PC says 10:41 Mar 14 14:41:14 central time zone Mar 14 14:41:24 right, Central should be in the 9's Mar 14 14:41:26 yeah thats whats weird Mar 14 14:41:36 everything but my phone agrees Mar 14 14:41:57 yeah def weird Mar 14 14:42:50 you can adjust the time in the "time and date" Mar 14 14:43:00 even turn off networkf time/network timezone Mar 14 14:43:36 oh, I see. thank you Mar 14 14:46:51 I found the problem, for some reason it thought the phone was in New York and so had me in EST. Mar 14 15:44:16 q: i wonder if i could just push a new scene based on a listselector ... without a button Mar 14 16:41:28 swisstomcat: Why not? Mar 14 16:45:09 man so glad I wasted 4 hour last night trying to get the sounds working right again Mar 14 16:45:13 converted all my wavs over Mar 14 16:45:22 there wasnt a wave that was > 30k Mar 14 16:45:33 and most of the mp3s ended up being MORE space Mar 14 16:46:23 What bitrate were you using? Mar 14 16:46:42 64k Mar 14 16:46:58 the size doesnt matter Mar 14 16:47:13 being able to play them on a fairly regular basis for say sound effects in a game does =) Mar 14 16:47:13 That's unusual -- you might double-check the conversion and parameter. Mar 14 16:47:29 well itwas lke a 8k wav and it was 12k out Mar 14 16:51:32 does the pdk appear to be designed to let you play a bunch of sound Mar 14 16:51:48 stop/start/play more than one sound at a time? I guess it would have to be set up for that Mar 14 16:51:55 today I attempt my sound engine Mar 14 16:52:25 I wish I didnt have to put tht much effort into it Mar 14 17:37:17 hey, anyone know why a call to this.controller.get throws an exception in a callback function? Mar 14 17:47:46 did you bind this to he callback? Mar 14 17:50:09 I've specified the callback as "this.jsonSuccess.bind(this)" Mar 14 17:51:28 I'ce also tried 'Mojo.Controller.sceneController.get', but same thing happens. Outside of the callback function it all works fine Mar 14 17:52:59 pastebin? Mar 14 17:55:16 give me a moment to add it Mar 14 17:58:34 http://pastebin.com/B29DLhQV Mar 14 18:06:55 this.sceneAssistant.controller ? Mar 14 18:07:17 that's me clutching at straws now. Mar 14 18:07:35 was some code google turned up and I thought it couldn't hurt to try Mar 14 18:08:08 i was originally just using "this.controller.get("text").update("blah"); Mar 14 18:09:49 yeah. not sure how jQuery affects things.... Mar 14 18:10:50 I'll try it using a mojo system service call and see if that works. Mar 14 18:42:56 morning all Mar 14 18:47:20 hello Mar 14 19:11:55 howdy folks. Mar 14 19:12:04 Adding PDK info to webOS101.com Mar 14 19:12:14 Feel free to jump in. I don't know squat and it's not stopping me! Mar 14 19:22:54 hi Mar 14 19:28:39 hello Mar 14 19:38:00 anyone on here? Mar 14 19:38:36 yes Mar 14 19:38:38 here Mar 14 19:38:40 :) Mar 14 19:39:48 where can i get information to add multiplayer to my games? Mar 14 19:40:14 resources, sample code, etc Mar 14 19:40:23 depends on how you want to do it.... Mar 14 19:41:19 what kind of game? Mar 14 19:41:31 slow, turn by turn? Mar 14 19:41:33 real time Mar 14 19:41:34 no.. Mar 14 19:41:36 i need fast Mar 14 19:41:37 or fast real-time Mar 14 19:41:43 Mojo? Mar 14 19:41:46 or PDK? Mar 14 19:41:52 Mojo ... if possible Mar 14 19:42:03 Mojo and fast? Which game? Mar 14 19:42:05 What is it? Mar 14 19:42:13 MetaView: hahaha thats what i was thinking Mar 14 19:42:26 any really Mar 14 19:42:34 hey TibFib Mar 14 19:42:36 well, you need a server in the middle, llok at the available source codes for stuff like Doom or Duke Mar 14 19:42:43 hmmm Mar 14 19:42:48 Monroe: hola Mar 14 19:42:49 Finally got my white Textfield working Mar 14 19:42:51 can i get one of the palm pre to act as a server? Mar 14 19:42:55 Nice Mar 14 19:42:56 What a pain Mar 14 19:43:02 Yeah, it was for me too Mar 14 19:43:04 you basically, send the movement of each player to the server and the server spread it out to the clients Mar 14 19:43:13 hmmm. Mar 14 19:43:28 MetaView: what would you use on the server? Mar 14 19:43:34 Like php? mysql? Mar 14 19:43:41 I'm curious myself Mar 14 19:43:45 mysql i would thiknk... Mar 14 19:43:49 but at a high level.. Mar 14 19:43:56 vond: don't think it would be fast enough for a live game Mar 14 19:44:02 php but you don't need a DB for realtime Mar 14 19:44:07 i would have to have clients (palm pres) connect to server, etc.. Mar 14 19:44:10 but that would be so slow Mar 14 19:44:18 is it possible to send info from pre to pre? Mar 14 19:44:27 MetaView: interesting, i need to learn more php Mar 14 19:44:46 seems so, NesEmu seems to have support for serial over BT? Mar 14 19:44:59 here's the end result http://www.bradball.net/files/webos/textfield.PNG Mar 14 19:45:21 Monroe: sheeshhhhhh that had to have been a pain Mar 14 19:45:34 yeah .... but it's working well now Mar 14 19:45:44 Monroe: nice, nice, as a realtime search or filter field? Mar 14 19:46:10 It's for doing a google map search Mar 14 19:46:14 It looks good, nice job Mar 14 19:46:18 The real page that it's on has embedded google maps Mar 14 19:46:40 you can type in the box at the top to do a search, just like the official Google Maps app Mar 14 19:46:55 What is your app going to be? Mar 14 19:47:03 A googlemaps viewer? Mar 14 19:47:14 where is this freaking Donation-Button menu at paypal? Mar 14 19:47:23 No .. I do have a demo app to show how to do embedded google maps Mar 14 19:47:35 monroe: nice Mar 14 19:48:15 wow, laptop freaked out on me Mar 14 19:48:16 anyone heard anything about flash support Mar 14 19:48:32 the app I'm working on well let you setup locations, and phone settings for those locations ... Then when you are at/near one of your locations, the setting will be applied automatically Mar 14 19:48:33 anyway, MetaView: what about the paypal button? Make one? Mar 14 19:48:43 MetaView: wut? Mar 14 19:48:46 Then settings are set back to what they were when you leave the location Mar 14 19:48:47 Monroe: that would be sweet Mar 14 19:49:21 I do have a demo app though that shows how to setup embedded google maps Mar 14 19:49:40 yes, need a paypal link Mar 14 19:49:53 but only have button on my website Mar 14 19:50:21 Tibfib: it'll be even sweeter if palm documents some additional api's so I can allow for more settings ... Mar 14 19:50:59 definitely Mar 14 19:51:20 MetaView: via paypal.com, it's under "Merchant Services" Mar 14 19:56:38 thank you, I didn't trust this link, as it was jumping over some different website, but now I have it, thx Mar 14 19:58:08 could Ajax be used for a real time game? Mar 14 19:58:15 or would that be too slow? Mar 14 19:58:38 rehi Mar 14 20:02:40 way too slow and battery-draining. Mar 14 20:03:21 better is a real socket connection, but it's not possible with mojo Mar 14 20:03:53 hmm Mar 14 20:05:36 dont you have to use Ajax to use PHP? Mar 14 20:05:40 (in Mojo) Mar 14 20:06:31 yes, you could use ajax to speak to php, you might send the player movement using HTTP GET and post the other player movements as JSON Mar 14 20:06:49 but then, will you be able to do it 20 times per second? Mar 14 20:08:17 probably, since autocomplete uses ajax requests too Mar 14 20:08:34 but not 20 times per week Mar 14 20:08:40 ups, second :) Mar 14 20:09:09 websockets could work Mar 14 20:11:39 is websocket supported in Mojo? Mar 14 20:12:25 Hmmm, i think checkers is the best online you'll be able to do. Mar 14 20:12:34 with Mojo Mar 14 20:12:41 don't think so, vond Mar 14 20:12:54 write a pdk socket library (udp) Mar 14 20:25:49 someone wants to test a really crazy app idea? Mar 14 20:27:08 which one? Mar 14 20:27:09 Test as in code it for you or test as in tell you if it's stupid? ;) Mar 14 20:27:20 tell if its stupid Mar 14 20:27:21 ^^ Mar 14 20:27:25 its just fun Mar 14 20:27:37 and normally you would need more than one pre Mar 14 20:27:42 but it works with one Mar 14 20:28:05 image you are in concert and everyone with a pre can display together a large text Mar 14 20:28:21 just hold them together and you get a "big" display Mar 14 20:28:32 one "master" sets the text Mar 14 20:28:33 :) Mar 14 20:28:41 hmm, seems pretty cool Mar 14 20:28:41 I'm afraid you'd need so many of them that it might not work very well :D Mar 14 20:28:48 but yeah it sounds like a fun idea Mar 14 20:29:03 How do you manage which one is where, relative to the others? Mar 14 20:29:04 can we just hold our phone into this channel? Mar 14 20:29:07 you can set a channel and every who joins displays a part of the text Mar 14 20:29:21 although I suppose if the concert venue is not very large you could have something like one letter per Pre Mar 14 20:29:23 the people must sort themselfes Mar 14 20:29:36 but if it would be like more than one Pre per letter then it might not really be so good Mar 14 20:30:07 two letters are ok, too Mar 14 20:30:10 just for fun Mar 14 20:30:11 :) Mar 14 20:37:23 so when is NOVA coming out? Mar 14 20:38:09 all the forums rumored during gdc Mar 14 20:40:59 nova? Mar 14 20:42:52 a quick google search reveals that the "nova" ended up being the pre Mar 14 20:43:25 jan 5th, 2009 - http://gizmodo.com/5123361/palms-nova+powered-last-stand-a-slider-with-large-touchscreen Mar 14 20:43:39 so... it already came out, vond :P Mar 14 20:44:55 what's the mystery model number that's comes up on precentral every once in a while, c40? Mar 14 20:45:21 c40 Mar 14 20:45:25 lol Mar 14 20:45:44 or elan Mar 14 20:45:50 palm elan .. but some say it's the pixi Mar 14 20:45:52 who knows Mar 14 20:47:44 rehi templarian :) Mar 14 20:47:56 http://www.gameloft.com/iphone/nova/?adid=101966 Mar 14 20:48:00 slept your buzz off? :P Mar 14 20:48:01 lol Mar 14 20:48:03 this NOVA Mar 14 20:48:24 oh, gameloft Mar 14 20:48:32 this could be ported to webos with the PDK Mar 14 20:48:35 like the other apps Mar 14 20:48:44 aaaah Mar 14 20:48:49 that makes a lot more sense Mar 14 20:49:15 sorry for being snippy before, then, vond :) Mar 14 20:51:00 does anyone know of a way to optimize list scrolling? Mar 14 20:51:23 when i add items to my list it gets kinda laggy Mar 14 20:58:23 whoops, nevermind, solved it Mar 14 20:59:12 what was it? Mar 14 20:59:59 swisstomcat: i found this page http://developer.palm.com/index.php?option=com_content&view=article&id=1740#BestPractices-OptimizingPerformance and set the renderLimit higher Mar 14 21:10:22 i seee jlazaroff Mar 14 21:10:29 ok i'm off, g'night Mar 14 21:33:57 I need a custom picker widget. I think I will write one. Mar 14 21:37:21 anyone know how i might implement something like this? http://www.thomasclulow.com/wordpress/wp-content/uploads/2009/10/tweetie2-ui.jpg Mar 14 21:39:25 oh weird, IntegerPicker is no longer in the list of widgets on developer.palm.com Mar 14 21:39:26 wtf? Mar 14 21:39:52 Kuraiou: the documentation is not good, to say the least -_- Mar 14 21:39:53 Kuraiou: it is under time picker i think Mar 14 21:40:04 it used to be its own thing. Mar 14 21:40:06 nvm Mar 14 21:42:01 i think the integer picker in the UIwidgets app is with the timepicker Mar 14 21:42:31 jlazaroff: you'll want to detect a drag event Mar 14 21:42:54 jlazaroff: with mojo.drag? Mar 14 21:43:05 http://developer.palm.com/index.php?option=com_content&view=article&id=1858&Itemid=247 Mar 14 21:43:23 mojo.drag is used for moving list elements. Mar 14 21:43:32 you want to use mousedown, mousemove, and mouseup, like any dragging function in js. Mar 14 21:43:46 no, just listen for Mojo.Event.drag Mar 14 21:44:05 Yah, drag would be easier Mar 14 21:44:06 mousedown and mouseup to understand directon of drag Mar 14 21:44:27 but it's hidden initially Mar 14 21:44:40 attach dragStart listener to the div, whether hidden or not Mar 14 21:44:42 Custom drawer widget? Mar 14 21:44:44 can i still detect Mojo.Event.drag if i don't mousedown on the delement at first? Mar 14 21:45:06 yes...but you might want direction info Mar 14 21:45:20 to reject spurious drags Mar 14 21:45:33 but first try w/out Mar 14 21:46:42 can i pass mojo.event.listen something that isn't a widget? Mar 14 21:46:51 apparently I still don't understand scope & "this" in javascript. Mar 14 21:47:02 any div Mar 14 21:47:10 haeffb: why? Mar 14 21:47:32 scope is f'd in JS.....2.0 will correct thangs Mar 14 21:48:35 jlazaroff: the Mojo listeners are just like normal JS ones....attach to any div Mar 14 21:49:13 jfelectron: ah, okay. it doesn't trigger if i don't drag down on the actual div though :( Mar 14 21:49:24 yes Mar 14 21:49:38 you could attach it to body Mar 14 21:49:53 if you want the drag anywhere behavior Mar 14 21:50:14 but if you have a list that'll be a problem Mar 14 21:50:17 yeah Mar 14 21:50:18 hm Mar 14 21:50:48 there's no way i can detect if someone tries to drag past the top of the scene? Mar 14 21:51:02 initially non-intuitive gestures are OK....because in the long run they are more natural Mar 14 21:51:03 Does anyone know where the default voicemail number is stored for Sprint? I couldn't find it in CarrierNetworkSettings.db3 Mar 14 21:51:22 jlazaroff: it has to be attached to some container div Mar 14 21:51:55 jfelectron: http://webos.pastebin.com/7J2aUVdU Mar 14 21:52:15 you could have a large invisible div with a high z-index that is pinned to the top of the scene Mar 14 21:52:32 haeffb: where's the prob? Mar 14 21:52:35 the call to getUserid returns correctly Mar 14 21:53:07 the call to getToken never gets to the doAPI Mar 14 21:54:48 jfelectron: if i use a container div, though, the drag events don't register because other elements on top of it are blocking it Mar 14 21:55:00 that's a strange construct you've got there...an object that you're using kinda like a class Mar 14 21:55:14 jlazaroff: you need to use very high z-index Mar 14 21:55:18 10000000000 Mar 14 21:55:26 or something Mar 14 21:55:27 :) Mar 14 21:55:37 thats more than 9000 Mar 14 21:55:48 hmmm, idea Mar 14 21:56:11 haeffb: i think view menu has 10k ish Mar 14 21:56:24 some for palm-header Mar 14 21:56:26 same Mar 14 21:58:02 haeffb: try making api a closure: http://webos.pastebin.com/BDmG0Vhz Mar 14 21:58:09 jfelectron: wait, won't that block tap events on the list items under it though? Mar 14 21:59:23 Hmm, I should add a section to webos101.com about dragging events. Mar 14 21:59:26 It comes up a lot. Mar 14 21:59:36 Of course, anyone else can add it, too! Mar 14 22:02:07 jlazaroff: propagate it manually with sendEventToCommanders Mar 14 22:03:02 listen to taps on the top div and then propagate it but modify target to be list Mar 14 22:04:14 Roy-Pre101: we need a bot that takes convo's and turns them into tutorials :) Mar 14 22:04:39 That's a good idea. Mar 14 22:09:39 jfelectron: ...how do i use that method? xD Mar 14 22:10:08 jlazaroff: its a method of the stageController Mar 14 22:10:38 Does anyone know where the default voicemail number is stored for Sprint? I couldn't find it in CarrierNetworkSettings.db3 Mar 14 22:11:08 Mark_M: default is your number no? Mar 14 22:11:28 The default for Sprint is the user's phone number. Mar 14 22:11:43 jlazaroff: yes....so why have a separate reference? Mar 14 22:12:19 But not all carriers use that number for voicemail Mar 14 22:12:40 Mark_M: ahh, good pt Mar 14 22:12:43 jfelectron: Mojo.Controller.stageController.sendEventToCommanders(Mojo.Event.tap); ? Mar 14 22:12:47 Bell Canada uses a different number and so do some GSM carriers, but they have an option to change their number Mar 14 22:12:51 sorry i'm such a noob -_- Mar 14 22:13:17 I would like to change my vm number for Google Voice. Mar 14 22:13:21 jlazaroff: that's not going to be a good strategy after all....you won't no what list element is underneath Mar 14 22:14:10 jfelectron: but i could send the drag event through the list to my target element, since there's only going to be one of that Mar 14 22:14:39 yes....but the the originalTarget will be wrong Mar 14 22:14:49 or at least you won't know what to set it to Mar 14 22:14:54 what do you mean? Mar 14 22:15:11 i am assuming you need to know what list element was tapped right? Mar 14 22:15:24 jfelectron, perhaps I could add the new number to the database and see if that change works. Mar 14 22:15:51 jfelectron: yeah, but what if i put the draggable element under the list and just send the drag event through the list to that element? Mar 14 22:16:27 oh, good thinking Mar 14 22:16:43 the list listens to drags though too Mar 14 22:17:53 oh yeah -_- Mar 14 22:18:32 Mojo.Controller.stageController.sendEventToCommanders(event) where event is the event that your list Drag handler gets passed....just change the event.target to be the drag div Mar 14 22:23:18 jfelectron: something like this? http://pastebin.com/gp4cZ1Df Mar 14 22:23:30 i can't tell whether it's not working because my code is wrong, or it's not working because it just won't work :\ Mar 14 22:24:32 no...hold on. This will be totally theory....i haven't tried this Mar 14 22:25:42 jlazaroff: is "test" the list? Mar 14 22:26:01 jfelectron: no, "test" is the draggable element Mar 14 22:26:13 the list id is "timeline" Mar 14 22:26:22 test is on top or below? Mar 14 22:26:31 the list... Mar 14 22:26:55 the list is on top Mar 14 22:27:16 how will you pin the draggable div to the top? Mar 14 22:27:29 it will sroll no? Mar 14 22:27:41 position: absolute; top: 0; Mar 14 22:29:59 argh, i have to go to dinner -_- Mar 14 22:30:12 will you be online later? Mar 14 22:31:18 bbl Mar 14 22:31:19 k....possibly.....email jonefoley at gmail Mar 14 22:33:03 jfelectron: i'll just ask later if you're still on when i get back -_- Mar 14 22:33:10 k Mar 14 22:33:10 peace out, everyone, thanks for all the help :) Mar 14 23:42:17 can anyone explain why my app throws "Uncaught TypeError: Cannot call method 'serviceRequest' of undefined" when I call it from a button press handler function? Mar 14 23:43:07 I'm calling "this.controller.serviceRequest("palm://com.palm.systemservice",...." Mar 14 23:44:25 this.controller is undefined Mar 14 23:47:31 why is it undefined? or how do I define it? Mar 14 23:48:36 probably you're calling it from a scope where "this" is no longer your SceneAssistant Mar 14 23:49:11 Or StageAssistant (don't rember which has the method serviceRequest)... Mar 14 23:50:51 ok thanks Mar 15 00:13:03 jfelectron: turns out that what I originally had works. Just had a freakin' typo. Mar 15 00:15:04 ahhh....thought that might be the case Mar 15 00:15:09 hate those Mar 15 00:16:00 haeffb: should have told topher_ to bind the event handler...but they're gone Mar 15 00:16:13 cut and run...hate those mofos Mar 15 00:16:49 you must love me, then. I'm here 24/7. Mar 15 00:19:02 oh jfelectron <3 haeffb Mar 15 00:19:58 btw finally working on Oauth stuff Mar 15 00:20:37 if i just had to make it for google, would be done...but making it more general and resuable Mar 15 00:24:36 sweet Mar 15 01:35:07 Finally getting the PDK files downloaded to my Pre. Mar 15 01:35:20 haeffb: you around? Mar 15 01:43:07 barely Mar 15 01:43:19 what's up? Mar 15 01:45:50 I mean, JenP, whats up? Mar 15 01:46:07 got your vid...finishing the editing right now Mar 15 01:46:17 so i was checking to see if you were around to view it Mar 15 01:46:28 awesome! Mar 15 01:49:16 argh.. stupid bugs Mar 15 02:07:00 k haeffb_pre it's in the mail Mar 15 02:07:52 thank you! Mar 15 02:08:37 you' Mar 15 02:08:42 re very welcom Mar 15 02:12:16 this makes no sense.. its saving a var but its not set or supposed to Mar 15 02:18:53 ahh.. stupid passByReference Mar 15 02:32:29 does the /var partition still have a hard limit?? Mar 15 02:32:51 like if it were full of email attachments... would it spit out an error? adjust itself with LVM? .. or what? Mar 15 02:37:12 hrm.. dante's inferno for ps3 only $31.99shipped new from EA.. tempted.... Mar 15 02:41:25 grndslm: it would not adjust itself Mar 15 02:42:03 webOS currently has no ability to do that outside of a webOS Doctor scenario Mar 15 02:42:29 an OTA update could move email over to /media/cryptofs/... Mar 15 02:46:15 arg Mar 15 02:47:04 my spinner won't work Mar 15 02:47:29 well Mar 15 02:47:46 it'll work if I set spinning=true when setting up the widget initially ... Mar 15 02:48:04 but if I try to update it to start it spinning later ... nothing Mar 15 02:48:38 this.searchSpinnerModel.spinning = true; this.controller.modelChanged(this.searchSpinnerModel, this); Mar 15 02:49:14 why wouldn't the above work? Mar 15 02:52:15 the ',this' part? Mar 15 02:52:28 this.searchSpinnerModel.spinning = true; this.controller.modelChanged(this.searchSpinnerModel); Mar 15 02:52:32 ah Mar 15 02:53:13 I only added the extra 'this' cause it wasn't working :( Mar 15 02:53:25 Oh... something else is wrong Mar 15 02:53:39 That part of the code is good Mar 15 02:54:20 here's where the widget get setup: Mar 15 02:54:22 this.searchSpinnerModel = {spinning: false}; this.controller.setupWidget("searchSpinner", {spinnerSize: 'small'},this.searchSpinnerModel); Mar 15 02:56:03 That's really all there is to it Mar 15 02:56:59 try Mojo.Controller.stageController.activeScene().modelChanged(spinnerModel); Mar 15 02:57:09 well replace your model Mar 15 02:58:59 http://webos.pastebin.com/YwZbG1wF Mar 15 02:59:02 thats my spinner **** ENDING LOGGING AT Mon Mar 15 02:59:56 2010