All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

Asking about documentation dev of TestLink

I'm working on changing Testlink open source code, To add some feauture as sending mail when the user add a project. I'm searching in google how to add feature to testLink but I don't find Anything. ...
user avatar
0 votes
0 answers
2 views

Office Addin - reading web.config appsettings for debug and release

I am developing an Office Addin for excel using Visual Studio 2019. I have different settings like API urls, default user etc for debug and release. I want to save these settings in web.debug.config ...
user avatar
  • 23
0 votes
0 answers
2 views

Using license4j with JRE 16 and newer

In my software, I use license4j together with version 15 of OpenJDK, which works fine. However, if I try to use OpenJDK version 16 or newer, validating a license doesn't work anymore because the ...
user avatar
  • 342
0 votes
0 answers
3 views

How to convert numpy array to string and vice versa

The following code is trying to convert the image array to string, and then regenerate the image from string. import numpy as np import matplotlib.pyplot as plt image = np.ones((28,28)) print("...
user avatar
  • 610
0 votes
0 answers
2 views

How do I access (new july 2022) targeting information from the Facebook Ad Library API (R solution preferred)?

As this announcement mentions (https://www.facebook.com/business/news/transparency-social-issue-electoral-political-ads) new targeting information (or a summary) has been made available in the ...
user avatar
0 votes
0 answers
3 views

Hive Error on windows - return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

When i'm runnning below query on hive installed on windows - "CREATE TABLE emp.filter AS SELECT id,name FROM emp.employee WHERE gender = 'F'; ", Im getting following error -- "FAILED: ...
user avatar
0 votes
0 answers
4 views

QR scanner for a web app with enterprise pricing model

I have been tasked with finding a library for our application that can scan QR-codes on documents and add them to a digital list. My first instinct was to use ZXing since it seems to do everything we ...
user avatar
  • 1
0 votes
0 answers
7 views

Fastest way to copy my own system memory RGB array into a Win32 window

while it seems such a basic question, I open this thread after extensive stackoverflow and Google search, which helped but not in a definitive way. My C++ code draws to an array used as RGB ...
user avatar
0 votes
0 answers
3 views

How to get topRow data / index from Qml TableView?

For creating a table with eleven columns, dynamic rows, and a scrollbar, I have used TableView. Windows 10 is the working environment Version of Qt: 5.15.2 The import statements used are: "import ...
user avatar
0 votes
0 answers
5 views

Webscraping with BeautifulSoup create a dictionary containing author name, car model and all paragraphs with review

I have such a code which gets the values of all paragraphs from a div and inserts them into a list as a new element for each car model year. I wanted to add the possibility of creating a dictionary ...
user avatar
  • 59
0 votes
0 answers
3 views

Transform y_train in scikit learn pipeline

I have a test train split named X_train and y_train that I pass to a sci-kit learn pipeline. Is it possible to have a custom step to only transform y_train i.e remove nan and infs from y_train. class ...
user avatar
  • 551
0 votes
0 answers
8 views

Date Input click is scrolling page

When Date Input is at the bottom of the page, clicking on it scrolls page. How to fix this bug? https://app.castify.com/view/63847a7b-e752-473f-90b7-1392dc626783
user avatar
0 votes
0 answers
3 views

How can Nifti files be restructured so that they can be fitted in a CNN?

Most of my Nifti files have different xyZ dimensions. How can I arrange them so that they have the same dimensionality and then be able to train them in a CNN?
user avatar
  • 11
0 votes
0 answers
4 views

Updating an Excel document with a excel file in a directory

I have an excel workbook I want to update with new data from another Excel workbook. The data workbook will be overwritten every day with a new workbook with the same name and same data structure. ...
user avatar
0 votes
0 answers
3 views

how can I use loop in given code to make it shorter and effective?

enter code herefrom turtle import * speed(0) pensize(4) radius = 90 begin_fill() color("red") circle(90) end_fill() pencolor('black') width(4) down() circle(radius) up() bk(radius) ...
user avatar
0 votes
0 answers
4 views

Using yaml properties and web.xml

I'm currently building a quarkus appplication secured with cas. I built a web.xml file that launch all the web filters to interact with my cas provider. I've added a properties inside application-dev....
user avatar
-1 votes
0 answers
7 views

I have been working on this question for 2 weeks, can someone please help me with this? It's on ORF and using files

I have to use DNA from a separate text file for this question. write a function, longest_orf(), that takes the DNA sequence as input from that file and finds the longest open reading frame (ORF) in ...
user avatar
  • 1
0 votes
0 answers
6 views

With Amplify backend, GraphQl query filter is not applying to results

The API call below retrieves all Comments without any filter applied. Amplify is buggy in a lot of places, so I'm thinking its a bug there, but Im. also new to GraphQl. Versions: aws-amplify 4.3.27 ...
user avatar
  • 1,258
0 votes
0 answers
12 views

Generate 1000 sample based on a criteria

I have 3 numbers selected randomly from 3 different distribution (exp1,exp2, exp3) such that sum of all these numbers is always equal to 13. Now I want to generate 1000 sample for such combinations
user avatar
0 votes
0 answers
5 views

Next.js useContext issue

I'm trying to provide my data via ContextProvider to my own reactComponent. I've create Context.jsx (I wanted to have external context file). But when I try to connect my Context.jsx with _app.jsx I ...
user avatar
0 votes
0 answers
5 views

GARCH(1,1) MLE by Pyomo

import pyomo.environ as pyo import numpy as np def get_model_garch11mle(vec_retn): mdl = pyo.ConcreteModel(name='GARCH11') mdl.alpha_0 = pyo.Var(bounds=(1e-6,1), initialize=.4) mdl....
user avatar
0 votes
0 answers
4 views

React Native Error: No Firebase App '[DEFAULT]' has been created - call firebase.initializeApp()

I have implemented push notification for android and it work 100% correctly but when I open the same app to test push notification for IOS it fails as it requires for a config file here is my config ...
user avatar
-1 votes
0 answers
6 views

what is the fastest way to run C++ code in python, and is it worth it?

I am looking into use C++ to speed up my computationally intensive python programmes, and have a few questions. before I start, for this to work I need to be able to pass arguments from python into C++...
user avatar
0 votes
0 answers
5 views

¿Cómo puedo seleccionar los objetos duplicados de un array y añadir una unidad en un carrito de compra?

intento de saber como puedo buscar los objetos duplicados en un arreglo y poder seleccionar los duplicados, sumar los valores de unidad y dejarlo como un elemento nuevo dentro del mismo array pero con ...
user avatar
0 votes
0 answers
6 views

Have php server some .js and .css files

I am using two containers in AWS ECS, nginx and php and I would like to have php serve some files like for example: /app/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-list-...
user avatar
0 votes
0 answers
7 views

Subset rows on one datatable based on multiple column values of another datatable

I have two datatables. The original one looks like this: library(data.table) DT <- data.table( x = rep(c("b", "a", "c"), each = 3), v = rep(c("d", "...
user avatar
  • 775
0 votes
0 answers
17 views

JavaScript: object extract and update key values

I have object of customer information. From that information I want to extract firstName, lastName, size and weight. After extract that data, in size key's value I want to add cm and in weight key's ...
user avatar
  • 1,943
0 votes
0 answers
3 views

selenium click with dropdown is not working

I am trying to use selenium click to open dropdown menu and then click again to download a file. Common error I get is that the "element is not attached to the page document" Have tried ...
user avatar
0 votes
0 answers
4 views

Bootstrap 5 footer is overlapping the renderbody in MVC app

I know this seems to be a common issue - but I just cant get it to work! I recently (stupidly) renamed my bootstrap.css file, as I had introduced a new one (from bootswatch). My render body content ...
user avatar
  • 1
0 votes
0 answers
4 views

Using Streamlit and matplotlib to display a pandas dataframe bar plot

At the moment I have: fig, ax = plt.subplots() ax = df.plot.barh(stacked=True) st.pyplot(fig) The dataframe for reference if necessary looks like: A B C D E Cat1 5.3 NaN ...
user avatar
  • 21
0 votes
0 answers
4 views

Covert an indexed array to multidimentional array in php

I have an array like bellow $arr = [ 'mail', 'smtp', 'username' ]; I want to do something like bellow Array ( [mail] => Array ( [smtp] => Array ( [username] => "Some ...
user avatar
0 votes
0 answers
6 views

Correct Type Annotation for objects generated by the functions in a library

I'm writing a function that requires engine from sqlalchemy. The engine can be initialised in the following manner import sqlalchemy engine = sqlalchemy.create_engine(connection_str+ "schema_name&...
user avatar
  • 1,052
0 votes
0 answers
4 views

converting Athena timestamp to date

I am running a query against Athena, and it breaks. Specifically, I get an error for the below fragment: avg( DATE_DIFF( 'minute', CAST(from_iso8601_timestamp("sessions_staging&...
user avatar
0 votes
0 answers
5 views

Borrow non-'static data in future with wasm_bindgen_futures

I am launching multiple threads from incoming tcp connections which need to read from a file or anything that implements the std::io::Read and std::io::Seek trait. I have the following working ...
user avatar
  • 2,737
0 votes
0 answers
4 views

Scraping data inside an iframe with splinter

Currently using splinter and trying to get some data from this page : https://ecomm.one-line.com/one-ecom/manage-shipment/cargo-tracking?ctrack-field=CAAU4023030&trakNoParam=CAAU4023030 Since ...
user avatar
  • 117
0 votes
0 answers
4 views

Godot: containers dont handle properly when item sizes change

I have ScrollContainer which contains a HFlowContainer like this: In the _ready function, I create dynamically a lot of buttons like this (just a part of the code, the problem is not here), and I ...
user avatar
0 votes
0 answers
4 views

IOS subscriptions stuck in Waiting for Review for ever

I submitted my first built with subscriptions. The built got approved 2 weeks ago, the subscriptions are still waiting for review. For some reason the subscription review process seems to be a ...
user avatar
0 votes
0 answers
8 views

How to convert first column of dataframe in to its headers

I have dataframe df: 0 0 a 1 b 2 c 3 d 4 e O/P should be: a b c d e 0 1 2 3 4 5 I want column containing(a, b,c,d,e) as header of my dataframe. Could anyone help?
user avatar
0 votes
0 answers
5 views

Customization of Sunburst diagram with sunburstR in R

I am trying to customize the Sunburst diagram created using the sunburstR package. I want to change the font size of the categories in the Legend. And, I want to change the color scheme of the diagram ...
user avatar
0 votes
1 answer
5 views

Create a column that contains the sum of rows above within group

Here's the dataset I've got. Basically I would like to create a column containg the sum of the values before the date (,which means the sum of the values that is above the row) within the same group....
user avatar
  • 43
0 votes
0 answers
7 views

R ggplot add contribution as a label

I am drawing a set of graphs based on Send quantity, but I want to add a label that gives me the contribution to the facet. p = ggplot(data = dbnbuckets, aes(x=DBNBucket, y=sent)) + geom_bar(stat = ...
user avatar
0 votes
0 answers
5 views

facing problem to write and read raw data type in R (working on encryption and decryption RSA)

working on encryption and decryption by using RSA
user avatar
0 votes
0 answers
17 views

The file name, directory name, or volume label syntax is incorrect

I will create a folder according to the identities in the database and transfer the pictures related to that identity. My code is like this: string AddImg(byte[] img, int productID, string name) ...
user avatar
  • 11
0 votes
0 answers
5 views

GCP monitoring dashboard using log based metric doesn't show data for the graphs

I was creating a monitoring dashboard from GCP logs. First, I created a counter metric from a log query. Logs for the metric and Metric creation page After the successful creation of the metric, I am ...
user avatar
0 votes
0 answers
5 views

How to find crossection of hline and a function?

I have created a plot like in the figure below, red plot is original data, blue is a fitted function, the horizontal lines are different levels. I need to find the both intersection points with each ...
user avatar
0 votes
0 answers
17 views

Extract Data from Dynamic Link When App is already opened- Flutter

I have generated the QR codes from the dynamic links so that when the user scans the QR code from a third-party scanner it opens my app and opens a particular page based on the data extracted from the ...
user avatar
0 votes
0 answers
9 views

how to migrate Render Function with h() Arguments of vue into react

I am migrating my vue app to react app. So, in my vue application i am using render function with parameters returning the vnode which i used for icon modification purpose. Now, i need some ...
user avatar
0 votes
0 answers
11 views

Random Errors in VBA Userform

I have created a userform which fills values from textboxes of the userform into cells and sends the created Excel sheet via mail. Now I have the following problem. The userform is used by several co-...
user avatar
  • 43
1 vote
1 answer
9 views

Delete remote repo from git using terminal

How can I delete remote repo using terminal? I have tried rm -rf .git. This delete file from local but does not delete repository from remote.
user avatar
0 votes
0 answers
19 views

how to transform for loop to lambda function

I have written this function: def time_to_unix(df,dateToday): '''this function creates the timestamp column for the dataframe. it also gets today's date (ex: 2022-8-8 0:0:0) and then it ...
user avatar

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