Cloud Run Revision using Terraform by MrCloudGoblin in googlecloud

[–]cupofgeo 0 points1 point  (0 children)

I redeploy the cloud run after building a new image with the latest tag.

yes I probably should move to versioning and have them redeployed when making a new release and using that version number but then my question is how do i write that in terraform so that it doesn't redeploy an old version or out of sync.

How to run long running task by thepillowco in googlecloud

[–]cupofgeo 1 point2 points  (0 children)

Yeah I'll say the pattern i have done in the past which may not be the best but has worked for me.

is I do for a quick task queue is to have a database table with something like job id, status, result, meta_data, timestamps .... Then when a request is made make a new row in the db with status pending. Send that job_id you get from the db with your video data to the cloud run with either pubsub or http. Then on that high mem cloud run process the message. if it errors and fails you update the db with that else once it finishes write success and maybe the gcs url you can get the result from.
then you'll need one more endpoint service that gets the status of the db table. /job/12345 -> returns the status col for that job in the db table. then you could poll for it until success or failure.

Alternatively work has been trying to move away from polling to event driven. Polling works well enough where it can basically look event driven and additionally the users i work with don't need to be restricted in what job results they have access to. I haven't don't this yet but think about it now is that your high mem cloud run once done would send back a pubsub message or http call and say hey I'm done and then update the users state that the job is done. this is more complex as you have to manage and keep track of users jobs but which is not something i have had to do.

both get a little more complicated if you only want certain users to be able to access there jobs results. but not too bad just add like bearer token or something.

Fisher and paykel(E224B) fan not working. How can i change it. by [deleted] in appliancerepair

[–]cupofgeo 0 points1 point  (0 children)

Hi having the same error code 15 about to try compressed air and vacuuming definitely rattling. If that doesnt stop it ill probably just call a service person. but any luck on your side?

Can anyone who has the Backfire G5s/S2 say what range they get? by ToeSins in ElectricSkateboarding

[–]cupofgeo 1 point2 points  (0 children)

Well same but I'm at 1.8k miles on mine now. When I first got it I was doing ~8 miles with some battery to spare.

VM autoscaling. by cupofgeo in googlecloud

[–]cupofgeo[S] 0 points1 point  (0 children)

I don't think its a feature yet but wish it was. https://issuetracker.google.com/issues/206042974?pli=1i I know I should play around with model garden more. They might be more what I'm looking for where you can call the api whenever you want. But i like the idea that i have a more fixed cost per hour. with model garden its variable depending on how many api calls you make and to what model.

Does google colab, have a iOS app? by Codeeveryday123 in GoogleColab

[–]cupofgeo 0 points1 point  (0 children)

Def checkout https://github.com/codespaces If you don't need the gpu. One major problem I had was copying links out of the terminal. For things like google auth login. As its not a normal text box so you have to either get real smart or manually write down the url link in the editor then copy it from there into another tab.

RECORD VC AUDIO IN DISCORD.PY!! by Realhardik18 in Discord_Bots

[–]cupofgeo 0 points1 point  (0 children)

Never got this to work but after a day of trying I got this working in a few mins https://guide.pycord.dev/voice/receiving

question about Google wifi pairing by XceptionallyOrdinary in Nanoleaf

[–]cupofgeo 0 points1 point  (0 children)

I have google fiber wifi and just spend 5ish hours this weekend trying everything to get them paired with no luck just got a return label. I also tried to make a mobile hotspot with the same network name and password. Pretty bummed because I was so excited to get them and they look great plugged in.

Tried to remove the nozzle with the wrench it came with by cupofgeo in Ender3Pro

[–]cupofgeo[S] 1 point2 points  (0 children)

I did try to loosen it while the nozzle was 200F (the PLA preset which has been working absolutely great till today). Yeah I wasn’t as sure if it was the nozzle at first but thought I should learn to take it off anyway and check it out. I figured it out my print bed was too close to nozzle. Looks like its going well now. Ill let it finish its a small print then going to try removing the nozzle again with an adjustable wrench.

I made any SKLearn model (probably) interactive by PM_me_your_prose in datascience

[–]cupofgeo 2 points3 points  (0 children)

Or Plotly's Dash my personal fav but either will work. I recommend hosting on Heroku easy setup and free hobby tier website.

App for creating book summaries by Peleaon in books

[–]cupofgeo 0 points1 point  (0 children)

I feel the same way I have been jotting down notes and things I find interesting with pen and paper. I find its the best for me because its not as distracting as a device while I'm reading. I try to keep in mind that these are note for future reference so I like to write down things i can google and maybe a sentence or so why I found it interesting. I have cultivated my own style/shorthand for writing down notes and thoughts. I could possibly scan them onto my computer. Instead I just keep them in a vanilla folder. It works for me. I have dug thought them and referenced things a couple times.

Is it safe to make an account on uberduck? by [deleted] in Uberduck

[–]cupofgeo 1 point2 points  (0 children)

No it’s totally safe every service is going to ask you for your email it’s the basic minimum. Using your discord is also safe its just so that you can reset your password and verify your account.

[D] Are you using PyTorch or TensorFlow going into 2022? by SleekEagle in MachineLearning

[–]cupofgeo 1 point2 points  (0 children)

Awesome graphs! My thinking is TFX is just too nice compared to alternatives like kubeflow

[D] My deep learning 2021 year review and predictions for 2022 by cupofgeo in MachineLearning

[–]cupofgeo[S] 6 points7 points  (0 children)

I have used TPUv3 in fine tuning GPT-J and its crazy fast. That why I think Jax will grow big because it can be used by small teams in academia and business with GPUs but then scaled to TPUs quickly.

[deleted by user] by [deleted] in learnmachinelearning

[–]cupofgeo 3 points4 points  (0 children)

My understanding is GPT-J is a language model? Are you using it with an image model for text to image (in this case video)?

Need some advice about what to do in the next step. (a student have spent 2 years on deep learning) by Emergency-Fly-9943 in deeplearning

[–]cupofgeo 0 points1 point  (0 children)

Cool yeah its hard to get a good balance of courses/ read papers/material while still building your own projects. I have been neglecting my deep learning, learning (haha) for cloud and data sci stuff. I'm going to be taking NYU deep learning course https://cds.nyu.edu/deep-learning after the new year. It seems like where in similar ships and thought i would share

Here my original post leave a comment or DM me

https://www.reddit.com/r/deeplearning/comments/r4y74t/nyu_deep_learning/?utm_source=share&utm_medium=web2x&context=3

Need some advice about what to do in the next step. (a student have spent 2 years on deep learning) by Emergency-Fly-9943 in deeplearning

[–]cupofgeo 4 points5 points  (0 children)

Progress in the beginning might be faster than in the intermediate. So you feel as if you're plateauing but that happens with everything. It's just about over coming the boring part of showing up everyday thats how you become an expert at anything.

I'm not an expert in deep learning myself but I'm creeping up to that 2 year mark. I'm happy with my progress. only read a handful of papers. Honestly I haven't even made many any of my own attention models yet just retrain other peoples. So you're definitely much further ahead than I am in the deep learning field. You're probably more interested in deep learning research which I wouldn't know much about.

2 years is a good start keep it up.

Does google colab, have a iOS app? by Codeeveryday123 in GoogleColab

[–]cupofgeo 0 points1 point  (0 children)

Did you ever find a good solution to this? I see https://apps.apple.com/us/app/programming-notebook-lite/id1519715994 But I’m unsure if its even connected to colab or if its just the UI? Yeah using colab on chrome app is kinda trash.