**** BEGIN LOGGING AT Tue Feb 07 02:59:58 2012 Feb 07 08:52:13 * Brybry investigates pre3 focus/period key == backspace/sym key Feb 07 08:59:33 PuffTheMagic: sometimes on first startup the keyboard layout on the pre3 is messed up/error: Uncaught TypeError: Cannot call method 'large' of undefined, src/enyo/wterm_app.js:190 Feb 07 08:59:56 I haven't looked into it yet but I suspect the resize handler calls refresh()->setupKeyboard() before rotationLockReponse() calls createVKB() Feb 07 15:59:16 * Brybry grumbles about blank KeyboardEvents Feb 07 16:02:12 just pushed first step of namespace stuff :) Feb 07 16:33:01 * ka6sox grumbles about buttah being more like Sludge.... Feb 07 16:35:10 ka6sox: what's buttah again? all I can remember about it is the rodlike name Feb 07 16:35:31 its a tablet responsiveness patch Feb 07 16:35:46 but its more like baked motor oil Feb 07 16:35:53 lol Feb 07 16:38:49 im gonna put in an order for a raspberry_pi Feb 07 16:48:41 on the pre3 it looks like our lost keydowns/ups are being sent to enyo.PopupLayer/enyo._popuplayer but I suspect that's just because they're not being caught by wTermApp Feb 07 16:48:52 PuffTheMagic: didn't realize they were taking preorders yet Feb 07 16:49:00 i dont think they are Feb 07 16:49:07 i thought they were cause they tweeted prices Feb 07 17:00:14 Brybry, have u thought about moving the key repeat code into js Feb 07 17:00:19 so we can do all the sounds from js Feb 07 17:00:53 and so we can fix the multiple card sound issue Feb 07 17:03:34 not too much, though I did it in JS once a while back Feb 07 17:03:36 https://github.com/Brybry/wTerm/commit/508a1d863427b92563544b1193d155a391f94be7 Feb 07 17:04:32 though I see a typo in that code :D Feb 07 17:05:29 keyrepeat in C is just so silky smooth :( Feb 07 17:05:37 especially now with stbuehler's timers Feb 07 17:07:08 so how we gonna fix the sound issue? Feb 07 17:07:39 Brybry, i suppose we could calls into js Feb 07 17:07:44 that then trigger sound Feb 07 17:08:25 I've been looking at pre3 focus/period/sym key stuff first =x Feb 07 17:09:13 I dunno of a better way to handle period/dot other than a special case in fakeKeyPress (same for ctrl really) Feb 07 17:10:04 i was thinking of a hack like that too Feb 07 17:10:09 and I haven't figured out why these blank keyboard events gets sent (because if they weren't blank then pre3 key input would work perfectly/just like bt keyboard input on the touchpad) Feb 07 17:10:41 so u have witnessed the null/0 events in SDL? Feb 07 17:10:58 yeah, the period hack wouldn't affect anything else because you can check both the sym and the unicode for that ONE case (no other key event is going to be unicode 127 AND sym 190) Feb 07 17:10:59 yeah Feb 07 17:11:04 we actually still get those Feb 07 17:11:29 they just have nothing for us to process so we don't notice them Feb 07 17:11:44 i dont get why people have vkb issues on the pre3 Feb 07 17:11:52 mine always starts up looking right :/ Feb 07 17:12:00 I mentioned it earlier Feb 07 17:12:46 ahh only when its landlscape this happens Feb 07 17:13:04 or at least I know there's a JS error in there that can happen Feb 07 17:15:16 stupid resize handler Feb 07 17:20:55 this._vkbStyle is not getting set Feb 07 17:23:10 when I gave it just a quick glance it looked like setupKeyboard() could call before wTermApp::rotationLockReponse() called createVKB() Feb 07 17:23:18 but I didn't look too hard Feb 07 17:23:38 i pushed a fix Feb 07 17:24:13 there was actually 2 bugs Feb 07 17:24:18 in chrome I have to manually enyo.$.wTermApp.createVKB() :D Feb 07 17:24:44 1 caused by resizeHandler getting called before rotationLockResponse Feb 07 17:25:02 the other was this._vkbStyle not getting set Feb 07 17:42:07 stbuehler, highlight Feb 07 17:42:08 ? Feb 07 17:50:37 Brybry, fixed period key Feb 07 17:52:40 Brybry, when u said ctrl issues Feb 07 17:52:51 which key are u talking about orange or sym? Feb 07 17:54:19 Brybry, i am almost thinking that if sym is alt Feb 07 17:54:24 we should use period for ctrl Feb 07 17:54:41 if someone presses period twice in a row it acts send a period Feb 07 17:54:56 but if they press . and another key make it behave like ctrl Feb 07 17:56:05 lame Feb 07 17:56:15 destinal, better idea? Feb 07 17:57:20 PuffTheMagic: I'd make alt the obscure key, how often do you use it? Feb 07 17:57:41 destinal, all the time now that I use irssi Feb 07 17:57:59 i suppose which key is which could be a option in the prefs Feb 07 17:58:05 doesnt need to be hard coded Feb 07 18:00:38 PuffTheMagic: I would probably use orange for control and @ for alt but that's just me I guess Feb 07 18:00:45 nope Feb 07 18:00:53 orange is in use Feb 07 18:01:05 providing access to all the 2nd row symbols Feb 07 18:01:18 err I think I meant sym Feb 07 18:01:30 * destinal needs coffee Feb 07 18:02:29 destinal, of all the keys can send printable chars, the period key is the only one that has just 1 char Feb 07 18:02:35 it has no shift variant Feb 07 18:02:40 and no orange variant Feb 07 18:02:47 it would be the easiest to repurpose Feb 07 18:03:26 every other key has 2 chars with a shift variant for each so 4 possible printable chars Feb 07 18:03:35 yeah but . is so relatively common to use Feb 07 18:04:29 at least you'd have to make orange + . do period and/or shift + . do period Feb 07 18:04:33 not the dot dot thing Feb 07 18:04:47 on a term u use period often? Feb 07 18:04:55 sure orange+dot could be dot Feb 07 18:05:06 filenames, irssi, text editing Feb 07 18:05:18 what does . do in irssi? Feb 07 18:05:25 punctuation? Feb 07 18:05:27 :) Feb 07 18:05:43 ya i some how dont see that Feb 07 18:05:45 ;) Feb 07 18:05:57 ! and ? and , are only punctuation used Feb 07 18:06:05 trying to type "yeah..." with double dots is dot dot dot dot dot dot dot dot Feb 07 18:06:24 orange+. is a good idea Feb 07 18:06:34 but period is still the best key to repurpose Feb 07 18:07:08 PuffTheMagic: yeaeh I mean in a shell I use a lot of orange+ keys a lot so it's not really worse Feb 07 18:20:02 destinal, so period=ctrl, sym=alt or the other way around? Feb 07 18:20:03 PuffTheMagic, umm cd .. Feb 07 18:20:15 Brybry, orange+. = . Feb 07 18:20:17 its working well Feb 07 18:20:24 i've mapped orange to meta Feb 07 18:20:32 since we dont use meta Feb 07 18:20:47 we dont use it on the normal vkb Feb 07 18:21:00 so it we can use it as a special key on the hw keyboards Feb 07 18:21:53 i just dont know what the first go at period and sym should be Feb 07 18:22:03 should it mimic left or right side of keyboard Feb 07 18:22:13 ctrl alt (left) Feb 07 18:22:18 alt ctrl (right) Feb 07 18:23:13 and sym *used* to be control but then we broke it but it doesn't really matter to me :) Feb 07 18:23:49 when did it break? Feb 07 18:23:52 i can make it ctrl again Feb 07 18:23:58 that would match right side layout Feb 07 18:24:37 when we were playing with input the bt input syms/code got pulled into keypress at one point Feb 07 18:24:57 idk what you mean by that Feb 07 18:25:29 and then I think I pulled it back into wterm/sdlterminal and then eventually it got removed from fakekeypress again Feb 07 18:25:58 like we have HP_BT_PLUGIN_CTRL enums and such Feb 07 18:26:00 for syms Feb 07 18:26:09 idk Feb 07 18:26:14 Brybry, test out my last commit Feb 07 18:26:19 let me know what u think Feb 07 18:26:41 . = alt, sym = ctrl, orange = meta, meta+. = . Feb 07 18:27:22 the phone keyboard input is pretty much identical to bluetooth input in terms of key input values for things, it would all work perfectly if not for those null/0 keyevents :( Feb 07 18:27:50 Brybry, cant really do anything about that right now though Feb 07 18:27:58 ka6sox, ping Feb 07 18:29:52 Brybry, hey what do u think of this idea, run wterm in fullscreen, provide our own button to emulate the app menu, then we can put window title in the are where the top bar used to be Feb 07 18:30:23 PuffTheMagic, pongish? Feb 07 18:30:46 armv7a-vfp-neon Feb 07 18:30:59 ka6sox, i was curious if 1) you had a chance to test input on the pre2 like I asked and 2) are you still working on a help scene? Feb 07 18:32:10 1) I had other issues with this pre2, now fixed but haven't tested Feb 07 18:32:31 2) yes, but slowly as I've gotten pulled into a builder project. Feb 07 18:32:46 (which has a deadline of next tuesday) Feb 07 18:33:14 thanks, just curious Feb 07 18:37:11 PuffTheMagic, the fullscreen idea sounds interesting though I have to wonder if people will miss the system tray stuff/if maybe we should make it an option (if that's even possible) Feb 07 18:38:04 ya it would be an option of course Feb 07 18:39:23 is that titlebar space even used for anything ever in webos? (on the left side) Feb 07 18:41:16 you keep commiting into an orientation branch :( Feb 07 18:47:59 shit Feb 07 18:48:26 fixed ;) Feb 07 18:51:08 I wonder what SDLK_WORLD_30 is used for in a legit sense Feb 07 18:54:58 Brybry, in webos context or in a more general sense Feb 07 18:56:12 in a webos SDL sense Feb 07 18:56:54 like if I made a key with that as a sym normally what would it display D: Feb 07 18:57:10 it wouldnt display anything Feb 07 18:57:31 i mean, it would only display something if it had a unicode value attached Feb 07 18:57:38 and on webos that is 127 Feb 07 18:57:53 190! Feb 07 18:58:57 but, yeah, I guess basically I'm asking what unicode would normally be attached to that Feb 07 18:59:43 nothing Feb 07 18:59:55 its a free key for what ever you want Feb 07 19:00:04 I guess if it's like the other SDL keys it would be ASCII 190/yen/yuan sign? Feb 07 19:00:30 maybe Feb 07 19:12:46 oh, if you don't like your event.key.keysym.scancode bit we can use event.key.which (it's actually supposed to be used for that I believe) Feb 07 19:13:32 we probably should initialize that anyway =x (and event.key.state but I need to make sure that doesn't break anything) Feb 07 19:28:52 anyone here on 11.10 and have a few min to try setting up build.git? Feb 07 19:29:44 specifically, make toolchain Feb 07 19:31:15 I think that's what my VM is on and I got tired of dealing with it and just commented out the bits in the makefile that were failing (fuse and some other things) Feb 07 19:35:00 PuffTheMagic: so does wTerm keep up with you on a bluetooth keyboard at this point? Feb 07 19:35:21 keep up with me? Feb 07 19:35:44 PuffTheMagic: ie is it as useable as a shell on a regular linux box Feb 07 19:36:05 graphical terminal, xterm, what have you Feb 07 19:37:03 PuffTheMagic: main reason I ask, is I see potential in webos on netbooks / laptops and otherwise "real computers" and I think wterm is pretty critical for that use case Feb 07 19:37:12 more so than with a tablet or phone even Feb 07 19:37:35 destinal, wTerm is faster than almost 2/3 of normal desktop terms Feb 07 19:37:46 PuffTheMagic: nice Feb 07 19:39:14 demolithion, http://martin.ankerl.com/2007/09/01/comprehensive-linux-terminal-performance-comparison/ Feb 07 19:39:15 err Feb 07 19:39:17 destinal, ^^ Feb 07 19:39:31 check out the graph on that page Feb 07 19:39:40 first note that the wterm listed there is out our wterm Feb 07 19:40:00 but the test was done on ATI Radion Mobile 9600 with fglrx driver, and a Pentium M with 1.5 GHz. Feb 07 19:40:15 if I put my TP in portrait mode, and set to 1.18ghz Feb 07 19:40:19 and 8pt font Feb 07 19:40:29 nice Feb 07 19:40:30 it does the benchmark on 2.7s Feb 07 19:40:43 which is faster than more than half of that list Feb 07 19:40:47 with a slower cpu Feb 07 19:41:12 gnome-term and konsole cheat, they only udpate like 4 times a second Feb 07 19:41:34 thats how they can get 1/4s Feb 07 19:42:05 and according to that benchmark, xterm sucks ass Feb 07 19:42:13 slow and huge waste of mem Feb 07 19:42:21 yeah Feb 07 19:49:32 Brybry, i dont think we need to spend any time moving that scancode stuff right now cause im not even sure we can keep sounds in C Feb 07 20:29:52 ka6sox: do you know anything about the LCD interface on a palm pre? wouldn't it be possible to hook a serializer to the RGB digital pins and connect an LVDS screen or even a DVI / HDMI encoder? Feb 07 20:37:27 there is some informatoin on it int the kernel's board.c Feb 07 20:37:46 but its not something that I have full knowledge of. Feb 07 20:44:08 PuffTheMagic: before i implement highlight i want to fix the race conditions from pdl jscalls to sdl Feb 07 20:48:41 didn't you say for a lot of them that we just have to make the calls async from the JS side? Feb 07 20:50:42 hmm, I guess most of them already are Feb 07 20:52:57 well Feb 07 20:53:07 i think most return values aren't actually needed Feb 07 20:53:15 the rest should me made async, yes Feb 07 20:53:37 then the calls should send events instead of calling methods of wTerm Feb 07 21:43:58 stbuehler, so to do async between js and C wouldnt we need like, a hash table on the jsside to store callback function, Feb 07 21:44:12 then C could just call a js function with the data and the hashkey Feb 07 21:49:21 I thought callPluginMethodDeferred was already async, PDL_CallJS is also supposed to be async, no idea on PDL_JSReply Feb 07 21:49:40 of course the PDK docs could lie Feb 07 21:50:22 you can try to port https://github.com/substack/dnode into the c layer, it would handle alot of stuff for you Feb 07 21:55:55 Brybry, the deferred method is just for when the plugin isnt ready Feb 07 21:56:02 as in, not yet started Feb 07 21:56:22 oh, I assume it meant like, not yielding or something Feb 07 21:56:49 halfhalo, dnode is a waste of time for us Feb 07 21:57:49 I'm sort of confused what we're even have a race condition with Feb 07 22:01:21 hmm Feb 07 22:01:32 Brybry, ya i dont really know either Feb 07 22:09:47 stbuehler, think this wonky chars older devices issue can get fixed before you finish your race condition and refactoring changes? Feb 07 22:12:22 stbuehler, cause it affects the pre2/pre+/pre-/veer Feb 07 22:12:31 err Feb 07 22:12:36 maybe not the veer Feb 07 22:12:56 but actually the screen corruption on the veer might be an issue Feb 07 22:13:49 PuffTheMagic: can, yes :) Feb 07 22:13:57 playing dota atm Feb 07 22:14:55 the race conditions are that we call methods from the jscall-handler thread Feb 07 22:15:04 which is not the same thread as the main SDL one Feb 07 22:15:41 i think there is only one SDL thread-safe function, SDL_PushEvent Feb 07 22:15:57 everything else we do is racy (ok, perhaps reading integers is no problem) Feb 07 22:19:12 stbuehler, ok well if you can I would appreciate you fixing that asap so I can get these other keyboard changes out there for all the people complaining, it would also let us move wterm out of alpha for the remaining phones Feb 07 22:19:27 stbuehler, Brybry do you guys know about this Feb 07 22:19:29 luna-send -n 1 palm://com.palm.display/control/setProperty '{"onWhenConnected":true}' Feb 07 22:19:38 ^^ my favorite command :D Feb 07 22:20:02 does that stop it from bloody turning off the display when on power? Feb 07 22:21:13 yup Feb 08 00:27:16 PuffTheMagic, destinal so, I think I have decided, when I finally get the tax return, Poppery II, and a nice grinder Feb 08 00:27:28 anything else that you coffee freaks think I should have? Feb 08 00:27:46 * cryptk hasn't decided what grinder... but may want to get one that will do a nice espresso grind Feb 08 00:28:19 cryptk: u can get a popper2 now Feb 08 00:28:38 ;) they dont exactly break the bank Feb 08 00:29:03 except my bank is already broke, lol Feb 08 00:30:06 cryptk: how big is your frenchpress? Feb 08 00:30:28 not that big, enough for one normal size cup of coffee Feb 08 00:31:24 i was gonna suggest a vaccume bottle if u had a larger one Feb 08 00:31:52 vacuume Feb 08 00:32:01 actually I have one of those Feb 08 00:32:03 I use it for tea Feb 08 00:33:14 has a thing that sits in the top that holds the tea, pour hot water through that until it's full Feb 08 00:33:38 although I usually make my tea in my steeper and then pour it into the vacuum bottle Feb 08 00:35:21 i have one of those 1l french presses so i pour that into the vacuum bottle when its done Feb 08 00:37:32 you said you have a nice grinder right? Feb 08 00:37:36 or was that destinal ? Feb 08 00:38:03 ya i got a nice one Feb 08 00:38:14 bought it last xmas with some gift money Feb 08 00:38:57 about how much does a "nice, but not necessarily something you would find at charbucks" grinder go for? Feb 08 00:39:28 well i got mine in a store cause I was using a gift card, it could have been cheaper online im sure Feb 08 00:39:38 $400? Feb 08 00:39:47 I know they aren't cheap Feb 08 00:39:53 nope Feb 08 00:40:02 it about the same price actually Feb 08 00:40:16 you are looking around 80 Feb 08 00:40:21 capresso infinity is what i got Feb 08 00:40:37 any conical burr is what you should look for Feb 08 00:40:40 so about $40 for the poppery, about $80 for the grinder Feb 08 00:40:46 no Feb 08 00:40:51 like 20 for the poppery Feb 08 00:41:31 well depends on shipping Feb 08 00:41:46 i found one for 15/ buy now for 20 Feb 08 00:41:51 then 10 for shipping :/ Feb 08 00:41:57 i hate dicking with bids Feb 08 00:43:04 LOL Feb 08 00:43:22 my pre3 keeps makin the terminal audible bell sound Feb 08 00:43:37 was confused cause the screen was off and i wasnt using it Feb 08 00:43:41 so i looked Feb 08 00:43:51 stupid powerd spam Feb 08 00:46:51 haha Feb 08 00:54:01 I have this /usr/local/bin/wall Feb 08 00:54:13 with exit 0 in it Feb 08 00:55:49 yeah, powerd spams the console a ton Feb 08 00:55:56 PuffTheMagic, you a tea drinker at all? Feb 08 00:56:26 i drink green tea when i get sushi, but I dont really make it Feb 08 00:57:05 too many beverages to enjoy in this world Feb 08 01:00:47 heh, I am a huge fan of the black tea I have... taste like an andes mint, about $100/lb ish Feb 08 01:03:35 dont think i ever had black tea Feb 08 01:04:31 chocolate and mint? Feb 08 01:05:32 http://www.adagio.com/green/dragonwell.html I like that one... but I imported my own and don't drink it fast enough Feb 08 01:06:14 they don't sell the first pickings outside the country Feb 08 01:11:04 just checked my tin, it's about $60/lb, they just fit more than a lb in the tin ;) Feb 08 01:11:13 so it isn't that expensive after all Feb 08 01:11:18 http://www.teavana.com/the-teas/black-teas/p/cacao-mint-black-tea Feb 08 01:11:27 ^^ that's the tea I'm talking about ^^ Feb 08 01:11:41 I have some dragonwell here also Feb 08 01:14:20 so they have actual peppermint and hazelnut and cocoa? Feb 08 01:14:28 it's not just infused Feb 08 01:55:51 dwc-, yep Feb 08 01:55:57 there are little bits of chocolate etc in it Feb 08 01:56:03 all kinds of stuff in it Feb 08 01:57:05 it's basically black tea with minty chocolate in it and little bits of hazlenut Feb 08 02:40:56 PuffTheMagic, I'm looking at the capresso infinity grinders... looks really nice Feb 08 02:41:15 and the stainless steel one will blend in with the rest of my kitchen nicely ;) Feb 08 02:41:45 you wont be disapointed Feb 08 02:46:30 and the reviews that I am saying state that it can do a nice fine espresso grind as well Feb 08 02:46:42 which is nice, because eventually I will buy another espresso machine Feb 08 02:46:52 (the ex took the espresso machine in the divorce...) Feb 08 02:47:16 oh yeah Feb 08 02:47:52 it does powder to boulders Feb 08 02:48:47 a little procy for the stainless one (looks to be about 100-110) but with the tax return it won't be a big deal Feb 08 02:48:53 * cryptk is all giddy for good coffee now **** ENDING LOGGING AT Wed Feb 08 02:59:57 2012