**** BEGIN LOGGING AT Sun Apr 11 02:59:56 2010 Apr 11 03:20:55 hello all Apr 11 03:21:40 howdy BigBiff Apr 11 03:22:25 i need a gps guru Apr 11 03:22:35 kind of a physics problem Apr 11 03:22:40 well.. matgh Apr 11 03:22:42 math Apr 11 03:22:51 sounds tough Apr 11 03:23:10 only math i know is 2+2 Apr 11 03:23:10 i've googled it - looks drab Apr 11 03:23:19 or my fav Apr 11 03:23:26 i=!i Apr 11 03:23:36 makes PERFECT sense Apr 11 03:23:38 hehe Apr 11 03:24:11 what was the math question ? Apr 11 03:24:14 o Apr 11 03:24:25 ive got a BUNCH of lat/long coords Apr 11 03:24:44 i need to see which ones are within x miles of my gps Apr 11 03:25:15 i think there's a sin/cos in there somewhere Apr 11 03:25:28 toughy Apr 11 03:25:44 yeah, if you want to get a radius going on .. Apr 11 03:25:55 if you just want a square, and estimate it .. Apr 11 03:26:00 might not be a bad idea Apr 11 03:26:03 hmm Apr 11 03:26:35 ya, actually i'll just cycle through them Apr 11 03:27:05 instead of creating a complex mathematical formula Apr 11 03:27:11 that creates a radius Apr 11 03:27:34 now to google that formula Apr 11 03:28:41 and voila - there it is in good old js - the haversine formula Apr 11 03:29:10 in case ur curious - http://www.movable-type.co.uk/scripts/latlong.html Apr 11 03:30:19 ugg - how processor intensive will that be, to cycle that formula through a few entry lat/long entries? Apr 11 03:30:26 http://en.wikipedia.org/wiki/Great-circle_distance Apr 11 03:32:51 if you keep your coordinates in polar format, you can just use a complex multiply to update your vector based on the delta you have Apr 11 03:33:38 so keep a magnitude and angle (bearing) .. and you should be able to just iterate one time through, and keep values which have a magnitude less than N miles Apr 11 03:34:04 an update rate of 1Hz shouldn't be too bad Apr 11 03:34:16 even 1/4Hz wouldn't be terrible Apr 11 03:35:14 make sense ? Apr 11 03:37:18 yes - actually i was doing ok till the wiki page Apr 11 03:37:45 the hieroglyphics hurt me Apr 11 03:38:55 i am sorry Apr 11 03:39:28 heh, actually i'm doing ok now- i worked through the symbols that i had forgotten (since 1991) Apr 11 03:39:43 been awhile since trig Apr 11 03:40:20 woohoo, time to code it! Apr 11 03:40:20 circles are fun Apr 11 03:40:25 good luck Apr 11 03:40:36 angles on a sphere Apr 11 03:40:41 funner Apr 11 03:41:31 i still wanna see somebody make the space vehicle flyover app Apr 11 03:41:46 some trig involved in that one Apr 11 03:42:03 i'd pay 3.99 for that one Apr 11 03:42:13 (but im a nerd) Apr 11 03:54:01 crap Apr 11 03:54:10 i knew i shouldnt have tweeted.. Apr 11 04:17:18 what a mess Apr 11 04:18:24 palm retweeted my tweet about my beta, i wasnt paying attention and told ppl to DM me forgetting that you cant DM if both parties arent following each other.. got a bunch of @'s then a bug comes in about the app freezing after coming back to the main scene.. ugh! Apr 11 04:24:29 Has anyone documented something on webos101.com today? Apr 11 04:25:59 hello Rod Apr 11 04:29:46 heres a hypothetical Apr 11 04:30:06 you have a list with spinners in the rows, respectively Apr 11 04:30:21 the list is tucked in a drawer - spinners are "activated" Apr 11 04:30:45 is the machine processing them as being active, or does the drawer preclude that Apr 11 04:32:09 i guess the question is - is the drawer just a visual "mask" Apr 11 04:33:22 BigBiff: I'd say 'yes' Apr 11 04:33:50 ya me 2 - Apr 11 04:34:28 i was hoping..... yet another if drawer is blabla, then dont activate blabla i guess Apr 11 04:37:35 That's a bit much to hope for. Apr 11 05:49:24 Hey, anyone willing to help out a dev n00b with a quick problem? Apr 11 05:50:03 what is the quick problem? Apr 11 05:50:58 Well... Since 1.4, I've been having trouble with dev mode. Namely, it won't initiate- when I slide the devmode bar to 'on' and reset my device, it tells me to reset again Apr 11 05:51:15 And novacom doesn't initiate or anything. I've already doctored my Pre three times now trying to fix it, no luck Apr 11 05:51:54 I'm wondering if this is a known issue and if there's a solution for it, because I've managed to find... nothing on it. Apr 11 05:55:28 gingermanbread: not really sure... Apr 11 06:02:05 Well... Jeez. I'm not sure how to solve this at the moment short of 'misplacing' or breaking my Pre and getting a new one from Sprint Apr 11 06:05:51 not sure what it all means Apr 11 08:43:13 morning Apr 11 12:00:34 morning swisstomcat Apr 11 12:00:46 morning haeffb Apr 11 12:01:14 I'm going to run out and grab some coffee. Need anything? Apr 11 12:06:06 bagels Apr 11 12:08:50 already had lunch, thanks :) Apr 11 12:30:42 bagels? dude, this is rural Missouri, not New York City. bagels. ha. Apr 11 12:38:24 hi there Apr 11 12:38:42 anyone know a way to be notified of phone/sms calls in a fullscreen app ? Apr 11 12:38:51 grits? Apr 11 12:43:36 hi warpdesign Apr 11 12:51:07 too far north Apr 11 12:51:38 sausage gravy & biscuits. Eggs. Bacon. Hashbrowns. Apr 11 12:52:11 yummy Apr 11 12:54:07 * haeffb trying to figure out how to handle a change in account settings. Apr 11 12:54:31 I user changes from one Toodledo account to another, I should probably delete all his info, right? Apr 11 12:55:08 what are u storing locally? Apr 11 12:55:13 everything Apr 11 12:55:16 ask the user? Apr 11 12:55:58 he doesn't know anything. Apr 11 12:56:46 "send account data to developer before deleting the account? yes/sure/no problem" Apr 11 12:57:14 I like the way you think... Apr 11 12:58:04 problem: I store the Toodledo unique "id" and my own unique "value" for each task. Apr 11 12:58:19 if the task was added locally, "id" = "" Apr 11 12:58:26 value = unix timestamp Apr 11 12:58:57 when synced, I get an id from Toodledo, and then set value == id. Apr 11 12:59:22 also an userid? Apr 11 12:59:25 so, synced tasks have value == id and non-synced tasks have value =xxx and id="". Apr 11 12:59:31 warpdesign: i dont know of a way but would like to know also if its do-able Apr 11 13:00:10 so I'm testing for id="" to see if task should be sent to Toodledo. Apr 11 13:00:12 don't notifications show up in fullscreen (well, pdk) hames? Apr 11 13:00:14 games Apr 11 13:00:33 i guess you need to correspond every task with a user Apr 11 13:01:01 hmmm Apr 11 13:01:06 that way you can ask if locally stored data should be deleted Apr 11 13:01:09 or kept Apr 11 13:02:38 the bigger problem is that I don't allow local creating/editing of folders, contexts, & goals yet. Apr 11 13:03:15 how is that related? Apr 11 13:03:16 each task has a folder id, but not a folder label, so if the user changes accounts, all those folder id's become invalid. Apr 11 13:03:46 would a user migrate task from one account to another? Apr 11 13:04:02 I wouldn't know why.... Apr 11 13:04:11 ...but someone probably wants to. Apr 11 13:04:24 but Toodledo allows import/export in a variety of ways. Apr 11 13:04:27 those pesky users Apr 11 13:04:48 delete the old data then Apr 11 13:04:48 so, the easiest solution is to say "if you change accounts, all local info will be deleted." Apr 11 13:04:51 yes Apr 11 13:05:08 I think that's what I'll do. Apr 11 13:05:44 Bmyers: did you ever get it to work? Apr 11 13:06:03 your app? Apr 11 13:06:36 yep Apr 11 13:06:42 nope Apr 11 13:06:47 I suck. Apr 11 13:08:06 you'd enter a task and it wouldn't save, right? Apr 11 13:09:04 right Apr 11 13:10:29 did you get a database created? Apr 11 13:12:59 Ok, deleting tasks. Apr 11 13:13:16 I need to save the id's of deleted tasks so that I can sync with Toodledo. Apr 11 13:13:21 new database table? Apr 11 13:13:24 cookie? Apr 11 13:13:45 have the user write them down, and then type them in during sync? Apr 11 13:13:57 field in existing table? Apr 11 13:17:22 Bmyers: yes you had a database created. Apr 11 13:17:30 it just didn't save the tasks. Apr 11 13:20:43 if u say so Apr 11 13:23:08 let me know if/when you have some time to troubleshoot... Apr 11 13:24:00 tonight would be better. working on the sailboat today to get ready to splash for the summer Apr 11 13:24:37 sometime. Apr 11 13:24:45 I should be around tonight. Apr 11 13:24:54 ok Apr 11 13:25:01 I need to get our boat out of the shop today too. Apr 11 13:26:00 bowrider? Apr 11 13:29:06 bass boat. Apr 11 13:29:51 150-175 HP outboard? gotta catch them bass FAST... Apr 11 13:31:46 nah, just a little 125 HP Apr 11 13:31:52 for a 17' boat. Apr 11 13:33:00 our typical day at the lake involves launching the watercraft. motoring about 400 yards to the nearest bridge & tying it up so half the boat is in the shade of the bridge & the ohter half is in the sun. Apr 11 13:33:13 Sit there for 5 to 10 hours. Apr 11 13:33:27 motor back to the ramp, load up & go home. Apr 11 13:33:52 I just bought a DC charger for my laptop, so I can get some work done there now... Apr 11 13:37:22 sounds like fun.. Apr 11 14:01:00 hi Apr 11 14:01:32 hi benluo Apr 11 14:02:06 how to "grid" list. like Palm Pre photo app Apr 11 14:02:51 use table in list? Apr 11 14:02:57 not very sure Apr 11 14:03:11 two rd in one item? Apr 11 14:03:56 you can look at the photo app's source code .. it comes with the SDK Apr 11 14:06:07 really? Apr 11 14:06:12 thanks Apr 11 14:06:13 let me check Apr 11 14:09:19 ping Apr 11 14:10:01 syn-ack Apr 11 14:11:31 nack Apr 11 14:11:56 syn flood Apr 11 14:12:26 i found gridlist template Apr 11 14:12:36 thanks. i will study them Apr 11 14:12:46 great! I lost it about a week ago. Apr 11 15:18:17 That gridlist might be something nice to have on http://webos101.com Apr 11 15:18:21 Just sayin'... Apr 11 15:19:50 :) Apr 11 15:22:01 Which reminds me. I figured out how to skin buttons. Apr 11 15:22:08 So I need to add that to webos101 Apr 11 15:22:37 I saw an article about it once I think... but I can't find it now Apr 11 15:23:09 i saw something today Apr 11 15:23:14 twittered Apr 11 15:23:57 http://blog.anomalyinnovations.com/2010/03/creating-a-realistic-looking-button-with-css3/ Apr 11 15:27:30 That's pretty nice. I was trying to use an image as the button but that's pretty cool, maybe I can use the gradients on top of the button. Apr 11 15:28:31 haha, my "unsorted bookmarks list" is already at 490 items Apr 11 15:39:32 Roy-Pre101: i can not find gridlist in webos101 Apr 11 15:39:36 any suggestion? Apr 11 15:39:40 or link? Apr 11 15:40:32 he said someone should create that page on webos101 Apr 11 15:41:40 oho Apr 11 15:41:51 :P Apr 11 15:41:51 mis-understood Apr 11 16:11:35 :) Apr 11 16:23:49 hello all - nice day Apr 11 16:27:17 anyone dealt with dynamically styling rows in a list? Apr 11 16:28:18 just not sure which row div to put styling info - ive tried every combination with no success Apr 11 16:41:54 BigBiff: I just did this. Apr 11 16:42:08 You must make your CSS more specific than Palm's to overload the row. Apr 11 16:42:13 override Apr 11 16:42:35 i see Apr 11 16:42:58 You want to do something like alternating rows or just have a specific class by row? Apr 11 16:46:15 Here's some CSS from my alternating rows: Apr 11 16:46:34 something like - if listmodel.value = 3, row background is blue Apr 11 16:47:07 .content-scroller .palm-row-odd { Apr 11 16:47:07 background-color: rgba(255, 255, 255, 0.1); Apr 11 16:47:07 } Apr 11 16:47:36 I added the class content-scroller to the scroller containing my list (though you could probably put it on the list) Apr 11 16:47:48 k Apr 11 16:47:50 Then, in the list item template Apr 11 16:48:32
Apr 11 16:48:54 And I added a field to the model list called 'row_class' Apr 11 16:49:05 ahhhhhhhhhhhh Apr 11 16:49:20 i didnt even think about adding a template for a class Apr 11 16:49:21 I need to document that on webos101 Apr 11 16:49:30 yes - that's good stuff Apr 11 16:51:24 so you answered question2 Apr 11 16:51:38 the styling goes in palm-row, not palm-row wrapper Apr 11 16:54:55 Does that get you everything you need/ Apr 11 17:00:21 yes, that's great stuff - im gonna have to do some css 101 now Apr 11 17:03:47 Yeah, CSS is so important Apr 11 17:03:54 (and cryptic sometimes) Apr 11 17:25:28 ahh, just discovered the row dividers are the backgound image - guess if you want the dividers and a color, you got to create a colored image WITH a divider Apr 11 17:28:52 Yes Apr 11 17:29:00 That would be good to note. Apr 11 17:29:17 I haven't written that yet, if you want to go write about styling list rows, be my guest. :) Apr 11 18:03:49 pimp it, Roy, pimp it Apr 11 18:18:03 Anyone notice that webOS completely ignores the minimum-scale for optimized websites? I can't figure out why this was done. Apr 11 18:25:07 Anyone with a Pre willing to help me doing some tests ? Apr 11 18:34:41 warpdesign_: sure Apr 11 18:36:00 great Apr 11 18:36:21 Someone remind to to ask chuq why the documentation says http://developer.palm.com/index.php?option=com_content&view=article&id=1574#BrowserStandards-MetaViewport yet it fails in a simple test. Apr 11 18:36:34 templarian: i have in my code and it seems to work Apr 11 18:40:05 swisstomcat: I'm using and the user can scale. Apr 11 18:40:24 oh Apr 11 18:40:55 haven't tried that yet ... do you have a site to test with? Apr 11 18:41:01 Other devices work, but webOS ignores the user-scalable=no completely must be a bug. Apr 11 18:41:24 http://templarian.com/ Apr 11 18:41:54 (coding up a mobile theme so I made it the index) Apr 11 18:42:23 i think i have seen sites where i couldn't scale Apr 11 18:44:00 i can zoom in, but not out Apr 11 18:44:12 isn't that the way it's supposed to be? Apr 11 18:44:22 No, it's suppose to block both. Apr 11 18:44:28 hmmm Apr 11 18:44:43 If they wanted what you said they would set the minimum-scale= to something Apr 11 18:44:46 i can understand why you'd block zooming out, but not in Apr 11 18:45:43 * swisstomcat grabs wife's iphone Apr 11 18:46:02 Because there is no reason to zoom I only want vertical scrolling. The documentation even says that is what the example is for. Apr 11 18:46:30 I sold my ipod touch but I remember I couldn't zoom on the web apps. Apr 11 18:47:23 yeah, no zooming there Apr 11 18:47:28 neither in or out Apr 11 18:47:38 must be a bug then Apr 11 18:47:47 wouldn't be the last one :) Apr 11 18:48:20 Such an obvious bug wonder why it wasn't fixed it's annoying also. Apr 11 18:48:34 accidently double clicking zooms in for no reason. Apr 11 18:49:17 true Apr 11 18:49:31 unless it sneaked in in the 1.4 release (upgrade to webkit 4) Apr 11 18:49:44 That's what I'm thinking. Apr 11 18:49:57 I never tried it on the older ones so maybe. Apr 11 19:26:59 hi all Apr 11 19:31:22 hey jenp Apr 11 19:31:29 hello JenP. Apr 11 19:31:40 hey swisstomcat...hi Templarian Apr 11 20:09:06 bah, me spinners wont stop Apr 11 20:09:18 they just keep going and going Apr 11 20:10:09 how are you trying to stop them? Apr 11 20:22:02 haha Apr 11 20:22:05 im dumb Apr 11 20:22:11 "false" is bad Apr 11 20:22:14 false is good Apr 11 20:22:30 spinners be stopped Apr 11 20:24:18 i need the paper clip to pop up and say "did you REALLY just put quotes around false? Dont you want to change that?" Apr 11 20:24:54 ....and im off to the store Apr 11 20:33:20 hey lonestar Apr 11 20:33:59 hello swisstomcat Apr 11 20:34:58 how is everything in switzerland? Apr 11 20:35:17 so far so good Apr 11 20:35:29 looking forward to the dev days Apr 11 20:36:01 you going? Apr 11 20:36:03 anyone else coming? Apr 11 20:36:06 yeah Apr 11 20:36:29 it's not that far away from me ;) Apr 11 20:36:38 lol Apr 11 20:36:51 like an hour away Apr 11 20:37:40 more like 14 hours flying Apr 11 20:39:00 is it a direct flight? Apr 11 20:39:28 no, i have to go through jfk Apr 11 20:39:59 not to bad Apr 11 20:40:15 what u flying Apr 11 20:40:27 AA Apr 11 20:40:41 both flights Apr 11 20:40:50 cool Apr 11 20:41:05 and then frontier airlines up to montana on monday Apr 11 20:41:16 through seattle!? Apr 11 20:41:22 no direct flight Apr 11 20:41:32 k Apr 11 20:41:43 are you coming too? Apr 11 20:43:06 not sure Apr 11 20:43:35 too far away? :) Apr 11 20:46:26 thinking of not programming anymore Apr 11 20:47:02 need to move on Apr 11 20:48:47 why? Apr 11 20:49:41 perhaps was not meant to be a coder, just like some folks are not meant to sing Apr 11 20:50:37 oh Apr 11 20:50:49 i'm off .. talk to you guys later Apr 11 20:50:57 ok lates Apr 11 22:25:32 Where's the best place to define globals? StageAssist()? Apr 11 22:36:39 getting the code Apr 11 22:42:28 zsoc u still there? Apr 11 22:43:01 generally Apr 11 22:43:02 ? Apr 11 22:47:20 http://pastebin.com/8g370xrq Apr 11 22:48:03 that is in app-assistant.js Apr 11 23:01:46 o, ty Apr 11 23:25:28 Go write something on webOS101.com! Apr 11 23:27:38 Roy-Pre101: will tommara just chillin today Apr 11 23:28:52 localization Apr 11 23:29:30 the palm docs are all wrong Apr 12 01:37:45 I need a patcher. Apr 12 01:39:21 i need a pitcher.. Apr 12 01:39:31 of molsens Apr 12 01:49:15 does anyone know how to access the default scene scroller? Apr 12 01:49:26 haeffb told me how Apr 12 01:49:33 he said use your finger Apr 12 01:49:36 hah Apr 12 01:49:46 what if my finger is.... Apr 12 01:49:47 in an up and down motion Apr 12 01:51:17 yes, I do. Apr 12 01:52:09 hang on, i got one more try here Apr 12 01:52:12 var scroller = this.controller.getSceneScroller(); Apr 12 01:52:12 //call the widget method for scrolling to the top Apr 12 01:52:12 scroller.mojo.revealTop(0); Apr 12 01:53:29 getSceneScroller - gotcha Apr 12 01:53:48 getScroller wasnt working Apr 12 01:53:53 heh Apr 12 01:56:59 my app - shes almost done Apr 12 01:57:39 you guys are gonna get lonely without me asking questions every day :) Apr 12 01:58:55 i'll prolly just uninstall mirc when you finish your app Apr 12 01:59:01 hehe Apr 12 01:59:22 good call - its for the best Apr 12 01:59:53 a patcher for what haeffb Apr 12 02:00:13 somebody wants an Agenda button in the Calendar app. Apr 12 02:00:30 be easy to do, but I don't know patching. Apr 12 02:00:48 there is a tool for that Apr 12 02:00:57 just change what you need to change Apr 12 02:01:00 what's his name? Apr 12 02:01:12 and diff will figure out the rest for you Apr 12 02:04:37 dammit, Jim. I'm a doctor, not a scientist. Apr 12 02:06:24 diff -u original.c new.c > original.patch Apr 12 02:06:43 or in this case Apr 12 02:06:53 diff -u original.js new.js > original.patch Apr 12 02:07:08 u r on windows right? Apr 12 02:08:15 I r on windows write Apr 12 02:08:43 http://www.gnu.org/software/diffutils/diffutils.html Apr 12 02:08:49 this would be a lot easier if there was someone I could convince to do it for me. Apr 12 02:09:20 prolly Apr 12 02:09:27 but what would you learn? Apr 12 02:09:32 I think I need to exhaust that possiblity before trying it on my own... Apr 12 02:16:51 http://download.cnet.com/Patch-Maker/3000-2383_4-10038161.html Apr 12 02:30:28 BigBiff: Why not document that scene scroller thing on webos101.com? I'm not sure that's up there. Apr 12 02:38:11 it's there. just not under "scene scroller" Apr 12 02:43:35 Mmm Apr 12 02:58:10 i didnt see it either **** ENDING LOGGING AT Mon Apr 12 02:59:56 2010