Scripting the Go-compiler

November 17, 2009

A good programmer is a lazy one, the cliche says. Maybe. An easily distracted one if nothing else. While trying out Google’s newly released compiled language Go, it bothered me that there was not a faster way to compile, link and execute the little programs I was writing. So, rather than to teach myself something actually useful i wrote a script to do this all at once.

It is invoked by goc (best move it to /usr/bin first), the file to compile and then the arguments to give the program when it executes.

The -s flag will try and mute all compile and linking errors and the -m flag will rename the executable to whatever your .go file’s name was.

You can download it here. Sourcecode after the jump.

Read the rest of this entry »

I will refrain myself from arguing for and listing the benefits of net neutrality, as that has been done better and more elaborate by others than i ever could. I am of the opinion that anyone who has used and understands if only parts of the full meaning of the world wide web has no other option then to oppose the notion that the space through which I am now speaking to you can not be anything other than free, unregulated and unmeddled with.

The ACTA treaty, for which the latest negotiations were held just a few days ago in Korea and the horrific rules it plans to impose to supposedly stop piracy and the ‘Internet Freedom Act’, a bill proposed by American Senator John McCain to stop the government from forcing ISP’s to treat all information going through their cables equal are only two examples of how this freedom is threatened

I strongly believe that the guarantee of net neutrality could be one of the most influential historical moments in our lifetime, one that will set in stone the inventions made by the the information revolution.

Why then are these laws being imposed or planned without larger public outcry? Corporate greed, their sole reason, can only go as far as the populous lets it. As long as there is no education on this matter so that a large enough percentage of the public can cry out in horror, our rights will never be safe. We will have to  to start a campaign to inform people who are unaware that their rights are being violated using commercials and ads in newspapers. Once everyone knows what net neutrality means and understands its value, ISP’s and governments will back off.