All Questions
315
questions with bounties
-23
votes
0
answers
292
views
+100
How to create bitcoin cash private key, wallet and address with bitcoincashjs javascript library?
How to create bitcoin cash private key, wallet and address with bitcoincashjs javascript library ?
1
vote
3
answers
134
views
+100
What is meant by Distributed System?
I am reading about distributed systems and getting confused with what is really means?
I understand on high level, it means that set of different machines that work together to achieve a single goal.
...
3
votes
1
answer
89
views
+50
Visual Studio throwing errors for node_modules that contain a tsconfig.json
In my project I have a tsconfig.json which sits in the project root. However, Visual Studio is throwing a number of errors about the tsconfig.json found in other packages, like so:
node_modules is ...
0
votes
0
answers
63
views
+50
PLSQL - How to handle HTTP request on PLSQL htp generated pages?
I am learning to make PLSQL web applications.
I am trying to use <form> to handle HTTP requests. But I cannot figure out how should I approach this.
This following provides an example of what I ...
6
votes
2
answers
152
views
+50
Abbreviation similarity between strings
I have a use case in my project where I need to compare a key-string with a lot many strings for similarity. If this value is greater than a certain threshold, I consider those strings "similar&...
0
votes
1
answer
56
views
+50
flutter Locationstream after re-log in
I am writing an app in flutter and need to send the users location as stream to my backend.After using the singleton as suggested in comment the logout works and it stops the stream,but after loging ...
0
votes
1
answer
90
views
+50
How to redirect if from reddit with nginx?
I post images on reddit by hotlinking images from my site. By allowing reddit to hotlink my images it will display the image on their site but I also want it to redirect if a user clicks on the image ...
2
votes
1
answer
56
views
+50
How to export trained stable-baselines/TensorFlow neural network to MATLAB?
I'm trying to export a PPO2-trained neural network to MATLAB. It was saved as a zip file using
model.save(os.path.join(save_dir, 'best_overall_model'))
I can load my model with
model = PPO2.load(os....
0
votes
2
answers
109
views
+50
How to test public functions in Typescript with react-testing-library?
I'm having below setup in my project, whenever I extends the httpService and use the 'this.instance' in any service I'm getting the error.
If I use axios.get directly without any interceptors in my ...
1
vote
2
answers
44
views
+50
VS 2019 Project Target Framework Not Installed - .Net Framework 4.0
Just installed VS 2019 Pro on a new system. When I open a solution with .net 4.0 project, I get this error: Project Target Framework Not Installed.
When I choose download it, it goes here but does ...
3
votes
1
answer
117
views
+50
CSS Sprite menu icons with bare minimum one element HTML using :before pseudo-element
Summary / Nutshell
Is it possible to have a full width (display: block) clickable hyperlink HTML element that has a unique, positioned sprite background image class, all in just one HTML <a> ...
2
votes
0
answers
109
views
+50
react-native-reanimated executing external native build for cmake
When i install react-native-reanimated in my project after try to run my app it's show me bellow error:-
Cause: executing external native build for cmake /Users/MyPC/React-Native/Citi-App-Old-version/...
0
votes
1
answer
72
views
+200
Scroll flickering issue - using cdk-virtual-scroll with scroll-snap-type
I am using cdk-virtual-scroll.
It is working fine without using the css property scroll-snap-type .
When I use scroll-snap-type it is flickering few seconds. herewith I attached the code sample
https:...
1
vote
1
answer
37
views
+100
react native giftedchat can not edit message text
I want to edit a message, but it's only updated when i changed this message _id. Can someone provide me how to do it, here is my code:
const onSend = useCallback((messagesToSend = []) => {
...
2
votes
1
answer
573
views
+50
Long pressing an item on Android Chrome shows the context menu for a bit but then shows up an unwanted drag-and-drop item
For example, when I long press an item, it shows the context menu but then the context menu gets closed a tiny bit after and summons a drag-and-drop box (containing the URL and the name of the page if ...
0
votes
4
answers
146
views
+50
How to Use PHP Code in .htm or .html pages
I am writing some PHP code in my .htm and .html pages but it's not executing the code.
I must strictly not have to change the page extension.
I have added this handler to the .htaccess page
...
0
votes
1
answer
46
views
+50
It is possible to force update a running winform application without restart it using ClickOne publishing?
I try all the possible configuration in ClickOnce but the application only updates on restart.
I want the application to update after the application startup but in VS 2022 the update after startup is ...
0
votes
1
answer
108
views
+50
Scroll specific div without having to hover over it
I have a section which essentially contains an image and some text.
I'm using GSAP to pin the section on scroll and now I'm looking to scroll the text, without making the user hover over it.
Key ...
0
votes
1
answer
58
views
+50
How to customize AccessDenied page of MinIO?
When the expiration date of MinIO links passes, It responds to an XML like this:
<Error>
<Code>AccessDenied</Code>
<Message>Request has expired</Message>
<Key>...
2
votes
1
answer
57
views
+50
Importing tensorflow in vite
Apologies in advance as I'm sure these are rather trivial matters - I am in the "hello world" phase of learning front-end development.
I have a hello-world vite app, which I created and ran ...
0
votes
2
answers
68
views
+50
AWS amplify/dynamo/appsync - how to sync data locally
All I want to do is essentially take the exact dynamdb tables with their data that exist in a remote instance ( e.g. amplify staging environment/api) and import those locally.
I looked at datasync but ...
1
vote
1
answer
93
views
+50
Nginx geoip does not show the country in the logs
I am using a public repo for nginx configured for geolocation with geoip, but I am getting dashes in the fields $geoip2_data_country_code $geoip2_data_country_name'. I have the following Dockerfile:
...
1
vote
0
answers
92
views
+50
Rotating a group of elements from the center of the group doesn't work
I'm using moveable and scene.js in React, and this is a demo of what I'm working on right now:
https://codesandbox.io/s/group-rotation-forked-goo6bq
When I'm trying to rotate this group of elements by ...
1
vote
1
answer
134
views
+500
Android mobile: scroll performed properly, but scroll not stopping on corresponding lookup value defined against selector arguments
In Appium (android) I am using mobile command mobile:scroll to scroll, based on this reference.
Scrolling is working perfectly, but not not stopping on corresponding lookup value defined against ...
1
vote
1
answer
64
views
+150
How to run custom openedx project in localhost
I have the edx-platform, ecommerce, ecommerce-themes, credentials and edx-theme directories. I have installed successfully tutor and devstack but I didn't find the way to replace these custom ...
1
vote
2
answers
583
views
+500
Azure Durable Entity for storing function app state between runs (.net 6)
I want to run a simple .net 6 c# consumption azure function app (not durable) every minute, but I need to remember the state from the previous run.
The state consists of arrays of json serializable ...
0
votes
0
answers
145
views
+250
How to enable SWC Aliased imports in Next JS?
Upgrading from babel to SWC. I deleted the .babelrc file but now the path aliases are no longer recognized in my project. Tried to restore this with a .swrc
.swrc
{
"jsc": {
&...
4
votes
1
answer
1k
views
+50
How to fetch multiple lists with EntityGraph
I've been too much time trying to do something that seems simple at first look:
Let's say I have a Store entity with two @OneToMany relationships:
@Entity
public class Store {
private String name;...
4
votes
1
answer
68
views
+100
Detecting deploy failure from Ansistrano Deploy
We are using Ansistrano Deploy
roles:
- role: ansistrano.deploy
We want to be able to detect when the deploy fails for any reason (or succeeds), so we can send a Slack notification.
How can we get ...
0
votes
0
answers
65
views
+50
How to capture TV remote microphone on Android TV OS?
I'm trying to use Watson Speech to Text API in my Android app on TV. I tried it on the TV emulator and, after enabling the mic on the virtual remote, the app work as it supposed to. But when I try the ...
2
votes
1
answer
119
views
+50
issue with MSSQL fulltext search
original table contains json, but i've stripped it down to the table below:
id
json
1
"name":"one.it.two"
2
"name": "one.it.two"
difference between the two ...
1
vote
3
answers
153
views
+100
Updating with tableView doubled the values
I have a tableView and its content comes from two Firebase requests. As soon somethings changes for example the user clicking on a like button or editing some text the tableView should be reloaded and ...
4
votes
1
answer
6k
views
+50
Using Terraform to create a service account with IAM roles
I am trying to create a basic Service Account with the roles/logging.logWriter IAM role with Terraform. Below is how I have configured this:
resource "google_service_account" "log_user" {
...
2
votes
2
answers
93
views
+50
Interpolate values based in date in pandas
I have the following datasets
import pandas as pd
import numpy as np
df = pd.read_excel("https://github.com/norhther/datasets/raw/main/ncp1b.xlsx",
sheet_name="...
0
votes
2
answers
64
views
+100
React deploy with Github Actions failure
My react app works locally, when I run npm start it'll compile and run without any errors. But when I deploy to Azure web app using Github Actions it fails in the compile with the following error
...
0
votes
1
answer
60
views
+100
Create DockerFile using fabric8 that copies shared libraries
I am trying to run DJL(Deep java library) within an application on my Kubernetes Cluster( Debian 11 nodes).
I am using fabric8 and maven to dynamically create my DockerFile
this is what generated so ...
0
votes
0
answers
35
views
+50
How can I utilise the whitespace in Kendo Scheduler against a resource?
I'm looking into Telerik (JQuery UI) documentation on the Scheduler component they offer. The dataSource bound to the scheduler has a resource of Meeting Room 101. As seen in this demo, the width of ...
2
votes
0
answers
76
views
+50
Using a PTY without a command
I opened an issue in creack/pty for this question, but I actually think it probably belongs here as it's probably more to do with my usage of the library than anything wrong with the library.
I am ...
6
votes
4
answers
17k
views
+50
NullReferenceException trying to read connection string
I have two projects. One is web & the other is windows forms. Web project connects to database but the windows project throws an exception NullReferenceException reading the connection string.
I ...
3
votes
2
answers
4k
views
+50
Celery: how to get queue size in a reliable and testable way
I'm losing my mind trying to find a reliable and testable way to get the number of tasks contained in a given Celery queue.
I've already read these two related discussions:
Django Celery get task ...
1
vote
0
answers
134
views
+50
Old receipt information is retrieved for in app purchases for test users
I am using Auto-renewable subscriptions on my app and I am using sandbox users to test it with and for the first time purchase of an auto-renewable product in the app, its working fine, and the ...
0
votes
0
answers
23
views
+200
Solr search with AND operator with strict ordering
Let's say I have a query like:
search_field:A AND search_field:B
that looks for a target that contains both A and B
so the result would be:
AcccccB
BcccccA
...
However, is there a way to keep the ...
-2
votes
1
answer
76
views
+400
Supporting a Delta Lake-like format in BigQuery
I usually use Parquet to load data into BigQuery as a starting point, as with the compression and support it seems to be the best fit when compared with other formats, such as JSON, CSV, Avro, and ORC ...
2
votes
0
answers
104
views
+50
GUnicorn + CUDA: Cannot re-initialize CUDA in forked subprocess
I am creating an inference service with torch, gunicorn and flask that should use CUDA. To reduce resource requirements, I use the preload option of gunicorn, so the model is shared between the worker ...
0
votes
1
answer
60
views
+50
How to find_one in mongodb if the key is not always present?
I have a following mongodb:
some records looks like {'_id': ObjectId('62790ce20375a639af1d8676'), 'visit_id': 594817704, 'transaction' : 10}
some has only this form: {'_id': ObjectId('...
5
votes
1
answer
110
views
+50
How to properly display all inline fields associated with its parent model fields when paginating in Django template?
I'm a student and a Django newbie, and we have a project that we're trying to build using Django. In my journey to building the project I stumbled upon a problem and got stuck for weeks now.
I want to ...
1
vote
1
answer
64
views
+100
typeorm - DEFAULT is being inserted while giving value to the specified entity
I'm using the migration workaround to seed my database in typeorm, and have got a foreign key, that I'm trying to link to the database, yet, it tells me that foreign key constrained is violated and ...
0
votes
0
answers
23
views
+50
How to set and apply offset to parent order setting in bracket order for Interactive brokers python api?
From TWS, I can place a bracket order where I can place the takeprofit and stoploss order with a setting "apply offset to parent order". How do one apply same setting "apply offset to ...
0
votes
0
answers
33
views
+50
Find out the parent task of an EKReminder subtask
I'm using EventKit in SwiftUI to fetch the reminder items. The problem I encountered is to fetch the parent-child relationship of the reminder items (EKReminder). In my Reminders app (in both iOS and ...
5
votes
2
answers
266
views
+50
Matplotlib appears to not use rcparams when plotting, particularly for text (e.g. titles are bold when default is not)
I have an issue that matplotlib appears to not be following the rcparams. This occurs particularly for text: annotations, axis labels, titles, etc.
I will note that I am not running Seaborn at the ...