Fundamentals of Programming: Part 4 – Variables and Arrays

by
Inf

Welcome to Part 4 where we will talk about variables and arrays are. If you’ve read the previous 3 parts, you would have noticed that I’ve used a few variables already, like A, B, Tc and Tf for example. In this section, we go deeper into what variables are, how to use them and finally, how to cope with situations where you have lots of variables to use, or don’t really know how many you need in fact!

So let’s begin this fairly short part, shall we?

Continue Reading »

Fundamentals of Programming: Part 3 – Style, Indentation and Comments

by
Inf

Welcome to Part 3 of the multi-post series on Fundamentals of Programming. Last time, I just touched upon one very important point regarding style in programming: indentation. In this series, we’ll see a bit more about styles in programming. You can think of those as the “formatting” used in programming. We’ll end with the importance of conventions, comments and consistency in programming. I hope you will enjoy this part and learn something.

Continue Reading »

Fundamentals of Programming: Part 2 – Pseudo Code and Batch Jobs

by
Inf

Hello, welcome to Part 2 of the series. In this section, we’ll start with some actual code writing. “Code” is a short term to refer to “programming lines” i.e. instructions. So when someone is “coding”, they’re actually “writing programs”. I’ll use that word for short.

We’ll start with writing some instructions in pseudo-code. What is pseudo-code? Does it mean pseudo-programming? Yes, sort of.

You want to make sure you understand how to write and understand pseudo-code because that’s what I’ll be using through the rest of this series. They’re easy, English-like statement so don’t worry too much.

Continue Reading »

Fundamentals of Programming: Part 1 – Introduction

by
Inf

Hello there! Welcome to my Fundamentals of Programming series of post. In this series, I will teach you about the basics of programming, i.e. the building blocks and what makes a program tick. I will NOT teach you Java, C++, PHP, Python or whatever pretty language you can think of. Instead, I’ll keep it language-independent so that even a complete beginner to programming will be able to follow.

Continue Reading »

[Solved] Firefox’s Right-Click Menu Overlaps Flash/Javascript Menu

by
Inf

Just a quick post here. If you get this problem when right-clicking on Flash videos and sometimes in application-like web interfaces, the solution follows. It’s easy too.

So solution to prevent this overlapping of menus:

 

Go to Tools → Options → Content → Click on Advanced button (opposite Javascript) → Check “Disable or Replace Context Menus” checkbox.

That’s it. Problem solved. This was tested on the new Youtube and a few other sites. The solution worked fine. Let me know if it works for you.

(source)

Mauritius is not a cyber island yet. Here’s why.

by
Inf

For some reason, our political leaders are bent on using the word “cyber” whenever the get the opportunity to. Everything is cyber here: Cyber caravan, Cyber Crime or something along that line as well as a few other cyber things here and there. What does “cyber” mean anyway?

Merriam-webster says something about “the culture of computers”. It must be a joke: I hardly see any kind of “culture of computers” in Mauritius.

We are far, VERY FAR from deserving being called a cyber island yet. Why? Lots of reasons actually…

Continue Reading »