Tag: python
-
California County Seats
I had some fun today getting the location of each county seat in California. You can see the code here if you’re curious: https://github.com/fadend/county_seat_coords. The data are pulled from Wikipedia’s List of counties in California. I plotted them going through the tutorial here: https://eriqande.github.io/rep-res-eeb-2017/map-making-in-R.html. (Very nice!) Here’s my ugly R code for doing that, shamelessly…
-
Have any of the authors of “Attention Is All You Need” written a book?
Gemini doesn’t think any of the authors of “Attention Is All You Need” have written a book: Honestly, I didn’t know the answer to this when I asked it. I was curious about this because I was thinking of reading their books if there were some to read. It’s a nice answer at least in…
-
Wayback Machine rescues pytest posts
I’ve been curious about how pytest‘s assertion rewriting works. (As someone used to Abseil’s testing framework, the usage of bare asserts was a shock.) I was happy to come across a Reddit post: “How does pytest work?”. Unfortunately, the site it points to, pythoninsight.com, seems to be mostly dead. Luckily, the wonderful Wayback Machine has…