**** BEGIN LOGGING AT Mon Mar 08 02:59:57 2010 Mar 08 03:01:11 how's everyone doing? Mar 08 03:02:29 Ok. Mar 08 03:02:35 decent Mar 08 03:02:41 with a side of monkey Mar 08 03:03:24 monkey, eh? Mar 08 03:03:28 yup Mar 08 03:03:35 betcha didn't see that one coming! Mar 08 03:04:17 I figured Ellephant, but close enough. Mar 08 03:05:25 oliphant Mar 08 03:05:34 highlighter? Mar 08 03:05:40 OMG Mar 08 03:05:52 got my reverse directory app semi working Mar 08 03:06:29 cool. I've been needing a reverse directory. Mar 08 03:07:03 Oh, hi Mark! Mar 08 03:07:11 I think when its released its going to have to cost something though Mar 08 03:07:18 due to the api I'm using Mar 08 03:07:20 darn. Mar 08 03:07:41 Most likely 99 cents though Mar 08 03:07:52 anyone know how i can remove a facebook account from my palm profile? Mar 08 03:08:06 cant find it anywhere else.. just there.. after a restore Mar 08 03:08:45 just go into contacts and remove it. Mar 08 03:09:01 its not there.. its only in my restoring palm profile part Mar 08 03:09:30 oh, well that means we need more monkeys. Mar 08 03:09:40 yup :\ Mar 08 03:09:41 heh Mar 08 03:09:49 Already on it Mar 08 03:10:05 dammit Mar 08 03:10:18 I keep hitting send to pre instead of emulator in eclipse Mar 08 03:10:20 I think auto-export is finished. Mar 08 03:10:29 but I hate having to wait a month to test. Mar 08 03:11:00 lol Mar 08 03:11:02 this is where time travel would come in handy Mar 08 03:11:13 I have until april 15 to work on my app Mar 08 03:11:22 since thats when I'm submitting it to the catalog Mar 08 03:11:40 you can't, I don't think Mar 08 03:12:12 waiitttt..... I get paid this month. Make that March 15 Mar 08 03:13:58 halfhalo_T400: go open source and pay nothing. Mar 08 03:14:14 bleh Mar 08 03:14:19 meh Mar 08 03:14:29 I will for my second app Mar 08 03:14:42 which will be the reverse directory Mar 08 03:15:07 hehehe Mar 08 03:15:14 My mojo.log output is funny Mar 08 03:16:07 I do open source under a different company name Mar 08 03:16:31 Onfailure: "SWEET JESUS THERE BEEN A JAM IN THE TUBES" Mar 08 03:17:36 I need to think of one for onSuccess Mar 08 03:17:39 hmmmm Mar 08 03:19:11 SWEET JESUS THE TUBES ARE UNJAMMED! Mar 08 03:19:22 Myles 0.3.4 uploaded to PreCentral Mar 08 03:19:23 I like it..... Mar 08 03:19:30 nice Mar 08 03:19:37 I'm nothing if not creative. Mar 08 03:20:57 Duly Noted Mar 08 03:21:45 kesne: how's that PreCentral app going? Mar 08 03:25:17 i've never heard of such a thing! Mar 08 03:26:01 ;) Mar 08 03:28:45 * haeffb hates websites that require a password greater than 6 chars but less than 10. Mar 08 03:28:49 idiots. Mar 08 03:29:04 lol Mar 08 03:31:59 I agree Mar 08 03:32:04 laters peeps. Mar 08 03:32:39 my password is usually 8 chars Mar 08 03:32:52 * kesne goes and changes his password now. Mar 08 03:33:08 mine is 13 Mar 08 03:34:55 mine is 42 Mar 08 03:35:09 not 42 chars, just 42 Mar 08 03:35:21 lol Mar 08 03:44:22 having a problem with the listenr for the following code http://pastebin.com/NH1L0mgi Mar 08 03:45:24 does not seem to update Mar 08 03:56:42 hi all Mar 08 03:57:25 howdy jenP Mar 08 03:57:45 hey LoneStar99 Mar 08 03:57:49 have you messed with the toggle button? Mar 08 03:59:56 yeah heaffb helped me with it Mar 08 04:00:27 can't figure out why value is not updated: http://pastebin.com/NH1L0mgi Mar 08 04:02:40 kk looking at it Mar 08 04:02:50 k thanls Mar 08 04:07:04 http://pastebin.com/sJ6jXe84 Mar 08 04:07:55 oh for toggleModel value Mar 08 04:08:04 make it value: true, Mar 08 04:09:41 thanks, let me take a look Mar 08 04:12:21 hey LoneStar99 here's how i'm using it Mar 08 04:12:23 http://pastebin.com/yudKDLJw Mar 08 04:13:03 ok Mar 08 04:13:55 thanak Mar 08 04:13:59 thanks Mar 08 04:38:22 ladeis Mar 08 04:40:39 pink elephant! Mar 08 04:56:52 JenP: I worked thanks! Mar 08 04:56:55 it Mar 08 04:57:25 oh that's great! Mar 08 04:58:01 * rwhitby has download status reporting working in next gen preware: Transferred: 105k / 457k
Time Left: 0:00:54
Transfer Speed: 25362 Mar 08 04:58:37 * halfhalo_T400 asks rwhitby if he wants a cookie Mar 08 05:01:55 double choc chip please Mar 08 05:02:17 * halfhalo_T400 ships off that cookie Mar 08 05:03:40 cookies yum! Mar 08 05:27:19 how can i check if div id="123" is present in a html page? Mar 08 05:27:39 would there be something in the div? Mar 08 05:27:47 nope Mar 08 05:28:16 try writing to innerHTML and see if that fails then Mar 08 05:28:17 just need to check if it is present, if not build it dynamically Mar 08 05:36:12 just .get() it and see if it exists? Mar 08 05:36:35 ok Mar 08 05:36:36 thanks Mar 08 05:52:28 is keydown supported? Mar 08 06:20:36 any way to programatically restart an app? Mar 08 06:21:55 what do you mean restart? Mar 08 06:22:05 why not just swap the first scene Mar 08 06:23:37 if a certain option is chosen, the app needs to be restarted to work correctly.. Mar 08 06:23:59 LoneStar99: huh? why? What possibly needs to be reloaded from the beginning? Mar 08 06:24:56 LoneStar99: if you *really* need to, create a multi-stage app where you explicitly create scenes. Then just destroy the main scene and create it again Mar 08 06:25:01 the thing I am removing a div "$('mutsu').remove();" and not sure how to bring it back, once removed Mar 08 06:25:41 easy....you have a container div and just do containerDiv.update( Mar 08 06:25:43 ) Mar 08 06:25:54 or containerDiv.innerHTML Mar 08 06:26:17 use Mojo.View.render to render content from a template and object Mar 08 06:27:33 halfhalo_T400: I have another rails question...do you know an *easy* way to handle multi-part form encoded data? Basically its image data that gets encoded and I need to decode it Mar 08 06:28:03 not off the top of my head, sorry Mar 08 06:28:12 google doesn't know either :( Mar 08 06:28:22 I think it has something to do with form helpers Mar 08 06:28:29 although im just guessing Mar 08 06:28:36 lots of stuff on the reverse Mar 08 06:28:46 heh Mar 08 06:28:52 All my rails books are at work to Mar 08 06:28:59 how POST form data....but not what to do on the other side of the ether Mar 08 06:29:18 try storing it in a sql db Mar 08 06:30:59 its broken up into segments.....boundary data boundary....simply converting to a string isn't sufficient Mar 08 06:31:43 I have no idea, sorry Mar 08 06:31:45 I'm not entirely sure what it looks like....its coming from the DownloadManger upload method and there is zero documentation there Mar 08 06:31:46 jfelectron: doing this, but need to figure out why it does not fully workvar disSugg = "
"; $('sgBox').insert(disSugg); Mar 08 06:31:57 halfhalo_T400: no worries :) Mar 08 06:32:02 workvar = work Mar 08 06:32:11 in other news, i just packaged a new version of my app that should help initial load times Mar 08 06:32:52 LoneStar99: what do you mean by 'not fully'? Mar 08 06:36:21 halfhalo_T400: what app is that? Mar 08 06:36:27 it works, but have a bug with some code Mar 08 06:36:32 Steam Friends Mar 08 06:36:46 Lets you view you Steam friends list on the pre Mar 08 06:49:09 did anyone ever figure out if you could view your apps reviews without having to use the app catelog? Mar 08 06:56:05 halfhalo_T400: Steam is the videogame distribution system eh? I'm a gamer....but don't really know steam...mostly a PC thing right? Mar 08 06:56:21 only a pc thing Mar 08 06:56:29 digitalpowers: so far... Mar 08 06:56:45 it works fairly well but even though i mostly pc game i rarely use steam Mar 08 06:57:12 so i take it that no one knows how to get at the reviews for an app via a web browser Mar 08 06:58:37 You want to get it programmatically or just view from a browser? Mar 08 06:58:44 just to view Mar 08 06:59:41 http://www.myappbox.com/ Mar 08 07:00:55 that will work they have a shortcut to app thing so i can book mark it and obsess over my reviews Mar 08 07:01:09 As long as it makes you happy! Mar 08 07:01:35 :) it mostly does, although the "0/5 - It wont install" frustrate me alot Mar 08 07:02:30 i have one review Mar 08 07:02:30 "0/5 ?" Mar 08 07:02:35 jfelectron: how about reseting the html page so the div is returned? Mar 08 07:02:36 what a useful review Mar 08 07:03:34 LoneStar99: resetting? Just re-render the contents of the relevant div through dynamic insertion Mar 08 07:05:24 hrm myappbox has me listed as having 2x as many downloads as developer.palm.com says Mar 08 07:14:31 good morning Mar 08 07:18:43 morning Mar 08 07:23:13 digitalpowers: There is also www.cyrket.com which has the application reviews as well Mar 08 07:25:22 the download count in the feeds provided by apple includes updates and reinstallations Mar 08 07:26:46 errr Mar 08 07:26:48 I mean palm Mar 08 07:29:32 oh, digitalpowers left anyway Mar 08 07:51:54 morning Mar 08 07:52:48 o/ Mar 08 08:11:56 hey swisstomcat.. long time ago.. Mar 08 08:12:07 hallo noaXess Mar 08 08:12:09 we should speak about openexpo.. and get a date in winti.. Mar 08 08:12:13 yes Mar 08 08:14:01 have not heard from palm yet .. need to bug adora Mar 08 08:29:33 * swisstomcat bugs adora Mar 08 08:33:42 oh well Mar 08 10:39:36 zzzZZZzzz Mar 08 12:57:15 what's up? Mar 08 12:58:22 When I submit a closed source app to the catalog I have to pay 50$. Do I have to pay this fee everytime I update the app or only the first time? Mar 08 13:01:37 " one-time US$50 fee per app applies (plus tax in countries where VAT applies). This fee also covers reviews of subsequent updates" .. from the palm developer website Mar 08 13:02:11 swisstomcat: thank you very much, did not find it Mar 08 13:02:43 i used google :) Mar 08 13:02:48 mmh Mar 08 13:03:13 bad when we have to use google to find information which should be easily accessable :) Mar 08 13:06:02 yeah Mar 08 13:06:12 i've never seen that page before Mar 08 13:06:41 hehe Mar 08 13:06:45 now try to find it in german Mar 08 13:06:54 go to the page and look at the left whats highlighted Mar 08 13:06:58 click on the link Mar 08 13:07:06 you will get a different page with similar information Mar 08 13:07:12 bus without this exact information Mar 08 13:07:26 thats an orphaned site - that explains it Mar 08 13:07:57 oh, ok you have to scroll down and go to page 2 Mar 08 13:07:59 there it is Mar 08 13:08:39 FAQ is only linked from the dev center Mar 08 13:58:59 What is the english word for the opposite of accuracy? is it deviation? (GPS related) Mar 08 13:59:28 deviation would be fine for GPS related "abweichung" i assume... Mar 08 13:59:37 ok Mar 08 14:07:35 Is a deviation "too high" or "too large"? Mar 08 14:08:38 too high I guess =) Mar 08 14:08:47 ok, thx Mar 08 14:09:00 though "deviation is too large" results more google results :P Mar 08 14:09:59 that does not always matter Mar 08 14:12:55 too large Mar 08 14:13:15 too high -> height Mar 08 14:13:23 or salary :) Mar 08 14:19:53 can someone here open up Pandora and tell me if it works for them, I have not been able to get Pandora or AccuRadio to work over the last few days and it sucks because I used it quite a bit Mar 08 14:24:45 bleh monday sucks Mar 08 14:28:38 pandora is playing on my pre Mar 08 15:03:06 any word on when european paid app catalog will be up and running? Mar 08 15:25:10 kmudrick: haven't heard anything Mar 08 15:25:27 but chuq should be back so we can bug him Mar 08 15:26:00 question: what's the best twitter client for webos? Mar 08 15:26:27 I use tweed free version .. but I don't use twitter a wole bunch Mar 08 15:26:29 using twee for now Mar 08 15:26:53 they're all best Mar 08 15:27:43 you mean they're all recommended Mar 08 15:27:56 twee seems pretty good so far Mar 08 15:31:37 I use tweed, just because that's the one I use. haven't tried any others. Mar 08 15:32:38 haeffb_pre: the _pre on your nick says that you're using wIRC on your pre? Mar 08 15:33:11 yes Mar 08 15:33:38 it's the nick I use when on the phone Mar 08 15:34:29 i'm using irssi as my primary chat client... i tried connecting to irssi-proxy using wirc, but no success :-( Mar 08 16:45:40 man this blows Mar 08 16:46:01 why would my pre just stop playing Pandora and AccuRadio? They both just spin as if they are buffering forever :( Mar 08 16:46:52 haeffb_pre, you don't find IRC on the pre to be cumbersome Mar 08 16:46:59 typing on that small keyboard lol Mar 08 16:48:04 less cumbersome than not having it. Mar 08 16:48:15 chuqui is back! Mar 08 16:48:21 yo. Mar 08 16:48:24 hi, all. Mar 08 16:48:34 oh chuqui we missed you Mar 08 16:49:28 anything happen while I was gone? Mar 08 16:49:50 the world shifted on it's axis Mar 08 16:49:54 nope, the world actually stood still Mar 08 16:50:07 well true haeffb_pre it didnt stand completely still Mar 08 16:50:09 I'd say I missed all of you, but I'd somewhat be lying. But I am glad to be back and ready to get going again, and I'm glad you're all here to hang out with again... Mar 08 16:50:57 I'm only about nine zillion emails behind... Mar 08 16:51:13 oh hey i did notice something while you were gone and maybe i am wrong but i dont think so, and i wasnt sure who to tell about it, so i figured i would wait until you got back :D Mar 08 16:51:35 the download manager, when it calls onSuccess, the file isnt actually quite ready to be used Mar 08 16:51:58 like if you download an image, and then in onSuccess you assign that image to an .src it will not show up Mar 08 16:52:41 chuqui: you know, the usual, zero star "can't install" reviews, still no european pay catalog.. :) Mar 08 16:52:58 but they fixed forum emails. progress. Mar 08 16:52:59 can we do anything about 0 star cant install reviews? Mar 08 16:53:30 digitalpowers: if you haven't reported that in the forums,, please do. I'll have a support engineer look at it. send me a URL when it's there. Mar 08 16:53:39 okies Mar 08 16:54:08 I'm going to do another round of cleanup in the review area now that I'm back. To be honest, the number of those reviews is down about 90% from 6 weeks ago. the problem seems to be mostly solved. Mar 08 16:54:15 jcrawford: your Pre didn't happen to stop playing pandora & accuradio after the 1.4 update did it? Mar 08 16:55:39 drnull: i have been able to play pandora just fine post 1.4 Mar 08 16:55:46 Anyone used the GPS tracking service for an extended period of time (like several hours) ? Mar 08 16:56:06 Monroe: i have, not that the battery normally lasts that long Mar 08 16:56:36 I actually didn't have battery issues at all .. After 4 hours of continuous tracking, I still had over 50% Mar 08 16:56:40 kmudrick: aye, as have most people. Just a very (un?)select few have had trouble. Mar 08 16:57:15 digitalpowers: Have you ever had issues where the tracking service just stopped responding and giving location updates? Mar 08 16:57:24 nope Mar 08 16:57:35 drnull: are you on wifi or no? i find that pandora sometimes spins when i have a really poor connection Mar 08 16:58:00 i have had occations where the phone got very hot and the battery drained very fast while using the gps, but i was also using the internet, not sure who the culprit is Mar 08 16:58:08 I had it happen twice. Once it came back again after a minute or so. The second time, it failed for good. closing and reopening my app had no effect. I had to reboot Mar 08 16:58:37 kmudrick: it's not related to that. It's related to an upgrade problem that very, very few people have had. http://forums.precentral.net/palm-pre/233673-after-upgrade-no-audio-streaming-apps-work-3.html#post2283498 Mar 08 16:59:16 chuqui: i dont seem able to use the forum, i logged in but pressing the "New Topic" button does nothing, i will try again later to post Mar 08 16:59:16 kmudrick: I haven't personally experienced the problem, I've only been contacted by maybe 10 people who have had the problem. You can see it in the reviews for pandora few times though. Mar 08 16:59:45 digitalpowers what broswer? Mar 08 17:02:31 well then Mar 08 17:02:42 found abug while using my app Mar 08 17:03:07 stupid counters Mar 08 17:05:08 drnull, yes it did Mar 08 17:05:13 srsly palm Mar 08 17:05:23 get with the program Mar 08 17:05:35 let us send pics using aim Mar 08 17:06:40 chuqui: ie8 Mar 08 17:06:54 woawoawoa Mar 08 17:07:04 no need for that language here Mar 08 17:07:20 hahaha Mar 08 17:07:31 Netscape Mar 08 17:07:33 what? Mar 08 17:07:39 lol Mar 08 17:07:59 anyone want to betatest my new app? Mar 08 17:07:59 digitalpowers that's supposed to be fixed. guess not. as I dig out, I'll poke at it. chrome/firefox/safari work. ther's some weird javascript issue that is hitting ie Mar 08 17:08:21 your peoblem with ie is.... ie Mar 08 17:08:28 problem* Mar 08 17:08:28 :) Mar 08 17:08:48 lol, i used to use firefox but it suffers a lot from sucking Mar 08 17:08:49 There's this bug in IE where it causes it to suck Mar 08 17:09:14 ha Mar 08 17:09:19 oh hey Mar 08 17:09:34 I DO have my laptop! Mar 08 17:10:31 firefox used to be good before people started using it heavily and there for people started exploiting it and they had to make it secure like the other browsers which in turn makes it less responsive, more of a memory hog, and more sucky in general Mar 08 17:10:55 meh Mar 08 17:11:06 their all fast on a ssd Mar 08 17:11:42 i have ssd, and they all suck evenly, which is why i use ie, it is already installed Mar 08 17:11:51 lol Mar 08 17:12:05 I use chrome these days (on a mac) and am pretty happy. FWIW. Mar 08 17:12:06 Chrome, bitches. Mar 08 17:12:18 ya, i love Chrome on my mac, despite it being beta it's really pretty stable Mar 08 17:12:27 I tend to use both ... I primarily use firefox, but come across the occasional site that is "optimized" for IE, so I'll use IE for that Mar 08 17:12:48 wooooo Mar 08 17:12:51 sweeet Mar 08 17:12:54 that and i bet the firefox people like the java people, and i cant really abide that. i hate java more than i hate dolphin killing Mar 08 17:13:03 I made my ipk an exe for windows Mar 08 17:13:14 grtz Mar 08 17:13:57 bbl Mar 08 17:13:57 i made a bat script that makes an exe with both the ipk and another bat script that launches palm-install Mar 08 17:14:08 for those wondering where I was, you can see some of the photos I took here: http://chuqui.smugmug.com/photos/swfpopup.mg?AlbumID=11430329&AlbumKey=huoKj Mar 08 17:14:54 I download the html/css, read it over, and visualize what it would look like in a browser... Mar 08 17:15:02 chuqui, nice Mar 08 17:15:05 I went there last year Mar 08 17:15:33 yeah, it's an awesome place. Mar 08 17:15:35 no need for FF, IE, Chrome et al. Mar 08 17:15:55 heh Mar 08 17:16:12 say lynx say it Mar 08 17:16:19 when I went I drove up my family's XC90 Mar 08 17:16:22 with FWD Mar 08 17:16:29 THAT was interesting Mar 08 17:18:46 http://forums.precentral.net/showthread.php?p=2291821#post2291821 Mar 08 17:18:49 BAHAHAHAHA Mar 08 17:18:53 chuqui: awesome pics. now back to my cubicle. Mar 08 17:19:21 drnull and back to mine. and a week of unanswered emails. and a week of unread forums. and... Mar 08 17:19:45 chuqui: but... you have a Pre, you mean you didn't keep up on everything while you were gone? (good for you) Mar 08 17:21:05 drnull to be honest? "hell no, I didn't" Mar 08 17:29:52 testing Mar 08 17:29:54 sweet Mar 08 17:30:56 question how do i get some text on the left of a palm divider and some on the right of the divider Mar 08 17:31:02 in a list Mar 08 17:33:45 is it possible to setup the appmenu for the entire application, or do I need to set it up in each scene? Mar 08 17:37:34 i think you can do it in the stageassistant but im unsure Mar 08 17:40:03 hmmm....where would the handler code go? in the stageassistant as well? Mar 08 17:43:08 doesn't seem to work since the stageassistant doesn't have a setupwidget function Mar 08 17:49:53 newb question Mar 08 17:50:26 any advice for a newb learning to deal with the ajax request in webos? Mar 08 17:51:31 it is simple enough when i deal with it in js over the web (cross-domain is tricky..) but within mojo, eck Mar 08 17:52:12 most webos tutorials tell you WHAT to do, I want to know WHY Mar 08 17:57:35 Chriswebos: you still have to do the setupWidget for the app menu in each scene. but you can define the menu model & attribs and handleCommand in the stage assistant to make things simpler. Mar 08 17:58:00 yeah thats it Mar 08 17:58:10 i know i saw something once regarding the app menu in the stageassistant Mar 08 18:08:37 haeffb_asleep: could you please elaborate? how could I put the handlecommand in stageassistant? Mar 08 18:08:58 do i just define the function, and it's automagically added to command chain? Mar 08 18:09:04 you...uh...put it in stage assistant. Mar 08 18:09:09 yes. Mar 08 18:09:31 the command chain goes thru the scene assistant to the stage assistant to the app assistant. Mar 08 18:10:13 the scene doesn't handle it, the stage does. if the stage doesn't, the app does. If none do, then it goes to chuqui. He takes care of everything that no on else does. Mar 08 18:10:36 heh Mar 08 18:10:48 okay, let me try it out Mar 08 18:11:58 chuqui: Here's a suggestion. PLEASE let the developer know before their app is "Featured" in the catalog. Mar 08 18:12:13 someone didn't? Mar 08 18:12:33 Ideally, with enough advance notice that they can submit any pending releases, to fix bugs or whatever. Mar 08 18:12:42 I'll talk to the biz team on that.. Mar 08 18:12:55 Myles showed up as featured last week, & I didn't even know until JenP pointed it ou. Mar 08 18:12:58 out. Mar 08 18:13:56 that reminds me i gotta call the palm specialist team back.. they keep getting my voicemail and i already fixed the issue the initial CSR couldnt Mar 08 18:14:46 pop me an email on that? that both reminds me to do it (I have a short stack right now) and an easy forward in with the info... Mar 08 18:14:56 gets your words in to the team, not my interpretation. Mar 08 18:14:57 I've got a new version ready to go *this week*. Mar 08 18:15:01 okay, well, it gets BOTH. Mar 08 18:15:12 since I usually kibbitz Mar 08 18:15:12 Will do. Mar 08 18:16:29 yiddish even, chuqui has it all Mar 08 18:23:08 I need to learn how to make windows 7 Device Stages Mar 08 18:23:33 because I want one for the pre Mar 08 18:27:51 chuqui: is there an official way to get your app featured? all i have is a snippet i got in this channel from something someone got from their handler a while back, and those of us who submitted after jan 7 obviously have no handler Mar 08 18:28:10 whats a handler Mar 08 18:28:21 if you want it considered, send me an eamil. I'll forwrd the request in to the biz team that manages it. Mar 08 18:30:33 digitalpowers: early developers apparently had a direct contact for all issues, problems, questions etc for their apps, rather than having to bug chuq all the time Mar 08 18:30:53 the president has handlers Mar 08 18:31:00 like bears have handlers Mar 08 18:35:40 hi Mar 08 18:36:03 innnteresting.... Mar 08 18:36:07 my app froze Mar 08 18:36:28 wait, scratch that Mar 08 18:36:32 my menu froze Mar 08 18:39:18 paid apps in Germany on end of March Mar 08 18:43:43 MetaView: officially? or is that a rumor heard from a friend of a guy who knows a dev? Mar 08 18:43:59 no, it was told me in an email from palm, an official one Mar 08 18:44:22 they also pointed to the free 3D games downloads which last until 31th of march Mar 08 18:59:48 evening Mar 08 19:00:05 morning Mar 08 19:06:38 MetaView: great Mar 08 19:09:26 Monkey? Mar 08 19:09:42 grrrr Mar 08 19:09:45 stupid java program Mar 08 19:20:31 JS question: I have an array of objects. How do I remove all objects that have a property meeting certain criteria? Mar 08 19:20:50 i.e. if object[i].date > thisDate Mar 08 19:20:57 I would run through the array with a iterator Mar 08 19:21:08 set the bad objects to null Mar 08 19:21:14 then run compact() Mar 08 19:21:28 awesome Mar 08 19:21:59 I usually use split() to remove an item from an array Mar 08 19:22:09 much better than my solution of beating them out with a stick Mar 08 19:22:53 err Mar 08 19:22:55 not split Mar 08 19:22:57 splice Mar 08 19:23:23 myArray.splice(IndexOfItemToDelete, 1); Mar 08 19:23:28 but what if objects 3, 5 and 11 have a property meeting the criteria? Mar 08 19:23:45 wait, what is compact() ? Mar 08 19:24:08 compact returns an array with no null items in it Mar 08 19:24:20 ah good point Mar 08 19:24:34 is a javascript array method? Mar 08 19:24:51 I do not see it here: http://www.w3schools.com/jsref/jsref_obj_array.asp Mar 08 19:24:57 So if I set myArray[2]=null Mar 08 19:25:28 actually, I think its a prototype methog Mar 08 19:25:42 * halfhalo_T400 never uses plain old javascript anymore Mar 08 19:27:04 http://api.prototypejs.org/language/array.html#compact-instance_method Mar 08 19:27:26 wait, splice would work if you went myArray.splice(index, 1), wouldn't it? Mar 08 19:27:38 and just ran that on every object you needed? Mar 08 19:27:40 yes Mar 08 19:27:44 well Mar 08 19:27:47 sort of Mar 08 19:27:58 SEe above Mar 08 19:28:27 once you remove one item from the array using splice, all the indexes of shift Mar 08 19:28:50 break from the loop and run it again Mar 08 19:28:55 right Mar 08 19:29:02 you'd have to do that Mar 08 19:29:20 or Mar 08 19:29:35 var loopMax = myArray.length; Mar 08 19:30:01 then do the loop on an upper bound of loopMax and change that each time you remove an item Mar 08 19:30:07 err Mar 08 19:30:09 nope Mar 08 19:30:17 thats to much effort Mar 08 19:30:19 you'd have to alter the current index too Mar 08 19:30:44 yeah, but if the array is really long .... Mar 08 19:30:50 and you still would have to make sure the index's are proper Mar 08 19:30:52 sounds like a good job for a recursive function Mar 08 19:31:07 keep calling itself until it can't find anymore Mar 08 19:31:19 if it's a really long array, rerunning over the loop a bunch of times could be slow Mar 08 19:31:51 I'm liking the compact method if it works ... Mar 08 19:32:11 Dammit Mar 08 19:32:11 I really really really really really want to work on my devicestage right now Mar 08 19:32:11 actually, I want palm to come out with one Mar 08 19:32:13 speaking of which, anyone know how to enable usb mode from novaterm Mar 08 19:32:55 it does work Mar 08 19:32:59 I use it for my list Mar 08 19:33:38 it gets populated, then if a second function fails, the object is set to null, and when I set the items of the list to my array, I run it through compact first Mar 08 19:39:05 uggh ... grunt work sucks Mar 08 19:39:22 lol Mar 08 19:42:42 wtf is mojave? Mar 08 19:43:15 works, except that if all the objects meet the criteria, I'm left with [null] rather than [] Mar 08 19:43:33 doh Mar 08 19:43:53 if (Miles.mileageEvents[0] === null) { Mar 08 19:43:53 Miles.mileageEvents = []; Mar 08 19:43:59 fixes that issue Mar 08 19:44:00 yep Mar 08 19:44:02 lol Mar 08 19:44:29 halfhalo_T400: windows mojave? Mar 08 19:44:34 no Mar 08 19:44:44 keke Mar 08 19:45:04 you guys really should speak english ... ;) Mar 08 19:45:11 on the palm developers site its one of the options for lanuching using ApplicationManager or whatever it is Mar 08 19:48:56 no se ingles Mar 08 19:51:36 hehehe Mar 08 19:51:37 I have nerds Mar 08 19:51:41 which is my lunch Mar 08 19:51:46 mm Mar 08 19:52:14 My friend's this weekend on the golf course: "You have a golf gps on your phone?" Mar 08 19:52:17 Me: yes Mar 08 19:52:23 them: where'd you get it? Mar 08 19:52:28 INTERNETS Mar 08 19:52:29 Me: I wrote it myself Mar 08 19:52:34 them: NERD Mar 08 19:53:49 lol Mar 08 19:54:28 I need a new icon for my app Mar 08 19:54:29 :/ Mar 08 19:54:35 Of course after that they all asked if they could have it for their phone's :) Mar 08 19:54:47 brb Mar 08 19:54:50 google image search? Mar 08 19:54:51 walking to next class Mar 08 19:59:34 * MetaView publishs an update Mar 08 20:04:12 jesus laptop Mar 08 20:04:16 why the fuck is the fan on Mar 08 20:19:27 Boom Shaka Laka Laka Mar 08 20:23:55 MetaView: Mr. Big shot with his duke3d porting Mar 08 20:24:09 yeah no kidding Mar 08 20:24:48 I mean, I don't remember PreCentral with a post: Monroe got his app working! Mar 08 20:24:50 ;) Mar 08 20:26:38 actually, turns out it don't works. not sure why yet... Mar 08 20:26:53 whats not working? Mar 08 20:26:56 "Palm loyalists out there will undoubtedly remember the name MetaView. Back in the days of PalmOS, he rose to fame with apps like PalmPDF (now named PDFmob), 2PlayMe, and notably Duke3D, a PalmOS Duke Nukem 3D port that won the Zodiac France Contest 2006." Mar 08 20:27:18 I say we kill him Mar 08 20:27:44 * halfhalo_T400 grabs a shovel Mar 08 20:30:15 ok, so apparently my counter function for my spinner doesn't work Mar 08 20:30:34 weak Mar 08 20:31:07 You better get it working if you want to win the Zodiac France Contest 2010 ;) Mar 08 20:31:13 for every item in the list it adds one to the counter at the beginning of the "lets grab its xml feed" app Mar 08 20:31:27 i'll have crysis working on the pre for that contest ;P Mar 08 20:31:33 and removes one at the end of the run Mar 08 20:31:49 except its somehow hitting negative numbers Mar 08 20:32:42 oh another note, I have a retartedly simple fix for my image downloading problem Mar 08 20:33:02 nice Mar 08 20:33:20 I though I would have to call downloadmanager for each user I wanted to download, and then I realized I can just make a div with an img tag in it Mar 08 20:35:06 I can either fix my counter error, or just make it ignore negative numbers Mar 08 20:35:09 I choose option 2! Mar 08 20:35:18 :) Mar 08 20:35:22 hi Mar 08 20:35:38 hi metaview ..you're famous now .. on the front-page of precentral :) Mar 08 20:35:42 There's Mr. big shot! Mar 08 20:35:46 cool.... Mar 08 20:35:47 * halfhalo_T400 sneaks up behind MetaView in preparation to kill him for showing everyone up Mar 08 20:35:51 wait, what? Mar 08 20:35:54 now I should get it installable... Mar 08 20:36:05 halfhalo_T400: what are you downloading images for? Mar 08 20:36:14 steam user avatars Mar 08 20:36:22 if (counter < 0) { this.selfDestruct(); } Mar 08 20:36:33 I like that idea Mar 08 20:39:06 ooh Mar 08 20:39:09 even better: Mar 08 20:39:18 http://twitpic.com/179gib Mar 08 20:39:35 http://twitpic.com/179gqj Mar 08 20:40:05 I have a similar app for Xbox friends :) Mar 08 20:40:14 Lol Mar 08 20:40:15 ORLY Mar 08 20:40:40 yep Mar 08 20:41:21 Meh, didn't want an xbox live one Mar 08 20:41:27 don't have feed access Mar 08 20:41:46 I don't either .. which is why my Xbox one is only available on my own Pre :) Mar 08 20:41:58 lol Mar 08 20:44:23 I found some MS Xbox dev's blog site where he made a web service that let's you get Xbox feed data ... But he asks not to overuse it ... Mar 08 20:44:30 yeah Mar 08 20:44:33 heyheyhey Mar 08 20:44:38 I used that before as well Mar 08 20:44:43 for a forum sig thing Mar 08 20:44:45 hehe Mar 08 20:44:50 but I buffered it through my server Mar 08 20:44:50 Ah . Mar 08 20:45:06 I thought about doing that Mar 08 20:45:45 But meh ... eff it ... I have bigger and better app ideas to work on Mar 08 20:46:09 Well, I wrote the steam app as a hello world type app Mar 08 20:46:21 and I already have started on my reverse directory app Mar 08 20:46:33 ah cool Mar 08 20:47:00 my golf gps was my "hello world" ... Which turned out to be quite an undertaking for a hello world :) Mar 08 20:47:11 heh Mar 08 20:47:23 I shoulda went with Xbox friends first :) Mar 08 20:47:30 yeah Mar 08 20:48:06 my "hello world" app was "hello world" Mar 08 20:48:14 :) Mar 08 20:48:17 lol Mar 08 20:48:32 but, then, icarus 'm not an overachiever like some folk Mar 08 20:48:51 im Mar 08 20:49:18 stupid tab complete only woeks when I don't want it to... Mar 08 20:49:24 ha Mar 08 20:50:03 Well .. I got this big idea to write a golf gps as my hello world ... By the time I finished it, there were already 2 other golf gps apps in the catalog ... meh Mar 08 20:50:23 there are exactly 0 other apps like mine in the catalog right now Mar 08 20:50:30 0 including mine Mar 08 20:50:56 yeah ... same for my current app .. I'm just hoping I can get it done before someone else thinks of the idea ... I can't belive no one has done it yet ... Mar 08 20:51:20 what app? Mar 08 20:51:42 * Monroe prepares an NDA to send to halfhalo's lawyer ... Mar 08 20:52:02 * halfhalo_T400 prepares a blog post about Monroe's app Mar 08 20:52:08 :) Mar 08 20:52:11 there is one app i'm missing, there is one similair one, but it doesn't do what i want it to do :-p Mar 08 20:52:11 wait, what? Mar 08 20:52:48 It's an app that let's you setup locations ... and phone settings for those locations ... When you are in/near one of your locations, your phone will switch settings accordingly Mar 08 20:53:07 ohhhhh shiny Mar 08 20:53:27 So for example you could setup a location at work, and set it to change your ringtone, volume, etc when you are at work. Mar 08 20:53:27 wait a second.... can I pull this off? Mar 08 20:53:47 I... I think I can Mar 08 20:53:51 When you leave work, it automatically goes back to your current/default settings Mar 08 20:53:59 nice Mar 08 20:54:46 I CAN pull this off Mar 08 20:54:52 I originally got the idea cause I get annoyed that my phone notifys me of work emails and appointments, even though I'm sitting at my desk and get the same notifications on my computer ... Mar 08 20:55:11 but this means I need to have seperate lists for ingame/offline/online Mar 08 20:55:15 Wouldn't it be nice if my phone would turn those notifications off while I'm AT work ... Mar 08 20:55:29 mmm more lists Mar 08 20:55:52 I got to use my current app that I'm working on when playing Ticket To Ride a few days ago, and it was very illuminating Mar 08 20:56:10 I'm going to set the background of the list item of people in game to the game logo image Mar 08 20:56:13 Monroe: i think there is an similar app... Mar 08 20:56:24 no!!!!!!!! Mar 08 20:56:31 yeah... lemme search Mar 08 20:57:08 lol Mar 08 20:57:16 * Monroe prepares for bitter dissapointment Mar 08 20:57:34 * halfhalo_T400 prepares to give Monroe a cookie Mar 08 20:57:59 dthought ... you aren't thinking of the GeoStrings app are you? Cause that's different Mar 08 20:58:22 i might be... Mar 08 20:58:39 I sure hope so Mar 08 20:59:02 hmm. No. Mar 08 20:59:10 geostrings is different Mar 08 20:59:14 yes Mar 08 20:59:22 geostrings reminds you to do things near a specific location Mar 08 20:59:28 right Mar 08 20:59:50 My app changes settings near a specific location Mar 08 21:00:15 Similar yes ... The same ... no Mar 08 21:01:07 Now, everyone here pretend you didn't read my last 10 or so posts ... Mar 08 21:01:19 lol Mar 08 21:01:42 I need one of those Flashy things that they use in Idependence Day Mar 08 21:02:26 i have a question about asynchronous programming...how does one put a timelimit on how long to wait, so you're not waiting too long? Mar 08 21:02:53 ! Mar 08 21:02:56 omgomgomg Mar 08 21:02:57 http://steamcommunity.com/id/halfhalo/stats/L4D2?xml=yes Mar 08 21:03:00 Chriswebos: you'd set a asynchronous timer for the timelimit Mar 08 21:03:26 when the timer hits, but the first event did not hit yet, you'll stop the first request... Mar 08 21:03:38 halfhalo .. That appears to be an xml gold mine :) Mar 08 21:04:04 dthought: to you have a link to an example of how to do that? Mar 08 21:04:05 and - you don't (actively) wait for asynchronous request. you pass out... and only life in the callbacks Mar 08 21:04:23 live Mar 08 21:04:40 I know Mar 08 21:04:50 But its only for specific game Mar 08 21:04:51 s Mar 08 21:04:58 ah Mar 08 21:05:14 As long as it had Counter Strike, I'd be good : Mar 08 21:05:16 :) Mar 08 21:05:25 CSS methinks it has Mar 08 21:05:41 hehe then I'm good :) Mar 08 21:06:18 wait Mar 08 21:06:26 no it doesn't Mar 08 21:06:30 doh! Mar 08 21:06:38 i know Mar 08 21:06:47 it has it for dods but not css Mar 08 21:07:15 but The main issue is that there would have to be seperate parsers per game Mar 08 21:07:17 hey codeslaw Mar 08 21:07:38 hey swisstomcat Mar 08 21:07:46 how's that gallery coming along? Mar 08 21:07:47 dthought: i have to make a bunch of asynch calls, and have split my algorithm accordingly...but am not sure how to do the asynch timer thing you mentioned Mar 08 21:09:02 Chriswebos: what do you "do" when you are "waiting" for a return? Mar 08 21:09:57 NOOOO! Mar 08 21:10:02 dthought found the app Mar 08 21:10:37 awwww Mar 08 21:10:48 Monroe: make yours better. or cheaper. or, preferably, both. Mar 08 21:10:49 It only let's you set the wallpaper though Mar 08 21:10:50 ummm, not really sure I'm doing anything but waiting...I am basically trying to do this: for(i = 0; i< items.length; i++) { Do asynchronous stuff} Mar 08 21:10:59 of course, that's not possible... Mar 08 21:11:12 So, I do this: Mar 08 21:11:29 So yeah I can make mine better Mar 08 21:11:35 pseudocode: function continuecalc(value) {...} ; GPS.RequestLocation(function(value) {continuecalc(value);}); Timeout.doafter(3000ms,fucntion() {continuecalc(null);}); Mar 08 21:11:39 Probably not cheaper though, as his is already at .99 Mar 08 21:11:45 ha Mar 08 21:12:18 1. Create list of items that need to be processed; 2. Remove an item from the list 3: Do asynchronous call 4. asynch callback calls previous function Mar 08 21:13:18 Chriswebos: you should be able to do: set up a list of items to be processed, enriched with *request going on for it and result data... Mar 08 21:13:19 oh, I found out that my app does not totally fail on evdo Mar 08 21:13:29 2) start all async requests at once Mar 08 21:13:47 damn. Chriswebos just solved my issue. thanks Chriswebos ! Mar 08 21:13:48 3) start an timer, for your max wait-time Mar 08 21:14:02 4) bail out Mar 08 21:14:02 lol Mar 08 21:14:51 haeffb_pre: no problem...don't know what I did, but i accept kudos Mar 08 21:14:53 2) and 3) both call a callback, which updates that "todolist". When a request returns, it updatesw the todolist ("marks as done, check whether all are done, when all are done, continue calculation") Mar 08 21:15:23 I was trying to think how to remove items from array. instead, just build new array of items that DONT meet the criteria. duh. Mar 08 21:15:34 when timer returns *stop all ongoing requests (if possible), continue calculation with "undefined" results in some places Mar 08 21:16:00 * Monroe feels stupid for not coming up with haeffb's solution earlier Mar 08 21:16:14 ha Mar 08 21:16:22 god damn it monroe Mar 08 21:16:32 ? Mar 08 21:16:33 sometimes you gotta think big picture Mar 08 21:16:38 why did you have to think of the app ive been working on Mar 08 21:16:46 i was trying to keep it a secret Mar 08 21:16:52 oh you are kidding me?!?!?! Mar 08 21:16:57 Developer Fight!!!! Mar 08 21:16:59 GOGOGO Mar 08 21:17:01 im serious Mar 08 21:17:02 work together Mar 08 21:17:11 make it open-source Mar 08 21:17:12 i just scrolled up and was like.. SON OF A B*TCH Mar 08 21:17:21 Well crap Mar 08 21:17:24 Actually, I would make two seperate apps. May the best one win Mar 08 21:17:30 dthought: so, Timeout is a method that has a callback, and can be done in webos? Mar 08 21:17:52 funny thing ... we have been helping each other get the google maps embedded and working Mar 08 21:17:53 may they both win and we all live in peace and harmony forever Mar 08 21:18:01 ha Mar 08 21:18:03 no Mar 08 21:18:11 now it turns out it was for the same damn thing Mar 08 21:18:29 how many twitter apps are there? Mar 08 21:18:36 many Mar 08 21:18:47 ill atleast keep the name secret Mar 08 21:18:48 how many people buy more than one? Mar 08 21:18:55 me Mar 08 21:18:59 er app name Mar 08 21:19:27 Well dawm .. I can tell you that you'll probably get done before me. With an 18mo old child at home, I don't get to work on my apps a whole lot Mar 08 21:19:33 ive only worked on getting/setting the ringer/notification/volume..etc havent dived into the running in the background or gps portion yet Mar 08 21:19:48 Ah Mar 08 21:20:01 anyone had any luck cancelling an app update? Mar 08 21:20:07 nope Mar 08 21:20:11 nope sorry Mar 08 21:20:16 while it was being reviewed? Mar 08 21:20:18 LoneStar99: yes Mar 08 21:20:19 it always gets pushed Mar 08 21:20:23 hmm. The app i want to do seems do be done once, but dead Mar 08 21:20:24 from my experience Mar 08 21:20:32 once long ago Mar 08 21:20:37 I've got the gps part no problem, cause I did that alot with my golf gps app. Still have to figure out the background stuff though Mar 08 21:20:46 in a galazy far away? Mar 08 21:20:57 s/galazy/galaxy Mar 08 21:21:02 no, this galaxy. Mar 08 21:21:09 oh Mar 08 21:21:10 well then Mar 08 21:21:11 lol, i was hoping no one else thought of it, but i was surprised no one had either Mar 08 21:21:12 work together, split the load Mar 08 21:21:13 same city, even Mar 08 21:21:23 and sadly ive had the idea for a week and barely touched it Mar 08 21:21:29 what a coinkydink Mar 08 21:21:37 procrastination ftl Mar 08 21:21:58 I'm with you there dawm Mar 08 21:22:04 hey, you guys cut me in & I will do the background stuff. we'll be done tomorrow. Mar 08 21:22:06 dthought: where's there information on the Timeout function? Mar 08 21:22:15 yes while getting reviewed Mar 08 21:22:27 Chriswebos: hmm... there ought to be one *searching the sdk* Mar 08 21:22:33 lonestar: cancel request should work .. will take a while Mar 08 21:22:42 lonestar: if not, bug chuq about it Mar 08 21:22:46 cut me in and I wont kill you all! Mar 08 21:22:48 Chriswebos, did you try googling for the js function Mar 08 21:22:49 he's back from vacation Mar 08 21:22:55 * halfhalo_T400 is very persuasive Mar 08 21:22:56 its not a mojo function Mar 08 21:22:58 setTimeout is a base javascript function Mar 08 21:23:12 no, searched palm site...thought it'd be a palm mojo function, not js function Mar 08 21:23:19 submitted an update, but it did not address the problem, but now have a new update, but can't do anything, because the old update is being reviewed Mar 08 21:23:29 first thing you should always do is ask google Mar 08 21:23:44 second, ask yahoo Mar 08 21:23:50 F google ... Google told me no one else was working on my app idea :) Mar 08 21:23:57 lonestar: the current "cancel update/request" just sets a flag for the app team Mar 08 21:23:57 lol Mar 08 21:24:57 swisstomcat: so there is no point... will just wait then, to get the old update live and then submit the new update Mar 08 21:25:42 i'd ask chuq Mar 08 21:25:44 Chriswebos: I think you have to do window.setTimeout in webOS Mar 08 21:26:01 yeah, plain old set timeout does not work Mar 08 21:26:06 found that out yesterday Mar 08 21:26:12 i'm off, good night Mar 08 21:26:29 thanx...i'm searching now to see what i can do... Mar 08 21:27:40 i use setInterval Mar 08 21:28:09 and a function that checks the runtime and dies when needed Mar 08 21:28:29 I gotta start working on my next app before dawm & Monroe get to it. Mar 08 21:28:42 hahaha Mar 08 21:28:43 I've already started on it Mar 08 21:28:48 too late :P Mar 08 21:29:14 drat Mar 08 21:29:32 just gotta install the most recent sdk Mar 08 21:29:40 DawMonroe's Haeffb ripoff app Mar 08 21:30:02 i'm very surprised by my users today.. got a bunch of reviews complaining about the app breaking with 1.4, but they still rated 4-5 stars Mar 08 21:30:05 I think $2.99 will be a good price Mar 08 21:30:33 dawm: can you elaborate? Mar 08 21:30:54 yeah hold on Mar 08 21:31:32 lemme throw up (lol) a snipplet Mar 08 21:34:05 wellt hen Mar 08 21:34:12 my app locked up again Mar 08 21:35:26 Chriswebos, now this is a rehash of code i already have working, its untested but it should work or atleast give you an idea Mar 08 21:35:27 http://pastie.org/860304 Mar 08 21:36:04 * Monroe check's dawm's link to see if it's gps based settings code that he can steal for his own version of the same app Mar 08 21:36:23 i havent worked with gps yet Mar 08 21:36:24 :P Mar 08 21:36:27 :) Mar 08 21:36:47 The gps service is actually very easy to use Mar 08 21:37:02 err ... I mean it's hard, and time consuming ... you should just give up Mar 08 21:37:12 hah Mar 08 21:37:15 I need a different hiding thing for my drawers Mar 08 21:37:33 t m i Mar 08 21:37:40 lol Mar 08 21:37:45 lol Mar 08 21:38:00 people these days... Mar 08 21:38:34 Monroe: adding GPS is the last piece of my current app. Mar 08 21:38:55 cool Mar 08 21:39:15 ability to set a destination & get a reminder when you get there. Mar 08 21:39:37 uh. like Geostrings I guess... Mar 08 21:39:37 that should be pretty easy Mar 08 21:39:51 :) Mar 08 21:40:29 "Could this video be any shittier or further away from the camera?" - "I'll bet it could. :P" Mar 08 21:40:50 how much batery consts Geostrings? Mar 08 21:40:56 +t Mar 08 21:41:00 -n Mar 08 21:41:11 That's my question MetaView Mar 08 21:41:54 Maybe on only need to wake up every 5 minutes Mar 08 21:42:09 i'd guess gps on medium/low accuracy won't cost much battery, as it doesn't need to turn on the gps chip... but will use mobile localisation... Mar 08 21:42:20 (which only geths you 500-1000meters accuracy sometimes) Mar 08 21:42:24 Although I must say, playing golf this weekend, I had my golf app doing gps tracking (constant updates) for 4 hours, and my batter went from 100% to 58% .. I was surprised. I figured it would be 0 Mar 08 21:43:13 methinks I will bbl Mar 08 21:43:15 going home Mar 08 21:44:07 cell tower location can be bad as >3km even here in Berlin Mar 08 21:44:24 and sometimes google doesn't answer, then you are at 0° Mar 08 21:46:27 depending on how far from target you are, 3km might be sufficient Mar 08 21:46:52 timers are a huge drain on batteries. Is there a more efficient way to have a per-second timer than setTimeout() ? Mar 08 21:47:56 Kuraiou: why should any other timer be less drain? Mar 08 21:48:18 Alarms are the other timer mechanism, but they don't have per-second granularity Mar 08 21:48:36 I don't know; that's why I was asking! :P Mar 08 21:48:37 The ultimate solution ... Let the user choose between high/medium/low accuracy ... Then if they choose high and battery drains, it's their own fault!!! ;) Mar 08 21:49:13 the other thing I was thinking was drop that much granularity, and track just start and end times. Mar 08 21:49:24 then calculate time when the game ends Mar 08 21:49:34 nope, it's always your fault. you're the one who gave the battery-killing option Mar 08 21:49:40 hehe Mar 08 21:51:17 Monroe: do the setting remain until they arrive at another saved location? or until they leave the current? Mar 08 21:51:42 I'm not telling .. ask dawm :) Mar 08 21:51:57 im not saying another word Mar 08 21:52:01 :) Mar 08 21:52:01 kuriaou: that siunds much better if they don't need a running clock. Mar 08 21:52:05 too busy nailing down code :) Mar 08 21:54:58 hi all Mar 08 21:59:56 hi jenp Mar 08 22:00:04 hi haeffb_pre Mar 08 22:02:15 * haeffb_pre headed to play some bball Mar 08 22:04:03 hi JenP Mar 08 22:04:35 hi LoneStar99 Mar 08 22:06:16 mmmm Mar 08 22:06:23 del taco for lunch Mar 08 22:07:03 dawm: for some reason, my setInterval and setTimeout are firing instantly...isn't it supposed to wait? Mar 08 22:07:26 in my sample code the internal was set at 1000ms Mar 08 22:07:34 so every second it fires the updateTimer Mar 08 22:07:50 the updateTimer then checks to see if the seconds are up Mar 08 22:07:52 yeah, 1 second...I upped it to 10000, and it's still firing instantly Mar 08 22:08:06 oh, so update timer is doing the check? Mar 08 22:08:09 yeah Mar 08 22:08:10 it's not set up right then Mar 08 22:08:12 look at the code again Mar 08 22:08:18 updateTimer(30) Mar 08 22:08:22 thats 30seconds Mar 08 22:08:36 I thought the purpose of settimeout is to fire after the timeout period Mar 08 22:08:37 the interval is set at 1000, so it calls updateTimer every second Mar 08 22:08:38 mine did that when it was set up badly Mar 08 22:08:55 every second updateTimer checks to see if 30s are up Mar 08 22:09:03 i use it as a countdown clock in my game Mar 08 22:09:11 wait, mine called updatetimer instantly, not after 10 seconds Mar 08 22:09:24 paste your modification Mar 08 22:09:34 basically, I put a showdialog in update timer (stripped out code)...okay, wait: Mar 08 22:10:08 FolderscanAssistant.prototype.updateTimer = function (seconds) {this.controller.showAlertDialog({ Mar 08 22:10:08 title: $L("Prefs Menu"), Mar 08 22:10:08 message: $L("You have selected the prefs menu"), Mar 08 22:10:08 choices:[ Mar 08 22:10:08 {label:$L('Thanks You'), value:"refresh", type:'affirmative'} Mar 08 22:10:09 ] Mar 08 22:10:11 }); Mar 08 22:10:15 } Mar 08 22:10:24 yeah Mar 08 22:10:27 you took out the important part Mar 08 22:10:30 FolderscanAssistant.prototype.proceed = function(event) { Mar 08 22:10:30 //timerUpdate = setInterval(this.updateTimer(5),1000, this); Mar 08 22:10:31 setTimeout(this.updateTimer(5),10000); Mar 08 22:10:31 //this.controller.stageController.pushScene('messagescan', this.folderlist); Mar 08 22:10:31 //this.controller.stageController.pushScene('main'); Mar 08 22:10:31 } Mar 08 22:10:35 the check Mar 08 22:10:46 http://pastie.org/860304 Mar 08 22:10:48 look at the code Mar 08 22:10:52 see where //do something is Mar 08 22:11:05 thats where you would put stuff for it do to WHILE its running Mar 08 22:11:14 but, but, but...isn't updatetimer only supposed to be called after 10 seconds in the first place? Mar 08 22:11:22 the if(timeleft<=0){ Mar 08 22:11:30 is where you put stuff you want done when its done Mar 08 22:11:40 lemme reedit Mar 08 22:12:07 because, otherwise settimeout and setinterval is no different than any other function Mar 08 22:12:37 I could just do function{ set time; call updatetimer right now;} if update timer is doing the checkj Mar 08 22:12:48 http://pastie.org/860304 Mar 08 22:12:53 does that make more sense? Mar 08 22:13:33 setInterval calls the set function until you stop it Mar 08 22:13:36 its like a function loop Mar 08 22:13:49 setTimeout waits to call a function Mar 08 22:14:09 but setTimeout doesnt seem to work, but setInterval does so this is sorta a workaround to get the same functionality Mar 08 22:19:21 dawm: somehow i got disconnected...did you say anything after my last statement? Mar 08 22:19:31 lol yes Mar 08 22:19:39 http://pastie.org/860304 Mar 08 22:19:41 does that make more sense? Mar 08 22:19:48 setInterval calls the set function until you stop it, its like a function loop Mar 08 22:19:50 setTimeout waits to call a function Mar 08 22:19:53 but setTimeout doesnt seem to work, but setInterval does so this is sorta a workaround to get the same functionality Mar 08 22:21:20 I think i see...setinterval, combined with the updatetimer thing, is a way to get a settimeout working? Mar 08 22:21:33 its a way to recreate it Mar 08 22:21:51 setinterval runs a set function every X milliseconds Mar 08 22:22:03 if that function knows when to die, it can kill the interval Mar 08 22:22:14 and stop it self from looping Mar 08 22:24:06 dawm: might hthere be a diference in setinterval and settimeout regarding this ? Mar 08 22:24:44 settimeout doesnt appear to work, so this is how i do it, there are probably other ways but ive only used this way Mar 08 22:38:56 dawm: for some reason my setinterval isn't working :( Mar 08 22:39:54 setTimeout(1000, this.myFct.bind(this)); Mar 08 22:41:51 this.controller.window.setTimeout(this.clearInterval.bind(this), 20000); Mar 08 22:41:54 works for me Mar 08 22:43:06 right, first the function then the timeout Mar 08 22:43:19 but you don't need this.controller.window in front Mar 08 22:43:37 I think you do in webos Mar 08 22:43:52 http://developer.palm.com/appredirect/?packageid=com.silentbluesystems.steamfriends Mar 08 22:43:54 :( Mar 08 22:43:56 I think I've had problems when not using webOS Mar 08 22:44:08 *this.controller.window Mar 08 22:44:30 nope, works here without Mar 08 22:44:44 Hmm, not sure my issue then Mar 08 22:46:13 OH Mar 08 22:46:14 MY Mar 08 22:46:15 GOD Mar 08 22:46:18 !!! Mar 08 22:46:23 SteamPlay Mar 08 22:46:32 what? Mar 08 22:46:42 You buy a game for windows using steam Mar 08 22:46:49 go to a mac Mar 08 22:46:51 no, I don't Mar 08 22:46:54 haha Mar 08 22:46:56 and? Mar 08 22:46:57 pick up right where you left off Mar 08 22:47:16 You buy it for one platform you get it for the otther as well Mar 08 22:47:23 But the developers have to include that option Mar 08 22:47:25 cool Mar 08 22:47:34 iirc Mar 08 22:47:37 well, all source games are getting it Mar 08 22:49:18 does the emulator have a way to simulate pinch and zoom? Mar 08 22:49:53 MetaView and Tibfib: worked great!!! thank you! Now I just need a way to clear the timer.... Mar 08 22:50:17 clearInterval Mar 08 22:50:29 ill post a code snippet Mar 08 22:50:31 gimme a sec Mar 08 22:51:42 http://webos.pastebin.com/WEK8FZS7 Mar 08 22:52:28 I think clearTimeout works the same Mar 08 22:53:45 Thanks for the info...have to go but will check it out later Mar 08 23:26:31 JenP: not yet. it's on the list Mar 08 23:26:47 oh good to know thanks! Mar 08 23:50:30 drnull: are you around? Mar 08 23:50:39 I emailed you the output for the commands that you requested Mar 08 23:50:58 oh hell my host is not masked @ work odd, thought freenode masked hosts heh Mar 09 00:27:32 weee this is moving fast Mar 09 00:27:43 just gotta do gps,background handling and UI Mar 09 00:28:43 lol Mar 09 00:28:56 I pushed my app into the web distro earlier today Mar 09 00:29:19 boooo nothing on webos101 for gps Mar 09 00:30:55 awwww Mar 09 00:51:53 halfhalo_T400: turns out Rack has handlers for multipart form data....so I just created my first middleware...lol Mar 09 00:52:05 nice Mar 09 00:52:37 I'm contemplating creating a middleware php layer on my server to lessen the amount of time it takes to load up the app Mar 09 00:52:59 coming from more verbose languages...it feels wierd to write such compact code...its like really? really? that's it?? Mar 09 00:53:09 yeah Mar 09 00:53:11 :p Mar 09 00:53:18 Although, with rails Mar 09 00:53:32 you either do it the rails way, or you get the hell out of there Mar 09 00:53:53 true....the convention over blah....takes some getting used to Mar 09 00:54:05 its really conformity over individuality :) Mar 09 00:55:02 heh Mar 09 00:56:26 ninja's do things for you as long as you remember the secret password Mar 09 00:56:43 lol Mar 09 01:02:40 Welp, just sent an email asking for admittance to the early access program. Mar 09 01:02:52 * halfhalo_T400 eyes chuqui in a suspicious manner Mar 09 01:05:27 I haven't eaten a developer in weeks... no reason to be suspicious Mar 09 01:05:43 * halfhalo_T400 grabs a knife anyways Mar 09 01:06:21 wooo! Mar 09 01:06:23 it pushed! Mar 09 01:06:24 http://developer.palm.com/webChannel/index.php?packageid=com.silentbluesystems.steamfriends Mar 09 01:06:46 congrats halfhalo_T400! Mar 09 01:07:45 oh wait this is for steam...my bf's gonna be all over it....very nice Mar 09 01:07:59 yeah Mar 09 01:29:32 hrm.. Mar 09 01:31:13 no se ingles Mar 09 01:35:38 hey chuq what happened to the thread about host mode, i cant find it Mar 09 01:35:52 nevermind im blind Mar 09 01:41:12 weee Mar 09 01:41:16 gps working ;D Mar 09 01:41:33 wee Mar 09 01:41:38 now making it multistage and put all the bits into a UI Mar 09 01:41:41 .compact() is not Mar 09 01:43:15 man.. gps is sooo slow on the emu, you'd think it wouldnt be since its hardset heh Mar 09 01:43:39 hi haeffb Mar 09 01:44:00 hi JenP! Mar 09 01:44:07 oh. now .compact() works Mar 09 01:44:33 lol Mar 09 01:44:43 this.compact(); Mar 09 01:44:47 not! Mar 09 01:44:56 this = this.compact(); Mar 09 01:44:57 like I said before... Mar 09 01:44:59 yes! Mar 09 01:45:06 it makes a NEW array Mar 09 01:45:47 Returns a copy of the array without any null or undefined values. Mar 09 01:45:55 that's what the docs say, too. Mar 09 01:51:48 man depot never works does it.. Mar 09 01:52:00 SQLite does Mar 09 01:54:03 worst part is.. im using a palm dev'd class unmodified.. boooo Mar 09 01:55:44 oh now it works.. Mar 09 01:55:57 lol Mar 09 01:57:14 just like me. helps if you do it right. Mar 09 01:57:54 all i did was comment out one simpleGet Mar 09 01:57:59 then poof it made the depot and works now Mar 09 01:58:12 stupid... Mar 09 01:58:18 poof the magic dragon? Mar 09 01:58:19 didnt fail on the set, just the get Mar 09 01:58:33 gremlins Mar 09 01:58:40 poof the magic gremlins Mar 09 01:58:57 Sam Adams makes good beer Mar 09 01:59:03 lol Mar 09 01:59:12 beer makes EVERYTHING better Mar 09 01:59:46 i have to admit, I'm hard pressed to think of something that it doesn't make better. Mar 09 02:00:02 I know of one, actually Mar 09 02:00:05 driving Mar 09 02:00:10 well, it makes it more interesting Mar 09 02:01:39 ha. that got rid of that [null] problem as well. Mar 09 02:01:59 turns out if you make all the elements of an array null, it just becomes [null] Mar 09 02:02:14 yes Mar 09 02:02:17 yes it does Mar 09 02:02:18 if you .compact() that, it becomes [] Mar 09 02:02:34 so, you just have to do it right the first time. Mar 09 02:02:39 thanks for the tip. Mar 09 02:06:25 ok so depot's working.. all thats left is GUI and multistage Mar 09 02:06:43 app in a day.. almost Mar 09 02:06:50 ha Mar 09 02:07:14 hrm.. i should put my dev stuff on my laptop and take it to work and tinker on break Mar 09 02:07:31 yes you should Mar 09 02:07:41 I attempted to do that today but forgot Mar 09 02:07:44 you should dev on your pre Mar 09 02:07:53 but I AM pushing out an update for my app now Mar 09 02:08:21 not because there was anything broken, mind you, I just changed a picture Mar 09 02:12:53 I'm pushing out an update because something was broken Mar 09 02:13:06 thats what pansies do Mar 09 02:13:31 soo Mar 09 02:13:49 who's working on an app to use the PS3 controller with the pre? Mar 09 02:14:07 not me! Mar 09 02:14:15 someone needs to damn it Mar 09 02:14:26 lol Mar 09 02:14:47 we've got quake, doom, and now duke3d.. but no real good controls Mar 09 02:16:07 dawm: bluetooth controls are a complex topic -- I *was* looking into it but my free time has dropped to about zero :( Mar 09 02:16:37 dawm: we'd need to use an alternative bluetooth stack since palm's doesn't support HID profile Mar 09 02:18:51 time to go on the offensive! Mar 09 02:18:58 * halfhalo_T400 grabs crowbar and start car Mar 09 02:20:06 drnull did i miss ya again? Mar 09 02:33:08 wooot Mar 09 02:33:14 got stats lookup working Mar 09 02:33:26 now I have to make a scene for them Mar 09 02:36:47 hey, can i run the app store app in the palm emulator? Mar 09 02:37:08 no, for a number of reasons. Mar 09 02:37:18 lemketron: ok. i was just curious. Mar 09 02:37:19 thanks Mar 09 02:37:27 i didnt think so. just wanted some confirmation **** ENDING LOGGING AT Tue Mar 09 02:59:58 2010