**** BEGIN LOGGING AT Wed Jan 20 02:59:57 2010 Jan 20 03:00:42 hi jenp Jan 20 03:01:51 hi haeffb! Jan 20 03:02:06 howdy all Jan 20 03:02:33 JenP: I have glanced at rrule and rruleTZ but understand may be stretching things. Jan 20 03:03:11 then you're further ahead then me Jan 20 03:03:13 sugardave: your cookies got burned Jan 20 03:04:01 sugardave: jk, gonna release an update to my app with your cookies, Jan 20 03:05:42 hi Adora! Jan 20 03:06:56 JenP: you want 2 trade a tattoo for an iPod... Sorrrento Valley Jan 20 03:07:29 LOL umm I already have 5 tattoos and 2 iPods...got anything better? LOL Jan 20 03:07:57 conducting tests on san diego classifieds, that one came up when searching for ipods Jan 20 03:10:07 "Tattoo buy one get one free!" they must be hard up in Sorrento Valley, Jan 20 03:10:39 brb Jan 20 03:14:50 setWindowOrientation is strange for me Jan 20 03:15:34 LoneStar99: ha, I used to work in sorrento valley Jan 20 03:15:40 aka the "other" valley Jan 20 03:16:05 ps: hi JenP! Jan 20 03:16:15 it is the "tech" center of SD Jan 20 03:16:21 Adora: what is up, person? Jan 20 03:16:31 * haeffb is not hip today Jan 20 03:16:48 haeffb: just scratchin to keep a dig in my groove, yo Jan 20 03:16:58 wut? Jan 20 03:16:58 * Adora makes up for it Jan 20 03:17:06 nice Jan 20 03:17:09 lol Jan 20 03:18:44 20% to go... Jan 20 03:19:04 Adora: do you ever rack up business miles for reimbursement? Jan 20 03:19:50 I've always been able to claim my own miles, but I've never flown enough for business to really get much out of it Jan 20 03:20:29 Ok. just looking for testers for "Myles" Jan 20 03:21:57 setWindowOrientation(xxx) works as expected in emu. Have to close app and restart on Pre... ??? Jan 20 03:24:23 k back... Jan 20 03:26:08 JenP: can you make my app 'pretty'? Jan 20 03:26:39 sure if you figure out rruleTZ and explain it to me... Jan 20 03:26:44 send me your app Jan 20 03:26:52 oh, you drive a hard bargain. Jan 20 03:26:55 lol Jan 20 03:27:34 are you really calling in "Myles"? Jan 20 03:28:03 yep. Jan 20 03:28:11 and maybe "Otto Myles" later. Jan 20 03:28:27 lol i like it Jan 20 03:28:29 * haeffb is so proud. Jan 20 03:29:32 * you have mail * Jan 20 03:30:00 already on it Jan 20 03:31:50 I think you don't ned to worry about rruleTZ. just rrule. Jan 20 03:32:11 isn't it required? Jan 20 03:32:19 TZ should be only if you're changing timezones from where the user is/will be. Jan 20 03:32:42 haeffb....are you planning on a splash screen or intro instructions? Jan 20 03:33:14 haeffb what kinda app are u making? Jan 20 03:33:19 hadn't planned on it. there is help. Jan 20 03:33:40 Myles = IRS/business mileage tracking app Jan 20 03:33:48 kk...i'm looking for areas to make pretty. I actually think your app looks pretty good Jan 20 03:33:50 kewl Jan 20 03:36:11 JenP: yes, you're right, it's required Jan 20 03:36:33 what am i right about? Jan 20 03:37:36 rrruleTZ is required when specifying an rrule in Calendar serviceRequest. Don't sound so surprised! Jan 20 03:38:07 LOL i wasn't sure if you were talking about your app Jan 20 03:38:29 so what are your ideas for prettifying it? Jan 20 03:38:44 I need a canvas to work from.... Jan 20 03:39:30 dunno. for instance, the icons for drawer & clock are just grabbed from google search for free icons. Jan 20 03:39:41 rolf me too Jan 20 03:39:45 i need new icons >.> Jan 20 03:39:48 kk Jan 20 03:39:50 what else Jan 20 03:40:22 think of what make shoes look good, then what would make my app look like good looking shoes. :) Jan 20 03:40:42 LOL...do you want to go dark? or stay light? Jan 20 03:42:02 I do not care. Jan 20 03:42:18 dark shoes are better than light shoes? Jan 20 03:42:35 i think so...but it's a well used trend right now Jan 20 03:43:07 hmm...ok i have an idea let me look through our stock photos Jan 20 03:48:33 I think what you need is a systemRequest for getSystemTime() and then the TZ property. http://developer.palm.com/index.php?option=com_content&view=article&id=1538&Itemid=285#SystemService-getSystemTime Jan 20 03:49:42 sending you mail... Jan 20 03:49:55 i'm playing with your colors scheme Jan 20 04:00:00 LoneStar99: burnt cookies are the suck Jan 20 04:00:49 LoneStar99: when you're ready for some DB pain, check this: http://developer.palm.com/distribution/viewtopic.php?f=16&t=2025 Jan 20 04:00:53 JenP: look at this: http://www.pastie.org/785912 it would help your textfield entries, where only numerical values are useful. Jan 20 04:01:17 sugardave: my head hurt after looking at that earlier today... Jan 20 04:01:28 but looks useful. Jan 20 04:01:37 yay! my head hurt trying to make all that shit work :D Jan 20 04:02:00 it is useful...I have an app that's going to start with 10 tables...makes it a LOT easier to deal with Jan 20 04:02:02 as they say, "pass it forward." Jan 20 04:02:05 yupper will make them num only...but what's weird is i can't get the name textfield to have focus on dialog box launch Jan 20 04:02:49 haeffb: it's also incomplete...haven't decided what I'm going to do with the 'schema' piece I started adding Jan 20 04:02:56 it'll come to me at some point Jan 20 04:03:45 JenP: what have you tried? setInitialFocusedElement('textfieldID'); ? Jan 20 04:04:29 actually, I guess I should put it on the wiki and update it there as it evolves Jan 20 04:05:17 or myTextField = this.controller.get('textFieldID'); setInitialFocusedElement(myTextField); Jan 20 04:05:21 no i was just had autoFocus: true Jan 20 04:05:33 cool haeffb i'll use that Jan 20 04:05:35 * haeffb has no idea which would work, if any Jan 20 04:05:54 I have only used setInitialFocusedElement(null); Jan 20 04:06:23 and it's this.controller.setInitialFocusedElement(null); while in a SceneAssistant Jan 20 04:06:46 ~seen Pre101 Jan 20 04:06:52 ah, crap Jan 20 04:19:01 added a charsAllow for TextField example to snippets: http://www.webos101.com/Code_Snippets#Snippets Jan 20 04:19:37 haeffb...Rick saids: use http://developer.palm.com/index.php?option=com_content&view=article&id=1861&Itemid=250#.getCurrentTimeZone Jan 20 04:19:44 haeffb you're trying to help my wandering student? Jan 20 04:19:58 y'all gotta actually READ the api docs. Jan 20 04:20:00 wandering...no more like spinning in circles Jan 20 04:20:14 but they're borrrring..... Jan 20 04:20:22 and written in some weird language.... Jan 20 04:20:25 so i'm new to this whole ajax thing and especially webOS. i have a server that i've set up to spit out some JSON, but how do i get that into my app? is it by way of ajax.response? Jan 20 04:20:46 look at the ajax get example in the sdk share Jan 20 04:20:53 it's pretty straight foward Jan 20 04:21:00 cool, thanks Jan 20 04:21:04 maik yes, you're going to have to do an ajax request and get the response Jan 20 04:21:07 should under the data app Jan 20 04:21:23 JenP: always listen to Rick-home Jan 20 04:21:24 and maik, this is going to be the hardest programming thing you've ever bent your head around probably. Jan 20 04:21:31 seriously? Jan 20 04:21:38 no hardest was Ajax POST Jan 20 04:21:41 >.< Jan 20 04:21:51 don't say that...i started AJAX class today Jan 20 04:21:57 maik -- have you ever used callbacks and asynchronous subroutines? Jan 20 04:22:08 JenP you already know how to do async Jan 20 04:22:08 not the latter, the former yes Jan 20 04:22:31 then you're golden maik -- the thing to remember is an ajax request is async -- you put out the request Jan 20 04:22:45 and then you point the request object at the function that will HANDLE the response Jan 20 04:22:59 makes sense Jan 20 04:23:01 there's no "waiting around for it" or value passed out of the request object. Jan 20 04:23:21 if that makes sense to you then you are AUTOMATICALLY in the top 15% of javascript programmers. Jan 20 04:23:45 woohoo! Jan 20 04:23:57 * haeffb just graduated to top 15%! Jan 20 04:24:10 OH oh I love when Rick gets into his teacher mode.... Jan 20 04:24:11 haeffb -- you laugh. Jan 20 04:24:14 well maybe ajax isn't exactly what i'm looking for Jan 20 04:24:21 yes it is. Jan 20 04:24:22 JenP: Ajax is EASY...even _I_ can do it Jan 20 04:24:23 all i want to do is send a request to a webpage and get a response back Jan 20 04:24:23 'cept I can't read API docs :( Jan 20 04:24:32 that's exactly what ajax is. Jan 20 04:24:45 ok Jan 20 04:24:49 Rick-home: I don't laugh. I know how long it took me to wrap my brain around some of this stuff. Jan 20 04:24:50 see....uh hem....now I know who all to ask... Jan 20 04:24:52 maik, precisely and exactly that is an ajax call -- send a request, get a response back. Jan 20 04:25:05 hell, that's easy peasy Jan 20 04:25:09 * maik starts reading Jan 20 04:25:26 * Rick-home Rick chuckles evilly... easy peasy. We'll see. Jan 20 04:25:40 Wait till he asks how to loop over SQL transactions. :-) Jan 20 04:26:08 heh, no. that''s what i have stored procedures for :) Jan 20 04:26:13 Mojo.Format who'd have thunk to look for timezone's there? Jan 20 04:26:16 everything is handled server side when possible Jan 20 04:26:18 Rick-home: I think you have grossly overestimated the percentage... Jan 20 04:26:42 maik sqlite doesn't HAVE stored procedures. Will you never EVER want local storage on the phone? Jan 20 04:27:09 oh i don't plan on making developing webos apps a repeat offense :) Jan 20 04:27:41 maik: one and done? I call shenannigans Jan 20 04:27:41 * Rick-home geolocated maik's ip address and prepares leg breaking team. Jan 20 04:27:44 everything i plan on doing is in-house and is already served by MSSQL so it's just a matter of writing a web service to expose the data i need Jan 20 04:27:47 haha Jan 20 04:28:10 i call it offense because i'm not a programmer and don't intend to call myself one, so offense is me disgracing the community with my presence Jan 20 04:28:25 maik and your users never EVER need to access the data when in an interior conference room with no connectivity? Lucky you. Jan 20 04:28:34 exactly Jan 20 04:28:45 cheater Jan 20 04:28:48 if you don't have data connectivity then you don't get to use it Jan 20 04:29:08 maik: I like the way you think. Jan 20 04:29:08 it is just for us IT guys anyways Jan 20 04:29:14 "I don't make the rules, I...oh wait, I DO make the rules!" Jan 20 04:29:19 exactly Jan 20 04:29:39 and maybe other people who we think know how to use it and what it will be and what it won't be Jan 20 04:29:52 uh, Rick-home: i like the way you think, too Jan 20 04:30:28 * sugardave is still trying to figure out how he got in the top 15 percentile bracket. Jan 20 04:30:34 something i was wondering about. does/will palm offer a centralized credential manager api? Jan 20 04:30:46 sugardave: welcome to the elite! Jan 20 04:30:50 maik: none yet, but it would be cool Jan 20 04:30:59 i don't feel comfortable just sticking a username/password in a cookie/db for everyone else to se Jan 20 04:31:00 see Jan 20 04:31:08 even if it is encoded Jan 20 04:31:18 don't...make 'em put it in every time! ;) Jan 20 04:31:30 heh, let's not be ridiculous here :) Jan 20 04:31:34 haha Jan 20 04:31:47 var timeZone = mojo.format.getCurrentTimeZone(); Jan 20 04:31:55 Rick-home is that right? Jan 20 04:32:00 we should be SO past username/password by 2010 Jan 20 04:32:07 then i call it like so Jan 20 04:32:08 "rruleTZ": timeZone, Jan 20 04:32:13 Anyone know the policy on curse words in app titles/content? Jan 20 04:32:18 capital M, capital F Jan 20 04:32:32 i know the policy on T & A Jan 20 04:32:40 Ha Jan 20 04:33:00 JenP Mojo.Format.getCurrentTimeZone() -- note caps Jan 20 04:33:04 yeah, why can't we use the screen to read fingerprints? Jan 20 04:33:04 JenP: from experience. Jan 20 04:33:12 (that's rhetorical, Rick-home) Jan 20 04:33:19 sugardave: perfect! Jan 20 04:33:23 childsd3 yes, the answer is "no" Jan 20 04:33:38 my laptop has a fingerprint reader Jan 20 04:33:46 as does mine Jan 20 04:33:50 sugardave because it's a capacitative screen? :-) Jan 20 04:33:58 * Rick-home loves answering rhetorical questins. Jan 20 04:34:12 haha Jan 20 04:34:27 * Rick-home wondered why everyone was so happy when ruby changed the pre from resistive to capacitative. Jan 20 04:34:53 Resistive screens can work with fingers and they let you use a stylus WHEN YOU WANT TO Jan 20 04:35:08 crap. it's late and I work in the AM Jan 20 04:35:21 i haven't seen a good application of a resistive screen that was very clear with the display and not that terrible film .. Jan 20 04:35:33 Rick-home: didn't work.... Jan 20 04:35:48 haeffb: ha sleepings over-rated Jan 20 04:36:06 ^ Jan 20 04:36:20 whats the palm css tag for putting something at the bottom of screen? Jan 20 04:36:53 doing a curved resistive screen would have probably been technically impossible, and multitouch would have been out of the question Jan 20 04:38:41 crasheed: I do position: fixed; bottom: 0; Jan 20 04:39:03 of course, neither resistive nor capacitive screens have the resolution to be able to read a fingerprint. you could probably hack the optical trackball on a blackberry to do it though Jan 20 04:39:45 crasheed: but I SUCK at html/css....hackery at best Jan 20 04:39:47 sugardave but what if your screen can scroll will that position stay there at the bottom like a header or scroll with the page? Jan 20 04:39:55 it will stay there Jan 20 04:40:06 I think...hmmm... Jan 20 04:40:26 becuase i think i tried that once and it doesn't float but is stuck to the page and scrolls with it Jan 20 04:40:34 here I was all fat and happy and nicoya had to go introduce DATA into the discussion Jan 20 04:40:46 JenP log the output from getCurrentTimeZone please Jan 20 04:40:51 I'm a spoilsport. it's what I do. Jan 20 04:40:51 yeah, you might be right about that...I was doing it as part of my ad management server testing Jan 20 04:41:09 me too :D Jan 20 04:41:14 gotta pop in here at least once a month and ruin someone's fun Jan 20 04:41:20 hehehehe Jan 20 04:41:33 how are things at the old homestead anyway? Jan 20 04:41:43 life is good Jan 20 04:42:58 oops sorry i'll do it right now Rick-home....i got distracted with haeffb app Jan 20 04:44:15 Rick-home: "CST" Jan 20 04:46:58 haeffb that SUCKS DEAD BUNNIES Jan 20 04:47:18 they require olsen datatabse time zones, and then hand you 3 character abreviations? Jan 20 04:48:08 JenP the rrulesTZ requires a value from the third column in this list: http://en.wikipedia.org/wiki/List_of_zoneinfo_time_zones Jan 20 04:49:07 rick got an error dialog box in app...but doesn't look like it's called in log Jan 20 04:50:03 JenP so you're got getting a value out of getCurrentTimeZone? Jan 20 04:50:47 Rick-home: I agree about the bunnies. Jan 20 04:51:29 rick i'm not even finding it ...trying try catch now Jan 20 04:51:41 ...you guys aren't talking about killing bunnies again are you? Jan 20 04:52:09 JenP: no, the bunnies are already dead. which we agree, sucks. Jan 20 04:52:18 nodnod Jan 20 04:52:32 cool Jan 20 04:54:05 Rick-home: is this worth pursuing: http://developer.palm.com/index.php?option=com_content&view=article&id=1538&Itemid=285#SystemService-getSystemTime Jan 20 04:56:00 BINGO! thats exactly what she needs. Jan 20 04:56:08 thanks haeffb Jan 20 04:57:08 they could have made it a little easier to access. Jan 20 04:57:20 but at least it's accessable. Jan 20 04:57:51 rick i get PST Jan 20 04:58:11 useless JenP Jan 20 04:58:26 go look at the link haeffb just posted. Jan 20 04:58:29 that has the TZ in it Jan 20 04:58:34 looking Jan 20 04:58:45 this chili is f'n good Jan 20 04:59:00 oh, sorry to change the subject. Jan 20 04:59:11 but it's f'n good. Jan 20 04:59:12 haeffb what do you like in your chili? Jan 20 05:00:09 1 lb grnd beef. 1 large can brooks chili hot beans. 1 onion. 1 can 'rotel' or equiv, drained. misc spices. cook until done. Jan 20 05:00:18 ok so using services again....it is ok to do...onSuccess: TZ, Jan 20 05:00:52 oh, and chop that onion into small pieces. Jan 20 05:01:00 course ground beef, course ground pork, course ground veal, sweet chili powder, smoked paprikca, cumin, oregano, LOTS of onion, garlic, black beans, brooks chili beans, coarse diced tomato, and tomato sauce. Jan 20 05:01:22 i wrote veal I didn't mean veal -- I don't know why I wrote that Jan 20 05:01:37 I ment Bambi. Course ground bambi. Venison. Jan 20 05:02:06 i wrote beef. I meant "meat" Jan 20 05:02:28 although, if I don't have venison, I'll use almost anything, turkey, thumper, whatever. Jan 20 05:02:29 so if i say onSuccess: TZ what does that put TZ in...how do I get into my own variable? Jan 20 05:02:41 no sauce. I like to scoop it up with a saltine. Jan 20 05:03:11 JenP onsuccess is a callback function. Jan 20 05:03:21 Put the call to the function in setup Jan 20 05:03:40 and then make onsuccess: this.setMyTimeZone Jan 20 05:04:17 and that puts the TZ in this.setMyTimeZone? Jan 20 05:04:49 and then somethingassistant.prototype.setMyTimeZone = function(tzobject) { this.timezonestring = tzobject.timezone;} Jan 20 05:07:45 do you not have to .bind setMyTimeZone in the onSuccess? Jan 20 05:08:00 I was shorthanding Jan 20 05:08:44 just curios on my on behalf. still trying to learn this and binding and all. Jan 20 05:09:05 but if I refer to this.timezonestring, I THINK I have to .bind? Jan 20 05:09:39 lol i honestly have no idea what bind does but I put it on every single callback function i have and it just wroks Jan 20 05:09:50 i also put this on every function i use Jan 20 05:09:56 have no idea that that does either Jan 20 05:10:01 this. Jan 20 05:11:13 Ok. I have to awake in < 7 hrs. Gonna let the dogs out and then hit the zzz's. Jan 20 05:11:24 http://pastebin.com/d4c80880 Jan 20 05:11:34 Rick-home does this look right...? Jan 20 05:12:03 g'nite haeffb Jan 20 05:12:29 'nite Jen. Let me no if you have any pretty thoughts. Jan 20 05:12:39 i do! Jan 20 05:12:47 almost have a color scheme set up for you Jan 20 05:12:52 will talk to you about it tomorrow Jan 20 05:13:19 looks good JenP Jan 20 05:13:26 but no good Jan 20 05:13:30 :-( Jan 20 05:13:35 ok, I'll think about it. Jan 20 05:13:39 now when i click calculate nothing happens Jan 20 05:13:40 kk Jan 20 05:13:50 i'm gonna work on making haeffb app pretty Jan 20 05:13:58 gonna have to .bind(this) or pass the results to onSuccess somehow. Jan 20 05:14:06 nodnod Jan 20 05:14:09 Need to think. Jan 20 05:14:20 kk...tomorrow night. Jan 20 05:14:21 stupid api doc doesn't say that the results are passed. Jan 20 05:14:28 It's not an event... Jan 20 05:14:31 stupid api docs. Jan 20 05:14:45 yeah...they need those rewritten Jan 20 05:23:52 onSuccess = function(results) {...}.bind(this); Jan 20 05:24:38 Rick-home: my bird dogs are from Ozawkie. Jan 20 05:26:14 don't know if you're "topeka" or "near topeka" Jan 20 05:27:10 so what's proper etiquette on retweeting if the resultant tweet is too long? Jan 20 05:31:40 So, I need someone to write the front end for an open source save and restore application for webOS Jan 20 05:43:38 rwhitby: does it have to look nice? Jan 20 05:51:38 sugardave: nope, it's mainly for testing the service to start with Jan 20 05:52:19 currently, the service can save and restore your need for speed progress, in case you have to doctor the phone. Jan 20 05:52:37 it's infinitely extensible to save and restore any other piece of data on the phone Jan 20 05:54:02 sugardave: http://www.webos-internals.org/wiki/Save_and_Restore Jan 20 06:02:34 hi all, i'm trying just to reproduce a simple html form for a palm app, anyone have something easy to clone? Jan 20 06:02:42 ares gave me a headache Jan 20 06:08:54 what's the best way to manage a username and password. should i get it from a stored cookie every time i need it or keep it in memory in like a global variable or something? Jan 20 06:11:36 cookie Jan 20 06:11:58 depends what the userame and password are for Jan 20 06:12:01 are they the persons? Jan 20 06:12:08 or login info for a site Jan 20 06:13:26 rwhitby: can you save or create documents without useing undocumented api? Jan 20 06:14:25 crasheed: no idea, I don't work in the mojo area Jan 20 06:17:00 crasheed: login for a site Jan 20 06:19:07 miak: do manage the site if so you should have them save a token instead of username and password Jan 20 06:19:13 have them login once Jan 20 06:19:19 return a token for them Jan 20 06:19:23 and have them use the token Jan 20 06:19:32 and store only the token Jan 20 06:20:12 you can generate a unique token useing their device ID Jan 20 06:21:28 You don't even need a device ID for that.. just generate a sufficiently random token on the server when logging in Jan 20 06:21:55 Alternatively you could try to implement something like OpenID which would give you that stuff out of the box Jan 20 06:22:44 But if you just want to go the easy way you could just store the username/pass in global vars... it's not that problematic Jan 20 06:23:44 meh i treat user login/pass more sensitve and shouldn't be stored in just plain form Jan 20 06:35:37 ya, that was my worry, i hate the thought of storing it plainly Jan 20 06:35:41 i suppose a token is a good idea Jan 20 06:36:38 i'm working on ajax.request/response atm though Jan 20 06:36:41 rwhitby: well, I can sure take a stab at it...I might need a lot of handholding at first, especially with all y'all's fancy git repos and such...plus, I'm still a novice, though I have pretty good aptitude Jan 20 06:39:33 crasheed: well then we should ask whether maik is using https Jan 20 06:39:42 i am :) Jan 20 06:40:06 Good, then not storing them in plain might make some more sense =) Jan 20 06:40:11 my users will be screwed when the first webOS virus hits, then Jan 20 06:40:16 since not using https would make it pretty pointless Jan 20 06:40:20 right Jan 20 06:40:42 is the Ajax framework part of javascript or webos? Jan 20 06:40:48 prototype Jan 20 06:41:00 http://www.prototypejs.org Jan 20 06:41:01 I think Jan 20 06:41:05 yep Jan 20 06:41:07 oh Jan 20 06:41:24 for now prototype is included with Mojo Jan 20 06:41:26 I'm still curious how they ended up with prototype Jan 20 06:41:40 zomg: it sounded good? Jan 20 06:41:42 I find there are libraries much more suitable for writing apps than Prototype Jan 20 06:42:13 each of the most popular libraries have their strenghts and weaknesses Jan 20 06:42:37 And full JS apps aren't one of proto's =) Jan 20 06:42:48 lol Jan 20 06:48:09 zomg: what is prototype missing (that's not also in the Mojo fw) that you would like to see? Jan 20 06:53:55 what ever happened to Twipper? Jan 20 06:54:57 is there any way to log the url that is being requested by ajax.request ? Jan 20 06:55:29 maik: you should know it already? Jan 20 06:55:41 that is true Jan 20 06:55:43 you have to pass url to Ajax.Request... Jan 20 06:56:21 ah, but redirects...hmmm... Jan 20 06:56:42 well i mean with parameters Jan 20 06:56:45 the fully formatted thing Jan 20 06:56:49 oh, I see Jan 20 06:56:59 well, you have to know that, too, yeah? Jan 20 06:57:22 sugardave: i never wrote it Jan 20 06:57:29 gkatsev: dammit! Jan 20 06:58:11 maik: do you deal with mostly posts or gets? Jan 20 06:58:12 well, for whatever the reason, i deliberately tried to fail the request and it doesn't call the failure callback Jan 20 06:58:18 post Jan 20 06:58:19 maik: Jan 20 06:58:28 sugardave: ill do it at some point, but classes started, so, dont have free time Jan 20 06:58:31 anyway, must sleep now Jan 20 06:58:31 maik: if anything returns it's 'success' Jan 20 06:58:34 night all Jan 20 06:58:54 gkatsev: cool, I'm just funnin'...but I'll still write the db piece :D Jan 20 06:58:58 i gave it a bad url Jan 20 06:59:03 bad hostname even Jan 20 06:59:35 I can get onFailure to fire if I go to http://www.example.com/badurl Jan 20 06:59:37 maik you should check the status Jan 20 06:59:57 onComplete: function(transport){ Jan 20 06:59:58 if (transport.status == 200) { Jan 20 07:00:08 is it's 200 it succeeded Jan 20 07:00:17 404 failed etc Jan 20 07:00:20 crasheed: prototypejs.org says that's not a good way to do it Jan 20 07:00:26 oh Jan 20 07:00:26 well Jan 20 07:00:31 I don't read XD Jan 20 07:00:43 heh Jan 20 07:00:47 reading's for suckers, amirite? Jan 20 07:00:53 lollerpants Jan 20 07:01:24 i pretty much jsut bash my head on the keyboard untill it works :D Jan 20 07:01:30 so far so good Jan 20 07:01:33 maik: let me find that project...I had to make sure I was doing onFailure... Jan 20 07:02:39 maik: this is currently commented out, but was the url I used to make sure my onFailure was firing: http://www.example.com/broken.url/ Jan 20 07:02:42 in 1.3.5 Jan 20 07:03:52 that does hit onFailure Jan 20 07:04:00 var request = new Ajax.Request(url, { Jan 20 07:04:00 method: 'get', Jan 20 07:04:00 evalJSON: 'force', Jan 20 07:04:00 onSuccess: this.gotResults.bind(this), Jan 20 07:04:00 onFailure: this.failure.bind(this) Jan 20 07:04:01 }); Jan 20 07:04:06 this hits onfalure for me i think Jan 20 07:04:08 so yay i'm doing it right! Jan 20 07:04:14 maik: sweet! Jan 20 07:09:15 * sugardave duct tapes deihmos to the channel. Jan 20 07:14:11 how can i get format teh pre and get everything back to stock? Jan 20 07:14:24 webOSdoctor Jan 20 07:14:27 the webos doctor doesn't seem to do this any more Jan 20 07:14:31 hmm Jan 20 07:14:34 it should Jan 20 07:14:44 stuff still remains on the pre like application settings, browser cache etc Jan 20 07:14:47 try an older one Jan 20 07:15:32 hard to find an old one Jan 20 07:15:33 dammit i know there is text in the response, why isn't this working Jan 20 07:15:43 is it expecting it in a different format or with a header or something? Jan 20 07:16:28 google comes up just fine Jan 20 07:16:31 * maik destroy city Jan 20 07:17:01 maik: try Mojo.Log.error(Object.toJSON(responseText)); Jan 20 07:17:10 or whatever your super.responseText is Jan 20 07:17:17 and check the logs Jan 20 07:17:26 to see what is in there propery-wise Jan 20 07:17:33 StageAssistant.prototype.readStatusesSuccess = function(response) { Jan 20 07:17:34 var json = response.responseText || "no response text"; Jan 20 07:17:36 Mojo.Log.error(json); Jan 20 07:17:38 } Jan 20 07:17:44 is what i have for onSuccess Jan 20 07:17:57 oh Jan 20 07:17:57 every time i query my page it logs "no response text" Jan 20 07:18:12 but if i go after google.com it comes up just fine Jan 20 07:18:19 see if you're getting response at all Jan 20 07:18:24 take off .responseText Jan 20 07:18:28 just to see Jan 20 07:20:22 Error: [object Object] Jan 20 07:21:35 my page doesn't have to format the text in any specific way right? if i just throw straight up text in there it should come backk all the same? Jan 20 07:21:42 maik: weird...PreGame was getting null for responseText the other night, but they were getting it for EVERY url Jan 20 07:21:48 maik: right Jan 20 07:22:25 okay, throw an ID'd div into your scene and do this: Jan 20 07:22:26 the only thing that i can think of is that the url is a .local and...somehow that's screwing things up Jan 20 07:22:44 this.controller.get(div).update(Object.toJSON(response)); Jan 20 07:22:56 and see if there's a responseText property or not Jan 20 07:22:58 there should be Jan 20 07:23:20 in assistant setup() ? Jan 20 07:23:54 that should work Jan 20 07:24:05 well, no, I mean do it in your onSuccess Jan 20 07:24:09 of your ajax request Jan 20 07:24:10 sorry Jan 20 07:24:42 I wouldn't think .local would screw it up, but maybe... Jan 20 07:25:14 rwhitby: I'm going to bed soon, so I'll look for you tomorrow if you don't have another suck...volunteer Jan 20 07:25:31 by default, prototypejs says Ajax can only work with URLs of the same domain, but clearly Mojo's implementation changes that in some way Jan 20 07:25:55 maik: that's Webos.. Usually ajax requests in widgets or apps like on webos are allowed to make requests to any domain Jan 20 07:25:57 maik: yeah, Mojo has no "same-domain" policy restriction, or whatever it's called Jan 20 07:28:18 that did work Jan 20 07:28:38 right, so you have a bunch of properties of response Jan 20 07:28:43 is responseText there? Jan 20 07:29:14 yep, big fat "" next to it Jan 20 07:29:36 wait wait wait Jan 20 07:29:44 did you say your page was returning JSON? Jan 20 07:29:50 if so, check responseJSON Jan 20 07:30:16 the way it's formatted right now with parameters the only thing it's returning is the string "NO ACCESS" Jan 20 07:30:48 just plain old text, reads in a regular browser the same way?> Jan 20 07:31:53 yes Jan 20 07:32:06 interesting thing to note, on a valid working site status: is 200, on mine it's 0 Jan 20 07:32:08 okay, well that's just wrong, then :D Jan 20 07:32:19 hmm Jan 20 07:32:33 you need that status 200 I think...is the server doing weird shit? Jan 20 07:32:47 not according to any other web browser i try this in Jan 20 07:33:00 what about the webOS browser? Jan 20 07:33:12 good ide Jan 20 07:33:13 idea Jan 20 07:33:59 Unable to resolve host... Jan 20 07:34:06 * sugardave used to work tech support. "It's like a sickness. Things that should work, but don't, bug the ever-lovin' #$^% out of me." Jan 20 07:34:37 fuck Jan 20 07:34:38 umm....that could be the problem Jan 20 07:34:42 :D Jan 20 07:34:48 oh man Jan 20 07:34:51 it's asking for domain credentials Jan 20 07:34:56 that's the bigger problem Jan 20 07:34:57 wonder if webOS can't handle .local Jan 20 07:34:58 ? Jan 20 07:35:00 surely not Jan 20 07:35:01 i think the request is working just fine Jan 20 07:35:10 ah Jan 20 07:35:12 yeah Jan 20 07:35:13 it is, it's an IIS server and by default apparently it wants domain creds Jan 20 07:35:29 god dammit i hate microsoft so much sometimes Jan 20 07:35:39 * sugardave hates them full-time. Jan 20 07:36:18 it makes sense as to why it's not giving a status or any body at all now Jan 20 07:36:26 yep yep Jan 20 07:36:30 PreGame: you see this? Jan 20 07:36:34 maik: you can configure that pretty easily iirc Jan 20 07:36:44 should be somewhere in the IIS admin Jan 20 07:36:52 ya, i'm looking Jan 20 07:37:07 it's a virtual directory so i'm hoping i can turn off needing to authenticate for just this one Jan 20 07:37:27 * sugardave crosses fingers but isn't hopeful. Jan 20 07:40:50 you have to specify a user account that is allowed anonymous user access Jan 20 07:41:03 what kind of cheeky shennanigans are these Jan 20 07:42:35 http://developer.palm.com/distribution/viewtopic.php?f=17&t=826&hilit=ntlm Jan 20 07:42:47 maik: other people having some problems... ^^^^^^^^^^ Jan 20 07:43:40 bah IIS. give me apache + php any day Jan 20 07:44:42 maik: specify 'Everybody' ;) Jan 20 07:45:50 :/ Jan 20 07:47:21 or, wrest control from the network infrastructure team and install your own server...one of those choices is easier Jan 20 07:52:32 i got it Jan 20 07:52:43 there's apparently a domain "guest internet user" account by default Jan 20 07:52:54 i'm guessing the equivalent of _www Jan 20 07:53:31 and now for the test Jan 20 07:53:43 cool Jan 20 07:54:42 pre launching on verizon and i have not seen anythign about it Jan 20 07:55:10 rasstar: when is it supposed to happen? already? Jan 20 07:55:50 isn't it monday Jan 20 07:55:59 I don't know :D Jan 20 07:56:03 heh, well apparently it was a combination of both Jan 20 07:56:03 monday Jan 20 07:56:15 maik: both what? Jan 20 07:56:16 didn't see a single ad Jan 20 07:56:22 no specs released Jan 20 07:56:22 not being able to resolve the host _and_ the windows authentication Jan 20 07:56:31 rasstar: that sucks Jan 20 07:56:43 maik: ah, how did you get past the domain issue? Jan 20 07:56:44 i just addressed the windows authentication first. it didn't make a different so for giggles i put in the IP address of the host and it came up just jim dandy Jan 20 07:56:54 ah Jan 20 07:56:55 i have sprint but palm could do with the help Jan 20 07:56:55 of course Jan 20 07:57:09 rasstar: absolutely Jan 20 07:57:13 in IIS there is a checkbox to allow anonymous access and i had to give it the domain internet guest user Jan 20 07:57:27 gave that user read + execute permissions and bada bing bada boom Jan 20 07:58:23 maik: awesome :) Jan 20 08:01:00 the difference between get and post is post passes the variables in a hidden manner, right? Jan 20 08:02:10 maik: that's beyond my understanding at this point...the only thing I know is that get should be used to request a page without care and post should probably be used when submitting a form Jan 20 08:05:19 FreeTim: hi, did you get my app idea? :) Jan 20 08:06:13 * sugardave thinks he needs to figure out the proper usage of the Synchronizer object. Jan 20 08:07:42 if there something wrong if yer puppy is eating his own poo? Jan 20 08:08:01 hmm...maybe he thinks it's cat poo? Jan 20 08:08:13 haha Jan 20 08:08:16 because dogs love that shit Jan 20 08:08:18 ar ar ar Jan 20 08:08:35 not just his poo Jan 20 08:08:45 she'll eat bunnie poo she finds outside Jan 20 08:08:46 crasheed: dogs are notoriously clean creatures. if they feel their den is dirty they'll clean it up as best as they can, including eating poo that's laying around Jan 20 08:08:57 i c Jan 20 08:09:04 well she only eats poo in the house Jan 20 08:09:19 ie Jan 20 08:09:22 ie. her den Jan 20 08:09:45 den may very well encompass the world, depending upon her ego :) Jan 20 08:09:52 our dog thinks the litterbox is his personal buffet...that's why it's in the garage now Jan 20 08:09:52 Rofl Jan 20 08:10:06 you have a dog that eats poo? Jan 20 08:10:25 if given the chance, sure Jan 20 08:10:40 ours does the same should the mood strike him Jan 20 08:10:42 is it like his own poo or your cats poo Jan 20 08:10:49 the cats Jan 20 08:10:53 cats' Jan 20 08:11:28 god now i'm gona imaging the poo in her mouth everytime she licks me XD Jan 20 08:11:37 isn't it weird how some people (like me) feel the need to correct themselves when making a grammar/spelling mistake? Jan 20 08:11:40 another disease... Jan 20 08:11:45 I wonder if they're related Jan 20 08:12:03 crasheed: best just to forget it happened Jan 20 08:12:31 otherwise, you'll have to imagine any stray or unfamiliar dog that licks you Jan 20 08:12:36 scary... Jan 20 08:12:41 >.< Jan 20 08:15:35 alright, night all Jan 20 08:15:42 night Jan 20 08:15:52 thanks for all the help, sugardave and all Jan 20 08:16:28 np Jan 20 08:58:38 wow, it really is interesting when you come in on the end of a conversation :) Jan 20 11:15:26 hi Jan 20 11:22:18 <_lance_> updating preware within preware keeps failing.. do you need to update to 0.9.18 via webosquickinstall? Jan 20 11:26:14 no clue Jan 20 11:29:17 _lance_: what version of preware are you running, and how did you install it? Jan 20 11:29:53 <_lance_> i installed via webosquickinstall, let me check my current version Jan 20 11:30:01 <_lance_> .16 Jan 20 11:32:34 what version of webos quick install did you use? Jan 20 11:32:52 <_lance_> 2.96 Jan 20 11:33:26 when you look at the Manage Feeds page in Preware, what URL do you see for the webos-internals feed? Jan 20 11:34:01 <_lance_> ipkg.preware.org/feeds/webos-internals/all Jan 20 11:34:12 <_lance_> and another url that gets truncated, instead of all i have 'ar...' Jan 20 11:34:16 <_lance_> i assume that's archives Jan 20 11:34:26 ok, so it looks like your preware is installed correctly. what error do you see when you try and update it? Jan 20 11:34:50 <_lance_> a mount error Jan 20 11:34:58 <_lance_> i'll re-run it Jan 20 11:35:35 ah, for a mount error, reboot, and update preware before you do anything else Jan 20 11:35:45 do you have mytether installed? Jan 20 11:35:48 <_lance_> i don't Jan 20 11:35:54 <_lance_> i recall there being some issues with it Jan 20 11:36:03 <_lance_> which is a pity, because i'm getting on a 8 hour bus ride in a few hours Jan 20 11:36:20 we get this mount error every now and again, and haven't been able track it down. a reboot fixes it. Jan 20 11:36:30 <_lance_> okay, i'll give that a go. Jan 20 11:45:56 <_lance_> ... 4th try's the charm.. Jan 20 11:49:35 <_lance_> rwhitby: that worked, thanks Jan 20 11:55:51 <_lance_> Oh awesome, a freeware feed reader Jan 20 11:56:28 <_lance_> hope it does opml imports.. Jan 20 12:22:38 <_lance_> any way to use the us app store on a canadian phone? proxy + us credit card maybe? Jan 20 12:23:04 <_lance_> or does it only charge to your phone bill? Jan 20 12:27:08 _lance_: first, you need a US sprint palm profile. then you need a US credit/debit card attached to that profile. Jan 20 12:33:25 <_lance_> rwhitby: hm.. i'll search the forums for more info then Jan 20 14:42:32 good morning folks Jan 20 14:42:48 howdee Jan 20 14:56:43 FreeTim: still need app idea? reset phone @ specified interval/set time Jan 20 14:57:52 good mo rning Jan 20 14:57:58 haeffb_pre: give me some app ideas Jan 20 14:58:28 i need to make some money for a down payment on the car Jan 20 14:59:06 I was just browsing precentral forums... Jan 20 15:00:26 haeffb_pre: that is a GREAT idea and one that I would use. I like my phone to reset overnight Jan 20 15:00:34 I'll work on that, if it's possible. Jan 20 15:02:13 probably have to create a service to make it work Jan 20 15:02:13 auto Jan 20 15:02:20 but FreeTim ur the man i know u can do it Jan 20 15:02:23 :-0 Jan 20 15:06:16 thanks. I have no clue, but all good apps are made by the initially clueless (because we don't know that it cannot be done) Jan 20 15:07:04 is there a simple app that uses (some service) that I could look at the ipk for comparison? I'm thinking Flashlight Jan 20 15:08:41 FreeTim: yea flashlight would be your best bet Jan 20 15:08:54 and think look in the git for sources Jan 20 15:09:30 right exactly. Thanks for the tip. Jan 20 15:31:49 no problem Jan 20 15:35:56 hjgtkahdtgadfmg hal;jg kljkaldfg Jan 20 15:37:59 anyone else having issues with Yahoo mail? Jan 20 15:41:29 that is the issue Jan 20 15:41:30 lol Jan 20 15:42:14 RWings19 details? Jan 20 15:42:38 Not getting notifications Jan 20 15:43:02 When trying to refresh manually, getting the yellow triangle icon /!\ Jan 20 15:43:09 this just started within the past week Jan 20 15:43:25 no changes to my Yahoo account, either directly or through the Pre Jan 20 15:43:47 delete the account on the pre and re-create it. Jan 20 15:43:55 did that, same thing happening Jan 20 15:44:12 in the meanwhile, my Exchange account is humming along just fine Jan 20 15:44:28 yahoo account set up how? Jan 20 15:45:24 not sure I understand the question, Rick Jan 20 15:45:57 I just went to the mail app on the Pre and added the Yahoo account... and until this week (or maybe over the weekend) everything was working great. this seems to be a very recent issue. Jan 20 15:59:55 FreeTim: there is a homebrew app that reboots. just need to add the timer... Jan 20 16:08:06 maybe yahoo mail is down Jan 20 16:08:12 or sucks like the norm Jan 20 16:08:12 gmail Jan 20 16:08:16 upgrade :-) Jan 20 16:57:18 Hey is there any application for Windows Live Messenger for the pre? Using the web based interfaces kinda sucks. Jan 20 17:36:15 is there any app to see what is running in the background for the pre Jan 20 17:36:18 like a memmory manager Jan 20 17:52:25 Hey is there any application for Windows Live Messenger for the pre? Using the web based interfaces kinda sucks. Jan 20 17:52:49 there is none Jan 20 17:53:02 really expected windows live by now Jan 20 17:55:38 Do you know how can i generate button widget from assistant? I need to insert buttons in popup window (showAlertMEssage) Jan 20 17:57:12 that really sucks rasstar Jan 20 19:35:49 (...crickets...) Jan 20 19:37:47 is there some way to make the messenger show timestamps also in the messages recieved before installing the patch? Jan 20 19:47:43 heya Jan 20 19:57:43 swisstomcat: hi Jan 20 19:57:54 hi haeffb Jan 20 19:59:03 what's new over there? Jan 20 20:00:48 still working on my app Jan 20 20:00:54 went to see the airbus a380 today tho Jan 20 20:09:14 hi chuq Jan 20 20:51:00 anyone tried useing audio.currenttime or audio.duration in your app? Jan 20 20:57:03 crasheed: reality9110 is the channel's expert on audio Jan 20 21:02:49 welllll Jan 20 21:02:53 he's not on :( Jan 20 21:11:36 crasheed: he'll be here eventually Jan 20 21:28:00 can you put a submenu for each element of a list? Jan 20 21:28:56 crasheed: I think si Jan 20 21:28:56 so Jan 20 21:29:22 but the model for the submenu will need to be in the list model Jan 20 21:31:33 hrmm this poses an intresting problem Jan 20 21:41:43 crasheed: you could use 'popupsubmeu' in the event handler of a list tap & buildthe menu on the fly depending on which list item is tapped. Jan 20 21:42:25 sceneController.popupSubmenu Jan 20 21:51:23 anyone got a second for a quick css question? Jan 20 21:52:54 sure digitalpowers it's usually a good idea to just ask the question -- someone generally gets around to answering Jan 20 21:53:14 Rick_work: i feel bad just asking, but noted Jan 20 21:53:31 it's considered polite here. No needless to-ing and fro-ing Jan 20 21:54:16 I am trying to use 2 palm-groups and i want to display them inline, however display:inline breaks them and so does putting them in a span. It does work with floats but i want to avoid floating so my layout flows better. Any ideas? Jan 20 21:54:18 shame on you digitalpowers :P Jan 20 21:55:41 digitalpowers don't cringe. Table. Jan 20 21:56:19 surprisingly, tables ARE'NT evil in webOS...they work really nicely Jan 20 21:56:23 heh Jan 20 21:56:42 sugardave: yeah they doohan ! Jan 20 21:56:55 did anyone hear me before? Jan 20 21:57:12 [22:55] MetaView: table Jan 20 21:57:15 MetaView: no, but my speakers are muted... Jan 20 21:57:23 :) Jan 20 21:57:28 :) Jan 20 21:57:36 :) Jan 20 21:57:40 tables it is then, i am ok with that Jan 20 21:57:41 I always forget to identify myself Jan 20 21:57:54 and then I can speak into the void Jan 20 21:57:54 bryanroth, you tried to autocomplete on just do, or were you making a funny? Jan 20 21:58:04 the examples i've seen for http basic authentication use a base64 class, but is that something that's included or would i need to add that to my project? Jan 20 21:58:06 I try to autocomplete on everything Jan 20 21:58:07 noone hears me, I'm so sad.... Jan 20 21:58:12 Never works though :( Jan 20 21:58:16 use base64 to encode the user auth token Jan 20 21:58:19 MetaView: would be nice if you got some kind of error or reminder..."hey cna't type in this channel unless you identify" Jan 20 21:58:35 MetaView: yeah it would be nice if ... nm sugardave said it Jan 20 21:58:41 yes Jan 20 21:58:43 :( Jan 20 21:58:46 doohan: yeah it autocompleted, I meant to say 'do' Jan 20 21:58:47 * MetaView cries Jan 20 21:59:02 maik: you need to add it, as far as i know Jan 20 21:59:23 ok Jan 20 22:00:38 * sugardave attempts to grok Mojo.Function.Synchronizer. Jan 20 22:00:48 DELETE FROM logs WHERE count(timestamp)=0 AND error<150; Jan 20 22:00:52 will it work? Jan 20 22:01:28 will it blend? Jan 20 22:01:31 probalby now Jan 20 22:01:33 t Jan 20 22:01:49 it will not blend, even I wouldn't understand what I want to delete :D Jan 20 22:02:21 might have to change that 'count' to a (SELECT COUNT(col) FROM table) Jan 20 22:02:24 but I don't know for sure Jan 20 22:04:26 yes, maybe, but to be honest I have the list of IDs to delete, I just should do it :) Jan 20 22:07:11 Rick_work: huzzah, tables did it for me, thanks Jan 20 22:08:58 that was awful. webchat.freenode doesn't alert me of errors when trying to post in here, so i wasn't aware that i needed to register this nick to speak Jan 20 22:09:14 for like 4 days, i was going crazy wondering why people weren't responding to me Jan 20 22:09:14 yes, as we said Jan 20 22:09:27 codeslaw: this is a really bad feeling Jan 20 22:09:58 Hello Doc, people ignore me. - The next one please. Jan 20 22:10:12 ya, i downloaded a standalone client, which alerted me the need to register this nickname Jan 20 22:10:27 on the plus side colloquy is a nice free client for mac =D Jan 20 22:10:45 I suggested it might be a good idea to update the channel topic to reflect the identification requirement Jan 20 22:10:52 but, I don't think that's happened Jan 20 22:11:10 damn, and nicoya was on last night, too...should have mentioned it again Jan 20 22:11:42 sugardave: i tried to ask you like 50 times, and thought you hated me, but -- does the free version of komodo suffice for all the webOS dev needs? Jan 20 22:11:57 codeslaw: hahaha, yeah it's working for me so far Jan 20 22:11:58 you were talking about it with someone else a couple days ago Jan 20 22:12:25 I can't compare against eclipse, because I've never used it Jan 20 22:12:37 i might try it out, eclipse doesn't do it well Jan 20 22:13:00 codeslaw: http://webos.templarian.com Jan 20 22:13:08 komodo is quite nice Jan 20 22:13:12 i used eclipse back in my java days, and i also use it at work (flexbuilder), but for webos it feels junky Jan 20 22:13:20 we would need a function list Jan 20 22:13:23 haeffb_pre: 'popupsubmenu' whats that? i do Jan 20 22:13:31 don't see any documentaion Jan 20 22:13:41 it is there, saw it just today Jan 20 22:13:51 sceneController.popupSubmenu(this.controller, { Jan 20 22:14:02 http://developer.palm.com/index.php?option=com_content&view=article&id=1874&Itemid=244#.popupSubmenu Jan 20 22:14:14 n/m Jan 20 22:14:19 i found it Jan 20 22:14:28 stupid palm search is case sensitive or sumthing Jan 20 22:14:52 a real PDF of the docs wouldn't be a bad idea... Jan 20 22:14:55 so unreliable >.. Jan 20 22:15:08 a complete doc would be nice too XD Jan 20 22:15:33 so, i emailed pdc@palmdev about getting into the early access program but haven't heard back -- what kind of goodies come with it? Jan 20 22:16:11 codeslaw: I'm not sure if anybody's gotten a response Jan 20 22:16:36 PDK? no response either Jan 20 22:16:49 i see Jan 20 22:16:54 well no worries then Jan 20 22:22:21 g'night Jan 20 22:22:29 hi Jan 20 22:23:41 hrmm sceneController.popupSubmenu is failing DUNNO WHY Jan 20 22:24:55 http://pastebin.com/m54a31521 Jan 20 22:24:59 ;_; Jan 20 22:27:56 hmmm...I think the synchronizer example for waiting until db is set up is wrong Jan 20 22:34:32 okay the stupid popupSubmenu example on palm dev doesn't work to begin with Jan 20 22:34:39 anyone know how to properly call it? Jan 20 22:35:58 interesting note, type a color like #ff0000 into komodo in an html file then hold control or command (mac) and hover over it, it displays the color. then if you double click it brings up a color picker Jan 20 22:37:49 digitalpowers: nice, i know textmate has similar functionality Jan 20 22:38:17 we can't all be cool mac users though ;) Jan 20 22:39:19 truth Jan 20 22:39:31 there's only so much cool to go around Jan 20 22:39:36 ;) Jan 20 22:55:44 okay...anybody know how to use the synchronizer properly AND CAN EXPLAIN it well? Jan 20 22:57:10 ok another question, i understand you can put things like #{varname} in your html for later replacement, what i dont understand is how you access those variables from the javascript. anyone got a doc they can link me or a quick explaination? Jan 20 23:00:45 it's magic Jan 20 23:02:45 digitalpowers: it's a property of your javascript object so you can reference it as object.property Jan 20 23:03:02 digitalpowers: I'm not sure you can...so you use that naming convention in your templates, then your objects have those property names and they get filled in automatically Jan 20 23:03:25 did i misunderstand the question? Jan 20 23:03:25 hi ......Can anyone tell me when i execute a select query example:select * from table; Then how can i use the value returned by this query Jan 20 23:04:14 Yatharth1: http://webos101.com/Mojo_Storage_Database Jan 20 23:04:25 has some basic db stuff, inserts, reads, etc. Jan 20 23:05:51 I'll give anyone a hug who can show me a working example of sceneController.popupSubmenu Jan 20 23:06:47 thanx sugardave Jan 20 23:06:51 np Jan 20 23:07:47 argh IIS Jan 20 23:08:17 argh Mojo.Function.Synchronize Jan 20 23:08:20 digitalpowers convinced me to do Basic authentication against the domain since i'm already getting the user's username and password and i cannot for the life of me get it to work Jan 20 23:11:02 maik: what does your parameters or postdata object look like? Jan 20 23:11:19 and are you setting that 'Authorization' header? Jan 20 23:11:23 ya Jan 20 23:11:41 requestHeaders : { Authentication : 'Basic ' + Base64.encode(userName + ':' + password) }, Jan 20 23:11:43 I haven't done any BA yet, but read a little up on it the other day Jan 20 23:11:54 from the examples i've seen that's what you want to use Jan 20 23:12:13 but not encode the ':'? Jan 20 23:12:15 right? Jan 20 23:12:38 i think everything gets encoded... Jan 20 23:12:55 base64(username) + ':' + base64(pwd)....hmmm Jan 20 23:13:24 http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html Jan 20 23:13:41 i'll certainly give that a try Jan 20 23:14:48 oh yeah, you are correct Jan 20 23:16:17 OMFG I GOT POPUPSUBMENU WORKING Jan 20 23:16:22 gj Jan 20 23:16:37 maik: DOH, it should be 'Authorization' not 'Authentication' Jan 20 23:16:53 hahahaha Jan 20 23:17:09 * maik seppuku Jan 20 23:17:13 hehe Jan 20 23:17:29 i was having the same problem with saying Base instead of Basic too Jan 20 23:17:58 good golly that did it Jan 20 23:18:02 awesome Jan 20 23:18:12 sometimes it helps when other people look at your code, even if it's one line Jan 20 23:18:13 thanks :) Jan 20 23:18:17 np Jan 20 23:19:32 now to figure out why it won't work with https :/ Jan 20 23:20:47 hmm...that shouldn't matter Jan 20 23:21:21 usernames don't have '@' in them, do they? Jan 20 23:21:44 nope. i set default realm and default domain in IIS so it should be tacking that on by itself Jan 20 23:21:53 as i understand it (which does mean much when MSFT is concerned) Jan 20 23:22:08 heh Jan 20 23:22:35 when i browse to it in chrome at http:// it only prompts me once for authentication. if i do https:// it prompts me twice Jan 20 23:22:58 i'm thinking the latter might be when it's trying to pull up the certificate? or it's just some other auth process that isn't expecting Basic authentication Jan 20 23:23:05 ah, that's weird...so repeat the ajax request in the onsuccess? Jan 20 23:23:09 i know i've said it before, but give me apache and PHP and let me be :( Jan 20 23:23:30 well that goes without saying... Jan 20 23:24:10 no apache and php for you maik Jan 20 23:24:17 * maik kill Jan 20 23:24:34 digitalpowers: did you have your ques re HTML templates answered? Jan 20 23:24:45 sugardave: i suppose i could do that. i was hoping it would just fill in the same credentials, that's stupid wishful thinking Jan 20 23:25:12 maik: what response are you getting from the first auth? Jan 20 23:25:33 if i put a "function encoded(url, stimpy){" in my stage-assistant will all my scenes have access to it? Jan 20 23:26:02 crasheed: yeah Jan 20 23:26:08 they should Jan 20 23:26:23 crasheed: cleaner way though is to have a util.js or the like and include that in sources.json Jan 20 23:26:44 jfelectron: if i try https the first returned object has a status of 0 which is the same i was getting before including any authentication at all Jan 20 23:27:07 damn IIS :/ Jan 20 23:28:04 actually that's not true Jan 20 23:28:17 you should get a 401 no? Jan 20 23:28:25 I want to create database such that i can access it anywhere in my application..So can anyone tell me how can i do so?? Jan 20 23:28:33 it's the same behavior i was getting before i realized it couldn't resolve the fqdn Jan 20 23:29:01 Yatharth1: hold on a sec Jan 20 23:29:14 ok Jan 20 23:29:15 or...hell i don't even know anymore, that's not reproducing it Jan 20 23:29:46 Yatharth1: http://developer.palm.com/distribution/viewtopic.php?f=16&t=2025 Jan 20 23:29:56 jfelectron: i belive the answer i got was, it doesnt work like that Jan 20 23:30:01 at the bottom in "example usage" shows how I set my global object Jan 20 23:30:03 does IIS recognize the PrefAuth header? Jan 20 23:30:07 and it can be accessed in any scene Jan 20 23:30:20 digitalpowers: I wasn't sure what you wanted to accomplish Jan 20 23:30:56 probably Jan 20 23:31:29 although 'iis prefauth header' returns 0 results in google surprisingly Jan 20 23:32:08 jfelectron: i just have some divs that display data, currently i am getting the div by ID and doing .innerHTML to set the value but then i have to retype the label in my javascript as well. I saw the #{variable} thing from maik earlier and was thinking i could access those variables from javascript to do some dynamic updating of my information. I may be wrong though Jan 20 23:32:42 you can reference that property by just doing object.property Jan 20 23:32:50 digitalpowers: you can use Mojo.view.render to dynamically render content from a model using a HTMl template Jan 20 23:32:50 if it's an array then object.array[0].property Jan 20 23:33:07 writing to that, however, i don't know. i imagine if you are allowed to update it you'll need to call updateModel or whatever that one is Jan 20 23:33:22 the #{} syntax just refers to properties of the object model and maik just wrote Jan 20 23:34:15 ok, well, i dont particularly get it, but maik, you show me what your talkinga bout later kk Jan 20 23:35:48 the model for my status list is foo.prototype.listModel = { listTitle : $L("Status List"), items : [ { "name" : "bob marley", "status" : "my status" }, { "name" : "luser turtle", "status" : "other status" }] }; Jan 20 23:35:57 its pretty simple, you have an object that holds the content that you want to dynamically insert. You have a template HTML file that is the skeleton markup for the innerHTMl of the div. Everywhere you want a dynamic variable inserted from your object you have #{property} Jan 20 23:36:19 i can refer to that as this.listModel.items[0].name, this.listModel.items[0].status, etc. Jan 20 23:36:50 ok, so my confusion lies in the models, i was skipping that step Jan 20 23:36:57 that's true....but you can do that for any model and any template..lists are just one example where most of the work is done for you Jan 20 23:37:03 sugardave:i should write my code in the setup function of the stage-assistant...right?? Jan 20 23:37:14 that was my first experience with it so i always refer back to that :) Jan 20 23:38:16 http://developer.palm.com/index.php?option=com_content&view=article&id=1870&Itemid=259#.render Jan 20 23:39:28 Yatharth1: you don't have to, but if you want db functions accessible by all the scene assistants, then yeah...or as jfelectron suggests, put them in a separate .js and include it in your sources.json Jan 20 23:40:18 hmmm Jan 20 23:40:22 Yatharth1: defining functions inside of setup function may leak memory if you aren't careful.....standalone is saner Jan 20 23:40:51 ok Jan 20 23:41:37 thanx guys Jan 20 23:42:42 good luck! Jan 20 23:44:58 maik: I do Digest Auth. First request fails with a 401 Error and a response header that includes all the stuff for the auth Jan 20 23:44:58 not with IIS though....or at least not as far as I know Jan 20 23:46:31 i'm going to try a quick query to my bank's https website Jan 20 23:46:36 and see what the object comes out as Jan 20 23:47:22 you're querying response.status eh? Jan 20 23:48:37 no, just doing this in onSuccess and onFailure: Mojo.Log.error(Object.toJSON(response)); Jan 20 23:48:55 heh, apparently the emulator can't resolve any hostnames Jan 20 23:49:06 what? Jan 20 23:49:16 the browser works.... Jan 20 23:49:32 not mine Jan 20 23:49:40 what platform? Jan 20 23:49:43 mac Jan 20 23:49:45 i'll reset it Jan 20 23:49:48 sometimes the NAT gets screwy Jan 20 23:50:01 yeah...whenever I suspend my macbook I have to restart VirtualBox Jan 20 23:50:16 resetting VM doesn't work...actually have to close VirtualBox and restart it Jan 20 23:50:23 oh good to know Jan 20 23:50:31 the NAT stack gets screwed up somehow Jan 20 23:51:06 I always try to access a page in the browser before I start debugging....really save some hair pulling :) Jan 20 23:51:59 ya, i imagine that's been the cause of a few woes today Jan 20 23:59:20 anyone know how people implement the cool autohiding command menu? Jan 21 00:00:42 baaaahhahha Jan 21 00:00:59 I suppose that's bad?? Jan 21 00:01:17 SSL cert doesn't match up and that's what's causing the response object to be empty Jan 21 00:01:45 my bank's ssl cert is only valid for www.bank.org and no bank.org. the get works on https://www.bank.org and not http://bank.org Jan 21 00:01:53 last one should be https://bank.org Jan 21 00:02:17 sure, its tied to the www realm Jan 21 00:02:34 the browser probably gets a cookie eh? Jan 21 00:02:46 an HTTP only cookie most likely Jan 21 00:03:43 goddam....I wish I could use Mojo messaging for real Jan 21 00:07:44 perfect. the SSL cert for the server is only valid for its hostname (webserver) and not it's internal fqdn (webserver.domain.local) Jan 21 00:07:58 oh nice Jan 21 00:08:00 but https://webserver/ doesn't resolve Jan 21 00:08:12 so i have to specify fqdn, but then the cert is bad and ajax call fails Jan 21 00:08:14 "fails" Jan 21 00:08:18 how does it work in the browser then? Jan 21 00:08:38 I mean when you access your bank's site 'normally' Jan 21 00:08:45 same way. https://webserver/ doesn't resolve and https://webserver.domain.local/ first prompts for credentials but just sits there and spins Jan 21 00:09:06 good question, i will try the bank site Jan 21 00:09:08 no, I mean presumably there is some web interface right? Jan 21 00:09:25 hmm? Jan 21 00:09:26 I think there must be a cookie being generated Jan 21 00:09:41 web interface for accessing accounts etc... Jan 21 00:09:50 not in my app, you mean the bank? Jan 21 00:10:00 yeah....the bank, in a browser Jan 21 00:10:23 i don't know but i'm not worried about auth for the bank's site, simply how it handles a bad certificate Jan 21 00:10:43 if i browse to https://bank.org instead of https://www.bank.org i get prompted to trust the cert Jan 21 00:11:09 that's an alert? Jan 21 00:11:15 yep Jan 21 00:11:20 drats Jan 21 00:11:29 Trust Certificate, Trust Certificate Once, and Don't Trust Certificate Jan 21 00:11:46 strange that the internal site isn't prompting me though Jan 21 00:12:01 yeah Jan 21 00:15:28 what happens with the AJAX.request Jan 21 00:16:22 when? Jan 21 00:19:23 i deleted the certificate and browsed to the internal site with its fqdn. it prompted me to trust the certificate and i did, then it asks for a set of credentials. i enter in what i've been testing with and it comes back and asks me again. Jan 21 00:20:26 i'm calling this two separate credential requests because if i pass valid credentials both times it doesn't ask me again after that. if i intentionally fail the first one a number of times and then pass it and then pass the next one it doesn't ask me again Jan 21 00:20:47 if i pass the first one and intentionally fail the second one a number of times it will keep asking until i get it right Jan 21 00:21:26 moral of the story: generate SSL certificates with multiple CNs Jan 21 00:21:39 including at the very least the hostname and fqdn Jan 21 00:23:08 hmmm.....interesting Jan 21 00:42:43 f this synchronizer bs...gonna play fat princess instead Jan 21 00:48:02 sugardave: from what I Jan 21 00:48:15 i've read synchronizer doesn't work for anyone Jan 21 00:48:35 or at least it doesn't work as advertised Jan 21 00:48:45 jfelectron: I think it's because we have no idea how it's really supposed to be used Jan 21 00:48:51 Has anybody got the MojoMsgSample app working on the device? Jan 21 00:49:13 sugardave: likely....its deceptively simple Jan 21 00:50:38 sugardave: is you problem that the callback fires even though one or more of the wrapped functions hasn't? Jan 21 00:51:38 edektor: it doesn't work on device Jan 21 00:51:58 Mojo Messaging doesn't YET work on device...I would like it as well Jan 21 00:52:01 well I dont think the pubsub service is running on the emulator Jan 21 00:52:12 it should be....but not on device Jan 21 00:52:35 I have it working on the device better than the EMU Jan 21 00:53:02 oh really...how so? Jan 21 00:53:25 on the emu it fails on luna://com.palm.pubsubservice get the connect status Jan 21 00:53:38 everthing orks on the device Jan 21 00:53:38 I think that app is screwed up though Jan 21 00:53:50 from looking at the code...its semi-finished Jan 21 00:53:56 but palm servers are seeing that my publish key is from a device Jan 21 00:54:03 so they wont push it Jan 21 00:54:18 ahh OK....that's the rub Jan 21 00:54:29 and you Jan 21 00:54:49 and you're hoping to use the EMU and then beg palm for inclusion in whatever closed beta they have going on? Jan 21 00:55:06 jfelectron: I think it's more like I can't understand it at all...what I want to do is create 10 db tables, and I wanted to try and use the synchronizer to make sure all their success callbacks have completed before moving on Jan 21 00:55:26 no I just wanted to get i working.. maybe right the backend with rails or sinatra instead of java Jan 21 00:56:45 edektor: its not going to work on device...palm hasn't opened it for use in apps yet Jan 21 00:57:05 I know.. but the pubsub service is not working on my EMU Jan 21 00:57:13 so I have no way to test it Jan 21 00:57:25 edektor: hold on let me try it Jan 21 00:57:34 k Jan 21 00:57:52 sugardave: we tried to get that working a week ago or so. We had the correct syntax, but it still didn't work Jan 21 00:58:09 jfelectron: ah-ha...mind sharing a little code? Jan 21 00:58:11 the callback fired before all the wrapped functions had completed Jan 21 00:58:39 I just would like to see WHERE I should be wrapping, what I have to do to my transaction callbacks, etc Jan 21 00:59:28 sugardave: well, you'll want to wrap the onSuccess callbacks and then passed those wrapped functions to the db query Jan 21 01:01:59 arg, it's not clicking....so something like transaction.executeSql(query, args, synch.wrap(function(){}), function(){}) ? Jan 21 01:04:10 almost....but each callback will be wrapped so [synch.wrap(function(){}),sync.wrap(function(){})...] assuming you pass the callbacks as an array, I don Jan 21 01:04:14 don't know Jan 21 01:05:46 wait Jan 21 01:06:12 oh nevermind...I can't do this right now...brain is not functioning Jan 21 01:06:20 the thing I'm still not sure about is if you can wrap the same function 10 times Jan 21 01:06:39 it should because each wrapped function is a unique object Jan 21 01:06:57 OK...well happy to help later Jan 21 01:06:57 jfelectron: did you buy chance get the Msg app working? Jan 21 01:07:10 edektor: got sidetracked....testing now Jan 21 01:07:19 k Jan 21 01:07:32 jfelectron: I may bug you about this later on tonight, or another day, thanks Jan 21 01:07:54 sugardave: np Jan 21 01:09:06 edektor: do you have the cloud component on app engine? Jan 21 01:09:28 no.. Just running locally Jan 21 01:09:41 ok Jan 21 01:09:53 but what does the status text on it say.. Jan 21 01:09:57 right below the header Jan 21 01:10:08 building now... Jan 21 01:10:32 mine fails on "mojo service not connected" Jan 21 01:10:53 *"mojo msg service not connected" Jan 21 01:12:13 uhhh.....mine hangs....says sharing public key with cloud app Jan 21 01:12:42 that because the java backend is not runnning.. Jan 21 01:13:01 But yours is getting farther than mine on EMU Jan 21 01:13:05 yeah...but I assume that means its getting the key from the service Jan 21 01:13:15 1.3.5? Jan 21 01:13:23 yeah Jan 21 01:13:28 huh Jan 21 01:13:53 it sends your device key to the java web app Jan 21 01:14:09 but that web app doesnt exsist so it says "Failed to share key" Jan 21 01:14:14 yeah, I get it Jan 21 01:14:47 so it looks like the pubsubservice is running on yours but not mine Jan 21 01:16:50 have you tried luna-send? Jan 21 01:17:00 no Jan 21 01:17:21 just any luna-send command Jan 21 01:17:49 no the request to the pubservice Jan 21 01:18:48 dunno if it will work Jan 21 01:18:51 just an idea Jan 21 01:19:02 really though the service should be running Jan 21 01:19:13 I got "** Message: serviceResponse Handling: 2, { "returnValue": true, "connected": false }" Jan 21 01:20:14 from luna://com.palm.pubsubservice/connectStatus or something? Jan 21 01:20:59 edektor: I wish I knew how soon mojo messaging will be available....I want to use it but I don't really see the point unless I can actually use it Jan 21 01:21:50 Well I just wanted to see if I could get a backend working in something other than java Jan 21 01:24:37 I don't see why not.....I was planning on python myself Jan 21 01:25:53 but If I cant get it working on the EMU than I dont know.. Maybe I'll reinstall the sdk Jan 21 01:26:10 yeah....its odd Jan 21 01:50:08 test Jan 21 01:50:55 Hi all! Jan 21 01:53:46 hi JenP Jan 21 01:53:58 hey haeffb_pre! Jan 21 01:55:01 wow. I was in the webos cellar there for a bit. Jan 21 01:55:10 lol nk! Jan 21 01:55:10 had to claw my way out. Jan 21 01:55:21 it's raining out here! Jan 21 01:55:35 raining? it was icing this morning. Jan 21 01:55:48 sleet/hail mix. strange weather Jan 21 01:55:57 well for us it's "storm 2010".... Jan 21 01:56:08 I love the news...makes life so much more dramatic Jan 21 01:57:11 "south american peaches - deadly poison or tasty fruit? More at 11." Jan 21 01:57:22 huh, turns out they're tasty fruit. Jan 21 01:57:27 lol exactly! Jan 21 01:58:07 bbiab Jan 21 01:59:45 good quarter for the ol' 401k Jan 21 02:17:38 whee, money! Jan 21 02:18:39 palm money? Jan 21 02:19:06 yep Jan 21 02:25:28 crasheed: ping Jan 21 02:34:42 FreeTim: there is a "reset button" app in homebrew. just need to add a timer... Jan 21 02:36:30 * haeffb has popupSubmenu working in my app. Now just need to figure out why I'd have a popupSubmenu.... Jan 21 02:41:01 popup submenu's in command menu's are sweeet Jan 21 02:41:18 no need to make ppl reach all the way for the pesky app meny Jan 21 02:41:23 menu Jan 21 02:43:54 what up jfelectron? Jan 21 02:44:20 was on vacation....hence the absence...back to cracking though Jan 21 02:44:33 somewhere warm? Jan 21 02:44:53 actually no....visiting friends and family in NYC Jan 21 02:45:07 was pretty warm though mid-40s Jan 21 02:45:29 warm for this time of year Jan 21 02:47:44 haeffb: how's it crackin? Jan 21 02:48:14 it's all good. Jan 21 02:48:37 I'm thinking about trying to talk sugardave out of some of his newfound palm money and flying south for a bit, tho. Jan 21 02:48:42 see you pushed out a spiffy new Milez Jan 21 02:48:42 Cold, wet. Jan 21 02:48:51 hmmm...yeah same here Jan 21 02:48:59 got a spiffier one ready to go. Jan 21 02:49:15 still using drawers in the lists, tho :) Jan 21 02:49:38 ahh....you prob have fewer than I did...I had like 100+ Jan 21 02:50:09 even still....wish the animation were exposed through the API Jan 21 02:50:28 I didn't like the slowness with which drawers opened on device Jan 21 02:50:51 doing display: none ----> display: box is nearly instant Jan 21 02:51:09 and it scales very nicely so I can open all 100 drawers in response to user request to do such Jan 21 02:51:17 heh. reminds me of the guy standing in front of the microwave. "Come on, I don't have all minute!" Jan 21 02:51:52 lol.....I'm impatient and I assume everyone else is too :) Jan 21 02:51:58 you should post an example on webos101.com.... Jan 21 02:52:43 I will....I'm working on trying to get this app to a state where I can push it to Palm, I have drafts of various webos101 stuff Jan 21 02:53:36 I also have a much richer rich text editor that I'll put up Jan 21 02:55:27 cool Jan 21 02:57:33 alright hombre...heading home..later **** ENDING LOGGING AT Thu Jan 21 02:59:56 2010