Comment: Re:Seriously (Score 1) 820
Comment: Look for work at a private school (Score 1) 416
I've heard many of the problems with the public school administration aren't problems at private schools. The claim is that "at will employment" makes for a better relationship with the administration. I don't know how true that is, and I wish I could think of where I saw the original discussion I would ask some private school teachers their feelings on the matter and see what kinds of response you're able to get.
Alternatively, you could always look for work in Finland
Comment: Scientists are not always right⦠(Score 1) 1226
Comment: Re:They skipped IE support on their ADMIN pages (Score 2) 273
80% will work fine if you:
- Support only IE9+, or
- Ignore CSS3 linear-gradients (the MS filters are too buggy and slow to be used in IE)
- Rely on jQuery or some other Javascript library for all your DOM manipulation needs
- Use a Javascript library or custom code for your JavaScript 1.6+ needs (did you realize Array.indexOf wasn't in JS until 1.6?)
- Don't try to use display: inline-block; without IE specific hacks
- Don't use
:before or :after psuedo-elements, or :(first|last)-child selectors without ie7-js - Don't use display: table-cell; (even though some developers still do, and for the life of me I haven't found a suitable analog or shim)
If you're skipping out on all that, then yeah, sure, 80% of what you do will work fine in IE, no problem. If you try to do more than that, you will be fighting an uphill battle to make your site work properly in IE.
Comment: Re:I don't think so... (Score 1) 72
I recently added LiveReload to my coding process (guard-livereload, LiveReload for Chrome), and it eliminates the second keystroke
Comment: Obama's term... (Score 1) 548
The thing that concerns me is what I've seen happening to Obama the last few years... He played the social network to ride the election, and promised many things he should have been able to deliver. Instead, it seems that the relentless political tides have worn him down, and I see him reneging on his core values. I wish it weren’t so, but it seems to me that the only way to fix the system is by replacing much more of our government with political leaders in touch with their constituents needs.
Comment: Re:Starting bioinformatics programming... (Score 1) 25
Got it
Thanks for your answer!
Comment: Starting bioinformatics programming... (Score 1) 25
Comment: Re:Makes sense (Score 1) 1123
I was having this "people are inherently good/bad" argument with a friend of mine... I took him to a casino. Despite the fact that the casinos are obviously making money (which means most of the people pulling handles on the machines are saps, and even willing dupes), enough people buy into it to make the casinos work.
If you want to follow Tit-for-Tat in the Prisoner's Dilemma that is our society, best of luck. I think people are inherently evil, and I know religion doesn't help (it's just more rules). The only solution I see is some kind of outside intervention (Jesus and His sacrificial death on the cross, and His resurrection from the dead).
Comment: Re:Makes sense (Score 1) 1123
Comment: Re:Javascript is actually a great language (Score 1) 531
Comment: Re:Javascript is actually a great language (Score 1) 531
- You'll only have a problem with global variables conflicting if you treat Javascript as a procedural language. Variables created outside of any closure are created in the context of the global window object. However, in your example code, var "b" is never a global because it only exists inside function "a", and would never conflict with any other "b" variable in your code.
- No, but usually you can get away with a Javascript object just fine. Yes, it will be global, but you give it your unique name (just like you'd have to do for a namespace, except most languages that support namespaces will throw an error if some other code tries to write over an existing namespace). For example, all of the jQuery library functions are under the window.jQuery object. The variables and function names are all accessed from that object, e.g. "jQuery.map(...)".
- That's because you're not using a closure. Putting braces around something in Javascript does nothing, so essentially your example code just does "var b =
..." twice in a row. If you defined a function "c" inside function "a", and defined a separate value for variable "b" inside of that function, it would have a unique value. The cool thing is that Javascript does LISP-like passing down of the variables to called functions. If you defined function "c" inside of function "a", then called function "c", it would have access to read and modify the value of the variable "b". However, if you then define a new variable "b" inside of function "c", it becomes a different variable, which is then destroyed when function "c" ends. Just play with it man, it makes sense and allows for all manner of awesome things when you really, truly understand how it works.