profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/zackdotcomputer/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Zack Sheppard zackdotcomputer Traveler Dev, Ltd. London, UK zacksheppard.com iOS and Web engineer, available for freelance work. 7 years managing, leading, and making drinks at @foursquare. Now running @travelerdev.

zackdotcomputer/suspension 6

Wrapper utilities for use with react Suspense

courtneyetc/you-encounter-computer 2

A meta-analysis-game about learning how to code.

ebberg/4d4sq 2

roll for initiative

zackdotcomputer/my-homepage 1

The code that runs zacksheppard.com

zackdotcomputer/ParaguayRadarRepro 1

Did you know that iOS 10 crashes if your phone is in Paraguay Spanish and you localize a distance?

zackdotcomputer/scavenger 1

A simple web app for creating and managing digital scavenger hunts via Twil.io and Swarm by Foursquare

zackdotcomputer/ts-bootstraps 1

Collection of cleanly formatted Typescript bootstraps for web projects

orbitcme/adguard-to-ios 0

A simple Typescript utility to convert Adguard format blocklists to iOS Content Blocker JSON

zackdotcomputer/advent-of-code-2020 0

I swore I wouldn't do it again... and yet...

push eventzackdotcomputer/ts-bootstraps

Zack Sheppard

commit sha d0f21aefd8b738b129eedf35749a09c2ef5b228b

Update all packages - Next@11

view details

push time in 3 days

issue commentredwoodjs/redwood

Type error with `beforeResolver` and `requireAuth`

As luck would have it, I was meaning to start a new project this weekend. Long story short, yes I am still seeing this @thedavidprice


The long story long here's the exact steps I took to set up a new project with the two compiler errors:

yarn create redwood-app --ts test
cd test
yarn rw setup auth supabase

Add a random model to the Prisma schema:

model Profile {
  id        String @id @db.Uuid
  avatarUrl String
}
yarn rw prisma migrate dev
yarn rw g scaffold Profile

Ok setup now complete. You should see the two type issues I listed initially in auth.ts and the generated service file profiles.ts

zackdotcomputer

comment created time in 7 days

pull request commentredwoodjs/redwoodjs.com

Documents RedwoodApolloProvider's `graphQLClientConfig` prop

Once I had time to read through them, those were an easy "approved in 30 seconds" group of suggestions. Thanks for them.

And I wouldn't say I'm an Apollo wizard, more an enthusiast at this point 😅 but learning quickly since it pairs well with the tech I am actually an expert in.

zackdotcomputer

comment created time in 7 days

push eventzackdotcomputer/redwoodjs.com

Zack Sheppard

commit sha e3cf514580516e51f95317e53e36a08287072c1e

Apply suggestions from code review @jtoar these all look great. Co-authored-by: Dominic Saadi <32992335+jtoar@users.noreply.github.com>

view details

push time in 7 days

push eventtravelerdev/brand-homepage

Zack Sheppard

commit sha 351eb4c77e89a9ed6b702ef5c4a073732c39c51c

Back in London

view details

Zack Sheppard

commit sha 65d1acef54879a2fc56ebd634b1cf306ca2aa65c

Update packages

view details

push time in 7 days

issue commentredwoodjs/redwood

Change AuthProvider "no client" default value to `null`

@cannikin I think that is no longer the case - looking at the AuthProvider and provider implementations it seems that most (all?) of them assume client will be an Object rather than a function.

zackdotcomputer

comment created time in 10 days

issue commentaws/copilot-cli

If initial deploy fails, log group deleted, so can't inspect why deploy failed

I didn't run into this with my previous env because I started by deploying a "hello world" docker there. That allowed there to be a valid-ish fallback state that the CloudFormation could revert to without destroying all resources. Possibly this is what needs to be done with copilot - the equivalent of a basic hello-world should get deployed when the service is first initialized so that reversions of the user's custom code don't cause all the resources and associated debugging information to be destroyed.

zackdotcomputer

comment created time in 11 days

issue openedaws/copilot-cli

If initial deploy fails, log group deleted, so can't inspect why deploy failed

I'm trying to deploy a service to a new environment.

copilot deploy --env newenv

The deploy is hanging at service create, and then eventually fails with Error occurred during operation 'ECS Deployment Circuit Breaker was triggered'.

This triggers a rollback, however since it is the initial deploy to the environment the rollback cleans up many of the resources created in the CloudFormation stack. Most critically, I assume, it deletes the LogGroup resource, meaning that I cannot view the logs for the attempted deploy to debug why the deploy is failing.

created time in 11 days

pull request commentredwoodjs/redwoodjs.com

