Pete Gonzalez

Results 658 comments of Pete Gonzalez
trafficstars

Suppose we wanted to send at most one notification email per day? Does the Google Apps Script have any way to remember state between runs? Software engineering is hard. 😄

From a little research, it seems like we should be able to do something like: ```js var userProperties = PropertiesService.getUserProperties(); userProperties.setProperty('lastEmailSent', new Date().toISOString()) ``` I'll try this when I get...

I'm now experiencing this error very frequently. It is probably not Google Calendar's fault, but rather decreased reliability of the company that provides my calendar service. Looking more closely at...

I also noticed that `fetchSourceCalendars()` has this note: https://github.com/derekantrican/GAS-ICS-Sync/blob/17cde1a768ad4c6d5ede0e7401e20606fff0be2a/Helpers.gs#L162-L164 However in the snippet above, the `HTTP error` substring causes `callWithBackoff()` to return immediately without retrying: https://github.com/derekantrican/GAS-ICS-Sync/blob/17cde1a768ad4c6d5ede0e7401e20606fff0be2a/Helpers.gs#L1098-L1103 Apparently this inconsistency was...

**Update:** Enabling retries for the HTTP requests definitely seems to resolve the intermittent connection failures that I had encountered. 👍 I also found that if important an error occurs (the...

Here's my PR: https://github.com/derekantrican/GAS-ICS-Sync/pull/403

The bug is introduced by this expression: **amazon-mws-api-sdk\lib\error.d.ts** ```ts export declare const MWSApiError: Codec; declare type MWSApiError = GetInterface; ``` It is a real pretzel of type algebra (sigh, fellas,...

The `purify-ts` website gives this example: ```ts const User = Codec.interface({ username: string, age: number }) type User = GetInterface //

> What would be then a good choice that solves these problems: > > 1. Parsing third party API output > 2. Validating it > 3. And typing, without duplication...

> If this library fails on [this type](https://github.com/gigobyte/purify/blob/master/src/Codec.ts#L18), I don't see how you can use any library that gives you a free type from the validation object. @gigobyte The bug...