A day in the life of Sin you seriously read this?

1Mar/100

WILT – 1

Starting today I'm going to start a new thing here on Sindacious.com, what I learned today, inspired by this website, which is where my first will also come from.

On a (mainly) daily basis, I'll update with something I learned today, usually about coding or server related things. (EDIT: I lied, probably on a bi-weekly {or monthly, like my posts} basis, I haven't learned anything worth sharing in the last few days.)

So, without further babble, what I learned today, how to install mercurial correctly on CentOS.

A few days back I moved all my websites from my VPS back to Extroverthost's web hosting server, during this time, I installed hg, but kept getting PYTHONPATH errors when using the hg command, which was a major annoyance. After hours of looking around, I finally came across the website I mentioned in the beginning, with the information I needed to fix my PYTHONPATH issue.

How to install on CentOS

wget http://mercurial.selenic.com/release/mercurial-1.4.3.tar.gz
tar zxf mercurial-1.4.3.tar.gz
cd mercurial-1.4.3/
make (this will show you your make options, for local install, full install, etc)
make <option>
hg debuginstall

If you get a PYTHONPATH error when using hg debuginstall, put the following in your .bashrc:


PYTHONPATH=/usr/local/lib64/python2.4/site-packages:${PYTHONPATH}
export PYTHONPATH

Learned from: http://w-i-l-t.tumblr.com/post/165104796/mercurial-install-centos-5-3

8Nov/092

and more to come

