Hi! Welcome...

I\'m Ryan Gibbons, I rummage throughout the internet as Insanity5902, and I love technology. I am a Jack of all Trades, master of none—but I\'m damn good at most.

14 December 2009 ~ 0 Comments

Stackoverflow and Family

I’ve had an account on Stackoverflow.com for almost a year, but haven’t done much with it. Last night I set up my account on both Superuser.com and Serverfault.com and went through and answered a few questions. I got to admit, this is pretty cool. I enjoy helping out where I can, I’ve done it on the Gentoo Forums for years. This is cool because the questions are a bit more broad :) .

If you are a geek, and you haven’t spent the time to check this out yet. I highly suggest you do. And I don’t mean just using it for answers (because it is great for that). Go through and see if you can help out with any. The first few responses I was a bit nervous about. But once you get past it, it isn’t too bad.

10 December 2009 ~ 0 Comments

MySQL Backup with UTF-8 Data

I’ve never given character sets and encoding much time. I half way understand how it works, which for me is unusual. I normally have to understand things at a level that lets me talk to the subject fairly well. And sadly, this one I don’t. I don’t have the time or energy to really dive into it right now, but it is on my list. I will talk briefly about what I have found in the last 24 hours about this.

MySQL allows you set to set the character-set and collation to utf-8. To my understanding this will allow you to store UTF-8 data in your database. This makes it really nice when you have users copying and pasting data into your CMS. It will store the special double-quotes, trademark symbols, and pretty much anything else you can throw at it. No big deal to backup up, right? Well I did an export within PHPMyAdmin and using the mysqldump utility. Neither one worked, and I was pissed. And actually so was the client because I didn’t catch it before we launched the site. So last night I was frantically searching Google as fast as I could (notice I wasn’t searching the web, I was searching Google – that should make an interesting blog post for another time). And I eventually found my answer. It had to do with the mediums inbetween the export and import to support utf-8 characters – Great.

So without having to use a 3rd party app, or write some code, I was able to figure out how to do it with myqldump. Instead of using the greater than symbol to redirect the output into a file, mysqldump has a switch -r to use to redirect output into a file. They say to use it on Windows machines, so I kind of felt dirty for using in the linux command line :/ But I did, and guess what, an import using virtualmin on the production server and everything worked, the data came across cleanly.

From the brief reading that I did, using the power of output redirection at the unix command line can break UTF-8 encoding. I guess it kind of makes sense if the server or terminal you are using doesn’t support it. But it isn’t something I would really think about.

Just for those wondering what I ended up doing. I normally do a mysqldump like

mysqldump -u user_name -p database_name > mydump.sql

This time around, i just had to change it to

mysqldump -u user_name -p database_name -r mydump.sql

So simple I could throw up.

Tags: , ,

12 October 2009 ~ 0 Comments

Delicious Bookmarklets for Google Chrome (or any browser)

I’ve found myself using Chrome more and more has the days go by. It starts up faster the firefox, tabs open faster, and the pages open just as quick, if not quicker. There isn’t much to dislike about Chrome, even flash plays well. I still keep firefox around for several things, web development, certain stubborn websites, and delicious.

I have seen the postings on Delicious Bookmarklets before, but I thought they where cheesy and not really want I wanted. Well I finally broke down and read about them while I was waiting on a call from a client. And low and behold, they are actually pretty nice. I now have two links for Delicious in my bookmark bar. One is to add a tag to delicious and the other is to view my Home, which is a feed of your links.

The only thing it is truly missing is a way to pull in your bookmarks. But I think this is a good thing. It will keep me from using Delicious as my internal bookmark tool, it will move it more towards what it is, and a socializing bookmark tool. Links that are specific to this machine I’m on, or links that aren’t important for me to remember elsewhere will go there. They will be true bookmarks, while my Delicious links are will become more of a socializing way to share links with friends and family. Things I will want to pull up elsewhere, not my payroll company or a link to the google chrome release blog :)

Just thought I would give my two cents on the matter and an initial endorsement on the whole Bookmarklets thing.

28 September 2009 ~ 0 Comments

CodeWorks 2009 – Dallas, TX

