Latest Questions

Flutter datatable with splited rows

Hi every one Flutter Guru, I am trying to create a data table in which I will put the daily collected eggs of the farm. I collect the eggs sometimes 3 times a d

Find pivots in tensor that maximize sum of values

Let's suppose I have a matrix like this: [[15,10,8], [11,5,8], [9,14,4]] I need to write a function that, for each row, returns the indices of the maximum valu

Babel (expo) avoid compiling some dev only packages

Currently I have to use some cookie jar to make axios work in jest. axios.defaults.headers.post['Content-Type'] = 'application/json' axios.defaults.headers.comm

Excel VBA - Set timer goes faster after each loop

I am trying to create a timer that when reaching zero, it calls from the "Database" script, and then repeats the timer again from 30 seconds. Problem is, every

Extracting embedded data from mongo object ( sub fields) in Talend

I'm working on Talend open studio for Big Data and connected to a MongoDB Database , however i can't extract complex subfields objects from my collections, some

Twitch login | Swift

i need to implement the Twitch login in swift app with implicit-grant-flow I think i should use this Authenticating a User Through a Web Service from apple for

How to update a specific value in List<Class>?

I need to update one data in my List<Cards>. Class Cards looks like this: public class Cards implements Comparable<Cards>{ private int cardImage, ca

SetaPDF Merger for Wordpress result with error “Headers already been send in”

I am using SetaPDF Merger and I am almost finished with my project to set it up for my WordPress site. But of course I run into trubble. I have a repeatable fie

Find the coordinates returned by the server after send commands GPS Tracker (TK303 etc)

I sent commands to the server according to the following links and data was returned that I do not know how to find the coordinates. Link 1: GPS103 Tracker List

R: How to remove spikes/outliers on ggplot2

Given the following R script: library(glue) library(ggplot2) library(tidyverse) library(magrittr) library(stringi) library(dplyr) ir.data <- read.csv(file="

Github Actions workflow : can't change working directory - Error: An error occurred trying to start process '/usr/bin/bash' with working directory

I want to create a Github workflow to run the tests of my Flask application at each merge request. This is the first time I'm writing one so I'll take any advic

Apache Spark Dataframe - Get length of each column

Question: In Apache Spark Dataframe, using Python, how can we get the data type and length of each column? I'm using latest version of python. Using pandas data

set Domain on cookie using spring security when login success

How can I set the property "domain" on the users cookie when the user has authenticated from spring? Edit: id like to add domain=".mydomain.com" to cookie with

How can i use css root variable in ternary operator at styled-component?

I'm using React with Typescript and I wondering how to use var(--color-primary) instead of "005fcc" In ternary operator at styled-component. This is separated s

Uncaught Reference Error: variable undefined

I'm trying to define a class in a separate javascript file and then use that class in my HTML file. Here's what I'm trying. I create the class VoiceCard in the

Azure Synapse Analytics - CI/CD workspace and infrastructure - Design question

I have an Azure Repos project with IaC code and ci/cd yaml pipelines to set up Azure Synapse infrastructure. Can you recommend what is right approach when I int

How to create Sagemaker studio project using aws cdk

I am trying to create sagemaker studio project using aws cdk following below steps: create domain (using this example) create user (using this example) create j

What problem do C++20 concepts really solve? [duplicate]

I'm trying to understand what problems C++20 concepts are solving and how exactly they are helpful to the end user. I understand that it helps

truffle + npm exception

I am getting the following exception in Chrome console screen when I start my frontend app. Can you help me how to figure out the issue index.ts:261 Uncaught (i

Regex: why can't I use a capture group inside curly braces {}

I want to replace the nth charater of a line to '.', with n being line dependent and can be provided on the line itself, e.g. a example file can look like this:

how to secure nest js server on Heroku, I would like to know if the strategy I am using is secure or not

I am hosting my nest js server on heroku. I am using authGuards in nest js to validate the request using accessToken passed by client with the request (this acc

AWS CLI: Error parsing parameter 'cli-input-json': Invalid JSON received

I am trying to pass a json file as parameters to a aws cli command but am greeted with an error:Error parsing parameter 'cli-input-json': Invalid JSON received.

Indexing object with a generic key

First time I've run into this issue so apologies if the title doesn't make sense, couldn't figure out a good way to word it. I'm working with an API that return

Issues regarding the 'rails new' command

I am encountering issues when creating a new application on Ruby On Rails. Whenever I get create a new application on Ruby on Rails, my file was not created suc

How can I show more than one picture on the screen in Magnific Popup gallery?

I have added Magnific Popup gallery in the web page, it works. But it is necessary to show more than one picture on the screen in that gallery. It must be a big

My output not showing the full numbers but showing ?? instead

I'm trying to do benchmarking with JMH, the benchmarking result did come out but not perfectly Somehow there's ?? in the numbers, is it the problem with my IDE

How to consecutively count everything greater than or equal to itself in SQL?

Let's say if I have a table that contains Equipment IDs of equipments for each Equipment Type and Equipment Age, how can I do a Count Distinct of Equipment IDs

Vault Transit migrate to another server

I have a Vault server with Transit engine enabled, now I want to migrate the server to another location/hosting, Ho do I export/import existing keys?

Reactive Redis only one thread is used in a webflux service

In a Webflux server, detect function first looks up 2 redis hash value, and then do a heavy CPU calculation using the redis returned value, and then save result

Explicit lifetime annotations toy example

I'm trying to figure out a Rust lifetime issue and after boiling it down a bunch, I realized that I have no idea how I would explicitly annotate the lifetimes o