**** BEGIN LOGGING AT Wed Jul 21 02:59:57 2010 Jul 21 03:00:28 thats what she said Jul 21 03:00:32 haha Jul 21 03:00:40 rwhitby send it :D Jul 21 03:01:19 CTLAdvance: /msg email please Jul 21 03:03:59 does the pixi take the same battery as the pre Jul 21 03:04:57 Oh, this is actually a /fun/ demo app, lol Jul 21 03:05:08 * zsoc clicks to make the little blocks fly around Jul 21 03:07:12 zsoc: I spent close to an hour playing with with the flash version Jul 21 03:07:13 next step, accelerometer destruction Jul 21 03:07:32 with .... Shake events ... dun dun dunnn Jul 21 03:07:35 okay Jul 21 03:07:38 I found my problem Jul 21 03:07:40 gather round Jul 21 03:07:42 and listen Jul 21 03:07:44 this is worth it Jul 21 03:07:49 * zsoc listens Jul 21 03:07:55 I was using ctx.rect(x,y,width,height); Jul 21 03:07:57 * Anivrom tunes out Jul 21 03:08:13 when I should have been using ctx.fillRect(x,y,width,height); Jul 21 03:08:18 one creates a path Jul 21 03:08:19 yes Jul 21 03:08:22 which I didn't begin or close Jul 21 03:08:32 awww that sucks Jul 21 03:08:35 and the latter creates a shape and closes it Jul 21 03:08:36 all that time Jul 21 03:08:42 and so I was getting pissed Jul 21 03:08:46 because I am an idiot Jul 21 03:08:50 as I had indicated before Jul 21 03:09:14 yeah I got that when I first using the canvas Jul 21 03:09:29 well Jul 21 03:09:37 I've done rect() and fillRect() before Jul 21 03:09:43 just didn't realize I was doing it Jul 21 03:09:50 and was looking everywhere else Jul 21 03:09:58 and that is why it sucked! :D Jul 21 03:10:20 Wow, I remember when Firefox fought to keep below 5MB download size Jul 21 03:10:40 I just downloaded a 26MB nightly Jul 21 03:10:46 and it expanded to 99MB of stuff Jul 21 03:10:58 yeah its very bloated right now Jul 21 03:11:02 if you ain't 100MB you ain't trying Jul 21 03:11:08 FF 3.6 is slower than my version of IE8 Jul 21 03:11:18 except IE8 doesnt support HTML5... so... Jul 21 03:12:04 the mozila beta is very nice Jul 21 03:12:05 just go to ff4b1 Jul 21 03:12:11 much faster rendering Jul 21 03:13:19 ha, the IE fish tank demo gets 1 fps for 20 fish in 4.0b2pre on OS X (latest nightly) Jul 21 03:13:51 great lets stick it on a pre Jul 21 03:15:23 Returns: Jul 21 03:15:23 Describe what it returns Jul 21 03:15:41 ^^ a clue that webOS docs aren't finished Jul 21 03:15:55 el oh el Jul 21 03:15:58 sigh* Jul 21 03:16:49 Anyone used lists extensively? Jul 21 03:16:50 haeffb: heh, the docs for setting up a SDL+GL context are basically completely wrong Jul 21 03:17:16 lists? extensively? Jul 21 03:17:58 I need to dynamically add list items and also have an image associated with them Jul 21 03:18:05 I'm googling it Jul 21 03:18:08 currently Jul 21 03:18:23 but if you could shortcircuit my search that would be better :P Jul 21 03:18:29 Or i could just keep googling it Jul 21 03:19:03 using a list widget? Jul 21 03:19:08 mhmmm Jul 21 03:19:26 CTLAdvance: sent Jul 21 03:19:41 Got it, huge file Jul 21 03:19:48 ill work on this one next week Jul 21 03:20:03 haeffb: I'll look at the tasks app source code first Jul 21 03:20:17 it don't have images in a list Jul 21 03:20:31 oh. I kinda need it Jul 21 03:20:38 Since they are replacing my image widgets idea Jul 21 03:20:40 but I don't know why you couldn't use the imageview widget in a list Jul 21 03:21:01 or just a div with an div Jul 21 03:21:02 they all have to be shown at the same time. it's an inventory list Jul 21 03:21:22 I could do that but html is not my strong point Jul 21 03:21:54 yeah, imageview might not work since it wants to be fullscreen Jul 21 03:22:16 what sort of images? Jul 21 03:22:30 Icons of different items a player can buy Jul 21 03:22:56 oh, easy Jul 21 03:23:01 why won't a regular list with some tags work? Jul 21 03:23:11 sugardave! Jul 21 03:23:14 what up? Jul 21 03:23:37 I need to dynamically change a scroll-face .png thru javascript Jul 21 03:23:37 hi sugardave Jul 21 03:23:49 s/face/fade Jul 21 03:23:52 my back/feet are killing me...been trying to lay some floor today, but got bogged down cutting weird angles for transfer pieces Jul 21 03:24:07 LoneStar99: hola Jul 21 03:24:09 stand on your front feet instead Jul 21 03:24:30 heh, yeah, my ass is currently holding down this chair Jul 21 03:24:35 I'm setting up a list as per http://www.chinchillatech.com/tutorials/webos-ares-tutorial-setting-up-a-basic-list/ Jul 21 03:25:00 working on adding user-config background colors to done, but can't figure how to change the scroll-fade Jul 21 03:25:01 I figured Colloquy screwing up and icons in the Finder going MIA along with the general slow down meant it was reboot time Jul 21 03:25:02 haeffb: does you scroll fade have an ID? Jul 21 03:25:09 And sure enough, everything is snappy and perfect again Jul 21 03:25:28 * haeffb checks Jul 21 03:25:55 nope, my scroll-face is created by the command menu Jul 21 03:25:59 or some other way to get at it...class name if you don't want to give it an id Jul 21 03:26:03 ah Jul 21 03:26:04 okay Jul 21 03:26:04 I can change the CSS style, but... Jul 21 03:26:17 that's what I would do Jul 21 03:26:31 sugardave: sounds like some serious home improvement Jul 21 03:26:48 LoneStar99: not too horrible, snap-click laminate planks Jul 21 03:27:02 I should be able to get most of it done tomorrow Jul 21 03:27:08 it's just the upstairs hallway Jul 21 03:27:09 yay Jul 21 03:27:10 :D Jul 21 03:27:19 oh, not bad, did you have scrap the old flooring off? Jul 21 03:27:21 ...but I can't change the CSS style thru javascript...? Jul 21 03:27:29 haeffb: sure Jul 21 03:27:39 background:url(../images/list-scroll-fade-bottom-done-gray.png) top left repeat-x; Jul 21 03:27:51 element.style.background = 'url../.....'); Jul 21 03:28:04 if I had the element Jul 21 03:28:20 oh Jul 21 03:28:24 I see what you mean, I think Jul 21 03:28:38 the element is created by the framework as part of command menu Jul 21 03:28:40 there is a way to load a stylesheet via js, I think Jul 21 03:28:57 to override the style... Jul 21 03:29:04 and you MIGHT be able to do it with a string instead of a file Jul 21 03:29:04 ...ok, will look into that Jul 21 03:29:08 haeffb: i am sure you know, but have u tried inspector? Jul 21 03:29:09 not sure Jul 21 03:29:11 never done it Jul 21 03:29:34 ls99: I haven't yet because I'm multistage & it's a pain to get inspector to run Jul 21 03:29:46 & I'm lazy Jul 21 03:29:58 does host emulator work with multi-stage? Jul 21 03:30:04 haeffb: i hear that then you have to restart emulator Jul 21 03:31:00 it might be easier to just get rid of the fade Jul 21 03:31:57 yep, definitely easier Jul 21 03:32:00 ATT is so expensive Jul 21 03:32:09 anyone have an ATT device with just data Jul 21 03:32:15 when an app is completely closed, can an ajax request be sent? Jul 21 03:32:39 like a millisecond before closing? Jul 21 03:32:50 don't see why not Jul 21 03:32:55 just might not get a callback Jul 21 03:34:57 do not need a callback Jul 21 03:35:46 guess I meant is there a command like "on mojo app close" etc... Jul 21 03:35:59 yea.. cleanup() :P Jul 21 03:36:06 yup ^ Jul 21 03:36:34 haeffb: take a look at document.styleSheet and/or document.styleSheets Jul 21 03:36:46 sugardave: what's this about an img tag? Jul 21 03:36:52 Anivrom: so I can place a command in "cleanup()" and that should work? Jul 21 03:37:01 "Should" Jul 21 03:37:18 anivrom: k thanks will try that out in abit Jul 21 03:37:25 It's kinda the last ditch function. Jul 21 03:37:45 Mind you pandora would be more knowledgable on the subject im sure Jul 21 03:38:06 LoneStar99: yes Jul 21 03:38:31 cool, have cleanup() on all pages, but have never used it, will use it now =) Jul 21 03:38:42 i believe there's a watchdog though that ensures that you don't block anything ridiculously long on cleanup(), etc Jul 21 03:38:46 Anivrom: well, keep in mind I'm dealing with caveman technology, but in Mojo lists, you make an item template HTML...it is what is rendered for every row, and you could just make a
in there...then you make sure the model for the items contains 'someVar' which would be the img src Jul 21 03:39:08 The functions actual purpose is to cleanup things before the app closes to minimize memory leaks Jul 21 03:40:40 pandora--: k thanks Jul 21 03:42:37 [ Jul 21 03:42:38 { Jul 21 03:42:38 item: 0, Jul 21 03:42:38 label: "Zero", Jul 21 03:42:38 value: "0", Jul 21 03:42:38 imgVar: "" Jul 21 03:42:38 }, Jul 21 03:42:41 oops Jul 21 03:42:48 So my json would look similiar to that? Jul 21 03:42:52 right Jul 21 03:43:02 ans 'imgVar' would be the source of course Jul 21 03:43:16 Hmm how would I assign that in code though? Jul 21 03:43:55 The example I'm going by does things differently with array labels and such. Jul 21 03:44:30 Anivrom: http://webos101.com/List Jul 21 03:46:50 I wish I knew html Jul 21 03:47:10 most of this might as well be written in hindu Jul 21 03:48:00 also I wish I wasn't so lazy and actually wrote straight mojo instead of ares :P the other half of this might as well be written in korean Jul 21 03:48:54 Anivrom: okay, how do you build your model.items array? Jul 21 03:48:57 pandora--: the problem with the example is the "dynamic list" section gives only 1 example and that's using ajax Jul 21 03:49:22 Well I currently don't cause I don't know how to structure it. Jul 21 03:49:28 * appamajig is back. Jul 21 03:49:36 Anivrom: how are you making your list, then? Jul 21 03:49:37 http://www.chinchillatech.com/tutorials/webos-ares-tutorial-setting-up-a-basic-list/ Jul 21 03:49:42 I was going by that tutorial Jul 21 03:49:51 Which does things very much statically Jul 21 03:51:22 I have an inventory array with counters for each item. I want a switch/if statement checking the type of item and adding it to the list with the appropriate img and description. Jul 21 03:51:44 I just don't know exactly how to correlate the item model to my array I'm setting up Jul 21 03:51:45 is all Jul 21 03:51:47 I'm going to have to call "LAME" on that tutorial, I'm sorry if chinchilla tech is here Jul 21 03:51:57 Yea the tut was pretty lame Jul 21 03:52:31 hehe there's a company called chinchilla tech? Jul 21 03:52:52 Yea they make the glow DJ glow stick app Jul 21 03:52:58 and bpm counter pro Jul 21 03:52:59 :P Jul 21 03:53:19 the items array should consist of objects, and while arrays are objects, it would be be better IMO to show the object way Jul 21 03:53:36 Ok Jul 21 03:53:39 so, you have an array, let's call it awway Jul 21 03:53:45 now, you make an object Jul 21 03:54:25 var myObject = {'name': 'Object1', 'imgSrc': 'http://www.example.com/nothing.png'}; Jul 21 03:54:29 will do Jul 21 03:54:34 ok Jul 21 03:54:36 awway.push(myObject); Jul 21 03:54:40 repeat Jul 21 03:54:44 for the rest of the list Jul 21 03:54:50 alright Jul 21 03:55:42 Once I push I can recycle myObject in the loop correct? Jul 21 03:55:59 its a copy not a ref? Jul 21 03:56:06 now there's the "model" to deal with in setupWidget Jul 21 03:56:09 I never know with javascript Jul 21 03:56:16 not sure, I think you can re-use Jul 21 03:56:25 easy enough to test Jul 21 03:57:06 so, make a model object and it needs an 'items' property- this.listModel = {'items': awway}; Jul 21 03:57:27 items should be an array containing the list elements you want to display Jul 21 03:58:03 Anyone here have a blackberry 8830 you dont need anymore Jul 21 03:58:08 or a touch pro/pro 2 Jul 21 03:58:10 for sprint Jul 21 03:58:23 so I'm gonna have 2 arrays? items[] and awway[]? Jul 21 03:58:35 now for the simple example, your item template HTML, can use #{name} and #{imgSrc} anywhere and they will be substituted for the object's actual values Jul 21 03:59:09 Anivrom: technically they're the same array Jul 21 03:59:22 and one var is only going to last in the scope of its function Jul 21 03:59:28 so, doesn't matter, really Jul 21 03:59:32 ok Jul 21 03:59:38 * appamaway is away: Gone away for now Jul 21 04:00:35 so.. i have a div with text, and if there's a long url in it, it stretches the div off screen, making all the wrapped text unreadable because the width of the div is wider than the screen... Jul 21 04:00:38 any good solution to this? Jul 21 04:01:03 so my items json has this right now, {item: 0,label: "Zero",value: "0"} that should be changed to {'name': 'Object1', 'imgSrc': 'http://www.example.com/nothing.png'}; instead? Jul 21 04:01:25 pandora--: class truncate-text and make sure your shit is only 320px wide :P Jul 21 04:01:57 Anivrom: those objects are just examples, you can use your objects Jul 21 04:02:09 but the #{variables} will be different in your item template Jul 21 04:02:15 wait nvm we dont need anythign in the items json cause we are basically going to recreate it from scratch Jul 21 04:02:22 i.e. #{item} #{label} etc. Jul 21 04:02:54 pandora--: truncated-text, typo Jul 21 04:02:59 I dont have any # variables in my item template. Only item html template. Jul 21 04:03:26 the html template IS the item template Jul 21 04:03:35 ok but in ares they make a distinction Jul 21 04:03:38 You can edit both Jul 21 04:03:39 oh Jul 21 04:03:42 that's dumb Jul 21 04:03:46 items have properties Jul 21 04:03:54
Jul 21 04:03:54 #{name} Jul 21 04:03:54 #{imgSrc} Jul 21 04:03:54
Jul 21 04:03:56 lists and other things have html templates Jul 21 04:03:56 html template Jul 21 04:04:08 { Jul 21 04:04:08 item: 0, Jul 21 04:04:08 label: "Zero", Jul 21 04:04:08 value: "0" Jul 21 04:04:08 }, Jul 21 04:04:09 item template Jul 21 04:04:18 no, that's an object Jul 21 04:04:22 with properties Jul 21 04:04:30 Ares lingo FAIL Jul 21 04:04:34 lol Jul 21 04:04:55 so I can delete the "items" template Jul 21 04:05:01 and we are gonna recreate it in code Jul 21 04:05:41 as per the myObject line being pushed to my list array Jul 21 04:05:41 well, it depends...how many objects do you have? Jul 21 04:05:55 if it's just a handful, might be easier to punch them in the ares thing Jul 21 04:06:03 well, the player can have over 40 different items Jul 21 04:06:11 and even more if I allow custom object creation Jul 21 04:06:24 a.k.a decorations for their userspace. Jul 21 04:06:25 do you have those objects already somehow? Jul 21 04:06:34 well yea in an inventory array Jul 21 04:06:46 but not all properties in that array are relevant to the list Jul 21 04:06:51 doesn't matter Jul 21 04:07:06 you only use #{variables} for the properties you ARE interested in Jul 21 04:07:11 ok Jul 21 04:07:36 so if you have an array that only has the actual items, you are already there Jul 21 04:07:37 woo! Jul 21 04:07:51 I can pass an object and it will only pull the array.property that are declared in #{variables} Jul 21 04:09:20 ie. inventory[i].imgSrc and itemsHtml model has #{imgSrc} Jul 21 04:09:26 am I grasping? Jul 21 04:09:32 no, perfect Jul 21 04:09:46 that's exactly it Jul 21 04:09:49 ok Jul 21 04:10:02 so now you just set the model object's 'items' property to that array Jul 21 04:10:13 this.listModel = {'items': thatArray} Jul 21 04:10:17 and use it in setupWIdget Jul 21 04:10:47 this.categoryListModel = {items: this.list_items}; this.controller.setWidgetModel("categoryList", this.categoryListModel); Jul 21 04:11:07 Ok gonna give it a test run Jul 21 04:11:30 as long as this.list_items is that array, should work Jul 21 04:11:56 in your example this.list_items would be awway Jul 21 04:12:01 right Jul 21 04:12:45 wow some lightwaves are penetrating my bunker-thick skull Jul 21 04:12:57 did something happen? Jul 21 04:13:08 no, I'm just slowly getting it. Jul 21 04:13:13 ah Jul 21 04:13:14 okay Jul 21 04:13:29 It's the whole straight-mojo syntax and stuff that gets me so confused. Jul 21 04:13:47 yeah, I'm not sure what to change for Ares Jul 21 04:14:10 I noticed you use setWidgetModel instead of setupWidget, as I guess Ares does the setup automagically Jul 21 04:14:20 apparently Jul 21 04:14:29 I just copied that part from chinchilla tutorial Jul 21 04:14:39 seems familiar Jul 21 04:21:41 * Anivrom crosses fingers Jul 21 04:34:03 Amaranth: ping Jul 21 04:43:07 ugh scope issues Jul 21 04:43:44 Which I shouldnt be having since I call this object everywhere else in my code without problems Jul 21 04:43:48 infact both these objects Jul 21 04:46:00 kill it with fire! Jul 21 04:49:42 damn. how can i get a long url to wrap in a div? Jul 21 04:58:16 pandora: how long is the url? Jul 21 05:00:23 cya tomrorow guys Jul 21 05:05:05 LoneStar99: nm, got it. my wife gave me the answer Jul 21 05:05:12 lol she's better at css than i am Jul 21 05:09:18 * appamajig is back. Jul 21 05:15:59 anyone here? Jul 21 05:16:07 no Jul 21 05:16:15 got the very basic ground work for a websocket game going Jul 21 05:16:23 of course, there is still months of work left Jul 21 05:16:28 but still, neatareno! Jul 21 05:16:33 yup Jul 21 05:16:37 just played around with a few friends Jul 21 05:16:39 on a canvas Jul 21 05:16:43 and we were just rectangle Jul 21 05:16:48 rectangles* haha Jul 21 05:20:06 lets just hope Jul 21 05:20:12 that webos 2.0 supports this stuff Jul 21 05:20:30 1.5 is supposed to Jul 21 05:21:08 1.5? Jul 21 05:21:12 when is 1.5 supposed to arrive? Jul 21 05:21:19 this fall Jul 21 05:31:50 at this rate, so is 1.4.5 Jul 21 05:34:08 * appamaway is away: Gone away for now Jul 21 05:34:59 I think that's 2.0 Jul 21 05:35:00 is fall Jul 21 05:41:51 need to call an ajax request every 30 seconds - how would i do it with the following code: http://pastebin.com/ZUP7wD0J Jul 21 05:42:23 looks right Jul 21 05:43:42 pandora: just not sure what to replace "call_ajax_function" with Jul 21 05:43:45 you could always figure out how long a while loop takes to reach 30s of cpu cycles and do it that way Jul 21 05:44:31 look at the prototype ajax stuff Jul 21 05:44:36 theres a uato refresh one Jul 21 05:44:51 no no no Jul 21 05:44:53 yeah Jul 21 05:45:00 Ajax.PeriodicRequest Jul 21 05:45:15 sorry Jul 21 05:45:21 Ajax.PeriodicUpdater Jul 21 05:45:39 soo don't you dare try to count! Jul 21 05:45:41 http://api.prototypejs.org/ajax/ajax/periodicalupdater/ Jul 21 05:46:36 alexfner: thanks was just gonna doing a search on prototypejs.org Jul 21 05:47:21 might I ask why every 30 seconds? Jul 21 05:48:03 need to refresh information Jul 21 05:49:02 well I undestand that Jul 21 05:49:15 but what kind of information needs to be refreshed every 30 seconds? Jul 21 05:49:36 oh it is some twitter experiment Jul 21 05:49:51 are you using node :} Jul 21 05:50:23 what an awesome smile :^} Jul 21 05:50:39 >:^}) Jul 21 05:50:52 >:^{) Jul 21 05:51:01 alexfner: node.js not yet perhaps next release Jul 21 05:51:15 I have become a node.js evangelist in a matter of days Jul 21 05:51:21 it's pathetic I suppose Jul 21 05:51:29 yes it is Jul 21 05:51:57 lol Jul 21 05:52:09 i still haven't figured out what all of you are /doing/ with node Jul 21 05:52:22 it sounds cool, but i've yet to really figure out why one would use it Jul 21 05:52:45 alexfner: yeah i am very interested in node.js Jul 21 05:52:48 server side utilities, like a webos server pingie thing Jul 21 05:53:35 and a webOS server pringle Jul 21 05:53:39 and a socket i/o manager Jul 21 05:54:05 and a party bus Jul 21 05:54:16 * halfhalo wrote party bus 1.0 Jul 21 05:54:32 that was YOU? Jul 21 05:54:37 Oh Jul 21 05:54:38 yeah Jul 21 05:54:39 MY Jul 21 05:54:41 GAWD Jul 21 05:54:43 I AM SUCH A FAN Jul 21 05:54:45 ALL CAPS Jul 21 05:54:47 I CAN'T TAKE IT Jul 21 05:54:53 ...okay that's better Jul 21 05:55:06 so... what do you do with it? Jul 21 05:55:24 I wrote a web based irc client using websockets... Jul 21 05:55:29 and a logger with websockets... Jul 21 05:55:57 and a teddy bear with websockets Jul 21 05:56:09 and right now making a git thingie with websockets... Jul 21 05:58:23 I'm working on a canvas based game that communicates through websockets Jul 21 05:58:25 for multiplayer Jul 21 05:58:49 * appamajig is back. Jul 21 05:59:15 hm Jul 21 05:59:16 ok Jul 21 06:09:39 thanks you all got "Ajax.PeriodicalUpdater" working Jul 21 06:12:23 nice Jul 21 06:26:29 if I want the following "
" to activate when scence opens is the following correct? http://pastebin.com/FPsnEH9E Jul 21 06:32:58 You can just put code in the setup() or activate() method of the scene, right? Jul 21 06:33:32 By activate, do you mean setup a widget, or focus on the element, or ... ? Jul 21 06:34:39 eylon: by activate setup a "widget" so on scene load "this.statusList.bind(this));" activates... Jul 21 06:35:07 not on tap, or focus, just 'scene' load Jul 21 06:35:28 If you're saying what I think you may be saying ... Jul 21 06:35:52 You would put this.controller.setupWidget ('sCanvas', { }, this.statusListModel); Jul 21 06:36:00 In the setup() method of the scene Jul 21 06:36:13 Then when it is created, it will build that widget, with the attributes or the model you specify Jul 21 06:37:20 elyon: ok let me try that Jul 21 06:37:25 Good morning Jul 21 06:37:25 good morning hotdp Jul 21 06:38:25 So if you wanted, say, a list ... Jul 21 06:39:07 put
Jul 21 06:39:52 Then this.controller.setupWidget ('myList', {}, { items: [ { value: "Hello" }, { value: "World" } ] } ); Jul 21 06:39:55 Something like that Jul 21 06:40:44 http://www.linux-mag.com/id/7563 Jul 21 06:40:52 That's an article I found useful for more advanced list stuff Jul 21 06:41:14 But this is probably more straightforward Jul 21 06:41:15 http://developer.palm.com/index.php?option=com_content&view=article&id=1531 Jul 21 06:43:19 elyon thanks Jul 21 06:44:40 Sure :) Jul 21 06:47:50 elyon: you saw the tweet? Jul 21 06:55:57 digitalpowers: Did you get a chance to try Bible Reader? Jul 21 06:56:58 elyon: haXe Demo is in Preware public feeds now Jul 21 06:57:15 rwhitby: Awesome! Thanks again for your help on that Jul 21 06:57:34 My submission to the web channel is still pending, so it probably got stuck for some reason Jul 21 06:57:41 elyon: please commit the source code to the repo if you haven't done so already Jul 21 06:58:21 (just put it in a src subdirectory) Jul 21 06:58:22 rwhitby: Sure, I'll try and do that soon Jul 21 07:02:32 morning Jul 21 07:03:10 morning swisstomcat Jul 21 07:03:18 hey lonestar Jul 21 07:04:24 It's 12:04 here. Jul 21 07:04:33 Just about as early as you can get while still calling it morning :) Jul 21 07:04:43 heh Jul 21 07:04:50 9:04am Jul 21 07:04:56 4:34pm Jul 21 07:05:18 it'2 3:05 AM here Jul 21 07:05:31 I WIN Jul 21 07:05:41 2.05 here Jul 21 07:05:55 time for bed it seems, alexfner,lonestar :) Jul 21 07:06:08 pfft Jul 21 07:06:14 working on node.js websockets Jul 21 07:06:14 So pacific time, central time, eastern time ... europe? Jul 21 07:06:23 the heat alone from them is enough to warm me through the night! Jul 21 07:06:25 Then where are you rwhitby? Jul 21 07:06:30 eastern Jul 21 07:06:44 elyon: GMT+9:30. Australia. Jul 21 07:06:48 rwhitby is in australia Jul 21 07:07:02 at WebOS Internals HQ Jul 21 07:07:09 node.js, websockets .. cool stuff Jul 21 07:07:14 have to try it out sometime Jul 21 07:08:03 swisstomcat: yeah you are right - time to but the horse to bed Jul 21 07:08:13 dungeons, rwhitby? :) Jul 21 07:08:50 laters Jul 21 07:13:56 morning swisstomcat Jul 21 07:14:48 morning hotdp Jul 21 07:14:57 whitby Jul 21 07:15:02 is there a more australian name? Jul 21 07:15:36 bruce Jul 21 07:19:28 I guess... Jul 21 07:19:30 :D Jul 21 07:22:48 * appamaway is away: Gone away for now Jul 21 07:25:18 * appamajig is back. Jul 21 07:27:36 whew... huge fight outside, cops and everything... 1:27am Jul 21 07:30:02 really? Jul 21 07:30:05 drunk people? Jul 21 07:30:07 college town? Jul 21 07:30:13 whats the deal? Jul 21 07:30:15 whos the perp? Jul 21 07:30:35 lol It's a college town, but these guys probably aren't in college Jul 21 07:30:54 they're always causing trouble late at night, getting drunk (and probably other stuff too, but I've never seen it) Jul 21 07:31:00 they wake me up about once a week Jul 21 07:31:18 I've been in the lifestyle, but I don't care. They wake me up. I call the cops Jul 21 07:31:51 every time. I don't need to talk to them or get mixed up in their business, but eventually they'll move out, because the cops show up about once a week or so Jul 21 07:34:25 across the street eh? Jul 21 07:34:31 mind as well just go over there, start a fight Jul 21 07:34:38 seems like the only thing you should do :D Jul 21 07:34:47 get a gun Jul 21 07:34:57 No! Jul 21 07:37:48 lol not across the street, they're RIGHT outside my window Jul 21 07:38:15 I live in an apartment complex, and they live in the building right behind mine... the fight happened about 5-10 feet from my window Jul 21 07:38:42 I'M GONNA FUCKIN KILL YOU MOTHERFUCKER and pounding of fist on head... blood on the sidewalk Jul 21 07:39:06 bloody jacket in the grass, 4-5 cops with very bright flashlights :P Jul 21 07:39:57 about 10 people in a 2 bedroom apartment partying, the cops moved everyone out of the apt and outside my window, talking yelling, handcuffs, tickets Jul 21 07:40:05 Woke my wife up from a dead sleep Jul 21 07:40:08 bastards Jul 21 07:41:09 I don't want to get a gun. That's what cops are for. I always said that I'll never call the cops, but... I don't want to deal with them. I've had my share of drunken brawls Jul 21 07:45:43 your share eh? Jul 21 07:45:46 tell us one story! Jul 21 07:45:51 for the nostalgia! Jul 21 07:45:54 PLEASe?!? Jul 21 07:46:06 lol Jul 21 07:48:06 well... Me and my buddy got some great acid (well, it wasn't the best, but it had a good, happy, high) called spiderman. It was on paper. We each dropped two hits and decided it was a good idea to drive from Salt Lake City (my apt) to Orem (to his place) so we could smoke a joint to mellow our hallucinations Jul 21 07:48:53 about a 45 minute drive at 75mph. About 20 minutes into the drive, we decided that was fucking stupid, and pulled off the freeway to trip balls. Jul 21 07:49:33 about 2 hours later it all peaked, and he thought that his car was running, and tried to turn it off, but the key would turn... because his car wasn't running Jul 21 07:50:17 to make a long story short, we overheated the engine til we cracked the block, and then used a lighter to try to see what was pooring out of the side of the engine (luckily, we didn't catch fire) Jul 21 07:50:56 now I'm thinking back on it all... it seemed like 2 hours, but that doesn't makes sense, because it would have peaked after about an hour Jul 21 07:50:59 maybe less Jul 21 07:51:15 hmmm... anyways, no fighting in that one, but it's a lot more funny Jul 21 07:51:42 kids, stay away from drugs :) Jul 21 07:51:44 but the key wouldN'T turn oops Jul 21 07:51:47 yes, they're bad Jul 21 07:52:23 that was about 2000 or 2001 Jul 21 07:53:26 hey, my new app is available in the catalog :) Jul 21 07:53:33 what app? Jul 21 07:54:18 for kids that like machines Jul 21 07:56:06 http://developer.palm.com/appredirect/?packageid=com.inorbit.toot Jul 21 07:57:27 hey, that's cool. that would be a great app for my brother in law, his kid loves to play with dad's phone :P Jul 21 07:57:36 I'll send him over to it Jul 21 07:58:31 i also have one with animals Jul 21 07:58:38 http://developer.palm.com/appredirect/?packageid=com.inorbit.moo Jul 21 07:58:46 with over 55k downloads Jul 21 07:59:25 sweet! I think you found a good niche Jul 21 08:00:06 my son likes those apps too Jul 21 08:01:19 I bet, they look like something I would have liked in about 2000 or 2001... Jul 21 08:04:37 the animal one has sounds as well Jul 21 08:04:56 when you shake the phone .. and animated eyes Jul 21 08:10:25 haha nice story Jul 21 08:10:30 well I've got to get going Jul 21 08:10:32 later all Jul 21 08:11:35 cu Jul 21 10:39:53 rehi Jul 21 10:40:17 hi Jul 21 10:45:40 swisstomcat, are you a part of webosroundup? Jul 21 10:45:51 no Jul 21 10:46:02 roy-pre101 is Jul 21 10:46:18 i think Jul 21 10:46:19 do you use http://metrix.webosroundup.com/ ? Jul 21 10:50:27 no, i have my own system Jul 21 10:50:49 Ok, i was thinking about doing my own. But looks like this is all "i" need. Jul 21 10:51:00 But would like to know if there whre any drawbacks.. Jul 21 10:53:07 probably, yes Jul 21 10:53:10 not that i know of Jul 21 10:53:11 you could check the forum Jul 21 10:53:11 on webosroundup and see what developers say Jul 21 10:54:47 hi guys ... can i use openGL in my web app which i developed using SDK? Jul 21 10:55:40 webgl? not that i know of .. you'd have to use opengl es with the PDK Jul 21 11:01:11 swisstomcat, i tryed på i only see 2 topics :) Jul 21 11:02:07 i have built the entire app on SDK, for small part of my app i need openGL to be used .. what would be the solution? Jul 21 11:03:14 raghuk: a hybrid app Jul 21 11:03:26 raghuk: where there's a pdk plugin running inside your mojo app Jul 21 11:04:09 swisstomcat: yea .. somthing like that Jul 21 11:04:58 swisstomcat: do u have any links where i can look for samples? Jul 21 11:05:17 wirc (at webos-internals.org) would be one example of a hybrid app Jul 21 11:07:04 more info here: https://developer.palm.com/index.php?option=com_content&view=article&id=2026&Itemid=331 Jul 21 11:08:02 the shapespin sample app in the pdk is hybrid too i think Jul 21 11:20:42 swisstomcat: thanks. did u tried anytime? Jul 21 11:21:59 not yet Jul 21 11:22:08 i've run the shapespin example, not more Jul 21 13:50:56 morning Jul 21 13:53:04 morning Jul 21 13:54:38 morning Jul 21 13:54:50 morning haeffb Jul 21 14:10:09 swisstomcat: http://www.kenkenkiki.jp/e_index2.html Jul 21 14:27:55 that looks cool, haeffb .. thanks Jul 21 14:28:53 ugh Jul 21 14:29:06 Completely puzzled. Jul 21 14:29:27 Anyone wanna take a shot at why my code isnt working? Jul 21 14:29:42 sdk or pdk? Jul 21 14:29:47 sdk Jul 21 14:29:53 go ahead Jul 21 14:30:12 http://pastebin.com/3STnR3dx Jul 21 14:30:58 Cannot read property 'length' of object, line undefined, file undefined, palmInitFramework347:252 Jul 21 14:31:37 Even though when I step through the loop I can see it pushes category just fine Jul 21 14:31:54 But when I don't step through it throws the error Jul 21 14:32:26 shopItems is defined in my stage assistant and 7 items are added to it in my game.init function. Jul 21 14:32:53 when I view shopItems in the debugger it contains everything I put in it. Jul 21 14:33:09 and I even do a .length check and it comes out as 7 Jul 21 14:33:39 in the debugger Jul 21 14:38:03 swisstomcat: ^ Jul 21 14:46:02 hmm Jul 21 14:46:20 GC? Jul 21 14:46:26 can you post some code? Jul 21 14:46:35 hmm? Jul 21 14:46:43 if you step through, the object might be not GC'd Jul 21 14:46:52 just a guess Jul 21 14:48:26 which code would you like? Jul 21 14:48:48 Idk what else would make a difference Jul 21 14:49:05 It wouldn't be GC'ed cause it's created in the stageassistant Jul 21 14:49:24 and it holds values throughout the whole app. Jul 21 14:50:06 Anyhow I'll be on later. hopefully I can resolve it then. Thanks for the help swiss Jul 21 14:50:15 be on in a few hours Jul 21 14:50:21 couple/few Jul 21 14:55:38 laterz Jul 21 15:11:52 * swisstomcat on the train now Jul 21 15:26:03 dekan: good morning! Jul 21 15:26:03 good morning maik Jul 21 15:29:33 morning Jul 21 15:31:53 morning from my new digs Jul 21 15:33:42 new digs? Jul 21 15:34:03 new haus? Jul 21 15:35:40 new employer, new office Jul 21 15:35:49 morning to your new digs from your old digs Jul 21 15:36:16 i don't think C is talking to me Jul 21 15:36:34 either that or she really doesn't trust my new OTR key Jul 21 15:37:02 first day .. cool Jul 21 15:38:36 makign ultra bank? Jul 21 15:38:40 or working for a sweet company Jul 21 15:38:42 a startup? Jul 21 15:38:49 slightly more bank, working for a university Jul 21 15:38:59 not as a cool as a startup Jul 21 15:39:14 though teachy Jul 21 15:39:23 are you running their network Jul 21 15:39:28 teaching kids how to read…. code Jul 21 15:39:33 nope. one of the things i was told when looking into the job is they're like a startup since there's no backstabbing or stupidity going on Jul 21 15:39:34 running or ruining? :) Jul 21 15:39:42 lol Jul 21 15:39:54 ls Jul 21 15:39:59 ahah woops Jul 21 15:40:05 managing IT for a center in the EE/ME school. Jul 21 15:40:13 so not the university's IT dept Jul 21 15:51:08 hrm Jul 21 15:56:46 mornin' folks Jul 21 15:58:03 mornin Jul 21 15:58:06 need coffee Jul 21 15:58:15 agreed Jul 21 15:59:13 yay machine just beeped. Jul 21 15:59:20 * pandora-- wanders to the source Jul 21 16:01:20 mmm hot coffee Jul 21 16:01:29 it's strangely cold in LA today Jul 21 16:01:38 especially strange after last weeks heat wave Jul 21 16:01:41 yeah? Jul 21 16:02:03 near 90 in miami.. nothing new.. real feel into the hundreds.. Jul 21 16:02:07 high of 69F Jul 21 16:02:16 65 in my house/office though Jul 21 16:02:46 with AC? Jul 21 16:02:50 yeah Jul 21 16:03:04 ah Jul 21 16:03:18 just put a new one in.. trying to push it to the max before the first 90 days ;) Jul 21 16:03:31 it's 68 in my house/office because the windows are open and i'm wearing a sweater hah Jul 21 16:03:41 ah Jul 21 16:14:53 and still no 1.4.5 Jul 21 16:14:54 crazy Jul 21 16:21:42 Hope everyone saw James Harris' new GPS Fix for VZW Pre Pluses. It works! http://www.precentral.net/promising-new-workaround-verizon-gps-issue-and-poll Jul 21 16:27:52 what is it fixing exactly? Jul 21 16:32:15 pandora--: Verizon Wireless Palm Pre Pluses have a known issue with the GPS. Few apps can reliably access it unless the VZ Navigator app is launched first (at least to the splash screen). GPS Fix provides a workaround to keep the GPS active without having to launch VZ Navigator. Jul 21 16:32:37 wow that sucks Jul 21 16:32:54 palm hardware has some serious issues Jul 21 16:33:06 part software too,but man. Jul 21 16:33:19 i'm going in to get Pre #3 and Pixi #3 today Jul 21 16:33:23 stupid Jul 21 16:38:51 pandora: That's not a Palm hardware issue. The AT&T Pre Plus has no GPS probs, nor do other carriers' Pres. It's some kind of VZ software thing. Jul 21 16:40:59 OK, that's better. Jul 21 16:41:04 <--formerly ProfJonathan Jul 21 16:41:17 Better to be consistent with my Palm-related Twitter ID. Jul 21 16:42:08 oh no Jul 21 16:42:10 lawyers Jul 21 16:42:25 i know right Jul 21 16:46:28 sweet, surprise money :D Jul 21 16:47:35 nice Jul 21 16:49:02 is there a way to ignore a tap on a certain div? Jul 21 16:49:10 in css Jul 21 16:49:20 -webkit-palm-mouse-target: ignore Jul 21 16:49:25 oooooh Jul 21 16:49:27 lemme try that Jul 21 16:50:13
Jul 21 16:50:17 like that? Jul 21 16:50:18 it should let taps "fall through" to underlying divs Jul 21 16:50:33 style= Jul 21 16:50:44 er yeah Jul 21 16:50:48 heh Jul 21 16:51:24 damn that didn't work at all Jul 21 16:51:29 :( Jul 21 16:51:38 I normally have it in the stylesheet Jul 21 16:51:45 but it should work inline, too Jul 21 16:52:49 maybe try important! with it Jul 21 16:53:06 or !important, actually Jul 21 16:53:08 morning haeffb_pre Jul 21 16:53:26 that's ok, working around it Jul 21 16:54:49 here's a more important question... how can I scroll a list back to the top? Jul 21 16:55:08 say i change the model (paging), I'd like it to be back at the top after updating the list contents Jul 21 16:55:08 I change the model (paging), I'd like it to be back at the top after updating the list contents! Jul 21 16:55:23 dekan: shut up Jul 21 16:55:23 Okay, pandora-- - be back in a bit! Jul 21 16:56:45 any idea? Jul 21 16:57:22 pandora--: yeah, there's a mojo for that Jul 21 16:57:27 revealTop, I think will work Jul 21 16:57:36 heh Jul 21 16:57:39 there's also a scrollTo Jul 21 16:57:41 damn bot Jul 21 16:57:45 which takes an element, I think Jul 21 16:57:53 hmm i think i found it in the docs Jul 21 16:58:06 haha Jul 21 16:58:12 * digitalpowers pets dekan Jul 21 16:58:35 * digitalpowers pats dekan Jul 21 16:58:36 * dekan purrrrrrrrrr Jul 21 16:58:40 * sugardave goes to cut planks. Jul 21 16:58:45 bbl Jul 21 17:04:56 *just pressed cmd + opt + ctrl + 8* Jul 21 17:06:25 damn that hasn't worked at all Jul 21 17:11:23 Amaranth: So, according to AT&T Cust Service, the Pixi Plus cannot be unlocked yet due to exclusitivity... Jul 21 17:12:29 yea, they're required to say that Jul 21 17:12:33 doesn't mean it's true Jul 21 17:12:49 nah, I figure I am going to call back today and say that I am going overseas Jul 21 17:13:05 lulz @ "data breach" here Jul 21 17:13:07 yea, that's how i get mine unlocked Jul 21 17:13:31 cause i use pay as you go sim cards in other countries Jul 21 17:15:16 Apparently, my device is "not eligible to unlock until 12/31/2010" according to the text message that I just received. Jul 21 17:16:10 which is probably when the subsidy is paid for Jul 21 17:16:22 probably Jul 21 17:17:01 The guy did state that their old policy was 6 months from purchase until device could be unlocked. I'll give the "I'm traveling" trick a try. Jul 21 17:17:06 It worked before. Jul 21 17:17:17 do you have any friends who are cops? Jul 21 17:17:29 ex-cops, none current Jul 21 17:17:37 might be still worth a try Jul 21 17:17:40 cops can get phones unlocked Jul 21 17:18:03 my friend's family has iphones on verison cause his dad is a cop Jul 21 17:18:29 Besides the fact thats not possible? Jul 21 17:18:35 huh... Jul 21 17:18:37 i think it's verison Jul 21 17:18:42 could be another carrier Jul 21 17:18:48 it's not on att Jul 21 17:18:49 Verizon is CDMA. Has to be another carrier. Jul 21 17:18:57 Probably T-Mobile? Jul 21 17:19:00 yea Jul 21 17:19:04 Or a regional Jul 21 17:19:12 i'd have to ask Jul 21 17:19:13 That makes more sense :) Jul 21 17:19:33 Unless this is a super secret iPhone with LTE :D Jul 21 17:20:25 yea, apple "lost" a few Jul 21 17:20:31 lol Jul 21 17:20:37 haha Jul 21 17:20:53 i wouldnt admit to knowing anyone who knows about a lost one though, police will be busting down your door Jul 21 17:21:08 They _are_ the police Jul 21 17:21:30 I used to intern at Apple. Let me tell you... They take that stuff very seriously. (So does Palm.) Jul 21 17:21:43 heh Jul 21 17:22:02 Apple probably more so. Like, beat you (well, figuratively) seriously. Jul 21 17:22:09 at dev days I may/may not have mentioned lockpicks in front of a security guard there. Jul 21 17:22:18 LOL Jul 21 17:22:27 well they did bust down the gizmodo guys door and he had already given the phone back Jul 21 17:22:35 nice, halfhalo_class Jul 21 17:22:55 yeah. Adora was like wtf Jul 21 17:23:20 haha Jul 21 17:24:11 Good times.... good times.... Jul 21 17:24:26 speaking of good times Jul 21 17:24:39 it was stupid Jul 21 17:24:40 I feel like we haven't speculated about the PalmPad enough in the last 12 hours Jul 21 17:24:48 they didn't lose those phones Jul 21 17:25:01 apple tried a new "leak" marketing stratagy and failed horribly at it Jul 21 17:25:51 tablets are a stupid idea in general. discuss Jul 21 17:26:12 I like tablets.... means I can lay in bed and browse ze internets easily Jul 21 17:26:26 something you have trouble doing on your phone or laptop? Jul 21 17:26:27 i have a tablet laptop Jul 21 17:26:39 laptop is to much of a pain and phone is to small Jul 21 17:26:55 so you feel like you honistly need a device inbetween? Jul 21 17:26:58 yes Jul 21 17:27:09 Tis what I use the ipad for now, and it works well Jul 21 17:27:18 lol Jul 21 17:27:22 i spent $200 less than you Jul 21 17:27:27 on a fully functioning laptop Jul 21 17:27:33 which is also a tablet Jul 21 17:27:41 Which laptop Jul 21 17:27:47 and by laptop, I mean netbook Jul 21 17:27:51 and mine can run any OS i want, isn't locked into an app store, and actually had better hardware Jul 21 17:27:56 hp tx200z Jul 21 17:27:59 2000z* Jul 21 17:28:18 i'm still totally unconvinced about the ipad Jul 21 17:28:26 yet so many people have bought them :/ Jul 21 17:28:31 ewww, hp tablets Jul 21 17:28:34 it was $650, 4gb ram, dualcore, 300gb hd, rotating screen Jul 21 17:28:42 with ubuntu Jul 21 17:28:52 and came out in 08 Jul 21 17:29:11 guise Jul 21 17:29:12 yea, i got it when i graduated Jul 21 17:29:15 450gb ssd Jul 21 17:29:19 in the PalmPad Jul 21 17:29:26 it does more than an ipad for less, and is better Jul 21 17:29:32 and it's older too Jul 21 17:29:34 and it's only 25 easy payments of 29.99! Jul 21 17:29:45 Meh, played with the 2000z's replacement, not very fond of it Jul 21 17:30:13 cept for random bugs when ubuntu decided to rewrite how xorg works, it's been awesome Jul 21 17:32:04 Tf2 downlaod speed: 10MB/s Jul 21 17:32:26 awwww Jul 21 17:32:31 dropped to 4.2 Jul 21 17:37:05 anyone else notice their phone is slower with dev mode on ? Jul 21 17:37:12 no Jul 21 17:37:27 its either dev mode or one of the patches i installed Jul 21 17:37:29 :| Jul 21 17:39:44 probably patch Jul 21 17:41:01 oh well im satisfied with the stock apps and app catalog ...homebrew is cool but i dont like risking making my phone slow Jul 21 17:41:17 it.. doesnt Jul 21 17:41:35 but i might be biased because my phone has been in dev mode since day 1 Jul 21 17:42:03 yea i put my phone in dev mode and installed 3-4 patches then i had to run webos doctor to restore some things because of a problem with sprint Jul 21 17:42:11 so i don't really know what running in regular mode is like Jul 21 17:42:12 and afterwards i noticed my UI was MUCH snappier Jul 21 17:42:18 but i'm almost positive it has no effect on speed Jul 21 17:42:31 well, thats because its a fresh doctor Jul 21 17:42:58 if this is what fresh is like i never wanna get un-fresh then :) Jul 21 17:43:09 to late Jul 21 17:44:21 halfhalo_class meant "too late" ;) Jul 21 17:44:29 no I didn't Jul 21 17:44:52 saving on bandwidth. :p Jul 21 17:45:35 hahaha Jul 21 18:01:51 ah fox news Jul 21 18:01:55 you never get old Jul 21 18:01:57 never get new Jul 21 18:02:01 always ruin my day Jul 21 18:02:14 what this time? Jul 21 18:02:33 why bother watching that shit? Jul 21 18:06:33 Hi there, could someone help me with a LIST-widget? I'd like to see the newest 20 entries in my model and ban the other from the view...how could I do that? Jul 21 18:06:58 this time Jul 21 18:07:09 "REPORT: Liberals debated shutting down Fox News" Jul 21 18:07:26 and the source is carl tuckerson, who is a fox news pundit, and conservative pundit Jul 21 18:07:38 and they make it out to be news Jul 21 18:08:40 alexfner: this is not a new thing....their Jul 21 18:08:48 "news" is 99% editorial Jul 21 18:09:13 plasmasolutions: sure, just reset the model's 'items' array Jul 21 18:09:21 and only include the newest 20 items Jul 21 18:09:24 modelChanged Jul 21 18:09:26 ta da Jul 21 18:10:45 so you would assume to hold the complete data in one location and the model with my wished amount in another?! Jul 21 18:11:05 or not Jul 21 18:11:11 depends on your needs Jul 21 18:11:23 if you only are interested in the top 20, why bother keeping the rest? Jul 21 18:11:24 oh god sugardave is here WE'RE ALL GONNA DIE! Jul 21 18:11:28 I thought that I could influence the view to only show a portion of my data Jul 21 18:12:08 no, I'm (my program is speaking) interested in all...but the user is not. Jul 21 18:12:12 :) Jul 21 18:12:38 plasmasolutions: so what is the harm in keeping a "full" array and only pulling out the top 20 from it for the list model? Jul 21 18:13:05 I suppose you could do something with renderLimit Jul 21 18:13:21 Nothing, except the presence of two arrays where I assumed to only need one ;) Jul 21 18:13:22 and just keep pushing things to the beginning of the array and then revealTop on the listy Jul 21 18:13:25 list Jul 21 18:14:12 man, all you people and not wanting an extra array....what are you storing in there, all the stars in the galaxy? :P Jul 21 18:14:31 if you do it right, you only manage the main array anyway Jul 21 18:14:36 :D Jul 21 18:14:42 then some fancy slicing/splicing to reset the model Jul 21 18:15:22 Yes, where do got this information from...this was a super secret app: it's called "StarSaver" and saves all the stars Jul 21 18:15:24 :) Jul 21 18:15:35 heh Jul 21 18:15:38 Now it's out...damn Jul 21 18:15:40 :D Jul 21 18:16:05 my god, its full of stars Jul 21 18:16:24 * plasmasolutions sees stars everywhere Jul 21 18:16:24 blah, back to cutting planks Jul 21 18:16:25 bbl Jul 21 18:17:03 So thank you for your hints on that...and please don't beat me when I'm asking another right away: Jul 21 18:18:48 I taught I taw a putty tat Jul 21 18:19:18 halfhalo, can you do me a favor? =D Jul 21 18:19:18 Did anyone get to try the haXe demo? Jul 21 18:19:28 yes, zsoc made me Jul 21 18:19:41 I'm getting a weird error while using the gps. My phone is lying in front of me next to a window. In the beginning of my request (startTracking) I'm getting altitudes of 0...so far, so good. The the alt is going to become correct: 276 meters...after a while... -1000000, repeating some times and going back to normal, repeating the errorness values, going back to normal and so on... did you stumble about that once? Jul 21 18:19:47 havn't tried haXe demo yet Jul 21 18:20:59 halfhalo_class: Did it run fine for you? It didn't explode or anything? :) Jul 21 18:21:25 ran fine, abeit only at 30 fps. And no unsual explosions (only the usual ones) Jul 21 18:21:34 Oh, I set the frame rate to 30 FPS Jul 21 18:21:56 I had it up at 60 before, but then it felt less consistent if it fluctuated, since I"m missing a frame limiter on the C++ side Jul 21 18:22:19 Optimizing physics stuff is a tricky thing, too Jul 21 18:22:32 For example, if the "size" of the physics stage is smaller, performance is a lot faster Jul 21 18:22:48 So in real projects, you might have a "physics" world that's at a tenth scale Jul 21 18:22:54 This one is a 1:1 relationship Jul 21 18:23:28 When I first ran it it was around 4 FPS, but then I did some optimizing Jul 21 18:23:34 It could run even faster :) Jul 21 18:23:47 But I'm glad it's working! Thanks for trying it out (even if you were forced!) Jul 21 18:28:09 is chuq still with palm? Jul 21 18:28:17 yes he is Jul 21 18:28:56 alexfner: are you trying to start more rumors? Jul 21 18:29:07 thats _my_ job Jul 21 18:29:58 HattCzech_work, did you vote for "Earn the Stars" yet? =D Jul 21 18:30:31 I'll create an account for you to make your life easier Jul 21 18:30:43 lies! All lies! Jul 21 18:30:50 yeah, that would work... i wasn't a fan of registering Jul 21 18:33:19 yes I am Jul 21 18:33:22 http://alexhaefner.com/canvas/game.html Jul 21 18:33:24 LETS GO Jul 21 18:33:29 I'm leaving it for the next few minutes Jul 21 18:33:31 CHROME oNLY Jul 21 18:34:51 * Mousey tries Jul 21 18:34:54 * Mousey doesn't get it Jul 21 18:35:02 you click it, the block moves Jul 21 18:35:05 websockets Jul 21 18:35:11 multiple people are in Jul 21 18:35:13 dicking around Jul 21 18:35:19 fascinating? Jul 21 18:35:25 * halfhalo_class attempts to break it Jul 21 18:36:21 whats it let you do from the server end. socket implies you can connect from your end BACK Jul 21 18:36:22 you could inject stuff Jul 21 18:36:22 scary Jul 21 18:36:23 hgaggaga Jul 21 18:36:28 * Mousey closes chrom Jul 21 18:36:28 e Jul 21 18:37:00 there;s no security in it Jul 21 18:37:05 so don't mess with my javascript! Jul 21 18:37:07 :D Jul 21 18:37:09 I no, rite? Jul 21 18:37:10 it's just a tiny demp Jul 21 18:37:18 HattCzech_work, pmed you the info Jul 21 18:37:53 demo* Jul 21 18:38:51 my god, fnally that computer dies Jul 21 18:39:37 alexfner: https://secure2.convio.net/eff/videos/flowplayer/flowplayer.swf Jul 21 18:39:59 Mousey: There's nothing there? Jul 21 18:40:04 oh Jul 21 18:41:02 I am NOT spamming stuff AT ALL Jul 21 18:41:41 alexfner: https://w2.eff.org/ninapaley/ Jul 21 18:44:11 still not clear on what that is? Jul 21 18:44:28 websockets are evil! Jul 21 18:44:40 why... Jul 21 18:44:51 * Mousey cowers in fear of server side injections Jul 21 18:44:54 Their basically push ajax requests... Jul 21 18:45:04 i'm just being silly, i'll stfu now Jul 21 18:45:14 Damn straight you will Jul 21 18:45:17 =P Jul 21 18:45:51 ok maybe someone can point out an oversight on my part. I am getting /Cannot read property 'length' of object, line undefined, file undefined, palmInitFramework347:2527/ error when trying to execute this code. http://pastebin.com/s6N2uei3 Jul 21 18:46:22 snacks be null Jul 21 18:46:28 they arent Jul 21 18:46:41 I have run a breakpoint inside the loop and checked the contents Jul 21 18:47:08 I am declaring shopItems in stageassistant and filling it in game.init() Jul 21 18:47:17 I was thinking it was some sort of scope issue Jul 21 18:47:29 is snacks an array or hash? Jul 21 18:47:35 array Jul 21 18:47:42 hmmmm Jul 21 18:47:44 mmmmmmm Jul 21 18:47:45 mmmmmmmmm Jul 21 18:47:59 and the loop is inside another scene assistant setup function Jul 21 18:48:14 but stage assistant objects are global right? Jul 21 18:48:35 first, why are you doing a for loop. Its much easier to just go *.snacks.each Jul 21 18:48:37 they are defined outside the prototype functions and other ones that are declared work fine Jul 21 18:48:50 Idk js too well Jul 21 18:48:57 Using what tools I know work Jul 21 18:49:40 do a mojo.logo.info right above it and see whats in snacks Jul 21 18:49:45 I tried Jul 21 18:49:48 It doens't show up in the log Jul 21 18:49:59 what does sho up? Jul 21 18:50:00 O_O I did logs for all the variables non show up Jul 21 18:50:00 you guys aren't screwing with my websockets are you? :D Jul 21 18:50:04 nothing shows up Jul 21 18:50:19 it doesn't output anything to the log area Jul 21 18:50:22 as in, nothing at all or undefined or null? Jul 21 18:50:37 oh, stick a "#"+ in the mojo.log.info as well Jul 21 18:50:38 nothing... almost as if the command isnt working Jul 21 18:50:40 makes it sho up Jul 21 18:50:58 where abouts? Jul 21 18:51:29 it would be Mojo.log.info("#"+shopItems.snacks); Jul 21 18:53:10 Hello, how do i give a textfield value to another scene? Jul 21 18:53:21 this.controller.get("textfield").mojo.getValue() doesnt work Jul 21 18:54:05 Object function (message,values){ if(console&&console.log){ if(message.match(/#\{.*?\}/)){ Mojo.Log.warn("Mojo.log() with template evaluation is deprecated. Please use %%s-style format strings instead."); if(values){ var template=new Template(message); message=template.evaluate(values); } Mojo.Log.warn(message); }else{ Mojo.Log._logImplementation(Mojo.Log.LOG_LEVEL_INFO,$A(arguments)); } } }... Jul 21 18:54:07 ...has no method 'info', line object, file undefined, palmInitFramework347:2527 Jul 21 18:54:22 I get that with the # sign in lol Jul 21 18:54:50 then mojo.log.info be bad Jul 21 18:55:14 used too much internet on my websockets Jul 21 18:55:20 lol Jul 21 18:55:23 really? Jul 21 18:55:29 got bumped off the internet Jul 21 18:55:37 its not very bandwidth intensive Jul 21 18:55:42 hi Jul 21 18:55:43 is there any way to open the popup connection through my app? Jul 21 18:55:50 university network administration policies methinks Jul 21 18:56:06 ohhh... to many simultaneous connections.... Jul 21 18:56:28 heh Jul 21 18:56:33 I no has any restrictuons Jul 21 18:56:41 argh so frustrating. Jul 21 18:56:51 But thats only because I work for my campus as a webdev Jul 21 18:57:20 I work on campus as a webdev Jul 21 18:57:24 and I'm not entirely sure what caused it Jul 21 18:57:28 I am just guessing Jul 21 18:57:33 lol Jul 21 18:57:42 where do you go? Jul 21 18:57:58 University of Michigan Jul 21 18:58:01 you? Jul 21 18:58:13 Cal State Northridge Jul 21 18:58:19 Werd Jul 21 18:58:29 I go to work Jul 21 18:58:31 :P Jul 21 18:58:42 Same here ;) Jul 21 18:58:44 lol Jul 21 18:58:50 I go ... home? Jul 21 18:58:52 Im sitting at work freezing right now Jul 21 18:59:24 I'm sitting at work playing with websockets Jul 21 18:59:52 I get every wednesday off so I'm sitting at my inlaws playing with unexplained bugs Jul 21 18:59:53 we don't seem to have much to do this summer, in flux Jul 21 18:59:56 new design, new cms Jul 21 19:00:28 My dept. is broke and understaffed right now Jul 21 19:00:43 Only student assistant left. There were 3 others when I joined Jul 21 19:00:46 well just hire some interns ya dingus! Jul 21 19:00:53 no monies Jul 21 19:01:05 wait, thata a lie, theres monies for one more right now Jul 21 19:03:31 halfhalo_class: : so I guess you don't know what would be causing the issue? Jul 21 19:03:48 not without being able to see the code, play with it, etc Jul 21 19:04:26 Anivrom: I feel like we've had this talk about showing your code already Jul 21 19:05:06 My code is so horribly written you would need a roadmap to figure out what is what. Jul 21 19:05:09 Anivrom: Make sure you have Mojo.Log.info, and not Mojo.log.info or something like that Jul 21 19:05:18 * halfhalo_class pulls out roadmap Jul 21 19:05:19 elyon: yea I got that Jul 21 19:05:32 Anvirom: Is .mojo available at the time you try and call .mojo.getValue () ? Jul 21 19:05:47 I dont call getvalue youre confusing me with someone else Jul 21 19:06:14 Oh, sorry :) Jul 21 19:09:01 when I breakpoint before the loop and type in shopItems.snacks.length in the debugger it says 7 Jul 21 19:09:14 when I step through the loop the objects are in each variable as they should Jul 21 19:09:33 but when I run it without breakpoints it says cannot read property length Jul 21 19:10:34 Anvirom: http://pastebin.com/Hwi0jVyC Jul 21 19:10:48 * halfhalo_class has his tf2 server up Jul 21 19:12:34 on linode? Jul 21 19:12:38 yeah Jul 21 19:12:56 Hello! Could anyone have a look at a simple JS each() loop and why the source array also gets modified? Jul 21 19:13:54 http://pastebin.com/P9X9jNV4 Jul 21 19:14:56 Last two lines, right? Jul 21 19:15:16 You're pushing the enabled items onto "ul", which is what you're iterating through Jul 21 19:15:17 elyon: no logs showing up. Jul 21 19:15:42 halfhalo_class: linode, which vph package? Jul 21 19:16:01 Anivrom: That's strange. You have Putty or something set up, and the trace level is set to 99 and debug is true, in framework config JSON? Jul 21 19:16:23 loglevel is 99 Jul 21 19:16:25 base package Jul 21 19:16:36 rretsiem: Instead of ul.items = enabledItems; enabledList.push(ul); Jul 21 19:16:47 rretsiem: Wouldn't you want enabledList.push (enabledItems); Jul 21 19:17:00 rretsiem: If you don't want to modify the original array? Jul 21 19:17:20 or enabledList.push ( { items: enabledItems } ); Jul 21 19:18:45 elyon: but in first line i do already a clone() from this.list, but after the loop is done, this.list also has the modified items Jul 21 19:18:55 elyon: 5th line Jul 21 19:18:57 good afternoon everyone Jul 21 19:19:03 good afternoon Jul 21 19:19:15 rretsiem: I've never tried to do it that way before Jul 21 19:19:18 good evening from Germany :) Jul 21 19:19:29 rretsiem: You could just create a new blank array, iterate through and push all the ones you need Jul 21 19:20:08 elyon: I thought that's what I do with this code above? Jul 21 19:20:09 hallo rretsiem from deutschland Jul 21 19:21:42 halfhalo_class: What level of bandwidth/cpu does that actually use? Jul 21 19:22:16 I submitted a new version of the code where you can see the actual results of the both arrays: http://pastebin.com/jSr7mPVK Jul 21 19:26:03 alexfner: I think total my server is using 450MB of memory, and maybe 10GB a month (not counting initial file downloads for the ds) Jul 21 19:27:30 rretsiem: Something like this? http://pastie.org/1054170 Jul 21 19:27:44 each looks more elegant, but it might be doing something weird Jul 21 19:27:48 oh go Jul 21 19:27:48 Its looking like if they were the only things running on a linode you could run two servers at a time on the basic pack Jul 21 19:27:50 d Jul 21 19:27:52 getting tired Jul 21 19:29:45 wth Jul 21 19:30:43 indeed....... Jul 21 19:31:00 nginx didn't start up with the server Jul 21 19:31:02 I'm completely confused! Jul 21 19:32:29 Anivrom: My steps for logging are to open the emulator, open Putty, connect on port 5522, root, no password, log com.my.app.namespace, then I'll get log messages. If the log level is wrong or debug is off, I'll get system messages only, but I'll definitely get messages of some kind Jul 21 19:33:43 Anivrom: And if I am getting messages, I'll try throwing Mojo.Log.info ("############################"); somewhere that I know will execute, so its easy to find in the stack of messages Jul 21 19:33:52 If I'm having trouble finding my log messages Jul 21 19:34:50 super slow computer being super slow Jul 21 19:36:05 well it doesn't matter cause I just add a breakpoint and stop my code and type in the variable manually Jul 21 19:36:33 if I step through it doesn't throw any errors Jul 21 19:36:39 its only when I let it run though Jul 21 19:36:48 elyon: I'll give it a try now, but I have tried it that way already, anyway i give you feedback. Thanks for now :) Jul 21 19:42:42 ok now I know something is up Jul 21 19:43:10 I took out all the code that pertained to .length and it still throws a Cannot read property 'length' of object error Jul 21 19:50:30 Well, I think it can throw that error if you try to push to an array which doesn't exist Jul 21 19:50:55 You don't need to predefine objects in Javascript ... so you can do "VariableThatDoesntExist = 100" and it works Jul 21 19:51:00 elyon: I don't get it, your code works, BUT! if I change your line 9 from: var enabledModel = { label: childModel.label, items: [] }; to var enabledModel = childModel; enabledModel.items = []; Jul 21 19:51:17 I forgot the circumstances Jul 21 19:51:30 But I think sometimes when I try a push and I haven't defined the array, it complains about length instead Jul 21 19:51:33 elyon: than the same happens as with the each(), and again I do not work on the this.list Array here Jul 21 19:52:07 Well, if you define enabledModel to be childModel, then enabledModel is just a reference to childModel Jul 21 19:52:11 It hasn't duplicated it Jul 21 19:52:23 You have to create a new object, then copy the properties over Jul 21 19:52:44 thats what the clone() does in my first code snippet? Jul 21 19:52:58 Well, that's what I would assume its supposed to do :) Jul 21 19:53:09 But maybe it isn't working like we would expect it to? Jul 21 19:53:18 Oh, wait ... Jul 21 19:53:43 i did a var enabledModel = childModel already, that also should "clone" it, isn't it? Jul 21 19:54:17 Nope Jul 21 19:54:28 If I do car = MyCar Jul 21 19:54:36 And then car.haveAnAccident Jul 21 19:54:39 I've wrecked my car Jul 21 19:54:57 confusing analogy :P Jul 21 19:55:02 :-) Jul 21 19:55:07 Okay, I've wrecked MyCar :) Jul 21 19:55:15 It's a pointer ... Jul 21 19:55:24 It's just a reference to the original object Jul 21 19:55:35 A rose by any other name is still a rose Jul 21 19:55:36 but a var enabledModel = childModel.clone(); should do it? Jul 21 19:55:40 YOu just came up with a different name Jul 21 19:55:44 I would think so ... Jul 21 19:56:38 Ah. Jul 21 19:56:40 "Do note that this is shallow copy, not deep copy." Jul 21 19:57:08 So it's just like saying this: Jul 21 19:57:26 var enabledModel = { label: childModel.label, items: childModel.items } Jul 21 19:57:43 So when you reference or change enabledModel.items, you're referencing childModel.items Jul 21 19:57:50 However, this might work: Jul 21 19:58:05 var enabledModel = childModel.clone () Jul 21 19:58:12 enabledModel.items = childModel.items.clone (); Jul 21 19:58:35 or enabledModel = { label: childModel.label, items: childModel.items.clone() }; Jul 21 19:59:01 omg Jul 21 19:59:17 Did that make sense? Jul 21 19:59:23 totally not :) Jul 21 19:59:37 i understand it, but i didn't get it :) Jul 21 19:59:41 okay Jul 21 19:59:42 :) Jul 21 19:59:53 when i clone() a object, i thought i clone the whole object Jul 21 19:59:56 Think of it like shortcuts Jul 21 20:00:07 umm ... no. Jul 21 20:00:08 Okay Jul 21 20:00:19 If childModel.label = "hello" Jul 21 20:00:28 then I say enabledModel.label = childModel.label Jul 21 20:00:34 then enabledModel.label = "hello" Jul 21 20:00:38 Strings are a simple data type Jul 21 20:00:41 It's a copy Jul 21 20:00:50 However, if I reference an object, it does a shortcut instead Jul 21 20:01:00 So if enabledModel.items = childModel.items Jul 21 20:01:08 It's a shortcut, referencing the same object Jul 21 20:01:28 So if I alter enabledModel.items, I alter childModel.items Jul 21 20:01:47 I have to create a new array for it to be distinct Jul 21 20:01:58 so enabledModel.items = new Array (), it's a NEW object, not a shortcut Jul 21 20:02:05 o.k. my mistake was, that I thought a clone() of an object clones the WHOLE object Jul 21 20:02:23 So then if I do enabledModel.items[0] = childModel.items[0], then enabledModel.items is still its own unique object Jul 21 20:02:29 Yeah, that's what they meant about "shallow copy" Jul 21 20:02:39 Its a single loop to copy the properties of the other object Jul 21 20:02:52 In order to truly duplicate it at a deep level, you would have to iterate through each additional level Jul 21 20:02:58 Which could take along time Jul 21 20:03:15 So trust me, enabledModel.items = childModel.items.clone () will work Jul 21 20:03:21 Because then you have two distinct arrays Jul 21 20:03:23 yeah, and this is why i thought about clone() is the right thing, it sounds like it is the right thing :) Jul 21 20:03:38 So changing the first array will indeed be separate than the second array Jul 21 20:03:59 i read clone() and didn't read the "shallow" Jul 21 20:04:12 That's what I meant about "supposed to" ... Jul 21 20:04:28 I used to use a lot of "with {" statements when I started working in flash Jul 21 20:04:40 but there's actually technicalities that caused trouble Jul 21 20:05:08 instead of myObject.myArray.myItem, you could write with (myObject.myArray) { myItem } Jul 21 20:05:22 To do a lot of things to objects which start with the same reference Jul 21 20:05:34 But it would fail if you tried to define new variables and stuff like that Jul 21 20:05:36 Just a pain :) Jul 21 20:05:43 horrible :) Jul 21 20:11:44 Hey, is anyone from developer relations here? Jul 21 20:12:15 yes Jul 21 20:12:17 what do you need? Jul 21 20:12:27 we offer complementary valet service, only Jul 21 20:12:32 ;) Jul 21 20:12:47 I have an app that shows as published, but the link doesn't work Jul 21 20:12:52 It's for web distribution Jul 21 20:13:24 Not sure if the server won't allow it, because its 1.4.5, or ... ? Jul 21 20:13:44 I was kidding... Jul 21 20:13:51 also Jul 21 20:13:58 I encountered this problem recently Jul 21 20:14:06 it just took a few hours for the servers to sync up Jul 21 20:14:28 Maybe it's because of the PDK ... Jul 21 20:14:37 This process takes a whole lot longer than it used to :) Jul 21 20:14:51 But ... a day longer is still a lot better than some of the other platforms people put up with :) Jul 21 20:15:26 At least I don't need to fear that Palm will up-end the tea table and deny my app "just because" Jul 21 20:17:30 no one denys apps just because Jul 21 20:18:25 elyon: //this.controller.setWidgetModel("categoryList", this.categoryListModel); is the line triggering the length error Jul 21 20:21:42 sugardave: Still no luck on that code we worked on yesterday Jul 21 20:24:20 Anivrom: Is this.categoryListModel.items.length defined? Jul 21 20:24:45 alexfner: I wasn't being strictly literal. I know that every company has reasons for refusing an application Jul 21 20:24:57 alexfner: However, some processes feel more subjective than others Jul 21 20:24:58 elyon: JUST got it working Jul 21 20:25:11 Turns out the problem was with the this. identifyer. Jul 21 20:25:23 I too it out of all the code since it's all local creation and it works Jul 21 20:25:32 alexfner: For example, haXe runs on the iPhone, but it would be refused because you are not allowed to write in a language other than C or Javascript Jul 21 20:25:37 although no images are showing up Jul 21 20:25:39 ... Jul 21 20:26:02 alexfner: It isn't "just because", but to some, it feels a lot more subjective than, "because you didn't strip the binary. Run it with -s then resubmit" Jul 21 20:27:53 ah there we go Jul 21 20:29:59 Anivrom: Great! Jul 21 20:30:14 Anivrom: Life is so much better when things aren't broken, "just because" ;) Jul 21 20:30:45 so it was the this. identifier. it was looking for a assistant scope variable, I just had to point it to the function scope var Jul 21 20:31:02 Anivrom: Ah ... that makes sense Jul 21 20:31:28 pretty gay that tiny thing took up 3 hours of my time lol Jul 21 20:34:08 http://webos.pastebin.com/30kxNtZ1 Jul 21 20:34:14 can anyone help me with this code? Jul 21 20:34:26 want to add a new item to a list from a dialog Jul 21 20:34:49 always get cannot call method "get" of object Jul 21 20:35:06 try this.controller.get instead of $? Jul 21 20:35:09 who knows Jul 21 20:35:55 same error Jul 21 20:36:04 paste the error?? Jul 21 20:36:29 Uncaught Type Error: Cannot call method "get" of object Jul 21 20:36:39 i already did above ;) Jul 21 20:37:16 Do you have a var that is a refference to mainassistant? Jul 21 20:37:49 You can't just use MainAssistant.controller I dont think. You have to assign a reference var pointing to mainassistant Jul 21 20:37:55 ok Jul 21 20:37:56 If anyone wants to chime in and correct me Jul 21 20:37:57 i have one Jul 21 20:38:18 when i put MainAssistant in front of the .get function i get a new error Jul 21 20:38:37 Uncaught TypeError: Object function MainAssistant(isPushed, newName) { } has no method 'get' Jul 21 20:38:44 nono you still have to do assistantRef.controller.get Jul 21 20:38:58 today is when I need it not to rain....and of course, in the freaking middle of July in Austin it rains Jul 21 20:39:08 But you just have to assign the main assistant to assistantRef or w/e Jul 21 20:39:15 Sugardave I got the list working Jul 21 20:39:21 coolio Jul 21 20:39:47 Where would I acccess the css of the list? I want to make the list items height taller Jul 21 20:39:55 elyon: FYI: http://pastebin.com/ZMEh3KtY I've found a function that does exactly what I need Jul 21 20:40:45 Anivrom: you can put your overrides in the regular stylesheet Jul 21 20:40:56 sugardave: it's just like with me...if I'm off work == rain Jul 21 20:40:59 something like .palm-row {min-height: 50px;} Jul 21 20:41:38 Anivrom: you can also apply different CSS style to first and last row in list Jul 21 20:41:45 i have updated the code anivrom Jul 21 20:41:46 b0bben: I just finished cutting the lamest piece of floor (notched out to go around the stair posts)...looking at a bunch of long straing cuts.....rain Jul 21 20:41:46 http://webos.pastebin.com/n0y4mwj5 Jul 21 20:41:49 blah Jul 21 20:41:53 still same error Jul 21 20:41:53 .palm-row.first/ Jul 21 20:41:54 and .last Jul 21 20:41:56 straight, too Jul 21 20:42:12 sugardave: i feel your pain... Jul 21 20:42:33 .palm-row .first that is Jul 21 20:42:35 Anathema: there are some heavy hitters in the room now that you can direct your questions towards and they will straighten you up... sugardave *cough* Jul 21 20:42:51 heh, I can try Jul 21 20:43:35 can anyone look at my code? debbuger output: cannot call method "get" of object: http://webos.pastebin.com/n0y4mwj5 Jul 21 20:43:46 the first line within the code Jul 21 20:44:04 Anathema: is this Ares or straight Mojo? Jul 21 20:44:09 ares Jul 21 20:44:12 but only code Jul 21 20:44:20 dont use the palette Jul 21 20:44:37 I THINK (I don't do Ares) you can change MainAssistant.controller... to this.$.controller.... Jul 21 20:44:50 You dont need controller Jul 21 20:44:59 oh, so this.$.get? Jul 21 20:45:05 correct Jul 21 20:45:14 but they don't recommend that syntax anymore Jul 21 20:45:20 oh :P Jul 21 20:45:29 Cause $ is subject to change Jul 21 20:45:30 still the same :) Jul 21 20:45:46 Anathema: okay, try this.controller.get instead Jul 21 20:45:53 he tried that too Jul 21 20:45:57 indeed Jul 21 20:45:59 blarg Jul 21 20:46:00 i did Jul 21 20:46:13 Wait sugardave he's in another scene and trying to call something from mainassistant\ Jul 21 20:46:20 this is just a regular scene assistant? Jul 21 20:46:21 I told him he needs a var that refs mainassistant Jul 21 20:46:21 oh Jul 21 20:46:24 yes, im in a dialog scene Jul 21 20:46:32 isn't it Ares.controller.get ? Jul 21 20:46:41 :O Jul 21 20:46:43 oh oh oh Jul 21 20:46:43 wait i paste the full assistant code Jul 21 20:46:49 played with it only once, so don't take my word for it... Jul 21 20:46:56 you need to pass in a reference to the scene controller when you call the dialog Jul 21 20:47:20 and then you use that reference.controller.get Jul 21 20:47:25 http://webos.pastebin.com/Xh3ZG1km Jul 21 20:47:33 oh, don't mind me, didn't read conv. properly Jul 21 20:48:17 Anathema: so, you already have the reference Jul 21 20:48:35 yes sceneAssistant Jul 21 20:48:37 so your MainAssistant.controller get should be this.sceneAssistant.controller.get Jul 21 20:49:13 okay, play with that...gotta go cut some more planks Jul 21 20:49:14 i get sceneAssistant is not defined Jul 21 20:49:15 bbl Jul 21 20:49:19 this. Jul 21 20:49:24 oh ok Jul 21 20:49:30 this.sceneAssistant is what you are saving it to Jul 21 20:49:38 ok bbl Jul 21 20:49:48 sometimes the conversation in here can give ya a headache Jul 21 20:49:54 not that it's a bad thing Jul 21 20:50:57 sugardave, i wanna kiss you :D Jul 21 20:51:12 it works Jul 21 20:51:27 lol he's afk but he'll get it when he gets back Jul 21 20:51:32 thats great it works Jul 21 20:53:37 hey guys. Anyone can tell me, where to get mobile advertise? to implement in my app. Jul 21 20:55:04 http://www.admob.com/ Jul 21 20:55:13 thank you Jul 21 20:55:15 np Jul 21 20:58:56 elyon: there's your dev relations Jul 21 21:03:14 haeffb-pre! Jul 21 21:03:42 why, yes, it is! Jul 21 21:07:07
Jul 21 21:07:09 Jul 21 21:07:10 #{name} Jul 21 21:07:12
Jul 21 21:07:22 how would I set everything to sit in the middle Jul 21 21:07:25 of the list Jul 21 21:10:36 ah, bowl break Jul 21 21:10:42 I like being on vacation Jul 21 21:11:11 Anivrom: you could try
around the things you want to center Jul 21 21:11:16 that may or may not work Jul 21 21:11:41 Anivrom: text-align: center; Jul 21 21:12:04 you could also float: left; the image, wrap #{name} in another div and float: right; it Jul 21 21:12:10 Sorry to elaborate, I want to vertically align the things so they are in the middle of the list Jul 21 21:12:29 I tried vertical-align: middle Jul 21 21:12:33 doesnt do anything Jul 21 21:12:38 one last question. i have no backup of my last app ipk. it's on the app catalog. is there a way to get the ipk somehow? Jul 21 21:12:51 Anivrom: set position: absolute; Jul 21 21:12:59 then left: 20px; Jul 21 21:13:00 for example Jul 21 21:13:19 both elements will need their own class though Jul 21 21:13:42 amiroo: you could probably get it of your phone Jul 21 21:13:55 not sure if ipks are there Jul 21 21:14:00 you could get the source Jul 21 21:14:07 then repackage it Jul 21 21:14:10 and then pack again Jul 21 21:14:12 oh ok Jul 21 21:14:14 thank you Jul 21 21:14:20 lol I find that funny how you can rip someone's source straight from your phone. Jul 21 21:14:44 that's scary Jul 21 21:15:10 amiroo: here is some searching magic for ya: find / | grep "com.mycompany.myapp" Jul 21 21:15:12 try that Jul 21 21:15:42 the thing is i have no phone right heere :-( Jul 21 21:15:45 but thank you Jul 21 21:15:49 just the emulator Jul 21 21:15:55 yeah, that is a problem Jul 21 21:15:55 :D Jul 21 21:16:01 and there is no app catalog in the emulator ;-) Jul 21 21:16:09 i get a phone to do that later Jul 21 21:16:16 is it a free app? i could install it and pick it out for ya? Jul 21 21:16:31 can't buy apps, unsupported country... Jul 21 21:16:34 yes it is. but distributed in germany only Jul 21 21:16:41 lol Jul 21 21:16:43 german phone right here ;) Jul 21 21:16:48 what's the name? Jul 21 21:16:48 really? Jul 21 21:16:50 in lucj Jul 21 21:16:52 luck Jul 21 21:16:53 tv-guide light Jul 21 21:16:55 wow Jul 21 21:16:56 :-) Jul 21 21:16:58 bloody palm, still trying to figure out why they segregated like that Jul 21 21:17:52 amiroo: installed Jul 21 21:18:01 awesome Jul 21 21:18:01 no, amiroo, YOU'RE AWESOME! Jul 21 21:18:06 com.miroomedia ? Jul 21 21:18:09 right Jul 21 21:18:11 why me? Jul 21 21:18:21 give me a couple of mins... Jul 21 21:18:29 sure Jul 21 21:19:30 I guess it would be nice to be able to download our submitted ipks from the dev portal for situations like this Jul 21 21:19:43 exactly! Jul 21 21:19:48 or at least the last one Jul 21 21:22:41 novaterm is giving me "unable to find device" Jul 21 21:22:44 wtf? Jul 21 21:22:49 ??? Jul 21 21:23:05 strange Jul 21 21:23:09 do i have to reactive it as dev device after firmware upgrade? Jul 21 21:23:19 dev mode? Jul 21 21:23:42 yes Jul 21 21:24:00 i think... Jul 21 21:24:05 hmm Jul 21 21:24:10 upup? :) Jul 21 21:24:18 can't find the damn link on developer.palm.com Jul 21 21:24:21 chuqui: I have an application that's "submitted" for web distribution, but the link still doesn't work. Do I just need to wait? Jul 21 21:24:26 there's a shorter one... Jul 21 21:24:26 crappiest page evah! Jul 21 21:24:35 webos2009 maybe? Jul 21 21:24:51 elyon yeah. it takes some time to propogate. Jul 21 21:25:53 webos20090606 Jul 21 21:25:56 and it was on... Jul 21 21:25:59 wtf Jul 21 21:26:07 b0bben: the "konami" one is upupdowndownleftrightleftrightbastart Jul 21 21:26:27 pixi is webos20090606 Jul 21 21:26:42 i'm in Jul 21 21:26:51 webos20090606 worked btw Jul 21 21:26:53 ok you're going to see a door on the left Jul 21 21:26:56 emu was running Jul 21 21:27:03 that's why Jul 21 21:27:04 Open it and run to the hallway Jul 21 21:27:04 b0bben: shouldn't matter Jul 21 21:27:10 ahhhh Jul 21 21:27:13 or my third-party cable sucks Jul 21 21:27:18 novaterm defaults to the device if both are attached Jul 21 21:27:22 well, it's supposed to Jul 21 21:27:30 it's supposed to ;-) Jul 21 21:31:15 now it won't mount in usb mode Jul 21 21:31:22 need to restart this phone, this is sick Jul 21 21:31:30 sorry for that Jul 21 21:31:33 hell, you can probably make the ipk with 'ar' and email it from there Jul 21 21:31:33 i have your code on my sd-card amiroo ;) Jul 21 21:31:44 no probs man Jul 21 21:31:53 great :-) Jul 21 21:32:40 would you email it to khostevan@miroo-media.de please? Jul 21 21:33:13 ouch, I hope that address has a good spam shield :D Jul 21 21:33:33 * Anivrom initializes bots Jul 21 21:34:06 i trust you guys Jul 21 21:34:15 first mistake :P Jul 21 21:34:19 I KID Jul 21 21:34:27 >_> Jul 21 21:34:27 amiroo: you've got mail Jul 21 21:34:32 anybody else interested in helping to vote for my application? =) Jul 21 21:34:44 amiroo: it's not us....this channel is logged on a public server :D Jul 21 21:34:45 thank you!!!! got it! Jul 21 21:35:02 oh Jul 21 21:35:15 so let's hope the best Jul 21 21:35:19 heh Jul 21 21:35:24 amiroo: can I ask you a favor now that I've saved your life? ;) Jul 21 21:35:32 rofl Jul 21 21:35:32 for sure! Jul 21 21:35:43 For anyone who's interested, I've written a "how to" for haXe and webOS development Jul 21 21:35:44 https://developer.palm.com/distribution/viewtopic.php?f=70&t=8194 Jul 21 21:35:48 amiroo: could you translate 3 strings for me to german? Jul 21 21:35:53 sure Jul 21 21:36:00 kewl, will send PM Jul 21 21:36:04 ok Jul 21 21:36:20 FYI :) Jul 21 21:38:20 man i miss my uberkernel Jul 21 21:38:54 has anyone got here a dynamic list working? im getting crazy Jul 21 21:39:08 Anivrom: on 1.4.5? Jul 21 21:39:14 yes Jul 21 21:39:16 when i add a new item to list via noticeAddedItems, i cant select it via event.items Jul 21 21:39:17 Anivrom: there is a testing UberKernel Jul 21 21:39:20 installed it today myself Jul 21 21:39:28 Nono its not that I cant get it Jul 21 21:39:29 rocks, as usual...no issues at all Jul 21 21:39:41 I dont wanna install it cause of warranty Jul 21 21:39:47 I plan on breaking my phone through general use Jul 21 21:39:52 so renew the warranty Jul 21 21:39:54 to* Jul 21 21:40:24 Anivrom: you scammer ;) Jul 21 21:40:33 its perfectly valid Jul 21 21:40:34 just doctor before you sink it into your toilet Jul 21 21:40:42 water damage doesn't count Jul 21 21:41:02 palm's website is not very IE friendly =) Jul 21 21:41:12 Not very webOS friendly, either ;) Jul 21 21:41:18 At least the developer site isn't Jul 21 21:41:26 Mostly the disappearing text, I suppose Jul 21 21:42:39 Yay! It went live :) Jul 21 21:42:41 http://developer.palm.com/webChannel/index.php?packageid=com.eclecticdesignstudio.haxedemo Jul 21 21:43:49 elyon: the text to image thing on dev site is the most stupid thing ever Jul 21 21:44:08 elyon: congrats! Jul 21 21:46:23 b0bben: You mean the screenshot? Jul 21 21:46:50 no, the thing palm does with text captions on their dev site Jul 21 21:46:54 elyon: Oh, oh .. yeah .. the Palm .. yeah :) Jul 21 21:46:56 they turn them into images Jul 21 21:46:57 oops. Jul 21 21:47:04 I meant b0bben: Jul 21 21:47:09 I wasn't muttering to myself, I promise :) Jul 21 21:47:12 mwahaha Jul 21 21:47:21 Yeah, it's definitely a pain when trying to access it on the phone Jul 21 21:47:39 Hmm anyone know how to get rid of the br line between list items? google isn't giving up any info Jul 21 21:47:42 But fortunately they have those vertical bars! You try and memorize which bar is next to which link ... :) Jul 21 21:47:59 Anivrom: It's a border-bottom on one of the div elements Jul 21 21:48:15 ok... so how do I fix it ? Jul 21 21:48:17 lol Jul 21 21:48:55 No, nevermind Jul 21 21:49:06 .palm-row { background: none } Jul 21 21:49:08 roy pre havnt been here for a while -_- Jul 21 21:49:19 was here a few days ago Jul 21 21:50:06 halfhalo_class, can you do me a big favor? Jul 21 21:50:20 myyyyyyyyyyyyyyyeeeeeeesssssssss? Jul 21 21:50:57 I need votes for the app I built Jul 21 21:51:06 ok... Jul 21 21:51:10 would be awesome if you can vote for it Jul 21 21:51:10 http://www.appsforhealthykids.com/application-gallery/earn-the-stars Jul 21 21:51:27 What age group of kids is that designed for? Jul 21 21:51:29 pandora, hattczech has all done it Jul 21 21:51:31 Just curious Jul 21 21:51:33 6 to 17 Jul 21 21:51:40 I'll do it when I get home Jul 21 21:51:44 Wait ... don't they need a Facebook account to use it? Jul 21 21:51:46 with people over 13 can access the pickup sports part Jul 21 21:51:57 elyon, nope Jul 21 21:52:08 facebook account is only used to track the stars, and to play pickup sports Jul 21 21:52:22 you can take quiz and use intake calculator without facebook login Jul 21 21:52:31 I see Jul 21 21:52:35 we are not allowed to store information of people under 13 by law Jul 21 21:52:57 Yeah I don't want my kids on Facebook :) Jul 21 21:53:09 heh =) Jul 21 21:53:12 Yeah, I thought there were laws like that :) Jul 21 21:53:18 using facebook took liability off us Jul 21 21:53:34 so when judges asks about it, thats how we answer Jul 21 21:53:38 in fact its in FAQ Jul 21 21:54:00 Anivrom: .palm-row .no-divider Jul 21 21:54:36 Anivrom: again, didn't read your q properly Jul 21 21:54:40 elyon, if you want, i can create an account for you Jul 21 21:54:40 forget what i sad Jul 21 21:54:44 too tired now :D Jul 21 21:54:44 and you can just enter Jul 21 21:54:46 said* Jul 21 21:55:01 hi discombobulate =) Jul 21 21:55:06 hi Jul 21 21:55:13 thanks for the vote yesterday Jul 21 21:55:20 sure Jul 21 21:57:19 Anivrom: still, maybe .palm-row .no-separator could help you ;) Jul 21 21:59:27 b0bben: erm .palm-row .no-divider would be the class name correct? what would the value be? Jul 21 21:59:39 Anivrom_: yeah Jul 21 22:00:04 value is yeah? Jul 21 22:00:07 hmm let me try Jul 21 22:00:10 w8 Jul 21 22:00:13 i'm too tired Jul 21 22:00:18 :P Jul 21 22:00:19 can't read properly Jul 21 22:00:20 :D Jul 21 22:00:39 class="palm-row no-divider" Jul 21 22:00:59 That's it? Jul 21 22:01:03 yeah, try that Jul 21 22:01:54 webos book should be free...not anywhere can you find all the css styles easily listed, specially not palms dev site Jul 21 22:02:44 works like a charm Jul 21 22:03:11 then my work here is done ;) Jul 21 22:03:15 time to sleep Jul 21 22:03:16 lol Jul 21 22:03:19 goodnight Jul 21 22:03:24 GN ppl Jul 21 22:35:34 June payments received... Jul 21 22:36:54 woot me too Jul 21 22:36:59 lower than i expected Jul 21 22:37:03 but still $ Jul 21 22:39:14 * HattCzech_work still waiting for hot apps :/ Jul 21 22:43:04 It's more than I expected, but this was the first time for me Jul 21 22:43:12 Maybe its the conversion rate of different currencies? Jul 21 23:02:09 hey guys. last question for today. admob ads won't show in the emulator. is this normal? Jul 21 23:02:17 only the test mode shows up Jul 21 23:02:26 probably Jul 21 23:02:35 they don't want you running 100 emulators to make money Jul 21 23:03:14 yeah that's what i thought. just wanted to be sure, for i have no device to test it Jul 21 23:25:37 so Jul 21 23:25:49 where's the beef? Jul 21 23:29:48 dawm|laptop: What's your beef? Jul 21 23:29:58 well Jul 21 23:30:11 haxe demo doesnt work ;p Jul 21 23:30:29 For real, or are you just saying that? :) Jul 21 23:30:33 for real Jul 21 23:30:37 it loads like a sdk app Jul 21 23:30:38 Are you running 1.4.5? Jul 21 23:31:10 works for me Jul 21 23:31:13 not 1.4.5 but my device is pdk prepped and runs other pdk apps Jul 21 23:31:27 i got it from the homebrew feed Jul 21 23:31:30 I'm using the "pdk" app type, instead of "game" like it used to be Jul 21 23:31:44 So its possible the old version of webOS might not like it Jul 21 23:31:49 ahh gotcha Jul 21 23:31:59 If you want, though ... Jul 21 23:32:00 one sec Jul 21 23:32:12 i can remote in and change the appinfo Jul 21 23:32:32 lies Jul 21 23:32:55 Yeah, you could do that with InternalZ probably Jul 21 23:33:10 ive yet to install internalz Jul 21 23:33:12 That's likely easier than pointing you to where you could download and copy the executable :) Jul 21 23:33:16 http://code.google.com/p/hxcpp-webos/source/browse/trunk/Physaxe/bin/Main Jul 21 23:33:20 That's the executable Jul 21 23:33:23 It needs two libraries ... Jul 21 23:34:12 Ugh. They're missing on Google Code Jul 21 23:34:13 One sec Jul 21 23:34:42 hey dawm Jul 21 23:35:39 hey Anivrom Jul 21 23:36:05 dawm|laptop: It might work if you copied that Main file into /media/internal Jul 21 23:36:11 Along with std.so and nme.so from here: http://code.google.com/p/hxcpp-webos/downloads/list Jul 21 23:36:25 Then open a console and write export LD_LIBRARY_PATH=/media/internal Jul 21 23:36:29 Then Main Jul 21 23:45:20 Wolvenhaven: FYI, ads will show in the emulator Jul 21 23:45:29 done that, says it cant find nme.so Jul 21 23:49:57 also changed the appinfo to game and it doesnt load just shows the app splash/icon Jul 21 23:50:30 So you're on a terminal, connected to the phone? Jul 21 23:50:36 yerp Jul 21 23:50:57 So nme.so, Main and std.so are on /media/internal, and you ran "export LD_LIBRARY_PATH=/media/internal"? Jul 21 23:51:03 yep Jul 21 23:51:34 What does it say if you type "Main"? Jul 21 23:54:12 says its searching for nme.so then .dll then failure nme@somemorestuff_create_display Jul 21 23:54:19 phones rebooting so thats from memory ;p Jul 21 23:54:39 Error : Could not load module nme@nme_create_display_object__0 Jul 21 23:55:34 Okay, maybe they changed the permissions in 1.4.5 or something? I haven't tried to run a PDK app in an older version before Jul 21 23:55:52 It tries to load nme.so, and if that fails, it tries nme.ndll, and then it displays an error Jul 21 23:55:59 yep Jul 21 23:56:04 create_display_object is the first value in the library its trying to reference Jul 21 23:56:21 I'm sorry! I wish we all had 1.4.5.1 right now so it could all be easier :) Jul 21 23:56:39 lol well other pdk/sdl apps work ;p Jul 21 23:56:47 I'm glad I had 1.4.5 while developing this, though! Otherwise I likely would have given up and assumed it doesn't work Jul 21 23:56:57 but they arent relying on another library Jul 21 23:56:58 Well ... I don't know ... it almost seems like it could be anything Jul 21 23:57:10 It's been such a trial and error process to get everything to work Jul 21 23:57:16 Like turning tumblers in a safe :) Jul 21 23:57:24 ive watched the progress ;p Jul 21 23:57:54 It's so much easier when things are working ... Jul 21 23:58:08 Now that its running, I can focus on improving the code, rather than getting it to execute at all :) Jul 21 23:58:30 Like I'm trying to work out how I can switch between libraries, so I can toggle my project between Flash and C++ Jul 21 23:58:55 haXe will let you write Flash code, like "flash.display.Sprite", and then it will just convert it to a new namespace when compiling, so it works for the target platform Jul 21 23:59:16 yeah i read up on it Jul 21 23:59:23 I want code completion to work, and I'm figuring out how to toggle between the latest public build for Flash compiling, versus my dev version for webOS Jul 21 23:59:36 Do you do Flash development at all? Jul 21 23:59:43 nope Jul 21 23:59:53 It also exports to Javascript ... Jul 22 00:00:01 But I figure that C++ has got to be better :) Jul 22 00:00:07 yah Jul 22 00:00:21 trying to learn that Jul 22 00:00:27 A little ironic, though ... Jul 22 00:00:45 The demo I'm using is running physaxe, a port of Box2DFlash and Chipmunk (which is based on Box2D) Jul 22 00:00:53 Which both are ports of Box2D, which is for C++ Jul 22 00:00:59 lol Jul 22 00:01:05 So C++ -> Flash -> haXe -> C++ Jul 22 00:01:29 I'm sure the original library is more optimized, but using a framework like this well let me focus on content instead of the technical side as much Jul 22 00:01:44 Plus it means I can reuse my Flash animation libraries and other code I've developed Jul 22 00:02:25 No, I guess that would be C++ -> Flash -> Flash -> haXe -> C++ Jul 22 00:03:29 Huh. I bet it would be possible to map classes somehow ... Jul 22 00:03:40 So you could reference classes in haXe, which are actually C code Jul 22 00:04:00 Kind of like how flash.display.DisplayObject is actually C code, and not haXe code Jul 22 00:04:09 That might be cool Jul 22 00:04:25 Take advantage of optimized C performance for Box2D, but still reference it like you were still in Flash Jul 22 00:04:39 *wheels turning* Jul 22 00:05:27 heres the output Jul 22 00:05:28 http://pastie.org/1054604 Jul 22 00:09:43 What does it output if you run "strace Main"? Jul 22 00:09:50 (I think that's how strace is used?) Jul 22 00:10:02 That should tell us what directory paths its actually tryuing Jul 22 00:10:03 trying Jul 22 00:10:22 But there might be some other factor which is causing it to fail Jul 22 00:10:36 I wish there was a way to upgrade to 1.4.5 using a doctor without losing all your data :) Jul 22 00:11:05 wow.. lots of output ;p Jul 22 00:11:35 its definately trying to open nme.so inside /media/internal Jul 22 00:11:42 but its getting no file or directory Jul 22 00:11:45 permissions? Jul 22 00:13:00 elyon: do you have a /home/reviewdaemon ? Jul 22 00:13:08 its trying to grab stuff from there as well Jul 22 00:13:22 that could be 145 related Jul 22 00:14:28 it see nme.so, but cant find all those other palm libs in /home/reviewdaemon Jul 22 00:16:58 heres the strace Jul 22 00:16:59 http://pastie.org/1054616 Jul 22 00:19:33 Oh, yeah ... Jul 22 00:19:40 Well, let me think, no ... Jul 22 00:19:49 I compiled with the G++ compiler. It ... well Jul 22 00:19:57 My version of the PDL library may be different Jul 22 00:20:09 So the Palm includes might not match up correctly with 1.4.1 Jul 22 00:20:12 it finds the libs, but it looks in that /home directory first, which is odd Jul 22 00:20:28 reviewdaemon sounds like a system process of some kind Jul 22 00:20:37 i guess ill just wait till 145 hits sprint Jul 22 00:20:48 So it might not be possible to run this on 1.4.1 unless it was rebuilt with the old PDK Jul 22 00:20:57 (which hopefully will be soon!) Jul 22 00:21:00 reviewdaemon is palm's internal source code management system, not an on-device thing Jul 22 00:21:52 rwhitby: Running a 1.4.5 PDK app on a PDK-enabled 1.4.1 phone? Guess not? Jul 22 00:22:11 nope, different PDK libs Jul 22 00:22:30 sorry dawm Jul 22 00:24:28 hrm Jul 22 00:24:43 sdl-mille works tho Jul 22 00:25:16 it's not a pdk app Jul 22 00:25:32 it loads all the same libs Jul 22 00:25:40 but it's not type:pdk Jul 22 00:25:45 sdl-mille didn't work on my phone, for whatever reason Jul 22 00:25:57 elyon: works fine on mine Jul 22 00:25:58 Though I do love Milles Bornes :) Jul 22 00:26:19 so i have Pixi #3 and Pre #3 today Jul 22 00:26:20 Maybe it was just a network error Jul 22 00:26:27 and when they handed me Pixi #3 a piece fell off Jul 22 00:26:30 awesome Jul 22 00:26:30 awesome is http://digitalpowers.com Jul 22 00:27:06 there should be a law against bots that speak without being spoken to Jul 22 00:27:31 rwhitby: i just changed sdl-mille to 'pdk' Jul 22 00:27:41 works as it did set as 'game' Jul 22 00:27:55 right, but does it use anything from the PDL lib? Jul 22 00:28:00 yeh Jul 22 00:28:01 or just SDL Jul 22 00:28:06 can you guys tell me what hardware version you have on your pre? in the 'device info' / hardware app Jul 22 00:28:37 dawm|laptop: dunno then - sounds like a subtle linkage error then Jul 22 00:29:52 oh wait, yah its just sdl, no pdl Jul 22 00:30:36 pandora--: A Jul 22 00:30:50 dawm|laptop: sdl libs would be the same. pdl libs have changed Jul 22 00:33:39 haeffb-pre: thx Jul 22 00:38:36 pandora--: I have hardware version A Jul 22 00:38:50 thx me too Jul 22 00:39:13 I've been happy with my Pre, but I do like the feel of my Pre Plus better Jul 22 00:39:27 My wife's Pixi didn't like charging on one Touchstone, but its fine on another Jul 22 00:39:50 ive got hardware version D Jul 22 00:39:56 Other than that I haven't really had problems with anything, apart from Oreo paranoia :) Jul 22 00:40:26 dawm|laptop: on your Pre? or is it Pre Plus? Jul 22 00:40:27 My Pre Plus is version A Jul 22 00:40:29 just kidding :P its A Jul 22 00:40:34 as well Jul 22 00:40:36 lol Jul 22 00:40:45 cool Jul 22 00:41:33 Although I did see a Pixi at a Sprint store that was looking sad Jul 22 00:41:50 They had it on the Touchstone for so long the back cover started to droop and get all misshapen Jul 22 00:42:09 I don't think anyone tested the back cover for being on the Touchstone and being on practically indefinitely for months on end :) Jul 22 00:42:25 Plus the summer heat Jul 22 00:42:32 lol Jul 22 00:42:42 It was like it was sitting in a little bowl Jul 22 00:42:46 my phone gave me a temp warning the other day while I was streaming tv in the hot heat Jul 22 00:43:00 I tried to make sure the people who were there knew that it wasn't normally like that ;) Jul 22 00:43:00 and I mean webOS temp warning Jul 22 00:43:04 heh, i had mine shutdown from heat just being in my pocket Jul 22 00:43:06 So you know it's pretty high Jul 22 00:43:15 Wow, I didn't know there was a webOS temp warning Jul 22 00:43:30 I've had it up to 65 celcius and it never threw a webos warning so it was higher than that Jul 22 00:43:33 I had one from Preware installed, but it started getting annoying because I couldn't avoid it in certain circumstances Jul 22 00:43:36 im surprised using the wireless charger i haven't gotten a temp warning Jul 22 00:43:48 Like using my Touchstone in the car Jul 22 00:43:56 thats cpu temps too not bad Jul 22 00:43:58 batt Jul 22 00:43:59 i need to put my extra touchstone in the car Jul 22 00:44:06 It's pretty cool Jul 22 00:44:22 When you get a call, if you're plugged in it will do the audio through the speakers, but still take speaker phone Jul 22 00:44:34 So you can use it hands free without bluetooth, if you've been listening to music Jul 22 00:44:56 You just need to use a car charger like the Palm one. Other chargers don't push enough amperage Jul 22 00:45:00 I always have my bt on my ear so no difference Jul 22 00:45:13 my car has an ac plug ;) Jul 22 00:45:29 I have an AC inverter to get around that problem Jul 22 00:46:00 mines built in, which has come in handy since ive never had a dc charger for my phones Jul 22 00:46:15 charges faster with AC anywyas Jul 22 00:46:21 about twice as fast in my experience Jul 22 00:46:53 so yeah.. Jul 22 00:47:08 I guess I like the Palm charger ... Jul 22 00:47:11 i think HP needs to stop spamming that HP ENVY w/ Beats ad and start playing the Palm ads Jul 22 00:47:19 Since my AC inverters have always been so loud :) Jul 22 00:49:08 mine is quiet. Jul 22 00:49:15 as is mine Jul 22 00:49:17 .... doesn't make a noise Jul 22 00:49:31 but again mines is built in (OE) Jul 22 00:49:59 Alright im out. leavin the inlaws now. Jul 22 00:50:10 What's the difference between inlaws and outlaws? Jul 22 00:50:16 outlaws are wanted. Jul 22 00:50:20 badum ching Jul 22 00:50:33 Can I get an amen from all the married folks Jul 22 00:51:06 lol Jul 22 00:51:33 :P peace Jul 22 01:00:52 ugh.. got a package of paperwork for the home loan today.. feels a bit overwhelming Jul 22 01:05:37 home work? Jul 22 01:06:12 mortgage paperwork, buying my first house Jul 22 01:06:34 You mean, home work? :) Jul 22 01:06:40 lol Jul 22 01:07:08 I just found out haXe supports wrapping native code, pretty easily Jul 22 01:07:20 So I can actually stop using physaxe, and start using Box2D Jul 22 01:07:27 But referenced like it was Flash code Jul 22 01:07:43 I bet that would probably blow the current demo out of the water in terms of performance Jul 22 01:08:08 (but then again, I've never tried Box2D on the Palm ... not sure if I understand how capable it is?) Jul 22 01:11:50 Is there a list somewhere of all the keystrokes for using the VBox SDK? Like ESC is Left Swipe, etc.? Jul 22 01:12:28 yeah on the dev site Jul 22 01:12:33 lemme see i fi can find the url Jul 22 01:12:50 I'm lookin' there too. Cool thanks! Jul 22 01:13:08 http://developer.palm.com/index.php?option=com_content&view=article&id=1744 Jul 22 01:13:22 That page has some, but it mentions more, but doesn't list them. Jul 22 01:13:40 Like it mentiones "simple keystrokes for acceleromotor bumps" but doesn't list them. Jul 22 01:14:46 http://developer.palm.com/index.php?option=com_content&view=article&id=1744#Emulator-AccelerometerEvents Jul 22 01:15:21 * Xanadu slaps his forehead. Jul 22 01:15:22 F5 thru F9 Jul 22 01:15:24 :) Jul 22 01:15:32 thank you, man! Jul 22 01:15:42 that section should prolly be moved up near the other keystrokes Jul 22 01:16:27 That's kinda why I didn't see it. The keystrokes table ended and I kinda thought... Jul 22 01:21:31 gd evening Jul 22 01:21:44 hey BigBiff Jul 22 01:21:56 howdy Jul 22 01:23:50 haeffb is here in concert i c Jul 22 01:24:17 both Jul 22 01:24:18 ears Jul 22 01:24:22 a trio Jul 22 01:24:37 u get another pre instead of the evo? Jul 22 01:24:48 _pre isn't really here Jul 22 01:25:04 alternate personality ? Jul 22 01:25:14 probably. I can't control him. Jul 22 01:25:38 haeffb: you turned to the dark side? got an evo? Jul 22 01:25:59 no that was me. Jul 22 01:26:07 ahh Jul 22 01:26:34 my first non palm since my moto startek Jul 22 01:26:35 you like it? Jul 22 01:27:00 no Jul 22 01:27:06 love it Jul 22 01:27:12 heh Jul 22 01:27:25 its awesome. stupid fast Jul 22 01:27:34 ludicrous speed Jul 22 01:28:03 hdmi output on on phone? come on Jul 22 01:28:24 actually. it's more like a tiny netbook with a phone in it Jul 22 01:28:36 ya Jul 22 01:28:44 and no hard keyboard Jul 22 01:28:54 video skype? Jul 22 01:29:00 fing? Jul 22 01:29:04 fring Jul 22 01:29:25 same diff. talked to my bro face to face who has the iphone4 Jul 22 01:29:44 he called me while driving down the road Jul 22 01:29:48 dumbass Jul 22 01:30:07 i thought for sure i'd watch him get in an accident Jul 22 01:31:02 heh Jul 22 01:31:12 http://www.fring.com Jul 22 01:31:20 does it look decent on 3g? Jul 22 01:31:33 oh yeah. pretty freaking cool.. Jul 22 01:31:56 technology now has gone full circle Jul 22 01:32:09 at first you had to lie to ppl's face Jul 22 01:32:28 then the telephone came along and made that easier. you could lie over the phone Jul 22 01:32:41 and now we're back to having to lie to ppl's faces again Jul 22 01:33:09 imagine having to bang-in sick at work and you look perfectly fine.. Jul 22 01:33:19 pita Jul 22 01:33:21 well, I'm sure bluetooth glasses with hud will come out next Jul 22 01:34:16 earth 2? is that the show I'm thinking of? Jul 22 01:34:57 ? Jul 22 01:35:30 heh, glasses with hud for video chat Jul 22 01:35:44 it was a bad show, nvmd Jul 22 01:36:05 iGlasses? Jul 22 01:36:30 i'm sure if it's out there, Jobs can steal it and patent it.. Jul 22 01:47:38 didn't realize my phone was about dead Jul 22 01:48:55 mine is too. one of the reasons I need a new phone Jul 22 01:51:49 well, mine was just the battery Jul 22 01:54:28 * BigBiff is learining/liking jquery alot Jul 22 02:06:35 * sugardave gets a line on a legitimate non-spam-app contract. Jul 22 02:06:39 woo Jul 22 02:06:43 I like money Jul 22 02:08:51 money is nice Jul 22 02:09:06 you got your app payment? Jul 22 02:09:26 actually, I did...wasn't expecting anything Jul 22 02:09:52 right now I"m liking potential money Jul 22 02:10:07 right on! Jul 22 02:10:12 this would be having to port some Java libraries to js for an app port Jul 22 02:10:18 * sugardave fears. Jul 22 02:10:20 and graphing Jul 22 02:10:24 * sugardave fears some more. Jul 22 02:10:34 woo! Jul 22 02:10:36 graphing like: charts? Jul 22 02:10:41 yeah Jul 22 02:10:47 all kinds Jul 22 02:10:56 wow nice Jul 22 02:11:30 I told the guy I would look into it a couple of days....it's all math shit, how hard can it be? :P Jul 22 02:13:17 math is universal regardless of language Jul 22 02:13:29 have a webos question Jul 22 02:14:57 have a div, which on scene load, it needs to send out an ajax request. i can get it work with "Mojo.Event.tap" but not with "Mojo.Event.activate" Jul 22 02:15:29 why does the div have anything to do with it? Jul 22 02:15:34 LoneStar99: why not put the ajax in its own function and call that on activate? Jul 22 02:16:27 sugardave: I have background colors working - just eliminated the scroll-fade Jul 22 02:16:47 I'll look at changing the scroll-fade later. Jul 22 02:16:50 ah, cheesy....you should have looked at the document.stylesheet object Jul 22 02:16:54 i have "Mojo.Event.listen(this.controller.get('sCanvas'), Mojo.Event.tap, this.statusList.bind(this));" in "FirstAssistant.prototype.setup = function(event) {}" Jul 22 02:18:02 LoneStar99: looks like you can just call this.statusList() in activate Jul 22 02:18:44 sugardave: let me try that Jul 22 02:21:02 interesting this.controller.document.cookie Jul 22 02:21:19 sugardave: great that is all it was! Jul 22 02:21:33 LoneStar99: awesome Jul 22 02:21:33 no, sugardave, YOU'RE AWESOME! Jul 22 02:21:35 haeffb: oooo Jul 22 02:21:43 dekan: botsnack Jul 22 02:21:44 * dekan nom nom nom Jul 22 02:22:03 this.controller.document.styelSheets Jul 22 02:22:05 styleSheets Jul 22 02:22:15 haeffb: maybe that's the elusive cookie that gets set when doing ajax Jul 22 02:22:30 no, it's all my app's cookeis Jul 22 02:22:38 Thanks! Jul 22 02:22:43 haeffb: ah, styleSheets[0]...apparently you can delete rules, add them, etc. Jul 22 02:22:48 in plaintext Jul 22 02:22:56 heh Jul 22 02:22:58 so, email, passwords, whatever Jul 22 02:23:03 awesome Jul 22 02:23:03 awesome is codeslaw Jul 22 02:23:15 dekan: shut up Jul 22 02:23:15 Okay, haeffb - be back in a bit! Jul 22 02:23:17 haha Jul 22 02:23:29 I wonder what ramifications that might have for cross-app launching Jul 22 02:23:44 * sugardave tries to stop the evil thoughts. Jul 22 02:24:04 can I modify rules? or have to delete/add ? Jul 22 02:24:16 app is coming along, but still lots of work to do :| Jul 22 02:24:22 don't know, I just saw one example last night Jul 22 02:24:36 my app has 20 stylesheets, only one of which is mine Jul 22 02:24:42 look up document.styleSheets, it's standard js Jul 22 02:24:43 haha Jul 22 02:24:46 nice Jul 22 02:25:28 haeffb: damn 20 stylesheets - that is nuts Jul 22 02:25:45 haeffb: if an app is storing passwords in plaintext in a cookie, then they are accessible to homebrew apps anyway Jul 22 02:26:24 * sugardave takes some notes. Jul 22 02:26:38 rwhitby: yes, I was under the impression the cookies were encrypted Jul 22 02:26:39 * rwhitby should write a "ShowPasswords" homebrew app to prove the point Jul 22 02:27:19 lol Jul 22 02:27:36 oil: shut up Jul 22 02:28:14 * haeffb notes it doesn't work on oil Jul 22 02:28:26 I was going to say that doesn't work on oil....but.... Jul 22 02:28:33 it should, he IS a bot... Jul 22 02:28:35 "[ Jul 22 02:29:06 so, what is the appropriate method of storing a password? Jul 22 02:30:03 haeffb: interested in the password topic also Jul 22 02:31:15 encrypted in a db, I guess...but that still sucks Jul 22 02:32:05 store the hashed version of the password .. Jul 22 02:32:11 never the actual password itself Jul 22 02:32:33 bpadalino: so, how do you actually make a hash of the password Jul 22 02:32:37 waht about like md5 passwords in a cookie? Jul 22 02:32:39 with blowfish? Jul 22 02:33:03 * sugardave doesn't know this stuff, either. Jul 22 02:33:13 sha-1 usually is good .. Jul 22 02:33:21 my security education peers would be ashamed Jul 22 02:33:38 okay, sha-1 I'm familiar with from oauth Jul 22 02:34:19 so, then what do you use for a key and how to protect that? Jul 22 02:34:59 found this article http://pajhome.org.uk/crypt/md5/auth.html Jul 22 02:35:24 http://pajhome.org.uk/crypt/md5/instructions.html Jul 22 02:35:36 http://en.wikipedia.org/wiki/Password_cracking#Salting Jul 22 02:36:37 bpadalino: gracias Jul 22 02:37:08 bpadalino: in my case, I have to use the actual password to send to an API. storing a hash does me no good. Jul 22 02:37:40 the reason for salting is so if two people use "pass1234", they don't store to the same value Jul 22 02:37:44 haeffb: that sucks Jul 22 02:39:01 haeffb: what about somehow saving the password on the cloud... Jul 22 02:39:17 wait, no I don't. Jul 22 02:39:34 * haeffb can fix this... Jul 22 02:40:23 PHP: $key = md5( md5($mypassword).$token.$myuserid ); Jul 22 02:40:39 haeffb: so not only is a password being stored, but it's also being sent to an API in cleartext? Jul 22 02:41:00 rwhitby: ssshhhh! not so loud. Jul 22 02:41:18 no it is not Jul 22 02:44:25 that's what I'd say Jul 22 02:45:28 time for a homebrew wireshark application .... Jul 22 02:45:56 heh Jul 22 02:46:57 I'm going to do a connection tracker app, to find all the phone homers Jul 22 02:47:38 especially the ones that send my nduid against Palm's explicit directions Jul 22 02:49:23 (without hashing it first) Jul 22 02:50:48 * sugardave whistles innocently. Jul 22 02:52:42 rwhitby: of what value is the nduid to someone else? Jul 22 02:53:52 haeffb: I cannot reveal that in a public channel Jul 22 02:54:18 oooo, secrets Jul 22 02:54:30 if you tell haeffb, can he tell me? :D Jul 22 02:55:13 rwhitby: do you mean apps that sent an ajax request to cloud with your device "nduid"? Jul 22 02:55:21 LoneStar99: yep Jul 22 02:55:41 rwhitby: you can track that? Jul 22 02:55:57 LoneStar99: it's Linux Jul 22 02:56:03 k Jul 22 02:56:15 I can snoop every network connection on the device if I choose Jul 22 02:56:30 and any application developer should assume that is happening Jul 22 02:57:28 cause you can be sure that blackhats that are going to try and break your registration scheme know exactly how to do it Jul 22 02:58:33 rwhitby: you're bringing me down, man Jul 22 02:58:35 eg: var requestText = "http://www..com/services/versioning.php?action=register&device=" + response['com.palm.properties.nduid'] + "&version=" + appVersion + "&id=" + appId; Jul 22 02:58:45 now I have to come up with some time for application updates Jul 22 02:58:46 sheesh Jul 22 02:58:49 looking at an app with that right now Jul 22 02:59:26 thank goodness mine isn't that bad...I at least use post :D Jul 22 02:59:32 and that's in a version update check. now why does the app developer need to know my nduid to tell me whether he has a newer version of the app or not? Jul 22 02:59:37 rwhitby: so have an app i am developing, my app should not send a device "nduid" to a DB in the cloud? **** ENDING LOGGING AT Thu Jul 22 02:59:56 2010