Author Archives: benfranske - Page 21

Proposal for the reduction of trackback spam

I was just sitting here and doing some thinking. Right now I have a renamed HTSRV directory which has practically eliminated trackback spam. Sooner or later the trackback spammers are going to get as smart and annoying as the comment spammers (especially as comment spamming becomes more difficult). My suggestion is to entirely rethink how trackbacks work. This is something that b2evolution could take the lead on as I don’t think anyone else has done this yet.

I’ve been thinking about how we could use captchas or other antispam techniques on trackbacks. Instead of having one trackback url for each post that’s listed on the site how about dynamically generating trackback urls as requested by users. Don’t list the trackback url on the post page, instead give a form for requesting a private trackback url. This would give us a place to use a captcha to verify a real user. Each user would get a unique and randomized trackback URL that would be valid for only one trackback. The temporary URLs and which article they are associated with could be stored in a new database table and a function could snag incoming trackbacks and post them to the appropriate article.

This would have to be a core feature change because it means multiple trackbacks per article and a database schema change. I know that a lot of people think the blacklist is the end-all be-all solution to spam and it helps a lot but it can’t solve everything. The HTSRV rename solution is temporary at best and this plan allows for a lot of future flexibility including the possible future ability of tracking how many trackback urls are request by a given IP in a given amount of time and rate limiting that. The idea of having temporary, user specific trackback URLs is a much more permanent solution to the trackback spam problem than what I have seen in the past. The current focus on reducing comment spam will certainly have the long term effect of pushing more spammers to trackback spamming and if b2evolution has a flexible framework in place for dealing with that threat we’ll be much better position to meet the challenge.

Wrapping up in Vegas

Friday January 6, 2006 – Matt got pretty hungry at the convention yesterday so before we left the Plaza we made a quick stop at McDonalds for some breakfast. We parked at the Sahara valet parking today and although they did hassle us a bit we made much better time getting to the show today. Our primary area of concentration today was the South Hall. Most of the computer stuff is found on the second floor of the South Hall. Big booths here included nVidia, Creative, AMD, Palm, HP and others. The lower floor of the South Hall is primarily home automation and audio equipment. We did take a run through there as well but stayed mostly focused on the second floor. In the afternoon we split up for a while and I continued looking through booths in the Central Hall and made a stop at the DL.TV booth where I bumped into Vinny again. After watching the tail end of the DL.TV recording for the day Vinny and I continued through the Central Hall. Around four-thirty we started getting tired and met Matt at the Hilton. Vinny took part in “Star Trek the Experience” to recoup some of his parking money while Matt and I called another friend to find some good places to eat. Ed suggested we try the Rio if we were interested in a buffet. After last year’s less than stellar buffet experience at the Mirage I was a bit hesitant but Matt and I decided to give it a go. The biggest challenge was to locate the buffet once we got inside the Rio. Signage in Las Vegas casinos is notoriously lacking. Eventually we located the buffet and although it wasn’t a deal it was a much better experience than last year. I’d probably visit it again although I have heard the buffet at Steve Wynn’s new Wynn Casino is quite good as well. After eating ’till our heart’s content we returned to the Plaza. I did some catching up on the WiFi connection from down the street while Matt went out on Freemont Street.

