Brendan Long

Results 40 comments of Brendan Long

I doubt this is exactly how you want to implement this, but I figured example code would make it easier to find this if you do want to do it.

Ah cool. I'll have to see if I can build a ZIP library on top of that (or make CamlZip use it).

The complicated thing with binary mode is that it's mostly undocumented ("do whatever libpq does"), so the code will probably be simpler once it's implemented, but it's much harder to...

I'm curious if there's any workaround for this, like a way to get the `{static}` path and build it into a URL using Jinja2 filters or something?

Or maybe it would be easier to just break apart the function that creates HTTP requests and test that..

Menhir is also just an example. Some other parser format might be reasonable too (Angstrom? something custom?). The main thing is that I want the code to be relatively straightforward...

It's not intentional, I just haven't looked at this for a long time. Do newer versions of base work?

I think the zip format isn't particularly complicated, so it shouldn't be too bad to implement: https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT The hard part is probably figuring out how to structure the module so...

I would also like this (in the high level API's) so I can unzip things that aren't files (HTTP responses and other things in memory).

It looks like maybe .gitignore lines are being treated as regular expressions instead of something-similar-to-a-glob? Maybe consider using this? https://github.com/codemix/gitignore-parser