Computers
Usage Based Billing (UBB) from a techie’s perspective
by Jett on Feb.24, 2011, under Computers, Internet, Personal, Technology
I know a lot of Canadians are weighing in on UBB (not enough mind you) but a good chunk of us are. Meanwhile most other countries are pointing at Canada and laughing. So, I thought I’d take a few minutes, and jot down my own thoughts on the matter, mostly for my own benefit.
In doing a bit of background research, I happened across a Canadian Heritage parody done by none other than Rick Mercer – video after the jump. To summarize – Canada – Gouging consumers since the advent of the telegraph.
Dealing with OS X resource forks in samba
by Jett on Dec.09, 2010, under Apple, Computers, Servers, Technology, Unix
Figured I’d put up a quick post. I’ve been growing more and more annoyed with OS X creating resource forks to some of my mapped samba drives, and after searching high and low for a method of disabling resource fork creation on network drives, I’ve effectively come up empty handed.
Now, that being said, I did come up with a way of dealing with resource fork creation – while its not exactly elegant, it works. It just so happens that all my servers are unix based, so to deal with resource fork cleanup, I just added a cronjob to my crontab. This will delete all of OS X’s resource fork files in a specific folder (and subfolders).
0 */1 * * * find /var/www/ -name ‘._*’ -print0 | xargs -t0 rm > /dev/null 2>&1
Note, if you’re going to use this, change the path (/var/www/) to whatever path you want to cleanup.
Also – I take no responsibility for this, make sure you have your data backed up, and all that jazz before you use it.
9 + 1 Ways ISPs Screw You Over
by Jett on Nov.18, 2009, under Computers, Internet, Technology
Happened across an interesting / simple explanation for those who don’t know how ISPs screw their customers, and thought I would add another way ISPs screw over their customers.
You can read the first 9 ways here: 9 Ways ISPs Screw You Over.
10. ISPs advertise speeds in a way that only people who have an understanding of how data is stored can translate. For example, lets say you pay for a “10 meg” connection, thats not actually 10 Megabytes per second you’re capable of, its actually 10 Megabits. Now, there’s quite the difference between Megabits and Megabits, but not so much a difference in the acronyms. MBps is for Megabytes and Mbps is for Megabits. The real issue here is if you pay for a 10 Megabit per second connection, your maximum transfer rate is only going to be 1.25 Megabytes per second (there are 8 bits in a byte). Thats also theoretical, you can very rarely actually achieve the theoretical bandwidth provided by your ISP, unless you’re trying to load their homepage or hit a url that they detect doesn’t exist and throw you a page full of ads.
I’ve been a long supporter of transparency from ISPs, but we’re likely never to see that up here in Canada – at least not until the CRTC cracks down and decides we, the consumers, need some competition and not more monopolies.
Ubuntu 8.04 iSCSI shutdown
by Jett on Nov.17, 2009, under Computers, Miscellaneous, Servers, Unix
Just a quick post today – I ran into the same issue many many other people seem to have, that being connecting to an iSCSI target in Ubuntu 8.04 means you cannot cleanly shut-down your system as it will hang during the shutdown process. I’ve been doing a little bit of research as to why (because obviously this is very bad), and it seems as though whoever wrote the particular version of Open-ISCSI (2.0.865-1ubuntu3.3) decided it would be a good idea to shut down the iSCSI service before unmounting the disks.
So, I figured out a quick workaround – simply change the shutdown order, such that Open-ISCSI is shut down after the filesystems have been unmounted.
cd /etc/rc0.d
sudo mv K25open-iscsi S80open-iscsi
Your rc0.d folder should look something like this:
lrwxrwxrwx 1 root root 17 2009-11-12 10:27 K20sysstat -> ../init.d/sysstat
lrwxrwxrwx 1 root root 20 2009-11-12 09:28 K25hwclock.sh -> ../init.d/hwclock.sh
lrwxrwxrwx 1 root root 26 2009-11-12 09:28 K59mountoverflowtmp -> ../init.d/mountoverflowtmp
-rw-r–r– 1 root root 355 2009-01-23 10:01 README
lrwxrwxrwx 1 root root 22 2009-11-12 09:29 S15wpa-ifupdown -> ../init.d/wpa-ifupdown
lrwxrwxrwx 1 root root 18 2009-11-12 09:28 S20sendsigs -> ../init.d/sendsigs
lrwxrwxrwx 1 root root 17 2009-11-12 09:28 S30urandom -> ../init.d/urandom
lrwxrwxrwx 1 root root 22 2009-11-12 09:28 S31umountnfs.sh -> ../init.d/umountnfs.sh
lrwxrwxrwx 1 root root 18 2009-11-12 09:28 S40umountfs -> ../init.d/umountfs
lrwxrwxrwx 1 root root 20 2009-11-12 09:28 S60umountroot -> ../init.d/umountroot
lrwxrwxrwx 1 root root 20 2009-11-12 10:28 S80open-iscsi -> ../init.d/open-iscsi
lrwxrwxrwx 1 root root 14 2009-11-12 09:28 S90halt -> ../init.d/halt
Then, next time you reboot, it should unmount the disks and then stop open-iscsi.
Sun buys MySQL, Oracle buys Sun…
by Jett on Apr.22, 2009, under Computers, Servers, Unix
So, big news of the week, Oracle just bought Sun Microsystems for some ridiculous amount of money ($7.4 billion in cash). Aside from the obvious moanings of how I wish I had $7.4 billion in cash just sitting around so I can buy up companies like playing monopoly, this deal has me (and likely a number of other people) wondering about the future of MySQL now that its going to be owned by Oracle.
I’ve been reading up on the topic a lot, and it seems as though no one’s really talking about whats going to happen with Sun’s newest acquisition. I can’t say I’m not just a little concerned, since all of our work here at MRX is powered by MySQL databases. Thats not to say I’m afriad of Oracle, just its both expensive (as in not free) and complex. I’d argue, so complex that not many people out there who know Oracle are looking for work.
One interesting point I did find when reading up on the topic that I didn’t really know, is that Oracle does own a number of other database systems including TimesTen, Berkeley DB open source, as well as InnoDB. However, none of these directly competes with Oracle, whereas MySQL does. So, the question is, do they monitize MySQL to a lesser degree than Oracle (while maintaining some form of stripped down free version), do they drop MySQL alltogether and provide some form of migration path to Oracle 11g, or do they simply let both co-exist and continue monitizing Oracle.
If I had to guess, I’d say they will likely monitize MySQL to a lesser degree than Oracle, probably in the form of support contracts mostly, and still continue to provide a free open source version of MySQL. Obviously they would charge for any new features they decide to add to MySQL along the way. Probably very similar to Redhat Enterprise’s business model – seems to be successful for them.
Ubuntu Jaunty Jackalope
by Jett on Apr.21, 2009, under Computers, Servers, Unix
So, I just upgraded to Ubuntu Jaunty on two of my VMs here at the office. I know its not set to come out in a final release for a few days, however, we’re in the process of migrating to a fully virtualized system, and unfortunately Intrepid has some issues with iSCSI connections. Namely if you try and shut down the machine, it’ll hang because it tries to disconnect the drive before its unmounted and then just throws errors.
Anyway, as per usual, the upgrades went more or less flawlessly – minus a few symbolic links that needed to be re-created. Since I don’t have GUIs on these machines (waste of resources on servers if you ask me), a quick:
sudo apt-get update
sudo apt-get install update-manager-core
sudo do-release-upgrade -d
And about half an hour later and I was all upgraded. No more iSCSI disconnection problems, and one new feature I’ve found that actually changed my whole workflow when it comes to servers. That being the inclusion of screen-profiles, a sort of profile manager for screen allowing you to create default screens that open when you log in, as well as status bars, clocks and notifiers. If you haven’t heard of it, I’d highly recommend you check it out.
Microsoft ads… someone’s missing the boat
by Jett on Apr.17, 2009, under Apple, Computers
Okay, so I’ve seen a number of ads promoting both Vista and Low-cost PCs coming out of Redmond recently. Not that I watch much TV, so either they’re just being targeted to the TV I do watch, or they’re on all the time, all over the place. Now that said, I am a Apple fanboy, I’ll admit it, I love most Apple products, that said though, I am willing to criticize them where I believe they’ve missed the boat (ahhmm, AppleTV and Codecs).
In any case, there are two types of ads I’ve seen, one that features children using Vista to do fun stuff with photos. Okay, they’re cute, and Vista works for children, I get it. Thing they forget to mention is that those computers had better be locked down and never connected to the internet, unless of course you want to be exposing your 8 year old child to random porn popups while they’re looking at photos of their dogs. The other type being the ones where people are sent out looking for low price laptops and pass over Macs because they’re either too “cool” or too “expensive”. Both of which are silly propositions to make, since if you were to compare hardware in any recent apple laptop to an equivalent Dell or HP, you’ll come out at about the same price (last time I did it, I think I was $50 in).
Now again, I’d like to caution that I really enjoy Apple’s – I work on one all day – that said, I grew up on PCs and when I finally did make the switch after working at Barking Dog Studios, I decided that the platform fit me much better. What I’m really trying to say is that someone at Microsoft should take a good hard look at your advertising campaign, and perhaps give it a once-over to remove all the BS you’re pushing on people. Or better yet, instead of spending millions on an advertising campaign, build a product that works and works well that people will want to spend exhorbitant amounts of money on.
A Brief History of CPUs: 31 Awesome Years of x86 | Maximum PC
by Jett on Apr.14, 2009, under Computers
Fun article for a bit of Tuesday morning nostalgia. My personal favorite quote in the whole article:
In the beginning, Intel created the 8086 and its first 16-bit microprocessor.
And Intel said, Let there be x86: and there was x86.
And Intel saw the x86, that it was good.
Its amazing to think that in only 31 years we have come so far as a technologically advanced species. Just stop to think for a minute, 30 years ago, not a single person in the world could even begin to imagine the depth and breadth of information we have at our fingertips, real-time communication without boundaries or borders.
Always amazes me to some extent. Anyway, here’s the original article if anyone’s interested.
A Brief History of CPUs: 31 Awesome Years of x86 | Maximum PC.
Bluetooth 3.0 prepped for launch on April 21 – Ars Technica
by Jett on Apr.13, 2009, under Computers
Interesting article on Bluetooth 3.0, I haven’t really been following it – however, it seems as though somehow Bluetooth 3.0 are going to be creating temporary (hopefully secure) wireless networks for transmitting data.
Bluetooth 3.0 prepped for launch on April 21 – Ars Technica.
I’m curious though, how do they intend on dealing with frequency crossover from actual wifi networks. In my experience, bluetooth networks are horribly prone to interferance and hopefully that doesn’t translate to the new specification.
Converting Raid-1 to Raid-5
by Jett on Jul.25, 2008, under Computers, Servers, Unix
So, I happened across this article today, written by a Scott Wallace, I’ve copied the text here in case his site goes down for whatever reason. Note, I haven’t tried this as of yet, but in the future when I fill up my drives, I’ll likely be able to just buy another 500 gig drive and convert my raid-1 array to a raid-5 array instead of having to buy another 3 whole drives.
Converting RAID1 to RAID5 with no data loss | scott.wallace.sh