**** BEGIN LOGGING AT Sun Dec 13 02:59:57 2009 Dec 13 03:01:48 dawm: i think everyone should Dec 13 03:19:10 fyi video game awards are on spike Dec 13 03:19:27 i dont get spikehd so i dont watch spike anymore Dec 13 03:19:45 and im off to bed Dec 13 03:26:29 Is there any way to see how many downloads an app has? I wish they would have kept it like it was before the paid apps came where you could see it on the app's page. Dec 13 03:28:49 There's a patch you can install from Preware, but as a warning, the download counts have frozen as of earlier this week. Dec 13 03:29:27 How does the patch gather that information? Dec 13 03:29:58 uncomments a line of code Dec 13 03:30:04 that data was already there, just not displayed Dec 13 03:31:17 Why did they include it at first and then remove? Dec 13 03:32:23 hi Dec 13 03:32:43 our best guess is that the number of downloads is a poor estimate of the number of SALES Dec 13 03:32:54 since the download count includes updates and re-downloads Dec 13 03:32:59 as well as purchases Dec 13 03:33:08 so they turned it off when the first paid apps came out. Dec 13 03:33:14 but the data was still on the feed. Dec 13 03:33:18 yeh Dec 13 03:33:48 so not accurate at all? Dec 13 03:34:18 oh, perfectly accurate when first updloaded. Dec 13 03:34:38 but a new bug froze the numbers about a week ago. A high priority ecr is in on that. Dec 13 03:34:42 not if counted updates Dec 13 03:35:17 not if the code hasn't updated yet Dec 13 03:35:30 anyway, there's a new dev portal coming "soon" Dec 13 03:36:06 anyone know why reviews dont show up properly unless you click the reviews button the app's page? Dec 13 03:36:27 in the app catalog Dec 13 03:38:39 God...reviewers are retarded Dec 13 03:39:06 y u say that Dec 13 03:39:11 does mojosdk not work in aptana standalone? Dec 13 03:39:20 TheGamerAccess: Because they are Dec 13 03:39:48 They may as well say, "The app didn't turn my phone in Voltron! 0 stars!! Dec 13 03:39:50 " Dec 13 03:41:57 swap & drop 0.5.2 submitted.. over the weekend i dont expect much, but next week level mode hits :P Dec 13 03:42:51 I have an app that turns your phone into voltron Dec 13 03:44:17 does voltron work with the touchstone? Dec 13 03:45:48 no :( Dec 13 03:46:18 Palm should clean up the review system Dec 13 03:55:21 reviews are currently broken the same as download counts are currently broken. Dec 13 03:55:44 But yes, reviewers show the average intellegence of a brain damaged fruit fly Dec 13 04:01:51 why it nothing ever simple Dec 13 04:02:18 why does my emu kill my nic card? I think I missed a step Dec 13 04:17:32 Rick-work: You should see some of the reviews for my app Dec 13 04:18:20 who wants to lend me $200k Dec 13 04:18:23 to buy a domain Dec 13 04:19:02 Some guy gave it one star because it didn't have his Power Ballad Christian Rock station. Forget that it has 100,000 other stations...no no no. We must listen to our Christian rock ONLY on that one station. Nothing else will do! Dec 13 04:19:12 dude that was me Dec 13 04:19:17 i'm pretty pissed too Dec 13 04:19:20 I'll kill you Dec 13 04:19:24 real thats harsh Dec 13 04:19:34 power ballad LOL Dec 13 04:19:36 the ranking I mean Dec 13 04:19:38 :) Dec 13 04:19:54 People expect the apps to be better than iphone apps Dec 13 04:19:59 so i see you hate reviewers Dec 13 04:20:35 nope Dec 13 04:20:37 but Dec 13 04:21:04 eekfuh3: I do. I'll admit it. Dec 13 04:21:12 oy Dec 13 04:21:49 lol Dec 13 04:21:53 stupid nickserv Dec 13 04:23:02 Woah. $10,000 is a bit too much for my vacation... Dec 13 04:23:15 Eh, there's no reason from a consumer standpoint that Pre shoudlnt have apps equal to the iPhone Dec 13 04:23:38 that is true Dec 13 04:23:47 too bad the SDK isn't making that possible Dec 13 04:23:49 It's really only as a dev that one gets an explination for the pres lacking prowess Dec 13 04:24:18 i dont think Palm will communicate it Dec 13 04:24:23 because that will make them look REALLY BAD Dec 13 04:24:27 even in CAPS Dec 13 04:24:34 Lol Dec 13 04:25:31 Hopefully palm will get on the ball someday soon and well see the real potential of webos unlocked, and the pre hardwares potential for that matter Dec 13 04:26:28 I'll be content when we get webgl Dec 13 04:26:41 Actually the sdk is very usable, its the devs who arent using its potential. Dec 13 04:27:04 WebOS is extremely powerful when used with the cloud, or server side processing Dec 13 04:27:39 You may not have all of the required low level items, but it is up toa developer to package them properly Dec 13 04:28:10 and nonlocal, I agree, consumers have every right Dec 13 04:28:50 From a media side, seeing as that's apparently what I specialize in for WebOS, it's incredibly weak Dec 13 04:29:06 Uh? How about my gpu even being turned on? If your gonna sell webos as a "cloud phone" we need some genuine Server side processing goin on Dec 13 04:29:48 If you call palms shoddy backup solution "the cloud" then I'm goin to sternly disagree Dec 13 04:31:40 Webos shouldn't forego binary coding like c or java, it should simply offer less daunting options like js and HTML As well as something more powerful Dec 13 04:32:11 Or at least incorporate the best current web technologies like webgl and html5 Dec 13 04:34:16 I'm pretty sure HTML5 is in.... Dec 13 04:34:39 And, I'm pretty sure they hired some really famous graphics guy... Dec 13 04:34:49 so, yeah...we'll see Dec 13 04:35:31 sugardave: Are you actively able to pull ads from adfonic? Dec 13 04:35:41 I'm not saying they won't, jut that I hope hey do Dec 13 04:36:06 reality9110: I was able to pull text ads from them, but not doing it atm Dec 13 04:36:19 What was your fill like? Dec 13 04:36:28 I'm still QW and phasing out Yule Log to the paid app side Dec 13 04:36:34 fill rate with adfonic was HORRIBLE Dec 13 04:36:40 I'd get like 8 ads, then nothing for hours Dec 13 04:36:45 Bah Dec 13 04:36:47 Pointless Dec 13 04:36:52 yep Dec 13 04:37:17 I've supposedly got 216 companies approved for ads, but...no ads Dec 13 04:37:21 Smaato is terrible as well. Dec 13 04:37:36 lame Dec 13 04:37:49 QW has been pretty solid for me from a fill rate standpoint Dec 13 04:37:54 mid-to-high 90s Dec 13 04:38:11 I'm premium with QW so I'm at 50% Dec 13 04:38:20 oh yeah, Mr. Fancy ;) Dec 13 04:38:49 I wonder what would happen if I ramp up the rate to increase impressions with QW Dec 13 04:39:01 So, do be a favor and define "fill rate" for me? Dec 13 04:39:15 Rick-work: requests vs. impressions delivered Dec 13 04:39:37 meaining that I request an ad, and they don't give me one? Dec 13 04:39:41 Why would they DO that? Dec 13 04:39:58 Too much inventory Dec 13 04:40:24 meaning, too many people running apps vs the number of clicks that the advertisers will pay for? Dec 13 04:40:36 Yeah, too many publishers Dec 13 04:40:48 ah-ha...that makes sense Dec 13 04:40:53 So, what do you get when they don't have ads? Dec 13 04:41:00 psa's? Dec 13 04:41:04 Nothing Dec 13 04:41:07 I think you get nothing Dec 13 04:41:18 Cheering users? ;) Dec 13 04:41:22 My script rolls over to another ad network. And if that fails, to another. Dec 13 04:41:47 on the next display, do you go back to the top of the list? Dec 13 04:41:51 so, is the ultimate roll over google text ads? There's an unlimited number of those..... Dec 13 04:42:07 sugardave: Yeah Dec 13 04:42:25 Rick-work: Adsense mobile isn't open to WebOS yet Dec 13 04:42:32 :-( Dec 13 04:42:52 any idea why not? Dec 13 04:43:06 Probably market share Dec 13 04:43:08 * zsoc wonders when adsense will go mobile... with good platform support Dec 13 04:43:12 I've never used any ad stuff before this experiment...will adsense be worth it? Dec 13 04:43:23 Tiny market for a multi billion dollar advertisement company Dec 13 04:43:24 zsoc: They are already mobile Dec 13 04:43:30 If I had to guess Dec 13 04:43:42 They're focusing on the Iphone and Android (of course) Dec 13 04:43:47 duh Dec 13 04:44:17 dawm: You around? Dec 13 04:44:26 so, adsense doesn't have a "generic" API a la what we were doing with all the other networks? Dec 13 04:44:31 reality9110: yes yes... i thought about that after my elipses.. hence the support comment Dec 13 04:44:45 s/elipses/ellipsis/ Dec 13 04:44:49 I've used adsense nonmobile and it was a pleasant experience so I don't see why not Dec 13 04:45:03 zsoc: They've got good support on the mobile side due to a very limited number of publishers Dec 13 04:45:14 Ellipsis Dec 13 04:45:25 nonlocal: i corrected myself :P Dec 13 04:45:27 * zsoc shuts up now Dec 13 04:45:31 wonder what happens if you use your adsense non-mobile account to pull ads on mobile..... Dec 13 04:45:51 Google Death! Dec 13 04:46:58 probably nothing...how would they know it's not coming from a "regular" Web server? Dec 13 04:47:00 Rick-work: That's a pretty wonderful idea. Dec 13 04:47:10 They cancel your adsense acc for ToS violation and ou forfeit your revenue Dec 13 04:47:45 especially if you route all the ad requests THROUGH your server in the first place... Dec 13 04:47:52 nonlocal -- cite? Dec 13 04:48:18 Un momento, I'm on An iPhone let me find a link Dec 13 04:54:14 well, Dec 13 04:54:33 looking at the program policies, it's pretty straightfforward to do adsense for mobile content. Dec 13 04:55:02 got a link? Dec 13 04:55:07 and it's pretty straightforward to do a webview widget which would pull content off a dedicated web site..... Dec 13 04:55:25 https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=75763 Dec 13 04:55:36 Rick-work: that's what I would do if TOS limit it to your "one" server Dec 13 04:59:14 it LOOKS like if I have a nice dynamically created page with nice dynamically developed content, then Dec 13 04:59:46 it looks like I can serve up adsense for mobile on that page with good fill rates.... Dec 13 05:00:23 The tos only says that: Dec 13 05:00:23 and i don't see any tos that suggests that my prodicng an app with webview widgets that grabs those pages is evil.... I mean, I'm servicng them up FROM theose pages... Dec 13 05:00:30 or otherwise incorporate the Ads, Links, Search Results, or Referral Buttons in, any software application, Web site, or other means other than Your Property(ies), and then only to the extent expressly permitted by this Agreement Dec 13 05:01:00 * zsoc creates 50 ridiculous web content serving apps, puts adsense on them, and changes job description to "Goes to the mailbox to get checks" Dec 13 05:01:06 Outside of that the tos seems pretty lack on where you can put adsense Dec 13 05:01:18 nonlocal that's how I read it. Dec 13 05:09:16 I don't typically pate but here's the rest Dec 13 05:09:21 Paste* Dec 13 05:09:28 or (xi) engage in any action or practice that reflects poorly on Google or otherwise disparages or devalues Google’s reputation or goodwill. You acknowledge that any attempted participation or violation of any of the foregoing is a material breach of this Agreement and that we may pursue any and all applicable legal and equitable remedies against You, including an immediate suspension of Your account or termination of this Agreement, Dec 13 05:09:28 pursuit of all available civil or criminal remedies. Dec 13 05:10:23 So, they can axe you but whether or not they will is a diff story Dec 13 05:10:43 this leads to the iphone 100K apps problem Dec 13 05:23:18 Something needs to be fixed in my ad network. Admob got 1.5 million request today and only 12785 fills. Dec 13 05:23:57 That's just...just absolutely pathetic Dec 13 05:26:02 That's not pathetic, that's downright broken . Dec 13 05:27:56 I don't even know how that's possible. Dec 13 05:28:32 How can a fill rate be less than 1%? Dec 13 06:41:33 can I change the application the web browser uses to open downloaded files? if not, can I access the downloaded files from another application? Dec 13 07:50:49 ispiked you -can- change it Dec 13 07:50:58 and you can set associations Dec 13 07:51:11 but not through any approved api, you'll end up having to patch the OS. Dec 13 10:32:54 anyone know where the application specific cookies are stored? I stored a too long json object in a cookie, and I can't seem to get rid of it now.. :( Dec 13 10:36:29 found it.. had to delete all of them though :/ Dec 13 14:59:01 anyone know if there is a way to dynamically update the contents of a popup menu? Dec 13 14:59:40 change the model? Dec 13 15:11:27 Bmyers_qwerty: Well, that's the key, what model? Dec 13 15:13:23 guess the arg I pass in might be the model in this case.. trying that Dec 13 15:16:53 Bmyers_qwerty: Nope. no luck :/ Dec 13 15:35:14 hey if I get a replacement phone from asurion, they gave me a new battery as well, does that mean i have to send back the old battery as well? ;x Dec 13 15:37:30 hi Dec 13 15:37:34 phb_ change the model and call modelChanged Dec 13 15:42:30 Bmyers_qwerty, I don't think it'll work because the submenu is a kind of special. Did you try it? Dec 13 15:44:29 Bmyers_qwerty, tried this, just to verify I didn't mess up the model somehow: http://webos.pastebin.com/m445a3154 Dec 13 15:47:21 looking Dec 13 15:49:46 so what is it exactly u want to do? Dec 13 15:50:14 Change the labels on some of the items in my submenu after it was opened Dec 13 15:51:11 kind of a strange thing to do, I know. I might just change the UI so it won't be necessary Dec 13 15:52:38 and when its open, what event will trigger its change? Dec 13 15:52:42 phb_ so you changed the model? Dec 13 15:52:53 did you then run notice model changes? Dec 13 15:53:03 Rick_work, there is no model per se Dec 13 15:53:03 (((just got here))) Dec 13 15:53:15 phb, if it's a menu, there's a model. Dec 13 15:53:29 Rick_work, should be.. but it's not recognized =) Dec 13 15:54:08 he means the items: list Dec 13 15:54:10 ok Dec 13 15:54:24 Bmyers_qwerty, tried that too Dec 13 15:54:37 so it's a list? not a menu widget? Dec 13 15:55:09 are you putting a list widget INSIDE a list widget? Dec 13 15:55:12 Rick_work, scenecontroller.popupSubmenu(model) Dec 13 15:55:29 ok Dec 13 15:56:34 sorry, I got here late, can you give me the walk through of the problem again, I'm very very confused. Dec 13 15:57:16 Sure. So I'm doing a popupmenu using the scenecontroller.popupSubmenu API. If the user leaves the popup open for some time, I have to update the contents of the now already open menu Dec 13 15:58:09 doing a modelChanged on either the argument to popupSubmenu() or to the items: array inside of it gives Warning: WARNING: modelChanged() found no watchers. Did you call it with the ORIGINAL model Dec 13 15:59:35 ahhh Dec 13 15:59:38 got it now. Dec 13 15:59:49 That's because the popupsubmenu isn't a list in that sense. Dec 13 16:00:01 and so you are correct that it lacks a model. Dec 13 16:00:43 There's no api exposed for modifying that dynamically. Dec 13 16:01:05 bummer Dec 13 16:01:07 you'll need to read framework code to find popupsubmenu, but I suspect that it's fairly hard coded. Dec 13 16:01:21 plan B Dec 13 16:01:37 and without doing an inspector thing, I don't know what element it's a child of so walking the dom is tricky to. Dec 13 16:01:58 But you COULD do an inspector thing, and find out what element it's a child of..... Or read code. Dec 13 16:02:39 yeah. It's a fairly obscure case still, so I'l leave it for later. Was just hoping there was a quick way of doing it :) Dec 13 16:03:48 can u add an identifier in the items: object to find it and update it? Dec 13 16:04:52 maybe u can muck with it with innerHTML once you dig it up Dec 13 16:04:56 just a guess Dec 13 16:05:02 sdk/share/refcode/webos-framework/(some number)/javascripts/widget-submenu.js Dec 13 16:09:06 I see nothing in there that supports an update... Dec 13 16:26:20 Rick_work, Bmyers_qwerty : thanks for your help. I'll let you know if I figure out a way :) Dec 13 17:16:58 morning fello devs Dec 13 17:17:13 hi all Dec 13 18:12:15 where can I find documentation on which html5 canvas things work on prewebkit? Dec 13 18:17:41 in the html5 canvas docs on developer.palm.com Dec 13 18:18:17 http://developer.palm.com/index.php?option=com_content&view=article&id=1682 Dec 13 18:19:53 prototypic that what you need? Dec 13 18:21:31 nothing specifit, trying to figue out what my first app will be, I keep looking at html5 experiments to find them only partially working. Dec 13 18:21:37 *specific Dec 13 18:23:44 prototypic been writing any webOS stuff yet? Dec 13 18:23:52 or have experiance with js development? Dec 13 18:25:15 yes I web dev for a living, web apps and mashups, I work for rssbus.com currently. Dec 13 18:25:30 nothing webos yet tho, Dec 13 18:26:19 I got my environment setup last night and have to say I likebthe mvc idea. Dec 13 18:26:42 a recent project I did was with asp.net mvc Dec 13 18:28:37 I've been workingo on a beginners-level intro to webOS dev. Interested in taking a look at it? Dec 13 18:29:02 totally Dec 13 18:30:40 can you re pm me I'm on wirc and lost the pm card Dec 13 18:42:38 sure. had to go do something for wife... Dec 13 18:44:14 dang it this irc client doesn't seem to give me my pms. can you email me? genecyber@gmail.com Dec 13 18:44:30 I'm full of fail today Dec 13 18:45:06 gotit thx Dec 13 18:48:58 this is great Dec 13 18:49:53 it took quite a few days to put together a small portion of what this covers Dec 13 18:52:22 you have some apps released? Dec 13 19:15:21 I find the macos to be lacking compared to win 7 Dec 13 19:16:08 Anything in particular, or just overall? Dec 13 19:17:38 So many things Dec 13 19:19:00 For one the software for mac isn't as good and abundant like windows. The dock thing isn't as easy to manage open programs. Hardware that don't work with mac etc Dec 13 19:19:48 It kidna reminds of ubuntu just more polished and little more user friendly Dec 13 19:21:25 there are a lot of good programs written for osx .. i really haven't found a good single place to look for software, though Dec 13 19:21:31 so it's still an exploration Dec 13 19:21:42 what type of stuff are you looking to do ? Dec 13 19:22:33 Damn wrong channel Dec 13 19:23:13 I have messed with osx enough to not want to use it again Dec 13 19:23:23 oh interesting Dec 13 19:23:30 i like it Dec 13 19:24:02 You can find software but from my experience the software or windows always had a ton more features and more polished Dec 13 19:24:49 yeah i suppose it depends on what you're looking to do .. Dec 13 19:25:00 a lot of software i use for work is not available for osx Dec 13 19:25:19 Any word on flash for webos Dec 13 19:25:46 You have mac hardware or built your own hackintosh Dec 13 19:26:20 i have a macbook pro Dec 13 19:27:19 Ok Dec 13 19:27:21 flash was demoed for webos i thought a couple months ago .. i haven't heard anything since Dec 13 19:27:57 They said beta by the end of the year Dec 13 19:28:45 did they? Dec 13 19:32:25 I thought it was 1Q 2010? Dec 13 19:32:37 or was that for release? Dec 13 19:32:48 That's release. Dec 13 19:32:56 gotcha Dec 13 19:32:59 Beta was still claimed for December, though it's getting late. Dec 13 19:33:26 The place holder is already there Dec 13 19:34:23 I wish the pre could play xvids Dec 13 19:45:09 I hear that marss, I want xvid support as well Dec 13 19:48:30 What does everyone use for a RSS feed reader? Dec 13 19:49:11 I use Google Reader. Has a reasonable mobile version, and keeps track of what I've read no matter where I read it. Dec 13 19:49:43 FoxFireX: so you just have the bookmark saved and you open it in your browser on your webos device? Dec 13 19:49:57 Yep. It's first on my list of bookmarks, actually. Dec 13 19:50:01 hm Dec 13 19:50:02 i wonder how difficult it would be to hack into the internals of the video player and add a codec... Dec 13 19:50:19 Guess I could even save a bookmark as an icon, but I don't like to clutter. Dec 13 19:50:31 istojic_: easy to add the codec, it's getting mediaserver to then recognize that as a valid format that's basically impossible. Dec 13 19:50:45 Anyone use Feeds? Trying to figure out if it's worth the $5 Dec 13 19:50:58 i'm not deep into internals to know what mediaserver is... Dec 13 19:51:16 i decided to start by writing a free/open source FB app first, then i'll move onto an RSS reader :-p Dec 13 19:51:43 because all current FB apps suck camel's dick Dec 13 19:52:04 heyyyy Dec 13 19:52:08 istojic_: to my understanding, it's the closed source java service that interacts between palms mojo's app and backend C services to both read from video/audio (and sink them to screen/speaker) and write to (like the camera app) Dec 13 19:52:13 that could be slightly inaccurate tho Dec 13 19:52:40 istojic_: nice idea would be nice ill throw in some help also Dec 13 19:56:20 atlanta: i already have a working login/feed/comments scenes... i'm now working on sending updates/sharing stuff... Dec 13 19:58:15 i could post some screenshots maybe... Dec 13 19:59:02 zsoc: How's the service coming along? Is it good to download at this point? Dec 13 19:59:55 zsoc: as long as we're aware that it'd be a nasty hack, i see no problem in decompiling some java. jad + some patience and you can get lots of stuff done... :-/ Dec 13 20:01:10 i didn't really look at the internals yet, i'm still playing at the topmost level, but then... i've only been at this for a week Dec 13 20:06:14 istojic_: put it on github Dec 13 20:06:53 that's not a half-bad idea, actually... Dec 13 20:07:17 i'd need to pass you the API keys via a different method, i think FB frowns on sharing those... Dec 13 20:07:20 yup yup then be able to collabo on it Dec 13 20:07:30 what you mean Dec 13 20:07:30 ? Dec 13 20:07:30 and the damn problem is that you need to have an app on fb for it to work Dec 13 20:07:37 oh ok Dec 13 20:07:38 nevermind Dec 13 20:07:41 nono Dec 13 20:07:42 had to re read it Dec 13 20:07:53 ok thats fine Dec 13 20:08:04 i mean, that part is simple, i'm not doing any fbml crap anyway, so... it's just rest API calls... Dec 13 20:10:19 cool Dec 13 20:11:36 fb's js api was so simple to use Dec 13 20:12:10 I made a simple js fb app in a few hours a few weeks ago Dec 13 20:13:19 but that's besides the point, i mean, you could rewrite that think in an hour anyway, it's about the UI and the complete feature set... Dec 13 20:17:56 yeae Dec 13 20:18:09 istojic_: i probably can get a designer to make a good mock up for us Dec 13 20:18:25 i wanna find out how to do the chat shit but i heard thats locked down Dec 13 20:33:10 howdy folks Dec 13 20:37:00 anyone here know how to properly parse items in JSON? Dec 13 20:48:12 LoneStar34: what do you mean by properly parse? Dec 13 20:48:38 it would depend on what kind of object was serialized... Dec 13 20:49:15 in general use prototype's Object.evalJSON() Dec 13 20:49:34 that returns a JS object that reflects the object serialized as JSON Dec 13 20:50:41 If you are using the Prototype AJAX.Request class, there as an attribute that you can set to automatically eval response JSON Dec 13 20:53:37 jfelectron: I have my JSON working, execpt not sure how to get "just" title or just "basummary" from the following: http://www.buildasearch.com/api/v1/json/json_Parser.php?e=urloid%20uoid.me%20clones Dec 13 20:54:29 I just want to parse either "title" or "basummary" Dec 13 20:54:52 want to display only one or other on scene Dec 13 20:56:57 http://www.prototypejs.org/api/string/evalJSON Dec 13 20:57:34 If you call Prototype's evalJSON() on the respnse JSOn string you should get a structure returned Dec 13 20:58:52 ok, thanks, will mess with it Dec 13 20:59:07 do you work for palm? Dec 13 20:59:19 nope Dec 13 20:59:50 just familiar with JSON through app development Dec 13 20:59:54 cuss, I have found a bug, with json, and displaying only one result: problem is it does not Dec 13 21:00:46 is it in the palm api or prototype? Dec 13 21:01:26 I think most if not all the JSON functionality is being handled by Prototype Dec 13 21:01:47 oh, so it might be a prototype bug Dec 13 21:03:14 If you are using AJAX.Request for a GET request to your buildasearch service above, then you can try setting evalJSON to true when you call the constructor Dec 13 21:05:19 jfelectron: do you have a quick code sample of the above "constructor call"? Dec 13 21:08:08 It will be something like var request = new Ajax.Request { serviceURL, { method: get, evalJSON: true, onSuccess: this.successCallback.bind(this), onFailure: this.FailureCallback.bind(this) }); Dec 13 21:08:46 Basically you give it the service url, the method and callbacks Dec 13 21:08:58 http://www.prototypejs.org/api/ajax/request Dec 13 21:09:09 The prototype documentation is pretty good Dec 13 21:10:00 if evalJSON is set to true, a structure containing the parsed response JSON will be passed to the OnSucess callback that you define Dec 13 21:10:59 jfelectron: thanks will work on the code Dec 13 21:11:07 Good luck! Dec 13 21:11:13 ciao Dec 13 21:13:58 thanks Dec 13 21:36:39 interesting that the Pixi is going to have WiFi on Verizon Dec 13 21:37:30 I think that was a mistake on sprints part Dec 13 21:37:48 To can wifi on the pixi Dec 13 21:38:03 yeah, that's strange....I thought it was a device cost-cutting measure Dec 13 21:38:46 Nah prob so it didn't stand out as a top level feature phone like the pre Dec 13 21:39:44 There was no valid reason for it to not have wifi. Dec 13 21:40:00 I just don't get the Pixi at all...I love webOS, but I would hate to run it on an ARM11 core... Dec 13 21:42:10 Its not bad from how I've used it so far, but I wouldn't switch from a pre. Dec 13 21:42:22 I would buy one for my wife Dec 13 21:46:15 how do you poll luna for a setting? Dec 13 21:46:26 like a setting from luna.conf? Dec 13 21:51:43 heh, my fiance is a geek too, she'd hate me if I suggested a Pixi :P (Hence, she too has a Pre) Dec 13 21:52:53 You should get her a dumbphone for xmas Dec 13 21:53:20 "I know all those complex features in the Pre have always confused you, so here you go!" Dec 13 21:53:42 Oh, and also, blonde hairdye Dec 13 21:53:45 ;> Dec 13 21:54:08 Let me rephrase that, is there a way to get luna.conf settings from luna-send? Dec 13 21:55:37 I'm would pref black hair dye but shed never go for that Dec 13 21:56:09 Dbsooner,not sure Dec 13 21:58:10 blonde...ick Dec 13 21:58:32 geek chicks are hot...not blondes... Dec 13 21:58:47 (unless they're geeks, perhaps) Dec 13 22:11:09 p\n Dec 13 22:27:30 what's the difference between Preware and webOS quick Install ? Are they both package managers that allow add/remove of the same set of apps ? Dec 13 22:28:38 Preware runs on the device. webOS quick install runs on your pc/mac. Both have access to the same feeds. Dec 13 22:29:39 okay, and both are independent of the sprint catalog, they only require Internet Access ? Dec 13 22:30:20 Thanks for the very clear-cut answer BTW. Dec 13 22:33:38 right...no apps to buy in there from sprint. Dec 13 22:33:56 Usually you use webOS quick install to install preware. Then you can use it from anywhere. Dec 13 22:34:58 wOSQI is also a great tool since it gives you a way to store the library of apps that you use so you can be on your feet again after a Doctoring your device... Dec 13 22:35:16 ...on your feet again quickly... Dec 13 22:36:26 Nice, I hadn't heard about it ... mine isn't doctored but it was originally a Sprint Phone that I'm using on another GSM network, so I guess the app catalog will stop working when I upgrade from 1.2.1 to 1.3.1 Dec 13 22:38:27 Why do both Preware and WebOS Quick Install require webOS Doctor? I'm guessing I need to download Sprint's webOS Doctor v 1.2.1 . Dec 13 22:39:49 You know...I haven't done that in a while and don't exactly remember the depends. Here's a great walkthrough if you haven't already found this page: http://www.precentral.net/how-add-homebrew-apps-patches-and-themes Dec 13 22:41:34 haha, yeah I'd found that page I was using a different walkthrough Dec 13 22:42:09 didn't even know you could use " upupdowndownleftrightleftrightbastart " for dev mode, the other walkthrough http://www.webos-internals.org/wiki/Application:Preware#Installing_Preware only mentioend the much easier webos20090606 Dec 13 22:45:06 webOS is gonna take a while townload on my 256Kbp/s DSL haha Dec 13 22:45:29 webOS Doctor, sorry Dec 13 22:45:52 it includes the novacom drivers so it can connect the phone, I believe Dec 13 22:46:34 ...and how are you using a Sprint CDMA phone on a GSM network? ;) Are you meaning that you're using it on Verizon? Dec 13 22:47:00 Perhaps, though the walkthrough does mention that WEBOS installs these itself and offers a way to install them separately Dec 13 22:48:34 Palm has not distributed a seperate copy of the novacom drivers. Since webos quick install can not COUNT on them being there, it relys on a copy of the doctor, which ALWAYS includes them. Dec 13 22:48:59 Cool, that's what I was thinking Dec 13 22:49:26 it's sad and once palm creates a redistributable novacom that requirement will go away. Dec 13 22:50:09 bah Dec 13 22:50:16 ah, Interesting Dec 13 22:51:12 Rick-work, so as long as the webos doctor's .jar file is in the same folder the install should work? Dec 13 22:55:44 Should, yeah Dec 13 22:55:54 so long as you're still talking about wOSQI Dec 13 22:56:13 You guys have any experience with a single background audio stream hosing performance of your app? Dec 13 22:56:30 I've noticed it slows things down a lot--even when the audio is muted. Dec 13 22:57:30 sure, I meant that I have downloaded WebOSQuickInstall.jar and I am downloading the 200MB webosdoctorp100ewwsprint.jar (Sprint 1.2.1 for the Pre since I have 1.2.1 version of webOS) and I will run WebOSQuickInstall.jar to install wOSQI (initially I did not realize that was the acronym, origianlly when I said I hadn't heard of it I thought randallagordon was suggesting another app) Dec 13 22:57:42 hope that all wasn't truncated Dec 13 22:58:38 oh hehe, yeah I was just shortening it Dec 13 22:58:51 a lot of folks just use QI Dec 13 23:19:09 Is there a way in the emulator to simulate hitting the power button or the device going to sleep? Dec 13 23:19:32 stuck trying to debug a fairly obscure error related to the power turning off mid-game. Dec 13 23:31:21 I like the sticker theme Dec 13 23:45:34 Or, for that matter, is it possible to actually get full logging from the device instead of the emulator? I seem to only get errors in the logs from the device. Dec 13 23:49:34 rbredow: haven't used it, but I hear palm-log is supposed to Dec 13 23:50:32 That's what I'm using. "palm-log -d tcp -f com.185vfx.paratrooper" works on the emulator with the logging settings set to verbose (99). The same command pointed at USB only shows errors. Dec 13 23:51:11 ah, lame Dec 13 23:51:32 device only shows error level, I guess....what about plain console.log? Dec 13 23:59:33 rbredow do you have an framework json that sets your logging level to 20? Dec 14 00:00:08 Yes. "logLevel":20 Dec 14 00:00:12 k Dec 14 00:00:13 weird Dec 14 00:00:20 Does it work for you on the device? Dec 14 00:00:42 honestly,, I don't know, I never have wanted to doo that. Dec 14 00:00:52 I use the emulator for debugging because it's so much fastr. Dec 14 00:00:58 Here's my whole framework_config.json: http://webos.pastebin.com/d729352d0 Dec 14 00:01:20 I've never been able to get anything other than errors to show on the device Dec 14 00:01:27 Yes...I do too usually. I just found a device-only bug however that's tricky to track down. Has something to do with when the device turn's off. Dec 14 00:01:42 and I think lemketron mentioned it the other day, and that it will be fixed "soon" Dec 14 00:01:47 I think that must be a performance thing on the device. Dec 14 00:01:49 That would be welcome. Dec 14 00:18:23 anyone here? Dec 14 00:20:27 rbredow: in my appinfo.json file, i set "debug: true" and then at the top of stage-assistant.js, "if (Mojo.appInfo.debug) { Mojo.Log.info = Mojo.Log.error; }" Dec 14 00:20:44 ah whoops he's gone Dec 14 00:24:34 hi all! Dec 14 00:24:39 howdy Dec 14 00:24:43 JenP Dec 14 00:24:56 anyone good at JSON here? Dec 14 00:25:07 not me Dec 14 00:25:12 hi LoneStar34 Dec 14 00:25:22 I can't seem to get any info from the following: http://pastebin.com/m666262ae Dec 14 00:25:27 howdy! Dec 14 00:28:17 This is probably obvious but I'm wondering the best place to put background updaters.Basically, I'm loading old data into the UI from a DB first. I Dec 14 00:28:19 I Dec 14 00:28:53 I'd like to then update the data, but release the UI with the old data while that's happening Dec 14 00:29:57 From the docs I'm unclear if setup() completes before the scene is activated. I'm uncertain whether to call the updater from setup() or activate() or somewhere else. Dec 14 00:33:37 JenP: congrats on the "feature!" Dec 14 00:33:53 hi haeffb! thanks Dec 14 00:34:20 and with that I am off to play some bball. later people. Dec 14 00:34:26 byes Dec 14 00:38:02 LoneStar34: the object being returned is slightly different than you might think Dec 14 00:39:20 The best way to see it is to plug your code into a html page and then use firebug or some other in browser JS debugger/console Dec 14 00:39:29 Both chrome and safari have them as well Dec 14 00:40:40 I did JSON=bb.evalJSON() on your string Dec 14 00:41:45 to acess the 'title': JSON.response.results.basresult[0].title Dec 14 00:42:00 which returns Urloid )) URL Shortener (( Shorten a Long URL Into Words )) Dec 14 00:43:40 The parser splits up the JSON into a bunch of JSON.response.results.basresult objects Dec 14 00:44:30 ok, let me text it our Dec 14 00:44:35 out Dec 14 00:46:00 basreult is an array of objects with structure {basummary: "",showurl: "", title: ""} Dec 14 00:46:39 so if you want the first title block that'd be JSON.response.results.basresult[0] Dec 14 00:46:57 oh ok, Dec 14 00:51:13 jfelectron: ok got a single result displaying: what if I wanted to display all "titles"? Dec 14 00:56:45 use pluck('title') on the basresult array Dec 14 00:57:00 blah=JSON.response.results.basresult Dec 14 00:57:10 blah.pluck('title') Dec 14 00:57:18 ["Urloid )) URL Shortener (( Shorten a Long URL Into Words ))", "Urloid Company Profile", "Urloid API Profile", "Urloid – Short URL Service", "I want to: Urloid - Short URL Service (( Shorten a Long URL Into Words ..."] Dec 14 00:59:04 The prototype Array inherits all the Enumerable class methods: http://www.prototypejs.org/api/enumerable/ Dec 14 01:00:35 jfelectron: thanks, I am new to JSON and prototype, as you can tell Dec 14 01:02:29 was there a convo here the other day about widgets inside a List widget? i tried the archives, but couldn't find it... Dec 14 01:03:07 specifically, i'd like a Spinner inside my List's emptyTemplate, nothing more than that... Dec 14 01:03:09 jfelectron: it all seems to work Dec 14 01:03:30 Lonestar34: my pleasure....prototype is magical! Dec 14 01:05:04 jfelectron: it seems I may be stripping code down Dec 14 01:06:03 I don't follow....stripping code? Dec 14 01:07:19 oh you means its escaping the html? Dec 14 01:08:50 jfelectron: i meant, getting rid of old code I was using. Dec 14 01:09:22 ahh...yeah...prototype lends to compacter and lighter code Dec 14 01:13:54 jfelectron: "pluck" is an actual function of prototype? Dec 14 01:14:27 Lonestar34: lol..yeah its a method of the Enumerable class, which arrays are a subclass of Dec 14 01:15:05 http://www.prototypejs.org/api/enumerable/pluck Dec 14 01:15:16 yeah removed "pluck" and everything failed, "pluck" away! Dec 14 01:18:07 awesome! Dec 14 01:19:32 does anyone know much about the app lifecycle? In particular when the various methods get called in relation to when the scene is actually rendered and he UI usable Dec 14 01:20:30 greetings, all Dec 14 01:21:09 http://developer.palm.com/index.php?option=com_content&view=article&id=1666 Dec 14 01:21:40 but it depends on what u mean by usable Dec 14 01:21:43 hola Bmyers_qwerty Dec 14 01:21:50 hey Jenp! Dec 14 01:21:55 hows it going out there? Dec 14 01:22:11 good! Dec 14 01:22:18 we've got rain! Dec 14 01:22:22 it's so cool! Dec 14 01:22:27 so do we! Dec 14 01:22:43 o, u got like uber rain out there tho huh? Dec 14 01:22:45 lol Dec 14 01:22:49 you guys can have some of our rain Dec 14 01:23:21 Bmyers_qwerty: Basically, I want to load data from a cahe and render the scene, but then update the data via an AJAX request Dec 14 01:23:55 Bmyers_qwerty: I'm not sure whether to call the updater within setup() or activate() or somewhere else Dec 14 01:24:03 activate Dec 14 01:24:40 but you'll need to have a way to update the widget outside of activate Dec 14 01:24:53 so just write 1 func if you can and call it from activate Dec 14 01:24:58 Bmyers_qwerty: So the scene rendering isn't dependent on activate returning? Dec 14 01:25:14 Bmyers_qwerty: Yes, the updating is encapsulated in a function Dec 14 01:25:46 no sure about ur last ? but, no activate doesnt return anything Dec 14 01:26:11 just call ur update func from activate. widgets dont really exist b4 that Dec 14 01:26:13 doesnt activate not fire until after the widgets are all rendered anyhow? Dec 14 01:26:29 so that wouldnt be an issue, jfelect Dec 14 01:26:34 u will need to call modelChanged Dec 14 01:26:59 Ahh OK...that's what I was unclear about, was when exactly activate is called Dec 14 01:27:10 yes I already have modelChanged in the updater Dec 14 01:27:15 what platform r u on? Dec 14 01:27:25 OSX Dec 14 01:27:34 why? Dec 14 01:27:39 on the emu? Dec 14 01:27:45 it's called anytime the scene is activated, i.e., given focus to. this happens after setup() and any time another action pushes the scene to the top of the stack Dec 14 01:28:05 u can ssh into the emu and log the app Dec 14 01:28:16 this will show you what happens when Dec 14 01:28:26 sirgeoph: Ok...thanks! Dec 14 01:28:32 setup,about to activate, activate, etc Dec 14 01:29:36 where u been JenP? havent seen u in a few Dec 14 01:29:48 Bmyers_qwerty: Yes....that is true....though the log is fairly verbose....easier to ask you guys :) Dec 14 01:29:51 i know...working 16 hr days to meet deadlines Dec 14 01:30:02 it will be like this till the 23 Dec 14 01:30:09 but after that I'll have a few days to catch up Dec 14 01:30:20 u go somewhere for christmas? Dec 14 01:30:24 but I have missed everyone :'( Dec 14 01:30:58 smiles...nope. I lock my door...take the phone off the hook and make it all about me and my guy Dec 14 01:31:17 gotta see snow for xmas.. Dec 14 01:31:29 i will...on tv Dec 14 01:31:35 oh! but Dec 14 01:31:41 ok, well dont eat the tv snow.. Dec 14 01:31:53 since it rained i broke out my super stylish uggs Dec 14 01:32:15 did u get a pair of those butt sneakers yet? Dec 14 01:32:54 was thinking of getting a pair for my wife for xmas but Dec 14 01:32:58 butt... sneakers? does not compute Dec 14 01:33:01 i dunno if that would send the wrong msg Dec 14 01:33:15 JenP: did you get your code working? Dec 14 01:33:32 sneakers from nike(?) that are supposed to give ur butt a workout Dec 14 01:33:35 LoneStar34 i haven't had a chance to even look at my code till today Dec 14 01:33:38 ladies sneakers (i think) Dec 14 01:33:41 but to answer ...no not yet Dec 14 01:34:00 maybe not such a good gift to get someone else.. Dec 14 01:34:04 Bmyers_qwerty sketchers have them too...there's a girl at work who swears by it Dec 14 01:34:07 never mind.. Dec 14 01:34:26 lol...yeah why don't you give them a subscription to diet pills to while you're at it Dec 14 01:34:27 wait, the sneakers _do_ something to your butt? Dec 14 01:34:35 funny. do they seem to work? Dec 14 01:34:39 zsoc suppose to tone your butt Dec 14 01:35:00 Bmyers_qwerty idk? I try not to stare at peoples butts at work Dec 14 01:35:02 Is there a workout video hidden inside of the sneakers? Dec 14 01:35:37 well, i'll do it for u. talk your pre to work and snap a pic ;) Dec 14 01:36:04 lol! oh yeah that WONT get me in trouble Dec 14 01:36:22 they frown at that now do they? Dec 14 01:36:22 but the shoes do look cool and I am intrigued. Dec 14 01:36:38 haeffb wife bought some we should ask him Dec 14 01:37:17 maybe u should ask him.. Dec 14 01:37:25 might not look good coming from me Dec 14 01:37:30 hehheheh Dec 14 01:37:34 i will when he gets back Dec 14 01:37:59 missed ya.. nobody else talks shoes here.. Dec 14 01:38:12 YES!!! my button works!!!! Dec 14 01:38:17 buncha code-wonks blabbing about javascript this this and that Dec 14 01:38:25 oh Bmyers_qwerty I'm always here for you....LOL Dec 14 01:38:44 geeze you'd think this was a programmers irc or something Dec 14 01:39:02 your first button? Dec 14 01:39:15 lol no...the stupid arrow for drawers Dec 14 01:39:29 did u end up doing the way i suggested? Dec 14 01:39:36 or is there something easier? Dec 14 01:39:36 nope Dec 14 01:39:42 i went way simpler then that Dec 14 01:39:50 show hide? Dec 14 01:40:42 defined a var as closed then on drawer open var = open Dec 14 01:41:17 do you change the css class or something? Dec 14 01:41:29 I can't believe no one has had some good stuff to put on webos101.com lately. Dec 14 01:41:32 * Roy-Pre101 taps foot. Dec 14 01:41:41 $('arrow3').style.background = 'url(images/palm-divider-arrow-dark.png) center -64px repeat-x Dec 14 01:41:46 hi Roy!!!! Dec 14 01:41:52 Howdy Dec 14 01:42:25 Roy-Pre101: will be adding stuff soon, just been trying to submit a 2nd app Dec 14 01:43:49 she's doing cool stuff and she's holding out on you Roy Dec 14 01:44:15 who? Dec 14 01:44:33 LoneStar34's a she? Dec 14 01:45:38 LoneStar: is a beer in Texas Dec 14 01:45:55 i cannot wait to finish this app... Dec 14 01:46:46 sirgeoph what's your app? Dec 14 01:47:02 JenP: Foursquare Dec 14 01:47:14 what's that? Dec 14 01:47:16 game? Dec 14 01:47:21 ... Dec 14 01:47:29 not exactly JenP Dec 14 01:47:36 foursquare's a social/game/city guide rolled in to one Dec 14 01:47:43 foursquare.com Dec 14 01:47:45 ohhhh that's cool Dec 14 01:47:45 social tracking app. sort of Dec 14 01:48:04 there's a client out for iphone and android, so i'm working on the webos one Dec 14 01:48:11 hmmm is this something that will let me track the wearabout of loved ones? Dec 14 01:48:18 cause i could have fun with that Dec 14 01:48:22 precentral did a profile of foursquare this weekend Dec 14 01:48:23 had a conference call with plam the other day. they're apaprently very excited about it Dec 14 01:48:29 palm, not plam' Dec 14 01:48:58 JenP if they use forusquare and checkin to venues, yep Dec 14 01:50:34 cool i'll have to look into it Dec 14 01:50:47 There's nothing like being the Mayor of McDonalds Dec 14 01:51:20 ? Dec 14 01:51:55 A Foursquare joke. Dec 14 01:52:35 I am now the mayor of the highway 24 pawn shop.... :-) Dec 14 01:52:41 (another foursquare joke) Dec 14 01:52:57 so far as I can see, no one in 30 miles of me is using it. Dec 14 01:53:10 ohhh i want a shoe store...a highend shoe store Dec 14 01:53:21 haha, yeah, it works best in bigger cities Dec 14 01:53:46 we just got it in new orleans in march and it's quickly picking up steam, but mayorships are easy to obtain still Dec 14 01:54:10 sirgeoph: so when do we need the sneak preview of the app? :> Dec 14 01:54:19 Topeka, ks. -- no go. :-) Dec 14 01:54:36 zsoc: you can check it out already: http://github.com/foursquare/foursquare-palmpre Dec 14 01:54:51 excellent Dec 14 01:54:52 it's a pre-alpha, so don't expect greatness just yet Dec 14 01:55:06 alpha launch this week, beat before new years Dec 14 01:55:09 beta Dec 14 01:58:01 only 35% more ass kicked? Dec 14 02:00:35 heh, i like "untitled file" under revision control .. good stuff Dec 14 02:02:47 can onee of you check if download counts and ratings are back???? Dec 14 02:02:54 someone just posted in the forums that they were. Dec 14 02:03:13 i'll look Dec 14 02:03:55 they are Dec 14 02:03:58 yup it's up Dec 14 02:03:59 rating stars work now too Dec 14 02:04:26 yeah!! Dec 14 02:06:46 ugh i cant get sms or incoming call to work on the emulator.. really annoying Dec 14 02:07:15 oh duh Dec 14 02:07:17 airplane mode :P Dec 14 02:10:29 oh cool i got an email from someone in germany Dec 14 02:10:58 haha, hey, there was a lot of ass already kicked Dec 14 02:11:06 "Sent von Mein Palm Pre" Dec 14 02:23:35 NEIN Dec 14 02:25:10 geist !! Hi ho Dec 14 02:31:20 need a beta test Dec 14 02:31:21 er Dec 14 02:37:08 german is such a romantic language Dec 14 02:39:11 german to me always sounds pissed off Dec 14 02:40:58 very romantic if you're a sadist or a masochist Dec 14 02:42:15 Bmyers_qwerty idk my vietnamese relatives always sound pissed off Dec 14 02:43:11 whenever i hear people speaking thai, they always sound confused due to the inflections they use Dec 14 02:43:28 Bmyers_qwerty: can u beta something for me Dec 14 02:46:17 soo.. for those interested.. im working on dragging for swapndrop Dec 14 02:47:53 what is that Dec 14 02:47:55 ? Dec 14 02:48:01 my bejeweled game Dec 14 02:48:06 oh cool cool Dec 14 02:48:15 who wants so beta test an app for me Dec 14 02:49:00 sorry atlanta i'm in the middle of something Dec 14 02:49:01 atlanta: send it over. i wont be able to look at it until later tho **** ENDING LOGGING AT Mon Dec 14 02:59:56 2009