Displaying posts categorized under

Programming tips

Why events should happen on the server, not in the client

0I have a guilty pleasure.  I like to game occasionally.  Not a lot, mind you; I have zero spare time.  But occasionally, when I’m waiting for something, I might pick up my iPad and play a game.  In particular, I like this game where you … well, I won’t tell you exactly what the game [...]

How to use a Java ResourceBundle and properties file

0OK, one thing that I put off learning for a long time is how to use Java ResourceBundles.  It just seemed like something complicated that I didn’t really need to do.  After all, I could always just drop information into a standard file and read that, right?  But this approach has its limitations, as pointed out [...]

How to patch open source software

0As a developer, I very often use open source software, but sometimes you run into a situation where the binary (that’s that package you just download and stick in your classpath) needs to be patched. Maybe it’s an obscure bug fix that you need that hasn’t been released yet, or maybe it’s a feature that’s [...]

It’s good to be old

0There was a time — not that long ago, really — when I was the up-and-coming kid in the office. I was young, I was hip, I was on top of everything new. I was the one who, in 1995, went to the people running the interactive agency where I was working and said, “You [...]

Creating and using JSON objects with Java

0JSON, or JavaScript Object Notation, is being used more and more for Ajax requests because it makes parsing the results pretty straightforward. In my case, I came across a need to build and parse JSON objects from Java. Fortunately, it’s pretty simple. There are a ton of implementations listed at Json.org, but I don’t have [...]

Good resources for learning jQuery

0As you may have noticed, I’ve got a poll over there on the left that lists some topics I might write tutorials about. I’ve been doing a ton of jQuery work lately, so I thought I might put that on the list, but there is apparently a ton of good material out there already. Specifically, [...]

Subversion vs. Git: Choosing the Right Open Source Version Control System

0Over at Manning Press, we are building a system that relies heavily on the Subversion version control system, but more and more authors are coming in and saying that they are using Git instead.  Git is not, as I had originally thought, a fork of SVN, but instead a distributed system, in which every user [...]

Boxy, but good

0Today I was introduced to an incredibly handy plugin for jQuery called Boxy. You know those Facebook-type modal dialogues that pop up on a web page and grey-out everything else? Well, Boxy lets you do that with one simple Javascript command, as in: $(‘.boxy’).boxy(); It includes all sorts of options as well, including a handy [...]

A Java book that might be fun

0As you may know if you read this blog, I’ve got my fingers in more pies than … well, than I’ve got fingers. So it’s nice when I can have fun and learn something useful. Java™ After Hours: 10 Projects You’ll Never Do at Work looks like one of those opportunities. Anybody read it? Recommendations? [...]

More programmer how-to additions

0A couple of new additions to the Programmer How-To: Set Linux/Unix permission values Use a for-next loop (added PHP) Technorati Tags: Linux | System Administration | Programming | PHP |