I was lucky enough to make it out to the CodeWorks 2009 Conference that stop be in Dallas this weekend. This was my first programming conference to go to, and I had a blast. You can view the schedule of talks that I attended. I didn’t make it out to the Saturday talks, but I did attend all day Sunday. Got there a little before 09:00 and didn’t leave until around 18:00 (6:0o pm). The talks where good, and the attendance was pretty nice. A bit more then I actually thought would show up. The staff was very friendly and the facility was nice.

I don’t know if I had a favorite talk. The XDebug was pretty informative as I have never used it before, and always wanted that level of debugging. The PECL talk was also very interesting, it was a lot less formal then the others. It was part open forum , part talking about some of the lesser known extensions under PECL. I am glad I attended this one as it really pointed out some cool extensions that could really save some time developing. I also really want to check out the cario one as it looks like you could make some really nice charts and graphs with this. Also the Design Patterns talk was interesting. I knew of Design Patterns, but never really saw the use to take the time to learn about them. Well, after attending the talk, I am going to force myself to read more about them now. The speaker,  Cal Evans, suggested the book, and it sounds like the de facto standard, Design Patterns: Elements of Reusable Object-Oriented Software.

The lunch was great, provided by the Dolce. Afterwards Microsoft provided an open bar with some hot hors d’œuvre. I couldn’t pass up the opportunity and had an ice cold Shiner Bock and some chicken on a stick. It was a great way to end the day.

12 September 2009 ~ 0 Comments

Small Updates

I’m trying not ignore my blog, while there is plenty to talk about, I just can’t find nothing to provide a unique view of. I guess the purpose of this is to just put it out there anyways. Maybe one day I will :0

As for now, I am playing a bit with WordPress. I’ve started to use tags, and added the (in)famous tag cloud. I’ve update the tags on the last ten posts or so. I’m also working on a few other pages, and possibly adding a few widgets.

04 August 2009 ~ 0 Comments

Helping out in Open Source

I’ve been using linux since around 2000, and I’ve been using it has my only operating system since 2003. Since that time my knowledge of programming, systems and open source community has grown immensely. I’ve always tried to help others on the Gentoo forums when I have a chance, and provide feedback where I can for the developers.

Fast forward a few years, and now I am finding myself provide the patches and helping with some minor development. It is crazy , but how such a small task, can really make you feel good. When you find that patch, that bug, or provide a feature that wasn’t already there.

I think that is what drives a lot of people with Open Source. It isn’t that the software is free, and some it isn’t even the principles behind it, it is simply the enjoyment of working on something and helping out towards something that is bigger then you.

Tags: ,

08 July 2009 ~ 0 Comments

Google Chrome OS

I know I am not the first to write about it, but wow. I think everyone suspected they where going this direction, but now that it is actually here, it is pretty cool. Some people are meeting it with skeptism, some are happy. I am excited for the changes that they will bring. They have a huge pool of talented developers, and the OS will be open source.

While it is hard to trust google, and what they are monitoring while you would be using their OS, I welcome the change. The OS market is was developed when there was no internet , at least not how we know it today. Think of the Palm’s Pre and how superior it is over the iPhone b/c Palm centering the OS around the web. Andriod has a lot of the same feature. And now the Operating System. We no longer use one machine to manage our data. Hell, I use two machines just at work. No including the data and process that I work on in a server.

You can read more at Google Official Blog Post.

I can’t wait to play with it.

Tags: , , ,

03 July 2009 ~ 0 Comments

Quick 5 minute task – yet no time for it

I started a new Job at the first of the year, and it was about that time, my blog post stopped. I’ve just been to busy. Yeah I could write about random things going on, but that takes time. Some might say , oh it only takes 5, maybe 10, minutes to write a blog post. But that isn’t accurate, because I would of spent 5 minutes before, thinking about writing it, which would interfere with my current task. Then I would have to pick back up where I left off. which would be another 5 – 10 minutes. So for that 5 minute blog post, I could of potentially wasted nearly 30 minutes of my day.

This same philosophy can be applied to just about anything. Those few 5 minute task can kill hours of your day if you aren’t careful. These task are inevitable, but they need to be manage better, instead of just ignored. One of these task is time entry, sure it take 5 or 10 minutes at the end of the day to enter in your task. But there was the 10 minutes spent throughout the day jotting down notes. Then you’ve got to remember to stop what you are doing, and put them into a system. Sure you can do this at the end of the week, and it can save you a bit of time.

