May 06, 2008
Coding Horror on MVC

Coding Horror has a nice article on Understanding Model-View-Controller. Well worth the read for people not so up on it like myself.

Programming - Posted by Arcterex at 11:27 AM
April 24, 2008
A Merb Tutorial

Nice simple chat wall Merb tutorial, giving you a full demo from start to finish using Merb, a Ruby on Rails type web framework.

Programming - Posted by Arcterex at 02:44 PM
March 19, 2008
Rails 2.0 Performance

There's been some benchmarking doing a Performance comparison: Rails 1.2.6 vs 2.0.2. According to the blog entry rails 2.0 gives about a 30-50% speed increase. Good to see that things are getting faster as they mature!

Programming - Posted by Arcterex at 03:20 PM
February 03, 2008
Rails 2.0 Step By Step

Interesting looking set of articles on Rails 2.0 and Scaffolding Step by Step. So far there are 2 parts of fairly in depth and well written information about Ruby on Rails 2.0.

Programming - Posted by Arcterex at 10:43 PM
January 30, 2008
Super Fast Bulk Data Import in Rails

Via the rails envy podcast I found Super-fast bulk data imports in Rails with ar-extensions. Basically a scaling issue is that importing a billion records into rails via ActiveRecord sucks, this lets you do bulk imports and makes them much faster.

Programming - Posted by Arcterex at 09:21 AM
January 01, 2008
Rails Rant from Mongrel Developer

Rails Is A Ghetto is a potentially explosive rant from the Mongrel (a Ruby/Rails webserver) developer, slamming a lot of the rails people out there. Interesting to see what (if anything) this turns into.

Programming - Posted by Arcterex at 12:13 AM
December 13, 2007
Rails 2.0 Screencasts

Just a quick nod to Akita on Rails for his Rails 2.0 Screencast and tutorial part 1 and part 2.

He commented on my original "Rails 2.0 is out" story with them and from what I've seen it's good stuff, so I wanted to give some more exposure.

Programming - Posted by Arcterex at 09:06 AM
December 07, 2007
Ruby on Rails 2.0 Released

Rails 2.0: It's done! proclaims the RoR blog. Good job guys! Looking forward to playing with the new stuff.

Programming - Posted by Arcterex at 10:35 AM
October 14, 2007
Which Is the Faster Interpreter For Webapps?

Phil Hofsetter goes to some lengths to figure out mod_php, LightTPD, FastCGI - What's fastest?

Programming - Posted by Arcterex at 03:04 PM
October 01, 2007
When You Push the Operating System Limits....

Nice post by Raymond Chen about pushing operating system limits, in saying that if you're pushing the OS limits, nesting things 255 levels deep, or adding more than 65k objects on a form, you're probably needing a bit of redesign. Definitely a good point, though he does not that that is a big 'probably' as I'm sure there are cases where programmers are needlessly hindered by random OS limits.

Case in point, a story from back in the day.

When I first embarked into the IT world I was doing tech support for the Real Estate board, and eventually a bit of programming. This programming was done in a basic-type language whose name I don't remember, and it was used to do screen scraping and data manipulation from a dial up program (ie: call in, do a search, get the results, format them, output to a file for upload to a different system).

One day they wanted me to move from the text based language to a different system, again, similar but slightly different. Many times I really needed to compare code from one program and use it in another... a simple operation these days, and it's pretty common to compare two source files at a time. In this system, instead of a nice system where you could open the code in notepad (or edit at the time), it was:


  1. Binary format (no opening in edit)
  2. The editor couldn't open more than one source file at a time
  3. The program couldn't be open more than one time (to open multiple versions and therefor, multiple source files)
  4. IIRC there was something wonky with the cut and paste (no copying to a text file to compare later).

Honestly, it really felt like they were doing as much as possible to ensure that people didn't use the system for programming. As I recall, I didn't do much programming in that program/language.

Granted, that's not an OS limit, but a application limit :)

Programming - Posted by Arcterex at 09:14 PM
September 30, 2007
Rails 2.0 Preview

The Ruby on Rails weblog has a nice look at the Rails 2.0: Preview Release. Sadly no quick list of new stuff, nothing I can summarize easily anyway.

