Bluefin Tuna

The BBC is reporting that the bluefin tuna fishery in the Mediterranean may soon be shut down. That would be a Good Thing™. For full details I recommend watching the Deep Crisis episode of Scientific American Frontiers with the adorable Alan Alda or listening to this episode of Science Friday. The gist of it is that Mediterranean fisherman are harvesting way too many tuna and unless we make a change, we're bound to do to tuna what we did to atlantic cod. You've heard of Cape Cod, right? Just try to find a cod there and you'll understand the consequences.

I've been mulling over an essay about wolves which fits in very nicely to this topic, but I think it's deserving of a much longer post so I'll hold my tongue until then. I will just say that to date we as humans have been very ignorant of our place in our ecosystem. Somehow we imagine that because we're intelligent, we're immune from changes we make to our environment. Sadly we've been grossly mistaken and unless we learn to treat our resources wisely and with respect, we may not have them much longer.

tags: 

Ma Bell Innovates?

It appears that Qwest is adding some actual features to their phone service. The new service "allows users to see who’s calling their home phone, listen to voicemail, forward messages, manage their contacts and place a phone call." Actually sounds pretty cool. It's nice to see that a 800lb gorilla out there isn't just resting on its laurels. Still isn't enough to convince me to switch back though.

tags: 

Scamware

CNet is reporting that there is a crackdown on so called "scamware", software that tells you that something is wrong with your computer and thus you need to buy some software which they conveniently will sell to you. I think my wife ran into some of that today. She was looking for info on how to fix the rear wiper of our van (pop the cover and tighten the 10mm nut, if you were wondering). One of the sites popped up another that said she had some Win32 virus and she needed to install their anti-virus software. Well, since she was on an Ubuntu machine there was exactly 0% chance that she really had the virus, so something was definitely awry. No clue if that particular software is from the vendors that Washington state is targeting, but it sure was interesting to run across the story on the same day.

tags: 

VoteGopher.com: Getting Down To The Real Issues

For a while now I've wanted to create a full list of all the political topics being debated and how the various candidates feel about them. See then I could rank them and come up with an algorithm to figure out who most aligns with my view. Luckily, I decided to google around first and I found somebody already did it: Vote Gopher.

Vote Gopher is a non-partisan site devoted to getting facts out, without any spin. I've only been browsing around for a few hours tonight but so far I'm impressed. I compared their candidate position statements with some I found at other places around the net and they appear to all agree, so from what I see their information is accurate. I've also been giving them a very critical eye regarding neutrality and thus far I see no reason to doubt them.

What I find most refreshing about the site is that it skips past all the mumbo jumbo and gets straight to the details. No more yammering about how old McCain is or whether Obama is wearing a US flag pin, as if those things really matter. The real questions are what will the next President do and they have extensive statements from each candidate on that.

So far I've found that I'm pretty split on both candidates. In fact, both candidates are surprisingly similar in many areas, such as stem cell research (both favor) or carbon cap-and-trade (both favor). What's nice is that generally the areas they agree on are the ones which align with my views (and I suspect most American's, hence the concensus).

Don't wait. Run over right now and sign up for an account. Start tallying up your issue votes and see who you really support.

tags: 

UTOSC Day 1

My first day at the Utah Open Source Conference is just about done. I really need to get to bed so I don't fall asleep during my presentation tomorrow. That would be embarrassing. I only made it down at 6:30pm for the dinner and keynotes, which I'm glad I attended. Mac's talk was great and so was Paul's, although it did seem to drag on. Maybe that's because I needed to go to the bathroom. I also had a chance to visit with a few Linux newbies at my table, which is always fun. But the highlight of my day had to be meeting Harleypig. Thankfully, no speedos were involved.

tags: 

The Truth Comes Out

I have long been a critic of many things our current government, as faithful readers are aware. I came across a very insightful interview with Michael Chertoff which I found both surprising and depressing.

The good news is that in some ways, Chertoff has some good ideas. For example,

