Posts tagged ‘partitions’

Liar’s Poker: a tricky problem, part 2

I recently wrote about a card game called Liar’s Poker and my endeavours to find an optimal strategy for the final round. Some extra progress has been made, but it’s still a long ways off. Despite what I wrote when I edited my previous post, I’m no longer convinced that we can adapt Simplex or a gradient descent algorithm to solve this. It turns out that although the gradient function is piecewise linear, there are an exponential number of different linear regions in it, and I’m not convinced we can do something like Simplex without enumerating them all. but here’s some other stuff Reid and I have done on the problem:

More strategies and proofs and stuff →

No Updates for a While…

So, I haven’t updated in a while, but at least I have a good reason! I’ve been meaning to switch to Linux (specifically Knoppix, but if things continue this way, I’ll install Gentoo) for a while, and I finally decided to do it. Mac has helped me a lot with this, and I’m sure he’ll help me a lot more with it soon. The plan was this: shrink the Windows partition on my hard drive, and add a Linux partition so I can dual boot. Well, Partition Magic had a major error shrinking the original partition, even though I had enough space to do it. None of the Windows recovery CDs worked, but we eventually got some recovery floppies for Partition Magic itself. These managed to tell us what the problem was, and the fact that it cannot be fixed. We booted up Knoppix (which worked fine, because it runs from a CD), and managed to get read permissions on the now-corrupted hard drive. This was enough to back up a lot of things to CD. I had backed up the really important stuff before (like airline reservations), but this allowed me to save my entire music collection, most of my movies, and various other things that I can do without, but not easily replace. Then we reformatted the hard drive. That was a little sad, but it’s done now, and I think it’ll be good for me to redo everything, because anyone who has worked on my computer knows that my system of directories is haphazard at best. I made a 20GB partition for Windows (I’m really only going to use it for games and ShareScan), and the rest went to Linux. Because we reformatted the hard drive, I had also lost the backup copy of Windows that came with the computer (HP has this great idea where they don’t give you the boot disks, and instead charge you extra to recover your system for you, when you could do it yourself). So Mac used a Windows XP CD that he had. We put in the serial code, and it installs and boots fine. I go to start the many, many security updates (4 more security problems were discovered in IE yesterday alone!). I get to the updates, and they claim that my serial code is not valid! ARGH! The part that bugs me is that my main reason for switching now is that things were starting to go really, really wrong with Windows. For example, I couldn’t use my POP3 client to check my school email any more, and I couldn’t open webpages in new windows any more either. Things were going really wrong (the last time I’d seen this, within 2 months our copy of Windows 95b was corrupted). And now I can’t even reinstall!

So I try to put Knoppix on the other partition. First, I read several tutorials online, all of which turn out to either be out of date, or for the German-only version of Knoppix, or other things like that. I finally find the tutorial for my system, and start that. Knoppix claims I haven’t partitioned my hard drive yet! and when it tries, it says that it only has read permissions on the hard drive, and can’t reformat it, even with root privs (this is supposed to happen, Knoppix is given read-only privs to stop you from screwing up whatever OS you’re currently running). I finally manage to get Knoppix to try to install, and it can’t. It gives this really cryptic error message, and quits. This whole thing is so frustrating. I know that once I get both OSes installed with the proper software and updates, I shouldn’t have to do this ever again (at least, not until I buy a new computer). Nonetheless, this is very frustrating. Well, I’ll go bug Mac and Michael some more, and hopefully they’ll be able to help. In the meantime, I’m writing this from the computer lab in the LAC.

On a brighter note, today the Senate stopped the constitutional amendment to ban gay marriage (if you don’t want to get a free account with the New York Times, go to BugMeNot). I’m quite glad this has happened. To the best of my knowledge (please correct me if I’m wrong), no proposed amendment has ever tried to take the rights away from a small subset of the American people (some have taken rights away, like Prohibition, the 18th Amendment, which took the right to drink away, but that was from everyone, not a select demographic). While I am not gay, I’m rather pro gay rights. While he didn’t mention homosexuals in his poem, I’m reminded of Martin Niemöller’s poem “First They Came”:

First they came for the communists, and I did not speak out-
because I was not a communist;
Then they came for the socialists, and I did not speak out-
because I was not a socialist;
Then they came for the trade unionists, and I did not speak out-
because I was not a trade unionist;
Then they came for the Jews, and I did not speak out-
because I was not a Jew;
Then they came for me-
and there was no one left to speak out for me.

If we let the religious right oppress homosexuals, what will stop them from oppressing atheists, or Muslims, or women (sadly, there are still a few nut-cases in power who think women should not have the right to vote). Though I guess part of my mentality comes from going to Mudd – according to the Princeton Review, we are the 11th most homosexual-friendly campus in the country (I’m too lazy to find the link to this statistic, but if you really want, I’m sure you can find it). I have several friends who are openly gay, and one professor who got married in San Fransisco to his partner (husband? I’ve always heard gay couples referred to as partners, but I don’t see why they’re not pairs of husbands and wives). Anyway, I think this is just wonderful.

Lets see… I’ve been playing a fair amount of ultimate frisbee lately. Now that Carrie’s back, and people read my summer-l about how West Nile Virus really isn’t that deadly (It isn’t! The media like to hype things like this, because it boosts ratings. If you want a copy of my email, write to me, and I’ll send it when I get my computer back up), we actually have enough people to play games (last week, we just played catch). It’s a lot of fun, and hopefully it’ll build up my endurance before soccer starts in the fall.

Well, I should get going, but hopefully I’ll have my computer up and running soon, and then I’ll post more.