Archive for the 'Programming Tips' Category

What I learned as a student and how it can be applied to freelancing (Part 1)

Monday, December 21st, 2009

Today, I would like to share with you the importance of business in addition to knowing how to program. Especially for freelancers, you need to think of ways to survive while enjoying your programming passions. As a student, I had to learn the difficult way – how to study about programming and focusing [...]

Importance of Memory

Friday, December 11th, 2009

One of the things essential for programming to work is the ability of the computer to store data. Now you may ask: where is the data stored? How is it stored? Well, a basic explanation is that a PC has two types of computer memory. RAM, which is temporary for when [...]

Idea of the Day: Replace MATLAB with Python?

Tuesday, December 8th, 2009

Do you think it is possible? Share your ideas. Voice your thoughts. What are the pros and cons? Check back later to see what MyProgrammingTips thinks about this. Have a great day!

MATLAB and PDEs

Thursday, December 3rd, 2009

It’s almost the weekend again. I have been working on MATLAB programming lately. Have some pretty awesome projects going on. Some involve eigenvalues and eigenvectors while others have complicated iterative loops going on. Right now, my favorite is the Shooting method to estimate the solution for boundary value problems. What [...]

A Simple Tip Calculator using HTML and Java Script

Sunday, September 20th, 2009

For a recent project, I programmed a simple tip calculator using HTML and Java Script. Here is a sample code:
<html>
<head>
<title>Tip Calculator by MyProgrammingTips.com</title>
</head>
<body>
<script type=”text/javascript”>
document.write(”<h1>Tip Calculator by MyProgrammingTips.com</h1>”);
//Variables
var subtotal, percent, total;
//Input
subtotal=parseFloat(prompt(”Enter your bill amount before tips”,”100.00″));
percent=parseFloat(prompt(”Enter your desired tip percentage”,”20%”));
//Processing
tip=subtotal*(percent/100);
tip=Math.round(tip*100)/100;
total=subtotal+tip;
total=Math.round(total*100)/100;
//Output
document.write(”<p>Your bill amount before tips is $” + subtotal + “.”);
document.write(”<p>Your tip percentage is ” + [...]

Ask for help!

Monday, July 27th, 2009

I would like to share with you guys a story. During my years as a computer science student, I had never wanted to let the teacher or my classmates know that I did not understand the assignment. I liked to make an impression that I was capable without anyone’s help. Well that [...]

Planning in the Software Development Cycle

Sunday, July 26th, 2009

This is part one of our ongoing series: Planning, the Software Development Cycle.
In Computer Science class, one of the first concepts we learn is the Software Development Cycle (or Process as some people like to call it). The most crucial of the tasks is first communicating with the cusomter and seeing what requirements they [...]

Tips to be a Better Programmer

Tuesday, November 25th, 2008

In this article, I would like to share with you 20 Tips which can really help you to be a better programmer.
1. Study, study and study
The study allows us to perfect, but we look the more opportunities we will have to schedule better, I am speaking not only of universities, nor of course, at [...]

Advice from Programmers for Programmers