The larger challenge -- and frankly one that is further out -- is to find a way to partner with the private sector to enable and encourage them with some to the capabilities that we have to increase their defensive capacities, but on a voluntary basis, meaning not making them do it or regulating them into doing it. But instead offering them the opportunity -- much the same in the non-cyber-world, we go to people who run power plants and dams and we share information and best practices that they can use to defend their own assets.

That's a great use of government resources. It's not in private industry's interest to make security a priority, since security is a cost with no immediate return. The government can fund research, encourage secure practices and require security. That makes us all better off and combines the advantages of legislation and free markets.

Next he addresses the recent hubbub about laptop seizures,

The only thing that happened recently is that I ordered the policy to be put online in the interests of openness and transparency. We get about 80 million people a year coming to our airports, and a very small number are put into secondary inspection and that's based on some suspicion that the inspector has about the person.

It is that pool of people in secondary that have their things gone through, they can have their luggage and documents gone through. And nowadays because you can bring contraband through on a laptop, they can have their laptop looked at.

If things are really as he describes, it really doesn't sound that outrageous. What I think is that the policy they posted is written poorly and doesn't indicate what's actually going on. So if this policy only applies to those who are suspected of something and therefore brought in for secondary screening, put that in the policy already! This whole flap would have been avoided.

Now, on for the more interesting bits. Wired asked him about the huge mess knows as the no-fly list. He says,

In the airport environments, supposing there is a terrorist Jim Smith and that person should be on the watch list, the question is how do you distinguish them from the other Jim Smiths and the answer is you need an additional bit of data, such as a birthday.

That would override or eliminate most false positives.

So the solution to a bloated list is to make the list even bigger? Mr. Chertoff, when you realize you're at the bottom of a 10 foot hole, the first thing to do is stop digging. There is no way that 1,000,000+ terrorists are walking around in this country just chomping at the bit for their chance to hop on an airplane and blow it up. It's not realistic. Given that 99% or more of that list is cruft, of course you're going to have false positives. That's all you're going to have and even in the off chance you find a bad guy, everybody will assume it's just another incorrect assessment. The whole no-fly list needs to be junked.

And then the shoe drops. He reveals the true motive for most of the "security" measures deployed of late.

If you stopped using the watch list and basically anybody could get on a plane without knowing their identity, sooner or later something would happen -- and people would lose their lives, and then there would be another 9/11 Commission and we'd hear about how you had this system and you would have kept them off and these people lost their loved ones on a plane.

Let me rephrase that for you. "If something happens, even if I had no way of actually preventing it, my butt is going to be dragged before Congress. I would rather inconvenience hundreds of millions of innocent people than risk that to happen. At least then I would be able to say I had 'done something'."

What we really lack here is a way to effectively measure how well security mechanisms are working because terrorist events are very rare. Between the time the World Trade Center was bombed the first time and when it was attacked on 9/11, we very well could have said "whatever it is we're doing, it must be working". Well clearly it wasn't but how would we know that? Chertoff even gives us a great example of this,

I don't know if they do it anymore, but when I was a kid we all had polio shots, and after a while, you just don't know anyone with polio. And the question was raised was, why are we taking these shots? There's not that much polio around. And one of the reasons there's not that much polio around is that everyone is getting inoculated.

It's very easy to measure whether a polio vaccine is working because it was so widespread and results were quickly available. It's simple to see that spending money on the polio vaccine is worth the money. The same is definitely not true of terrorism. We can spend billions (as we have) and still not know whether we've actually made a difference or not. That's money wasted for no appreciable amount of security, and that folks is the current motto for the Department of Homeland Security.

tags: 

Recovering After a MySQL Replication Failure

I just solved a weird MySQL replication problem and thought I would share with you all. First, the background. I have a master and slave running with one-way replication. The slave just sits by waiting for his time to shine, but otherwise doesn't do anything. Well, last week the master had a problem with the filesystem. I can't recall exactly what it was, out of space or something. It confused the heck out of the master and so it basically shut down. One of my co-workers fixed the problem and got the master running again, but the slave was in a pickle. Here is the error it was showing:

