All Questions
19,947,573
questions
0
votes
0answers
2 views
How do I extract a dynamic “SID” and one of its child registry enteries into a reg file, and replace the SID in the regfile
I am writing a backup/restore script for powershell that allows users backup and restore various settings before and after windows installations, including HKEY_USERS\S-1-5-21-3096151585-4241824952-...
0
votes
0answers
2 views
when running android studio window doesnt show
This only happened yesterday, i ran android studio and the window wont show.
I restarted the laptop several times and even shut it down, still the same.
I actually uninstalled it and installed it back ...
0
votes
0answers
2 views
How does a pytorch dataset object know whether it has hit the end when used in a for loop?
I am writing a custom pytorch dataset. In __init__ the dataset object loads a file that contains certain data. But in my program I only wish to access part of the data (to achieve train/valid cut, if ...
0
votes
0answers
2 views
wireguard client not connecting to the internet
For all its purpoted simplicity I am simply unable to setup wireguard such that a client can access the internet (WAN) through the wireguard VPN. I have googled for a couple of days and nothing has ...
0
votes
0answers
2 views
Thin and Puma fail with similar issues - ERROR: Failed to build gem native extension on Mac with OpenSSL@1.1
Describe the bug
I have tried to do a gem install puma and gem install thin and get an error.
I have a brand new Mac that I am setting up: MacOS Catalina 10.15.6 (19G73)
I have worked out that any ...
0
votes
0answers
2 views
How do I set in Kafka to not consume from where it left?
I have a Kafka consumer in Golang. I don't want to consume from where I left last time, but rather current message. How can I do it?
0
votes
0answers
2 views
How to customizing dispatcherServlet configuration?
Given the way that AbstractAnnotationConfigDispatcherServletInitializer is
defined, it will create a DispatcherServlet and a ContextLoaderListener. But what
if you want to register additional servlets,...
0
votes
0answers
5 views
How to findout a number between two column in sql server 2008
Suppose I have table Called dbo.tbl_Search
Id From To
-------------------
1 200 210
2 212 220
3 203 215
4 225 240
Suppose, Searched No.-205 then i would to like ...
0
votes
0answers
3 views
Form control label missing accessibility issue after upgrading to ag grid version 23
Accessibility issue after upgrading to ag grid version 23
When I check through site improve acceesibility check, I get below error:
I'm getting an error for form control label missing. Add the text ...
0
votes
0answers
4 views
Update model behind GridView on ComboBox value changed
I have a WPF gridview that I assign data to through an observableCollection. One of the properties on this object is an enum which is in turn displayed as a combobox. In my xaml I dont define any ...
0
votes
0answers
2 views
When SonarQube scans the Git Submodule project, only the files of the super project are scanned
When SonarQube scans the Git submodule project, only the files of the super project are scanned.
Run in jenkins(Linux)
SonarQube version is 7.9.3
a maven project
the super project:
in other project,...
1
vote
0answers
4 views
ForeignKey Dropdown in Django Form
I want to show a dropdown in Django Form where the dropdown items are specified in another model in another app. Here's what I mean:
title/models.py
TITLE_CHOICES = (
('MR', 'Mr'),
('MS', 'Ms')...
0
votes
0answers
7 views
Map words to single characters
I'm building an hash function which should map any String (max length 100 characters) to a single [A-Z] character (I'm using it for sharding purposes).
I came up with this simple Java function, is ...
0
votes
0answers
2 views
upload from angular app to GCP returning error
Using angular 10 and gcp signed url.
I would like to upload 2 files to those signed URL.
private uploadThumbnail(url: string) {
console.log(this.thumbnail)
let formData = new FormData()
...
0
votes
0answers
8 views
Uploading a text file in Flask and reading it in html
I'm trying to upload a simple text file and then display it in another URL in flask. However, I'm getting a blank output with b" as the only thing showing. Its just a regular text file with utf-8....
0
votes
0answers
2 views
Apache Netbeans 12.0 doesn't show project library
I was making a registration gui and connected it to my MySQL database. When I ran the program and hit the register button, it said that there is no suitable driver found. So i downloaded the mysql jar ...
0
votes
0answers
3 views
Splitting or Breakup multidimensional arrays in scala spark along attributes
var date_columns = df.dtypes.filter(_._2 == "TimestampType")
This creates a two dimensional array containing only timestamp type column names along with their datatepyes
Array[(String, ...
0
votes
0answers
2 views
JOOQ: how do I add multiple interfaces to generated record classes using matcher strategy
Building on the answer provided here, I am trying to make my generated records implement multiple interfaces. Depending on which regex matches (REGEX_A, REGEX_B or both), the generated record should ...
0
votes
0answers
3 views
How to Debug (step-by-step) Ionic 5 Capacitor App on iOS Simulator/Device on an iMac in Visual Studio
I am building an ionic 5 capacitor app on visual code (latest) on an iMac and would like to do a step-by-step debug of my app on an iOS simulator or device in visual code. So far I could NOT find a ...
0
votes
0answers
6 views
Five responsive columns in a row with Bootstrap
I want to create a row which has 5 responsive columns which have equal padding from top to bottom and from the sides, but can't find the best solution how to achieve it with bootstrap.
Current html:
...
0
votes
0answers
8 views
My Network is rather predicts the mean output instead of individual predictions
I am currently working on my Bachelor Thesis. I want to predict the heartrate of people with video data. I build my network similar to the paper "RhythmNet: End-to-End Heart Rate Estimation
From ...
0
votes
0answers
3 views
Build and push a docker image with build arguments from DevOps to ACR
I'm building a docker image in an Azure DevOps pipeline, then I want to push it to the Azure Container registry. The registry is already created and I've configured DevOps to use it, also the ...
-1
votes
0answers
17 views
Fetch an API -> Uncaught (in promise) TypeError: Failed to fetch
i have a problem for fetch a data of an api.. This api -> https://resmush.it/api
My request work on Postman but not on my website i have this error :
Uncaught (in promise) TypeError: Failed to ...
0
votes
0answers
5 views
how to find a position of an Object in Canvas UI with render mode : Screen Space - Camera in Unity 2d?
I need to do the trailing coin object and when the render mode of Canvas is Screen Space - Overlay, I can the get the sprite object position easily with below code
CoinSprite Code
GameObject ...
0
votes
0answers
5 views
dnspython Set the DNS server for DDNS updates?
In dnspython you can set the server for queries via dns.resolver.nameservers.
Is there an equivalent statemtn to set the dns server for DDNS updates via dnspython?
0
votes
0answers
15 views
Binding two elements to the same integer in C#
I have a slider and a textbox which I'm binding in Mode TwoWay to the same integer "Scale" using the following xaml code:
<Slider x:Name="slider_Scaling" Value="{Binding ...
0
votes
0answers
7 views
Cells with centered value and background based on value
here is my problem
I read a DB and show the data via the renderer. Shown data must be centered and bgcolor must change according to the value of the cell.
Following is the renderer. First table....
0
votes
0answers
5 views
Getting error while using Huawei ImageKit doInit() method
I am trying to use ImageKit in my android project.
val res = imageRenderAPI.doInit(sourcePath, getAuthJson())
whenever I call doInit method like the code above, it always throws the error code 35 ...
0
votes
0answers
4 views
dafny non aliased memory weird behavior
I have a dafny defined graph ADT (from this SO question) brought here again for completeness:
class Graph
{
var adjList : seq<seq<int>>;
constructor (adjListInput : seq<seq<...
0
votes
0answers
5 views
Dataset for printed book text for OCR
Sorry if I am asking this question in the wrong place. I need to find a properly labeled dataset for OCR for English story books with multiple fonts. I tried to look into several datasets but most of ...
0
votes
0answers
9 views
How to implement date range picker between two given date in ios
I know how to implement date picker using dateformatter and with the help of addTarget method,but i am not able to figure it out out that how should i get started with implementing date picker range ...
0
votes
0answers
4 views
Fetch thousand of files from S3/minio with a single page webapp (no server)
I'm developing a single page app for image annotation. Each .jpg file is stored on S3/minIO services, coupled with a .xml file (Pascal VOC notation), which describes the coordinates and positions for ...
0
votes
0answers
4 views
Redefine the glog header message
I am using Google Mediapipe for hand detection. https://google.github.io/mediapipe/
One of the things is to get the landmarks of the model. While I have successfully managed it to output the data to ...
0
votes
0answers
3 views
How to take a screenshot (viewShot) of an ImageBackground in ReactNative
I was working on react native (expo) project and I wanted to take a screenshot using viewShot when pressing a button. The part of the view that I am trying to get the screenshot is the ImageBackground,...
0
votes
0answers
4 views
Row Level Security for Power BI
This is kind of an odd situation and I am pretty new to RLS so please forgive me if what I am asking about here might seem a little silly. I am trying to create Row Level Security for a School ...
0
votes
0answers
12 views
map to a function pointer with different number of arguments and varying datatypes
There is multiple class with different functions. For example:
class A
{
public:
int sum(int a, int b);
bool isScalable(double d);
}
class B
{
public:
std:string ...
0
votes
0answers
4 views
How to make virtual directory part of the URL in IIS case insensitive for the Angular app?
I know IIS is supposed to be case insensitive. However angular app handles the base href part of the URL case sensitive which means IIS should change the URL's base href-part to correct format before ...
-1
votes
0answers
10 views
Css content are not aligned properly on windows 125% default zoom
So currently i am trying to set an image on top of other so on my screen it is showing correctly but on other machine where default zoom level of entire windows machine set 125% in the windows ...
0
votes
0answers
6 views
1.Do i have any other option to load the respective array into the register instead of load it one by one?
.data
newline: .asciiz"\n" # print new line
output: .asciiz"The calculated an for initial value " #print the sentence
x: .word 5, 1, 500, 225 #array declaration
z: .word ...
0
votes
1answer
3 views
How to publish my API specification using Apache?
I'm wondering whether it is possible to publish my RESP API specification in apache.
I tried to find an answer using Google, but I had no luck as there are a lot of "Apache Tomcat" or "...
0
votes
0answers
3 views
The v8 Routing API does not seem to have Isoline - is it being removed?
Routing v7 API is available to construct an Isoline from a given location, but I notice v8 API doesn't seem to mention this feature at all. Is it just not in yet? Or is it no expected to be supported ...
0
votes
0answers
4 views
DST Entry time for few Timezone (Europe/Nicosia) are reporting wrong date using System.Globalization C#
I'm trying to get the DST entry time for the timezone "Antarctica/McMurdo" for the current year 2020 using System.Globalization class in C#. i'm receiving them as
DST Entry Time: 9/29/2020 2:...
1
vote
0answers
7 views
How to break a window into pieces? Unity
I created a scene with a window that when the window falls the ground the window should break, but the window gets broken but the parts remain and did not disperse.
Thanks :)
0
votes
0answers
4 views
Implementing Push Notification on Web view app using Xamarin, Firebase Cloud Messaging and an external database
I have a web view application made using Xamarin.Forms that views a food ordering website. The user will register/login to order food. The user's login details are sent to the external database and ...
0
votes
0answers
5 views
S3 bucket policy to deny all except a particular AWS service role and IAM role
Can you write an s3 bucket policy that will deny access to all principals except a particular IAM role and AWS service role (e.g. billingreports.amazonaws.com).
I have tried using 'Deny' with '...
0
votes
0answers
7 views
Cannot send form using POST
Recently new installation of laravel.
Trying to send a minimal basic form using POST. Get errors as below.
Try below scenarios, but none of them result in successfully processing the form.
Startpoint, ...
0
votes
0answers
5 views
CCavenue payment gateway error code 115 android
I am trying to implement ccavenue, all thing works but when i start the ccavenue gateway it show error.
What am i doing wrong here, please suggest.
0
votes
0answers
9 views
C2665 boost::variant woes
I'm porting a C++ application that was originally built with MSVC2008 and an older version of Boost. I'm porting it to MSVC2017 with Boost 1.73.
I am getting the error:
Severity Code ...
-1
votes
0answers
12 views
Changing json format in php
I have a json output from a database quesry that looks as follows:
[
{
"name": 1,
"value": "27.18161362"
},
{
"name": 2,
"value":...
0
votes
0answers
5 views
How do i merge functionality of timedrotatinghandler and rotatinghandler to get max bytes as well as naming of old files date wise
I have created a different API for logging which is called in all my microservices. I have two issues:
How do i merge the functioanlity of timedrotatinghandler and rotating handler ie. i need to set ...

