Maximize VIM window
Use this little thingie:(License: you can use this script only for GOOD, never for evil. If
you really must - contact me, we can talk about the price)
Comments [0]
vim, coffee, web dev and stuff
Comments [0]
NOTE: If you fail to utilize AJAX calls while debugging or previewing, you can try circumventing the same origin policy in Firefox with the following steps. This is done at your own risk + The call to Privilege manager cannot be executed in a real S60 device or the emulator.
- Add a netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); call to the function issuing your AJAX requests
- Type about:config in Firefox address bar and set signed.applets.codebase_principal_support value to true by double-clicking it.
- Initialize a debugging session and issue an AJAX call => You should now be prompted about giving the script access to whatever domain you are requesting from.
Aptana's WRT plugin doesn't work for me - JS stops executing and all that.
However - the hint on how to bypass Same Origin Policy is something that needs to be saved for later.
Comments [1]

Comments [0]
Comments [0]
Nicholas Zakas thinks he has the best way to load JavaScript.
Steve Souders has a bunch of best practices, and it seems that there is definitely nuance that makes advice very much tailored to your circumstance.
Nicholas though, has an opinion:
I’ve come to the conclusion that there’s just one best practice for loading JavaScript without blocking:
- Create two JavaScript files. The first contains just the code necessary to load JavaScript dynamically, the second contains everything else that’s necessary for the initial level of interactivity on the page.
- Include the first JavaScript file with a
<script>tag at the bottom of the page, just inside the</body>.- Create a second
<script>tag that calls the function to load the second JavaScript file and contains any additional initialization code.
A helper to make this happen could look like:
In related news, the LABjs folk have updated their API from this:
to the simpler:
I seem to remember that Steve had some opinions on this API too :)
Comments [1]
The
assignment operator in R is <- as in
e <- m*c^2.
It is also possible, though uncommon, to reverse the arrow and put the receiving variable on the right, as in
m*c^2 -> e.
It is
sometimes possible to use = for
assignment, though I don't understand when this is and is not allowed. Most
people avoid the issue by always using the arrow.
Looks like I’m not going to learn this language.
Sauce: http://www.johndcook.com/R_language_for_programmers.html
Comments [0]
When people say "this sucks" they mean one or more of the following:
- This doesn't do what I need
- I can't figure out how to do what I need
- This is unnecessarily frustrating and complex
- This breaks all the time
- It's so ugly I want to vomit just so I have something prettier to look at
- It doesn't map to my understanding of the universe
- I'm thinking about the tool, instead of my work
This article doesn't suck. If you are a software developer - read it. Now
Comments [0]
Comments [0]
Interesting proof of concept – instead of using clunky and hard-to-mantain css sprites firefox users can benefit from archived files. This article explains how it can be used and how it works.
What’s really interesting is this bit:
Hi,
Interesting article. For the past few weeks here at Mozilla, we've been working on a proposal called "resource packages", which are similar to what you are doing here, but with the additional bonus of having a fallback mode for other browsers. I have reached out and met with Steve Souders from Google, and we are contacting the other browser makers once we have the proposal in a bit better state.
You can view an early draft here: http://limi.net/articles/resource-packages
— Alexander Limi · Firefox User Experience
We’ll see happens next.
Comments [0]