ChrisBellini.com

chrisbellini.com ist rad

ChrisBellini.com header image 4

Entries Tagged as 'Programming'

smokin’ hash

November 29th, 2007 · No Comments

No, this post will make no mention of bottle tokes.
For the remaining freelance gig in my spare time pipeline (which hopefully is winding down), an ecommerce site, I had to create simple user management system. Obviously, I’m not going to store users’ passwords as plain text in the database, but rather as a hash [...]

[Read more →]

Tags: .NET · C# · MD5 · PHP · Python

onFrustrate

November 6th, 2007 · No Comments

The onChange event for HTML form elements is fired when the value of that element actually changes in Firefox/Seamonkey, Opera, Safari and any other other modern Web browser. It just makes sense. Yet for some lame reason with Internet Explorer, onChange is only fired once the focus on said form element is lost, [...]

[Read more →]

Tags: Internet Explorer · Javascript · Programming

set @my_balance = select sum(savings_balance) from client_accounts where savings_balance > 0.00

July 25th, 2007 · No Comments

Today’s Daily WTF post was one of their funny screenshot articles and one of them struck me as being quite familiar:

Die-hard readers of my blog may be thinking that based on the Diebold logo in the picture, that I’m reminded of one of my rants against slow Diebold ABMs. It’s not. That “Object [...]

[Read more →]

Tags: ASP.NET · C# · IIS

visual studio - lessons learned

May 9th, 2007 · No Comments

Note to self:
If you’ve created a page that is correct from a business logic point-of-view, but may not make Visual Studio’s visual designer happy, don’t open the file in the visual designer. The visual designer wants to correct your “shoddy” HTML. The visual designer thinks that it knows you. It doesn’t. [...]

[Read more →]

Tags: Microsoft Visual Studio · Programming

coding the painful way for all to hear

February 22nd, 2007 · 1 Comment

Last summer, I posted about a cool open-source project from the National Research Council of Canada, known as Voice Code, that allows developers to code by talking. From the demos that I’ve watched, VoiceCode performs very well, and shows promise. However, Windows Vista includes speech recognition functionality, and doesn’t appear to be on [...]

[Read more →]

Tags: Programming · Vista · VoiceCode · speech recognition

the python programming language and its love of “whitespace”…eeeew

November 23rd, 2006 · No Comments

A couple of weeks ago, I rebuilt our desktop computer; the ol’ format and reinstall everything shuffle. I like to do it a couple of times a year; usually coinciding with when my annual anti virus subscription expires. It is, however, dreadfully boring downloading and reinstalling the latest versions of the software that [...]

[Read more →]

Tags: Programming · Python · porn

quick calc

November 2nd, 2006 · 1 Comment

Often, I need to do some quick arithmetic involving multiple operations and don’t have a good calculator handy. There’s a calculator application on my cell phone, but I’m an atrociously slow cell phone typer. Most simple calculator apps, like calc.exe in Windows, are fine for single operations like 2+2 or 67 * 1.14, [...]

[Read more →]

Tags: Firefox · Google · Hacks · Python · Ruby

server.transfer() saved my asp

September 25th, 2006 · No Comments

At work, I’m near completion of an ASP ecommerce project. Up to this point in my life, I had never coded with anything other than Perl or PHP running on Apache when working on web-based projects that required dynamically generated content. So this project stole my ASP-on-IIS virginity; this is a good thing.
Server.Transfer() is [...]

[Read more →]

Tags: ASP · IIS · Programming

how to be an awesome developer in 74 seconds

September 19th, 2006 · 1 Comment

eWeek’s article about 10 Programming Languages You Should Learn Right Now, posts like this about the 5 languages that matter, and 5 Easy Ways to be a Better Developer appear to be this week’s trend. Everybody loves a good list; see my list of favourite Firefox extensions in my previous post
When it [...]

[Read more →]

Tags: Computers · Programming

programmer’s day

September 14th, 2006 · No Comments

Would you believe that nobody outside of work wished me a happy Programmer’s Day yesterday? Of course, I work for a company that’s chock full of programmers so there were plenty of well wishes to go around, but c’mon, people. It’s just one day out of the whole year. Is that too [...]

[Read more →]

Tags: Computers · Programming

the ubuntu way, part 2

September 6th, 2006 · No Comments

Upon reviewing my web server’s logs, a lot of people stumble upon this website o’ mine by submitting queries for “ubuntu phpmyadmin” to search engines like Google, Yahoo! and MSN. I’ll assume that it’s because installing PHPMyAdmin on a fresh Ubuntu Linux install isn’t all that straightforward. Everybody lands on this post from [...]

[Read more →]

Tags: Computers · Linux · Programming · Ubuntu

speak ‘n’ code

August 21st, 2006 · 2 Comments

Filed under “Ain’t It Cool?”.
The NRC has released an open-source application, called VoiceCode, that allows software developers to code with their voices instead of their hands. Sure there are plenty of consumer applications in existence, such as Dragon Naturally Speaking, that allows people to use their computers and enter text by speech. VoiceCode, on [...]

[Read more →]

Tags: Computers · Programming