- Home
- About
- Conversations
- Tips
- Amazon MP3: DRM-free music
- iTunes Plus tips!
- Ogg in iTunes
- Show hidden files (.htaccess) in OS X
- Convert FLAC to MP3, WAV, or AIFF to play in iTunes on Mac OS X
- Convert WMA to MP3
- Swap left Alt and Ctrl keys in Windows
- Boot Camp: Delete, Right-Click, Middle-Click
- Creating nice aliases
- CSS generated content special characters
- Default Application in OS X
- Enso (Windows Quicksilver)
- Import Gmail contacts to Mail
- Install RAM: MacBook Pro
- iPhoto: Deleting aliased pictures
- Using Keyboards with Your Mac + the Microsoft Natural 4000
- Aurora - iTunes Alarm Clock
- Delete keys on Macs
- Projects
- Boost and XCode
- Code
- Contact
- create content
Portable PHP code: DIRECTORY_SEPARATOR is not necessary
Submitted by alanhogan on January 6, 2008 - 5:48pm. Tip | Code | PHP | cross-platform | linux | Mac | Programming | Unix | WindowsIn attempting to write cross-platform, portable PHP code, I used PHP's DIRECTORY_SEPARATOR constant to write path strings, e.g. "..".DIRECTORY_SEPARATOR."foo", because the "proper" way to do it on Windows would be "..\foo" while on everything else (Linux, UNIX, Mac OS X) it would be "../foo".
Well, as Christian on php.net pointed out and the guys at Web Design Forums confirmed, that's completely unnecessary. As long as you use the forward slash, "/", you'll be OK. Windows doesn't mind it, and it's best for *nix operating systems.
MacBook (Pro) Touchpads: A Joy to Use. (a/k/a Scrolling TrackPad)
Submitted by alanhogan on January 4, 2008 - 1:28pm. Tip | Apple | laptops | Mac | MacBook Pro | mice | notebooks | osxApple's "Scrolling TrackPads," found in the MacBook and MacBook Pro, are flawless.
Some who have used HP or Dell touchpads may find this hard to believe. Here I respond to common questions and discuss what I love about Apple's touchpads.
» read more | 4 comments
Convert .WMA Audio to MP3, WAV, etc. for iTunes on Mac OS X (for free) with Switch
Submitted by alanhogan on December 16, 2007 - 7:02pm. Tip | Apple | iTunes | mp3 | music | OS X | WMAQuick tip: Convert your .wma files (Windows media audio) to .mp3 files
on your Mac quickly and easily with Switch, a free download from http://www.nch.com.au/switch/plus.html. It works great and is very customizable; you can output to MP3 in whatever bitrate you choose, or convert to AIFF (.aif), .au, Ogg Vorbis (.ogg), Free Lossless Audio Codec (.flac), or many others.
Site redesign imminent
Submitted by alanhogan on December 12, 2007 - 6:11pm. Conversation | Web Design | Web DevelopmentI just wanted to say that, as of December 2007, I am beginning in earnest the process of giving this site the rehaul it so badly needs. The content here is only a part of what I offer online, and soon, my homepage will provide access to much more.
I know most of you visitors come here from Googling specific problems, which is great, but I'd also like to easily answer your question, “Who are you? What does your site have for me?” To do that, I am going to have a clean and simple home page which categorizes all my content so you can quickly and easily see what may interest you, and I will add a navigation ribbon at the very top of all my content providing quick access to those categories.
The majority of important updates to AlanHogan.com should arrive by January 8, 2008.
When I finish the important site restructuring, I will get back to work on that sexy little project I call Darkboom – work which is also very much overdue. But hey, I’ve been hard at work in school.
Including the Boost C++ library in XCode
Submitted by alanhogan on November 27, 2007 - 11:08pm. Conversation | Boost | C++ | Code | OS X | Programming | XCodeFor those of you Mac OS X programmers trying to use the Boost C++ library who are confused with all this #include and #include-path nonsense and can't get your program to compile, I have finally figured it out.
Enso: Quicksilver for Windows? (An application launcher and more)
Submitted by alanhogan on November 26, 2007 - 6:59pm. Conversation | Mac | OS X | quicksilver | Windows | Windows Vista | Windows XPMost Mac users seem to know and love Quicksilver, that wonderful little application launcher from Blacktree (and much more, as LifeHacker often points out).
Those of you stuck in the Windows world (or at least sometimes) may finally have an alternative: Enso. The makers of Enso put a lot of thought into their product (and say it's not just a rip-off of Quicksilver). However, Enso, unlike Quicksilver, is not free; it will run you $19.95 after your 30-day trial. You can download Enso here.
Microsoft now pushing IE7 to all XP users
Submitted by alanhogan on November 16, 2007 - 7:32am. Conversation | Web Design | Browsers | CSS | Internet Explorer | Microsoft | PNG | Windows XPGood news for web developers!
Microsoft is now pushing IE7 to all Windows XP users as a high-priority, automatically-delivered (if Automatic Update in Windows XP is on) update. Strangely, they say, "Distribution of Internet Explorer 7 by Automatic Updates will take several months to complete." I am not quite sure what that even means.
More information is available from Microsoft. Previously, you needed to go through the often-rocky Windows Validation program, or whatever, to upgrade to IE7. (Microsoft's site says that "all Windows users" can now upgrade, but in fact they only mean Windows XP SP2 and Server 2003 users. XP SP1, 98, 2000, and Me are still left out in the cold.)
This is important to me because if this move cuts deep enough into MSIE 6's market share (50% currently), we will not have to design our websites for IE 6, the lowest common denominator (and dominator) in the browser world. Hello, real CSS and PNG! (The timing is odd because just last weekend, I wrote a project to turn PNGs into transparency-dithered GIFs using only server-side code. No JavaScript, and it works for CSS backgrounds.)
Convert FLAC to High-Quality MP3 (or WAV, or AIFF) for iTunes (OS X)
Submitted by alanhogan on November 11, 2007 - 7:57pm. Tip | Apple | audio | FLAC | mp3 | music | OS XSomething that has bothered me for a very long time is my inability to play FLAC audio files on my Mac. (FLAC stands for Free Lossless Audio Codec and does not play in iTunes.) Well, I’ve finally gotten it figured out. Just follow these simple steps.
- Download xACT, which converts from FLAC to WAV or AIFF, and iLAS, which is an extremely high-quality MP3 encoder, better than iTunes’s built-in one. Install both of them.
- Open your FLAC files in xACT. Convert them to either WAV or AIFF; it doesn’t matter which.
- Import your finished WAV or AIFF files into iTunes (I usually just drag them onto
Library
on the left). If you want completely lossless files, you are done! - Most of us will want to save space (and enjoy playback with less of a system resource hit!), so create a playlist with any and all WAV and AIFF files you want to convert to MP3.
- When you are viewing that playlist, open iLAS and convert to MP3! I use the default settings, which produce extremely high quality MP3s, almost losslessly.
- Almost done! Now delete the WAV/AIFF files from your iTunes library and move them to the Trash. Manually edit the information on the songs, because unfortunately, WAV and AIFF do not support the ID3 tags that MP3 files have to store information about song title, artist, and album.
Also of note is that iLAS is great for ripping CDs. Instead of making a playlist, just click on the Audio CD and rip away!
Finally, I have joined Technorati, just so I can read Tantek’s blog. Technorati Profile
Comments Warning
As do many people using Drupal to power their website, I get a lot of comment spam, and Drupal's spam filter often deletes legitimate, non-spam comments. For this reason, if your comment is important, consider using my contact form instead of, or in addition to, posting a comment! Sorry and thanks for understanding. (I hope to be up and running with another system, spam-free, by January 8, 2008.)



