I'm Dan Previte, a web developer and a geek in general living in Chicago and working for Caxy Inc.

Why Chicago Sucks Sometimes

December 10th, 2007

die.jpg

$100 fucking dollars because I was parked in front of a fire hydrant (the only place to park for a few minutes) in front of my building. I was on my way home from work and had to pee so badly I was bouncing in the car. I was there for less than 10 minutes with my hazards flashing.
The most expensive piss I've ever taken.

Tickets, traffic, lack of parking, and the homeless are the only things to not love about Chicago.

www is for queers.

November 26th, 2007

You may have noticed that if you go to www.null-logic.net, the www is stripped off and it takes you to null-logic.net. That's because the www is for queers.

It's a waste of time, it takes too long to say, and its no fun to type. The www isn't required, and I can't think of why it was ever there to begin with.

If you have a website, just redirect traffic from www.domain.com to domain.com. Oh, and if you're giving me a link, and you start with "go to double you double you double you" expect to be slapped across the face.

More about it here.

Compare your life to mine, and then kill yourselves.” – Bender/Dan

Updated 04/06/2008

This started as an email to everyone at work, but I thought I'd post it here to share with you losers.

Launchy http://www.launchy.net

launchy.png

Forget the Start menu. It sucks hard. Instead, hit ALT+Space and type the first few letters of the program you want to launch and hit enter. You won’t have to search through your Start menu folders trying to find the program you want. As you go it learns, and even forgives typos.

SFTPDrive http://www.sftpdrive.com
WebDrive http://www.webdrive.com

webdrive.png

Editing files locally and then uploading via FTP every time you want to see your changes sucks. A lot. Dreamweaver’s FTP sucks too. Use SFTPDrive or WebDrive and you can mount a server as a drive on your computer. Just open O:\httpdocs\index.html and save/edit it like it’s a regular file on your computer. No more changing a few characters, hitting upload, and uploading. Just click save in your app. WebDrive is almost the same thing as SFTPDrive, but like 4x as expensive. I've used both a lot and found that WebDrive is way better, but more difficult to learn.

E-Text Editor http://www.e-texteditor.com

e-texteditor.png

I’ve always basically used Dreamweaver as just a program with tabs and syntax highlighting. Now I just use E since it’s smaller/faster and even a little cooler for coding. “E is a new text editor for Windows, with powerful editing features and quite a few unique abilities. It makes manipulating text fast and easy, and lets you focus on your writing by automating all the manual work. You can extend it in any language, and by supporting TextMate bundles, it allows you to tap into a huge and active community.” You can write your own plugins, and I’ve even written a few for CodeIgniter.

CodeIgniter http://www.codeigniter.com

codeigniter.png

Ok so this only helps you if you're a PHP developer, but if you're reading my blog and you made it this far, you probably are.

CodeIgniter has made my life a million times better. I used to try really hard to keep the code for my websites organized, but it somehow always turned into a disaster. I've made about 5 sites with CodeIgniter at this point and I love it. The client can request rediculous changes, and because of how it's organized things still go smoothly. Or at least as good as it can get.

There are other PHP frameworks, a few too many if you ask me, but CodeIgniter scratched the right itch for me. CakePHP was a little too large and imposed it's own coding style on me. Symfony requires too much command line work, some people I'll be working with have never even touched the command line. Not really Symfony's fault as much as them being retards, but oh well. And then Zend just seemed like way too much overkill for me.

CodeIgniter is simple and flexible. Yay.

SQLyog http://www.webyog.com

main_multi.png

phpMyAdmin pretty much sucks so I had to look for an alternative. SQLyog is a great way to connect to a MySQL database and make changes. It lets you tunnel over SSH, has a graphical Query builder that helps with complicated JOINs, and a million other lil toys. Best of all it's not web based so it's fast, especially when entering data.

Vista Line-In Annoyance

November 4th, 2007

This is more of a note to myself than anything, but this took me about half an hour to figure out. For the most part I haven't had any issues with Vista since I've installed it, but today I wanted to connect my iPhone to the line in on my sound card and listen through my computer speakers.

After stripping a cable so it could plug into the iPhone (a whole different story), I plugged it into the line in port on my sound card and didn't hear a thing.

What you have to do is right click on the speaker icon in the tray, click "Recording Devices"

sound_menu.gif

Then click the "Playback" tab, and then double click "Speakers"

speakers_entry.gif

Then adjust the levels for Line-In. This should also work for the microphone.

levels.gif

It seems pretty buried, no idea why it's so much harder than it was in XP. I'm looking forward to buying my first MacBook Pro as soon as I can.

php|tek

May 26th, 2007

I went to php|tek here in Chicago this year. I've been wanting to attend one of these for some time, and got lucky because this year it was being held about 45 minutes from where I live.

It was great being able to listen to developers who are much smarter than me talk. I think I learned more there in three days than I learned in college. Well... maybe not really, but it was close.

It was also good inspiration for me to start trying to learn more new things instead of just doing what I do to get paid every week. I've started a new side project in order to learn a few technologies that were brought up at the convention and if I get anywhere with it, I'll be posting it here and probably on Source Forge as well.

Anyway, it's been at least a few months since I've posted here, so just sayin hey to the 2 people who actually read this thing.