Tuesday, 8 January 2013

What is a float? - A float is a term that is constantly over complicated.


 A float was something that used to really puzzle me. It was never properly explained on the video tutorials I used to follow when trying to pick up C. It used to constantly stump me and every definition I ever looked at just over-complicated the matter even further. For anyone else who is also baffled by a float, your misery ends below.

 A float is literally just a number with a decimal point... Thats it.


The term float is an abbreviation of a floating point number. Floating point refers to the decimal point being able to 'float' between the digits of a number being defined. Simple really but if you follow the Wikipedia link you will see how unnecessarily over-the-top their definition becomes... well I take that back their definition is very precise and proper its just very hard to understand if you don't have a good backing in mathematics, which we all (aspiring computer scientists) should really have.


yep...

 Just a little bit more information from me that I believe will help you; an integer can only hold single values and the way an integer is stored in your computers memory is different from a decimal number. A number with a decimal point is slightly more complicated to store and it therefore requires more space in the computer's memory than a plain integer. If you are trying to make efficient programs a little tip I learnt is that floats take up a a fair bit more memory in comparison to an integer so if every byte counts try and use integers rather than floats. Peace out and best of luck for your studying this year.

Monday, 7 January 2013

CSS is the reason your website sucks

 CSS (Cascading Style Sheets) have been something that I have been putting off learning when building and designing websites thus far. Honestly it has probably been like the biggest error of judgement on my part so far. I was fiddling trying to make semi-cool looking frames for about 2 weeks until I realized anything not relating directly to content is really the sole responsibility of CSS. If anyone is thinking of taking up website design (I highly recommend doing this) start with the basics of html then move to learning CSS as quick as possible it may save you about two weeks of your life.



 I will be posting how to make a basic CSS sheet that will allow you to create a visually impressive menu bar then a main frame on which to place your content. It took me too long messing around in HTML to get anywhere close to what would be considered a pretty old school looking site, I spent 1 hour this morning reading CSS on the train into work and figured out how to easily do what I had been racking my brain with over the last few weeks.

 Even though computing is frustrating when you reach those 'aha!' moments it becomes all worth it, so hang on in there and keep fighting the good fight.



Saturday, 22 December 2012

Well this guy has it all figured out..

For anyone who thinks they're fucked because they have a criminal record or just cant see themselves really progressing on the path they're are on. Read this: https://7chan.org/jew/res/387.html

Sort your life out.






I sure as hell am  will update you properly on my progress in CS and in life soon. For now peace and Happy Holidays