**** BEGIN LOGGING AT Thu Mar 18 02:59:56 2010 Mar 18 03:12:06 poor twitter. Mar 18 03:17:44 hm? Mar 18 03:20:09 anyone know how to get the user agent of the browser? Mar 18 04:16:25 anyone know how to disable the default styles? Mar 18 04:56:21 are you saying you want to? Mar 18 06:01:47 javascript question: how do I grab the last N characters from a string in javascript? Mar 18 06:03:47 aha, substring with a negative number for start. I wonder what happens if it's too negative ... Mar 18 06:12:44 http://docs.sun.com/source/816-6408-10/string.htm#1194618 - it works like I want it to. Mar 18 13:21:03 yo ho Mar 18 13:21:08 yo yo yo Mar 18 13:22:06 any ubuntu or linux users know the trick to get the pre to cleaning umount as a USB drive? Mar 18 13:22:27 cleanly... Mar 18 13:32:50 nope :( Mar 18 13:32:55 I'm using ubuntu, but only as my work computer. Mar 18 13:37:16 hi haeffb_pre: Mar 18 13:37:38 morning Mar 18 13:38:28 hows trix? Mar 18 13:45:09 haven't seen her Mar 18 14:54:04 ... Mar 18 14:54:18 WOOOO!!!! ITS NOT BROKEN ANYMORE Mar 18 14:57:19 halfhalo_T400: w00t w00t! Mar 18 14:57:23 ...what's not broken anymore? Mar 18 14:58:30 last night #webos would not let me talk Mar 18 15:01:18 ...really Mar 18 15:01:21 odd Mar 18 15:01:37 well, welcome back :) Mar 18 15:52:27 yo Mar 18 16:01:43 HELLOOOOOOOOOOOO SPRINGFIELD! Mar 18 16:02:24 holla wisconsin Mar 18 16:02:35 heh Mar 18 16:08:02 yoyoyo Mar 18 16:08:17 yippie yo kai ey Mar 18 16:08:19 anyone know how to read a value from your appinfo.json file? are tehy loaded into mojo params somewhere Mar 18 16:08:34 Mojo.appInfo.version Mar 18 16:08:37 like that Mar 18 16:08:47 Forgot who told me that Mar 18 16:11:19 question: how do i use an external javascript file as the assistant for a custom dialog? Mar 18 16:13:09 jlazaroff: this.controller.showDialog({ Mar 18 16:13:10 template: 'dialogs/my-dialog', Mar 18 16:13:10 assistant: new MyDialogAssistant(this) Mar 18 16:13:10 }); Mar 18 16:13:28 have your dialog template in the views/dialogs Mar 18 16:13:40 and your assistant in the assistants path Mar 18 16:14:11 and it'll figure it out on its own? i don't have to add it to sources.json or anything? Mar 18 16:15:34 the assistant needs to be in sources.json Mar 18 16:16:25 yes Mar 18 16:16:55 every js file needs to be in sources, or included in the index Mar 18 16:18:22 gotcha Mar 18 16:21:02 [20100318-12:20:34.988662] error: Uncaught ReferenceError: goToUserAssistant is not defined, app/assistants/stage-assistant.js:34 Mar 18 16:21:17 here's my code: http://pastebin.com/u2GCHtHW Mar 18 16:22:07 the template file is at views/dialogs/goToUser.html, and the javascript file is at assistants/gotouser-assistant.js Mar 18 16:22:31 and i added this to sources.json: { "dialogs": "goToUser", "source": "app/assistants/gotouser-assistant.js" } Mar 18 16:24:19 change the sources.json entry to this Mar 18 16:24:35 {"source": "app/assistants/gotouser-assistant.js"} Mar 18 16:24:50 don't need to specify Mar 18 16:25:09 though that might not make a difference Mar 18 16:25:20 i also put them at the top of sources.json Mar 18 16:25:30 i can't remember everything i did to get them working, its been a while since i messed with them Mar 18 16:33:05 jlazaroff: are you making your dialog assistants via Class.create() or standard prototyping? Mar 18 16:35:42 what is the link to send someone to the app catalog in the phone? Mar 18 16:35:44 http://developer.palm.com/webChannel/index.php?packageid=com.codeslaw.paintrlite Mar 18 16:35:48 sends to the web feed Mar 18 16:36:14 use the sms thingie and see what thar says? Mar 18 16:36:23 bah ok Mar 18 16:36:40 Kuraiou: here's my code http://pastebin.com/u2GCHtHW Mar 18 16:36:55 case "goToUser" in the handleCommand() Mar 18 16:39:38 http://developer.palm.com/appredirect/?packageid=com.codeslaw.paintrlite Mar 18 16:40:22 putting a news feed on the front page of the app == link to the latest version for people who havent upgraded Mar 18 16:40:34 i'll see today if it causes a larger download spike than usual Mar 18 16:41:43 its cool because i can include javascript in the news feed to determine the app version Mar 18 16:41:55 OR Mar 18 16:42:02 just use Mojo.appInfo.version Mar 18 16:42:08 i did Mar 18 16:42:40 i wrote a small script tag on my webserver that checks mojo version, and displays an update message if they haven't yet Mar 18 16:43:09 that get's ajaxed into the app Mar 18 16:43:21 heh Mar 18 16:43:48 mine connects to auth.php on my server passing version up with it and getting json back Mar 18 16:44:42 that's a much more secure method Mar 18 16:44:51 this version checking is an afterthought Mar 18 16:44:51 BUT Mar 18 16:45:04 i just realized... i can PATCH BUGS from the ajax feed! Mar 18 16:45:30 lol Mar 18 16:45:34 my god... Mar 18 16:45:41 jlazaroff: that's not what I'm asking. I'm talking about gotouser-assistant.js Mar 18 16:45:50 trying this Mar 18 16:48:49 IT WORKS Mar 18 16:49:21 Kuraiou: oh, standard prototyping Mar 18 16:49:26 modifying the prototype from within a javascript downloaded via ajax, i can hotfix any bug in the app Mar 18 16:49:33 does anyone see any major security issues with this? Mar 18 16:51:58 I have had issues with dialogues when using Class.create() Mar 18 16:52:05 but... hrmm Mar 18 16:52:09 it's possible if the new Blah() fails Mar 18 16:52:11 that it won't work Mar 18 16:52:16 if there's some other kind of bufg Mar 18 16:53:16 is there something in particular i have to call it? Mar 18 16:53:26 or will it work just as well with new Blah(this) Mar 18 16:53:28 bob Mar 18 16:53:34 you must call it bob Mar 18 16:54:15 error'd! ReferenceError: bob is not defined Mar 18 16:54:16 :( Mar 18 16:54:19 poor bob Mar 18 16:55:12 awe Mar 18 16:58:31 how does it know which javascript file Blah refers to, though? Mar 18 17:17:39 so, apparently my bugs are still preswnt on my phone Mar 18 17:18:12 I think it's the diff between 1.3.5 and 1.4 that's giving me issues Mar 18 17:18:42 and I think i'm going to cache the images on the phone now Mar 18 17:23:52 my god, the ImageView widget is taking YEARS to show an image that i ALREADY LOADED on the previous scene Mar 18 17:24:01 something is really screwed Mar 18 17:42:52 good morning folks Mar 18 17:43:21 elephant Mar 18 18:00:04 jlazaroff: did you get the dialog working? Mar 18 18:24:27 haeffb: nope :( Mar 18 18:24:49 i took a break from it to work on the styling Mar 18 18:31:04 did you change the sources.json as suggested above Mar 18 18:40:49 yup -_- Mar 18 18:41:22 what i don't understand is how the program knows to look to that javascript file Mar 18 18:41:36 like there's nothing that says "hey, when making this dialog, use that assistant" Mar 18 18:41:40 remove the dialogs line? Mar 18 18:42:23 yeah Mar 18 18:42:28 here's the errror: [20100318-14:42:14.308600] error: error'd! ReferenceError: goToUserAssistant is not defined Mar 18 18:42:40 that is the assistant property in showDialog Mar 18 18:42:58 yup Mar 18 18:43:32 that tells it what assistant to use Mar 18 18:44:41 hi Mar 18 18:44:52 is the download count in My Apps up to date? Mar 18 18:44:59 so. you have gotouser-assistant defined in sources.json Mar 18 18:45:40 and in that file is goToUserAssistant = function(...) ... Mar 18 18:45:59 I'm having trouble getting my Palm Developer Account upgraded so I can start actually distributing apps etc... is this the right place to ask for advice about that? hoping someone here has had a similar experience Mar 18 18:46:09 is it small g or big G ? Mar 18 18:46:51 Is_907: forums are usually best for that, but you may find someone here Mar 18 18:47:16 codeslaw_: I've been reading the forums but haven't seen any info about this issue yet... hoping for the "quick fix" ;) Mar 18 18:47:28 basically I can't get Palm to accept my credit card via PayPal to do the $99 fee Mar 18 18:47:36 what happens when you try Mar 18 18:47:42 it keeps asking for a *new* credit card, won't use one i have on file at paypal Mar 18 18:48:02 so i delete the card from my paypal account and try to add it during the payment process from developer.palm.com and it refuses Mar 18 18:48:14 haeffb: constructors can be defined like: function GoToUserAssistant(args) { .... } Mar 18 18:48:36 Is_907: how does it refuse? Mar 18 18:49:00 says I need to use one of the payment types mentioned below... but when i put in the card number it highlights the Visa logo, so it knows i'm using a real visa card Mar 18 18:49:27 that's why i was hoping i could tell it to use a card on file at paypal... becuase paypal confirms the card just fine Mar 18 18:50:21 codeslaw: yes but his assistant ia 'undefined' Mar 18 18:52:44 Is_907: sounds like a pretty specific issue. try emailing pdc@palm.com Mar 18 18:52:58 codeslaw_: Okay, I'll do that. Thanks anyway (= Mar 18 18:53:01 jlazaroff: post your latest code Mar 18 18:53:07 np, sorry i can't help you further Mar 18 18:53:36 (= Mar 18 18:56:03 <_lance_> Anyone here know the trileet guys? Mar 18 18:57:13 haeffb: ah, sorry Mar 18 18:57:40 i'm in the middle of wading through after effects issues for an assignment due at 4 Mar 18 18:57:44 it's rendering now, though, so i'll post the code Mar 18 18:58:06 _lance_: are they the peeps that did newsroom? Mar 18 18:58:11 <_lance_> yup Mar 18 18:58:28 Yeahh, I don't think they hang around here Mar 18 18:58:46 <_lance_> ah Mar 18 18:59:07 http://pastebin.com/XVaHKLLN Mar 18 18:59:13 <_lance_> I'm hoping I can buy an ipk from them, sick of waiting for bell to enable canadian app store Mar 18 18:59:19 <_lance_> delicious morsel said no Mar 18 19:00:46 aren't there free rss readers? Mar 18 19:01:03 http://www.getsatisfaction.com/trileet Mar 18 19:01:04 <_lance_> not one that does opml import, or offline browsing, or syncs with greader Mar 18 19:01:20 <_lance_> most of my reading gets done in the subway with no reception Mar 18 19:01:20 news room doesn't sync with greader Mar 18 19:01:41 <_lance_> no, but offline browsing is nice, and i think i can opml import Mar 18 19:01:54 jlazaroff: little g vs BIG G Mar 18 19:01:56 Tibfib: that's so annoying -_- Mar 18 19:02:10 haeffb_pre: new error now [20100318-15:00:43.985630] error: error'd! TypeError: Object # has no method 'showDialog' Mar 18 19:02:28 jlazaroff: what is? Mar 18 19:03:09 Tibfib: that newsroom doesn't support google reader Mar 18 19:03:13 the interface is so nice, though Mar 18 19:03:35 Ah, I like it. I don't really use G reader... Mar 18 19:03:41 So no big deal here. Mar 18 19:03:52 It's perfect for me Mar 18 19:04:40 the only reason i really want google reader sync is so i can have persistence between the read items on newsroom and the reader on my computer Mar 18 19:05:12 Yeah, I can understand that...But for me, I read the real sites on my computer, and rss feeds on my pre. Mar 18 19:05:22 jlazaroff: showDialog is method of sceneAssistant, not stageAssistant Mar 18 19:06:24 <_lance_> Tibfib: I create screen scrapers that give me full feed RSSes and read that on my ereader Mar 18 19:06:37 <_lance_> Also paid $5 for the premium ars technica sub Mar 18 19:06:44 <_lance_> for the full feed rss Mar 18 19:07:28 <_lance_> python + beautifulsoup = <3 Mar 18 19:08:26 _lance_: nice Mar 18 19:08:38 <_lance_> yahoo pipes are great for it too Mar 18 19:10:42 haeffb_pre: oh. can i not call showDialog from stage-assistant? Mar 18 19:11:23 you can if you can get a reference to the sceneController Mar 18 19:11:46 just drank some awful, AWFUL coffee Mar 18 19:11:52 i think i need to clean my thermos Mar 18 19:13:41 haeffb_pre: hey, it works! Mar 18 19:13:42 thanks a lot :) Mar 18 19:13:45 <_lance_> i was going to ask if you went to tim hortons Mar 18 19:26:58 hmm, another weird error Mar 18 19:27:03 or warning, actually Mar 18 19:27:07 this happens when i pull up the app menu Mar 18 19:27:09 [20100318-15:26:07.634187] warning: WidgetController: Could not instantiate widget ' ', since it has not been set up. Mar 18 19:29:25 i'm not sure which widget it's trying to set up though Mar 18 19:33:11 normal warning msg Mar 18 19:34:22 oh Mar 18 19:34:24 fair enough, then Mar 18 19:34:39 do i need to pass the scene's context to the dialog assistant? Mar 18 19:37:47 jlazaroff: yes, if you need to access it Mar 18 19:38:11 anyone have experience with the FilterList? Mar 18 19:38:37 codeslaw: some Mar 18 19:38:46 i need to set up widgets... Mar 18 19:39:34 jlazaroff: in that case, yes. Mar 18 19:39:52 win! Mar 18 19:39:54 * MetaView listens to Fehlfarben Mar 18 19:39:55 thanks :) Mar 18 19:40:22 codeslaw: here's code that works for me: http://www.pastie.org/875987 Mar 18 19:41:17 perfect, i was just about to ask how the filter function should behave Mar 18 19:41:19 thanks Mar 18 19:41:59 my list is about 1k long and growing, i'm hoping the string searches don't royally hang Mar 18 19:44:32 I use it with 100 longer strings and it works fine Mar 18 19:44:44 even if I convert to UPPERCASE before Mar 18 19:45:24 word Mar 18 19:47:05 I used a search function on a file that was 564kbs and it was a laggy... So i changed it to only search when you press the search button, instead of on every keypress Mar 18 19:50:03 <_lance_> oh good, can+mex paid apps announced "soon" Mar 18 19:53:43 hey haeffb, quick optimization in your search loop Mar 18 19:54:08 if you replace AGENDA.someEvents.push(AGENDA.allEvents[i]) with AGENDA.someEvents.push(s), you'll save on array lookups Mar 18 19:56:31 codeslaw: thanks. Mar 18 19:57:32 where is media/internal folder for emu? Mar 18 20:04:15 evening Mar 18 20:09:23 <_azdak> Hey yall Mar 18 20:15:06 hi swisstomcat & _azdak Mar 18 20:15:17 hey haeffb Mar 18 20:15:20 and azdak Mar 18 20:18:26 <_azdak> Has anybody gotten WebOS to play multi-channel sound? The API docs seem to sort of imply it's possible, but after trying several different ways, it's not looking doable Mar 18 20:21:34 so if i have a long list that has images in it, do i need to invalidate items as they are scrolled away in order to keep memory in control? Mar 18 20:27:43 azdak: there was someone here trying it but you're probably better off using the PDK Mar 18 20:27:51 hey codeslaw Mar 18 20:29:16 for the PDK you can do it Mar 18 20:29:22 WIDK at least Mar 18 20:29:53 codeslaw: would you like to beta-test my new app? Mar 18 20:32:49 <_azdak> swisstomcat & MetaView - yeah, I'd just really prefer to release the app this quarter. I was just wondering if anybody had gotten it to work *at all*. I may just end up releasing with a simpler single-track sound set up and working on a PDK sound system for update Mar 18 20:38:06 hey lonestar Mar 18 20:40:42 anyway to make the filter field in a filterlist always be showing? Mar 18 20:41:58 and have the spinner stop spinning up there when it's done? Mar 18 20:42:23 bah, all the cool stuff is happing in san francisco :( Mar 18 20:42:35 try the open() method? Mar 18 20:44:59 * haeffb going mobile. Mar 18 20:50:28 codeslaw: check the app whendle (open source) where the filterlist in the scene is always active Mar 18 20:56:32 codeslaw_: the spinner stops when you set the count Mar 18 20:56:48 MetaView: ya just found it, error in my filter function wasn't setting it Mar 18 20:59:18 ok Mar 18 21:12:30 hehe, multi voice works fine with WIDK (aka SDL) Mar 18 21:12:45 but all my sounds are looped.. oh, oh , oh Mar 18 21:13:13 Music, Duke speech, and some shot sounds make a nice sound box Mar 18 21:13:26 ah, over Mar 18 21:19:58 sound is lagging Mar 18 21:54:24 d'night Mar 18 21:54:28 g'night even **** BEGIN LOGGING AT Thu Mar 18 22:39:53 2010 Mar 18 22:57:32 haeffb: got a little something for you http://github.com/jfelectron/OAuth-for-WebOS Mar 18 22:58:09 whats up #webos? Mar 18 23:00:51 not mutch :) Mar 18 23:04:36 hello :) wasup really?.. Mar 18 23:07:36 erm Mar 18 23:07:38 hi all! Mar 18 23:07:39 chillin Mar 18 23:07:41 having coffee Mar 18 23:07:44 hey JenP :) Mar 18 23:07:45 or chill out :) Mar 18 23:07:55 it's 0_07 am.. here Mar 18 23:07:57 pandora omg it's sooo hot Mar 18 23:11:09 JenP: where are you again? Mar 18 23:11:21 JenP: it was crazy hot here earlier this week Mar 18 23:11:43 in los angeles Mar 18 23:11:45 san diego Mar 18 23:11:46 got the AC running Mar 18 23:12:12 ah ya Mar 18 23:12:12 i was reallllly close to kicking on the AC yesterday Mar 19 00:06:02 well dang Mar 19 00:06:14 Gotta re-write my app to use local imags Mar 19 00:13:04 <_azdak> Has anybody gotten multi-channel audio to work using just the SDK? Mar 19 00:13:48 <_azdak> (as in simultaneous sounds) Mar 19 02:58:45 * haeffb back in after 3 hrs at the Irish pub **** ENDING LOGGING AT Fri Mar 19 02:59:56 2010