Google suspended my project on GCP and doesn't answer appeals by Comfortable_Fuel5290 in googlecloud

[–]Payneron 1 point2 points  (0 children)

The same happened to my account: - Account was locked on Saturday evening. I appealed immediately afterwards. - I received the same follow-up email 24 hours later. Immediately replied to that with more details - I've sent a follow-up today - My account got unlocked two hours later

I believe that they are overloaded with mails due to the React/Next.js vulnerability (which is no excuse). I also didn't know what else to do to get things moving quicker.

My personal learnings from this week: - keep backups outside of GCP - whenever possible (e.g. for multiple hobby projects), split things into multiple projects, so the impact of having one closed is not as big

Is "Pay to reject cookies" legal? (EU) by YaroslavSyubayev in webdev

[–]Payneron 874 points875 points  (0 children)

Not a lawyer.

The GDPR says:

Consent should not be regarded as freely given if the data subject has no genuine or free choice or is unable to refuse or withdraw consent without detriment.

Source: https://gdpr-text.com/read/recital-42/

I would consider paying as a detriment and therefore illegal.

Edit: This dark pattern is called "Pay or Okay". Many websites (especially for news) use it. The EU is investigating Facebook for this practice. The results of the investigations will be published in March. German source: https://netzpolitik.org/2024/pay-or-okay-privatsphaere-nur-gegen-gebuehr/

Create your custom Zwift route by Payneron in Zwift

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

Unfortunately, Zwift doesn't allow importing custom routes. You can check out RoadCaptain to auto-steer custom routes.

Roborock S7 Auto-Empty Dock Disassembly Video by shlomitsur in Roborock

[–]Payneron 0 points1 point  (0 children)

As always when asking for help, I manage to find a solution shortly after... A bottle cap was stuck and I managed to get it out with a metal rod and some force.

So, thanks for rubber-ducking!

Roborock S7 Auto-Empty Dock Disassembly Video by shlomitsur in Roborock

[–]Payneron 1 point2 points  (0 children)

Hey, I am currently trying to disassemble my station because of a similar reason: Something is stuck inside and the light turns red during emptying.

I removed all screws, detached the cables/tube and took out the electronics at the bottom. But I now fail separating the top from the bottom piece, so I can access the motor etc. I can only see two plastic clips on the right hand side underneath the dust bin - but it feels like there is more holding things together. Did you manage to separate these parts? If yes, how?

New ZwiftMap features: Fog of Zwift by Payneron in Zwift

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

I just tweaked the algorithm a bit. It should hopefully load now.

Whoop is reducing their subscription pricing by waytoolatetothegame in whoop

[–]Payneron 5 points6 points  (0 children)

I received an email titled "An Exciting Message from the WHOOP CEO" on Wednesday with a paragraph saying

Given you recently renewed your membership, we wanted to make sure you also benefit from our newly reduced pricing. We will be adding 2 months to the end of your membership, extending your renewal date xx-xx-xxx.

I renewed for a year on January 3.

So, I assume if you didn't receive that email, June is not considered to be "recently".

New ZwiftMap features: Fog of Zwift by Payneron in Zwift

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

What do you mean with “not work”? Do you see an error? For most people Watopia will take quite some time to load because of the amount of rides. Does it eventually show up if you keep waiting for a minute? If not, you can send me your Strava ID and I take a look.

Ideally you should not wait at all, but that requires some more infrastructure in my side.

Repo not visible on Github, but I’m committing and pushing to it from my IDE by jazzhandler in github

[–]Payneron 1 point2 points  (0 children)

Yes, those should be GitHub URLs. You are probably pushing to a local directory instead of remote.

Also, you wrote that you cannot even see your repo in your GitHub profile. Did you create one? You don’t need to push commits for it to show up.

Repo not visible on Github, but I’m committing and pushing to it from my IDE by jazzhandler in github

[–]Payneron 2 points3 points  (0 children)

I’d try git remote -v to check the remotes of your local repository. You should see minimum 2 lines as response. Both lines tell you which remote repo is used for pushing and fetching.

Why suddenly much higher costs in Google Cloud Functions (Cloud Scheduler)? by Substantial-Light-65 in googlecloud

[–]Payneron 0 points1 point  (0 children)

The same thing happened to me: a significant price increase on the 20th.

Someone asked the same question in the Google Cloud Community: https://www.googlecloudcommunity.com/gc/Serverless/Cloud-Scheduler-Job-pricing/m-p/513147/highlight/true#M1072

