Reflection and regex

At work we encountered a problem with certain characters in strings, these had to be filtered out before inserting or selecting things from the database so the application would be a little less vulnerable to Sql-Injection. But this was easier said then done, and we wanted one method for all the objects. Because we did…

Euler Problem 36 binary palindromes

The decimal number, 585 = 10010010012 (binary), is palindromic in both bases. Find the sum of all numbers, less than one million, which are palindromic in base 10 and base 2. I love palindromes so I decided to tackle this problem today, and why not do it in c# I created a button, that sets…

The internet, coding and internet bullying.

46.1 % of people in the world (3,424,971,237) have an internet connection, since the beginning it has changed everything. The internet has changed our day to day live immensely. It has given us a nearly infinite amount of communication opportunities, it presents us with ways of communication with people all around the world. People we…

Assumptions is the mother of all F***ups

You are the developer and very much clear with why you are doing and creating the things you are. But this is not the case with your users. Usually, developers make the mistake of overestimating the users when they request the users to submit data via forms and assume that the data will be received…

What programming language to start with ?

Every so often, you will read a question directed to the developer community. Its always the person that asks  What programming language should I start to learn. The nature of this question is a great one, it shows that someone has an interest about how the most used machines in the world of today work. And…