text string | meta dict |
|---|---|
Q: r long to wide and covariance matrix This is my dataset,
df1 <- "ID t res
1 1 -1.5
1 2 -1.5
1 3 0.5
1 4 0.5
2 1 -0.5
2 2 -0.5
2 3 -2.0
2 4 -1.5
2 5 1.5"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: (Java) String color doesn't turn back into white? class Main {
public static final String reset="\u001B[0m";
public static final String red="\u001B[31m";
public static final String white="\u001B[37m";
public static void main(String[] args) {
System.out.println("A");
System.out.println(red+"A"+reset);... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Microsoft Graph Java SDK ClassNotFoundException Here is my build.gradle
dependencies {
implementation 'com.azure:azure-identity:1.7.1'
implementation 'com.microsoft.graph:microsoft-graph:5.42.0'
}
Here is my code (actual values are replaced with "...")
final ClientSecretCredential credential = new ClientSec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: On click & during navigate, the viewCount values is still `0` On click & during navigate, the viewCount values is still 0, how can we handle the increment in this case. So that I can pass the viewCount to server side.
const [viewsCount, setViewsCount] = useState(0);
const getClickCount = (id) =>{
console.log... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I draw a stroke with UIBezierPath? I tried a lot off things, but not working properly.
when i draw a bezierpath in CoreGraphics
I draw line and Shape, but I try to draw Strock lick this image
but bezierpath layer masking not working
I am using Apple recommended project but this project is not filling my need... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Wemos D1 Mini 8266 dynamic RAM usage First time posting...
I normally program using the ATMEGA 328P but have recently started using the D1 Mini ESP8266. I have written what I consider a fairly simple program. I use PlatformIO in VSCode for the IDE.
My concern is the amount of static RAM that the program is using.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I implement a Vector with const correctness that forbids a normal iterator of such Vector to change the value at the address of the iterator Background:
I am writing my own vector.h for fun (please don't judge). I am trying to remain const correct so I have implemented both a const .begin() function and non c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can a list be made to drop down on a hover with just HTML and CSS? I'd like to make this form's select list automatically drop down on a hover, just like the menu for the "Layout..." button automatically drops down, using only HTML and CSS. I've tried copying the button's CSS tricks to the option list without succ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to wait for socket communication in discord.py @tree.command(name = "test" , description = 'socket')
async def bot_command(interaction, var : str):
msg = {"platform":"discord"}
msg['command'] = "test"
msg['var'] =var
await interaction.response.send_message(sendsocket(msg)[0:2000])
Usually the ab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My code is showing an error "Check the render method of `Products`". How can I do to fix that? I run the dev but in console, there's an error saying "Check the render method of Products". This is my App.
App.jsx
I want Products to be shown but it doesn't appear. This is my Products.
Product.jsx
A: your syntax is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to remove horizontal scroll bar in SweetAlert2's popup? I have the following html with a SweetAlert2 date picker popup:
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Buildnumber maven plugin generating "null object or invalid expression" instead of a version number I was trying to use the buildnumber maven plugin to automatically generate project version based on the Git commits/pushes. After I configure the buildnumber plugin and the maven release plugin no matter how much I co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Parse Sequence to Create Batch NDShape I am using CNTK 2.7, and I am trying to create a batch of Inputs:
Value.Create<double>(NDShape.CreateNDShape(new[] { 5 }), Ins, new[] { false }, DeviceDescriptor.CPUDevice, true);
My Input Array:
Output: Matrix: 5 x 6
<0, -0.706874154584897, -0.768999702839999, 0.9378744517448... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prisma query for returning a better response in Nest Js Backend:
const specificStudentAssignments =
await this.prisma.classesToStudents.findMany({
where: {
studentId: +studentId,
classStatus: 'completed',
},
select: {
classes: {
select: {
projects: {
incl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't get urls after upload files to firebase i have small app that upload images to firebase and get urls to display them. When i upload single image it work well. but when i tried upload multiple images it not work as i thought. It alway return emty array, i want somthing like [url1,url2,...]. Here my code:
fireba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570241",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Change number to time format I am creating a template to track the start and end time of the assigned task, where the ":" has to be insert between the hour and min whenever the time is written.
My question is how can I change the inserted number to time format automatically in the same cell without writing the ":".
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Access guild with createGuild() I want to make a function that makes the bot create a guild and send me the invite link, if I type !makeserver. However, guild.getSystemChannel() does not work in the callback. My JDA version is 4.4.0_352.
if (message[0].equalsIgnoreCase("!makeserver")) {
if (message.lengt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix the Error java_home not found in streamlit cloud deployment? when I run the streamlit app on local machine its working fine but when I try to deploye my app on streamlit cloud its give me error as JAVA_HOME is not set
I also pasted the Image of Error below
Error is highlighted
I added the all pip installe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Fibonacci in python receiving syntax error I'm trying to run this fibonacci.py to get a row of numbers until 10 using dp method with this command python fibonacci.py 10 dp all
@lru_cache(maxsize=None)
def fib_dp(n: int) -> int:
"""
Solves the fibonacci series using simple recursion and built
in memoizati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: After the spring security custom filter, the url is changed to/error In the springsecurity framework, I customized a JWT filter. The filter code is as follows
enter image description here
enter image description here
Then I make a request. The request url is
http://localhost:8089/oauth/authorize?client_id=client&res... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to check many to many relation in Laravel I have a problem in checking if there is a conversation with the same members or not.
I have the conversations (id, user_creator_id) and conversation_user (conversation_id, user_id) table.
I have this model:
class Conversation extends Model
{
public function Conversa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Group duplicated names listed in CSV file and display the total number of each group in seperate Div using d3.js I have a CSV file with a column containing duplicated names (strings). I like to group all the aliked/duplicate names, count them/add them and place their total in a div; ie., Div Base 1: 20, Div Base 2:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does kevent do round robin among ready file descriptors like epoll when nevents is smaller than the number of ready file descriptors? In the epoll_wait man page, we see the following in Notes:
If more than maxevents file descriptors are ready when
epoll_wait() is called, then successive epoll_wait() calls will
roun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VPS Database and MAUI how to use? I can not imagine how can I use database located in VPS due to .NET MAUI?
Should I try to download the database to Mobile each time I want to get some data and then implement operations with them?
Or I need to create a kind of link to my VSP database and operate with data in the VPS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Inserting every records of Spark Dataframe to the Oracle table which is not Exist I have a Pyspark Program. At the end of it, I must insert the Spark Dataframe to the Oracle table and be sure that records are inserted when they are not exist. I have already define primary key on the table; but sometimes it does not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find List in a string field in an IQueryable in EF with C#? I'm using .Net 6 and EF Core 6.
Suppose that I have an entity which is included a string property and I have a dynamic list of string variables which I want to use LINQ to find out which records of my table specific column included at least one of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Getting an error during webpack build while using CSS modules Error
1 | // extracted by mini-css-extract-plugin
2 | export default {"lala":"hQupzgS9tEJmjp6wWbAk"};
(lala is classname)
CSS modules is working fine and changes are reflecting during development but build is failing.
I tried updating packages.
"workbox... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Type 'Null' is not a subtype of type 'File' problem I made a form to add an image and its information in a ListView.builder(), this is the image screenshot and code:
class _AddNewProductState extends State<AddNewProduct> {
String? dropdownValue = 'Fruits';
String? productName;
int? productPrice;
Future<voi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# Setting each character in a string to an asterisk (*) if a user has selected "Hidden" function learning C# at the moment. Just wondering if it's possible to set all the characters in a string to an asterisk symbol if a user has selected to hide the visibility of a password. Here is what I have so far:
private str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java Error: Could not find or load main class NewLinkedStack What is wrong with my class name and how can this be fixed?
File Path
Error: Could not find or load main class
Error: Could not find or load main class NewLinkedStack
Caused by: java.lang.ClassNotFoundException: NewLinkedStack
Start of NewLinkedStack.java
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Unable to use my Multiple product slides on Homepage in Django I am attempting to display two product slides on the homepage of my website built with the Django framework. Upon reloading the page, I am able to view both slides, however, I am encountering an issue where I am unable to see all the buttons to control b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Webkit styles not applying to MUI Drawer I'm overriding the drawer styles in the MUI theme:
MuiDrawer: {
styleOverrides: {
root: {
width: `${DRAWER_WIDTH}px`,
},
paper: {
width: `${DRAWER_WIDTH}px`,
boxSizing: 'border-box',
'&::-webkit-scrollb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Troubleshooting Class Not Found Error with GroupDocs-Conversion Library in Spring Boot and Maven Project What could be causing the java.lang.ClassNotFoundException error but only running as a jar file and not running with built-in IDE run function. when attempting to run a Spring Boot and Maven project with the grou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cd does not work with a variabe that has a variable which has a path A minimal example of my problem is
$ dir='$HOME'
$ cd "$dir" # Not what I want
bash: cd: $HOME: No such file or directory
$ cd $HOME # Works
This is used in another script, where $HOME is output from sed. So I cannot just change dir to "$HOME"
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Use google drive api with API token string only I am trying to authenticate and download files from google drive using only the API key as credentials. I have tried a lot and searched google and every where else but could not find a way to do it. I know I can use service account IAM admin or Oauth consent but I have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Algorithm to convert binary big integer to scientific notation with truncation to a 1-digit mantissa I have a very big unsigned binary big integer in the scale of 6*10^120.
Assume the big integer is stored in a struct of many QWORD (8 bytes) unsigned integers or several YMM registers.
I want to display it in decimal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get rid of this stupid thing on vscode There's a block that gets rid of the text and replaces it with the thing I typed I just want the normal text editor how do I fixed this.
A: Please press the Insert key again.
Wikipedia: Insert key
The Insert key Insert (often abbreviated Ins) is a key commonly found ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to download Ionic sqlite database from an iPad I want to set a copy of the Ionic SQLite db from a iPad for diagnostic purposes. I have been following the answer that starts with "Instructions for Xcode 6.0.1" from this post
I have downloaded loaded the app container, but I see no SQLite db under AppData/Document... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix - KeyError: "None of [Int64Index([131, 197 \n ...\n dtype='int64', length=240)] are in the [columns]" I'm trying to do a test/train split I keep getting this error when I try to shuffle the index in my dataset.
from sklearn.linear_model import LinearRegression
import pandas as pd
import numpy as np
impor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to fix response error 500 in java request? I am using eclipse europa, servlet 2.5, java 1.5 and apache tomcat 6.0 to build an web application. I am using these oldest versions because client want these platforms. The application is very big in size. When I am running it in localhost it working perfectly, infact ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can i show partial view with tuple? I'm using a partial view in my program. How can i assign this partial to a value tuple and passing to my views in asp.net mvc 5?
this is my code but doesn't work
my controller
var op = checkBook.DeleteCheckDetail(detailToken, param.CheckBookToken);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TypeError: 'bool' object is not iterable using itertuples I am trying to iterate through the rows of a CSV file where I saved a list of my followers, with the data associated to the subscribing event and a flag that specifies if I already unsubscribed from the specific follower.
Here is an example of the file:
List ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Flutter - Exception caught by rendering library
The following assertion was thrown during performLayout():
'package:flutter/src/rendering/shifted_box.dart': Failed assertion:
line 352 pos 12: 'child!.hasSize': is not true.
Either the assertion indicates an error in the framework itself, or we should provide subst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: 15 TB data ingestion from S3 to DynamoDB I have to ingest 15 TB of data from S3 to DynamoDB. There isn't any transformation required except that for adding a new column (insert date).
The data in S3 is in parquet format with snappy compression. The data in S3 has a different partition key but the DynamoDB table has ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Visual Studio debugger memory search not working When I try to debug my program, I want to look at the memory where its stored, but when I search for it, theres nothing stored.
Example:
aVar byte 23d
When I debug and search through the memory 1 window, I would type &aVar. I'd assume it'd take me to its memory locat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make javascript prompt form required I made a password verification field in js, but it doesn't work correctly and you can just skip it, and it will say that you entered correct password:
function checkPasOne(password) {
let enteredpas = prompt('Enter password:', '')
if (enteredpas == 673577) { alert('Corre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MySql Insert Operation Failing I am demostrating Java Servlet - MySql Application.
following is my ApplicationDAO method
public int registerUser(User user) {
int rowsAffected = 0;
try {
Connection connection = DBConnection.getConnectionToDatabase();
String insertQuery =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570308",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In /etc/falco i can't see falco_rules.yaml In /etc/falco i can only see falco_rules.yaml . I can't see falco_rules.local.yaml or rules.d directory. I am installing through official helm chart
How to load local falco rule file with own set of rules ??
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75570310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PyTorch Multiprocessing Not running properly on Ubuntu Below is the code that runs properly locally on my machine (Windows Laptop). The code however stops running when on my Ubuntu terminal (using this to test on another more powerful server run on Ubuntu). It seems to just stop running at some point. The main funct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to turn on autoformat pasted strings in DataGrip? Previously, I inserted lines containing \n into the editor, and the following content was automatically wrapped to a new query line. After new installation it's not working, so hundreds of saved sql requests are hard to work with.
inserting
select * \n from sm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best practice to search for a list of subset holders that holds a subset of a complete set? What is the best practice to search a list of stores that holds a subset of goods of a library of goods?
Here is the scenario:
*
*a library of goods has (0 to totalAmountofGoods), each store can hold a subset of the library... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My application working on home page but when I am try to load another path it gives me error 404 not found
const HtmlWebpackPlugin = require('html-webpack-plugin');
const path = require('path');
module.exports = {
entry: './index.js',
mode: 'development',
output: {
path: path.resolve(__dirname... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Dark Mode Flutter with shared preferences and provider I want to implement dark/light mode from settings page where a toggle switch is used, everything works good except when I select light mode and restart the app then the app reverts backs to dark mode. What am I doing wrong?
Main.dart
return MultiProvider(
prov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can i unit test a higher order class component with auth0 implemented i implemented a class component and used the following method to add the auth0 property.
https://auth0.com/docs/libraries/auth0-react#use-with-a-class-component
i did it like this as i needed to get the auth0 access token
now i get the followi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am using Filament PHP and Laravel 9. There is no problem in local server but shows multiple livewire detected in the production server I tried different node js and npm version. Tried composer update/install, npm install/update, npm run dev/buildm and even tried uploading zip file of the project which is running f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Edit Json file inside a foreach A pleasure, I have a query to do how to edit a data from my database that is json as it is in the image
This would be my json data that I want to edit [{"id":90641,"component_id":"8","sub_component":"15","servicios":"1085","quantity":1,"cost ":"18644.27"},{"id":85879,"component_id":"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SwiftUI ProgressView in List can only be displayed once I am working on a feature which takes a few seconds. So I want to display a ProgressView when my logic is in progress.
Not sure if this is a bug in SwiftUI, but in the following code, when I click the button the second time, the progress view does not show up a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: does flexible sync only used for get request like getting data from the server database but not inserting data from the client end application i am trying to insert the data at atlas in mongoDB using flexible device sync but there is nothing which i can find on the internet to resolve my issue. Ex: in my android app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mvvm & Architecture of MAUI/Xamarin application I have a feeling that I am making a logical mistake somewhere.
In MAUI I have:
*
*Page A with AViewModel binded
*Page B with BViewModel binded
The pages are generic that is, they are used in different parts of the program. They display something, or handle some ext... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570325",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mocking a httpClientProvider failing with TypeError: is not a constructor Hi I am trying to write a test for the above code using mock-require.
const requiredService = require('./lib/requiredService');
const requiredServiceClient = requiredService.makeServiceClient({
httpClientProvider: new requiredService.Cli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Skewness elimination before or after Data Encoding? We perform "Log" or "Square-root transformation" for eliminating the skewness in our data. So should we perform it before applying "One Hot Encoding" or "Frequency Encoding" or can we apply it after data encoding?
So I actually have done one hot and frequency encod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do the two codes have different execution time in Python? I was solving a problem on an online judge website and I saw something strange.
When I submit the first code, I got a time-out error with an execution time of about 6000ms.
However, when I submit the second code, I got correct with an execution time of ab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why Instagram Embedded video shows "Play on Instagram" in my webpage? I have a website in which I am trying to show Instagram reels. For this I am using 'Embed' option of Instagram.
I am copying the embed code from Instagram and pasting in my html.
In my website some Instagram Videos play within web page. See screen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Algorithm to create a volunteer roster based on each person's availability I'm working with a group of volunteers, and we're trying to make a roster for taking care of cats in the area.
We have 21 time slots per week (3 per day), and we polled the volunteers to find out which time slots they are available. Currently... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Prefix Sequence in Odoo 10 How do you solve the prefix problem in odoo where if you edit the prefix it only applies to one record
ex
initial prefix : DD
edited to
prefix : DD %(year)s
record 1 : sequence = DD2023
but for next record
records 2,3,4
sequences = DD
reset back
Is this an incorrect code? or application se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot connect custom api payment gateway in opencart version 4.1.1 I'm trying to integrate custom Api for Payment in Open cart
How can it be possible because the bank only provides the API integration method not the Plugin for Open cart
any solution or links which can help me out.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75570341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get problem when deserialize JSON with GetFromJsonAsync I want to deserialize JSON objects by using GetFromJsonAsync in C#. Easily, values are extracted from JSON, but the problem is sub object values are not being extracted.
For testing, I'm using Open Meteo API.
(example API link: https://api.open-meteo.com/v1/for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can a statically linked Linux lib be converted to COFF and be linked by MinGW, to run on a Linux system? There is a windows application that I have the source to. It compiles under MinGW, links fine against wine, and executes, on a Linux system.
However, I would like it to call into a Linux library.
Since the Linux ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Swift ImageView's top Constraints looks wrong and covered its superView? I want to achieve a "show more" effect in my view. The desired effect is as follows(sorry for my poor painting), the view's height is set to a specific value at first(such as 304), and when I click the "check more" button, the view's height wil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Field productoRepository required a bean of type 'com.mishop.main.repository.ProductoRepository' i'm trying to connect to a database and when I declare my repository with autowired it gives me a bean not found error.
The interface is in a subdirectory of spring's main class so I'm intrigued by the reason for the err... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: is it possible to restrict access to specific rest API resource exept for some IP addresses in WSO2 API manager(3.2.0)? for example I have a rest API called pizzadellivery and a resource called get prices and also set an endpoint and also set no Security, Rate Limiting & Scopes.is it possible to restrict access(call... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I design an input method program for Windows? I need to make a program for Windows that will have full control over typing (as part of it I am going to implement a certain layout for typing in Chinese). So basically this program should be able to understand that we are now in a typing field in some Windows ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Checking time complexity of a program I'm a beginner and I want to know how to check time complexity of a program in Python.
For example, time complexity of this code:
def PrefixCount(words, pref):
counter = 0
for w in words:
if w.startswith(pref):
counter += 1
return counter
I searc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring boot: cannot access API on localhost (404 Not Found) when using spring boot 3.0.3 I used Spring initializr at https://start.spring.io/ to create a simple project in Spring 3.0.3 to test API, but when I use postman to test my API, I got 404 not found error:
{
"timestamp": "2023-02-26T06:17:26.114+00:00",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: URL appendPathComponent(_:) deprecated? The official doc says it's deprecated: https://developer.apple.com/documentation/foundation/url/1780397-appendpathcomponent
What's the replacement?
A: The replacement is append(path:directoryHint:).
If you use Xcode's code completion you can see this clearly. Type something ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Difference between initializing a function pointer in Rust using method, associated function and a free function This question is following up from this SO question.
As a novice in Rust, I am trying to understand the way a function pointer (fn) is initialized. Here's an abridged and much simpler description of the a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I prevent an expanding menu from rearranging/moving items in a navbar? I've got a responsive navbar with a hamburger menu icon on the left, a brand icon in the center and theme button on the right. When the viewport is large enough, the hamburger menu disappears, the navigation items are displayed in the mid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WordPress redirecs the page to wp-content/post.php after changing font So here's a weird problem I am experiencing for the first time: I am working on a page, I have selected a new font family and clicked Publish to see how it looks. when I click publish, it redirects to wp-content/post.php and does not save the cha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error occurred during initialization of boot layer java.lang.module.FindException: Module processed.jtoml not found using Selenium Java I am facing an error when executing basic Selenium Java program.
Code trials:
package vanakam;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Netlify Error 500 when sending a DELETE method from deployed site Just for context. I use Remix.js to develop my site. Currently everything in the development server works, the problem that I am running into is in my deployed website every time a send a "DELETE" method an error 500 with this error stack : "Error: Un... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Encountered a SQL72014 error when I tried to restore the database backup Using SSMS, I have created a .bacpac file and encountered errors SQL72014 and SQL2045 when trying to restore the database:
Failed to import package.
Error SQL72014: Framework Microsoft SqlClient Data Provider:
Msg 128, Level 17, State 1, Proce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need to store Cart Item in Django I have to store
CartItem: {"title": "bread", "price": "100.0"}
in Django REST framework.
App name: BackendDjangoApp
But I am getting error:
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: BackendDjangoApp_cartitem
[26/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Testing Java enhanced for loop with Mockito for code coverage I am trying to test enhanced for loop for code coverage but in vain. I have tried various methods but none is able to pass the for loop for code coverage. I have failed. Need some help / advise.
Below is the code snippet
Page<Blob> folderList = storage.li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert Matlab simulation code to R I have been trying to to covert my following Matlabe code to R. I have tried but getting some errors.
Matlab code
S =100;K = 110; r = 0.05; sigma = 0.142470; dt = 1/365;
etime = 365;
T = dt*etime; mean=0;var=1;
a=dt*(r-(.5*(sigma^2)));b=sqrt(dt)*sigma; lmax=1000;
temp=0;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Google Cloud Vision returns incorrect end-time for MP4 I encountered an issue with Cloud Vision when using object detection on MP4 videos.
When processing MP4 videos that were recorded on iPhone (Safari) with ~5 fps, the endTimeOffset is incorrectly computed. In addition, the time-offset of detected objects is incor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I have a dataframe in which one column has categories Total, Urban and Rural. I want to create a new column with these categories DataFrame
I have to change the table in the following form
OUTPUT FORM
ExpectedOutput
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75570381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to display minutes with 15mins interval In this case, I would like to change the time interval to every 15min, like 1:00,1:15,1:30,1:45 in the right hand side selection part. which will display 00,15,30,45 only instead of 30,31,32 like shown in the photo.
The step="900" attribute does not work since it only con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R replacing values from one dataframe with values from another with multiple instances I'm trying to replace values in my main dataframe with values from another dataframe. This is a mock up of the problem:
MAIN DF
index=c(1:10)
SKU = c('I-1','I-9','I-4','I-1','I-6','I-9','I-2','I-3','I-8','I-9')
COST=c(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I want to use flutter to display algolia results in a listview, but nothing is displayed I'm new to flutter and I'm building a program that puts text in Textfield and searches for it in algolia.
It works fine up to the point where I enter text and algolia processes it, but it doesn't return any results and nothing i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: match exact word not with any suffix or prefix I need to select color name within property block i.e. within curly braces { and using below regex
'\\b(red|black)\\b';
const rgx = '\\b(red|black)\\b';
const rex = new RegExp(rgx, 'igmd');
const text = `
body {
padding: 2px;
color: red;
}
.red {
color:blac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I'm trying to make the alert shows when the submit button was click and after the number have been set. This is for assignment How the assignment ask me to do is to when I input the numbers using the input type "numbers" and then submit it, the numbers that was submitted should be the value to determine which alert ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to import modules from multi-level package hierarchy?
I am trying to understand, how import works in python. But unfortunately I am unable to import.
Attached picture describes folder structure.
cd application/main/folder1/sub_folder1
python sub_folder1.py
from sub_folder1.py , I am trying to import first
When... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Blazor WASM ASP.Core .NET 5 Hosted: Http.ReadFromJsonAsync: "The JSON value could not be converted to System.String." I am using a Blazor WASM Project with Hosted ASP.NET Core 5 WebAPI. When I try to deserialize the return of a method it bring this error.
I have this ApiController that receive my Post
public ActionR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GetX state management cannot update value on SliverPersistentHeader I face some issues with Getx state management, when I wrap CustomScrollView on SliverPersistentHeader then I implement list view on it then I make some even on the list but it is not updated.
Here is my controller:
class SFController extends GetxCon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to change the Meta Title of a Category Archive into a custom ACF field? In WooCommerce:
The meta title for archive categories is to be changed to a a custom ACF field. I have added the field in the back end to the category admin pages and I am able to save the custom field.
I use elementor.
I am unable to change... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AttributeError: module 'openai' has no attribute 'Embedding' According to OpenAi's documentation and a large number of demonstrations I found online, the following code should run without a problem in Python:
import openai
response = openai.Embedding.create(
input="porcine pals say",
model="text-embedding-ada-00... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apple sign-in invalid_client Im developing a web application with apple sign-in and Im getting invalid_client error.
the error
my apple js button
<script type="text/javascript" src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js"></script>
<div id="appleid-signin" data-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PIP INSTALL FLASK command is showing already exists in folder, Even I didn't install flask in this environment(New Folder) I have installed flask and a virtual environment using the commands for a project in my C drive. And later for another Flask project created a new folder in A drive and Installed Virtualenv. The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How the errors of each epoch must look like in machine learning? This is the first model I created in PyTorch and I'm new to this field. I ran the model for a few epochs and this is the output of errors for each epoch for two runs of the algorithm.
I also tried 100 epochs, and this is the result
The iterations de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: create new object which another array which is sorted The first element of an array is 70 and second element is 60, I make new object with these elements in a loop. but the out put new object start with 60 then 70, I want it in 70 then 60
sorting_level = [70, 60];
new_array = {};
jQuery.each(sorting_level, function(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75570419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |