**** BEGIN LOGGING AT Thu Sep 06 02:59:58 2012 Sep 06 04:10:35 hello..what are you all using as an environment?? Eclipse?? Sep 06 04:29:56 bye Sep 06 04:30:03 (I use vim) Sep 06 04:30:16 lol Sep 06 04:30:26 * PatrickC will probably start using VIM once he figures out how to use it Sep 06 04:31:20 any good tutorials you konw of rrix? Sep 06 04:31:20 I also use vim Sep 06 04:31:49 try http://www.openvim.com/tutorial.html Sep 06 04:32:02 I've never used it, but the interactive tutorial structure seems good Sep 06 04:32:41 thanks Sep 06 04:32:47 i LOVE using Nano Sep 06 04:32:57 run vimtutor Sep 06 04:32:58 but Nano has a lot of draw backs it seems Sep 06 04:33:20 And realize that you're not learning an editor, you're learning a language Sep 06 04:33:45 huh? Sep 06 04:33:56 learning a language and not an editor? :P Sep 06 04:34:27 yes Sep 06 04:34:34 vim is... complex, but very powerful Sep 06 04:34:51 hmm... Sep 06 04:34:54 Vim editing commands are basically adjectives, verbs and nouns Sep 06 04:34:56 well, i guess it'll just take some getting used to Sep 06 04:35:06 d2d (delete two lines) Sep 06 04:35:09 but i already don't like using "lkjh" for navigating Sep 06 04:35:13 ct; change to ; Sep 06 04:35:20 etc Sep 06 04:35:22 PatrickC: you will though Sep 06 04:35:38 learn how to combine those naturally and things get really nice. Sep 06 04:35:52 PatrickC: you'll come to find that having you hands on the homerow will be much to your benefit Sep 06 04:35:55 * PatrickC likes using the arrow keys Sep 06 04:35:59 but hopefully that'll change Sep 06 04:36:19 It will when you realize how nice a real editor is :) Sep 06 04:36:44 haha Sep 06 04:39:42 oo, starting to find features i like :) Sep 06 04:39:55 30i* esc Sep 06 04:42:53 the other thing is, you have to use it, always, to get up the learning curve Sep 06 04:43:29 well, i'm SSH'd into an android buildbox a lot during the day, and right now just using nano to edit text files and stuff Sep 06 04:43:36 so a nice, powerful editor would be cool to have Sep 06 04:43:50 it's certainly powerful Sep 06 04:44:36 how long did it take you before you got comfortable with it summatusmentis? Sep 06 04:46:58 there are still parts of it that I'm not comfortable with completely Sep 06 04:47:17 and I've been using it for... ~11 years Sep 06 04:47:18 until yesterday, after a google search, i had no clue how to even save a file... Sep 06 04:47:19 * PatrickC fails Sep 06 04:47:51 kk, bed Sep 06 04:48:18 night Sep 06 04:48:22 i'm about to head that way too Sep 06 06:27:51 sugardave, will a callback wait forever or can you make it time out? Sep 06 06:28:21 (or does JS even have the concept of time) Sep 06 15:33:22 ka6sox-away: callback timeouts are probably dependent on the interpreter/environment. For example, webOS would limit "long-running processes" to 60 seconds or something like that, so if your callback didn't run/finish by then, you could lose it Sep 06 15:35:57 but, in general, if you NEED to kill off a potential callback after some arbitrary amount of time, you'd likely need to write your own manager/marshaller for handling your callbacks Sep 06 15:45:29 hmm, this LESS stuff is pretty cool, I think Sep 06 18:10:19 fxspec06: you around? did you ever come up with how to fix the window-resize causes render thing? Sep 06 18:16:33 yeah, i'm here Sep 06 18:16:57 I'm still having that rendering issue Sep 06 18:17:00 any suggestions? Sep 06 18:18:20 you could do this for a temp hack: find whatever does the last thing after load and put a 1000ms timeout, call render() and reflow() and see if it fixes Sep 06 18:18:51 and resized() just for the fun of it Sep 06 18:19:21 but still, that sounds bad. it is more likely a issue with your fitting code Sep 06 18:19:57 :-/ ok Sep 06 18:20:06 I'm gonna try one other thing Sep 06 18:22:31 or if you don't like the setTimeout thing you could put reflows() and renders() everywhere until it works, then take them out one by one =P Sep 06 18:23:20 you could also override render(){} in your main kinds and put reflow() in there, after all those something should work right Sep 06 18:23:44 yeah, I'll keep playing Sep 06 18:27:38 wow. i've reduced this theme object to a single file that handles everything, plus a one line component in each themeable file plus two tiny functions per themeable file Sep 06 18:27:45 * fxspec06 sobs Sep 06 18:39:00 fxspec06: got that up un a repo somewhere? Sep 06 18:39:25 (the theming solution) Sep 06 18:40:04 still IP, it's gonna be open sourced when Neo gets released Sep 06 18:40:13 coolio Sep 06 18:40:52 it's got some bugs still. it's pretty neat, i think it should work for everything Sep 06 18:41:36 but there's two main files, one for customizing and the other themefile, and the customizer is not ready yet Sep 06 18:42:27 I'm chewing on how I would design a good theming solution Sep 06 18:45:43 what i did is i have a themes[] block in each themeable file, in there i define themes. each theme definition has its name, styles, classes, and a {optional} "theme" object that contains special components if you want to replace the entire themeable object Sep 06 18:46:01 themes{} object, it's not an array* Sep 06 18:47:11 then in my themefile object, i define all themeable elements and their properties, and for each element i have a default theme, an array with a list of valid themes, the theme element styles, and an optional highlight styles block Sep 06 18:48:25 then i use signals to talk between the customizer and the theme file, and the themefile handles all the loading, saving, and changing Sep 06 18:48:35 it's kinda nuts Sep 06 18:49:36 I'm of the "It works, I don't care" school of thought on most of these things Sep 06 18:50:02 anything can be improved on after it's working :) Sep 06 18:50:18 well, somehow some way it sorta kinda works for the most part Sep 06 18:50:46 "technically working" is the best kind of working Sep 06 18:51:19 having an issue with custom highlight right now. for some reason the highlights i declare work fine, but then the ones i load make the whole list highlight, no bueno Sep 06 18:51:27 but yes, technically it's all working ;) Sep 06 18:54:21 are you rebuilding your list after applying the highlight style to make sure the items are getting the right class/attribute/whatever triggers your highlight logic? Sep 06 18:55:45 yeah Sep 06 18:55:56 weird Sep 06 18:56:17 yeah. it works for like my presets, but not when i set it custom. o.O i'll find it Sep 06 19:25:38 I have a list that goes beyond the page height, and can scroll to the bottom, but when i let go, it scrolls back up - what could cause that behavior? Sep 06 19:26:54 the scroller doesn't have fit Sep 06 19:27:12 it's going beyond the page bounds, the bottom of the scroller is actually beyond the screen Sep 06 19:27:32 http://pastebin.com/TFym0JRw Sep 06 19:27:44 so just apply the enyo-fit style to it? Sep 06 19:29:05 if you apply fit: true, to your fittablerowslayout at the top, your list will fit fine, but pictureview fit will not work Sep 06 19:29:10 s/will/should* Sep 06 19:29:43 i was just going to say it seems like i have too many fits Sep 06 19:30:01 fit:true is inherited from enyo-fit > fittablerows/fittablerowslayout with fit:true Sep 06 19:30:19 if you don't pass fit:true down the heirarchy, it won't work Sep 06 19:30:42 i think i'm getting better at explaining that one. maybe Sep 06 19:30:48 so, each of those sub-components should have fit:true? Sep 06 19:31:23 yes until you need it, but like in this case you've got enyo-fit as a main class, so you'd only need to apply fit:true, to fittablerowslayout in order for it ot reach the list Sep 06 19:32:05 you also might need to make layoutkind for panels fittablerows, not sure if it's the default (probably is) Sep 06 19:32:13 ah, gotcha...let's try that Sep 06 19:32:19 ok, so, two things to try Sep 06 19:33:04 also, the enyo-fit on the pictureview will expand to fit the entire file. i don't think you want that. sugardave was explaining yesterday, enyo-fit sets left right top bottom to 0 and position absolute Sep 06 19:38:06 so, the goal is a fixed-width pane on the left, and to fit the right pane to the remainder of the screen Sep 06 19:39:53 and I want pictureview to contain the toolbar, and the storieslist Sep 06 19:42:14 so, i'm assuming fit:true should be on storieslist, since that's the piece i want taking up the available space Sep 06 19:43:19 (edited my pastebin to be a little cleaner) Sep 06 19:48:10 ah, i see.. so what you need then is to set a width to your layoutKind, and put a wrapper around your toolbar and list with classes enyo-fit Sep 06 19:48:25 then your list should fit Sep 06 19:56:26 haha..oh, you mean the most basic of basic stuff :-/ Sep 06 20:00:07 lol ya Sep 06 20:01:20 what's the mechanism for prepending createComponent? Sep 06 20:03:56 oh, there it is Sep 06 20:04:52 is it ok to use another FittableRowsLayout as the wrapper for the toolbar and list? Sep 06 20:05:42 sure Sep 06 20:11:28 hmm...still not working...does it have anything to do with the fact that the list isn't populated till after the app is rendered? Sep 06 20:13:02 shouldn't Sep 06 20:13:15 there's samples that do what you want in the source Sep 06 20:13:21 you could take a look Sep 06 20:16:56 haha...that's where i got all this code (notice the crazy flickr-sample-* classes) Sep 06 20:17:10 i'll try to start from a clean sample now that my own kinds are semi-sorted Sep 06 20:17:16 will report back soon Sep 06 20:40:37 sugardave: i think i'm gonna use a repeater for this one Sep 06 20:46:40 yay, repeater works muy bien for this Sep 06 20:49:29 is enyojs.com down? Sep 06 20:49:35 yep Sep 06 20:55:07 kinda stinks too, i just accidentally refreshed the page Sep 06 21:10:25 which folder is the docs in Sep 06 21:12:03 LOL. enyo.Select ==> select best framework reverts all to "Enyo" Sep 06 23:57:47 http://twitpic.com/artspv/full Sep 07 01:37:18 thanks sugardave **** ENDING LOGGING AT Fri Sep 07 02:59:59 2012