Monday, February 6, 2012

A short review of “Linux Networking Cookbook”

I checked this book out from the library the other day and started reading it last night. I’ve only read two chapters, but I think this is going to have to be a purchase. The author, Carla Schroder, has a very direct, to-the-point way of writing that makes it very easy to follow along. She doesn’t waste time over-explaining topics, but at the same time, she gives enough information to get you going. She also provides references to additional resources in case you want to know more about a particular topic.

As for organization, the book is organized, well, like a cookbook. This makes it an excellent reference if you are looking for how to do something very specific. Just look in the index for your topic, turn to it, and follow the clearly worded instructions. Not looking for anything in particular? I noticed that the book also can be used as a walkthrough for learning various facets of networking with Linux.

Although I’m just getting started with the book, I can already tell that it’s going to be an excellent resource. I’d recommend it to anyone who’s getting started with Linux and wants to get more acquainted with the operating system from a system/network administrator perspective.

Posted in Computers, Linux | No Comments »

The Blizzard Store and WINE

I downloaded Diablo II from the Blizzard Store a few weeks ago to use on my laptop that I have Ubuntu installed on. I attempted to install Diablo II with WINE (Windows compatibility for Linux) and I noticed that I could not get past the license agreement. The Accept button was grayed out and would not activate. I googled around, checked UbuntuForums.org, and could not find an answer to the problem. So I gave up and used an XP vm for awhile, which worked fine until I screwed up my XP vm a couple of days ago.

So I tried installing Diablo II with WINE again, and I don’t remember what I saw that tipped me off, but I realized that the License Agreement was trying to use Internet Explorer to render the form…but in WINE, the Mozilla Gecko engine was used instead. So I found some instructions on installing IE6 with WINE (If I can find the page again, I’ll post it) and what do you know, after I did that, Diablo II installed just fine.

Note, this only seems to affect the installers downloaded from the Blizzard Store.

Posted in Computers, Linux | 3 Comments »

So much to learn, so little time.

There are so many things to learn in the world…I sometimes wish that I could stop time and just READ. Here’s a list of all things that fascinate me and I wish I has more time to learn about:

  • Physics
  • Chemistry
  • Math
  • Quantum mechanics
  • Programming
  • Hacking
  • Networking
  • Animals
  • Jungles
  • Deserts
  • South Asia
  • Scandinavia
  • South America
  • Africa
  • Space
  • Language
  • Cooking
  • Hunting
  • Fishing
  • History
  • Mythology
  • India
  • Political Theory
  • Religions
  • God
  • The universe
  • Life
  • Love
  • Poetry

When I think of the sheer massive amounts of information out there, it is simply overwhelming. I mean, I could pick just one topic that I mentioned and spend the rest of my life learning about that one thing. Take programming for example. You can split that into different languages…like C, C#, C+, C++, Java, Javascript, VB, VBA, VBScript, VB .NET, VB .Net 2005, PHP, PHP4, PHP5, Python, Ruby, Lisp, Perl, SQL, etc etc etc. And that’s JUST A FEW of that languages that exist. Then I could pick just one of those languages and spend a very long time learning and mastering it.

Consider that one little piece of a single topic could take years to learn about, and expand that to cover all the pieces in that topic, and expand that even more to cover all topics…that’s hundreds, if not thousands of years of possible learning…and that’s if there were no new discoveries/developments. I find that exciting and yet depressing at the same time.

I’ve probably been thinking more about this as I think about what I want to do with my life…and the answer that I keep coming up with is EVERYTHING. I want to do everything that I can out of everything that there is. And when I stop to think about what “everything” actually is, it blows me away.

Posted in Cool, Life | 1 Comment »

Diablo II and VirtualBox

I was trying to get Diablo 2 to run under WINE in Ubuntu, but the version that I downloaded from the Blizzard store wouldn’t install.  I was unable to get past the license agreement because the Agree button was grayed out even after scrolling all the way down the page.  So I instead installed it on an XP guest in Virtual Box.

The only problem I had there was that VirtualBox does not support 3D acceleration, so I was getting a Direct3D error when I tried to play the game. This was solved by opening the Registry Editor, going to:

HKEY_Current_User/Software/Blizzard Entertainment/Diablo II/VideoConfig

and setting the Render value to 0. It opened just fine after that, and ran suprisingly quickly for being run inside a virtual machine.

Posted in Computers, Linux | 1 Comment »

Why I’m going back to XP

My photos are slowing being destroyed. How? I’m not entirely sure. But I’ve noticed that ever since I upgraded to Vista, my photos have been getting corrupted randomly. I’ll be browsing through them and notice that some have turned funny colors, or have lines through them, or a myriad of other distortions. And I’m not the only one. There’s a whole thread on Microsoft Technet of people complaining about the same problem.

