24,226,141 questions
0
votes
0
answers
4
views
How to retrieve Cisco product details (including images) by SKU using API?
I need to programmatically retrieve Cisco product information by SKU/Product ID, including product descriptions, specifications, and ideally product images. As Cisco PSS (Partner Support Services) ...
0
votes
0
answers
6
views
how to convert document in base64 string using springcm workflow which is related to docusign
I have a requirement to generate a PDF using SpringCM workflow + Docusign clm, which is generated successfully.
Now I am having an issue converting this document to base 64 string to insert into the ...
0
votes
0
answers
6
views
Google Sheets Add On Executing custom functions when sheet is shared
I have built and published a Google Sheets Add-on.
The Official Similarweb For Google Sheets™
The custom functions in the Add-on refer to an API key that is stored in user properties and then call the ...
0
votes
1
answer
8
views
Get data received before HttpClient request is cancelled
I'm trying execute an HTTP request to receive some data (for example as a stream), but with ability to cancel this request at any time. I've read about CancellationToken and use it for cancel request (...
-1
votes
0
answers
17
views
Equivalence of two algorithms using backwards and forwards iterators
Given
struct pt{int x,y;};
auto cmpSet = [](pt a, pt b) { return a.x<b.x;};
std::set<pt, decltype(cmpSet)> s(cmpSet);
Are
if(upper==s.begin()) continue;
auto it= std::prev(upper);
while(it!=...
-2
votes
0
answers
11
views
It's a question from codeforces round 1028 div2. B.. I don't know what error am I actually facing? wa in 3rd test case
(https://codeforces.com/problemset/problem/2116/B)
#include<bits/stdc++.h>
using namespace std;
#define MOD 998244353
#define ll long long
int main() {
vector<ll> pre(100002);
...
0
votes
0
answers
5
views
django problem, when I pass product id by get method
In href tag I want to send product id but this code showing an error.
Could not parse the remainder: 'data.id' from ''viewproduct'data.id'
{% for data in data %}
<div class=&...
0
votes
0
answers
18
views
lsp-ui-doc seems cause ediff not pop up its console window [closed]
Long story...my env was working fine before(magit, ediff, lsp-mode...etc), but recently I upgraded my emacs to version 29 and thus some of the packages upgraded too. Now I have problem when I try to ...
0
votes
0
answers
17
views
AttributeError : 'torch' has no 'get_default_device'
I’m working on a Python project using these libraries:
PyTorch 2.2.2
Transformers 4.52.3
Sentence-Transformers 4.1.0
When I run my code, I get this error:
AttributeError: module 'torch' has no ...
0
votes
0
answers
13
views
How to enable paging in x86 Protected Mode
I'm progressing along developing my OS, and I recently implemented a virtual memory manager that handles paging. I used 2 Page Tables: (1) to identity map the first 4 MB and (2) to map the kernel (...
1
vote
2
answers
12
views
Find list of GROUPIDs that have ZERO AccountIDs on another table
Looking for SQL that returns a list of GROUPIDs (from the ACCOUNT_GROUP) table that have no ACCOUNTS that are found on the ACCOUNT_LIST table.
ACCOUNT_GROUP (table)
GROUPID
ACCOUNT
GROUP1
111111
...
-2
votes
0
answers
11
views
How to model “year-over-year <word> in <kind>” phrases in GF?
How can I output a GF linearization that produces strings like:
year over year change in temperature
More generally: "time-period" over "time-period" "comparing-word" in &...
0
votes
0
answers
12
views
Having trouble with non-fixed pipeline OpenGL
I've been following some sample code of a now-retired LinkedIn learning course titled "Learning OpenGL", by Pablo Colapinto. It's supposed to demonstrate the dynamic updating of a vertex ...
0
votes
0
answers
16
views
What is my error in calling CreateWindowExA in MASM x64
I am a total noob at assembly and am trying to improve my skills by actually creating projects with it. The following code shows the entire ASM file that I am currently working with. RegisterClassA ...
2
votes
1
answer
24
views
How to split NumPy array with dimensionality reduction?
This script:
import numpy as np
a = np.arange(8).reshape(2, 2, 2)
b = np.split(a, 2)
print(b[0].shape)
produces:
(1, 2, 2)
I would like to split array a into constituent subarrays with shape (2, 2),...