I don’t need this functionality very often, but when I do, it’s nice to have a quick and easy way to do it. In order to insert the current filename, while in insert mode press Ctrl-r%
.
Via vim users mailing list.
I don’t need this functionality very often, but when I do, it’s nice to have a quick and easy way to do it. In order to insert the current filename, while in insert mode press Ctrl-r%
.
Via vim users mailing list.
Scott Adams shares a few interesting, as usual, observations. This time he talks about movies they make these days. Here are a few worthy quotes:
Am I the only one who continues to turn up the volume about ever five minutes for the entire movie?
And don’t get me started about the TV show 24, which should be subtitled “Bad Things Happening to People Who Whisper.â€
Film makers know that if they let the audience feel happiness or hear dialog, the Oscar will slip through their fingers.
There’s some sort of unwritten rule that the worse a movie makes you feel, the longer it must be. Comedies and animated movies are generally well under two hours. But a movie about well-dressed people drowning in ice water is going to threaten the four hour mark.
I need to get more specific when I ask about movies. Instead of asking “How is the movie?†and getting “It’s great,†I should ask “How did you feel when you watched the movie?†in which case I would get “I felt like an SUV was parked on my chest and starving rats were duct taped to my torso. The acting was great!â€
Funny, mostly true, and to the point.
I think I’ve uncovered another conspiracy by Google, particularly with their context sensitive advertising service AdSense. It’s not a bad conspiracy – as far as I am concerned, they are trying to do a good thing. But still, it’s a mean way to go about it.
A reader of this blog left a comment to one of my earlier posts about media brain wash, a story about Dell notebook exploding at some conference. Jon agreed with me that this story was a pure media hype. In his comment he said exactly this:
Now it won’t be long before some terrorist hops on a plane with Dell laptop batteries strapped all over his body. I agree, this story is media hype.
In order for me not to miss any comments, and to respond faster to my readers, the moment any of your post a comment, I get an email notification. As you know, recently I moved all my email affairs to Google’s mail service GMail. Now, Google uses its own AdSense service to show ads to people while they are reading their emails. The content of the email is used to determine which related ads should be shown.
When I openned a notification email with Jon’s comment I was shown four ads on the right. All four ad links were about notebooks. Two links were generic, but two others featured a brand. And although the brand in the content of the email was Dell, both branded ads were about IBM.
Now, you might think that this is just a coinsidence. But for two links out of four? I don’t think so. What is more probable is that Google undestood that Dell brand was used in connection with terrorism and tried to substitute that for IBM. Probably that was an attempt to sell non-explosive items to terrorists. Thanks Google, but no thanks.
NOTE (this note should have been written a very small font, but since noone will read so far down, I’ll leave it as it is): please, don’t take this entry seriously. I’m just messing with you.
It’s been said over and over again that everyone should pay close attention to web standards, when developing websites. Benefits are way too many – from decreased size and complexity of the website to better parsing with all sort of devices. All we need now is a bunch of examples. Examples, that use big names and are easy to understand.
Imagine how much bandwidth can be saved by chopping off a kilobyte or two from the Google’s main page. Here’s why and how post by Philipp Lenssen.
I end up with a Strict page (HTML + CSS, no JS) of 2.85 K. I end up with Google’s deprecated page (just the HTML, no JS) of 3.08 K. (Furthermore, when we save the logo as PNG instead of GIF and crop it from unnecessary white space, we end up with a 7.87 K image instead of a 8.35 K one.)
Via Photo Mutt.
Microsoft has released a beta version of their new blogging tool – Windows Live Writer. People seem to like it, although, as with any beta (especially from Microsoft) it’s a bit rough on the edges.