12 October 2020 · recurse-center
Today I started looking into building cross-platform wheels for my Python C extension. I've never built binary extension wheels so I decided to start simple by building wheels for this snake game I want to write in C. Right now it's just a "hello world" ncurses
program.
I started looking …
Read
There are
comments.
07 October 2020 · recurse-center
I've been reading (and forgetting about) a lot of PEPs lately. When you read a PEP, it mentions how "this" thing was defined in "this" PEP, and how "that" thing was defined in "this other" PEP. So I thought that it would be cool to look at all the PEPs …
Read
There are
comments.
07 October 2020 · recurse-center
Yesterday I paired with Ilia to walk through the pdftoppm
code, and we identified some code that wasn't required to wrap pdftoppm
. I also wrapped a "hello world" ncurses
game with pybind11
!
Today I started looking into pdftoppm
again and commented some code (like command-line argument parsing and JPEG support …
Read
There are
comments.
06 October 2020 · recurse-center
Today I paired with Ilia to walk through the poppler
codebase. This was of great help as I don't have a lot of experience navigating through large C/C++ codebases. I got to learn about how cmake
and C++ preprocessor directives work!
We also walked through the pdftoppm
code to …
Read
There are
comments.
05 October 2020 · recurse-center
Today I replaced some ghostscript
code in camelot
with a pdftoppm
subprocess call just to see if the tests pass. They did! I think poppler
could be the ghostscript
alternative that I'm looking for!
pdftoppm -r 300 -png -singlefile foo.pdf foo
That got me all excited to look into …
Read
There are
comments.