#68: Modding Rome: Total War descr_regions.txt has no effect
Solved!
After making some changes to descr_region.txt in the $RTW/world/maps/campaign/base directory, I started a new Imperial Campaign to see my changes. I did not see any of my changes reflected in the new campaign.
#67: Unknown password when importing a client certificate in Firefox
Solved!
When installing a StartCom client certificate for Firefox, a box pops up with "Please enter the password that was used to encrypt this certificate backup". I tried my root password, admin password, a blank password, and Firefox Master Password to no effect...
#66: Get Apache to recognize .htaccess files
Solved!
By default, Apache doesn't pay attention to .htaccess files.
#65: Default password for X509Anchors on OS X Leopard
Solved!
The System keychain X509Anchors (in /System/Library/Keychains) is locked by a password. This password is not the system-level administrator password. I need to unlock it.
#64: facebook feed update complains about img objects
Solved!
When posting an update to Facebook through their API, were occasionally getting
Application response error
img objects must have valid 'src' and 'href' attributes. You can see this because you are one of the developers of the app.
#63: upgrading to Rails 2.3 yields ArgumentError for dynamic finders
Solved!
Doing something like Post.find_by_title('something') yields something like:
ArgumentError in WelcomeController#index
wrong number of arguments (2 for 1)
Application Trace | Framework Trace | Full Trace
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3...
#62: Share SSHFS via Samba
Fuse doesn't allow other users to access mounted directories, in order to get it working with samba and the security=user model you need to pass 'allow_other' to the call of sshfs:
mount -t smbfs -o username=<user>,password=<passwd> //<server...
#61: MacBook Pro network access slow on battery in 10.5.8
Solved!
After upgrading to Mac OS X 10.5.8 on the MacBook Pro 15 in (early 2008), my wireless network speed plunges when on battery power, compared with adapter power. Ping to the nearest network router on AirPort Extreme should be ~1ms (and is when on adapter power...
#59: getFatBlock error when upgrading Seagate Barracuda 7200.11 firmware
Solved!
When trying to upgrade firmware on a Seagate Barracuda 7400.11 from version SD15 to SD1A, the FreeDOS boot CD reports a number of " error reading partition table drive 01 sector 0 " errors. This is followed by " get Fatblock failed:0x000000e8 " or some variant...
#58: reverting a single svn revision
Solved!
How have I gone this long without know how to do this...
#57: Access raw pixel data from iPhone movies
I have the new iPhone and want to build an app with it for computer vision research. Ideally, we could process video in real time. This is not possible within the confines of the SDK. Next goal is to be able to at least process a video on the iPhone after it...
#56: Passenger can't find a shared module in Rails
Solved!
I recently put some shared code from a Rails app into a module in app/models/shared/sweepers_module.rb. The module itself was called Shared::Sweepers. I included it in some sweeper classes, and everything worked fine in Mongrel. In Passenger, though, I got...
#55: accessing locals hash within an ActionView partial
Solved!
How do you access the hash of locals you pass into a partial from within that partial?
#54: mac is stuck? what's ctrl-alt-del??
Solved!
stupid mac just locked up. i'm a PC guy looking for ctrl-alt-del
#53: slicing rexml collections
Solved!
REXML is dumb and doesn't implement normal Ruby enumerable slicing with ranges.
#52: My computer is slow! Firefox is a CPU/resource hog!
I'm on OS X 10.5 running FF 3
#51: Broken shell command substitution in crontab
Solved!
In a cronjob, I want to execute a date sub-command and substitute the results in place into the overall shell command. Something like:
1 5 * * * bash -c 'cp /foo/bar /foo/bar.$(date +%Y%m%d).sql'
Unfortunately, this breaks with an error at runtime:
/bin...
#50: MySQL suddenly stops working: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I had to reboot my Mac (OS 10.5, Intel MBP). After that, MySQL wouldn't start back up, giving me:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
when trying to call mysql on the command line.
Calling mysql...
#49: Subversion 1.6.2 explodes on first network access
Solved!
After compiling Subversion 1.6.2 from source on OS X 10.5 Leopard, the compilation is apparently successful, but svn dies when it tries to connect to the network for the first time. Crash log reports that symbols are missing from libneon.dylib.
Crash report...