**** BEGIN LOGGING AT Sat Feb 04 02:59:58 2012 Feb 04 04:03:26 http://pastebin.com/77GAUUKY Feb 04 04:25:20 aannddd now a wrapper function that auto tars/untars files on get/put. because I am lazy. Feb 04 05:11:06 Brybry, ping Feb 04 05:24:01 http://pastebin.com/95Vmaicg cli ftw Feb 04 07:33:47 new semi shortened way to install/run the node scripts (novacom driver installation not part of it atm): npm install -g https://www.box.com/shared/static/idbs7z6pzzie84dvvi7j.tgz ; webos install http://get.preware.org/org.webosinternals.preware_1.9.10_arm.ipk Feb 04 11:02:24 * Brybry yawns good morning at PuffTheMagic Feb 04 11:03:24 moin :) Feb 04 13:35:29 do we need a #ifndef _GNU_SOURCE around the #define _GNU_SOURCE in setup.cpp? I get a redefined warning (I think the PDK defines it somewhere) Feb 04 13:37:43 * Brybry shakes fist at wterm.hpp x 2 wterm.cpp x 2 terminal.cpp x 2 terminal.hpp x 2 Feb 04 15:34:59 yeah Feb 04 15:35:05 .hpp x2 wasn't very clever Feb 04 15:39:50 but i only see one terminal.hpp Feb 04 15:44:00 fixed Feb 04 18:00:24 x2 ? Feb 04 18:00:38 oh Feb 04 18:00:39 i see Feb 04 18:00:41 wasnt thinking Feb 04 18:00:46 it was mad late Feb 04 18:01:09 i actually wasnt expecting SDLTerminal to get renamed to wTerm Feb 04 18:02:10 so theres only 2 bugs I can think of that we need to fix and we can push out another release Feb 04 18:02:35 the screen corruption on rotation issues I get on my veer Feb 04 18:02:42 and the resizing issues Feb 04 18:42:25 Brybry, ping Feb 04 18:43:03 mmm? Feb 04 18:44:09 I wonder if I can pull aircrack-ng binaries out of the debian arm package... Feb 04 18:44:14 Brybry, im just going though some of the code in the wterm_app and I cant remember why we needed to check the rotation lock stuff Feb 04 18:45:00 Brybry, on a side note, if you really want all these random packages I should show you how to build them with gentoo's crossdev stuff :D Feb 04 18:45:48 keyboard orientation would be wrong because getOrientation or whatever gives you the actual current orientation of the device even if orientation is locked Feb 04 18:46:34 thats not what I was just experiencing Feb 04 18:47:07 basically there were situations where the device will be held in what would be portrait but locked to landscape and give you the the portrait vkb Feb 04 18:47:17 maybe it does Feb 04 18:47:44 there were two cases it happened, startup and if one set rotation lock on mid app use Feb 04 18:47:44 now that we support phones shit is so confusing Feb 04 18:47:50 because 'up' on the TP is portrait Feb 04 18:47:59 err Feb 04 18:48:00 landscape Feb 04 18:48:15 but on phones its portrait Feb 04 18:51:08 i hate that JS doesnt have enums Feb 04 19:54:30 Brybry: so would the orientation lock stuff matter beyond the first launch of the app Feb 04 19:55:01 yes, if you set rotation lock during use Feb 04 19:55:29 that's why the service call every rotation Feb 04 19:55:59 if u set it durring use, it should "get suck" on the current state, and the rotations after that shouldnt matter Feb 04 19:56:30 I think that's not true with hiding/showing vkb Feb 04 19:57:00 Brybry: maybe we should cache the layout Feb 04 19:57:15 so we dont have to have so many async callbacks Feb 04 19:57:28 and reduce duplicate resize calls Feb 04 19:59:49 also the resize handler fires on orientation changes Feb 04 19:59:56 so thats another source of redundancy Feb 04 20:00:36 but resize handler fires for more things that rotations, so I think it should be the driving factor for adjusting sizes Feb 04 20:00:47 and it should use information cached by the other handlers some somehow Feb 04 20:01:09 I don't get what you mean by cache layout Feb 04 20:01:33 like store the value in a var in the app instead of asking for it every time Feb 04 20:01:42 but it could change every time Feb 04 20:01:43 only update the stored value when it changes Feb 04 20:01:55 every time what? Feb 04 20:01:57 ever resize Feb 04 20:01:59 or ever rotation Feb 04 20:02:11 rotation Feb 04 20:02:29 well the rotation callback fires 2 events every time for some reason Feb 04 20:02:40 so right there is 1 reason to store the variable internally Feb 04 20:02:46 so we can only do something if the value changes Feb 04 20:03:07 I think there's an immediate reponse 'success/fail' sort of deal or something and then the actual payload after that Feb 04 20:03:08 I don't remember Feb 04 20:03:30 i dumped the inResponse, and both events had the same data Feb 04 20:03:48 that's weird then Feb 04 20:05:08 originally we just blindly set keyboard orientation and then 'fixed' it if there was a problem with the async call Feb 04 20:05:32 ya i want to improve that too Feb 04 20:05:34 with how we do it right now, I guess caching the value and then updating on change would make sense Feb 04 20:06:23 though, hmm Feb 04 20:06:32 can one subscribe to the pref call? Feb 04 20:06:40 i thought so Feb 04 20:06:44 and i changed it to do so Feb 04 20:06:48 and i thought it worked Feb 04 20:06:53 but when i checked today it wasnt Feb 04 20:06:55 yep, you can Feb 04 20:06:55 oh Feb 04 20:06:56 also Feb 04 20:06:58 that's good Feb 04 20:07:02 we need to do that anyway Feb 04 20:07:05 luna-send should confirm that we can Feb 04 20:07:16 but i wasnt getting updates this am Feb 04 20:07:29 cause we need to subscribe to x_palm_virtualkeyboard_prefs anyway Feb 04 20:07:39 so we can just have a general prefs handler Feb 04 20:08:02 what is that pref for? Feb 04 20:08:10 keyboard tap sounds pref Feb 04 20:08:28 what do we need that? Feb 04 20:08:28 so we can act exactly the same as the webos vkb/everything in one place for users Feb 04 20:09:24 what behavior wrt vkb can we emulate? Feb 04 20:10:41 we play the same click sound as the palm vkb on our keyboard, there's a webos pref under sounds and ringtones for vkb click sounds Feb 04 20:11:06 we just pull from that and users will have one place to set it/I would bet that anyone who DOESN'T want vkb click sounds will have that off already Feb 04 20:11:27 i didnt know that pref was exposed to normal users Feb 04 20:12:09 pretty sure it is Feb 04 20:12:38 well i moved the vkb sounds to the C code so that repeats could make sounds Feb 04 20:12:40 yeah, it is Feb 04 20:12:46 so if u are going to subscribe to that, you should do it in C Feb 04 20:13:09 but we need to subscribe to prefs anyway for orientation Feb 04 20:13:13 we could keep it in one place in JS Feb 04 20:13:33 hmm Feb 04 20:13:47 dont use 1 monolithic callback for all pref stuff in js, that will get ugly Feb 04 20:15:44 it's just 90 times more annoying to do in C Feb 04 20:15:49 because you have to handle the json Feb 04 20:16:07 its really easy to do in C Feb 04 20:40:42 oh man, I see what you're saying about how we do a resize on every window rotation Feb 04 20:41:55 ya that is some ugly code there Feb 04 20:41:56 :D Feb 04 20:42:18 ^^ and i dont mean to assing blame with that comment Feb 04 20:44:01 PuffTheMagic, I have written plenty of pieces of code that I refer to as ugly, lol Feb 04 20:44:26 speaking of ugly, apparently titanium studio now uses eclipse. bleh. Feb 04 20:44:39 prime example... Feb 04 20:44:40 list_flavors() { Feb 04 20:44:40 tmp=`curl -s -H "X-Auth-Token: $token" \ Feb 04 20:44:40 -H "Content-type: application/json" $url/flavors` Feb 04 20:44:40 echo " ---ID--- ---NAME---" Feb 04 20:44:40 echo $tmp | awk -F"[,:]" '{for(i=1;i<=NF;i++){if($i~/id\042/){printf "%5d %40s\n", $(i+1), $(i+3)} } }' | sed -e 's/\}//' -e 's/\]\}//' Feb 04 20:44:41 wtf is titanium studio? Feb 04 20:44:43 } Feb 04 20:44:58 btw, that example actually applies to the conversation Feb 04 20:45:03 that awk line parses JSON ;) Feb 04 20:45:22 I also have sed that parses XML Feb 04 20:45:26 haha Feb 04 20:46:32 titanium studio is like a phonegap thingie but for desktops as well Feb 04 20:47:38 Brybry: are you messing with resize/orientation stuff or should I continue with it Feb 04 20:48:10 I was thinking about it but if you've already started go ahead Feb 04 20:48:30 i sorta started then i switched computers, so i pushed a branch before I did that Feb 04 20:48:44 i wanted to talk about it a little before i resumed Feb 04 20:49:32 Brybry: we could also use a better sound for BEL Feb 04 20:49:39 trying to think when we need to resize Feb 04 20:49:52 there are a TON of beep/error/system notification/etc sounds Feb 04 20:50:00 we need to resize every time resizeHandler is called Feb 04 20:51:13 I guess any time the vkb actually changes we need to resize? Feb 04 20:51:25 and also then Feb 04 21:04:07 what makes our vkb resize when the palm vkb pops up Feb 04 21:04:11 or is that done automatically somehow Feb 04 21:04:27 well actually Feb 04 21:04:34 there is a setting for the palm vkb Feb 04 21:04:45 that controls if it resizes the app or if it overlays the app Feb 04 21:18:36 hmm. I wonder.... will enyo work with titanium... Feb 04 21:22:33 sort of... hmmm Feb 04 21:30:30 Brybry, ping? Feb 04 21:30:36 what's up Feb 04 21:30:49 did you get a package? Feb 04 21:33:01 I'll go check Feb 04 21:34:59 I did indeed :) Feb 04 21:35:03 that somehow fit in my mailbox Feb 04 21:35:04 I do not know how Feb 04 21:35:56 :D Feb 04 21:35:58 kewl Feb 04 22:32:22 these things are nice, why on earth would they stop selling them Feb 04 22:36:02 which things? Feb 04 22:36:16 pre3/webos devices in general Feb 04 22:36:22 ah, yeah Feb 04 22:36:31 although mine is slightly mad at me right now Feb 04 22:37:42 partially due to the massive amount of temp files I shoved down its throat yesterday Feb 04 22:54:25 Now I need to make an enyo interface for this with literally one button per device found that either says install or update depending on the versions of whatever ipkg its given. Feb 04 22:58:35 lol the wterm bell sound Feb 04 22:58:50 :D Feb 04 22:59:07 ya the stock sounds suck Feb 04 23:06:51 http://pastebin.com/E8Qwx0zP lazyness ftw Feb 04 23:38:34 hmm, period is still backspace on phones it seems Feb 04 23:38:50 ya Feb 04 23:46:44 some gl errors/color doesn't work (though it doesn't crash) Feb 04 23:51:07 do you ever get startups with a grey screen (just background color?) but no errors/etc? Feb 04 23:51:18 I wonder if the plugin zindex or bounds get messed up Feb 04 23:51:43 so, I ran into a weird bug with wTerm yesterday... Feb 04 23:52:16 I was using it, checking out all the cool terminal emulation stuff and then I was playing with the exhibition stuff... Feb 04 23:52:57 and then I filed my taxes and realized that the government takes part of my money even though I have never voted a single one of them into office Feb 04 23:53:03 I consider that a bug Feb 04 23:53:10 lol Feb 04 23:53:30 can you please fixxor and do the needful Feb 04 23:53:36 PuffTheMagic, ^^^ Feb 04 23:53:42 heh Feb 04 23:53:55 * cryptk wants him to read that also Feb 04 23:54:11 that is a product of a drinking cryptk btw Feb 04 23:54:18 lol Feb 04 23:55:19 so far.... 2 pints of arrogant bastard and a bottle of wine down on an empty stomach.. Feb 04 23:55:25 cooking now... lol Feb 04 23:55:35 cryptk: nice Feb 04 23:55:36 cause I'm hungry... Feb 04 23:55:50 why are you not drinking double bastard Feb 04 23:55:54 its DB season Feb 04 23:55:58 I can't find it anywhere Feb 04 23:56:04 tell me where to get it Feb 04 23:56:09 I'm in Texas Feb 04 23:56:14 oooooooh Feb 04 23:56:17 thought u were in cali :D Feb 04 23:56:21 hell, mail me some, I wil paypal you Feb 04 23:56:29 I LOVE DB Feb 04 23:56:43 cryptk: its illegal so ship alcohol Feb 04 23:56:44 but Feb 04 23:56:45 I used to love in TX but work in Cali Feb 04 23:56:57 that may have been what you are thinking of Feb 04 23:56:59 if i say is oilve oil they will treat it as fragile :D Feb 04 23:57:44 Brybry: i have a massive overhaul to all the resize/orientation stuff brewing here Feb 05 00:05:04 PuffTheMagic, doit Feb 05 00:05:09 I will pay you well Feb 05 00:05:15 I love DB with a passion Feb 05 00:05:26 and I have NEVER found it ANYWHERE in TX Feb 05 00:06:50 cryptk: it would probalt be cheaper if ka6sox-away shipped it to you Feb 05 00:06:57 instead of coing completly cross country Feb 05 00:07:11 PuffTheMagic, are you east coast? Feb 05 00:07:16 ya Feb 05 00:07:28 cryptk: I feel your pain about the voting thing...I live in Louisiana (and don't even bother to vote because of that) Feb 05 00:07:29 I used to be Feb 05 00:07:41 I miss the east coast Feb 05 00:07:53 I worked in Cali... they were missing brain cells... Feb 05 00:08:08 I live in the south/midwest... they all need to shoot themselves... Feb 05 00:08:17 east coast people are just all around easy going Feb 05 00:08:46 no offense to anyone in the channel that lives in cali/south/midwest Feb 05 00:08:52 I am sure YOU are awesome Feb 05 00:09:20 and you will probably agree that the majority falls in those categories, lol Feb 05 00:18:48 ^^^ was sarcasm btw... Feb 05 00:18:56 don't have to get so quiet Feb 05 00:19:02 =p Feb 05 00:28:38 grrrrrrrrrrrrrr Feb 05 00:29:15 Cannon call method 'replace' of null Feb 05 00:30:06 dundun... Feb 05 00:45:53 idk how to debug this fucking error Feb 05 01:05:38 some object is null that you're trying to call 'replace' on? Feb 05 01:07:04 chrome is the best for finding some errors :D Feb 05 01:07:05 but we dont call replace anywhere so its hard to track down ;( Feb 05 01:07:56 I would swear I've seen replace before, hmm Feb 05 01:08:50 plugin.js:220 decodeEscape: function(str) { Feb 05 01:08:56 calls replace on str Feb 05 01:09:31 ya thats not whats getting called here Feb 05 01:11:34 throw try catches in big blocks Feb 05 01:11:43 and find which one triggers it Feb 05 01:13:16 like try { ... } catch (e) {console.log("newcode1: "+e); } etc **** ENDING LOGGING AT Sun Feb 05 02:59:59 2012