Relay_Master_Log_File: mysql-bin.031
     Slave_IO_Running: Yes
    Slave_SQL_Running: No
           Last_errno: 0
           Last_error: Query 'DELETE FROM foo WHERE bar = 1' caused different errors on master and slave.
                       Error on master: 'Got error %d from table handler' (1030), Error on slave:
                       'no error' (0). Default database: 'baz'
  Exec_master_log_pos: 118871

Because it thought the command failed on the master, it refused to continue. I can't say it's an altogether bad plan since data integrity is generally the main theme of a database (yes, cue the jokes about my using MySQL in the first place). The question became, how do I get the slave to start up again. "SLAVE STOP; SLAVE START" didn't have any effect.

The trick was suggested to me by a post at mysql.com which pointed out a tool new to me, mysqlbinlog. See I figured the simplest thing would be to restart replication at the step just after the "failed" transaction, since I knew that transaction had actually succeeded. But I have no idea how the binlog counters work, so I couldn't just make up numbers. It's some kind of binary offset. Well, mysqlbinlog will show it to you.

# mysqlbinlog mysql-bin.031 -j 118871 |less

Which of course showed me this:

# at 118955
#080605 18:59:09 server id 1  log_pos 118955    Query   thread_id=3218  exec_time=0     error_code=0

So on my slave I restarted replication at offset 118955 and like magic, the slave ripped through the binlogs and caught up in practically no time at all.

tags: 

Scope Creep

Accordig to The Register a man was indicted on fraud charges for opening thousands of accounts with ETrade and Charles Schwab. He had them send micro-payments, just a few cents each, and then collected the booty. Interesting story and may he rot in jail. But what I find particularly interesting is that his "undoing came as a result of the USA Patriot Act, which requires financial businesses to verify the identity of their customers". Wait, wait, wait. I thought the Patriot Act was to catch terrorists. Surely that isn't what they're claiming.

Make no bones about it, all these new laws to fight the "war on terror" have ulterior motives. Sure, they may help find terrorists but there is no doubt that LEAs have received a carte blanche for laws they've always wanted. They've learned well from Microsoft, it appears, and have passed around so much fear, uncertainty and doubt (FUD) that our lawmakers have given them pretty much whatever they want. What we really need is to settle down and quite acting out of instinct and fear, and instead use a little of that logic stuff.

tags: 

Book Review: Starswarm

Title: Starswarm
Author: Jerry Pournelle
Published: 1999 by Tor
ISBN: 0812538935

It's been a while since I've read a work of fiction, and even longer since I picked up any science fiction. That's a real shame because there's some good stuff out there. I learned about Jerry Pournelle from the TWiT podcast, which I listen to regularly. On the show he seems to be quite abreast of technology and somebody (could have been him, not sure) recommended Starswarm as a good first read of his. That's how this book and I became acquainted.

The story is about a boy named Kip who lives on a planet named Paradise, somewhere far far away from Earth. It's a colony run by a corporation named Great Western Enterprises. The planet is fairly earth-like, although not a clone by any means. First thing you might notice would be the blue sun. The local flora and fauna are different, although similar too. Some of the notables include centaurs, haters and the lovable starswarm. The latter is some kind of a water based plant which can grow to immense proportions but is largely misunderstood by the humans.

Well it turns out that Kip isn't an ordinary boy. For starters he has a computer chip in his head which he can use to talk to a mainframe computer. He's also not who he thinks he is. During the course of the book, he does eventually find the truth (which I'm trying hard not to give away). The events leading up to the discovery and those that unfold afterwards are pretty interesting and exciting.

I was rather pleased with the book. It held my interest well and I finished it in about a week. The story flowed smoothly and the science all seemed to fit in with the environment.

The one complaint I might make would be that the book ends rather abruptly. One page there's an intense standoff and the very next the book is over. There is very little in the way of resolution beyond a quick hand wave that "they lived happily ever after". In one way that might be a good thing as it left more pages to be filled with helicopter chases, gun fights and other assorted excitements. On his website, Pournelle indicates that Starswarm may be developed into a series, something that I'm certain it would be well suited for.

I enjoyed the book immensely and would recommend it to others. I undoubtedly will read more Pournelle novels.

tags: 

Pages

Subscribe to zmonkey.org RSS Subscribe to zmonkey.org - All comments