Documents RedwoodApolloProvider's `graphQLClientConfig` prop

Just a ping to say I'm not abandoning this - work has been very busy the last couple weeks leading up to a launch. I should have time to revisit this and incorporate your suggestions this weekend, @jtoar. Sorry for the delay.

zackdotcomputer

comment created time in 12 days

issue commentgregberge/svgr

"High" severity audit alert because of `css-what`

This issue is still active and will be solved by #565

zackdotcomputer

comment created time in 20 days

push eventtravelerdev/brand-homepage

Zack Sheppard

commit sha 6e88eaca6a32db39789315561a979cdf3981c885

Disable dark mode

view details

Zack Sheppard

commit sha ea558b4b5bb5bb5a1a275732f0b041a06cc8e676

Update products

view details

push time in 20 days

push eventtravelerdev/brand-homepage

Zack Sheppard

commit sha 0da8caee00b625ba714d849b7171063cb60e2c63

Fix globe image rendering

view details

Zack Sheppard

commit sha b8da749d699b2c7fedf45da6d9cde7a81db92a21

Temporarily in Paris

view details

push time in 21 days

push eventtravelerdev/brand-homepage

Zack Sheppard

commit sha 9b55c7faab5c40cc758293a31d0904faf68cd836

Fix next AppProps import

view details

push time in 21 days

push eventtravelerdev/brand-homepage

Zack Sheppard

commit sha 2eec82e5772871914ddef1daf953093fce33efc3

Update and lint

view details

push time in 21 days

push eventzackdotcomputer/my-homepage

Zack Sheppard

commit sha dc12d26882998e74f2ff9521301ae689fba60f08

Update dependencies and eslint

view details

Zack Sheppard

commit sha 5ba1f739721038bbf16855fa7f094f12c48a13c6

Fix lint errors

view details

push time in 21 days

issue openedaws/copilot-cli

Support for passing env to docker build as args

Currently, there's no way to pass any sort of dynamic or secret build arguments to the docker build process. The manifest supports passing secrets from SSM to the running process, but the build: args section only supports constant values coded into the manifest file itself.

This limits the ability to pass secrets such as NPM credentials to the docker build, limiting the ability for professional CI usage if you have private packages.

Your available options in this care are either:

  1. Code your private values into the manifest (bad)
  2. Run your build process manually, upload the image to ECR yourself, and deploy the resulting image.

Option 2 is better, but runs into a few issues with the copilot cli:

  1. The build process must be managed separately
  2. The resulting image must either overwrite the last image's tag (e.g. by moving the "latest" tag) or else you must edit your manifest.yml to point to the new location.
  3. If you overwrite the last image's tag and do not otherwise change manifest.yml, then the copilot deploy command will not detect a change and will not deploy.

I think the ideal solution here would be the ability to specify ${VALUE} values in the manifest.yml build: args section that would indicate that the value should be pulled from the local env and then passed to the build process.

If for some reason that is not possible, two other possibilities would be A) to have a way to force copilot deploy to redeploy even if it believed nothing had changed, but that solution is far less graceful or B) to have a way to pass in the build image location as an argument to the copilot deploy command in the same way that one may override other values.

created time in 25 days

issue commentaws/copilot-cli

How to pass in AWS credentials for docker build?

Presumably if you do 1, you will also wind up with your credentials in your git history.

For AWS credentials for Docker build, I think this PR might now solve the issue.

gtamas

comment created time in 25 days

issue commentaws/copilot-cli

Docker build args sourced from Shell environment variables

Same here and could love to see this issue reopened @flyinprogrammer since, backlog or no, this is a real issue for anyone who needs a secret build arg (such as an access token to a private package repo).

flyinprogrammer

comment created time in 25 days

pull request commentredwoodjs/playground-auth

Support Clerk and Supabase Twitch

