Archive for the 'Techknow' Category

The psychology of picking Windows over Linux.

Monday, August 18th, 2008

I am going to try and avoid a group of clever analogies here and just state my points nice and clear.

People are scared of change, they do not like to be wrong, and they tend to avoid conflict.

For the most part, we are creatures of habit. This is for good reason. Just like other animals, we seek the comfort of the known. It prevents nasty mishaps like getting eaten or squashed because we failed to recognize something not so nice, with large teeth.

Windows is well known.

Trying to get an office full of people to switch to an open source "alternative" to their application of choice is not something I look forward to.  I was naive in the past, and tried to slosh enough of my enthusiasm around to cover their apprehension . This merely allows the user a focal point for their animosity, instead of Openoffice, it's now the systems administrator.

Sure I would love to have all Linux desktops, but this is the real world.

Putting Linux on a home users PC is tough for me as well.

Maybe it's just me here, but, I tend not use use xwindows at all for Linux.  Linux is my "serving" environment, so its all coding and commandline madness. So far, none of the ways I use Linux require me to have a desktop,  so I just don't bother. Sure I have some full blown installations, but, I don't use them everyday, why would I? Probably the same mentality that would keep me from ever running a Windows webserver. A...Windows..Server, wow crazy.

Dropping Windows from my life doesn't make much sense either. Imagine the hilarity if I had to try and fix user issues with windows, with a complete lack of skill in the environment. Windows has its place, as does Linux. Windows is for users, Linux is for admins. I didn't make the mess, I just deal with it.

So in a nuttshell, Linux and Windows both have thier place in my life, for better or for worse. Both have thier strengths, and picking one over the other is not something that seems feesable.

Zap telemarketers with Asterisk

Thursday, June 12th, 2008

I stumbled across this little nugget in the Asterisk docs, and I thought other people might find it usefull as well.

I remember buying one of these for my dad for his POTS line a while back (heh, 10 years) , from Radioshack of course. The idea is simple, a tone played down the line makes the autodialers believe your line has been disconnected.

This functionality has been built into Asterisk, here is the dial plan code:

[incomimg]
exten => s,1,Zapateller(nocallerid)
exten => s,n,Playback(enter-ext-of-person)

Hosted Asterisk solutions, where are they?

Thursday, June 12th, 2008

http://blog.tmcnet.com/blog/tom-keating/asterisk/bluewave-telecom-hosted-asterisk-solution.asp

Thats a great post and offers real insight, although a bit dated by 'net standards, on one aspect of the Asterisk revolution that has failed to bring to the table a real player.

Asterisk is fairly painless to to get up and running, and with a little time and effort, to tweak out for a decent size deployment.

If your looking for clustering and imaging over VM's using say, vmware (my weapon of choice) after the template is mapped out, custom kernel built and its screaming, your a step or two away.

Now rolling that into a slick interface with monitoring and fall back for the images is going to take a bit of doing. A single install with preconceived images that covers these bases, man, thats the ticket.

Now if you can imagine multiple 'blade servers with this config, being deployed with PXE install, and you begin to see the advantage. Scalable, redundancy, and ease of deployment, you can't ask for much more then that.

I think I feel a side project brewing :>

Doug

Upgrade Wordpress 2.0 to 2.5, keep your posts

Saturday, June 7th, 2008

I am always of the mindset, if it ain't broke, don't fix it. But with technology there is a trade off, and that sacrifice is compatibility.

So you waited and waited to upgrade your blog, only to find out that your database is completely different then the newer version that you want to use.

For Wordpress the solution is rather simple:

First grab a plugin that allows the older version to output to a format the newer version can import, in this case a xml file.

The plugin to do this is located here

Follow the directions for install , then export from your old blog, import to your new one.

Took me a few hours to figure this out, hopefully this post will help you compress that time a bit.

Doug

Spore Launch Date

Tuesday, February 12th, 2008

Yup, it's really happening, and below is the official email. The vids getting pounded right now, but there is a link.

> SPORE Launch Date Announced - Watch the teaser!

Get ready, Earth creatures. Check out the annoucement video to find
out when Spore will be in stores!>>
http://fun.ea.com/cgi-bin24/DM/y/eiei0N3dOZ0EVQ0BlNw0ER

> A Message From Will Wright

