Category: FromPreviousBlog

  • Congressional Districts in Full JSON Format

    The challenge is how to get ERSI shapefiles into a full json format. I had MATLAB fired up and was going to generate this originally. It turns out a lot of the data are already there. Experience matters *a lot*. It took me two weeks to do this before. This time it took about 5…

  • Removing Images of a certain size

    I had a bunch of bogus images in my directory and I was going through and manually deleting them. I wised up a little bit and thought I would write a quick script. While it ran, I thought I would share with you. I had: 25760 images and probably about 15,000 of them were bunk.…

  • Road Trip to Camp of the Woods

    Yes, pretty much a full day driving, but a great chance to catch up and enjoy each other as a family.

  • Import Access Data into Excel (via VB and ADO)

    I had a lot of data in MySql in a rails application, but I moved to Mongo on a new application and wanted to give the client a nice archive of excel files for each client. It has been a long time since I’ve worked with visual basic, but it came back quickly. I was…

  • UTAPS: Mark an IDT as complete

    UTAPS is terrible software. I wasted a half hour today going through the source code to figure out how to mark an IDT as complete. I have no idea how folks who don’t understand web codes can navigate this system. Why not include a button? Really?

  • Get congressional district data to display on d3.js

    I’m trying to get congressional district data to display on d3.js so I can do some cool overlays. The trick is to get matlab to comply.

  • Wind speed calculation

    I want to know the impact of wind on endurance. So we have something like this: This gives us 8 cases of wind direction: From this we can infer that going to the center from one of the 8 directions. So an overall flight path would look like this: If each grid cell is a…

  • Radar parameter estimation

    Here we tackle what a Radar needs to accurately measure a target’s position, size and motion. (This is nothing new, just a placeholder for some of my notes.) First of all, everything depends on $SNR$, and the parameter estimation happens in the main computer of a Radar. The theoretical rms error of a measurement is…

  • Render CSV in Rails

    First I read the docs at: rubydoc.info to understand how FasterCSV is now in the ruby standard library. Then, I set up the following code: https://gist.github.com/tbbooher/1700200 This gives me a pretty flexible solution to render csv, but I’m really interested to see if this is a good way to go. Your comments are appreciated.

  • Your key with fingerprint … is not authorized to access heroku with Ubuntu

    This error was pretty hard to solve. I emailed heroku support and they recommended: “https://github.com/ddollar/heroku-accounts”:https://github.com/ddollar/heroku-accounts bq. For git commands to work git needs to use the ssh key associated with that account. It’s probably choosing a key associated with a different account which is causing these permissions errors. You can use a ~/.ssh/config file to…