Sieve of Eratosthenes in Java / C#

Eratosthenes, what an egg head huh? I wonder if he could have coded his own algorithm in Java or C#. Would he have known what a class, helper method, and a delegate is? The ancient Greeks had the math world pretty much locked up for their time... except that whole world at the center of the universe thing and that the heavens were in perfectly circular orbits. Whoa were ...

Caught in Pascal’s Triangle

Earth has the Bermuda Triangle, Space has black holes, and humanity has my crazy mind. All of these things are largely unexplained phenomena and so I figured, why not throw out one for the programming world? If Bermuda can have a triangle, dangit we are going to have one too! Introducing Pascal's triangle.... on this episode of the Programmer's Underground! Pascal's triangle has been studied around the world for hundreds of ...

The Mysteries of Data Flow Diagrams

You can probably guess what a Data Flow Diagram might mean. It has something to do with Data from Star Trek and his schematics right? No no... while he kicks ass on the Enterprise, Data Flow Diagrams kick ass in system design. You might not be able to build a robot with artificial intelligence and calculates at teraflops a second, but you can dramatically improve your skills of converting a ...

Let’s Get Animated in VB.NET!

This isn't your rerun of Looney Tunes. Everything and anything that is simulating animation is hot in the world of programming. I guess it is because everyone is trying to mimic that wicked mid air desktop Tom Cruise uses in the movie Minority Report. All animated, all quick and fast, just add some user interaction and we are one step closer to making it reality! The world of animation can ...

Tips on Converting from Console to GUI

One of the most daunting tasks for any beginner programmer is building a great console application and wanting to put it into a GUI, but don't know how. Even experts have trouble at times doing this because the design for the console application assumes output would go to one screen unless directed elsewhere. In this entry I provide a few tips on migrating that great console app over to something ...

Microsoft Should Take A Look at Java

I am sure some of us have stopped and thought "Is Microsoft really going in the right direction with its development languages?" and then you probably put your nose back into the compiler and continued coding, not giving it another thought. But wait a minute, perhaps you are right. Maybe we should take another look instead of just blindly following Microsoft's techies into their vision of what software should be ...