Due to the recent complete failure of my server, I’ve decided to plot of some of the purchases I need to make in order to secure my storage space a little more (and to make my server able to take over the world a little bit more, thereby helping along my plans for world domination). Amaretto, the name of my server, hasn’t had a proper upgrade in quite a while, and is in need of some new parts in order to ensure its well-being.
Due to the massive costs associated with building a server, I’ve built the server in small pieces rather than just dropping all the money at once. The system started off as a 500GB hard drive and a $15 case. I slowly added more hard drives (3 more), then upgraded the case twice (first to a Cosmos 1000, and then to a Norco RPC-4020) to deal with my expanding storage needs. Now, my motherboard has hit its limit in terms of SATA drive slots, so it’s time to start looking at larger hard drives and a RAID card.
On the recommendation of a number of trustworthy sources, I decided to go for a 3Ware RAID card which will handle an additional 4 drives and will get me properly started on my new RAID. The choice if hard drives is still up for grabs, though.
Because I will be using the drives in a hardware RAID, I will be buying RAID edition drives, which cost significantly more. Although I would normally go for a Seagate drive, they currently offer the worst warranty on all drives: a measley 3 years. On top of that, they are also the second-most expensive. Instead, I’m leaning towards the Samsung F1 RAID drive. Not only is it the cheapest, but it also has a whopping 7 year warranty. The user reviews were also promising and nobody had any serious problems with them.
All of that will set me back about a grand, so it will have to wait until I have paychecks coming in. Next purchase is a new motherboard and CPU, but I’ll talk about that another time.
For the past two years, I have been running a small personal server out of my house. Well, I guess “small” is a relative term. To be more specific, it was a Fedora 8 server with 2 terabytes of storage for my backups, music, and Subversion repositories. Along with my desktop, it was my pride and joy; everything was custom-built, the distro was actively maintained, and all of the configuration was done by a two-factor encrypted console.
Notice the use of the past tense. Was. On Monday I noticed that I was getting read errors on my drives, although I wasn’t sure which one (I had 4 drives). Although I went to bed with a (mostly) working server, I woke up to a system that wouldn’t boot up because the partition information. After fumbling with different recovery methods to try and get my data off, I came to the conclusion that I wasn’t going to get the data off; it was gone, possibly because of my recovery actions.
Needless to say, I was more than a little devastated. Although I can rerip my music, I can’t get back the Subversion repositories; those are all gone, along with all of the revisions I’ve made on projects.
Despite my demotivation, I took this as one huge learning experience. Although I had made backups of some of my work, it was still on the same drive and partition, and I should have considered them just as vulnerable as the originals. When you can’t make consistent backups on a different system, RAID your drives.
I’ve since reinstalled my server as a 1TB RAID10. Alrhough this means I have half the space to work with, it also means that I have 100% redundancy. So, if one of my drives fails like what happened to me, all I have to do is pull out the drive, put a replacement in, and the system will copy all of the data over to the new drive. The best part about all of this is that this all happens on-the-fly; no downtime, no rebooting, and no manual work except for adding the drive to the RAID configuration.
In short, if you take one thing away from this, remember to back up your stuff frequently, even if it’s just on a flash drive or external hard drive. When your original fails, you’ll thank yourself for that backup.
While taking a Computer Science degree at my university, I have the option of participating in the Co-Op program, which will help me get intern positions at firms in the Computer Science field. The positions range from performing basic technical support to working on active projects with the rest of the team at the firm. I will hopefully be starting my co-op term this September, and I’m looking forward to the plethora of new knowledge I will gain from the experience.
All in all, I applied for a whopping 17 positions. Normally, I wouldn’t have applied for so many, but this is my first co-op term, and all of the other students going into a work term this September will be in their second work term; in short, I’m at a natural disadvantage. So, in order to increase my odds of getting a job, I’ve decided to apply for a ton of jobs (all that I would find interesting, mind you), in order to (hopefully) guarantee myself a position. The one job I would kill for, however, is at a web design firm called Tipping Canoe. The firm focuses on PHP and MySQL development, which is exactly what I’m interested in. There are a number of other technologies, such as Sphinx and memcached, which would be invaluable for any large scale development I may work on. Other reasons for liking the job include the location, which only requires that I take one bus to work, and the work environment, where they offer a casual, relaxed work environment in the Exchange district and they refer to their employees as Coding Ninjas (!!!). From what I’ve heard they prefer students who have little-to-no PHP experience, but I still have a lot to learn even though I’ve covered some of the basics.
Unfortunately, I’m not in a position to be picky for which position I get. If I get the position at Tipping Canoe, I’ll be happier than <insert happiness simile here>, but I should be just as satisfied with a tech support position. Anything I get will teach me more and give me real world experience, which is what this opportunity is all about. Any job I get will help me develop my skill set, and there’s always the opportunity to apply for them another year if I don’t make the cut. What it comes down to is that I’ll be making money doing something that I love and learning more about it at the same time. It’s hard to pass up an opportunity to get paid for doing something you love.
And Tipping Canoe, if you’re reading this, I’d love an interview. Pleeeeze? Can’t help to ask, I guess…
This August I have to deal with a problem that arises every three years.
Right now, I have about two months to decide what I will do with my cell phone. Although I currently have a Sony Ericcson w600i and am quite happy with it, it’s on its last legs and I’m starting to notice things that aren’t working properly. I’m also looking forward to jumping on the smart phone revolution.
I’m currently torn with what path I should take, however. Although I never would have said this a year ago, the iPod Touch is one of the coolest pieces of technology I have ever used, and therefore the new iPhone 3GS is one of the potential phone choices. I would prefer, however, something that I could write my own programs for. Google’s HTC Dream is also a fun phone. I have tried out a friend’s phone and was very impressed by it, although I was disappointed by the performance for simple things like smooth graphics on scrolling menus – something my iPod does better. Finally, there is the default of a Blackberry, but I was never quite sold on them on any particular point.
I’m torn between the Dream and iPhone for a number of different reasons. I’ve grown very fond of the iPhone for the intuitive design, smooth look, and functionality. There’s a lot of features which I’ve gotten quite used to; even things like the on-screen keyboard I am used to and have no trouble using anymore. That being said, I can definitely think of a few applications worth making, but Apple has cornered the development market for their product by forcing all users to develop on Apple systems only.
Of course, the decision on a plan depends on what phone I get and how much data I use. Although I could get away with a cheap $30 plan, I could go for something a little more impressive and get a hefty data plan, allowing me to stay connected wherever I go. Unfortunately, it looks like Rogers doesn’t offer cheaper plans with the iPhone, so I might be hooked in for a little more than I wanted to. Although I tried to price out some plans on the internet, it was really hard to figure out what would be the cheaper option. I don’t mind spending a little more up front for an overall cheaper plan, but I might have to go in to talk with a Rogers representative to figure out what is the best option for me. As always, I welcome suggestions and recommendations from the peanut gallery (ie. you) as to what route I should take. Personal experiences with this might prove to be more beneficial than the knowledge of a Roger’s representative.
On an off-topic note, a number of you have mentioned that the background should stay put on the site to make things easier on the eyes. I’ve heard your cries of pain and agony, and am working on it. It’s not as easy as just fixing the background with CSS. But, it’s in the works.
For this installment of “Five Things“, I have decided to talk about some of the albums that are on my playlist right now that I enjoy listening to.
Mute Math – 2006
Mute Math is difficult to fit into any one genre. While they have an electronica base, they also exhibit both rock and pop stylings. Their music goes from fast-paced trace to smooth downtempo, and is guaranteed to get your head bobbing to the beat. Although this is their first main release, they have also released an EP back in 2004 entitled Reset which is a phenomenal addition to their repertoire. If good music alone doesn’t do it for you, they also have a phenomenal stage presence as demonstrated by their both their live performances and their music videos.
Queens Of The Stone Age
Era Vulgaris – 2007
Queens of the Stone Age have never fit into the mold, and their quirky music certainly shows this. Their odd style of music stands out from the crowd, but not so much that their music doesn’t go mainstream. Their guitar styling is great to listen to, even if it sometimes isn’t the most pleasing to the ears. Their rock styling with lyrics a-la-”Red Hot Chili Peppers” make this a unique band that shouldn’t be passed up.
Comfort Eagle – 2001
Cake’s music has always been something to chuckle at, and Comfort Eagle is no exception. Cake is an indie-style band with a sense of a humor and a way with words, and they enjoy using different instruments and effects in their songs. If you’re looking for some music to put on while friends are over to hang out, consider this album (and their others) for some background listening. Other notable songs on other albums include the remake of the Muppets song Mahna, Mahna, and the Frank Sinatra song Strangers in the Night.
Royal Crown Revue
Passport to Australia – 2000
Royal Crown Revue is a rockabilly swing group with a knack for getting your feet tapping. Normally I steer clear of live albums because of all the screaming in them. This album is different; there is very little applauding and cheering in it, but is instead graced with the music that you paid for. The band is one of my favorite contemporary jazz groups for their unique sound and groove, and their live album Passport To Australia reaffirms my choice. If you pick up one rockabilly album, make it this one.
Zero = One = Everything – 2007
Pronobozo is a phenomenal artist; his unique style redefines breakbeat music. After getting exposure on the internet podcast Hak5 by providing much of the music used on the show, he released his album to the masses under the Creative Commons license. The pressed version of his album is a limited quantity version, and is definitely worth picking up for a listen. This is currently my preferred album to listen to while I program; it has the perfect mix of downtempo stylings, breakbeat, and that instrumental “smoove” feel to keep you in the programming groove. What are you waiting for? Go buy this album. Now.
A few years ago, I made the switch on my laptop from Windows to Linux. If I had to summarize the experience, I’d say it’s been…well…an experience. It’s had its ups and downs as I tinkered around with more distributions than I can remember (I can think of 7, not including different architectures). I initially made the switch because the recovery disks I had burned for my Windows installation weren’t working, and I needed a suitable alternative, preferably one that wouldn’t bust the bank and would be easy to use. Linux satisfied (and in some cases, excelled) in both of these.
After much deliberation and testing, I finally decided on the Fedora distribution, which I am still with to this day. Ten days ago, they released their newest distribution, Fedora 11 (Codename Leonidas), which added a whole slew of new features. Although I only have a day or so with the new distribution, I’ve tested a lot of the new features. They are nicely separated into both Technical and Non-Technical.
20-Second Boot Time
The first problem anyone seems to have with computers is that they take too long to boot up. Fedora 11 helps a lot with this by aiming for a 20-second boot time, from the time you start your computer until the time you log in. It was about 35 seconds for me on a 3 year old laptop, but regardless, that’s a huge improvement over, say, Vista’s 2-minute boot. If 35 seconds isn’t fast enough for you, you might want to loosen up your schedule a little.
Improved Touchpad Support/Features
The one complaint I always here about touchpads on laptops is that people accidentally click on things while they’re typing, moving the position of the cursor and inadvertently typing in the middle of a previous paragraph. The newest upgrades to the touchpad drivers are amazing. You have the option of disabling the touchpad while typing, and enabling or disabling mouse clicks by tapping on the touchpad.
My personal favorite, however, it the addition of Multi-Touch scrolling. Rather than having to run your finger along the side of the touchpad, two fingers can be used to scroll. You also have the option of enabling horizontal scrolling. The best part is you don’t need a touchpad specifically designed for multi-touch; it works great on mine without any problems.
Ok, although a little technical, I’m still putting it in here because who doesn’t like smooth-looking graphics with direct acceleration? Enabled from the kernel level, direct acceleration worked right out of the box for me, which means desktop effects work without any configuration. Those who are a little more tech-savvy can obviously look into the coveted Compiz installation.
Yeah, that’s right: the ext4 filesystem is now standard on Fedora. The filesystem now supports filesystems over 1 exabyte and files up to 16 terabytes in size. If you’re going to be creating filesystems or files that large, you don’t need to read this review. There are a whole slew of improvements made over ext3, which should make for an overall more reliable experience.
The new kernel runs great for me. There’s been a lot of new features added, and far more than I can go into depth with. I have yet to have a crash yet, so that is always a good sign.
GNOME 2.26.1 and KDE 4.2.2
Those that have seen the older versions of KDE (ie. pre-4.0) I’m sure remember how “immature” it looked. I always got the impression that it was geared for pre-teens. KDE 4 changes all of that, and makes me seriously reconsider using it. Not only does it look nicer, but everything is well laid out in the menu, and the desktop widgets are integrated into the Desktop Environment. GNOME looks as regular as it always has, but makes some good strides in menu locations and the included applications.
Firefox 3.5b4 and Thunderbird 3
I have been waiting quite a while for both of these to appear in a distribution. Firefox 3.5 is great so far, and Thunderbird looks very promising as well.
Gone are the days of yonder when a Fedora installation was a 3.5GB DVD download with the inability to test it out beforehand. Fedora has reduced the size of the installation media to a staggering 690MB LiveCD, reducing bandwidth usage and and letting you try the distro out before installing. This is one of the best things Fedora has done, and I’m really glad they made the switch.
I’m so far really happy with this new release. It’s been stable and a lot of new features have been added which helps affirm my decision to stick with Fedora. If you happen to be considering making the switch from Windows, I recommend checking it out. The LiveCD allows you to try things out before installation, which will let you test the waters before plunging in to the deep end.
So, I’ve had quite a string of bad luck with technology as of late. One incident involved my personal server at home, and the other involved my website.
I spend quite a bit of time on the bus for getting around, mainly because the places I need to get to the most have pretty good service, and also because the price of gasoline is atrocious. Because I spend so much time on the bus, I want to be able to use my time to accomplish something. Although I sometimes use the time to study, I also have used the time for writing on my blog. Sometimes an event inspires writing, and I’d rather start brainstorming immediately than forget what happened.
A few days ago I happened to be writing about the great weather (sounds boring, I know – more on that later), and I wanted to upload the draft on to the blog. Unfortunately, during that process I lost all of my work. Annoyed, I started to rewrite the post, only for it to happen a second time. Those of you who are sharper than normal may have noticed the lack of a post this past Monday; that’s why.
When I got home that same day, which happened to be a scorcher of a day, my mother suggested I move my server into another room for the summer. Normally I would ignore anything my mother says about computers, but she raised a valid point about cutting down the temperature in my room. With all the gear running in my room, namely a desktop, server, network switch, TV, and home theatre system, my room is hot in the dead of winter. You can imagine how hot it gets in my west-facing room during the summer.
After finding a suitable spot in the adjacent room, I powered up my server and hooked it up to the network. When I tried to access the server after booting up, I couldn’t. A quick look at the network switch told me the network connection wasn’t working. My geek instinct kicked in, and I started trying to figure out the problem. I was worried I had damaged my server while moving it, since I plugged the network cable into my laptop and the network was working fine. I ended up making a foolish mistake with the order in which I hooked everything up. In short, my server does not use the network manager service, so if the network cable is not plugged in upon boot, it won’t connect to the network.
I guess all I can hope for is that my string of bad luck ends. So far, things seem to be going well with both the install of the new iPod Touch 3.0 firmware and Fedora 11 (updates to be posted about both soon!), so let’s hope that things continue on the good streak.
When I started this blog up a short while ago, I was presented with a number of pieces of advice to ensure the so-called “success” of my blog. For a site such as mine, I’m not sure how one might measure success. Monetarily, the site can’t be a success since there is no form of income (aside: I sincerely hope that, one day, I will be able to eat those words and the site may provide me with a source of income). I suppose that, for a non-profit, one-man-show style website, one can only hope to be known well enough to be publically recognised. I don’t expect that to happen, so I’ll settle for being a well-visited blog. I’ll consider my first milestone to be 500 unique visitors in a single day, at which point I will not only be happy, but I will set myself a loftier goal which will seem just as unlikely for me to reach.
But I digress. Advice, right? One of the most logical pieces of advice I received was to have a regular schedule that I would regularly update to. Although I toyed around with the idea of updating three times a week, I came to the conclusion that is probably infeasible in the long run. Unfortunately, I don’t have the intension of updating frequently enough so that my university marks suffer. So, after much deliberation, I have decided that an update schedule of every Monday and Friday is a reasonable goal to uphold.
This is obviously all dependent on whether I feel like I have something to say, though. Although I don’t think it will be much of an issue, there always is the potential of hitting a bit of writer’s block. There always is the possibility, though. Because my classes this semester are not computer science courses, I will find it hard to refer to those courses without straying too far off topic (unless one of my professors makes another bone-headed comment again). The fall won’t present me with much more inspiration: at least, not directly. If everything goes according to plan, I will have an intern job with a firm involved in computer science, one of which, if I get the job, will not legally allow me to discuss what I do.
That being said, my development work, addiction to music, and everyday experiences I’m sure will provide me with ample fodder for you to stuff your brains with. Plus a little feedback here and there from you guys might give me some incentives to post a little more.
Of course, I might be a little more inclined to post three times a week if I hit 1000 visitors a day…
The first time I wrote a full website, I made a lot of mistakes. A LOT.
Although not completely obvious from looking at it on the outside, H2H Security Group is built on a pretty shoddy content management system (CMS). There are bugs, there are incomplete sections of the site, and there is little administration that doesn’t require direct database access. I’ve stopped development on the current CMS and decided to go for a complete overhaul. That’s right: I’m completely re-building the system, H2H CMS, from the ground up.
Normally, this would be a preposterous idea, and perhaps it’s not the most efficient route for me to take, but I won’t be walking away from the CMS empty handed. It was an amazing experience working on it. Despite it being terribly designed, I’ve grown a lot as a programmer since I first started. I’ve learned about things like classes, hierarchies, debugging tools, exceptions, mysqli, more advanced MySQL statements, and caching. I’ve learned about the differences between versions of software such as PHP, which had monumental changes from PHP4 to PHP5. Most importantly, I learned proper software development in a university course. Looking back, every mistake I made during the design of the old CMS I have learned from, and I’m willing to make a mistake if it means that I learn from it.
Another big change I’m making is that I am going Open Source: letting anyone take a look at the source code. I’m sticking with a Creative Commons license, which allows anyone to take the code, modify it, and redistribute it for free, providing they give me credit for the original work. I think it’s the right choice to make, sticking with the hacker mentality and whatnot. With a goal of distributing knowledge and information to the masses, I think the open source route is a logical step to achieving that.
I started off the development of the new CMS quite differently than before; rather than jumping straight into the coding, I started off old-school: with a pen and paper. Design before development helped ensure everything stayed organized this time. Developing class-by-class, piece by piece allowed for logical places to start and stop work.
The part about this CMS that I am most proud of, however, is that security is added and implemented standard – not as an afterthought. Being interested in security, this seemed like a no-brainer, but it seemed to be either non-existant, poorly implemented, or at the expense of efficiency in other systems available. By considering both security and efficiency at the same time, I hope to develop a system that maintains both equally.
I always like to see people become involved in my projects. If someone is interested in helping with the development, let me know, and maybe something can be arranged.
Ohloh Page: http://ohloh.net/p/h2h-cms/
Project Trac Page: http://dj-bri-t.servehttp.com/projects/cms/
Something that I will try to do every once in a while is give a review of five of something that I think is particularly noteworthy to take a look at. It could be plugins, software utilities, websites, photos, or, web comics, like today. Today’s installment of Five Things is about five web comics that I make a point of reading whenever they update.
1. Everyday Decay
Everyday Decay takes place in a post-apocalyptic zombie survival scenario, updating Mondays and Fridays. The art is quite impressive, with an interesting story line including drama, comedy, and “a healthy dose of WTF”. If you like zombies (and who doesn’t?), this is definitely one to check out.
2. Cyanide & Happiness
If you’re looking for a daily giggle involving plays on words, take a look over here. The art isn’t amazing, but it’s always worth reading for the comic relief, and there’s no story line so you can pick up at any point without feeling that you’re missing some key point brought up a year and a half ago.
This is currently one of my favorites that I never miss. Kristian Nygård from Norway does a great job with each comic he makes. The name, Optipess, comes from the combination of two opposite words, optimism and pessimism. And, as Kristian puts it, “the comic is devoid of continuity, character development, story arcs, logic and wit”. Despite that he thinks that his art isn’t great, I disagree. Optipess updates every Monday and Friday.
4. Least I Could Do
LICD is not for the prudish. Its quirky story lines and abundant sexual humor are great for an open mind. The stories are great, the art is fantastic, and it updates every day. Seriously. Check it out.
5. Return on Insanity
Return on Insanity is a comic starting out by my good friend Tyler. It’s had its ups and downs trying to get itself started, but it’s doing great now. There’s a committed artist helping out, and I help with the web design. The story lines have departed nicely from reality, and center around Tyler getting started with his first business endeavor. The art and story has improved ten-fold over the past year as you can see from the archives, and this is one comic not worth passing up.