**** BEGIN LOGGING AT Wed Aug 04 02:59:57 2010 Aug 04 03:00:13 do you know the name of that date format? Aug 04 03:00:13 No, but if you hum a few bars I can fake it Aug 04 03:02:07 nope Aug 04 03:05:11 almost lost likes datetime from mysql Aug 04 03:06:12 lost = looks Aug 04 03:08:11 ah, well, I'll just take the string apart and feed it into the Date object bit by bit. Aug 04 03:10:09 haeffb: i usually do all my time convertions is php and then pass on the reformatted feed Aug 04 03:10:39 getting this from someone else's api Aug 04 03:13:23 yeah i get apis from whatever and reformat them in php then send the clean feed to the mobile device Aug 04 03:13:54 noticed it is the easiest way to work with multiple apis Aug 04 03:16:34 ah. me no have php Aug 04 03:23:00 use php.js strtotime function Aug 04 03:37:36 yeah i use some php.js code Aug 04 03:40:14 base64encode stuff Aug 04 03:57:18 Crazy question, but does anyone think it would be likely that an app developer would log gps requests? Aug 04 03:58:40 I ask because I lost my phone but I had the weathericon app running and I though maybe they could tell me the last gps coordinates this phone reported to recieve the weather Aug 04 03:58:57 I know they're are probably a host of privacy issues but I thought I'd try Aug 04 04:00:09 i think its against the developer tos Aug 04 04:00:33 and i would be really hard for htem to identify your phone from the rest of the phones using their service Aug 04 04:00:48 nuid Aug 04 04:00:53 I got the ip address from my mail server :) Aug 04 04:01:04 but I thought they might not log that info Aug 04 04:01:53 sounds like a good app idea... Aug 04 04:02:04 lol Aug 04 04:02:06 ironically Aug 04 04:02:08 it is an app Aug 04 04:02:10 whereismypre Aug 04 04:02:13 i might make it and call it "where the #$%@ is my phone?!" Aug 04 04:02:14 and I pay for it Aug 04 04:02:23 but I didn't install the app Aug 04 04:02:29 lol Aug 04 04:28:34 somebody /msged me earlier but I can't get to window 13...anybody use irssi? Aug 04 04:29:03 ah I found it Aug 04 05:00:25 'evening Tibfib, halfhalo_, sugardave Aug 04 05:00:47 I wish I knew what device was loggin in as halfhalo_.. I really do Aug 04 05:00:49 dkirker: evening Aug 04 05:00:56 and evng govnah Aug 04 05:01:24 Tibfib: how's Mojo Messenger coming along? Aug 04 05:01:43 good! just sent out another beta... and found another round of bugs :) Aug 04 05:01:58 yay! Aug 04 05:02:01 dkirker: did I promise you a copy? Aug 04 05:02:08 I can't remember who I've promised what anymore Aug 04 05:02:18 Tibfib: Not sure. You asked me to send you my email address. Aug 04 05:04:16 alright, well then if you want it, let me know. I'm just ignoring beta requests at the moment... trying to get stuff done Aug 04 05:05:27 Tibfib: Sure! That'd be awesome. Whenever you get a free chance. Aug 04 05:06:59 lulz Aug 04 05:07:11 I think I still have an old copy of mojo messenger somewhere Aug 04 05:07:37 an awful, terrible version tyvm Aug 04 05:07:42 that I doubt even works Aug 04 05:07:45 yup Aug 04 05:08:54 but wernt they all... Aug 04 05:08:56 :p Aug 04 05:09:38 :P Aug 04 05:10:54 hmmm, maybe if I can get some form of sound working on the Pre I can send out a few pre-alphas for moVox :D Aug 04 05:11:14 dkirker: hah, I'll swap you apps when yo do. how bout that? Aug 04 05:12:03 sure, though it might be a while :/ Aug 04 05:12:13 heh, I'll send you the latest version anyway Aug 04 05:12:27 lol :) Aug 04 05:12:31 lies Aug 04 05:12:34 hello all Aug 04 05:12:42 hi LoneStar99! Aug 04 05:13:08 Tibfib: When I have something that can make calls, I'll send you a copy. Probably set you up with a SIP account, if you remind me. :) Aug 04 05:13:42 oh do you have to have a separate SIP account? I don't know how SIP works Aug 04 05:14:16 It's like an email account, just voice :) (or video, or text, or pictures) Aug 04 05:14:48 generally do you have to pay for one? Aug 04 05:15:27 some can be free, some can be paid Aug 04 05:15:38 it depends on who offers it, really. Aug 04 05:16:19 sometimes they have tiers (like Skype). You can make calls amongst other users for free, but calls to the the phone network costs money. Aug 04 05:17:23 oh okay, I think I get it Aug 04 05:22:01 so... I can answer calls, but not place them. pjsip refuses to place calls because there is no sound sub-system, but it won't refuse to answer them for the same reason, it seems... Aug 04 05:24:38 debugging is fun. Aug 04 05:25:45 yeah, writing the sound code will probably be a pain Aug 04 05:33:00 what does @palm mean in twitter? Aug 04 05:33:07 and #palm Aug 04 05:34:42 @palm refers to the Palm twitter account. Not sure why people use the palm hashtag. I usually do things like @palm #webOS. Aug 04 05:35:01 dkirker: same Aug 04 05:35:24 I prefer the linking of the "palm" to their account. Aug 04 05:35:35 ok thanks will use @palm from now on Aug 04 05:36:03 plus palm could see it and retweet Aug 04 05:36:56 yes, they have to do more effort to see and retweet #palm posts Aug 04 05:37:15 ok cool deleted - and used @palm #webos Aug 04 05:46:05 wow... the phone app active call scene is very very complex Aug 04 05:49:16 dkirker: what app is that? Aug 04 05:50:03 the webOS phone app? Aug 04 05:54:34 your complex Aug 04 05:55:25 dkirker: app name is "active call"? Aug 04 05:55:58 LoneStar99: no, that is the scene in the webOS phone application that I am referring to. Aug 04 05:56:52 dkirker: oh gotcha Aug 04 05:57:10 there are 2000 lines of code for that 1 scene alone... Aug 04 05:57:21 kind of intense, a lot to follow Aug 04 05:57:21 3,716 apps for webOS Aug 04 05:57:36 dkirker: that is nuts Aug 04 05:57:47 2000 lines crazy Aug 04 05:58:47 great, hungry just before bed... :/ Aug 04 05:59:15 have a churches leg here to eat for the munchies Aug 04 06:00:30 well got some scenes with about 780 lines of code Aug 04 06:00:48 thought they where smaller Aug 04 06:00:53 were Aug 04 06:01:01 shorter Aug 04 06:02:20 all of my assistants are 500-1000 lines Aug 04 06:02:34 okay, apart from a few lame scenes Aug 04 06:03:31 yeah, 2000 isn't too unreasonable for this scene. It is supposed to handle GSM and CDMA code. Aug 04 06:06:04 currently have a webview scene that is probably like 50 lines Aug 04 06:08:22 will get rid of the scene this next release Aug 04 06:12:01 goodnight Aug 04 06:12:01 night night, Tibfib Aug 04 06:14:24 morning Aug 04 06:14:29 night Aug 04 06:14:38 morning swisstomcat Aug 04 06:14:51 anyone messed with the camera stuff? Aug 04 06:14:59 not yet Aug 04 06:15:33 same here Aug 04 06:16:18 is there an option like "upload image from" X directory in WebOS? Aug 04 06:16:19 got a new project? Aug 04 06:16:58 there's a file-picker, which lets you select an image (or other files) Aug 04 06:17:14 swisstomcat: http://bobchatter.com/ Aug 04 06:17:25 need to allow users to add an avatar Aug 04 06:18:31 pick a file and then upload it Aug 04 06:19:21 swisstomcat: you mean like a predefined amount of images to choose from? Aug 04 06:19:42 either that or let the user choose from his images Aug 04 06:21:28 Why does my computer not know how my images should look. even if it wasn't there Aug 04 06:21:33 so with the "file-picker" Aug 04 06:23:05 halfhalo: your computer is nutes Aug 04 06:23:08 nuts Aug 04 06:23:22 whats your point Aug 04 06:23:32 swisstomcat: file picker may be the answer Aug 04 06:23:45 yeah Aug 04 06:24:11 halfhalo: no point just picking a picker Aug 04 06:24:30 Can't fault you for that! Aug 04 06:25:24 are the pixi and pre already on at&t networks? Aug 04 06:25:29 brb restart due to macosz retartedness Aug 04 06:25:30 and yes Aug 04 06:25:37 Yes. Aug 04 06:26:44 Does anyone know how to begin making an app? Aug 04 06:28:16 Pinkkizzez: best way is to check out the samples in the SDK and begin tinkering with them Aug 04 06:28:34 halfhalo: that was a quick restart Aug 04 06:28:45 ssd ftw Aug 04 06:29:57 wtfbbq Aug 04 06:30:02 my pic hd is not loading Aug 04 06:30:03 back Aug 04 06:31:33 Hi. I'm new to this chat. And, btw, on the precentral my name is SmoothCriminal (because I love Michael Jackson) :) Aug 04 06:31:43 halfhalo: a solid state disk restarts that quick? Aug 04 06:31:57 Pinkkizzez: lol Aug 04 06:32:42 ? Aug 04 06:32:51 uhh ok Aug 04 06:33:08 faster, but I didnt open adium for a while Aug 04 06:34:10 I'm sick of my pre plus. But I'm not Verizon and don't want a droid X. And I can't get a new phone in over a year :( Aug 04 06:34:16 Pinkkizzez: i like "man in the mirror" Aug 04 06:34:25 *i mean I am on verizon Aug 04 06:35:07 what's wrong with your pre plus? Aug 04 06:35:24 LoneStar99: I am MJ obsessed. luv him. Aug 04 06:35:38 and my pre plus is always freezing. Aug 04 06:35:59 get it replaced?$ Aug 04 06:36:06 when is it freezing? Aug 04 06:36:45 suck...my spinner won't start spinning while Mojo.View.render is going...and I wanted to use it to wait until the render was done....this is a problem Aug 04 06:36:45 Like idk half the time. And I can't get it replaced. I overclocked my it so I don't think I can. Aug 04 06:36:56 actually, it doesn't show at all Aug 04 06:37:07 if a user is added to groups, how does one tell the current shell that to reread the groups? w/o logging out/in Aug 04 06:37:46 Huh? I'm new here idk what you are talkin' 'bout... Aug 04 06:38:17 welcome to my world Aug 04 06:39:13 Lol yeah. I am not very like on precentral cuz I don't being messed with. They think they can just treat a newb like crap. Aug 04 06:39:22 *liked Aug 04 06:39:26 Robi_: I found this for Ubuntu, might work: http://ubuntuforums.org/showthread.php?t=524577 Aug 04 06:39:45 ? uh what ? Aug 04 06:40:34 pinkkizzez: doctor your device to factory defaults .. then see if it still freezes .. if yes, return it Aug 04 06:41:00 oh GOD DAMMIT Aug 04 06:41:12 my hd controller is dead Aug 04 06:41:16 lame Aug 04 06:41:31 sugardave: doesn't work Aug 04 06:41:37 lame Aug 04 06:41:43 still cant chown something as a group Aug 04 06:41:59 it's probably some security thing Aug 04 06:42:44 swisstomcat: I'm gonna sound kinda newbish, but I'm not exactly sure how to get my settings back after doctor. I always planned to use pre back utility, save/restore, and also get my patches and things from preware from the saved list. Am I right? Aug 04 06:43:02 HD is still good though Aug 04 06:43:09 yeah, that should work Aug 04 06:43:19 pops up on the laptop (but lappy is win so no usey) Aug 04 06:43:50 but it might be an idea to try without patches to see if that helps with the freezing Aug 04 06:47:25 have a text field and on tap it does not focus inside the box even thought in stage assistant "focus: true, " is set... any thoughts? Aug 04 06:47:33 Good morning Aug 04 06:47:34 good morning hotdp Aug 04 06:47:48 now I need a new eclosure Aug 04 06:48:04 morning hotdp Aug 04 06:49:01 sugardave: it's the diff between id and id , can't get the current shell to reload so id comes up right Aug 04 06:50:13 you can't just do a login from the shell? Aug 04 06:51:08 newp Aug 04 06:51:15 lame Aug 04 06:51:23 interesting problem ;] Aug 04 06:51:30 the idea is to not log out, log in again Aug 04 06:51:45 but re-init the current shell to reread groups Aug 04 06:53:03 morning hotdp Aug 04 06:53:16 Robi_: what about spawning another terminal as the group? Aug 04 06:53:24 a group member, I mean Aug 04 06:53:30 you cant, cuz id doens't list it Aug 04 06:53:45 erg Aug 04 06:55:06 Robi_: must sleep....good luck :D Aug 04 06:55:16 ditto Aug 04 06:55:22 'night Aug 04 06:56:02 pie Aug 04 06:56:10 night sugardave Aug 04 06:56:19 good night sugardave Aug 04 06:58:02 lates sugardave Aug 04 07:00:26 now, what color radar detector Aug 04 07:01:17 black Aug 04 07:01:25 I meant display Aug 04 07:01:28 red or blue Aug 04 07:01:37 red is 300, blue is 315 Aug 04 07:04:29 red Aug 04 08:59:34 swisstomcat, you there? Aug 04 08:59:47 yeah Aug 04 09:00:24 you now the "thing" like the header that you can have in the buttom Aug 04 09:00:36 many have it to share via sms or something like that Aug 04 09:00:40 what do you call it? Aug 04 09:00:42 hello Aug 04 09:00:48 hi warpdesign Aug 04 09:01:14 command-menu? Aug 04 09:02:25 maybe ? :D Aug 04 09:02:36 yer Aug 04 09:02:39 Command button groups i think Aug 04 09:03:02 hmm Aug 04 09:03:29 wonder if is good usability to use it? instead of std. buttons Aug 04 09:04:16 for buttons that are always there, why not Aug 04 09:04:19 i use them a lot Aug 04 09:05:22 i have a scene, where there is the posibilty to see images and a movie and maybe posibility to share? But it is not always there are pictures or movies? Aug 04 09:06:05 hmm? Aug 04 09:06:43 do you think it is a good idea :) Aug 04 09:09:21 why not Aug 04 09:09:35 i put my share into the app menu Aug 04 09:09:52 but the command-menu gets better visibility, because many people don't know the app menu Aug 04 09:10:02 yer ok Aug 04 09:10:37 i just think it is smart that you can see it all the time. Also when you scroll to the bottom of the screen. Aug 04 09:11:02 yeah Aug 04 09:11:07 Btw. i could not get a tour at Palm :( Aug 04 09:11:10 that's what the command-menu is for Aug 04 09:11:13 no? Aug 04 09:11:17 what did they say? Aug 04 09:11:47 i talked to Chuq Aug 04 09:12:09 "We don’t have tours on the palm campus, and our main engineering building is cloistered and not open to visitors" Aug 04 09:12:42 :( Aug 04 09:13:02 so i guess there is not much to see in San Francisco Aug 04 09:13:10 about Palm, kind of sad Aug 04 09:13:15 no? Aug 04 09:13:17 oh Aug 04 09:13:18 would have been fun Aug 04 09:13:20 yeah Aug 04 09:13:33 i didn't spend much time inside at palm Aug 04 09:13:48 at least i managed to talk to some people Aug 04 09:13:56 yer you lucky :) Aug 04 09:14:45 guess you could ask adora Aug 04 09:14:59 if she wants to sit down with a developer from europe and talk Aug 04 09:15:59 don't you think Chuq would have said it if it was possible? Aug 04 09:17:34 well, you asked for a tour Aug 04 09:17:52 she might just be able to sit down with you and talk .. somewhere in the public space (cafeteria,...) Aug 04 09:20:17 good ideer Aug 04 09:20:23 idea* Aug 04 09:43:47 Might and Magic II for pre, sweet! Aug 04 09:52:23 nice :) Aug 04 10:15:43 anyone could send me the foursquare's .ipk to install on a pixi ? I don't have access to the catalog (gives some "unknown error", dunno why) ? (it's a free ipk of course) Aug 04 10:22:59 you could download and built it yourself Aug 04 10:23:39 http://github.com/foursquare/foursquare-palmpre/tree/master/Foursquare/ Aug 04 10:25:14 well, it's not written on their website ;) Aug 04 10:28:57 that's true Aug 04 10:32:36 hmm.. seems like the application is ready for pixi Aug 04 10:32:44 some elements are rendered off screen Aug 04 10:53:52 @zephree is the developer Aug 04 10:58:46 yay, i can add calendar entries :) Aug 04 11:59:31 me too. I just go to the calendar app and tap +. How are you doing it? Aug 04 12:00:50 a multi-step process to ensure that there's an account and calendar .. and if not ,create them Aug 04 12:01:09 and then add the event to the created calendar Aug 04 12:02:37 bah. my way's easier. Aug 04 12:02:48 not for the user :) Aug 04 12:02:55 oh. yeah. screw them. Aug 04 12:03:16 yeah, we don't need em Aug 04 12:03:41 no, really, I've had several requests to integrate Done with the calendar. I may be looking into it in the near future. Aug 04 12:06:03 you need an account, and then add a calendar to that acccount and then finally add an event to it Aug 04 12:07:32 Hello everybody from Austria! Aug 04 12:07:50 I want to submit a patch to Preware - how to? Aug 04 12:08:28 servus fritzens Aug 04 12:08:35 fritzens1: #webos-internals Aug 04 12:09:00 Dank. Aufwiederlurgen... Aug 04 12:09:21 bitte Aug 04 13:41:04 hello Aug 04 13:41:17 i guess no identify today Aug 04 13:48:27 morning lonestar Aug 04 14:12:33 morning swisstomcat Aug 04 14:12:43 or afternoon to you Aug 04 14:13:06 yeah, after 4pm here Aug 04 14:13:42 nice Aug 04 14:14:01 9.23 central time here in Tejas Aug 04 14:14:15 * Anivrom is trying to figure out list formatters in ares, //wrists Aug 04 14:16:39 what's the problem? Aug 04 14:17:11 ares is the problem. I don't setup my own widgets in ares, thats handled by the framework. So I'm trying to figure out how ares wants me to add formatters Aug 04 14:17:25 Getting close though Aug 04 14:17:36 ares needs more examples and documentation ... Aug 04 14:17:40 rgr Aug 04 14:17:52 you can't just edit attributes? Aug 04 14:17:57 i'm gonna do it a straight-mojo-esque hybrid way Aug 04 14:18:23 I need to hide the parent div of the attribute I am editing Aug 04 14:18:28 would that be simple code? Aug 04 14:19:05 explain more Aug 04 14:19:24 morning Aug 04 14:19:36 morning hattczech Aug 04 14:19:48
#{invCountFormatted} Aug 04 14:19:49
Aug 04 14:19:53 I want that div to be hidden Aug 04 14:20:11 if invCount is 0 Aug 04 14:20:59 swisstomcat: you use ares? Aug 04 14:21:09 yes, if you get formatters to work Aug 04 14:22:56 http://webos.pastebin.com/D08HubG4 this is created when I create an ares specific "onformat" event for my list widget Aug 04 14:23:07 which only fires on widget setup apparently Aug 04 14:23:16 I can't get it to fire any other time Aug 04 14:23:32 style=display:#{invCount2Fomatted} Aug 04 14:23:43 ok Aug 04 14:24:13 and in the formatter for invCountFormatted just update invCount2Formatted? Aug 04 14:24:44 lonestar: not really, used it for one quick project Aug 04 14:25:07 no you can add a formatter for properties that aren't even in your list items Aug 04 14:25:27 so whats with the 2 then? Aug 04 14:25:30 but you have to be able to get formatters working. Aug 04 14:26:14 so, you can't just directly edit your list widgets attributes in Ares? Aug 04 14:26:21 I'm sure I can Aug 04 14:26:25 I just have to figure out how Aug 04 14:26:40 I've got a list widget defined with a textfield widget in each row. does anyone now how I can set focus to the textfield of a specified row? Aug 04 14:26:44 how do you change other attributes? Aug 04 14:26:48 I dont Aug 04 14:27:16 have one textbox http://bobchatter.com/img/ss/bob1003.png and in scene setup() it is set to "focus: true, " why would it not focus? Aug 04 14:27:36 maybe cuss it is a multi-line text field? Aug 04 14:27:45 cohoman: get the DOM element and .mojo.focus() ? Aug 04 14:28:13 cohoman: it seems we have similar issues.... Aug 04 14:28:33 LoneStar99: try setInitialFocusedElement Aug 04 14:28:55 I can't seem to find the DOM element for a specific textField in a list row, since all the textFields were generated by the WebOS when the list was created. Aug 04 14:29:00 which also needs the DOM element Aug 04 14:29:31 I've got the DOM element for the list widget, but how do I drill down to find the element for a textField for a specific row in the list>? Aug 04 14:30:19 ok haeffb_pre: so I've found the syntax for attributes, this.controller.get("listWidget").attributes Aug 04 14:30:20 I've tried using the standalone Ares debugger to drill down on some of the DOM elements, but I can't find what I'm looking for. there must be an easier way... Aug 04 14:30:43 hello anivrom Aug 04 14:30:46 word Aug 04 14:30:51 Anivrom: I mean in the Ares editor not in code Aug 04 14:31:02 oh -_- Aug 04 14:31:12 no there is no field for attributes :P Aug 04 14:31:23 ghey Aug 04 14:31:40 haeffb_pre: where does "setInitialFocusedElement" go? Aug 04 14:31:55 can't I just do attributes.formatters = {formatstuff here?} Aug 04 14:32:42 perhaps...but *usually* attributes can't be changed after setup Aug 04 14:33:00 I see, I'll poke around for a bit Aug 04 14:33:01 although we saw the exception yesterday Aug 04 14:33:07 I have this.controller.setInitialFocusedElement() located in setup() Aug 04 14:33:08 yea Aug 04 14:34:01 Anivrom: could you just do setupWidget for that one element in setup() Aug 04 14:34:16 would be 3 elements. Aug 04 14:34:28 ok 3 Aug 04 14:34:33 and yea I guess I could. stepping out of the box though Aug 04 14:34:43 I'd get uncomfortable Aug 04 14:34:46 for my list focus issue, I'd like to use something like .getElementsByName() but I can't find the proper element that has that method. Aug 04 14:34:47 It'd get hot Aug 04 14:34:51 I might sweat Aug 04 14:35:03 woohoo Aug 04 14:35:25 would " this.controller.get('sLog').setInitialFocusedElement() " be correct? Aug 04 14:35:44 cohoman: use the list widget div? Aug 04 14:35:58 how do you mean? Aug 04 14:36:47 LoneStar99: do something like this: this.controller.setInitialFocusedElement(aaa); where aaa=the widget Aug 04 14:36:53 $.(myList).getElementsByName('myName') Aug 04 14:37:11 or close to that Aug 04 14:37:34 I believe I tried that, and my log file had an error message about not being a method for that object. Aug 04 14:38:07 this.controller.document ? Aug 04 14:38:25 this.controller.get("listname").getElementsByName? Aug 04 14:38:54 cohoman: ok thanks, let me thry that Aug 04 14:42:05 hey roy-pre101 Aug 04 14:42:42 dang swisstomcat, I was gonna say that Aug 04 14:43:43 seems that focus, does not work on multi-line text fields Aug 04 14:44:09 have the exact code for a single line textfield and focus works great Aug 04 14:44:25 haeffb_pre: progress, I can edit the values on the widget setting up through the onformat event. Aug 04 14:44:29 return { Aug 04 14:44:29 invCount: function(inValue, inModel) { Aug 04 14:44:29 if (inValue) {//Hide div here} Aug 04 14:44:29 return inValue; Aug 04 14:44:29 } Aug 04 14:44:30 } Aug 04 14:45:21 So I should be able to setup a #{displayOfDiv} and just change that when onformat is called Aug 04 14:46:45 Anivrom: does that work every time the list model is changed or only on setup() ? Aug 04 14:46:57 only setup I think. Aug 04 14:47:29 formatters work for every modelChanged Aug 04 14:49:00 no, I didn't try this.controller.document Aug 04 14:49:36 I did try this.controller.get("listname").getElementsByName with no succes Aug 04 14:49:58 heh, was just throwin it out there. Aug 04 14:50:05 Better to listen to haeffb_pre before me anywyas Aug 04 14:50:41 btw you substitute listname for teh name of your list widget Aug 04 14:50:57 yes, I know. :-) Aug 04 14:51:01 :P Aug 04 14:51:24 who are we breaking today? Aug 04 14:51:56 i managed to create calendar entries Aug 04 14:52:04 what* Aug 04 14:52:10 answer: everything Aug 04 14:52:16 swisstomcat: woo! Aug 04 14:52:55 next: display a route on a google map Aug 04 14:55:00 anybody know how to get a spinner to display while Mojo.View.render is occuring? I think you can't Aug 04 14:55:30 hmm Aug 04 14:55:43 what are you rendering? Aug 04 14:55:50 sugardave: Mojo.magic I think Aug 04 14:56:09 elements for a horizontal scroller Aug 04 14:56:56 my scrim displays....and if I setTimeout on the "hide scrim" function, I can see my spinner AFTER it renders the elements Aug 04 14:57:05 but if no timeout, only the scrim Aug 04 14:57:43 I might see if I can make the spinner an animated .gif :D Aug 04 14:58:09 hmm Aug 04 14:58:28 have you checked the featured apps app? Aug 04 14:58:36 no.... Aug 04 14:58:41 ok, I think I got it figured out. if I use document.getElementsByName('textField') I can get all the textField widgets displayed in the scene. Since the only textField widgets are in my list widget, I'm good now. Thanks for the suggestions. And, my morning coffee helped too! Aug 04 14:58:44 they display a waiting image while the screenshots are loading Aug 04 14:59:04 cohoman: you just reminded me to make some tea, thanks Aug 04 14:59:08 but that's more related to the imageview-widget, no sure if it's a horiz. scroller Aug 04 14:59:28 go and check it out Aug 04 14:59:34 I will Aug 04 14:59:45 Anivrom: where are you located? Aug 04 14:59:56 EST. canada Aug 04 14:59:59 and there was a forum post regarding it too (show an image while the imageview is loading) Aug 04 15:00:33 just curious. I'm in Seattle, and I'm just getting started this morning. Up late last night, as usual. Aug 04 15:00:34 work is over, time to head home Aug 04 15:00:34 swisstomcat: for the calendar stuff you're doing... Aug 04 15:00:44 are you able to READ calendar entries? :) Aug 04 15:00:59 hattczech: i could .. but only the ones i created Aug 04 15:01:01 (from already populated calendars) Aug 04 15:01:07 that's what i figured Aug 04 15:01:07 okay Aug 04 15:01:12 I get wednesdays off so I'm just workin on this game Aug 04 15:01:44 BBL Aug 04 15:01:47 Anivrom: you in cali? Aug 04 15:01:56 lol canada Aug 04 15:01:57 I wish I had more time to devote to app development. just too busy these days... Aug 04 15:02:10 I make time. Aug 04 15:02:14 Anivrom: right on Aug 04 15:02:34 my wife and son take up a lot of my time. as well as home improvements. Aug 04 15:02:42 cohoman: you just substitute sleep for app development :) Aug 04 15:02:50 My wife takes up alot of space... Aug 04 15:02:52 LOL Aug 04 15:02:53 lol Aug 04 15:02:57 that's what i did for about a month :/ Aug 04 15:02:58 jokes I love my wife Aug 04 15:03:00 that's what I do. I probably only get 5 hours of sleep. Aug 04 15:03:26 less for me. about 2-5 most nights Aug 04 15:03:29 I find that when I'm tired I don't code as well also. Aug 04 15:03:43 cohoman: very true Aug 04 15:03:44 you must yawn a lot during the day... Aug 04 15:03:54 same here 3-4 hours per night Aug 04 15:03:55 no, my eyes burn though Aug 04 15:03:58 another alternative: code at work Aug 04 15:03:58 make that a STRONG tea... Aug 04 15:04:02 :P the cost of success Aug 04 15:04:06 haha Aug 04 15:04:19 some tequila nips here and there Aug 04 15:04:27 (i know that's not always possible, but sometimes it works) Aug 04 15:04:55 I'm waiting for the new SDK that will support a pad-like device. Aug 04 15:05:28 you would think that if HP/Palm was coming out with a pad, then they would give us devs advanced notice. Aug 04 15:05:42 think of the possibilities! Aug 04 15:05:45 cohoman: yeah i agree Aug 04 15:06:02 probably get an SDK in the next few months Aug 04 15:06:05 I'm most anxious to get some of the Web OS 2.0 capabilities, (i.e., the new db database system) Aug 04 15:06:22 db database is quite redundant Aug 04 15:06:24 i am excited for voice api Aug 04 15:06:24 :P Aug 04 15:06:37 it has been a pain trying to come up with data syncing routines, but with db8 (couchdb) it is suppose to be much easier. Aug 04 15:06:52 gonna work on some voice stuff in the next few days, that will be integrated in bobc Aug 04 15:07:20 whoever comes up with a voice dialing app will be a millioniare... Aug 04 15:07:48 that's one feature I really miss using my Pixi. Aug 04 15:08:06 cohoman: voice has tons of opportunities Aug 04 15:09:01 I haven't played around with any voice stuff, but I should look into it. Aug 04 15:09:08 i saw an ad today on Yahoo, a pre palm pixi Aug 04 15:09:28 "blue" palm pixi @at&t Aug 04 15:13:35 sugardave: hows that nimated spinner gif coming along? Aug 04 15:14:53 that will be much later...looking at palm's featured apps, they don't even use a spinner. it's just "LOADING..." Aug 04 15:14:57 I have that, too Aug 04 15:15:02 good enough Aug 04 15:15:17 Cause I could whiop up an animated spinner gif that looks like palms in a short period of time Aug 04 15:15:38 and webos automatically handles the animation part Aug 04 15:17:08 cool, but don't worry about it...to truly fix it would be to write my own horizontal list widget and then I wouldn't have to worry about it, but this app is already over-engineered enough for what it is :D Aug 04 15:17:22 lol Aug 04 15:17:32 "future upgrade" Aug 04 15:17:34 === Aug 04 15:17:37 mo' money Aug 04 15:17:39 :P Aug 04 15:22:28 haeffb_pre: I figured out a slightly less elegant way to avoid formatters Aug 04 15:22:52 don't avoid them, exploit them Aug 04 15:23:20 I dont think it's possible in ares with the current level of documentation. Aug 04 15:23:32 oh, sure it is :D Aug 04 15:23:37 Google tells me I might as well kill myself when I google it Aug 04 15:24:24 http://www.sugardave.com/blogs/sugardave/07-14-2010/getting-more-formatters Aug 04 15:25:21 I know about that method Aug 04 15:25:26 But It doesn't workf or my situation Aug 04 15:25:58 formatters work for all lists/collections Aug 04 15:25:59 sugardave, you REALLY like foo bar Aug 04 15:26:07 barbarbar Aug 04 15:26:14 ;) Aug 04 15:27:20 i like your blog Aug 04 15:27:28 I need my information formatted on a list item basis. that method doesn't seem to do so Aug 04 15:27:31 heh, thanks...pretty lame right now :D Aug 04 15:27:58 Anivrom: sure...you want to reformat some item property on a per-item basis? Aug 04 15:28:27 yea, for each item in the list its gonna be a different set of values Aug 04 15:28:40 like what? Aug 04 15:28:43 but there's no way to pull the current item in that method Aug 04 15:28:58 the formatter works on every item...like a for loop or .each() Aug 04 15:29:05 the formatter(s) Aug 04 15:29:10 I'm kinda doing that now then. Aug 04 15:29:37 this is my work around code Aug 04 15:29:52 var listModel = this.$.shopDecorationsList.getItems(); Aug 04 15:29:52 game.currentSelectedItem.divDisplay = "block"; Aug 04 15:29:52 listModel[currentSelectedIndex] = game.currentSelectedItem; Aug 04 15:29:52 this.controller.get("shopDecorationsList").mojo.noticeUpdatedItems(0, listModel); Aug 04 15:30:32 doing the same thing as formatter Aug 04 15:30:58 If there was a way that I could only update the list item I clicked on, then that would be useful Aug 04 15:31:13 instead of looping through all items applying the formatter function Aug 04 15:31:18 kind of, except you're letting the list render, then grabbing it, then manipulating some items, then resetting the model Aug 04 15:31:25 vs. letting the formatter do the work on render Aug 04 15:31:34 hmmmmmmmmmmmmmmmmmmmmmmmmm Aug 04 15:32:00 sugardave: eureka this morning ;] Aug 04 15:32:17 I guess it would be more efficient to only change the formatterProperties I needed to instead of the whole model import/push Aug 04 15:33:00 Robi-: nice, how did you do it? Aug 04 15:33:09 sugardave: newgrp will update the current session correctly, - will not Aug 04 15:33:15 ah Aug 04 15:33:19 awesome Aug 04 15:33:19 no, sugardave, YOU'RE AWESOME! Aug 04 15:33:25 * sugardave bows. Aug 04 15:33:26 its true Aug 04 15:33:35 * Robi- bows. Aug 04 15:34:47 sugardave: how does it know which model to format? Aug 04 15:35:10 there's only one model for the whole list Aug 04 15:35:24 how does it know which list to format** Aug 04 15:35:42 oh yeah Aug 04 15:35:44 Ares Aug 04 15:35:48 so, in real Mojo Aug 04 15:35:57 each list has its own attribute properties Aug 04 15:36:07 right Aug 04 15:36:08 the formatters object is set in that attributes object Aug 04 15:36:13 right Aug 04 15:36:14 so it's for that list only Aug 04 15:36:27 where would you execute the .format method though Aug 04 15:37:35 you don't...when the list is rendered or re-rendered it's Mojo Magic Aug 04 15:37:50 ohhhhhhhhhhhhhhhhhhhh nvm, I have to specify the model as the first arg in teh method Aug 04 15:38:02 value first, model second Aug 04 15:38:09 Mojo.Model.format(model, formatters, clone) Aug 04 15:38:19 oh Aug 04 15:38:20 hmmm Aug 04 15:38:21 -_- nvm Aug 04 15:38:27 {Object} model Aug 04 15:38:27 is the object containing the properties to be formatted. It is left unmodified. Aug 04 15:38:28 oh that's format() method Aug 04 15:38:29 yeah Aug 04 15:38:45 so still at square one of not knowing Which model to format Aug 04 15:38:57 oh well I'll just stick with my hack for now Aug 04 15:39:56 but you have the list.... Aug 04 15:39:58 interesting, Mojo.Model.encrypt is a built in base64 encrypter. no need for an external js Aug 04 15:40:00 it has the model.... Aug 04 15:40:03 ergo... Aug 04 15:40:34 I don't think giving my list model in that arg will work based on the description of the arg Aug 04 15:40:53 I'll try Aug 04 15:42:24 Anivrom: actually, I think there is a disconnect between how you expect to use the formatters versus how they work :D Aug 04 15:42:30 sugardave: any thoughts why a text field is not being focused? you think cuss it is an overlay layer? example: http://bobchatter.com/img/ss/bob1003.png Aug 04 15:42:33 haha Aug 04 15:42:47 No surprise there. Aug 04 15:44:32 LoneStar99: no clue what might be going on there :D Aug 04 15:44:56 Anivrom: did you look at the webos101 list formatters page? Aug 04 15:45:02 dekan: formatters Aug 04 15:45:02 Error 42: Factoid not in database. Please contact administrator of current universe. Aug 04 15:45:18 dekan: formatters is http://webos101.com/List#List_formatters Aug 04 15:45:19 Okay, sugardave. Aug 04 15:45:57 yes I did Aug 04 15:46:43 okay, so what's the problem? :D Aug 04 15:46:48 sugardave: have both " this.textFieldAtt = { focus: true, } " and "this.controller.setInitialFocusedElement('sendField');" and nothing... Aug 04 15:47:16 There's no problem :) never was on that part, we just misunderstood each other Aug 04 15:47:25 sugardave: you think it can be because the textfield is floating above other layers? Aug 04 15:47:25 oh, I see Aug 04 15:47:41 LoneStar99: possible, but as long as you can "get" at it, focus should work Aug 04 15:51:37 so sugardave, that code in webos101 is nested inside another object 'list' then formatters : { stuff } inside that, how would I go about create the object for the format method. I can't use formatters : {stuff}. would I just do formatters = { stuff }? Aug 04 15:52:25 sugardave it is weird, cuss have the same code in another scene without "position: z-index:" stuff and focus works fine Aug 04 15:53:00 Anivrom: so, 'formatters' is just a property (that happens to be an object) of the list attributes object Aug 04 15:53:10 I get that part Aug 04 15:53:30 at webos101, this.list is just an object that is used to create the attributes and model objects to use for list setup Aug 04 15:53:37 for setupWidget Aug 04 15:53:40 I get that part lol Aug 04 15:53:49 okay, I am misunderstanding the question Aug 04 15:53:52 I seem to be portraying an aura of stupid Aug 04 15:54:44 Mojo.Model.format(listModel, formattersObject //how do I set this up); Aug 04 15:54:56 let me look at the docs Aug 04 15:55:02 let me look first Aug 04 15:55:04 save you the time Aug 04 15:55:08 Then I 'll ask questions Aug 04 15:55:24 oh, okay Aug 04 15:55:33 so if you want to use format by hand... Aug 04 15:55:52 "model" is the object collection or a single object Aug 04 15:56:02 "formatters" is an object like this: Aug 04 15:56:13 I have shopDecorationsListModel as the arg for model Aug 04 15:56:29 {'property1': function(value, model) {...}, 'property2': function....} etc Aug 04 15:56:38 ok Aug 04 15:56:56 and "clone" would be a new object created and formatted from the model Aug 04 15:59:59 Anivrom: okay, so that's your model...then your formatters object would need the properties (and their formatter functions) you're interested in modifying or adding Aug 04 16:00:02 whichi s optional Aug 04 16:00:09 clone is optional Aug 04 16:00:25 sec, pastebin Aug 04 16:00:28 clone is optional, yeah Aug 04 16:01:11 http://webos.pastebin.com/kh8Xuasv Aug 04 16:01:19 there thats my code, gonna run it now and hope for the best Aug 04 16:02:26 Anivrom: hmmm...not sure this is going to do what you want Aug 04 16:02:30 but we'll see Aug 04 16:02:32 :D Aug 04 16:02:37 negative lol. Doesn't update the model Aug 04 16:03:04 morning, chuqui Aug 04 16:03:12 Doesn't throw any errors though either Aug 04 16:03:15 Weird Aug 04 16:03:25 buenos dias chuqui Aug 04 16:03:47 good morning, all. Except in places where it's afternoon. Or evening. Aug 04 16:03:55 ;) Aug 04 16:04:02 or, for that matter, tomorrow already. Aug 04 16:04:17 or yesterday Aug 04 16:04:29 for all you time travellers ;) Aug 04 16:04:36 you sound like you have said morning before and people have replayed with no its evning ect Aug 04 16:04:39 and if you're in newfoundland, well, my sympathies. Aug 04 16:04:48 ROFL Aug 04 16:04:59 you must be canadian to know that joke chuqui Aug 04 16:05:08 poor Newfies Aug 04 16:05:10 heading out, meeting with friend to review website, might get paid!! Aug 04 16:05:19 w00t Aug 04 16:05:25 I've been accused of being canadian. But no, I'm not. Aug 04 16:05:42 ehhhhhhhh? dont make it sound like such a bad thing :P Aug 04 16:05:44 not sure if to charge him the complete $750-800 Aug 04 16:06:00 I have in fact eaten poutine. and lived. Aug 04 16:06:09 And lived a better life I'm sure Aug 04 16:06:18 Poutines are what make men men Aug 04 16:06:41 all that cheesy curd goodness mmmmm Aug 04 16:06:54 nom nom. Aug 04 16:07:01 chuquisnack Aug 04 16:07:10 botsnack Aug 04 16:07:10 * dekan nom nom nom Aug 04 16:09:43 have had irish pudding Aug 04 16:10:00 "Blood pudding" Aug 04 16:10:44 Anivrom: http://webos.pastebin.com/yZbG6GQq Aug 04 16:10:48 simple example Aug 04 16:11:23 sugardave: in ares we dont even setup the attributes but I suppose we could Aug 04 16:11:36 well, you did say you found it Aug 04 16:11:39 in events? Aug 04 16:11:51 Anivrom, why Ares? Aug 04 16:11:52 Dont think that was the same thing Aug 04 16:11:56 formatters are set in attributes Aug 04 16:11:59 'morning all Aug 04 16:12:00 Cause ares r teh greatz0rz Aug 04 16:12:04 dkirker: morning Aug 04 16:12:10 hey dirka Aug 04 16:12:21 hiya sugardave, Anivrom Aug 04 16:12:40 Anivrom, i used Ares for my first two apps. But i have dished it now and life is so much easier :) Aug 04 16:12:52 meh its all relative Aug 04 16:12:52 just fyi Aug 04 16:12:54 hotdp: I keep trying to tell him that Aug 04 16:12:59 but, he's Canadian Aug 04 16:13:02 now we are two ;) Aug 04 16:13:07 ohhh Aug 04 16:13:11 If you can learn to use Ares in its entirety then it does alot of stuff you would much rather not do Aug 04 16:13:25 I know alot about Ares Aug 04 16:13:31 have spend xxx hours on it Aug 04 16:13:42 me too Aug 04 16:13:43 ok laters dudes, need to hit the road Aug 04 16:13:44 and yes it does alot for you Aug 04 16:14:02 but there is also somethings that it does not do. And something that it does bad Aug 04 16:14:16 Have your tried making translations i JSON`? Aug 04 16:14:36 talkin a differentn language now. I'm new to js Aug 04 16:14:40 only been in it about 3 weeks Aug 04 16:14:48 its does not work! Aug 04 16:14:53 oh thats a shame Aug 04 16:14:59 JSON = object notation, it's still javascript :P Aug 04 16:15:04 I got that part Aug 04 16:15:18 JSON makes life awesome Aug 04 16:15:21 Just dont know the translations and such Aug 04 16:15:32 oh, yeah, I'm jingoistic in my app dev Aug 04 16:15:34 the JSON "check" removes l$ because it is not "valid" json Aug 04 16:15:40 I do agree, javascript's object oriented'ness is great Aug 04 16:15:46 its a byg Aug 04 16:15:49 bug Aug 04 16:15:55 and there is many :) Aug 04 16:16:06 But i will not complain anymore.. just FYI Aug 04 16:16:08 They'll eventually fix it, and when they do I'll be better off knowing that much more ares Aug 04 16:16:13 Thanks for the ehads up Aug 04 16:16:15 heads* Aug 04 16:16:32 you're just stubborn, that's all Aug 04 16:16:39 True enough Aug 04 16:16:53 Anivrom, do you know the people who made Ares? Aug 04 16:17:00 erm no.. Aug 04 16:17:01 Or get paid to say this? Aug 04 16:17:25 yes to the last bit Aug 04 16:17:38 I get paid a dollar per ad Aug 04 16:17:49 you must be damn rich Aug 04 16:17:54 you know it Aug 04 16:18:02 brb gonna go swimming Aug 04 16:18:08 ... in my money ppool! Aug 04 16:18:08 good swim Aug 04 16:23:53 whos aying a dollar an ad Aug 04 16:24:13 haha Aug 04 16:24:17 lol! Aug 04 16:24:43 CTLAdvance: everytime Anivrom refuses to use anything but Ares, he gets a dollar Aug 04 16:24:49 w00t Aug 04 16:24:51 from "some people" Aug 04 16:25:38 what a loser, value a quick dollar over complete programming awesomeness.... I am disgusted Aug 04 16:25:41 so sugardave: did you ever implement multiple scrollers? Aug 04 16:25:49 * Anivrom shrugs Aug 04 16:25:57 I got kids to feed Aug 04 16:26:04 lol Aug 04 16:26:12 LOL Aug 04 16:26:30 what kind of father would I be if I didnt do whatever I could to make a quick buck? Aug 04 16:26:38 LOL Aug 04 16:26:44 a bad one! Aug 04 16:26:50 :O Aug 04 16:26:53 I has pepsi and donuts Aug 04 16:27:01 <--- coke and regular chips Aug 04 16:27:16 Anivrom: no, I'm using a single scroller, but next app that needs it I will try out the move off-screen method Aug 04 16:27:17 damn campus is only pepsi Aug 04 16:27:22 coke>pepsi Aug 04 16:27:23 lol Aug 04 16:27:28 I'm about to implement, ill let you know how it goes Aug 04 16:27:37 Gonna do the left = screenWidth trick Aug 04 16:27:43 nice Aug 04 16:29:03 halfhalo_class: i have the opposite problem Aug 04 16:29:13 and opposite beliefs :) Aug 04 16:29:18 die in a fire Aug 04 16:29:23 slay the unbeliever! Aug 04 16:29:33 heh Aug 04 16:29:47 "shun the unbeliever. shunnnnnn ..... shunnnnnnnnn" Aug 04 16:29:57 "awww they stole my freakin kidney" Aug 04 16:30:02 haha Aug 04 16:30:08 i'm...not following Aug 04 16:30:27 lulz Aug 04 16:30:34 charlie!!!!! Aug 04 16:30:42 http://www.youtube.com/watch?v=OGUT0K3yRaM Aug 04 16:30:44 maik Aug 04 16:33:44 you all are wrong. It's Dr. Pepper Aug 04 16:34:00 coke && dr.pepper = awesome Aug 04 16:34:06 Dr. Pepper > all liquids Aug 04 16:35:55 sugardave: isn't there some fancy sugardavian event stoppage trick for the scroller issue though? Aug 04 16:35:56 Anivrom: i'm speechless Aug 04 16:36:02 pure awesome Aug 04 16:36:18 sugardavian...I like that one Aug 04 16:36:25 funnies part was the nonbeliever line(s) though Aug 04 16:36:29 * Anivrom copyrights sugardavian Aug 04 16:36:34 funniest* Aug 04 16:37:00 iirc you can invoke an event on a widget with a method Aug 04 16:37:09 why not do that instead Aug 04 16:37:34 oh, to keep it from scrolling the other one? that might work Aug 04 16:38:00 such as scroller1.tap function, check to see if another tab is active, if so invoke scroller2.tap Aug 04 16:38:15 idk Aug 04 16:38:32 oh wait a second Aug 04 16:38:39 sounds like it wouldnt work too well unelss you can properly send the event data over Aug 04 16:38:48 the scrolls both problem is when you use a single scroller Aug 04 16:38:57 ohhh Aug 04 16:39:08 so if I hide/show the other scrollers I should be fine? Aug 04 16:39:10 but now I can't remember what my problem with 2 scrollers was.... Aug 04 16:39:14 haha Aug 04 16:39:19 Guess i'm about to find out Aug 04 16:39:23 heh Aug 04 16:40:04 in my case, it might have been the same visual problem, since one scroller was under the other....not sure, but if you move one off-screen, it will probably work Aug 04 16:40:14 Hey all! Aug 04 16:40:25 Anivrom! Aug 04 16:40:25 Anivrom is a farming tool Aug 04 16:40:33 haha Aug 04 16:40:35 hahahahhaa Aug 04 16:40:37 dekan: shut up Aug 04 16:40:38 Okay, kesne_pre - be back in a bit! Aug 04 16:40:46 was setup cause chique called me a hoe Aug 04 16:40:49 dekan: come back Aug 04 16:40:50 \o/ Aug 04 16:40:55 and stop listening to kesne Aug 04 16:40:57 chuqui too Aug 04 16:41:10 Anivrom: hows life? Aug 04 16:41:13 great Aug 04 16:41:15 you? Aug 04 16:41:18 maik: I never liked you... Aug 04 16:41:23 oh snap Aug 04 16:41:31 your momma never liked you either Aug 04 16:41:32 Anivrom: I'm leaving disneyland :'( Aug 04 16:41:36 CTLAdvance! Aug 04 16:41:36 wait... Aug 04 16:41:38 aww that sucks Aug 04 16:41:47 give minney one last hug I guess Aug 04 16:41:49 maik: :'( so true... Aug 04 16:41:59 Anivrom: too late now. Aug 04 16:42:03 Yesterday was my last day Aug 04 16:42:10 goes so fast eh Aug 04 16:42:11 Staying in till midnight. Aug 04 16:42:16 Indeed Aug 04 16:42:23 Gotta love it though Aug 04 16:42:36 Most attractive people I've ever seen here. Aug 04 16:42:49 no mirrors, huh? Aug 04 16:43:10 sugardave: good one! Aug 04 16:43:15 ;) Aug 04 16:43:22 lulz Aug 04 16:43:25 But really Aug 04 16:43:32 Srsly guyz Aug 04 16:43:36 Disneyland pissed me off Aug 04 16:43:38 halfhalo_class: hey! Aug 04 16:43:41 razin their prices Aug 04 16:43:45 Why? Aug 04 16:43:45 Oh Aug 04 16:43:50 Yeah Aug 04 16:43:54 if you've ever been to Disney World, D-Land sucks Aug 04 16:44:05 sugardave: been to both Aug 04 16:44:08 I prefer land Aug 04 16:44:12 blah Aug 04 16:44:17 World isn't as disney Aug 04 16:44:22 Animal Kingdom Resort is freaking awesome Aug 04 16:44:26 I don't go for thrill rides. Aug 04 16:44:35 Never been to world Aug 04 16:44:37 or florida Aug 04 16:44:42 I prefer the grand floridian (sp?) Aug 04 16:44:47 FL is the unfortunate part Aug 04 16:44:54 never been to either, never even been on a plane, even though I'm an aviation nut. Aug 04 16:45:00 * Anivrom lives a bland life Aug 04 16:45:05 Anivrom: lolol Aug 04 16:45:09 we drove to DW last year Aug 04 16:45:12 screw flying Aug 04 16:45:22 I don't do that anymore unless it's for my job Aug 04 16:45:27 Hey, I've been to disneyland over 15 times Aug 04 16:45:31 If its within 6 hours of driving, I'll drive. Else, I'll fly Aug 04 16:45:36 sugardave: did you try messing with zIndex? :P Aug 04 16:45:37 TSA has ruined what used to be very enjoyable to me Aug 04 16:45:43 Anivrom: I did Aug 04 16:45:46 darn it! Aug 04 16:45:58 TSA at LAX was not bad at all when I was there last week Aug 04 16:46:09 TSA at Kauai was a bitch though Aug 04 16:46:14 I hate LAX Aug 04 16:46:21 PDX is meh Aug 04 16:46:27 Although at LAX I sorta was in the first class line Aug 04 16:46:31 Burbank FTW Aug 04 16:46:35 I go through O'Hare a lot...they really suck BAD there Aug 04 16:47:07 This reminds me Aug 04 16:47:17 DF/W, TSA is horrible AND they never have enough officers at Customs/Immigration Aug 04 16:47:30 I go to o'hare later today Aug 04 16:47:46 kesne_pre: don't you live in Oregon or near there? Aug 04 16:48:23 holy crap I have class now... Aug 04 16:48:31 Yessir Aug 04 16:48:48 kesne_pre: why flying through O'Hare? that's ridiculous! Aug 04 16:48:54 Live in Tigard. A suburb of Portland Aug 04 16:49:13 Going to chicago for a few days Aug 04 16:49:17 oh Aug 04 16:49:22 not as ridiculous Aug 04 16:49:46 don't forget to take your bullet-proof vest Aug 04 16:49:46 My bro is going to the university of chicago this year. Aug 04 16:50:06 Hehe. Aug 04 16:50:14 We're not going in that part Aug 04 16:50:37 Wircer! Aug 04 16:50:47 i believe it's "wicer" Aug 04 16:50:48 you wish Aug 04 16:50:52 and you are, too :D Aug 04 16:51:19 Oh Aug 04 16:51:20 Snap Aug 04 16:51:33 BURN Aug 04 16:51:37 hah Aug 04 16:51:43 Hey, that reminds me. Aug 04 16:51:56 Anivrom: how old did you say you are? Aug 04 16:52:02 25 Aug 04 16:52:09 hahahahahahahahahaha Aug 04 16:52:16 Right Aug 04 16:52:17 Okay. Aug 04 16:52:23 God, I hate america Aug 04 16:52:32 I can tell that I'm racist. Aug 04 16:52:37 All because of america Aug 04 16:52:55 which ethnic minority do you hate the most? Aug 04 16:53:02 there are pills for that Aug 04 16:53:38 Is torchie here? Aug 04 16:53:49 Probably mexican/black Aug 04 16:53:52 you're a torch! Aug 04 16:53:52 Yes you are! And you're sitting there! Hi, torch! Aug 04 16:54:34 Middle eastern makes me afraid, but they're some of the nicest people I know Aug 04 16:54:35 silly wifi Aug 04 16:56:31 ok so how do I preload data on a scene before it actually pushes the scene, so I dont show the white scene then the info magically pops up Aug 04 16:57:13 Put it in the html file Aug 04 16:57:36 its dynamic stuff. Aug 04 16:58:01 you can't do what you're thinking Aug 04 16:58:06 tibfib does it Aug 04 16:58:14 in mojomessenger Aug 04 16:58:26 his scenes transition perfectly Aug 04 16:58:32 No he doesn't Aug 04 16:58:38 Trust me Aug 04 16:58:43 I've tried Aug 04 16:58:48 you could pre-render via Mojo.View.render and hold the html contents in a var, then push the scene with that var and update the body contents Aug 04 16:59:10 but then you have a whole slew of other gotchas to worry about if that html contains widgets or you want it to contain widgets Aug 04 16:59:27 I asked him on MM but he's not responding thus far Aug 04 16:59:44 mojo messenger looks great Aug 04 16:59:45 you have MM...take a peek :D Aug 04 16:59:52 I looked for the source Aug 04 16:59:56 I couldnt find it on device Aug 04 17:00:19 it is there Aug 04 17:00:38 lies Aug 04 17:00:38 Mm is meh Aug 04 17:00:44 Not very pretty Aug 04 17:00:47 ????? Aug 04 17:00:54 mojo messenger is very nice graphically Aug 04 17:01:06 Anivrom: it will be in /media/cryptofs/apps/usr/palm/applications Aug 04 17:01:11 thanks Aug 04 17:01:29 Not very useful Aug 04 17:02:16 lol. clearly you are entering this conversation with a biased Aug 04 17:02:20 opinion Aug 04 17:02:49 How so? Aug 04 17:03:13 I'm services are better/faster/prettier Aug 04 17:03:50 Er, IM Aug 04 17:04:02 but IM is across many platforms Aug 04 17:04:13 and only 2 are supported Aug 04 17:04:32 so mm gives palm users a standard messaging platform Aug 04 17:04:37 like bbm Aug 04 17:05:22 Which I never used Aug 04 17:05:22 When I had a bb Aug 04 17:05:34 Mm is fun for giggles Aug 04 17:05:38 but I know aloooot of ppl that use bbm Aug 04 17:05:45 just cause you didnt use it doens't mean everyone else doens't Aug 04 17:05:46 I don't. Aug 04 17:06:01 I know more people that use I'm clients Aug 04 17:06:03 well just cause you don't know anyone that uses it doesn't mean no one uses it Aug 04 17:06:04 Im Aug 04 17:06:22 palms support of IM protcols right now is thin, so mm = win. Aug 04 17:06:45 Gtalk Aug 04 17:06:48 Boom Aug 04 17:06:50 Done. Aug 04 17:07:33 <-- doesn't have gtalk and doesn't know anyone in rl that does Aug 04 17:07:38 aka ppl I talk to Aug 04 17:08:00 Everyone I know irl does Aug 04 17:08:03 Almost everyone Aug 04 17:08:08 Everyone else I text Aug 04 17:08:16 Once again, just cause something is true for you, doesn't mean its true for someone else Aug 04 17:08:16 Ever heard of that? Texting? Aug 04 17:08:36 I text over a 1000 times a month, so I do my fair share of texting. Aug 04 17:09:03 wow. In my day we picked up the phone when we wanted to talk to somebody. :P Aug 04 17:10:12 so oldschool Aug 04 17:10:58 hehe Aug 04 17:16:05 hey room Aug 04 17:16:36 hi dex_pre Aug 04 17:16:59 quiet in here, always. Hi dkirker Aug 04 17:17:02 sugardave: I don't seem to have a problem with multiple scrollers and event capturing Aug 04 17:17:32 dex_pre: Nah, it was going earlier. Just got quiet. Aug 04 17:17:45 Oh, okay Aug 04 17:18:07 Hey dex_pre Aug 04 17:18:19 Hi, Kesne_pre Aug 04 17:20:27 I don't know you Aug 04 17:20:46 one app in dev, but holding out for 2.0. Any comments? Aug 04 17:21:08 kesne_pre: Nice to meet you. Aug 04 17:21:15 Comments? Aug 04 17:21:21 2.0? Aug 04 17:21:45 are they relaly gonna jump that far? 1.4.5 to 2.0? Aug 04 17:21:54 ? Aug 04 17:22:01 I would imagine you'll be waiting a while for 2.0 to come out Aug 04 17:23:19 spreadsheet app is on its way. meantime, fix bugs and updates. Aug 04 17:27:57 hello? Aug 04 17:29:55 spreadsheet app?! Aug 04 17:29:59 that sounds cool! Aug 04 17:30:30 Yeah, sorry. I have only one day in a week to work on it. :D Aug 04 17:31:12 this.controller.get("shop[game.currentSelectedItem.type]List") sugardave, is this code compatible with your sugardavian labels trick? Aug 04 17:31:42 or is there another trick I should emplay Aug 04 17:31:45 employ too Aug 04 17:32:02 hey chuqui, just emailed you for rejection request Aug 04 17:32:14 dex_pre: Yeah, I haven't had a ton of time to work on my VoIP client either. It is kinda bugging me. :/ Aug 04 17:32:17 havn't programmed on webos for a while, just got back into it =) Aug 04 17:32:59 dkirker: app finished now. bugs here and there. Aug 04 17:33:16 dex_pre: So it should be in the catalog soon? :) Aug 04 17:33:17 VoIP is cool Aug 04 17:33:50 I have a personal deadline to get it in there :D Aug 04 17:36:02 any kernel dev news, if any? Aug 04 17:36:16 #webos-internals for hardware stuff Aug 04 17:37:00 hardware stuff/internals of phone Aug 04 17:37:55 Anivrom: was that at me? Aug 04 17:37:59 yea Aug 04 17:38:09 Ok, thanks Aug 04 17:38:15 :) Aug 04 17:39:05 is NDA keeping this room quiet, I wonder? Aug 04 17:39:21 we're all hard at work fixing bugs in our apps :P Aug 04 17:39:32 hehehe :P Aug 04 17:43:40 Anivrom: are your multiple scrollers on the screen at the same time? Aug 04 17:43:46 yes Aug 04 17:44:30 okay, here's what I was trying: Aug 04 17:44:32 var listModel = this.$.shop[currentSelectedItem + "s"]List.getItems(); throws an error, Guess im not getting the usage of your dynamic labels trick Aug 04 17:44:43 Imagine a square Aug 04 17:44:49 in that square is the scroller Aug 04 17:44:55 but, you are on tab1 Aug 04 17:45:06 now, go to tab2, same scene, same square, new scroller Aug 04 17:45:18 overtop of scroller1 Aug 04 17:45:46 right, one way worked fine, going back cause BadThings...which I can't remember because I left that workaround in the dust Aug 04 17:45:52 chuqui, are you here? =) Aug 04 17:45:59 Well heres what I have Aug 04 17:46:08 it is probably due to the way I was handling hiding/showing the scroller wrapper Aug 04 17:46:20 and re-layout/more thought would fix it Aug 04 17:46:23 Main div of scene contains 3 scrollers overlayed exactly ontop of each other Aug 04 17:46:33 like in your example Aug 04 17:47:28 cool, I will try it again some day Aug 04 17:47:40 When scene boots up I set zindex to 50 and scroll1 to 9999 Aug 04 17:48:03 on the tab navs I set other scrollers to 50 and current selected scroller to 9999 Aug 04 17:48:21 and do a webkit fade on the outgoing Aug 04 17:48:31 and it works Aug 04 17:48:36 awesome Aug 04 17:48:36 awesome is http://digitalpowers.com Aug 04 17:48:40 haha Aug 04 17:48:46 botsmack Aug 04 17:48:47 OUCH Aug 04 17:50:04 sugardave: can you not use [labels] in .get command? Aug 04 17:50:33 processing... Aug 04 17:51:05 this.controller.get("shop[currentSelectedItem + "s"]List").mojo.noticeUpdatedItems(0, listModel); Aug 04 17:51:27 what is the error? Aug 04 17:51:39 oh Aug 04 17:51:48 there's all kinds of hell naw in there Aug 04 17:52:49 this.controller.get(shop[currentSelectedItem + 's'] + 'List') perhaps? Aug 04 17:52:50 oops Aug 04 17:52:56 yea 1 min Aug 04 17:52:58 nope. chuqui's not here. Aug 04 17:53:05 lol chuqui =D Aug 04 17:53:08 thast not the code I was using Aug 04 17:53:16 i just emailed you for an app rejection request, duno if you've gotten it Aug 04 17:53:30 this.controller.get("shop" + [currentSelectedItem + "s"] + "List").mojo.noticeUpdatedItems(0, listModel); Aug 04 17:54:09 okay, so then you have some widget named shopFoodsList for example Aug 04 17:54:14 right Aug 04 17:54:21 but taht code didnt work Aug 04 17:54:27 which part? Aug 04 17:54:31 assistant refused to load actually Aug 04 17:54:41 break it down Aug 04 17:54:49 var list = this.controller.get(...); Aug 04 17:54:53 mhmm Aug 04 17:55:02 list.mojo.noticeUpdatedItems(0, listModel); Aug 04 17:55:19 and then you can see which one broke Aug 04 17:57:33 var listModel = this.$.shop[game.currentSelectedItem + "s"]List.getItems(); wtf is wrong with that? Aug 04 17:57:41 thats what's breaking it I think Aug 04 17:57:50 jslint asks for a semicolon after the ] Aug 04 17:58:04 ohhhh Aug 04 17:58:09 + "List". Aug 04 17:58:10 maybe a "" Aug 04 17:58:11 yea Aug 04 18:04:07 w/e I'll just do if statements, getting errors even though the same code works elsewhere Aug 04 18:06:32 ryand: thanks for your response Aug 04 18:06:44 I couldn't get to window 13 in my irssi last night :D Aug 04 18:12:20 hah tibfib gave me a method to use that actuallyd oesn't exist.. Aug 04 18:13:39 hey Aug 04 18:13:44 hey Aug 04 18:13:47 hallo codeslaw Aug 04 18:13:51 hai Aug 04 18:14:00 the C++... she hurts me Aug 04 18:14:35 need to get this shiz launched so i can have a chance in the contest Aug 04 18:14:54 is the contest still going on? Aug 04 18:14:58 but seriously... object references vs pointers vs values... passing them around, screwing crap up Aug 04 18:15:09 i assume so, no announcement otherwise Aug 04 18:15:18 either way, i'm anxious to launch another app Aug 04 18:16:01 codeslaw: would like to build a hybid app, but not possible for competition +( Aug 04 18:16:07 =( Aug 04 18:16:22 neither are hybrids Aug 04 18:16:29 ya hybrids... gonna be gimped out of the box Aug 04 18:16:30 =) Aug 04 18:18:47 rehi Aug 04 18:19:32 the pdk is not straight forward at all Aug 04 18:20:00 i have mixed feelings Aug 04 18:20:12 i actually like writing in C++ Aug 04 18:20:24 but... SDL is not what i wish it was Aug 04 18:21:22 i mean, you literally have 1 sample Aug 04 18:21:51 What the heck else do you want?? 2?! Aug 04 18:22:00 they dont have that much time to be babysitting devs nyceane Aug 04 18:22:10 They have more important things to do like, taking naps Aug 04 18:22:20 * Anivrom pokes chuqui Aug 04 18:22:52 naps naps naps snap Aug 04 18:23:02 yah, but if you want a good app out, you better provide development kit with a lot of functionalities Aug 04 18:23:09 ever program for samsung instinct? that thing is a nightmare Aug 04 18:23:10 i love c and the pdk and sdl Aug 04 18:23:13 i love the pdk! Aug 04 18:23:14 i love c++ Aug 04 18:23:22 there is one source file Aug 04 18:23:25 that's it Aug 04 18:23:41 You just 'gotta know' Aug 04 18:23:51 you gotta know. Aug 04 18:23:53 its their way of sifting through the real men : Aug 04 18:23:54 P Aug 04 18:23:57 who doesn't know that Aug 04 18:24:05 I know you know? Aug 04 18:24:15 there is not even a header file here Aug 04 18:24:24 if you dont know, now you know... **gga Aug 04 18:24:25 there's a new sample with sound and other stuff Aug 04 18:24:49 hi swisstomcat Aug 04 18:24:55 swisstomcat, where? Aug 04 18:25:00 http://github.com/palm/pdk-samples/tree/master/tiltodemo/ Aug 04 18:25:04 hi hotdp Aug 04 18:25:13 "This shows drawing with SDL and OpenGL ES 1.1, accelerometer use, and sound playback. It's a much bigger sample than Simple, and the comments are more fun. Thanks to the Palm PDK engineering team for letting me post this." Aug 04 18:25:46 now there is a poitn of downloading lol Aug 04 18:26:56 let me build an hello world app =) Aug 04 18:27:05 bbl Aug 04 18:28:51 Cannot open include file: 'SDL.h': No such file or directory Aug 04 18:30:18 pretty gay, list widgets built in reordering function doesn't read the style for the list items Aug 04 18:30:33 so my items dont have a background or the proper height Aug 04 18:30:46 Anyone know the css for reordering list items Aug 04 18:30:46 ? Aug 04 18:30:56 hey how do i compile when they say SDL.h doesnt exist Aug 04 18:31:32 Anivrom: what? my list items look the same when i use the filter search Aug 04 18:31:40 which kind of reorders them Aug 04 18:32:12 I mean drag and drop reordering :P Aug 04 18:33:00 doh Aug 04 18:33:49 installing freebsd port Aug 04 18:33:59 ew freebsd Aug 04 18:34:28 ah dont know Aug 04 18:34:34 * sugardave hits his first real "can't do this in 1.4.1.1" problem. Aug 04 18:34:36 suck Aug 04 18:34:53 sugardave: Hmmm? Aug 04 18:35:23 nvm =D Aug 04 18:35:45 in 1.4.5, I can scroll all the way to the end of scroller, hit the button, and have it scroll back to index 0 via snapElments. same code does nothing in 1.4.1.1 on my phone Aug 04 18:36:00 sucks Aug 04 18:36:02 NAPPING?!?! Aug 04 18:36:44 Yup Aug 04 18:36:53 yeah, it sucks alright Aug 04 18:36:58 your consumer dollars at work Aug 04 18:37:07 not sure how I'm going to fix it, either Aug 04 18:37:14 or at !work Aug 04 18:38:18 anyone ever heard of callback.refer()"? Aug 04 18:42:06 sugardave: setSnapIndex doesn't work? Aug 04 18:42:14 Tip: Never announce an app is coming to official catalog on Facebook before it hits official catalog Aug 04 18:44:35 rehi Aug 04 18:46:23 man, pdk is some hard shit man lol Aug 04 18:47:11 yeah, c++ is nothing like javascript Aug 04 18:47:31 ryand: I am looking at my code to see how I'm doing it...this is a reminder, kids, to document your code Aug 04 18:47:49 especially if you do a bunch of it tired/not-sober Aug 04 18:47:53 swisstomcat, and i come from a C++ background lol Aug 04 18:48:06 too much openGL, i need one for UI =P Aug 04 18:49:58 lol, my app is so bloated since its my first javascript app And webos app. Aug 04 18:50:12 and its huge Aug 04 18:50:22 indeed. although my app is open source, i'm sure another dev would struggle to pick up my code and run with it Aug 04 18:50:23 run it through minimizer Aug 04 18:50:33 hmm? Aug 04 18:51:12 alright time for a powernap Aug 04 18:51:48 does building a hybrid app count? Aug 04 18:51:53 no Aug 04 18:52:05 pdk only Aug 04 18:52:09 oh man, this is gona take some time lol Aug 04 18:52:19 this is not easy... Aug 04 18:52:44 i m trying to find sourcecode for my old roommate's game Aug 04 18:52:52 I am not sure if its easy to port it over Aug 04 18:53:29 and i dont even see any emulators for it... wow Aug 04 18:57:12 ryand: holy hell, I thought you meant you responded to my thread at the forum, I see now Aug 04 18:57:16 and yeah Aug 04 18:57:17 that is the magic Aug 04 18:57:32 you can't set snapIndex later, it has to be in place when you set the model Aug 04 18:58:00 oil: to keep the super-flick from occuring, set 'snapIndex' in your scroller model Aug 04 18:59:54 hah Aug 04 19:00:00 sugardave: dekan picked up on a haiku earlier Aug 04 19:00:17 nice :D Aug 04 19:00:25 is there anyway to make the gui more responsive on a pixi ? i've tried uberkernel and enabling compcache and it still lages scrolling through pages sometimes even with no apps open Aug 04 19:00:38 *lages = lags Aug 04 19:00:53 sorry, trying to figure out how to pull it up Aug 04 19:01:34 Should I have a back button or expect the user to backgesture? Aug 04 19:01:48 running out of screen realestate Aug 04 19:01:56 THOU SHALL NOT USE BACK BUTTONS FOR SCENE NAVIGATION Aug 04 19:02:13 According to the holy bp Aug 04 19:02:37 new name: Best Practices Act Aug 04 19:03:45 oh hey, code works better when it isn't commented out Aug 04 19:03:47 pro-tip Aug 04 19:03:59 add that to webos101 Aug 04 19:04:00 sugardave: oh well, here's what he had: Imagine a square / in that square is the scroller / but, you are on tab1 Aug 04 19:04:13 maik: HAHAHA Aug 04 19:04:23 Very poetic Aug 04 19:04:24 indeex Aug 04 19:04:25 d Aug 04 19:04:29 heh Aug 04 19:07:54 hey Aug 04 19:08:01 is that the exact method name? Aug 04 19:09:36 let me find it Aug 04 19:10:20 pffft, it's not there. I wonder if someone removed it or if it was never there Aug 04 19:10:26 lol Aug 04 19:10:56 I'm adding it now Aug 04 19:11:01 ok Aug 04 19:12:02 hmm, I can't decide if it's behavior or appearance... I'll go appearance Aug 04 19:15:23 shh...he's back. act natural Aug 04 19:15:39 * Anivrom hides object behind his back Aug 04 19:15:47 * swisstomcat hides the puppies Aug 04 19:15:47 * Anivrom *whistles Aug 04 19:15:56 oh hai chuqui Aug 04 19:16:12 have a nice nappytime? Aug 04 19:17:38 I may be wrong on the technical description of it, but here you go: http://webos101.com/Code_Snippets#Make_Setup_Behave_How_it_Used_To Aug 04 19:18:00 dekan, old setup is http://webos101.com/Code_Snippets#Make_Setup_Behave_How_it_Used_To Aug 04 19:18:01 Okay, Tibfib. Aug 04 19:18:05 hey hey Aug 04 19:18:14 chuqui: howdy Aug 04 19:18:24 (pulls out XRAY vision) Aug 04 19:18:36 EEK (puts XRAY vision away) Aug 04 19:18:46 Tibfib: ooo, nice Aug 04 19:18:52 so Tibfib I dont need to put any code in aboutToActivate? Aug 04 19:19:09 just callback.refer() Aug 04 19:19:16 sweet gonna test Aug 04 19:19:34 now there may be other problems you have, but that does delay showing the scene Aug 04 19:19:34 .defer() Aug 04 19:19:38 hahahaha Aug 04 19:19:41 yes. defer Aug 04 19:19:43 :( Aug 04 19:20:45 Anyone who knows what icons are availble for Command Menu ? Aug 04 19:20:55 chuqui: can you answer one question? will the current touchstone work with future devices? Aug 04 19:21:01 hotdp: check out the framework folder in the sdk Aug 04 19:21:18 C:\Program Files\Palm\SDK\share\refcode\webos-framework\330\images Aug 04 19:21:23 menu-icon-NAME are them Aug 04 19:21:53 tibfib we haven't made any definite statements on that -- but I sure hope so. Aug 04 19:21:56
Aug 04 19:21:56
brackets or no brackets O_O Aug 04 19:22:08 chuqui: me too, you can get touchstones dirt cheap Aug 04 19:22:10 thanks Aug 04 19:22:16 thanks Aug 04 19:22:24 ^@chuqui Aug 04 19:22:30 like here: http://www.verizonwireless.com/b2c/store/accessory?action=refineBundlesByPhone&phoneId=5129 Aug 04 19:22:54 l.m.f.a.o... just got this error message in ares log viewer, note the last 2 characters // Not allowed to load local resource: file:///media/cryptofs/apps/usr/palm/applications/images/icons/shopInventoryList/.png, :0 Aug 04 19:23:08 yeah, i would expect the touchstones to still work, it's a cool feature and only available for palm devices Aug 04 19:23:19 touchstones is a unique feature of the phone. Don't think they will chancel that. Aug 04 19:23:26 But they may release a NEW touchstone is the point Aug 04 19:23:31 lol sry swisstomcat Aug 04 19:23:46 new? double so fast? Aug 04 19:23:51 double so big? Aug 04 19:24:05 integrated touchstones in cars Aug 04 19:24:07 I just hope the new phones are backwards compatible with old touchstones... buying two more now :) Aug 04 19:24:25 hotdp: technologies change/improve Aug 04 19:24:26 license touchstone tech to 3rd party manufactures Aug 04 19:24:43 inductive usb transfer would be sweet Aug 04 19:25:01 oh yeah Aug 04 19:25:09 yer, but bluetooth solves that Aug 04 19:25:10 although I'd rather just have wifi transfer Aug 04 19:25:18 yer Aug 04 19:25:38 yeah, guess so Aug 04 19:26:09 Tibfib: so basically I'm in love with you. That code snippet makes it look killer Aug 04 19:26:32 hmm why is the MSN icon in the folder tibfib? Aug 04 19:27:00 hmm, is there a raised eyebrow emoticon? Aug 04 19:27:06 hotdp: ask palm :P Aug 04 19:27:14 ;) Aug 04 19:27:19 i think they have been asked Aug 04 19:27:23 dun dun dunnnnnnnn Aug 04 19:27:30 and i think the answer was silence Aug 04 19:29:12 I bet you could find MSN references in the messaging app code Aug 04 19:29:33 although it freezes the scene you're currently on while loading the scene you want to push to. Aug 04 19:30:00 how do i center the command menu ? Aug 04 19:30:27 hotdp: items :[{},{label: "bla"},{}] Aug 04 19:30:40 yer i have items Aug 04 19:30:50 they are just placed left bottom Aug 04 19:30:52 hotdp: surround yoru item with blank items Aug 04 19:31:06 :S Aug 04 19:31:13 sounds hacky hacky Aug 04 19:31:16 just {}, Aug 04 19:31:30 it's not... you're supposed to do it that way Aug 04 19:32:10 lol now its right Aug 04 19:32:38 * Tibfib just got 2 more touchstones Aug 04 19:32:48 with free overnight shipping tyvm! Aug 04 19:32:49 now it works Aug 04 19:32:50 doesn't mean it's not hacky hacky Aug 04 19:33:00 where do you use all thoose? Aug 04 19:33:01 1 home Aug 04 19:33:03 1 work Aug 04 19:33:04 ? Aug 04 19:33:12 1 outside? Aug 04 19:33:30 hotdp: good question... I only have 1 charging cord anyway :D Aug 04 19:33:37 gotta get some more Aug 04 19:33:37 heh Aug 04 19:33:39 el...oh...el Aug 04 19:33:39 hehe Aug 04 19:33:54 its a shame USB cannot power it Aug 04 19:34:23 powers mine.. Aug 04 19:34:35 if I pull the battery it keeps running on usb Aug 04 19:35:46 Tibfib: Get them on Amazon. The cords are dirt cheap. :) OEM style! Aug 04 19:35:47 its a shame usb cannot power the touch stone Aug 04 19:35:51 oh Aug 04 19:35:52 lol Aug 04 19:35:59 ;) Aug 04 19:36:13 dkirker: I ordered one a couple days ago.. I think I'll get 2 more :) Aug 04 19:36:50 So far I have a touchstone at my nightstand, one at my desk at home, one at my desk at work, one in the Chevy, and two surplus. :) Aug 04 19:37:14 what is the price? Aug 04 19:37:19 it sounds cheap Aug 04 19:37:26 got mine for 19.90 at radioshack Aug 04 19:37:31 I dont have any touchstones. I use an AC inverter for the struck with a walljack :P Aug 04 19:37:33 when i was in NYC Aug 04 19:38:00 I think I'll have one nightstand, one upstairs, and one.... in my car if it's worth installing Aug 04 19:38:16 it is great for long road trips :) Aug 04 19:38:40 yeah, definitely, I think I may Aug 04 19:40:24 I think i will get one when i am going to usa next week then Aug 04 19:40:34 there are many radioshack's right? Aug 04 19:40:46 yeah Aug 04 19:40:57 they're like McDonalds and Starbucks Aug 04 19:41:03 lol Aug 04 19:41:12 what more do you need Aug 04 19:41:23 mcd , coffee and electronics Aug 04 19:41:26 Santa Rosa has 2 or 3 Radios Shacks, San Luis Obispo I think only has 1, though... Aug 04 19:41:39 I'll take the coffee and electronics Aug 04 19:41:47 <- eats iPhones for breakfast :P Aug 04 19:41:56 In canada radio shack was bought by "the source" Aug 04 19:42:00 i am going to san fransico, LA, las vegas and many more. So i think my chances are good? Aug 04 19:42:06 no radio shacks anymore Aug 04 19:42:19 hotdp: probably, hopefully they are stocked, though Aug 04 19:42:32 hmm because they sell so many? Aug 04 19:42:36 or do they sell ou :s Aug 04 19:42:38 out* Aug 04 19:47:53 Hi, I was wondering if when using a Mojo.Widget.List I could have logic in the itemTemplate. I want to include sub-widgets in my list but only under certain data conditions. The "one list fits all" won't do. Aug 04 19:48:05 lol Aug 04 19:48:17 I just went through the same thing. Aug 04 19:48:42 Are you using ares? Aug 04 19:49:00 phiali: yes, you can Aug 04 19:49:03 (crosses fingers) Aug 04 19:49:05 using formatters Aug 04 19:49:12 http://webos101.com/List Aug 04 19:49:14 oops Aug 04 19:49:19 dekan: formatters Aug 04 19:49:20 formatters is http://webos101.com/List#List_formatters Aug 04 19:49:21 http://webos101.com/List#List_formatters Aug 04 19:49:31 darn it, .1 second Aug 04 19:49:46 phiali: see above Aug 04 19:50:00 and you better pray you're not using ares LOL Aug 04 19:50:05 thanks sugardave and Anivrom, I'll give that a go :) Aug 04 19:50:34 yeah, most/all of what I know doesn't seem to apply in Ares land Aug 04 19:52:07 * Tibfib just bought two more charging cables+wall charger Aug 04 19:53:07 there. now I will have 4 chargers and 3 touchstones... :) Aug 04 19:53:19 * Anivrom covets Aug 04 19:54:01 anyone want a pixi plus touchstone back cover? for free? Aug 04 19:54:24 just pay shipping and handling ;) Aug 04 19:55:07 Can i add items to the command menu later then setup? Aug 04 19:55:18 yes Aug 04 19:55:29 hotdp: modify the model.items and then call a modelchanged Aug 04 19:55:35 snippets? Aug 04 19:55:47 dekan, snippets? Aug 04 19:55:47 Unhand me, defiler! Aug 04 19:55:51 got it Aug 04 19:55:55 snippet? Aug 04 19:56:00 botsmack Aug 04 19:56:00 * dekan dodges your attack and parries with bananas. Aug 04 19:56:05 lol Aug 04 19:56:17 ...sigh Aug 04 19:56:20 Tibfib: what are you looking for? Aug 04 19:56:25 the snippets page Aug 04 19:56:28 dekan: what was that? Aug 04 19:56:28 maik: That was 'botsmack' (#221): dodges your attack and parries with $giveitem. Aug 04 19:56:40 I thought I added it into him Aug 04 19:57:02 botsmack Aug 04 19:57:03 * dekan cowers Aug 04 19:57:09 hmm Aug 04 19:57:16 dekan: who are you? Aug 04 19:57:16 Okay, swisstomcat. Aug 04 19:57:22 dekan, snippets is http://webos101.com/Code_Snippets Aug 04 19:57:23 Okay, Tibfib. Aug 04 19:57:24 rofl Aug 04 19:57:28 dekan, who? Aug 04 19:57:29 dekan: who Aug 04 19:57:29 who are you? Aug 04 19:57:29 who are you? Aug 04 19:57:37 dekan: you Aug 04 19:57:37 this.controller.modelChanged(this.cmdMenuModel); right? Aug 04 19:57:37 Error 42: Factoid not in database. Please contact administrator of current universe. Aug 04 19:57:38 botsnack Aug 04 19:57:38 * dekan nom nom nom Aug 04 19:57:43 ... Aug 04 19:57:48 hotdp: yes Aug 04 19:58:05 halfhalo-srv: we now return you to your regularly scheduled program Aug 04 19:58:35 But... That programming is illegal in 15 states! Aug 04 19:58:37 * sugardave gives dekan a towel. Aug 04 19:58:37 * dekan now contains a towel. Aug 04 19:58:53 sugardave / Anivrom I've had a look at the formatters but (and forgive me if I'm wrong) but they look to modify the data that's returned to the itemTemplate. What I'd like to do in my item template is as follows: Aug 04 19:58:53
Aug 04 19:58:54
Aug 04 19:58:54 <% if #{usage} %> Aug 04 19:58:54 Your usage is up to Aug 04 19:58:55
Aug 04 19:58:55 <% else %> Aug 04 19:58:55 Here is a standard line #{data} Aug 04 19:58:56 <% endif %> Aug 04 19:58:56
Aug 04 19:58:56
Aug 04 19:59:02 (urgh sorry for how that came out) Aug 04 19:59:02 whoa Aug 04 19:59:06 dekan: pastebin Aug 04 19:59:06 Unhand me, defiler! Aug 04 19:59:18 dekan: pastebin is http://webos.pastebin.com/ Aug 04 19:59:18 Okay, sugardave. Aug 04 19:59:29 * Tibfib pokes dekan Aug 04 19:59:30 BUUUUURRRRRPPPP! Aug 04 19:59:38 scoobysnack Aug 04 19:59:39 Scoobydoobeedoo! Aug 04 19:59:41 dekan: excuse you Aug 04 19:59:41 Unhand me, defiler! Aug 04 19:59:42 phiali: it's not <% if conditional like that Aug 04 19:59:57 sugardave: I know, that was an example to show what I kinda wanted to do Aug 04 20:00:04 oic Aug 04 20:00:12 to kind of have logic in there Aug 04 20:00:20 so, something like this might work Aug 04 20:00:23 give me a minute Aug 04 20:00:28 thanks Aug 04 20:03:30 phiali: http://webos.pastebin.com/iFg4WyEq Aug 04 20:03:37 that's a VERY simple example Aug 04 20:03:49 but should give you an idea of what's possible Aug 04 20:03:57 bbl shopping Aug 04 20:04:48 phiali: and THIS one is actual valid HTML ;) Aug 04 20:04:48 http://webos.pastebin.com/6cxf2gN3 Aug 04 20:04:55 oops Aug 04 20:04:59 sugardave: that's interesting indeed. I'm trying to get this layout http://the.0gravity.co.uk/universe/travelcheck/iphone_travelcheck_overview.png where on the iPhone I could create a custom cell and add that to the list. Aug 04 20:05:54 you can do it here, too...the formatter can return a "hash" and you can do #{variable.someproperty} in the template Aug 04 20:06:13 so if you end up returning 'someproperty' full of markup, I think it renders Aug 04 20:06:30 oh yeah, #{-variable.someproperty} Aug 04 20:06:35 yto make it do HTML Aug 04 20:06:55 cool thanks. let me see what I can do in porting this app over :) Aug 04 20:07:01 good luck Aug 04 20:07:17 hehe at times it feels like I need it :P Aug 04 20:07:55 Why does if (emptyString != "") { now always work? Aug 04 20:09:39 *not Aug 04 20:11:46 phiali: I also wrote up this little bit about returning collections from the formatter: bit.ly/civMfX Aug 04 20:12:23 hotdp, when i saw your name it reminded me of this video Aug 04 20:12:34 what video? Aug 04 20:12:40 http://www.youtube.com/watch?v=0ji8Ig2p8wo Aug 04 20:12:51 ... Aug 04 20:14:07 sugardave: thanks again for all the help. I'll see if I can put all your tips to use :) Aug 04 20:14:26 np Aug 04 20:14:52 I always wonder if that is 'be there' or 'bet here' Aug 04 20:14:57 and whenever i thought about that video i just can't stop laughing lol Aug 04 20:16:25 Nyceane: how's the contest? Aug 04 20:17:06 oh my Aug 04 20:17:15 it's funny because she's hot Aug 04 20:18:01 Tibfib, someone was able to pull 400 votes in matter of 3 days Aug 04 20:18:11 so i m back down to #2 short of 100 votes now =( Aug 04 20:18:39 Tibfib, and his app is probably one of the worst submissions, so I dont think he can win any other way... I m just gona hope to win the judges Aug 04 20:19:52 :( Aug 04 20:20:24 I really hate popular votes sometimes, it just means who can hack more ips or who have more connections, he like 2 likes on his facebook =_= Aug 04 20:20:25 lol Aug 04 20:20:47 and he works for AT&T, so I think its very easy for him to access huge amount of ip addresses Aug 04 20:22:53 Nyceane: damn, that is crap Aug 04 20:23:04 is there no judging round after the popular vote? Aug 04 20:28:05 anyone know how i can print the pointer address of an object in C++ Aug 04 20:29:22 i'm assuming it isn't as simple as &obj ? Aug 04 20:29:49 i guess i can just cast it as an int Aug 04 20:31:32 &obj should do it Aug 04 20:31:43 "references are just pointers, but they don't want you to know that" Aug 04 20:32:35 ya, that's what i was trying Aug 04 20:32:52 but printf wants me to cast it before i can spit it out with %d Aug 04 20:32:56 works now anyhow Aug 04 20:33:03 yeah, C++ does that Aug 04 20:33:11 printf("address is %d\n", (int)&obj); Aug 04 20:33:15 (int)&obj Aug 04 20:33:19 yup! Aug 04 20:33:34 having some weird behavior Aug 04 20:33:40 hmm? Aug 04 20:33:45 i create a dynamic array of objects Aug 04 20:34:01 and i pass a reference to each object in that array to another object Aug 04 20:34:16 which acts on them, properly Aug 04 20:34:42 but then, that other object returns an index, which should correspond to an object in that original array Aug 04 20:34:56 night everyone Aug 04 20:35:02 'night swisstomcat Aug 04 20:35:09 but... when grabbing the object from the array at that returned index, it's a different instance Aug 04 20:35:18 night swisstomcat Aug 04 20:35:22 later swiss Aug 04 20:35:30 so there are copies of my object being made, and i dont know where Aug 04 20:37:04 Are you passing around references of the object, or copies? Aug 04 20:37:22 references Aug 04 20:37:34 hmm Aug 04 20:37:40 so its like, Aug 04 20:38:04 arrayOfObj = new Object[num]; Aug 04 20:38:39 obj = arrayOfObj[0]; Aug 04 20:38:51 hey Aug 04 20:38:52 return = class.addObj(&obj); Aug 04 20:39:02 can i use init audio? Aug 04 20:39:06 Mix_OpenAudio( Aug 04 20:39:07 using SDL? Aug 04 20:39:17 arrayOfObj[return] != obj Aug 04 20:39:28 Nyceane: yes Aug 04 20:39:46 cool Aug 04 20:40:20 dkirker: rough example, i know, but that's the gist Aug 04 20:40:32 codeslaw_: what type is arrayOfObj? Aug 04 20:40:43 *Object Aug 04 20:41:24 So it is typed as Object *arrayOfObjs[] = ...blah blah...; Aug 04 20:41:40 yes Aug 04 20:41:44 cool! Aug 04 20:42:30 cool as in, you know what the problem is? Aug 04 20:42:48 cool as in I know what the problem isn't :) Aug 04 20:42:50 something about this is bothering me "return = class.addObj(&obj)" Aug 04 20:43:01 thats not the actual api i'm using Aug 04 20:43:11 here's the gist Aug 04 20:43:21 no, but I am assuming that obj is Object *obj; Aug 04 20:43:28 i create an array of objects, and i pass all those reference to another class, to create its own array Aug 04 20:43:36 so they should both have arrays of the same object Aug 04 20:43:40 but they don't Aug 04 20:44:00 hmmm Aug 04 20:45:26 ok see if you can answer this Aug 04 20:45:32 if i say Aug 04 20:45:45 Object obj2 = arrayOfObj[0]; Aug 04 20:45:59 should &obj2 == &arrayOfObj[0] ? Aug 04 20:46:43 i guess i'll just test that in code Aug 04 20:47:48 the answer is no, it doesnt... Aug 04 20:47:52 digitalpowers Aug 04 20:50:08 codeslaw_: sorry, yeah, I was just about to say, no. Object obj2 = arrayOfObj[0]; obj2 gets arrayOfObj[0] clone. Aug 04 20:50:21 i see... Aug 04 20:50:31 that explains a lot Aug 04 20:50:35 I think you want Object &obj2 = arrayOfObj[0]; Aug 04 20:51:19 trying Aug 04 20:51:32 printf("%p", ptr) Aug 04 20:51:43 egaudet: thank you Aug 04 20:53:41 dkirker: does casting also create a clone? Aug 04 20:54:08 obj = array[0] is doing a memory copy I believe Aug 04 20:54:10 how so? What cast are you looking at doing. It is the assignment that creates a clone. Aug 04 20:54:48 Object *obj2 = &arrayOfObj[0]; Aug 04 20:55:03 just wondering, because &(Object)arrayOfObj[0] gives me a warning about retrieving the temporary address Aug 04 20:55:44 egaudet: what is the difference between *obj2 = &arrayOfObj[0] and &obj2 = arrayOfObj[0] Aug 04 20:55:49 I need to sit in during that class again... Aug 04 20:56:10 dkirker: never had C++ in school, only C Aug 04 20:56:29 I have to brush up on my C++ personally it's been a while Aug 04 20:56:51 1st is a pointer to the value stored at pos 0, second is a reference to the value stored at pos 0 Aug 04 20:58:03 ok, using &obj2 = arrayOfObj[0] Aug 04 20:58:16 gives me correct results Aug 04 20:58:19 trying the other way Aug 04 20:58:42 codeslaw_: I guess that would be the same as pointers except with less options Aug 04 20:58:46 gives me diff values Aug 04 20:59:05 ya... Aug 04 20:59:22 at least i understand now that assignment creates cloned objects Aug 04 20:59:27 which, i would never have guessed Aug 04 20:59:39 i'll get the rest figured out Aug 04 20:59:58 gotta head to the court now, to take care of a speeding take Aug 04 21:00:06 egaudet and dkirker: many thanks Aug 04 21:00:17 codeslaw_: you're welcome! Aug 04 21:02:46 better late than never, but it makes sense that obj = obj2 copies because you're assigning values Aug 04 21:03:18 not referencing specific objects Aug 04 21:03:54 you can say obj = 2, then change the definition of 2, but obj still equals 2 Aug 04 21:04:20 i guess saying it like that it doesn't make much sense, but intuitively, to me, the concept makes sense :) Aug 04 21:08:59 burninating the countryside! Aug 04 21:09:12 lol Aug 04 21:10:05 TROGDOR!!!!! Aug 04 21:10:10 it depends on the language, in some languages all variables are objects and then = really just sets a reference and does not copy the data Aug 04 21:10:22 screen=SDL_SetVideoMode(480,320,32,SDL_SWSURFACE); Aug 04 21:10:32 hey, is it possible to use this instead of screen = SDL_SetVideoMode(320, 480, 32, SDL_OPENGL); Aug 04 21:10:50 it is, provided you dont want to use opengl Aug 04 21:10:51 digitalpowers: welcome to the conversation Aug 04 21:11:19 digitalpowers, opengl doesnt seem to render the screen Aug 04 21:11:45 Nyceane are you using 1.x or 2.x opengl? Aug 04 21:12:09 2.x Aug 04 21:12:18 SDL_SWSURFACE does it perfectly Aug 04 21:12:21 also, this is 2D Aug 04 21:12:29 ahh, cant help you then, i cant wrap my brain around 2.x Aug 04 21:14:40 but one thing i would ask, cause i missed it, and i assume it applies equally to gles 2.0. when you flip your double buffer are you using SDL_Flip() or SDL_GL_SwapBuffers(); Aug 04 21:14:41 ? Aug 04 21:16:15 I dont know Aug 04 21:16:21 I am not familiar with OpenGL Aug 04 21:16:32 this is just some old project I messed with in college Aug 04 21:17:36 well another forewarning then, opengl doesnt translate super easily to opengles it isnt really bad but all the glBegin/glEnd stuff just doesnt work in gles Aug 04 21:24:47 Good afternoon everybody Aug 04 21:31:00 Nyceane: You've probably figured this out by now, but you need to handle rotating your screen in ES when using an SDL_OPENGL surface. Unfortunately changing the sizes in SDL_SetVideoMode doesn't work. Aug 04 21:39:00 Robdor, this is confusing still Aug 04 21:39:40 I am using screen=SDL_SetVideoMode(320,480,32,SDL_SWSURFACE); Aug 04 21:40:11 how do i rotate screen in ES? Aug 04 21:41:21 Tibfib: ping Aug 04 21:41:46 Anivrom: pong Aug 04 21:42:02 needed some gfx stuffs done? Aug 04 21:42:12 sure! Aug 04 21:42:14 Robdor, OPENGL won't compile =( Aug 04 21:43:25 Anivrom: can you make me some buttons? It would be easiest if you took the palm pngs and edit them to look slick and match the rest of mm Aug 04 21:43:39 I use ES 1.1, so I'm not much help with v2. Sorry. :( Aug 04 21:43:47 I need a context Aug 04 21:43:52 If you were using 1.1 I could give you some code. Aug 04 21:44:00 where will they be used etc Aug 04 21:44:19 whenever I need a button :) Aug 04 21:44:24 :O Aug 04 21:44:38 currently, the login/register page, the my account page, and the compose page when you are sending invites after you created the room Aug 04 21:45:15 how big? Aug 04 21:46:18 Nyceane: Are you converting an OpenGL app to OpenGL ES? Aug 04 21:47:15 yah Aug 04 21:48:18 Are you using any special features of ES 2.0? 1.1 would be easier to port to if you aren't dealing with custom shaders. Aug 04 21:48:55 Anivrom: just check out the palm pngs, that'll do. so they can expand when I need them to Aug 04 21:51:08 Anivrom: If there was an ok style, cancel, and a negative (red) style that would be perfect Aug 04 21:51:33 well, you're going to set it up in code so they resize properly? Aug 04 21:52:22 Anivrom: I'd make it even easier and just replace the palm pngs so the resizing was done for me Aug 04 21:52:48 ok so make them that small square like in the images folder. and have 3 in one image? Aug 04 21:53:51 yeah, just take palm-button-medium.png and edit it Aug 04 21:54:19 Robdor, I am not Aug 04 21:54:36 Robdor, I havn't touched openGL for probably over 7 years Aug 04 21:55:22 1.1 is much easier to use than 2.0 in my opinion. Aug 04 21:55:28 ES is a mess in general. Aug 04 21:58:40 what would be a good icon to symbolize filtering? Aug 04 21:59:03 magnifying glass? Aug 04 21:59:24 a butterfly net XD Aug 04 21:59:31 haha Aug 04 21:59:59 oh Anivrom, I also need a better icon for the my account page Aug 04 22:00:12 np Aug 04 22:00:21 great, that'd be awesome Aug 04 22:04:32 why are there 3? Aug 04 22:04:44 @ different opacities Aug 04 22:05:11 normal, selected, and disabled Aug 04 22:06:43 colour of cancel would be what colour tibfib? I have normal as dark blue Aug 04 22:07:03 I thought cancel would be red. Aug 04 22:07:11 light blue? Aug 04 22:07:17 or light grey Aug 04 22:07:30 probably light grey like the palm secondary ones Aug 04 22:08:21 try these out. no promises Aug 04 22:12:11 Anivrom: I meant three separate images, then 3 views for each button, normal, selected, and disabled. :) Aug 04 22:12:56 so 1 button style, just broken up into 3 images Aug 04 22:13:02 also another question Aug 04 22:13:10 Anivrom: yeah Aug 04 22:13:13 Should have specified :P Aug 04 22:13:19 I tried :P Aug 04 22:13:24 i am doing fine with debug, but all the SDL problems come out when I am trying to build for release Aug 04 22:13:27 negative Aug 04 22:13:31 any ideas? Aug 04 22:13:57 reboot...brb Aug 04 22:19:16 i give up =P Aug 04 22:27:54 Anivrom: be back later Aug 04 22:28:00 np Aug 04 22:40:28 Anivrom: have formatters figured out yet? Aug 04 22:42:06 nope. and I dont know how its possible without setting up the widget from scratch in ares Aug 04 22:42:23 I tried another method Mojo.Model.format today, which should have worked, but nothing got updated Aug 04 22:45:46 let me know if they are too dark Aug 04 22:46:43 I'll check test em out, thanks Aug 04 22:46:56 heh Aug 04 22:47:38 tibfib: its not anything that doesn't look familiar Aug 04 22:47:45 but you said keep with the style of the app :P Aug 04 22:48:30 * Anivrom wonders why his div is ignoring background-repeat: no-repeat Aug 04 22:50:02 Anivrom: did you set it in html or the css file? Aug 04 22:50:12 css Aug 04 22:51:48 does it make a difference? Aug 04 22:52:26 I just couldn't get my background image to work when I set it with style in html... but when I put the exact same thing into a css class it worked perfectly Aug 04 22:52:51 oh cause I have background-image tag in the html Aug 04 22:52:57 but the background-norepeat in css Aug 04 22:53:08 try all in css? Aug 04 22:53:12 I update the div bg dynamically with a #{} Aug 04 22:53:33 ah, I see Aug 04 22:53:59 how are you setting it Aug 04 22:54:24 setting what? Aug 04 22:54:26 the image that is Aug 04 22:54:37 with background: url()? or background-image? Aug 04 22:54:46 background: url Aug 04 22:54:56 guess it makes a diff? Aug 04 22:54:57 doesnt that blow the others away? Aug 04 22:55:02 no clue Aug 04 22:55:05 I suck at html Aug 04 22:55:11 well, this is css thing, not html xD Aug 04 22:55:14 oh, yeah. that's probably your problem Aug 04 22:55:16 try background-image: url() Aug 04 22:55:18 I suck at css then Aug 04 22:55:41 i ran into that once with setting background-posistion then background Aug 04 22:55:56 i had to do -position then -image Aug 04 22:56:33 oilsworkn: did you see how to fix the super-flick on a snap-elements scroller? Aug 04 22:56:50 dekan: snippets Aug 04 22:56:50 snippets is http://webos101.com/Code_Snippets Aug 04 22:56:59 something about snapindex Aug 04 22:57:13 oil++; Aug 04 22:57:16 works Aug 04 22:57:20 yeah, have it defined in the attributes when you setupWidget Aug 04 22:57:57 :) Aug 04 22:58:40 sugardave: http://developer.palm.com/index.php?option=com_content&view=article&id=1929 Aug 04 22:58:46 its not there, stupid secret options xD Aug 04 22:59:19 so you just set it to 0 or something? Aug 04 22:59:20 hah Aug 04 22:59:22 you are correct Aug 04 22:59:32 style=width: #{width} background-image:url(#{backgroundImage1}) in my item html div tag, do I need ;'s? Aug 04 22:59:45 ; Aug 04 22:59:52 wtf Aug 04 22:59:54 inbetween width? Aug 04 22:59:57 thats all bad Aug 04 23:00:00 no quotes? Aug 04 23:00:01 oilsworkn: it was in dion's horizontal scroller github example Aug 04 23:00:02 it works.. Aug 04 23:00:08 how does it know its all in the style property? Aug 04 23:00:11 no clue Aug 04 23:00:24 Ares = win Aug 04 23:00:29 style="foo: bar; foo2: bar2;" Aug 04 23:00:30 style="width: #{width}; background-image:url(#{backgroundImage1})" Aug 04 23:00:34 assuming everything else is good Aug 04 23:00:37 is propper syntax Aug 04 23:00:41 mhmmmmm Aug 04 23:05:38 dkirker: omg are you on GOPUSA's email list, too? Aug 04 23:06:42 sugardave: No. Their actual snail-mail list. I have gotten two "We hate Liard and so should YOU" handouts in the last two days. Addressed specifically to me... Aug 04 23:07:33 wow Aug 04 23:07:59 I've been getting email from them for months....been saving them off as 'blog fodder' Aug 04 23:08:05 one day, I will have a field day Aug 04 23:08:13 I don't mind being on their list so much as I ***HATE*** the "bash the other candidate" campaign that they have been running. Aug 04 23:08:42 yeah, that's the gist of most of these emails, with some "hey buy stuff from this rich guy and be rich, too!" thrown in for good measure Aug 04 23:08:49 I want to know about their candidate, not the other... Aug 04 23:09:54 So, all I know about the candidates this election is that Blakeslee thinks Liard is a liar, etc. etc. And I haven't really gotten much from the Democrats. Aug 04 23:10:19 Aug 04 23:10:23 * dkirker sighs Aug 04 23:11:02 yes, the normal stuff Aug 04 23:14:37 * Anivrom is eating watermelong Aug 04 23:15:00 its a genetic sibling of watermelon Aug 04 23:16:45 lol Aug 04 23:17:33 It helps in the growth of certain bodily extremities Aug 04 23:17:50 comes from asia Aug 04 23:18:02 You know what they say, necessity is the mother of all invention Aug 04 23:18:06 loool Aug 04 23:18:57 heh Aug 04 23:20:45 ugh, I get to look forward to sitting in front of the computer some more when I go home... Aug 04 23:22:35 if its programming then you would be saying !ugh Aug 04 23:43:03 * lemketron is going to owe Anivrom a fortune for all the Ares mentions Aug 04 23:43:11 hehe Aug 04 23:43:19 thanks a million lemketron Aug 04 23:43:22 literraly Aug 04 23:43:24 lemketron is it really not possible to set formatters attribute in Ares? Aug 04 23:44:46 whoa. my laptop screen is randomly blacking out Aug 04 23:45:18 its a sign Aug 04 23:46:12 of what? Aug 04 23:46:18 whoa. Aug 04 23:46:23 impending doooom Aug 04 23:46:24 haeffb_ do you have a specific example? Aug 04 23:46:31 I do Aug 04 23:46:32 lol Aug 04 23:46:42 But formatters in general, how do you access them? Aug 04 23:46:44 list widgets have a formatters attribute Aug 04 23:47:07 but Ares doesn't allow you to set that attribute...? Aug 04 23:47:58 Anivrom: do you know the variable being used inside Ares setupWhatever for the list widgets attributes? Maybe you could add a property...? Aug 04 23:47:59 No, but if you hum a few bars I can fake it Aug 04 23:48:14 ares doesn't use setupWidget Aug 04 23:48:22 dekan: fu is thank you sir may I have another Aug 04 23:48:22 Okay, haeffb_. Aug 04 23:48:27 it uses setWidgetModel which only has 2 args, name of teh widget and the model name Aug 04 23:48:27 dekan: fu Aug 04 23:48:28 fu is thank you sir may I have another Aug 04 23:48:31 model object Aug 04 23:48:32 * Aug 04 23:48:53 doesn't ares do somekind of auto scene setup? Aug 04 23:49:01 Yea Aug 04 23:49:04 actually, "fu" is the name of the guy who works on ares. ;-) Aug 04 23:49:26 dekan: forget fu Aug 04 23:49:26 Unhand me, defiler! Aug 04 23:49:34 whatever Aug 04 23:49:39 lol Aug 04 23:49:47 Ares.setupSceneAssistant(this); Aug 04 23:49:51 mhmm Aug 04 23:50:02 somewhere in there it's using an attributes object for the widget. Aug 04 23:50:13 because I know your widget has attributes. Aug 04 23:50:24 Yea I do too Aug 04 23:50:33 if you could access that object in setup() before Ares.setupSceneAssistant(this); Aug 04 23:50:34 I can see them in the DOM of my widget. Aug 04 23:50:45 you can't set them up in the ares properties, but you can always use Mojo code to set them in your source. Aug 04 23:52:00 lemketron: do you have a specific example Aug 04 23:52:02 :) Aug 04 23:52:04 :P Aug 04 23:52:26 is 1lb of bacon to 1/2lb pasta the correct ratio? Aug 04 23:52:33 have you tried setting the list attributes.formatters property at runtime? Aug 04 23:52:37 WHAT? Is there something you can't use Ares to do, Anivrom? Aug 04 23:52:48 ha...ha.. Aug 04 23:53:03 how do you access the list attributes at runtime (haeffb hasn't really ever used Ares) Aug 04 23:53:14 I can do it , just havent figured it out yet :P Aug 04 23:54:22 this.controller.get('yourList').attributes.formatters ? Aug 04 23:54:37 I'm not 100% sure you can set formatters after the list is instantiated though Aug 04 23:55:04 no, likely not. Aug 04 23:55:06 normally I'd say that's a "no" Aug 04 23:55:35 ok, so the request is "let us specify those in ares since we can't manually set them from javascript" ? Aug 04 23:56:00 or set them from javascript before the widget is instantiated. Aug 04 23:56:39 Yea Aug 04 23:56:42 there really should be a way to set any supported widget attribute in Ares... Aug 04 23:57:02 lemketron: do you work for palm? Aug 04 23:57:12 no Aug 04 23:57:15 he works for HP Aug 04 23:57:17 now :P Aug 04 23:57:21 Hello guys Aug 04 23:57:22 I see I see Aug 04 23:58:34 Well, Palm is "a subsidiary of Hewlett-Packard Company". So I technically still work for Palm, which is now part of HP. Aug 04 23:58:46 ah, distinctions :D Aug 04 23:59:07 Mr. Fu is looking into this formatters attribute for you. :-) Aug 04 23:59:13 sweeeeet Aug 04 23:59:33 Have you used formatters before lemketron? Aug 04 23:59:47 If we could add a field, where you could specify the name of your formatters hash, then you would set up that hash in code at runtime such that it exists before the list is instantiated (and setupWidget called) would that work for you? Aug 04 23:59:52 No, I haven't. Aug 05 00:00:00 That would be amazing Aug 05 00:00:23 If it was like the item html template style where you click the icon and it pops up with a code window, that would work quite nice Aug 05 00:00:31 And would be consistant with how ares does things Aug 05 00:00:41 yes Aug 05 00:01:00 Since it would be automagically setup by ares along with the widget Aug 05 00:02:36 lemketron: I guess you dont know what the onfocus event is for in a list widget in ares? I can only get it to be called once on widget initialization and then nothing I do/change calls it again Aug 05 00:03:10 but its clearly used as some form of formatter, from reading the commented code it automatically fills into the event function Aug 05 00:09:10 Anivrom: It's already there... Check out the Events tab and click on the "onFormat" field to make your own formatter callback. Aug 05 00:10:06 I know, but like I said, I can't seem to get it to work Aug 05 00:10:46 not onfocus... onformat. Aug 05 00:10:51 thats what I meant Aug 05 00:11:47 what does your onformat function look like? Can you pastebin it? Aug 05 00:12:11 plus that doesn't suit my needs since I need my formatter to format other divs inside the function Aug 05 00:12:25 It's long erased now lemketron. I use a different, more bulky method Aug 05 00:12:54 huh. ok, sorry about that. but it should work and with the ares debugger you should be able to set a breakpoint there to see what's happening when you try it, should the urge return. Aug 05 00:13:06 I did breakpoint it Aug 05 00:13:30 and it never hit it? Aug 05 00:13:44 only on initialization Aug 05 00:13:55 And it didnt do what I asked it to Aug 05 00:14:09 wanted the text of a div updating whcih didnt happen Aug 05 00:14:11 right, it gets the formatters list before initialization, and those included functions should later get called when they are needed, I believe. Aug 05 00:14:32 Plus I needed to hide or show a div based on the value of the inValue Aug 05 00:15:12 I might give it another whirl now that I am a little wiser in the area of formatters and such Aug 05 00:15:39 so you're trying to do more than format the specific value in question... like trying to hook in and change other stuff at the same time...? Aug 05 00:15:46 Yea Aug 05 00:15:48 in which case this probably isn't the best way to do that, as you've discovered. Aug 05 00:15:53 Yes sir Aug 05 00:16:03 one day I will remember all the things you have to do to get the scroll fade indicator to show up before you start scrolling Aug 05 00:16:07 like if the specific value didn't change, we probably (hopefully) don't bother calling the formatter. Aug 05 00:16:25 What I do now is pull the whole model, update what I need to, push the whole model Aug 05 00:16:47 which is a bit slow when you start getting over 20 items. Aug 05 00:16:59 slow meaning like 0.2 seconds Aug 05 00:17:13 but I think it's fine for my purposes. Aug 05 00:17:18 Sounds like a good topic for a forum thread... Aug 05 00:17:20 in the future I might need a more efficient way Aug 05 00:17:44 noticeUpdatedItems "should" work but it doesn't update my values Aug 05 00:18:07 listModel = this.$.shopSnacksList.getItems(); Aug 05 00:18:07 listModel[currentSelectedIndex] = game.currentSelectedItem; Aug 05 00:18:07 this.controller.get("shopSnacksList").mojo.noticeUpdatedItems(0, listModel); Aug 05 00:18:25 As you can see I actually am using noticeUpdatedItems, just not in the way it was designed. Aug 05 00:18:42 its supposed to keep things efficient by I basically bypass that by setting the offset to 0 :P Aug 05 00:18:51 but* Aug 05 00:24:13 okay, this is annoying...scroller page for .scrollTo(x, y, ...) x and y are listed as object parameters....but should they not be integers? Aug 05 00:24:28 if they are truly objects, what format are they in? Aug 05 00:31:50 binary Aug 05 00:32:08 greeeaaaattttt :P Aug 05 00:32:34 every app before I can do scroller.revealTop() and my bottom fade will magically appear Aug 05 00:32:37 not this one Aug 05 00:32:45 I can revealBottom() and the top fade appears Aug 05 00:32:51 so I'm really at a loss Aug 05 00:34:39 are you passing an object to revealTop ? Aug 05 00:34:56 no, and I don't think I have in the past Aug 05 00:35:19 (shrug) see http://developer.palm.com/index.php?option=com_content&view=article&id=1929 Aug 05 00:35:58 :S Aug 05 00:37:12 The built-in apps always call revealTop(0) Aug 05 00:37:28 alright, let's see Aug 05 00:37:45 * Anivrom waits for facepalm Aug 05 00:37:53 hint: cd /usr/palm/applications ; find . -name "*.js" | xargs grep revealTop Aug 05 00:38:19 nada Aug 05 00:38:26 (or replace "revealTop" with whatever you have a question about....) Aug 05 00:38:53 lemketron: thanks :P Aug 05 00:39:24 just in case I'm not available to grep for you... ;-) Aug 05 00:39:30 haha Aug 05 00:40:22 ah ha Aug 05 00:40:55 multiple revealTop()s break it Aug 05 00:41:21 and since I call the same displayScroller code for either tab's scroller, it's getting called twice Aug 05 00:41:26 * Anivrom claps for sugardave Aug 05 00:53:29 Wow I jsut found a feature in windows that restarts your computer for you Aug 05 00:53:50 I was thinking, I should restart my computer, its been a while.. and then BAM, BSOD Aug 05 00:56:14 hey dawm|pre Aug 05 00:56:28 flying down the interstate doing 75 Aug 05 00:56:51 gz :P Aug 05 00:57:12 is it legal to irc and drive? Aug 05 00:57:35 well cops can use their computer and drive, so my illogical answer is .. YES Aug 05 00:58:48 oh I forgot, cops are inherently better drivers than us Aug 05 00:59:55 "I wasn't texting, I was chatting on IRC" Aug 05 01:00:14 then of course, you'd have to explain what irc was Aug 05 01:03:30 this video would do it: http://www.youtube.com/watch?v=O2rGTXHvPCQ Aug 05 01:04:24 Hard to believe this guy (a Mayor) thought this was a good idea: http://www.wired.com/gadgetlab/2010/08/suicidal-bluetooth-headset-looks-like-gun/ Aug 05 01:04:29 LOL primitive chat program Aug 05 01:05:10 that clip is pure gold Aug 05 01:05:56 rofl, I love it when ppl imitate the internet but dont know anything bout it Aug 05 01:07:36 "This is Unix, I know this!" Aug 05 01:07:46 (in the list of related videos) Aug 05 01:08:06 lol Aug 05 01:08:12 yeah, from jurassic park? Aug 05 01:08:31 yea Aug 05 01:13:56 lemketron: "[19:37] hint: cd /usr/palm/applications ; find . -name "*.js" | xargs grep revealTop" can you say that in Windows, please? Aug 05 01:14:43 haeffb_: preface that with "novaterm" (or putty) Aug 05 01:15:00 which is to say that's linux, but is intended to be run in a device shell, not on the desktop Aug 05 01:16:52 :) Aug 05 01:17:23 haven't used putty for months Aug 05 01:17:45 I'll just wait till you're here to do it... Aug 05 01:30:45 reboot, brb Aug 05 01:55:17 whoa http://www.webosroundup.com/2010/08/webosradio-records-tomorrow-with-special-guest-rahul-sood/ Aug 05 02:01:01 nice Aug 05 02:01:15 when is the "next phone coming out?" Aug 05 02:02:04 hah no joke Aug 05 02:02:39 I almost feel like they should have asked him if he would come on AFTER they announce the next phone so he could talk about it Aug 05 02:02:48 now he won't have much to talk about Aug 05 02:04:28 Tibfib: am sure there is plenty to talk about Aug 05 02:04:37 do you already have some questions? Aug 05 02:04:45 nothing we haven't heard before... Aug 05 02:05:02 you conducting the interview? Aug 05 02:05:13 no hah. I'm not on the webosroundup team Aug 05 02:06:41 how many folks at 'webosroundup'? Aug 05 02:08:02 not sure... I think 5+ Aug 05 02:08:59 Got a question for the masses... what is the potential outcome of a improper "write" when using QXDM? Aug 05 02:10:33 Klownicle: you lost me at QXDM Aug 05 02:10:45 The QualComm Diagnostic utility. Aug 05 02:10:56 be careful with that Aug 05 02:11:09 lik edont even go there if you dont know what your doing Aug 05 02:11:33 ive only used it for the gps feature, done it on all the pres ive had so im doubting thats my issue. Aug 05 02:12:05 what are you doing with it Aug 05 02:12:10 Heres my problem, im getting frequent crashes where the screen suddenly "fades" off and then the luna appears to restart. Aug 05 02:12:24 It honestly seems to be linked to preware.. Aug 05 02:12:32 Becuase it only happens when preware is running. Aug 05 02:12:34 why not doctor your device Aug 05 02:12:36 I did. Aug 05 02:12:40 twice. Aug 05 02:12:42 the qualcom utility should not be required Aug 05 02:12:45 ahh Aug 05 02:12:47 Klownicle: what v of preware? Aug 05 02:12:52 1.2.6 Aug 05 02:13:03 is that an alpha? Aug 05 02:13:19 Im just using what was shown available under webos quick install. Aug 05 02:13:21 tell #webos-internals... Aug 05 02:13:26 But here the thing. Aug 05 02:13:43 I have uninstalled preware just now. And the phone is just sitting and it just faded and rebooted. Aug 05 02:13:52 Even after a hard reset. Aug 05 02:13:56 Im thinkin its a bad refurb. Aug 05 02:14:30 I haven't been playing with the phoen till today all yesterday I just sent some texts and a phone call or two nothing major. All day its been crashing as I been trying to use it. Aug 05 02:15:08 I can't find a pattern other then somthing is fubared somewhere. Aug 05 02:15:17 Wow, that's a coup for @webOSroundup ... Aug 05 02:15:33 Howdy Rod Aug 05 02:17:23 Could copying a PalmDatabase.db3 file cause webos to crash like its doing for me? Aug 05 02:21:32 rwhitby: I know, that's crazy Aug 05 02:22:11 Klownicle: absolutely. wholesale copying of .db files will usually cause more problems than it solves Aug 05 02:22:39 Ok. Perhaps that my issue, I wasn't aware of that. Aug 05 02:24:30 Im doctoring again right now, so maybe thats my issue. I haven't had much time to play since been working all day. Aug 05 02:25:57 someone needs to tell Mr. Sood that we don't have mic access to make a skype client Aug 05 02:28:55 sugardave: haha Aug 05 02:30:39 sugardave: i agree, we need the voice api Aug 05 02:31:36 working on a reverse system [dynamic text] to voice Aug 05 02:31:56 should have something running in the next few days, Aug 05 02:32:01 Has anyone else tried overwriting the palm-button css? Aug 05 02:32:11 Tibfib: yes I have Aug 05 02:32:20 sugardave: I'm having trouble, was it easy? Aug 05 02:32:24 I have the small button class working Aug 05 02:32:38 I'm just trying to use my button image instead of the palm one Aug 05 02:32:42 it's bitchy, not terribly difficuly...lots of css Aug 05 02:32:43 oh Aug 05 02:33:09 basically you need .yourClass .palm-button {} and then add yourClass to the button div Aug 05 02:33:23 that's true, i could just do a custom class, I was trying to overwrite Aug 05 02:33:42 oh, I see...just .palm-button isn't working? Aug 05 02:34:10 yeah Aug 05 02:34:19 It might be me being stupid Aug 05 02:34:40 I think you might have to make your own...I'm really not sure :D I'm about 33% feel-good with CSS Aug 05 02:35:02 hmm, overwriting worked... odd Aug 05 02:35:11 I hate css so much. It's soo picky Aug 05 02:35:27 I know, plus I suck at it :D Aug 05 02:38:11 errr, I meant using a new class worked Aug 05 02:39:25 css is cool, but I am not very good at it Aug 05 02:40:27 http://boingboing.net/2009/07/23/awesome-css-is-aweso.html Aug 05 02:41:17 nice, you can get it at zazzle: http://www.zazzle.com/css_is_awesome_mug-168716435071981928 Aug 05 02:42:38 that is some really dorky / lame looking mug Aug 05 02:44:49 Trucking and Loving is all I Crave is a great Mug! Aug 05 02:50:02 OMG http://www.zazzle.com/css_ninja_style_class_tshirt-235091799113607617 Aug 05 02:50:18 Tibfib: are you gonna use the last buttons I sent? Aug 05 02:50:20 hahahaha Aug 05 02:50:44 Anivrom: I'm trying to get custom buttons to work, to test em out... dont know yet Aug 05 02:50:59 something to do with webkit border image right? Aug 05 02:51:07 yeah Aug 05 02:52:19 Tibfib: you built or are building an IM/ Chat right? Aug 05 02:52:23 yep Aug 05 02:52:26 I know webkit-border-image some Aug 05 02:52:37 sugardave: that's not the issue at the moment Aug 05 02:52:43 darn Aug 05 02:52:46 whats the issue? Aug 05 02:53:18 * sugardave goes onto the exciting world of left and right scroll fades. Aug 05 02:53:21 I can't get the selected classes to work Aug 05 02:53:25 Tibfib: yeah was looking at video on youtube Aug 05 02:53:27 sugardave: yikes Aug 05 02:53:32 LoneStar99: hahaha that's super old Aug 05 02:53:37 I need to update Aug 05 02:54:19 also built an IM based on some code that i built in 2007 Aug 05 02:54:32 http://bobchatter.com Aug 05 02:54:51 oh cool Aug 05 02:57:07 Why does the first item in my list not get styled, even though I have the corresponding palm-row.first class Aug 05 02:57:09 tibfib: works abit differently than conventional IM/ Chat services... Aug 05 02:58:05 anyone know i f u can put javascript in an html widget? Aug 05 02:58:24 Oh, I have a question. Can you use local files in teh webview widget? Aug 05 02:58:54 of all the mistypes, teh instead of the is by far my favorite. Aug 05 02:59:28 agreed Aug 05 02:59:40 sounds so l33t **** ENDING LOGGING AT Thu Aug 05 02:59:56 2010