{ |one, step, back| } 54 to 63 of 193 articles Syndicate: full/short

Fireworks on the Fourth of July   08 Jul 06
[ print link all ]

We had some fireworks on the 4th of July … Unfortunately they weren’t the usual kind.

Fireworks on the 4th

It is a tradition in the US to fire off fireworks on the 4th of July in celebration of Independence day. Well, the Weirich household had some fireworks, but it’s not what you would expect.

What we thought at the time was a really loud firecracker from the neighbors turned out to be a close lightening strike, probably hitting the phone line. I discovered later that my DSL router (attached to the phone line) was dead (as in no lights, no power).

After a picking up a new DSL router on Wednesday from the phone company, it still didn’t connect and the phone company promised to send a technician out one Friday. Arrgh! Three days with no internect! Sigh.

The technician arrives Friday, checks out the wiring and decides to upgrade the “system”. Part of the upgrade is another new DSL router (different model from the replacement unit I picked up Wednesday). We connect up the laptop to the DSL router and everything looks great.

So once the phone guy leaves, I start hooking up the rest of the network: firewall router, network hub, wireless base station, and the other computers in the house.

And nothing works.

It looks like the lightening not only took out my DSL router, but it also got the firewall, network hub and wireless base station. Fortunately, I have another firewall and hub in my spare parts box.

Bad Cables?

I’m not certain of the total extent of the damage yet. The cables running to the other computers in the basement seem to be bad now (tested by against my working laptop). Since I don’t have long enough replacement cables, I haven’t checked out the network cards in two of the computers yet.

I am a bit surprised by the cables going bad. I understand delicate electronic equipment fried by lightening, but the cables are just wires and connectors. For them to be bad must mean the strike was strong enough to short them out somehow. And that doesn’t sound good for the network cards at the other end of the cable. Sigh.

On the good side, the my desktop computer that sits right next to the network equipment is up and running on the network. So one would that the network card in it is ok. However, it does seem to be a bit slow when browsing web pages. I mean really slow. I timed it against my laptop. What loads two seconds on my laptop takes over 20 seconds on the desktop. But that sounds more like a network configuration error than a hardware issue. Sigh, more work to do.

At any rate, it looks like there will be a run to the local computer store soon.


comments

Delete Your RubyGems Cache   02 Jul 06
[ print link all ]

Several people have been having RubyGems issues.

Deleting Your RubyGems Cache

Several people have been reporting problems where RubyGems doesn’t find a gem on RubyForge, or gives other strange errors. It seems there was a gem on RubyForge that gave the Gem indexing software some headaches. And as a result, the gem index was corrupted. If you downloaded the corrupt index, then you may be experiencing strange problems as well.

The good news is that the problem is easy ot fix. Just delete the gem index file. You can find it in the directory reported by the “gem env gemdir” command. For example:

$ gem env gemdir
PATH_TO_DEFAULT_GEM_REPOSITORY
$ rm PATH_TO_DEFAULT_GEM_REPOSITORY/souce_cache

Where PATH_TO_DEFAULT_GEM_REPOSITORY is your default gem repository.

If you run on a Unix system, you default gem repository is probably non-writable from your regular user account. In that case, you will need to use “sudo” (or its equivalent) on the “rm” command. You will probably also have a secondary writable cache in your .gem directory that you will want to delete.

$ rm $HOME/.gem/source_cache

The next time you run gems, will will refresh the cache by downloading the index from scratch.


comments

Write a Proposal for RubyConf   22 Jun 06
[ print link all ]

We Need Proposals

Write Up Your RubyConf 2006 Talk Proposal

David A. Black is asking for proposals for RubyConf 2006. If you have an idea for a talk, please feel free to propose it for the conference (and you can use this page). The deadline is June 30th, so don’t delay.

RubyConf has always been one of my favorite conferences to attend. If you are thinking going, then consider this my personal invitation to attend. I hope to see you there.


comments

Some More Ruse Related News Items   10 Jun 06
[ print link all ]

When I checked the wiki last night, I found that over 100 pages had been updated.

Not Spam, Just Weird Stuff

So I started checking out exactly what had changed. It seems that almost all changes were by a single anonymous individual. Over the coourse of 7 hours he touched over 100 pages and reverted them to the earliest possible version. What’s up with that?

It may not be spam, but it certainly counts as destructive behavior. So, I threw him in the tarpit and all his changes into the tarit. In 20 seconds I wiped out his seven hours of hard work.

I hope he had a good day. I certainly did.

New Ruse Logo

And in other news, we have a new Ruse Wiki logo:


comments

Yes, I Am Going to RailsConf Europe 2006   30 May 06
[ print link all ]

There seems to be some confusion.

Spotted on the Rails mailing list:

Re: RailsConf in London
So? Is Jim Weirich coming or not?
YES: http://europe.railsconf.org/articles/2006/05/03/announcing-railsconf-europe
NO: http://skillsmatter.com/menu/255

The answer is YES, I will be there. I was a late addition to the list and my name might not have made it into the announcement from Skills Matter.


comments

Ruse Individual Page Feeds   28 May 06
[ print link all ]

Tim Bray wishes for individual page feeds.

Page Feeds

In his blog entry, Wikipedia, Tim Bray confesses that he has taken an interest in editing a few Wikipidea entries, but that its just impossible for him to keep it up.

He says:

I don’t have time to go check back every day or even every week, and that’s what a conscientious article minder ought to do. I totally need, for each article, a feed I can subscribe to that will summarize changes.

