**** BEGIN LOGGING AT Tue Nov 03 02:59:57 2009 Nov 03 03:16:41 Bah, why'd my wife have to get my to play this sill treasure hunt facebook game? Nov 03 03:21:29 Roy-Pre101: I managed to get everyone I know hooked on FarmVille....then I started writing Pre apps and they're all strung out Nov 03 03:27:35 sugardave: hah. Nov 03 03:28:00 Yeah, everything else I was doing tanked after I got the Pre. Nov 03 03:42:39 is there a special way to select an element with Palm Inspector? Nov 03 03:42:56 Im inspecting com.palm.app.news and there is no dom information in the body element. Nov 03 03:43:07 All I get is the Mojo.Log.info messages etc Nov 03 03:47:19 You expand the elements. They'rea tree. Nov 03 03:47:32 Are you saying there are -no- elements in there at all? Nov 03 03:49:21 guess his inspector got disconnected Nov 03 03:49:30 try right-click, then Reload in the inspector Nov 03 03:52:27 Roy-Pre101: there are none in Body. Nov 03 03:52:45 Giotto: its not disconnected, because there are still messages being logged. Nov 03 03:57:10 the web inspector can get disconnected from your app. your app runs, you see the log messages, but the inspector will show nothing. no updates, or no html content in the body tag Nov 03 04:00:27 Giotto: yeah, thats what it happening.. no DOM updates. Nov 03 04:00:31 just info logging. Nov 03 04:00:38 just started up the SDK and inspector. Nov 03 04:01:00 Giotto: ^^ Nov 03 04:43:36 okay, feeling really stupid....I can't seem to get a WebView widget to instantiate with setupWidget Nov 03 04:43:56 haha Nov 03 04:44:07 (Did that make you feel smarter?) Nov 03 04:44:13 not particularly Nov 03 04:44:26 Sorry, I got nothing. Nov 03 04:44:31 I haven't worked with WebView. Nov 03 04:44:37 Not sure what the use-case is. Nov 03 04:44:57 I'm going to use it for an ad supported app Nov 03 04:45:36 Mmm Nov 03 04:45:42 I need to figure out how to get ads into my app Nov 03 04:45:46 to make $$? Nov 03 04:46:53 I like keeping my app clean of ads, but I understand it's business Nov 03 05:10:18 Hi Folks Nov 03 05:16:24 hello Nov 03 05:17:42 I've got a question regarding testing an app on a device; I can't seem to run an app I'm working on (using the eclipse mojo sdk plugin) on the palm device... it doesn't detect it Nov 03 05:18:03 I'm running windows 7 atm, and the only part of the driver not installing properly is the novacom linux piece Nov 03 05:18:44 the phone is in developer mode? Nov 03 05:19:01 I'm able to run the app on the emulator just fine... but I'd like to see it run on the device -- been scouring the forums and such Nov 03 05:19:14 yes sir... enabled :) Nov 03 05:19:57 are you using eclipse to send to the phone? or are you using a command line? Nov 03 05:20:16 eclipse; gives me the "The Palm device is not connected..." error Nov 03 05:20:28 I swapped it from the "Emulator", where it was running fine Nov 03 05:20:41 in the run config Nov 03 05:21:41 only thing I could say to try (since I don't use eclipse) would be to open a command line and try a "palm-install -d usb " Nov 03 05:23:07 haven't used the cmd line since I started doing webOS work :) -- is the path to ipk the directory w/ the appinfo.json and sources.json files? Nov 03 05:24:06 in my setup it's a directory above that Nov 03 05:25:58 well actually, this answers my question: Nov 03 05:26:04 palm-install -d usb -l Nov 03 05:26:18 returns: palm-install: no device found Nov 03 05:26:30 Are you running on XP? Nov 03 05:26:36 nope - win7 Nov 03 05:26:48 ooOo. so I wonder what's up with my setup. Nov 03 05:26:58 because I have 2 machines running windows 7 with the same result Nov 03 05:27:09 do you have your novacom linux driver setup? Nov 03 05:27:20 or did things work simply by plug&play? Nov 03 05:28:00 I think there was some install as part of the instructions for that Nov 03 05:28:14 I don't remember having any issues though Nov 03 05:28:59 ahh alright. Nov 03 05:29:26 actually, I'm looking in my "install files" directory, and I don't see anything other than the SDK install (and safari and virtual box) Nov 03 05:29:42 so after the SDK install, I think it was plug and play Nov 03 05:29:49 darn. Nov 03 05:30:04 Are you on Sprint? Nov 03 05:30:10 yes Nov 03 05:30:15 Bleh. Bell here. Nov 03 05:30:36 Wonder if the webOS version for bell has anything to do with this. Nov 03 05:30:40 wouldn't think that would matter - but I suppose anything is possible Nov 03 05:31:06 trying to think of something that would cause this issue. I've been stumped for a while now Nov 03 05:31:45 sorry I can't be of more help - I'm calling it a night - cya Nov 03 05:31:55 g'night. thanks for your time Nov 03 05:31:58 np Nov 03 05:32:20 Anyone else in here with possible input? Nov 03 05:41:40 just starting to look at WebOS (as i tonight ;) )... Is there a way to port a C library I have to the platform? Nov 03 05:42:19 cmarkle: if by "port" you mean "rewrite from the ground up in a totally different language", then yes! Nov 03 05:42:51 lol - not quite what I had in mind... What language would that be if I were so inclined? Nov 03 05:45:44 javascript ;) Nov 03 05:53:54 is skipping corrupt file ... .ipk/control.tar.gz ok Nov 03 05:54:10 Not sure what is causing this, Nov 03 06:05:46 Evening all... IRC... now that brings back some memories :) Nov 03 06:35:03 Preware stand-alone installer won't run for me. Nov 03 06:35:14 JAR file version Nov 03 06:51:14 <_droO> can anyone help me for a sec with a widget(textbox) focus issue? Nov 03 06:56:06 _droO: Maybe... Nov 03 06:56:20 <_droO> pm'd Nov 03 06:56:59 <_droO> so basically, i have a scene with a text box thats in focus when scene is pushed Nov 03 06:57:15 <_droO> i have an event listener for property change & on enter, it adds text from textbox to a div Nov 03 06:57:20 <_droO> that works fine Nov 03 06:57:43 <_droO> but the problem i have, is when anything else is clicked, like another widget, or the scene itself Nov 03 06:57:48 <_droO> the div gets hidden Nov 03 06:57:54 <_droO> and i cant get the text box to regain focus Nov 03 06:58:04 that's pretty odd. Nov 03 06:58:15 <_droO> ya :/ Nov 03 06:58:18 can you pastebin the scene's html? Nov 03 06:58:31 <_droO> its pretty messy but h/o Nov 03 06:58:38 <_droO> lemme try to clean it up a bit first haha ;o Nov 03 07:33:38 It looks like a raw TextField disappears if there's no text in it and it loses focus. Nov 03 08:05:52 maybe a silly question, but, is the media services working on emulator? I can't reproduce audio nor video Nov 03 08:18:21 doesn't work on the emulator Nov 03 08:18:49 wow, great Nov 03 08:20:56 You can make audio work in emulator. See my post at http://pre101.com Nov 03 08:22:06 thanks Roy-Pre101, it's just what i needed :) Nov 03 08:23:06 If you do something good with sound, consider writing something at http://webos101.com Nov 03 10:32:32 <_droO> anybody good with ajax post requests? :/ i think i need to modify the http header can i do that? Nov 03 10:44:10 why would you need to modify the header? Nov 03 10:44:51 * ElVox wipes the crud from his "ojos". Nov 03 10:45:52 <_droO> because whatever header its using isnt working :/ Nov 03 10:45:57 <_droO> request is failing Nov 03 10:46:19 <_droO> but post request works from comp Nov 03 10:47:47 http://www.openjs.com/articles/ajax_xmlhttp_using_post.php Nov 03 10:48:03 http.setRequestHeader(); Nov 03 10:48:10 is probably what you need Nov 03 10:49:09 <_droO> k ya i was thinking i might have to use XMLHTTPRequest, instead of ajax.request in mojo :/ Nov 03 10:51:06 <_droO> hm, ok i think thats going to work tho thanks :) Nov 03 10:51:11 Ajax is just the prototype Ajax object...that is XMLHTTPRequest Nov 03 10:51:26 <_droO> but u cant modify the headers using ajax.request Nov 03 10:51:29 <_droO> i dont think Nov 03 10:51:32 <_droO> and thats my prob :[ Nov 03 10:51:51 <_droO> unless i patch mojo.js or somethin maybe idk Nov 03 10:54:10 http://www.prototypejs.org/api/ajax/options Nov 03 10:54:35 <_droO> yea, i looked at that already :/ Nov 03 10:55:26 <_droO> nothing there to change headers though, just requestheaders.. Nov 03 10:57:20 well requestHeaders changes the request's headers... Nov 03 10:57:48 <_droO> oh ;o sorry that does make sense. havent slept yet, its like 6am Nov 03 11:00:13 as the docs say for prototype, they set 3 headers by default "X-Requested-With", "X-$PrototypeBI-Version", "Accept" but you should be able to overwrite them by providing your own values for those headers in the "requestHeaders" options Nov 03 11:00:46 <_droO> ya, i think im going to need to write the whole header Nov 03 11:00:59 <_droO> but i captured one so thats fine i guess Nov 03 11:02:30 I have done that before :( thank Pazuzu for the "Live HTTP Header" add on to firefox Nov 03 11:02:47 <_droO> haha thats what i used :) i know, it comes in handy Nov 03 11:04:20 firefox, basically is my development platform. it has my chat client, my ftp client, my javascript debugger, and it even views web pages! if it had a text editor as good as ultraedit, i probably wouldn't need another application. Nov 03 11:05:05 <_droO> lol, thatd be a lil too much for me ;o ff already steals enough of my memory :\ Nov 03 11:05:32 <_droO> well sometimes, depending D; Nov 03 11:08:20 haha, it is eating 520mb of memory right now...but it does it sooo well...i usually have to kill firefox every couple of days because there is a memory leak somewhere. once its working set hits 600mb+ the garbage collector thread starts causing delays in the UI. Nov 03 11:11:54 * ElVox sings along to the radio, "...is a house in New Orleans..." Nov 03 11:16:45 i didn't think my singing was THAT bad :D Nov 03 11:37:37 Hi all! Nov 03 11:39:09 hi Jen! Nov 03 11:47:29 Hey ElVox Nov 03 12:00:14 if I try to run the helloworld example from the command line i get: "palm-launch: application com.mystuff.hello not found" Nov 03 12:01:26 did you install it first? Nov 03 12:01:50 ok now i feel stupid Nov 03 12:02:01 its the lack of coffee i tell you! Nov 03 12:02:13 thanks tho Nov 03 12:02:14 smiles...no worries..I've been there Nov 03 12:02:18 sometimes repeatedly Nov 03 12:07:56 WOW Nov 03 12:13:24 i can't freaking believe it...you can take a standards compliant web app and literally just stick mojo.js into it and it works as a palm app!? crazy!! Nov 03 12:17:13 * ElVox scratches "port to webos" off the list... Nov 03 14:28:57 Does anyone else find that syncing is not great? I have updated outlook and google calendars and then forced refresh in the Pre but it doesn't pick up the changes Nov 03 14:29:31 likewise alarms don't always trigger. These are big problems Nov 03 14:29:50 good morning Nov 03 14:30:25 Morning worthb Nov 03 14:31:00 yessss Nov 03 14:31:12 finally someone reaching out to developers puts up an irc room Nov 03 14:31:20 and, on freenode to boot! Nov 03 14:32:00 hcatlin: you beyond the webos ones that are here already? Nov 03 14:34:13 yes Nov 03 14:34:33 they are advertising it and saying that they will have Palm developers in here Nov 03 14:34:57 "We are very excited to have more of the Palm engineering and developer relations teams joining #webos, and we can't wait to engage with you." Nov 03 14:35:18 where is that posted? Hope they have them put Palm or so identifier in their nick Nov 03 14:36:23 http://developer.palm.com/index.php?option=com_content&view=article&id=1828 Nov 03 14:37:15 very nice! Nov 03 14:43:32 good day Nov 03 14:48:58 lets see if i can answer some questions in the forums Nov 03 14:51:37 Oh, I'll be happy to ask you one... any word on video app like on the Treo? Nov 03 14:51:49 Actually tha'ts not truly a developer quesiton, so it's OK if you elect to Pass :) Nov 03 14:52:29 I have a comment though: thanks for the Depot and db example included with the SDK, it helped me Nov 03 14:52:55 How do you prevent the UI from locking up when updating a large number of list items? Nov 03 14:55:33 oh im not a palm dev rep Nov 03 14:55:35 oops Nov 03 14:55:48 the name thing was a mistake i was doing a search Nov 03 14:56:52 oh, sorry :) Nov 03 14:57:03 its ok Nov 03 14:57:24 but to answer your question away there isnt really a way around it Nov 03 14:57:32 just make sure your keep the user informed Nov 03 14:57:37 about what the app is doing Nov 03 14:58:13 palm just hired a linux driver dev so hopefully when he creates the drivers to utilize the gpu it will cut slack on the cpu Nov 03 14:58:43 FreeTim3: i think that video question goes in the same sense Nov 03 14:59:17 interesting Nov 03 14:59:23 thanks for the input ;) Nov 03 14:59:31 no problem Nov 03 14:59:47 in my app i just add a spinner with a loading text or something informative Nov 03 15:02:05 Yeah, I guess that's more or less what Palm would prefer if someting is going to take a little bit Nov 03 15:03:27 my app even locks up the spinner :P Nov 03 15:06:30 Giotto: Impressive. Maybe you should use setInterval or setTimeout to move out of the event loop and process in the 'background' Nov 03 15:06:57 Bah, I linked to an iPhone/iPod touch game and now I can't find it. Nov 03 15:07:07 had a playable demo on the web. Nov 03 15:07:49 yeah, I was thinking about what could I do. I just load a lot of content into a div, and as the device tries to render it it hungs up the UI Nov 03 15:08:25 Yeah, I have tried using a spinner as well. However, the spinner itself will freeze. Nov 03 15:08:37 yup :P Nov 03 15:09:10 it's mildly frustrating Nov 03 15:10:26 Ah. http://www.canabalt.com/ Nov 03 15:11:35 ok back Nov 03 15:12:03 will try the setTimeout thing to see if it works Nov 03 15:25:21 Has anyone figured out how Palm calls WEAVE in tasks and contacts to make lists render fast? Nov 03 15:26:24 GPU drivers will be nice as the Pre's interface is waaay more choppy than the iPhone's Nov 03 15:29:24 Roy-Pre101: kinda looks like michael jackson Nov 03 15:34:23 A bit more lively than he is. Nov 03 15:37:56 lmfaoo Nov 03 15:38:01 that shit is addicting Nov 03 15:40:10 simple but addicting. Nov 03 15:47:49 indeed Nov 03 15:52:26 haha, awesome game. Nov 03 15:52:31 looooove the music Nov 03 15:56:27 problem with these games that they make you angry :) Nov 03 16:11:39 man palm should have some sort of tone that will interrupt music / video apps telling you a call is coming in Nov 03 16:11:55 i miss so many calls when listening to music because it does not alert me through the headphones Nov 03 16:12:12 jcrawford: it doesnt? isnt it supposed to? Nov 03 16:12:15 if it gave a tone i'd know to hit the button on the headphones to answer the call Nov 03 16:12:35 gkatsev one would think but i just tested in the Music app and Pandora neither will alert me Nov 03 16:13:15 didnt know they made a qwerty gsm pre Nov 03 16:13:43 mines does Nov 03 16:13:53 mines makes the ringtone come in Nov 03 16:14:02 yeah, i think mine does as well Nov 03 16:15:57 jcrawford: conclusion your pre sucks Nov 03 16:15:57 lol Nov 03 16:16:31 but on mine, the headphone jack is busted. i need to get it replaced Nov 03 16:16:57 that will also fix the stupid crack i have on my pre Nov 03 17:01:29 I rode from Boston to NY listening to pandora on the car stereo (plugged into Pre headphone jack) and yes it rang over the music on an inbound call, for me at least. Nov 03 17:01:56 I remember I was mad at the caller since I missed my good song :) Nov 03 17:02:07 but that is the way I hope it works for you too. Nov 03 17:02:25 Seems like the right way you'd want it to work Nov 03 17:03:29 ah seems it only does not ring over when you have the mute slider turned on Nov 03 17:03:34 it should still give a tone or something Nov 03 17:04:39 funny it will play music through the internal speaker when on mute but wont alert you of an incomming call haha Nov 03 17:15:56 do I have to make more room before downloading more apps into Emulator? I now only have a few there Nov 03 17:17:55 dammit...admob requires an IP address to be sent to the server and it can't be 192.x or 10.x....AND there's no wan.ipAddress in the emulator Nov 03 17:17:58 hard to test Nov 03 17:18:33 can't you hardcode the ip address for testing? Nov 03 17:18:45 hard code your desktop ip if the object is the emulator Nov 03 17:18:59 yeah, but it makes my testing for the code I wrote to get the IP questionable Nov 03 17:19:17 Rick_work: I can force it with my router's IP, it works Nov 03 17:19:34 In fact...what if the user is in wifi-only mode Nov 03 17:19:44 what is the best way to get the "wan" IP then? Nov 03 17:19:59 I guess I'd have to send a request to my server and send back the IP... Nov 03 17:20:18 How do you get that for desktop browsers? Nov 03 17:20:32 I use a web page :D Nov 03 17:20:43 ah Nov 03 17:20:44 I see Nov 03 17:20:45 Do you need the internal private IP or the external NAT ip seen by the internet ? Nov 03 17:20:49 Shouldn't they get the IP address when they make the call? Nov 03 17:20:56 I need the external NAT ip Nov 03 17:20:58 I mean, when you make the rquest. Nov 03 17:21:03 privates result in no ads Nov 03 17:21:28 Roy-Pre101: I thought so, I tried leaving out the 'i' parameter is the request (which is wehre you put the IP), no dice Nov 03 17:22:09 can you run a curl against a web page? If so then that will work Nov 03 17:22:23 likw whatismyip.com Nov 03 17:22:50 FreeTim3: yeah, I just thought about that...can't use curl in JS? I'll just Ajax request to whatismyip.com and process it manually Nov 03 17:23:28 right - that should do the trick - I also love whatismyuseragent.com for headers but that's another story Nov 03 17:24:07 FreeTim3: oh cool, will have to check that one Nov 03 17:25:17 Yep, we use it to tell what version of browser (user agent) but it shows other headers too Nov 03 17:25:41 oh, and IP address...one-stop shop, thanks! Nov 03 17:26:26 but of course you're putting third-party possible unreliablity into your app, so after you get this working you might want to add something to your own server so it's under your own control Nov 03 17:44:57 im back Nov 03 18:19:28 sugardave what you really want is something like this running on your own servers or the cloud: http://www.stackulator.com/joyent-ddns/checkip.phps Nov 03 18:20:50 ...just so that you have full control of it (plus you get the added bonus of being able to gather usage statistics from your logs) Nov 03 18:23:24 heyho Nov 03 18:47:09 woo! i finally have a beta palm dev account to submit apps Nov 03 18:47:11 finnalllyyy Nov 03 19:23:47 ElVox: thanks for the link, will look into it Nov 03 19:27:27 pandora---: congrats! Nov 03 19:30:27 hi Nov 03 19:34:08 MetaView: hi there Nov 03 19:35:46 if a you got an app rejection and resubmit with the neccessary changes then you are put back into the line, right? Even if it was something small as a disabled help menu item... Nov 03 19:36:29 the whole app approval process is too slow for me, I'm up with another update before the first version is published... Nov 03 19:36:55 MetaView: I think it will go through quicker on a re-submit Nov 03 19:36:59 mine did Nov 03 19:37:19 * sugardave just has to stop hitting the incorrect buttons. Nov 03 19:38:20 resubmitted on 29th Nov 03 19:39:20 No, you don't go to back. Nov 03 19:39:20 MetaView: after a few updates you get added to a certain list. I think it's sort of like a trusted application list. Nov 03 19:39:20 (I don't know if that is implace yet for anyone) Nov 03 19:41:23 Ok, I will see Nov 03 19:42:30 somehting different: I have 2 scenes on the stack, the first is the main scene and the second is a requester in the way of: Who starts? Nov 03 19:42:59 how can i call a certain method in the main scene if one presses a button in the dialog? Nov 03 19:43:36 it works of course for showAlertDialog but how to do for showDialog Nov 03 19:43:58 especially I want to prevent the dialog to disappear on a app minimize Nov 03 19:51:59 hm, no clue? Nov 03 19:56:28 MetaView: did you try using a callback function? Nov 03 19:58:33 well heller Nov 03 19:58:39 what seems to be the issue Nov 03 20:00:24 ups, callback function? Nov 03 20:00:36 how to do it? Nov 03 20:01:12 the dialog has its own template and assistent Nov 03 20:05:04 MetaView, yes you pass a callback function to the dialog assistant Nov 03 20:05:36 MetaView: Then call the callback function from within the dialog assistant. Nov 03 20:06:17 sounds good, how to do it, any example? Nov 03 20:08:21 MetaView: Let me find one for ya. Nov 03 20:08:40 thx Nov 03 20:31:18 soooo Nov 03 20:31:20 question Nov 03 20:31:32 hcatlin:ready Nov 03 20:31:34 anyone heard anything about encryption in applications? Nov 03 20:31:53 like, being uncompiled, and unencrypted is just.... ugh, easily exploitable Nov 03 20:32:05 in my app, we have to trust the senders code from a remote server Nov 03 20:32:32 like, its reporting scores Nov 03 20:32:48 but, we have no way of knowing if we can trust their application Nov 03 20:32:58 i mean, i wouldn't worry if it was compiled... at least that's *hard* to read Nov 03 20:40:04 hmmm, can't you just have the person log-in like a normal web app? Nov 03 20:46:45 ElVox: I still can't say that hey aren't modifying the score algorithm or posting fake results Nov 03 20:59:32 hcatlin we do have a workaround for that. Nov 03 20:59:41 yeah? Nov 03 20:59:42 if you're willing to listen to an "odd" idea Nov 03 20:59:44 sure. Nov 03 20:59:48 hell yes Nov 03 20:59:52 i am wracking my brain for odd ideas Nov 03 20:59:56 ok Nov 03 21:00:00 it goes like this. Nov 03 21:00:28 1) you realize that if you wrote your app in java that they could still totally easily unpack the class Nov 03 21:00:38 and get nicely formatted source code without comments back. Nov 03 21:00:56 Right? So you are looking for "moderately hard" not "totally awsome security" Nov 03 21:00:59 right? Nov 03 21:01:19 yes Nov 03 21:01:24 cool. Nov 03 21:01:31 then it goes like this. Nov 03 21:01:47 oh wait... in java, i'd do an MD5 hash of the executable to verify Nov 03 21:02:08 Create an SQLLITE table in your app with a text field. Nov 03 21:02:55 hcatlin and if they had the source, they could modify the md5 checksum so it ran, and modify the number passed to you to pretend they hadn't messed with it. Nov 03 21:03:02 There is no such thing as secure source code. Nov 03 21:03:05 Having said that. Nov 03 21:03:15 for moderately secure javascript, do this. Nov 03 21:03:21 make a sqllite table. Nov 03 21:03:42 On first use of your app, before the program runs, download via ajax from your server your scoring functions Nov 03 21:03:43 k Nov 03 21:03:47 and any critical play functions Nov 03 21:03:57 and store them in text fields in your sqlite table Nov 03 21:04:06 and then, in your main code, eval them Nov 03 21:04:17 so that you have copies in ram and your program can run. Nov 03 21:04:44 if you want to be really obnoxious, include a checksum routine and make sure that they match the checksum. Nov 03 21:04:59 i like it. Nov 03 21:05:13 also, occasionally, when you upload a score, check to see if there are updates. Nov 03 21:05:26 right now, its mostly checking the user-agent.... which is lame Nov 03 21:05:45 and if you wanted to do somehting really more secure, encrupt the sqlite table. Nov 03 21:06:30 this is like really easy. But you have to write that "on first use get the functions from the server" ajax call. Nov 03 21:06:33 Big deal. Nov 03 21:06:48 yeah, i like it. Nov 03 21:06:48 and you HAVE to be connected to the cloud to get the program anyway, so no big deal. Nov 03 21:06:59 i'm not using the cloud. ;) Nov 03 21:07:07 right Nov 03 21:07:07 oh Nov 03 21:07:09 i see what you mean Nov 03 21:07:12 you have to have internets Nov 03 21:07:22 people are connecting to send you scores by carrier pidgeon Nov 03 21:07:30 yes Nov 03 21:07:32 exactly Nov 03 21:07:50 you're not using the cloud but store the scores there? Nov 03 21:08:06 i'm not sure how you are using the term "cloud" here Nov 03 21:08:06 <-- too late Nov 03 21:08:15 it is a webservice Nov 03 21:09:00 cloud just meaning that you are connected to the inter tubes.... Nov 03 21:09:21 when i was a young lad, cloud used to mean something more specific Nov 03 21:10:14 the white stuff above you? Nov 03 21:10:33 no... instantly provisioned shared server architectures Nov 03 21:10:52 ahhhh Nov 03 21:11:18 well, these days, the diagrams that say "you are connected" push their lines through an image of a cloud, and so...... Nov 03 21:11:26 them there in-tar-tubes. Nov 03 21:12:09 anyhow Nov 03 21:12:14 how are people's sales? Nov 03 21:12:24 i'm at 231 for the last 4 days Nov 03 21:12:28 sorry... for = over Nov 03 21:13:09 for what hcat Nov 03 21:13:18 Color Puzzle Nov 03 21:13:33 (and, yes... it would be lame if someone overhearing was like "zomg, i'm going to cheat"... because then its not even interesting) Nov 03 21:14:13 (no app-encryption is laaame) Nov 03 21:14:55 well, you're #8 on popular, simple big book is #12, with 1757 downloads, but it's free. Nov 03 21:15:35 really? Nov 03 21:15:37 pegged has 89 downloads Nov 03 21:15:39 see, i'm in the UK for the time-being Nov 03 21:15:53 soooo... i can't check it Nov 03 21:15:58 my phone gives me UK-based app info Nov 03 21:16:26 reversi has 46268 downloads Nov 03 21:16:35 free? Nov 03 21:16:41 reversi is free, yes Nov 03 21:16:54 88 players are online now playing Nov 03 21:16:59 color puzzle 224 downloads Nov 03 21:17:04 yeah, that's about right Nov 03 21:17:12 I have 233 Nov 03 21:18:27 but wow Nov 03 21:18:29 #8 Nov 03 21:18:30 that's good@ Nov 03 21:18:37 wait i don't get it...if you download critical function at app start then a customer can't use your game if they are someplace without the cloud.. Nov 03 21:19:11 EIVox: sort of like m:mafia, m:vampire, etc Nov 03 21:19:20 EIVox: those games don't work without an accessible server Nov 03 21:19:30 well, currently my game... they can play, but not submit scores Nov 03 21:20:51 it would anger me a bit as a customer if i bought a game and it didn't work while i was stuck on a plane. Nov 03 21:21:07 hey, i installed the termplugin and terminal packages, yet when i try to run the terminal, it tells me something like "Termplugin is missing and this app is useless without it", what did i forget? Nov 03 21:21:09 especially if that wasn't mentioned in the game's description (in big letters) Nov 03 21:21:44 also is there some way to launch those GUI apps from the command line so i can see some debug output (if any)? Nov 03 21:22:08 or strace Nov 03 21:23:54 the terminal version was 0.2.3 whlie the termplugin version is 0.2.2, can that be a problem? Nov 03 21:24:15 for the record i've tried terminal 0.2.2 too, without getting much further.. but who knows Nov 03 21:25:24 balrog-k1n ask in webos-internals Nov 03 21:25:34 but the short answer is, the plugin isn't running Nov 03 21:25:38 but go over there. Nov 03 21:26:02 Rick_work: oh cool, didn't realise there was a separate channel Nov 03 21:26:04 thanks Nov 03 21:26:14 webos for palm stuff Nov 03 21:26:18 webos-internals for their stuff Nov 03 21:32:10 wha'ts up, folks/ Nov 03 21:32:11 ? Nov 03 21:32:24 just rolling. Nov 03 21:34:10 I love this PreCentral article title: Round Table: The next Palm device. Nov 03 21:34:22 I'm thinking... webOS on furniture... that's pushing boundaries. Nov 03 21:34:32 I love the photo they used on that article Nov 03 21:34:44 is that a palm photo, or did someone photoshop that? Nov 03 21:34:45 They've got someone handy with photoshop. Nov 03 21:34:59 Hey Adora. Didn't see you sitting there. Nov 03 21:35:08 just snuck in a few minutes ago =] Nov 03 21:35:25 sneaky. Nov 03 21:35:55 Did you find the bartender yet? Nov 03 21:36:53 hey, Adora is on Mind Master's leaderboard, hello! Nov 03 21:37:12 I am? Nov 03 21:37:15 can't be by much, hahaah Nov 03 21:37:16 I thin kso Nov 03 21:37:21 no, you have -5 points Nov 03 21:37:38 NEGATIVE 5?! Nov 03 21:37:40 oh dear Nov 03 21:37:43 haha Nov 03 21:37:51 my scoring system is punishing if you don't win Nov 03 21:37:56 lol Nov 03 21:38:08 heh Nov 03 21:38:17 thynctank: Hey, haven't seen you pop in here. Nov 03 21:38:36 Roy-Pre101: didn't realize they had a chan before Nov 03 21:38:41 tskt sk Nov 03 21:38:42 just came across mention of it Nov 03 21:38:49 "you can disable this behavior by having a *truthy* value in the disableSceneScroller property..." truthy value? Nov 03 21:38:56 true, 1 Nov 03 21:38:57 Anything that's not falsy. Nov 03 21:39:11 if it evaluates to true via !! Nov 03 21:39:15 s'truthy Nov 03 21:39:22 Falsy is 0, empty string, null, undefined, false Nov 03 21:39:32 haha ok it just seemed like a funny phrase Nov 03 21:39:32 I think that's it. Nov 03 21:39:41 Roy-Pre101: sounds good Nov 03 21:39:53 Everything else is truthy. Nov 03 21:40:03 including "0" Nov 03 21:40:39 I've actually got to come back later but wanted to see how active this chan was. Later on folks Nov 03 21:40:42 when did boolean logic become so philosphical? :D Nov 03 21:41:59 Thynctank is my webOS homie. Nov 03 21:42:10 (he lives just about 15 minutes from here) Nov 03 21:44:27 lucky bastard...my friend's eye glaze over if i even mention javascript Nov 03 21:44:32 friends' Nov 03 21:48:44 I've only seen him one time at the PreDevCamp. Nov 03 21:53:44 But still, NoVA represent! Or something like tht. Nov 03 21:59:58 I tried to think of a programatic equivalent of "speak truthiness to power" Nov 03 22:00:02 but I'm falling flat Nov 03 22:04:25 "NoVA" LOL - i have family that live just outside charlottesville Nov 03 22:11:35 has anyone discovered how small buttons could be before the user can't press them accurately? :) Nov 03 22:11:59 I think our docs say 40px Nov 03 22:13:25 that seems too tiny :D my buttons are 40px right now and I think they are too small (but i don't have a physical pre so i can't be sure) Nov 03 22:14:42 ahh, found it Nov 03 22:14:48 the immersive app guidelines say 32 Nov 03 22:14:49 http://pdnblog.palm.com/2009/10/immersive-app-guidelines/ Nov 03 22:16:00 great post thanks adora! Nov 03 22:16:14 np =] Nov 03 22:16:48 ElVox: Mind Master originally had 25px hit targets...it works, but I got complaints Nov 03 22:17:06 32 is supposed to be the minimum for games Nov 03 22:17:23 (form what I've been able to gather)_ Nov 03 22:18:36 must reboot to regain resources Nov 03 22:20:57 great, i was worried that 50px buttons were too small for my calculator! guess not Nov 03 22:22:21 for something with as many buttons as a calculator, bigger will definitely be easier to use Nov 03 22:23:58 yeah...I can see I am going to have to mug someone and test my app on their Pre Nov 03 22:25:09 hober! Nov 03 22:25:28 yo Nov 03 22:25:54 how much longer before you're on EVERY channel on freenode? Nov 03 22:57:09 so.....any apps being updated in the catalog tonight? Nov 03 22:57:28 I haven't paid much attention to the update schedule (if there is one) Nov 03 23:04:10 Looks like any schedule is out the window. Nov 03 23:04:20 I need to finish my apps. They're probably waiting for me. Nov 03 23:04:44 hm Nov 03 23:04:51 <_droO> roy - i fixed everything on my app :D Nov 03 23:05:05 <_droO> now just having an issue w/ the ajax request ;\ Nov 03 23:05:19 _droO: Great! Not so great! Nov 03 23:05:35 <_droO> yea :( i think my only problem, is that i need to change the http header Nov 03 23:05:45 still not working? Nov 03 23:05:49 the one you send or the one in your response? Nov 03 23:05:53 <_droO> lol, havent tried yet elvox Nov 03 23:05:57 <_droO> ;o i just woke up Nov 03 23:06:02 ahh ok :D Nov 03 23:06:33 g'nite Nov 03 23:10:17 Hurrah! Finally finished: Interview with Jason Robitaille: http://pre101.com/blog/2009/11/03/interview-with-jason-robitaille/ Nov 03 23:12:18 Roy-Pre101: nice interview. Nov 03 23:13:10 You read quickly! Nov 03 23:13:26 rwhitby: Would you like to be next on the interview schedule? :) Nov 03 23:18:51 Now, we'll wait to see if PreThinking interviews Jason. Then I'll know they're copying me! Nov 03 23:24:32 Roy-Pre101: I'd be happy to do an interview for an esteemed journal such as yours ... Nov 03 23:25:02 excellent. Nov 03 23:25:25 Or you could write a guest piece (or two, or three...) Nov 03 23:26:20 ah, Tweed is updated... Nov 03 23:55:20 roy, i should write a piece on how i "ported" my web app to webos in about 45 seconds Nov 03 23:56:13 <_droO> elvox Nov 03 23:56:28 hey Nov 03 23:56:31 <_droO> do you know if it will let me set referer to the site im connecting to? Nov 03 23:56:40 <_droO> w/ ajax.request post Nov 03 23:56:41 <_droO> ? Nov 03 23:59:11 ElVox: as long as its not webview :) Nov 04 00:02:17 hi Adora Nov 04 00:03:07 oh, heya ke4qqq Nov 04 00:03:43 how's it going? Nov 04 00:03:53 great - hanging out at BoFs at LISA Nov 04 00:04:05 the "me" conf! Nov 04 00:04:23 * ke4qqq thinks of it as the conf I met you at - except you aren't here :) Nov 04 00:04:52 man, was that really a year ago? Nov 04 00:05:03 yep - seems like forever Nov 04 00:05:12 happy friendiversary! Nov 04 00:05:14 so is palm gonna let you come speak at SELF? Nov 04 00:05:34 woot - actually - think it was to the day- as BoFs started the night of the FSF dinner Nov 04 00:05:40 I haven't even brought it up yet Nov 04 00:05:54 I don't want to pitch the idea without having, you know...an idea =] Nov 04 00:06:09 HEY U GUYS I WANNA GO SPEAK AT CON OK? Nov 04 00:06:15 Boss: Ok, what are you going to present? Nov 04 00:06:17 lol that should work. Nov 04 00:06:18 Me: uhh... Nov 04 00:06:40 _droO: http://stackoverflow.com/questions/1268673/set-request-header-in-javascript Nov 04 00:06:41 Palm is teh cool? Nov 04 00:07:16 yeah! Nov 04 00:07:23 seems like overriding the Referrer (Referer?) may not be possible Nov 04 00:07:24 good afternoon, ladies and gentlemen Nov 04 00:07:34 today I am going to talk about how palm is teh win Nov 04 00:07:52 lol Nov 04 00:07:58 sprint is the unwin Nov 04 00:07:59 that concludes this portion of the presentation Nov 04 00:08:02 any questions? Nov 04 00:08:03 palm is the win Nov 04 00:08:15 yes i have a question Nov 04 00:08:25 ooh, yes? Nov 04 00:08:40 why the F did i have to switch to sprint to get this cool phone? they don't seem worth of it, what gives? Nov 04 00:09:05 alert! deflect! deflect! Nov 04 00:09:06 see Nov 04 00:09:19 I don't understand why everybody hates sprint Nov 04 00:09:37 I've been a sprint customer for years and have never had any problems Nov 04 00:09:45 cheap plans, fast data and lots of it Nov 04 00:09:47 Adora: b/c you are on the west coast Nov 04 00:09:56 Adora: really? Nov 04 00:10:11 ke4qqq: yeah, I have heard that sprint on the east coast is a whole different story Nov 04 00:10:11 Adora: i changed from ATT about 2 months ago to get the Pre Nov 04 00:10:15 NOTHING BUT PROBLEMS Nov 04 00:10:24 Adora: i'm in CA Nov 04 00:10:24 and I have friends who work for Sprint Nov 04 00:10:26 *sigh* Nov 04 00:10:35 but in san diego, LA, SF, dallas, austin, and arkansas Nov 04 00:10:36 pandora--: are you going to write a WebView widget piece on the wiki? Nov 04 00:10:43 all awesome Nov 04 00:10:49 oh, and seattle Nov 04 00:11:08 Adora: seems that things are finally worked out. but it took a lot of work to finally get sprint working for me Nov 04 00:11:11 pain in the arse Nov 04 00:11:17 sugardave: hells no. hah Nov 04 00:11:22 lame :( Nov 04 00:11:24 which of these is not the same as the others? LA, SF, DFW, Austin, Arkansas Nov 04 00:11:26 pandora--: that sucks, dude Nov 04 00:11:42 ke4qqq: hmmm....Austin? Nov 04 00:12:01 Adora: better now, they sent me an Airave, and gave me lots of refunds, and sent me a replacement Pre Nov 04 00:12:01 yeah that's it Nov 04 00:12:02 "Sprint doesn't work for me because Sprint doesn't care about black people!" - Kanye Nov 04 00:12:09 ElVox: tru dat Nov 04 00:12:11 haters Nov 04 00:12:12 haha Nov 04 00:12:19 pandora--: how's the airave working for you? Nov 04 00:12:29 hahahah Nov 04 00:13:07 Adora: much better now Nov 04 00:13:12 I got a wimax card at sprintdev Nov 04 00:13:26 Adora: of course, if i leave my 5000sq ft bubble, i immediately roam to verizon Nov 04 00:13:27 lol Nov 04 00:13:42 Adora: i work from my home though, so, it's pretty good Nov 04 00:13:46 pandora--: they provided you with your own bubble? Nov 04 00:13:46 it was a little ishy to get set up and doesn't want to work on windows 7, but it's still pretty cool Nov 04 00:14:06 Adora: does it work in Fedora? or $someotherlinux Nov 04 00:14:20 not officially Nov 04 00:14:31 (I expect) Nov 04 00:14:44 yeah I know that - but virtually all of them 'just work' with recent network managers Nov 04 00:14:53 I think it's pre-release, so the user experience is still a bit...delicate Nov 04 00:15:07 Adora: feel free to fedex me one and I'll let you know Nov 04 00:15:09 :) Nov 04 00:15:12 hahahaah Nov 04 00:15:17 I'll keep that in mind =] Nov 04 00:15:41 I've just got it shared out over wifi anyway, so I don't notice Nov 04 00:15:46 BECAUSE Nov 04 00:15:51 I can't get uverse Nov 04 00:16:26 the addresses immedietly on each side of me show up in the online tool thingy Nov 04 00:16:28 but not mine Nov 04 00:16:32 Hola... Nov 04 00:16:33 fluffs me off, I tell ya Nov 04 00:16:37 POOH! Nov 04 00:16:38 Adora: ouch Nov 04 00:16:58 that sucks, do they not know who you are??? have you tweeted about that? Nov 04 00:17:08 Adora: I had a bear of a time (get it bear) getting my clear 4g card to play nice with win7 Nov 04 00:17:18 hi ;) Nov 04 00:17:22 I called and they're researching it Nov 04 00:17:41 were supposed to call me back on friday, but I haven't heard back yet Nov 04 00:17:52 I used hackery to black magik Nov 04 00:17:54 but yeah, I'm probably going to tweet about it again tonight Nov 04 00:17:57 and* Nov 04 00:18:15 not to Nov 04 00:18:25 .c/to/and Nov 04 00:18:34 DarthPooh: and now does it sing of the music of midnight? Nov 04 00:18:54 Adora: good reference Nov 04 00:19:11 is that actually from something? Nov 04 00:19:16 I think I read it on regretsy Nov 04 00:19:29 oh Nov 04 00:19:39 I thought you meant Michael Jackson's new song Nov 04 00:19:49 black magik, that he is releasing new music still Nov 04 00:19:51 hahaha Nov 04 00:20:04 * DarthPooh walks away slowly, sheepishly Nov 04 00:21:10 "Application Content Criteria" wow how draconian! "The application does not advertise or promote the usage of ammunition and/or firearms, tobacco products and/or other drugs, liquor, beer, wine and other alcoholic beverages" so my redneck game is out then Nov 04 00:21:11 crap! Nov 04 00:21:20 palmcast is tonight Nov 04 00:21:46 hahaha Nov 04 00:22:10 ElVox: dang nabbit, what's maw gonna play now? Nov 04 00:23:02 i mean, by their definition, sunday morning cartons would be banned content Nov 04 00:23:11 cartons haha Nov 04 00:24:42 didn't say anything about adult content though Nov 04 00:24:44 sooooooooo Nov 04 00:24:51 yes it does Nov 04 00:24:53 Adora: when's your new guy over at Palm gonna start working on GUI optimization with the GPU? :) Nov 04 00:24:56 it's in another section Nov 04 00:24:57 damn! Nov 04 00:25:01 aw ok Nov 04 00:25:01 haha Nov 04 00:25:36 DarthPooh: Real Soon Now (tm) Nov 04 00:26:10 I actually have no idea Nov 04 00:26:15 yah... I kno Nov 04 00:26:30 I get most of my Palm news from the intarwebs =] Nov 04 00:26:43 just being an impatient bastard. My love affair with the Hero is over... gonna get the moment tomorrow Nov 04 00:26:49 Moment, Sammy. Nov 04 00:27:13 yes, you heard that right, breaking news. I'm done with the HTC Hero. Nov 04 00:27:29 palmcast is in 30 mins, right? (just getting daylight savings changes right) Nov 04 00:27:39 yah Nov 04 00:27:55 * rwhitby goes to get a seat in chatroll before it fills up Nov 04 00:28:22 rwhitby: is it filling up that early now? Nov 04 00:29:07 hello gentlemen(&women...) New to IRC... Nov 04 00:29:18 Yah Adora Nov 04 00:29:29 Adora: 34 out of 80? online already Nov 04 00:29:46 that's crazy sauce Nov 04 00:30:12 ...just trying to figure out what it's all about. Nov 04 00:30:26 haeffb: hi there Nov 04 00:31:13 so, is this like webOS dev forums, where I ask y'all to write my code for me? Nov 04 00:31:23 no Nov 04 00:31:25 sure! Nov 04 00:31:30 haeffb: lol Nov 04 00:31:40 man i hate that Nov 04 00:31:42 10 work with facebook Nov 04 00:31:45 20 goto 10 Nov 04 00:32:03 the forums on java.sun.com are nothing but that. drives me crazy Nov 04 00:32:15 * ElVox smashes on the Basic code until it stops moving Nov 04 00:32:45 haeffb: you have to start an open source project to get people to write code for you for free ... Nov 04 00:33:56 rwhitby: heheh i did that, it totally works Nov 04 00:33:57 Hi all! Nov 04 00:34:17 hey JenP Nov 04 00:34:42 hi pandora Nov 04 00:35:02 pandora--: why do you think I started webos-internals.org ;-) Nov 04 00:35:50 How do i do the "* ElVox smashes..." ??? Nov 04 00:36:08 rwhitby: haha Nov 04 00:36:08 or "* rwhitby goes to get a seat..." ?? Nov 04 00:36:26 haeffb: type "/me does something" Nov 04 00:36:54 anybody wanna enter my IRC chats for me? (beating the horse to see if it's dead yet) Nov 04 00:37:06 * haeffb says thanks! Nov 04 00:39:24 * DarthPooh slaps haeffb with a Trout. Nov 04 00:39:42 Topple Ball is sweet Nov 04 00:39:45 yeah, I went there Nov 04 00:39:48 Who made that? are they here? Nov 04 00:39:58 And why am I getting no trout lovin', DarthPooh? Nov 04 00:40:17 freakout: I'll old school your ass if you want me to Nov 04 00:40:31 * freakout-work is gagging for it... Nov 04 00:40:41 * DarthPooh slaps freakout with a insanely large Trout Nov 04 00:40:53 * DarthPooh say .c/a/an Nov 04 00:42:06 * freakout-work gets the shivers Nov 04 00:42:08 * haeffb still waiting for someone to respond for me... Nov 04 00:42:29 DarthPooh: I got my Pre yesterday. Freaking love it so far, although I'm still breaking it in Nov 04 00:42:55 DarthPooh: Biggest thing I miss is the d-pad. Selecting the cursor positions sucks a big rotten trout Nov 04 00:43:05 Does VirtualBox 3.0.10 work ok with the emulator? I'm on 3.0.4 and know ones of the updates wasn't kosher. Nov 04 00:43:22 jjlucsy: I've updated virtualbox all the time with no emulator problems Nov 04 00:44:38 Thanks rwhitby, I'll dl and give it a whirl Nov 04 00:48:11 The progress slider is a pain to work with Nov 04 00:59:06 reality9110: reality9110: when you have a few minutes can you pm me about some admob stuff? Nov 04 00:59:18 double-tab tap Nov 04 01:01:41 * jjlucsy listens to the silence. Nov 04 01:01:44 Is it possible to install a client-side SSL certificate in the web browser? Nov 04 01:10:17 guesses everybody went off to listen to palmcast? Nov 04 01:11:20 The silence is deafening. Nov 04 01:13:49 well...lets break up the silence... I thought I would let any beginners out there know that we are presenting Saturday several intro to webOS sessions, live from Iowa Code Camp in Des Moines. Totally free by the way. Nov 04 01:13:50 https://www1.gotomeeting.com/register/807293593 Nov 04 01:14:19 probably quiet in here because everyone's on the precentral palmcast Nov 04 01:14:27 www.precentral.net/palmcast-live Nov 04 01:15:41 webosschool-tm: I'll tweet that out later, though Nov 04 01:18:07 thanks. hopefully we will get lots of people in there...looking forward to it. Nov 04 01:22:00 FYI - my wife giggles every time I tell her she's getting a pixi to replace her Centro Nov 04 01:24:23 I'm looking forward to the Pixi. I always like the candybar form-factor. Nov 04 01:25:56 and duel cpu :) Nov 04 01:32:30 oc80z: The CPUs fight each other? Nov 04 01:35:13 * haeffb plays dueling banjos... Nov 04 01:38:29 I wonder what happens when one CPU wins? Nov 04 01:40:32 the losing cpu's name is smeared in the pages of history? Nov 04 01:46:51 bah, can't get a list item to delete properly Nov 04 01:53:16 I think somebody needs to make a prototype-like library for mojo Nov 04 01:54:38 why a prototype-like library? whats wrong with the embedded prototype? Nov 04 01:55:07 As in, make certain functions easier...such as deleting an item from a list. Nov 04 01:55:29 <_droO> anyone have any experience with using ajax in webos apps? Nov 04 01:55:38 _droO: a little Nov 04 01:55:48 a little too Nov 04 01:55:49 _droO: a lot Nov 04 01:56:00 Actually just figured it out, nothing to do with the list, I had a typo somewhere. Works great now. Nov 04 01:56:24 * haeffb hates typos in javascript Nov 04 01:56:55 <_droO> im having problems using ajax.request to do a post to a website Nov 04 01:57:02 <_droO> within my webos app Nov 04 01:57:06 I don't post. Nov 04 01:57:11 <_droO> get requests work fine Nov 04 01:57:14 <_droO> but i need to do post for this Nov 04 01:57:16 <_droO> :[ Nov 04 01:57:20 _droO: Post code. Nov 04 01:57:25 webos.pastebin.com Nov 04 01:58:37 http://www.captain.at/howto-ajax-form-post-request.php ? Nov 04 01:59:14 You can usually do a post with a get as well. Nov 04 01:59:32 <_droO> cant Nov 04 01:59:36 <_droO> site only allows post Nov 04 01:59:44 Post...the...code. Nov 04 01:59:49 <_droO> www.pastebin.org/50690 Nov 04 02:00:54 Are you posting body or does the site require headers? Nov 04 02:01:17 Because what you posted...well, it's not a whole lot to troubleshoot Nov 04 02:01:25 <_droO> i thought it may require headers, but i dont think it does Nov 04 02:01:43 <_droO> and its just an empty body Nov 04 02:01:50 <_droO> and the site is supposed to return an id Nov 04 02:01:52 <_droO> as json Nov 04 02:02:06 hmm...haven't used 'requestheaders' before Nov 04 02:02:13 <_droO> the request works in firefox Nov 04 02:02:24 <_droO> using live http headers Nov 04 02:02:34 The site doesn't care about any header information, as near as I can tell. All it cares is that the HTTP_METHOD is POST. Nov 04 02:02:41 hello all Nov 04 02:03:04 _droO: add a contentType: 'application/x-www-form-urlencoded', Nov 04 02:03:32 <_droO> i did in oheader Nov 04 02:03:35 _droO: also check this for an example of how to get JSON back, http://webos101.com/Getting_JSON_From_An_External_MySQL_Database Nov 04 02:04:01 _droO: Use a separate contentType Nov 04 02:04:02 <_droO> 'application/x-www-form-url-encoded; charset=utf-8' Nov 04 02:04:07 <_droO> okay Nov 04 02:04:33 the Ajax request in there is very simple with no headers being sent, so it may not work if you need them Nov 04 02:05:05 <_droO> ya, i dont think the headers matter much tho Nov 04 02:05:26 <_droO> the only thing i can think of is it may block any referers other than the host Nov 04 02:05:42 <_droO> does it work trying to set referer? Nov 04 02:06:02 unknown, I've never messed with that Nov 04 02:06:35 The real question is: Can you make a POST request in javascript to another domain? GET is simple. But I don't think you can do POST. Nov 04 02:06:38 <_droO> reality9110-im getting same result. onFailure & passing data "[object Object]" Nov 04 02:06:54 ElVox: yes, you can do POST with an Ajax Request Nov 04 02:07:28 from a webOS app to an arbitrary host "in the cloud" Nov 04 02:10:01 <_droO> but if the site im posting to requires referer to be itself, can i set that in the ajax request? Nov 04 02:10:11 _droO: How about you post the actual site and code? Nov 04 02:10:33 <_droO> nevermind, referer doesnt matter Nov 04 02:10:52 _droO: then does it work if you don't set 'responseHeaders'? Nov 04 02:11:07 er requestHeaders Nov 04 02:11:14 <_droO> no it works if i use live http headers Nov 04 02:11:18 <_droO> and change referer Nov 04 02:11:57 <_droO> the problem i think is the host has to equal the domain Nov 04 02:12:01 okay, I'm confused...if referer doesn't matter, why need it? Nov 04 02:12:06 <_droO> and you cant set host in header for ajax.request can u Nov 04 02:12:06 <_droO> ? Nov 04 02:12:40 and have you tried setting each of the query parameters as discrete objects in the 'parameters' property of the Ajax request? Nov 04 02:13:01 <_droO> there are no parameters Nov 04 02:13:14 <_droO> you post an empty post to this url, and it should return an id Nov 04 02:13:17 oh, I see Nov 04 02:13:36 <_droO> but in header, if host doesnt equal the domain, it doesnt work Nov 04 02:13:54 <_droO> so i dont know its showing as host in header, when doing ajax.request Nov 04 02:14:06 <_droO> what its showing* Nov 04 02:15:08 this appears to be a security "feature" of XmlHttpRequest Nov 04 02:15:14 cannot change referrer Nov 04 02:16:56 hey _droO, send your AJAX request to this location instead of the server you are targeting to see the headers: http://stackulator.com/beta/dumphead.php Nov 04 02:17:27 <_droO> k Nov 04 02:18:26 actually that isn't going to tell you anything nevermind :D Nov 04 02:19:18 * ElVox sighs Nov 04 02:20:37 <_droO> it successfully sends a post request there Nov 04 02:20:44 <_droO> but i dont think its returning the header info Nov 04 02:20:44 <_droO> ;/ Nov 04 02:20:57 <_droO> it runs onSuccess, but data is blank Nov 04 02:21:46 ?? Nov 04 02:23:13 ?? Nov 04 02:27:12 wow up to 102 online, nice Nov 04 02:27:35 i am enjoying the discusion.. Nov 04 02:28:20 why does new tweed use location services? Nov 04 02:29:38 I thought tweed always did. Used by the "Nearby" functionality. Nov 04 02:30:18 could be. Nov 04 02:55:17 * jjlucsy is hunting wabbits! Nov 04 02:56:22 * bryanroth is squashing bugs Nov 04 02:57:30 * haeffb is reformatting 5 years of fuel data to import into auto/mileage app Nov 04 02:57:49 * haeffb I mean hunting wabbits. Nov 04 02:57:53 lol Nov 04 02:59:05 lol, those darn wabbits, always causing grief **** ENDING LOGGING AT Wed Nov 04 02:59:57 2009