Friday, December 26, 2008

Happy Christmas and layout changes

I made some minor layout changes: "supporting links" is now called "discussions"! I can tell you're excited.

Few people seemed to understand what a "supporting link" was; I was never quite happy with the term anyway. The idea had been that, since blogrevolution builds its page based on the number of recent links it gets from bloggers, links back to those links to the articles should be called "supporting links".

Hopefully "discussions" will communicate that intent better.

I'm going to play around with layout changes that could be a bit more substantial, sometime soon.

Happy Christmas holiday.

Wednesday, October 29, 2008

Bumpy road ahead

For the next few days, 100% of the news is going to be about either McCain, Obama, or both, so news clustering isn't going to be as effective.

Also, around election night people will link to early election results and voting problems in small-town newspaper sites that have poor SEO. Blogrevolution has an easier time parsing sites that have good SEO, so the results may be interesting.

Monday, October 27, 2008

Minor new features: news and tour

... if you're reading this, you probably came from a new sidebar that shows recent site news on the front page!

The site news sidebar will show a few recent posts from the official blog (i.e., this). If, out of some fit of laziness, I don't update the official blog for awhile then the sidebar will automatically hide itself, and will return just as automatically when there is a new post.

The other new feature is the site tour. The tour is an attempt to explain many of the site's features. I always thought they were obvious but I learned that when showing the site to new people in person they often didn't understand what different parts of the site were doing. The curse of knowledge in action! Since I can't show the site to everyone in person, I created a screengrab-heavy page with an explanation of the site's features (and foibles).

Saturday, October 25, 2008

New favicon

Yesterday I came up with a new favicon for the site.

The previous favicon -- actually favicons -- were shrunk-down letters cut from a now very old version of the logo. I couldn't decide which one so I made a favicon for every letter in the name and had it randomly select one every time the page was rebuilt.

The old favicons, though not without a certain charm, I decided were getting a little too out of step with the new design so I decided to make a make a new favicon based on the new logo, more specifically, its first letter b.

My first thought was to have just the first letter with a radial gradient from white to transparent. This would create a cool, unexpected halo effect when the icon would be displayed in front of background color (google's new favicon does this, if you haven't noticed).

So here's my starting point:


Sharper eyes will notice that I'm using a pretty old version of photoshop.

Anyway, shrunk down this looked like this:


And I thought that looked OK. The transparency effect when you selected a page with this icon  history menu in Safari looked so much cooler that I decided to experiment with that.

My next attempt was to try changing the radial gradient from white to the sky blue color that the site uses as a background.

This ended up looking something like this:

... which didn't really do it for me.

Next I tried reversing the direction of the gradient. The result of this attempt was:

Now we're getting somewhere.

But there's a problem: the little 'b' just looks like a random scribble outside the context of other letters from this font, especially when scaled down this small.

I rasterized the type layer and used the clone stamp tool to make a fake 'b' that looks more recognizable under these conditions, and played around with the gradient scale.

At full size, this attempt looked like this:
A resized version of this is the final version of the favicon.

And that's my favicon story.

Wednesday, October 22, 2008

New feature: quote quality

I've added a new feature to Blogrevolution: quote quality thresholds.

Under each story we show a list of the blogs in Blogrevolution's database that have linked to that particular story. The way Blogrevolution's parser grabbed these quotes wasn't always ideal and often included cruft that wasn't related to the story in question.

To address this I created a statistical model of high- versus low-quality quotes, and on the site this can now be seen limiting the number of quotes that are shown to a smaller number of higher quality quotes. The remainder are still shown without context under the residual final list item, as seen below:

The statistical model is a Bayesian model, like all of the other decision-making models that Blogrevolution uses. It's still something of a work in progress, attaining about 6 out of 7 percent accuracy for quote quality.

One of the interesting things about a model like this is that it discovers all sorts of unexpected relationships that you can nonetheless be sure of, through the magic of empiricism. For instance, presence of the word 'this' was a predictor of a high-quality quote, while appearance of 'that' was a predictor of a low-quality quote. Some of the others you can guess, like the percentage of all-caps words or use of passive voice verb constructions.

Additionally, there is an additional threshold on the uniqueness of the quote - if the context isn't unique enough compared to the other quotes it will get shunted to the residual "also" category of shame at the bottom.
Finally, all of the quotes from the different sites are now listed according to the order that the model scores them, rather than in order of recency as it had been previously.

A new look

I've pushed live a redesign of the site main user interface, partially as a result of some collaboration (read: my pestering for advice) from some friends.

The use of subtle gradients based on the existing color scheme really make the site seem to glide right off the screen, in contrast to the flatness that a predominantly solid color layout communicates. 

The new look looks more professional and more interesting, and perhaps it will enhance the experience of visitors to Blogrevolution.

Tuesday, December 11, 2007

New version up

We've got a new version out today.

About the biggest new feature is the ability to cluster stories by topic.

If you click the new "cluster" link at the top of the page, the stories on the page will be rearranged into groups by topic. The rearrangement is performed entirely using javascript and does not consume an additional page load. This is taken as a preference and on subsequent views the page will be rearranged automatically as soon as it loads.

Other features include improved sentence parsing, so the context information provided for related links will be clipped so that 1) not too much information will be lost 2) but otherwise will be cut at likely at sentence boundaries. The result is usually much more readable.

We've also included a link so that you can find related stories right from the main page, which previously you needed to click on there "permalink" link for each story in order to see, which most people may not have realized.

The next few enhancements will likely mostly be related to look and feel.

Sunday, November 25, 2007

New features

So, we pushed out another new version yesterday.