Programming - Posted by Arcterex at 10:50 PM
September 25, 2007
Scalable Rails Apps Presentation

A good presentation on writing scalable rails apps from RailsConf in Berlin.

Programming - Posted by Arcterex at 02:31 PM
June 18, 2007
Nice Ruby / Rails Tutorial

Kevin Rose found a nice tutorial on Starting Ruby on Rails. Much nicer than some of the other ones out there, quick and to the point and oriented towards other programmers.

Programming - Posted by Arcterex at 01:57 PM
June 03, 2007
Wii Controlled Source Control

Hows this for making source control more fun for programmers? Check out this video of a Wii controlling Plastic SCM.

Programming - Posted by Arcterex at 12:42 PM
June 01, 2007
Filling Forms Automatically in HTML::Mason

I seem to be the only person programming in HTML::Mason anymore, so this link about Filters And HTML Fill In Form, showing how to use HTML::FillInForm to automatically for checking / filling in the values. Different way than the way I do it, so good to know.

Programming - Posted by Arcterex at 08:37 AM
May 30, 2007
Better Coding

Some good stuff on ways to write more comprehensible code.

Programming - Posted by Arcterex at 04:17 PM
March 22, 2007
Automatic Staging Server with CVS

Found on planet gnome is a howto on Creating An Automated Staging Server using CVS.


It’s easy to create an automated staging server for content that doesn’t need to be compiled (like most web content.) The trick is that CVS has a very flexible logging system. All you need to do is have your CVS server send an email on each check in and have the staging server take that email and check out the files that changed.

Details follow in the link.

Programming - Posted by Arcterex at 12:07 PM
February 20, 2007
Code a Raytracer in a weekend?

This guy is a machine, coding a raytracer over 48 hours on a weekend... he called it PixelMachine and has a full log (with pretty pictures) of progress starting Saturday the 17th and ending Sunday the 18th.....

Programming - Posted by Arcterex at 10:14 PM
January 05, 2007
Vim Input for Visual Studio

This is cool, ViEmu/VS: vi-vim editor emulation for Microsoft Visual Studio. Basically looks like it allows you to use the vi modal model for visual studio editing. This might make me go and check out MSVS again (sorry Microsoft, but my fingers only seem to know how to do vi editing while programming)....

Programming - Posted by Arcterex at 04:25 PM
December 22, 2006
JS Client Side Table Sorting / Filtering

While I'm not a really big fan of JS, I am a huge fan of pre-made systems that easily plug into existing code and solve problems, say, easy and quick Table Sorting, Filtering, Etc. This solution from JavascriptToolbox has some really nice features. The only thing I don't see (yet, I might have just missed it) is a combination of sorting and paging.

Still, definitely something to plug into my next web project.

Programming - Posted by Arcterex at 10:20 AM
November 06, 2006
Math For Programmers

A nice post on Math For Programmers. Finally justification that algerbra in school really was torture! Via jwz.

Programming - Posted by Arcterex at 11:12 AM
October 31, 2006
More GNOME / Mono Optimization

Aaron Bockover writes up a cool entry on Cracking down on heap abuse in Mono, telling how he did optimization work in TagLib-Sharp (a mono library for MP3 tagging) and moved memory allocation down from (for example) 103mb to 16mb! I honestly don't 100% understand a lot of what is actually going on, but seeing optimization work like this really is cool to me. Keep up the good work!

GNOME , Linux , Programming - Posted by Arcterex at 08:47 AM
May 30, 2006
Your Startup and Ruby on Rails

