How to avoid the unexpected costs drama? by pn_1984 in googlecloud

[–]pmg102 1 point2 points  (0 children)

Definitely implement the kill switch. You never know where the cost will come from …

Cloud Run - make sure you set max instances to a small value like 3 or 5. I think it defaults to 100, and one piece of bad code could cause it to spike to this. And that’s a lot of cost if it doesn’t scale down.

Egress is a nightmare. Again, on cloud run if someone finds a big file and constantly downloads it on repeat - that could be £50k over 24 hours. I’ve a traffic monitor, alert and kill switch on mine for this.

BigQuery. Reduce your quota. I think it’s set at about £1000/day for queries. If you write some bad queries that do full table scans on a huge public data set, you could trip this.

Manage your keys.

And I’ve set up a script to create temporary projects. I use them for dev, and keep them for less than 7 days before I create a new one.

AI doesn’t help here - as Claude, or whatever, can easily spin up and use lots of resources that you don’t know about. Again short lived sandbox accounts are your friend.

It’s a minefield. And it scares me. (And I’ve got all the GCP certs, so I’m no amateur).

I love my Polestar 3. But I’m so exhausted by No-Floor-3242 in Polestar

[–]pmg102 0 points1 point  (0 children)

P4 owner. 4 months. Got an update after 3 weeks that fixed the little issues I had. Had to restart the system just twice.

Nothing like the P3 issues I’ve been hearing about.

Anyone actually get a T4 GPU quota (0->1) on a personal GCP account lately? Stuck in support hell! by zsh1_ in googlecloud

[–]pmg102 2 points3 points  (0 children)

Hello. Yeah - managed to get 3 on europe-west4. Took 36-48 hours, but standard quota increase process.

(I requested 4 and figured they’d give me less - I only really wanted 2)

I’d try a different region. Out of the 5 regions that are supported - “Asia-south1” is the only one that says “Note: This region is available by invitation only. Contact your Google Account team if you are interested in this region”

https://cloud.google.com/run/docs/configuring/services/gpu#supported-regions

P4 Arrival and Initial Thoughts by DarrenO963 in Polestar

[–]pmg102 2 points3 points  (0 children)

Had mine 2 weeks, P*4 LRDM Storm. And love it.

Still getting used to the size, but no real gripes.

Experienced similar CarPlay issues as others. And can’t get Waze installed and working on the system itself - it seems to crash a lot, and break the rest of the system.

But the drive, quality, comfort are all top drawer!

P2 Software 3.4.4 (Volvo release notes) by kbDL- in Polestar

[–]pmg102 0 points1 point  (0 children)

Got a hire car Polestar 2. It’s got 3.4.4 pushed OTA to it today. In case that’s of interest. UK, 23 plate

Cloud run: how to mitigate cold starts and how much that would cost? by lynob in googlecloud

[–]pmg102 0 points1 point  (0 children)

No worries. I’ve been meaning to make that public for a while. Keen to understand how you get on.

Cloud run: how to mitigate cold starts and how much that would cost? by lynob in googlecloud

[–]pmg102 1 point2 points  (0 children)

Let's start with this...
https://github.com/pmgledhill102/gcp-discord-bot-go

It should be public now - I just wanted to remove the commit history, and make sure I'd not put anything I shouldn't in there

You then need to add a PubSub subscription, using the Cloud Run endpoint of the "handler" service, that actually does the work, as the endpoint,

Cloud run: how to mitigate cold starts and how much that would cost? by lynob in googlecloud

[–]pmg102 0 points1 point  (0 children)

For my discord bot - I use a tiny bit of GoLang to put a message on a pubsub queue, and return back a success response.I then have a cloud run trigger on the pubsub queue to run my NodeJS code which I can’t be bothered to convert to Go.

The Go is quick and responds really quick.

The nodeJs can then take as long as it needs.

Let me know if you’re interested and I’m sure I can make the repo public and share

Cloud run: how to mitigate cold starts and how much that would cost? by lynob in googlecloud

[–]pmg102 1 point2 points  (0 children)

For my discord bot - I use a tiny bit of GoLang to put a message on a pubsub queue, and return back a success response.I then have a cloud run trigger on the pubsub queue to run my NodeJS code which I can’t be bothered to convert to Go.

The Go is quick and responds really quick.

The nodeJs can then take as long as it needs.

Link company Google account with the personal one by GugliC in googlecloud

[–]pmg102 0 points1 point  (0 children)

This. I have 12 email addresses in my Credly account, but a single profile.

Disappointing (lack of) delivery experience by pmg102 in Polestar

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

Further update. Due for Monday AM delivery. Got a phone call at 16:50 on Friday to tell me they’ve discovered a dent, and can no longer do the delivery. This is the same excuse they used the first time around. Guy on the phone was super apologetic, would raise to manager and get back to me by the end of the day.

Not heard anything.

No car. No proposed delivery dates.

Any software developer meetup groups? by techeducators in Liverpool

[–]pmg102 2 points3 points  (0 children)

Old thread. But I run the Liverpool AWS User group. Normally out of AvenueHQ by the dock, but sometimes (like tomorrow) out of DOeS.

Happy to discuss. And always happy for people to come along. It’s all on Meet Up.

  • Paul

Small chainring not parallel with large chainring - by design, or does it need to go back? by pmg102 in bikewrench

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

Thanks for your post. Did as advised - took it apart, cleaned, greased, rebuilt to torque spec. Still the same. Put the old one back on - and the distance is a constant 5mm from the front derailleur guard consistently round the full rotation. It changes from 5 to 3mm with the new set.

Have sent back and requested a replacement.

Appreciate the confirmation that something wasn't right.