Degraded Network Performance Mystery
Filed Under Geek on 2009-11-24, 13:46 | 19 Comments
I bought a gigabit switch awhile back when I needed to replace an existing switch with something with more ports. I bought the DLink DGS-2208 8-port 10/100/1000mbps switch as it had great reviews for its price point.
Here’s my current network topology:
Internet comes in from Comcast to a Linksys WRT54g v4 (10/100) wireless router running the Tomato Firmware v1.25.
Connected to that Linksys router is an ethernet cable that runs the length of my apartment to a DLink DGS-2208 gigabit switch.
Connected to the DLink:
– Macbook Pro (10/100/1000)
– Xbox 360 (10/100)
– Media Server box running Windows XP (10/100/1000)
Previously the Media Server box was connected to the Linksys router and was doing just fine on all file transfers. When I moved the Media Server to the gigabit switch I started having problems.
The first problem was streaming video to the Xbox 360 through Windows Media Player 11 Media Sharing. Previously I was able to stream 1080p video across the network without any problems whatsoever. After moving to the gigabit switch I was having trouble streaming anything. It would lag, freeze up, and even sometimes the Xbox would tell me that it had lost the network connection to that machine. I found this article which addresses an issue with Windows Media Extender and Windows Vista and resulting poor video quality. Not exactly my issue, but the suggestion of clocking the Media Server NIC down to 100mbps instantly cleared up the video streaming problem. (I tried enabling flow control, but that didn’t work.)
So great, streaming to the Xbox problems solved. Then I tried to move files from my Macbook Pro to my Media Server. Horrendous speeds. Significantly slower than previously when the Media Server was on the 100mbps router. We’re talking 30kB/s. It’s painful. I tried enabling Flow Control (both Rx and Tx) on the Media Server box, no luck. Something’s not right.
I’m at a loss. Anyone have any ideas?
Tagged: DLink, linksys, networking
-- 19 Comments
Flickr Blog This to a WordPress Draft Post
Filed Under Geek, Hacks and Mods, Wordpress on 2009-11-19, 00:10 | 1 Comment
This is a boring geeky entry, but if you’re looking for this info it might be helpful. I’ve started a new blog (yes, another one) called My Cat Is Broken. It’s a collection of pics and videos of cats being, well broken. Usually it’s our cats. Everyone knows that Flickr is a great place to find cat pics, and I’ve started keeping my eye out for pictures of cats being dumb. When I find one, a quick click of the Blog This button, some title and text and it’s instantly on my site.
But I don’t necessarily want these pics to be published instantly, I’d rather they be saved as drafts for manual publishing later. I found links to an old plugin that’s not even available in the WordPress plugin database called Flickr Blog This To Draft, but the site was down, the plugin unavailable, and I was impatient. I took matters into my own hands.
A quick hack of the xmlrpc.php (in the root directory of my WordPress install) and I was in business. The line to change (as of WordPress 2.8.6) is line 2097 which has the following code:
$post_status = $publish ? ‘publish’ : ‘draft’;
There are multiple ways to change this, but I just commented out that line and hardcoded $post_status to draft.
// $post_status = $publish ? ‘publish’ : ‘draft’;
$post_status = ‘draft’;
The thing to remember here though is that when you upgrade WordPress to the next version for yet another security issue, you’ll have to redo this modification. If you make a copy of your xmlrpc.php file then you can just run a command line diff against the upgraded version after every upgrade. If that’s the only line that changed, copy it back, otherwise jump in manually and re-find that line and fix it. Note though that this means all of your posts will be automatically set to draft. In my case that’s perfectly alright, but you may want to toss some code in there to determine this based on your title or something (i.e. titles that start with “DRAFT” go to drafts, but anything else gets published).
-- 1 Comment
Help Support NIMBY!
Filed Under Fire Art, SF Bay Area on 2009-11-05, 14:26 | 1 Comment
NIMBY has been fighting a battle with the city of Oakland for quite some time now. It’s not an easy battle, and as you can guess it’s not a free one. While NIMBY makes some money via tenants paying rent, a large part of their fundraising comes from throwing events that the city is not currently allowing. In order to stay open and to continue to fight for the right to throw fundraisers, NIMBY needs your help.
Your support of NIMBY directly affects hundreds of us that use the space to build our art. On a personal level NIMBY is the home of Ardent Heavy Industries, aka Interpretive Arson. The existence of NIMBY means that our art has a place to live and grow! If you aren’t familiar with NIMBY (or even if you are), check out the video they put together too! Please help pledge whatever you can to keep things going!
Tagged: NIMBY
-- 1 Comment
Journey to the End of the Night Halloween 2009
Filed Under Events, SF Bay Area, Video on 2009-11-03, 17:39 | 1 Comment
The Halloween edition of sf0’s “Journey to the End of the Night” had a massive turn out. Well over 600 people showed up to play. There isn’t a final count as we ran out of waivers and maps for everyone and only 600 of those were printed. But regardless of the limitations, the getting kicked out of venues, and other hiccups, everyone had a great time. And I have to point out the best description of the event (via ombwah): At one point whilst ombwah was pouncing on a fleeing rabbit. A police officer asked me.. ” whats this, a Jump into the street and Die game?
Rather than playing in this dangerous game of dodge traffic and chasers, I spent the evening being one of those chasers to dodge and helping out at Checkpoint 3 (yes the one where we got kicked out of the garage). What follows is my proof submitted to sf0 (photos are also up on flickr as usual):
My evening started late as I scrambled to turn a briefcase into a backpack using only climbing rope and a carabiner. Success finally and I jumped on my bike to race down to Justin Herman Plaza, where a small group of eager players was already forming 30 minutes prior to the actual meeting time. I rolled around the corner to meet up with my fellow chasers. We were briefed, tied on pink ribbons, made plans and then disappeared into the night to stake out good places to ambush players.
Dressed in my white slacks, white jacket, and baby blue t-shirt I looked like an old vice squad officer on vacation from Miami. The nondescript black briefcase that looked like it could be either holding drugs, large sums of money, or divorce papers was a nice addition. Inside the briefcase was 2kg of candy, a pink ribbon, and a video camera. The plan was to pop open the briefcase in front of players and watch them scatter. That was the plan at least.
I locked up my bike and started wandering the streets, briefcase in tow. The first few players I encountered didn’t quite get it. I popped the briefcase, asked if they wanted any candy, they said “no thanks” and just continued walking to Checkpoint 1. One player did go for the offer of candy. After asking about any illegal additives, he reached into the briefcase, brushing the pink ribbon aside, grabbed some candy, said “thanks” and continued on to Checkpoint 1. Absolute failure.
I gave up on the briefcase ploy, tied the ribbon around my arm and just started yelling at people. The bus stop on the corner of the block was packed with people, every single one of them keeping an eye on me once my identity was known. There were many looks of confusions, often followed by a quick sprint away from me from other players. It seems that many of them either weren’t listening when the game was explained or didn’t see my chaser ribbon as I stood in the middle of a crosswalk, players streaming by each side of me as I yelled “I could tag every single one of you right now”. Fortunately for them I didn’t have the heart to tag someone only a few blocks from the start of their journey.
After feeling like Moses in a crosswalk, I decided visibility was what I needed. That meant more ribbons that would make it obvious that I was a chaser. After a 15 minute hunt for my misplaced bike, I headed back to the plaza to grab a handful of chaser ribbons from Sam. I affixed them to every part of my body and headed back out into the night.
I spent some time biking north of Market, and west of Checkpoint 5, hoping I’d run into those players that thought they were being sneaky taking a long way around to different checkpoints. Nope, either I was too far ahead of the pack, or they were taking more direct routes. I headed over to Checkpoint 3 to give them a hand.
While dismounting from my bike in the safe zone of Checkpoint 3, I saw a player approaching. I feinted as if I were going to give chase and he scrambled. Carrying my bike, I half-chased him down the block. He screamed “I’m in a safe zone!” to which I yelled back “Then why are you running?!” Light bulb went off, he stopped and I directed him to Checkpoint 3.
Up on the roof of the parking garage I found two agents pulling players aside, whispering questions to them and then zip-tying bells to their ankles and shows. As I attempted to figure out what in the world was going on, the parking garage security guy came up and told us we couldn’t use the 9th floor of the parking garage. Long story made short, security kicked us out and we setup shop on the sidewalk in front of the entrance to the garage. They were cool with this. The one security guy even stood at the doors and helped direct confused players to the line we had going.
Boy was there a line. At on point there were so many players in like that we had to give up asking questions and just started zip-tying ankles, one after another. I have no idea what 30-40 of the players that came through Checkpoint 3 looked like, but I could probably identify them by their footwear. I spent the next couple of hours at Checkpoint 3, watching as friends, familiar faces, and complete strangers came to get their manifests “signed” with a zip tied bell or the occasional sparkly pipe cleaner.
Then it was off to Noisebridge for the after-party where some players had already arrived after traversing the entire course in about 2 hours.
Tagged: Journey to the End of the Night, sf0
-- 1 Comment
We Are Douchebags
Filed Under Funny, Video on 2009-11-02, 15:25 | 3 Comments
Tagged: douchebags
-- 3 Comments
Google Navigation.. Yes please
Filed Under Gadgets & Hardware, Video on 2009-10-28, 11:59 | Leave a Comment
I think I’m sold on the Motorola Droid (and Android 2.0) with the addition of Google Navigation:
Google Navigation takes the awesomeness of Google Maps and puts all of it and more onto your Android device.
Up to date map data, easy searching, voice navigation, live traffic reports, searching for stops along your route, satellite AND street view?! About the only downside is how it behaves if it is unable to get a data signal. I’ll still keep my Garmin eTrex vista HCx for those off road trips and for logging tracks, but looks like Google Navigation blows other navigation software out of the water when it comes to driving.
More details over on the Google Blog.
Film of San Francisco in 1958
Filed Under SF Bay Area, Video on 2009-10-23, 15:58 | 2 Comments
One of my favorite songs (“Alone in Kyoto” by Air) and my favorite city, San Francisco. How can you go wrong? The pairing of the music with the video gives me goosebumps.
Jeff Altman restores and posts old videos from his grandfather on Vimeo. He recently discovered that this one, labeled “Alameda 1958”, included some great shots of San Francisco at the time. Can’t wait to see more!
Tagged: San Francisco
-- 2 Comments
Videos of Bullets At 1 Million Frames Per Second
Filed Under Video on 2009-10-11, 19:51 | Leave a Comment
A breathtaking video of a variety of bullets flying through the air and their impacts at up to 1 million frames per second. The videos are from Kurzzeit, a German ballistics measurement company that also sells cameras capable of 30-1,000,000fps at a 312×260 resolution. The cameras are made by Shimadzu.
Tagged: bullets
Sights and Sounds of the Blue Angels
Filed Under Photography, SF Bay Area on 2009-10-09, 13:01 | Leave a Comment
It’s Fleet Week again in San Francisco, and as usual the debate over whether the Blue Angels are awesome or that they just represent war rages on Twitter and elsewhere online. Everyone has their own opinion, but politics aside, I love the technical aspect of these incredibly powerful jets flying over our city with talented pilots. Having roof access I went up and snapped a few pics. Additionally I grabbed my audio recorder and was able to capture a fly-by. Wondering why people are complaining about the noise? Turn your speakers way up and check out this MP3 to find out.
Tagged: Blue Angels, Fleet Week
The Beatles Rock Band!
Filed Under Video Games on 2009-09-14, 16:54 | 1 Comment
I haven’t had a chance to play, but I hear The Beatles Rock Band lives up to the awesome intro video I enjoyed a few weeks back. We’re planning to jam this weekend, but I was curious to know what songs were available. After finding out, I figured others might want to know more info too, so I put together a song list for The Beatles Rock Band of what’s available now and what will be available via downloadable content later. I had the intent on linking to individual mp3 purchases since I often find myself wanting a copy of music from video games for listening even when I’m not playing. Unfortunately I was reminded that The Beatles aren’t available for legal download anywhere yet. *sigh* Oh well, I’ll update the page when iTunes finally offers them. In the meantime you can purchase the actual CDs (I know, physical media, right? ick) or acquire the songs through various other means. If you still haven’t picked up The Beatles Rock Band, Amazon’s got it for $53.99-56.99 depending on your console (Xbox 360, PS3, or Wii). That of course is just the game and not the custom wireless guitar controllers they made which you can pick up for $99 apiece or get them in the Limited Edition Premium Bundle. Or you can always hit eBay for cheaper prices.
Tagged: The Beatles Rock Band
-- 1 Comment