News for hackers. Stuff that matters.
Re:Tour of Parser-Printers: Introduction by tempodox on Monday April 11, 2022 @02:55PM (#30993088)
Cool, that's an interesting way to apply parser combinators. Where can I download the library? Also, the Sample Code link at the end is 404.
Re:Tour of Parser-Printers: Introduction by mbw234 on Monday April 11, 2022 @03:21PM (#30993438)
Sorry about that, broken links have been fixed in the episode and here's a link to the library: https://github.com/pointfreeco/swift-parsing.
Re:Tour of Parser-Printers: Introduction by a1369209993 on Monday April 11, 2022 @08:55PM (#30997258)
Speaking of broken links, you're also returning 404 for HEAD requests:

  $ youtube-dl https://www.pointfree.co/episodes/ep185-tour-of-parser-printers-introduction -f http-720p
  [generic] ep185-tour-of-parser-printers-introduction: Requesting header
  [snip]
  zlib.error: Error -5 while decompressing data: incomplete or truncated stream
  $ wget --method=HEAD https://www.pointfree.co/episodes/ep185-tour-of-parser-printers-introduction
  [snip]
  HTTP request sent, awaiting response... 404 Not Found
(Fixed youtube-dl by diking out head_response (with `= False`) in youtube_dl/extractor/generic.py:2408 if anyone else cares.)