Archive for February, 2008

POSIX C++ documentation on linux

Posted in Development, Tips on February 25th, 2008 by Nayruden – 2 Comments

Here’s an interesting tidbit for linux developers: If you want documentation to most C++ functions, run the following command.

sudo apt-get install gcc-doc manpages-dev manpages-posix-dev

Now, try running “info printf” or “info pthread_create” in your console. Pretty neat!

10 days in linux

Posted in Tips on February 9th, 2008 by Nayruden – 4 Comments

I’m finally able to use Kubuntu for an extended time! I told myself that I’d stay for as long as I could if linux started supporting my dual screen display (I spent hours previously with little to no luck on getting dual screen to work) and supported GMod above 800×600 resolution. It now does both! I have now used Kubuntu without booting into Windows once for 10 days. In order to share my joy with whoever may read this blog entry, I’ll share some tips I learned along my travels. :)

  1. Always use envy to install your drivers. For whatever reason, the default restricted installer doesn’t install a very good driver.
  2. Use “sudo apt-get build-dep wine” to get the dependencies for building wine. I like to compile wine from scratch, so this has come in handy.
  3. Use “uname -a” to get your current kernel version
  4. Did you display configuration go bonkers and now you can’t do anything? Use “dpkg-reconfigure -phigh xserver-xorg” to reset the config.
  5. Do you get a black screen on startup? Install package “startupmanager”, run it under sudo, change the resolution to something lower. You probably also want to enable text display in there,  comes in handy.

Last, not included on the list because it’s pretty random, you can output to sound using /dev/dsp. Ex, file > /dev/dsp will “play” a file through your soundcard. Pointless but cool.

*Sigh*

Posted in Personal on February 6th, 2008 by Nayruden – 1 Comment

Ever feel like you’re being crushed by everything that needs to be done? I procrastinate, my tasks stack up, I procrastinate even more because just thinking about everything I should be doing makes me nauseous. In the end, I get things done only moments before they’re due and with half the effort I was hoping to put into them. It’s as if I make time my personal idol, craving more of it but always burning it away faster than I can receive it; “I don’t have enough time,” becomes not only a top excuse but a way of life, eating away my identity more and more.

If only I had more time.


Nayruden's /dev/random is Digg proof thanks to caching by WP Super Cache