Grouping things together and knocking them out in a large chunk is , almost safe to say, always faster then breaking the same process into task completed at individual times. What is killer, is at work, it is easy to be in a few meetings in the morning, entering time from the day before, and then for those that try to keep a bog updated, or needs a fix from news sources on the internet. It is easy to kill an entire morning with out being productive what-so-ever.

My mornings consist of getting in and updating time, check up on latest and greats Tech related news feeds (and only tech, not even getting into regional, country, or global news) Goto a general 30 minutes office meeting, get out, get coffee, site down and go through a few e-mails, then hope into another project focused meeting, that last anywhere from 30 minutes to an hour. ( Even though it was scheduled as a 15 min quick update :/ see rant above ). Get out, get more coffee, get updated on e-mails again, put out one or two fires … and now strangely it is 11 o’clock and I am thinking about what I want for lunch. And I haven’t even put together a todo list for my laundry list of things to do for the day. I just have the list assigned to me from those meetings, which are just the most visible things to the powers-that-be.

I know, the problem here is not unique to just me, or hell even our company. Meetings can kill any and all productivity, and they can get out of control. Some managers feels they help because they have a sense of being on top of everything. But isn’t that was project / task management utilities are for. Isn’t that why they are use MS Project, our monthly-subscription to basecamp, and quickbase … Yes, three utilities to manage one project …. another rant for another day.

I know this is turning into a rant, I don’t want that. Just want to bring clarity to issues surrounding ’5 minute tasks’, while trying to get my blog moving again. As developers, technical resources, and the sort, we need to figure out what we can do to help our managers for this. While it isn’t our job to tell them what to do, we do, have to manage them in a sense. If not, these meetings and task get out of hand very quickly.

18 February 2009 ~ 2 Comments

NFS and Subversion, it can work!

There are a lot of blogs and articles out there about SVN and NFS. You can search google and easily find a lot of information about them. But I never found anybody that felt like they found a definitive answer.

In my case I kept getting an error about not being able to find and available lock, the error looks something like svn: Can't get exclusive lock on file '/repo/db/write-lock': No locks available It turns out it is actually pretty easy to fix. And for those that don’t want to read further, all you have to do is add the nolock option to your nfs mount. My fstab entry now looks like this192.168.1.154:/volume1/svn /media/svn nfs rw,nfsvers=3,nolock 0 0. That’s all I use, and now my svn is working over nfs, safely I might add.

For those looking for a bit more explanation (which is what I couldn’t find). SVN dev’s prefer you not to use the Berkeley DB over NFS. So make sure you are running a new enough SVN so it uses the FSFS backend not the BDB. The next, it is my understanding that SVN uses file locks to protect the files during checkout and checkin, to prevent them from being over written. NFS uses NLM locking and it is used so that all clients of that nfs export no about the file lock. Apparently subversion is compatible with this locking mechanism. Adding the nolock option to the mount point as the client uses a more basic locking mechanism that only provides protection only form programs running on that machine.

What does all this mean, it means I am able to mount my svn share on a nfs export, but only that one machine can really access this export to guarantee consistency in our repository. You do lose some of the benefits of it being over an NFS share, you couldn’t do any type of load balancing over multiple SVN frontend servers, but it does allow our NAS to hold our repository and puts me one step closer to consolidating our storage.

While I didn’t provide a new answer, I am providing the reasoning behind the answer as I can see it. Something I couldn’t find out there on the Internet.

Tags: , , ,

19 January 2009 ~ 0 Comments

Blogging Software

I’m really torn about what to use for my blogging software. I’ve gone through many different ones, and ended up on b2evo. I like, I really do, but it is falling behind times, themes are not being developed for it, and I don’t really have the time to write the things I want for it.

At the time I picked b2evo, there were some fundamental things I didn’t like with WordPress. But those things have changed, and I am really thinking about moving to it. Which sucks, but I’ve started to use my blog, and I have a good handful of blog post I really don’t want to use. There are some conversion utilities out there, but I’ve read mixed things about it. I don’t care too much about the links, I just want the thing to work.

So no point really to do this post, just thinking out loud.

Tags: , ,