Here are some of the new features:

  • Related links for the exact post — For each of our sources that links to a top story, we now provide a link to the permalink to the exact post (if we're able to detect it) rather than just a link to the whole blog. This makes blogrevolution much, much more useful.

  • More related stories — we now calculate the similarity of top stories to each other by their content, as well as by context. We offer a list of both if anything comes up

  • Favicons everywhere — because they're cool


Also the RSS feed items now link to the permalink of each story at blogrevolution, instead of linking to the anchor link on the front page.

We should have some more revisions coming down the pike relatively soon.

Saturday, November 24, 2007

New version coming soon

Get excited.

Friday, May 11, 2007

It's the little things that count

BlogRevolution now will be able to truncate text at sentence boundaries.

It's surprisingly how much better it looks this way.

Sunday, April 22, 2007

RSS Engine update

We've testing the new RSS engine, and it's looking pretty sweet.

Still might be awhile before we see it deployed, however.

Monday, April 09, 2007

Related links and RSS engine updates

Recently our related story links for each story was returning far too many false positives.

The algorithm we came up with was weighted to heavily towards chronological overlap -- what people were linking to at the same times. Which was fraught with error, because our spider can't be everywhere at once, and so as a result too often stories came up as similar because of sheer coincidence.

Today I fixed the related links algorithm up so that it uses a much more robust distance statistic. This will mean that the related links will now be much more accurate. Hopefully.

Internally we've been working a lot on our RSS and Atom engine, which when it goes to production will improve many aspects of the site.

With just a few more features we will be able to go past our undeclared beta stage, and there will be much rejoicing.

Monday, March 26, 2007

New features rolling out today

Everyone loves YouTube, so we added a sidebar for recent YouTube videos today, aside from a number of minor aesthetic changes and internal enhancements.

Monday, February 12, 2007

Added posts similar

If you click on the permalink for any story, you'll now see a list of any stories that are contextually similar.

The method we use to do this is very crude yet it seems to be highly accurate. And, it's very fast and adds almost no time to the time it takes to build an update.

The content of the actual story is not considered. For instance, Barack Obama's web site shows up as highly similar to Hillary Clinton's web site, though if you were looking for similarity based on the content of those pages alone it would be very difficult to detect that relationship.

At some future date we might add a second list of stories similar by content, or we might decide it would be better to combine the two similarity measures.

Tuesday, January 23, 2007

Skipped an update

We lost power here at BlogRevolution HQ which looked like it caused some database corruption, so we skipped an update while we repaired the database and brought everything back online. Should be back to our regularly scheduled program in a few minutes.

Sunday, January 21, 2007

New models cooking

Here are BlogRevolution HQ, we're working on better mathematical models for the article summarizer.

The article summarizer totally borks up a summary about 3% of the time. We're hoping to cut that down by about two thirds.

Saturday, January 13, 2007

Javascript/CSS Compression

We've turned on compression on our javascript and css files. This will improve performance a little bit for most users, but could cause problems for Netscape 4 users. Since we appears to get no traffic from Netscape 4 users, (hurrah!) it shouldn't be a problem.

Progress marches on.

Saturday, December 30, 2006

Goals

John Edwards' YouTube announcement of his candidacy is the #1 link on the front page at the moment. This is actually a mistake -- all of today's "new" links are actually old and should have registered yesterday or the day before, however they are showing up now because of the correction of a bug. Today was what you would call a major news day -- the execution of Saddam Hussein -- so this may distort the results. This kind of thing is likely to occur from time to time as long as this site in use at the same time as it is in development, and it should serve to remind people that BlogRevolution's results should not be confused for scientific.

On an unrelated note, I feel like reflecting on my goals for the site.

BlogRevolution will never be earth-shattering or paradigm-shifting like YouTube or even digg, but what I would like the site to be is cool and useful and interesting to a lot of people. I hope that it has largely acheived these goals already. It is already cool and useful and interesting to me, for example.

No active promotion has even been done for BlogRevolution, we only recently opened the site up to search engine crawlers to peruse a couple of months ago. There are a few more features that I'd like to see added and a few more bugs lurking aware out there -- the string functions need some work, for example -- and after that the site may be ready for a final "release".

Thursday, December 28, 2006

The Corner's RSS feed is broken

Here's an interesting fact, classic right wing blog The Corner's RSS feed messes HTML entities.

Here's what the content of a recent post:

I didn#39;t realize that the Scott Johnson from the 2002 World Net Daily article who wrote to the State Department about Arafat#39;s responsibility fo... . . .

Normally, if for some reason you are worried that a single quotation mark (or 'apostrophe' you may be aware) isn't allowed at a particular point in HTML or XML markup, you may encode it using the following string of characters:

'

The Corner's blog appears to encode it as follows:

#39s;

Which will not actually work. It will just look like a literal '#39;'.

Whatever content management system the National Review uses, it looks totally custom. Some have noticed the strange format of their permalinks, which in fact appears to be a base64-encoded md5 or sha1 hash. Using base64 to encode such a hash will add no new information and only make the string longer. Also this completely throws the math in the linked article off. Maybe they meant to encode a binary hash but accidentally left hexadecimal mode flipped on.

The query fragment in this url, on the other hand: http://nrd.nationalreview.com/?q=MjAwNjEyMzE= decodes to '20061231', an obvious representation date. Maybe it base64 encodes all primary keys? And it uses (inefficient) fixed-length char strings as primary keys everywhere?

Monday, December 25, 2006

Site down

Our ISP had a serious failure on our server and disk data. At least it happened on a very low traffic day. The BlogRevolution site will be relatively easy to bring back online but all the other stuff we had on that server may be gone forever.

UPDATE: Back as of about 1:00 AM this morning.