Saturday January 7, 2006 – When I got up this morning Matt told me he was going to sleep in and get one of those famous cheap Las Vegas breakfasts so I headed down to the show by myself. I parked in the Stardust lot today and hiked over to the convention center. On the way over I noticed $5 parking in the LVCC lot so I think we’ll try parking there tomorrow. I spent the first part of my day in the Central Hall. Soon after I arrived (around 9:45) the power went out in the Microsoft booth for everything that was powered from the ceiling grid (mostly lighting). It’s the first time I’ve seen a power outage at CES so it was memorable. A bit later I found out that DL.TV was doing a taping in the early afternoon so I spent a little time looking at the international marketplace at the Hilton before heading over there. In the past year I’ve learned to be more interested in what is going on internationally with consumer electronics as a lot of what you see on retail store shelves is rebranded, imported electronics. You can find manufacturers of anything from alarm clocks to Ethernet switches to displays who are ready and willing to cut a deal for custom branding right at the Hilton. This is one of the ways I see what’s coming down the pipe a year ahead of schedule, it’s also one of the most under visited and under reported parts of the show. One of the other things you notice is that the weekend crowd can be quite different from the weekday crowd at the show. Many of the executives head home on Friday night or Saturday morning and you see more of the average public on the weekend, especially in the car audio area. After spending a bit of time looking over the international products at the Hilton I walked back to the DL.TV taping. I took a series of behind the scenes photos of the taping which will hopefully be picked up by the folks at DL.TV. After the taping concluded I hooked up with Matt and we cruised the South and Central Halls some more looking over the products coming out from the major players. Around 4:30 I headed off to church at the Las Vegas Cathedral and Matt drove back to the hotel to try and catch up on email. Matt picked me back up later and we drove out to the Orleans for dinner. This was another restaurant suggested by Ed but it wasn’t as big a hit as the Rio buffet, partly due to poor service and partly due to bland food but it was much less expensive. After dinner we drove down to the America Café in New York, New York where we had a slice of the New York Cheesecake (they have extra large slices here) for dessert. Once we got back to the hotel we packed up our second laptop and headed down to Freemont Street in search of a better internet connection. Matt did a little work while I watched the Freemont Street show and we topped it all off with a Krispy Kreme doughnut.

Sunday January 8, 2006 – Today is the last day of the show. We stopped at McDonalds on the way out of the hotel again to pick up a quick breakfast. I decided to go for the $5 parking across from the LVCC today which worked out quite nicely. We spent most of the day (which ends at 4:00) today playing games and attending product demonstrations in search of the elusive swag. I did end up winning a Creative Zen Micro/Photo digital media player along with a number of T-Shirts and hats although the total amount of swag given away continued to decline this year. One interesting product I did see today was a Bluetooth cordless phone from Uniden. The unique thing about this phone was that it would allow you to not only use a Bluetooth headset, but you could connect in your cell phone via Bluetooth and use it as a second line from any of the handsets. I think this product would be of interest to a lot of people with unlimited nights and weekends on their cell phones if Uniden could find a way to get the price down some more. After leaving the show Matt and I drove out to Metro Pizza which is supposed to be the local pizza joint in Las Vegas. The prices were great and our pizza had a wonderful crust if only a mediocre sauce. I would recommend trying Metro Pizza as an alternative to the many chains and casino restaurants found in Vegas. After finishing dinner we drove back to the hotel and headed down to Freemont Street to see if we could get an internet connection and some “deep fried Oreos” that Matt had been eyeing all week. The Oreos were interesting and novel if not especially tasty. Along the way we encountered some rather poignant Christian protesters in the middle of Freemont Street. I wonder how much this negative attitude actually works, especially with the street crowd in Las Vegas who didn’t take too kindly to the message of doom and gloom.

Photos from the road

Thanks to a free hotel WiFi connection I’ve been able to post many of the pictures from the CES/Grand Canyon trip already. You can view them here in my photo gallery.

Start the madness

Wednesday January 4, 2006 – After a brief and uneventful drive into Las Vegas we made a stop at Fry’s Electronics. This perennial favorite is probably the most interesting and best stocked brick and mortar electronics retailer in the United States. Known for their deals, Matt was able to pick up a five port Ethernet switch for $5 while I looked over the current prices and stock. Following our visit to Fry’s we drove back up the strip to the Sahara where we had lunch at the Nascar Café. I’ve eaten here before but I was distinctly unimpressed with the food this time and would probably not go back again. After lunch we walked over to the Hilton to pick up our show badge holders. The line was quite short and we had no trouble getting this done. By this time I thought our hotel room might be ready so we drove to downtown Las Vegas and checked into the Plaza hotel at the intersection of Main and Freemont. We ended up with a Freemont facing room on the 14th (really the 13th) floor providing a great view of all the action downtown. After finding an open access point and a brief email check we drove back to the Sahara where we parked and walked to the Hilton for Bill Gates’ pre-show keynote. Because we did not have tickets we ended up sitting upstairs in a ballroom watching via monitor but this is where I have always ended up watching it so that wasn’t a big disappointment. After a demonstration of what Microsoft’s view of a future day might look like we got to see the most extensive demonstration of Windows Vista to date. When Bill wrapped up we were pretty hungry so we drove down to New York, New York and had a late dinner at the America Restaurant. When we got back to the Plaza I went down to Freemont Street and watched two of the shows on the giant screen covering the street before returning to the hotel and getting some sleep to prepare for the first day of the show.

