All Questions
24,226,287
questions
0
votes
1
answer
14
views
Cmake sqlite3 amalgamation
I am not able to embedd the sqlite3 amalgamation in a simple cmake hello world executable.
In a nutshell: test.h and test.cpp are just working, so why are sqlite.h and sqlite.c not?
Also, using qmake (...
1
vote
0
answers
11
views
Android APK fails because it "requires the resources.arsc of installed APKs to be stored uncompressed and aligned on a 4-byte boundary"
When I try to install my APK, i get the error:
Failure [-124: Failed parse during installPackageLI: Targeting R+ (version 30 and above) requires the resources.arsc of installed APKs to be stored ...
0
votes
0
answers
4
views
Checking the existence of parent item before putting linked items in AWS DynamoDB
One order can contain one or many products. Also an order belongs to a customer. The order, product and customer are our item models in DB. A new order creation accepts a request like below.
{
&...
0
votes
0
answers
7
views
Website telling net::ERR_CONNECTION_REFUSED
I have created a website and wanted to deploy it
everything works for me (locally) but when I deployed my website and ran the server using uvicorn everything was working fine on the device which ran ...
0
votes
0
answers
9
views
Multi processing in php
i have a problem with this cronjob function its related to a chatbot The problem is when user start broadcast campaigns other users have to wait until next one can start
public function ...
-1
votes
0
answers
8
views
why is kernel BUG at mm/vmscan.c?
Triggered the following kernel exception.
16923 [19334208.410892] ------------[ cut here ]------------
16924 [19334208.410896] list_del corruption. next->prev should be ffffe3914d5485c8, but was ...
0
votes
0
answers
17
views
Segmentation fault problem encountered when using umm_malloc library
I used the umm_malloc library on github, which is a dynamic memory allocation library suitable for embedded systems. I wrote a test function, but it reported an error. The following is my test ...
0
votes
1
answer
13
views
Source generated ValueConverter with EF Core
I have wrote my own source generator which generates some boilerplate converters, including a value converter for EF Core.
Here's a short example:
[GenerateConverters]
public partial record Height(int ...
0
votes
2
answers
11
views
How do I format date for libreoffice?
if I do
echo $(/usr/bin/date +"%Y-%m-%d %H:%M:%S") > clk.csv
and open it in libreoffice calc it is not interpreted as a date. How can I format bash date output so it is interpreted as a ...
0
votes
0
answers
3
views
Composer unable to resolve a package from subdirectory
I have a laravel project which is supposed to use a package from /packages directory. I keep getting error when I run composer update or composer install (I even tried clearing composer's cache):
...
0
votes
0
answers
11
views
Click outside functionality with react not working
I am using react-detect-click-outside to implements click-outside functionality.
when user click each of the button, the menu text will be set on openMenu.
Comparing the say, menu.nav and openMenu, ...
0
votes
0
answers
4
views
Run a Quart web server in Python with Chaquopy on Android (Kotlin)
I am trying to make an Android app with a Quart app running on Python with Chaquopy but as soon as i add a call to Kotlin from Python i get Error starting Python server: Can't create handler inside ...
0
votes
1
answer
10
views
Unable to update Kubernetes package repository
E: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N:...
-3
votes
0
answers
27
views
The fastest way of synchronizing thread
If you multi-thread the progress of a task, sometimes you might need to stop it and start a new one again. To do this, I have configured the algorithm to periodically check that when I try to invoke ...
-2
votes
0
answers
14
views
Can't remove ESlint Error from Style inside SVG
I am using React and i have downloaded icons and i'm trying to add them to my website by making them into components. This icon is an SVG.
I'm getting an eslint error and i'm trying to make it go away ...
0
votes
0
answers
9
views
How can I display a Matplotlib heatmap using Flet?
I'm working on a project where I need to display a dynamic heatmap using matplotlib, and I want to integrate this into a Flet application. I have a class that generates and updates a heatmap using ...
0
votes
0
answers
5
views
Snap7 and Modbus
I want to connect Python to PLC siemens. I have searched about snap7 and modbus but what is more popular when people use in project and what protocol is more stable?
I have tried both protocols and ...
0
votes
0
answers
8
views
Merging two wagtail page types into one
Let's say we end up with two page types ContentPage and Folder that do the same job and we want to consolidate them into one.
Basically we want to merge Folder into ContentPage.
I came up with next ...
0
votes
0
answers
7
views
Cannot generate ECDSA keys from seed due to "Cannot create a key using the specified key usages" error
I'm trying to generate ECDSA keys using seed and salt as inputs. My aim is to get it working with the pure browser javascript (SubtleCrypto) without the use of any external libs, it's an important ...
-1
votes
0
answers
19
views
How can you make an image 'look' at something?
I'm learning pygame and I'm looking to get a bit more advanced in game making. I'm trying to make a system where an image 'looks' at a point on the web (e.g. the mouse cursor). I don't really know how ...
0
votes
0
answers
5
views
Firebase "DEFAULT" already initialized error
For those who are getting the firebase project DEFAULT already initialized error in flutter projects do below to fix it. Since the response available on stackoverflow was insufficient, I am creating ...
0
votes
0
answers
4
views
Centering a div where a dropdown menu comes from
I'm currently trying to make a drop down menu for my mobile design for my website. The menu should appear under my logo, but the div where the drop down menu comes from is not aligned with the logo ...
-1
votes
0
answers
9
views
Efficiently create a checkerboard pattern of asterisks
I've created a checkerboard. Within the following for loop:
Global variables of (W) for Width and (H) for Height.
// H is for Height
int H = 2;
// W is for Width
int W = 2;
/*For loop with indexer (i)...
0
votes
0
answers
15
views
explicit template function instantiation - Howto find the codepoints where it's been used?
I like to know how I can find the codepoints where an explicit instantiated template function is been used.
template <typename T> RNNullableTyped<T> Get(const json::json &json);
...
0
votes
0
answers
5
views
How to increase fetch size to reduce number of network calls while scanning a cassandra table?
I am using datastax java driver version 4.15. I have read the paging documentation.
My application.conf looks like below
datastax-java-driver {
basic.contact-points = [ "<IP>:<...
-1
votes
1
answer
20
views
How can I close and open a new window?
I try to close and open a windows using PyQt5 and the following code:
import PyQt5.QtWidgets as qtw
from PyQt5 import uic
import sys
import os
class Window2(qtw.QMainWindow):
def __init__(self):
...
-1
votes
0
answers
17
views
How to develop custom date picker view using uikit?
I want to develop a custom date picker like this:
Custom Date Picker View
I created a UIView that has a label to display the month, and a stack view to display the week days name. I tried getting the ...
0
votes
0
answers
7
views
GitLab CI: Liquibase w/ SSH Tunneled Database
I am currently trying to setup a liquibase pipeline in Gitlab (gitlab.com) using their shared runners to manage a database schema. The database is only accessible over SSH though (There is a jump box ...
-1
votes
0
answers
29
views
Divide an array into minimum number of sub-arrays such that each subarray have sum less than k [closed]
Can anyone give a suggestion about how to brute force or optimize this problem? I've been thinking about using 2 loops but don't really know how to do that.
0
votes
1
answer
16
views
terraform Error reading EFS Mount Target too many results: wanted 1 got 3
Trying to get the security group associated with the EFS mount target but it gives below error:
Error reading EFS Mount Target too many results: wanted 1 got 3
data "aws_efs_mount_target"...
0
votes
0
answers
13
views
Alternatives for missing function 'generate_series' in Apache Sedona
I'm trying to implement this SQL code, which splits polygons into their line segments, using Apache Sedona:
query = sedona.sql("""
SELECT ST_AsText(ST_MakeLine(sp,ep))
FROM
-- ...
0
votes
0
answers
12
views
Aligning multiple faceted plots with differing strip widths (with cowplot or another tool)
I am using ggplot with facet_wrap() and geom_rect() to create plots that have alternating grey/white stripes for the rows. I want to line up some of these plots using cowplot or another similar tool, ...
0
votes
0
answers
7
views
Sorting Variants by Throughput Time in a Simulated Production Line for Optimization Purposes in AnyLogic
I have created a population of agents called variants. I created this population with data from an Excel spreadsheet. Among other things, it contains the different variant numbers and the ...
0
votes
0
answers
24
views
mysql update column sequence inconsequent [closed]
OK, so i have a weired issue with a simple update query.
We believe this happpened when we switched servers and thus a new MariaDB version.
We currently use MariaDB 10.11, php 8.3 and PDO to execute a ...
-2
votes
0
answers
11
views
ffmpeg with cuda and concat videos
I have a ffmpeg command with nvidia hw support that I want to join two videos:
/home/videotest/ffmpeg-dev/ffmpeg -benchmark -hide_banner -loglevel warning -y -hwaccel_device 0 -hwaccel cuda -...
0
votes
0
answers
8
views
how to deploy on the ACI using the latest docker as it doesnt azure ACL
I want to deploy my images on the ACI to run it, as I was earlier using the Docker command line to do the same, but I see that the support for all the public clouds has been removed from the docker ...
0
votes
0
answers
10
views
Cuda OOM in python script
I've just installed WSl and Ubuntu 20.0.06 LTS on my Windows 10 machine. I successfully ran all thru the install for OpenSora + conda, cuda, ptorch on GIT hub. As the last step was installing Gradio ...
0
votes
0
answers
10
views
How to remove the animated tick with FormBuilderChipOption using flutter_form_builder in Flutter?
Is it possible to remove the animated tick that appears with FormBuilderChoiceChip using the flutter_form_builder package? I can't see any properties to allow this, and wonder if there is a work ...
0
votes
0
answers
8
views
how to download gtts for vs code
enter image description here
Can anyone guide me to install gtts for vs code? Also, my vs code has some strange problems. Like I have pip installed some external libraries but vs code does not ...
0
votes
1
answer
16
views
Cannot handle errors using formidable in node.js
I'm using node.js formidable to upload files to my express server.
I want to be able to handle some of the errors, like a file wasn't chosen, the file size outside of the limit, file type check etc. ...
0
votes
0
answers
14
views
When filtering events in SSMS XEvent Profiler what is the difference between Contains and Like filters?
In SQL Server Management Studio (SSMS), when filtering events in XEvent Profiler, what is the difference between the Contains operator and the Like operator? I haven't been able to find any ...
1
vote
1
answer
8
views
Using ggalluvial, how can I color one stratum box and leave all others white
I am trying to create an alluvial plot with ggalluvial where the terminal stratum box color is the colors of the flows. I am unfortunately unable to keep other stratum colors from changing either to a ...
0
votes
0
answers
8
views
how to get jetton_wallet_address in python
I'm writing a python bot that can accept payment in jettons web3. After connecting the wallet, I can output the wallet_info.account.address of the user, also I have the public token address EQBtcL4JA-...
0
votes
0
answers
6
views
InvalidArgumentException thrown with msg: The XCUITest driver only supports W3C actions execution in the native context
Gurus;
I am running the a MobileWeb test on Android and iOS one after another.
With Android, the default context is 'CHROMIUM' and it is running the entire test just fine whether I shifted to '...
0
votes
0
answers
7
views
Store range of values in IndexedDB and query by one value
I want to store list of events in IndexedDB. Each event has start date and end date. Then I need to query today events. I store dates as ISO strings (e. g. 2024-09-15), so string comparison makes ...
-1
votes
0
answers
15
views
User Registration Route Returning 404 in Node.js Football REST API with MongoDB at postman
I’ve built an Express.js application that successfully connects to MongoDB, as confirmed in the console. However, when trying to register a user via Postman, I'm receiving a 404 Not Found error. Here’...
0
votes
0
answers
15
views
Weird behavior when posting a media
I am currently experiencing an issue when creating media in WordPress using the REST API and Laravel HTTP Client. The media is being successfully uploaded, but I am unable to use it as a featured ...
0
votes
1
answer
14
views
Why the left matrix of single value decomposition obtained by scipy.linalg.svd() and eigenvectors obtained from scipy.linalg.eig() are different?
I tried to get eigen vectors by single value decomposition using scipy.linalg.svd() which gives me three outputs the left matrix U, diagonal matrix S, right matrix Vh. Where U is supposed to be ...
0
votes
0
answers
6
views
scrape dynamic javascript chart data from https://en.macromicro.me/series/19069/nymex-uk-nbp-natural-gas-futures
How to scrape chart data from this link (preferebally with python):
https://en.macromicro.me/series/19069/nymex-uk-nbp-natural-gas-futures
I searched html codes but couldn't find any href or similar ...
0
votes
0
answers
12
views
Is it possible to debug pl/pgsql procedures in DBever with input and output parameters?
Is it possible to debug pl/pgsql procedures in DBever with input and output parameters?
My procedure
CREATE OR REPLACE PROCEDURE identity.identity_operations
(
IN operation_ character varying,
...