DouglasLWarren Posted April 13, 2005 Share Posted April 13, 2005 let me know when europe support becomes available! 585768656[/snapback] Well depending on where you are, I would say that your covered. World Weather Forecasts & International Sites Brazil France Germany Latin America United Kingdom Link to comment Share on other sites More sharing options...
darkmark327 Posted April 13, 2005 Author Share Posted April 13, 2005 It has a name, I can't remember what it is.? I've been there before, it has tons and tons of data.? Where do you think Weather.com gets there information?? They don't have enough money for national wide radars and weather stations across the country.? They get it from the NOAA.? Everyone does.? Hamweather (http://www.hamweather.com) is a good example of using public domain information, all the information on there is from public domain servers.? I'll continue to look for that URL. 585765773[/snapback] Weather.com has worldwide support, a free XML feed, and the ability to scrape images (i.e. the radar). I have yet to see anything else that offers all of this. Anything that isn't free need not apply unless you want to pay for WeathAlert. Link to comment Share on other sites More sharing options...
Sartoris Posted April 13, 2005 Share Posted April 13, 2005 http://www.weather.gov/ is a great site, but I have no idea if they have an easy way to get their info. Link to comment Share on other sites More sharing options...
P!P Posted April 13, 2005 Share Posted April 13, 2005 You're kidding right? :rolleyes: Ever heard of "The Weather Channel"? 585765792[/snapback] How dumb do you think I am? ;) Oh course I know the Weather Channel runs weather.com. My statement still applies. Every weather source in the US, other then some local channels which have some weather stations and radars for their area get it from NOAA. I was just saying, why not go to the source? I understand it would be harder and not as easy getting it from weather.com. However, it does limit you some what, Weather.com limits what you can do, for example, there's no way you could ever make that software shareware. But whatever, just an idea. Link to comment Share on other sites More sharing options...
darkmark327 Posted April 13, 2005 Author Share Posted April 13, 2005 (edited) The biggest problem with these places (ignoring the lack of international support--there's no way I'm tackling the logistics of finding free sources for all these other countries, figuring out which one to use depending on the location, and writing accessing functions for every one of them) is not merely getting the data but rather mapping a location to an ID that can access the data. Weather.com has a free, worldwide, easy-to-access XML feed. None of these others, many which have been mentioned the last time this subject was brought up earlier in the thread, have these features. Weather.com has a simple search into which I enter a location name (that you provide in the dialog box), which returns a list of matching location names and corresponding IDs, and that ID is used to access all the weather info for that location. There is no easy way to get the IDs from the noaa, at least not that I've found; furthermore, I was not able to find any easy way to access the data short of scraping the page which is not only unreliable (have you forgotten the last month's radar map issues already? That was caused by breaking the page scraping) but also slow and inefficient. Those that do have XML charge significant amounts of money for it. That means I would have to charge for WeathAlert, most likely on a subscription basis, or I would have to litter the program with ads, which would make it no better than Weatherbug or the like. Edited April 13, 2005 by darkmark327 Link to comment Share on other sites More sharing options...
P!P Posted April 14, 2005 Share Posted April 14, 2005 Okay. ;) As I said just an idea, I know that NOAA is planning to expand their database and maybe at that point it would be easier. I really enjoy WeatherAlert, and look forward to new versions. Keep up the good work. Link to comment Share on other sites More sharing options...
Obi-Wan Kenobi Posted April 14, 2005 Share Posted April 14, 2005 sweet! I had been using WeatherPulse, but I think I've found my new fav. Thank you! Link to comment Share on other sites More sharing options...
DanManIt Posted April 27, 2005 Share Posted April 27, 2005 Excellent! Link to comment Share on other sites More sharing options...
Eli Posted April 28, 2005 Share Posted April 28, 2005 I was using some widget for DesktopX (been using it so long I forget the name) to get my weather and I decide to check out this topic. I just scrapped it and I am now using this. Thank you. Link to comment Share on other sites More sharing options...
q_hada Posted May 2, 2005 Share Posted May 2, 2005 hey darkmark, this is an awesome program! I found a couple of bugs(?) though in 2.3.0.4: (I glanced through the thread but didn't read all 14 pages very thoroughly so they may have been brought up before) 1) With the "metric" setting, there's no descriptive pressure value. When it's set to "imperial," it will say "steady" (or "rising", etc) after the comma, but there's just a blank space with metric. I'm not sure if it's because the metric values usually take up more space, so the extra word doesn't fit and it gets bumped to the next line. (screenshot below) 2) When I set the program to start with windows (in the program options), it uses the default icons. However, if I exit and restart the program, it uses my custom icons. Furthermore, if I disable the program option but put a shortcut to weathalert in my startup folder (instead of using the HKCU...Run method), it will start with windows AND use my custom icons. Hmm... Oh yeah, it also doesn't seem to want to use my "na.png" (it always uses the default), but that's no big deal. Thanks for making such a useful (and free) program! Link to comment Share on other sites More sharing options...
darkmark327 Posted May 4, 2005 Author Share Posted May 4, 2005 hey darkmark, this is an awesome program! I found a couple of bugs(?) though in 2.3.0.4:(I glanced through the thread but didn't read all 14 pages very thoroughly so they may have been brought up before) 1) With the "metric" setting, there's no descriptive pressure value. When it's set to "imperial," it will say "steady" (or "rising", etc) after the comma, but there's just a blank space with metric. I'm not sure if it's because the metric values usually take up more space, so the extra word doesn't fit and it gets bumped to the next line. (screenshot below) 2) When I set the program to start with windows (in the program options), it uses the default icons. However, if I exit and restart the program, it uses my custom icons. Furthermore, if I disable the program option but put a shortcut to weathalert in my startup folder (instead of using the HKCU...Run method), it will start with windows AND use my custom icons. Hmm... Oh yeah, it also doesn't seem to want to use my "na.png" (it always uses the default), but that's no big deal. Thanks for making such a useful (and free) program! 585861067[/snapback] 1) Yes, unfortunately it gets truncated by moving it to the next line. I never bothered to figure out how to alter that without changing the whole GUI since no one had ever complained : ) -- I'll look into doing so. 2) I'm betting that the "start in" directory, so to speak, is to blame; probably when it starts with HKCU the working directory is %USERPROFILE%. I'll change it to look specifically in the folder in which the program is stored. Also, try renaming na.png to -1.png, my instructions are wrong. Link to comment Share on other sites More sharing options...
fAlCoNNiAn Posted May 5, 2005 Share Posted May 5, 2005 (Y) amazing program, thanks. Link to comment Share on other sites More sharing options...
darkmark327 Posted May 9, 2005 Author Share Posted May 9, 2005 (edited) Alright, figured I give another update on what's happening: I fixed the above (with the icons not showing on HKCU startup) but that's rather minor. I've begun reorganizing the program and begun to add support for localization. I've also added an installer, for better or for worse, since the program is now several files (4 core files, plus another .dll for each language). Basically what I'm doing is reorganizing the way the interface is coded so that it will be much easier to add to it. Currently the entire settings page is one file, as is the main UI. The settings page currently has all of its settings spread on non-visible parts of the UI and when I'm designing, I stretch it out so I can see all of them and then resize it back to normal for release (see the image--I'm mostly done stripping them out so most are no longer there but you'll see what I mean). This makes altering the settings a giant PITA. What I've done is strip out each of those 'panels' into their own control, and just add an instance of each control to the form and associate that with the settings list on the left in the same way that the groups were previously. This allows me to encapsulate each group and make changes much more easily, since the settings UI is untouched and instead I merely make changes to that control. E.g. (and this is what largely got me going) someone had requested that I make a list of words that could be used to exclude severe weather alerts. Now, all I have to do is open up the file for the NWS alert settings control and add the requisite stuff to that (e.g. a button that will pop up a UI). I'd also have to add stuff to the settings page but only to set the initial list and to get the list to save. This also allows for common features to be shared: for example, in the NWS alerts and the condition alerts there are sound options, which previously had been merely a duplication. Now there is a "sound options" control, which is added to each of them. I can change that sound options control and the changes will be reflected on each. I also plan to perform a similar compartmentalization on the main UI. E.g., the view toolbar will be its own control, a forecast page will be its own control (and then merely used n times, and changes only need to be made once. Right now it's not as bad as settings--I still would only have to make changes once, but that whole thing is done as code stripped from the form designer and made into an array, which is a PITA to alter). The day forecast and night forecast will be one control which is then duplicated for each page, the current conditions group will be one control, etc. All of this breakdown will make it much easier for me to make changes, e.g. adding features and settings and such--but, it will take time; the settings changes are relatively easy because it was pretty much just cutting the stuff out of the new settings and pasting it into its own file (for the most part, but there are dependencies that have to be handled too), but the main UI will be much more difficult to compartmentalize because everything is closely tied together. The new multiple files setup is going to result in changes to the automatic updates, but minor ones. Obviously only changed files will be downloaded, but I also plan on building in a messaging system, so that if an update has important info for the user, it can be conveyed more effectively than hoping they'll read the changelog. Since I'm going with multiple files to begin with, instead of the batch file, I will write a small GUI app to apply updates that accomplishes the same thing, but much more reliably--I can actually have it monitor and wait for the main app to close, rather than hoping that it will in 5 seconds (which led to that bug a few versions ago where the update began before the confirmation dialog). All of this also makes localization easier, since each control has its own list of strings, rather than one giant monstrosity. My plans are to write a small localization app that will read in the lists of English strings, display them in a table, and the translator can merely enter their equivalents right next to them. I'm also going to redo the locations registry format to make it more efficient, so the next version will require you to add your locations again. Also, I've altered the menus slightly to conform to Windows conventions (File, Edit, etc). It's not a big change, and it may be a bit annoying but it (and all of this) makes future expansion easier. Here's the new menu-ing system: File -> Mute, Quit Edit -> Location, Settings, Alert Settings View (same as before) Window -> Display (next-to/below) Help -> About (I also plan to add Check for Updates here) I may also integrate more with the website, and for example have in-program application of icons (the current way will still be supported), and perhaps a UI to choose among stored icons. That's low on the priority list, as I still have many requested features to add. They will be easier to add after this transformation, which is why I've begun doing it, since again, it won't require fishing through the monolith that my source has evolved into. Also, I just thought of this, perhaps for error reporting I'll keep a database online that can the program will try to look up when the program encounters an error, and when I fix the error, I will store in it what version the problem was fixed and the program can check this and update the program if the current version is out of date. That would be cool. I do have finals/projects these coming 2 weeks and a full-time internship for the summer, so how much of this gets done and when is not certain. I've wasted too much time on the weather program this week already! (I have two big CS projects due weds/thurs) Edited May 9, 2005 by darkmark327 Link to comment Share on other sites More sharing options...
darkmark327 Posted May 14, 2005 Author Share Posted May 14, 2005 Here's a link addressing the memory usage situation: http://www.itwriting.com/dotnetmem.php Link to comment Share on other sites More sharing options...
Runelord Posted July 23, 2005 Share Posted July 23, 2005 Any updates? :huh: Link to comment Share on other sites More sharing options...
darkmark327 Posted July 23, 2005 Author Share Posted July 23, 2005 I've been working on it with .NET 2.0 / Visual Studio 2005 beta, but it's tough to keep programming as a hobby when you're doing the same thing at work for 8 hours a day : \ Link to comment Share on other sites More sharing options...
KMDonlon Posted July 27, 2005 Share Posted July 27, 2005 :D I wish I had a job that was only 8 hours a day! LoL Link to comment Share on other sites More sharing options...
darkmark327 Posted July 28, 2005 Author Share Posted July 28, 2005 Well, I'm just an intern : ) But I'm writing a large app in .net, and it's tough to get motivated to continue to write an app in .net Link to comment Share on other sites More sharing options...
Randolph Posted August 14, 2005 Share Posted August 14, 2005 omg this program is awesome! finally a excellent alternative to weatherbug :) Link to comment Share on other sites More sharing options...
Farstrider Posted August 14, 2005 Share Posted August 14, 2005 Thanks, this is pretty cool! I am using it and all looks great! Link to comment Share on other sites More sharing options...
no-sweat Posted August 30, 2005 Share Posted August 30, 2005 hey you know what would be so much awesomer. if you could view an alert after you click ok. like maybe a link in the menu bar or somethin. cause now, once you click ok, and can't view it again.. anyways look at the bottom of this alert i got - teheeh THE WATER DEPTH MAY BE TOO GREAT TO ALLOW YOUR CAR TO CROSS SAFELY. VEHICLES CAUGHT IN RISING WATER SHOULD BE ABANDONED QUICKLY. MOVE TO HIGHER GROUND. TURN AROUND...DON/T DROWN.... and yes its real! :laugh: Link to comment Share on other sites More sharing options...
darkmark327 Posted August 30, 2005 Author Share Posted August 30, 2005 Yeah I plan on doing that for the next revision. I have to wait for Visual Studio 2005 to get out of beta, though. Link to comment Share on other sites More sharing options...
AI-Irhab Posted September 5, 2005 Share Posted September 5, 2005 is it also working in ASIA such as china,india,pak Link to comment Share on other sites More sharing options...
cork1958 Posted September 5, 2005 Share Posted September 5, 2005 This is nice!? Adding a local radar option would make it a perfect replacement for weatherbug. 2249285[/snapback] ANYTHING would be a perfect replacement for weatherbug!! People still actually use that thing? Link to comment Share on other sites More sharing options...
darkmark327 Posted September 5, 2005 Author Share Posted September 5, 2005 is it also working in ASIA such as china,india,pak 586480913[/snapback] Yes, it works in selected cities. Link to comment Share on other sites More sharing options...
Recommended Posts