Iterating through JSON Data using Python

Are you stressing about how to iterate through JSON Data using Python? It’s really pretty simple! I’ll walk you through a basic example to help you get started on the right path. { "office": {"medical": [ { "room-number": 100, "use": "reception", "sq-ft":...

Project Euler #1

Add all the natural numbers below one thousand that are multiples of 3 or 5. Seems simple enough? Here’s my brute force way of answering it (using Python): [sourcecode language=”python”] n = 1 sumTo = 0 while n < 1000: if (n%3 == 0) or (n%5 == 0):...
Project Euler

Project Euler

“Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and...

Bash Script – HelloWorld

I’m no ninja when it comes to linux, but I do enjoy using openSUSE. I’ve basically been using it as a sort of playground where I have setup a web development env., take regular vacations from Windows, and just to add to my cool factor! One thing that...

Count Element Frequency in an Array Using LINQ

In this post we are going to look at counting the frequency of an element in an array using LINQ. First, let’s setup the console application in Visual Studio. Create a New Project in Visual Studio, and pick an appropriate project name/location. You can use...

Simple WPF Application

In this post we’ll look at creating a very simple WPF application. Let’s get started by creating a standard WPF application in Visual Studio as shown in Figure 1. Visual Studio should setup the basics for you as shown in the Solution Explorer, or Figure 2....