All Questions
183
questions with bounties
3
votes
1
answer
104
views
+200
How to create a new image (and copy content to it)
I have looked around a lot ... but the only thing I find is about how to DISPLAY an image in react-native
But I was looking for a way to CREATE a new image in memory, set background to black and paste ...
0
votes
1
answer
90
views
+50
Streamlit app URL from Sagemaker gives Expired Auth Token. Request
I started a streamlit app on Sagemaker following this and I am able to view the app in my browser, but anyone else using the link gets this :
Invalid or Expired Auth Token. Request a new presigned URL ...
0
votes
1
answer
57
views
+100
The authentication session doesn't behave as intended when wrapped with 'authenticate("auth-session")' in my app
Here is my main class in which I configure all the components of the application:
internal fun Application.module() {
install(Koin) {
modules(getKoinModule())
}
val localSource ...
1
vote
1
answer
74
views
+500
Kafka __consumer_offset segment deletion failed
We attempted an upgrade of Kafka from 6.2.0 to 6.2.7 and started receiving these error messages in the upgraded broker logs. We reverted back the version upgrade and the error still continues.
Oct 29 ...
0
votes
0
answers
51
views
+50
nw_connection_add_timestamp_locked_on_nw_queue [C11] Hit maximum timestamp count, will start dropping events
No idea what this is, I've tried searching this on google and on stack overflow and there has been no definitive answer to my question.
"nw_connection_add_timestamp_locked_on_nw_queue [C11] Hit ...
0
votes
2
answers
100
views
+100
Issue with React PropTypes combined with defaultProps and inside an object
In the following React 17.0.2 example:
// Container.tsx
const InfoPropType = {
legend: PropTypes.string.isRequired,
value: PropTypes.number,
};
const ContainerPropTypes = {
config: PropTypes....
2
votes
1
answer
36
views
+250
Colocation of other backend services with Vercel?
I'd like to use Next JS hosted on Vercel but with an external backend services eg PlanetScale / Supabase, etc.
Assume I have a React Server Component that calls one of these backend services. My ...
0
votes
1
answer
64
views
+50
Exclude node package from build step
I have my web app running on an edge environment where many of the node libraries are not supported.
I am using the PlanetScale connector which does support edge, but lately I needed to start storing ...
2
votes
1
answer
99
views
+50
Deep linking with go router doesn't navigate to correct screen when app is not launched on iOS
I'm trying to implement deep linking with go_router. Everything is working fine on Android, but on iOS opening the deep link URL opens the app to the correct screen only if the app is open and it is ...
0
votes
1
answer
43
views
+50
Checking Item type passed to a Pipeline - scrapy.item.ItemMeta
The Short Problem
When checking what type of an item is being passed to the pipeline, Scrapy is giving me a class of scrapy.item.ItemMeta instead of the seemingly obvious class.
The Context
pipelines....
0
votes
3
answers
108
views
+100
ECS with Fargate returns 503
I am trying to start using fargate but my terraform setup seems to be wrong since the public DNS of the ALB returns 503 Service Temporarily Unavailable. The task never get started and health status is ...
0
votes
3
answers
70
views
+100
Scroll one page instead of jumping to the current pointer position
I changed these settings in about:config of firefox (ubuntu) to get the scrolling work like other browsers for e.g. Chrome (windows) or chromium (Ubuntu)
widget.gtk.overlay-scrollbars.enabled false
...
-3
votes
1
answer
72
views
+50
Can I use Firebase to send push notification to a specific user on iOS device without needing APN?
I have an Angular project for kindy portal which is where teacher post kids/students post of what they are doing during the day and when a new article is published for a child I want to send a push ...
3
votes
2
answers
934
views
+100
How to set up SMTP server in native Node.js -- no dependencies whatsoever
I've seen many blogs and Stack Overflow questions about setting up Node.js to use a pre-existing SMTP server, especially through modules like nodemailer etc. Some of what I've already seen:
https://...
0
votes
1
answer
59
views
+50
Difference between nvidia/cuda-toolkit and nvidia/cudatoolkit packages
Looking in the nvidia channel on Conda, I see two different packages cuda-toolkit and cudatoolkit.
The official CUDA Toolkit documentation refers to the cuda package. Installing this installs the cuda-...
6
votes
2
answers
817
views
+50
What's the windows message of ID 96/0x0060?
I find a strange crash in my application when in the message loop using PeekMessage.The applcaition is built with VS2013 and run in Windows 11. The application dosen't crash
in Windows 10 but only in ...
1
vote
0
answers
22
views
+50
Elasticsearch LTR plugin sample model and features for LightGbm and catboost?
I am trying out elasticsearch ltr plugin. I found a linear model in plugins documentaion which looks like this in json format
POST _ltr/_featureset/performancetest/_createmodel
{
"model": {...
2
votes
1
answer
61
views
+50
Run Aggregrator Project Individually
I have a parent project which contains several sub modules created with Maven.
I need to run the sub modules one by one and then last one is report generator module in team city using Maven. How to do ...
0
votes
0
answers
39
views
+50
NextJS webpack: Asset Modules Plugin has been initialized using a generator object that does not match the API schema
I'm using NextJS and in next.config, I'm using some custom webpack configs.
My next.config.js file is as follows:
const { i18n } = require('./next-i18next.config')
const TerserPlugin = require("...
1
vote
2
answers
67
views
+50
Getting wait timeout exception for page.navigate("someURLWhichIsAccessableFromPod") method within the docker pod
I have written one test case using playwright, which will open one web page using page.navigate() method and once it is loaded it will do further testing on opened web page.
Here the issue i am ...
-1
votes
0
answers
53
views
+50
How to generate Dompdf from Blade view while its is generating but pages are not breaking properly
I've generated an invoice using DomPDF, and it's generating the pdf invoice, but if the content is bigger it's not breaking the page properly. Here is the code and screenshots I'll share.
this is the ...
0
votes
2
answers
341
views
+200
How to perform Aadhaar eKYC Authentication via UIDAI and retrieve user details (Name, DOB, Address) with user permitted and OTP verification done?
Concept - I am making web portal in which i want to add aadhaar authentication and get user detail( name, dob and address), if user permitted and verifies OTP then only.
language use - php, curl
...
0
votes
1
answer
98
views
+100
multilevel user admin in django
Need to create multi level users with roles having same validation for the models as that specified in admin.py, only that each of these users will have different roles.eg. Customer can have different ...
0
votes
0
answers
159
views
+50
Inconsistent access specifiers in STL GCC implementation
While reading about the implementation of STL containers in GCC, I noticed a discrepancy in the use of access specifiers in the base classes. Specifically, some classes (_Vector_base) are completely ...
4
votes
1
answer
61
views
+200
Stop Chrome opening with "Turn on an ad privacy feature" in Azure Pipeline
I'm attempting to run a TestComplete automated test project on a Microsoft Azure Hosted agent using the windows-latest image. The test never finishes and eventually the 60 minute job timeout kicks in....
0
votes
0
answers
45
views
+50
Missing Events in Google Analytics triggers Towards Cloud Functions (1st Gen)
We have deployed this functionality in our firebase ecosystem. The events are marked for conversion & we see that setup is working. However, we have noticed that post reconciliation of the events ...
4
votes
1
answer
68
views
+100
React Native Dimensions.addEventListener not Triggered on Android
I am facing an issue with detecting screen rotation changes in my React Native app on Android. I have implemented the onOrientationChange event handler as follows:
useEffect(() => {
const ...
0
votes
1
answer
77
views
+50
How can I configure jQuery to ensure external scripts (src="...") remain external when injecting markup using .html()?
I've observed that when I utilize jQuery's .html('...') method to insert markup containing an external <script src="..."></script> tag, jQuery doesn't insert the script tag ...
2
votes
0
answers
442
views
+50
Restore loki compactor data
I have configured the compactor for loki and then I archive the files produced by it. I have files like compactor.gz and loki-stack.gz.
However I cannot read these files directly and I cannot find ...
0
votes
1
answer
147
views
+50
IIS Rewrite is not working across different domain
**Updating this question as per my latest scenario after correcting based on the comments **
I have installed ARR
I have followed this post https://halfblood.pro/the-very-common-mistakes-when-using-...
0
votes
1
answer
100
views
+100
RabbitMQ high memory usage
I'm currently using RabbitMQ (3.10.25) in production with 3 nodes and contains several queues:
one classic queue
one quorum queue (to handle nservicebus commands - NServiceBus.RabbitMQ package 8.0.2)
...
1
vote
0
answers
85
views
+50
Is there a way to automate pulling down multiple projects from a git repo using Eclipse
We used to use the working set configuration below, with subversion and the working set psf file would work... Visit the repository, pull down the source from that module, add the directory relative ...
2
votes
2
answers
57
views
+50
Identifying source of and understanding OpenBLAS and OpenMP warnings
I am developing a deep learning model using pytorch, pytorch-lightning, and segmentation-models-pytorch. When I run pytorch_lightning.Trainer.fit(), I get hundreds of the following warning:
OpenBLAS ...
0
votes
0
answers
25
views
+50
React Native fetch with cookie problems
I am re-writing a small app in React Native as a learning exercise. I am pulling data from a server for which I have a cookie. The cookie is hard-coded in my apps, no handshaking required. The same ...
3
votes
1
answer
55
views
+50
How to Use Pulled Image as a Cache with `docker buildx`
We're building Docker images in our CI, but we can't get docker buildx build to utilise a pulled image as a cache.
Here are the docker commands that are executed:
docker pull "ghcr.io/foo/bar/baz&...
2
votes
0
answers
20
views
+50
LTSpice coupling inductors across subcircuits
I have two subcircuits that each contain an inductor. Specifying inductive coupling between two inductors on the main level is easily done, but how do I do it, if the inductors are hidden in the ...
3
votes
3
answers
116
views
+500
Invalidate Django cached_property in signal handler without introducing unnecessary queries
Let's say I have the following Django models:
class Team(models.Model):
users = models.ManyToManyField(User, through="TeamUser")
@cached_property
def total_points(self):
...
0
votes
0
answers
36
views
+500
Webpack module rule to serve icons from CDN
My app provides a dropdown of icons. We're using simple-icons, bootstrap-icons, and some custom icons that we developed in-house.
Those icons are hosted by our application using a webpack module rule. ...
0
votes
0
answers
43
views
+50
puppeteer / spatie/Browsershot click a specific attribute
I'm working with spatie/Browsershot to fill a web form. I'm able to get past the first page:
Browsershot::url('https://www.homedepotrebates11percent.com/#/home')
->newHeadless()
-&...
2
votes
3
answers
133
views
+50
Why java.lang.ClassNotFoundException: org.bouncycastle.crypto.params.Argon2Parameters$Builder when using Argon2PasswordEncoder
I have this exception when calling the following code:
val encoder=Argon2PasswordEncoder.defaultsForSpringSecurity_v5_8()
val ok=encoder.matches("password","$argon2id$v=19$m=65536,t=4,p=...
3
votes
1
answer
142
views
+50
How to serialize my SOAP request class with namespaces using XmlMapper?
For a SOAP API I need to POST a request XML in the following format:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws1="http://ws1.myapi.ch/"&...
1
vote
0
answers
46
views
+50
How to format Ceph S3 bucket-policy Principal?
I'm trying to set the bucket policy for a Ceph S3 bucket.
This policy works but enables public access
{
"Version": "2012-10-17",
"Statement": [
{
...
3
votes
1
answer
70
views
+100
How to correctly format the `pod.securityContext` directive in a nextflow workflow?
I'm trying to configure the pod directive in a Nextflow process (docs here). I'm attempting to follow the solution provided in this SO question allowing me to override priviledged container execution ...
2
votes
1
answer
48
views
+200
Styled Components Prop Type Error in JavaScript with CoC and tsserver in Vim (No TypeScript)
I'm working on a React project using Emotion js for styled components. I'm using Vim with the CoC plugin and coc-tsserver for JavaScript development. Even though I'm not using TypeScript, I'm relying ...
2
votes
3
answers
78
views
+100
How use Oracle SDO_GEOMETRY in SpringBoot
I'm trying to use SDO_GEOMETRY in my SpringBoot entity to store and retrieve Polygon data. Here's the field in my entity:
@Column(name = "shape",columnDefinition = "MDSYS.SDO_GEOMETRY&...
0
votes
1
answer
69
views
+100
Ensuring that aio_pika consumer runs forever alongside FastAPI
I wrote a aio_pika consumer task that is supposed to run forever in a FastAPI app. This task is part of a manager object which implement a pub/sub pattern:
from aio_pika import connect_robust
from ...
4
votes
2
answers
570
views
+50
Prevent Spring from auto converting number string within json to Double
I have a POST endpoint receiving json in the request body and is mapped to Map<String, Object>.
The value can be of any string format, I am OK for Spring to auto convert "true" or &...
0
votes
0
answers
40
views
+50
AWS Amplify Authenticator in SwiftUI
I am using AWS Amplify and SwiftUI. When I use the standard Authenticator from amplify, it works correctly. How do I extend the Authenticator to display Google and Facebook sign-in buttons? This is ...
0
votes
0
answers
15
views
+50
Actual NetBeans build folder: `build` or `nbbuild`?
Do recent versions of NetBeans use a build directory or an nbbuild directory; or both?
I see a lot of .gitignore files implying that NetBeans creates and uses a build directory. These same .gitignore ...
2
votes
1
answer
79
views
+50
Valid Hijri Date shown as invalid in moment-hijri
According to the ummul-qura site, 30-Shawwal-1400 is a valid date , but it is returned as invalid when passed throught isValid function using moment-hijri plugin
moment('1400-10-30', 'iYYYY-iMM-iDD')....