Computer Scientist

From SO (StackOverflow) – “The majority of computer science and software engineering degrees are bull. If your first programming language is Java or C#, then you’re doing something wrong. If you don’t get several courses full of algebra and math, it’s wrong. If you don’t delve into functional programming, it’s incomplete. If you can’t apply loop invariants to a trivial for loop, you’re not worth your salt as a supposed computer scientist. If you come out with experience in x and y languages and object orientation, it’s full of s***. A real computer scientist sees a language in terms of the concepts and syntaxes it uses, and sees programming methodologies as one among many, and has such a good understanding of the underlying philosophies of both that picking new languages, design methods, or specification languages should be trivial.” –

Slowly realizing the above as I learn more languages.

Safe Linux upgrade

sudo aptitude safe-upgrade

“It is sometimes necessary to remove or install one package in order to upgrade another; this command is not able to upgrade packages in such situations. Use full-upgrade instead”

Declare locale

sudo locale-gen en_GB.UTF-8

Declare a locale, in this case English, so it downloads English manuals when you do system updates

Aliases bashrc file

vim ~/.bashrc

Edit the file that Bash runs commands from – Handy for setting up Aliases (shortcuts to run long commands) – Example (alias l2r=”sudo /etc/init.d/lighttpd restart”)