Gnome Documentation – A second chance

Perhaps not all is lost. This walkthrough/reference appears to be a more interesting (official) take on how to program Gnome GTK+.

http://developer.gnome.org/gtk3/stable/gtk-getting-started.html

Posted in Uncategorized | Tagged | Leave a comment

Qt Documentation

Gnome documentation needs to be more like Qt’s.

http://developer.qt.nokia.com/doc/qt-4.8/qsettings.html

The ball’s in Gnome’s court now. They really need to step up their game.

Thank you for the kind commenter on the last post for pointing this out.

Posted in Uncategorized | Leave a comment

Gnome Documentation

Why does developer documentation have to be SO boring. I mean, I realize as a computer programmer I should totally be loving this stuff like its the most interesting thing in the world, but as much as I lie to myself like that, I just can’t bring myself to believe it. Its horrible. Its bland. Its dry. Sometimes I think perhaps its the formatting. I, for example, don’t mind reading the Java 7 API when programming in Java.

Maybe I just wasn’t cut for this stuff. Who knows?

Posted in Uncategorized | 2 Comments

Valadate git repository

The Valadate repository is actually on Yorba’s website. Which if you check shows that the project is far from dead like the gitorious project page would have you believe.

Valadate can be found here:
http://git.yorba.org/cgit.cgi/valadate/

Posted in Uncategorized | Leave a comment

HowTo: Use a config.vapi file with CMake

If you want to use a config.vapi file with your Vala project here are the basics.

  1. Setup your CMake files in your project. I use these.
  2. In your main CMakeLists.txt file you’ll need to add:
    OPTIONS
    --vapidir=${CMAKE_SOURCE_DIR}/vapi
  3. Finally, you’ll need to, of course, create a vapi directory.

Sadly, during my first adventure in the Vala world it took me quite a while to figure that out. The kind of thing that makes you feel retarded.

Posted in Uncategorized | Leave a comment

Compiling Falcon PL on Fedora 16

I don’t contribute code on a regular basis. I admit it, I’m a crappy developer. Also, I prefer not to lie, my C++ skills are lacking at best most days. Given that, though, here’s how you can setup, build, and install the Falcon programming language from Git on Fedora 16.

First setup a clone of the falcon git repository
mkdir falcon
git clone http://git.falconpl.org/falcon.git

Install the neccessary pre-reqs
yum -y install gcc-c++ pcre-devel sqlite-devel curl-devel openssl-devel mysql-devel postgresql-devel doxygen

Granted the following packages from above are technically not “have-to-haves” but I take them all because I’m special:

  • sqlite-devel
  • curl-devel
  • openssl-devel
  • mysql-devel
  • postgresql-devel
  • doxygen

Make it so
mkdir build
cd build
cmake ..
su
make install

Finally, so Falcon will actually run, you’ll need to add /usr/local/lib to your /etc/ld.so.conf file.

Update:
Thanks to the Falcon PL mailing list for help with that last part.

Posted in Uncategorized | Leave a comment

PostgreSQL Setup – Fedora 16

First install everything we’ll need.

su
yum install postgresql postgresql-server
initdb -D /var/lib/pgsql/data/
pg_ctl -D /var/lib/pgsql/data -l logfile start

And that should do it. It’s really that easy. You can also run this

ps -eZ | grep postgres

and that will show all the running postgres processes running. After that you can do awesome things like create databases

createdb new_database

Good luck!

Posted in Uncategorized | Leave a comment

Happy New Year!

Happy new year! Enjoy the penguins!

Posted in Uncategorized | Leave a comment

Me.com (iCloud) Mail Setting for Linux

It took me a little bit to figure this out and I couldn’t seem to find it anywhere else on the net, but if you want to check your Apple mail using a Linux mail client here are the settings I used.

Receiving Mail
Server Type: IMAP
Server: p06-imap.mail.me.com
Port: 993
Secure Connection: SSL encryption

Sending Mail
Server Type: SMTP
Server: p06-smtp.mail.me.com
Secure Connection:
Port:

The sending mail section is partially blank because I haven’t figured it out yet. If anyone has the missing fields let me know.

Posted in Uncategorized | Leave a comment

475 Post

WordPress appears to have given a gold star because my previous post was my 475th? Why does WordPress care? Do this really mean anything? Is there a page somewhere where I get to see my stars?

Stupid wordpress.

Posted in Uncategorized | Leave a comment