All Questions

New search experience powered by AI

Stack Overflow is leveraging AI to summarize the most relevant questions and answers from the community, with the option to ask follow-up questions in a conversational format.

Get early access
Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Recover RSA signature data using .net

Is there a .net equivalent way to reproduce the following openssl command: openssl rsautl -verify -pubin -inkey public_key.pem -in signature.dat -out recovered_data.dat This verifies the signature ...
Matt's user avatar
  • 362
0 votes
0 answers
5 views

Awkward to recover line numbers in Python Lark Parser

I am use the transform function of the Python Lark parser and am trying to recover line and column numbers. The native parse tree has Tree objects, which have the line and column numbers. But, when ...
Ervan Darnell's user avatar
0 votes
0 answers
6 views

Hi friends. I have a problem from c# windows Forms .net 7 . Help Me please

I instantly transfer pictures from the camera to picturebox. I'm having trouble with async methods. The program turns on the camera. Even if the form closes, the camera does not turn off. No images ...
vipOzgur's user avatar
0 votes
0 answers
9 views

Python's built in sum function taking forever to compute sums of very large range of values in a list

sum([x for x in range(1_000_000) if x%2==0]) works well and returns 249999500000. sum([x for x in range(10_000_000) if x%2==0]) is slower but still returns 24999995000000. However, larger range of ...
journpy's user avatar
  • 1,137
0 votes
0 answers
8 views

How to fix error in the react-barcode-qrcode-scanner component?

enter image description here I am using react-barcode-qrcode-scanner component to get the barcode and qrcode data. But it makes this error. How to fix it? I want to remove the error. I tried to change ...
creativebull's user avatar
0 votes
0 answers
5 views

How to define globals for this timeit call?

