**** BEGIN LOGGING AT Sun Aug 01 02:59:57 2010 Aug 01 03:01:42 yikes....Amazon can tell me what I ordered in 1997 Aug 01 03:02:21 Coaching Basketball by Jerry Krause Aug 01 03:03:00 1998 I was into dog training Aug 01 03:03:49 surprisingly, things I bought in 1999 are not eligible for return. Aug 01 03:05:34 loadInventoryData: function() { Aug 01 03:05:34 if (!cupcake.retrieveCupcake('inventoryData', this.gotInventoryData.bind(this))) {} Aug 01 03:05:34 }, Aug 01 03:05:48 haeffb_: inside gotInventoryData I have response as the arg Aug 01 03:05:53 It sais response not defined Aug 01 03:05:58 am I using this wrong? Aug 01 03:06:38 I know i'm not but I'm wondering why it causes my app to halt. Aug 01 03:07:32 I copied dawms new code into the cupcake.js cause it was throwing me an error due to the fact that inventoryData cupcake is not actually created yet, but then it threw me this new error Aug 01 03:08:12 it will be undefined until you store something in the cupcake Aug 01 03:08:16 ok Aug 01 03:08:23 so nothing major then Aug 01 03:09:25 nope Aug 01 03:09:35 well actually it breaks my canvas coe Aug 01 03:09:36 code Aug 01 03:11:42 how so? Aug 01 03:12:45 same problem I was describing earlier, where the canvas elements just don't get drawn, it seems my mainloop is getting turned off somehow, and then randomly it starts up again if I set a breakpoint Aug 01 03:13:17 absolutely baffling Aug 01 03:13:40 my loop is running but nothing is getting drawn to the canvas until I breakpoint Aug 01 03:14:02 well, good luck with that... Aug 01 03:14:10 I gotta go grab some zzzz's. Aug 01 03:14:18 Yea ttyl Aug 01 03:14:37 but the cupcakes shouldn't break it if you're doing if (response) in your gotInventoryData() Aug 01 03:14:47 omg, my retweet got tweeted again Aug 01 03:14:52 er no Aug 01 03:15:11 my chat in here about it got tweeted again Aug 01 03:15:17 I'll get you wfleurant Aug 01 03:15:33 well, I just googled the chat history for this room and it all came up Aug 01 03:15:37 so apparently its public Aug 01 03:15:41 yeah, I know Aug 01 03:15:58 going to have to be more careful about what I pastebin :D Aug 01 03:18:03 interesting, sugardave Aug 01 03:18:22 Hey all Aug 01 03:18:23 ! Aug 01 03:18:33 [21:47] wonder how this works: http://www.webos.pastebin.com/KuINwnda Aug 01 03:18:38 that also was tweeted Aug 01 03:18:57 and now will be retweeted Aug 01 03:18:57 yeah, his bot is combing the logs for pastebins, I guess Aug 01 03:19:01 yep Aug 01 03:19:07 Hey all! Aug 01 03:19:14 Oops Aug 01 03:19:19 How's Mickey? Aug 01 03:19:21 Twice, muh bad Aug 01 03:19:28 "hey, everybody, look at this broke code" Aug 01 03:19:31 He's good, I s'pose Aug 01 03:19:42 did you sit in KITT? Aug 01 03:19:48 I punched one of them Aug 01 03:20:01 that's not very happy Aug 01 03:20:10 Kitt? Aug 01 03:20:17 oh, and those were just random letters on my pastebin. No telling where it leads. Aug 01 03:20:18 I guess that's why Disney World is the happiest place on Earth. Aug 01 03:20:45 haeffb_: a missing/deleted one Aug 01 03:21:02 Arg Aug 01 03:21:02 Back Aug 01 03:21:05 Sorry Aug 01 03:21:15 Forgot I can't close the main wirc window Aug 01 03:21:21 What did I miss Aug 01 03:21:22 oops Aug 01 03:21:44 [22:20] oh, and those were just random letters on my pastebin. No telling where it leads. Aug 01 03:21:45 [22:20] * kesne (~wicer@173-128-124-237.pools.spcsdns.net) Quit ( Remote host closed the connection ) Aug 01 03:21:45 [22:20] I guess that's why Disney World is the happiest place on Earth. Aug 01 03:21:45 [22:20] haeffb_: a missing/deleted one Aug 01 03:21:45 [22:20] * kesne (~wicer@173-128-124-237.pools.spcsdns.net) has joined #webos Aug 01 03:21:54 not much Aug 01 03:22:08 Danke Aug 01 03:22:10 :) Aug 01 03:23:45 World of color starts in 36 minutes! Aug 01 03:23:48 Woo! Aug 01 03:24:59 yeah, KITT...the car from the 70s TV show Knight Rider. It was at Disney Land when I was there in 1990 Aug 01 03:25:54 Oh Aug 01 03:25:59 Isn't here now Aug 01 03:26:05 sux to be you Aug 01 03:26:09 I wish I was in club 33 Aug 01 03:26:15 KITT was bad-ass Aug 01 03:26:23 Sux to be your mom Aug 01 03:26:28 it does Aug 01 03:28:09 Lolol Aug 01 03:28:21 Disneyland hotel wifi is banned from freenode Aug 01 03:32:50 just freenode? Aug 01 03:35:29 The ip is Aug 01 03:35:31 I dunno Aug 01 03:35:42 there are a number of different freenode servers xD Aug 01 03:35:52 * kesne is happy he installed wirc. Aug 01 03:35:55 all with different ip addresses haha Aug 01 03:35:58 Well, the entire network Aug 01 03:36:11 The dland ip is banned from it. Aug 01 03:43:50 Omg Aug 01 03:43:58 This pre-show sux Aug 01 03:47:50 Adobe, it's going to be August soon... where's Flash? Aug 01 03:51:15 bah, my novel table list sucks Aug 01 03:51:26 no divs allowed outside of a cell Aug 01 03:51:50 hah, has it been a year from adobe's first release date? Aug 01 05:12:37 sugardave: did you figure out why you couldnt pass args through the pusher? Aug 01 05:12:41 I keep getting an error Aug 01 05:13:09 Mojo.Controller.stageController.swapScene({name:"inventory", disableSceneScroller:true, category: "decor"}); Aug 01 05:13:17 throws category is not defined Aug 01 05:14:27 mine was from a popScenesTo Aug 01 05:14:33 Hmmm Aug 01 05:14:40 yours is syntax Aug 01 05:14:41 hold Aug 01 05:15:02 swapScene({sceneArgs}, {yourStuff}); Aug 01 05:15:14 ah new curly braces Aug 01 05:15:22 or just a var Aug 01 05:15:26 whatever Aug 01 05:15:34 category is a var.. Aug 01 05:15:48 swapScene({sceneArgs}, myVar) Aug 01 05:15:51 gotcha Aug 01 05:15:57 I just mean it doesn't have to be an object Aug 01 05:16:36 any additional args beyond the sceneargs are passed to the new scene's constructor Aug 01 05:16:41 yea Aug 01 05:16:47 k Aug 01 05:17:00 I got an if statement in the constructor to assign the arg to a variable Aug 01 05:17:23 still not working though Aug 01 05:17:30 do I have to define category? Aug 01 05:17:37 prior to swapScene Aug 01 05:18:25 I think you need the double curly braces Aug 01 05:21:31 sugardave: Have you gotten your syntax to work before, Mine throws the same error Aug 01 05:21:36 var category = "decor"; Aug 01 05:21:37 Mojo.Controller.stageController.swapScene({name:"inventory", disableSceneScroller:true},category); Aug 01 05:21:51 I tried in curly too Aug 01 05:21:59 that should work fine Aug 01 05:22:23 in inventory constructor you have the arg? Aug 01 05:22:49 bah Aug 01 05:23:20 and then in the constructor you do this.category = category; Aug 01 05:23:41 function InventoryAssistant(argFromPusher) { Aug 01 05:23:42 if (category && category == "decor") {startupCategory = "decor";} Aug 01 05:23:42 } Aug 01 05:23:42 thats my constructor Aug 01 05:23:51 but it doesn't even make it to the inventory screen. Aug 01 05:23:55 throws the error and wont push Aug 01 05:24:21 function InventoryAssistant(argFromPusher, category) Aug 01 05:24:24 is the important bit Aug 01 05:24:24 ah ok Aug 01 05:24:33 thanks Aug 01 05:24:47 you need to let the constructor know what args you might send besides the scene args Aug 01 05:24:56 which is what I guess argFromPusher is Aug 01 05:24:58 even if you don't send them? Aug 01 05:25:02 that's right Aug 01 05:25:05 ok Aug 01 05:25:09 they will be undefined Aug 01 05:25:13 as will this.whatever Aug 01 05:25:28 if you do this.whatever = whatever; in the constructor Aug 01 05:25:46 hmm Aug 01 05:26:07 wait a second Aug 01 05:26:18 what is in argFromPusher? Aug 01 05:26:28 idk yet lol Aug 01 05:26:32 gonna breakpoint it Aug 01 05:26:46 you may not need that extra arg in the constructor Aug 01 05:26:48 not sure Aug 01 05:27:01 if I dont put it in, it throws an error and wont push Aug 01 05:27:05 but it's pushing fine with it in Aug 01 05:27:06 in Mojo there is not a comparable argFromPusher for the constructor Aug 01 05:31:37 hmmm Aug 01 05:32:28 argFromPusher has decor in it, and category is undefined, but if I take out category from constructor, it throws category is undefined error when trying to swapScene Aug 01 05:32:54 so I guess I'll leave it in and just read from argFromPusher Aug 01 05:34:23 okay, so they expect you to pass an object and access the properties via argFromPusher Aug 01 05:34:32 apparently Aug 01 05:34:48 make it so Aug 01 05:34:59 warcraft 2 cheat Aug 01 05:35:02 dont remember what it does Aug 01 05:35:07 I think it speeds up building production Aug 01 05:36:14 sweet. works great Aug 01 05:41:45 Anivrom! Aug 01 05:41:49 word Aug 01 05:41:51 You in DL? Aug 01 05:41:57 anyone got any tips for reducing friction on touch screens? fingertips are known to perspire when touching/gripping things, so over time, even with clean dry hands, the fingertips start to get moist again :\ Aug 01 05:42:16 baby powder your hands :) Aug 01 05:42:47 but that leaves powder all over the screen (I tried it, heh) Aug 01 05:42:51 rofl Aug 01 05:42:56 :P Aug 01 05:43:28 it's a nice idea, minus the side effects Aug 01 05:43:38 move to Arizona? Aug 01 05:44:17 I don't think that would help at all Aug 01 05:44:25 oh, elmers glue...let it dry and make a second skin Aug 01 05:44:35 latex glove? Aug 01 05:44:36 thought of that, haven't tried it yet Aug 01 05:44:49 latex glove wouldn't work Aug 01 05:44:51 finger cots Aug 01 05:44:59 thimble Aug 01 05:45:05 .err Aug 01 05:45:06 that's rubber... it'd be more friction-ous, wouldn't it? Aug 01 05:45:06 nvm Aug 01 05:45:20 thimble isn't flexible :P Aug 01 05:45:28 cotton finger cots Aug 01 05:45:47 seran wrap! Aug 01 05:45:53 * sugardave fixes an annoying bug. "Yay!" Aug 01 05:45:54 oh snap, end of discussion Aug 01 05:46:04 anivrom++; Aug 01 05:46:25 sugardave: cotton finger cots? lol... those aren't conductive Aug 01 05:46:42 statically charged cotton finger cots Aug 01 05:46:55 heh Aug 01 05:47:00 You asked for tips, you never said they had to be good. Aug 01 05:47:08 true Aug 01 05:47:30 I do have some finger cots though, oddly enough... maybe I'll try em just for fun Aug 01 05:47:55 doubt they'll work that well, but it can't hurt to try Aug 01 05:48:00 an empty sunflower seed bag wrapped in a sock Aug 01 05:48:25 * Anivrom looks on his computer desk for more ideas Aug 01 05:48:37 I found that putting scotch tape over my fingertip works ok, but then there's an issue where the tape doesn't really conform to the shape of my fingertip Aug 01 05:48:40 use a stylus Aug 01 05:48:42 oh wait Aug 01 05:48:56 use an electrically conductive stylus Aug 01 05:49:30 purefusion, find a grocery bag and push your finger intot he plastic so it molds tight, then rip it off and bam Aug 01 05:49:30 I saw a video where they used a sausage Aug 01 05:49:34 single use finger sleeve Aug 01 05:49:45 styluses are clunky, not ideal to handle with today's touchscreens, especially when constantly switching from touch/swipe to typing Aug 01 05:50:04 and that whole pesky "it doesn't work" aspect Aug 01 05:50:14 Anivrom: plastic bag... yeah, that's brilliant! Aug 01 05:50:27 ahem, well i did say seran wrap a few minutes ago Aug 01 05:50:44 oh? Aug 01 05:50:49 missed that Aug 01 05:51:05 Anivrom> seran wrap! Aug 01 05:51:05 * sugardave fixes an annoying bug. "Yay!" Aug 01 05:51:05 oh snap, end of discussion Aug 01 05:51:05 anivrom++; Aug 01 05:51:05 < Aug 01 05:51:06 I heard that the sausage styluses can leak or start to stink over time... eww Aug 01 05:51:19 mmm, having some muffaletta in a few minutes Aug 01 05:51:22 lol Aug 01 05:51:36 oh, I was distracted by cotton finger cots Anivrom :P Aug 01 05:51:57 yes! Aug 01 05:52:13 lol Aug 01 05:52:26 drats Aug 01 05:52:27 my nefarious plan to bring chaos to the discussion worked perfectly Aug 01 05:52:42 I'll get you next time gadget, next timeeeeee Aug 01 05:52:46 haha Aug 01 05:52:59 cool, well thanks for the ideas guys :) Aug 01 05:53:05 go inspector go,, do do do do dod od odo dodo do do d, go inspector gooooooo, dodododododododododo. Aug 01 05:53:08 any time :{ Aug 01 05:53:10 hum the do's yourself Aug 01 05:53:10 er :P Aug 01 05:53:16 peace purefusion Aug 01 05:53:25 cheers Aug 01 05:56:47 * Anivrom just got items to return to inventory Aug 01 05:57:55 lies Aug 01 05:58:09 :( its true Aug 01 05:58:37 lies Aug 01 05:58:51 20 minutes till home Aug 01 05:58:57 :O Aug 01 05:58:57 weee! Aug 01 05:59:17 then tomorrow coms board swap Aug 01 05:59:45 aka sprint pre plus Aug 01 06:00:44 sprint ever release 1.4.5? Aug 01 06:02:15 neg Aug 01 06:04:53 ffffffff Aug 01 06:04:55 fail Aug 01 06:15:15 what is going on Aug 01 06:15:18 it is august 1 Aug 01 06:15:19 hey amaranth Aug 01 06:15:27 1.4.5 isn't on any american carrier Aug 01 06:15:38 cya Aug 01 06:15:39 guys Aug 01 06:15:40 later Aug 01 06:15:41 the PDK hot apps leaderboard isn't up Aug 01 06:15:55 and my hands are pruned from washing the dishes Aug 01 06:50:03 Beware of three scam apps in the @palm Beta and Web feeds. Rolando, XCode and OperaMini5 are non-functional and contain no code or binaries. Aug 01 06:53:40 rwhitby: thanks for the advisory Aug 01 08:49:01 Just saw that operamini has been released at the web channel. Did someone try it out? I cannot really believe that this is an official release. http://developer.palm.com/webChannel/index.php?packageid=com.opa.deve Aug 01 08:50:47 ah, got the answer: http://forums.precentral.net/showthread.php?p=2584709 Aug 01 11:57:36 I want to use my Pre as usb modem. Where can I find a good guide to get this working? Aug 01 12:08:19 Via wifi or cable? Aug 01 12:10:27 usb cable Aug 01 12:13:24 hotdp: I prefer usb cable Aug 01 12:14:29 i dunno then. I use Mobile Hotspot Aug 01 16:17:34 Is there some kind of "loading" symbol i can show in my app while loading? Aug 01 16:18:12 It must be a spinner :d Aug 01 16:56:25 good morning Aug 01 16:56:35 hotdp: yes, a spinner is good Aug 01 16:56:51 it comes in 2 flavors, large or small Aug 01 17:29:41 * hotdp wanna thank sugardave for getting me stop using Ares Aug 01 17:30:59 hey, no problem...should be easier to get help in here now :D Aug 01 17:47:45 evning LoneStar99 Aug 01 17:54:41 eveing hotdp Aug 01 17:54:50 how is everything going? Aug 01 17:54:59 very good Aug 01 17:55:04 awesome Aug 01 17:55:12 Have just dised Ares and that is GREAT Aug 01 17:55:17 what about you? Aug 01 17:55:38 same, gonna release my new app tonight Aug 01 17:56:20 nice Aug 01 17:56:24 what is it? Aug 01 17:57:42 an instant messenger / chat Aug 01 17:57:51 http://bobchatter.com/ Aug 01 17:58:08 still working on the site, and need to add a few things to app Aug 01 17:58:47 multi-threaded IM Aug 01 17:59:04 cool Aug 01 17:59:29 so bobchatter can tolk to bobchatter? Aug 01 18:00:09 well, bobchatter is one of my accounts... Aug 01 18:01:51 ok Aug 01 18:02:20 do you know how to add an picture ? Aug 01 18:02:23 in webos Aug 01 18:03:34 hotdp: like upload from the camera? Aug 01 18:03:52 no just show a picture in an webos app Aug 01 18:04:10 i can only find the ImageView and that is not what i want Aug 01 18:05:51 you can a couple of ways...a background attribute for a div, or an actual img element with src attribute Aug 01 18:05:52 uhh maybe i shall use Aug 01 18:05:58 that's it Aug 01 18:05:59 :D Aug 01 18:06:01 :) Aug 01 18:06:10 just like html :P i was looking for an widget Aug 01 18:06:48 then you can do imgElement.style.src = newSrc; to change it Aug 01 18:06:54 or many other ways :D Aug 01 18:07:44 thanks that was my next q :P Aug 01 18:08:13 hmm maxheight should that work? Aug 01 18:08:57 yes it does :P Aug 01 18:09:22 hotdp: yeah just like html or css ... "div.box{ width:750x;min-height:26px;background-image:url(../img/bc_tp.png);background-position:top left;background-repeat:no-repeat;padding;top:26px;} Aug 01 18:10:01 im loving it Aug 01 18:10:05 hotdp: an image in css will not show up, if you do not use the width and height Aug 01 18:19:37 yeah hotdp: alot of css/ html used in my apps is being used in on my websites Aug 01 18:19:47 reusable code rocks! Aug 01 18:20:04 haha Aug 01 18:29:20 alright, status reports done Aug 01 18:29:30 now it's "play" time Aug 01 18:38:23 'morning everyone Aug 01 18:40:57 hi hi Aug 01 18:54:00 is there a place, either online or on my phone, where i can see different methods i can call on a service with a serviceRequest? Aug 01 18:55:51 shawalli: http://developer.palm.com/index.php?option=com_content&view=article&id=1651&Itemid=20 Aug 01 18:57:17 augardave: right...hmm i guess i wasnt specific enough. im using the application manager and i want to see if there are additional methods that arent used in the examples they provide..palm has a way of only documenting stuff by showing examples, and otherwise not documenting Aug 01 18:57:31 haha, good luck with that Aug 01 18:57:50 in the finapps example, they show how to open to an app page, but there have to be different "params" than just "scene" Aug 01 18:58:18 you could just use the url Aug 01 18:58:39 or even different scenes than just "page" Aug 01 18:58:43 the developer.palm redirect url Aug 01 18:59:00 id like to forward right to the review page Aug 01 18:59:27 you'll have to look through the catalog source... I'm not sure if you can push a specific scene Aug 01 18:59:37 with a service call Aug 01 18:59:55 yeah i guess ill try that..i was looking at the findapp.jar to see if it was in there, but it doesnt seem like it Aug 01 19:00:11 look in usr/palm or something Aug 01 19:00:28 user/palm/applications/com.palm.app.findapps maybe? Aug 01 19:00:32 usr* Aug 01 19:05:28 where is the application manager located? because when the param is scene:"page" the name of the actual scene uses is not page, so it means page is a wrapper for some function Aug 01 19:29:12 rwhitby: you around by chance? Aug 01 19:31:39 sugardave: im starting to get cross-eyed looking for this stuff lol Aug 01 19:32:17 apparently, the app being called has to have a "handleLaunch" function, so now im wading through that and the associated files to see if i can find the "page" param Aug 01 19:32:54 ah-ha...yeah, you are more persistent than I am :D Aug 01 19:36:56 what's up, folks? Aug 01 19:39:58 i guess ill just throw up the white flag for now...i guess it doesnt matter THAT much for users to have to do one more button click Aug 01 19:43:22 why are they clicking a button? Aug 01 19:43:52 i wanted to have a button that would take users right to my app in the app catalog, but with the review page loaded Aug 01 19:44:09 ah. Aug 01 19:44:31 does the catalog allow that? Aug 01 19:44:43 apparently not... Aug 01 19:45:03 ...fro the little of this discussion I've seen Aug 01 19:45:11 i couldnt figure out a way to do it though...the application manager will get me to my apps page with the param {scene:"page",target:"myappstarget"}, but i figured theres probably a param other than "scene" or a key other than"page" to do what i want to do Aug 01 19:45:21 alas, after an hour of searching, im not much closer to my goal Aug 01 19:46:08 you looked at app catalog code? Aug 01 19:47:03 yep Aug 01 19:47:28 and at the app catalog service, and the d-bus service Aug 01 20:28:50 Ok so can someone tell me if this sql update will succeed? I dont want the popScene to kill the call. Aug 01 20:28:51 database.saveInventoryData(); Aug 01 20:28:51 Mojo.Controller.stageController.popScene(this); Aug 01 20:29:58 Tibfib: I know you got an answer to this one. Aug 01 20:38:24 has anyone worked with 2 text boxes in "like login / password" text fields Aug 01 20:40:57 how do you mean? Aug 01 20:43:23 have the following html http://pastebin.com/paL9kPR5 Aug 01 20:43:59 so whats the issue? Aug 01 20:44:05 Anivrom: a popScene (unless it's the last one) shouldn't kill your db call Aug 01 20:44:12 thanks sugardave Aug 01 20:44:13 they work, but they look ugly and Aug 01 20:44:15 test to be sure Aug 01 20:47:12 good night Aug 01 20:47:49 laters hotdp Aug 01 20:48:06 night Aug 01 20:48:38 http://admin.work.lonestarbeer.operaunite.com/file_sharing/content/log1.png and http://admin.work.lonestarbeer.operaunite.com/file_sharing/content/log2.png Aug 01 20:49:10 i am sure that the text fields should not look like the following above images... Aug 01 20:49:25 they look a bit odd for sure Aug 01 20:49:52 they work, but the css is all screwed up Aug 01 20:50:04 yea Aug 01 20:50:44 then they get worse if I remove "
from http://pastebin.com/paL9kPR5 Aug 01 20:51:31 LoneStar99: are you overriding class .textBox? Aug 01 20:52:32 sugardave: yeah overriding but still look odd Aug 01 20:52:46 what if you don't override it? Aug 01 20:54:50 just removed the classes and using the following: http://pastebin.com/r2vVuHHq Aug 01 20:56:22 and still the same ugly look Aug 01 20:56:57 anyway to disable the fields to stay the same size regardless of focus Aug 01 21:03:32 sugardave: whats the syntax you use to set the scroll position? I got some off the web but it throws an error Aug 01 21:03:55 are you using snap-elements? Aug 01 21:04:04 dont know what that is Aug 01 21:04:08 then no :D Aug 01 21:04:13 you are not Aug 01 21:04:31 I just drag the scroller widget onto the canvas and code away :P Aug 01 21:04:48 something like this.controller.get(scrollerId).mojo.scrollTo(???); Aug 01 21:04:53 not sure what ??? is Aug 01 21:04:53 sugardave: one fix, missing the height Aug 01 21:05:04 and you successfully use this? Aug 01 21:05:10 LoneStar99: you are on your own with styling buddy :D Aug 01 21:05:30 Anivrom: I use snap-elements and snapIndex Aug 01 21:05:35 this.controller.get("scroller1").mojo.setState(myState); apparently works. Aug 01 21:05:46 sugardave: thanks... Aug 01 21:06:28 scrollTo wants x/y integers Aug 01 21:06:36 not sure what they represent.... Aug 01 21:07:01 alright. I'll figure it out, should I google snap-elements? Aug 01 21:07:09 probably width/height of scroller elements Aug 01 21:07:32 Anivrom: is it vert or horizontal Aug 01 21:07:34 ? Aug 01 21:07:36 vert Aug 01 21:07:50 look at the scroller widget page and vertical-snap Aug 01 21:07:59 alright Aug 01 21:10:26 Anivrom: the important thing about them is that you have to supply the model with a 'snapElements' array that contains ALL of the list elements you want the scroller to snap to Aug 01 21:10:42 ah Aug 01 21:10:44 er snapElements object with x and y arrays Aug 01 21:10:46 sounds compliciated Aug 01 21:10:52 it's not too bad Aug 01 21:11:37 for instance, I stole dalmaer's idea of setting class="snap" in the main div of my item template Aug 01 21:12:07 then I can do this.controller.select('.snap'); Aug 01 21:12:13 boom, instant array Aug 01 21:12:15 weird Aug 01 21:12:33 Too deep for me atm Aug 01 21:12:43 too much html :P Aug 01 21:12:50 that's one attribute Aug 01 21:12:55 in one file Aug 01 21:12:57 one time Aug 01 21:12:59 :P Aug 01 21:13:03 dont bother explaining :P Aug 01 21:30:41 mmmm....ice cold watermelon Aug 01 21:30:50 -_- Aug 01 21:31:00 that sounds good Aug 01 21:34:11 oil: look, it's another wicer Aug 01 21:36:44 Hey all Aug 01 21:37:32 Where? Aug 01 21:43:20 Uh oh Aug 01 21:43:27 Battery draining! Aug 01 21:43:34 Dumb wirc Aug 01 21:43:41 heh, its a 'feature' Aug 01 21:43:44 I think disneyland drains my batter more Aug 01 21:43:45 makes sure you don't have too much fun Aug 01 21:44:36 Hehe Aug 01 21:44:47 Two drink maximum already ensures that Aug 01 21:45:33 * kesne_pre wants to go in club 33 Aug 01 21:48:04 why? what's in there? Aug 01 21:49:21 some dirty stuff in there. Aug 01 21:49:30 Like milkshakes and 15 year olds. Aug 01 21:49:34 Kesne's wetdream Aug 01 21:50:52 Good stuff Aug 01 21:51:00 Fine dining Aug 01 21:51:05 Google it Aug 01 21:51:21 my google is broken Aug 01 21:51:25 haha Aug 01 21:51:32 ok dmkae Aug 01 21:51:36 heh Aug 01 21:51:44 bing it themn Aug 01 21:51:46 then Aug 01 21:52:19 Bam! Aug 01 21:52:35 It's the only place alcohol is served in disneyland Aug 01 21:53:02 you don't need alcohol to have a good time at DisneyLand. Aug 01 21:53:12 I donr Aug 01 21:53:14 Dont Aug 01 21:53:17 nope Aug 01 21:53:26 It's just a fun-fact Aug 01 21:53:43 yea sugardave geez lighten up Aug 01 21:53:43 It's also the nicest restaurant Aug 01 21:53:49 And a nightclub Aug 01 21:55:46 Lonestar99 you could try using palm-group unlabel-->palm-row single-->palm-row-wrapper-->textfield Aug 01 21:56:53 they serve alcohol at disneyland? Aug 01 21:56:58 hi Aug 01 21:57:08 Arg Aug 01 21:57:09 Back Aug 01 21:57:23 torchie: only in club 33 Aug 01 21:57:26 apparently at Club 33 Aug 01 21:57:42 They have a full bar Aug 01 21:58:45 True story Aug 01 21:58:58 10 % battery Aug 01 21:59:03 haha Aug 01 21:59:08 My shorts look pink Aug 01 21:59:18 they _are_ pink Aug 01 21:59:21 Thank god I brought a backup Aug 01 22:00:05 ok so my icon.png shows up in launcher but doesn't show up in the middle of the card on launch, I know you guys know the trick to this one Aug 01 22:01:01 i'd like to know on which distribution is based WebOS Aug 01 22:01:01 It's because you suck Aug 01 22:01:08 :( Aug 01 22:01:19 Anivrom: I don't think we can control that one Aug 01 22:01:26 apparently your pre is not dying fast enough Aug 01 22:01:48 sugardave: the icon in the middle of the card is the default moon icon Aug 01 22:01:53 gogaz: some debian arm one, I think Aug 01 22:02:01 gogaz: webos is based on Debian Linux Aug 01 22:02:14 5% Aug 01 22:02:14 oh, I thought you meant it was shifted up or something Aug 01 22:02:20 sugardave: realy ? so why can't i find apt* or dpkg ? Aug 01 22:02:41 so how do I fix that? Aug 01 22:02:55 gogaz: because they were removed? Aug 01 22:03:17 gogaz: if you hit up #webos-internals, they can tell you all you ever care to know about the Linux side Aug 01 22:03:28 Anivrom: you cant Aug 01 22:03:31 thanks Aug 01 22:03:35 kesne, im sick of it Aug 01 22:03:38 Anivrom: your pre is brokenf Aug 01 22:03:45 Forever Aug 01 22:04:03 Anivrom: what properties are you using in appinfo.json for your icons? Aug 01 22:04:04 Anivrom: of what? Aug 01 22:04:07 brb Aug 01 22:04:09 * Anivrom stabs kesne in the eyes with unripe bananas Aug 01 22:04:31 Lolol Aug 01 22:04:38 when is deactivated "activated"? on app closing only? Aug 01 22:04:47 on card popping too Aug 01 22:05:09 LoneStar99: ^ Aug 01 22:05:41 2% Aug 01 22:05:46 Oh boy! Aug 01 22:06:21 There are a lot of attractive people here Aug 01 22:06:34 thank you! Aug 01 22:06:43 You had to go and ruin the pattern kesne, you're so selfish Aug 01 22:06:48 sugardave: I meant at d-land Aug 01 22:06:55 sugardave: icon.png Aug 01 22:06:55 oh D: Aug 01 22:06:56 Anivrom: good one! Aug 01 22:07:02 :) Aug 01 22:07:09 Lonestar99: did you see what i said? Aug 01 22:07:25 Anivrom: have you restarted the emu? Aug 01 22:07:33 I only test on device Aug 01 22:07:36 shawalli: no where? Aug 01 22:07:39 have you restarted your device? Aug 01 22:07:44 a luna restart should do Aug 01 22:07:45 was testing my app.. Aug 01 22:07:45 Negative Aug 01 22:07:48 oh ok Aug 01 22:07:52 ill do that later then Aug 01 22:08:08 Wow, these people are much more attractive here than in oregon Aug 01 22:08:11 Like, a lot Aug 01 22:08:11 Lonestar99: you could try using palm-group unlabel-->palm-row single-->palm-row-wrapper-->textfield Aug 01 22:08:17 for the text field problem Aug 01 22:08:35 From where I'm sitting, I spot three Aug 01 22:08:45 try TX Aug 01 22:08:48 And two just walked by Aug 01 22:08:57 And there's another Aug 01 22:09:02 shawalli: oh ok thanks, will try that out - thanks Aug 01 22:09:04 I hate TX Aug 01 22:09:12 kesne, you're in a theme park, ofc there's gonna be hot girls wearing next to nothing Aug 01 22:09:19 Damn republicans Aug 01 22:09:23 anivrom: what about the first-scene "main scene" Aug 01 22:09:30 yea Aug 01 22:09:35 any scene Aug 01 22:09:37 Anivrom: I'm not compaining, at all. Aug 01 22:09:50 whichever scene is active Aug 01 22:09:59 You gotta bind it though Aug 01 22:10:29 this.controller.listen(this.controller.stageController.document, Mojo.Event.stageDeactivate, game.stageDeactivate.bind(this), true); Aug 01 22:10:29 Aug 01 22:10:34 anivrom: so if a user is in main scene --> chooses an option in the app menu and taken to a new scene, "main" scene is deactivated? Aug 01 22:10:41 no Aug 01 22:10:50 popping scenes doesn't call deactivate Aug 01 22:10:54 popping the "card" does Aug 01 22:10:59 bzzt Aug 01 22:11:00 kesne_pre: where are their hot chicks? Aug 01 22:11:05 its how games pause when you minimize Aug 01 22:11:20 deactivate should be called on scenePush/Swap to a new scene Aug 01 22:11:26 erm Aug 01 22:11:37 cleanup is what you are thinking of Aug 01 22:12:01 no, cleanup is called when a scene is pushed/popped Aug 01 22:12:07 that's why I listen in activate and stopListening in deactivate Aug 01 22:12:14 Anivrom: ok thanks, looking for a small bug, just thought deactivate was the culprit but it seems it is not Aug 01 22:12:16 I believe you are mistaken Aug 01 22:12:21 negative Aug 01 22:12:33 not pushed Aug 01 22:12:34 cleanup is definitely called when a scene is popped Aug 01 22:12:35 popped Aug 01 22:12:37 so is deactivate Aug 01 22:12:38 Yea thats what I said Aug 01 22:12:50 but deactivate is ALSO called when another scene is pushed/swapped Aug 01 22:12:52 There is no deactivate on a scene unless you set a listener to it Aug 01 22:13:01 sugardave: ok will try out "cleanup" Aug 01 22:13:04 isnt cleanup only called if the app is closing from that scene? aka flicked off the screen Aug 01 22:13:12 shawalli no Aug 01 22:13:20 If the scene is popped cleanup is called Aug 01 22:13:23 17:10 < LoneStar99> anivrom: so if a user is in main scene --> chooses an option in the app menu and taken to a new scene, "main" scene is deactivated? Aug 01 22:13:26 17:10 < Anivrom> no Aug 01 22:13:30 if the app is popped the current scene is called Aug 01 22:13:36 current scene cleanup Aug 01 22:13:42 I believe Aug 01 22:13:49 if the user is in scene main, and they go to another scene, deactivate on main IS called Aug 01 22:13:53 Or maybe the app cleanup gets called, dont know about that one Aug 01 22:14:23 sugardave: ok let me test it out... brb Aug 01 22:14:25 Sugardave: if you don't setup an event listener for main, then there is no function for main to call when it deactivates Aug 01 22:14:50 what? Aug 01 22:15:27 I dont know about you, but I don't see any function called deactivate() in my scenes Aug 01 22:15:30 that is incorrect for sure...you can put listeners in activate and stopListening in deactivate Aug 01 22:15:32 I had to create one Aug 01 22:15:37 oh Aug 01 22:15:41 fucking Ares Aug 01 22:15:44 Its called cleanup Aug 01 22:15:46 () Aug 01 22:15:53 Mojo goes like this Aug 01 22:16:33 constructor->setup->readyToActivate->Activate....cleanup is the opposite of setup and deactivate is the opposite of activate Aug 01 22:16:41 on pop/swap Aug 01 22:17:08 and in ares, Create a new stage gives you this template assistant setup:... Aug 01 22:17:15 apparently Ares does not create a deactivate prototype function for you Aug 01 22:17:45 InventoryTestAssistant.prototype = { Aug 01 22:17:45 setup: function() {} activate: function() {} cleanup: function() {} Aug 01 22:17:51 that's what I'm saying Aug 01 22:17:59 they're not giving you a deactivate function Aug 01 22:18:02 right Aug 01 22:18:06 but if you make one, you bet your ass it will be run Aug 01 22:18:07 You gotta bind yourself. Aug 01 22:18:17 Thats what I said 10 minutes ago lol Aug 01 22:18:20 You gotta bind one Aug 01 22:18:20 right Aug 01 22:18:23 no Aug 01 22:18:26 I already have one Aug 01 22:18:26 mhmmmm Aug 01 22:18:29 oh Aug 01 22:18:30 that's where the confusion is Aug 01 22:18:31 see Aug 01 22:18:34 fucking Ares Aug 01 22:18:39 sugardave: deactivate is called when a new scene is called from main scene Aug 01 22:18:40 ok you just gotta type it into the constructor Aug 01 22:18:51 ares doesn't include it Aug 01 22:18:52 gonna try loading it cleanup() Aug 01 22:18:56 therefore it doesn't exist for me Aug 01 22:19:06 yeah, and that's stupid Aug 01 22:19:15 I do however have a deactivate bind on my whole app Aug 01 22:19:33 this.controller.listen(this.controller.stageController.document, Mojo.Event.stageDeactivate, game.stageDeactivate.bind(this), true); Aug 01 22:19:33 Aug 01 22:19:41 why get a whole bunch of people skilled up on standard Mojo and the intricacies of all this crap, then not include the same base level functions in Ares? Aug 01 22:19:42 and a equal activate Aug 01 22:20:14 because ares has other ways to handle deactivation of scenes Aug 01 22:20:18 pretty sure you can just make a deactivate and/or cleanup function in your stage assistant that would do the same thing Aug 01 22:20:20 aka cleanup Aug 01 22:20:35 cleanup exists in Mojo it would be the same thing Aug 01 22:20:45 right, so no need for deactivate Aug 01 22:20:54 that's BS Aug 01 22:21:03 just bind a global stage activate/deactivate Aug 01 22:21:11 and each cleanup handles their own scenes Aug 01 22:21:24 there IS a need for deactivate if you want to not eat all the freaking RAM with 1000 listeners listening on scenes that aren't active Aug 01 22:21:35 cause th way I see it activate/deactivate is only needed to detect minimize/maximizing of stages Aug 01 22:21:43 nope Aug 01 22:21:48 sugardave: thats what cleanup is for Aug 01 22:21:57 only if you have done listeners in setup Aug 01 22:22:15 and then what happens when the scene is reactivated and you maybe wanted to change one of those listeners in a subtle way? Aug 01 22:22:40 You would still stoplistening in cleanup() Aug 01 22:22:53 how do you change the listener? Aug 01 22:23:22 wouldnt you kill it and setup again? how would you do it any other way? Aug 01 22:23:33 where do you do that? Aug 01 22:23:39 in scene setup function? Aug 01 22:23:51 because if you push a new scene then go back, you're fucked Aug 01 22:24:02 you do it in activate Aug 01 22:24:06 Then just setup the listeners in setup... Aug 01 22:24:08 like you're saying Aug 01 22:24:16 or activate. same thing Aug 01 22:24:20 and generally, you put the corresponding stopListening in the opposite function, deactivate Aug 01 22:24:28 but that doesn't always have to happen Aug 01 22:24:29 setup and activate are not the same thing Aug 01 22:24:44 setup is only run once per scene lifetime Aug 01 22:24:52 I know setup gets called once on push, activate gets called multiple times Aug 01 22:24:58 I ran into that problem already Aug 01 22:25:05 activate got called alot when I didnt want it to Aug 01 22:25:12 had to setup flags to stop code from executing Aug 01 22:25:31 either that or move the code to the proper place Aug 01 22:25:55 hehe Aug 01 22:25:59 >_> Aug 01 22:27:50 anyhow Ares handles all event listeners that you didn't specifically setup. and since the gui has a tab called "events" which you just click 'tap' or 'hold' to have ares automagically create eventlisteners/callback functions, you rarely have to manually setup event listeners. Aug 01 22:28:01 meaning anything ares creates, it destroys in cleanup Aug 01 22:28:06 weak Aug 01 22:28:09 negative Aug 01 22:28:14 Less code Aug 01 22:28:20 they pre-empt cleanup to be both deactivate/cleanup, then Aug 01 22:28:26 and that causes code problems Aug 01 22:28:33 I havent run into any Aug 01 22:28:40 in that area Aug 01 22:29:08 Pre died Aug 01 22:29:22 I imagine trying to convert your Ares code to straight Mojo would result in my head exploding in a barrage of "WTF?!"s and tears. Aug 01 22:29:32 Hey Amaranth, are you here? Aug 01 22:29:45 although one thing that is puzzling is in ares.js they have console.log("blah") commented out which I assume would mean it should work in ares, yet when I use it nothing shows up Aug 01 22:29:53 elyon! hows haxe going? Aug 01 22:29:59 Bbl, gonna go on some rides Aug 01 22:30:00 sugardave: correct Aug 01 22:30:07 because I took the whole setup/cleanup activate/deactivate model I described as the foundation of how webOS functions Aug 01 22:30:11 Have fun sitting at your desks everyone Aug 01 22:30:13 Pretty good. I decided I was starting on my game today Aug 01 22:30:20 nice Aug 01 22:30:29 have you gotten symbol libraries working? Aug 01 22:30:32 The first thing I was working on was getting SDL_Image to work, so I can start using bitmaps instead of vectors Aug 01 22:31:03 Anivrom: of course it shows up...in the REAL environment :P Aug 01 22:31:11 oh hush :P Aug 01 22:31:16 /var/log/messages in the EMULATOR Aug 01 22:31:16 leave ares alone! Aug 01 22:32:04 it should be displayed in the log viewer though Aug 01 22:32:07 oh well. Aug 01 22:32:21 perhaps they create deactivate in code if you don't provide one, since they handle the widget stuff automatically Aug 01 22:32:30 Anivrom: By symbol libraries, do you mean graphics from an FLA? Aug 01 22:32:43 whats also weird is haeffb-pre's cupcake code outputted console logs, but mine dont work Aug 01 22:32:47 what are these apps in appscoop? Aug 01 22:32:51 i see flash installer Aug 01 22:33:02 elyon: yes custom symbol libs in an fla Aug 01 22:33:03 i can't understand thoses commands: GESTURE+[0-9] Aug 01 22:33:11 what should i do ? Aug 01 22:33:43 gogaz: I don't understand that either Aug 01 22:33:55 what are you trying to do? Aug 01 22:33:59 no it's for instance GESTURE+1 GESTURE+2 ... Aug 01 22:34:05 cupcakes use Mojo.Log Aug 01 22:34:08 i'm trying to use vi in the Terminal Aug 01 22:34:12 oh Aug 01 22:34:13 which doesn't work Aug 01 22:34:14 either Aug 01 22:34:15 lol Aug 01 22:34:23 gogaz: damn, never tried it Aug 01 22:34:29 :/ Aug 01 22:34:29 gestures are the swipes you make Aug 01 22:34:31 forward swipe Aug 01 22:34:34 back swipe Aug 01 22:34:36 etc Aug 01 22:34:47 but I have no clue which one is 1, 2, etc Aug 01 22:35:38 I've loaded SVG vectors Aug 01 22:35:49 svg? Aug 01 22:35:50 I don't think it's possible to pull symbols out of an FLA directly Aug 01 22:36:07 It's a vector format. You can save from Illustrator, and maybe Flash into SVG Aug 01 22:36:15 ah Aug 01 22:36:26 elyon: flash into SVG ? Aug 01 22:36:57 sounds strange Aug 01 22:38:21 The crazy thing about getting my mind wrapped around this project is that I'm working on so many different levels, all at once Aug 01 22:38:40 yea its alot to learn Aug 01 22:38:47 It's C code, then it's haXe code built on top of that, with frameworks built on top of that, with custom code on top of that ... Aug 01 22:39:01 So it's like working on four pieces all at once Aug 01 22:39:10 :) Aug 01 22:39:51 GESTURE+1 means tap-hold the gesture area while typing 1 Aug 01 22:41:27 SDL + Neko NME 2 + Neko STD + HXCPP + haXe + gm2d + me Aug 01 22:41:35 It boggles Aug 01 22:44:45 haeffb_: that's what i'm trying to do :/ Aug 01 22:46:31 game.decorItems[i].imgs.src = game.inventoryItems.decorations[inventoryItemIndex].imageurl; doesn't actually assign anything that can be saved in a sql because when I load decorItems from the database the imgs property isnt there. is this expected behaviour? Aug 01 22:48:05 haeffb_: it's not working :/ Aug 01 22:48:41 drat Aug 01 22:48:57 did you check in #webos-internals? Aug 01 22:49:05 he's working on it Aug 01 22:49:10 slow responses :P Aug 01 22:50:06 Anivrom: I'm not sure what you expect... Aug 01 22:50:15 magic Aug 01 22:50:33 decorItems[index].imgs is not getting saved to the database Aug 01 22:50:47 the imgs property Aug 01 22:50:55 The other 7 properties get saved and loaded fine Aug 01 22:51:30 haeffb_: yes, there's nobody alive Aug 01 22:51:37 does it only do single-level properties? Aug 01 22:52:02 good question Aug 01 22:52:03 Don't know what that means but the structure of decorItems is this: Aug 01 22:52:06 top-level Aug 01 22:52:07 I mean Aug 01 22:52:08 game.decorItems.push({name: this.currentSelectedItem.name, x1: null, y1: null, x2: null, y2: null, tempX: null, tempY: null, imgs: null, locked: null}); Aug 01 22:52:08 Aug 01 22:52:27 So imgs is eventually populated with new Image() Aug 01 22:52:39 and then assigned as in my previous code Aug 01 22:52:47 but it just wont save to the db Aug 01 22:52:57 is this a remote image? Aug 01 22:53:00 no Aug 01 22:53:08 sugardave: I think it should do nested objects OK Aug 01 22:53:09 oh doesn't matter Aug 01 22:53:30 I check the object the line before it gets saved and it is fine Aug 01 22:53:31 you should be saving the string of the image source as .imgs Aug 01 22:53:41 I check the object the line it gets loaded and its gone Aug 01 22:53:44 and then do your new Image from it when you load from the db Aug 01 22:54:31 but canvas requires an object in drawImage() I believe Aug 01 22:54:45 okay Aug 01 22:54:52 how do you make that? Aug 01 22:54:58 how do I make what? Aug 01 22:55:51 I suspect new Image() has more to it...what is it? Aug 01 22:56:10 game.decorItems[i].imgs = new Image(); Aug 01 22:56:10 game.decorItems[i].imgs.src = game.inventoryItems.decorations[inventoryItemIndex].imageurl; Aug 01 22:56:10 Aug 01 22:56:10 i.e. how do you tell new Image what source to use? Aug 01 22:56:12 thats it Aug 01 22:56:37 okay, your ridiculouslylongobject.imageurl Aug 01 22:56:39 save that Aug 01 22:56:41 in the db Aug 01 22:56:41 imageurl is an image Aug 01 22:56:55 how did it get in there? Aug 01 22:57:18 new Image() Aug 01 22:57:23 so its basically a dom object Aug 01 22:57:30 new Image() did not make a url for you Aug 01 22:57:35 Ares is not THAT magical Aug 01 22:57:43 correct. Aug 01 22:57:47 okay Aug 01 22:57:51 where did the url come from? Aug 01 22:57:55 I assign the .src to "images/blah/lg.png Aug 01 22:58:00 that's it! Aug 01 22:58:03 that's the magic! Aug 01 22:58:06 save that in the db Aug 01 22:58:09 read from the db Aug 01 22:58:16 -_- Aug 01 22:58:16 use that value to do the new Image() code Aug 01 22:58:22 assign that to canvas Aug 01 22:59:26 Wanted to avoid having to search through game.inventoryItems.decorations to find the right element to grab the src string Aug 01 22:59:34 since the list might get quite big Aug 01 22:59:57 but looks like theres no choice since it wont save my dom out Aug 01 23:00:10 you should only be doing that once Aug 01 23:00:12 then save to db Aug 01 23:00:16 then always use the db value Aug 01 23:00:17 ? Aug 01 23:00:59 you could always try the not-so-reliable base-64 encode of your image and save that string to the db, then base-64 decode it out on read Aug 01 23:01:02 that MIGHT work Aug 01 23:01:13 Yes but then there are 2 properties I would need to setup in decorItems, first being the img element to use in canvas and the other the string of the img Aug 01 23:01:47 wtf, how did you know I have base64.js in my scripts folder Aug 01 23:01:57 decorItems.imageInfo = {'element': theElement, 'src': theSrc}; Aug 01 23:02:21 You8 got an answer for everything dont you Aug 01 23:02:29 merely suggestions :P Aug 01 23:02:33 * Anivrom starts changing things to meet sugardaves clever suggestions Aug 01 23:02:40 curses Aug 01 23:04:39 and dont try and tell me you don't have objects that ridiculously long :P Aug 01 23:04:48 ... do you? Aug 01 23:04:51 <_< Aug 01 23:04:57 oh yes, I was just poking Aug 01 23:05:27 thought I was developing some bad js habits or something Aug 01 23:05:33 nah Aug 01 23:06:06 anyone know how to upload an image to webos-internals (i know i should ask in the WI irc room, but i figured Id ask here in case someone knew before I logged off this and into WI irc) Aug 01 23:06:11 game.decorItems[i].imageurl = game.inventoryItems.decorations[inventoryItemIndex].imageurl; should resolve the problem if I setup a loop in loadInventory that assigns imageurl to imgs Aug 01 23:06:36 cool Aug 01 23:07:02 I hate those gotchas that take up large amounts of time Aug 01 23:12:16 I just teabagged my cat... she was like wtf Aug 01 23:12:53 me, too...wtf? Aug 01 23:13:07 oh hey Aug 01 23:13:19 Anivrom: you are a grpahics guy, nay god, yes? Aug 01 23:13:24 somewhat Aug 01 23:13:31 what do you need? Aug 01 23:13:40 so I have Gimp Aug 01 23:13:44 mk Aug 01 23:14:04 need some python filters? Aug 01 23:14:05 and I want to make some squares Aug 01 23:14:10 ok Aug 01 23:14:15 I just need to learn how to freaking draw shapes Aug 01 23:14:30 well Aug 01 23:14:33 You gotta use the pen tool Aug 01 23:14:38 that sucks Aug 01 23:14:52 sugardave: throw Gimp away and get paint.net Aug 01 23:15:02 does it run in linux? Aug 01 23:15:15 actually if you want to just draw squares, use the selection box and filli t in Aug 01 23:15:18 fill it* Aug 01 23:15:28 or you can get me to do the graphic and I'll email it to you Aug 01 23:15:35 okay, I did just stumble across that Aug 01 23:15:56 gimp is pretty limited in some ares Aug 01 23:16:00 I really want to just play around and I need to make some placeholder graphics Aug 01 23:16:00 areas too Aug 01 23:16:10 yeah it seems to be great for existing images Aug 01 23:16:14 doh. Aug 01 23:16:16 mhm Aug 01 23:16:24 sugardave: throw linux away and get Win7 Aug 01 23:16:29 haha Aug 01 23:16:34 nooooooooo Aug 01 23:16:39 I have it in a vm Aug 01 23:16:45 but I can't run it right now Aug 01 23:16:54 there are some good browser based drawing tools too, like haeffb_ said Aug 01 23:17:02 seriously, paint.net is much easier to use than Gimp Aug 01 23:17:11 it's not browser based Aug 01 23:17:33 I'm thinking of a different one then Aug 01 23:17:35 yeah, I need something paint.net-like Aug 01 23:17:37 let me find it Aug 01 23:17:58 I had just gotten used to using photoshop's handy layer effects stuff Aug 01 23:18:08 well, sort of Aug 01 23:18:12 http://aviary.com/online/image-editor?fguid=82a19d98-f552-102b-b565-0030488e168c Aug 01 23:18:12 I could make it do things Aug 01 23:18:14 pretty good Aug 01 23:18:26 for simple stuff Aug 01 23:18:33 photoshop-ish Aug 01 23:18:44 yeah, okay...thanks! Aug 01 23:22:44 that unzipped kitty is spooky Aug 01 23:22:50 mhmmm Aug 01 23:23:45 http://aviary.com/tools Aug 01 23:23:51 They got a ton of other cool things too Aug 01 23:23:58 worth checking out Aug 01 23:24:09 effects editor was cool Aug 01 23:24:18 wow weird Aug 01 23:24:30 * haeffb_ will wait until I get my fiber this week Aug 01 23:24:59 nice Aug 01 23:27:32 That's some serious flash programming skills. Aug 01 23:27:35 whole thing is flash Aug 01 23:29:48 Pffft. Flash. Aug 01 23:30:02 Flash is DEAD now that HTML5 is here Aug 01 23:30:06 (right? ;) Aug 01 23:30:41 hah Aug 01 23:31:09 yo sup peeps Aug 01 23:31:13 in the future ActionScript will be manditory curriculum for all first graders. Aug 01 23:31:13 HTML5 video renders Flash completely obsolete Aug 01 23:31:18 hey codeslaw Aug 01 23:31:39 Even for Flash 3D or physics. Obsolete. Physics, huh? Obsolete! Aug 01 23:31:49 what it is Aug 01 23:32:45 * Anivrom got decorItems to save and load, now on to the next bug Aug 01 23:34:46 app ready for release, who wants to test it? Aug 01 23:34:52 memememememememememe Aug 01 23:34:52 ME Aug 01 23:34:54 ME Aug 01 23:34:55 ME Aug 01 23:34:57 no Aug 01 23:34:58 not him Aug 01 23:35:01 send me the IPK first Aug 01 23:35:02 not him Aug 01 23:35:03 me Aug 01 23:35:07 i'll send it to him when i'm done Aug 01 23:35:16 he will lose it, and then you'll hvae to start over Aug 01 23:35:17 What did you make? Aug 01 23:35:17 FIRST! Aug 01 23:36:49 codeslaw: http://admin.work.lonestarbeer.operaunite.com/file_sharing/content/ Aug 01 23:37:18 buildasearch? Aug 01 23:37:42 installed Aug 01 23:38:18 you need to register a "username" handle what ever Aug 01 23:38:51 -_- Aug 01 23:38:53 where? Aug 01 23:39:13 codeslaw: decided to keepp "buildsearch" easier to handle Aug 01 23:39:23 Anivrom: in the app menu Aug 01 23:41:06 LoneStar99: make registration link way more prominent Aug 01 23:41:08 imo Aug 01 23:41:13 Yea Aug 01 23:41:24 It shouldnt be in preferences Aug 01 23:41:27 3 clicks is way deep for the very first thing you need to do Aug 01 23:41:31 If anything it should be a main menu item Aug 01 23:41:40 link on the page Aug 01 23:41:42 but should be a button on the login Aug 01 23:41:49 yes, on the login page Aug 01 23:41:52 And teh power button was misleading, thought it closed the app Aug 01 23:42:38 codeslaw: yeah i will, just needed to roll it out Aug 01 23:43:01 I would fix that before you publish Aug 01 23:43:26 codeslaw: anivrom you logged in? Aug 01 23:43:35 haven't gotten email confirm Aug 01 23:43:40 havent gotten email Aug 01 23:43:51 check spam - folder Aug 01 23:44:04 nope Aug 01 23:44:25 nvm yep Aug 01 23:44:45 whose it from... why spam? Aug 01 23:45:02 I shouldnt have to back gesture on the confirm email stage Aug 01 23:45:25 anivrom: problem is that is webview stuff Aug 01 23:45:43 will get rid of of webview in the next release Aug 01 23:45:51 its not logging in Aug 01 23:45:54 just sits there Aug 01 23:45:58 still haven't gotten them Aug 01 23:46:03 the email Aug 01 23:46:27 if you have email forwarding check your first email spam folder Aug 01 23:46:37 My hotmail is forwarded to gmail and it showed up in hotmail spam Aug 01 23:47:27 codeslaw: show no record for you... Aug 01 23:47:43 Anivrom: you on wifi or 3g? Aug 01 23:47:54 3g Aug 01 23:48:14 close the app and try logging in again... Aug 01 23:48:48 that worked Aug 01 23:48:52 gotta fix that Aug 01 23:49:10 also the power button needs to be changed to something that says "go" instead of "stop" Aug 01 23:49:50 http://www.youtube.com/watch?v=bk3MkeUf_Ic Aug 01 23:49:59 that is a video "tutorial" Aug 01 23:51:03 ok... when i confirmed my password the first time, i hit enter on the keyboard Aug 01 23:51:06 and it took me off the page Aug 01 23:51:13 but didnt register me Aug 01 23:51:19 this time i waited for the play button to appear Aug 01 23:51:35 should have that playbutton visible but disabled, so people know to wait for it. Aug 01 23:51:49 fade it out 50% Aug 01 23:51:51 codeslaw: ok taking notes Aug 01 23:51:58 via webkit Aug 01 23:52:02 k Aug 01 23:55:29 I can't reply Aug 01 23:55:30 ... Aug 01 23:55:46 weird Aug 01 23:55:56 I think the UI needs to be more straightforward. Aug 01 23:56:36 morning Aug 01 23:56:39 anivrom , what is it doing? Aug 01 23:56:59 random conversation boxes popping up Aug 01 23:57:15 and I couldnt figure out how to respond to them cause the textfield blends in with the background Aug 01 23:57:29 just says "0* Online, Yahoo" Aug 01 23:57:30 got your reply Aug 01 23:57:33 "hi" Aug 01 23:58:03 and the old message I sent was still int he text box when the send window popped up Aug 01 23:58:26 oh yeah if you click on the box, it dissappears Aug 01 23:58:45 didnt for me Aug 02 00:03:14 moving up the register Aug 02 00:04:12 LoneStar99: in Done, I check to see if the user has logged in when activating the first scene. If not, I push the account login scene instead... Aug 02 00:08:26 haeffb_: you registered? Aug 02 00:08:34 no, haven't looked at it yet. Aug 02 00:08:54 working on creating an In-n-Out Double Double Animal Style Aug 02 00:09:10 haeffb_: nice! Aug 02 00:09:22 per these instructions: http://aht.seriouseats.com/archives/2010/07/the-burger-lab-how-to-make-an-in-n-out-double-double-animal-style.html Aug 02 00:09:27 never had one, but looks good Aug 02 00:10:15 caramelizing onions takes forever Aug 02 00:11:19 haeffb_: they make the fries animal style, not sure the burger Aug 02 00:11:50 according to that link, the burger is as well Aug 02 00:12:33 interesting... never had the burger animal style only fries, will give it a try in a few months when i go back to san diego Aug 02 00:13:39 would always get the double burger with cheese and grilled onions, Aug 02 00:13:55 ok getting hungry brb Aug 02 00:14:07 Anivrom: thanks for testing the app Aug 02 00:14:11 brb in 10 Aug 02 00:15:03 what the heck is animal style Aug 02 00:15:43 in and out burgers Aug 02 00:17:29 in and out is the name of some restaurant? Aug 02 00:18:39 ping Aug 02 00:22:53 pong Aug 02 00:28:15 Anivrom, yes Aug 02 00:28:42 interesting. so they have their own name for the food they make called "animal style" Aug 02 00:29:49 Anivrom: yeah they are in the west coast killer burgers Aug 02 00:30:09 I guess the equivalent here would be "licks" Aug 02 00:30:28 animal style is with cheese and some "special sauce" on top of fries and burgers Aug 02 00:30:46 never had the burger animal style though Aug 02 00:31:18 man Aug 02 00:31:18 sauce Aug 02 00:31:19 man Aug 02 00:31:29 man sauce? Aug 02 00:31:31 do not want Aug 02 00:31:41 * Anivrom has been trying to track down a bug for 2 hours, that technically shouldn't exist **** ENDING LOGGING AT Mon Aug 02 00:31:44 2010 **** BEGIN LOGGING AT Mon Aug 02 00:36:14 2010 Aug 02 00:36:41 Anivrom: those type of bugs suck Aug 02 00:37:06 I think I just found it Aug 02 00:38:02 great Aug 02 00:38:02 ah, -webkit-border-image and you no use of 'px'....a pox on thee! Aug 02 00:38:19 heh Aug 02 00:38:51 Yea I found out the hard way that when creating canvas elements you have to specify the width and height INLINE! otherwise it does some weird stretching halfscreen thing. Aug 02 00:38:59 2 hours wasted there Aug 02 00:55:55 * Anivrom crosses fingers as he tests undo button for first time Aug 02 00:56:50 haha fail. I do this all the time, I type undo as under Aug 02 00:58:18 hey dawm|laptop Aug 02 00:59:18 haalo Aug 02 01:09:04 http://www.fontsquirrel.com/fonts/list/category/Programming Aug 02 01:09:16 fonts for using with code editors Aug 02 01:09:21 ie programming fonts Aug 02 01:09:48 lucida console ftw Aug 02 01:10:39 for the uberl33ts, webdings Aug 02 01:10:46 wingdingS? Aug 02 01:12:31 haeffb_: I would like a picture of this double double animal style Aug 02 01:12:39 the one you're making Aug 02 01:12:40 that is Aug 02 01:19:05 its kinda sad how tap events get called almost exclusively when you end a drag event. Aug 02 01:24:26 y Aug 02 01:24:44 poor implementation of api's tahts why Aug 02 01:24:59 Can't even depend on an event firing when its supposed to, ie. dragEnd Aug 02 01:26:01 i doubt we will see 2.2 in the usa Aug 02 01:26:10 I mean .4.5 Aug 02 01:26:37 darn Aug 02 01:27:00 i think the providers decide on updates Aug 02 01:32:17 1.4.5 Aug 02 01:32:24 is Aug 02 01:32:25 DEAD Aug 02 01:32:43 really? Aug 02 01:32:47 mine is very much alive Aug 02 01:33:07 the pdk hot apps contest is dead then if 1.4.5 is dead Aug 02 01:35:07 well has the leaderboard been retooled? Aug 02 01:35:13 no clue Aug 02 01:36:20 * Anivrom just got undo states to work :D, on to the next bug Aug 02 01:40:02 i am sure sprint pulled the plug Aug 02 01:40:21 why would they? what benefit would they have on not sending out an update? Aug 02 01:40:30 have their customers get mad at them? Aug 02 01:42:58 what if it was at&t? Aug 02 01:43:03 how do you know it was sprint? Aug 02 01:50:08 pulled the plug in what way, telling palm that no, you can't OTA your phones? Aug 02 01:50:32 i would assume palm has some contractual protection to that extent Aug 02 01:51:21 they'd find a clause hidden deep within the catacombs of the 1em text on the 45th page of section Y Aug 02 01:53:21 I think it's t mobile's fault Aug 02 01:53:26 t mobile doesn't have palm phones Aug 02 01:53:28 yea lets blame them Aug 02 01:53:35 so they decided hey we can't let this webos 1.4.5 thing happen Aug 02 01:53:37 not on our watch Aug 02 01:57:06 WHICHWICH Aug 02 01:57:07 mmmmmmm Aug 02 01:57:24 I'm hungry and I just opened a can of corn Aug 02 01:57:29 do PDK apps need help screens to pass submission? Aug 02 01:57:42 Anivrom: cook some fresh corn yo! Aug 02 01:57:53 Anivrom. I don't know. Maybe less returns Aug 02 01:59:33 bestbuy employee was telling me the pre has been one of the most returned phones he has ever seen Aug 02 01:59:39 Anivrom: http://aht.seriouseats.com/archives/2010/07/the-burger-lab-how-to-make-an-in-n-out-double-double-animal-style.html Aug 02 02:00:02 haeffb_: I checked it out already, Iw anted to see YOURs Aug 02 02:00:12 ah. it's in mah belly Aug 02 02:00:18 bah Aug 02 02:00:27 looked kinda like that but without the lettuce Aug 02 02:00:32 nice Aug 02 02:00:38 Me no have teh lettuce. Aug 02 02:00:55 but it were tasty Aug 02 02:01:03 I bet Aug 02 02:01:07 All that cheesy goodness Aug 02 02:03:37 renegaid: omg, really? Aug 02 02:03:43 that's a shame Aug 02 02:04:06 poor build quality Aug 02 02:04:43 I love my pre though even if it's not the highest manufacturing quality Aug 02 02:04:47 thats what I have a warranty for Aug 02 02:05:05 agreed quality is lacking in the pre .. someone says the pixi feels more solid .. Aug 02 02:05:32 weird Aug 02 02:06:05 i could be wrong Aug 02 02:06:15 impossible Aug 02 02:06:24 yea pixi is more solid Aug 02 02:06:51 i bought a pre for the wife in april. since then had to exchange it 3 times Aug 02 02:06:57 wow Aug 02 02:07:09 what were the problems? Aug 02 02:07:37 first one had a problem with the screen not turning on Aug 02 02:08:06 second was a reburb tha had rwo keys stuck down Aug 02 02:08:17 I'm on my second Pre. First one got stepped on when I left it in a coat pocket at the gym. Aug 02 02:08:39 Had this one since Dec. Only problem is a USB crack. Aug 02 02:08:40 third had a problem with the slider. the fourth is working ok at the moment but she wants to get another phone and hates the Pre Aug 02 02:08:42 * sugardave still rocks his first one. Aug 02 02:09:03 My slider has recently gotten "gritty" and hard to slide Aug 02 02:09:15 my slider is solid Aug 02 02:09:25 I'm rocking day-one pre Aug 02 02:09:28 and my usb randomly disconnects when the cord is moved around Aug 02 02:09:31 the first one had a bit of oreo, but this one is nails. Aug 02 02:10:51 a friend of mine has had a lot of headphone jack issues .. and randomly turning on/draining the battery .. Aug 02 02:10:55 it was somewhat interesting Aug 02 02:11:15 * haeffb_ loves the featured apps on Precentral where you can't even tell what the app is. Aug 02 02:11:31 haha Aug 02 02:12:13 * sugardave writes a whole bunch of sqlite code without the usual testing of each step. "This should be interesting." Aug 02 02:12:34 haha Aug 02 02:12:52 When I do that it is usually a little more than interesting Aug 02 02:12:55 haeffb_: how bad is your crack? Aug 02 02:12:59 palm needs a new device now or they will lose a lot Aug 02 02:13:07 his crack is so bad.... Aug 02 02:13:08 ive got one but it borders the screen so its forgivable Aug 02 02:13:13 renegaid: disagree Aug 02 02:13:14 dawm|laptop: kind of a personal question... Aug 02 02:13:14 sugardave: we'll be here when you need debugging help/moral support Aug 02 02:13:27 haeffb_: lolol Aug 02 02:13:32 people are moving to other devices at the moment Aug 02 02:13:32 dawm|laptop: hai! Aug 02 02:13:42 it's up to the corner, but not into the face of the phone Aug 02 02:13:43 hows disney land? Aug 02 02:13:49 ah, the fickle public, they'll be back Aug 02 02:13:52 yeah mines on the face of the phone :P Aug 02 02:13:53 they need new devices and more api for better apps Aug 02 02:14:13 maik: ping Aug 02 02:14:17 comes from the usb opening, on up over the curve and then to the edge of the screen then heads south Aug 02 02:14:21 let's play guess the app: http://img4.imageshack.us/i/capturetb.png/ Aug 02 02:14:34 tower defense Aug 02 02:14:44 panty eaters Aug 02 02:14:46 that one... defensive warfare maybe? Aug 02 02:14:48 D-land is amazing Aug 02 02:15:20 damn, I want to try to make a tower defense game Aug 02 02:15:22 Planty eaters is better thoug Aug 02 02:15:27 sugardave: me too Aug 02 02:15:27 I just find it hilarious that they "feature" an app, but don't tell you what it is Aug 02 02:15:38 wait.. Aug 02 02:15:41 spacealrm is featured? Aug 02 02:15:43 mine is going to suck Aug 02 02:15:48 heh, they should probably include the title Aug 02 02:15:51 er spacealarm Aug 02 02:15:52 but will be good learning Aug 02 02:15:54 sugardave: you shouldn't bother then Aug 02 02:16:00 pshaw Aug 02 02:16:00 sugardave: just give up now Aug 02 02:16:15 LOL Aug 02 02:16:21 You gonna use c++ or canvas? Aug 02 02:16:31 probably canvas Aug 02 02:16:43 canvas is really easy Aug 02 02:16:49 yeah, sure Aug 02 02:16:55 says the graphics guy Aug 02 02:16:59 dude Aug 02 02:17:02 I use 2 methods Aug 02 02:17:06 drawImage and drawRect Aug 02 02:17:20 mmmhmmm Aug 02 02:17:37 if you need any help on it just let me know, that includes graphics Aug 02 02:17:49 thanks...it will be some time :D Aug 02 02:17:54 mhmmmmmmmmmmm Aug 02 02:18:10 gnight Aug 02 02:18:12 My allstar app will prolly be on version 2.0 by then! muahaha Aug 02 02:21:55 and my bank account will be splodin with teh profitsssssss Aug 02 02:22:44 palm facebook is nuts Aug 02 02:22:50 it like Aug 02 02:22:56 demands screentime Aug 02 02:23:09 touch.facebook.com sucks Aug 02 02:23:12 like you open facebook and while it's loading you do something else and it's like FUCK YOU Aug 02 02:23:20 yeah m.facebook is better than touch.facebook Aug 02 02:26:42 ugh Aug 02 02:26:47 sel can i have a massage please? Aug 02 02:27:19 * sugardave crosses his fingers. Aug 02 02:28:02 another launch sugardave? Aug 02 02:29:58 first try Aug 02 02:30:02 total success Aug 02 02:30:04 I am Aug 02 02:30:08 the webOS database master Aug 02 02:30:32 oops Aug 02 02:30:34 wrong room Aug 02 02:30:39 You think it's a success only becasue you have not tried every possible state of your app Aug 02 02:30:52 * sugardave has recently fallen in love with .each(). Aug 02 02:30:53 screw possible. Only test the probable. Aug 02 02:31:00 sugardave: me too Aug 02 02:31:11 * Anivrom takes note of this Aug 02 02:31:14 this is just the db create and import data stuff Aug 02 02:31:19 I used to avoid Prototype stuff...but apparently there's a reason they made it. Aug 02 02:31:22 plenty of time to screw things up later Aug 02 02:31:31 haeffb_: yeah, no shit Aug 02 02:31:56 Poll: save button on task edit/details scene? Aug 02 02:32:13 so instead of doing i < array.length just do for(array.each()) correct? Aug 02 02:32:21 * Anivrom hasnt looked it up in google yet Aug 02 02:32:30 jus throwin it out there Aug 02 02:32:48 haeffb_: no need Aug 02 02:32:48 it's like this: Aug 02 02:32:52 array.each( function (somvar) { ...use somevear...} Aug 02 02:32:57 ) Aug 02 02:33:02 ............ Aug 02 02:33:05 w0w Aug 02 02:33:07 w/o the typos Aug 02 02:33:23 sounds versatile Aug 02 02:33:36 arrayVar.each(function(item, index){//item is the content of array at index index}); Aug 02 02:33:45 nice Aug 02 02:33:53 that sounds better than looping :) Aug 02 02:33:54 index is optional Aug 02 02:34:15 index is optional but insanely handy for things like ordered db inserts mapped to a unique id :D Aug 02 02:34:26 well, for that, of course. Aug 02 02:34:27 there's something kinda warm about looping though, gives you that "programmer" feel Aug 02 02:35:05 besides, under the hood prototype is doing a loop, so I might as well. Aug 02 02:35:11 * Anivrom is closing his mind Aug 02 02:35:12 it's just easier to write somevar than myLongModel.items[i] or whatever Aug 02 02:35:35 bah humbug Aug 02 02:35:36 it's only a problem if webOS stops using Prototype Aug 02 02:35:54 and then you can just add it in your sources.json. Aug 02 02:35:56 which as we've discussed, is very unlikely Aug 02 02:35:58 somewhere between "whatever" and "seriously doubt" Aug 02 02:36:13 haeffb_: good point! Aug 02 02:36:28 nobody voted in my Poll. Aug 02 02:36:43 * Anivrom might have just gotten advanced drag positioning to work Aug 02 02:36:43 [21:31] Poll: save button on task edit/details scene? Aug 02 02:36:51 haeffb_: what does Pal UI guidelines suggest? Aug 02 02:36:57 no save button Aug 02 02:37:03 09:32:56 haeffb_: no need Aug 02 02:37:16 I'd go with "no" Aug 02 02:37:22 * Tibfib voted Aug 02 02:37:26 Oohh...haeffb ashamed at missing Tibfib's response Aug 02 02:37:35 The no's have it. Aug 02 02:38:05 haeffb_: something that could be nice is a "cancel" button in the app menu... doesn't save changes and exits Aug 02 02:38:55 is there an event that triggers when your finger touches the screen, not a tap, but the instant the down action of a tap happens, I'm getting huge delays in the coordinates of the dragStart x y and the actual location I put my finger down initially Aug 02 02:39:16 "mousedown" Aug 02 02:39:19 I do believe Aug 02 02:39:27 hmm Aug 02 02:39:30 will check out Aug 02 02:39:35 thats in the event obj? Aug 02 02:39:37 I believe Aug 02 02:39:53 Tibfib: except that I save on any data change. Aug 02 02:40:00 dang, has anyone experienced their usb cord fraying? Aug 02 02:40:14 nope. got mice? Aug 02 02:40:14 haeffb_: ah, would require a bit of work... maybe in the future... but not essential Aug 02 02:40:35 haeffb_: nah, just my second cord that is starting to show the wires Aug 02 02:40:45 first one doesn't work... this one will stop soon I'm sure Aug 02 02:42:26 not bad: http://www.amazon.com/Premium-Quality-Crazyondigital-Wristband-Included/dp/B003HO0AJC/ref=sr_1_16?tag=slickdeals&ie=UTF8&s=wireless&qid=1280715950&sr=8-16&prv=slickdeals&cur=forums&ses= Aug 02 02:54:34 WOOW, just got advanced dragging working Aug 02 02:54:41 sick. Aug 02 02:55:00 Anivrom: what app have you been working on? Aug 02 02:55:20 gah, its a seeecret Aug 02 02:55:29 hah, fine Aug 02 02:55:31 canvas game though Aug 02 02:55:37 me and my wife Aug 02 02:55:51 she designs the graphics beside me while im coding lol Aug 02 02:56:00 its gonna be sweet Aug 02 02:56:12 cool! I'd love to test it for you if you need peeps Aug 02 02:56:19 yea in a few weeks Aug 02 02:56:25 sounds good Aug 02 02:56:25 \ Aug 02 02:57:16 laterz peepz Aug 02 02:57:39 haeffb_: cya Aug 02 02:58:53 night **** ENDING LOGGING AT Mon Aug 02 02:59:57 2010