So, two posts today, one was my mod_python tutorial, and then there is this one is for some plugs. Today I figured out redmine (though it didn't take much figuring out, the new version fixed any issues I had last time I tried to install). As I said in the last post, I FINALLY installed mod_python, and have it working! Now I'm working on coding spunge over to python, slowly, still learning how to use GET variables with it (and haven't successfully yet..), but I like what I see so far. Anyway, back to redmine, It's up and running at http://zaphyous.com:3000/ currently it's only monitoring the imgMon project which will be a "new age" image board, in so many words, I'd link, but it currently doesn't have a site, but you can view the redmine project information on it here. Monie of OmegaHosts, and long time SinIRC user and staff member is leading the project, and I one of the developers. It's currently under development as of today, and will be under active development pending on Monie's schedule. Currently there is information and feature requests in this wiki article, and will possibly be moved over to the redmine since it has a feature system, and would be on the project itself, rather then an unaffiliated website.

In other news, I'm working on my own blogging software. It'll be no WordPress, but the aim is to make it easy to modify, and have an extension system (as of right now). Currently it is PHP, however now that I have mod_python going I may decide to code it in python, though I need to learn more about PHP classes, so I may put the python stuff on hold. I'll post more about that later.

I really thought I'd have more to post about, but there hasn't been enough happening since my last last post, oh, and we're under a hurricane warning, yay!

I'll post again later if I don't die.

UPDATE

Ida turned into a tropical storm which will probably do hardly anything. So I won't die.

8Nov/090

modpython and stuff

So since I've started learning python as stated in my last post, I decided I'd start playing with mod_python. I first started looking at mod_python after emailing rupa who I know as the author of ix.io, and sprunge.us (which are both python). After he recommended either mod_wsgi or mod_python, I went with mod_python after being totally confused with mod_wsgi installation, and I personally like how mod_python works vs. mod_wsgi, and for the beginning of this article, I'm just going to put a small tutorial for debian-server users who are newbies like me when it comes to apache.

1. install the packages

I personally installed the packages, if you choose to install from source more power to you, but with debian's apache install, installing mods from source is slightly confusing.

Now, assuming you're using debian's apache package, and have python2.5+ installed, use:

$ apt-get install libapache2-mod-python

2. load the module

Now, with debian's apache package, you need to use the following commands to load the mod_python module to apache:

$ cd /etc/apache2/mods-available
$ mv python.* ../mods-enabled
$ /etc/init.d/apache2 restart

3. make it work

Now, you need to cd /etc/apache2/sites-enabled/ and do the following:

/var/www

If you're using /var/www for your website(s), then use the following configuration in default (or in my case, 000-default (symlink to default in ../sites-available)):

<Directory /var/www/>
   Options Indexes FollowSymLinks MultiViews
   AllowOverride None
   Order allow,deny
   allow from all
   AddHandler mod_python .py
   PythonHandler mod_python.publisher
   PythonDebug On
</Directory>

Now, I used the next method I'm about to show, but I did this anyway, just in case. Does it matter if this is in default? I don't know for sure.

users

This is the method I'm using, which allows to enable it for certain users, in this example I made a file called james in sites-enabled and put the following in it:

DocumentRoot /home/USER/public_html/
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On

4. restart!

Now, you need to restart apache with the following command:

$ /etc/init.d/apache2 restart

5. test

Now to be sure it works, create a file, testing.py in the area you enabled it for, and put the following code in it:

def index():
   print "Hello world!"

If it works, you should view the file from your browser and see Hello world!

Well, this is the end of this tutorial, I can't guarantee it'll work, but it did for me, and I know I was a little irritated since I couldn't find any straight forward tutorials about this, so I figured I'd make my own for someone else who may be looking around, if something is wrong with my tutorial, or anyone wants to plug theirs or others, feel free to comment.

29Oct/090

Update?

It's about time I made an update, so I've put on a new skin, added a few add-ons (that aren't really seen so much as used when I want too), and eventually I'll make my edits like on the old skin, status, WhatPulse statistics, and whatever else comes to mind. What inspired the update was mainly somehow a link got put in the top right of the other skin (with an insane margin) linking to a birth protection blog, and I could find no way to get rid of it.. so I figured a change of looks had come. After searching through WordPress' website for a decent skin (which I was amazed at how unimpressed I was by some of the top skins) I came across the current skin you see now. Sexy, I know. I've decided I may actually start using this blog a little more often (though that is a weak promise) for development blabber and other hobbies I may take up soon. If anyone has ideas, I'm sure my faithful following will voice them like popular subscribers, james@sindacio.us, james@sindacious.com, admin@sinirc.net, james@zaphyous.com, and so on. They've contributed a lot to this site, thank you. Oh, and lets plug ExtrovertHost, they're the reason this and all of my stuff is on the internet.

Recently I've decided to take up python, I haven't learned too much, yet, though I want to start something (like a website) in python soon, just need to figure out mod_fcgi, apache and I don't know each other very well. Recently I've decided to learn how to use mercurial version control system (did I state that correctly?) for my repositories. First I used git, then svn, but hstuart mad mercurial seem so much better, so I decided to learn it (I worship the stuff he bakes). Currently learning more about it. Soon to release a new pastebin which is a copy of sprunge.us, but in php, rather then python (we plan on make it python in the distant future), it'll be released when I can buy the domain, currently it's in version one, we plan to add more to it that it doesn't have currently (currently supports paste, line numbers, and API for people without the curl command), more info on that in the future. pylon from additionalpylons and I started work on that pastebin, and currently (and very slowly..) working on a logging bot in python with a web interface (which uses webpy). The idea is to make it one process- you start the bot, it starts the website and logger. This has already been achieved, now we need to work on the actual logging and user authentication. We plan on making this open source, while making a website that anyone can request the bot on any network. I'll put more information about that whenever we get around to releasing, which should be in the not so distant future now that I've stopped using github and started using my own repositories, we can work a little faster. Other upcoming projects include my want to make a dnsbl, this would be open source , easy to setup, and of course, used at anyones digressions. My main want to code one is to understand how dnsbl's work, and of course, planning to code it in python, so it'll be a learning experience in many ways, this will probably also be used so I can setup a personal dnsbl for my IRC network, and for use on my websites, more on that later as well.

I recently watched G.I. Joe and Year One (today, actually). I really actually enjoyed G.I. Joe, wasn't bad at all, it's very obvious a sequel will come. I personally never saw many of the old cartoons, so I can't say I know much about the storyline, so I'm just going by what the movie alone, and it was good. Year One, not so much. The story was alright, but I didn't get much enjoyment from watching it, though it had it's funny parts, certainly not a must watch. This was also the uncensored version, and comparing watchmen uncensored and this, I don't know what is uncensored about it, really. I think the next movie I plan to watch is Gamer, it really caught my eye. For some reason I thought it was called The Game.

So during the time after I saved this this morning, I watched Gamer and District 9. Gamer was alright, it had a good plot, but it wasn't much of a watch. I enjoyed District 9 quite a bit, the ending was pretty interesting, after the plot twist with the ship I wasn't sure where things would end, but it had a semi good ending, so I was happy. I thought it was interesting you only see ONE child alien in the movie though. It is a total must watch, some were not impressed, I thought it was great. Now I think I'm out of movies I'm interested in watching.

Today we put down California.US.SinIRC.Net. R.I.P. IT WAS A GOOD SERVER. Replaced it with LA.US.SinIRC.Net, which is in the same data center. I would have named it California, though it was convenient at the time to have both linked to migrate the users over to the new server then go ahead and kill them all off by suddenly killing off California, so LA was the new name. Growing is slow, but I'm still happy.

This is where I end the post of the month. I want to plug a new blog that can be accessed from my awesome blog roll Cremastermind, a blog about stuff nobody cares about featuring reviews about stuff nobody cares about, and other things nobody cares about. I've been told that if I decide I want to submit any material it will be published, so if I do, I'll be sure to mirror it this way as well, so my whole five readers can see it.

29Aug/090

It sucked.

People read this, apparently. My last post wasn't like my usual ranting and going on, and "it sucked". So I'm never going to try what I did in my last post again. I'll go on with my usual banter.

We've finally moved into the new house, most the stuff is moved in, and the internet is back on, obviously. This house is much larger then the last house, which is great. More room to move around, and more room for the boatload of stuff we have. I might put pictures up later somewhere so readers can view my second class living arrangements. But I like it. Our landlord Mr. Wiggins is a full time musician, which I find great, being a musician myself.

So, going on. School is about to start for most people, means it's time for me to find a job. Soon the hunt will commence, hopefully I'll find something that doesn't outright suck, and something in my expertise...

I started this on the 20th and now it's the 29th, har. Nine days and nothing new, how thrilling. I've decided to get back into the forum scene, as well as Monie and I (after obtaining a web design..) are going to start working on Web Grounds, and another side project. I myself have started learning a little about git, and learning how to use github. Right now I plan to busy myself with a customizable pastebin that I'm working on (open source), will have things no other pastebin has, more to come later.

I've decided I need to start doing some work to this site, since it's looked the same since I started it, for the most part. Probably not going to change the skin, can't find many decent WordPress themes that I don't have to pay for, and I can't currently make one myself. I figure with my love for WhatPulse, I'll add a stats bar on the right side bar under my status bar, which for those that don't know, shows my status on SinIRC (away, online, offline). Anyone that actually reads this can feel free to make suggestions to what I can do to make this site a little less lame.

I've decided to start learning German, finally. I've obtained Rosetta Stone with quite a few languages, and started Lesson one this morning. I loved it. Very interesting way to teach,  I recommend anyone wanting to learn a language to give Rosetta Stone a go. After German, I plan to move onto Spansh, then probably Italian, I have a handful to chose from, so I'm good to go for a while. Maybe I could become a linguist?

I can't think of a lot more to post, and I'm lacking sleep, so I'll ramble on until I'm totally out. Zuwer rick rolled me on skype last night, I've never seen this before till he rick rolled me, and  recommend everyone watch it, check this out, http://www.youtube.com/watch?v=dXO3OMGKPpw. Tis epic.

Last weekend(?) I went to Zarnithon's, while I was at his house, I showed him a ARG, was hilarious. I'd link to it, but I can't remember the IP address where you discover most this junk. Anyway, the site is a flash site disguised as Google. Anyway, you type in the right word, and it goes full screen, turns into (what at first glance seems like) a live feed of a girl in a small white room. The scene differs when you go to watch it over and over, though whoever made all of it is a genius. Continuing, as Robert (Zarn) sees it, he looks at me and says "I was waiting for it to turn into a video of us and  I was going to start running." in so many words. I lol'd, totally hilarious. I can totally see it too. Only if it did happen, I can see him shooting back his chair, jumping out, while yelling "AHH", and running out of the room. For the reader, it's not as humorous, seeing nobody reading this probably knows him.

I'm done, for great justice.

Tagged as: , , , , , No Comments
21Jul/090

\(^o^\) FAAAAAAAABULOUS

Time for a bit of an update. During the time I've been doing things like, not updating this blog, I've been in GA staying with my father and hanging out with friends. During this time I've started using Windows 7, after managing to mess something up on my Ubuntu install.

Now that I'm using Windows, I've installed various Adobe programs so I can start designing again, which makes me very happy. Now I just have to brush up after a year of not using PhotoShop, and time to dve into flash, good thing Zarnithon learned about that in web development class.

In my last post I had stated how I was thinking about taking Zaphyous to another level, and have decided that I will one day in the distant future make it into a media company. While this will take a while, and quite a few years of schooling to learn everything I wish to know to start it, I'm willing to take the time to do it. My original idea of what I was going to do with Zaphyous before that is now going to be what Web Grounds will be, which is currently under development with no release date, more information to come on that in the future (Yes, it sounds like New Grounds, because New Grounds gave me the idea for the site). This project will officially start when I go back to Florida (Which from the time of this post is in four days). The other developer working with me (and the only other at this time) is Monie, owner of OmegaHosts and developer of MyWiFiBox and OneClickWiFi, which I'm happy to have working with me. To put it simply for now, Web Grounds is "The Web Developers playground", which will utilize a voting system similar to New Grounds, but that's enough for now.

SinIRC has been running very nice as of late. Apparently we had a max of 170 users on during some point of time in the last month, though we've had a stable 60++ users on a daily basis. With a little growth rate thanks to lolcw and diochan, and thanks to a VPS given to me by ExtrovertHost recently network staff will be able to customize our services to a larger extent thanks to the python functionality that will be added in future versions. When I return home I hope to do more on the SinIRC front as well, seeing we haven't done anything major network wise or network development wise in a while, there's a possibility I may design a new web site for it so I can get off using drupal CMS.

Anyway, while I thought I'd have more to type on about I don't, so candlejack stole my b