<commit_before>;; -*- mode: outline -*-

* refactoring
** titles: write Forecast method to help zipOrLatLon. use in stickers.html too

** embed code: make it a template like stickers.html

** change {% set %} to {% with %}
http://flask.pocoo.org/docs/0.10/patterns/flashing/


* bugs
** 'Mercedes, TX -> IndexError: list index out of range

** ~ bottom line of table flashes darker when popover shows

** ~ 404 not found: http://127.0.0.1:5000/assets/js/ie10-viewport-bug-workaround.js

** ~ appearance (responsive): when key goes below table, it stretches full width

** ? sunrise/set off by an hour? current: twilight = -12 * ephem.degree
http://stackoverflow.com/questions/26501745/how-to-determine-if-it-is-daytime-light-outside-in-python-using-ephem-library
http://rhodesmill.org/pyephem/rise-set.html#computing-twilight
http://stackoverflow.com/questions/2637293/calculating-dawn-and-sunset-times-using-pyephem
fred.horizon = '-6' #-6=civil twilight, -12=nautical, -18=astronomical


* features: to do
** Forecast > Share: consoliate into tabs or popup? (getting cluttered)

** overview/summary :-)
"Looks like the best times are __, __, and __."
"The best days to get out look to be ..."

** stickers: later<commit_msg>temporary workaround to recently-appeared 'list index out of range' error<commit_after>;; -*- mode: outline -*-

* refactoring
** titles: write Forecast method to help zipOrLatLon. use in stickers.html too

** embed code: make it a template like stickers.html

** change {% set %} to {% with %}
http://flask.pocoo.org/docs/0.10/patterns/flashing/


* bugs
** 2015-03-01: weird: http://www.peepweather.com/forecast/95610 -> list index out of range
xml buggered up?
prob: hour.clouds is None
DO: write test exposing problem using downloaded example data

** 'Mercedes, TX -> IndexError: list index out of range

** ~ bottom line of table flashes darker when popover shows

** ~ 404 not found: http://127.0.0.1:5000/assets/js/ie10-viewport-bug-workaround.js

** ~ appearance (responsive): when key goes below table, it stretches full width

** ? sunrise/set off by an hour? current: twilight = -12 * ephem.degree
http://stackoverflow.com/questions/26501745/how-to-determine-if-it-is-daytime-light-outside-in-python-using-ephem-library
http://rhodesmill.org/pyephem/rise-set.html#computing-twilight
http://stackoverflow.com/questions/2637293/calculating-dawn-and-sunset-times-using-pyephem
fred.horizon = '-6' #-6=civil twilight, -12=nautical, -18=astronomical


* features: to do
** Forecast > Share: consoliate into tabs or popup? (getting cluttered)

** overview/summary :-)
"Looks like the best times are __, __, and __."
"The best days to get out look to be ..."

** stickers: later
{'fraction_non_alphanumeric': 0.13658176448874124, 'fraction_numerical': 0.03506829088224437, 'mean_word_length': 4.152091254752852, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 1}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4752993', 'n_tokens_mistral': 990, 'n_tokens_neox': 883, 'n_words': 252}