Thursday January 5, 2006 – The plan this morning was to park at Sahara around 9:15 and hike to the convention center but for the first time Sahara was monitoring their parking and wanted people to park in a $20 a day dirt lot across the street. Instead of doing that we drove to New York, New York which is an official show hotel and attempted to take the provided shuttle bus to the show. Unfortunately, we read the sign incorrectly and waited for almost an hour before finding the correct door and a bus came by. We finally made it to the show around 10:45. Last year I had a good time looking through the future technologies in the “Innovations Plus” area so after finding the DL.TV booth and my local friend Vinny we went off in search of that. Instead of the usual home in the parking lot tents Innovations has grown large enough to warrant an additional venue, the Sands convention center. This brings the total number of CES venues to four, the Hilton, LVCC, Sands and Alexis Park. We waited in a short line for shuttle to the Sands and spent the rest of the day canvassing the exhibits there. After returning to LVCC Vinny drove us down to Caesar’s and we had dinner at the Cheesecake Factory before Vinny drove us back to our car at NY, NY. Once we got back to the Plaza Matt went down to Freemont Street to watch the show and I caught up on some email and information from the first day of the show before heading to bed.

A winter road trip?

Monday January 2, 2006 – Longtime readers will know that for the past several years I’ve been attending the Consumer Electronics Show held every January in Las Vegas. This year is no exception. A few changes are in store. For the first time I’ve been able to talk someone else into coming along with me so Matt, a friend and owner of the St. Paul based Fast Computer Service Company, will be accompanying me on the journey. Observant readers will also note that instead of the usual quick fly in, fly out we’ve decided to make a road trip out of it. I’ve also tacked on a few days at the Grand Canyon on the way home which should be a fantastic experience. Of course I’ve had the room in Las Vegas booked since September and the room at the Grand Canyon booked since October, other than that we’ll be playing it by ear. When I got up this morning at 7:00 I saw that we had freezing rain in the Twin Cities which is not a great way to start a January road trip. Not to be deterred I headed over to St. Paul to pick up Matt and get some breakfast before leaving town. Thanks in part to it being a legal holiday traffic was very manageable even on the slippery roads. By about 9:15 we finished breakfast and headed south on Interstate 35. Once we got out of the metro area the roads actually got much better and Matt drifted off to sleep as I entered Iowa. With little fanfare we passed through Des Moines and turned West on Interstate 80. As both Matt and myself are licensed amateur radio operators we tried to find locals to talk to or someone who could direct us to an Echolink repeater from which we could connect back to a system in St. Paul and talk to people there. Unfortunately we were unable to find anyone in Iowa but were able to make contact with a local and connect back to St. Paul from Lincoln, NE. I continued driving until we got to Fort Kearny, NE where we stopped for dinner. I had a great Nebraska ribeye steak at the Whisky Creek Steak Restaurant. After dinner Matt took over the driving and being well rested from his mid-morning nap we continued farther west than I had originally planned all the way to Fort Morgan, CO. We soon found a hotel room at the Days Inn that included both a continental breakfast and an internet connection. The breakfast turned out to be a bit disappointing but the internet worked just fine and allowed me to tie up a few things that I hadn’t been able to before leaving town. Final mileage for the day was 851 miles, not a bad drive at all.

Tuesday January 3, 2006 – Matt seemed to have a little trouble getting the time change right this morning and ended up setting his alarm for two hours earlier than he needed to which I found a bit amusing. After a small breakfast at the hotel I drove us west along Interstate 76 and into Denver, CO where we continued along Interstate 70. While in Denver we were able to contact a fantastic local amateur radio operator who directed us towards an Echolink repeater and allowed us to connect back to St. Paul and talk with another friend back there. As far as Denver it had been very dry and our local contact explained to us that they had even been told to water their lawns and trees to prevent them from drying out and dying before spring. We were told to take a look at the snow in the mountains though where they had received 200% of normal snowfall. Matt enjoyed going through the tunnels and aside from some mildly slippery roads and low visibility we had no real problems. Once we got through the Colorado Rockies things dried up as we descended towards the Utah border. With the decrease in snow cover and the increase in sun the beautiful copper colored mountains began to show and I did stop at two scenic view turnoffs in eastern Utah to snap a few photos. Continuing through Utah I rediscovered just how far apart things are out here as I got a bit lower on gas than I’m comfortable with when traveling in remote areas. Eventually we stopped for dinner in Richfield, UT and Matt again did the evening shift bringing us even closer to Las Vegas than I had planned. Right now we’re settling in to the Coronada Suites in St. George, UT where we again got a decent room at a good rate with a continental breakfast and internet access included. Tomorrow we should be just a few hours from Las Vegas which will conclude the road trip section of the trip until Monday when we continue on to the Grand Canyon. The plan right now is to pickup our badge holders once we hit Vegas then check into the hotel and scope out the crowds until Bill Gates’ keynote at 6:30pm. Stay tuned for photos as internet connections allow.

