All Questions

0 votes
0 answers
2 views

Changing background color of excel block from Angular

So I currently have an angular project successfully downloading data to an excel sheet, however, I'd like to change the background color of two boxes if they don't have matching data and I haven't ...
user avatar
0 votes
0 answers
5 views

Moment.js says this DateTime is not valid

I have the following Date String: "2022-08-15 11:11:01" when i want to parse it with moment js it results in the 19th August of 2022. (Which is weird in the first place, because it is 4 ...
user avatar
0 votes
0 answers
3 views

What can I do to output in MongoDB with $inc from always being decimal with 2 point accuracy? (rounding output)

So I'm using MongoDB 6.0 (and motor driver in python) and for example I have a code like that: money = 4.92 from_snowflake = "19251" await db["bank"].update_one({"snowflake&...
user avatar
0 votes
0 answers
3 views

How to transfer long data to wide format date in sas

Suppose I have a data set as below data have; input subject$ day$ arm$ var1 var2; datalines; 100-01 Day1 left 40 30 100-01 Day1 right 35 25 200-01 Day28 left 45 22 200-01 Day28 right 38 15 ; run; In ...
user avatar
  • 738
0 votes
0 answers
5 views

What is the proper way to zoom in and out using orthographic projection?

I have a view matrix: float left = -(float)viewPortWidth / 240, right = (float)viewPortWidth / 240, down = -(float)viewPortHeight / 240, up = (float)viewPortHeight / 240; viewMatrix = glm::...
user avatar
0 votes
0 answers
6 views

Subtracting datetime considering forward times?

I have below datetime columns, I am trying to subtract but am getting negative value, how can I just retrieve the absolute difference in minutes? start_time | end_time | current_output 23:19:...
user avatar
  • 1,702
0 votes
0 answers
3 views

How to work with the heavy math required for the ECDSA algorithm?

Im learning blockchain technology right now, and got stuck in the Signing transaction. Trying to implement a very simplified version of Bitcoin signing algorithm I run into such big numbers as 2**256,...
user avatar
  • 1
0 votes
0 answers
3 views

I am trying to install Unetbootin on linux ubuntu but get this error

this is what i get when i try to install the repository. Then when I install unetbootin it cannot find the package. I would like to add this to ubuntu to make a usb drive bootable. I cannot get this ...
user avatar
1 vote
0 answers
4 views

Model identified during hot reload and only fails after server restart

I am connecting to mongodb via mongoose and then creating a model as follows. // coming from /database/schema import mongoose from "mongoose"; const kittySchema = new mongoose.Schema({ ...
user avatar
  • 4,093
0 votes
0 answers
5 views

Regex search until character in R - code working in example but not in full problem

I am trying to get data from a pdf. I am trying to use pdftools and then stringr to do this. I am running into a problem. My regex code in str_match() doesn't work to stop the search on a specific chr....
user avatar
  • 1,061
0 votes
0 answers
3 views

GitLab runner skips artifacts for failed job with when: always when using "extends"

I have a "parent" job defined in a shared (between projects) yaml "default-ci.yml": .build_solution: stage: exe_builds # Declare variables to be overridden variables: ...
user avatar
  • 218
0 votes
0 answers
3 views

How to get the child Nodes in Mongodb in Java syntax

I am trying to get the specific field value in JSON format .I have used below syntax and able to get the Email details but not in expected format . Document document = new Document(); ...
user avatar
  • 79
0 votes
0 answers
4 views

How to use function $switch inside of a $map in MongoDB

I want to apply a case statement to each element of an array. First, I'll put the array in the $map "input" argument and name it "c". Then, inside the "in" argument, I'll ...
user avatar
0 votes
0 answers
7 views

Replacing invalid chars in a json field

I'm recieving a json string as input for my program however the json I receive is invalid, it's possible for the values to contain unescaped " chars that cause my program to fail because the ...
user avatar
  • 1
0 votes
0 answers
14 views

form 'isValid' is always false

I am using react, typescript, and Email JS library. I am using the react-hook-form library and yup to validate forms. I am using isValid from the react-hook-form library to see if the form is ...
user avatar
  • 9
-2 votes
0 answers
12 views

I'm trying to take two user data and display it but doesn't work for the second input [closed]

import java.util.InputMismatchException; import java.util.Scanner; public class Mavenproject1 { public static void main(String[] args) { Scanner in = new Scanner(System.in); ...
user avatar
0 votes
0 answers
6 views

Custom Qualys-Jira Integration

I have this code to make a custom Qualys - Jira integration. curl -u "username:password" -H "X-Requested-With: Curl" -X "POST" -d "action=create&title=JIRA+...
user avatar
  • 15
0 votes
0 answers
6 views

AWS BACKUP vaults for cross account in Terraform

I Need some help in configuring AWS backup vaults in multiple AWS accounts using terraform. I'm able to create backup vaults in 2 accounts with specific plan and schedule. but i cant see the backedup ...
user avatar
  • 1
0 votes
0 answers
5 views

Enable Undo CoreData SwiftUI

Does anyone know how to have the Undo command in the menu bar enable when CoreData UndoManager has items to undo? Here’s what I’ve done: At app init I’m setting the Core Data PersistanceController ...
user avatar
  • 205
1 vote
0 answers
7 views

Python Tensorflow: how to migrate from keras.engine.[...] to tf.keras.engine?

As discussed in keras vs. tensorflow.python.keras - which one to use? I generally do not want to include keras in my machine learning project. Yet in the following code example using keras works and ...
user avatar
  • 33
0 votes
0 answers
9 views

Is there any way to change the button image while clicking/the button is active in Tkinter Python?

There are ways to change the foreground and background with activebackground and activeforeground, but activeimage doesn't exist - that or it doesn't work for me Working button changing background and ...
user avatar
0 votes
0 answers
6 views

Can I select multiple ranges in an Ace editor?

Can I select multiple ranges in an Ace editor? I don't want to use markers in this case, I want to set more than one selection in the editor. I have this code: selectedCodeBlocks.forEach(...
user avatar
  • 1,525
0 votes
0 answers
14 views

How to add all close rgb values together

I want to add all rgb values that are close Example: rgb = [(0, 0, 78),(0, 254, 255),(255, 30, 90),(255, 0, 60),(106,190,30),(21,30,28),(0,0,0)] Output: blue = [((0, 0, 78),(0, 254, 255),] pink = [(...
user avatar
  • 179
0 votes
0 answers
8 views

Symfony render service content in view

I have issue with service with symfony. I do not know why, but my view render raw php code in view. Anyone has any suggestion. This is my view. {% extends 'base.html.twig' %} {% block title %}Hello ...
user avatar
  • 426
0 votes
0 answers
7 views

How to convert 'Jul 24 2022' to '2022-07-24' in spark sql

I want to convert a string date column to a date or timestamp (YYYY-MM-DD). How can i do it in scala Spark Sql ? Input: D1 Apr 24 2022| Jul 08 2021| Jan 16 2022| Expected : D2 2022-04-24| 2021-07-08| ...
user avatar
0 votes
0 answers
6 views

Code generation failed : Critical : No class name set error for HELD.xsd

The xsd schema appears to be valid so I am not sure what causes the code generation error in Liquid Studio Code Generator 20.0.6.11591 for the schema https://www.iana.org/assignments/xml-registry/...
user avatar
  • 143
0 votes
0 answers
5 views

I'm not getting RX from a bluetooth PAN network I setup with my raspberry pi and another device. How can I debug?

I have one device that is bluetooth PAN capable and had success with a different raspberry pi. I think I messed up the configuration files on this new one but didn't change them before I enabled some ...
user avatar
  • 1
0 votes
0 answers
7 views

Add the subtracted value from previous user value in laravel

I have run into an issue where i am adding the point for a user with the previous point already stored in the table via laravel. Now I have an issue where i need to loop all the points of a specific ...
user avatar
0 votes
0 answers
6 views

How to properly uninstall AdMob from iOS app

I have uninstalled the AdMob SDK by commenting out the lines in the Podfile. Then I run pod update. The AdMob SDK and the utilities are removed. However, I get framework not found FBLPromises error. I ...
user avatar
0 votes
0 answers
12 views

Delete last record/row from memsql table on condition?

I wanted to delete the last row from a table where a serial_num matches. We can order by transcation_date. I wrote the procedure below but am still getting a syntax error. Any idea? CREATE OR REPLACE ...
user avatar
0 votes
0 answers
6 views

Keras List index out of range after I merged trained models

Hi everyone I have 5 classes and each one has 2000 images I built 5 Models with different model names and that's my model code model = tf.keras.Sequential([ tf.keras.layers.Conv2D(32, (3, 3), ...
user avatar
0 votes
0 answers
12 views

value inside a linked lists Node exists after change, why?

lets say we have a linked list = [1] -> [2] -> [3] -> [4] typedef struct Node { int val; struct Node* next; }Node; I have the head and to free all the allocated memory I do printf(&...
user avatar
0 votes
0 answers
11 views

How to setState dynamically after filtering the data from multiple arrays in a sequence

I have a redux hook responsible for server data that I want to pass into a set state. But with a dynamic condition. // states const [drilledData, setDrilledData] = useState([]) Current Code: const ...
user avatar
0 votes
0 answers
9 views

How to write user data along with image in Firebase

I implement the functionality of adding user data to Firebase. I write the picture to Firebase Storage. Now there is an error - TypeError: Cannot read properties of null (reading 'name'). How can it ...
user avatar
-1 votes
0 answers
16 views

vars in CSS (--transform) [closed]

I am working on an autodidactic project and after several hours of searching and testing I have to give up and pop in here to ask among experts. I am using CSS variables for the first time I have ...
user avatar
0 votes
1 answer
30 views

Understand C++ const functions

I am new to c++ and im trying to write a simple c++ wrappers to integrate with this third party c++ library; which comes with bad documentation. function to integrate with (this is all the ...
user avatar
0 votes
0 answers
5 views

IBM Integration Bus: Dealing With Zip Files

I have managed at the moment to create a program that takes in a Zip file in IBM Integration Bus as file input(a .zip file) and then goes through the zip to pick up a .csv file using the Java Compute ...
user avatar
0 votes
0 answers
7 views

Visual Studio cursor paste terminal ipython

When running ipython from the terminal in Visual Studio, I will sometimes be working on a script above, but when I paste individual lines from the script into the terminal, sometimes there will be ...
user avatar
-1 votes
0 answers
7 views

Is there a way I can get a choice which is located inside of a string option? [Discord.js V14]

I am fairly new to discord.js and i'm working if I can get a choice which is located inside of a string option. My code is below. If you need more tell me. module.exports = { data: new ...
user avatar
0 votes
0 answers
5 views

Select query, join table which is not directly referenced via Foreign Key

With Prisma, I'm trying to join an indirectly referenced table onto a query, see SQL example below which represents the basic use case. Lets say in the example, that I want to access the companyCar ...
user avatar
1 vote
0 answers
11 views

can i make a time limit for a sprite in sfml/cpp?

I want to show a warning note on the screen with time-limit(for instance in a game). I mean, is it possible to show up a sprite just for 10 sec with SFML?
user avatar
0 votes
0 answers
6 views

Custom success message on FilePond file upload

I’m using FilePond 4.30.4 with React and react-filepond 7.1.2. Everything is working great and I can upload files. My server responds with a file ID, and this comes back down to FilePond. I can see ...
user avatar
  • 21
0 votes
0 answers
13 views

I can not synchronize lists using multitasking in python

Need some help from this forum, seems to be a simple question but I do not configure out. I want to use multithreading in my email validation & resulting output in an excel sheet(in row header ...
user avatar
  • 3
0 votes
0 answers
5 views

Update all blob columns in all tables in MySQL

We are migrating a wiki system from MediaWiki v1.25 to v1.35 while using a cloned database in the same MySQL server, but in a new Apache server. The issue is that, after doing all the steps mentioned ...
user avatar
0 votes
0 answers
5 views

Send more than 1460 bytes in sim800l module with cipsend

I want to know if there is a way to send via TCP IP by AT+CIPSEND command more than 1460 bytes, I trying to send to my server 2460 bytes, but give me error, I read in this app note, that is not ...
user avatar
0 votes
0 answers
6 views

Add reactions to embeds py-cord

Im making a discord bot and i decided to change from prefixed commands to slash command using pycord and my poll command it won't add the reaction it will just send the embed without the reactions ...
user avatar
0 votes
0 answers
6 views

station can ping ap2 but cannot ping stations connected to ap2 (mininet-wifi)

I tried the following the book creating two wlans for a station, however sta1 can only talk to the stations connected to AP1, although iwconfig confirms that it is connected to both APs. sta1 can ping ...
user avatar
1 vote
1 answer
9 views

Constructor: Storing pre-processed params in helper variables passed to final fields

I'd like to provide an alternative constructor for my Circe class where the center and radius are calculated from 3 points. But I cannot find a way to store the calculated center to the temporal ...
user avatar
0 votes
0 answers
6 views

how it is possible to re-arrange data frame by comma separation of factors in one column by R?

I have a dataframe with to big columns data and one of them is the gene list, another is pathways name, but second columns was repeated many times because I have many involved genes in first column ...
user avatar
0 votes
0 answers
7 views

How to assert the value of the preselected value from a dropdown using Playwright? Typescript

How to assert the value of the preselected value from a dropdown using Playwright? Typescript I am using the below code to assert the preselected value of a dropdown. const dropdownValue = await this....
user avatar

15 30 50 per page
1
2 3 4 5
458299