Log in
Feed | Contact |

    postSo.. I'm an MVP

    I got the nomination back in June, and whole process is kinda weird to the point where I even thought I didn't win.  Today I received notice that, for the next year anyway, I'm an ASP.Net MVP.  I'll have to update that profile page as soon as I get time.  The MVP Award is recognition for an exceptional level of participation and expertise in the community over the past year.

    This is a big deal.  It's the kind of thing that can open doors in a person's career, and I'm excited about it.

    In a somewhat related note, I discovered this week that comments aren't working on the blog.  Since the site uses ASP.Net, which is supposedly my area of expertise, I guess I better get on that.  Probably have it fixed by this weekend.

     

     

    posted by Joel Coehoorn on October 1, 2009 at 04:57 PM    Comments (2)

    postStackQL

    If you're a programmer, you may have seen a little web site callled StackOverflow.com start showing up in your search results recently when looking for help with programming problems.  This site is a collaborative effort between two well-known programming bloggers: Jeff Atwood and Joel Spolsky.  What sets it apart (aside from some really good SEO) is that it's a seamless combination of a wikipedia-style site and a digg-style site.  That means that the best stuff rises to the top through voting a la Digg, and if you see something that isn't quite right (and you've earned enough "trust") you can fix it a la Wikipedia.  It's really a powerful combination.

    One of the things about the site is that the owners are using a very permissive liscense for the content, and they're standing behind it to the point where they release a monthly dump of the entire database for anyone to use.  Now, normally I wouldn't bring up a programming topic like this on the family blog.  However, I have decided to make use of that data set.  If you look to the left, you'll see a new "StackQL" link in the Navigation section.  That links you to a page that allows anyone to query the database directly (within reason).  Some of those queries are potentially complicated and time consuming.  And it's hosted on the same server as this blog.

    So, there you go. I'm posting about it here because it has the potential to impact the availability of this site.  It's not impossible to get a flood of queries there that would temporarily take this blog offline, and I wanted anyone who comes here to know about that.

    Update: StackQL has moved to it's own dedicated host on a much faster connetion, so this should no longer be an issue.

    posted by Joel Coehoorn on September 21, 2009 at 10:12 PM    Comments (1)

    postNew Server

    The news is now 3 weeks old, but this site is running on a brand new server.  The old system was starting to become unstable due to age, and I was also worried about the age of the disk and important data we keep there. 

    server

    Some details on the new Server:

    • It runs an ultra-low-power Atom processor.  That's hardly server material in normal circumstances, but this is an extremely low-traffic site.  There's no sense in paying for power I don't need.  And even though it's just an Atom, it's still a significant upgrade: dual core with hyperthreading for 4 logical processors, each at 1.6Ghz and 2Gb of RAM.  Compare that to my former 700Mhz PIII with 384MB RAM.
    • The hard drive is now 4 times larger than before, with plans next year to move to a raid array of some kind with even more space.
    • It uses Windows Server 2008.  It's not the absolute latest server operating system from Microsoft (R2 is out now), but it's close.
    • Why yes, that is a ServerFault.com sticker on the side of the case.

    A big part of the transition to the new server was moving this blog.  And thats where the problems came in.  You may have noticed over the past few weeks that pages could sometimes take much longer to load than they should.  There was a problem with the old dasBlog software on this particular system that was causing significant slow downs.  As much as I tried, I was unable to track the issue down.  Therefore, as of right now this blog is now powered by BlogEngine.Net

    BlogEngine.Net has a much younger (and more current) code base and has some nice new features, like the new Twitter widget on the left.  Keep looking over the next few weeks as I spend some time setting up a few more little quirks like that.  I even managed to get the link format working so that old bookmarks should still function (there may be some edge cases, but I think I got that vast majority of it).  Most importantly, pages load at an acceptable rate.

    It's not all roses, though.  Getting my theme moved over was a lot of work, and there are still some rough edges here and there.  There are also definitely some quirks with the new software, and on more than one occasion I had to fix some obvious bugs in that code (I plan to submit patches back after I've had a chance to check them thoroughly).  Hopefully I found all the "gotchas".  Finally, I'm not sure the old rss feeds will work.  I know that one there were a few people with RSS subscriptions.  I hope to fix that glitch this weekend, but if that's you and stumble on it before then, it's probably best to just subscribe to the new feed url.  If anyone finds any other problems, please let me know via the contant e-mail icon at the top of every page.

     

    posted by Joel Coehoorn on September 11, 2009 at 01:46 PM    Comments (1)

    postIE8

    FYI: For anyone who's interested, Internet Explorer 8 became available today. You can get it from Microsoft's web site.

    posted by Joel Coehoorn on March 20, 2009 at 02:29 AM    Comments (0)

    postBuild a Blended Banner Bitmap

    I thought I'd share what goes into making a banner image like the one I'm currently using at this web site. This is as much so I'll remember how to do it next time as that I think anyone will find it useful, but that's reason enough :)

    The first thing is that my tool of choice for this is Paint.Net. Paint.Net is freely available, so go download it if you don't already have it.

    Next, you need to find out what size (in pixels) the image needs to be. The image used here is 958x102 pixels.

    After that, pick out what pictures you want to include in the banner and put a copy of each in a convenient place.

    Now what I do is create a new blank image with the canvas size set to my desired banner size (again: 958x102 here). Set the background to be white. Then open each image image you want to use in turn. When you open an image, select the area you want to use for the banner and crop it down to that area. It helps to leave a little extra to the right and left of the portion you want to see. After that, resize each cropped image so that it's height matches that of your banner (again: 102 pixels here). Keep the aspect ratio or it will look weird.

    When I'm done with all that, I'll end up with several image thumbnails in the top right of the Paint.Net application, along with the blank background. The next step is to decide on layout order. When choosing the order, one thing to consider is that you want to put similar colored images next to each other to make blending easier.  For example, here I placed an image with leaves next to an image with grass, and an image with snow next to a brightly-lit store. If you need space for a title, as I did, make sure you pick an image that will work well with your title for that area.

    Now it comes time to start placing the images onto the background. I want to leave a little space at the left side of the image so that I won't have too much noise behind the web site title.  This means I have to start on the right-hand side and work my way left rather than the other way around, even though left to right will seem more natural for most people. For each image, copy the image in Paint.Net and paste it into a new layer over your background. Carefully drag the image to it's place, remembering to overlap the previous image enough to be able to blend them together. Hit the escape key to clear the selection rectangle.

    Now it is time to use the gradient tool. Make sure the tool is in transparency mode, and very carefully click and drag your mouse from a point near (but not too near) the edge of the image closest to the previous image until just enough of the previous image shows through that the two images appear to be blended. If the previous image ends too abruptly you may need to do some of the same for this edge of that image as well.

    When all the images have been added this way, go back to base background layer and use the rectangle tool to fill in the section under your title with the desired color (for this site I used black). Now blend the left edge of your final image to this new background the same way you blended all the previous images together.

    And that should do it.  You can save the project (in case you want to come back and tweak later), and export to a jpeg for use on your own site. When exporting, remember that this is for a web site and not a photo contest. You can choose a lower quality level for the jpeg, because the images are often so small already and the reduced quality will just serve to hide the blending. Don't go too far, but remember that some people are still on dial-up. My last image came out 13.8Kb. This one was 20Kb.

    Thanks for reading, and I hope someone will find this useful.

    posted by Joel Coehoorn on March 18, 2009 at 03:45 AM    Comments (2)

    postRSS Reader

    Judging from my server logs, someone's added this site to their rss reader.  Normally that wouldn't be remarkable, but whoever it is has IIS7 on their machine serving the default page to the public.   It's odd to see a home machine configured to expose the web server to the public, and yet have it serving the default page.  I thought about running a more detailed query, but that would be rude, especially since whoever owns that server will likely see this.  You know who you are ;)

    posted by Joel Coehoorn on August 1, 2008 at 07:37 AM    Comments (0)

    postTheme Patch

    I contributed my fix for the Project84Grass theme --on which this blog is based-- back to the project.  This constitutes my first real Open Source contribution.  Unfortunately, it's just a style sheet change, not "real code", and it looks like the project is not currently well maintained so the fix may never make it back into production.

    posted by Joel Coehoorn on April 21, 2008 at 06:34 AM    Comments (0)

    postHeroes Happen Here

    Took yesterday off of work to go to a free Microsoft conference.  Got some free stuff, including a few pens (of course), a lunch box, and a free copy of Vista Ultimate.  So, of course, I spent yesterday evening installing Vista.  So far it's working much better than the buzz would lead you to believe.

    posted by Joel Coehoorn on April 18, 2008 at 11:16 PM    Comments (0)

    postWireless Mouse

    One of the other programmers moved on for greener pastures last week.  Another programmer took his old cube, since it has a window.  I took his mouse.  As you can probably tell from the title, it's wireless.

    So far I'm non-plussed.  There's no thumb button that tells your web browser to go back, and the scroll wheel is frustrating- it feels like the wireless connection just drops scroll actions now and then.  Of course, it's still less frustrating than my old mouse, which would actually go backwards nearly as often as not, so I'm keeping it for now.

    posted by Joel Coehoorn on April 5, 2008 at 04:00 AM    Comments (0)

    Calendar Archive

    <<  November 2009  >>
    MoTuWeThFrSaSu
    2627282930311
    2345678
    9101112131415
    16171819202122
    23242526272829
    30123456

    View posts in large calendar