Age | Commit message (Expand) | Author |
---|---|---|
2024-06-18 | Put in special cases to correct slightly misnamed stations.•••* rent.scm (lines-at-station): Handle misnamed Paddington and Hammersmith stations. HEADmain | Arun Isaac |
2023-10-14 | Use list-transduce.•••list-transduce allows us to see desired house listings as soon as they are found. We don't have to wait until all desired house listings are processed. * rent.scm (main): Use list-transduce. | Arun Isaac |
2023-10-14 | Abstract JSON requests.•••* rent.scm (json-get): New function. (cycling-distances, lines-at-station): Use json-get. | Arun Isaac |
2023-10-14 | Query OSRM API for multiple destinations at once.•••Batching OSRM queries so that distances to multiple points are queried at once is more efficient. * rent.scm (cycling-distance): Delete function. (cycling-distances): New function. (%wembley-stadium): New variable. (list-house): Use cycling-distances with multiple destinations. | Arun Isaac |
2023-10-14 | Directly query TfL API to find tube lines at station.•••Earlier, we were laboriously building a lookup table mapping all tube lines to the stations they serve, and inverting that lookup table. * rent.scm (all-tube-lines, stations-on-line): Delete functions. (lines-at-station): Rewrite to directly query TfL API. | Arun Isaac |
2023-10-13 | Show hours live in more human-readable units.•••* rent.scm (list-house): Show hours live in hours or days as appropriate. | Arun Isaac |
2023-10-07 | Never use exponential notation for latitudes and longitudes.•••* rent.scm (cycling-distance): Use ~f instead of ~a while formatting latitudes and longitudes. | Arun Isaac |
2023-10-07 | Construct OSRM URL using format.•••format is simpler and more readable, in this case. * rent.scm (cycling-distance): Construct OSRM URL using format. | Arun Isaac |
2023-09-26 | Add date constructor.•••* rent.scm (date): New function. | Arun Isaac |
2023-09-26 | Add date comparison predicates.•••* rent.scm (make-date-comparer, date<=?, date>=?): New functions. | Arun Isaac |
2023-09-26 | Re-indent main expression.•••* rent.scm (main): Re-indent. | Arun Isaac |
2023-09-26 | Print "available from" date in house listing.•••* rent.scm (list-house): Print "available from" date. | Arun Isaac |
2023-09-26 | Specify points explicitly in distance computation.•••Previously, work coordinates were implicit in cycling distance computation. Pass it explicitly as an argument. * rent.scm (house-cycling-distance): Rename to ... (cycling-distance): ... this. Pass start and end points explicitly. (list-house): Use cycling-distance instead of house-cycling-distance. | Arun Isaac |
2023-09-26 | Convert "available from" to date object.•••* rent.scm (date+): New function. (all-houses): Use date+. (http-get*): Use current-time from (srfi srfi-19). | Arun Isaac |
2023-09-26 | Add docstrings.•••* rent.scm: Add docstrings for functions that don't have them. | Arun Isaac |
2023-09-26 | Adapt maximum tenants extraction to latest HTML.•••The HTML specifying the maximum tenants has changed slightly. Adapt. * rent.scm (house-maximum-tenants): Adapt to latest HTML. | Arun Isaac |
2023-09-25 | Ensure atomic writes to cache.•••* rent.scm (call-with-atomic-output-file): New function. (http-get*): Use call-with-atomic-output-file instead of call-with-output-file. | Arun Isaac |
2022-12-11 | Mention OpenStreetMap in README.•••* README.org: Mention OpenStreetMap. | Arun Isaac |
2022-12-11 | Initial commit | Arun Isaac |