Advertisement · 728 × 90

Posts by Curt Merrill

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

3 months ago 0 0 0 0

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

3 months ago 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)

4 months ago 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.

11 months ago 2 0 3 0

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

1 year ago 1 0 0 0

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

1 year ago 1 0 0 0

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

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

1 year ago 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!

1 year ago 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.

1 year ago 1 0 0 0
Advertisement
/now — curtmerrill.com

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

1 year ago 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...

1 year ago 2 0 1 0

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

1 year ago 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

1 year ago 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 …

1 year ago 2 0 0 0

I hope nothing costs more than $10

1 year ago 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!

1 year ago 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?

1 year ago 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.

1 year ago 1 0 0 0
Advertisement
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).

1 year ago 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.

1 year ago 1 0 0 0