Opera Labs Releases WebGL Preview
Fans of the Opera web browser and 3d graphics (of which I am both) have reason to celebrate.
Learning to Program Ruby
Ruby is a programming language that is both easy and powerful, and makes a good choice for someone learning to program. Whether you used to program and want to get back into it, or you’ve never programmed before, learning to program with Ruby is easy and fun.
Hexmap Coordinates the Easy Way
When it comes to turn-based strategy games, I’ve long preferred hexes over a square grid. Naturally in working on my own projects I want to use hexes… but at first glance it seems the coordinate system for hexes must be much more complicated.
It’s actually easier than you’d think, I’ll show you how.
I used to keep track of personal finances with Microsoft Money, but it’s not exactly suited to my needs.
Enter Bucketwise, a personal finance rails app that’s open source – hence ready to be customized.
A new, less saturated, coat of paint and a shorter URL – 3DM Design has been relaunched!
Blog and Feeds Moving
I’ll soon be moving the blog to http://3dmdesign.com/, and likewise updating the feed URLs to http://3dmdesign.com/feed and http://3dmdesign.com/comments/feed.
By default, the to_json method in Rails is probably a lot more verbose than most people want. I’ll share a few tips on how to tame it.
Question: How can I slim down the output of to_json in Rails?
Back to Rails
It’s been a long time since I’ve worked on a Rails project, but it feels good to finally get back to Ruby on Rails.
For most types of events, there’s a better way: Event Delegation. At the basic level it involves attaching an event delegation function to a parent element, then catching events which bubble up and passing them off to specific handlers based on the event’s target.
First Steps to Comet: Orbited in PHP
Comet for Web Games
For those not familiar with Comet, you’re either not a front end web developer or you’ve been kept in the dark. To sum it up quickly, Comet is a technology like Ajax. While Ajax basically consists of an asynchronous request by the client to the server, followed by the server’s response, Comet is a bit different. In Comet the client establishes a connection (or makes a request) to the server, and then generally keeps that connection open for the server to send responses back to the client on its own schedule.
I’m a web developer by day and have been programming, in one language or another, most of my life since age 10. But for someone without consistent (or any) programming experience, how do you learn to program? This question was brought on by a friend of mine who had a programming class or two years ago and is now setting his sights on giving it another shot.
The good news is that you don’t have to be a life-long programmer to have some fun with it. Old, young, students, hobbyists, and non-programmer professionals can all learn to program, provided they have some interest and a little time (it doesn’t take much to get started).