Latest Questions

npm ERR! Missing script, but the script is there when I run "npm run"?

I am trying to run a .bat file that simply echoes 'hello', to learn more about package.json and scripts. I have this: "scripts": { "buildSwaggerFiles": "buil

Parsley + recaptcha v3 promise

I'm not able to get the following code to work: $(function() { function verifyRecaptcha() { return new Promise((resolve, reject) => {

What will be the run time if a function is defined inside a program but is not called in main function?

I am doing all my assignments in a single .c file by writing functions, but now it seems that it affects the run time. Does it mean that if I do not call a func

Android & Firestore - deducting value from an object

General context: The app I'm making manages activities with resources at hand. Once users create cases, the amount of materials each case needs is deducted from

How to handle different JSONs in Golang? [duplicate]

I am a novice developer and faced such a problem, I can receive a json which in some cases has different data, for example Example 1: { "order

flex-box column overflowing parent container

I am having a difficult time getting a flex-box (direction = "column") to wrap rather than overflow a parent container. As seen in the code below (or linked cod

How to run AIC on anova output from different models

This is my small subset of data on which anova is used. dput(c) structure(list(Mouse.ID = c("DO.1307", "DO.1309", "DO.1311", "DO.1312", "DO.1316", "DO.1318", "

How do I hide login view after a condition?

I want to restrict a view after a user login into system. Example: I have a register view. After a user login into system I want to block access to register vie

Xcode 13: How to add library search path for "library not found for"

When building a React Native 0.66 project today (used to be working), there is error complaining about library not found for a module which is located at my-pro

Calling a Sybase stored procedure from another stored procedure without displaying called stored procedure results

I am calling a Sybase stored procedure X from another stored procedure Y. Following the answer to a similar question , I create a #tmp_table to hold the results

Text in spreadsheet formatted using openpyxl not formatted to correct colour in Excel (shows correctly in libreoffice calc)

I have written a python script to format an Excel spreadsheet to be a registration sheet. The problem I am having is that although the resulting excel sheet loo

can i create android and ios applications with flutter without android emulator , with just flutter sdk and vscode and browser

I learned dart and I want to access flutter, but I was surprised by android studio because my computer is weak.so,can i create android and apple applications wi

react merging two components and sorting data by date and time (newest at top oldest and bottom)

I have codes below code removed The problem is it prints rows of expenses and then rows of incomes (i.e posts from expenses are printed first then after them i

RISC-V: Multiplication of two matrices

---update--- I now have kind of a MMA function but the code still doesn't work. And i know that for example: Mul X28, X6(x11), X7(x12) Ld X29, X5

How to add GridLayout with MDCard's to ScrollView Python kivy

The problem is that I don't use kivylang to develop and compose a hierarchical structure of widgets, but how can I add mdcard's to ScrollView if mdcard's has be

AWS recognition SDK causes the gradle to not build in Android Studio

I tried manually adding the "aws-java-sdk-1.12.199.jar" to the library and added the line "implementation files('libs\aws-java-sdk-1.12.199.jar')" into the grad

Setting log file for a cron job with the log file name as date

I am trying to set log file for a cron job and the name of the log file should be date. The cron job is set like this. 55 09 * * * /home/program/my_folder/main.

How to launch exe from PyCharm Terminal?

I'm trying to launch Blender directly from PyCharm Terminal on Windows. I first use cd 'C:\Program Files\Blender Foundation\Blender 3.1\' to get into the direct

Is there any software where we can see the content of a register when writing an assembly language program? [duplicate]

I'm learning assembly language but whenever I want to find an error in my code it becomes difficult.

Chainlink node CRON job. How does it get paid?

these are the docs https://docs.chain.link/docs/jobs/types/cron/ type = "cron" schemaVersion = 1 schedule = "CRON_TZ=UTC * */20 * * * *"

Python Kivy: 'kivy.properties.ObjectProperty' object has no attribute 'text'

I have only been looking into kivy for about 1 week for a school project, so I'm new to this module. I'm trying to do a login form where the program get the use

semi-log scale linear regression [Gnuplot]

I have an experimental data set that I linearize on a semi-log scale and of which I want to run a linear regression. The problem is that when I set a line as a

Jsony newHook has `SIGSEGV: Illegal storage access. (Attempt to read from nil?)` when deserializing into ref-objects

I am writing a web-application and am deserializing via jsony into norm-model-object types. Norm-model-types are always ref objects. Somehow my code which is ve

How to save local values from inside onMounted hook - Vue 3

how do I save assigned values from inside onMounted hook in Vue 3? My intention of saving the width and height values is so that can use to manipulate the value

How to improve speed simulation results with ODE45/23/23s/15s

I want to simulate an ODE system, very fast. I usually use Euler-Method because it's fast, but not the most stable nor accurate. But I want to use a more standa

sqlalchemy return constant dict in select

I am using sqlalchemy with MySql. I need to return a dict in select. Adding that dict value to fetched data is not an option. Is there any way in sqlalchemy or

Share central folder in Onedrive with MS Azure API application

Issue: Cannot create or access a central storage container within OneDrive using App Requirement: Create a central storage directory that is accessible for user

How to set up block chain locally

I have created a app to make transactions of money from one account to other, for that we have created a ledger table in mysql which runs in my local host very

mismatched input 'as'. Expecting: ',', <expression>

My query in PRESTO returns this error Query failed (#20220506_153121_03035_vycq3): line 6:41: mismatched input 'as'. Expecting: ',', I don't know why, anybod

HTML file does not work on web brower, what should I do? [closed]

//My HTML webpage cannot be displayed on browsers. It is just plain text. Please review my codes and see what is wrong. T.T I tried many ways