listingever

17 Nov 2009 at 3:24pm

25 Tips for Intermediate Git Users
I've been using git for about 18 months now and thought I knew it pretty well. Then we had "Scott Chacon":http://gitcasts.com/about from "GitHub":https://github.com/ over to do some training at "LVS, a supplier/developer of betting/gaming software":http://www.lvs.co.uk/ (where I'm currently contracting) and I learnt a ton in the first day. As someone who's always felt fairly comfortable in Git, I thought sharing some of the nuggets I learnt with the community might help someone to find an answer without needing to do lots of research.
View 30 Comments

5 Nov 2009 at 10:42am

Debug-level Logging for a Single Rails Production Request
We have a large Rails site live which runs with production level logging. Occasionally there is a problem where debug-level logs would help us track down a problem quickly, but we can't restart one of the Rails servers to have logs put in debug mode for a single request (and don't want to run in debug mode for long as the servers are heavily used). For our purposes it would be nice to have just the log output for the single request we want to look at. Rails' console and the app object to the rescue!
View 3 Comments

4 Nov 2009 at 1:46pm

DTrace and Ruby on Rails with Leopard/Snow Leopard
Having just launched a major Ruby on Rails site, there has been a period during which we've had to improve performance dramatically. While most of the benefits have been had by using a custom Rails middleware class there have been a number of actions that aren't cacheable so I've needed to profile the request and then optimise some internals. Fortunately starting with Leopard, Apple has included a patched version of Ruby that has DTrace probes support.
Post the first comment!

5 Oct 2009 at 12:32pm

Interview with Grandmaster Pan, Sim-woon 8th Dan Taekwondo
I recently had the time to ask Grandmaster Pan, Sim-woon 8th Dan in Taekwondo some questions about his views in Taekwondo, poomsae and his upcoming web site.
Post the first comment!

22 Sep 2009 at 1:33pm

Real World Uses of Rails Metal and Middleware
There are times when Rails feels very heavy! Jason Seifer has joked for ages about how Rails can't scale, and we all know that's a fallacy, but there are times when you know a bit of code is simple and could be really lightweight but having it as part of a controller, having gone through the Rails routing process and all the filters would just slow it down. At the end of 2008 Rail Metal was introduced and it came like a breath of fresh air. It simply works as a lightweight class dropped in to /app/metal/ that is given the opportunity to handle a request before the main Rails stack. When I first started reading about Rails Metal/Middleware it seemed like a great idea, but it didn't really offer anything with a real tangible benefit. Can it be used in real life, or is it a nice bit of icing - something fancy to show off to non-Rails/Rack developers?
Post the first comment!

13 Sep 2009 at 1:11pm

Review of the jQuery UI 1.6 Book
jQuery is a modern Javascript framework. It helps you, the web developer, to write client-side interactive code without worrying about cross-browser issues and a lot of the boring elements of DOM manipulation and animation. The jQuery UI library is a collection of small UI elements and widgets for building richer interactive interfaces. This book aims to help you learn the latter - but does it hit the mark...?
Post the first comment!

13 Sep 2009 at 12:58pm

Review of the Learning jQuery 1.3 Book
jQuery is a modern Javascript framework and this book promises to be an introduction to the framework, it's concepts and how to use it. It covers the latest version of jQuery (at the time I write this), but does it deliver on it's promise and is it worth buying...?
Post the first comment!

18 Aug 2009 at 6:01am

Review of the Ruby on Rails Web Mashup Projects Book

You may be familiar with Sau Sheong Chang's blog at blog.saush.com and if not I'd recommend checking it out (after reading this blog post of course). Sau Sheong is an expert at describing how to create common web systems with very minimal Ruby code - see his blog posts on Clone TinyURL in 40 lines of Ruby code and Write an Internet search engine with 200 lines of Ruby code for more examples of what I'm talking about.

I actually found his book Ruby on Rails Web Mashup Projects on Amazon after reading his blog and snapped it up immediately, hoping it was just as good as his blog.


View 1 Comment

9 May 2009 at 11:40am

X.509 Encrypted/Authenticated Sockets From a Ruby Client
Do you need to know how to create an X.509/SSL encrypted client socket in Ruby? I did for a client and there wasn't anything complete on the net (that Google would find), so I found out and here's how I did it.
View 2 Comments

4 Mar 2009 at 8:58pm

Is there anything GitHub doesn't do?
Many projects developed for a LAMP stack use the mainstay of subversion for version control. It's been a while since I've heard of anyone still using CVS and most LAMP projects haven't yet moved to git. As I'm a dual PHP/Ruby on Rails developer I've jumped the fence and now use git for hosting all projects (except for the ones at my current contract where subversion is still the department standard). There are many reasons why git is better than other version control systems, but in this article I'm just going to talk about one particular git host - GitHub.com and what makes it so great.
View 10 Comments