Quantcast
Channel: Coding the Wheel » code
Browsing latest articles
Browse All 10 View Live

Choosing Between C++ and C#

During a recent Stackoverflow.com podcast, Jeff Atwood and Joel Spolsky discussed the question: When is it correct to develop software (Windows software, in particular) in native C and/or C++? Joel’s...

View Article



Image may be NSFW.
Clik here to view.

The Language Wars

Anybody who’s ever seen Full Metal Jacket will remember the U.S. Marine Corps Rifleman’s Creed: This my rifle. There are many like it but this one is mine. It is my life. I must master it as I must...

View Article

How I Built a Working Poker Bot, Part 1

[Update: two of the original authors of this post have moved on to greener pastures, and have asked us to mothball this content in preparation for an upcoming book. Thanks for all the feedback and stay...

View Article

Image may be NSFW.
Clik here to view.

Coding the Tweet: Building a Custom Branded Twitter Application

UPDATE: The Coding the Tweet demo application and source code have been updated to support PIN-based authorization through oAuth. With millions of users and an ecosystem saturated with over 700 custom...

View Article

Image may be NSFW.
Clik here to view.

Coding the Tweet, Redux

A few months ago we built a simple Twitter desktop client with oAuth support using C# and .NET. Since then, there have been some breaking changes in the Twitter oAuth implementation, including a new...

View Article


Image may be NSFW.
Clik here to view.

Syntax Highlighting a la StackOverflow with Google Prettify

Enclosed find notes for implementing a simple version of Stackoverflow-style code syntax highlighting with Google Prettify in two scenarios: Prettify all code on the page, at load Prettify code as the...

View Article

Moonlighting with OpenTK

The OpenTK bindings for OpenGL are clean, lightweight, and complete. Definitely recommended for any .NET developer interested in taking a swing at 3D graphics programming under OpenGL. // Draw a...

View Article

Image may be NSFW.
Clik here to view.

Avoiding Duplicates in Feedburner and Google Reader

Like many sites, we use Feedburner to handle RSS and email subscriptions. Depending on the needs of your site, there are some good reasons to do this—particularly if bandwidth is a concern. But if...

View Article


Image may be NSFW.
Clik here to view.

Of Gravatars and Robohashes

Webmasters who use Gravatar to decorate comments with custom avatar images will be familiar with the d parameter of the Gravatar image request. <img...

View Article


Image may be NSFW.
Clik here to view.

Defensive Programming Example #1

The other day I stumbled across this bit of code, intended to randomly return one of four messages. // Choose one of 4 messages to display randomly string theMsg = ""; Random r = new Random();...

View Article
Browsing latest articles
Browse All 10 View Live


Latest Images