**** BEGIN LOGGING AT Thu May 06 02:59:56 2010 May 06 03:13:22 soon, roy, soon May 06 03:19:15 anyone seen jfelectron? May 06 03:54:17 lemketron: What was the name of the brewpub we went to with the jquery folks? May 06 03:54:29 It's on the tip of my tongue and I can't remember. May 06 03:54:37 tied house May 06 03:55:20 ah, thanks May 06 03:56:39 anyone know if the emu runs pdk apps? May 06 03:58:13 not currently May 06 03:59:45 but the thinking is that since you can develop and debug native on the desktop, your next target is typically the actual device. May 06 04:03:03 yes I know May 06 04:03:09 didnt want to get my cable May 06 04:03:13 but doing it now May 06 04:12:49 do we have bluetooth sync available yet? May 06 04:17:47 Roy-Pre101: good morning.. and sorry.. i the moment i'm bussy.. but i will ;) May 06 04:18:36 noaXess: OK, OK. But don't think I'm going to let you off the hook! May 06 04:19:18 Roy-Pre101: easy RoyBoy.. ;).. today i have a meeting on a customer for a website relaunch.. so i will try to do that tommorow.. May 06 04:20:22 :) May 06 04:28:43 Roy-Pre101: http://www.webos101.com/FilterList May 06 04:29:30 * haeffb did not use the template... May 06 04:29:39 haeffb: S'alright. May 06 04:29:43 Good stuff! May 06 04:29:50 'night May 06 04:29:54 Thanks! May 06 04:29:57 sleep tight. May 06 04:30:05 Wednesday News Roundup about to drop. May 06 04:31:33 hmm getting a bad fatal error when trying to run the sample app in the pdk May 06 04:31:37 interesting May 06 04:33:49 CTLAdvance: Are you doing it right? :) May 06 04:37:40 Wednesday News Roundup - Developer Day Wrap-Up http://www.webosroundup.com/2010/05/wednesday-news-roundup-developer-day-wrap-up/ #webos May 06 04:38:16 CTLAdvance: Can you be a little more specific on the error? compiling? Mac/PC? When Running? Locally or on device? May 06 04:38:48 I am using the runit.cmd (on a win 7 pc) and it says a few files were not found May 06 04:38:55 very interesting May 06 04:39:14 During compilation some files won't be found but it's not a fatal error. May 06 04:39:38 AFAIK May 06 04:42:35 whoopsie, forgot my news roundup graphic. May 06 04:43:46 C:\Program Files (x86)\Palm\PDK\share\samplecode\simple>runit.cmd May 06 04:43:46 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp May 06 04:43:46 c:/program files (x86)/codesourcery/sourcery g++ lite/bin/../lib/gcc/arm-none-li May 06 04:43:46 nux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld.exe: warning: libnap May 06 04:43:46 p.so, needed by C:\Program Files (x86)\Palm\PDK\device\lib/libSDL.so, not found May 06 04:43:46 (try using -rpath or -rpath-link) May 06 04:43:47 c:/program files (x86)/codesourcery/sourcery g++ lite/bin/../lib/gcc/arm-none-li May 06 04:43:47 nux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld.exe: warning: libPir May 06 04:43:48 anha.so, needed by C:\Program Files (x86)\Palm\PDK\device\lib/libSDL.so, not fou May 06 04:43:48 nd (try using -rpath or -rpath-link) May 06 04:43:49 c:/program files (x86)/codesourcery/sourcery g++ lite/bin/../lib/gcc/arm-none-li May 06 04:43:49 nux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld.exe: warning: libpal May 06 04:43:50 mvibe.so, needed by C:\Program Files (x86)\Palm\PDK\device\lib/libSDL.so, not fo May 06 04:43:50 und (try using -rpath or -rpath-link) May 06 04:44:11 looks like the files are there May 06 04:55:37 lemketron still here> May 06 04:55:55 this is looking for ld.so and I have arm-none-linux-gnueabi-ld May 06 04:57:43 correction its looking for ld.exe May 06 04:57:50 and I have arm-none-linux-gnueabi-ld.exe May 06 04:57:53 let me rename May 06 05:00:02 correction its looking for a bunch of so files May 06 05:02:05 ? May 06 05:04:57 did you see the errors I posted May 06 05:05:27 I am getting these warnings and then fatal server closed connection errors May 06 05:06:31 hmm. is this the first time you've tried to build something native for device? May 06 05:06:45 did you try to build any of the samples, which presumably work? May 06 05:06:52 yep using the pdk, infact just trying to use the sample May 06 05:07:15 yes this is the single piece of sample code provided under share May 06 05:07:39 oh, wait... I think that's a known issue -- it's not fatal. May 06 05:08:03 the libraries exist on the device but not on the desktop at build time May 06 05:08:23 hmm so what do we need to do to fix this May 06 05:08:27 can we extract them May 06 05:08:34 you don't need them. they're just warnings. May 06 05:08:45 but what about the fatal error May 06 05:09:05 what fatal error? May 06 05:09:20 FATAL ERROR: Server unexpectedly closed network connection May 06 05:09:35 happens after the warnings May 06 05:10:07 See this: https://developer.palm.com/distribution/viewtopic.php?f=70&t=5760 May 06 05:12:17 the libs missing is not fatal. however, the script may be looking for the executable in the wrong dir. It should be looking in Pre_Build (if the dir is the same name on Windows as on Mac). May 06 05:12:23 look at the runit script May 06 05:12:31 and look where "simple" got built to May 06 05:14:56 its building it in the same directory the cpp file is in May 06 05:16:47 Could this be a putty issue May 06 05:17:49 you didn't say exactly which error was fatal or what it was complaining about... is it failing to copy the executable to the device? what command (in the batch file) is it trying to run? May 06 05:18:10 one second May 06 05:18:35 can you putty (ssh) to localhost port 10022 ? May 06 05:19:26 if not, then the tcprelay service isn't running, which would be bad (but that should have been installed by the pdk installer) May 06 05:19:33 the error comes from uploadit.cmd May 06 05:19:46 which is called by runit.cmd May 06 05:20:08 then I get a third error on the last line in runit which is plink -P 10022 root@localhost -pw "" "/media/internal/simple" May 06 05:20:46 hmmm. does runit.cmd actually say "" after -pw or is that what printed out ? May 06 05:20:59 (sorry, I don't have the windows pdk handy; I'm on a Mac) May 06 05:22:04 when I try to connect via putty I get an network error May 06 05:22:05 however May 06 05:22:21 in the services console palm tcprelay is started May 06 05:22:23 and running May 06 05:22:54 and you're trying to connect to a device over usb, right? and you installed dropbear on that device by running pdk-device-install ? May 06 05:23:49 yes May 06 05:24:05 no I didnt install dropbear... I dodnt know that was needed May 06 05:24:09 didnt May 06 05:24:22 docs should've had told you to run pdk-device-install somewhere along the way... :-( May 06 05:24:37 (forgot exactly what it's called or how its spelled on Windows) May 06 05:24:51 so just execute that or do I need to pass it anything May 06 05:25:21 it's pdk-device-install.bat and you say "pdk-device-install.bat install" May 06 05:25:34 if you leave off "install" it will tell you what your options are May 06 05:28:01 ok its running May 06 05:28:33 oy this is installing a whole mess of stuff May 06 05:28:39 it is? May 06 05:28:48 yeah this should be on the top of the getting started page for the pdk May 06 05:29:19 Unforunately I'm not sure what is publicly posted as we've done a lot of work since then... May 06 05:29:54 oh, you're running the "first public release" (build 54) May 06 05:29:55 np - I just think that this will help alot of people trying to get this going if it were, eh documented on the getting started page May 06 05:29:57 :D May 06 05:30:08 I know your busy May 06 05:30:16 Lets see if this works May 06 05:30:21 I appreciate your help May 06 05:30:52 Did you miss the "Preparing the Device" page? May 06 05:32:07 It was in the "Getting Started" section. There's a lot to discuss, and the instructions are slightly different for Mac and Windows, so it's a challenge to document everything... :-/ May 06 05:33:27 oy, np I did miss it some how May 06 05:33:33 I was just looking this over May 06 05:33:43 Maybe I am going crazy, it is late here May 06 05:33:55 ok May 06 05:34:00 Well it is working now May 06 05:34:09 I appreciate your help and sorry for wasting your time May 06 05:34:10 :. May 06 05:34:13 :/ May 06 05:55:26 CTLAdvance: I suspected that might be the case that somethng wasn't prepared properly. May 06 05:55:49 Went AFK before I could pursue it further. May 06 05:56:04 yeah, about to sign off. Not sure how I missed oh 2/3 of a document May 06 05:56:11 thanks May 06 05:56:12 well, the scripts could probably do better at suggesting what might be wrong when something fails... but this stuff is all pretty new still. May 06 05:56:29 its late here, I shouldnt have missed it May 06 05:56:52 next is getting eclipse to play nice May 06 05:59:00 CTLAdvance: You could be the first ever! May 06 05:59:20 I kid, I kid. I never had a problem with Eclipse other than that it's too confusing an IDE, in my opinion. May 06 06:00:09 yeah eclipse never seems to work stable for me, its good but if you tweak something wrong it all goes downhill May 06 06:00:37 at least eclipse and plugins, eclipse by itself seems fine May 06 06:08:23 I may buy visual studio, I can get it for $105 May 06 07:17:41 is it me or is the app catalog broken currently? May 06 07:18:52 german one is working for me May 06 07:19:08 mh... not for me... german one May 06 07:20:38 anyone used canvas rotation on the pre yet? May 06 07:20:50 because it seems to be kinda quirky in games May 06 08:14:23 does anyone know how it works with applying paid applications to the beta release? May 06 08:15:36 afaik it doesn't, betaapps are always free, but i'm not sure May 06 08:19:47 oh okay, so i have to make a beta test with my peers around May 06 08:50:44 mh.. i can't get the app catalog to load on me May 06 12:15:16 Hi, I am using several IMAP accounts with the Pre and the problem is that deleted messages are marked as new/unread in the respective trash folders. This is annoying when I check the accounts with regular PC mail client. Is there a way to change this? May 06 14:02:41 mornin rols, haeff May 06 14:22:15 hello world May 06 14:25:10 hi May 06 14:30:34 hello world, this is my hello world app May 06 14:33:52 anyone here using the pdk May 06 14:34:50 hey hey, and I will be but not yet May 06 14:39:36 am i working now? May 06 14:39:39 sweet May 06 14:39:42 I refuse May 06 14:40:05 thanks for the help registering guys May 06 14:40:34 huzzah May 06 14:41:03 np May 06 14:41:49 i came here to ask a question about a mojo downloadmanager issue i'm having May 06 14:41:51 anyone familiar? May 06 14:42:40 no, what's wrong daleyjem ? May 06 14:42:47 I'm interested since I'm about to make use of it May 06 14:43:21 my app downloads an image from a web address to my photoroll folder May 06 14:43:47 and it appears to work since it shows up when i connect to pc through usb May 06 14:43:49 the file is there May 06 14:44:00 ...but it doesn't show through the photo browser on my phone May 06 14:44:20 basically my app is a photo editor May 06 14:44:24 you pick a photo on your phone May 06 14:44:35 apply a sepia tone, black and white tone, rotate left/right May 06 14:44:49 all this done through a php gd library service on my web server May 06 14:45:11 when you click save, it'll save a copy to the location of the photo you picked with a new filename May 06 14:45:16 have you searched the dev forum? May 06 14:45:37 i haven't been able to find anything similar to this May 06 14:46:04 I recall this being discussed, but don't know if a solution was found May 06 14:46:53 does the photo show up if you relaunch the app or reboot device? May 06 14:47:51 i've restarted luna a few times but that doesn't do anything May 06 14:48:05 and relaunching the photo app doesn't do anything either May 06 14:48:56 i've been able to trace out the download progress and everything through the Ares debugger May 06 14:49:16 and like i said, the file is there May 06 14:49:28 i wonder if it's a mime type issue or something May 06 14:50:41 is it maybe an issue with Ares? May 06 14:51:25 eh... i don't believe so, because the download manager uses the mojo framework May 06 14:54:09 i'm curious if i have to save to a folder named with relation to my app May 06 15:02:12 this may be the post ur referring to: http://developer.palm.com/distribution/viewtopic.php?f=11&t=2569&p=9411&hilit=downloadmanager+download+image#p9411 May 06 15:02:45 the solution seems kinda shady May 06 15:09:08 ...but it works =/ May 06 15:09:33 is there a mojo sdk plugin for visual studio? May 06 15:09:45 I know we have a pdk plugin May 06 15:24:15 morning all May 06 15:48:36 morning May 06 15:50:26 daleyjem: Can you document the download manager on webos101.com ? May 06 15:50:32 Morning everyone May 06 15:52:05 daleyjem: http://webos101.com/wiki/index.php?title=Download_Manager&action=edit&redlink=1 May 06 16:10:32 hiya doc May 06 16:10:55 Hey dave May 06 16:11:09 I'm in the netbook buying mood. May 06 16:11:12 how are the users treating you these days? May 06 16:11:31 Everything is basically calm and dandy except for a security certificate issue on Friday May 06 16:11:52 that's good to hear May 06 16:12:07 I couldn't make myself get a netbook....too small for me May 06 16:12:22 Well, I need three of them May 06 16:12:29 Gifts mainly May 06 16:12:30 woohoo May 06 16:12:34 anyone using eclipse with the pdk May 06 16:13:00 I just need them capable of doing things like netflix watch now May 06 16:16:58 one of the guys I taught in London about a month ago had a Toshiba (I think) that was pretty nice....small, flexible screen, I think it had a DVD reader in it (not an attachment) May 06 16:26:33 Cheap is also key May 06 16:26:39 One of them is going to a 4 year old May 06 16:26:51 Don't need the thing to be destroyed by the little kid May 06 16:28:59 lol May 06 16:29:00 http://www.youtube.com/watch?v=haHXgFU7qNI&feature=fvsr May 06 16:30:18 http://www.newegg.com/Product/Product.aspx?Item=N82E16834251007 This little thing looks nice. May 06 16:32:02 Oh wow. The Helicopter Game got knocked from #1 in the Hot Apps contest May 06 17:01:12 HELLOOOOO SPRINGFIELD! May 06 17:02:31 dangit, sugardave... my coworker's IRC name is hobodave, and you always confuse me when I see you. May 06 17:02:55 Damn Daves, always making things complicated May 06 17:03:06 I KNOW RIGHT May 06 17:03:29 * halfhalo_T400 is reading thedailytwf instead of finals studying. May 06 17:03:31 so, after ten days using ads, I have to say: I'm never going to recoup my losses ;_; May 06 17:03:45 2100 downloads is equating to less than a buck a day May 06 17:03:48 Meh, swore off ads May 06 17:04:08 welp, it was a noble experiment. next version is going to have frequent pestering to upgrade. May 06 17:04:08 well, most likely people are using it once and then going "Well F That" May 06 17:04:32 my goal now is to make the most obnoxious piece of software ever. May 06 17:04:51 What, windows 98 for the pre? May 06 17:07:07 make sure to get your obama bobble head... http://developer.palm.com/appredirect/?packageid=com.ctladvance.bobbleheadadora May 06 17:07:14 lol May 06 17:07:35 http://developer.palm.com/appredirect/?packageid=com.ctladvance.bobbleheadobama May 06 17:07:42 you shoulw open source all those program (And by all the programs, I mean the framework) May 06 17:08:06 It would be a great tutorial for a new user and HTML5 graphics May 06 17:08:24 what did you look at my source? May 06 17:08:35 :) May 06 17:08:49 Yeah if the obama bobble doesnt pay for itself I might May 06 17:09:00 Ok, your pumping out app after app after app. If your not using a framework your retarted May 06 17:09:16 And if your not using HTML5 then your even more retarted May 06 17:09:19 I have to give up on stupid apps that hit me, though bobbles seem to be popular. May 06 17:09:20 hah May 06 17:09:41 Hah, and plus if its OS you can submit as many as you want for free May 06 17:09:42 yeah I have it down to a science now, it actually takes longer to prepare the images May 06 17:09:51 not into the catalog May 06 17:10:02 its still 50 I guess May 06 17:10:13 OS is free into the catalog May 06 17:10:35 are you sure? May 06 17:10:53 Yeah May 06 17:11:03 Hell, if I could change my dev account to OS I would May 06 17:11:39 I'm kind of pissed that they extended the hot apps contest May 06 17:12:22 why May 06 17:12:44 Because it's like the rules changed in the middle of the game. May 06 17:12:54 I was looking forward to that $10,000 at the end of next month May 06 17:13:35 By extending it, it leaves a chance to get bumped out of the top 21. May 06 17:14:47 yes your right, I should make the obama bobble head free... thats a def. top 21 app May 06 17:15:02 no one wants to pay a dollar for him May 06 17:15:52 ;) May 06 17:16:03 Careful now...long time liberal here. May 06 17:16:36 I am not saying anything, except the market tells me that people wont pay a dollar for obama May 06 17:16:38 bobble head May 06 17:16:48 Open source! May 06 17:17:15 I've been saying for a long time that there's little money in paid apps. May 06 17:17:23 my question is if I open source it, can I prevent peoplefrom launching apps in the catalog and web distro using it May 06 17:17:31 I have no problem helping devs May 06 17:17:52 Nope May 06 17:18:04 yeah May 06 17:18:21 But then again, how many users are going to use the source to make their own, which then has to ALSO be OS May 06 17:18:53 Yeah not sure May 06 17:19:20 as of now I obfuscate everything which makes it mostly unrecoverable, esp when I scramble the variable names May 06 17:19:36 Let me put it this way May 06 17:19:42 Obfuscation doesn't work May 06 17:19:56 How hard do you think it would be for me to build and release my own framework that does the SAME thing that yours does May 06 17:20:22 from scratch not hard, its not a complex app. It wouldnt be worth building it based on my code May 06 17:20:37 You cant simply unobfuscate it May 06 17:20:49 Yeah May 06 17:20:55 And the not hard part is my point May 06 17:21:08 it doesnt work like that, its simply to make it harder to copy my source May 06 17:21:10 it would be a GREAT intro tutorial type program for new developers May 06 17:21:14 yeah May 06 17:21:24 ill think about it once my next app goes live May 06 17:21:41 I really hope the WebOS framework changes completely May 06 17:21:48 why May 06 17:21:57 I want java based apps May 06 17:22:01 ugh May 06 17:22:02 HA May 06 17:22:03 NO May 06 17:22:04 thats nasty May 06 17:22:07 No way May 06 17:22:11 That's necessary May 06 17:22:14 Java is going byebye on the pre May 06 17:22:22 Besides java is being removed I heard May 06 17:22:26 Java is horrible May 06 17:22:35 Java is the basis of android apps. May 06 17:22:43 I know and look at most of them May 06 17:22:46 java is the basis of humanity's decline May 06 17:22:47 total crapola May 06 17:22:57 Java shall die a horrible death May 06 17:23:01 which is great@ May 06 17:23:05 Have you seen the WebOS App Catalog lately? May 06 17:23:10 java will die esp now with oracle buying sun May 06 17:23:17 Yes, I have seen the App Cat May 06 17:23:19 its already fallen back below c in usage May 06 17:23:27 c remains #1 used language May 06 17:23:36 well retook that title May 06 17:23:44 Honestly, not a fan of c May 06 17:23:53 but thats because I like doing web-dev stuff May 06 17:24:05 also not a fan of C May 06 17:24:08 I like webdev stuff as well, but I prefer c on the low level May 06 17:24:08 With Android basically about to take over, java isn't going anywhere. May 06 17:24:19 if the world were lisp instead of C-backed, we'd have a lot fewer headaches. May 06 17:24:33 thats why motorola is buying its own os, hp now has its own os, dell and htc looking etc etc May 06 17:24:35 Big Science learned this ages ago, they're all LISPers. May 06 17:24:35 hah, the crippled android jvm? May 06 17:24:44 and now SM going after google on the patent fromnt May 06 17:24:54 CTLAdvance: Dell is staying with Android on their tablets May 06 17:25:20 And HTC has been looking forever...see their BREW stuff May 06 17:26:04 Fact of the matter is that you're looking at upwards of 30 new devices coming out with Android this year and next. May 06 17:26:29 And each running a unique version of android! May 06 17:26:53 At the core, where apps are concerned, it's going to be the same May 06 17:27:37 Not really... May 06 17:27:39 not exactly, May 06 17:27:40 yeah May 06 17:27:57 They all have different features etc etc, nothing will be the same for the most part May 06 17:27:58 The only major change has been between 1.X and 2.X May 06 17:28:17 I cant wait to see what happens when android becomes ad supported May 06 17:28:17 They're still going to be able to run the same series of applications. May 06 17:28:37 Android is not going to become ad supported. May 06 17:28:38 bottom line May 06 17:28:46 this is WebOS, its web based May 06 17:28:51 if you want java go to android May 06 17:28:57 bbiab class ending May 06 17:29:01 java go bye bye from webos May 06 17:29:08 :D May 06 17:29:11 We're already on Android. May 06 17:29:14 We're also on WebOS May 06 17:29:19 And the Iphone May 06 17:29:44 Will be on Windows Phone 7 whenever that comes out May 06 17:29:57 great... thats what were working on May 06 17:30:51 We're being bundled on a lot of devices as well which is good May 06 17:31:51 But, they're all Android devices May 06 17:43:03 has anyone tried having a webview shared amongst multiple scenes, that can be hidden/shown on a whim? May 06 17:45:17 kmudrick: Webview gets nasty once you get into it May 06 17:45:50 reality9110: i'm finding that out.. this is atrocious May 06 17:47:17 who is "we"? May 06 17:47:20 I don't think you'll be able to share it and hide it. In order to actually get the thing resized, you'll need to set it up inside a scroller. May 06 17:47:47 So to hide it, it'll need to be inside of a scroller and you can do something like Mojo.animate it. May 06 17:48:14 Kuraiou that's why I almost never USE a webview, I grab the html with an ajax call, and pull out the part I'm interested in and put it in a controllable div. May 06 17:49:00 kmudrick: What's the purpose of the webview? May 06 17:49:10 And hey Rick. May 06 17:49:38 hey Doc May 06 17:52:24 reality9110: remote ad, could have embedded javascript in it. i'm able to setup and the widget seemingly gets setup (i.e. the browser adaptor object element gets injected into the page) - but the webview element's mojo() ends up referring to an html object that lacks things like openURL etc May 06 17:54:03 does an iframe work in webSO May 06 17:54:25 or are you looking for something you have more control over May 06 17:56:09 CTLAdvance: wow, i didn't even think about an iframe May 06 17:56:17 let's ee May 06 17:56:18 see May 06 17:59:05 Lies May 06 18:03:48 kmudrick: I don't know of a single ad network that actually works with WebOS that requires a WebView May 06 18:04:14 And no, iframes don't work in WebOS May 06 18:04:23 Thank GOD for that May 06 18:04:23 They appear as a different card May 06 18:07:32 reality9110: its some bullshit homegrown internal garbage i have to deal with. not my choice. May 06 18:15:55 kmudrick: How are you grabbing the ad? May 06 18:17:02 Because I would (and do) grab the ads by an ajax call, return it as a responseText, and then just insert the entire thing into a div. May 06 18:18:06 reality9110: the problem is, if there is any tracking script crap in that - it is not going to get executed properly May 06 18:19:10 reality9110: what phone do you use? May 06 18:23:27 haeffb_pre: HTC Hero currently May 06 18:24:14 kmudrick: Tracking by industry standard is usually through tracking pixels. May 06 18:24:48 haeffb_pre: I'll be getting my hands on the EVO in a few days though May 06 18:27:07 hows the user experience compared to webOS? May 06 18:28:37 Only two things that it needs. Unified messenger and a better task manager (I'm building it) May 06 18:29:38 Taking off guys. Nice seeing you folks again. May 06 18:41:47 heya May 06 18:50:23 Just wanted to double check something - if I want to remove logging statements from my release builds of WebOS, it'd be as simple as setting the logLevel really high in framework_config.json, right? May 06 18:51:20 yes, i would say so May 06 19:13:21 rkcr: Generally the phone doesn't log anything but errors anyhow. May 06 19:16:24 Ah, so I'm only seeing logging messages because I'm in developer mode or something? May 06 19:22:24 You can force the phone to be in a different logging mode. Are you debugging on the device or emulator? May 06 19:22:34 it differs from device to emulator May 06 19:22:40 hey roy-pre101 May 06 19:23:05 swisstomcat: Made it home safe and sound I see May 06 19:23:11 yeah May 06 19:23:15 still jetlagged tho May 06 19:25:36 hey, is there anyway i can use all the CPU power in an app? May 06 20:00:32 i need some sql advice May 06 20:01:01 if i have a database on a server, and i want that info to populate a list May 06 20:01:23 there are a trillion different ways to go about doing this May 06 20:01:49 what's the most efficient May 06 20:02:25 - that's a loaded question, i know, but if someone could give me a starting point May 06 20:03:26 use ajax to pull a json object from a server-side script and use it as a model for a list May 06 20:04:02 that's the answer i hoped for May 06 20:04:08 yep May 06 20:04:13 yeah May 06 20:04:21 json forsure May 06 20:05:18 BigBiff: http://www.webos101.com/Accessing_Web_Services May 06 20:05:36 ahhhhhhh May 06 20:07:47 i'm doing something similar .. database on server, php script that outputs json May 06 20:13:00 I need to create a special CSS style for the tables on webos101.com May 06 20:13:04 Well, for certain tables. May 06 20:13:51 ok, so this may seem like a dense question May 06 20:14:08 g'night everyone May 06 20:14:22 right now i have php script that populates a database through curl May 06 20:14:55 could i just circumvent sql altogether and put the info straight to json? May 06 20:15:21 seems like an extra unnecessary step to go to sql/back to json May 06 20:16:16 im just now learning php and sql, so forgive if that's a dumb question May 06 20:16:24 but you only populate the database once? and then do a query on it with sql and output the result as json? May 06 20:17:07 well no, it's a continuous update May 06 20:17:15 from another site? May 06 20:17:34 yes, as of now my app just goes straight to that site May 06 20:17:55 but it's slow, because there are actually hundreds of requests May 06 20:17:55 i see May 06 20:18:07 your database would be a cache May 06 20:18:13 so i have it setup to do each one synchronously May 06 20:18:46 i c - the db is the only way to store the info May 06 20:19:49 so the added step is necessary curl to sql - then my app requests toJSON from the server May 06 20:20:29 i was trying to avoid the server altogether, but i think i could actually sell this app if i can add the server May 06 20:20:38 what kind of data is it? guess you could try one of those newfangled json-datastores May 06 20:21:08 my app is good for my needs right now, but i'm thinking of actually putting out there May 06 20:22:07 i should probably not mess with anything new-fangled at my current level of programming savvyness May 06 20:22:29 i'll just hurt myself May 06 20:22:47 curl-sql-php-json sounds good then May 06 20:23:01 and then access it with ajax on the pre and load the data into the list model May 06 20:23:31 sounds good - only thing that troubled me was loading the model - but json works great May 06 20:23:48 now on to some more php/sql tutorials May 06 20:23:53 whats a good way to exhaust the cpu on the machine? May 06 20:23:57 :-P May 06 20:24:13 Nyceane: run my app May 06 20:24:21 lol May 06 20:24:34 i mean, is there anyway like keep creating threads May 06 20:27:01 hi May 06 20:27:26 how can I get file content with SDK, PDL? didn't found nothing on docs May 06 20:37:54 I'm relatively happy with the styling on these tables. Suggestions/comments? http://webos101.com/Scroller May 06 20:38:25 dirs: You can request local files with ajax. May 06 20:38:49 Roy-Pre101: I need to load only inside of PDL May 06 20:39:05 Then just use standard C functions. May 06 20:39:38 There is a PDK function to get your current path, I think. Otherwise, you can probably just use relative paths. May 06 20:39:55 /media/internal is open to PDK. May 06 20:43:48 So, boss just left today, and I have an hour and a half until quitting time May 06 20:43:59 what is there to do? thats right! Hulu! May 06 20:46:35 halfhalo_class: hah. May 06 20:46:53 halfhalo_class: What did you think of the table styling at http://webos101.com/Scroller ? May 06 20:47:25 Is there any documentation about WebOS models? Can't seem to find it, while I could just use samples I'd like to see docs first. May 06 20:47:48 hmmm May 06 20:47:57 rkcr: what do you mean? May 06 20:48:19 Like, all over the documentation it says "/app/models is for data models, but they're not required" and thus never goes into much detail. May 06 20:48:40 Oh... May 06 20:48:43 Roy-Pre101: it sucks...maybe give it the every other row has a faint background treatment or something May 06 20:48:47 models are just your own code. May 06 20:48:53 I personally like tables styled like that, but I know that people like shiny May 06 20:49:02 So there's no particularly special thing about /app/models except that it's a conventional location? May 06 20:49:09 rkcr: Correct. May 06 20:49:13 Alright, thanks. May 06 20:49:18 or do hover for each tr then have it a slightly darked coler May 06 20:49:19 sugardave: Gimme the CSS for it and I'll implement it. May 06 20:49:33 * sugardave has a hard time with tables that have no border or other row type indicator. May 06 20:49:35 halfhalo_class: Hmm, that'd be nice. Gimme the css for that and I'll add it. ;) May 06 20:49:39 ... May 06 20:50:01 sugardave: Hmm, those have borders. May 06 20:50:19 let me re-load it May 06 20:50:27 ah May 06 20:50:29 there they are May 06 20:50:51 now my comment is unnecessary May 06 20:52:12 I should limit the width of the arguments column in Methods but I'm not going to fiddle that much. May 06 20:54:05 mmmmmmmm May 06 20:54:10 Roy-Pre101: the table styling looks really good May 06 20:54:42 these are good onion rings May 06 20:55:11 Trying to get the hover styling to work May 06 20:55:14 Doing it wrong apparently. May 06 20:56:04 it be tricky May 06 20:56:10 getting td's are easy May 06 20:56:30 table.pretty tr:hover { May 06 20:56:30 background-color: #ccc; May 06 20:56:30 } May 06 20:56:41 Not workin' May 06 20:56:48 wouldn't May 06 20:57:01 td May 06 20:57:19 you have to override td to change the tr its in May 06 20:57:35 hey, I guessed right! May 06 20:57:42 yup May 06 20:57:44 yeah, td isn't going to work, it'll only highlight individual cells May 06 20:57:53 Which is made of suck. May 06 20:57:57 yeah May 06 20:58:07 somewhere I have a snippet that does tr May 06 20:58:57 Pfft, this seems to work here: http://juicystudio.com/cognitive/example16.htm May 06 21:02:28 hi all May 06 21:03:54 ahahahaha May 06 21:03:56 hahahaha May 06 21:03:57 hahahaha May 06 21:03:58 ahahaha May 06 21:03:59 hahaha May 06 21:04:10 found out why tr:hover not working May 06 21:04:33 halfhalo_class: yes, yes? May 06 21:05:12 well, it IS working May 06 21:05:20 but each td has their own color May 06 21:05:29 ah so. May 06 21:05:41 you just can't see it May 06 21:06:09 Try now May 06 21:06:25 works May 06 21:06:25 That is purty. May 06 21:06:43 meh, I would lighten it a tad May 06 21:07:14 happier? May 06 21:07:53 yes May 06 21:08:14 So, I spent an hour on styling tables for reproducing Palm documentation instead of actually using a scroller. Time well spent! May 06 21:08:22 Yup! May 06 21:08:38 My tables are much shinier though for my app. and I hate them May 06 21:10:29 I'll have to find time to go update the other tables and clean up the docs to put them in line with a reference page. May 06 21:11:04 * halfhalo_class heart autostyling May 06 21:11:17 anyone know of an app that sells in the double digits? May 06 21:11:54 like 11.95 or similar? May 06 21:12:16 There are several. Some of the crappy dictionarier. May 06 21:12:18 *dictionaries May 06 21:12:31 And there were some apps that were $99 instead of $.99. not sure if they're still around. May 06 21:15:14 My headphones don't work with only one in my ear May 06 21:15:51 They be hurtin May 06 21:16:43 isn't that flying game greater than $10? May 06 21:16:46 anyone from the UK or canada here? May 06 21:17:29 * haeffb needs tables in my list rows. May 06 21:17:41 or needs to be better at CSS May 06 21:17:42 or both May 06 21:17:57 roy, your tables are pretty...wanna hang out some time? May 06 21:18:36 table in a list in a tablw.. hmmmm May 06 21:19:02 your tables should make it to the People's Magazine 100 Most Beautiful Tables May 06 21:20:34 so, I got my FilterList working last night. (and documented it on webOS101 after considerable peer pressure was applied) May 06 21:20:59 and this morning, I added the ability to add a task by hitting "Enter" while in the filterfield. May 06 21:21:26 so you open the app, start typing, it filters the list. If you want to add a new task, just start typing and hit "Enter" May 06 21:22:21 * haeffb needs to quit adding features and publish the damn thing. May 06 21:23:34 haeffb: kinda like a suggestive search? May 06 21:23:35 * haeffb needs to get catalystmedia to make it pretty first May 06 21:24:03 Make what pretty? haha May 06 21:24:21 haeffb: I'm flattered. May 06 21:24:31 kinda, but not exactly. May 06 21:24:51 catalystmedia: was talking about needing to publish my Done app (which isn't really Done at all) May 06 21:25:11 Roy-Pre101: and a little frightened? May 06 21:25:14 two weeks... two weeks until I can start on my apps again May 06 21:25:20 Ohhh, is it a task management app or something? :) May 06 21:25:35 haeffb: Definitely. May 06 21:25:48 At least now I have a method for porting docs from Palm over. May 06 21:26:07 Should take maybe an hour to copy over all the widget docs and format them. May 06 21:26:20 (I could be being optimistic) May 06 21:27:52 catalystmedia: http://uploads.precentral.net/homebrew-apps/done-toodledo May 06 21:29:01 Roy-Pre101: it's a wiki. I'm sure dozens of people will be supporting your efforts May 06 21:29:06 (go, roy, go!) May 06 21:29:17 * halfhalo_class will watch from afar with popcorn May 06 21:33:53 http://www.cyrket.com/p/palm/com.wozware.toodlerpro/ May 06 21:36:01 * haeffb cleaning out my gmail spam folder. Does spam really work anymore? May 06 21:37:20 haeffb: Looks good! I like it. Good name by the way. I figured out what it was before I even looked at it! May 06 21:37:34 anyone here not using a US pre or pixi? May 06 21:38:43 what's the best way to prompt the user to restart their form? dialog box? May 06 21:41:33 * halfhalo_class got an email about a battlestar galactica mmo.... wow May 06 21:42:42 need a non Yank using a Pre or Pixi in another country anyone... anyone... May 06 21:44:19 JenP: what about a CSS overlay May 06 21:44:57 well did i get closer to what you wanted? May 06 21:45:02 well did i get closer to what you wanted? May 06 21:45:25 ugh hate when i hit the wrong window...disregard May 06 21:49:02 hey guys, where do i promote my app? May 06 21:49:22 JenP, i want us to be a lot closer, a looot closer =) May 06 21:49:45 LOL May 06 21:50:16 ;) May 06 21:50:37 Nyceane: like self-promotion? May 06 21:52:01 yah May 06 21:55:55 k all i'll talk to you later May 06 21:56:14 twitter, digg, reddit, yahoo buzz, facebook, pressoid and more May 06 22:30:19 What's the best way to apply a class to the body at the start of an app? May 06 22:31:03 is your app multi-stage? May 06 22:31:34 cause if not, I know you can do this : $$('body')[0].addClassName('palm-dark'); May 06 22:31:42 in the stage-assistant May 06 22:35:37 so what's the diff between a text field and a smart textfield? May 06 22:36:45 Tibfib: yeah it's multistage :( May 06 22:37:03 oh... tweetme? May 06 22:37:03 I'll try it somewhere in the app-assistant then. I just wasn't sure when the body element was ready for use, but I'll give it a shot! May 06 22:37:08 Yeah May 06 22:37:12 nice! great app May 06 22:38:30 Thanks! I'm glad you like it :D May 06 22:53:41 Hmm, when using Mojo.Format.runTextIndexer, how do you tell it to replace :) with emoticons? It says "when they're enabled" but doesn't say how to enable May 06 23:12:18 https://developer.palm.com/distribution/viewtopic.php?f=80&t=6448 <- Got it fixed! May 06 23:13:14 whoa the 100000th bug May 06 23:13:19 Oh wtf May 06 23:13:28 I have two finals at the same time May 06 23:14:23 Most professors give multiple days for their exams. :) May 06 23:17:53 (also lol that guy that replied is called "webOSkev" hehe) May 06 23:21:16 ffff May 06 23:21:32 These classes don't have more than one exam time May 06 23:21:35 http://tones.wolfram.com/id/GIwSDO8y69EmBB9I4vAON6UxhW4ERgIgaXOechAd6 May 06 23:21:39 and If I miss either, I fail the class May 06 23:30:24 halfhalo: the university has a finals make up day. May 06 23:30:51 Not for these classes. May 07 00:35:16 hello all May 07 00:35:19 hmm May 07 01:06:36 bmyers May 07 01:06:42 hey haeffb_pre May 07 01:06:50 hows it going? May 07 01:08:47 good...headed to a relaxing weekend of learnin 'bout surveying May 07 01:09:30 oh boy. sounds like a lot a fun.. May 07 01:10:56 tomorrow supposed to b a holiday, but gotta work it & Sat... :( May 07 01:11:40 you guys get mothers day off usually? May 07 01:11:46 its a paid holiday? May 07 01:16:28 Harry S Truman May 07 01:17:25 May 8 was his bday May 07 01:17:43 wow, he's still kicking eh? May 07 01:18:58 "was" May 07 01:19:49 wife wants to know where you sail... May 07 01:20:09 in the hudson river mostly May 07 01:20:31 past west point May 07 01:21:25 she into sailing ? May 07 01:22:16 http://renken18.blogspot.com/ May 07 01:22:18 never has, but loves being on or near water May 07 01:22:26 my boat ^^^^^^ May 07 01:23:05 morning May 07 01:23:45 morn'n to u rwhitby May 07 01:24:41 she says you need to clean ur bottom May 07 01:25:09 just got done painting it today May 07 01:25:29 its not in the water now. that pic was from last year just b4 hauling it out May 07 01:26:03 when should we show up? May 07 01:26:54 'bout 2 weeks it should be on it mooring May 07 01:28:32 how long would it take you to sail to Gulf Shores AL? we'll be there in July... May 07 01:32:06 depends on the winds.. May 07 01:32:55 this is what is looks like now: May 07 01:32:56 http://2.bp.blogspot.com/_ifBXaihwbjE/S-Ntex3RMbI/AAAAAAAABDA/NAHhWfkV2po/s1600/CIMG0297.jpg May 07 01:33:32 * haeffb_pre headed to the Lake of the Ozarks May 07 01:35:25 link did not load on Pre May 07 01:37:19 http://renken18.blogspot.com/ May 07 01:37:40 lol, nice May 07 01:39:20 u like? May 07 01:40:19 rwhitby: when you access the app catalog what apps from what country do you see? May 07 01:40:39 LoneStar99: I see all three cases, one on each device May 07 01:41:17 what are the three cases? May 07 01:41:32 I see paid US on my Sprint Pre, I see paid EU on one unlocked GSM Pre, and I see unpaid US on the other unlocked GSM Pre which was activated first in the US. May 07 01:42:27 so UK, Ireland, Germany apps are all mixed in the EU edition? May 07 01:42:50 LoneStar99: haven't looked that closely May 07 01:44:02 rwhitby: : when you flush, which direction does the water spin? May 07 01:44:34 * haeffb_pre been drinkin' again... May 07 01:44:42 haeffb_pre: same as anywhere else in the better hemisphere May 07 01:45:44 rwhitby: for example if a person in the EU uses App Scoop for viewing new apps, can the EU phone download a US app? May 07 01:46:19 haeffb_pre: what u drinking? May 07 01:46:51 LoneStar99: depends how the profile and device record is marked on palm's servers May 07 01:47:28 and I believe the age of your sister's boyfriend's neighbour's cat is included in that calculation somewhere too ... May 07 01:48:29 not sure to release my app in the UK, and Ireland if they can not download, or pay for the app... May 07 01:48:52 tommyknockers pick axe pale ale May 07 01:49:09 from Idaho Springs CO May 07 01:49:25 but then again, i can release it in those regions and see what happens... May 07 01:49:45 what is the alcohol content like 5.5%? May 07 01:51:07 dunno, but I feel good May 07 01:51:18 haeffb_pre: 6.20% May 07 01:51:29 it seems like an interesting brew May 07 01:51:53 http://uoid.me/brew1 May 07 01:53:16 anyone know the developer of app scoop? May 07 01:55:27 rwhitby: with preware, it lists all the apps on the catalog regardless of region is that right? May 07 01:55:33 yep May 07 01:55:57 we should give the option to filter May 07 01:56:06 indeed, we should May 07 01:56:14 someone should add it to trac :) May 07 01:56:49 what happens if an english bloke clicks on a US app in preware? May 07 01:57:06 does it open up in the app catalog? May 07 01:57:19 it punts to the app catalog, which then says "bad luck dude, the oppressive developer has deemed that you cannot see this app" May 07 01:57:25 ;) May 07 01:58:26 So I submitted an app to the beta catalog.. May 07 01:58:27 s/oppressive developer has deemed/lazy developer never got around to changing it so/ May 07 01:58:34 how long till it shows up? May 07 01:59:26 rwhitby: really that sucks... May 07 02:00:35 LoneStar99: if there was a simple logical calculation that didn't involve the age of your sister's boyfriend's neighbour's cat, then perhaps Preware could intercept that and give a better message. May 07 02:01:02 As it stands, the operation of Palm app catalog restrictions is as close to black magic as it gets. May 07 02:01:39 simply thought regional apps would only appear in regional app catalog, did not expect the app catalog to verify phone region settings, in order to purchase an app May 07 02:02:06 I'd really like to have a beer with the guy or gal who thought that the whole first activation sticks idea was a good thing ... May 07 02:02:21 lol May 07 02:02:31 anybody? May 07 02:02:57 edektor: i think 2 hours or so May 07 02:03:04 l thanl May 07 02:03:07 thanks May 07 02:03:56 LoneStar99: will release this update to US only, until I can sort out the regional app situation May 07 02:04:39 no point of teasing an irish lad with thousands of apps, which he will not be able to purchase or download May 07 02:04:48 ;( May 07 02:05:02 oil: i hate that face May 07 02:05:08 ;( May 07 02:05:54 ugggghhh May 07 02:06:06 =-() May 07 02:06:10 ;( May 07 02:33:35 * haeffb is back May 07 02:33:48 sitting in a room at Lodge of Four Seasons May 07 02:36:47 And whos fault is that? May 07 02:37:07 T-7 days until complete computer/desk reboot May 07 02:40:11 eh? May 07 02:40:59 Completely taking apart and redoing my desktops, spring cleaning on my other computers, and recabling my desk May 07 02:42:10 Might get a new router as well, or the new DECA crap from directv to network up my room May 07 02:43:07 hi all! May 07 02:43:11 hey **** ENDING LOGGING AT Fri May 07 02:59:56 2010