Hi, I'm Will Wright and I'm working on a new game called Spore(TM).
You've heard of it? Oh, that's right, you signed up to get the
Official Spore Newsletter. According to my notes, we haven't sent a
single newsletter out. Maybe that's why I've been hearing from so many
fans wanting some new information on Spore.

While we finish up the game over the next few months, we'll be sharing
more information with you and other fans. As a newsletter subscriber,
you'll be among the first to get new Spore information, screenshots,
videos and other cool features from the Spore team. Check out our
launch date teaser, and of course you can visit Spore.com for updates
anytime.

Thanks again. You'll hear from us soon.

Will Wright

Centos, packages to watch movies

Tuesday, October 23rd, 2007

So if you have installed Centos 5 and want to watch movies, what packages are needed to make this happen?

yum install gstreamer-plugins-good

yum install gstreamer-plugins-bad

yum install gstreamer-plugins-ugly

You should be rockin! Totem will now play your videos without issue. However, I still use vlc media player for my DVDs.

From my research gstreamer still has a little work to do on the DVD menu front, VLC works flawlessly.

Centos install on an Emachines Laptop

Saturday, October 20th, 2007

Well, I have to say that when Redhat thumbed its nose at Opensource, and mandated a fee or no up2date, I calmly kicked it's ass out of my life.

I turned instead to debian. Tougher to install, sure, but do it via PXE over a network with straight up ASCII and a minimum package install, and its fast, lightweight, and damn near impossible to screw up. Oh yeah, it's truly free.

Problem with this is most corporations are slow on the uptake, grounded in reality, a switch to another variant would do nothing but make their already taxed IT department collectively explode. This is old, old, news for a lot of you, but a frustrating reality for a select few.

So as I gravitate towards what might be a more rigid environment in the halls of buisnessdom, what are my solutions to familiarize if I don't want to pay the Big Red One? Centos Baby.

Once again, you guys know this, I however am having to familiarize myself with a distribution I long since shelved, thinking its bloated inefficient carcass would do nothing more then weigh both me and my clients machines down.

On to the install

So I decided what the hell, why not dual boot my laptop so I can get a feel for what is really going on.

Lets install centos, but do I want to download 6 freakin cd's? I mean really, install linux with a cd, what is this 2000?

I did find a boot.iso hidden, tucked away on the third shelf back in the corner under a couple issues of Boy's life, what the hell is up with that? The netboot image is tough to find, and is not in your face like the iso's that is for sure. They want you to download 6 cd's, I ain't havin it. So what's a man to do, I just downloaded one cd, the first one, and booted that, why not.

From the boot prompt you can use linux askmethod, and I found a mirror that will point me to the source files. After the basic menu, I was whisked away to , gasp, an Xwindows session installer. Sure is perty, and very Redhatty if I do say so.
LVM by default, sheeeeeut

After the partition message it did indeed configure and install the OS to LVM, all by itself. Now, I have to say in debian, this can be a bit tricky. And if you were to hammer something and the LVM is on top of RAID, well thats two layers of crap you need to have to recover your data. Lucky for me, I had infact had to recover data that was RAID, and LVM before, so this is not an issue. I don't know why I would need LVM on my laptop, but what the hell.

The gui install, it's beautiful

Yup, It's whirring away installing, nothing but net, a sweet sweet victory. And it does look pretty good. There is probably a way I could do this old-skool text style, in fact I saw it in the options, but it does give me a warm fuzzy feeling with a mouse. I feel, um, safe.

Wrap up

Ok windows and centos sitting side by side from scratch in under an hour, pretty freakin cool. Centos on boot, nice, and it looks like it detected my wireless, that's probably going to be the hardpart, as broadcom to my knowledge still has no linux drivers for my wireless. But I have used the wrapper before, it works pretty good.

Upside? looks like it detected my sound card right off the bat, point for that for sure. Downside? It only plays on my headphone jack, I have solved this before, guess I need to look at my notes.

Package updater came online and started updating, nice. Looks like openoffice is installed by default, and a lot of other goodies.

All in all very easy, almost too easy for this type of convoluted install, I must say color me impressed.

Will I ditch debian, hell no, but for now I am digging centos, and if it continues to impress me, it might be a regular in my digital bed.

Time shall tell

EDIT: ok seems http://linuxwireless.org/en/users/Drivers/b43#devicefirmware contains the utility and the firmware source that you need to extract to /lib/firmware, please, do it from that directory!

