Category Archives: Programming

Programming Every Day

Why you should program daily (work or side projects) ? 1- Break-through solutions: Subconscious will work while you are eating, driving, sleeping, … etc. 2- Productivity: Everyday a little step towards your goal. 3- Satisfaction: Feeling progress is important as … Continue reading

Posted in Problem Solving, Productivity, Programmers, Programming, Side Projects, Study, Success | Leave a comment

How do I learn to program?

Inventor of Ruby on Rails – David Heinemeier Hansson : “Programming because I needed to. Programming because I gave a damn about what I was writing and I wanted it done sooner rather than later. That’s how I learned to … Continue reading

Posted in Education, Learning, Programmers, Programming, Study, Super | 2 Comments

Coders vs Programmers

Coders are akin to smart assembly line workers as opposed to programmers who are plant engineers. Programmers are the brains, the glorious visionaries who create things. Large software programmes that often run into billions of lines are designed and developed … Continue reading

Posted in Coders, Comparison, Programmers, Programming | Leave a comment

Programming and Problem Solving – Part 1

When you assume the setting is enabled while it is disabled and hence these wrong output have reasons. Or when you assume the process is X then Y and not X AND Y and work in a complex solution based … Continue reading

Posted in Problem Solving, Programming | Tagged , | Leave a comment

Learning a New Programming Language

Why learn ? ‘cos technology change very fast, and change means new technologies, methodologies, tools, frameworks, libraries, … , and languages. And in order to compete you need to learn all these changes. No learn means you will stuck in … Continue reading

Posted in Learning, Programming | Leave a comment

Print using JavaScript

If you would like to print your HTML page contents using your printer, here is a one line javascript: Code Explain: <a href=”” : This is for the mouse hand to appear when mouse hover over print icon. onclick=”” : … Continue reading

Posted in HTML, JavaScript, Programming | Leave a comment

OUTER JOIN Filter by WHERE or ON Clauses ?!

If you would like to filter a RIGHT OUTER JOIN, e.g. then you have to put Table_1 columns in ON clause and Table_2 in WHERE clause, e.g. If you swapped it or put all conditions in WHERE clause then it … Continue reading

Posted in Databases, Programming, SQL-Server, T-SQL | Tagged , | Leave a comment

Black Box

We have a black box application (closed code) which sends data to a white box application (open code). The data that had been sent changed, and after investigation I discovered that the data is hard coded inside the application’s code … Continue reading

Posted in Design, Programming, SQL-Server, T-SQL | Tagged , | Leave a comment

One page PDF don’t open in IE8

Very weired !!! I can open 2 or more PDF pages in IE8, but one page or less IE8 can’t and gives me this error message: The file is damaged and could not be repaired. By the way, Chrome can. … Continue reading

Posted in ASP.NET, Error Message, Programming, VB.NET | Tagged , , , , | Leave a comment

Two Tables Side by Side

The secret is in adding style=”float:right” <asp:Table runat=”server” style=”float:right”>   <asp:TableRow>  <asp:TableCell>Table1 Cell1  </asp:TableCell>  </asp:TableRow>  </asp:Table>  <asp:Table ID=”Table1″ runat=”server” style=”float:right”>   <asp:TableRow>  <asp:TableCell>Table2 Cell1  </asp:TableCell>  </asp:TableRow>  </asp:Table>

Posted in ASP.NET | Tagged , | Leave a comment