Playing hard to get

In August 2004 I read an article by computer industry columnist John C. Dvorak about the digital divide being more about computer literacy and less about what equipment people have. At the time I was impressed by the article and searched for a copy to add to my digital article morgue of interesting bits but was unable to locate an electronic copy. The article was published in Computer Shopper magazine which is a somewhat sketchy publication and has changed hands and layouts several times. Of course they’re one of the few computer magazines that doesn’t post all their columns online. I held on to the original paper copy of that article for some time before deciding that I would never be able to find it when I wanted it if I kept the paper copy and recycling it.

Tonight I was catching up on some of my periodical reading and ran across a new column by Dvorak about democracy on the net which triggered a reminder about that old column. I decided that being an expert researcher in grad school and all I should be able to find a digital copy. I spent some time (probably too much) and tried all my usual research sites to no avail. I guess none of the big article reference houses (ProQuest, EBSCO, SIRS, etc.) think Computer Shopper is worth indexing and they’re probably right. On one of my last ditch efforts I was able to use an obscure research site for children doing school reports called the “Student Resource Center” which is run by Thomson Publishing/The Gale Group and which my local public libraray system subscribes to. Mission accomplished, one more article added to my personal morgue.

Recompiling a Debian Linux kernel package

I’m recompiling my linux kernel on one of my home (Debian) servers that has dual processors today. When I initially compiled the kernel on this system I mostly followed the instructions on this site. I’m going to base my recompile on those same instructions. If you’re looking for a very detailed guide to building a kernel package you might try this site.

The first thing I needed to do was make sure I had the appropriate tools to build a Debian kernel package (my preferred method of kernel installation) so I issued a command like this:

# apt-get install debhelper modutils kernel-package libncurses5-dev fakeroot

The next step is to download appropriate kernel source packages. I want both a 2.6.x and a 2.4.x kernel so I selected both:

# apt-get install kernel-source-2.4.27 kernel-source-2.6.8

To do this correctly you should change the kernel package config file to include specific (name & email) details about your package. I also made sure to set the SMP concurrency_level to 2.

# vi /etc/kernel-pkg.conf

Next I entered the source directory, unpacked the source and moved into the unpacked directory.

$ cd /usr/src
$ tar --bzip -xvf kernel-source-2.4.27.tar.bz2
$ cd kernel-source-2.4.27

Since I haven’t been having any problems with my existing kernel configuration and just want to make some changes to it I copied the existing config file into the source directory.

$ /usr/src/kernel-source-2.4.27
# cp /boot/config-2.4.26-20040815-1-chiefgreen .config

I like to modify my kernel settings using the menuconfig program.

$ make menuconfig

You want to clean existing build files before attempting a build.

$ make-kpkg clean

Time to build the kernel package, you can change the append information to match your specifics.

$ fakeroot make-kpkg --append_to_version -20051203-1-686-smp --initrd --revision=rev.01 kernel_image modules_image

You’ll get a warning about using initrd without the cramfs patch, we’re ok because we are using debian kernel sources and not pristine ones. Continue past the warning and take a break while your kernel builds. Next you’ll probably want to install your new kernel using the dpkg tool.

$ cd ..
# dpkg -i kernel-image-2.4.27-20051203-1-686-smp_rev.01_i386.deb

Check to make sure the boot loader is set to boot the new kernel, reboot and kick the tires.

If you want to add the MPPE patch to the kernel package you’ll need to do some additional work. I did this based on the instruction on this site. First get a copy of the MPPE patch.

# apt-get install kernel-patch-mppe

When you do your make-kpkg you need to add an –added-patches mppe command.