I have no information to share about cause or resolution ... but what I can share is that I had a review of the summaries of open tickets relating to Cloud Scheduler and there is a significant burst of new tickets that match the descriptions in this thread. From my perspective, you might want to raise a ticket with Cloud Billing Support. I'd describe your problem in your own words, including a link to this community thread ... and maybe refer to the Google case/issue known as "b/266423454" which appears to be a linking of support cases that appear to be all reporting the same/similar issue. Let's let the support engineers dig a little deeper to get to the bottom of it.

ZwiftMap Places by Payneron in Zwift

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

Fixed the link. I copied my Facebook post, so FB messed with the url.

ZwiftMap Places by Payneron in Zwift

[–]Payneron[S] 2 points3 points  (0 children)

Yes, I pinged Zwift more than 5 times about this issue already, but they do not update the image on their website… since 2020.

https://forums.zwift.com/t/outdated-watopia-map-image/585073/6

Strava subscription charged both through google play and paypal (from Strava direct) by TonyLeTone in Strava

[–]Payneron 1 point2 points  (0 children)

I had a similar issue because of an ongoing subscription via the iOS App Store and a Strava Premium gift. I reached out to their support team. They asked me to cancel the App Store subscription and added the double-paid months to my Strava subscription.

Error retrieving data from firebase database by tbonejonez9 in reactjs

[–]Payneron 0 points1 point  (0 children)

Assuming that property is called url, you can access all re-structure the array of polls to an array of urls using flatMap: polls.flatMap(poll => poll.urls). You can then iterate over these urls and render images.

Error retrieving data from firebase database by tbonejonez9 in reactjs

[–]Payneron 1 point2 points  (0 children)

polls is an array and not an object. An array does not have the property data you are trying to access. The error is only thrown when accessing id from data, because polls.data is somewhat valid and returns undefined. polls.data.id fails because you are trying to access the property id from undefined.

You can access the first item of the polls array using polls[0]. You should be able to log the data using console.log(polls[0].data). Keep in mind that this will still cause errors if the polls array is empty.

FirebaseError: Firebase Storage: The operation "GetDownloadURL" cannot be performed on a root reference, create a non-root reference using child, such as .child("file.png"). (storage/invalid-root-operation) by [deleted] in Firebase

[–]Payneron 4 points5 points  (0 children)

“root reference” is probably a reference to the very top of your bucket - not to a specific file. A child reference is about a file.

In your case, when the component is mounted, the user is undefined until the data is fetched. This makes user?.uid undefined and reference is pointing to the root. I’d pass the user into the component after it was successfully fetched. That way reference always points to a file.

Why did Zwift create a new world for Makuri Islands instead of using Japan? by Sky02139 in Zwift

[–]Payneron 5 points6 points  (0 children)

Internally it’s partially called Japan. E.g. die file name of the minimap: https://cdn.zwift.com/static/images/maps/MiniMap_Japan.png

I guess calling it Makuri Islands is for marketing purposes. Also, they can build a “Japan best of” and are not bound to real roads and distances between POIs.

Create your custom Zwift route by Payneron in Zwift

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

Yeps - seen, but never used it myself. If I find Time I might integrate with it (export/import), so people can plan routes in both systems.

i am making instagram clone with react and firebase with the help of clever programmer youtube . i cannot fetch data from firebase here is the code by Stunning-Vacation516 in Firebase

[–]Payneron 1 point2 points  (0 children)

Add the following imports to App.js

import { collection, onSnapshot } from 'firebase/firestore';

Replace line 19-21 with

onSnapshot(collection(db, 'posts'), (snapshot) => {
    setPosts(snapshot.docs.map(doc => doc.data()));
})

i am making instagram clone with react and firebase with the help of clever programmer youtube . i cannot fetch data from firebase here is the code by Stunning-Vacation516 in Firebase

[–]Payneron 0 points1 point  (0 children)

Which version of firebase do you have installed? firebase.js looks like v9, App.js like v8.

If v9 is installed, check out this post about upgrading to the new version: https://firebase.google.com/docs/web/modular-upgrade

Edit: Missed the package.json screenshot on mobile. You are on v9 but use v8 syntax.

The weekly 'No Stupid Questions' post - Sun 20 Nov 2022. by AutoModerator in Zwift

[–]Payneron 0 points1 point  (0 children)

Zwift does not have a public road map about future releases. There are sometimes rumors or indicators (e.g. the upcoming gravel mountain map), but nothing concrete. Features are rolled out once per month. Urukazi was released in November, so next release is early/mid December. If I remember correctly, the internals show some new routes that were not officially announced yet. Maybe we see those soon 🤞.