**** BEGIN LOGGING AT Thu Dec 24 02:59:57 2009 Dec 24 03:24:11 Tigers by 7 at half. Dec 24 04:14:02 When working with a list, is there a way to pre-select or programatically select specific items? Dec 24 04:19:42 this.lstselectorModel.value = this.lstselectorModel.choices[0].value; // sets to the first choice in the list Dec 24 04:24:33 Where this.lstselectorModel is what you give the setupWidget method? Dec 24 04:26:49 yes Dec 24 04:38:29 Bmyers: Did you get the email? Dec 24 04:41:21 Tigers win 81-68. First win in this series in 9 years. Dec 24 04:45:23 Bmyers, how would I go about doing that for several values? Dec 24 04:47:02 Sloloem: what kind of list? Dec 24 04:48:11 Standard Mojo.Widget.List Dec 24 04:50:30 sloloem: can you recap the prob? Dec 24 04:51:19 how would you "select" the items in the list? Dec 24 04:52:44 in response to a tap event? Dec 24 04:52:48 or in general Dec 24 04:52:59 ? Dec 24 04:53:38 jfelectron, I want to select items programatically. I have a list in one scene that I select several items from then leave the scene. I want to be able to select the same things when I return to the scene Dec 24 04:54:32 you Dec 24 04:54:39 you're pushing scenes Dec 24 04:54:40 ? Dec 24 04:55:10 Do you have the first part solved and need the second or both? Dec 24 04:55:21 Sloloem: how do you select the items? tapping on the list item? Dec 24 04:55:32 haeffb, yeah. Dec 24 04:55:49 OK: record each item that is selected in a hash Dec 24 04:56:11 add items to the hash in your listTap event handler Dec 24 04:56:29 store that Hash as a prop of the scene assistant object Dec 24 04:57:26 provided you are pushing scenes and not destroying them, the hash will be there when you come back, then use that hash to select the items again in your activate function Dec 24 04:58:10 Is the selection visible? Like some style change? Dec 24 04:58:47 jfelectron: that is the question I'm trying to ask. Dec 24 04:59:00 how do I know they're selected? Dec 24 04:59:19 exactly Dec 24 04:59:23 I didn't do anything special, just
and no additional styles Dec 24 05:00:15 Are you listening to listTap events? Dec 24 05:00:21 Yup Dec 24 05:00:22 do you have a handler setup? Dec 24 05:00:51 and when you select a list item, the item looks "pushed"? and remains "pushed" when you select another item? Dec 24 05:01:06 Yup Dec 24 05:01:41 They will remain that way unless you flip them in your deactivate function Dec 24 05:01:45 * haeffb thinks you'll have to go the route jfelectron is suggesting. Keep track of them in your listTap handler Dec 24 05:02:22 Oh....another way is to set a list Item model property Dec 24 05:02:42 like itemModel.selected=true. Dec 24 05:03:10 When you push the scene again just check that property and flip the style accordingly Dec 24 05:03:25 I don't delibrately reset anything in deactivate...Maybe I'm pushing wrong or deactivating wrong? Dec 24 05:03:46 Maybe CSS properties do reset...not sure Dec 24 05:04:02 is this x-mojo-feedback=persistent? Dec 24 05:04:10 has to be Dec 24 05:04:26 well he might be doing it manually Dec 24 05:04:45 framework probably doesn't keep track of that across pushes Dec 24 05:04:52 not sure of a way to set that when you load a scene, though (short of manipulating the CSS styles?) Dec 24 05:05:16 yes...he'll have to manually set the class to palm-row.selected Dec 24 05:05:44 widget have models, which are preserved across pushes Dec 24 05:06:01 slolem: what if you add a checkbox widget to show whether an item is selected or not? Dec 24 05:06:33 the "pushed" style isn't really a webOS standard for showing several items in a list are selected...afaik. Dec 24 05:07:23 * haeffb loves working with widgets in a list! Dec 24 05:08:17 Hm. The way I'm doing the push the constructor for the assistant is called at each push...from what jfelectron says if I can get it to reuse the same assistant object it would maintain the selection, right? Dec 24 05:08:42 I'm thinking that the CSS state isn't preserved Dec 24 05:09:28 there is some black magic going on with x-mojo-touch-feedback that we aren't privy too Dec 24 05:10:02 what I'm trying to say is that behavior isn't something that webOS users are going to be used to. "pushing" to select multiple items in a list, that is Dec 24 05:10:24 it seems like a natural paradigm though Dec 24 05:10:26 not aware of other webOS apps that work that way Dec 24 05:10:51 its more elegant IMO than a list of checkboxes Dec 24 05:11:08 yes, but...most apps, when you tap on a list item, you edit that item. Dec 24 05:11:36 or push a scene.... Dec 24 05:11:42 or interact with it in some fashion Dec 24 05:11:46 yes Dec 24 05:12:37 it would be weird in the feedback were transient...but this is persistent Dec 24 05:13:03 the persistence I think alerts the user to there being something different. Also, he can have instructions on the top or something Dec 24 05:13:20 "Tap List Items to Select" Dec 24 05:13:25 Please :) Dec 24 05:13:56 That'd be fair...if I could figure out how to keep the selections. Dec 24 05:14:36 you can keep them in the scene though? Dec 24 05:14:41 or is that a problem too? Dec 24 05:15:18 Set some property Dec 24 05:15:35 in your scene that you can use to figure out if the scene has previously been popped Dec 24 05:15:42 Shouldn't be. But the constructor is being called at each push. Dec 24 05:16:24 really? Dec 24 05:16:33 not activate? Dec 24 05:16:57 you're using this.controller.pushScene ? Dec 24 05:17:11 and a back gesture in the other scene? Dec 24 05:18:04 Yeah, I do pushScene from main to 'line', then the back gesture which is to say the esc key in the emulator, to go back to main. Dec 24 05:18:26 just add a propert to the listModel (this.listModel.items.selected), then toggle that property in listTap handler. Then figure out how to set the CSS class as appropriate in activate() Dec 24 05:18:57 yes Dec 24 05:19:08 pretty sure its just palm-group.selected Dec 24 05:19:26 I'm a big picture guy. leave the details to y'all. Gotta get some 'zzzz's Dec 24 05:19:44 use inspector to see the CSS properties Dec 24 05:19:56 But if the constructor for the scene assistant, wouldn't the model be reset? Dec 24 05:20:05 Err, is called at each push Dec 24 05:20:30 Ok, save the items as a global var. Dec 24 05:21:10 its still weid that the constructor is being called....the object should still be on the stack Dec 24 05:21:42 yes, should just call activate() if he's pushing/popping another scene Dec 24 05:22:12 but, he can save the items (or the entire list model) as a global var, and it'll be around whenever needed Dec 24 05:22:23 true Dec 24 05:22:43 the only tricky part is the CSS Dec 24 05:22:52 and that may not even be all that tricky Dec 24 05:22:58 the tricky part is the transient aspect Dec 24 05:23:12 the persistence is really just a switch or webkit-border-images Dec 24 05:23:17 switch of Dec 24 05:24:12 you could do it manually Dec 24 05:24:14 I can deal with globals or shenanigans like that...how to reselect or reset the style based on whatever I'm storing? Dec 24 05:24:31 be easier to use a checkbox widget... :) Dec 24 05:25:07 I'm open to change. Dec 24 05:25:32 In your activator...use a for loop or prototypes enumerable.foreach to check the selected property and the flip the CSS based on that Dec 24 05:26:50 later Dec 24 05:27:31 Are you folks making things more complicated than they should be? Dec 24 05:28:04 We're open to refactoring :) Dec 24 05:28:30 I work by 'get to work first, refactor later' Dec 24 05:29:40 Sloloem: you'll have the listModel so you'll know what the DOM index of the item is Dec 24 05:29:43 What's he trying to do? Dec 24 05:30:20 He wants to preserve persistent touch feedback across scene pushes Dec 24 05:30:28 in a list Dec 24 05:31:09 for some reason the scene constructor is being called when he pushes the scene back that has the selected list items in it Dec 24 05:31:50 in either case....there is no reason why the dynamic CSS state should be preserved Dec 24 05:32:31 We suggested he store the selected state in the itemModel and use that to set the class to palm-row.selected when he pushes the scene Dec 24 05:32:40 or she? Dec 24 05:33:19 What about just adding Mojo.View.addTouchFeedback(blah) to the activate? Dec 24 05:34:31 he still has to keep track of which items are selected Dec 24 05:34:34 jfelectron, would passing additional parameters to pushScene cause a constructor call each time? Dec 24 05:35:21 addTouchFeedback docs indicate it will only highlight a single item at a time Dec 24 05:35:28 haven't used it myself Dec 24 05:35:41 using the CSS directly you aren't limited by that Dec 24 05:35:45 Can always do multiple Dec 24 05:36:06 But if blah is a global variable, he could easily track it Dec 24 05:36:13 Also my impression is addTouchFeedback just adds the potential for feedback? Dec 24 05:36:38 either a hash or the listModel as global var would work Dec 24 05:38:17 Create a separate javascript file with a variable to reference back to Dec 24 05:39:12 Depending on how deep you're going in terms of drill down on a list, you could have one for each scene Dec 24 05:39:34 got to go....good luck! Dec 24 05:42:45 "There may be arguments passed into the activate method" Dec 24 05:42:55 http://developer.palm.com/index.php?option=com_content&view=article&id=1627 Dec 24 05:43:15 I'm really mystified by why the constructor is being called..... Dec 24 05:43:19 ciao Dec 24 05:49:43 Hello everyone Dec 24 05:51:05 I'll re-attack in a few days, probably. Happy Holidays, everyone. Drink good booze, enjoy good company. Dec 24 07:08:06 hi all! Dec 24 07:08:58 Hi JenP Dec 24 07:09:11 hey rwhitby how ya doing? Dec 24 07:09:34 good, I'm busy doing touchstone surgery ... Dec 24 07:09:57 ohhh now that sounds interesting! Dec 24 07:11:03 I'm trying to figure out why renaming a file broke my command menu Dec 24 07:11:39 I'm documenting the procedure at http://www.nslu2-linux.org/gallery/touchstone Dec 24 07:11:55 Haven't fixed the problem yet :-( Dec 24 07:13:02 I'm only getting 13kB/s upload, so it's taking some time to put all 20 photos up. Dec 24 07:14:04 i like the "don't remove this ring" Dec 24 07:14:17 very forboding Dec 24 07:16:13 you remove the ring and then you die Dec 24 07:27:04 I don't even have a touchstone yet Dec 24 07:29:32 I have four, two of which work. Dec 24 07:29:37 reality9110!!! i have 3 Dec 24 07:30:42 Sheesh Dec 24 07:30:50 you need to get one Dec 24 07:31:11 it's so nice not having to pop the little thingy out Dec 24 07:32:14 Yeah. I suppose. But I end up with the phone connected to the laptop so often Dec 24 07:32:32 even when ur sleeping? Dec 24 07:32:33 yeah, on my CDMA Pre that little thing is almost broken off, so I've only popped it on the GSM Pre about 5 times total. Dec 24 07:32:45 Sometimes Dec 24 07:33:20 ok why would renaming a file break the comman menu? Dec 24 07:33:35 What file did you rename? Dec 24 07:33:37 i renamed the sources json Dec 24 07:33:49 To what? Dec 24 07:33:54 a js file and it's html Dec 24 07:34:03 globe to pic Dec 24 07:34:21 I think you mean you renamed stuff *in* the sources.json Dec 24 07:34:27 i mean i renamed t in the ... Dec 24 07:34:29 yeah that Dec 24 07:34:39 Are you using komodo? Dec 24 07:34:46 yes Dec 24 07:34:56 Did you reopen your project? Dec 24 07:35:23 i had it closed when i renamed it...then opened it Dec 24 07:35:23 Because I've noticed that Komodo's rename, delete, etc doesn't work correctly a lot Dec 24 07:35:37 oh i did the rename in windows file Dec 24 07:35:51 Is it an assistant? Dec 24 07:36:11 yes Dec 24 07:36:58 Ok. Remove the package from the emulator then repackage and reinstall Dec 24 07:37:10 kk Dec 24 07:39:38 nope still didn't work Dec 24 07:40:13 JenP: if you renamed the actual source.json file, you need to name it back Dec 24 07:40:18 sources* Dec 24 07:40:40 JenP: You're missing a } Dec 24 07:40:58 kk i'll look Dec 24 07:41:07 sugardav1 i didn't rename sources Dec 24 07:41:18 okay, mis-read you Dec 24 07:41:55 no no i had written it wrong Dec 24 07:41:56 sugardave: Did you vote? Dec 24 07:42:42 uh...no..... Dec 24 07:42:51 what were we voting on? Dec 24 07:43:00 Black or Blue color of the app Dec 24 07:43:03 oh Dec 24 07:43:05 oh Dec 24 07:43:15 no, haven't read my email yet...been doing other things Dec 24 07:43:22 Ah Dec 24 07:44:31 damn, I like both of them Dec 24 07:44:38 should make it a preference :D Dec 24 07:44:50 Yeah Dec 24 07:44:55 Except it gets kind of difficult Dec 24 07:45:10 well guys i'm going to bed. g'nite ttyt Dec 24 07:45:14 Graphics guy did a good job Dec 24 07:45:18 Night Jen Dec 24 07:45:25 Except for messing up the top of the screen Dec 24 08:03:25 all the touchstone surgery photos are now uploaded to http://www.nslu2-linux.org/gallery/touchstone Dec 24 08:29:32 A funny mod would be to mate that circuit board with a giant coil....a charging pad Dec 24 11:18:35 <_ivanst_> rwhitby: i like the fact that you don't have any "spare parts left over" at the end... :D Dec 24 12:15:36 Slainte! Dec 24 13:04:42 <_ivanst_> slainte? Dec 24 13:12:24 irish for cheers Dec 24 13:21:04 you awake _ivanst_ Dec 24 13:24:44 <_ivanst_> nope, i'm ircing while sleeping Dec 24 13:25:46 cool, what is a good song from your land? Dec 24 13:28:32 Hallo leonardo Dec 24 13:28:48 hi lonestar34 Dec 24 13:29:46 how is Italia! Dec 24 13:29:58 as bad as usual Dec 24 13:30:29 so, we heard about the obama health care reform right now Dec 24 13:30:38 boo.. Dec 24 13:30:57 not really sure what it means Dec 24 13:31:03 it is all shite Dec 24 13:31:46 what is a good hiphop italian song? Dec 24 13:32:10 italian hiphop? Dec 24 13:32:18 c'mon, you're american Dec 24 13:32:28 how could you ask an italian hiphop song? Dec 24 13:33:23 is like i ask you what is a good american pasta Dec 24 13:34:16 really, ok a good italian song that is like rock? Dec 24 13:35:26 Leonardo: this is for you: http://uoid.me/youtube15 Dec 24 13:35:50 contemporary rock or all-time rock? Dec 24 13:35:51 straight from texas Dec 24 13:36:55 nice one Dec 24 13:37:22 Luckenback is a small town in texas Dec 24 13:38:53 leonardo: all-time rock Dec 24 13:45:17 lonestar34: well, this is a very famous song here http://www.youtube.com/watch?v=D1SSm-5Jo3o Dec 24 13:47:06 ok leonardo: http://uoid.me/corona1 Dec 24 13:58:18 anyone here? Dec 24 14:12:20 haeffb Dec 24 14:12:30 you awake? Dec 24 14:13:59 Yes I am awake Dec 24 14:15:14 your name transforms Dec 24 14:17:24 do you want to test an app? Dec 24 14:17:39 very simple app Dec 24 14:19:21 well I am no longer asleep Dec 24 14:19:36 of course Dec 24 14:20:31 ok 3 mins Dec 24 14:22:06 http://admin.home.lonestarbeer.operaunite.com/file_sharing/content/ Dec 24 14:22:36 pw? Dec 24 14:22:45 buildasearch on the top and the latest of urloid Dec 24 14:22:56 iNOY Dec 24 14:29:34 haeffb: did you test it? Dec 24 14:30:06 urloid. Dec 24 14:30:11 appears to work Dec 24 14:30:28 what about buildasearch? Dec 24 14:31:11 what does add a keyword do? Dec 24 14:31:45 exactly that Dec 24 14:32:33 ah. doesn't work if you've already done the url without a keyword Dec 24 14:32:40 had to put in a new url Dec 24 14:35:05 haeffb: it is this http://uoid.me/corona1 Dec 24 14:36:09 doesn't work if you've already hit the slim button once Dec 24 14:36:19 had to put in a new url to get keyword to work Dec 24 14:36:28 also, why "Slim" Dec 24 14:36:50 oh yeah, once the keyword is gone it is gone Dec 24 14:37:02 third, should allow you to copy again later Dec 24 14:37:05 what is a good song you recommend? Dec 24 14:37:18 for what? Dec 24 14:37:32 just a good song! Dec 24 14:37:48 Mama Let Him Play by Doucette Dec 24 14:37:54 urloid, will be fixed, Dec 24 14:38:06 buildasearch is the one i really like Dec 24 14:38:34 what I meant was, if I put in a url, then hit slim, it would give me a shorter url. Then if I added a keyword, it would give me the same shorter url, with no keyword Dec 24 14:38:46 couldn't install buildasearch Dec 24 14:39:06 really it failed? Dec 24 14:39:12 FAILED_PACKAGEFILE_CORRUPT Dec 24 14:39:22 fuck Dec 24 14:40:26 ok will rebuilt it Dec 24 14:41:15 do you have a good song to donate? Dec 24 14:42:04 I already did Dec 24 14:42:13 Mama Let Him Play Dec 24 14:44:25 sold skoll Dec 24 14:46:10 http://www.amazon.com/Mama-Let-Him-Play-Doucette/dp/B000007W42 Dec 24 14:47:50 nice a prodigy like yoyoma but in a different type of music Dec 24 14:49:52 weird, running in eclipse does not make an iPK Dec 24 15:02:59 <_ivanst_> i don't understand why people can't behave like responsible adults. a unixoid OS, bash and emacs are all you need really... Dec 24 15:03:44 <_ivanst_> think of it as techno-monastic life. purified, but rich. Dec 24 15:04:03 I like FreeBD, that is my favorite Dec 24 15:04:29 * _ivanst_ always was and always will be a Debian Linux user,i'm just visiting OSXland right now ;-) Dec 24 15:04:57 FreeBSD is killer, drop Debian Dec 24 15:05:03 <_ivanst_> and i'm staying till someone writes something better than that piece of crap called cinelerra Dec 24 15:06:11 do use Debian as Desktop? Dec 24 15:06:49 http://news.netcraft.com/ Dec 24 15:07:46 FreeBSD has like 16,000 ports Dec 24 15:30:37 morning Dec 24 15:32:43 morning Dec 24 16:04:24 morning all! Dec 24 16:05:12 howdy JenP Dec 24 16:05:35 hi LoneStar34! happy pre xmas Dec 24 16:05:37 don't think there are to many folks on now Dec 24 16:06:05 smiles...lst minute shopping. Dec 24 16:06:26 boo, have not shopped Dec 24 16:07:08 smiles...i did all mine online. plus i'm not doing too much this year. having "selfish xmas" Dec 24 16:07:34 no families, no kids....just peace Dec 24 16:08:44 cool what you getting yourself for xmas? Dec 24 16:09:19 i bought myself new shoes Dec 24 16:09:22 you? Dec 24 16:10:09 an app? Dec 24 16:10:16 lol Dec 24 16:11:12 finally got a developer account Dec 24 16:11:48 what song would you like to donate to the library? Dec 24 16:12:10 what library? Dec 24 16:12:50 youtube "playlist" Dec 24 16:15:11 what up Jenp? Dec 24 16:15:28 hi haeffb!!! Dec 24 16:15:44 what did you buy your wife for xmas? Dec 24 16:16:43 JenP: no song to donate? "New Kids on the Block"? Dec 24 16:16:56 a new jeep patriot Dec 24 16:16:59 a Pixi Dec 24 16:17:16 LoneStar34 i'm not much of a u tube person. so i have no reference for what you're talking about Dec 24 16:17:20 a slicer/shredder attachment for her kitchenaid mixer Dec 24 16:17:26 haeffb: NICE! Dec 24 16:17:50 she giggles every time she says "Pixi" Dec 24 16:18:12 ohhh! have you seen the new kitchenaid mixer blade that also has a scraper incorporated Dec 24 16:18:23 pixi is a great word Dec 24 16:18:27 nope Dec 24 16:19:21 what good is that - if you don't get scrape the bowl and eat up the leftovers afterward Dec 24 16:19:33 lol Dec 24 16:19:47 brought a new developer to WebOS Dec 24 16:19:59 http://www.duckduckgo.com Dec 24 16:20:33 perhaps a google killer Dec 24 16:20:58 the patriot looks much like this http://www.jeep.com/en/2010/patriot/ but without the chrome Dec 24 16:21:03 she loves it Dec 24 16:21:42 what makes them a google killer? Dec 24 16:21:55 just try it Dec 24 17:28:42 haeffb_gon4coffe, hit me up when youre back Dec 24 17:29:01 back, but only for a second or two Dec 24 17:29:17 time to start holiday travails^H^H^H^H^H^H travels Dec 24 17:29:22 if you need mopar accessories or anything like that let me know, i have a few hookups as far as mopar stuff :) Dec 24 17:29:34 ah, sweet Dec 24 17:30:01 i pay cost for parts at the dealer i go thru Dec 24 17:30:08 my ma used to be service manager at a chrysler dealership, but not for a couple of years Dec 24 17:55:12 hey, anyone know how to stop the browser from refreshing when you hit 'enter' (in a textbox)? Dec 24 17:55:28 returning false in the onkeydown apparently isnt enough Dec 24 17:57:30 hm, looks like 'preventdefault works to some degree Dec 24 21:08:28 hey guys how do we add images to our emulator? Dec 24 21:14:00 JenP: like graphics files, photos to view / attach etc? Dec 24 21:14:10 oh figured it out... Dec 24 21:14:23 or system image Dec 24 21:14:25 now i need to figure out how to use pinch to enlarge a image Dec 24 21:14:30 any ideas? Dec 24 21:14:33 ah Dec 24 21:14:39 well, I think at this point you can't. Dec 24 21:14:47 darn Dec 24 21:15:11 I've been considering writing a driver for an external multitouch interface -- looks like I'm not the only one who wants it Dec 24 21:16:32 with the right software you could use two mice for pinch/zoom or an external multitouch hardware like magic mouse, webcam-box, etc Dec 24 21:16:55 nice :) Dec 24 21:29:20 destinal that would be so cool Dec 24 21:33:02 Some people are just...I just don't know. I've basically lost all faith in humanity at this point in time. Dec 24 21:34:46 reality9110: that bad? Dec 24 21:37:27 yeah Dec 24 21:37:48 I just don't know how some people manage to walk upright Dec 24 21:46:43 <_ivanst_> reality9110: they don't really walk upright Dec 24 21:46:43 <_ivanst_> they just sort of imperceptably slouch backwards from their arms-and-legs monkey walk Dec 24 21:57:22 hi all! Dec 24 21:57:27 * ivanst waves Dec 24 21:57:47 :-d Dec 24 21:59:08 hey Jen Dec 24 21:59:25 hi Doc!!! Dec 24 21:59:32 happy pre xmas! Dec 24 21:59:45 I don't celebrate xmas Dec 24 22:00:02 So, happy Thursday Dec 24 22:00:03 then happy day before tomorrow Dec 24 22:08:04 I need to find a place to stay in Tampa Dec 24 22:08:42 whatcha gonna do there? Dec 24 22:09:09 Two days in Tampa, three nights at Fort Myers Beach Dec 24 22:09:16 Vacation Dec 24 22:10:29 good! you deserve one Dec 24 22:12:17 I wanted to hit the Virgin Islands, but, I couldn't get a flight for a decent price out of ATL. Dec 24 22:12:37 It was around $1400 round trip Dec 24 22:13:34 wow yeah wait a couple of weeks and go when the tourist are gone Dec 24 22:13:52 I wasn't going to be around anybody Dec 24 22:14:11 I was going to rent a secluded house Dec 24 22:14:29 well florida will be nice too Dec 24 22:15:23 Yeah, zoo in Tampa, and then nice Gulf front resort Dec 24 22:15:40 do you golf? Dec 24 22:15:46 Heck no Dec 24 22:15:51 lol Dec 24 22:16:06 Such a boring "sport" Dec 24 22:16:07 geocaching? Dec 24 22:16:24 No Dec 24 22:16:31 <--- old Dec 24 22:16:47 lol i know plenty of 'old' people who geocach Dec 24 22:16:59 Ok. Dec 24 22:17:02 <--- old and tired Dec 24 22:17:08 in fact there are these guys down who call themselves the "old bastards" Dec 24 22:17:17 and they really get into hiding their caches Dec 24 22:17:37 once took me an hour to find one... Dec 24 22:17:54 they had disguised the container to look exactly like the rock it was hidden in Dec 24 22:19:22 brb Dec 24 22:20:33 Wow. I'm dealing with a real idiot in support. Dec 24 22:20:39 * sugardave occasionally geocaches. Dec 24 22:21:29 reality9110: idiot tech support or you are supporting an idiot? Dec 24 22:22:01 Supporting the idiot Dec 24 22:22:07 ah, yeah Dec 24 22:22:09 that sucks Dec 24 22:22:10 First sends a blank email. Dec 24 22:22:20 you need my BOFH Excuse Generator....generate random excuse Dec 24 22:22:39 Then sends an email just saying, "Having trouble picking up stations" Dec 24 22:23:02 I send him a long email back explaining that we don't control the individuals streams and to actually list what stream doesn't work. Dec 24 22:23:13 'all of them' Dec 24 22:23:27 He sends an email back saying "Thanks but am I signed in" Dec 24 22:23:32 Uhhhh...what? Dec 24 22:23:42 I DON'T KNOW WHAY DON'T YOU CHECK? Dec 24 22:24:04 More like, "WHAT YOU ARE SAYING MAKES NO SENSE" Dec 24 22:24:37 I've only had one support email so far...from an idiot, yes Dec 24 22:26:18 I just broke 30,000 users today. Obviously, that's a lot of idiots Dec 24 22:27:04 yeah, the price of success ;) Dec 24 22:35:20 Oh wow. Another email. Dec 24 22:35:32 "The problem was when I tried to sign in it would not allow me but stations came up" Dec 24 22:35:56 that's one thing...I don't think we can specify our 'hours of operation' for different types of support Dec 24 22:36:03 Which has absolutely NOTHING to do with the original email Dec 24 22:36:49 oh, I thought this was a second user...hehe, there's no telling what you're going to get out of this one Dec 24 22:37:57 He has one more shot. If he fails again, I'm just going to tell him that our app requires a certain level of intelligence to be able to operate and that he does not fall within the specified range. Dec 24 22:40:56 howdy folks Dec 24 22:41:11 Hello there! Dec 24 22:41:50 once apps are uploaded how long do they take to show up in the app store? Dec 24 22:41:56 Depends Dec 24 22:42:01 What stage is it on? Dec 24 22:42:24 oh it does not automatically show uP? Dec 24 22:42:37 also: store == apple, catalog == palm Dec 24 22:42:39 Well Dec 24 22:42:41 So Dec 24 22:42:51 You submitted to the developer.palm.com dev portal, right? Dec 24 22:43:28 have not yet will do it later today, but had my account upgraded, and now i can upload apps Dec 24 22:43:34 oh Dec 24 22:43:43 Well once you submit, there are a few stages Dec 24 22:44:16 Qued for review -> Being Reviewed -> One of two, accepted or denied Dec 24 22:44:24 If denied, you get an email about why Dec 24 22:44:42 If accepted, it will be pushed on the next app catalog push (1-2 days usually) Dec 24 22:48:26 And he missed all of that Dec 24 22:48:43 Yep Dec 24 22:48:52 kesne Qued for review -> Being Reviewed -> One of two, accepted or denied Dec 24 22:48:52 kesne If denied, you get an email about why Dec 24 22:48:52 kesne If accepted, it will be pushed on the next app catalog push (1-2 days usually) Dec 24 22:48:53 my wifi is shite today Dec 24 22:49:00 It's all good Dec 24 22:49:07 God gave us copy/paste for a reason Dec 24 22:49:15 thanks Dec 24 22:49:31 Yeah Dec 24 22:49:33 What is your app? Dec 24 22:49:53 there are two Dec 24 22:51:11 a url shortener and a search engine with : yahoo, yahoo news, bing, bing news, twitter, dictionary, indeed, google and more to come Dec 24 22:51:19 2 apps Dec 24 22:54:14 since the pre has the global search, needed to up it abit Dec 24 23:01:52 Yeah Dec 24 23:01:55 Paid or free? Dec 24 23:02:25 paid, but may release a free with ads at one point Dec 24 23:02:30 Nice Dec 24 23:02:33 Paid is where it's at Dec 24 23:02:40 yeah, Dec 24 23:03:59 gonna develop an app for http://duckduckgo.com/ Dec 24 23:04:19 Nice Dec 24 23:04:31 Also, more apps = more profits Dec 24 23:04:38 better apps is also = more profit Dec 24 23:04:42 you should find a ballence Dec 24 23:04:54 Don't BHL it, but make it profitable Dec 24 23:06:48 "BHL" ? could not find it in acrynom finder Dec 24 23:06:57 =) Dec 24 23:07:05 Brighthouse Labs Dec 24 23:07:41 oh, the 'team" apps Dec 24 23:07:58 yeah Dec 24 23:08:15 Dumb app of the day: Gonna Rain? Dec 24 23:08:29 neah, these are very well written, complex apps Dec 24 23:11:00 alright chat later, gonna chill, Dec 24 23:40:57 merry christmas all Dec 24 23:43:28 Merry Christmas rwhitby Dec 24 23:44:27 Has anyone had any issues with making a 'post' request with prototype's Ajax.request function? I put the method as 'post', but it keeps sending as 'get'. I tried locally with the same code and it uses the 'post' method. Any ideas? Dec 24 23:44:50 known issue. Dec 24 23:46:06 Really? How are you supposed to post with AJAX then? :S Dec 24 23:46:43 I guess I just wasted 10 hours yesterday trying to figure out what I was doing wrong :p Dec 24 23:47:32 https://developer.palm.com/distribution/viewtopic.php?f=15&t=2373&p=8703&hilit=ajax+put#p8703 Dec 24 23:48:16 you can do POST but not PUT Dec 24 23:48:23 and yes, it's a bug. Dec 24 23:51:52 Hmm, well I'm having issues with 'post' and it seems that that should work ok according to that thread. Here's the pastie of my code http://pastie.org/756048 Dec 24 23:55:52 doh Dec 24 23:56:02 ran out of wrapping paper, had to resort to harborfreight catalogs Dec 24 23:58:13 CTLAdvance, just saw a sshot of your santa button, why isnt the command menu centered? Dec 24 23:59:17 heh, all the presents have already been opened here. 10:30am christmas day Dec 25 00:12:21 Hi, I'm trying to setup a basic list widget, but when I follow the palm doc tutorials and run my program in the emulator, my list just says "
. Any ideas? Dec 25 00:14:28 I should note, that's not an id I've assigned. It's something mojo is doing behind the scenes Dec 25 00:16:59 ti83`: Is that an item in the list? Dec 25 00:17:25 ti83`: Or just what's listed as the list? Because if it's just the list itself, then you didn't setup the list correctly Dec 25 00:17:38 no, it's not an item in the list Dec 25 00:17:45 I think it's me not setting it up correctly Dec 25 00:17:50 but I'm not sure where I'm going wrong Dec 25 00:17:58 ti83`: Post your scene html file to webos.pastebin.com Dec 25 00:19:10 http://webos.pastebin.com/d1c589595 Dec 25 00:19:19 ti83' My guess is that you have to add a - sign before listelements Dec 25 00:19:58 #{-listElements} Dec 25 00:20:22 pff Dec 25 00:20:26 that totally works Dec 25 00:20:35 that's not what the docs say, weird Dec 25 00:20:39 Yeah, need to escape html Dec 25 00:20:45 Yeah they changed it in webOS 1.2 Dec 25 00:20:51 I found out the hard way as well :) Dec 25 00:20:57 So when do I know when to do that, and when not to do it Dec 25 00:21:07 because my item template is just #{data} Dec 25 00:21:10 not #{-data} Dec 25 00:21:10 When you want to display HTML you need to add a - beofre Dec 25 00:21:36 So for actual text and things just leave out the minus, but if you WANT html to be displayed then add the - Dec 25 00:21:49 So I could put HTML in the item objects I'm passing into the list if I put a - in the item template? Dec 25 00:22:16 I suppose that's unnecessary Dec 25 00:23:07 It's to filter out bad HTML. What if you make a not app and someone types /> for some reason. Could screw up the whole layout. So webOS defaulst to sanitizing all data Dec 25 00:23:14 You can set it by including a file framework_config.json Dec 25 00:23:25 It's better to accidently forget to escape then forget to NOT escape. At least in my opinion Dec 25 00:23:33 oh, that's is a good idea Dec 25 00:23:49 second question: Dec 25 00:23:59 I'm not understanding this :
Dec 25 00:24:15 how do I specify this style? Dec 25 00:24:28 It means that if your list is scrolling, then any tap on it is taken as a tap Dec 25 00:24:41 So if you tap on it to stop scrolling, it'll click on that item Dec 25 00:25:16 Probably better to set it to x-mojo-touch-feedback="delayed" Dec 25 00:25:17 That's not quite right. x-mojo-highlight="momentary" adds a class of "selected" to that div. If you leave it out it will still work, but you will not have any highlight when you press on the row Dec 25 00:25:17 Hmm Dec 25 00:25:31 In the docs it says: "You may have noticed the addition of the x-mojo-tap-highlight='momentary' in the top level div of the item template. This will cause the list item to highlight when tapped on. " Dec 25 00:25:50 Both will highlight Dec 25 00:26:00 I'm wondering how to style the highlight Dec 25 00:26:16 You do .palm-row.selected {youstyles} Dec 25 00:26:36 okay Dec 25 00:26:53 If your list is long though, I'd recommend against adding a lot of styling to it Dec 25 00:27:03 But I thought all list templates had to be the same class, i.e. palm-row Dec 25 00:27:09 is this not true? Dec 25 00:27:34 ti83' Nope. I hardly use it in my app. You can make your own class and not use palm-row or palm-group or anything. Dec 25 00:27:38 reality9110: good tip, thanks. I'd just like to center it Dec 25 00:28:06 I see. Dec 25 00:28:30 Are those styling classes built in somewhere? Because I see that palm-group does do some fancy styling Dec 25 00:28:33 Be sure to specify the selected if you do end up using different classes or else it'll look funky when you click on it Dec 25 00:28:46 the x-mojo-highlight=momentary just applies the "selected" class to whatever element you put on it, and palm-row gives it some default height and padding and a default "pressed" or "highlighted" state. Whatever you wanna call it. Dec 25 00:29:56 And you can always just add styles in the html as well if you want to override the css Dec 25 00:30:36 That's helpful Dec 25 00:30:52 Sometimes earsier than just creating a new palm-row class Dec 25 00:30:56 I couldn't figure out from the docs if I had to use a specific styling class or not Dec 25 00:31:59 ti83' Another way is to add the class of palm-row AND your own custom class e.g. class="palm-row my-row" and just override the styles you need in the css Dec 25 00:33:00 yeah, that sounds like what I need Dec 25 00:33:02 thanks Dec 25 00:33:36 No prob, let me know if you need any other help. I also had some trouble styling my app, and figured out a lot of tricks Dec 25 00:33:52 you guys have been very helpful but I need to get going. Thanks and Merry Christmas! Dec 25 00:34:12 Merry Christmas! Dec 25 00:35:07 catalystmediastu: What app are you working on? Dec 25 00:36:16 It's a Twitter app. Not released yet, but I hope to put it out soon. Dec 25 00:36:26 Oh Dec 25 00:36:41 I still don't have a twitter account Dec 25 00:36:47 How 'bout you? Dec 25 00:36:59 I wrote RadioTime Dec 25 00:37:50 I can't find it. Is it all one word? Dec 25 00:38:13 Search doesn't work on it. It's under Explore->Music->Radio/Broadcast top of the list Dec 25 00:38:29 Any idea why not? Dec 25 00:38:49 It doesn't work for a lot of apps that were uploaded on that particular day Dec 25 00:39:07 My working theory is that all of the BHL sports apps broke the App Catalog. Dec 25 00:39:13 That's really strange? Dec 25 00:39:25 Haha probably! How has the app been doing Dec 25 00:39:37 Just hit 30,000 downloads today Dec 25 00:40:04 Very cool. That's impressive for such a short amount of time being out Dec 25 00:40:06 the app catalog is undergoing what amounts to a complete re-write, due to the requirements of the launch of the developer's program in 3 weeks. Dec 25 00:40:26 catalystmediastu: It's a good app. :-) Dec 25 00:40:36 Rick_work: That's exciting! I look forward to it. Dec 25 00:41:06 I'm downloading it right now :) Dec 25 00:41:10 We're on deck for being Featured as well and hopefully we can get up to 100,000 Dec 25 00:41:35 That's cool. Did Palm just let you know that you'd be featured? Dec 25 00:41:52 Had to meet the requirements Dec 25 00:42:11 What are those? Dec 25 00:42:41 featured requirements: Rating over 4, ask your minder. Dec 25 00:42:50 as far as I know, that's it unless doc knows another Dec 25 00:42:53 At least a 4 or something star rating. We're at 4.5. Need to showcase features. Good UI. Dec 25 00:43:44 Very cool. Dec 25 00:44:08 but you have to ask. They don't approach you. Dec 25 00:44:31 Ahh, that's all good info to have. Thanks guys. Dec 25 00:44:46 Rick_work: What have you been working on? Dec 25 00:45:12 We've been working on a time and billing app Dec 25 00:45:28 I've done snow globe, reversi, pegged, simple big book. Dec 25 00:46:29 Wow, quite a few. I'd be interested in the time app. What will it be called? Dec 25 00:46:45 the time and billing app is "complex" over 25 scenes, 8 data tables, ajax integration with cloud backup and data editing, on-phone reporting and web-based reporting. Dec 25 00:46:55 "My time is money" Dec 25 00:47:07 reality9110: Looks good. It's pretty quick :) Dec 25 00:47:26 Rick_work: WOW, sounds tough. Is it just you working on it? Dec 25 00:47:33 UI overhaul is coming in the next edition Dec 25 00:47:58 catalystmediastu want to take a look at the pre-alpha? I have a fully working version, which is undergoing a UI rewrite before we move to public beta. Dec 25 00:48:16 the UI as is, sucks. But I would be happy to send a copy and get feedback. Dec 25 00:48:27 Rick_work. I would love to! I'd definitely send some feedback Dec 25 00:48:34 pm me an email Dec 25 00:48:44 reality9110: Are you working on it by yourself or a team? Dec 25 00:49:45 I do all of the coding and what not. There's a graphic design guy now that's laying out graphics so I just put them together. Dec 25 00:50:25 reality9110: Let me know if you'd like anyone to test. I'm sure I could offer some decent feedback. Dec 25 00:50:45 Thanks but I already have a beta testing grouup Dec 25 00:50:49 group Dec 25 00:51:14 Hey no problem. That's really exciting. Thanks for letting me know about it. Dec 25 00:54:50 I have a lead programmer I work with for bulk coding. Dec 25 00:55:17 but the line between what we do is complex, John and I have been working together for 15 years. Dec 25 00:56:14 Rick_work: How much are you selling your app for? Dec 25 00:56:29 haven't decided yet Dec 25 00:57:19 Seriously considering $0, and using a subscription model for the web-based services add-ons and turn off advertising. Dec 25 00:57:35 So, a buck or two a month gets you the web services, and turns off your ads. Dec 25 00:57:57 (as long as the app sees the server once a month or so, and your subscription is current, your ads stay turned off.) Dec 25 00:57:57 Who are you using for ads? Dec 25 00:58:03 no one yet. Dec 25 00:58:07 App is pre-alpha. Dec 25 00:58:20 You might want to start looking into it very early Dec 25 00:58:26 Been looking and playing with the ad-aggregator you pointed me to the other day. Dec 25 00:58:55 Smaato? Dec 25 00:59:19 yes Dec 25 00:59:35 Rick_work: I like the free + subscription fee. Looks very useful to me. Dec 25 00:59:35 I'm actually dropping them from the next release Dec 25 01:01:01 why? Dec 25 01:01:16 Poor performance and got a deal with JumpTap premium Dec 25 01:01:30 ahhhhh Dec 25 01:01:54 so, for a random guy like me, who should I be looking at? Dec 25 01:02:28 I'd be looking at premium-blind networks Dec 25 01:02:40 A little bit higher quality ads, not so random Dec 25 01:05:05 You might be able to get a decent deal with Millennial Media. They would be more business oriented Dec 25 01:11:11 hmmm Dec 25 01:11:51 with cookies do you leave the .get() empty?...nothing in parans Dec 25 01:12:58 JenP: Yeah Dec 25 01:13:05 thank you Dec 25 01:13:16 I do something like this Dec 25 01:14:07 http://webos.pastebin.com/d4ff8d1eb Dec 25 01:14:44 thanks i'm doing something just like that too! Dec 25 01:24:21 I need a regex person Dec 25 01:24:39 what do you need? Dec 25 01:24:52 I need to lop off three letters characters off of a line Dec 25 01:24:58 or a string rather Dec 25 01:25:22 can you give me an example of the text Dec 25 01:25:59 01:00:00 Dec 25 01:26:11 always numbers? Dec 25 01:26:21 Well, the colon isn't a number Dec 25 01:26:34 lol yes i know that Dec 25 01:26:41 I need to get rid of the :00 at the end Dec 25 01:26:53 I don't think people need milliseconds on their schedule Dec 25 01:29:55 oh \b(\d{2}:)(\d+):+\d+\b Dec 25 01:30:01 then return \1\2 Dec 25 01:30:28 \b(\d{2}: )(\d+):+\d+\b Dec 25 01:30:43 had to add a space to get rid of the smile you'll need to remove it Dec 25 01:31:24 Are you using comic chat or something? Dec 25 01:31:35 ice chat Dec 25 01:31:37 var myregexp = /\b(\d{2}:)(\d+):+\d+\b/g; Dec 25 01:31:37 result = subject.replace(myregexp, "$1$2"); Dec 25 01:31:57 that's the js version of the replace Dec 25 01:33:29 Testing Dec 25 01:33:46 Works great Dec 25 01:34:12 yeah!! Dec 25 01:34:27 I hate regex Dec 25 01:34:39 really? i love regex Dec 25 01:34:46 lol Dec 25 01:35:09 It was already a pain trying to pull just the 01:00:00 out of the returned xml. Dec 25 01:35:56 oh...well xml is what i work with so if i can help let me know. Dec 25 01:36:26 RT is all xml (OPML). I'm talking about parsing it from what it was Dec 25 01:36:34 Or rather, what was returned Dec 25 01:37:14 The formatting of the start times is just crazy Dec 25 01:37:42 smiles...thats cool though. i love what xml has done for data reuse Dec 25 01:38:19 start="2009-12-24T00:30:00" Dec 25 01:38:29 Who does stuff like that? Dec 25 01:38:33 Why would you return that? Dec 25 01:38:39 the government Dec 25 01:38:46 I send all of this information to them...just return the damn time! Dec 25 01:39:16 And not even an option to have it returned in standard time. Dec 25 01:39:58 By the way... http://colorschemedesigner.com/ awesome Dec 25 01:40:36 http://kuler.adobe.com/#create/fromacolor Dec 25 01:41:42 Good one too Dec 25 01:45:21 we like the site you sent Dec 25 01:45:34 Except when you do an image, how can you get the actual color? Dec 25 01:45:43 As in, the hex for it Dec 25 01:46:44 colorschemedesigner gives you a nice css/html output for it Dec 25 01:47:03 oh that's cool Dec 25 01:48:30 or a photoshop palette Dec 25 01:56:19 Blue looks good on the emulator. Looks like absolute crap on the phone Dec 25 01:56:32 really? Dec 25 01:56:36 Yeah Dec 25 01:56:43 The phone has a natural greenish tinge to it Dec 25 01:57:16 I can send you a copy if you want to see Dec 25 01:57:59 yeah! Dec 25 01:58:04 Yeah that's absolutely true. I had to test every mockup on the phone itself because the colors were different. Definitely more green Dec 25 01:59:07 Sent Dec 25 01:59:49 The functionality is great, the color...it's irritating me Dec 25 02:00:57 kk loading now Dec 25 02:01:18 Check out the new player screen as well Dec 25 02:01:32 Nice little Zune scrolling there Dec 25 02:12:50 do i need to uninstall the other version first? Dec 25 02:13:36 no Dec 25 02:13:44 It'll overwrite it Dec 25 02:13:58 k well i dont see green tinge Dec 25 02:14:05 looks deep blue to me Dec 25 02:14:29 I definitely see green Dec 25 02:14:34 what's Zune scrolling? Dec 25 02:14:37 Stupid phone quality Dec 25 02:14:41 Side scrolling Dec 25 02:15:21 On the player screen, where it says the station title, that entire area is scrollable sideways Dec 25 02:15:26 Gives you more options Dec 25 02:15:35 side scrolling....ohhhhh cool Dec 25 02:15:52 Schedule (if available) and recommended stations (which are clickable as well) Dec 25 02:16:35 is that what the little arrow on the bottom side suppose to do? Dec 25 02:16:49 i like the scrolling Dec 25 02:17:11 They are indicators Dec 25 02:17:22 but i have to admit...i didn't know to scroll till you told me i could. my first reaction was to press the arrow Dec 25 02:17:41 Yeah, I figure people will eventually figure it out Dec 25 02:17:57 I don't know how else to say, "Hey...just swipe..." Dec 25 02:18:44 the other thing is...are the arrow suppose to tell me which direction to swipe in? Dec 25 02:19:29 reality9110: you are doing it like the amazon store album art side-scrolling thing? Dec 25 02:19:58 JenP: Yes Dec 25 02:20:12 jbjoerk: Except without album art Dec 25 02:20:24 It's text Dec 25 02:20:43 JenP: Actually, make that no Dec 25 02:20:51 The are to indicate which direction the scroller goes Dec 25 02:21:28 reality9110: I'm afraid I might have the same problem in my app. I'm either going to make sure that one of my images are clipped, or that I have it moving with a small velocity when the scene opens Dec 25 02:22:01 so the arrow will show up even when there isn't anythign to scroll to? Dec 25 02:22:38 JenP: There will always be something to scroll there Dec 25 02:22:43 At least recommendations Dec 25 02:22:56 k i don't have something Dec 25 02:23:10 uh...what station? Dec 25 02:23:12 christmas....xmasMelody Dec 25 02:23:43 Oh crap...forgot. Shoutcast and Accuradio stations probably don't have recs. Dec 25 02:24:54 JenP: Scroll further... Dec 25 02:24:56 It has recs Dec 25 02:25:21 mine doesn't Dec 25 02:25:35 do you see You May Also Like: ? Dec 25 02:25:50 it starts to and moves to the right but then bumps back Dec 25 02:25:54 no... Dec 25 02:26:20 Swipe twice to the left Dec 25 02:26:35 ohhh Dec 25 02:26:41 ok the arrows are confussing Dec 25 02:26:47 and swipe twice is too Dec 25 02:26:52 * reality9110 smacks forehead Dec 25 02:27:03 sorry... Dec 25 02:27:14 it's the same thing that's used in the AccuWeather app Dec 25 02:27:51 i don't use accuweather Dec 25 02:27:56 I wonder if it's possible to start in the middle of the scroller Dec 25 02:28:20 can you make it auto scroll? Dec 25 02:28:24 that would be the best option Dec 25 02:30:26 I don't want to autoscroll as that'll be a battery killer Dec 25 02:30:37 mmm good point Dec 25 02:31:11 reality9110: why? just do it when the scene is active? Dec 25 02:32:13 jbjoerk: People tend to keep the display on a lot when using the app Dec 25 02:34:06 then I agree with your reasoning =) Dec 25 02:34:51 I kind of know what I'm doing with battery optimization by now. ;-) Dec 25 02:35:47 anything except "don't frigging update the screen unless you must"? :) Dec 25 02:36:11 Everything shuts down when the screen is off on the app Dec 25 02:38:19 And JenP, how can you listen to this crap? Dec 25 02:44:07 reality9110 xmas music is fun! Dec 25 02:44:14 makes me giggle Dec 25 02:47:49 This is just awful...simply awful Dec 25 02:48:35 LOL Dec 25 02:48:50 :D Dec 25 02:52:44 reality9110 what do you like to listen to? Dec 25 02:52:59 Talk radio mainly Dec 25 02:53:17 Me, I'm a jazz fusion / celtic / a capella person. Dec 25 02:53:42 Oh, well, yes, for most purposes, talk. I can't listen to music in the car, it puts me to sleep. Dec 25 02:53:50 but if I want to listen to music... Dec 25 02:53:58 I'm partially deaf in one ear so music kind of gives me vertigo Dec 25 02:54:11 ahhhhh Dec 25 02:54:27 I would have guessed you for a piano jazz kind of guy. Dec 25 02:54:32 I don't know why. Dec 25 02:54:41 Not at all. Dec 25 02:54:51 I used to be big into club music Dec 25 02:55:12 * Rick_work hack -- spit. Dec 25 02:55:22 Oh really ! :-) how interesting! Dec 25 02:56:31 I used to work as a DJ back in college for a radio station and in the disco scene to pay the bills. My nephew still does. Dec 25 02:57:52 Then, the hearing started to go and that was that. **** ENDING LOGGING AT Fri Dec 25 02:59:57 2009