Latest Questions

C# SQL query with user input

I tried to make software that could be use as a database for libraries so I started to learn SQL I alredy did way to save a book into the database but I am stuc

How can I reduce the following assert statements?

I am struggling to reduce the current assert statements I looked at z3 research and multiple other related research papers with no progress. I need the output t

MUI Datagrid - TypeError: Cannot read properties of undefined (reading 'name')

Im using Material UI's datagrid to show some data in a table, I recently switched over to RTK query from redux for caching and to get rid of the global state ma

Azure Databricks - Write to parquet file using spark.sql with union and subqueries

Issue: I'm trying to write to parquet file using spark.sql, however I encounter issues when having unions or subqueries. I know there's some syntax I can't seem

Copy cells full and append to other page

I have a google sheet connect to a google form. The form is compiled by team leaders with his members and some informations that are reported in a row by google

Link tag in React is not working with devserver-proxy

I'm following this tutorial to make my React app (localhost:3000) communicate with Node server (localhost:5000) .. so instead of typing <Link to='localhost:5

how to get list of product under category in vue js

Hello I'm new to vue and I have a list of json data which has a list of products under category, please how do I get to display a product under each category H

Rails 6 Showing unknown key :on

before_save :balance_status, :on => :update it is throwing "Unknown key: :on. Valid keys are: :if, :unless, :prepend" in Rails-6

How to have my css navbar be proportional to the page

My (epic) navbar gets messed up when the window is to small, how can I have it shrink proportionally to the page? I've tried a few things but it just shrinks th

Convert pine script code to version 4 or 5

I would like to convert this script from version 2 to version 4 or 5 in order to create buy and sell alert messages. Can someone help me with this or explain it

Python continue function wont start the code all over again

I am trying to start the whole code again but it restarts the current loop can someone help? while guessp1 & guessp2 != answer: if guessp1 == answer

Why don't we have to declare static functions the same way we need to declare static variables in c++?

Consider the following struct: struct Toto { static int a; static void Print() { std::cout << a; } }; And the following main functio

SQL Server backup using powershell in Task scheduler

I am using PowerShell to backup a SQL Server database and use Windows task scheduler to schedule the script Test Run the script manually, it works. Both SQL Ser

Cannot download file when using Chrome on an iOS device

I am working on an Angular application which connects with a Web Api to download files as a Blob. The files get downloaded fine on all mobile devices with the e

Unable to close or drag BottomSheet/TopSheet when AppBarLayout pushes RecyclerView below the peek height

I am unable to close or drag the TopSheet/BottomSheet when the AppBarLayout is expanded. After analyzing it, I realized that it can be dragged if I pulled it fr

Can associative entities be inherited?

Suppose in the ER diagram there is an associative entity named makes call which connects the entities External entity and Internal entity. Is it possible for th

WSO2 - Unable to deploy synapse import:{org.wso2.carbon.connector}XXX. Required library not found

I get this error when I try to use external connector on wso2 studio 7: Unable to deploy synapse import:{org.wso2.carbon.connector}XXX. Required library not fou

Set a new field based on calculations in MongoDB update statement

I use the attribute pattern approach in my collection: [ { _id: "id1", _cells: [ { k: "key1", v: "value1" }, { k: "key2", v: "value2" },

Import Error: cannot import name 'BatchNormalization' from 'keras.layers.normalization'

I am getting the following error message when trying to run this AlexNET python code. Traceback (most recent call last): File "C:\Users\PycharmProjects\Local-

find files with similar ID from different folder

I have two folder A and B. in each folder I have text files containing participant IDs starting from 100. some files can be present in both folders. i want to c

How do obtain max and mean values from different columns with a Date column condition in R?

I am trying to get the daily mean and maximum values for each pollutant. For each of the monitoring stations, the daily mean and maximum values of each pollutan

AttributeError: 'tuple' object has no attribute 'read' music21 .show()

i have been trying to show a score converted from krn file import music21 as m import os test_data = "D:/Programming/DATA - SCIENCE/deep learning/music gener

how to create a employee multiple Experince in django

How to Create Multiple Experinces in Django This is Model.py Files code from django.db import models # Create your models here. class Detail(models.Model):

the function display_html not working in Jupyter Lab

This "R code" works fine in Jupyter but not in lab: library(IRdisplay) display_html( ' <script> code_show=true; function code_toggle() { if (code_s

Unable to send acknowledgemnt properly in TCP connection (C#)

I have a client server model. 192.168.77.6 is the client (my code). 192.168.77.18 is a server device. I am sending a request to the server for a response. Once

How do I import an ES6 JavaScript module in my VS Code extension written in TypeScript?

I am developing a VS Code extension in TypeScript and I am trying to import a JavaScript library from npm that is packaged with "type": "module", in its package

how to read a csv file edited from excel in python?

Hi I tried loading the csv file that has been edited and saved as csv comma delimited. However it's not loading right. I used the normal pd_read_csv like so. df

Find booking Id between 2 dates SQL (Postgresql)

I have table booking with below records. event_type | from_date | to_date -------------+---------------------+--------------------- party

getting springboot to support groovy 4.0 (apache packaging) | needed 3.0.0-M2 and more

spring-boot > 2.3.1 will grab groovy-bom from codehaus instead of org.apache.groovy packaging, even if you declare org.apache.groovy dependendices I found th

Add the same value in multiple cells when parsing data to a spreadsheet with openpyxl

Can I add the same value in two cells at the same line of code I want to put "Run No." in the cell ["A1"] and ["B1"]. I could do this sheet["A1"] = "Run No." s