søndag den 13. januar 2013

How to check disk usage in Terminal

Though I mainly use OS X, I am very found of using the Termnial for many tasks.
Amongst those task is to check disk usage and I am often ask how one does that, so here we go.

Command: 

The command for checking disk usages is: df Which simply gives you this:

Which is almost useless to people who are not nerdy enough.

df -h

By being at little crafty there is a flag, to the df and that is df -h, the -h gives you a human readable layout. 

This also works on Linux, BSD and Solaris.

lørdag den 12. januar 2013

Using OS X and Mac doing AP CS study

I have for the last 5 years used Mac OS X for my different study, for short
  • Technical college Aarhus N (High School)
  • B.Sc Computer Science Aarhus University (Incomplet)  
  • AP. Computer Science Business Academy Aarhus - Viby J (Current) 
But enough of that, what is this post about? This post will be concerning what it is like to use OS X doing my AP study.

First 3. semstres

Well the first 3. semstres was pretty easy, with a few exceptions. 
The first 2 semstres are based on technocligeis which has no problems running on OS X. We used Java as programming language, Blue J and Eclipse as IDE's and Visual Paradigmen as UML editor, which all run luckily runs on OS X and Linux. So there was no problems with the software and techs. But of course there where problems.

SEND M$ Office to the deepest pits of tartarus

Even the teachers on a Software development education, is in love with the moste freaking annoying office suite on the planet. And the teachers of course expect all to have this office suite, so they are using .docx and pptx and so on. Which is so freaking annoying because I did not have the suite installed, but I had Libre Office and iWork installed which do not work well with .docx. So this was / is very annoying and some of the teachers where not even willing to convert the documents to .pdf.

CAOS

CAOS = Computer Architecture and Operating Systems is a subject where we among other things to a look at databases. This of course is fine since so many applications are storring persistent data in databases. But many danish companies are very very M$ loving, so of course we had had to use M$ Sql database. Which is an awesome database and have an awesome Management System. But of course that does not run on OS X. But we are givennen a MSDN (now DreamSpark) account so with VirtualBox, Windows Server 2003 and Microsoft Sql Server 2008 we where on a role. Simple solution to a simple problem, but I still hate to use Windows for development.

4. semester

The C# semester, I hoped to be able to use Virtual Box once again. But this time that was not enough.
1. of all, hardware problem:
My MacBook Pro is an fall 08 unibody, which meant:
  • 1.8Ghz Core2Duo  Intel CPU
  • 4GB DDR3 Ram 
  • 320GB @7200 HDD
Which is not enough for a Virtual Machine and running Visual Studio 2012 at the same time. So I ordered and 8GB kingstone ram package and 720GB Hyrbid drive and believed was enough, but no.
So I had to used bootcamp, installation was simple. But a worse user experience you will have a hard time finding. My fans are almost always running at full speed and even in idel mode the damn system is using 3.44 GB of my rams, So in basic it is hell to use.

Conclusion

For the first couple of semesters it is nice to use OS X and Mac if you can convince the teachers to use .pdf. But at the 4. semester you will either need a very powerfull Mac like the new Retnia MBP's otherwise I would shift to a Windows computer, which for me would be hell.   

  

Well HELLO.

A bit of introduction.
I am young male, from Denmark and use most of my time on nerdy things like maths and programming. I have a flare for agil and open source software development, and my favorit programming language is Ruby.
Introduction DONE 
What will this blog be about? Well mostly random nerdy stuff like Linux, programming and books from time to time. 

Hope you will enjoy.