**** BEGIN LOGGING AT Sun May 02 02:59:56 2010 May 02 03:00:11 there's a couple May 02 03:00:59 I know of two at the moment May 02 03:01:20 yeah, there are a bunch. May 02 03:01:53 hah May 02 03:03:46 I'm probably going to be an evil traitor soon though May 02 03:47:49 rwhitby: What is screenstate? May 02 03:48:06 Roy-Pre101: oh man, you've missed the party :) May 02 03:48:20 I've got a 4 year old... I miss -all- the parties. May 02 03:48:34 Roy-Pre101: imagine a concept so simple, so elegant, that it just works the way you want it to May 02 03:48:47 Roy-Pre101: Screen on, run fast. Screen off, run slow. May 02 03:49:12 OK... you mean it's not been that way before? May 02 03:49:17 lol May 02 03:49:32 hah May 02 03:49:44 :) May 02 03:50:24 Roy-Pre101: http://forums.precentral.net/palm-pre/244474-screen-800mhz-screen-off-500mhz-uber-kernel-3rd-generation-overclocking.html May 02 03:58:05 ah, I see... it won't go to 250 when off because of the hang-on-resume? May 02 04:06:58 can I onSuccess: setTimeout("this.my_func", 3000), <- from a service return? May 02 04:12:34 Not with it in quotes like that. May 02 04:12:44 And not like that. May 02 04:12:48 You can wrap it in a function. May 02 04:13:14 onSuccess: function() { setTimeout(this.my_func, 3000); } May 02 04:13:34 And my_func must be bound May 02 04:15:35 Roy-Pre101: you are the best :) May 02 04:15:55 Well, it's tough to be modest. May 02 04:16:30 The way you had it, it would call setTimeout as soon as you were filling in the onSuccess handler. May 02 04:17:17 Roy-Pre101: i see.. uh.. so being that it's in a list and it's the end of a function... i can't possibly need both a ; and a , May 02 04:17:19 just a , then? May 02 04:18:18 Usually a semicolor. Trailing commas are bad. May 02 04:18:28 semicolon May 02 04:20:05 eclipse doesn't like that May 02 04:20:24 i also have an onFailure and onError below it May 02 04:24:43 hmm... doesn't work May 02 04:35:40 zsoc|away: Use jslint May 02 04:36:13 Roy-Pre101: ah, better idea :) May 02 04:36:23 Anyone know anything about mediawiki expressions? May 02 04:36:53 Theoretically just putting {{ #if: | yes | no }} will get you 'no' on a page. However, I always get the expression itself. :/ May 02 04:37:02 Hmm, maybe they're turned off? May 02 04:41:38 Well, that explains it. It's not included by default, it's in an extension. May 02 04:47:43 :( i just ruined my DVD drive May 02 05:19:54 Well, I spent probably 20 minutes documenting the Spinner. Far more time than it'll ever take anyone to figure one out. May 02 05:22:31 Shoulda finished sooner. dohtem just ruined his spinner May 02 05:22:51 when is new software due out May 02 05:27:38 BTW, this looks really good: http://ejohn.org/apps/learn May 02 05:27:51 (hope that link works) May 02 05:45:07 Finally downloaded Uber-Kernel. May 02 05:45:36 The name leaves a little something to be desired, I must say. May 02 05:45:59 lol kridx May 02 05:49:51 whee, palm crash May 02 05:57:12 Hmm, installed Uber-Kernel, phone rebooted (before I had manually rebooted. Now, I have UberKernel icon but it doesn't do anything when launched. No Govnah app. Is this normal? May 02 05:57:24 doing full reboot. May 02 06:08:19 yeah, govnah needed seperatly May 02 06:08:33 the ubericon is for easy unimstall May 02 11:19:00 could it be that file upload in ares is currently broken? May 02 12:23:25 good morning May 02 12:25:35 hello =) May 02 13:16:02 morn'n haeffb May 02 13:17:38 why, yes, yes it is. May 02 13:17:56 * haeffb trying to clean up syncing issues. May 02 13:19:10 try a plumber May 02 13:19:26 that might help May 02 13:27:31 * haeffb thinks I'm running into "too long of a loop" errors. May 02 13:32:52 well. time to go paint the boat. c u l8r May 02 13:33:31 paint well, my friend May 02 13:42:52 i wonder when webos will enable web workers .. maybe that's their plan for javascript services May 02 13:56:24 are there any limits on the use of the Mojo.Depot class ? May 02 13:56:32 what's "reasonnable" in terms of size ? May 02 14:26:41 ok, no limit then ! :) May 02 14:28:24 anyone know of a good example of using noticeUpdatedItems() as opposed to modelChanged() for a list? May 02 14:34:15 ok, i think i got it figured out May 02 14:34:17 but May 02 14:34:59 $('listid').mojo.noticeUpdatedItems(0, this.listmodel.items) May 02 14:35:13 i've got 4 different lists on my scene May 02 14:35:53 how would i pass the listid through to the listTapHandler? - all 4 use the same listTapHandler May 02 14:40:02 the list id is not in the event object? May 02 14:45:30 i thought the event object was the model May 02 14:45:49 i'll check May 02 14:45:55 im sure your right May 02 14:46:14 however - i've kind of got it working May 02 14:46:15 but May 02 14:46:36 it doesnt render the change on screen unless you scroll away from the list row, then scroll back to it May 02 14:47:00 is there a way to tell it to render instantly? mimicing the modelChanged May 02 14:58:22 got it May 02 14:59:37 i was using noticeUpdatedItems(0, this.list) and not this.list.items May 02 14:59:42 fixed May 02 15:01:57 now to fix the tap-highlight weirdness May 02 15:19:04 warpdesign: you still here? May 02 15:19:10 yes May 02 15:19:22 I messed around with depot limits a ways back May 02 15:19:47 you can stick a BIG hunk of data in there May 02 15:19:57 I think I went up to 100K May 02 15:20:02 oh, nice ! May 02 15:20:06 ok May 02 15:20:12 but that was in a simple object May 02 15:20:16 yes May 02 15:20:30 I suppose you can't send complex objects, right (ie: with functions,..) ? May 02 15:20:32 {"foo": "100K of text"} May 02 15:20:41 ok May 02 15:20:55 I've looked at the Mojo code that handles Depot May 02 15:21:21 it will be slower if you have a complex json object May 02 15:21:31 you can only store json objects May 02 15:21:44 nothing with functions, etc May 02 15:21:50 ok May 02 15:21:55 that's what I thought May 02 15:22:02 can't even store dates, unless you have code to serialize/deserialize May 02 15:22:09 I store dates as epoch seconds... May 02 15:22:15 hmm.. ok May 02 15:23:14 hmm.. can I store arrays as well ? May 02 15:23:24 look at json.org May 02 15:24:15 ok, should do it May 02 15:25:59 You can pass a function as an arg to the json parser. May 02 15:26:23 that function can be used to deserialize some or all objects in fancy ways May 02 15:26:37 like converting epoch seconds to Date objects... May 02 15:26:45 this page has an example May 02 15:26:47 http://www.code-magazine.com/Article.aspx?quickid=090011 May 02 15:31:20 thanks May 02 15:32:15 hmmm.. I assume native JSON is supported in webos ? May 02 15:44:44 haeffb: how can i log the event object? propertiesAsString(event) doesnt return May 02 15:49:41 <_azdak> hey yall May 02 15:50:36 BigBiff: does Mojo.Log.info("%j", event) work? Should convert it to JSON (although I haven't tried this on objects myself yet; just found it in the docs recently) May 02 15:51:11 <_azdak> anybody got any advice/experience on overall js structure in webOS? May 02 15:52:07 <_azdak> I've been only using the mojo prototype functions for appropriate event handlers, etc. May 02 15:52:12 hmm.. is there a way to access Depots using the PalmInspector (as we would do with any html5 page with the webkit inspector) ? May 02 15:53:06 BigBiff: you could use Object.toJSON(event) May 02 15:53:36 <_azdak> but I'm wondering if it's worth the effort to rewrite all my code to reside in the mojo "state" fucntions (activate, setup, etc.) May 02 15:54:17 ianbeck: looks like that's the right track - but i get a 'maximum call stack size exceeded' May 02 15:54:27 i need to narrow down the event somehow May 02 15:54:43 lemme try object.toJSON May 02 15:55:13 that's what I used. Should work unless it detects reference loop May 02 15:55:39 kridx: what will Mojo.Depot.add() do in case there is an existing key with the name ? May 02 15:56:15 replace it May 02 15:57:40 same thing - maximum call stack.... May 02 16:00:40 ok May 02 16:01:10 so how would I do something like update myField = 'foo' where key = 'bar' ? May 02 16:01:26 BigBiff: if logging the properties via logProperties or logPropertiesAsString isn't working, I'm not sure what to recommend May 02 16:01:27 without attempting to read/update/add again ? May 02 16:01:57 okdoke May 02 16:35:40 is there a way to browse Depots using the emulator ? May 02 16:36:30 why is the android market growing so fast? May 02 16:36:45 compared to webos May 02 16:39:10 more devices? beforehand, there was a bigger company backing android than webos May 02 16:39:27 ROI for the platform didn't look to be worthwhile for developers? May 02 16:49:18 Ping: Add something to webOS101.com! Copy some widget docs over, write about something you've done recently. May 02 16:49:48 Checkbox, DatePicker, Drawer... no docs there yet. May 02 16:50:13 I added file uploads so you can upload images of the widgets in action. May 02 17:01:11 I have a date picker inside a scroller, inside a list group... can't get it (including the label to display on one line. any ideas? May 02 17:02:26 tjaero: Hmm, no ideas! But when you figure it out, docuement it on webos101.com! May 02 17:02:50 Check the Palm developer forum. May 02 17:02:50 yeah it's weird, ares makes it work properly but mojo won't May 02 17:03:52 why ? May 02 17:03:55 in one word: google May 02 17:04:10 many phones/devices are running android May 02 17:04:29 but we don't need hundred of thousand of apps May 02 17:04:33 we only need good apps May 02 17:04:51 palm shouldn't play in the same playground as the others.. it's hopeless.. May 02 17:06:52 warpdesign: you can use the sqlite3 command to "browse" the depot May 02 17:06:57 since it's just a sqlite file May 02 17:07:07 kridx: yes, just found out May 02 17:07:11 however, the structure is a bit odd... May 02 17:07:15 but it seems it's kinda encoded inside the db May 02 17:07:18 not very helpfull May 02 17:07:30 yes May 02 17:07:34 it's sliced and diced May 02 17:07:48 with a bit of exploring you can figure out how it works May 02 17:07:59 tjaero: You could always use the inspector to see the html from the ares app. May 02 17:08:05 well, isn't there a way to export it correctly ? (ie: in a human-readable form) May 02 17:08:11 you may wish to install the SQLite Manager firefox plugin May 02 17:08:21 which will make sqlite browsing easier May 02 17:08:28 good idea. May 02 17:08:31 then you can copy the db file from the emu to your computer May 02 17:08:34 hmm.. let's see May 02 17:08:55 how am i supposed to access the db from the emulator using firefox ? May 02 17:08:57 you could probably write some code that exports a depot db May 02 17:09:08 copy the file to your computer using novacom May 02 17:09:46 depot is, charitably, not the best idea I've come across May 02 17:10:03 works for me because I'm storing what amounts to a single giant blob May 02 17:10:11 beyond that, well... May 02 17:10:36 can depot be on ext: like a sqlite db? May 02 17:10:44 haeffb: yup May 02 17:10:50 can't remember the incantation May 02 17:11:07 well, what's wrong with depots ? May 02 17:11:10 if you do that, you can copy directly from media/internal folder in USB mode without needing novacom May 02 17:11:50 there's a lot of monkey-motion in the Mojo depot handling code that seems kinda stupid May 02 17:11:59 they decompose the json object and store it in pieces May 02 17:12:17 when it would be a lot more sensible to just store a single text blob May 02 17:12:31 yes, would be the way I would do it.. May 02 17:12:40 I think they built it before they had the native json parser in webkit May 02 17:12:51 anyhow, I gotta run May 02 17:12:58 "see" y'all later May 02 17:45:52 blas May 02 17:46:30 basic linear algebra subprograms ? May 02 17:47:09 exactly May 02 17:48:07 i need event.id to work - getting me the id of the list by tapping a row May 02 17:48:34 have you considered bribing it? May 02 17:49:01 i've considered watching a movie and the problem corrects itself May 02 17:50:40 ive got it May 02 17:51:03 event.youknowthelistijusttapped.whatsitsid May 02 17:51:09 that seems to work May 02 17:51:30 im putting that in webos101 May 02 17:54:43 BigBiff_: you da man May 02 17:54:53 hehe May 02 17:55:19 I added a template for widgets. It's not terribly useful but, hey. May 02 17:56:36 aha May 02 17:56:41 simple js to the rescue May 02 17:57:00 wow - why do i forget to look for the easiest answer in the obvious places May 02 17:57:09 event.srcElement.id May 02 17:58:12 I always forget to check vanilla Javascript stuff when working with frameworks, too May 02 17:58:32 "Why doesn't Mojo have a periodic function caller?!" Oh, right, setInterval May 02 17:58:43 hehe, yup May 02 17:59:03 CSS question: how to I position one icon on top of another? May 02 17:59:23 z-index? May 02 17:59:25 absolute or relative positioning (depending on context) and z-index May 02 17:59:45 first icon is float: left in a list row template May 02 18:00:02 want second to be centered atop the first. May 02 18:00:10 ianbeck: hello! May 02 18:00:15 position: relative; ? May 02 18:00:17 Hey Roy-Pre101 May 02 18:00:41 Where in the source is the second icon located relative to the first? May 02 18:00:45 Same parent element? May 02 18:01:28 well, you could use a negative left margin for the 2nd icon May 02 18:01:43 and higher z-index May 02 18:02:24 i believe that's how the newsreader app does it May 02 18:04:06 it's currently inside the
of the first icon. May 02 18:05:08 If it's in the same div, I'd probably stick `position: relative;` on the div and then position absolutely (the absolute positioning will be relative to the div) May 02 18:05:26 Negative margins would probably work depending on where it is in the flow, but they can get really messy when it comes to figuring out positioning for later elements May 02 18:06:13 If your floating icon might be a moving target, that might not be the best solution, though May 02 18:06:40 the newsreader app just ignores 'position' altogether May 02 18:08:30 grrr....I can't even get the damn thing to show up. Gonna try BigBiff's method of leaving & hope it solves itself. May 02 18:08:45 Good luck! May 02 18:11:25 it always fixes itself May 02 18:12:14 haeffb:post ur html/css - id rather work on someone else's issues right now than mine May 02 18:12:47 i'll plug in some stuff to it May 02 18:13:01 even though you'll figure it out before me May 02 18:40:43 weird glitch - May 02 18:41:22 the listTaphandler gets called before the row changes class to .selected May 02 18:42:11 i wouldve thought it to be the other way around May 02 18:46:52 Hi all May 02 18:49:27 I've got one question. How can I prevent cookie becoming undefined. I need to check on application start if there is cookie, if there is now cookie go to the preferences menu. But when user run application first time there is no cookie so there is state undefined and my condition if ( this.savedValue.length < 1) not work. May 02 18:50:16 ddluk: add another condition? May 02 18:50:34 if(this.savedValue.length < 1 || this.savedValue == undefined) May 02 18:50:44 It doesn't work May 02 18:51:28 I put it in GlownaAssistant.prototype.activate but on first running it not work May 02 18:51:32 if(!this.savedValue) ? May 02 18:51:33 ddluk: http://pastie.org/942658 May 02 18:52:02 what ianbeck said May 02 18:53:02 That's working great for me (got the idea from the APress WebOS book) May 02 18:53:57 Thank, now I understand, sorry for asking but I've got second question. Can I disable in my application that button near screen under Palm Pre screen. I'm trying to find the way how to disable possibility to minimize the appliaction. May 02 18:55:00 If a user couldn't minimize your app, how would they ever exit it? May 02 18:55:42 User could only minimize my app when disable alarm entering password May 02 18:56:07 http://forums.precentral.net/web-os-development/228658-lock-app-scene.html May 02 18:56:12 so when the alarm is active and he don't know the password application is still runnig May 02 18:58:27 So I should make a service request to launch my app id May 02 18:59:36 and put it into Mojo.Event.stageDeactivated May 02 18:59:56 yep May 02 19:00:48 does anyone know if Dan Kurtz of self aware games hangs out in here? May 02 19:15:03 guess not May 02 19:34:39 Tibfib: making that service request is no good idea, maybe you know how to read the state of center button of pre ?? May 02 19:43:01 ddluk: you can't read the state... You have to do the service call. May 02 19:44:24 Tibfib: I would like to do something like that but with home(center) button May 02 19:44:25 if (event.type == Mojo.Event.back){ May 02 19:44:25 event.stop(); May 02 19:44:25 } May 02 19:44:39 ddluk: as far as i know, you can't. May 02 19:45:08 read the whole topic. You need to make your app multi-stage and then call the service to relaunch the app on deactivate May 02 19:45:35 ok, thank you. Making service request only run application from the begging not from the scene point I want May 02 19:46:09 ddluk: you should be able to get it to work May 02 19:46:39 Tibfib: ok, I will try May 02 19:49:19 <_azdak> Within a method, does 'this' refer to the method or the object? May 02 19:50:01 <_azdak> put another way, how should 'sister' methods of an object call one another? May 02 20:06:36 _azdak: this.otherMethod(); May 02 20:06:51 'this' in a method is the object that was before the dot in the method call. May 02 20:08:12 <_azdak> millenomi- so within my setup() function, May 02 20:08:56 <_azdak> i have this.doSomething = function() {} May 02 20:09:25 hmm... I'm using Mojo.depot.get() to get some info.. problem is that it's asynchronus... so my function returns before information is retrieved.. is there a way to call it asynchronusly ? had a look at Mojo.Function.Synchronize, but I don't see how I could use it for that purpose.. May 02 20:09:29 <_azdak> and the.dosomethingelse = function() { this.dosomething(); } May 02 20:10:00 I assume it's this.dosomethingelse? May 02 20:10:06 <_azdak> yeah, sorry May 02 20:10:08 anyway, yea, it'll work. May 02 20:10:34 <_azdak> thanks- getting myself all confused with oop May 02 20:11:09 warpdesign: IIRC, it takes a function, no? exploit the closureâ„¢. May 02 20:11:50 millenomi: you mean get() takes a function ? May 02 20:12:00 http://www.weboshelp.net/webos-mojo-development-resources/api-reference/612--mojodepotgetkey-onsuccess-onfailure-?catid=51%3Amojodepot- <--- says yes. May 02 20:13:22 <_azdak> millenomi- can I call methods that way from a different prototype of the same object (the .activate() or whatever)? May 02 20:13:56 _azdak: explaining it thoroughly would take a day or two (stupid prototypal inheritance >_<) but in short -- yes. May 02 20:14:03 just use this.doSomething(). May 02 20:15:01 <_azdak> cool, and thanks. I'm having a hard time finding best practice guidelines for this sorta js May 02 20:15:42 <_azdak> I originally wrote my app with a mess of globals, and integrating it into the setup(), etc. functions is making my head spin a little bit May 02 20:16:01 do read a book on the argument. JS is not easy at all. May 02 20:16:02 >_< May 02 20:16:12 or, well, it IS easy -- once you KNOW it. May 02 20:16:41 'nyway May 02 20:17:33 I dropped in chan to say, for PDK'ers, I'm working at a base library that mimics Apple's Core Foundation to ease iPhone-to-elsewhere porting: http://github.com/millenomi/argyle/ May 02 20:18:06 "but", I hear you say, "why not use STL?", and the answer is: STL doesn't have the same memory semantics as Core Foundation, it's hard to bridge, and Android doesn't have it and I target that too. May 02 20:18:12 that is all. May 02 20:18:41 millenomi: I'm not following you.. May 02 20:19:19 if you didn't get what I say, you're a) very lucky and b) not in need of that library at all :) May 02 20:21:39 millenomi: plz forgive my ignorance - that's in c++? May 02 20:22:01 yes. May 02 20:22:07 k May 02 20:22:30 the idea is, I'm making a library of things that behave like the basic building blocks Apple provides for iPhone dev. May 02 20:22:37 sure May 02 20:22:55 i'm just admiring the complexity of the language May 02 20:22:56 to make it even easier to port apps? May 02 20:22:57 so I can then port the code I already have into an executable that'll run with PDK stuff, or on Android etc. May 02 20:23:15 yea, it sucks badly as a language >_< May 02 20:23:45 it's the toughest to learn/ yet fastest to run yes? May 02 20:24:57 I would have preferred C, but I was doing a ton of OO-like things, and needed one of the Steve Jobs-blessed languages (gah) that had OO stuff built in. May 02 21:04:52 warpdesign: You can look at the code in Keyring to see how to handle async Depot gets May 02 21:04:58 it's a pain... May 02 21:06:00 http://github.com/krid/keyring/blob/master/app/models/ring.js May 02 21:06:05 yes May 02 21:06:15 I got throught it though May 02 21:06:24 You end up with a chain of functions and a callback May 02 21:06:29 but I have some little bug.. May 02 21:06:33 thanks: I'll check that May 02 21:07:11 is there anyone who speaks french to check up my translations? May 02 21:08:41 morning May 02 21:11:49 joetweeply: I do May 02 21:12:03 you wanna check up my translations? May 02 21:12:19 its some 10 lines May 02 21:15:38 joetweeply: yes, send it May 02 21:15:54 and give me 10mins: I need to fix some bug May 02 21:57:49 is there a way to disable native log messages (like " Beginning native scene transition: zoom-fade , isPop= true, palmInitFramework...") ? May 02 22:02:44 Well, not really May 02 22:02:57 why would it matter? May 02 22:06:45 cause I can't see mine in the middle of all other ones May 02 22:33:10 Roy-Pre101: ping May 02 22:43:48 onSuccess: setTimeout(function(){this.my_func();}, 3000), May 02 22:44:14 That's as close as I can get. I swear I will get this to work. May 02 22:54:06 zsoc: how about setTimeout( (function(){this.my_func();}).bind(this), 3000),? May 02 22:54:31 anyone have experience with cookies? May 02 22:54:43 i can get one to set, and tell if one exist, and delete one May 02 22:54:55 but i'm having trouble getting the values of the object i'm storing May 02 22:55:45 I store it with this: May 02 22:55:46 this.cookieRef.put( May 02 22:55:46 { May 02 22:55:46 quitYear: this.year, May 02 22:55:46 quitMonth: this.month, May 02 22:55:46 quitDay: this.day, May 02 22:55:48 amount: this.amount, May 02 22:55:52 cost: this.cost May 02 22:55:54 }); May 02 22:56:17 retrieve with this: May 02 22:56:17 this.cookieJSON = this.cookieRef.get(); May 02 22:56:50 but this.cookieJSON.quitYear is undefined, so are quitMonth quitDay, etc May 02 22:57:14 this.cookieJSON.toString() is "[Object object]" May 02 22:57:19 joetweeply: will give it a shot May 02 22:58:44 or does anyone know a good/easy way to output all the contents of the object? May 02 23:07:31 jdforsythe: you should use something like var myObject = eval('(' + this.cookieJSON.toString() + ')'); .... maybe that helps? May 02 23:17:38 no... i'm getting this in the log May 02 23:17:39 2010-05-02T23:16:13.228038Z [21710] qemux86 user.crit LunaSysMgr: {LunaSysMgrJS}: com.jdfsoftware.quitsmoking: Error: An exception occurred in the 'prefs' scene's setup() method., palmInitFramework338:2520 May 02 23:17:39 2010-05-02T23:16:13.243852Z [21710] qemux86 user.crit LunaSysMgr: {LunaSysMgrJS}: com.jdfsoftware.quitsmoking: Error: Error: Unexpected identifier, line undefined, file undefined, palmInitFramework338:2520 May 02 23:18:55 i don't understand because i had it basically just like what the example is on webos101 May 02 23:21:30 what does Object.toJSON( this.cookieJSON ); say? May 02 23:22:47 hrm.. May 02 23:23:01 ran into vanilla ice today at work May 02 23:23:28 hmm progress May 02 23:23:29 2010-05-02T23:22:40.587081Z [22098] qemux86 user.crit LunaSysMgr: {LunaSysMgrJS}: com.jdfsoftware.quitsmoking: Error: Error: Object {"amount": 1, "cost": "4.50"} has no method 'join', line undefined, file undefined, palmInitFramework338:2520 May 02 23:23:41 the object should have quityear, quitmonth, and quitday as well May 02 23:23:53 maybe the problem is that they really ARE undefined when i'm setting them! May 02 23:24:04 being able to inspect the object easily would have helped... May 02 23:24:05 thanks May 02 23:26:38 yes that seems to be the issue. i can get this.cookieJSON.amount or cost without error. something's wrong when i'm setting it May 02 23:28:59 zsoc: Still wrong! May 02 23:29:46 Roy-Pre101: well none of them work :p including the one you gave me yesterday May 02 23:30:07 Pshaw! May 02 23:30:46 onSuccess: function() { blah blah blah } May 02 23:30:58 If you want, just put the setTimeout call into a function on your assistant. May 02 23:31:03 Whoops May 02 23:31:13 onSuccess: function() { blah blah blah }.bind(this) May 02 23:31:23 WHY IS THERE NO SLEEP FUNCTION IN JS May 02 23:31:24 Then make sure it's bound. May 02 23:31:24 bah May 02 23:31:36 All you're doing is creating an anonymous function anyhow May 02 23:31:41 Two of them, really. May 02 23:32:05 something like that, anyhow May 02 23:38:34 <_azdak> anybody know any common reasons for Uncaught SyntaxError: Unexpected identifier, :1 May 02 23:39:00 <_azdak> cause that's about the least useful error message I've ever seen hahah May 02 23:39:51 hrm May 02 23:41:11 anyone know if rbtwhiz comes on here? May 02 23:47:31 heh May 02 23:47:31 http://palmhotapps.com/FastMoverData May 02 23:47:36 came up in a google search.. May 02 23:47:52 yea we've both integrated it into our apps May 02 23:48:05 josh posted that per my request the other day :) May 02 23:49:15 no i mean it came up as a result to a search May 02 23:49:20 due to data contained in it May 02 23:49:32 oh i see May 02 23:50:41 well googlebot scans the forums all the time May 02 23:50:46 probably followed his link May 02 23:50:59 was trying to find some sort of contact info for rbtwhiz .. no luck so i sent him a PM on the dev forums May 02 23:51:01 there's no robots.txt on the server nor any tags that say nofollow May 02 23:53:37 tried to find something in his flame app but all the help options pull up the app catalog and give an error ... May 02 23:58:30 man... too late to program much further May 02 23:58:37 yet could also be too late to go to bed at al May 03 00:02:32 late? where are you? it's only 8pm here lol May 03 00:02:57 ok another question - anyone have experience with custom pickers? May 03 00:03:18 i need sort of an integer picker, but with halves in between, like 1, 1.5, 2, 2.5.. May 03 00:03:26 but i don't understand what the hell this is talking about: May 03 00:04:18 Picker Widgets all extend from the same basic widget type. If you would like to implement a new type of picker, subclass the Mojo.Widget._GenericPicker and pass a strategy object. All purpose-specific logic resides in the strategy, but all basic layout and event resides in the _GenericPicker. May 03 00:04:32 Roy-Pre101: sorry for doubting you, the problem is my onSuccess isn't triggering, not the timeout syntax May 03 00:20:58 jdforsythe i'm in germany May 03 00:21:08 and totally into my code ... apparently May 03 00:21:22 but i kinda should go to bed... May 03 00:21:33 yet it's so much fun to code a game May 03 00:21:37 lol May 03 00:21:45 it's so much fun to code in general May 03 00:21:50 true true May 03 00:21:56 you know anything about custom pickers? lol May 03 00:22:03 can't get an answer anywhere May 03 00:22:06 sorry... can't help you with that May 03 00:22:28 how much numbers you have in total? May 03 00:22:32 i guess i could just go with a text box, but then you can't be sure what a user will type in May 03 00:22:44 because if it's not more than 10 you could also use a menu select May 03 00:22:59 exactly 10 May 03 00:23:14 hmm does that look basically like an integer picker? May 03 00:23:26 i have little experience with the widgets - i normally make a completely custom ui May 03 00:23:30 well... not exactly, but kinda equal May 03 00:23:53 is that the little pop-up menu that happens when you tap on stuff May 03 00:24:18 like in my webos apps, if you're familiar with the app, when you tap on the forum posts icon May 03 00:25:10 hmm i guess i could even use a drop-down selector.. what are those called again? May 03 00:26:04 listselector May 03 00:26:27 bob May 03 00:26:31 I call them bob May 03 00:26:36 lol May 03 00:26:59 that's the same thing as