Commits

Author Commit Message Labels Comments Date
ubershmekel
Avoid /r/baseball and don't reply to those clone metric bots.
ubershmekel
Avoid a few sub reddits and add quotes.
ubershmekel
No more /r/flying
ubershmekel
Improved reliability.
ubershmekel
A bit cleaning up and fixed bug about "0 miles" cases.
ubershmekel
Small bugfix and test cases for "8ft 3 integers" case.
ubershmekel
Made metricbot conversion functions into a class with state to do complex conversion which consume some of the input.
ubershmekel
To the request of TadMC I shall reunite with my friends from Acadiana.
ubershmekel
Avoid acadiana from southern Louisiana. They don't use metric in them parts.
ubershmekel
Added a throttle for less frequent posts. Ignore posts that contain "km" or "meter" because they may contain conversions already. Sleep a lot (600 vs 30 seconds) as to not annoy reddit.
ubershmekel
Disabled ounce conversion because of the volume/weight context. Added foot-inch support (eg 5'2").
ubershmekel
Added a slash to the number detector regex so it won't falsely accuse '1/4' of being '4' as happened here: http://www.reddit.com/r/6trees1pot/comments/pqlgf/day_41/c3rggci?context=3
ubershmekel
Refactored the mainloop into 3 functions.
ubershmekel
Added support for miles and ounces. Soon the more test cases will be parsed from the log.
ubershmekel
Improved small number formatting (1.3 instead of 1.30). Removed redundant conversions in a single response. Added a throttle so the same response isn't sent for at least 6 hours. Handle comment deleted exceptions in redditbot.py.
ubershmekel
Fixed precision for numbers between -1 and 1.
ubershmekel
Small rename to clarify.
ubershmekel
Fixed the regext not to fail on certain words like 14,000 ft etc with a zero.
ubershmekel
Ignore a few irrelevant files.
ubershmekel
Added kph/mph support. Refactored statistics method. Use placeholder to avoid loading repeat comments and links.
ubershmekel
Small refactoring of prints.
ubershmekel
Refactored out the redditbot from metricbot
ubershmekel
Solved a bug in reddit.py for author names.
ubershmekel
Added some units and a bit of refactoring.
ubershmekel
Version 2.0