**** BEGIN LOGGING AT Sun Mar 07 02:59:57 2010 Mar 07 03:40:36 Ajax.Request("http://www.link.php?word1=textField1&word2=textField2", { Mar 07 03:40:51 how can I replace "textField1" and "textField2" with the text in those fields? Mar 07 03:41:02 umm Mar 07 03:41:10 concatination? Mar 07 03:41:12 I don't know the correct syntax =\ Mar 07 03:41:37 Ajax.Request("http://www.link.php?word1=" + textField1 + "&word2=" + "textField2", { Mar 07 03:41:49 Oh that's it? thanks Mar 07 03:42:10 I thought it'd be much more complicated than that, lol Mar 07 03:42:35 err ... i put quotes on textField2 ... that's incorrect. It should be like I did on textField1 Mar 07 03:42:46 but you get the idea Mar 07 03:42:47 Ok, thanks Mar 07 03:42:49 Yea, thanks a lot Mar 07 03:43:29 How's everyone? Mar 07 03:44:00 feeling like a loser for spending my saturday night on IRC :) Mar 07 03:45:23 Monroe: Hah, good point! Only losers hang... um, no, that's silly! Mar 07 03:48:37 Monroe, are you sure that's how you do it? Even "this.controller.get('label1').innerHTML = textField1 + textField2;" doesn't do anything. Mar 07 03:49:28 umm Mar 07 03:49:37 you have to get the values of the textfields Mar 07 03:49:45 yeah Mar 07 03:49:58 oh Mar 07 03:49:59 I was assuming textField1 was a variable ... Mar 07 03:50:03 lol Mar 07 03:50:03 this.myText1Model.value Mar 07 03:50:09 Thanks =) Mar 07 03:50:14 I'm very new lol Mar 07 03:50:24 If it's a widget, then you have to get the value as haeffb said Mar 07 03:51:53 Yea, thanks Mar 07 03:55:37 There's a system service to get the current time ... any reason why using a javascript date object won't work to get the current time? Mar 07 04:16:06 good night all Mar 07 04:18:37 yay for rain taking out the internet! Mar 07 04:43:51 I'll be damned Mar 07 04:50:22 maybe Mar 07 04:50:37 hi haeffb Mar 07 04:51:08 harhar Mar 07 04:51:18 My app is really coming along Mar 07 04:52:00 working on the icon right now Mar 07 04:52:28 that's great halfhalo_desk Mar 07 04:53:41 hi jenp Mar 07 04:53:48 how are you doing? Mar 07 04:54:12 Ok, considering that the forces of good were vanquished by the forces of evil this afternoon. Mar 07 04:54:21 The world is all kinda gray and barren right now. Mar 07 04:54:23 lol Mar 07 04:54:26 But I have a beer. Mar 07 04:54:28 ricks team win again? Mar 07 04:54:54 yup Mar 07 04:55:07 & they will be #1 in the country on Monday. Mar 07 04:55:21 lol...ohhhh...i'm sorry Mar 07 04:56:44 Myles is ready to ship. I think. Mar 07 04:56:52 oh that's great! Mar 07 04:56:52 nice Mar 07 04:56:55 Did you seen anything buggy? Mar 07 04:57:03 no Mar 07 04:57:31 i added stuff...removed stuff...entered exited Mar 07 04:57:34 trying to decide between two icons for the "drawer opener" button. Mar 07 04:57:36 seemed ok Mar 07 04:57:54 the old one and one that looks like a piece of paper w/ a pen Mar 07 04:58:42 yeah? Mar 07 05:00:47 email Mar 07 05:00:50 oh hey...just installed your app on this pc...and nothing happens when i tap add a new trip Mar 07 05:01:06 ah cool Mar 07 05:01:14 look @ the old one first Mar 07 05:01:19 oh hey Mar 07 05:01:22 i'll install that one on this and get back to you Mar 07 05:01:24 probably found a bug. Mar 07 05:01:32 may be not Mar 07 05:01:56 it looks good like the buttons Mar 07 05:02:45 the paper icon? Mar 07 05:03:34 hey...still cant add a new trip Mar 07 05:03:39 oh wait... Mar 07 05:03:50 this emulators the old one still need to upgrade Mar 07 05:04:56 There was a bug related to deleting vehicles or categories. I didn't update your "last veh/cat selected" if you deleted that one & the new trip tried to use a veh/cat that didn't exist. Mar 07 05:05:19 so, if you still can't add a trip, add a veh or two & a cat or two & see if that helps. Mar 07 05:05:35 kk Mar 07 05:06:51 * haeffb thinking about taking TaskAdder and making it into a fully syncing task list app. Mar 07 05:10:36 * haeffb switching to mobile. Mar 07 05:16:47 hmmmmmmmm Mar 07 05:16:52 mmmmmmmmmmmm Mar 07 05:35:00 Hey all! Mar 07 05:35:04 Is Pre101 around? Mar 07 05:35:14 Roy-Pre101 Ping! Mar 07 05:37:34 pong Mar 07 05:38:34 s Mar 07 05:38:55 Roy-Pre101: Just wanted to say grats on the WOR merge! Mar 07 05:39:10 Oh, thanks Mar 07 05:39:34 How's the redesign coming along over at the studios? Mar 07 05:39:51 What do you mean? Mar 07 05:40:09 Tis done :P Mar 07 05:49:32 For this week! :) Mar 07 05:52:51 Roy-Pre101: Well, I've feel behind this week Mar 07 05:53:01 Wanted to finish up some things, but school kept me from it Mar 07 05:53:23 Keen Studios: Failing at meeting our own deadlines since 2009 :D Mar 07 05:57:53 Ah, see, that's where I'm way ahead of you. Mar 07 05:58:01 I've been failing at that for decades. Mar 07 06:03:09 I like it that management sets our deadline for a project, without any clue about what it entails. Mar 07 06:03:51 Not staying, gotta get to bed, but just wanted to come by and say MAN it feels good to finally get a big update pushed out for review. I've been working on this thing for way too long without being able to say "good enough". Mar 07 06:04:25 Now I'm really confused Mar 07 07:36:42 all i know is that the guinness that was missing was found Mar 07 07:39:43 lol Mar 07 07:40:37 i really did Mar 07 07:42:17 250 years of a drink was found Mar 07 07:42:37 gtk Mar 07 07:43:41 it was a guinness never seen since 250years Mar 07 07:45:34 do you know if Templarian made any changes to komodo for 1.4? Mar 07 07:47:03 no clue Mar 07 07:48:00 but his framework is brilliant with info Mar 07 07:48:08 xml Mar 07 07:50:31 cool Mar 07 07:51:17 "A mouse in the cookie jar does not necessarily make him a cookie" Mar 07 07:53:47 all i know is that WebOS iis the next windows Mar 07 07:58:16 so is it not possible to bundle my app preopulated for the html5 database? Mar 07 10:10:25 RFC: Package Manager Service merged into Preware - http://forums.precentral.net/showthread.php?p=2289326 Mar 07 10:17:30 Is there ncurses installed? Mar 07 10:19:05 Uh oh, how do I ctrl-c in terminus Mar 07 10:21:26 is there an easy way to prepopulate a database for inclusion with my app Mar 07 10:21:29 not a TON of data Mar 07 10:21:36 but enough where its a pita to go fetch it form the net Mar 07 10:46:59 does sound work in the mojo emulator? Mar 07 11:14:47 wah wha wah Mar 07 11:14:51 nobody is around? Mar 07 11:15:42 i haven't seen nobody for quite a while... Mar 07 11:16:30 I cant seem to get sounds playing Mar 07 11:16:36 they dont error but they dont play Mar 07 11:16:39 in emu or on the hardware Mar 07 11:16:55 I am wondering if theres something i've got to do, to tell it "hey copy this folder of .wav's over too" Mar 07 11:22:06 in the emu you won't get any sound at all Mar 07 11:22:56 havent come round to try doing an application of my own yet, sorry... Mar 07 11:24:30 well this doesnt work when deployed to the phone itself either Mar 07 11:26:05 check with novaterm on the emulator whether the .wavs get copied? Mar 07 11:26:20 (or on the phone, when its in dev mode) Mar 07 11:32:19 hmm Mar 07 11:36:59 I guess the sounds are making it ot the phone Mar 07 11:37:00 weird Mar 07 12:36:00 hey haeffb: u awake yet? Mar 07 12:38:33 hi LoneStar99 Mar 07 12:46:02 Bmyers Mar 07 12:46:09 morn'n Mar 07 12:46:26 yup Mar 07 12:46:41 hey thanks for the creds in myles.. Mar 07 12:48:27 haeffb_pre: saw myles on the featured apps the other day Mar 07 12:49:01 welcome Mar 07 12:49:36 you sent out another version late last night? Mar 07 12:49:51 LS: yeah, cool, huh. I just wish they'd have let me know first Mar 07 12:50:30 bmyers: night b4 Mar 07 12:50:41 to precentral Mar 07 12:50:59 no, I mean to me personally Mar 07 12:51:26 oh. yeah maybe Mar 07 12:51:53 did u tackle the odometer or saving that for later? Mar 07 12:52:33 later. I actually like it the way it is now. Mar 07 12:52:56 i'll install it now.. Mar 07 12:53:02 did you get the one with the new "drawer" icon? Mar 07 12:53:11 hang on... Mar 07 12:54:06 there's the latest Mar 07 12:54:37 ok Mar 07 12:55:00 I'm trying to decide between the two different icons Mar 07 12:56:05 alright gonna take a nap chat laters, will take a screen shot when I see it featured again Mar 07 12:57:44 hey haeffb: have u considered maybe saving a cookie on stagedeactivate to save the data in the input screen and then checking the cookie later to see if there is sql data your should write out? Mar 07 12:58:13 no async with the cookie Mar 07 13:01:22 that's probably a better approach. Mar 07 13:10:20 don't know where I should check the cookie, though. Mar 07 13:10:49 next time u start up Mar 07 13:11:02 in app assist? Mar 07 13:11:26 no, in scene assist, where I load the db Mar 07 13:11:37 because of async isues.... Mar 07 13:12:02 I have to make sure the data is saved before loading for the scene. Mar 07 13:12:19 and I have two db transactions, so two callbacks. Mar 07 13:13:41 maybe in the db success handler of the cookie data save? Mar 07 13:14:08 check the cookie, if its emtpy just do what u do now Mar 07 13:14:37 if cookie has data, save it, the do what u do now in the success handler of the cookie data save? Mar 07 13:14:54 right. Except there's two success handler calls. Mar 07 13:15:04 for what? Mar 07 13:15:11 I so set a flag Mar 07 13:15:31 one to update vehicle's last mileage in the vehicle table. & one for the trip data Mar 07 13:16:43 are those two string'd together? Mar 07 13:22:47 no Mar 07 13:23:20 could be, would make things easier, eh? Mar 07 13:23:49 well, at least could be fired off from the cookie check process Mar 07 13:23:57 for one of em Mar 07 13:25:44 here's how I'm handling it now... http://www.pastie.org/858126 Mar 07 13:26:52 wow. almost worked. Mar 07 13:27:55 btw, I did try the odometer.js Mar 07 13:28:11 Just thought it looked like a cheesy 1990's hit counter. Mar 07 13:28:35 i remember those.. it was the pix, not the idea.. Mar 07 13:28:53 ever had any luck with the sync method thing? Mar 07 13:31:28 never tried. Figured if sugardave can't get it working, it's beyond me. Mar 07 13:31:38 cooke is working. Mar 07 13:32:00 cool.. make sure it works on device and emu, timing can be very different Mar 07 13:34:28 Oh, yeah, works great! Thanks for the suggestion. Mar 07 13:34:52 welcome. now u can ditch the dashboard.. Mar 07 13:47:47 going mobile. Headed to Columbia to help man the "Tiger Country Realty" booth at the annual "Deer Classic" deer hunting extravaganza. Mar 07 13:48:49 sent the latest version. Mar 07 13:54:00 have fun.. Mar 07 14:16:52 http://pastie.org/858170 I can't get it to work. The variables don't seem to be setting. Am I missing something in the code? Mar 07 14:18:12 paste your setupWidget code Mar 07 14:18:36 The name of the textbox is "textField1" and "textField2" Mar 07 14:20:08 you have to store the widget models in a variable to use later. Mar 07 14:20:25 You lost me there =\ Mar 07 14:20:33 How would I store them? Mar 07 14:21:30 this.controller.setupWidget('textField1l,{...}, this.text1Model={...}); Mar 07 14:22:01 and replace the .... with the variable name? Mar 07 14:22:15 then later you can do myVar = this.text1Model.value Mar 07 14:22:20 oh ok Mar 07 14:22:36 Thanks a lot! Mar 07 14:22:42 You did this all on your pre? Mar 07 14:22:45 replace the ... with whatever you're using for attribs & model now Mar 07 14:22:52 yep Mar 07 14:23:00 The pre is a beast Mar 07 14:23:42 it's awesome Mar 07 14:24:34 do you know palm-log? Mar 07 14:24:56 Yea Mar 07 14:25:04 I think you taught me it before :) Mar 07 14:25:46 ok. might want to log the values of word1 & word2 to make sure they're right Mar 07 14:26:04 ok Mar 07 14:26:07 thanks Mar 07 15:14:14 heya Mar 07 15:14:38 swisscat Mar 07 15:14:47 hey haeffb Mar 07 15:25:30 haeffb_pre: can i plagiarize your legel "dont sue me" babel? Mar 07 15:25:45 a Mar 07 15:26:23 which is that? oh, the MIT license in help? Mar 07 15:27:21 yes, that is standard MIT license text Mar 07 15:27:43 no the one that says if your wife leaves you cause of this program you cant take my house away from me in court Mar 07 15:28:00 open sourceish Mar 07 15:29:00 part of the std MIT lic Mar 07 15:29:24 oh Mar 07 17:23:40 ladies Mar 07 17:28:25 JenP: Nah the addon hasn't been updated for 1.4 yet still working on it. Mar 07 17:29:03 I cant figure out how to play sounds in a remotely reaosnable manner Mar 07 17:29:09 eg, load them all up Mar 07 17:29:16 then .play() in a butotn click Mar 07 17:29:22 it plays when I .load() Mar 07 17:29:25 then never play() Mar 07 17:31:47 I am trying to make something of a soundboard (no farts) and sound playing doesnt seem to work (I know it doesnt on the emulator) Mar 07 19:13:14 morning all Mar 07 19:13:21 morning Mar 07 19:13:23 moin Mar 07 19:14:54 has there been many reports of random Luna crashes since 1.4? Mar 07 19:15:10 oh yes Mar 07 19:15:40 alright then, as long as its not just me then :) thanks Mar 07 19:16:28 JenP: I answered your question from last night if you look up. Mar 07 19:16:38 thanks Mar 07 19:17:14 Luna crashs often Mar 07 19:17:21 especially on power on Mar 07 19:17:30 * halfhalo_T400 is lucky since luna has not crashed once for him Mar 07 19:18:50 it usually starts with the device not coming to live on a simple power btn touch, then you try it again and again and eventually open the keyboard and after a couple of seconds the device wakes up and Luna reboots immedately Mar 07 19:25:16 The phone app crashing or not starting is the best :) Mar 07 19:30:26 I'm not using it as phone... :D Mar 07 19:36:20 does anybody have an idea how i can have a timeout within an application and then do something? Mar 07 19:36:42 i want to have one image, then after a time exchange this image with another picture Mar 07 19:39:05 setTimeout(function, timeout, args) Mar 07 19:39:31 ah so i can give this through args to have the this again? Mar 07 19:40:50 no, for this you make: .bind(this) Mar 07 19:41:00 at the function or at the settimeout? Mar 07 19:41:10 setTimout(myFct, 1000, a, b, c).bind(this); Mar 07 19:41:25 myfct might be this.myTimeoutFct Mar 07 19:41:44 i'll try it Mar 07 19:41:56 setTimeout(this.timerHandler.bind(this), gblUpdateIntervall * 1000); Mar 07 19:42:11 ok, this is a working example from my code Mar 07 19:49:21 cool this works thanks a lot Mar 07 19:50:42 is the a "button" key assignment for the emu? Mar 07 19:50:57 to emulate the button on the phone? Mar 07 19:51:58 Home Mar 07 19:52:06 or was it ESC Mar 07 19:52:13 either Home or Esc Mar 07 19:52:19 esc is backgesture right? Mar 07 19:52:21 one is the button and one is the back gesture Mar 07 19:52:27 ok Mar 07 19:52:31 thanks!! Mar 07 19:52:38 home Mar 07 19:52:47 ok :) Mar 07 20:40:24 rehi Mar 07 20:42:14 hi swissknife Mar 07 20:42:48 tomcat=knife? tomcat=plane :) Mar 07 20:44:35 tomcat=webserver Mar 07 20:44:50 tomcat=night prowler Mar 07 20:47:52 need to stripnon-ascii from a string Mar 07 20:48:02 or maybe url-encoded Mar 07 20:48:16 is there a function for url encoding? Mar 07 20:48:26 anyone having trouble with komodo and emulator? Mar 07 20:48:34 i thought so, metaview Mar 07 20:48:47 seems like it freezes and stops running programs Mar 07 20:48:48 i had a little bit of a problem with the 1.4 emulator locking up earlier but i restarted it and it was fine Mar 07 20:48:51 escapeHTML maybe? Mar 07 20:49:13 escape() Mar 07 20:49:20 antartica Mar 07 20:49:28 JenP: that is what i was that is exactly what i was getting, a reboot of the emulator fixed it for me Mar 07 20:49:46 yeah but i'm having to reboot often Mar 07 20:49:52 encodeURIComponent() Mar 07 20:50:17 I'm trying escape now Mar 07 20:50:32 what are we talking about again? Mar 07 20:50:46 metaview is trying to escape to antarctica Mar 07 20:50:55 WAYYYY ahead of you Mar 07 20:50:56 no way, too cald Mar 07 20:51:04 yeah, that cald really is bad Mar 07 20:51:14 who want's to test the next MapTool? Mar 07 20:51:20 why not Mar 07 20:51:24 * swisstomcat raises hand Mar 07 20:51:34 erm, paw Mar 07 20:51:37 pls email to me: metaview at web dot de Mar 07 20:52:10 sent Mar 07 20:52:47 sent Mar 07 20:52:55 * halfhalo_T400 goes back to his pizza Mar 07 20:53:02 swisstomcat: you really should adjust your name Mar 07 20:53:31 metaview: i know, it has been like that for ages Mar 07 20:54:12 changed .. finally Mar 07 20:54:22 lol Mar 07 20:54:33 oh well, it seems I rather need a utf-8 conversion Mar 07 20:54:37 this is very hot pizza Mar 07 20:54:49 And reminds me. I should build my website Mar 07 20:54:51 let me check, metaview Mar 07 20:55:36 I will send it later, maybe should watch TV now Mar 07 20:55:36 no, i thought i had something in js but it's in php Mar 07 20:55:56 shouldn#t be string in mojo utf8 by default? Mar 07 20:56:04 watching the lakers..... Mar 07 20:56:12 mr Markus: better Mar 07 20:56:22 Insp. Barneby Mar 07 20:58:29 you know, on second thought, screw making a website Mar 07 20:58:35 I don't have dreamweaver installed Mar 07 20:59:03 * halfhalo_T400 luvs dreamweaver for php Mar 07 20:59:18 all you need to creaet a website is gedit or something similar Mar 07 20:59:48 and of course a browser (with firebug or similar) Mar 07 21:04:18 well then Mar 07 21:04:37 Stupid routers dropped my connection for a minute Mar 07 21:04:59 oh, and I much prefer dreamweaver to.... EVERYTHING for php Mar 07 21:06:18 hmmmm Mar 07 21:06:30 I need to test my app on evdo, but have no service here Mar 07 21:06:36 anyone want to test it for me? Mar 07 21:14:17 oh snap Mar 07 21:14:20 New idea Mar 07 21:18:21 g'night everyone Mar 07 21:18:33 off for the prowl :) Mar 07 21:18:44 night Mar 07 21:26:47 haeffb! Mar 07 21:26:56 wut up Jenp? Mar 07 21:27:02 hiya Mar 07 21:27:19 hey Mar 07 21:27:25 morning Mar 07 21:27:42 hi rod Mar 07 21:27:45 did you see the vid? Mar 07 21:29:08 JenP: I did - that's perfect Mar 07 21:29:18 awesome Mar 07 21:29:53 so i need a list of the small tut vid you want for preware.... Mar 07 21:31:31 ok, first one would be enabling and disabling feeds, and the update frequency preference, so people can manage their startup time better. Mar 07 21:31:45 nodnod Mar 07 22:03:13 Can someone tell me if http://ipkg3.preware.org/ is working ? Mar 07 22:03:49 (that's going to be our mirror to enable Preware to continue working through the server outage on wed Mar 07 22:04:26 well, theres an index page up Mar 07 22:04:34 with feeds Mar 07 22:09:07 populating it onw Mar 07 22:09:10 now Mar 07 22:47:38 http://ipkg3.preware.org/feeds/webos-internals/testing/armv7/ Mar 07 22:59:27 woa Mar 07 22:59:30 email popup Mar 07 23:00:23 anyone have a steam account and has evdo service want to test something out for me? Mar 07 23:05:17 whats a steam account? Mar 07 23:06:11 steam? half-life? Mar 07 23:06:15 yeah Mar 07 23:12:59 Hehehehehe Mar 07 23:13:08 I made a custom send-to command for my pre on windows Mar 07 23:13:48 I can right click->send to-> Pre on ipk files and it send it to my pre Mar 07 23:27:55 wawawaaaaaaaaaaaaa Mar 07 23:51:31 so i thought something like this would work Mar 07 23:51:33 if($('amort').childNodes[0] !== undefined){ Mar 07 23:51:42 but it doesn't Mar 07 23:53:00 Missed the first part of the discussion, but could you check childNodes.length > 0? Mar 07 23:53:26 try childNodes[0].nodeValue Mar 07 23:53:36 yeah i don't see why not Mar 07 23:53:38 thats what I use for my xml thingie Mar 07 23:54:00 kk i'll try that Mar 08 00:42:31 hi all Mar 08 00:42:41 hello Mar 08 00:45:58 I really need to rename part of my menu Mar 08 00:49:16 is there a trick to playing sounds with new audio()? Mar 08 01:18:22 anyone Mar 08 01:18:42 nope sorry Mar 08 01:18:53 I can get the bastard to play once Mar 08 01:19:07 cant rewind, and wont .play() again Mar 08 01:22:57 its frustrating... none of the examples int he apis attempt to do thi Mar 08 01:25:35 Tempted to make an app that lets you sync a folder with a computer Mar 08 01:25:45 but only using tools in the API Mar 08 01:25:53 so a pdk like thing? Mar 08 01:26:00 nope Mar 08 01:26:02 brb Mar 08 01:26:05 theres no access to the fs as far as I knwo Mar 08 01:28:09 well, there IS downloadmanager Mar 08 01:28:29 my thinking is have it set up to poll a custom webserver on the target computer Mar 08 01:28:33 say, a java one Mar 08 01:28:41 which will give a list of files to sync Mar 08 01:28:51 it will just go down the list grabbing each one Mar 08 01:29:15 god damn it Mar 08 01:29:21 this is frustrating as fuck Mar 08 01:29:38 heh Mar 08 01:29:54 I think my biggest hurdle of my current app is grabbing images and displaying them inline Mar 08 01:32:31 I also am working on a third app Mar 08 01:32:39 but that ones really easy to at least push out a beta Mar 08 01:39:59 how do I find the date of the next Sunday from today in Javascript? Mar 08 01:41:14 I think you would have to custom write a method for that Mar 08 01:42:52 http://www.actionscript.org/forums/showthread.php3?t=168662 Mar 08 01:42:58 google is my friend Mar 08 01:53:10 now fi I could just find a solution to my problem Mar 08 02:00:57 hi all Mar 08 02:01:37 any RoR peeps around that can help a noob? Mar 08 02:07:34 depends... Mar 08 02:07:35 on what Mar 08 02:08:53 I'm using render :xml to render an object as output and I'm getting errors complaining about a missing templte. My understanding is that I shouldn't need a template for rendering undecorated xml Mar 08 02:09:37 try sticking layout:none in the controller file Mar 08 02:09:58 halfhalo_T400: ok...let me try that Mar 08 02:09:59 even though it does not need a template for that specific call, rails will still complain Mar 08 02:10:56 god I love my ipk install script Mar 08 02:11:32 all i have to do is double click the package to install it to my pre Mar 08 02:12:35 uhh Mar 08 02:12:47 I think you can do that as it is? Mar 08 02:13:03 I mean from my windows desktop Mar 08 02:13:38 I wrote a bat script that triggers off palm-install -d usb and assigned it to ipk files Mar 08 02:13:44 halfhalo_T400: hmm...didn't seem to work Mar 08 02:14:09 jfelectron: worst case is you make a blank template Mar 08 02:14:30 trying that now Mar 08 02:18:04 hello all Mar 08 02:18:06 halfhalo_T400: OK...that gets rid of the error, but the response is just blank, the object isn't empty Mar 08 02:18:19 any one ever used the toggle widget? Mar 08 02:18:28 wtf is the trick to playing a sound file, and being able to play it again in a second when you hit play again Mar 08 02:18:31 do you have yeild Mar 08 02:18:37 yield* Mar 08 02:19:28 LoneStar99: yes. Many people have. Myself among them. Mar 08 02:22:24 have the following code http://pastebin.com/u5zT0fbU Mar 08 02:22:38 halfhalo_T400: ahh...nevermind. It was trying to render html because I had if request.put? instead of if request.post?....lol Mar 08 02:23:26 brb Mar 08 02:23:29 food nao Mar 08 02:23:47 LoneStar99: I have a ton of them...what's your prob? Mar 08 02:24:10 yes, and? Mar 08 02:24:13 how i determine if the value is set to on or off? Mar 08 02:24:28 "this.toggleModel.value" ?? Mar 08 02:24:30 like you determine the value of any widget. Mar 08 02:24:42 correct Mar 08 02:24:56 ok easy enough thanks Mar 08 02:25:03 I am all for the purist web + html5 crap Mar 08 02:25:04 btw, I believe "on" and "off" are the default labels. Mar 08 02:25:11 but the sound apis are either very poorly documented Mar 08 02:25:18 or just suck shit for tryign to do what I want to do Mar 08 02:25:31 k Mar 08 02:25:36 and true and false are generally better for the values than "on" and "off" if you want to use if (this.toggleModel.value) Mar 08 02:25:52 ron_frown: or both Mar 08 02:26:04 probably both Mar 08 02:26:45 haeffb: if (this.toggleModel.value = 'false'){ "hide div" } ?? Mar 08 02:27:31 the way you have it now, if (this.toggleModel.value = "off") {...} Mar 08 02:27:32 LoneStar99: or just setup a property change listener Mar 08 02:27:59 but, if you leave the trueValue and falseValue to the defaults (true and false), then it's just Mar 08 02:28:07 haeffb: yeah...but you can make them whatev you want Mar 08 02:28:18 if (this.toggleModel.value) or if (!this.toggleModel.value) Mar 08 02:28:27 k Mar 08 02:28:37 jfelectron: true. But I can never remember if I make them something different what it was. Mar 08 02:28:46 lol...yeah Mar 08 02:28:50 trueValue: good, falseValue: bad Mar 08 02:28:57 uh. wait. what? Mar 08 02:29:08 true/false is pretty easy Mar 08 02:29:22 its nice though if you want to use the value to say access the property of another object Mar 08 02:29:35 that way you don't have to translate it Mar 08 02:29:37 sure Mar 08 02:30:02 * haeffb still learning how to *program* in javascript. Mar 08 02:30:33 got most of the syntax down, but actually using it to do useful things...efficiently...is still a long journey Mar 08 02:32:07 what is the prototype command to kill a div? not "hide" but .... Mar 08 02:32:19 can't remeber Mar 08 02:32:21 you know what's more fun than just debugging JS in WebOS debugging WebOS and your server at the same time....:? Mar 08 02:32:23 :/ Mar 08 02:32:48 LoneStar99: do setStyle({display: 'none'}) Mar 08 02:32:59 I havent even come across anything else even remotely challenging in webos Mar 08 02:33:05 jfelectron: just don't put bugs in at the start. Makes life much easier. Mar 08 02:33:06 but I cant get the god damn sounds working properly AT ALL Mar 08 02:33:30 LoneStar99: with hide() it still takes up room Mar 08 02:33:47 display: none or visibility Mar 08 02:33:55 haeffb: you know the number of error free lines of code 'professional' programmers write on average per day? Mar 08 02:34:17 ron_frown: visibility still takes up space...just 'hidden' Mar 08 02:34:29 k Mar 08 02:34:34 jfelectron: remember, my goal is to be a "real programmer" Mar 08 02:34:47 "professional" is just one step along the way. Mar 08 02:34:57 haeffb: its something less than 10 lines per day Mar 08 02:35:10 var myDate; Mar 08 02:35:12 1 Mar 08 02:35:22 myDate = new Date(); Mar 08 02:35:23 2 Mar 08 02:35:30 I'm well along the way! Mar 08 02:35:45 :) Mar 08 02:36:24 myDate=new BeautifulDate() Mar 08 02:36:51 So, my logic for auto-Export in Myles...give the user four options: daily, weekly, bi-weekly, monthly Mar 08 02:36:58 all at 1am local time. Mar 08 02:37:08 weekly & bi-weekly on Sunday Mar 08 02:37:15 monthly on the 1st of the month. Mar 08 02:37:18 Sound? Mar 08 02:37:32 and if they have their phone off..does it push the export on restart? Mar 08 02:37:49 using Alarms service, yes it does. Mar 08 02:38:12 well... Mar 08 02:38:18 not if they're in airplane mode. Mar 08 02:38:22 damn users. Mar 08 02:39:31 well, I say screw 'em if they put their fone in airplane mode when an export should be happening. Mar 08 02:40:40 at present, if they can't connect to google, it displays a dashboard that says Google Export Failed. Mar 08 02:41:10 that should be sufficient...? Mar 08 02:41:39 oh noes! I got a message that the export failed! Here, I'll do it manually. Mar 08 02:49:05 what is the opposite of "$('mutsu').remove();" ? Mar 08 02:51:08 mmmmmm Mar 08 02:51:15 that was tasty Mar 08 02:51:27 $('mutsu').dontremove(); Mar 08 02:52:42 LoneStar99: appendChild() ? Mar 08 02:55:16 hmmm Mar 08 02:55:21 my list be broken Mar 08 02:56:26 when I repopulate the model some items overflow into the next item via text Mar 08 02:57:42 howdy! Mar 08 02:58:14 hello thar Mar 08 02:59:01 kense! **** ENDING LOGGING AT Mon Mar 08 02:59:57 2010