ADIUM CRUSHES EVERY WINDOWS IM CLIENT

So, recent job switch. No longer at Demand, and no longer on Mac. Windows is mandatory. Once again I quest for software that doesn’t suck. I’ve tried Pidgin, Trillian, and now digsby, and all are AWFUL when compared to the beautiful, elegant Adium. Oh, and if you’re wondering what my requirements are. Clean interface. This means the tabs, the buddy list font size, and the icons....

THE MAC MINI NOW SUPPORTS DUAL MONITORS

The Mac Mini is now capable of running dual monitors. This, to me, is huge. It’s a machine that comes in a decent price that developers are used to, while allowing us to keep our dignity and use our own monitors. A few months ago, I bought a triplehead2go, and I ran 3 20 inch monitors. Then I got greedy, and decided to step it up to 2 26" screens (the LG W2600 to be exact)....

USING THE FILTER QUERY IN SOLR (FQ)

Filter queries are applied to a result set after it has generated the search results. This can be useful in cases where you want to filter by category or user. In my use case, I’d like to filter a list of questions by a group of categories on Answerbag. This is used primarily for partner sites who’ve opted into our white label cobrand system and have selected a list of categories to...

'SETTING UP A SOLR INDEX '

Setting up a solr index isn’t that hard, but I found the documentation to be somewhat hard to find. It only took me a few hours from start to finish to go from download to indexing my documents, but I think it could have happened a lot faster if I had some of the below information. I’m assuming you’ve already downloaded solr and you’re now looking at a directory with a...

'FOUND CODE: REPLACING RUNS OF COMMAS'

I found this gem today. $special = str_replace(",,,,",",",$special); $special = str_replace(",,,",",",$special); $special = str_replace(",,",",",$special); Pretty sweet.

USING MOD_REWRITE WITH VIRTUALDOCUMENTROOT

In our dev environment, we use VirtualDocumentRoot to avoid configuring new environments when we get a new developer. It’s awesome. However, if you try to use mod_rewrite, you’ll find that your rewrite rules will prepend whatever you have defined as the document root in the config file. To get around this, you have to use the PT (passthrough) flag, which will solve the issue. Example:...

'MYSQL: INNODB MEMORY USAGE FORMULA'

I hate looking for this…. This will give you a rough idea of your innodb memory usage. I know it’s in a hundred spots, but i hate looking for it when i double check things. innodb_buffer_pool_size key_buffer_size max_connections*(sort_buffer_size+read_buffer_size+binlog_cache_size +2MB)

'LINUX: USE LSOF TO FIND WHICH FILES ARE OPEN BY A PROCESS'

lsof works under linux and MacOS X and will help you figure out what files are open. lsof | grep ‘mysqld’

ON COCOA...

I found this pretty amusing… me: i’m terrible w/ cocoa i don’t particularly like objective-c it’s to verbose **matt: ** [me putonSock:blueOne onFoot:rightFoot ignoringHangNail:YES]

QUICKLY CHECK EVERY PHP FILE IN YOUR PROJECT FOR ERRORS

Here’s a quickie - make sure every PHP file in your project parses correctly. find . -name ‘*.php’ -exec php -l {} ; | grep “Errors parsing”