Oof that looks like a bug on their end (cause that obviously isn't a naked domain!). I'll ping this over to their support discord.

If I were hitting deploy, then yeah I'd do the dangerous thing and send it out with the dev backend configured... But maybe after waiting a little bit to see if they can fix this really quickly for us.

dthyresson

comment created time in a month

pull request commentredwoodjs/playground-auth

Support Clerk and Supabase Twitch

@dthyresson I think your instinct is correct that the API and Web being on the same host (whatever your netlify subdomain is) means you should select the "same host" option.

I believe this setting is used for scoping the cookies that Clerk sets. Agreed that even Clerk's docs could do a better job explaining how to get set up on Prod, though.

dthyresson

comment created time in a month

PR opened redwoodjs/redwoodjs.com

Documents RedwoodApolloProvider's `graphQLClientConfig` prop

Follow up for my PR adding cache config support, this adds documentation for the graphQLClientConfig prop on RedwoodApolloProvider and how to use it to configure your cache's type policy.

+27 -0

0 comment

1 changed file

pr created time in a month

push eventzackdotcomputer/redwoodjs.com

Zack Sheppard

commit sha 19181e42bc75d4512a3831fdbf2874344937f736

Typo and touchup

view details

push time in a month

push eventzackdotcomputer/redwoodjs.com

Zack Sheppard

commit sha cfd83941ffb0f2eb5a8be911f7e95ce0b0692236

More succinct headline

view details

push time in a month

push eventzackdotcomputer/redwoodjs.com

Zack Sheppard

commit sha 3a1da0ca4fb35d405ccd35832df47c6d2e58b125

Documents RedwoodApolloProvider's `graphQLClientConfig` prop Follow up for [my PR adding cache config support](https://github.com/redwoodjs/redwood/pull/3145#issuecomment-897303665), this adds documentation for the `graphQLClientConfig` prop on `RedwoodApolloProvider` and how to use it to configure your cache's type policy.

view details

push time in a month

push eventzackdotcomputer/redwood

Daniel Choudhury

commit sha 5c192358bf90b2ca18fa6f38c79b79c8fccbff00

[v0.36] Adds ability to test api functions (#3207) Co-authored-by: Peter Pistorius <peter.pistorius@gmail.com>

view details

David Thyresson

commit sha 50c3bdf13c701043d14ee0ecaef74c5bb3301fca

Configure dedicated log level for GraphQL logger (#3232)

view details

Daniel Choudhury

commit sha fdb7d0877edf4b1dd3da1f5fd8adcbad5c644116

Makes it clearer in the logs when Rufus errors out (#3238)

view details

vchoy

commit sha 673dfee3798ab9c6d3738e7c7efad10abc975bee

upgrade Prisma v2.29.1 (#3243)

view details

Daniel Choudhury

commit sha 4112c2c87912b7f4239d423cefdc0a9c407e29b4

[v0.36] fix(babel-hooks): Import babel hooks correctly for console, exec and dm up commands (#3231) * fix(babel-hooks): Import babel hooks correctly for console, exec and dm up commands * Change prerender to import babel settings from internal too * Move folder | Fix imports * Silly vscode refactor * Remove babel-core mocks from tests * Typo in babelrc file * import -> require babel/register * Small refactor | Make babel userconfig loading non breaking * PR comments * Update comments for clarity around babel. Silly babel is silly. * Address further pp comments * Clean up imports * Return undefined if no babel configs. Returning false breaks Co-authored-by: David Price <thedavid@thedavidprice.com>

view details

David Price

commit sha f64e61fef390f52520dca4c6345474ca27fc5809

update yarn.lock

view details

Dominic Saadi

commit sha 5b2e0c1fa236d6995dbda466b453e2265ad16745

downgrade configstore (#3247)

view details

Daniel Choudhury

commit sha bc70cc0579caeea5992195c3c7bee08e00499b48

v0.36 fix(babel): Dont transform runtime for framework (#3249) * fix(babel): Dont transform runtime for plugin * Remove babel-runtime as no longer required * Move plugin-transform-runtime to web side only

view details

Dominic Saadi

commit sha 101baa52c0d08c3dd876d5cb76e5b65985273203

downgrade configstore (#3247)

view details

Daniel Choudhury

commit sha e8321fcd70dfce3d0b2aff70fe43db876143e3c1

v0.36 fix(babel): Dont transform runtime for framework (#3249) * fix(babel): Dont transform runtime for plugin * Remove babel-runtime as no longer required * Move plugin-transform-runtime to web side only

view details

David Price

commit sha 589101bcf18a84f9771c92584076c5c33680e17b

update yarn.lock

view details

David Price

commit sha 8edc8d2108ae10cd032cd7eae887e528e8eef18d

add e2e cli commands (#3250) * add e2e cli commands * add comment * use framework_path for rwfw

view details

David Price

commit sha d1cb10979ceb562330a13d99286b2f4a16357169

upgrade webpack dependencies (#3252)

view details

David Price

commit sha 3c3e19ea8a357c3d5fb9e696961a48ae307add6d

add e2e cli commands (#3250) * add e2e cli commands * add comment * use framework_path for rwfw

view details

David Price

commit sha 0d268e2145a82d80706666f5056e54d5519f4d53

upgrade webpack dependencies (#3252)

view details

Brian Liu

commit sha dbc2e555de805c14699ea1296532a14e16b3465d

Updated useMatch and NavLink doc in respect to #2683 (#3241) Co-authored-by: Brian Liu <brian@vouchfor.com> Co-authored-by: David Price <thedavid@thedavidprice.com>

view details

David Price

commit sha 885b2d552ca65b07bf165bc53327506d16554c56

v0.36.0

view details

David Price

commit sha d067b8ae43034639d6a27b67efe4b748c32bad81

Merge branch 'main' into release/minor/v0.36.0

view details

David Price

commit sha 2b054c514f94367a355db4b7865060c838a5b73e

Update yarn.lock

view details

David Price

commit sha 01eb092ea2a88ea65c02f09e4e549545c33743cd

Merge pull request #3255 from redwoodjs/release/minor/v0.36.0 merge branch release/minor/v0.36.0

view details

push time in a month

create barnchzackdotcomputer/redwoodjs.com

branch : zack/apollo-cache-docs

created branch time in a month

push eventzackdotcomputer/redwoodjs.com

A. David Thyresson

commit sha 8f66ab5b6dded2ca91ad8df793a8f24ff6bd862c

Documents netlify toml and dev

view details

Ryan Doyle

commit sha 306ec903873572e6c86055c7ee09a72d03d70da7

update Firebase auth docs

view details

David Price

commit sha a02997b1a463c363c4195db300fcef7e1fefec20

update quick-start Node.js requirement

view details

António Meireles

commit sha fcfbffcba781f1ca4247fea8c1fe825dae0eb208

spelling fixes Signed-off-by: António Meireles <antonio.meireles@reformi.st>

view details

A. David Thyresson

commit sha 65d694acc210b48136ead93fd9fb4d7066b58dd9

WIP custom GraphQl context docs

view details

A. David Thyresson

commit sha 142abf80a443b3b5dfe5d77b49fef1aa73094d88

Adds heading

view details

Zack Sheppard

commit sha 2bd8fe4312062a5b1b74189aa94828345e299491

Add documentation for the Clerk auth integration

view details

Zack Sheppard

commit sha a036e8d28248427a62046812f9d3a255730de4a2

Update name of frontend var to remove NEXT_PUBLIC

view details

John

commit sha f936f33472175e1173ea618e8b0a030de46be3bc

Update authentication.md Fix typos.

view details

Rob Cameron

commit sha 88e05c2d7ba5c5dcf6d617d1e80077341fb8330c

Adds note about beforeResolver() and shared code

view details

Rob Cameron

commit sha 40657ee60def5ef46f091ff5c26ae37205ed6056

Typo

view details

David Price

commit sha 663576f543ed07511c93a49cfa4121299bc0771b

Merge pull request #752 from Dozacode/patch-2 Update authentication.md

view details

Rob Cameron

commit sha 24e76e204d692d4adea3b4f86f9f9f1096b96e22

Updates links to withCellHOC

view details

Rob Cameron

commit sha 7c546128683d392ebd2f61e99cd04780be3b67be

Update link to learn.redwoodjs.com

view details

Rob Cameron

commit sha 10ef2a9f529dc9054fe50d1fb4f1ddb750461ba0

One more withCellHOC fix

view details

Aditya Pandey

commit sha f5eeda98ed9ab29e213d45dd1ffef6dbf6e6913f

Remove docs for db command

view details

A. David Thyresson

commit sha b2ee5c2c4c638affd9b34a8e713ecd11414e1c46

Adds ts info for db seed

view details

David Price

commit sha e2d5b15a1310e9b392e8b2c19624b3a52d880fe0

Update docs/graphql.md

view details

David Price

commit sha afd5ae5f14f99387bd7a273e49e3649cd8f4bd58

Merge pull request #746 from AntonioMeireles/tidyup_210713 spelling fixes

view details

David Price

commit sha cb8f5ab6e859b198cdee4e051fdb7eee51a54a7d

Apply suggestions from code review

view details

push time in a month

pull request commentredwoodjs/playground-auth

Draft - Support Clerk and Supabase Twitch

@dthyresson Yup - ran it locally against my own Clerk instance and confirmed everything looks good.

dthyresson

comment created time in a month

push eventzackdotcomputer/playground-auth

A. David Thyresson

commit sha ac5e92971469cf52eba53b972582f6b51eacc9f7

Upgrade to v0.36

view details

A. David Thyresson

commit sha 349dee6648ea42b91932c68ab83f23c4532d4556

Cleanup page titles

view details

push time in a month

issue commentdaringway/terraform-aws-cloudfront-viewer-request-lambda

Malicious crafted url allows to redirect to another domain

This is only if on has append_slash enabled. I think the fix would be to manually check the olduri variable for .startsWith("//") and, if so, drop that first character before transforming it.

Tefnet

comment created time in a month