Recent blog posts
-
Lame Apache error
I was getting this error when starting my apache server
Apache error: pcfg_openfile: unable to check htaccess file, ensure it is readable
This is due to permissions, seems all you have to do is add the execute bit to owner.
chmod 755 foldername
source: http://www.liamdelahunty.com/tips/apache_pcfg_openfile_unable_to_check_htaccess.php
-
Skype on Debian AMD64 and pulse audio
Everytime I install skype, it crashes right after the login screen. This is because by default it tries to use Pulse Audio, which I don’t use but I do have the pulse libraries available because many programs depend on it. Thus, if you don’t use pulseaudio, you can just make the pulse audio libraries unreadable, like so:
chmod a-r /usr/lib32/libpulse*
-
Kisagotami, the Mother With the Dead Child
This is an excerpt of the story of a woman whose child died and then came in contact with Dhamma in the time of Buddha (2,500 years ago). It’s inspiring that 2,500 years ago there was already progressive thinking in women’s outlook toward personal liberty.
When Mara (temptation), as he had done so often before with other nuns, came to tempt her, to distract her from meditation and asked her whether she was lusting for man now that her child was dead, she immediately replied, discerning the ruse:
“Passed is the time of my child’s death
and I have fully done with men;
I do not grieve, nor do I weep,
and I’m not afraid of you, friend.
Sensual delight in every way is dead,
for the mass of darkness is destroyed.
Defeating the soldiery of death,
I live free from every taint.
— S 5,3 -
HDMI setup using ~/.asoundrc
Update (3/11/12): I’ve made the switch to Pulseaudio audio server and using the volume manager, I can easily switch output sinks (though like for alsa, it will depend on driver support for your video card — I’m using latest fglrx driver in linux).
This .asoundrc file sets the hdmi digital audio output as the default sound output device. The sweet thing about this setup is that it uses the dmix plugin, allowing you to have multiple applications use the device at once instead of just one hogging it. Also, this will add a volume slider to your mixer (hdmi_vol). Thanks to the original person who wrote the config, Dewey Oxberger (aka Jon B), and frigginacky at ubuntu forums (see post).
Note: To find the device card & number, you can runaplay -l
~/.asoundrc file:
pcm.hdmi_formatted { type plug slave.pcm "dmix:1,3" #card 1, device 3 (may be different for you) } pcm.hdmi_complete { # add a volume slider in mixer type softvol slave.pcm hdmi_formatted control.name hdmi_volume control.card 0 } pcm.!default hdmi_complete
About me
I live in Denver, Colorado and work as a contractor for HAIKU Learning Systems, Inc., an online learning company. I did my Master's in Music Informatics at Indiana University and got a B.A. in Computer Science and Mathematics, with a minor in Music from Carroll College in Helena, Montana.