Michael Leonhard

Results 54 comments of Michael Leonhard

I still need this.

The `http` module is slow to cleanup after timeouts, so I'm now using [`dart:io:HttpClient`](https://api.dart.dev/stable/dart-io/HttpClient-class.html). It is also missing documentation on exceptions it throws: https://github.com/dart-lang/sdk/issues/44487

Related proposal: [HttpClient deadline and retry (dart-lang/sdk#46557)](https://github.com/dart-lang/sdk/issues/46557)

I filed [terraform#24373](https://github.com/hashicorp/terraform/issues/24373) :)

I need this because Grafana reloads dashboard files only when their timestamp has increased. It stores the timestamp in its database. [Grafana's dashboards.fileReader.saveDashboard()](https://github.com/grafana/grafana/blob/904f88167ca1b2010dc60ef86a336e931194100a/pkg/services/provisioning/dashboards/file_reader.go#L154)

I found two workarounds: 1. Include a hash of the file contents in the filename: ```hcl locals { dashboard_json = file("${path.module}/containers.json") } resource "docker_container" "grafana" { upload { file =...

Here is a struct for creating a Postgres database per test: ```rust // test_db.rs use diesel::{sql_query, Connection, PgConnection, RunQueryDsl}; use log::warn; use std::sync::atomic::AtomicU32; use url::Url; static TEST_DB_COUNTER: AtomicU32 = AtomicU32::new(0);...

Hi AWS SDK Team, I also need the ability to limit the size of files uploaded via a pre-signed URL or request. Please consider implementing this. Thanks, Michael

When iOS users enable the "live photo" option, their camera software creates HEIC files. My rust server must process those files. My plan is to make my app convert all...

I think it's important to retry API calls that fail for any reason, not just 5xx results. HTTP requests can fail for a variety of reasons. I need Terraform to...