An interesting and sarcastic (yet funny) article entitled Why your startup should use Ruby on Rails. All good points in there (for those too lazy to RTFA the point is really saying why you shouldn't use RoR), however I think a similar article could be written about your favorite language or framework. In fact, your favorite language sucks! :)

For anyone who has looked at RoR or Catalyst or any of the newer frameworks web frameworks available out there it's an interesting read. Amazingly the comments to the story haven't devolved into a flamewar yet. We can still hope though!

Programming - Posted by Arcterex at 08:59 AM
May 14, 2004
OpenSceneGraph Open Source 3D Toolkit Oohhhh...... OpenSceneGraph is pretty swanky. Boone pointed it out this morning, it runs on most every OS, uses OpenGL, and looks pretty good too.
Programming - Posted by Arcterex at 09:09 AM
April 16, 2004
Perl Filtering with Bloom Hat tip to random($foo) for his pointer to perl.com's article on Using Bloom Filters. Basically a much less expensive way of using a hash for doing existance lookups on large amounts of data.
Programming - Posted by Arcterex at 10:01 AM
March 31, 2004
Vim For Perl Developers Title pretty much says it all. random($foo) pointed out Vim for Perl developers with some good tips and tricks that apply pretty well to perl and other languages as well.
Programming - Posted by Arcterex at 01:01 PM
February 17, 2004
W2K Source Code Review K5 has an article with a quick look at the Win2k source. The author notes on the quality, style, comments, undocumented messages and features used by various MS applications, and potential risks of the code being out in the wild (already released exploits aside :)
Programming - Posted by Arcterex at 06:08 PM
February 08, 2004
CSS Debugging Cool, codepoetry has a CSS Debugging Stylesheet that looks like it'll be handy when I finally redesign things. Any day now. Honest.
Programming - Posted by Arcterex at 08:38 PM
December 18, 2003
OO Is Not the Be-All and End-All Interesting discussion of OOP over the top is a bad and scary thing. The article that prompted this might have been a joke (hard to tell, it seems serious enough), but it's still an interesting read as I wouldn't doubt that this has happened at some point.
Programming - Posted by Arcterex at 02:48 PM
July 17, 2003
Cost Of Embedded Projects A Microsoft funded survey found that Linux was more expensive than Microsoft for embedded development (so spake the the reg). I'm am shocked by this, just shocked....
Programming - Posted by Arcterex at 02:17 PM
April 21, 2003
Postgresql Interview Interesting Interview with the PostgreSQL Team on OSNews, lots of notes on what is to come.
Programming - Posted by Arcterex at 01:52 PM
April 04, 2003
Pair Programming Via Screen Some good suggestions from /. on using screen for pair programming. I didn't realize that screen could do this... definately helps if you want to pair program and don't have desks that allow two people to be close enough to the keyboard... Silv, Engel, and Foz will be interested in this. The original topic of this (Hydra) is cool too.
Programming - Posted by Arcterex at 10:15 AM
April 01, 2003
BeOS Filesystem Overview Pretty neat look at the design of the BeOS filesystem. Part of a larger series from a while back entitled Tales of a BeOS Refugee. Neat stuff. Anyone know if BeOS is atill around anywhere, or available to play with?
Programming - Posted by Arcterex at 11:55 AM
February 07, 2003
Why Not to Use Microsoft Visual Source Safe Related to a rant I posted on my own site a while back about the lack of decent Version Control for the Microsoft world, I found an interesting article entitled Visual SourceSafe: Microsoft's Source Destruction System. I've heard some stories about VSS from someone who worked with it, and it had me both laughing out loud and shuddering.
Programming - Posted by Arcterex at 04:26 PM
October 10, 2002
QT vs. MFC Programming Phil, of freehackers.org has written a nice article on his experiences with programming in MFC vs Qt. A bit biased of course, coming from a site devoted to QT and KDE programs, but interesting nontheless.
Programming - Posted by Arcterex at 11:03 PM
October 08, 2002
What Platform to use for a MySQL server Jeremy Zawodny's blog has a good little writeup entitled FreeBSD or Linux for your MySQL Server? A good read.
Programming - Posted by Arcterex at 12:24 PM
October 04, 2002
VB Love Did I say "love"? Damn, I meant "loath"! Thanks to Brad for passing on an article on Thirteen Ways to Loathe VB.
Programming - Posted by Arcterex at 01:00 PM
August 11, 2002
What Java Needs Via a /. story comes 10 Reasons We Need Java 3.0. The comments on the story are good too :) Any comments from the java programmers out there?
Programming - Posted by Arcterex at 04:43 PM
July 21, 2002
C++ Tips and Tricks K5 has a great article detailing some c++ bag of tricks. In there are some tools and programs that will make your c++ programming (and some work for just C as well of course) faster and quicker (or at least better :)
Programming - Posted by Arcterex at 09:42 PM