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..
Unbelievable! My son is officially a High School Graduate! We went up to Virgina to watch him graduate! Bleys is a great kid, he skipped the parties and everything to hang out with us. Was a lot of fun! I was really excited!
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.
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.
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.
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!
# 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> “)
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;
(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!
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:
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:
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!
So everytime I get a chance, I go and comb the local library for Python and Linux books. Why? Well, because I would like to know more about Linux, and because I have had a long standing interest in learning Python. Ever since I discovered you could create applications like Lsongs in Python. Lsongs may not be the best music player ever, but it is pretty feature rich, and reasonably pretty. So it got me interested in Python. I will be trying to learn more about Python soon as I just bought a decent book from Amazon on Python.
What I did get recently at the library was Linux For Dummies and Linux Power Tools. Seems silly right? Getting a Dummies book, and a Powertools book? However, the dummies book is about Fedora Core, which I have not used. The last time I tried an RPM distro was Red Hat 6.2 and Mandrake 8.2? Mandrake is now Mandriva, Red Hat now has a seperate free version (Fedora Core) and their Red Hat Products are aimed at Servers and such. So it has been a while. So the Dummy book on Fedora could be interesting. Although, the more I read about RPM stuff, the more I am happy with Debians apt-get and synaptic and dpkg package management for stuff. 🙂
The Power Tools book is all about improving performance and tweaking your system. In the book they talk about compiling your own kernel, different package management for different distros (they talk about Suse, Red Hat, Debian, Mandrake and Slackware throughout the book.) If you ever wanted a bit more in depth knowledge of the differences in distros, this is not a bad book. It has just enough info to be useful, but not enough to make you an expert at anything. 😛
As I read more, I will post more thoughts about it. Just felt like I should post some idea of what I am learning today.
Ok, so Emmy read my entry for the other day, and said,”You really should put a step by step instruction on your blog.” So, I thought about it, and thought she was right. After all, I did link to a lot of places with a lot of good info, but what if those places go away? So, here is a step by step of what I did to recover my dying drive.
- Put old drive back in as slave. Make sure you have enough room on your master drive for the entire old drive, freespace and all.
- Boot up your main drive. The failing one probably will not mount, that is why you are trying to rescue it, right? However, you will need to know what device it is. If it is actually the slave off the master, it will probably be /dev/hdb something. So goto a konsole and type mount, that will give you a list of all partitions, mounted or not that are available on your system. Find the one you are looking to recover.
- Type : dd_rescue /dev/hdb3 /home/mine/Backups/olddrive.img
The Command, The device, This is the directory you want it backed up to.
- Make sure the directory you are backing up to has plenty of space on that partition. If you run out of space, you may not recover what you wanted.
- Watch it run… watch it run for a very long time… watch it stop on errors for a long time. Find something else to do.. Watch a movie or 10.
- When it finishes, you should be able to do an su or sudo depending what distro you are running. You need access to write to system areas and do admin tasks.
- losetup /dev/loop1 /home/travis/Backups/olddrive.img
- That will set the image you just created as a loop device.
- You will then want to mkdir /media/olddrive or whatever or where ever else you want to reference it.
- mount -t reiserfs /dev/loop1 /media/olddrive
- You will need to know something of the mount command, and what file system type you have. With Linspire, it was Reiserfs. Also, you can exit the console at this point if everything was successful.
- I was then able to open /media/olddrive in konq and see everything from my old drive and copy it off. I love Linux and ddrescue!
I hope this helps someone as much as all those other references helped me. At the very least it gives everyone one more place to possibly find what they need to know to save some important data! For good measure, here is another picture I recovered!