I would bet that Vista is trying to add some kind of information (maybe some kind of tag? a reference to the thumbnail?) to the files and on some it just fouls them up. Really though, it doesn’t matter why, it’s still completely unacceptable to have my precious photos/memories screwed up by a piece of buggy software.  Oh, and it’s not just the photos either.  It seems as though several programs and iso files that I’ve been storing have been getting corrupted.

Also, I don’t know why, but most of my games seem to run a lot slower in Vista then they did with XP. And that’s with Aero turned off and only basic services starting. There’s no reason for it. I do not have a slow machine by any means.

Add to that the fact that while Vista looks nice, things have been shuffled around ridiculously. For example, it takes like 5 clicks and three different screens to get to where you can see your network connections. It only took 1 in XP.

Screw it. When I get home, I’m putting XP back on so I can be happy again.

EDIT:

I’m back in XP and my TF2 framerate went from an average of 25 in Vista to an average of 45…with higher settings even.  I cannot figure that out.

Posted in Computers | No Comments »

When IIF() statements just won’t do.

Maybe I’m not the first one to figure this out, but I didn’t find anything when I was googling for an answer yesterday.

So I was trying to do some conditional formatting in Microsoft Reporting Services…in particular, I was trying to change the background color of a cell depending on what the value in that cell was.  I could only find instructions on how to change the color for two possibilities.  I had three possibilities, and needed three colors.

The instructions that I found said to use an expression like this in the background color property for the cell:

=IIF(Fields!Whatever.value=”Yes”,”Green”,”Red”) (If the “Whatever” field contains the value “yes” then make the background green, or else make it red.)

That didn’t work for my three color option, since IIF statements can only do two colors…one color if it’s true, one color if it’s false.  Actually, now that I think about it, I probably could have used another IIF statement for the false value, but oh well, I like this solution more.

What I did was I added a case statement to my SQL query for each color.  It looked like this:

SELECT
CASE Some_Field WHEN ‘Yes’ THEN ‘Green’
WHEN ‘Maybe’ THEN ‘Yellow’
WHEN ‘No’ THEN ‘Red’
ELSE ‘White’
END AS ‘Color’
FROM Some_Table

I then set my background color for the cell in the report to:

=Fields!Color.value

It worked perfect.  I hope someone finds this useful.

Posted in Programming, SQL | No Comments »

Sick.

I bought some tomato hornworms (a kind of caterpillar) off of the internet to feed my bearded dragon Gus. Here’s a picture of one of the suckers. They’re flippin’ huge.  (The left side of worm is it’s real head.  The other side is a decoy head.)

Now here are the pictures of Gus eating one of these bad boys:

*burp*

Posted in Cool | No Comments »

Get Microsoft Office 2007 for $60 (awesome deal) with a .edu email address

This is an awesome deal that’s going on until May 16th perpetually, so if you’ve been needing a copy of Microsoft Office (or if you’ve been using a pirated version and you wish to go legit), this is the time to get it.  You can get Microsoft Office 2007 Ultimate edition for $60.  It’s normally $600.  Heck, even the Student and Home edition is $250.

All you need is a .edu email address (alumni .edu addresses work too) and $60.  Go here to buy it: http://www.theultimatesteal.com/

Posted in Computers, Cool | No Comments »

Getting a RealTek 8185 Wireless card to work in Ubuntu

I’ve never been able to use the Linux driver for my RTL 8185 in Ubuntu.  Instead, I’ve used Ndiswrapper with the Windows XP driver.  It works great.

Here’s the download for the XP driver: rtl8185

Once you have that, you’ll want to install NdisWrapper.  Open a terminal and type:

sudo apt-get install ndiswrapper-utils-1.9

Once you have ndiswrapper installed, unzip the file you downloaded and change your terminal to that directory.  Then install the drivers with these commands:

sudo ndiswrapper -i net8185.inf

sudo ndiswrapper -m

sudo ndiswrapper -mi

sudo ndiswrapper -ma

sudo modprobe ndiswrapper

At this point, you should be able to use your wireless card.  If you type “ifconfig” in your terminal, you should see “wlan0″ listed.

This has worked every time for me, so I hope it solves any issues you are having with this card too!

EDIT:

If everytime you reboot, you have to run ‘sudo modprobe ndiswrapper’ command, try adding ndiswrapper to your  /etc/modules file.

To do that:

Open a terminal and type:

sudo gedit /etc/modules

Add a line and type ndiswrapper

Save and close the file.

Reboot.

Posted in Computers, Linux | 15 Comments »

Installing Pidgin on Ubuntu Feisty (7.04)

I was looking for an easy way to install Pidgin Instant Messenger on Feisty (since it’s not in the repositories) and found a site that has recent Pidgin .DEB’s available for download.

You can get them here.

Click the folder for the newest version, download the file, and double click to install.

Posted in Computers | No Comments »

« Previous Entries Next Entries »