Latest Questions

Flutter - The non-nullable local variable 'newTaskTitle' must be assigned before it can be used

Hi so I have been getting this error - "The non-nullable local variable 'newTaskTitle' must be assigned before it can be used. (Documentation) Try giving it an

program that asks the user to input a string with at least three characters and displays a new word with the word “car” after first three characters

In python how do you write a program that asks the user to input a string with at least three characters and displays a new word with the word “car”

Use REPLACE in multicondition RegExp in Pig Latin

I have this set of data: dump data; This is a sample output: (this dataset is almost a million rows long). ("0",60,0,1,"Fri") ("1",47,0,1,"Mon") ("1",23,1,0,"T

How to put multiple parameters in one $ [closed]

Sorry if this is very obvios I have the following $a = 1200.00 $b = 675 $c = 123.00 $d = $a$b$c How would I properly write $d I thought it w

Automa that can recognize any given DNA sequence

I'm new here, I'm on my first year of college for computer science, and I have my final exam for logic in 3 days. One of the question that the teacher could ask

Get Values of Nested Objects from localStorage Vue.js

I have a vue.js application and into a component there's the data method that's returns a nested object like this: obj: { color: { value: '',

Nginx bulk URL redirect by include a separated file but not working as I want

I am not very familiar with Nginx URL redirect. But I have followed some suggestions from Google search and unfortunately none of them meet my expectation. I n

OpenSSL 3.0.2 with custom salt doesn't start with Salted__

I have just upgraded my Ubuntu system to 22.04 which comes with OpenSSL 3.0.2. Previously I was using 1.1.1f, and it seems the behavior has changed, but I'm not

Is it possible to prevent higher order function execution in Jest test, if passed callback is a mock?

I have a function which makes a lot of calculations and returns order of sorting. For that function I have tests. Then, that function is used inside of JS nativ

Loki parse JSON and filter by field

I'm logging a JSON which is being shown as a detected field log in Grafana: Screenshot of detected fields Now I want to filter the logs by level name, but I can

Gson parse invalid json with a quotation mark

I use Gson in my android project. And I try to parse object like { "field1":"value1", "field2":value2" } It's invalid json. But I'm not getting an exception. I'

Two way communicating with pipes - in the correct order

I have a small program to demonstrate two way communication with pipe between parent and child processes. I already asked a question about this (Two way communi

How to get access token from AWS-Cognito by making rest call using postman?

How to get access token from AWS-Cognito by making rest call using postman?

Pino-tee logs twice on other logs

References: https://github.com/pinojs/pino-tee I have two logs, info.log and error.log but the thing is, when I go to info.log, the log for error.log is there S

Getting #ERROR! Message when combining valid formulas

I am trying to setup a formula in one line that will calculate the proper date that a contract can be cancelled based on the Texas Addendum for Property Subject

to import pyqt5.uic, do I have to install pyqt5-tools first?

to import pyqt5.uic, do I have to install pyqt5-tools first? (venv) PS C:\Users\77140\AppData\Roaming\Anki2\addons21\myaddon> pip freeze | grep PyQt PyQt5-Q

What's the best approach to verify integrity for crypted files on AWS EFS?

Hello i'm working for the first time with AWS EFS, and for security reasons in my organization data will be stored encrypted, but not with AWS standard EFS encr

How Can I convert infix expression containing ++ or -- to a normal infix expression

Basically, I'm trying to get rid of ++ or -- from an infix expression by incrementing the value that's applied to it, but the code gives a weird output. I also

What is the equivalent to Postgres's @@ to_tsquery(:searchQuery) in ElasticSearch?

We've migrated from a postgres database that was using vectors and using @@ to_tsquery(:searchQuery) to perform queries. We are now using ElasticSearch and havi

Prevent scroll bar to go up when click mobile nav

I have a mobile nav and I open it using this code in JS file: var toggleButton = document.querySelector(".toggle-button"); var mobileNav = document.querySel

Error occurs when linking with glfw3 [duplicate]

I've been trying to compile C++ code and dont reliant on IDE recently, and I decided to use an editor and command line to write and compile co

Can't login to ubuntu user even though it is the correct password

Goal: Automate the creation of a user account using a shell script. Script: #!/bin/bash USERNAME="catty" PASSWORD="$USERNAME@123" useradd -m $USERNAME -p $PASS

How to tell the browser to do the javascript manipulated webpage scaling before any content starts to show up?

I am building a website for me and I care about performance, speed, user experience and a lot more. When I started I didn't know much and I made an initial desi

Swagger-ui-express swagger-JsDoc error 😱 Could not render n, see the console. in NodeJS app

I have a NodeJs app using swagger-ui-express swaggerJsDoc. When expand schemas as swagger define encountered error below. What should I do ? Error server.js swa

How to retrieve all rows using Azure Table Storage bindings for Azure Functions

I am using azure table storage bindings as described here https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-table-input?tabs=in-

WebGL with Viewer - Can't use multiple render targets. Falling back to two passes

How it is reproduced: I go to the page where the viewer is used. Let's say, while waiting for it to fully load (it doesn't matter), there is no error in the con

How to tell Git to ignore what has been changed in a file since the last staged/commit?

I do not want to undo the changes. I do not want Git to ignore this file. (Note: a totally hypothetical situation in order to explain the question.) I'm an inex

TypeScript Mapped Type - Convert type properties to instances of type

I am trying to convert an object full of class constructors to a mapped object with properties that are functions that return an instance. For example: // From

What does this mean in angular, what kind of type is this?

I would like to know what this type means: type newtype = (state: EntityState<IEntities>) => IEntities[];