once thats done, I cranked up the wireless, and it froze my system, sweet :<

Upon reboot, everything seems to check out however, I am testing now, none the less, pretty easy.

EDIT2: The make and model of the laptop is an Emachines m5405 with a broadcom bcm4306, and using the native bcm46xx drivers produced nothing but problems. However, I was able to install the ndiswrapper, works without a hitch. I actually redefined the device to wlan0 and left the eth1. Now this allows me to use Kismet and some other tools, I just need to bring down the ndiswrapper and load the bcm module. However, if I try to remove the bcm module and load back the ndiswrapper, it can no longer find the device without a reboot. I am in the process of communicating with the devs of this module trying to find an answer.

The sound was fixed with the asla mixer, first I choose the external amplifier option, then deselected it, sound now works perfectly.

Halo 3 launch, Ps3 madness

Saturday, October 20th, 2007

So halo 3 is getting the buzz literally and figuratively as thousands of frat boys fall in line and kick it up a notch online.

I can't say as I blame them, my brother happened to glance at the game in play while on an appointment and immediately began to drool as he watched the events unfold on a rather large flat screen .

I made a deal with my brother a while back, and the gist of it was the purchase of a large ticket item for him in the near future. Needless to say, he wanted an xbox 360, and of course, halo 3.

I did some research online, and figured I could purchase a couple of core systems and be online rather inexpensively, both of us owning the unsuspecting rather quickly. At one time we were devastation to egos personified in UT, I didn't see the reason that halo should be any different.

After doing my research I was out and about, and spotted one of those chain game retail stores and decided to stop in and check my facts as it were. I wanted to make sure if I bought the core, I could later upgrade at will without any complications. Just to make sure, I think I needed to talk to a real hardcore gamer.

Unfortunetly, I talked to this other guy instead. It went down like this:

Me: Hi, I would like to buy 2 core systems, I was wondering if you can upgrade them no problem after you buy them?

ubergamer: You really don't want to buy the 360, the xbox has peaked. Halo3 is it for the xbox, you want a ps3, much better system.

Me: uh, ok. Well what about the fact the ps3 has had abysmal sales? Isn't that going to deter developers from making games for the system?

ug: No, no way, there are a lot of good FPSs coming out , like "blah" and "blah blah".

Me: What about all the great games coming out in November? What about Bioshock?

ug: .....

Me: What about the fact the xbox360 outsold all other consoles.

ug AND his manager at the same time: no no! the xbox 360 got its ass kicked.

Me: Really, according the Wall Street Journal, sales data for September show the 360 in a clear lead that month, and over 300 million in sales for halo 3.

(Yes, I actually quoted the WSJ, I play the market, sue me)

ug AND his manager in unison : Yeah, but that's because of halo 3.

Me:..... Hey thanks for all your, uh, help

I glanced for the sony rep behind the curtain before I left, but he must have been well hidden.

In retrospect I wonder how many other unsuspecting consumers have been consumed by either:

a> some ps3 fanboys overzealous sales pitch about a real non-contender

b>actually shady bonuses being paid to people at these shops that push the ps3

I can't prove either one, I can say with all honesty that I probably looked like a guy who knew nothing about gaming, but in fact, I have been involved in the industry for quite some time. I have owned or played every console since the 2600 and I worked with SGI in developing the N64.

Oh, and I have been schooled by the industry. My sega saturn and dreamcast will be chains on my heart for a while.

Be careful and tell your not so savvy friends. They pray on ignorance and will sell you a ps3 when you least expect it.

I already have one in my family, thanks mom, long story but that's for another post.

Opensource Bios makes Linux Boot Faster

Tuesday, October 9th, 2007

Linux can boot faster if a PC's BIOS is replaced by an open BIOS. Among other benefits, open BIOSes can save the time wasted by proprietary BIOS legacy support for MS-DOS and other unnecessary functions.

read more | digg story

BIOSHOCK, copyprotection fiasco

Friday, August 24th, 2007

Create one of the most highly reviewed games in history, then cripple my computer with a rootkit. !@##@ awesome. No thanks.

Edit: Ok, perhaps not a rootkit at all. A malformed directory and file structure that prevents removal, some freaky drivers perhaps, but not ring-0 control.

But who's to say its not, without a breakdown, we don't know exactly what it does. And why the breakdown? Well its doing funny stuff to start with.

Why the hell would you ever install this software?