I checked Bangkok where I will go tomorrow, and the site claims we will hit 45 deg C which is ridiculous.
ASCII Art Weather
31–40 of 106 posts
Re: ASCII Art Weather
#32(Meta) Perhaps the link should point to the base URL, apparently it detects your location if available (didn't work for me because I have it disabled).
Looks like it was submitted 2 days ago https://news.ycombinator.com/item?id=11477365 , so maybe it was done to avoid the dupe detection.
Re: ASCII Art Weather
#33wttr.in/Cambridge looks completely wrong. Says Cambridge, UK at the top, but -2°C and heavy snow? Really? EDIT: looks like it's using http://www.worldweatheronline.com/cambridge-weather/scottish... rather than the one in East Anglia
There is no way at all to handle duplicate location names. Another nice example is wttr.in/denhaag which uses the South African city of "Den Haag", which is so small even Google Maps searches for it end up with the South African embassy in the Dutch city of that name.
Re: ASCII Art Weather
#34What's impressed me about this is how much faster it is than Web pages or Android apps. Really: just transmit the data necessary to convey your information. Your app is in the way. wttr.in on Android using Termux is actually pretty awesome.
Try looking at the source of the page. There's no way in hell anyone would call that "just" the data necessary to convey the information. The site is also unusable on mobile, because ASCII art unlike proper semantic HTML is not easily rescalable by the browser. And it's inaccessible by users relying on screen readers, ironically because of all the ASCII cruft.
Re: ASCII Art Weather
#35Earlier quoted context omitted.
Try looking at the source of the page. There's no way in hell anyone would call that "just" the data necessary to convey the information. The site is also unusable on mobile, because ASCII art unlike proper semantic HTML is not easily rescalable by the browser. And it's inaccessible by users relying on screen readers, ironically because of all the ASCII cruft.
The inaccessible comment is somewhat ironic. If the display of the ASCII craft is in a terminal at least I have some control over the font size and, in particular, the background colour.
And the same control extends to users on the Web at the very least. Userstyles/scripts and extensions can modify websites, giving users the ultimate control over website content.
My point was in response to the grandparent's statement that most modern apps get in the way of the user - those exact same things are also crucial to, for instance support screen readers and mobile users.
Re: ASCII Art Weather
#36Nice it supports coordinates as well: http://wttr.in/52.1,4.22
> http://wttr.in/89.99,0.00 >> ERROR
Well, 85.90,0.00 works... must be a weather-station somewhere near... Greenland or Jan Mayen.
Re: ASCII Art Weather
#37What's impressed me about this is how much faster it is than Web pages or Android apps. Really: just transmit the data necessary to convey your information. Your app is in the way. wttr.in on Android using Termux is actually pretty awesome.
What is that cruft at the bottom of the page?
Also, I would prefer this as a CLI application, not as a webpage. Further it should have flags that make its output more friendly to further processing (e.g. grep).
Otherwise, nicely done.
Re: ASCII Art Weather
#38The weather data appears horribly inaccurate. I'm traveling in Vietnam (Hanoi) today and we're seeing temperatures between 25 and 31 deg C, but the site says we're roasting at 34 - 48 deg C. I checked Bangkok where I will go tomorrow, and the site claims we will hit 45 deg C which is ridiculous.