A recent mysql update from portage requires this to get it back up and running:
mysql_upgrade -p
/etc/init.d/mysql restart
A recent mysql update from portage requires this to get it back up and running:
mysql_upgrade -p
/etc/init.d/mysql restart
The article is on the wiki, check it out if you have a minute and see what you think.
I love the flexibilty that git provides, and the way it fits into distributed development. That’s the only reason I’ve been able to tolerate the hackery that is known as msysgit, the “official” Git release for Windows.
msysgit basically dumps an entire linux distribution on your Windows box when you install – ported versions of perl, vim, bash, it’s all there, just to wipe msysgit’s butt. What a mess. Imagine if every port was done this way. But we’re stuck with it for now, so let’s get it working. Which. Isn’t. Easy. Especially when it comes to setting up an editor for commit messages when using a batch file script.
There are alternatives. You can right-click on a folder and run a “Git Bash” from that location, which is hacked together to work well enough. VIM will kick in to let you edit your commit messages. And there are writeups on getting Windows Powershell to get along with msysgit. But I want to use git from simple Windows batch files.
To do so, I had to do the following:
#!/bin/sh
"C:/Michae~1/System~1/npp/notepad++.exe" -multiInst "$*"
set EDITOR=C:/short/npp.bat
git commit -a
git config --global core.editor C:/short/npp.bat
Without ALL of these steps, it just won’t work.
Ampache is basically a webservice that will remotely serve up the media on your mediacenter. This is a fundamental component of my long-term plans for world domination (or rather world subterfugation). You can play your music (yes, ALL of your music) through a browser once you have ampache set up. It’s a typical LAMP setup and takes about 10 seconds if you’re familiar with LAMP.
The “nice” linux client is supposed to be Amarok. Now, I am grateful that a nice client exists. And Ampache is the best thing since the best thing since sliced bread. But when developers don’t follow the Good Rules and intentionally create difficult installation situations for everyone, it really pisses me off. Here’s a quick cheatsheet to get you (me) through the bullshit:
# Comment out this line so that mysql allows connections other than from localhost (ie so you can connect from your LAN).
# I DO NOT appreciate having to do this and you should make sure you follow up with solid firewall rules.
# But Amarok wants direct access to your LAN's db server, so there you have it.
#bind-address = 127.0.0.1
Spamassassin had a bug with rule handling on 2010 dates, assigning 3 spam points for valid email dates erroneously marked as “grossly old”. I bumped up the whole server (gentoo makes it soooo easy), but mysql whined that my gcc was too old. A little investigating, and it turns out you have to run [gcc-config] to tell gentoo to start using the newer version.