**** BEGIN LOGGING AT Mon Feb 01 02:59:56 2010 Feb 01 03:09:33 Dangit. I was hoping an update for my app would be approved by feb 1st... doesn't look like it Feb 01 03:46:14 ah ha! had my router password saved in my Touch Diamond....! Feb 01 03:56:16 anyone know why the following code displays more than one result, but not one result... http://www.pastebin.org/84766 Feb 01 04:16:57 ahoy Feb 01 04:17:42 land ho! Feb 01 04:17:54 arrr Feb 01 04:18:31 remember, always plunder and pillage BEFORE burning. Feb 01 04:18:50 burn, plunder and pillage doesn't work. Feb 01 04:20:36 OK...done with that. now back to this... Feb 01 04:24:03 haeffb: touch diamond....WinMo.....ahhhhhh Feb 01 04:24:43 i hope that was an "AAAAAHHHHHHH!!!!!" and not an "ahhhhhhh" Feb 01 04:24:55 yes....AAAAHHHHHHH!!!!! Feb 01 04:25:36 WinMo == POS until they get to their sense and release something from this century Feb 01 04:26:06 HTC does do wonders with Sense on top of that pile of crap though Feb 01 04:27:05 ya Feb 01 04:28:23 maik: with your company's love for all things MS are you developing for WinMo too? Feb 01 04:28:56 no, though digitalpowers was all about winmo until i convinced him webos was better in almost every aspect hands-down Feb 01 04:29:01 this was just a couple of weeks ago Feb 01 04:29:16 i've never wanted to develop for winmo because it's just not appealing Feb 01 04:30:49 phew..... its a dying breed for sure Feb 01 04:31:25 ya Feb 01 04:31:54 if you cache a function in a variable and then pass that around....is there a way to see the body of the function that the object points to? Feb 01 04:32:12 just want to make sure a function is getting passed the correct callbac Feb 01 04:35:17 hello all Feb 01 04:36:03 hello LoneStar99 Feb 01 04:38:05 irony: i submit my painting app on friday, and a new painting app was added to the app store the same day Feb 01 04:38:39 damn....well from what I've heard yours it quite nice Feb 01 04:41:27 ya i'm not really worried or anything.. it kind of offers what's already out there Feb 01 04:42:00 and it's 99 cents Feb 01 04:42:14 mine will be the very first free one, available internationalL! Feb 01 04:43:00 well and it comes with codeslaw...so who wouldn't want that? Feb 01 04:43:12 truth... family recipe too Feb 01 04:49:34 Ok, so I make a mean smoked pulled pork sandwich on grilled buns with coleslaw and ginger-wasabit sauce. Feb 01 04:49:44 wasabi Feb 01 04:49:58 wascally wabbit Feb 01 04:51:48 damn, sounds delicious Feb 01 05:04:22 what file(s) are app logs in? since log com.example.app doesn't work on the device itself Feb 01 05:05:48 is it just /var/log/messages? Feb 01 05:06:32 yes it is maik Feb 01 05:07:46 is there a different level of debugging going on in the emulator vs on the device? Feb 01 05:10:22 it depends maik Feb 01 05:10:29 if you have the exact same ipk, then no. Feb 01 05:10:36 In my experience, The device doesn't log anything but errors (no matter the settings) Feb 01 05:10:51 to get full info debug, you need the emulator. Feb 01 05:11:15 ebredow? true. You only get errors on the device. Feb 01 05:11:33 but since I always use Mojo.Log.error() I don't much care. Feb 01 05:11:38 If it's a device-only thing you're trying to debug, I've just been changing Mojo.log.info's to Mojo.Log.Error Feb 01 05:24:47 ok, My Apps on palm site says my app is Published Feb 01 05:24:50 but i cant find it in the catalog Feb 01 05:24:55 does it take a while? Feb 01 05:24:57 a friend of mine is trying to debug an ares app he made. i tried putting it on my device and it just comes up with a white screen. i threw it into the emulator and it does the same thing but there are no relevant logs :/ Feb 01 05:25:03 what's it called? Feb 01 05:25:38 maik -- its not loading a scene. It's stopping at index.html. Feb 01 05:25:48 that was my guess, but everything i see looks right Feb 01 05:25:59 Paintr Lite Feb 01 05:25:59 codeslaw they take several hours to show up in the catalog Feb 01 05:26:05 word Feb 01 05:26:13 well it's free, so check it out and leave reviews!! Feb 01 05:26:18 in a few hours, that is =D Feb 01 05:26:20 it's declared properly in sources.json and stage-assistant has pushScene pushing "main" Feb 01 05:26:37 maik - then there's a syntax error in main Feb 01 05:27:25 shouldn't it log that though? saying something about it can't load the mainassistant class? Feb 01 05:27:28 you SHOULD be getting an error logged. Feb 01 05:27:43 nodnod what's the framwork_config.json say about logging level? Feb 01 05:27:51 is logging turned off????? Feb 01 05:30:57 set loglevel to 20 Feb 01 05:37:31 sorry, had to switch laundry Feb 01 05:37:35 it's 99 Feb 01 05:42:14 lets party like it's 1999 Feb 01 05:42:32 then it should have logged something Feb 01 05:43:04 Put a Mojo.Log.error("******** LOG ME *******") at the top of Main's setup Feb 01 05:49:09 nada Feb 01 05:49:29 well then, a) it isn't pushing and b) the error is in the ares chrome. Feb 01 05:49:59 mmhmm Feb 01 05:50:21 hmm, he's apparently commented out the entirety of the ares chrome file Feb 01 05:51:47 allow me to say that that is "invalid" Feb 01 05:51:58 why the hell would he do THAT? Feb 01 05:52:21 i think because he designed it in ares and then thought he wanted to not use ares so he copied the project over and tried to edit it in Komodo Feb 01 05:52:38 and started trying to rid the project of anything Ares Feb 01 05:52:42 maik in the index.html what is the include???? Feb 01 05:52:47 the ares.js Feb 01 05:52:57 duh Feb 01 05:53:19 if you want to de-ares it, the FIRST STEP is to make the reference to the regular framework, not the ares framework.... Feb 01 05:53:51 and delete all the chrome files. Feb 01 05:53:54 heh Feb 01 05:54:24 of course, then you have to put DIVS into the various html files.... Feb 01 05:54:27 and etc Feb 01 05:54:43 basically, with the exception of some funcctions in the assistants, it's faster to re-start. Feb 01 05:56:34 i got it Feb 01 05:56:56 Rick_work: wow, so ares doesn't make standard apps, but ares ones? Feb 01 05:57:13 like it has to include the ares.js etc stuff to run Feb 01 05:57:57 destinal-home the way that the drag-and-drop works is that the ares framework makes a chrome.json file which contains a json object for every drug and dropped thing on the screen. Feb 01 05:58:15 which contains x/y, and all the settable properties from the right-hand-frame on the ares screen. Feb 01 05:58:37 and when the app runs, the ares framework builds those widgets on the fly from the chrome. Feb 01 06:04:34 destinal-home Feb 01 06:15:40 hey, is anyone awake? Feb 01 06:15:48 yup Feb 01 06:15:55 yep Feb 01 06:16:00 what'cha need? Feb 01 06:16:06 long time PalmOS developer here... dinkin around with Ares Feb 01 06:16:13 yes???? Feb 01 06:16:25 I'm using a WebView object but it always seem to come up blank Feb 01 06:16:41 what are you trying to do with the webview object? Feb 01 06:17:02 well for now just get it to load anything, eventually though show the google tasks mobile site Feb 01 06:17:16 ok, Feb 01 06:17:28 (i'm whipping up a small app for personal use for now) Feb 01 06:18:03 so, you put the webview widget on the screen, and how are you passing the URL to it? Feb 01 06:18:21 I'm setting it via it's own attribute Feb 01 06:18:30 "url" Feb 01 06:19:12 I also tried defining a button and loading up a url that way Feb 01 06:19:48 ok, Feb 01 06:20:00 so you set a modelname for your widget in the model choice in ares? Feb 01 06:20:16 yep Feb 01 06:20:22 and then, in the js, you're setting modelname.url to some url? Feb 01 06:21:00 well that's the thing Feb 01 06:21:05 yes????? Feb 01 06:21:19 Ares is confusing me a bit Feb 01 06:21:29 ares is very confusing. Feb 01 06:21:32 in the book it shows how to set it all in javascript Feb 01 06:21:39 which book? Feb 01 06:22:03 Palm WebOS by Mitch Allen Feb 01 06:22:23 which was, of course, written before Ares came about Feb 01 06:22:26 well, that book was written before there was even a thought that ares might exist. Feb 01 06:22:38 yeah exactly... Feb 01 06:23:18 so, let's take it back and ask a question... Feb 01 06:23:38 you have the web-view widget on the wysiwyg screen. Feb 01 06:23:45 yep Feb 01 06:23:54 ok Feb 01 06:23:59 pull up the main assistant. Feb 01 06:24:19 done Feb 01 06:24:44 ok there's a call to Ares.setupSceneAssistant(this); Feb 01 06:25:08 yep Feb 01 06:25:22 that will instantiate the widget. Feb 01 06:25:29 so it exists at that point. Feb 01 06:26:14 that was what I was assuming... buttons are all there... Feb 01 06:26:18 so then, you can do things to the model. Feb 01 06:26:35 so you could do webviewmodel.url = "something" at that point. Feb 01 06:26:57 per the books direction I attempted to do just that Feb 01 06:27:14 maybe I missed something though, I don't know Feb 01 06:27:56 yep Feb 01 06:27:58 sorry. Feb 01 06:28:05 the "beginning url" isn't in the model Feb 01 06:28:14 it's in the attributes, and ares doesn't let you set it. Feb 01 06:28:18 ah Feb 01 06:28:22 and you can't change attributes after the fact. Feb 01 06:28:29 but webview widget contains a METHOD... Feb 01 06:28:37 openURL String Navigate to the specified url in the webview Feb 01 06:29:02 so myWebWidget.openURL("http://someUrl"); Feb 01 06:29:06 :) Feb 01 06:29:15 alright, it's named webMain Feb 01 06:29:34 so simply webMain.openURL("www..."); Feb 01 06:29:50 no this.that.trainsomemonkeys.jumptwice business? Feb 01 06:29:53 https://developer.palm.com/index.php?option=com_content&view=article&id=1871&Itemid=260#.WebView Feb 01 06:30:21 well..... Feb 01 06:30:22 have that very page loaded as we speak Feb 01 06:30:29 well...... Feb 01 06:30:31 hmmmmm Feb 01 06:30:34 wait one. Feb 01 06:30:44 I'm sorry, though programming isn't new to me, JavaScript definitely is Feb 01 06:31:04 well, the JAVASCRIPT is easy. The ares framework is complex. Feb 01 06:31:26 good point Feb 01 06:32:38 I guess I don't quite get where Mojo.something or this.controller.something goes (even after reading a good amount of the book...) Feb 01 06:33:15 phil_bw the webview widget is instantiated..... Feb 01 06:33:43 so if it was me, I would just do $('webMain').openURL(yadayada) Feb 01 06:34:08 that says "find the object on the page called webmain and then call it's method openURL Feb 01 06:34:12 didn't know I could Feb 01 06:34:32 it's the same thing as this.controller.get('webMain') Feb 01 06:35:30 ah, makes sense Feb 01 06:35:34 still not working though... Feb 01 06:35:39 darn. Feb 01 06:35:59 *sigh* Feb 01 06:36:19 everything I am reading and everything you are saying are going together and making sense Feb 01 06:36:35 would I want to put it in the setup section? Feb 01 06:37:40 phil Feb 01 06:37:42 I'm an idiot Feb 01 06:37:47 please forgive me. Feb 01 06:37:53 go back to the pallet view. Feb 01 06:38:07 in the righ hand pane, choose settings. Feb 01 06:38:08 done Feb 01 06:38:14 drag the right hand pane up a LONG ways. Feb 01 06:38:22 (btw, it'd seem I'm the bigger of the idiots) Feb 01 06:38:22 find the general section Feb 01 06:38:28 the third item is "url" Feb 01 06:38:57 oh remember, I said that's already set Feb 01 06:39:05 still shows nothing Feb 01 06:39:07 what did you put in it? Feb 01 06:39:13 link to google Feb 01 06:39:18 just their home page Feb 01 06:39:26 full link including http://? Feb 01 06:39:29 yep Feb 01 06:39:39 wait one. Feb 01 06:39:48 testing Feb 01 06:39:57 btw, appreciate your patience Feb 01 06:40:38 sokay, I'm actually in the process of writing a BOOK on ares, I -freaking ought- to be able to answer this sort of thing, but I've never ever tried to mess with a webview widget. Feb 01 06:40:54 haha Feb 01 06:40:59 emulator booting Feb 01 06:41:03 well I'm not an idiot either Feb 01 06:41:11 did you have a PalmOS device before your Pre? Feb 01 06:41:38 hundreds.... Feb 01 06:41:48 we've been developing for mobile since 1998 Feb 01 06:41:50 ever use IRC on it? Feb 01 06:41:53 nope Feb 01 06:42:28 ah, well ever hear of the ptpChat IRC client? Feb 01 06:42:54 nope Feb 01 06:42:59 oh Feb 01 06:43:03 well anyway, I wrote that Feb 01 06:43:29 also wrote the oh-so-useful "PhoneSwitch" app Feb 01 06:43:32 cool Feb 01 06:44:04 but anyhow, just trying to say, I'm not the usual "teach me ares so I can take my zero programming experience and write a 3D game" person Feb 01 06:44:20 so any luck on your end? Feb 01 06:44:32 same Feb 01 06:44:37 justaminute. Feb 01 06:44:59 looks like I'm helping you write the chapter on "WebView" Feb 01 06:45:15 weird Feb 01 06:45:46 hold on Feb 01 06:45:50 I'm checking. Feb 01 06:45:53 this is "odd" Feb 01 06:45:55 no problem Feb 01 06:46:31 <-- official book beta tester it seems Feb 01 06:49:09 A whole book on Ares? Feb 01 06:49:22 I would've thought that would maybe be worth a chapter in a book discussing WebOS development in general =) Feb 01 06:49:44 zomg, half of the book will probably be on how to make the WebView widget actually work :P Feb 01 06:50:39 phil_bw go to the view menu, and pull up the log Feb 01 06:50:51 and then in the lower right pane, turn the log view on Feb 01 06:52:04 not seeing it Feb 01 06:52:36 extreme upper left corner, choose view menu Feb 01 06:52:49 (the image of the monitor) Feb 01 06:52:52 ah there we go Feb 01 06:52:58 then log viewer Feb 01 06:53:05 yeah Feb 01 06:53:06 then in the lower right pane, turn log on Feb 01 06:53:17 got an error? Feb 01 06:53:27 (Betcha a bright shiny new nickle you do.) Feb 01 06:53:52 why yes indeed Feb 01 06:54:04 Error: EXCEPTION [setup], (TypeError): "Cannot read property '_mojoController' of undefined" Feb 01 06:54:14 nodnod Feb 01 06:54:16 Uncaught TypeError: Cannot call method 'OpenURL' of null, file:///media/cryptofs/apps/usr/palm/applications/com.mycompany.multitask/app/assistants/main-assistant.js:13 Feb 01 06:54:22 right Feb 01 06:54:41 ok, FIRST, take the "openURL thing out of main Feb 01 06:54:45 and try it again. Feb 01 06:54:50 that will eliminate ONE error. Feb 01 06:55:21 yep Feb 01 06:55:33 just the first one again Feb 01 06:56:08 ok Feb 01 06:56:28 now, take the webview widget out of the main pallet, just delete it and run it again, and you'll have no errors. Feb 01 06:56:37 so the webview widget ITSELF is generating an error. Feb 01 06:56:39 Gimme a minute. Feb 01 06:57:04 correct Feb 01 06:57:15 k Feb 01 06:59:10 clearly, the webview widget is broken. Feb 01 06:59:16 I'll post a question in the forums. Feb 01 06:59:33 'cause I get an error no matter what I do, if the webview widget even EXISTS. Feb 01 06:59:37 which is just weird. Feb 01 06:59:48 it's exactly as though the widget ITSELF is broken. Feb 01 06:59:50 I guess that's why it's Ares Beta eh? Feb 01 07:00:09 phil_bw -- my email is rboatright@gmail.com Feb 01 07:00:17 I'm here a lot rick work or rick home Feb 01 07:00:22 check with me tommorow. Feb 01 07:00:28 k Feb 01 07:00:35 Rick_work: are you trying ton device or on pc? Feb 01 07:00:37 Or, give up and do this as a traditional app instead of an ares app..... Feb 01 07:00:41 zomg -- both Feb 01 07:00:45 neither works. Feb 01 07:00:54 ok, just checked cause the behavior could be different on device due to pc browser security restrictions Feb 01 07:01:10 browser, emulator, device. Feb 01 07:01:17 is there a friendly way of keeping this an Ares app but using a more traditional method of implimenting the WebView widget? Feb 01 07:01:20 get an instantiaion error both ways. Feb 01 07:01:29 phil_bw check with me tommorow. Feb 01 07:01:40 unless someone else who knows drops in tonight Feb 01 07:01:46 but it's 0100 here and I"m going to bed. Feb 01 07:01:51 I need to get to bed myself Feb 01 07:02:01 so I'll check with you tomorrow Feb 01 07:03:14 phil_bw you still here? Feb 01 07:03:17 yeah Feb 01 07:03:32 put the webview widget in a vertical scroller Feb 01 07:03:34 and it will work Feb 01 07:03:42 https://developer.palm.com/distribution/viewtopic.php?f=55&t=4734 Feb 01 07:03:56 webview widgets HAVE to be inside scrollers. Feb 01 07:03:57 :) Feb 01 07:04:22 aha Feb 01 07:04:32 makes sense I guess Feb 01 07:05:50 and there it is Feb 01 07:06:06 https://developer.palm.com/distribution/viewtopic.php?f=55&t=3962 Feb 01 07:07:45 Rick_work, thanks a bunch Feb 01 07:07:50 welcome Feb 01 07:07:51 it's loading the page now Feb 01 07:07:56 * Rick_work off to bed Feb 01 07:08:10 unfortunately it's not detecting it as a mobile page and is loading the full version, but that's a battle for tomorrow Feb 01 07:08:12 'night Feb 01 07:10:06 question: any reason that this code would cause any problems? http://pastebin.com/d48ea47e7 Feb 01 07:10:13 i created a file for it and included it in sources.json Feb 01 07:11:14 and now for some reason the assistant for the first scene that gets pushed doesn't get called Feb 01 07:32:00 hm Feb 01 07:36:03 nevermind, figured it out Feb 01 07:53:27 i'm trying to write a class to make storing things in a database easier. my get() function calls the framework's depot.get() function, which passes the retrieved item to a callback function. is there any way i can have my get() function return that passed item? http://www.pastie.org/803866 Feb 01 07:57:16 jlazaroff: nope, since the method looks to be asynchronous Feb 01 07:57:32 The simplest approach might be to allow the user to pass a callback Feb 01 07:57:56 ie. vault.get('someKey', function(item) { /* this func is called with the item */ }) Feb 01 07:58:31 then you'd have something like get: function(key, callback) and this.depot.get(key, callback, this.getFailure) Feb 01 08:04:22 zomg: argh, i was afraid of that :( Feb 01 08:04:28 is there any way i can pass variables by reference? Feb 01 08:05:40 so that i can assign a value to the variable from within the function? Feb 01 08:05:48 because otherwise there's not even a point in doing what i'm doing Feb 01 08:27:23 jlazaroff: objects and arrays are passed by ref Feb 01 08:27:40 well, not really, but they aren't copied Feb 01 08:28:04 so if you do func(foo) where foo is an object, and inside func change a property in foo, the changes are reflected in the calling code Feb 01 08:30:21 zomg: so i can say like get(key, passedbyref); and have the value from the depot assigned to passedbyref? Feb 01 08:31:52 pretty much i don't want to have to write a whole callback function every time i want to get an item out of the depot, is why i'm writing this class Feb 01 08:33:14 jlazaroff: functions are objects.....a generic callback suffices, just pass it around Feb 01 08:34:16 jlazaroff: doesn't get just take a key? Feb 01 08:37:06 jlazaroff: you can't assign a value to passedbyref, but you can assign a value to a property of passedbyref Feb 01 08:37:11 ie. passedbyref.foo = 'bar' Feb 01 08:37:53 jfelectron: get does just take a key, but it passes the result to a callback function rather than just returning it Feb 01 08:37:53 Object variables are references to the object, and when you pass it around, the reference is copied Feb 01 08:38:10 pretty much i want to be able to be like var blarg = this.randomdepot.get("key"); Feb 01 08:38:30 which was why i was going to write a class Feb 01 08:39:26 yeah, you could encapsulate it within a class so it works like that Feb 01 08:39:55 jfelectron: could i? i was trying before Feb 01 08:40:21 i had this http://www.pastie.org/803866 but i wasn't sure how to make my get() function return the value of what it got from the depot Feb 01 08:42:49 anyone from palm here? Feb 01 08:43:00 thinking...perhaps not, you're trying to make something synchronous that isn't Feb 01 08:43:25 yeah, that's what zomg said Feb 01 08:43:37 what does "synchronous" mean, actually? Feb 01 08:44:25 jlazaroff: it means that function doesn't return until the request on the depot does Feb 01 08:44:51 you have to use a callback because its uncertain when the request returns and you don't generally want to wait for it Feb 01 08:45:15 same with ajax requests to web pages Feb 01 08:45:26 aaah Feb 01 08:45:35 yeah, i wasn't sure what "asynchronous" meant in ajax Feb 01 08:45:48 the calling function always returns before the actual data does Feb 01 08:47:12 aaaah Feb 01 08:47:30 argh, using a callback function for that is such a messy solution though Feb 01 08:47:35 maybe i'll just stick to cookies? Feb 01 08:47:45 for this at least Feb 01 08:48:12 i don't want to have a thousand callback functions littered around my program just for depot access Feb 01 08:56:58 can i ask advice on which storage method to use, actually? Feb 01 09:15:14 Okay so on the emulator Esc activates back gesture how do I activate the scene deactive gesture, the pearl button? Feb 01 09:20:52 with Pos1 crasheed Feb 01 09:21:45 n/m figured it out it's the home key Feb 01 13:28:23 my keyboard doesn't have a Home key o_O Feb 01 13:28:40 also sweet reply to a 4 hour old conversation Feb 01 13:51:58 developer doc pages need a bug reporting tool Feb 01 14:01:00 theres a bug reporting area in the forums Feb 01 14:01:07 they monitor it actively every day\ Feb 01 14:04:35 i always forget about those forums Feb 01 14:04:45 i'll check it out Feb 01 14:48:00 is there a reference for all the built-in commandMenu buttons somewhere? ie. back, forward, refresh Feb 01 14:50:03 not that I'm aware. just browse through the /images directory in the SDK Feb 01 14:50:21 found it, i think (global-menus.css) Feb 01 15:00:34 yes, that's where the icon style names, used in the menus, are defined Feb 01 15:02:13 it's possible to crop a image with sdk? Feb 01 15:13:22 hey all: quickest way to get an app FROM the phone onto the emulator? Feb 01 15:14:42 I use Komodo IDE, added the WebOS Add-On, it has buttons for both phone and emulator Feb 01 15:15:08 does it let you pull the ipk off the phone Feb 01 15:16:20 i don't believe the ipk is saved on the phone Feb 01 15:16:36 `find` in / doesn't come up with any matches Feb 01 15:16:41 hhmm Feb 01 15:16:42 ok Feb 01 15:17:06 supposed to present the app i launched for my company meeting this morning, but i don't have the source code with me =/ Feb 01 15:18:35 anyhow, my app hit the catalog this morning, you guys should check it out Feb 01 15:18:45 paintr lite -- it's free =) Feb 01 15:19:56 grats :) will check it out as soon as this file copy finishes Feb 01 15:28:41 codeslaw: have to ssh into the phone & copy the app directory. or maybe use terminal to copy to media/internal & then usb. Feb 01 15:28:54 hy bmyers Feb 01 15:29:02 hi Feb 01 15:29:13 ooh, hey finally got my auto indent working! Feb 01 15:38:32 oo people are up this early Feb 01 15:46:05 early :) for me it's nearly 11AM Feb 01 15:46:21 haeffb_pre: had a 0.9 version of the source, i just packaged that and used it for the presentation Feb 01 15:46:22 Morning FreeTim Feb 01 15:47:00 Morning Rick_work and all... we have no lives, in this channel all the time :) Feb 01 15:47:48 right Feb 01 15:48:28 stop exposing too much truth Feb 01 15:53:16 it's 11:55pm here :D Feb 01 15:53:24 or around there Feb 01 15:53:36 my palms time is off without service >.> Feb 01 15:54:12 palm needs to expand to taiwna Feb 01 15:54:17 *Taiwan Feb 01 15:54:43 I was going to ask if it was taiwan or the philipenes... Feb 01 15:54:48 butyou answered that yourself Feb 01 15:55:01 heh Feb 01 17:19:21 anyone know if precentral review free apps? Feb 01 17:19:29 reviews* Feb 01 17:19:34 they do not. Feb 01 17:19:47 darn Feb 01 17:19:48 oh well Feb 01 17:19:57 but they're staged and have to be posted by a moderator Feb 01 17:20:13 what do you mean staged Feb 01 17:20:32 you post an update or a new file it does not appear until a mod pushes it live Feb 01 17:20:50 ah i see Feb 01 17:31:50 by 'reviews' do you mean write an article? Feb 01 17:55:26 haeffb_pre: yes, like an article under their Review -> App Review section Feb 01 17:56:09 morning Feb 01 17:56:25 morning LoneStar99 Feb 01 17:56:38 hrmmmmm so my apps been queued for review for 4 hrs now Feb 01 17:56:44 but it's for the web catalog Feb 01 17:56:49 whys it taking so long Feb 01 17:56:58 crasheed: so has mine this morning, not sure maybe there is something up Feb 01 17:58:24 did u submit to app catalog or web catalog? Feb 01 17:58:42 crasheed: web catelog, it was actually just an update to a program that is already on there too Feb 01 17:59:58 hrmmmm Feb 01 18:00:28 oh digitial how do you get the URL to your app that the phone uses? Feb 01 18:00:35 for apps on the web catalog Feb 01 18:05:46 http://developer.palm.com/webChannel/index.php?packageid=com.codeslaw.paintrlite Feb 01 18:06:01 replace com.codeslaw.paintrlite with your ap id Feb 01 18:06:31 crasheed: yep what codeslaw said Feb 01 18:06:39 hrmm i'll try it Feb 01 18:06:51 its also listed in your app under my apps when everything goes live Feb 01 18:09:08 crasheed: also, when i first published to the web channel i didnt get queued for review, it just went live after 2 hours, i am guessing there is something going wrong with the app submission process Feb 01 18:09:24 codeslaw: get someone to write a review for you and send it to precentral. Feb 01 18:09:28 it didn't WORK Feb 01 18:09:32 that url Feb 01 18:09:38 brings me to the web browser Feb 01 18:09:47 i want the URL that the phone uses to download Feb 01 18:09:58 well to buy the app Feb 01 18:10:12 haeffb_pre: someone wrote one in the precentral forums... should i send that to the admins (or whom?) Feb 01 18:10:27 crasheed: i thought that one was it, i have no idea then Feb 01 18:10:35 i KNOW i saw it in the forums somewhere, let me check Feb 01 18:10:41 couldn't hurt. Feb 01 18:10:42 crasheed: try http://developer.palm.com/appredirect/?packageid=com.digitalpowers.groupgenerator but with your app id Feb 01 18:10:59 who would i send it to? Feb 01 18:11:31 crasheed: when you put it into a regular browser it would take you to a listing, when you go to it on your phone it should bring up the install page that looks like the app catelog page Feb 01 18:12:30 hrmm Feb 01 18:12:48 i'm using the URL in an href div on my page Feb 01 18:13:04 could that cause it to be open in browser instead of catalog listing? Feb 01 18:14:09 not sure, just go to the page in a regular browswer and type in your phone number, it will text you a link Feb 01 18:14:46 i don't have phone service atm Feb 01 18:14:50 soooooo Feb 01 18:14:57 i can't type in my phone number LOL Feb 01 18:15:05 because i won't get the text Feb 01 18:16:07 submitting an app is a checkbox gauntlet Feb 01 18:16:19 ACTUALLY I THINK I KNOW WHY Feb 01 18:16:31 it might be because the Emulator Doesn't have an app catalog Feb 01 18:16:40 therefor can't open the catalog LISTING it's genious Feb 01 18:18:21 ambackstrom: there's always the "select all" button for the list of like 20 boxes (presuming you know what you're saying yes to) Feb 01 18:18:52 i wonder does it let you submit if you select no to one Feb 01 18:20:07 HA I WAS RIGHT Feb 01 18:21:17 first time through, i had to read them all anyway Feb 01 18:21:25 nice of them to put a "last changed" date, for next time Feb 01 18:30:35 ambackstrom: yeah i read them all the first time and started using the checkbox Feb 01 18:31:05 crasheed: did you want me to try installing an app for you? and yes the emulator wont work it indeed does not have an app catelog Feb 01 18:32:26 "Thank You. There was an error in publishing your application. Please contact Palm." Rock on :) Feb 01 18:32:55 I see it in "My Apps," though Feb 01 18:33:58 ambackstrom: I've had that once. the app was packaged with palm-package though? Feb 01 18:36:32 yeah, it was Feb 01 18:40:56 ambackstrom: i had the same thing happen this morning, does it say "queued for review" now? Feb 01 18:42:43 mines still qeueud for review it's been like 6 hrs now Feb 01 18:46:44 Yeah, it's queued digitalpowers Feb 01 18:47:07 Which seems weird, because the "Distribution" sections says "Beta Application distribution is free, and does not require the app to be reviewed." Feb 01 18:47:08 ambackstrom: i am guessing something is up this morning, not sure if chuqui is here and can tell us or not though Feb 01 18:48:55 I'm around. send me an email with the details of what's going sideways, and I'll escalate Feb 01 18:49:40 chuqui: ok i will send you one, what is your address? Feb 01 18:50:47 pdc@palm.com Feb 01 18:52:53 i'm also one of the people with an app in queue for 6 hrs now even thou it's web distro Feb 01 18:53:18 emails away Feb 01 19:06:06 hey jfelectron :) Feb 01 19:06:19 hey jlazaroff! Feb 01 19:07:11 jf & jl -- my app launched today Feb 01 19:09:54 codeslaw: niiiice Feb 01 19:10:02 codeslaw: congrats! :) Feb 01 19:10:12 thanks Feb 01 19:10:18 does stageController get attached to the app assistant object? Feb 01 19:10:20 ended up changing the name 2 days before i submitted Feb 01 19:10:34 this. controller.stageController, from within the assistant Feb 01 19:13:12 codeslaw: I know that much. What I'm hoping to accomlish is to setup an gobal app menu in the app-assistant, setup a listener to the activate event, and change the menu appropriately for the scene being pushed Feb 01 19:13:46 i see Feb 01 19:13:49 though I guess I can't really setup the menu until there is a scene controller active Feb 01 19:14:08 i haven't messed with the global app menu much at all Feb 01 19:15:11 yeah....I just though of a solution. I'll just setup the object that will handle the menu in the app-assistant and on the first activate event, I'll setup of the widget. On subsequent activation events, I'll just update the menu Feb 01 19:15:53 that should work, as long as the app menu respects the modelUpdated function Feb 01 19:16:00 which i don't see why it wouldn't Feb 01 19:20:33 anyone know why the following code does not display a single result, but does more than one result... http://www.pastebin.org/84766 Feb 01 19:25:38 how do i put data into a cookie so that i can use that cookie to populate a list? Feb 01 19:26:28 jlazaroff: json Feb 01 19:26:42 does the 1.4 emulator support the accelerometer? anyone know? Feb 01 19:27:02 natenrb9: you in the early access program? Feb 01 19:27:07 yeah Feb 01 19:27:17 have it loaded Feb 01 19:27:18 check the forums then Feb 01 19:28:30 test Feb 01 19:28:37 Oh, now I can talk. Feb 01 19:28:56 lyht: yes, they need to tell you to use IDENTIFY more prominently Feb 01 19:29:19 well, I thought I done with the reg process... and wasn't Feb 01 19:29:30 thing is, with the ircd-seven switch they could probably safely remove the requirement to identify Feb 01 19:30:02 I believe it was instituted to stop the javascript-based spam which should now no longer work anyway Feb 01 19:30:38 So I can't figure out how to update widgets on the fly... when I click on one widget, I want to automatically update the options in another widget. Feb 01 19:30:48 natenbr9: you can use luna-send to simulate accelerometer events Feb 01 19:31:07 lyht: update the model, then do modelChanged Feb 01 19:31:47 jfelectron: you know the link to the page that details the commands? Feb 01 19:31:47 codeslaw: how do i have a variable number of elements in a json object? i have an array that i add an element to each time i iterate through a for loop, but i'm not sure how i'd do that with a json object Feb 01 19:32:02 natenbr9: hold on, let me pull it up Feb 01 19:32:07 cool Feb 01 19:33:11 jlazaroff: use an array within the JSON object Feb 01 19:33:57 :w Feb 01 19:34:01 argh, sorry Feb 01 19:34:31 natenbr9: acutally looks like I'm mistaken.....docs say accelerometer not supported in emu Feb 01 19:34:50 dang Feb 01 19:34:50 jfelectron: yes it is Feb 01 19:35:05 did u try like F4 and stuff? Feb 01 19:35:17 i belive that simulates shake or sumthing Feb 01 19:35:32 i remeber reading it somewhere Feb 01 19:35:37 jlazaroff: http://www.pastebin.org/85048 Feb 01 19:36:56 carsheed: yeah, but that's not really use of he accelermoter...like to debug a game that uses the accel for control Feb 01 19:37:18 oh okay not sure what u ment Feb 01 19:37:55 yeah, I need a bit better accelerometer support than just shaking... Feb 01 19:38:22 well try f4-f7 XD Feb 01 19:38:27 dunno what the rest do Feb 01 19:38:35 one of them should be tilt :D Feb 01 19:38:39 codeslaw: something like this? (sorry for the weird indentation) http://pastie.org/804622 Feb 01 19:39:03 natenbr9: that's what I figured Feb 01 19:39:29 natenbr9: if you just want to test you handlers...you could setup a test class that send fake events to them Feb 01 19:40:02 k, thanks Feb 01 19:40:34 how do I edit a pastie? Feb 01 19:40:47 oh, i'm not sure. i'll just use pastebin Feb 01 19:40:48 jlazaroff: you have to wrap that value in an object Feb 01 19:40:59 { } Feb 01 19:41:51 codeslaw: Oooooh, i get it! Feb 01 19:42:02 almost done. is it recommended to submit to palm and to precentral? Feb 01 19:42:08 jlazaroff: you could also use a for each Feb 01 19:42:12 this.propertyGet = []; Feb 01 19:42:12 $A(props).each(function(a, index){this.propertyGet[index] = getarray(stuff)}.bind(this)); Feb 01 19:43:09 dylanmel: many devs use precentral for betas, palm for production Feb 01 19:43:42 hm okay, so its not required but perhaps the feedback could be hepful Feb 01 19:43:44 and in some cases it gets denied by palm and stays in precentral Feb 01 19:43:51 ha Feb 01 19:43:54 dylanmel: yup on both Feb 01 19:43:57 such as my music wave app :D Feb 01 19:44:28 i'd like to check that out. i've been coding in my own little world and haven't seen anything new lately. Feb 01 19:44:39 u should check it out Feb 01 19:44:44 I'm very sure u'd like it Feb 01 19:45:05 music wave lite? Feb 01 19:45:16 sweet looking Feb 01 19:45:20 yea Feb 01 19:45:42 music players a little glitchy but i plan to release a new version tomorow Feb 01 19:45:54 support for all keybord languages :D Feb 01 19:46:10 very nice. what was their excuse for rejection? Feb 01 19:46:10 people in china were complaining.... Feb 01 19:46:29 they can't verify the source of download is legitiment Feb 01 19:46:29 people in china. NICE! Feb 01 19:46:39 bah Feb 01 19:46:44 which has nothing to do with the app Feb 01 19:46:54 because you can download any link with or without the app Feb 01 19:47:11 doesnt radiotime do the similar thing? Feb 01 19:47:21 yea Feb 01 19:47:25 but i think he has lisences Feb 01 19:47:29 to each of the stations Feb 01 19:47:39 so he's got more backing his app up Feb 01 19:47:56 uhh yeah RadioTime is behind it :) Feb 01 19:47:59 my app just kinda like a web browser and grabs whatever it finds Feb 01 19:48:01 ah i see. Feb 01 19:48:50 exactly, it's totally agnostic, not your apps fault if theres shady sites out there. cha. Feb 01 19:48:58 codeslaw: is this the right syntax? http://pastebin.com/d653e320 Feb 01 19:49:10 it's causing some problem, but it doesn't show up on the log -_- Feb 01 19:50:33 hmm... do a Mojo.Log.info(blogList.toJSON()) Feb 01 19:50:52 i think you can call that directly on an array? not sure... Feb 01 19:51:18 sure you can Feb 01 19:51:42 ya dump that to the log and see what it's doing Feb 01 19:52:50 the for loop never finishes Feb 01 19:53:11 should i just make blogList an object and put the array in that? Feb 01 19:53:40 damn it's 4am Feb 01 19:53:45 g'nite Feb 01 19:53:50 cheers Feb 01 19:55:50 did you define numberOfBlogs jlazaroff Feb 01 19:57:50 anyone know how often projectAppetite.com updates? Feb 01 19:57:56 anyone know if I the app catalog can be accessed via wifi mode? Feb 01 19:58:18 codeslaw: it should be, let me check Feb 01 19:58:38 LoneStar99: i'm almost positive it can Feb 01 19:59:30 hi everyone Feb 01 19:59:38 hello Feb 01 20:00:09 i want to write a query like this:select * from 'donor1' where address like %?%; Feb 01 20:00:25 but the above is not the right syntax Feb 01 20:00:25 codeslaw: yeah, it is Feb 01 20:00:28 hm Feb 01 20:00:38 how do you know the loop isn't terminating? Feb 01 20:00:49 so can anyone tell me the right syntax Feb 01 20:01:47 sorry my browser crashed Feb 01 20:02:21 because when i put some log test statement after it, it doesn't run Feb 01 20:03:18 throw some log statements into the loo Feb 01 20:03:19 loop Feb 01 20:03:23 and see what's going on Feb 01 20:05:16 Yatharth: it might need to be ... LIKE '%?%' Feb 01 20:05:26 and I don't think you need to give the trailing ; Feb 01 20:05:49 ohhkk Feb 01 20:05:52 let me try Feb 01 20:07:02 codeslaw: okay, figured that out. thanks :) Feb 01 20:08:25 np, what was happening? Feb 01 20:09:33 sugardave: can u check out the following code - it displays results only if more than one result is returned... http://www.pastebin.org/84766 Feb 01 20:09:44 i changed the name of the variable but forgot to update it somewhere else in the loop -_- Feb 01 20:10:31 ah Feb 01 20:10:34 it'll happen Feb 01 20:12:14 i think it might be a protype bug... Feb 01 20:14:13 okay, must go to lunch now Feb 01 20:14:16 thanks codeslaw :) Feb 01 20:19:46 anyone have a recommendation for a hard case for me pre? Feb 01 20:19:49 low profile Feb 01 20:20:03 the one at the sprint store (big silver ordeal) looked like crap Feb 01 20:20:56 otterbox released a precase. Feb 01 20:21:08 but i use it without protection Feb 01 20:21:46 LoneStar99: if I had to guess, I'd say that when there's only one result, the server isn't sending back an array...but other than that, I have no idea Feb 01 20:25:27 sugardave:actually the like operator is not working that way Feb 01 20:25:47 i mean the way i m using like operator in my code is not working Feb 01 20:26:11 select * from 'donor1' where address like ? Feb 01 20:26:18 this is how i am using it Feb 01 20:27:05 sugardave: yeah it think that is what it is, do i need to recode it for it accept one result and an array? Feb 01 20:36:30 hi Feb 01 20:37:11 who knows how can i get current finger position for the zoom gesture ? Feb 01 20:37:11 hi Feb 01 20:37:19 anyone tried the Seido Innocase? Feb 01 20:37:37 No Feb 01 20:39:52 I'm using the Innocase. I like it. Feb 01 20:39:59 Yatharth: if you're not using the % operators for matching, then don't use LIKE...use = Feb 01 20:40:27 LoneStar99: you'll have to see what the result data type really is when there's only one result and handle it differently Feb 01 20:40:31 Robdor: is it really thick? Feb 01 20:41:21 codeslaw: It's fairly thin. It does make the phone feel a little hefty. Feb 01 20:43:21 sugardave:I want that if i am using "select * from 'donor1' where name like ?" then even if i enter "yat" then it should display the record having name field as yatharth Feb 01 20:44:28 sugardave: oh ok that was my next question: so if one result is returned no matter what it has to be handled different? trying to use the least minum code for it... Feb 01 20:52:40 so, anybody has experience of working with gestures ? Feb 01 20:53:17 fanatsumy what do you want to know? Feb 01 20:53:56 i need to know where is the highest finger placed on my scene while zoom gesture Feb 01 20:54:07 top left or coordinates Feb 01 20:55:45 fanatsumy you're trying to use a pinch/spread gesture? Feb 01 20:56:13 yes, it works but i need to know in what part of a screen was this gesture Feb 01 20:56:33 you're in a webview widget? Feb 01 20:56:48 no, in my own Feb 01 20:57:00 what event are you using to get the pinch/spread? Feb 01 20:57:27 this.controller.document.observe('gesturestart'... Feb 01 20:57:33 also gesturechange and gestureend Feb 01 20:57:40 about to get down on those gestures for my next app Feb 01 20:57:49 or rather, pro version of current app Feb 01 20:58:15 fanatsumy: from what i've read, the events no longer tell you the location of any fingers, just teh center point and width between them... Feb 01 20:58:22 which sucks Feb 01 20:58:26 i took them from imageview widget Feb 01 20:58:43 ok, how can i get the center point > Feb 01 20:58:44 ? Feb 01 20:58:50 not sure Feb 01 20:58:52 it will be good too Feb 01 20:59:07 do a Mojo.Log.info(Mojo.Log.propertiesAsString(event)); Feb 01 20:59:20 i haven't messed with them myself Feb 01 20:59:39 the problem is i don't have a phone, only emulator :) Feb 01 20:59:52 so i can't log that event) Feb 01 21:00:05 but thank you for your advice Feb 01 21:00:09 then how are you going to do a pinch-spread in the emulator? it doesn't support it. Unless you get on a phone, you're stuck.... Feb 01 21:00:10 in any case) Feb 01 21:00:12 Yatharth: sorry, not sure why it isn't working, I've not tried LIKE yet Feb 01 21:00:30 i've made it without a phone, my friend have tested it Feb 01 21:00:33 LoneStar99: no, if it's an array then no code change should be necessary...you only need to handle it differently if it's different Feb 01 21:01:11 i have a deep imagination) Feb 01 21:01:44 Yatharth -- it's not LIKE * it's like % Feb 01 21:01:53 maybe there are some websites where I can find more information about zoom gesture event > Feb 01 21:01:57 ? Feb 01 21:01:59 sqlite doesn't use * as a wildcard character, the wildcard is % Feb 01 21:02:27 fanatsumy it's not documented at this point, it's an unpublished api. Feb 01 21:02:38 it's bad Feb 01 21:02:59 if you had a device you could work it out. Feb 01 21:03:06 Rick_work: I suggested LIKE '%?%' but I guess it's not working for him Feb 01 21:03:30 Have you checked the webos101 wiki to see if they have an article on gestures fanatsumy ??? Feb 01 21:03:39 ok, i'll ask someone with a phone to test it Feb 01 21:03:45 no, i havent Feb 01 21:03:45 sugardave how about just a % ??? Feb 01 21:03:55 yeah, I guess so Feb 01 21:04:04 rick_work: huh...I use select * Feb 01 21:04:11 he wanted to match YAT* so it would be LIKE 'Yat%' Feb 01 21:04:26 oh ok...that type of wildcard Feb 01 21:04:26 so LIKE '?%' Feb 01 21:04:28 no no jfelectron in the like Feb 01 21:04:34 sugardave yes Feb 01 21:04:36 yeah...got it Feb 01 21:04:53 sugardave http://www.sqlite.org/lang_expr.html#like Feb 01 21:05:07 ALWAYS go to sqlite.org for syntax questions. Feb 01 21:05:07 got it :D Feb 01 21:05:40 Rick_work schools us sql noobs yet again :) Feb 01 21:05:46 but this should still work, and would match thisYattext LIKE '%?%' Feb 01 21:05:59 hmmmmm Feb 01 21:06:17 you know, I just absolutely hate ? substitution and never use it because it always screws me up. Feb 01 21:06:21 hehe Feb 01 21:06:40 I build my strings so that they are what I want... Feb 01 21:06:52 sqlCommand= blah blah blah Feb 01 21:07:04 No ? substitution. I don't trust it. :-) I'm old Feb 01 21:09:39 are you against ninja's in general or just sql ninja's? Feb 01 21:09:43 placeholders were created to prevent sql injections) Feb 01 21:10:06 that and their super conveniet Feb 01 21:10:08 so, I think I'm coming late to this party, too...but I started looking at google gears and it's amazingly similar to just a regular old Mojo app using a db Feb 01 21:10:29 sugardave: I think there was an Ajaxian post to that effect Feb 01 21:10:38 Chrome extensions, GG, and Mojo are very similar Feb 01 21:10:46 interesting Feb 01 21:11:44 does anyone know if WebOS will render dataURI? Feb 01 21:12:01 I want to use them to cache images Feb 01 21:12:31 i couldn't get it to create the datauri. i think it will render them though. Feb 01 21:12:36 placeholders are fine, really, and fanatsumy I understand that they were invented to reduce sqlinjection, I do -not- agree that they're super convinient jfelectron I think they reduce code readability. Feb 01 21:12:43 you can cache images in the database Feb 01 21:13:22 fantasummy: how so? base64 encode? Feb 01 21:13:37 Rick_work, maybe you're right, but i find it very comfortable to use :) Feb 01 21:13:40 yes Feb 01 21:13:42 base64 Feb 01 21:13:44 the daturi should already be base64. Feb 01 21:13:50 yes Feb 01 21:13:51 but large images are then even larger :/ Feb 01 21:13:52 I agree on the readability front Feb 01 21:14:14 dylanmel: but I can store them locally rather than having to do 1000 HTTP requests Feb 01 21:14:17 'this ?', [ 'rocks' ] Feb 01 21:14:47 yeah but if you run out of room you have to code for the failure Feb 01 21:15:07 imho base64 encoded images is wasteful Feb 01 21:15:07 Basically I want to push a list of images that I want to cache to webservice, base64 encode them and then store those in a databse or as dataURI Feb 01 21:15:34 dylanmel: much faster load times Feb 01 21:16:00 if its something non-critical like avatar images or whatever, sure. you should be caching them but not depending on them Feb 01 21:16:24 anyone want to test out my app catalog search engine app? Feb 01 21:16:26 dylanmel: don't 'depend' on them...but it looks lame when there is a lag in displyaing them Feb 01 21:16:39 LoneStar99: sure Feb 01 21:17:26 http://admin.work.lonestarbeer.operaunite.com/file_sharing/content/ Feb 01 21:17:26 right, so if they're cached great, if they are not then put them in the cache, but be wary of assuming you have all this memory to put base64 encoded images into, is just my approach. Feb 01 21:18:16 let me know what you think Feb 01 21:18:31 just a few bugs i need to fix Feb 01 21:18:57 woot, status of my first beta app has changed to "Published" Feb 01 21:19:04 now just waiting for the link to start working >_< Feb 01 21:20:02 awesome ambackstrom Feb 01 21:28:51 congrats ambackstrom! Feb 01 21:32:09 trying (and failing) to not obsessively check the link until it's live Feb 01 21:32:50 you should write an app to do that and fire an alarm when its ready Feb 01 21:34:55 that's the next feature for my app (background checks + synergy notification), would be good practice! ;D Feb 01 21:35:07 heh heh Feb 01 21:45:34 what order is sources.json read? In the emulator it seems to be top down... but now on my phone some classes dont seem to see variables defined in previous files. Feb 01 21:53:27 LoneStar99: you work for the beer company?!?!?! Feb 01 21:55:10 grrr. pre camera not good for photographing receipts. Feb 01 21:55:43 haeffb_pre: Nope. Feb 01 21:56:17 Is it a software thing or does the camera not support that depth of field? Feb 01 21:59:28 auto focus. Feb 01 22:01:13 camera has a fixed focal length, and can't focus at a distance that is close enough to make the receipt legible. Feb 01 22:01:33 magnifying glass Feb 01 22:02:48 That pretty much sucks. The non-focus and the lack of a true compass were pretty sucky shortcuts. Feb 01 22:03:23 yeah, I would love a real compass Feb 01 22:04:00 codeslaw: no beer company Feb 01 22:04:23 ... shame Feb 01 22:04:30 yeah i know Feb 01 22:04:42 it's the best low quality beer in texas Feb 01 22:04:54 yeah i love it Feb 01 22:05:19 oh of the things i missed living in cali Feb 01 22:05:37 you are in cali now, or texas Feb 01 22:05:52 texas Feb 01 22:05:58 word Feb 01 22:06:04 but eventually going back to cali Feb 01 22:06:34 i love cali Feb 01 22:06:38 same here Feb 01 22:06:50 i'll be in texas for a few more years at least though Feb 01 22:07:02 and texas, but cali is 80% more me Feb 01 22:10:12 been back in texas since july, but thinking will make my voyage back very soon Feb 01 22:10:49 right on Feb 01 22:11:48 now "right on" is total cali Feb 01 22:11:56 haha Feb 01 22:13:07 lemketron: seen my app, Paintr lite, by chance? Feb 01 22:13:21 codeslaw: I have not Feb 01 22:13:53 well, if you get a chance, it's my best case for begging for more canvas functionality Feb 01 22:14:05 and its free Feb 01 22:14:34 i tested your app, it is cool Feb 01 22:14:42 codeslaw: what all did you remove/limit for the lite version? Feb 01 22:14:59 codeslaw I played with it as well. Best one yet. Feb 01 22:15:18 zooming/scrolling on the canvas, undo, way more brushes Feb 01 22:15:30 can't do a proper RGB color wheel yet either Feb 01 22:15:43 so, its only a 16 color palette Feb 01 22:16:07 cool cool Feb 01 22:16:25 having a larger canvas is pointless if you can't save out beyond the size of a screenshot Feb 01 22:16:55 codeslaw: by the way if you need a color-picker: http://work.lonestarbeer.operaunite.com/file_sharing/content/url_palm142.png Feb 01 22:17:14 LoneStar99: hah...was just going to tell him about our color picker Feb 01 22:17:32 making the picker isn't the prob, that one looks nice Feb 01 22:17:33 lol Feb 01 22:17:43 and works Feb 01 22:17:50 huh, can't get forward swipe to work -- maybe because I have app-switching gestures enabled? Feb 01 22:17:55 it's tinting an arbitrary png to a color, that isnt possible Feb 01 22:18:08 lemketron: have to do a "half swipe" when advanced gestures is on Feb 01 22:18:14 jfelectron: and I worked on one, cuss 90% of pickers in the wild did not work on webos Feb 01 22:18:55 codeslaw, because you are using the pngs as brushes? Feb 01 22:19:28 lemketron: in your forward swipe handler have you tried preventDefault() or event.stop() Feb 01 22:19:58 jfelectron: itym @codeslaw Feb 01 22:20:40 jfelectron: no, but will def look into this Feb 01 22:21:48 haeffb: have you seen the dvd lens pre camera hack? Feb 01 22:35:33 jfelectron macro hack? Feb 01 22:35:49 rick_work: yup Feb 01 22:35:54 pretty nifty Feb 01 22:40:34 finally could get into the app catalog, the search is not as bad as i first thought Feb 01 22:49:06 OK..slacker radio may be better than pandora...but their website is horrific Feb 01 22:49:35 anyone know how to add a button in a textbox like the one in the app catalog? Feb 01 22:51:30 that's not a text widget...its a page header with an input field ad a button Feb 01 22:52:14 or maybe it is...but anyway...the textfield and the button are children of the page header div Feb 01 22:52:36 page header ... does it have to be the header or can it be in the middle of the scene? Feb 01 22:53:05 i imagine you could put it inside of any div provided you get the spacing/z-order right Feb 01 22:53:14 spacing &* Feb 01 22:53:49 doesn't have to be...as maik said you can stick them inside any div you want. You'll just have to massage the css to get things looking good Feb 01 22:54:35 jfelectron: ok so i can use a text field and with css manipulate the look Feb 01 22:55:06 You'll probably want to stick the text-field and your button div inside a container div Feb 01 22:55:50 ok, gonna work on it in awhile gonna go for a run first Feb 01 22:55:57 thanks Feb 01 23:01:42 is there a way to read all the archived reviews for an app? Feb 01 23:06:24 codeslaw: when did you submit your app? Feb 01 23:06:34 saturday morning Feb 01 23:06:42 was it in the catalog today? Feb 01 23:06:46 or yesterday Feb 01 23:06:47 went live last night ~ midnight Feb 01 23:06:54 nice Feb 01 23:07:06 It seems app approval rates are decent Feb 01 23:07:11 ya i didn't expect it until mid week Feb 01 23:07:12 updates are poor Feb 01 23:07:13 :( Feb 01 23:07:23 ya, not looking forward to submitting an update =( Feb 01 23:07:35 I waited 2 weeks for an update to be "denied"(told em) Feb 01 23:07:43 and now I'm waiting for another update :( Feb 01 23:07:54 whyd the deny the update? Feb 01 23:07:59 I told em too Feb 01 23:08:02 *asked Feb 01 23:08:07 ah Feb 01 23:08:21 Because id rather submit my newer update Feb 01 23:08:26 yes Feb 01 23:09:02 are you going to go paid with your app? Feb 01 23:09:07 or not until canvas improvements? Feb 01 23:09:47 i dont know Feb 01 23:10:05 i can't get any info whether on whether or not canvas will ever be improved Feb 01 23:10:42 but in my opinion, it's hard to offer value without being able to just save a large size image Feb 01 23:10:44 well if they keep implementing webkit canvas support should get better right? Feb 01 23:11:15 YES! i have had the same problem. but i have the problem in safari as well so i imagine its a webkit problem Feb 01 23:11:26 yes, canvas is being improved. Feb 01 23:11:40 omg.. damn it Feb 01 23:11:44 I think it is... they just havent said sooo Feb 01 23:11:47 only 2 away from 1000 purchases Feb 01 23:11:50 hopefully Feb 01 23:11:53 haha dawm Feb 01 23:11:56 dawm: whats your app? Feb 01 23:12:01 swap & drop Feb 01 23:12:12 i was sure today was gonna be the day to break 1000 Feb 01 23:12:38 there are still some hours Feb 01 23:12:47 codeslaw: what would you think about me adding ads to countdown? just the intro page though, not during the game Feb 01 23:13:35 if it's just on the intro page, it wouldn't ruin the experience, but also, probably won't generate very much revenue at all Feb 01 23:13:45 Yeahhhh Feb 01 23:14:03 I dont want to hurt the experience that's for sure... Feb 01 23:14:23 especially if the ads came after the page break, depending on how much stuff you'll have on the front page Feb 01 23:14:49 but people don't mind seeing ads in free games, i think they are used to it Feb 01 23:15:12 maybe I could put them in between the game and the header... Feb 01 23:15:20 since i just got home, anyone see that app thats supposidly gonna donate their prize to charity? Feb 01 23:15:31 dawm: heh, kind of Feb 01 23:15:35 dawm: yes, that should be completely against the rules Feb 01 23:15:50 the worst part is Feb 01 23:15:57 you have to download it to leave a review.. Feb 01 23:16:01 ya Feb 01 23:16:17 dawm: which one? Feb 01 23:16:24 This App Saves Lives Feb 01 23:16:31 is there more than one already/ Feb 01 23:16:36 for part of the palm comp? Feb 01 23:16:55 no Feb 01 23:17:01 its someone trying to win the hot apps contest Feb 01 23:17:07 ahh right Feb 01 23:17:09 supposidly gonna donate all the winnings to charity Feb 01 23:17:16 they didn't even say "all" Feb 01 23:17:24 * swishy is doing that with his iPhone app atm and was going to do the same with the palm port Feb 01 23:17:25 just said "will help" Feb 01 23:17:46 codeslaw, i actually think it just says 100,000 Feb 01 23:18:01 hah isn't the prize 200000? Feb 01 23:18:05 so if they dont win that they arent 'obligated' to donate what they win Feb 01 23:18:18 no the #1 app gets 100k Feb 01 23:18:26 in paid and in free Feb 01 23:18:32 ah, yep Feb 01 23:19:02 "This App is aiming to win that prize and use it to help feed the estimated 1.5 million people..." Feb 01 23:19:14 "use it" doesn't necessarily mean use it all Feb 01 23:19:25 indeed Feb 01 23:19:40 there's some threads in the forums about the dns that the host resolves to Feb 01 23:19:49 and do they specifiy a cut off date at which they will donate funds to? Feb 01 23:20:15 it's the aboslute wrong way to donate money, if you are going to donate, then do it now Feb 01 23:20:19 heres the site Feb 01 23:20:19 http://thisappsaveslives.info/ Feb 01 23:20:58 i think its unfair that someone is abusing the system, when theres plenty of developers actually making applications not just app that serves no function other than to win a contest Feb 01 23:22:08 we'll just have to see what palm does (or doesn't) do about it Feb 01 23:23:23 i have a feeling theres not much they're gonna do if it wins, because the contest is for the most downloads not the best app Feb 01 23:23:40 if people download it.. then thats what they are judging the contest on Feb 01 23:24:16 id rather see more brighthouse apps than an app like this Feb 01 23:24:53 lol Feb 01 23:25:04 i dont know if i could ever wish for more brighthouse apps Feb 01 23:27:42 Palm is excited that you have submitted your app to us for evaluation to be included in the PalmĀ® App Catalog. Many thanks for your work so far. Feb 01 23:27:48 i've reached the end! game over! Feb 01 23:29:39 nice Feb 01 23:29:45 congrats Feb 01 23:29:49 google apps is abandoning IE6 and older browsers Feb 01 23:29:59 cheers Feb 01 23:30:34 i missed the part where i had to pay something to submit. does that come later? Feb 01 23:30:34 about f'ing time...now if only MS would let it die Feb 01 23:30:36 a victory for the internet Feb 01 23:30:46 ie is a disgrace Feb 01 23:31:00 standards? who needs 'em? lol Feb 01 23:31:27 balmer: we have our own standards! (they're fat and ugly like me!) Feb 01 23:31:47 and they scream for attention and sometimes throw furniture across the room Feb 01 23:32:56 IE8 gets like 17 on acid3 Feb 01 23:33:19 i think i shoudl renew my domain before i forget and it expires Feb 01 23:33:36 wow does precentral forums get more dev traffic than developer forums? Feb 01 23:33:47 probably Feb 01 23:33:51 than palm developer forums Feb 01 23:33:53 dawn: I lost a domain that way once....damn goDaddy stole it form me Feb 01 23:34:06 way way way back in the day (early 90s) Feb 01 23:34:25 i lost a domain to a web provider who registered on my behalf but in their name.. when i went to leave they wouldnt release the name Feb 01 23:34:31 this was back when a domain was $70/yr Feb 01 23:34:44 dawm -- yes, precentral gets more traffic. Feb 01 23:34:51 rick-home, i didnt ask ;p Feb 01 23:35:01 er Rick_work i didnt ask Feb 01 23:35:07 oh, sorry dylanmei Feb 01 23:35:15 nick complete FTL Feb 01 23:35:16 :) Feb 01 23:35:19 x2 Feb 01 23:35:27 there is a way to submit apps at precentral? Feb 01 23:35:42 in homebrew Feb 01 23:35:42 dylanmei yes where do you think all the apps in preware come from? Feb 01 23:35:52 i'm just discovering this after 4 months of pre developmen :/ Feb 01 23:35:57 heh Feb 01 23:36:03 i found precentral on day 1 Feb 01 23:36:16 dylanmei precentral is a great way to run an open beta, and then submit a WORKING app to the app cat. Feb 01 23:36:18 hang out with a bunch of hackers? c'mon.... :p Feb 01 23:36:19 * maik too Feb 01 23:36:24 had to find out if i was the only one to get the pre for $99 when bestbuy made the price mistake Feb 01 23:36:58 a bunch of semi-approved-of hackers. Feb 01 23:37:46 well my app WORKS :) but some feedback is invaluable. Feb 01 23:38:32 is serviceRequest a method of the app controller? Feb 01 23:38:45 programmers suckk at UI design. Beta feedback fixes that. Feb 01 23:39:15 girlfriends and wives are good for that too :) Feb 01 23:39:25 dude marquees are the koolest though Feb 01 23:39:28 jfelectron, not always Feb 01 23:39:44 my gf told me i need to make a farm animal theme for swap & drop.. Feb 01 23:39:55 yesss! Feb 01 23:40:08 dawn: yeah, you totally should :) Feb 01 23:40:22 dylanmel: marquees? Feb 01 23:40:23 you can make them explode when the the match is set Feb 01 23:40:45 or if they're cows, abducted by a ufo Feb 01 23:40:46 is a tag. or it was. Feb 01 23:40:47 sugardave, yeh ive gotta add in some explosion animation as well as bonuses Feb 01 23:41:29 an html tag. wonder if the pre supports it Feb 01 23:41:39 dylanmel: you could achieve the same thing with a horizontal scroller Feb 01 23:42:18 $('div').replace('marquee') would be a wicked patch Feb 01 23:43:42 can someone help me figure out this error? [20100201-18:43:22.538318] error: Error: Caught exception in List widget 'blogsList' setup(): TypeError: Cannot read property 'templateSelector' of undefined Feb 01 23:43:54 so on precentral do we upload stuff to the Homebew Apps thread? Feb 01 23:43:59 no Feb 01 23:44:55 oh, wait, nevermind Feb 01 23:45:25 im trying to find the instructions Feb 01 23:45:49 awsm thanks Feb 01 23:45:52 i'm lost Feb 01 23:46:09 yeah apparently they buried the link Feb 01 23:46:48 dylanmei you have to request posting permission as a dev Feb 01 23:46:55 hang on I'll find you the link Feb 01 23:47:06 ahhh thank you. Feb 01 23:49:05 dylanmei have you set up an account on precentral? Feb 01 23:49:34 yeah i totally cannot find the link Feb 01 23:49:36 yes. just today. dylanmei Feb 01 23:50:11 nothing makes me more happy then speaking my mind in svn commit messages at work Feb 01 23:50:18 dylanmei go to the "tip us" link in the upper right just above the store on the home page. Feb 01 23:50:19 jlazaroff: is templateSelector a property of the list model item? Feb 01 23:50:20 i'm digging into the forums... getting lost.... but this community seems more lively than developer.palm.com Feb 01 23:50:42 dylanmei, all i remember, and seem to be finding is this Feb 01 23:50:44 http://precentral.net/contact Feb 01 23:50:45 then choose the category "Request developer access" Feb 01 23:50:50 and send a request for develeoper access Feb 01 23:51:02 with your login your name and your app. Feb 01 23:51:04 instructions for the rest should be emailed Feb 01 23:51:12 once access is granted Feb 01 23:51:13 it's no big deal, but they will send you back everyhting else you need to know Feb 01 23:51:16 AHH the megaphone, of course >smacks forehead< Feb 01 23:51:29 depending on how busy they are, this could take a day Feb 01 23:51:31 or 10 minutes Feb 01 23:51:31 thanks so much Feb 01 23:52:53 bbl Feb 01 23:53:13 alright, request sent. thanks again! Feb 01 23:55:41 when listening to the activate event...what do you attach the listener to? The window object? Feb 01 23:56:09 yeh Feb 02 00:20:08 okay, can someone help me figure out why my list isn't showing? http://pastebin.com/d3b3c7836 Feb 02 00:20:20 i don't get an error, but it doesn't show up Feb 02 00:21:53 i always use a listtemplate as well. i thought it was required Feb 02 00:23:02 according to the api reference at developer.palm.com, it's optional, but it's been wrong there before Feb 02 00:25:13 i just do it every time without thinking about it. i am not seeing anything wrong in what you've posted. Feb 02 00:27:40 any warcraft-playing folks want to try my beta app? Feb 02 00:29:03 dylanmei: well, it's working better now, at least. now instead of the list it says "template load failed: "views/dashboard/dashboard-blogListTemplate.html" Feb 02 00:29:44 and the error it throws is "[20100201-19:24:57.408777] error: Error: Caught exception in List widget 'blogsList' setup(): TypeError: Cannot read property 'parentNode' of null" Feb 02 00:30:58 oh well that's interesting. does your list template look like... Feb 02 00:30:59
#{-listElements}
Feb 02 00:36:16 i just had #{-listElements}, but i guess i can wrap it in a div Feb 02 00:39:43 nope, still not working Feb 02 00:39:45 :( Feb 02 00:41:02 LoneStar99: I can help with your quest to have a button in a textfield. Feb 02 00:45:26 haeffb: ok cool was just gonne begin working on it Feb 02 00:46:37 is it just a regular textfield? with a css "div image" overlay? Feb 02 00:50:53 LoneStar99: http://www.pastie.org/805182 Feb 02 00:51:01 wooo Feb 02 00:51:05 1 more away from 1000 Feb 02 00:51:15 wooo! Feb 02 00:51:16 go dawm! Feb 02 00:51:33 thanks haeffb, will check it out after dinner Feb 02 00:51:37 and a lecture Feb 02 01:16:18 <_azdak> Hey- does anybody here have any idea where to start looking for info about selling app add-ons (in-app)? I'm not seeing anything in the SDK or the forums Feb 02 01:17:58 _azdak: it isn't supported yet in webOS Feb 02 01:18:31 might be a worthwhile 3rd-party service Feb 02 01:18:42 <_azdak> yah. I saw they had it on word ace and such, but I'm guessing they're in with palm Feb 02 01:19:19 ah, yes card and word ace do have it Feb 02 01:19:26 not sure how they do it though Feb 02 01:19:44 <_azdak> yeah, I was a bit wtf when I saw it Feb 02 01:19:49 the dev of those is on here a lot Feb 02 01:20:04 isn't just something they wrote for their app? Feb 02 01:20:09 can't remember his username though... Feb 02 01:20:40 its most likely all done server side Feb 02 01:20:59 you buy through their website and then the chips are added to your account Feb 02 01:21:05 <_azdak> I haven't actually tried it, may just be a web service Feb 02 01:21:13 I think that's it Feb 02 01:21:20 <_azdak> oh ok, that makes more sense Feb 02 01:21:23 it sounds liek a web service Feb 02 01:21:25 ajax calls Feb 02 01:21:35 <_azdak> yah Feb 02 01:22:10 <_azdak> any of yall doing a lot of work with canvas? Feb 02 01:22:43 codeslaw is Feb 02 01:22:58 I think it might be incidentist (or something like that) that is the dev of word/card ace Feb 02 01:23:19 hi all! Feb 02 01:23:41 hi Feb 02 01:23:52 <_azdak> thanks natenrb9, I'll keep an eye out Feb 02 01:24:03 np Feb 02 01:24:13 <_azdak> hi Feb 02 01:25:21 hello JenP Feb 02 01:25:37 what about canvas? Feb 02 01:26:26 <_azdak> nothing in particular. I'm just a little shocked at how well webOS is handling it Feb 02 01:26:38 <_azdak> waaay faster than I expected Feb 02 01:27:15 ya it does good. it DOESNT do compositing, daraURL, and text is not antialiased. aside from that its good. Feb 02 01:27:44 i wish it was faster. but it's good. Feb 02 01:27:45 <_azdak> you noticed any speed difference in doing staggered vs. simultaneous redraws? Feb 02 01:28:04 you mean double buffering? Feb 02 01:28:19 <_azdak> or similar Feb 02 01:28:53 i didnt get anything out of double buffering but there's some research out there on safari's implementation to suggest it was beneficial. Feb 02 01:29:50 this is handy if you're just getting into it: http://www.nihilogic.dk/labs/canvas_sheet/HTML5_Canvas_Cheat_Sheet.png Feb 02 01:30:24 <_azdak> yeah, I saw that. kickin myself for not finding it sooner Feb 02 01:30:50 OH ALSO the save/restore as far as i can tell is not a stack, you can't .save() .save() .restore() .restore() so if you do lots of transforms you have to code differently Feb 02 01:30:53 hi LoneStar99 Feb 02 01:31:05 unlike mozilla and even safari's implementation Feb 02 01:31:06 <_azdak> no, you can Feb 02 01:31:16 not on webos you can't Feb 02 01:31:28 it's like they implemented only a shallow version Feb 02 01:31:38 <_azdak> it's been working on my implementation Feb 02 01:31:45 <_azdak> oh, may be Feb 02 01:31:46 for serious?? Feb 02 01:32:12 i had my thing all coded in safari and then moved it to the pre and was borked. Feb 02 01:32:31 <_azdak> yeah, there's some weirdness with direct porting like that Feb 02 01:32:51 <_azdak> but I've been using it for rotations and transforms on imagedraws Feb 02 01:33:57 save, transform, save, transform again? well you are a lucky programmer then because i lost 2 days unravelling my code. Feb 02 01:35:01 actually it was translate... not tranform, so i think we were doing different things. Feb 02 01:35:20 <_azdak> save translate rotate imagedraw restore is more what I've been doing Feb 02 01:36:09 <_azdak> translate's what I meant Feb 02 01:36:15 ya. i think it's fantastic that the background is transparent, the imagination runs wild with the stuff to make. Feb 02 01:37:22 <_azdak> I've been using it with a bunch of gif sprites- Feb 02 01:38:18 <_azdak> with a little fiddling getting some pretty cool circa 2000 graphics haha Feb 02 01:38:30 <_azdak> well- 1995 maybe Feb 02 01:38:32 lol Feb 02 01:38:34 <_azdak> ha Feb 02 01:40:29 http://www.articlesandtexticles.co.uk/imgs/0906/dog_running.gif Feb 02 01:40:34 i miss 1995 ;p Feb 02 01:40:57 <_azdak> haha Feb 02 01:41:26 haeffb: the image on the left works with a tap event? Feb 02 01:41:40 dawm: that dog rocks Feb 02 01:42:05 needless to say i installed an animated gif in my app... Feb 02 01:42:13 progress bar Feb 02 01:42:23 i wish i kept my old domains that i sold off or let expire Feb 02 01:42:37 i had teflon.net which was stolen by my web provider' Feb 02 01:42:44 <_azdak> ouch Feb 02 01:42:45 coulds sold that to dupont Feb 02 01:42:47 dawm: wow Feb 02 01:42:54 i had bubblebobble.com for the longest time Feb 02 01:43:08 sold that via ebay to bubandbob.com for $150 Feb 02 01:43:27 internic prices were getting too high.. couldnt afford $70/yr per domain Feb 02 01:43:56 atleast that one went where i wanted it to go Feb 02 01:44:05 LoneStar99: you have to add a listener on the div. Feb 02 01:44:09 one time had the opportunity to buy a domain for $10,000 - which was later bought by a bank Feb 02 01:44:19 for about $55,000 Feb 02 01:44:34 did not really have that money under my bed Feb 02 01:44:41 heh Feb 02 01:45:18 dawm, I've had one domain sitting dormant with plans to use it for 2 years... Feb 02 01:45:19 yeah some dude was selling the domain in afternic, and i knew a certain bank would want the domain name Feb 02 01:45:25 everytime I renew it I think, why do I keep doing this Feb 02 01:45:42 heh Feb 02 01:46:06 i just renewed biocandy.com today, figured i should since its tied to my palm stuff now Feb 02 01:46:44 when i registered codeslaw.net, the owners of codeslaw.com offered to sell it to me for 1k Feb 02 01:46:52 another cool sounding name i got for no reason, then had to think up a use for Feb 02 01:46:55 that is a cool name Feb 02 01:47:01 biocandy Feb 02 01:47:17 last i checked dawm.com was still a porn site Feb 02 01:47:22 been wanting that for years Feb 02 01:47:23 codeslaw: someone earlier was asking around for canvas advise Feb 02 01:47:29 wow Feb 02 01:47:43 porn always sells Feb 02 01:47:53 heh Feb 02 01:47:54 <_azdak> that would be me Feb 02 01:47:55 I owned treochat.com and treochat.net for a while, just recently let those expire... gotta thank Palm for killing off the Treo line Feb 02 01:48:03 <_azdak> (the canvas, not the porn) Feb 02 01:48:28 i had bubblebobble.com from 1999 to 2003 Feb 02 01:48:31 whats up _azdak Feb 02 01:48:36 hm, I wonder if I still own PalmChat.net Feb 02 01:49:23 nope Feb 02 01:49:29 <_azdak> was gonna ask if you've noticed any big speed enhancments in using one big redraw loop Feb 02 01:49:36 wow, I only own 5 domain names now... must have forgot to renew a few Feb 02 01:49:39 <_azdak> or some other method Feb 02 01:50:27 <_azdak> I'm doing a ton of imagedraws/translates/scales, and it's been holding up pretty good, but starting to take a dip above 20 FPS Feb 02 01:51:13 <_azdak> so I was thinking of double buffering, staggering the canvasdraws, etc Feb 02 01:55:12 staggering them how, every other frame? every other loop? Feb 02 01:56:10 <_azdak> as in using setTimeout to push them between the loop calls Feb 02 01:56:14 <_azdak> or something haha Feb 02 01:57:42 between loop calls.. so you want to have a loop at say, 20 fps, which is .05 seconds per frame Feb 02 01:58:02 or 50 milliseconds Feb 02 01:58:29 and you want to draw half, then set a timeout for 25 milliseconds, and draw the other half? Feb 02 01:59:16 that will not work Feb 02 01:59:35 <_azdak> would it just force redraws twice as fast? Feb 02 01:59:44 <_azdak> thus actually slowing the thing Feb 02 02:00:57 well under 20fps, you are running fine, but over 20 fps and you stop seeing increased speed Feb 02 02:01:17 <_azdak> that's a good point Feb 02 02:01:45 that means your synchronous code (all the draws that happen each frame) are taking longer to execute than the timeslice it's given Feb 02 02:02:03 so everything is bumped back, including the next setTimeout call Feb 02 02:02:27 <_azdak> oh, I see what you mean Feb 02 02:03:13 the code you need to execute takes longer than 50 milliseconds Feb 02 02:03:17 so, its impossible Feb 02 02:03:31 all you can do is optimize the crap out of your loop Feb 02 02:03:32 <_azdak> gotcha Feb 02 02:03:38 <_azdak> fair enough Feb 02 02:04:20 <_azdak> have you messed with using some sort of lockstep system that calculates positions based on time? Feb 02 02:05:03 basically a 1 to 1 function, that maps time to position? Feb 02 02:05:11 <_azdak> yeah Feb 02 02:05:15 i have actually Feb 02 02:05:31 i do a lot of animation work for my dayjob Feb 02 02:05:47 codeslaw: what's your day job? Feb 02 02:05:59 rich media developer at an ad agency Feb 02 02:08:12 bah someone gave me a once star review for not support multitouch-- not even possible! Feb 02 02:08:21 <_azdak> I'm wondering if the jumpiness that might come out of a time-based system might 'feel' laggier than an incremental slowdown Feb 02 02:08:49 <_azdak> haha ouch Feb 02 02:09:58 not sure about the source of your jumpiness, it really depends on the context Feb 02 02:11:15 <_azdak> oh, I just mean in general- it seems like with a time-mapped system objects would 'jump around' more Feb 02 02:11:37 not necessarily Feb 02 02:11:58 you just need to mathematically represent their position based on time Feb 02 02:12:23 then the smaller the timeslice, the smoother the animation Feb 02 02:12:44 if my position equation is p = 2 * t Feb 02 02:13:09 hell, even just p = 2 Feb 02 02:13:14 p = t rather Feb 02 02:13:41 then p would animate at the direct speed of change in t Feb 02 02:14:21 as long as there is only one p for every t Feb 02 02:16:14 sorry if that is confusing Feb 02 02:16:27 <_azdak> followed you up til the last line Feb 02 02:17:13 <_azdak> oh wait, I think I get you Feb 02 02:18:39 <_azdak> but yeah, it seems like that would sort of 'drop frames' to ensure p was at t Feb 02 02:22:07 <_azdak> in your experience, does that kinda thing come out nicer than redrawing everything at a set interval/"as fast as the little cpu can do it"? Feb 02 02:22:20 depends on the situation Feb 02 02:22:29 say you wanted a bunch of things to follow each other in a line Feb 02 02:23:08 with just setTimout, there's no guarantee that things won't get un-synchonized Feb 02 02:24:28 unless there is an explicit way to guarantee that they are exactly where they should be Feb 02 02:24:47 as per the exact time when the code executes Feb 02 02:27:58 <_azdak> so I guess you'd set a "redraw" var based of a global/device clock, and then feed that into your redraw loop? Feb 02 02:37:00 does look like it is missing something: "Mojo.Event.listen($("go_button"), Mojo.Event.tap, this.send.bind(this));" Feb 02 02:37:22 does the above: Feb 02 02:39:06 <_azdak> does send() exist? Feb 02 02:45:17 <_azdak> or is go_button the id, not the class? Feb 02 02:45:41 <_azdak> er- the other way around. should be the id Feb 02 02:45:55 FirstAssistant.prototype.propertyChange = function (event){ this.send(); } Feb 02 02:46:18 go_button is the id Feb 02 02:47:41 <_azdak> what's putty say? Feb 02 02:49:18 <_azdak> could you just use FirstAssistant.prototype.send = function(event) {} ? Feb 02 02:50:12 need to check Feb 02 02:56:28 did not work.. Feb 02 02:57:00 <_azdak> which part? Feb 02 02:59:30 not sure.. it is weird, should work Feb 02 02:59:34 hey guys what's the command to register your nick with the irc? **** ENDING LOGGING AT Tue Feb 02 02:59:58 2010