# make-kpkg --added-patches mppe --append_to_version -20051203-1-686-smp-mppe --initrd --revision=rev.01 kernel_image modules_image
During the build you will be asked if you want to include PPP MPPE compression. If you include it as a module after you reboot with your new kernel you can test it with:

# modprobe ppp-compress-18 && echo success

If this works, “success” will be displayed. If you are on a console or watching syslog, you may see:

ppp_mppe: module license 'BSD without advertisement clause' taints kernel.
PPP MPPE Compression module registered

These messages do not stop it from working.

If you find it’s taking far too long to build your kernel packages and you have other systems availible you may be able to use distcc to help speed the compiling process.

Open Physics

Christoph Schiller has written a free physics textbook and made it availible online for non-commercial use. I took a look at it and have a few ideas. First, he should make a printed copy availible via the fantastic Lulu publishing company. Secondly, I think he should make it officially availible under the Creative Commons Non-Commercial Share Alike licence. It’s essentially that anyway and it would provide a better understanding and probably better legal grounds to the same end.

Finally, this book is overly technical and not user friendly for the introductory college physics student or advanced high school student in the United States. I would love to see a more traditional US physics text be made availible under a free license like this. I found it difficult to locate common US physics units in this book (eg. 2D kinematics, 3D kinematics, springs, waves, light (wave, not particle) and lenses, magenets and electricity). It would be great if someone could put together a book that looked this professional but which was shorter and designed for a more introductory college / advanced high school course. If someone wanted to work collaboratively on a project such as this I would be thrilled to be a part of it.

One example of a free license textbook is “All About Circuits” which was originally a PDF document but has been updated and become an online reference. I do wish they would come out with a PDF formatted book again though, it looks much more professional when printed. This electronics textbook was licensed under the Design Science License which seems to be even less restrictive than the Creative Commons NCSA license.

the 5-in-1 network admin’s cable

I’m sure everyone has seen it by now but if you haven’t Michael Ossman’s site has instructions for building a series of adapters which convert a standard 10 base-T ethernet cable into a crossover, modem, null modem and Cisco console cable. You could also make additional adapters to create a UPS cable or just about any other serial data cable.

A plan to network enable your car

For years I’ve been thinking about a peer to peer wireless mesh technology for automobiles. In the past two weeks I’ve seen two tradepaper articles about wireless technologies for cars and I have yet to see this hit the mainstream “geek press” eg. Slashdot which has been somewhat surprising.

On November 14 Network World published an article entitled “U.S. pitches wireless highway safety plan” which discussed the US DoT plan called the VII project. The Vehicle Infrastructure Integration (VII) prject aims to reduce highway fatilities and improve congestion problems by transmitting warnings and road condition data to drivers and automobile computer systems via a 5.9 GHz short range (984 foot) wireless connection as you pass “Roadside Units” (RSUs). Data is gathered from your onboard computer and combined with GPS data, the data collection and transmittal is to be anonymous. You can read more about the proposed system on the concept of operations page.

One week later Network World published a second article entitled “GM to roll out intelligent car alternative” discussing the GM V2V plan based on the existing GM OnStar technology in combination with 802.11a/802.11p networking technology. GM already has a demonstration fleet with this technology. One advantage of this technology over the DoT VII project is that these devices are designed to talk directly to one another in addition to talking to roadside units (RSUs) so you can get more data in a more timely manner. One example of this advantage is that the V2V device will let you know if someone is in your blind spot by blinking a small LED on your mirror. This would be unsupported by the VII program which only periodically exchanges data. Some data would also be availible even when you are not on a road equipped with RSUs which is a stong benefit during initial deployment.

Overall I’m impressed with the decision by GM to do direct vehicle to vehicle communications along with communications to RSU. I think there is the potential to get much more valuable data much more quickly using a direct vehicle to vehicle mesh network than solely with RSUs. The RSUs are still an important piece of this though because they can track aggregate data for the roadway and provide statistics about the road itself (eg. temperature, etc) to the vehicles. I applaud the DoT for recognizing that getting widespread adoption will be much easier by committing to keeping data anonymous, this is one of the reasons I’m much happier about these proposals than Mark Gibb’s RFID tracking proposal. The one thing I would hope for is that GM would encourage and assist other automakers in creating a standard for vehicle to vehicle communications to encure interoperability of these systems between brands.