Vacations are over
Posted by: nico on
Aug 15th, 2011 |
Filed under: Funny, Meta-post, Programming
Posted by: nico on
Aug 15th, 2011 |
Filed under: Funny, Meta-post, Programming
Even though I have vim a Vim fan for a long time there still is a lot of stuff which amazes me about this little editor, and this thing I last learned about it is in the “ZOMG that’s so cool I’m about to pee my pants” category. Unfortunately, if I were to draw a Venn diagram of the people who may find it cool I’d have to intersect the group of people reading my blog (yes, very small) with the group of people who like Vim and Monty Python. So, here’s to the null group:
Type :Ni! in Vim and be amazed, it’ll reply back: Do you demand a shrubbery?
Posted by: nico on
Nov 18th, 2010 |
Filed under: WTF
In the I bet somebody got a really nice bonus category, I found this one while trying to compile MySQL++ on Solaris: http://lists.mysql.com/plusplus/7811.
Don’t worry though. Now it’ll be renamed to #define ORACLE.
PS: Kind of related is the story about Oracle breaking everything after a %s/Sun/Oracle in the JVM [1], though in that case I’m more inclined to blame sloppy programmers.
[1] http://it.slashdot.org/story/10/07/28/2121259/Oracles-Java-Company-Change-Breaks-Eclipse
Posted by: nico on
Sep 24th, 2010 |
Filed under: Funny
Remember:

Also, because otherwise this post would be empty:

It is a commonly accepted fact that a succesfuly compiled application serves as enough proof of its correctness, but common wisdom doesn’t say a thing about linking. If you like linker WTF moments, you’ll love this snippet. Can you guess why won’t it compile?
Well, it does compile (gotcha!) but it just won’t link. Yet it seems so simple… let’s add some more mistery to this WTF moment, try this change:
Holy shit, now it compiles? WTF? Some more strangeness:
And again, now it compiles. WTF? I’ll make a final change, this one should give you a clue about why it won’t compile. Revert all changes back to the original code but add this two lines after Foo:
Though weird at first, now you should have a clear picture:
So, some linker strangeness. Beware, it’s easy to get trapped by this one.
| Vim bestows its users all sort of magical properties, among which now we can count increased sexual performance. I bet you didn’t know, but Vim can help you keep your girl happy for days without end. Don’t believe me? Check this page. | ![]() |