Curt Merrill's Avatar

Curt Merrill

@cmerrill.com

40
Followers
180
Following
20
Posts
16.10.2023
Joined
Posts Following

Latest posts by Curt Merrill @cmerrill.com

This is a snippet of Python code from a Django project's "settings.py" file. The code is:
``` 
STORAGES = {
	"default": {
		"BACKEND": "storages.backends.s3.S3Storage",
		"OPTIONS": {
			"bucket_name": LINODE_BUCKET_NAME,
			"region_name": "us-east-1",
			"access_key": LINODE_ACCESS_KEY,
			"secret_key": LINODE_SECRET_KEY,
			"endpoint_url": f"https://{LINODE_BUCKET_REGION}.linodeobjects.com",
			"location": f"{ENVIRON}",
			"client_config": Config(request_checksum_calculation="WHEN_REQUIRED"),
		}, 
	},
	"staticfiles": {
		"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
	},
}
```

This is a snippet of Python code from a Django project's "settings.py" file. The code is: ``` STORAGES = { "default": { "BACKEND": "storages.backends.s3.S3Storage", "OPTIONS": { "bucket_name": LINODE_BUCKET_NAME, "region_name": "us-east-1", "access_key": LINODE_ACCESS_KEY, "secret_key": LINODE_SECRET_KEY, "endpoint_url": f"https://{LINODE_BUCKET_REGION}.linodeobjects.com", "location": f"{ENVIRON}", "client_config": Config(request_checksum_calculation="WHEN_REQUIRED"), }, }, "staticfiles": { "BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage", }, } ```

I had to add a `botocore.config.Config` object to my options, and set `request_checksum_calculation` to "WHEN_REQUIRED".

One of my problems was that I was using "config" as the key, instead of "client_config"

sources: techdocs.akamai.com/cloud-comput...
and
django-storages.readthedocs.io

14.12.2025 03:42 👍 0 🔁 0 💬 0 📌 0

This is a long shot, but is anyone successfully using `django-storages` with Linode Object Storage?

14.12.2025 03:19 👍 0 🔁 0 💬 1 📌 0
Preview
Shaggy Rogers - Wikipedia

Today I learned: Shaggy from Scooby Doo has a full name, and it's Norville Rogers.
en.wikipedia.org/wiki/Shaggy_... (via catfishing.net)

10.12.2025 14:31 👍 1 🔁 0 💬 0 📌 0
Preview
TIL: ^ bitwise XOR How to mark a comparison of booleans as True or False using bitwise XOR.

@daniel.feldroy.com Hi! There's a caveat to your post about the caret operator (daniel.feldroy.com/posts/til-20...), it only returns True if one (and only one) of the items is True. print(True ^ False ^ True) returns False.

07.05.2025 08:59 👍 2 🔁 0 💬 3 📌 0

Kindergartener: "If I were a Pokémon, I'd be a toilet type."

19.03.2025 23:42 👍 1 🔁 0 💬 0 📌 0

✒️ Now inking:
- TWSBI Diamond 580 (clear) — Diamine Earl Grey
- Pilot Custom 74 (teal) — Iroshizuku Shin-Ryoku

11.03.2025 20:02 👍 1 🔁 0 💬 0 📌 0

Any keyboard nerds have opinions on the Voyager vs the Iris CE?

www.zsa.io/voyager
keeb.io/products/iri...

05.03.2025 00:01 👍 1 🔁 0 💬 0 📌 0

Some personal news: I'm honored to be a part of this cohort and looking forward to learning from and working with all these folks!

26.02.2025 19:25 👍 2 🔁 0 💬 0 📌 0

I say "please" when talking to voice assistants. I dot it mostly to model behavior for my child, but I don't think there's anything wrong with practicing politeness/kindness.

26.02.2025 14:14 👍 1 🔁 0 💬 0 📌 0
/now — curtmerrill.com

Took some time for myself and developed some custom data feeds for my "/now" page: curtmerrill.com/now/

18.02.2025 18:57 👍 0 🔁 0 💬 0 📌 0
Framed — curtmerrill.com

I don't play Framed (framed.wtf) every day, but I've been keeping track of how I do: curtmerrill.com/blog/2025/fr...

15.02.2025 15:04 👍 2 🔁 0 💬 1 📌 0

I went with uprinting.com. Customer service has been good, cards will arrive soon.

05.01.2025 10:30 👍 1 🔁 0 💬 0 📌 0

I'd like to get some custom correspondence cards printed with my own logo/design, but the services I've found so far only allow "personalization" of preset designs. Anyone have a recommendation?
#stationery

30.12.2024 16:36 👍 1 🔁 0 💬 1 📌 0
The rear end of a Mazda Tribute vehicle.

The rear end of a Mazda Tribute vehicle.

This is not the greatest car in the world, this is just a …

07.12.2024 22:37 👍 2 🔁 0 💬 0 📌 0

I hope nothing costs more than $10

06.12.2024 15:23 👍 1 🔁 0 💬 0 📌 0
A close up of a sleeping dog’s face.

A close up of a sleeping dog’s face.

Happy Birthday, Frida!

23.11.2024 14:54 👍 2 🔁 0 💬 0 📌 0

I'm looking for artists who are accepting commissions for pieces ranging in size from 5"x7" to 8"x10". Is that you or someone you know?

22.11.2024 20:28 👍 9 🔁 0 💬 8 📌 0

Bad luck: Dog chewed up my left AirPod.
Good luck: Now I can buy a new pair of noise cancelling AirPods.

22.11.2024 14:34 👍 1 🔁 0 💬 0 📌 0
A blond-haired puppy scratching its neck.

A blond-haired puppy scratching its neck.

Worst part of staying home with sick 5YO is missing the puppy visit at the office (jealousy-inducing photo from a colleague).

20.11.2024 14:28 👍 1 🔁 0 💬 0 📌 0
Top-down view of a blonde dog curled up on a pillow sleeping.

Top-down view of a blonde dog curled up on a pillow sleeping.

Top-down view of a dog lying on the floor in a sunbeam. Only her rear legs and tail are outside the sunlight.

Top-down view of a dog lying on the floor in a sunbeam. Only her rear legs and tail are outside the sunlight.

Frida at rest. Two in a series of indeterminate length.

12.11.2024 18:41 👍 1 🔁 0 💬 0 📌 0