Latest Questions

Scully prerender - Cannot GET dynamic route

I'm using scully for prerendering bunch of routes, and I skip routes for /board/:boardId: routes: { "/board": { type: 'ignored' }

Can you make complete apps using Flutter & Dart or just the UI part of an app?

I'm confused about what Flutter framework actually does, I know that it uses Dart and have heard that both of them can be used to create cross-platform apps. Bu

Why does a Flow which return records from Room keep to emit data when I add onStart { }? Is it bugs of Room or Compose?

I query records and return them as Flow<List<RecordEntity>> with Room. I run code A, and get result A as I expected. I hope to display a Loading UI

Parsing rvest output from an unstructured infobox

I am attempted to extract data from a wiki fandom website using the rvest package in R. However, I am running into several issues because the infobox is not str

Why is the package size of NPM run bulid inconsistent with the website (React)

I use NPM run bulid to package the website, and the console displays chunk JS is 1.04MB in size, but when I open ifinder locally, the file size is 3.8m. Why? [p

Event Hub Get Status with REST API - 401 Unauthorized

I am attempting to use the REST API to get the Status of my event hub but it is returning "401 Claim is empty or token is invalid". Using the C# example here: h

Images with Firebase and Python Flask API

I am currently developing an API using Firebase from google and Python's Flask libraries. It is a proyect where I am in need of saving images to the DB and then

Is it okay to use an onPressed function in a ChangeNotifier child class

I am using provider for state management, and I've given onTap a value in a function in the ChangeNotifier child class but my app is unresponsive, I mean, when

How can i create a google sheet inside a google drive folder

how to create a google sheet and placing it in a specific google drive folder? file_metadata = { 'name': 'Invoices', 'mimeType': 'application/vnd.google

python list ofwords.the program outputsthosewords&theirfrequencies.Ex:if the input is:hey hi Mark hi mark the output is: hey 1 hi 2 Mark 2 hi 2 mark 2

I thought I could use this code: wordInput = input() myList = wordInput.split(" ") for i in myList: print(i,myList.count(i)) but its output is: hey 1 Hi

Google Places API returns "Unsupported field name 'address_component'"

I'm using the Google Places API to find the address details of a small village in India, following this documentation from Google. My https request looks as fol

How do the dependency paths work in Java .classpath file?

In the Java .classpath file, I see a lot of dependency paths, something like this: <classpathentry kind="lib" path="/a/b/c/d/library.jar"/> Are these pat

Permission denied for relation stl_load_errors on Redshift Serverless

I use Amazon Redshift Serverless and Query editor(v2) and I'm having trouble with user permissions. The following error occurred when importing data(.csv) in S3

QuestPDF: Changing max number of pages

I'm migrating an existing report from iText to QuestPDF, and I am new to both of the packages. I'm not finding much help online for questions about QuestPDF in

How to keep the background of a tab staying in the "selected" color, for a tab linking to a post in Blogger?

In Blogger, there are 2 types of content: posts pages And we can add both post(s) and page(s) to the tabs. If a tab links to a page, then after being clicked, t

How to import JS files with esbuild & jsbundling-rails

I'm moving a Rails 6 app from webpack & webpacker to esbuild & jsbundling-rails I can't find any documentation on the correct way to import custom js fi

"Core Dump" analogue for Python scripts?

Say, my script runs on server and has failed at some moment of time. Except for the error messages in the logs - I would like to have some image file on server

What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it?

What does ArrayIndexOutOfBoundsException mean and how do I get rid of it? Here is a code sample that triggers the exception: String[] names = { "tom", "bob",

Array Processing Employee Records output not correct C++

I have an array processing assignment based on C++ by which the records of each employee presented in a given text file should be calculated and printed as Hour

An argument of 'series string' type was used but a 'simple string' is expected when comparing close and vwap

When trying this code: strategy.risk.allow_entry_in(close > ta.vwap(hlc3) ? strategy.direction.long : strategy.direction.short) I get this error: An argume

how do you convert a list into a int in python in one/two lines?

If you want to convert a list into a int You could use x = "" the_list = [5,7,8,6] for integer in the_list: x+=str(integer) ans = int(x) #output 5786 is

how to get weeklytotal and yesterday record in mysql in one table

Hi Everyone i am trying to implement query to get weekly and yesterday data in same table, dummy output i have shared below, if yesterday not exist as per emplo

No P element but an end tag seen

I am new to programming, just started with HTML recently, and as I was trying to create a sample website and checking it on validator.w3c it gave me the above e

"Declare" loop creates output for only one of the variables

I have written a script to create a loop for a software I'm running: #!/bin/bash declare -a pops=("pop1" "pop2" "pop3") for target in "${pops[@]}"; do while I

Error trying to create a database: sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file

I'm trying to create a database using Flask and Sqlite3, I am not sure this error is about the file path, as you can see in my code I have tried out different w

Every object's attribute update when I just want one

When making objects of a certain class, I give them a matrix as an attribute and store these objects in a different class, however when I change this matrix for

"Highest value offset for a given number of bars back" meaning?

I'm new to Pine script, please, anyone explain me exactly what this high[abs(highestbars(amplitude))] statement returns, specially in highestbars(2) definition

Define a function signature containing a reference with C++20 Concepts

I am trying to use C++20 Concepts to constrain an interface. In this interface, I want a function signature to only use references. For some reason, I can't do

Can anyone explain the working of jsonld.compact() ? Wasn't able to find detailed documentation or examples for the compact() method

def process_all_imdb(cursor, imdb): for i, mid in enumerate(get_movies_to_process(cursor)): print "// %d movies processed." % i movie = get_