Recommended Posts

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.

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.

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 by darkmark327
  • 2 weeks later...

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)

weathalert7yc.jpg

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!

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)

weathalert7yc.jpg

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.

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)

post-11870-1115678269_thumb.jpg

Edited by darkmark327
  • 2 months later...
  • 3 weeks later...
  • 3 weeks later...

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:

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Wow, Microsoft IS cooking lately... This only shows that they COULD improve, they just chose not to for whatever reasons. That obsession with AI was destroying them from the inside out.
    • BATorrent 4.1.0 by Razvan Serea BATorrent is a lightweight, open-source BitTorrent client built with modern C++ and Qt 6, offering a clean, fast, and privacy-focused alternative to traditional torrent apps. It supports magnet links, .torrent files, resume data, sequential downloading, per-file priorities, and even imports from qBittorrent. Power users benefit from integrated RSS auto-download with regex filtering, duplicate detection, and automatic tracker lists from Stremio. Streaming is seamless thanks to auto-detected players like VLC and IINA. BATorrent includes robust VPN tools—interface binding, auto-detection for WireGuard-based services like Mullvad and NordLynx, kill switch, proxy support, and IP filtering. A full WebUI enables remote control, while integrations with Plex, Jellyfin, and Emby automate library updates. With themes, speed scheduling, system-tray alerts, and cross-platform support for Windows, Linux, and macOS, BATorrent delivers a polished, high-performance torrenting experience. BATorrent features: Core .torrent file and magnet link support Resume data — picks up where you left off after restart Import torrents from qBittorrent Create .torrent files from any file or folder Sequential download mode Per-file priority control (skip, low, normal, high) Seed ratio limits with auto-pause DHT, PEX, UPnP, NAT-PMP RSS Auto-Download Subscribe to RSS feeds — automatically download new torrents as they appear Regex filters — match only what you want (e.g. 1080p|720p, S01E\d+) Per-feed settings — custom save path, check interval (5–1440 min), enable/disable Auto-download — matched items are downloaded automatically in the background Supports magnet links, .torrent URLs, and tags Tray notifications when items are auto-downloaded Duplicate detection — never downloads the same item twice Stremio Stremio Addon System pre-installed — works out of the box Auto tracker list from ngosang/trackerslist Streaming Play while downloading — stream video files before the download is complete Supports mp4, mkv, avi, mov, wmv, flv, webm, m4v, ts Auto-detects installed players (VLC, IINA, system default) VPN & Privacy Interface binding — lock torrent traffic to a specific network interface (e.g. tun0) Auto VPN detection — identifies VPN interfaces (tun, tap, WireGuard, Mullvad, NordLynx, ProtonVPN) Kill switch — automatically pauses all torrents if the VPN interface drops Auto-resume — resumes only the torrents paused by the kill switch when VPN reconnects Proxy support — SOCKS5 and HTTP proxy with optional authentication IP filtering — load P2P blocklists to block unwanted IP ranges Protocol encryption (enabled / forced / disabled) WebUI Remote management — control torrents from any browser at http://localhost:8080 REST API with JSON responses Add torrents via magnet link or .torrent upload Pause, resume, remove torrents remotely View peers and files per torrent Dark theme matching the desktop app HTTP Basic Auth with SHA-256 password hashing Configurable port and remote access (localhost vs 0.0.0.0) Interface 3 themes: Dark, Light, Midnight (bat/vampire aesthetic) Real-time speed graph Detailed panel with tabs: General, Peers, Files, Trackers Filter bar: search by name, filter by state (Active, Downloading, Seeding, Paused, Finished) Drag & drop .torrent files and magnet links Drag & drop reorder in torrent list System tray with notifications (download complete, kill switch events, RSS auto-downloads) Splash screen with bat animation Bilingual: English and Portuguese (BR), auto-detected from system locale Bandwidth Scheduler Alternative speed limits — set different download/upload limits on a schedule Time range — configure active hours (e.g. 01:00 to 07:00), supports overnight ranges Per-day control — choose which days of the week the schedule applies Automatically switches between normal and alternative speeds Media Server Integration Plex — automatically trigger library scan when a download completes Jellyfin / Emby — same automatic library refresh via API Configure server URL and authentication token/key in Settings System Cross-platform: Windows, Linux, macOS Auto-shutdown — automatically shut down PC when all downloads complete (60s cancellable countdown) Auto-update system (AppImage on Linux, installer on Windows, DMG on macOS) CLI arguments: pass .torrent files or magnet: URIs directly Keyboard shortcuts: Space to toggle pause, Ctrl+A to select all, Ctrl+O to open BATorrent 4.1.0 release notes: A community-driven release: everything here came straight from your reports and requests. It closes the remaining gaps with qBittorrent and fixes the Windows settings/tray/splash issues several of you hit. Fixed Settings now actually save. A whole class of preferences — speed limits (and the alternative limits), max active downloads, seed ratio, listen port, max connections, DHT/uTP/encryption, VPN interface, kill switch and proxy — weren't being persisted and reset to defaults on every launch. They now round-trip correctly. (Thanks to everyone who reported "the upload limit always goes back to 0".) Splash and tray toggles stick on Windows. Turning off the startup animation (or "close to tray") no longer reverts — the Windows registry stored these booleans as integers and the UI was misreading them. Close-to-tray hint. The first time the window hides to the tray you get a one-time notification, so the app doesn't look like it vanished (Windows 11 tucks new tray icons into the overflow). macOS Dock icon size. The icon filled its canvas edge-to-edge and rendered larger than neighbouring apps; it now uses the standard safe-area padding. Native file picker language. The "Torrent file / All files" filter in the open dialog follows the app language instead of being hard-coded. Added — qBittorrent parity Alternative speed limits toggle — a turtle button in the toolbar flips your throttled limits on/off instantly, independent of the scheduler. Follow system theme — switch light/dark automatically with the OS (Settings → Appearance). Pre-allocate disk space — reserve the full file size up front to reduce fragmentation (Settings → Downloads). Recheck data on add — optionally force a hash check when adding a torrent, so existing or partial files on disk are detected. Port status indicator — a 🔴 dot in the status bar shows whether your listen port looks reachable (UPnP/NAT-PMP + listen state; fully local, no external check). Add torrent from URL — File → Add torrent from URL (Ctrl+U) fetches a remote .torrent and routes it through the normal add dialog. Export .torrent — right-click a torrent → Export .torrent to save its metadata file. Already there (in case you missed it) Watch folder — auto-add .torrent files dropped into a monitored directory (Settings → Files). This release just surfaces it. Incomplete files already carry a .!bt suffix until they finish. Under the hood Regression tests for the settings-persistence and Windows boolean bugs. A new Qt Quick Test harness covering the startup splash and the design-system widgets. Download: BATorrent 4.1.0 | 37.5 MB (Open Source) Download: BATorrent Portable | 51.7 MB Links: BATorrent Website | Screenshot | Changelog Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Disabling open on hover, great! That was so stupid! They need to do a fix, where if a network share is disconnected, it doesn't hang when opening "This PC" for 20 seconds.
  • Recent Achievements

    • Very Popular
      AndrewSteel earned a badge
      Very Popular
    • Veteran
      Taliseian went up a rank
      Veteran
    • One Month Later
      Clizby earned a badge
      One Month Later
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Week One Done
      Timaximus earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      523
    2. 2
      PsYcHoKiLLa
      170
    3. 3
      +Edouard
      162
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      78
  • Tell a friend

    Love Neowin? Tell a friend!