Every one should watch this, and then they will understand what is wrong with existing system of economy.
Multi command shell script - 20.11.2011.
Here is simple shell script which which run some command over all it arguments
%cat multi-command.sh
#!/bin/bash while read line do $1 $line done
for example in some file you written files which you wan to delete you can then do something like this
cat file.txt | multi-command.sh "rm -f "
10 “Best” Code Comments - 18.11.2011.
// Dear maintainer:
// Once you are done trying to ‘optimize’ this routine,
// and have realized what a terrible mistake that was, please increment the
// following counter as a warning to the next guy:
// total_hours_wasted_here = 39
/** * For the brave souls who get this far: You are the chosen ones,
the valiant knights of programming who toil away, without rest, fixing
our most awful code. To you, true saviors, kings of men, I say this:
never gonna give you up, never gonna let you down, never gonna run
around and desert you. Never gonna make you cry, never gonna say
goodbye. Never gonna tell a lie and hurt you. */
Exception up = new Exception(“Something is really wrong.”); throw up;
// somedev1 – 6/7/02 Adding temporary tracking of Login screen
// somedev2 – 5/22/07 Temporary my ass
#define TRUE FALSE //Happy debugging suckers
if (/*you*/ $_GET['action']) { //celebrate
// If this code works, it was written by Paul DiLascia. If not, I don’t know who
//wrote it.
//When I wrote this, only God and I understood what I was doing
//Now, God only knows
// drunk, fix later
// Magic. Do not touch.
C++ template typedef - 26.05.2011.
If you realize that good solution for your problem would be to use typedef with combination of template, and then realize that C++ doesn’t allow you to do something like this
template
typedef A B;
workaround can be something like this
template
class B : public A
{};
Cleverman - 23.11.2010.
Long time ago I came across this great great great video
by Studio JOHO . You should definitely watch it. I like to watch it from time to time just to remind my self what is important and what isn't :) And to get a good laugh of course :)
The surprising science of motivation - 10.10.2010.
Friend of mine sent me link to this amazing video about science of motivation. Every one should see this one. It explain how people still think that only way to get better performance out of people is to either pay them more, or punish them more, and why this isn't the case in Engineering, especially software engineering. Also it give insight in explanation why people choose to work for free and open source software and why they should
Open source 3d printer - 03.09.2010.
While listening to Floss weekly, I heard a show where they spoke about MakerBot, open source 3d printer, which is very cheap compared to commercial versions of 3d printers. I looked for their site and here it is. I looked at some videos on it, and I must say that I am impressed very much.
Javascript unpacker and beautifier - 03.09.2010.
I had to do some work with some javascript, but I had problem since js file was minimized, so I looked for java script beautifier, and I came across this great site. It made my life much easier, I hope that it might help you as well.