Tagged: programming RSS

  • euicho 7:29 pm on 3/5/2009 Permalink | Reply
    Tags: maine, , programming, projects, utility   

    Maine Power Outages Map 

    Working in a NOC, I often consult the two Maine power companies that have online outage information (there is a third that does not have such a feature). If I see many circuits go down at the same time I’ll check to see if there is an outage in the area by checking both those websites, then going to Google maps to see how far away the sites are from the current outages. This is a tedious process and I finally decided to do something about it by creating my own Google map with their wonderful API. I’d never used it before so this proved a great way to learn how to use it as well. After setting up the screen scraping to pull info off the power companys’ websites, getting the app to do just what I wanted, and working around some minor speed bumps, it’s done!

    powermap

    Google’s API is quite easy to work with, and I’m very pleased with the results. For most people this map isn’t very useful, and at any one time there are only a few markers plotted on it, but for myself it will be quite useful, and it was a great learning process. You can view the Maine Power Outages map at http://euicho.com/power

     
    • B 12:04 am on 3/10/2009 Permalink

      Well I love anything with Google Maps, though ironically I’m not using it as my major map view on my application at the moment, that may change if I get tired of OpenLayers issues with loading after being hidden (I’m already using GoogleMaps base layers on it anyway). Overall I love OpenLayers abilities to handle lots of projections seamlessly but I love the responsiveness of GoogleMaps (to use GoogleMaps i have to use a script to fit data on their projection). Anyhoo.

    • Big Hans 1:10 pm on 6/12/2011 Permalink

      I work in a NOC, too, and I love this map. It looks like BHE changed the format…any chance of an update?

    • euicho 9:35 pm on 6/12/2011 Permalink

      Thanks for the comment! I just noticed this as well last week. Should be a quick fix, I’ll update it early this week.

    • euicho 11:24 am on 8/2/2011 Permalink

      Sorry I’ve been crazy busy, but I finally fixed it today!

  • euicho 1:28 pm on 7/31/2008 Permalink | Reply
    Tags: articles, programming, , ,   

    Monospaced fonts CAN scale 

    Like many programmers, I have a couple of favorite fixed-width “coding fonts” that I use for writing and viewing source code, however most of them are bitmap based and do not scale up “prettily” by any means.

    Fortunately there are some great monospaced fonts that do scale up nicely. In my experience, it is important for me to use both my own favorite fixed-width fonts, and the great fixed-width ones below. This is because at small sized, most vector-based fonts like some below look fantastic at larger sizes, like on web pages or in print, but look fuzzy or blurry in the 8-12pt range in notepad++, gedit, etc. Conversely, my favorite bitmap based fonts only look good at one size, usually in the 8-10pt range, and are pixelated and blocky at larger sizes. (More …)

     
    • B 10:17 am on 8/1/2008 Permalink

      shit i dunno
      I usually just use the default one in notepad2 (apparently Lucida Console) and such, the only thing that has bothered me with it is variables in php files – the italics looks like crap, pixelated, unless you enlarge the font size.
      I think the Consolas looked fuzzy in notepad2.
      I definitely do like that Bitstream Vera Sans Mono except for the enlarged vertical spacing. If i was going to switch it would probably be to this one.

    • B 10:20 am on 8/1/2008 Permalink

      so might as well comment now that i notice it
      When you enter the comment area (posting or viewing) your links to the previous/next post at the top and bottom disappear. the named links in the middle are still there and link to that post’s comment section.
      just an interestin note

  • euicho 2:12 am on 11/14/2007 Permalink | Reply
    Tags: , programming, , , twoosh   

    Twoosh Spotter: A Greasemonkey Script 


    EDIT (10/6/2009): Twoosh Spotter is now up to v2.0. I’ve fixed it so that the tweets shown after hitting the “more” button get checked for twooshes, and also fixed a bug where “&” was converted to “& a m p ;” and counted as 4 characters instead of 1.

    I recently came across a new portmanteau on Twitter called a “twoosh” (TWitter swOOSH)!

    Coined by rentzsch, A twoosh is a twitter that hits the 140 character limit exactly on the nose. This is just one of those fun little oddities that people like to play with, but unless the poster follows up their twoosh with another post pointing it out, the twoosh goes unnoticed by all but the equally twoosh endeared… and those with OCD.

    (More …)

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel