Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 most recent check-ins
2018-06-05
| ||
10:56 | Formatting Leaf check-in: 64b10ac7d9 user: noreply@github.com tags: master, trunk | |
2014-12-26
| ||
22:15 |
Add basic implementation for selecting between route geometries
Not a great implementation, but it works. If no route geometry choice is | |
12:40 | WIP on osrm: 2a14782 Add basic implementation for selecting between route geometries Leaf check-in: 6463b2f68f user: base@atomicules.co.uk tags: refs/stash, trunk | |
12:40 | index on osrm: 2a14782 Add basic implementation for selecting between route geometries check-in: 8438b5c356 user: base@atomicules.co.uk tags: refs/stash, trunk | |
2014-12-17
| ||
22:46 |
Add basic implementation for selecting between route geometries
Not a great implementation, but it works. If no route geometry choice is | |
2014-12-14
| ||
21:54 | Remove some redundant comments check-in: 0c4224822a user: base@atomicules.co.uk tags: origin/master, trunk | |
21:53 | Update README to suit osrm branch check-in: ee1cd9e7e0 user: base@atomicules.co.uk tags: origin/master, trunk | |
2014-12-12
| ||
12:49 |
Bug fix - Forgetting than list indexes start at 1
Which means I also need to wrap around the list if I get 16 segments. This means I probably could have just simply added Pi (previous commit) | |
12:49 |
Commit in haste: Repent at leisure. Fix reverse journey
Had not actually tried out my changes, or, it seems, used my brain at all - Can't simply just add Pi on, need to keep it within 2*Pi limit | |
2014-12-11
| ||
22:37 |
Handle the reverse route
I don't want to have to query OSRM for th ereverse route - it's In order to do this made sense to re-jig some of the functions a bit: - Need date and time at top level, not buried in get_weather since | |
2014-12-05
| ||
23:51 |
Calculate wind-type percentages and use to determine win/lose
In other words: done for now. Those are pretty much the changes I | |
20:43 |
Housekeeping: Formatting, variable naming consistency, etc
- Get rid of the mixed up mess of CamelCase, underscores, prefixes, | |
2014-11-30
| ||
11:02 |
Extend functionality to sum up all wind directions
by mapping. Need to tidy up formatting and make it consistent and sort out the | |
2014-11-29
| ||
17:52 |
Yay! Working prototype. Will sum up the distances of headwinds...
...for a polyline route. I'd made silly mistakes like forgetting which order the list of tuples Now need to extend this to sum up all wind directions and check for | |
17:42 |
Merge branch 'master' into osrm
Noticed the nth_wrap problem whilst developing this osrm branch as | |
17:34 |
Bug fix - nth_wrap didn't work for last items in a list
I only noticed this just recently, which means it has been wrong for I don't know if I'd got half way through writing this and forgot to | |
2014-11-28
| ||
21:29 |
Make use of atan2 unsigned
Hadn't realised it returns negative numbers. check-in: 0fe524de48 user: base@atomicules.co.uk tags: origin/master, trunk | |
21:03 |
Do head | tail properly
Wasn't thinking straight when I first wrote that, obviously check-in: 5c494abd30 user: base@atomicules.co.uk tags: origin/master, trunk | |
20:12 |
WIP - 1st attempt at bringing together polyline and OSRM functionality
Compiles, but doesn't yet run. The general principle is that it will get a previously saved polyline For the time being I'm focusing on summing up headwinds only. Adds the following functions: - build_list_of_wind_directions Previously this didn't exist as a standalone function, rather it was - get_compass_direction_for Convert an angle into a 16-point compass direction - head_side_or_tail_wind Decided whether, for a given direction of heading, it is a head, sidecheck-in: 3a98087e88 user: base@atomicules.co.uk tags: origin/master, trunk | |
2014-11-27
| ||
19:12 | Rename function to something more sensible check-in: 47dd9b33c8 user: base@atomicules.co.uk tags: origin/master, trunk | |
2014-11-24
| ||
22:27 |
First commit of OSRM API bit to get route geometry
Commiting this in a back-to-front way as I actually first started with So this is just a "works enough to develop further" commit so I can work | |
2014-10-23
| ||
10:40 |
Extend to decode a full example polyline (multiple points instead of single)
As per the Encoded Polyline Algorithm Format page: - Previously the decoder only worked with a single point (baby steps and Basically alter functions to use a list of lists approach: - Adds split_up_six_bits which does what it says on the tin and looks | |
2014-10-17
| ||
20:17 |
Fixes for non-negative numbers
But confusingly fixed by fixing the negative numbers which already I.e. I forgot bin_flip returns a string so the If statement I had which Change so this bit just deals in numbers and not strings. There will be lots of bitslike this where things can be simplified by me | |
2014-10-16
| ||
22:04 |
Finish decoding as per the algorithm example steps 11 back to 1
Certainly inefficient and definitely not pretty. But decodes the | |
2014-10-15
| ||
11:47 |
Make decoder work back from step 11 to 3
Practically there. Adds in decoding steps 5 to 3. Not sure yet if There is also a lot of redundancy I'm sure i can remove. I.e. continual | |
2014-10-13
| ||
21:04 |
Corrections to make decoder work for step 11 back to 5
- eight_bit_chunks expects a list of chunks not a continuous string, | |
2014-10-04
| ||
20:29 |
First commit of polyline decoder work, still WIP
This compiles and the functions work so it'll do as a baseline / first | |
2014-03-11
| ||
14:43 | Merge branch 'master' of github.com:atomicules/heads-I-lose check-in: 736cabe83d user: base@atomicules.co.uk tags: trunk | |
14:41 |
Better error handling when run from command line
The main problem I had was if the API was down it would catch the error So I've changed my command line call and now call `init stop` wih the HOWEVER I didn't want that to mean an erl shell would be exited if an error Also decided to catch everything, not just errors (also exits, etc) and | |
2014-02-11
| ||
12:21 | Add license check-in: e71cd8520c user: atomicules@users.noreply.github.com tags: trunk | |
2013-12-21
| ||
01:07 | Retabbing again only check-in: 3eda6df559 user: base@atomicules.co.uk tags: trunk | |
01:04 |
Re-tab only
(Yes, I should probably stop using tabs) check-in: b4f1b3ddfd user: base@atomicules.co.uk tags: trunk | |
00:58 |
More fun with mapping
No reduction in lines, but does remove some of the repetitive code. check-in: b034bf9b3e user: base@atomicules.co.uk tags: trunk | |
00:39 | Minor update to README todo list check-in: 8550bc71d0 user: base@atomicules.co.uk tags: trunk | |
00:37 | Report out temperature as well check-in: 5539b4fd26 user: base@atomicules.co.uk tags: trunk, v1.0.3 | |
00:28 | Add support for reporting out weather types check-in: 40a75bd38c user: base@atomicules.co.uk tags: trunk | |
2013-12-19
| ||
14:33 |
Remove repetitive lines by using mapping function over list
Arguably make it less readable in the process, but ho-hum. check-in: 454402e1f7 user: base@atomicules.co.uk tags: trunk | |
2013-12-17
| ||
14:07 |
Add in basic error handling of timeouts (and badmatches in XML)
but still let fatal errors, etc occur. Just trying to be tidier when API | |
2013-12-13
| ||
10:52 | Add hint to readme about adding a shell function to run it check-in: bdde3f7671 user: base@atomicules.co.uk tags: trunk | |
2013-12-12
| ||
12:52 |
Report out actual direction, speed and gust to make more useful
Still could do with intepreting weather type, etc to know if raining. | |
2013-12-03
| ||
15:18 |
Make get_locations ok from command line, tidy up, update README
For initial "release" - Integrate start and headsilose. Silly me, don't need a a function with In the README - Remove done todo, add new ones | |
14:12 | Correct ref link in comment check-in: 0427608d2b user: base@atomicules.co.uk tags: trunk | |
13:04 |
Add basic search/filtering of locations via XPath
Won't help with cass/capitalisation issues, but is better than nothing check-in: e185b7b72f user: base@atomicules.co.uk tags: trunk | |
09:31 |
Format output of get_locations instead of dumping XML
Still could do with adding in some kind of search, etc check-in: 9e99dc8440 user: base@atomicules.co.uk tags: trunk | |
2013-12-02
| ||
13:08 |
Make suitable for command line usage
- Add `start` function to split out Args | |
11:54 |
Add in sidewinds and Merge headsilose and get_weather functions
Also: - Correctly format date string for leading zeroes check-in: 413a10ab29 user: base@atomicules.co.uk tags: trunk | |
2013-11-28
| ||
13:05 | Much nicer construction of opposites using map check-in: 672c5aaab9 user: base@atomicules.co.uk tags: trunk | |
2013-11-27
| ||
13:12 |
Basic functionality all working now!
For a given location and heading (direction of travel) will tell me Since wind direction is the from direction and heading (as far as I'm Needs lots of tarting up as well. check-in: 24f0fa2f55 user: base@atomicules.co.uk tags: trunk | |
13:10 | Set xpath correctly depending on time of day func is run check-in: 4e5197c3fb user: base@atomicules.co.uk tags: trunk | |
13:09 | Add .gitignore check-in: e094ab13db user: base@atomicules.co.uk tags: trunk | |