/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

calvinlc.com
| | teppen.io
3.5 parsecs away

Travel
| | [AI summary] This article explains how to calculate the S3 ETag for a local file using Python 3.6, including code examples and methods to determine the appropriate chunk size.
| | dusty.phillips.codes
4.5 parsecs away

Travel
| | I really appreciate Python's pathlib module for managing filesystem stuff. While I don't love the argparse module for command line parsing, I don't think it's worse than other available options. I usually choose it for my CLI scripts, since nothing else is good enough to overcome the inertia of using a third party library. Not many people seem to be aware that the two can very easily be combined such that argparse will return Path objects instead of strings that need to be adapted after you query them:
| | blog.alexwendland.com
2.6 parsecs away

Travel
| |
| | whatibroke.com
24.1 parsecs away

Travel
| Hey everyone, Just a quick post on how to force a page refresh with JavaScript (no jQuery required): location.reload(); Note that the reload function accepts a boolean parameter that can be used for force a server refresh. Alternatively, it just defaults to the cache. Checkout this Stackoverflow post for more info: http://stackoverflow.com/a/5404869/522859