I wish I could see this guy speak. I learn so much just reading his slides and other writings, I can’t even imagine what I’d learn if I was actually there. Debugging RubyDude, even rural China has Javascript. Turn it on, or view this outside of your feed reader.View more documents from Aman Gupta.
Verbose Logging
software development with some really amazing hairswfobject, meet jQuery
I was getting sick and tired of just blindly copying and pasting embed code for videos and every other flash thing I post. Naturally, being a programmer I had to do something about it. Enter jQuery and swfobject Check this out: Some embed tags that are provided are only of one type: either object or embed. This is no good since that means some browsers are excluded and it won’t work. Lame! Swfobject solves the problem by using JavaScript to in...
Read the full article
Unescape HTML with Javascript
I’m just passing this on, as I didn’t do it, I just found it. Over here is a pretty slick way to unescape HTML. I ran into the need for this when I was working on some inline-editing code. I wanted to reset the contents of the textarea to the contents of a pre tag. The contents of the tag are of course escaped, but I want them to be proper HTML in the textarea. Using this trick allowed me unescape the contents easily and stuff it back in the t...
Read the full article
Screen Scraping with Ruby
Scripting languages are the bomb. I pretty much live in them right now. Ruby is my current (and probably will be for a long time) favourite scripting language, and it has a library for everything. Even if there isn’t a library for what you want, it’s super easy to write your own. I ran into a problem a while back that ruby solved nicely for me. I was downloading wallpapers from a website, but it was getting annoying. Really, I just wanted to g...
Read the full article
Programming with a Guitar
The Devexpress folks apparently have a little competition once in a while to show that their software kicks ass. The last one (as stated in the video) was a guy with a keyboard and no Devexpress vs the guy with chopsticks and a keyboard, but using Devexpress. Cool! Now they step it up and they have a Guitar Hero controller to write code. Badass! flowplayer('devexpress-movie', { src: '/swf/flowplayer.swf', wmode: 'opqaue' }, { clip: { url: ...
Read the full article
My Tools of the Trade
Well I figured since everybody else is doing it, why not hop on the bandwagon. These are my tools of the trade: Hardware 2009 Apple MacBook Pro 13" running OS X 10.6 Snow Leopard. I got this not too long ago, and it completed my operating system trilogy. Dell Inspiron 6400 running Ubuntu 9.04. My lifeblood in university and still a solid laptop. Custom Intel Core 2 Quad desktop w/ 8 GB DDR2 RAM and EVGA nVIDIA 295 GTX video card running Wind...
Read the full article
Web Syntax Highlighters
Anybody who blogs about programming related topics needs to post code at times. When I was on Wordpress, I used the WP-CodeBox plugin. It worked quite well, but it was server side. This is fine if you intend to stay with your software forever, but when I moved off Wordpress to my custom solution, it became a problem. syntaxhighlighter syntaxhighlighter is a fairly popular solution, and for good reason. It is entirely javascript based so there ...
Read the full article
Blogging System Shootout
So I have this blog. You might have one, but odds are, we aren’t using the same system. Well, actually since I run my own system, there is probably no way in hell we are running the same system. Anyway. There are a few other systems out there, I’m thinking of moving my other blog off my own server, and want to do some other stuff, so naturally I want to find out about some of these other systems out there. I’m only doing hosted services, since...
Read the full article
Google Sets
Have you check out Google Sets? It’s great. I really don’t know how long it’s been around, but it’s pretty slick. If you were looking for server names, like in this serverfault question, you’ll realize the power of Google Sets. Go there, and try out a few things, like characters from Star Wars. Enter in Luke Skywalker and Han Solo. Oh look, the rest of the cast, and even some obscure ones! So the next time you need a set of things, like for a ...
Read the full article