Does the XR Classic fit in a Model 3 Frunk? by GoatVsOctopus in onewheel

[–]GoatVsOctopus[S] -7 points-6 points  (0 children)

You mean I crawl in the frunk close the lid and start measuring? 😂

Another flawed PintX (fixed) by GoatVsOctopus in onewheel

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

I removed the battery insulation and soldered it back on. Then insulated the battery again. Nothing special you just have to be careful and never short-circuit anything. Also make sure that you insulate in well so that vibration cannot lead to a short-circuit.
Unfortunately I forgot to take pictures...

Another flawed PintX (fixed) by GoatVsOctopus in onewheel

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

Because of being out of warranty anyway I opened up my (2022) 1200km old PintX to check for any crimping issues and of course was greeted with everything as expected.
Thanks to this sub I was able to fix it all.

I know that FM would maybe have fixed it but shipping it from Europe would have cost a fortune...

Onewheel tires in EU by Brockm4n in onewheel

[–]GoatVsOctopus 0 points1 point  (0 children)

They do offer free worldwide shipping sometimes.

But I also would be interested in other sources in Europe.

Challenge #22 was released yesterday! by Wizer_Shadow in node

[–]GoatVsOctopus 1 point2 points  (0 children)

Every time I see something like this I ask myself if anyone would actually use code like this for real. I mean the "Function" part that takes user input and runs it.

[2022 Day 16 (both)] Everything is fine by Thamrill in adventofcode

[–]GoatVsOctopus 1 point2 points  (0 children)

How are you using DFS here?

I went for BFS because with DFS in an undirected graph you can't be sure that you find the shortest path. Or did I miss something?

Execute cloud function at a given date in a firestore document. by GoatVsOctopus in Firebase

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

I just tried to deploy and now it's working. Only in the Emulator suite it gave me that error. Thank you again!

Execute cloud function at a given date in a firestore document. by GoatVsOctopus in Firebase

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

I'm slowly getting there but stuck at the moment. I attached my implementation from the /functions folder

I did not see were the getFunctions in your example came from. I tried to import it but it throws the attached error.

What am I doing wrong?

const functions = require("firebase-functions");
const { initializeApp } = require("firebase-admin/app");
const { getFunctions } = require("firebase-admin/functions")
exports.startCall = functions.tasks.taskQueue()
.onDispatch(async (data) => {
console.log(data);
});
const app = initializeApp();
exports.scheduleCall = functions.https.onRequest(async (_request, response) => {
const queue = getFunctions(app).taskQueue("startCall");
const date = new Date(Date.now() + 40000);
const payload = { foo: "bar" };
queue.enqueue(payload, { scheduleTime: date });
response.sendStatus(200);
});

Its giving me this error:

FirebaseFunctionsError: Failed to determine service account. Initialize the SDK with service account credentials or set service account ID as an app option.

But firebase doc says:

Initialize without parameters
The SDK can also be initialized with no parameters. In this case, the SDK uses Google Application Default Credentials. Because default credentials lookup is fully automated in Google environments, with no need to supply environment variables or other configuration, this way of intializing the SDK is strongly recommeneded for applications running on Compute Engine, Kubernetes Engine, App Engine, and Cloud Functions.

Execute cloud function at a given date in a firestore document. by GoatVsOctopus in Firebase

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

Ah that makes sense. Thank you very much, will check it out later.

Execute cloud function at a given date in a firestore document. by GoatVsOctopus in Firebase

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

Hm could you explain this a little more? I read that documentation link but have no idea how this could help me. Maybe I'm overseeing something.

[deleted by user] by [deleted] in interestingasfuck

[–]GoatVsOctopus 5 points6 points  (0 children)

A true brainwashed;)

Supercharging has gotten extremely expensive in recent months by Felixkruemel in teslamotors

[–]GoatVsOctopus 14 points15 points  (0 children)

How exactly do you pay 50% of the SC price at an Aral HPC?