Live data from Hacker News

ASCII Art Weather

wttr.in

21–30 of 106 posts

Re: ASCII Art Weather

#21

It's pretty cool, but it doesn't quite line up for me. Unicode characters (but ... "ASCII"?) are the prime culprit, but something also going on with the 'delimitting' header lines too - they're way off.

Broken for me as well.

Looks like certain assumptions about max length of weather numbers causes unnecessary additional padding resulting in misaligned borders.

http://imgur.com/vyupGUN

Re: ASCII Art Weather

#23
post #21

It's pretty cool, but it doesn't quite line up for me. Unicode characters (but ... "ASCII"?) are the prime culprit, but something also going on with the 'delimitting' header lines too - they're way off.

Broken for me as well. Looks like certain assumptions about max length of weather numbers causes unnecessary additional padding resulting in misaligned borders. http://imgur.com/vyupGUN

I think that's a problem with the font, actually - it's supposed to be monospace, but the diagonal arrows (e.g. ↗) are about 1.5 times the width. I have the same problem.

(Or maybe not "the" font, but fonts in general - perhaps it's trying to use one font, which doesn't have these arrows, so it falls back to a different one?)

Re: ASCII Art Weather

#24
post #21

It's pretty cool, but it doesn't quite line up for me. Unicode characters (but ... "ASCII"?) are the prime culprit, but something also going on with the 'delimitting' header lines too - they're way off.

Broken for me as well. Looks like certain assumptions about max length of weather numbers causes unnecessary additional padding resulting in misaligned borders. http://imgur.com/vyupGUN

Funny thing is, it aligns properly in the terminal (cygwin here)

http://imgur.com/LicBeh3

Re: ASCII Art Weather

#26
Nice, looks nice in w3m an lynx too (I wonder if it's possible to enable colors though). I have new alias:

   alias weather="w3m -dump wttr.in/budapest"
Edit: I just found in the comments that it works with plain curl too with color. Nice.

Re: ASCII Art Weather

#27
We 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.

Re: ASCII Art Weather

#28
post #24
post #21

Earlier quoted context omitted.

Broken for me as well. Looks like certain assumptions about max length of weather numbers causes unnecessary additional padding resulting in misaligned borders. http://imgur.com/vyupGUN

Funny thing is, it aligns properly in the terminal (cygwin here) http://imgur.com/LicBeh3

Yeah, because it's not showing the diagonal arrows.

Re: ASCII Art Weather

#29

What'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

#30

wttr.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.
Post reply on HN