Linuxchix

So I am into Linux.. Have been for years.. I have used a bit of everything.. From early Slackware in 94 or 95.. to Redhat 5 or so… then Mandrake for a few years as a server and then Lindows/Linspire a few years later for a Desktop OS.. Since then, I have used a lot of the Debian based distros.. Knoppix, Mepis, Ubuntu, Kubuntu, Xandros etc.  I also tried Lyrcoris, PcLinuxOS, Gentoo and many others.. I find I tend to come back to the Debian based apt-get type distros though, as they are what I know and am comfortable with..

Of course, for anyone who knows me, I also have Emmy, who is right there into Linux with me.  So when I seen this I just had to post about it.. Cause Emmy is a Linuxchix through and through.. We run our business for the most part on Linux.. She does all the web development on Linux.. and she has only me as support.. Pretty impressive, as I do not feel I am an expert at much of anything. 🙂  Well, just thought it was cool when I seen it and had to share. 🙂

Exercise again..

So I have started exercising again. I do mostly curls and riding currently.. I am riding around 10 miles a day to get started.. Just to try to get in better shape for other things to come.. In the past, I go for 2-3 months, then lose interest for a few months, then go for a few months, then stop.. etc. Well, I do not know currently if I will last any better this time, but I really wanna drop some weight again. I am starting to feel out of shape.. I do not mind looking a bit out of shape.. but the feeling is horrible. So, I am back at it.

Wish me luck! I have done 10 miles a day for the last 3-4 days now.. Can not remember which day I actually started.. I have also started not snacking after 8pm. In the past, the combination of these two things for a little over a month actually dropped my weight down to about 185.. Which is still horrible, but I was feeling better.. As someone who grew up a scrawny kid I feel huge at 185.. I am hoping to get back to 170 or so.. Maybe 175 or so..

I plan to do this by trying to change my life style.. Which means adding more exercise(we take our walk in Crew Lake Park every morning.) and just dropping any late night snacks.. I think it makes a huge difference. I figure the trick is, to add things in that are not to unbearable.. That way, I am more then willing to keep going with them.. So 10 miles a day in riding, and hopefully 100 25 lbs curls per arm every other day.. Then I will add in Push ups, then maybe some crunches.. Then we will see..

Getting going again..

So I am trying to get this thing going again, and I am starting by redoing the theme, adding some plugins and such that I hope will make it a bit more interesting. 🙂  We will see!

Ok, time to go on our morning walk, I hope to write more later today.

Lazy?

Naa, I haven’t just been lazy.. I been setting up my system, getting games installed and running on Wine and Cedega and Dosbox. Compiling Duke Nukem 3D on Linux, getting SimCity 3000 running, Compiling Dune Legacy on Linux and getting everything running smoother and reading through my Python book that came. So I have not wrote as much as I should have.. I missed a couple days.

I also did a ram upgrade and a scan and removal of spyware on a Windows XP computer for some people. Pretty common occurance really. If you have not run Spybot S & D recently, you should have if you are running XP. Picture a big sticky ball of candy rolling down through a popcorn and candy and sodapop and whathave you strewn floor in a movie theater.. It is bound to pick something up. By the time you run your virus software, your computer has lost a third of its speed. Add a few other messengers, video players, auto updaters for things and your computer is slowing down even more. Then, on top of all that, you visit websites all the time that slow you down even more! What a drag! That is one of the reasons I use Mepis.

Python Program Idea

So I was thinking about what project might be fun to do with Python as a test. I was thinking maybe a Trivia Game. Something where when you first start it, you pick the default topic that questions are randomly asked from. When someone answers a question correctly, they get given an option to change the topic. If everyone leaves, it stays with the same topic. If you get a high enough score, you get to submit questions to the database, that then have to be oked by the admin.

We could have ads for Amazon and Google type targeted ad stuff linked to different topics and questions. The admin would do that as they were oking submitted questions. The answer area would be seperate from the chat area so that every “guess” someone makes at a question helps to rate it’s difficulty. The more difficult a question is rated, the more points it is worth when it is gotten right. We could also make different difficulty levels that change the time you have to answer. The more difficult questions get put in the appropriate difficulty area.

We would start out with a “General” difficulty level area that people could go into and play, as the questions get rated on difficulty, we could then switch to “Easy”, “Medium”, “Hard” difficulties. Where the time is shorter, and the proper difficulty rating questions always get asked. We could still provide the “General” area where new questions could get added in to pick up a rating. We could also make it so the “General” area is worth 1X times the difficulty rating of the question, “Easy” is 2X, “Medium” 3X, “Hard” 4X. The questions get a rating based on how many guesses each person makes at the answer.

Python!

So I got my Python book on Friday, and decided to start trying to work my way through it, yesterday I wrote my first program.. Well, ok, it was my second. My first program was a bit to easy to bother with covering here.. It was print “Hello World!” and that was it. Just like starting to learn any new language. 🙂 I also learned that the Python Programming Language is named after Monty Python. Which I guess I sort of knew, but it was interesting to discover that was the case for sure. Anyways. Here is my first script even close to a real program!

#!/usr/bin/python2.4
# Make a variable called name, and have the user input what it is equal to
name = raw_input(“What is your name?”)
# Greet the person by name using the variable we collected
print “Hello, ” + name + “!”
# Make the screen pause and wait for input so it does not close the minute it is finished.
raw_input(“Press <enter> “)

Duke 3D in Linux

So I really wanted to get Duke3D going in Linux. I tried the Eduke32, and the JonoFs Build, but had no luck. I decided to go to old faithful for Linux, Icculus. I got an error right off as I tried to build the buildengine with a make. 🙁 Bummer.

a.c: In function ‘prevlineasm1’:
a.c:189: error: invalid lvalue in assignment
make: *** [a.o] Error 1

Luckily, my better half is a coder geek, so we went to line 189 where it was puking, and she suggested taking out (unsigned long). Parenthesis and all, make sure you leave the rest of the line.

((unsigned long)i4) >>= mach3_al;

make it:

(i4) >>= mach3_al;

We saved the file, tried make again, it worked, I then proceeded to follow the rest of their instructions. Make sure to copy over their .con files otherwise it won’t work! I also downloaded the Hi Res pack. But was unable to get it going with the Icculus version. If anyone knows how, be sure to leave me a comment? Thanks!

Making the Linux version of Simcity 3000 Unlimited work

Ok, so I have been kinda annoyed that I could not make Simcity 3000 Unlimited from LokiGames work in linux in the last few years. Everytime I try, something does not work. I have followed directions from different places for years to get this working in Linux, and never had much success. Until today.

I discovered if you install the Loki Simcity 3000 Unlimited, then download the patch from one of the places here, (This one worked for me.)then install the patch with the command:

./sc3u-2.0a-x86.run –keep

If you run the patch without the –keep it will give you an error like this:

Verifying archive integrity…OK
Uncompressing SimCity 3000 Unlimited 2.0a Updatetrap: usage: trap [-lp] [arg signal_spec …]
If all goes well it will install and ask you a few questions. Answer all those right, then run the program using the command:

LD_ASSUME_KERNEL=2.2.5 /usr/local/games/SC3U/sc3u

If you run the game without the LD_ASSIME_KERNEL command it will probably just segment fault on you like it did me. I give credit to this thread on the Ubuntu forms for this info, as well as Google for allowing me to find the info I needed! Hope this helps someone else!

SimCity 3000 Unlimited