Alejandro Iglesias

Buenos Aires, Argentina

twitter.com/_aiglesias

UI Designer, Front-end Developer, JavaScript lover.

Sep
9
awarded Civic Duty
Sep
9
comment Using jquery to get element's position relative to viewport
This should be the accepted answer.
Aug
26
answered What's the difference between two notes played on strings of different thickness?
Aug
26
comment AngularStrap bs-select not updating ng-model
sorry, you're right, there's no "child" controller involved in here. Yes, your approach using $parent is correct "for now". I say that because the recommended approach is changing to "named scopes" (ie, ng-controller="SearchCtrl as search" and using it as {{search.subject_list}}). docs.angularjs.org/api/ng/directive/ngController
Aug
21
comment AngularStrap bs-select not updating ng-model
well, you should define your model in the parent controller and then change it however you want in the child controller. You will be able to change inherited properties, not properties defined locally in the child.
Aug
19
awarded Yearling
Aug
13
comment AngularStrap bs-select not updating ng-model
If the scope for the profiles.search.classrooms state inherits from the parent state scope, what's the problem? You should be able to access properties in the scope chain.
Aug
6
awarded Commentator
Aug
6
comment Is there any research showing that practicing some amount of minutes a day improves ability?
It's very risky to say that it will take 10000 hours and you'll be disappointed if you don't reach your calculation. The most important part is doing the effort with love for what you're doing, not the goal. As an ancient teaching says, you own the work, not the result of the work. Thanks for your comments!
Aug
6
comment Is there any research showing that practicing some amount of minutes a day improves ability?
@Grey i agree on it not being a hard limit as you say. On the other hand, the "10000 hour" isn't a "hard" or "fixed" goal either. I think one thing is to make a daily study plan arranged for better learning, and other is to try to estimate when you'll reach a far-future goal making calculations based on a number. [continues...]
Aug
6
comment Is there any research showing that practicing some amount of minutes a day improves ability?
You put some interesting points in your answer. I would only say that it contradicts when it says that more practice is better and more than that is better too and then you say that there's an upper limit to how much good practice you can get in any given day (which there is). Some music therapists i've heard of say it's 3 hours per day. But what's more important than how many hours you practice is what is the frequency of your practice. Brain should receive the most constant stimuli as possible for learning something. Best to practice 5 minutes every 1 hour than 4 or 5 hours on sundays.
Aug
5
comment Controller 'ngModel', required by directive '…', can't be found
All the confusion comes from being unaware that directives can have controllers which look pretty much like any controller, but should be mentioned separately as "directive controllers". Those controllers are essentially a way for directives to expose an API for other directives to interact with. So when you do for example require: 'ngModel' you're asking for the controller of the ngModel directive, which is ngModelController. You can define a controller in your directive by setting the controller property of the directive definition object to a valid controller (func or name string).
Jul
26
awarded Nice Question
Jul
2
awarded Curious
Jun
26
awarded Necromancer
Jun
23
revised "Force Reflow" in CSS transitions in Bootstrap
Add the jquery tag
Jun
18
comment Java-like libraries/frameworks for JavaScript
If you want to learn and work in JavaScript you have to forgot all Java for a while and start from scratch, understanding that "Java" in the name JavaScript hasn't anything to do with Java, it has no relationship behind the name (which was chosen for marketing reasons as Java was a popular language in mid nineties). After you know JavaScript on its own for a while, you can try to bring back concepts and/or patterns from Java, but respecting JavaScript itself and the available patterns on it and how they apply to it. That said, after you're ok with JS, you can try TypeScript as @IHateLazy said.
Jun
17
comment "Force Reflow" in CSS transitions in Bootstrap
What is root??
Jun
11
awarded Notable Question
Jun
5
awarded Famous Question
1 2 3 4 5