I have no control over Wikipedia, but I would like to point out that Ruse wiki does indeed suppply individual page RSS feeds. So, if you are interested in monitoring a particular page, you can put that page’s RSS feed into your feed reader and be notified of every single change.

For example, if you wish to monitor the home page of the Ruby garden, you would use the URL: http://wiki.rubygarden.org/Ruby/feeds/rss/HomePage.

If you use feed autodiscovery, each page should present three different feeds, one to the page (as noted above), one for changes to the wiki, and a feed to capture changes to all the wikis supported by that instance of Ruse. The ability to stay on top of changes to a wiki is an important tool in the fight agaist wiki spam.

One interesting side effect of individual page feeds is the use of message pages. On RubyGarden, I created a page named JimWeirich/Messages and subscribed to that page’s feed. Now, if you want to drop me a message on the wiki itself, just edit that page and I will be notified of the change.


comments

Our First Spam on Ruse   19 May 06
[ print link all ]

The new Wiki is up for 26 hours and we got our first spam attempt.

Ruse is Now Running RubyGarden

Chad and I quietly moved Ruse into production to support the RubyGarden wiki Wednesday morning. Spam immediately stopped with the new wiki software, mainly because the spam bots don’t know how to update Ruse pages (yet).

I figured that we would get a grace period before the spam starts. Well, here we are … about 26 hours after deployment. Here’s a look at the logs:

Notice the two red postings. They were made by an anonymous user and triggered the spam filters, so they went directly into the tarpit. Non-spamming users won’t ever see that spam.

So, it looks like it is working. It will be interesting to see just how effective Ruse turns out to be.

Oh, by the way. I just checked the logs and we have served over 11,000 wiki pages so far in the day and a half that we have been running.


comments

Spam, Spam, Spam, Spam ...   10 May 06
[ print link all ]

Today’s topic is Spam … and what we are doing about it.

Spam by the Numbers

Anyone who visits the RubyGarden wiki regularly has probably run into wiki spam. You know what I mean, defaced pages with hundreds of links to questionable web sites. All done with the goal of increasing Google page rank.

Just to give you an idea of the magnitude of this problem, make a guess on how many time during the past 7 days someone tried to deface the RubyGarden wiki with spam.

Got a number? Its probably too low.

According to the logs, we had 18,139 attacks against our wiki. In just seven days! Over the past few weeks we have been averaging between 17,000 and 20,000 attacks in a 7 day period.

That’s a lot of spam.

Fortunately most of the attacks went directly into the wiki tarpit where only other spammers saw the results. Only about 250 attacks made it to the real wiki where they needed to be cleaned by hand.

(For those who aren’t familiar with a wiki tarpit, it is a shawdow wiki behind the real wiki where spammers are directed. The spammers spend all their time updating a virtual wiki that no one, except other spammers, will ever see. The goal is to have the spammers waste their time instead of ours.)

Now the tarpit isn’t perfect. Sometimes legitimate users get sent to the tarpit instead of the real wiki. If you ever went to RubyGarden and saw spam on almost every page, you were probably in the tarpit.

But, cleaning up 250 spams instead of 18000? That is a pretty good success story.

But We Need Something Better

As good as the tarpit approach is, we still need something better. The UseMod wiki software we are using makes it painful to clean up spam. The average page needs about four clicks to despam, with a lot of hard to automate decision making in the process. See this demo for a look at what I do to clean up a UseMod wiki page. Go ahead, click now. I’ll wait for you.

That’s a lot of work. Despamming several hundred posts can take hours.

Ruse

Ruse is new wiki with built-in anti-spam features. It supports UseMod style markup, so all of the RubyGarden pages can be easily migrated into it. It has an integrated tarpit that makes despamming a page a single button press. In fact, Ruse can move all of an author’s pending posts into the tarpit with a single click. Ruse can mark edits as spam based on either content (e.g. linking to a known spam site) or IP address (coming from a known spammer).

Best of all, Ruse makes it easy to distribute the job of detecting and marking spam across the regular contributers to the wiki.

Watch this demo to see Ruse in action.

The Beta

Chad and I have setup a mirror of the RubyGarden wiki at http://rubygarden.org:3000/Ruby. This is a trial run of the software before we commit to using it. Feel free to check it out, kick the tires and beat on it a bit. Shoot, if you have a secret desire to be a spam writter, go for it, just to see what happens.

You can post anonymously, or sign up for a guest account. After a certain number of spam-free postings, guest accounts are upgraded to full member accounts.

Oh, the account “spammer” with password “spammer” is already setup if you to see how the wiki reacts to spammers.

But remember, this is a beta trial and content of the wiki will be reset before it goes “live” for real.

Documentation is a bit skimpy right now, but we are working on that too.

Enjoy.


comments

Reconfiguring Today   25 Apr 06
[ print link all ]

The OneStepBack site will be up and down today, 25/Apr/2006

I am upgrading software and doing a bit of apache reconfiguration today, so the site will be up and down today … no need to panic.


comments

Ruby on Rails Podcast   02 Mar 06
[ print link all ]

Geoffrey Grosenbach recently invited me to talk on the Ruby on Rails podcast.

Ruby on Rails Podcast

Geoffrey Grosenbach recently interviewed me for the Ruby On Rails podcast. He introduces me as the “Santa Claus” of the Ruby world (listen to find out why). Perhaps I need to let my beard grow and were a bright red outfit to the next RubyConf.

It was a fun interview, I hope you enjoy it. You can find it at http://paranode.com/~topfunky/audio/2006/Jim-Weirich.mp3.


comments

 

Formatted: 21-May-13 06:27
Feedback: jim@weirichhouse.org