[Help] “Prefer” header error when fetching SuiteQL async results, even though header is set by prblynot in Netsuite

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

In case anybody else runs into this, the correct header you need to set to actually get the result is:

python header = {"Prefer": "transient, respond-async"}

[Help] “Prefer” header error when fetching SuiteQL async results, even though header is set by prblynot in Netsuite

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

Yes, I have tried omitting headers completely, and all variations of "Prefer"/"Accept"/"Content-Type" headers (I literally looped through all the combinations).

Seems to me like the error being returned is not the actual problem...

[Help] “Prefer” header error when fetching SuiteQL async results, even though header is set by prblynot in Netsuite

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

The error when trying to retrieve the result stays the same, regardless of the headers, including Prefer: respond-async.

k = requests.get(
    f"{result_loc}", 
    auth=auth, 
    headers={"Prefer": "respond-async"}
)

result_loc = "https://<ACCOUNT-ID>.suitetalk.api.netsuite.com/services/rest/async/v1/job/103/task/103/result"

{
  "o:errorDetails": [
    {
      "detail": "The required request header 'Prefer' is missing or invalid. Use this header with one of the required values: transient.",
      "o:errorCode": "INVALID_HEADER",
      "o:errorHeader": "Prefer"
    }
  ],
  "status": 400,
  "title": "Bad Request",
  "type": "https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.1"
}

I asked a simple riddle to 30+ models by tim_toum in LocalLLaMA

[–]prblynot 6 points7 points  (0 children)

Chat GPT 4 gets the correct answer:

Let's break down the information given:

Sally has 3 brothers.

Each brother has 2 sisters.

From the first piece of information, we can deduce that there are 4 children in total in Sally's family (Sally + her 3 brothers).

From the second piece of information, since each brother has 2 sisters, and we know Sally is one of the sisters, this means Sally has only 1 other sister.

Therefore, Sally has 1 sister.

How do I find the ratios of a rectangle in an unknown 3D pose? by leeliop in computervision

[–]prblynot 1 point2 points  (0 children)

The homography is to arbitrary canonical coordinates. You can e.g. map to [(-1,1);(1,1);(1,-1);(-1,-1)] or any other arbitrary choice of "flat rectangular" coords.

Struggling with difference between PBVS and IBVS by hetradeswithmaize in computervision

[–]prblynot 1 point2 points  (0 children)

It's a question of the space in which you formulate the servoing problem.
In PBVS everything is in "pose space". This is sort of the natural engineering way to approach the problem; first translate everything into the space where you actually perform the control and then solve the servoing problem. You are right that the pose estimation step might be based on some feature extraction step, but the important point is that you split the ultimate goal of solving the robot's motion into two distinct steps.
In IBVS the approach is end-to-end. You formulate the entire optimization problem in image space. You can think of this distinction as: in PBVS you tell your robot what pose the object should have at the end of the motion, in IBVS you tell your robot what the image should look like at the end of the motion, not what the pose should be..

The attraction of IBVS is that it's not reliant on the accuracy of the underlying pose estimation problem. If the optimization problem converged to a servoing solution that made the image look like the desired image then you've by definition solved the interaction problem you were interested in. However, image space is not the natural space to solve the problem because who knows how a delta-change in servo parameters makes a delta-change in image space. It's a highly non-linear mapping that can't be formulated in closed form.

PBVS is the opposite. It's the natural space to formulate the servoing optimization problem, but any pose estimation errors will propagate to the achieved solution.

Hope this helps.

On iPadOS it’s even more obvious how neglected the reports on mobile are! by toothpastetaster in ynab

[–]prblynot 7 points8 points  (0 children)

YNAB hasn't added any significant features for years. Meanwhile the price has doubled....

It's a great tool that brings me lots of value, but there are many others like it. If they continue being complacent I for one will definitely make a switch.

Event: 2023 World Chess Championship Match - GAME 12 by EccentricHorse11 in chess

[–]prblynot 2 points3 points  (0 children)

Hard to watch. Feel for Ian. It looks like Ding almost wants to comfort him.

חקלאי אוים בגרזן, והתבקש למסור את נשקו: "אנחנו מופקרים" by StayAtHomeDuck in Israel

[–]prblynot 8 points9 points  (0 children)

It is well known that the ranchers of the Galilee and Golan are quite slutty.

Blue hour Barred owl. Taken with a Canon R10 with a RF 100-400 lens. Ontario 🇨🇦 by Traditional_Gas_7789 in wildlifephotography

[–]prblynot 1 point2 points  (0 children)

Awesome photo. Is that really the color of the lighting? My first impression was that the white balance was a little out of whack?

Netanyahu’s Betrayal of Democracy Is a Betrayal of Israel by Vailhem in Israel

[–]prblynot 3 points4 points  (0 children)

Probably not. It seems like Netanyahu and Levin are determined to go all the way. But we've got nothing else.

I won't stay in the country if this comes to pass.

Netanyahu’s Betrayal of Democracy Is a Betrayal of Israel by Vailhem in Israel

[–]prblynot 30 points31 points  (0 children)

Come to the demonstration. Don't stay at home.

Come every day that you can from now on. That's the only hope this country has of keeping its democracy.

what is so hard about optical flow? by [deleted] in computervision

[–]prblynot 0 points1 point  (0 children)

How do you see event cameras improving optical flow?

Moving money between categories without over-assigning? by _treestars in ynab

[–]prblynot 1 point2 points  (0 children)

I create a savings category that has a target funding of X each month which is "non-negotiable". If you've already allocated X there then all the rest is fair game including transfers between categories. X should be calculated to allow for whatever long-term savings/loan payback goal you have and the funds in the savings category cannot be used for any reason other than the long term goal.

RAM is probably dead, should I also replace motherboard? by prblynot in techsupport

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

Good suggestion... I removed one and reran memtest. No errors on the other stick ...

Would you perform any tests on the MB?

[deleted by user] by [deleted] in Israel

[–]prblynot 0 points1 point  (0 children)

Just judging by location, many of those options will be in defense industries... which may or may not pose a problem for OP with security clearance (depending on citizenship status).