Posts tagged C#
Web Scraping using C#
2Now and then I come across a set of data on the Internet that I wish I could toss into an Excel spreadsheet for sorting but more than a few pages and copy/paste is out of the question. For times like these I generally wrote a web scraper using C# and some crazy regular expressions. Today I needed to grab a much larger dataset that is generated by a very old application we have on hand. The interface for the app generates very clean HTML but unfortunately its data is stored in an old proprietary format and More >
Monitoring Wikipedia Pages for Vandalism
5Today at the office we were forced to once again deal with a bit of Wikipedia vandalism, something that really shouldn’t happen as frequently as it actually does. Not only were two of our pages modified, but one of actually deleted by a Wikipedia moderator for “blatant advertising”. (To be honest it was a bit spammy, but I don’t think it crossed the line when compared to other high profile brands like ours.) This is something we’ve had to deal with on Wikipedia before but I guess that is the nature of high profile pages. Since we hadn’t been keeping a More >
Archos 7 Client Server Social Development
0With the number of connections we have to people and information sources on the Internet I am finding it difficult to maintain control over the information firehose. While having the Archos has helped me stay up to date I still find myself inundated and unable to manage everything as much as I would like. I was already looking for a development project for the Archos and this seemed like a good place to start. Since the processing power on the Archos is limited and I do not want to drain the battery by doing hundreds of queries every few minutes More >
Rovio Room Positioning Data
0The built in Northstar system for the Rovio allows us to track the current position of the robot in real time using IR room beacons. When I started the Automated Mapping System for my Home AI I ran into a few issues, mainly that as the Rovio gets further from a beacon the positional data became less reliable. I realize this is to be expected but it makes mapping the robot dataset to a real-world view of the home a bit difficult. That is when I realized I don’t need the robot to see the More >
Rovio Automated Room Mapping
2Using my C# Rovio library I wrote an autonomous room mapping application that randomly sends one of my Rovio’s around the room plotting data as it goes. The application uses the Rovio’s Northstar data to fetch the current x/y/theta of the robot and it then plots any obstruction at that location. (I also went ahead and start plotting both the wifi and Northstar signal strengths on separate images that I can use as overlays.)
I currently sample the Rovio status every 100ms, and process movement commands once every 5 seconds. This gives me a sample size of 50 points per More >