jump to navigation

Been a long time… December 4, 2011

Posted by jmcomputer in Android, Gadgets, Linux, Ubuntu, Upgrades, Work/Career.
Tags: , , , , , , ,
add a comment

Yeah it has, and in most cases, it could be considered as reasonable and/or understandable. So I’ve had a lot of things happening, and I thought I would finally update people here…

So, where to start? How about the most exicting part: my career!

I finally got a position with a company called Netsmart Technologies (http://www.ntst.com) as a Systems Engineer/Admin. This is a HUGE step for me as it means that I am FINALLY back into the technology/IT field in a role other than “Independent Consultant/Contractor”. Don’t get me wrong, it’s a great title, but the pay I was getting as an independent was a little on the slim and irregular side. The good thing on at this position, I am getting some seriously great experience and exposure to several platforms. The OS’s include AIX, Solaris, HPUX, Linux, and all flavors of Windows. I’m also learning more about MUMPS databases, Java programming, scripting in Windows and Linux, OS tweaks, etc. This position is opening a lot of doors for me, and I am so excited to be there! I was recently placed as their first third-shift person, and while there are some who can complain about the shift, for a company willing to give me work to do and a paycheck to match, I’m not going to complain. After two years of unemployment, it really puts things into perspective. There is only really one down side, a 1 – 1.5 hour commute, one way.

So what would be next, how about a 6 month review of my new cell phone?

So after getting my job, and checking finances, cell phone plans, etc. I ended up getting the phone I REALLY wanted; the HTC Evo 4G. After using it for 6 months, I am still in love with my phone. While I have had a LOT of issues with Sprint’s service, including spotty service during my commute, lack of signal in my home, and even with a VOIP-relay for our phones, we are still getting messages of “Please try your call again later”. So what have I done with it? Well, it’s still stock; I know, I should have rooted it by this point, but when looking at benefits of doing so I would only get minimal benefit. Basically I would be able to remove the stupid Sprint software (Stocks, NASCAR, Football, and Sprint Radio apps), and I would be able to tether my laptop to use the phone’s 3G/4G service. So not rooted…. YET. I have installed a few games, Irssi Connect, Google Sky, and CarCast. Of all of these apps, CarCast HAS to be the one I use the most. I have had some issues with battery life, but a lot of that tends to be resolved by killing certain applications (Facebook tends to be the biggest offender), and generally just watching what I am using throughout the day. My wife is already talking about leaving Sprint’s service when our contract is done, which I am starting to side with, but there’s no telling at this time as I will have to watch what Verizon does with their Data Plans. If they go back to unlimited, I’ll probably go for it, but if not I don’t think I can jump ship as I am really dependent on high download rates.

Okay, the next big news is my Ubuntu upgrade. This one was more dramatic than the ones I have done in the past as I actually went through two versions of Ubuntu. I was previously running 10.10, and I finally bit the bullet and upgraded to 11.10. I did have a lot of problems, but I think I have figured them out after the fact. For some background. I am using a System76 Pangolin (Panp4n), which just recently went out of it’s 3 year warranty (wish me luck). I needed a larger hard drive, so the only change I have made since I’ve ordered it has been the OS versions and went from a 320GB hard drive to a 750Gb hard drive (ONLY because the 1TB hard drives will not fit in traditional laptop cases. I have the drive partitioned in 3 parts, first is the primary / (root) partition (20-30gb), secondly is the /home directory (appx 715gb), and finally (although this has been a hotly contested issue lately in the Linux community) a 5GB swap file. The reason for the separate /home directory for those that are not familiar with Linux, all user files, settings, bookmarks, emails, personalized items, etc are all store in this location. So you can erase EVERYTHING else on the system, and you would not lose anything important (unless you’re a kernel hacker, application customizer, or just working every else other than /home). With that said, here’s what happened. As I have previously mentioned in other posts, me and PulseAudio DO NOT get along; particularly with Wine application. So as I proceeded with KPackage’s upgrade method, I let it complete both upgrade (10.10 -> 11.04 -> 11.10) and awaited eagerly until it had completed. This took approximately 6 hours for both parts. Since I had upgraded, I thought I would show off Unity to my wife, and install XFCE-Desktop since I’m thinking more on resource usage. After installing Unity, it attempted to completely take over my ENTIRE system. Even my KDE menus were altered, and my wallpaper was changed to some Firefox screen capture that I don’t recall. When I went into Unity, the menus were missing, and just looked and handled horribly, so maybe the upgrade method wasn’t a good process for that one. Downloaded the newest Kubuntu image, burned it, killed all my .kde, .gnome, and all other non-essential directories. Everything installed just fine, and possibly even cleaner now than was before. Now that I was finally into the system, I checked to see if Pulse was there, and indeed it was. Okay, so I purged out the PulseAudio server, this was no problem, but when I went to remove the client libraries, it wanted to remove ALL the applications (not just the meta packages). So I had to leave those. The system was working fine with two exceptions; Firefox is being extremely laggy, and the game that I play in Wine is crashing before I can even complete loading it. Firefox is a relatively easy fix; I pulled down Chromium and it was not lagging like Firefox was (lag while changing tabs, minimizing/maximizing, etc). So I added a link on my desktop to Chromium and we are using that exclusively now. Now for the Wine game… after much thinking, etc I started looking around on my system (as the game worked rather well previously, so I know it’s not hardware) and really started thinking through the loading process. What I ended up trying first was my video drivers. And once I updated those, everything worked perfectly!

Now my final piece of news is more on the “Health Front” and mostly off-topic for this site I guess, but there is a tie-in, I promise. Ever since Ohio has increased the taxes on cigarettes, the prices have been getting more and more outrageous and expensive. Since the new laws went into effect over 5 years ago, prices have gone from $2.50 a pack to between $4.25 – $5.50 a pack. I wouldn’t consider myself a heavy smoker, as I had only smoked about 10-15 cigarettes a day.  So I have done all sorts of things to make it cheaper, between going to generics (even the really cheap generic sold by the stores on a military base)  to “rolling my own” with an injector type machine. The rolling had to be the cheapest, but took a considerable amount of time to do so. I have tried to quit a couple of times as well, and didn’t last long for one reason or another. “Okay, so what, what does this have to do with computers or anything technology related?” Okay, so this is more of a gadget piece. While at work, we recently got a new employee who at first appeared to be a smoker, until I noticed WHAT he had in his hand. Looked like a marker or something with a cigar tip on it. When I ask him about it, he tells me that it’s an e-cigarette. Now I have seen ads for these online, but never in person, nor have I heard of anyone using one until now. He tells me a couple things that highly intrigued me; no more wheezing/coughing, no more after-smell, and “cheaper!” This got me so interested that I had actually stopped at truck-stops, gas-stations, supermarkets, and even called smoke-shops asking about inventory for them! So what it is? If you haven’t heard about these, it’s a battery, a cartridge/tip, and an atomizer. It uses “juice” that produces a smoke-like vapor. No burning, no tobacco, according to the ingredient list of the “juice”: distilled water, vegetable glycerin, nicotine, pure grain alcohol, and flavorings; notice the lack of 400+ other preservatives, cancer agents, etc. The “vapor” is the same thing as the fog-machines, aside from the nicotine added in. So here’s what I ordered: from The Vapor Pro I ordered an eGo Mega Starter Kit, 30 mL Vanilla with 18mg nicotine, and30mL MLB2 (tobacco flavor) 18mg nicotine. I have also ordered some other accessories from Good Prophets. So what do I think? It is definitely a lot cheaper! This as well as the “no more cigarette smell” has definitely sold me on this, everyone’s excited that I’m quitting smoking. At first I didn’t think of it as such, but I guess it is. I have noticed some other benefits as well. I’m not coughing as much, I can run up the stairs at work and not get winded, and my hands don’t reek from burnt tobacco. I would definitely call this a BIG WIN for smokers considering quitting or just an alternative, now as long as the FDA keeps their hands off of it, or limit their “legal” aspects to a printed FDA label on the juice. Will I decrease my nicotine strength or stop even “vaping” altogether? That remains to be seen at this time.

So that’s all for this update, I will have to be more regular, but I can only post when I have something to actually talk about… sigh… Until next time!

Ubuntu woes… December 24, 2009

Posted by jmcomputer in Home Use, Linux.
Tags: , , , , , , ,
2 comments

First, let me preface by saying that I do enjoy using Linux for my desktop, I have been able to do everything I was able to do in Windows and then some, and all for free. The reasons I’m even posting this is for people to see what steps I took, and in case a developer sees this, can fix it. Also if you have fixed this issue, please let me know!

Since I am not in classes at the moment, it’s a safe time for me to perform the typical distribution upgrade. For those of you who use Windows, this isn’t like a service pack, this is a free upgrade to the latest version (for example: upgrading from Windows Vista to Windows 7, easily and without the need to purchase a CD or anything). Ubuntu 9.04 is now Ubuntu 9.10! The upgrade went almost flawlessly, the only hitch I came across was that the new kernel did not load into the grub bootloader menu. That’s easily resolved by editing it myself.

Things I noticed immediately: MUCH faster boot time! Since I don’t use a bootsplash (the nice graphic that shows you it is loading), I can see all the commands and feedback that the system is going through during boot, and aside from AppArmor causing a bit of a slowdown, it is MUCH faster than the previous version! KDE looks similar to what I had before, but there are a couple changes, the “cashew” to unlock widgets is much smaller, and the menus and all look a little more polished (yes, the developers DO listen to comments). Booted into gnome (which incidentally hasn’t worked for me in the last couple months [my fault, I broke a couple packages]). Desktop looks the same, menus are a little quicker, and more polished as well, nicely done Gnome Team! So at this point, everything looks wonderful!

Now is where the problems become apparent. I play a game using Wine (for the Windows people: Wine is an application that allows MOST [not all] Windows applications/games to be run in Windows by making the application think that it is running in Windows), when I started the game, the sounds were “off”… The easiest way to describe is a slight garble that eventually faded into complete silence. This is different… After some tinkering with the game, I find that I can still hear the integrated voice-chat feature, but I cannot hear any other sounds from the game. Now THIS is odd, I have experienced a lot of interesting and obscure errors between both Windows and Linux, but to have an app where one sound doesn’t work, but another does when they are both streaming through the card is a really odd one. Usually either it completely doesn’t work, or it all works, and this is on ALL operating system.

Okay, time for the “fun” of Linux, I know the issue is either with Wine or PulseAudio sound system. So let’s see what I can do… I searched around and found the previous version of Wine that I was using, installed it, and I still have the same problem. This removes the possibility of Wine being the issue, so now I know it’s all the PulseAudio sound system.

A little bit of history on Pulse: Linux has several sound architectures, and many apps rely on different ones, for example: Advanced Linux Sound Architecture (Alsa), Open Source Sound (OSS), OpenAL, eSound, etc. An analogy to this would be in the video area, you have DirectX and OpenGL libraries to run graphics. PulseAudio is supposed to be a “mixer” of these different systems, so Alsa and OSS will be piped into Pulse, the benefit of this is multiple applications can play a sound in different architectures, and all will be heard at the same time (think mp3’s, videos, and website/flash/java sounds all playing at the same time, rather than only one application having sound control at any given time).

Back to the issue, since I now know it’s in the sound system, I start looking around for ways to roll it back to the version I KNOW worked before. Current version in Ubuntu 9.10 is Pulse 0.9.19, and the version I had before upgrading was 0.9.14 (still in Ubuntu 9.04 repositories). Okay, easy enough to just download the package for Pulse 0.9.14 and install that, or so I thought. The easiest way to do this is when you download, you open with GDebi, which complained because a more recent version is already installed. No problem I can force the install, just need to grab the other packages for the supporting files/modules. This is where I notice a different, Ubuntu 9.04 relied on HAL (Hardware Abstraction Layer) for it’s device control, but now Ubuntu 9.10 uses udev (unknown what this stands for), the pulse files for 9.04 were made for HAL use, and not udev use, so I am hesitant to force this one. Well, let’s see what else I can do…

PulseAudio’s website (http://pulseaudio.org) has an updated version of 0.9.21, this could fixed the problem, but it is only available in source code. For me this isn’t too big of a deal, the “Infamous Three Commands” of .configure, make, sudo make install aren’t new to me, and generally most of the time I haven’t had issues on this. After installing, I try to check the version (pulseaudio –version) and I am not getting an error of cannot find a file (libpulsecore-0.9.21.so). No big deal, copy that from the source code folder and drop into /usr/lib folder. That didn’t fix the error.

Okay, “Google is my friend”, I start searching around and I find quite a few write-ups, blogs, etc where people have had similar issues. One in particular says to delete the settings folder for Pulse in the user directory. Not a bad idea, these things are auto-generated anyways, and maybe an old config from before the upgrade is causing the issue. I deleted the files (~/.pulse and ~/.pulse-cookie). I tried out my Wine game, and hey, it worked, I now have full sound in the game! Unfortunately I found out later that this was only temporary, I have to do it each time I want to play the game.

The next site I come across talked about the same issue and suggested installing an updated Alsa set and PulseAudio set from the ppa repositories (ppa’s are repositories/download areas that are not in the “mainstream”, so you generally get Beta or “Unofficial” packages, does not mean they do not work, just means they are not in the “approved” repos, yet). I get both of these installed and then get to test them. The sound in the game is still garbled or silent (save for the voice-chat feature), and only one application can use the sound card at any given time (Amarok can play fine, but when I start a video file in MPlayer, the sound will not play in MPlayer).

After more Google sifting, every site I have come across has had the same suggestions as these (building from source, the development ppa’s, or deleting the pulse settings). Now I am annoyed, let’s just remove Pulse and use eSound. As I try to remove Pulse, the package manager says that it needs to remove ubuntu-desktop as well since Pulse is part of that package. Well, I can’t have that happen. But here’s some light at the end of the tunnel, KDE does not need Pulse, only Gnome does. This laptop has fared pretty well since it has gone through 2-3 distribution upgrades without a fresh install, I think it’s about time to do a clean install (i.e. delete the packages only and start over, for the Windows folks: user settings, documents, music, photos are stored in a different section of the filesystem, and thus are unaffected by re-installs, unlike in Windows where even when you reinstall Windows and all the applications, you do not get to keep your settings).

This time I am going to install Kubuntu (KDE only variant of Ubuntu), and use the Phonon sound system (does the same thing as Pulse, but only works in KDE). It’s a shame that I will end up having to remember/re-obtain all the wireless network passwords again, but since the wireless networking was being handled by a Gnome application, I won’t have that around after the re-install. Looks like I will be doing the install this weekend after the holidays, until then I can use the deleting pulse settings to do what I need to do.

If anyone has had better success or knows something that I have missed, please feel free to post, I’ll be checking here and at System76’s support forum before upgrading.