This Python 3.11 script benchmarks function f: import numpy as np, timeit as ti def f(a): return np.median(a) a = np.random.rand(10_000) m = None fun = f'm = f(a)' t = 1000 * np.array(ti.repeat(...
Paul Jurczak's user avatar
  • 7,126
0 votes
0 answers
3 views

tinymce.d.ts of TinyMCE 6 had an error compiling

I'm using the TinyMCE 4 library and want to upgrade to TinyMCE 6. I downloaded the self-hosted version and replaced it in the assets folder. When I run ng serve I get the error as below $./...
quangkid's user avatar
  • 1,319
0 votes
0 answers
6 views

Why is RISC-V GCC breaking my code when optimizations are enabled?

I have the following C code for 32-bit RISC-V: static void test(uint32_t key, uint32_t chr, uint32_t state) { char s[2]; if(state != KEYSTATE_PRESSED) { return; } if(!isprint(chr)) { ...
anton-tchekov's user avatar
0 votes
0 answers
8 views

Cannot interact with JavaScript API of model-viewer component after updating a state in a functional react component

I am using the model-viewer component from @google/model-viewer in my functional react component. This is my code: (...) is irrelevant code export default function RobotDetails() { const [url, ...
HuoKnight's user avatar
0 votes
0 answers
3 views

How to find a JPEG images quantization table?

I'm currently working on a project in image forensics and was wondering if there was a way to access a JPEG image's quantization table from that file? More specifically the table that was used in its ...
Millsaps's user avatar
-1 votes
0 answers
13 views

Why is the output different in these three cases? [closed]

Case 1: #include <stdio.h> int main() { int a = 3, b = 4, c = 5; if (a > b && a > c) { printf("A is the largest\n"); } else if (b > a && ...
hmmm Mm's user avatar
0 votes
0 answers
9 views

How can I calculate the total student count per school?

student_name school_name 0 Paul Bradley Huang High School 1 Victor Smith Schenjen High School 2 Kevin Rodriguez Bird High School 3 Dr. Richard Scott Bird High School 4 ...
Jash Bikash's user avatar
0 votes
0 answers
11 views

Laravel Eloquent Check if Value [Table A] Does not Contain in [Table B]

I would like to retrieve value from Table A where it does not exists in Table B. Using whereIn could be terrible for performance in BigData. I am trying to achieve it with Eloquent Table A: ...
Raden Bagus's user avatar
0 votes
0 answers
4 views

Defining an Astro portfolio image gallery using Zod via a collection schema

I am creating a portfolio using Astro, each project is a JSON file following the same pattern. How do I define galleryImages key within each JSON file as a collection schema? Example project JSON: { ...
Casey's user avatar
  • 454
0 votes
0 answers
6 views

How to embed an exe in a android maui app?

I have a class library that has a exe embedded in it and works fine on windows when used in .net maui (net 8) but when trying to deploy to android using the emulator the exe is not copied across (...
David Ellams's user avatar
0 votes
0 answers
5 views

Why does model gives me different result whenever I evaluate using device_map="auto"?

Currently I'm using 2 GPUs and running codes on PyTorch docker container. Tag is pytorch:2.1.0-cuda12.1-cudnn8-runtime. +--------------------------------------------------------------------------------...
Nukaccino's user avatar
0 votes
0 answers
6 views

Proxy won't connect after adding user directory and profile directory

I am having trouble connecting to this proxy with seleniumwire, it will connect and ask me for user and password if I remove this line. and yes, I have the actual directory and proxy in the real code, ...
Michael Rogers's user avatar
0 votes
0 answers
15 views

How to get numpy data to match

I Have a text file where the first index is the index, second to the end of the text file is the cluster coordinates. I like to be able to query on the index. When I split into partitions like this ...
Andrew's user avatar
  • 3
0 votes
0 answers
8 views

Installed django in virtual env, but I can't import

I installed Django in virtual env. But I got error. raise ImportError( ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you ...
hcharles25's user avatar
0 votes
0 answers
6 views

Tkinter - Background Image not showing up

I have been messing with backgrounds in Tkinter and I am making a dropdown menu that allows you to choose a color. After that, when I try to run the game, the background image doesn't appear for some ...
António Rebelo's user avatar
0 votes
0 answers
5 views

sanitizeHtml failed to work, all other normal texts are removed unexpectly

I need to transform the <e> tag and keep everything else escaped rather than removed. However sanitize-html not only failed to process the self closing <e> tag, it also killed the <?php ...
daisy's user avatar
  • 22.7k
0 votes
0 answers
6 views

The .env file does not come to some external laravel projects, how do we get it again?

The .env file does not come to external laravel projects, how do we get it again in vscode? getting .env file to vscode. why these laravel projects not coming to .env file? what is the reason for that,...
Gamika Dev's user avatar
0 votes
0 answers
7 views

Split cells containing both strings and numbers into separate cells in excel

I have a datasheet with a column of information that contains both strings and numbers, like this: Column A Word 1 words 1 group of words -2 Wordy 6 Wordo 5 Worde 8 worduu 10 Words Wordos 4 My ...
Noodle's user avatar
  • 1
-2 votes
0 answers
17 views

How do Smart Pointers work with functions? [duplicate]

Can you use a smart pointer as the argument of a function? More generally when would you create a new smart pointer to point to the same object vs pass the pointer around?
FourierFlux's user avatar
0 votes
0 answers
9 views

kubernetes cert-manager failing with certificate chain is malformed or broken

I have setup cert-manager to sign the certificate with the private ca issuer. the private CA secret is setup correctly and before adding to the TLS secret i have verified the chain with OpenSSL verify ...
appcoder's user avatar
  • 639
0 votes
0 answers
4 views

Laravel $validator->fails() throws a badcall exception

I was trying to implement Validator::make($input, $rules, $messages), but when I try to get the value of if($validator->fails()), laravel throws an exception: if($validator->fails()) throws a ...
Juan Carlos G Farias Martinez's user avatar
-2 votes
0 answers
16 views

How do I merge objects in array of objects based on common properties in javascript

I have the below array of objects which has student information [{"Name":"James","ID":[1],"School_ID":[47],"Grade":[1],"maths":[89],"...
samyuktha's user avatar
0 votes
0 answers
7 views

How to filter all values in JSON object in dart / flutter?

I am trying to implement a search function where I search through all values in a JSON object without knowing the keys beforehand. It goes something like this: object.where((o) => o['name']....
somethingstrang's user avatar
0 votes
1 answer
14 views

Once i start to run the program this will be appearing

Uncaught TypeError: Spread syntax requires ...iterable[Symbol.iterator] to be a function at ./src/store.js (store.js:11:1) at options.factory (react refresh:6:1) at __webpack_require__ (...
Tejesh Bheemavarapu's user avatar
0 votes
1 answer
15 views

group by and order shows error GROUP BY clause or be used in an aggregate function

I have a table look like below example, [sub_table] "id" | "created_datetime" | "main_table_id" | "skill" | ... | "team" 1 | 2023-11-01 01:00:00 | 1 ...
user1775888's user avatar
  • 3,177
0 votes
0 answers
4 views

Accessing google sheet using only HTTP request and service account

I would like to access to google sheet with just HTTP request and google service account credidential to write data into it. I want to use only HTTP request because I code this on arduino (ESP32) and ...
0 votes
0 answers
11 views

I can't add a message of a forum in my database

I created a forum for a school project and when i click on the submit button the page seems to refresh without sending any information to my database. I need to create the message in my database for ...
le barne's user avatar
0 votes
0 answers
5 views

Apache web server redirect to ssl only from public traffic

I have a website I run out of my home network using Apache/linux. I recently added an SSL certificate to the website and updated the 000-default.conf to redirect all traffic to https://, but I dont ...
matteblack's user avatar
0 votes
0 answers
9 views

How to define such a TypeScript generic that traversal the routes config tree and accumulate path

I have type Route = { path: string children?: readonly Route[] } const root = { path: "a", children: [ { path: "b" }, { path: "c", children: [{ path: &...
catnipan's user avatar
0 votes
0 answers
8 views

Add a gap on either side of a CSS Grid to accommodate resized grid items and prevent wrapping

I have a CSS Grid that is 6x10 images. Grid items are resizable by changing their span values when they scroll into center. This causes the items in the last column to wrap and change the placement of ...
Corey Colligan's user avatar
-2 votes
0 answers
13 views

Qdockwidget equivalent in Java swing

I would like to know if there is an equivalent for QDockWidget in Java Swing.
Giri Kishore's user avatar
0 votes
0 answers
5 views

asp.net Identity: CreateAsync cannot access a disposed object

I am trying to create a user from a blazer component. here is my injection: @inject UserManager<CustomUser> usrm And the implementation: async Task<bool> CreateLoginUser() { ...
wades's user avatar
  • 250
0 votes
0 answers
7 views

React virtualized, Infinite Scroll - start at the bottom of List

I am using react-virtualized to create an infinite scroll. The code for this is shown below (full link to the codesandbox where this code is taken from- https://codesandbox.io/p/sandbox/react-...
Coding Ninja123211's user avatar
0 votes
0 answers
7 views

Error parsing JSON output from curl with jq in MAKEFILE

I'm trying to parse a JSON response from Github's API inside a MAKE file but I'm unable to do it. I can easily make it work in pure bash but when I try to do it in bash from within a MAKE file I get ...
RooTShell's user avatar
0 votes
0 answers
10 views

why can't get value from lua in redis

I use lua to save. the data to redis. redis.call('SET', KEYS[1], cjson.encode(ARGV[1])) ARGV[1] is the go struct. here is my struct looks like type InviteInfo struct { ... MaxPeers int32 ...
shawn's user avatar
  • 1
0 votes
0 answers
5 views

Downloaded SVG turns to blacksquare when opened with Illustrator and other editors

I'm using qr-code-styling to generate QR codes. Once I download an SVG file and try to open it with something other than a browser or Figma, it turns into a black square when I import it for instance ...
Konstantin Bobkov's user avatar
0 votes
0 answers
5 views

INDEX MATCH with multiple criteria from 2 different worksheets

I am trying to index ( match (criteria 1) * (criteria 2) * (criteria 3) ) in vba. It works fine as an excel formula but I cannot seem to translate the syntax into vba and apply it to the whole column. ...
Anonymous's user avatar
0 votes
0 answers
5 views

Code to create QDialog runs at module level but not inside function

I am trying to create a QDialog from inside another class, and I can't get it to work. But if I take that code and put it into the main (module level) area, it works. Here's the code: from PySide6 ...
Ian's user avatar
  • 1
0 votes
0 answers
11 views

Cannot run project on Android Studio Arctic Fox. NullPointerException error

Suddenly my app didn't run on my android studio. i already invalidate and restart, clean build, rebuild but this error keeps on appearing. Anyone also experience this? Cause: java.lang....
Edgar's user avatar
  • 179
0 votes
0 answers
4 views

Makefile set variable in recipe and call another recipe

I need to add a rule where a recipe sets a variable to a value and calls another recipe. I need something like: foo-a: $(eval MY_VAR=a) goto foo recipe foo-b: $(eval MY_VAR=b) ...
Aaron Williams's user avatar
0 votes
0 answers
10 views

VoiceOver/Talkback Voice access show numbers shows 2 numbers for each element

I’ve been working on an accessibility bug that seemed to be exclusive of mobile devices, where if you activated numbers via voice access there is 2 set of numbers, lets say an input has 51 and after a ...
Luis's user avatar
  • 80
0 votes
0 answers
7 views

DolphinDB: how to perform factor calculation using sliding windows with elements from different columns?

Suppose there is a table with 6 columns: “date”, “symbol”, “a”, “b”, “c”, and “d”. I intend to calculate a factor with a sliding window of length 10, grouped by “symbol“. I intend that the first 9 ...
carbonhydrate's user avatar
0 votes
0 answers
7 views

How to download and save BLOB data to local storage through DolphinDB Python API?

When I save a table with PROTOCOL_PICKLE, an error occurs: Server response: 'pickle not support BLOB. IP[]. uuid[]. int128[]'. The following is my script: t = loadTable("dfs://GILDATA....
carbonhydrate's user avatar
0 votes
0 answers
4 views

Django Form: Filter and display options based on objects created by user in a form

The current problem is that my form shows the logged-in user all 'decks' ever created. The form should only show 'decks' that the logged-in user created. I can filter the decks from the given user, ...
bld-sync's user avatar
0 votes
0 answers
10 views

Python script run but not showing up on Onesignal dashboard

import requests from pynput import keyboard ONESIGNAL_APP_ID = 'appid' ONESIGNAL_REST_API_KEY = 'apikey' ONESIGNAL_API_URL = 'https://onesignal.com/api/v1/notifications' def send_notification(...
Robert Brennan's user avatar

15 30 50 per page
1
2 3 4 5
…
480011