Blankeos
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Blankeos on 11/14/2023 in #questions
Copilot account question
Cool that they have a dedicated site for this lol:
https://resources.github.com/copilot-trust-center/
7 replies
TTCTheo's Typesafe Cult
•Created by Blankeos on 11/14/2023 in #questions
Copilot account question
7 replies
TTCTheo's Typesafe Cult
•Created by Blankeos on 11/14/2023 in #questions
Copilot account question
---
On that note, I'm also curious, what else is Copilot using the code snippets data for? Just for training? Or are they also putting those somewhere public?
To me, AI training on our code is like a person looking at someone else's stackoverflow solutions. As long as they generate a piece of code that's not completely identical as my code that's okay. It's not like most projects do anything completely unique, sometimes it's just the same solutions on a different domain.
7 replies
TTCTheo's Typesafe Cult
•Created by Blankeos on 11/14/2023 in #questions
Copilot account question
Thanks for the response @Develliot! I have a different work account and we're supposed to only use that whole at work. I kinda wanna use the Copilot extension outside work on the same account. I just dont wanna leave any footprint behind if copilot sends any other data (besides code snippets for training) to GitHub outside of my knowledge.
By VScode extension you mean only copilot right? I still actually use extensions like Gitlens, Git Graph, and GitHub Pull Requests. Not sure if they'll interact nicely with two accounts logged into the same IDE if that's even possible.
I can see how the CLI would run a separate account though, since the auth is just living in the global config or an ssh key.
As far as infosec goes, we have none. Also got a 👍 Go sign from the the higher ups use the $10 license since our code snippets doesn't really necessarily have any sensitive info to gatekeep. Also because 20 bucks is expensive per developer to be provided. We're on a budget. Also because the $10 for copilot is a personal expense.
7 replies
TTCTheo's Typesafe Cult
•Created by Blankeos on 6/22/2023 in #questions
Is there a way to use the trpc client inside a useEffect? Or a separate "service".
Thanks for this @Finn ( CLO ) !!
18 replies
TTCTheo's Typesafe Cult
•Created by Blankeos on 6/22/2023 in #questions
Is there a way to use the trpc client inside a useEffect? Or a separate "service".
I saw this solution. I also wanna ask if does having two trpc clients (createTRPCNext and createTRPCProxyClient) pointing to the same baseUrl cause any conflicts?
18 replies
TTCTheo's Typesafe Cult
•Created by Blankeos on 6/22/2023 in #questions
Is there a way to use the trpc client inside a useEffect? Or a separate "service".
Yeah I kind of want to do a query on the api just like I would with axios, just typesafe like trpc.
18 replies
TTCTheo's Typesafe Cult
•Created by Blankeos on 6/22/2023 in #questions
Is there a way to use the trpc client inside a useEffect? Or a separate "service".
Can you elaborate on this?
18 replies
TTCTheo's Typesafe Cult
•Created by Blankeos on 6/22/2023 in #questions
Is there a way to use the trpc client inside a useEffect? Or a separate "service".
Sorry if it's not clear. I kind of want a specific page to work both online and offline. Offline, it loads data from local storage. Online, it calls the api. (It's a PWA so it works offline)
Putting this in useEffect with a simple if and else statement seems simple. Not sure how to do this with RQ though because I'm forced to use 'useQuery' outside 'useEffect'. And 'useQuery' seems to get called onMount just like useEffect does, but I kinda wanna defer it to when I want it actually called like useMutation's mutateAsync.
Also worth mentioning that I don't really need SSR here so getServerSideProps won't be necessary. But on that topic, will the page not load offline (considering this is a PWA) if getServerSideProps is present in the .tsx file?
18 replies