\/\/\/\/
/ \
/ \
/ \
/\_/ 0 0 \_/\
| |
\/ \ |_| / \/
\ /
\ \-----/ / ---------- Brilliant!
\ /
\_______/
| |ASCII Art Weather
61–70 of 106 posts
Re: ASCII Art Weather
#62wttr.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
Re: ASCII Art Weather
#63What'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.
As web developers, we're used to "everyone" being the audience, but that's not the case here. As a stylized visual representation of the weather, it's fine. I dig it.
Making sure something is accessible to screen readers is generally an important thing (and could be worked on here) but I give this project a pass because the visual design is the whole point of the exercise.
And while I viewed this on mobile (and was fine for me with zooming), that clearly isn't the audience. Again, it could be improved if the author felt like it, but even if "fixed" (perhaps having morning, noon, evening, night being stacked vertically on mobile) I don't think this would be hardly anybody's goto weather reference on mobile. It's meant for us desktop users who are lovers of the terminal aesthetic.
Re: ASCII Art Weather
#64And the moon: http://wttr.in/Moon
For the forecast, it also appears you can append "?m" to the URL for metric units or "?u" for USCS units to override the default it uses based on your presumed location.
Re: ASCII Art Weather
#65Re: ASCII Art Weather
#66What'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.
It could be argued that you don't need an ascii icon for "sunny", etc.
[1] https://en.wikipedia.org/wiki/Miscellaneous_Symbols
[2] i.e. http://emojipedia.org/fog/ etc
Re: ASCII Art Weather
#67Re: ASCII Art Weather
#68For PowerShell: (Invoke-WebRequest wttr.in/Brussels).AllElements | ?{$_.tagname -eq "pre"} | Select-Object -ExpandProperty outerText
Or you could just set/unset all the right headers and get the ASCII art directly (as `curl wttr.in/{location}` does) Although you'll need to interpret or strip the color codes.
Doesn’t work for me, but works for others it seems.
Re: ASCII Art Weather
#69Earlier quoted context omitted.
It could be argued that you don't need an ascii icon for "sunny", etc.
Just one codepoint would do! Basic weather symbols like SUN (U+2600) and RAIN (U+2614) have been in Unicode since 1993. More detailed 'emoji' have been added in recent years. [1] https://en.wikipedia.org/wiki/Miscellaneous_Symbols [2] i.e. http://emojipedia.org/fog/ etc
Re: ASCII Art Weather
#70We were unable to find your location, so we have brought you to Oymyakon, one of the coldest permanently inhabited locales on the planet. >Freezing fog Don't want to know more about this place.
edit Looks like the issue is caused by some browsers/settings that hide the public ip prevent it from finding location.. would be nice to specify, i like the page.