**** BEGIN LOGGING AT Sun Apr 17 02:59:58 2011 Apr 17 03:05:30 what is that sineot? lol Apr 17 03:08:37 Ponies :I Apr 17 03:08:44 need more to sit on the TV Apr 17 03:14:54 ... lol Apr 17 03:38:00 night Apr 17 05:41:22 I feel like an idiot, but how do you replace text in a element? I've got #stream_info and i want to change it from the initial "Loading..." to the stream's info Apr 17 05:41:42 I've searched prototype's api docs, but can't seem to find it Apr 17 05:47:27 graywolf336: .update? Apr 17 05:48:04 i found it just now... should i use .update or .replace? Apr 17 05:49:08 I use(d) update in the past, so... why not try both? Apr 17 05:50:59 ok.. trying .update now Apr 17 05:52:46 .update worked Apr 17 05:52:49 thanks Apr 17 05:58:32 does anyone know how to make a phone number tapable to open up the phone app? Apr 17 11:53:55 :) Apr 17 12:04:52 graywolf336: you could manually add a listener and open up the phone app, I guess Apr 17 12:05:39 graywolf336: meaning: put the phone number in a div with an id (or anything else you can attach a handler to) and startObserving for a tap on it Apr 17 12:08:24 jesus, developing on a Netbook is annoying as hell Apr 17 12:08:40 a simple console.log(Object.joJSON(something)) kills everything Apr 17 12:08:48 VM hangs at 100% CPU :-) Apr 17 12:20:55 strange, I don't have that problem Apr 17 12:21:15 I get an error message if the object is too deep I think Apr 17 12:43:27 are there any advantages to use the JavaScript wrapper API versus the serviceRequest API? Apr 17 12:43:36 for db8 Apr 17 13:03:55 What icons are available for Mojo.Menu.commandMenu? Apr 17 13:05:11 morning #webos Apr 17 13:05:35 hey PatrickC_Pre what icons are available for mojo.menu.commandmenu? Apr 17 13:05:47 I have no clue Apr 17 13:05:49 srry Apr 17 13:06:19 have you heard anything From ben? Apr 17 13:06:26 nope Apr 17 13:07:15 have you contacted webos-internals to see if you could use the info from one of their devices temporarily? Apr 17 13:07:39 And I wish I could help, but my devices are doctored every like 1 month or so... Apr 17 13:10:51 http://aautar.digital-radiation.com/blog/?p=2622 look there :) Apr 17 13:12:15 cool, what do you need those for? Apr 17 13:12:56 building a class one can include to have a "feedback/support" page in an app which works with suplify Apr 17 13:13:00 (http://suplify.me) Apr 17 13:13:12 would love for you to try it. Apr 17 13:13:49 if you sign up with you email I'll send you an invite once the class is finished so that you can try it in your apps Apr 17 13:14:10 and get feedback from customers :) Apr 17 13:14:43 its better to catch them before the 0 star rate you :) Apr 17 13:17:26 Thomaschaaf: the menu icons are all defined in the CSS that comes with the SDK Apr 17 13:18:08 0 star rate who? lol Apr 17 13:20:03 global-menus.css to be more specific Apr 17 13:20:17 .palm-menu-icon.xxxxx Apr 17 13:21:02 * PatrickC_Pre is thankful for webos101 Apr 17 13:21:24 hmmm Apr 17 13:21:25 and the icons themselves are in images/menu-icon-xxxxx.png Apr 17 13:21:49 I'm having trouble updating the model of a FilterList in the Ajax.Request.onSuccess callback Apr 17 13:21:54 and you can also find other icon .pngs in some of the other Palm apps Apr 17 13:22:28 but you'll have to set those icons up in your app's CSS file Apr 17 13:23:29 phoque: what trouble? Apr 17 13:23:43 well the data doesn't end up in the list Apr 17 13:23:59 the little scrim in the upper right corner doesn't stop spinning Apr 17 13:24:09 I'm a bit confused though Apr 17 13:24:18 usually I have a model wich I need to update Apr 17 13:24:27 but it seems this is not the case with filterlists, right? Apr 17 13:25:16 yeah, they Apr 17 13:25:22 're different Apr 17 13:25:31 here's what I've used: Apr 17 13:25:42 var listWidget = this.controller.get('noteslist'); this.filterFunction(this.launchSearchString, listWidget, 0, this.notes.length); Apr 17 13:25:54 just calling the filterFunction directly Apr 17 13:28:17 http://pastie.org/1803681 Apr 17 13:28:20 this is what I'm doing Apr 17 13:29:16 haeffb, I'm not sure if your example is about the same thing I'm talking about Apr 17 13:29:57 uhm, " offset" in line 20 is undefined Apr 17 13:30:04 tried it with 0 before but it didn't help Apr 17 13:31:07 it's a bit tricky because I can't access all parameters the filterFunction callback recieves in my onSuccess callback Apr 17 13:31:14 phoque: that is how I update the items in the filterList Apr 17 13:31:14 without resorting to global variables at least Apr 17 13:31:37 which parameters? Apr 17 13:31:42 the filterString is "" Apr 17 13:31:44 offset and count Apr 17 13:31:50 the listWidget is the widget Apr 17 13:31:55 offset is 0 Apr 17 13:32:04 count is the number of items in your list Apr 17 13:32:20 yeah, but the widget passes them on to the filterFunction Apr 17 13:34:04 you have a couple of problems, the first of which is that "this" is not bound in your onSuccess, so... Apr 17 13:34:19 this.controller.get isn't going to work Apr 17 13:34:47 also, I don't think this is kosher: this.list = Array(); Apr 17 13:34:57 yeah, I'm not using that anymore Apr 17 13:35:01 this.list = new Array(); Apr 17 13:35:01 I'm using a local list in the callback Apr 17 13:35:17 hah Apr 17 13:35:18 crazy Apr 17 13:35:35 onSucess: function(response) {....}.bind(this); did the trick Apr 17 13:35:42 what's up with that bind thingy anyways? :-) Apr 17 13:36:13 and you're right, I'll change the "new Array()" problem as well Apr 17 13:37:32 I'll have to refer you to Google on "that bind thingy" Apr 17 13:38:04 OK Apr 17 13:38:05 but it's essentially a Prototype method for making sure that a function is operating in the correct scope Apr 17 13:38:17 I'm reading about it in the Prototype docs Apr 17 13:38:39 seems to me that Prototype is a bit more "low level" than jQuery Apr 17 13:38:47 i.e. the "this" you're using is the "this" you want to be using. Apr 17 13:47:48 changing the theme in Ubuntu kills eclipse Apr 17 14:16:01 eclipse with the webOS 2.0 plugin is a mess Apr 17 14:51:40 Spanska: I think I'm still using the 1.4.5 version of the webOS plugin for eclipse Apr 17 14:51:55 what's messed up with the 2.x version? Apr 17 14:52:01 Are you using it to develop for 2.1? Apr 17 14:52:17 I always get tons of error messages.. it's counter productive Apr 17 15:05:30 yes, developing for 2.1 Apr 17 15:05:36 and 1.4.5 Apr 17 15:05:47 and other things which shall remain nameless Apr 17 15:07:01 I have to go to town and get some coffee. Apr 17 15:29:22 Is there any way to return unique results with db8? I have all this data: http://pastebin.com/aGfmXFrT and I am trying to figure out how I can get a unique list of countries. Apr 17 15:30:13 oh, nevermind, I forgot some data I can use Apr 17 15:42:29 do Tasks have notifications if you set a due date? Apr 17 15:44:49 summatusmentis: in the palm app? Apr 17 15:45:27 tasks@hand doesn't show an explicit notification Apr 17 16:31:10 madnificent: yes, the palm app Apr 17 17:12:28 I have a Model that consists of sever functions including a DB8 interface Apr 17 17:12:33 the data is saved in this.data Apr 17 17:12:50 is it possible to define a function for each array-element in this.data? Apr 17 17:12:55 that way I could run Apr 17 17:13:05 App.model.getDataById(id); Apr 17 17:13:26 and execute .groupByDays(); on the returned array Apr 17 17:15:31 I've never fully grasped the class.prototype.method = function() {} thing Apr 17 17:16:14 can I just define it as this.data.groupById = function() {}? Apr 17 17:22:13 summatusmentis: don't know about that Apr 17 17:23:06 it's working! Apr 17 17:23:40 Spanska: the calendar? or yet something else? Apr 17 17:23:49 db8 Apr 17 17:23:55 I have to make this work first Apr 17 17:24:05 then I will work on the calendar part, almost there! Apr 17 17:24:08 LoL Apr 17 17:24:17 I didn't even think I would make this work that quick Apr 17 17:24:19 the original database still works on 2.0, no? Apr 17 17:24:51 I think so, but to use Just Type I have to use db8 Apr 17 17:25:14 I thought it would be nice to include Just Type while having to redo that part to make sure everything works Apr 17 17:25:48 waoh, just type requires db8, that's odd Apr 17 17:27:46 I might be wrong, I read that: https://developer.palm.com/content/api/dev-guide/mojo/just-type.html Apr 17 17:29:08 ah, so it seems Apr 17 17:29:22 well, that'll be something for a release further in the future then, I guess Apr 17 17:29:40 (mostly because db8 != WebOS 1.x) Apr 17 17:30:06 actually, I have all abstractions in place to swap the database backend transparantly, I guess... Apr 17 17:30:21 hmmm Apr 17 17:30:28 office 2011 is interesting... Apr 17 17:31:00 oh? is it worth getting? Apr 17 17:31:09 depends Apr 17 17:31:15 it has the fancy skydrive stuff Apr 17 17:31:30 madnificent: I was using an HTML5 database and within a few hours I'm almost all converted to db8 Apr 17 17:31:43 Have not had office on this computer before save for via a vm, but got access to a technet account again, so :p Apr 17 17:31:57 I can flush my database each time though.. I do not have to convert data Apr 17 17:32:05 Spanska: does db8 have triggers? Apr 17 17:32:15 madnificent: what are triggers? Apr 17 17:32:20 halfhalo: skydrive is the cloud storage thing? Apr 17 17:32:58 certain companies offer Office to their employees for 15 bucks Apr 17 17:34:06 Spanska: for instance: when you update the state_id of a task, also update the branch_id. Or when you update the branch_id of a task, also update the branch_id of its children Apr 17 17:34:12 Spanska: I think I can pay something like $12 at my Uni Apr 17 17:34:19 Spanska: without that, tasks@hand doesn't work, it's far too complicated for that :) Apr 17 17:34:40 summatusmentis: that's nice! we had that too! Apr 17 17:34:46 * madnificent uses latex and emacs org-mode and gets by with that perfectly Apr 17 17:34:54 and I've been using this version since then :D Apr 17 17:34:58 cost: 0, time-gain: a gazilion time-units Apr 17 17:35:41 madnificent: it's the first time I use db8 and depending on what you know databases you could probably figure it if it permits that way quicker than I could ;) Apr 17 17:35:53 summatusmentis: yeah. Apr 17 17:35:55 I meant, what you know about databases Apr 17 17:36:01 I miss live mesh :( Apr 17 17:36:04 Spanska: I'm majoring in databases, so yes, I guess I should... :) Apr 17 17:36:31 Spanska: not that that actually *means* anything, but it implies that I should from a social perspective be acceptably good at this Apr 17 17:37:01 halfhalo: live mesh is different? Apr 17 17:37:16 live mesh was the first incarnation with remote desktop and all that jazz Apr 17 17:37:52 ah, still done the same way Apr 17 17:40:07 Spanska: looks like it would be best to rewrite it from scratch. It'll be better to create this with a correctly OO model, instead of a data-only OO approach which I use now Apr 17 17:40:38 * note: that isn't bad at all, I'm actually hoping to be able to do a full rewrite. Not that I dislike my code, but I want to try a different paradigm Apr 17 17:40:58 madnificent: I had to face that, my app was so bloated.. I shouldn't have followed Palm's code in StyleMatters for collapsible drivers Apr 17 17:41:49 I'll save maybe 60% of code by using a different, more effective approach with the same GUI and "collapsible drivers" too.. crazy Apr 17 17:42:30 if I'd rewrite it now, I'd probably keep ~90% of my code. It's the structure, which would be different Apr 17 17:45:42 I thought I could keep it too until I figured out that services changed so much with webOS 2.x :( Apr 17 17:47:07 I was about to give up that project but decided it would be good challenge to port it to webOS 2.x to finally release it.. and I'm getting excited to complete it was I have another cool idea for webOS 2.x then when webOS 3.x will be released I'll work on 2 new bigger projects :D Apr 17 17:47:16 Spanska: I only use the contacts service and the filepicker right now. Contacts have been changed in 2.x, but I've covered that. Besides that, it's rougly the same as it used to be. Apr 17 17:47:18 for me, at least Apr 17 17:48:57 it would be great if someone would code good memo and task apps that could also sync with MS Outlook Apr 17 17:49:17 Spanska: you're saying: make tasks@hand sync with outlook? Apr 17 17:49:20 I don't know what will happen to my data until then.. I still use it on my Tungsten E2 :/ Apr 17 17:50:10 not necessarily ;) Apr 17 17:50:49 I don't know any app that does this correctly yet, I tried Missing Sync but I'm not impressed at all Apr 17 17:51:15 * madnificent finds it very very hard to sync his app with anything, as it's somewhat more advanced than other offerings Apr 17 17:51:47 syncing with Outlook isn't trivial.. a desktop is required Apr 17 17:51:59 Spanska: there are multiple issues Apr 17 17:52:19 for starters: outlook doesn't understand subprojects correctly IIRC. It also doesn't understand sufficient states and contexts Apr 17 17:52:20 if Microsoft would have a TCP access or something it would make it less easier considering webOS 2.x has Node.js Apr 17 17:52:30 you're right Apr 17 17:52:35 besides that, outlook requires something of Microsoft, which I haven't touched in years Apr 17 17:52:37 it isn't perfect either for sure Apr 17 17:53:02 I'm using it because it gives me a simple way to keep a backup of my data actually Apr 17 17:53:06 well, that's technically not true, but it's not something I use unless I'm forced to do so... so say I've used a windows-based computer 10 times in the past 4 years Apr 17 17:53:27 oh, are you using Mac OS or Linux? Apr 17 17:53:30 Ubuntu? Apr 17 17:54:04 Spanska: I'm affraid I'll have to create my own webservice for that... And I do want to do that, but it's horrible because I'd want to create some big big layers of abstraction first (estimate it more than 6 months before I can start writing the tasks app) Apr 17 17:54:13 Spanska: ubuntu/gentoo/freebsd Apr 17 17:54:43 yeah, I would create some webservice too for myself on the desktop but it would take months :( Apr 17 17:54:50 (I'm one of those that prefers the term Gnu/Linux to stress that it's not that free for the programmer) Apr 17 17:54:57 I'm a bit against having all my data in the cloud Apr 17 17:55:17 How come it isn't free? Apr 17 17:55:20 How do I extend the builtin Array class the Prototype way? Apr 17 17:55:23 I tried it like http://pastie.org/1804383 Apr 17 17:55:55 Spanska: what isn't free? Apr 17 17:56:00 Spanska: ah the code? Apr 17 17:56:56 Spanska: well, I as a programmer _must_ release the source code if I make changes. That makes the source-code free... but I'm not the source-code, I'm a developer. I release my public code under the 2-clause BSD license (or MIT for that matter) which gives freedom to the programmer, instead of to the code itself. Apr 17 18:00:02 oh, can't you keep your code closed if that's what you want as long as you don't use someone else's code that is free? Apr 17 18:01:08 not with the GPL Apr 17 18:03:33 hay all Apr 17 18:03:43 so, the veer launch party? who's goin? :) Apr 17 18:04:17 PatrickC_Pre2: the few 1000km thing, once again :) Apr 17 18:04:24 lol Apr 17 18:04:44 its about 500MI from me (give or take) Apr 17 18:05:18 I wouldn't drive that far either tbh Apr 17 18:05:29 but europeans seem to have a different standard about that Apr 17 18:06:23 I would if I could Apr 17 18:14:51 where is it? in London? Apr 17 18:17:51 Spanska: If I'd have loads of time, I could go to events in London, I guess... Apr 17 18:18:21 that must be really awesome Apr 17 18:18:53 flight tickets are a bit too expensive from here for such a short amount of time, I would have to take vacations at the same time for it to worth it hehe Apr 17 18:23:36 yeah.. flights are really expensive lol Apr 17 18:42:36 ordering items is really complicated in db8 :| Apr 17 18:52:35 Hmm, this pre 2 always fails at 12% when doctoring Apr 17 19:11:08 Hey. Does anyone know where I can find infos an save a file to webOS phone (node.js)? Apr 17 19:11:18 Where is it documented? Apr 17 19:29:01 hay DocLee Apr 17 19:29:12 hey Apr 17 19:29:28 how's it goin? Apr 17 19:29:39 Pretty darn frustratingly Apr 17 19:30:07 how come? Apr 17 19:30:36 Because of that that shall not be named. Apr 17 19:31:03 ok.. lol.. and because of what? Apr 17 19:31:18 Popups Apr 17 19:31:34 I hate popups too Apr 17 19:32:10 I've been over this thing with a fine tooth comb...even cut and pasted the example right into my code. Still, breaks it Apr 17 19:32:44 in radiotime? Apr 17 20:13:43 I wonder how to make Just Type work Apr 17 20:13:53 look at the docs :) Apr 17 20:14:07 I did and it's not obvious at all Apr 17 20:14:12 hmm Apr 17 20:14:18 look at the sample app? Apr 17 20:14:26 I believe the wrong part must have something to do with db8 Apr 17 20:14:34 oh, which sample app? Apr 17 20:14:50 I thought there's a sample app named "Just Type" Apr 17 20:15:07 but I might be wrong (haven't looked at the sample apps in a while) Apr 17 20:15:23 I haven't tried to do Just Type yet.. so I'm not of much help Apr 17 20:15:56 some opensource apps like Spaz have Just Type too Apr 17 20:16:12 brb, gotta go do some stuff outside Apr 17 20:23:32 I don't get how JS treats arrays and objects Apr 17 20:23:37 somehow .length is undefined now Apr 17 20:30:41 howdy folks! Apr 17 20:30:41 phoque: is it an object or array you're working with? Apr 17 20:30:41 ajay: yo Apr 17 20:30:41 ok, fixed it Apr 17 20:30:41 an Object Apr 17 20:30:41 for(i in object) is the way to go... apparently Apr 17 20:30:41 indeed Apr 17 20:30:41 however I've read somewhere on PrototypeJS that one shouldn't use it Apr 17 20:30:42 phoque: I know Prototype has it's own enumerators, but I always just use for(prop in obj) Apr 17 20:39:32 phoque: objects don't have a .length property Apr 17 20:39:37 arrays do Apr 17 20:39:50 yeah, I realized that Apr 17 20:39:52 kinda weird Apr 17 20:40:06 for(i in Obj){ Obj[i]... } Apr 17 20:40:09 it looks like an array Apr 17 20:40:11 but isn't Apr 17 20:40:12 :-D Apr 17 20:42:08 be careful of for (i in Obj) as well - I think it will enumerate through the object's properties AND the object's prototype's properties Apr 17 20:44:15 hey does anyone know how to make voogle the default dialler? Apr 17 20:45:03 yes sir Apr 17 20:45:07 hahaa Apr 17 20:45:14 i was just emailling you :) Apr 17 20:45:24 great! :) Apr 17 20:45:55 can I define my own Widgets? Apr 17 20:46:09 I'd like to have a few canvas elements that listen to changed Model notifications Apr 17 20:46:21 maybe i should stop then.. first: no pressure for making a patch, i can probably figure that out unless you really want to make one (yes i'd be down to post and all.. have a no-quote on reply patch i want to create anyways..) Apr 17 20:48:13 POOPLE3 Apr 17 20:49:03 ajay: I can probably make a patch for you (or even try to get Connor to implement it himself). :) Apr 17 20:49:53 dkirker: I just tweeted him about it a few minutes ago.. yeah that'd be better if he incorporates it! :) Apr 17 20:51:17 would still be a patch tho Apr 17 20:51:31 dkirker: as for the user-agent thing, I remembered that user-agent thread about the need for folks to represent diff user-agents after whatshisname mentioned his desire to try bing or whatever other maps on webOS Apr 17 20:55:29 is it possible to initialize a list with a model like [{ a, b, c}, {a, b,c }, ...] but make it only use the "a"? Apr 17 20:55:37 sort of a template containing #{a} Apr 17 20:55:42 but several lists share that template Apr 17 20:56:26 maybe itemsProperty may help? Apr 17 20:57:27 phoque: Are you asking if a template can use just one item from a list model and ignore the rest..? Apr 17 20:57:38 * Popple3 thinks he's completely misinterpreted the question Apr 17 20:57:43 sort of Apr 17 20:57:52 but instead of doing it in the template do it in the JS Apr 17 20:58:02 because I want to reuse that template Apr 17 20:59:41 phoque: So basically, you want to essentially morph a list of JS objects into another list of objects with a predefined layout so they can all use the same template..? Apr 17 20:59:55 yup Apr 17 21:00:12 if the only solution is to for..in it Apr 17 21:00:18 i'd just create a few more templates Apr 17 21:00:19 :-D Apr 17 21:00:56 phoque: Yeah, I think that's probably you're best option, speed over size in that case methinks Apr 17 21:01:40 i was just looking at a veer. Can't imaine how much of a pain it would be to type on it Apr 17 21:02:09 it's not that hard Apr 17 21:02:18 the keys are raised a lot higher than the Pre/Pre2 Apr 17 21:02:35 phoque: well, if you knew what the property names were in the originating object you could just have newObj.newProp = oldObj.oldProp Apr 17 21:02:42 phoque: In a loop of your array Apr 17 21:03:00 Guest41561: I'd imagine it'd be quite like a Pixi, which is quite nice to type on Apr 17 21:03:20 Looks smaller than a pixi Apr 17 21:03:34 the keyboard is about the same size Apr 17 21:03:41 No headphone input either Apr 17 21:03:52 most of the size gains are in the fact it's a slider Apr 17 21:04:15 Guest41561: The screen is the same size as the pixi's Apr 17 21:04:21 well, 0.03 inches smaller :P Apr 17 21:05:13 Disappointed in webos line up. More of the same Apr 17 21:05:36 Guest41561: What about the rumoured no keyboard device? Apr 17 21:06:02 of course, "rumoured" kinda takes away from it a good bit Apr 17 21:06:07 Different design at least Apr 17 21:07:06 the 910 mAh non-removable battery really puts me off the Veer though Apr 17 21:07:52 Popple3: it looks like you can remove it, but it's not a "normal user" kind of event Apr 17 21:08:23 ajay: So it's not gonna be removable if you were, say, on a bus, and needed to swap out the battery Apr 17 21:08:24 s/it looks like// Apr 17 21:08:57 number of times I've been on a bus and needed to swap: 0 Apr 17 21:09:00 Popple3: It's actually almost exactly the same as the pre, just .. the back is permanently attached, so yeah, you could do it on the go, it's just slightly more dangerous Apr 17 21:09:11 SineOt: what's the number of times you've been on a bus? :)( Apr 17 21:09:13 SineOt: Happens to me quite a bit :P Apr 17 21:09:19 plenty! Apr 17 21:09:42 I don't think I've ever swapped the battery even though I've got three of them now Apr 17 21:10:07 SineOt: haha.. i thought i had you there. i have had my phone die in almost every venue. and bus, where one probably uses it a lot, makes the most sense Apr 17 21:10:16 SineOt: lucky you. it's a daily event for me (at least) Apr 17 21:10:16 I generally have to swap once a day Apr 17 21:10:40 always carry two batteries in my wallet just in case Apr 17 21:10:48 (at least means my phone seems to last 3-4 hrs..) Apr 17 21:10:50 thankfully they're nice and small Apr 17 21:10:53 in your wallet?? Apr 17 21:11:02 i don't think they're that small :) Apr 17 21:11:04 obviously, you're both apparently heavier users than I am :p Apr 17 21:11:28 SineOt: no, just users :) Apr 17 21:11:50 SineOt: I don't even have App Catalog access to download crap to drain my battery :P Apr 17 21:11:59 SineOt: off-topic, what's the word on slydial? been a minute since i've been in here, i realize :) (assume you woulda emailled me if there was an update, but just incase) Apr 17 21:12:01 ajay: They are that small, fit nicely in my wallet Apr 17 21:12:24 ajay: they've been slack assed lazy shits basically Apr 17 21:12:30 can't bother to return phone calls Apr 17 21:12:40 Popple3: I think my wallet is too fat w/o batteries, i can't imagine it with them.. even if they were credit card sized.. well ok then i'm sure i would Apr 17 21:12:55 SineOt: no worries.. just got excited by you saying the CTO called you, I thought we were making progress. eh :) Apr 17 21:13:07 i haven't touched the app beta since i last sent it to you anyways.. Apr 17 21:13:10 yeah, I did too! Apr 17 21:13:16 ... and then yeah Apr 17 21:13:47 the guy I was going to work on it with kind of uh, fucked me over hardcore style so I sort of lost interest in the project :I Apr 17 21:13:47 so, we're pretty sure Veer is only GSM right? Apr 17 21:13:53 ajay: You may be onto something, phones that you just slide a credit card shaped battery into :P Apr 17 21:13:57 at the moment yeah Apr 17 21:13:58 * ajay is SUPER-excited that evernote has voice memos now.. woot! Apr 17 21:14:13 Popple3: quick, let's co-patent it! :) Apr 17 21:14:18 SineOt: d'you think that's likely to change? Apr 17 21:14:35 Yeah, I think it COULD change, but I don't know how likely it is Apr 17 21:14:57 ajay: The effort though.... :P Apr 17 21:14:59 I think Verizon is interested in the Pre3 since it's a world phone and they can market it as such and not put so much out on the line Apr 17 21:15:06 SineOt: oh you had another person to work with? interesting.. Apr 17 21:15:09 I mean, I suppose anything is possible Apr 17 21:15:11 ajay: yeah Apr 17 21:15:18 the words from the verizon ceo some time back make it sound like he's in for webOS Apr 17 21:15:34 and he fucked me over pretty hardcore, like as in to the tune of 2 grand~ Apr 17 21:15:39 ?! Apr 17 21:15:42 SineOT: The Pre3 is a world phone? Apr 17 21:15:45 SineOt: the sprint user in me really hopes it's not VZW Apr 17 21:15:55 ctbeiser: the CDMA version has GSM as well Apr 17 21:15:58 ctbeiser: early on they were claiming GSM & eVDO Rev. A Apr 17 21:16:11 Source? Apr 17 21:16:14 so I thiink that would count as a "world phone' at least as far as Verizon is concerned Apr 17 21:16:14 last I checked though, the pre3 page has nothing about it's connectivity Apr 17 21:16:25 I was really confused about the pre3.. it sounds like it has gsm+cdma in one phone, but is that officially written on palm's site? Apr 17 21:16:32 I was pretty sure there were two different versions. Apr 17 21:16:38 ajay: that's what used to be officially written Apr 17 21:16:39 Maybe it was a misunderstanding, that, unlike the veer (gsm only) they have both cdma and gsm versions? Apr 17 21:17:10 http://www.engadget.com/2011/02/09/the-hp-pre-3/ Apr 17 21:17:18 engadget calls it a world phone Apr 17 21:17:23 and cites the specs I remember seeing Apr 17 21:17:27 damn.. i was just with palm employees last night shoulda asked! eh.. Apr 17 21:18:07 http://www.palm.com/us/products/phones/pre3/index.html however, it seems Palm did not put the network specs on the pre3 page Apr 17 21:18:09 With 8 and 16gb storage options…. Waitaminute… 8GB version? For real? Apr 17 21:18:32 summan: yeah I need to hear word from palm before i know for sure, for now i'll just assume we all misunderstood Apr 17 21:18:39 SineOt: you gonna try to go to to the veer event? Apr 17 21:18:48 ajay: it's like, down the street from me :I Apr 17 21:19:00 damn i'm like, hella psychic and shit Apr 17 21:19:09 http://www.palm.com/us/products/phones/veer/index.html notice the difference between the Veer page, where they do list network specs Apr 17 21:19:11 but the bit on Precentral about needing a ID or ATT/Best Buy badge to get in kind of makes me wonder just who exactly the event is for Apr 17 21:19:24 ajay: try watching the original keynot Apr 17 21:19:28 keynote* Apr 17 21:19:50 See, the Pre3 doesn't actually seem to exist yet. Apr 17 21:20:05 hey does anybody know anything about using cdma workshop, etc, here? Apr 17 21:20:18 ctbeiser: based on what? there have been demo units Apr 17 21:21:40 yeah, I've touched one :p Apr 17 21:21:42 the fact that the pre3 doesn't list network specs isn't so helpful.. ;^) Apr 17 21:22:08 ajay: no, it's just odd Apr 17 21:22:17 summan: I'm not too excited to even skim the whole keynote again :) Apr 17 21:22:30 http://www.webosroundup.com/2011/02/palm-pre-3/ Apr 17 21:22:35 There are your specs. Apr 17 21:22:37 SineOt: sounded like a training event.. you should get trained! :) Apr 17 21:22:40 well, I'm pretty sure they talked about a GSM version and a CDMA+GSM version, soooo Apr 17 21:23:06 ctbeiser: oh yeah, that slide.. yeah i guess that makes it pretty clear.. Apr 17 21:23:07 ajay: I'm gonna see if I can find it Apr 17 21:23:20 well, the "and" is sort of ambiguous Apr 17 21:23:31 summan: ct's link has the important photo.. but "world phone" isn't ambiguous Apr 17 21:23:41 (i think? :) Apr 17 21:24:32 hah, no, you're right Apr 17 21:24:55 that's good.. every phone should have gsm (at the least) Apr 17 21:26:17 I think it's weird it's not listed on the tech specs palm page Apr 17 21:26:36 ajay: I'll ask Adora/chuqui about who exactly the event is for, since Anaheim is like uh... not even 15 minutes from here Apr 17 21:27:08 oh, thats not to far from me... tempting.. Apr 17 21:27:08 SineOt: you should just get a badge and go! :) Apr 17 21:27:20 s/get/have Apr 17 21:27:27 or a job at best buy.. :) Apr 17 21:27:31 s/have/make Apr 17 21:27:37 pft Apr 17 21:29:15 SineOt: oh a business card! that sounds easy... Apr 17 21:29:42 oh, you can do just a business card? :I Apr 17 21:31:08 do any of you pre2 folks use a case for your phone? There don't seem to be many available.. (I was thinking a hard/soft case that goes on the phone) Apr 17 21:31:26 I put it in a BUILT camera case Apr 17 21:31:41 ? Apr 17 21:32:05 oh, got it.. no i meant more like a cover Apr 17 21:32:35 eh, it really only needs covering if it's not in use, so a camera case like that works fine ;P Apr 17 21:34:29 I didn't buy a case, it's a Pre+ though.. and the screen is a big scratched :\ Apr 17 21:34:42 oo this phantom skinz thing looks cool Apr 17 21:34:54 too bad they didn't use Gorilla glass Apr 17 21:35:33 * PatrickC_Pre2 wishes he had Gorilla Glass on his Pre- Apr 17 21:36:04 hopefully they will use that for the Pre3 Apr 17 21:36:26 I believe they are using it for Veer/Pre3/TouchPad Apr 17 21:36:31 palm dude last night said the touchpad will have it, so hope that means for the pre3 too.. Apr 17 21:37:09 what "Palm Dude"? Apr 17 21:37:11 lol Apr 17 21:37:38 at the sj bay area meet Apr 17 21:38:00 I was that in an HP presentation too for the TouchPad Apr 17 21:38:04 I saw Apr 17 21:39:50 is it the treo 650 that the pre shares a battery with? Apr 17 21:40:21 because then we could all get a penguin battery charger! :) http://www.cellularfactory.com/det.jsp?d=37801&c=726437 Apr 17 21:40:40 that is awesome! Apr 17 21:42:37 I thought they used Gorilla Glass on the Pre2? Apr 17 21:42:41 they did Apr 17 21:42:53 ajay: that's hilarious!! lol Apr 17 21:42:54 ajay: the pre shares a battery with the centro Apr 17 21:42:57 hahahaha.. that video is someone super fascinating.. it's universal so i guess it'll work for anything Apr 17 21:43:14 s/someone/somewhat Apr 17 21:43:43 that thing is so big but.. haha.. it is pretty cheap Apr 17 21:47:20 ok the penguin shows up on the centro page too so def good to go.. but i also found a dynamo! http://www.cellularfactory.com/det.jsp?d=45173&c=717209 Apr 17 21:52:33 woa there are so many dynamos on ebay! why didn't anyone tell me this before, my life is changing! :) Apr 17 21:57:59 ok should do taxes soon.. or lunch, same thing right.. Apr 17 21:58:44 * ajay tax the rich, not me! Apr 17 22:28:02 soooo, what does the calendar API look like in webOS 2.x... Apr 17 22:29:24 you can look at it Apr 17 22:31:39 that's what I'll do in a few minutes, after a little code cleanup Apr 17 22:45:23 I ish plam would play with form-factors some more Apr 17 22:45:30 palm* and/or HP Apr 17 22:45:45 the EEE Pad Slider and Transformer look really cool Apr 17 22:47:06 Is there any way to "delay" the pushing of the main scene and do some work in the app while it is still showing the app logo that glows? Apr 17 22:48:00 I _think_, (and don't quote me on this), you should be able to do work in stage-assistant.js before you push your first scene? Apr 17 22:48:54 good idea, however, I use calls that are asynchronous.. does that mean I could do the calls and then have a callback function push the main scene at some point? Apr 17 22:49:46 remind me again what asynchronous means? I get the two confused. You might get responses out of order? Apr 17 22:50:30 I'm not sure what the rules are about what stage-assistant.js does, or how the callbacks work, but in theory that should work right? Apr 17 22:50:46 exactly, I don't know when I will get a response Apr 17 22:51:07 I can give it a try Apr 17 22:51:11 I'd try it Apr 17 22:51:54 it's quick in the emu, but I don't want to have to put a spinner and the delay on the real device before the list appears is a bit annoying Apr 17 22:56:26 it doesn't work, it shows a blank scene Apr 17 22:56:52 huh, weird Apr 17 22:57:07 I'm the wrong person to be helping on this, I don't have that much webOS dev experience Apr 17 22:59:38 it's fine :) Apr 17 22:59:44 you gave me an idea Apr 17 22:59:57 too bad it doesn't work, I'll seach a bit more Apr 17 23:02:33 Spanska: join the function which does the callback? Apr 17 23:02:51 what do you mean? Apr 17 23:17:07 Spanska: look into the aboutToActivate() scene method Apr 17 23:17:52 I read about what it's going, the problem is that I don't understand how I can "pause" the execution flow Apr 17 23:18:00 what it's doing sorry Apr 17 23:19:53 I don't know when the database calls are over and I think the fact it is an asynchronous causes a problem because I am not sure what to do Apr 17 23:30:59 the aboutToActivate() function is sent a callback function as a parameter Apr 17 23:31:41 MyAssistant.prototype.aboutToActivate = function (callback) { ... } Apr 17 23:32:08 you can call that function when you want your scene activated... Apr 17 23:32:46 for instance, do something like: this.callbackFunc = callback; Apr 17 23:33:17 then when your async stuff required when the scene is setup is completed, call this.callbackFunc(); Apr 17 23:33:32 how can I stop the scene from activating itself before I told it to activate? Apr 17 23:33:59 that's exactly what aboutToActivate() does Apr 17 23:34:23 activate is NOT called until you call the callback function that is passed to aboutToActivate() Apr 17 23:35:02 I'll read more on this then, I didn't I could do that Apr 17 23:35:07 didn't know Apr 17 23:36:29 here's an example I use: http://pastebin.com/p0f1ibew Apr 17 23:36:50 on Palm's page it is written: the framework will not wait for the aboutToActivate work to complete, so you have to limit what's done in this method Apr 17 23:37:17 I'll check it out Apr 17 23:37:18 loadData() does some async database stuff, in succession Apr 17 23:37:53 then the last onSuccess calls this.activateCallback(); Apr 17 23:38:45 OR, if you want to do some async stuff in stageAssistant Apr 17 23:39:02 just make sure that you don't pushScene() until the final onSuccess or whatever. Apr 17 23:41:08 this gives an example for reading a Depot in stageAssistant, and not pushing the first scene until the Depot returns: http://www.webos101.com/Depot_for_App_Preferences Apr 17 23:42:09 thank you so much! Apr 17 23:42:35 it works :D Apr 17 23:47:58 Would you mind helping me with another thing I cannot get to work too? Apr 17 23:48:14 how do you send a forward gesture in the emulator? Apr 17 23:51:16 gosh, emulator must be corrupted, I'll have to "doctor" it :\ Apr 17 23:52:37 madnificent: no clue Apr 17 23:58:22 * PatrickC_Pre2 wanders in Apr 17 23:58:32 * NuttyBunny hides Apr 17 23:59:26 * PatrickC_Pre2 looks for nutty bunnys Apr 18 00:00:58 found 'em!! Apr 18 00:01:00 http://www.figis.com/images/products/small/112267_sml.jpg Apr 18 00:03:13 haeffb: google doesn't help me out either Apr 18 00:03:28 'llo PatrickC_Pre2 Apr 18 00:03:39 hay madnificent Apr 18 00:03:48 why doesn't google help you? Apr 18 00:04:40 google's a dick Apr 18 00:05:05 yep :p Apr 18 00:07:47 hrm, the hard-reset script doesn't even work.. Apr 18 00:08:14 PatrickC_Pre2: because it will not tell me how to do a forward gesture in the emulator Apr 18 00:09:38 ask the forums? Apr 18 00:09:51 and Spanska: hard-reset script? Apr 18 00:10:27 PatrickC_Pre2: yes, but then I wouldn't know it now and then it'd cost me a night's worth of sleep Apr 18 00:10:31 I used the hard reset function in the emu but I don't know if it really works.. my app doesn't work correctly but it does on a real device.. that's weird Apr 18 00:10:59 uninstall/reinstall? Apr 18 00:11:13 and madnificent: I have no clue, check emu documentation? Apr 18 00:11:23 Spanska: It's logical for certain functions to work on the device but not on the emulator, they're completely different Apr 18 00:11:42 everything was working 20 minutes ago Apr 18 00:11:49 it just stopped showing my list on the emu Apr 18 00:12:35 ah, as always I'm talking before reading completely ;9 Apr 18 00:13:19 I never read completely :p Apr 18 00:13:27 nuttybunny: like my pic? :D Apr 18 00:13:31 PatrickC_Pre2: I can't find it, I'm searching everywhere I can... it always contains the basic gestures, but not the forward one. Which is called 'previous' gesture in some documentation. Apr 18 00:13:48 PatrickC_Pre2: hehe... cool:) I want some :D Apr 18 00:14:19 lol Apr 18 00:14:27 madnificent: not sure Apr 18 00:15:25 and I can ping the device but not SSH into it.. wow Apr 18 00:16:24 * PatrickC_Pre2 doesn't know how to SSH into the device yet.. only SSH into github Apr 18 00:19:15 damn, this is really annoying me Apr 18 00:19:28 PatrickC_Pre2: really? I think you just have to create your keys on your machine and copy them to the Pre Apr 18 00:19:47 I know that part, but idk what to do after that :p Apr 18 00:19:53 I need to read up on it first Apr 18 00:20:06 but idk what SSHing is all about.. lol Apr 18 00:20:07 oh! that must be why it doesn't work now Apr 18 00:20:17 after that????? just ssh to the device!! :D Apr 18 00:20:27 but how.. lol Apr 18 00:20:38 I'll read the webos-internals wiki page about it Apr 18 00:22:30 you can use putty Apr 18 00:23:24 putty is great, or ssh on your ubuntu installation Apr 18 00:36:13 testing on a real pre works... at least that's a way to test the thing Apr 18 00:41:47 I found the problem! Apr 18 00:42:04 weird symptoms though Apr 18 00:49:18 go you Spanska (I kind-of forgot what you were doing and I'm actually too tired to really help you out) Apr 18 00:49:51 I changed my scene name for a test but didn't change certain paths to file for listitems and such Apr 18 00:49:59 I can't believe it was working fine on a real device Apr 18 00:50:04 it just makes no sense.. Apr 18 00:51:14 maybe after a luna restart it would stop working Apr 18 00:55:33 I restarted the emulator maybe 5 times Apr 18 00:55:48 ... but no the real device ;) Apr 18 00:56:06 good point Apr 18 01:12:42 Space Jam!! Apr 18 01:12:42 Luna caches many files, that's the reason you need to "restart Luna" when patching many files Apr 18 01:13:24 Hm. Never thought about it being called Luna Apr 18 01:13:37 needs more pony mods Apr 18 01:22:42 hrm, not much documentation on the new calendar API... not much examples either on HP's site Apr 18 01:32:03 Spanska: I've partially given up on it, but that's simpler for my app where it's merely a feature Apr 18 01:32:23 madnificent: I finally understood what you meant with that link after reading a lot on this Apr 18 01:32:50 I'll figure it out and help you if you still need some help after I figure it out Apr 18 01:43:36 Extreme Makeover: Home Edition time!! Apr 18 02:02:24 anybody going to the Veer launch party? Apr 18 02:02:35 where is it Apr 18 02:02:44 Los Angeles Apr 18 02:02:48 May 2 Apr 18 02:02:48 booo Apr 18 02:03:21 sugardave: I thought I'd go, if I start walking now, I'll make it right? Apr 18 02:03:31 heh, perhaps Apr 18 02:03:49 (I doubt this will work) Apr 18 02:04:46 sorry, it is Anaheim Apr 18 02:07:50 nice, LA Apr 18 02:08:09 Anaheim, if there is a difference Apr 18 02:09:17 yeah, there's a difference Apr 18 02:09:22 About 35 miles Apr 18 02:09:25 psh Apr 18 02:09:31 that's a trip to the grocery store Apr 18 02:09:33 for me Apr 18 02:10:34 that's halfway across the state for me ;) Apr 18 02:11:04 haha Apr 18 02:12:35 takes me an hour though Apr 18 02:39:06 that's far :\ Apr 18 02:39:58 * PatrickC_Pre2 wanders in Apr 18 02:40:46 http://www.kongregate.com/games/GPStudios/bunny-invasion-2 Apr 18 02:41:17 not yet available on mobile devices :/ Apr 18 02:42:22 booo.. and it's still loading here.. bah Apr 18 02:55:25 $15 in stainless steel bolts.. and they gave me the wrong size washers.. wasnt gonna drive back out there so i just reamed em larger Apr 18 02:55:45 in other news i havent recieved a water bill for this month.. wtf Apr 18 02:56:39 good night Apr 18 02:57:39 heh, I'm almost looking forward to my gas bill this month, should be the time of year it starts dropping fast Apr 18 02:58:12 yah mine dropped but not completely Apr 18 02:58:22 apparently we're expecting 2-4" of snow tomorrrow.. Apr 18 02:58:42 i wish gas was as cheap as electricity Apr 18 02:59:00 just keep telling myself "at least it's not oil" Apr 18 02:59:05 my gas bill was $115, electricity $25 Apr 18 02:59:17 wow that's low Apr 18 02:59:36 of course I have an electric dryer Apr 18 02:59:45 and this place is practically drafty Apr 18 02:59:49 i got one of them programmable thermostats so the heat is barely on when im not here (set at 65) **** ENDING LOGGING AT Mon Apr 18 02:59:57 2011