text string | meta dict |
|---|---|
Q: Code Blocks: build error: 'can't create output directory \\bin\debug' Edit: Hi there, the solution to this problem was that I put spaces in the title. Rookie mistake XD.
I'm new at C++ just trying to run a 'Hello World'.
When I try to run my project, it asks me if I want to build the project as it hasn't been built ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How i can pass more values in toString method for example 1 time should be SS and oder WS ( no required condition)? i need to pass 2 different values in toString method but i dont know how to make it
it s just like 2 sentences with 2 different words in the end.it must be toString method used .Any idead?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75568335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Redirect unauthorized user to another page component In Blazor WASM project I'm using ASP.NET Identity, I want to redirect unauthorized user that do not have the role that allow him access to some pages, I protect the page using:
@attribute [Authorize(Roles = "Admin")]
It works, Now when the user try to access to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Common library path when using liberty maven plugin I'm trying to use the open liberty maven plugin. My app has a set of common jars that I define as listed below in the server.xml file. To use the liberty maven plugin I can't use the <application> element (AFAIK) . Can I config a shared library path another way u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Local JavaScript Refused to execute script on several Flask Applications Suddenly I have several apps that I have been either maintaining or in the middle of developing. They run off of Flask and are deployed to Azure. Just the other day, all the apps started to produce the same overall issue from the console in Chr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: EEG signal event sipliting I am trying to write a code in matlab that iterate throw 109 folder and each folder has .edf files inside it I am trying to process into all these .edf files base on their names which named enumerated and then store all the events that splited in the variable S and the labels of the events... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Next JS 13 app directory fast refresh on dev localhost does not work as intended NextJS documentation (https://nextjs.org/docs/basic-features/fast-refresh) states:
Fast Refresh is enabled by default in all Next.js applications on 9.4 or newer. With Next.js Fast Refresh enabled, most edits should be visible within a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Get real-time progress updates from a Python script in R I would like to get real-time progress updates from a Python script running in the background.
Python script
from time import sleep
for i in range(10):
print(f'file{i}.txt')
sleep(1)
print('done')
I thought I could use a pipe connection but it appears... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Swap items both in an array an a struct Vector using bubble sort algorithm I have a vector representing position of items in a database
Vector *vec_date_present (which is ordered) as well as an array of double vec_dates_time and I want to sort vec_dates_time with the bubble sort algorithm while preserving the corres... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: rgb2hed not giving the same answer when applied to a full or part matrix I have an image in rgb format that is loaded into a 3D numpy array. I would like to convert this image from RGB to HED using the rgb2hed function from skimage.color.
import numpy as np
from skimage.color import rgb2hed
np.random.seed(42)
img = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: readline only print half of the results in a csv file As titled, I have a csv file with 6 columns. For NLP processing I need to extract the 6th column(which is a review comment column) and transform it to a list of list of words using NLP.The code below is given by the instructor:
def read_twitter(fname):
""" Re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hadoop throws Java Null pointer exception on simple word count example I'm trying to run a simple word count example in python using hadoop.
I'm trying to run a simple word count example. I have setup hadoop using the below tutorial link and hadoop is throwing the exception. I'm not able to understand where and why ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Universal Access to Database Connection Pool in Rust Web Application I am writing a web application in Rust and I'm trying to find a way to provide universal access of the database connection pool to all services in my database module without requiring passing a reference to every function in the module. In other l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting database data to display from LiveData> and view model to a ListView UI component I have created an application that stores grade data database information in Android Studio. It uses LiveData to return a list of all of the grades stored in the database. A view model is used to update a list view component of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regras do CSS no SASS Gostaria de utilizar esse código em SASS
Não sei como utilizar o seguinte código na SASS.
Quero fazer essas ligações no SASS
Exemplo:
@media( width < 920 ){
.sidebar{
width:72px;
}
.sidebar button > span {
width: 50px;
}
| {
"language": "pt",
"url": "https://stackoverflow.com/questions/75568366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: NextAuth with just a password verification I am trying to make my website only password protected (without a username or email required). I followed some tutorials and got it work with the username/password, and this is what my [...nextauth].js file looks like:
import NextAuth from "next-auth"
import CredentialsProv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set background color for ion-card from value you get from Object property that has values (primary, secondary, tertiary etc) Hello i want to set the background color for an ion-card. I am returning an Object has has a property named color and this property has values on db table the predefined colors on varia... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Flutter FirebaseFirestore imageUrl: permission denied With my app, a user uploads image to firestore which later firebase database retrieves it. Everything works alright. The image is stored in firestore, the url link is accessed in database. However, when I copy the link to open in browser I get this error.
{
"erro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error TypeError: Cannot read properties of undefined (reading '0') This is my code:
function App() {
const [input, setInput] = useState();
const [imageURL, setImage] = useState();
const [box, setBox] = useState({});
const calculateFaceLocation = (data) => {
const clarifaiFace = data.outputs[0].data.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot use a pool after calling end on the pool I used following commands to create database using:
bin/initdb demo
bin/pg_ctl -D demo -l logfile start
bin/createdb demodb
And then connected to age-viewer, which connected successfully.
But the command SELECT create_graph('demo_graph'); is giving following error:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Generic Keyboard Driver for Linux I'm trying to write a Linux keyboard driver that matches to any keyboard entering the system.
After the driver is connected with the device, I want to intercept the input, log it somewhere, then forward it to the system, so that it is actually displayed on the user's screen.
So far,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R studio ggplot() has different colors for geom_point() and geom_bar() I need to make two graphs: a geom_point() graph and a geom_bar() graph.
All of my data is characterized by groups 1-4, and this group number is what I'm using to color in my points as well as my bar lines.
Here is the code for my graphs:
ggplot(a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get the inserted id and potentially the other generated values when using Create with a map I am trying to make some flexible CRUD functions using GORM and passing the values via a map[string]any.
The query is built properly with the following code:
db.Table(model.TableName()).Clauses(clause.Returning{ Column... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Troubleshooting some C code for computer science course I'm currently doing the CS50 course from Harvard and can't complete the third task(Cash) because my code gets stuck after inputting a float and I can't identify why. Please help!
#include <cs50.h>
#include <stdio.h>
int main(void)
{
int coins = 0;
floa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568395",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Mat Dialog Scroll to top spcifically after some event I am working on Angular 11. using Mat-dialog, I need to scroll to top in dialog container from my handle error function. I tried varios methods but not scrolling up, even there is no error on console.
I tried window.scroll, scrollTo, scrollToView(true) & few othe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Handling corrupted record from DB in Spring Boot How should I handle corrupted database records in Spring Boot JPA? I would like to filter out these records and still return the good ones. Image a scenario where a book record has an invalid UUID.
User class containing a list of Books:
public class User {
@ManyTo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: probleme with unexpective space between blocks when i scroll down I have a little problem
when I scroll down
there is a space that appears between my blocks
knowing that the upper part is in "100vh"
and the one below is also in "100vh"
I however put a margin/padding 0 on the respective blocks
do you have any answers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: deepcopy() returns an AttributeError with a list Here is an example script used to narrow down the problem I have in a larger Blender script. It returns AttributeError: 'list' object has no attribute.
import mathutils
from copy import deepcopy
a=10
v = mathutils.Vector((0, 0))
list = [1,v]
a = list
b = lis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The bot does not make any sounds, but joins the voice channel When I enter the command the bot joins the voice channel but doesn't make any sounds, what could be wrong?
import discord
import os
import asyncio
import youtube_dl
from discord.ext import commands
from discord import *
intents = discord.Intents.default(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Typing of using a subclass of a generic class I created a generic class (Baz) which except an instance with a generic interface (Foo),
and manipulates it.
I made a non-generic class (Bar), subclassing the interface with a concrete type (str).
Inside the class the types work, but when I use the non-generic class with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I can't change the text of textView from a DialogFragment I'm facing this problem and don't have any idea how to solve it. It works inside the dialog class, but not in the activity class.
I tried all i found about this problem: creating the setter method, invoking the method after showing the dialog, the id is corre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you efficiently load 10 million rows, run a function on them and then write some changes back to the db Say you have 10 million rows in a db table represented by a django model. How do you efficiently load all of these, run a function on them and then write some changes back to the db.
I am trying to find the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filling missing values along rows I'm an absolute R beginner so please bear with me as I try to explain! I am looking for a code that will essentially fill in the NA values in the far right column (edu2019) by using the last available value (working backwards from right to left). e.g. the edu2019 value for Aruba sho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google sheet : How to change different data in different cells of Google sheet How to change different data in different cells of Google sheet at a time
enter image description here
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75568410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: .text issue when scraping Google Flgihts Here's my code:
from bs4 import BeautifulSoup
import requests
import time
html_text = requests.get('https://www.google.com/travel/flights/search?tfs=CBwQAhoeagcIARIDSkZLEgoyMDIzLTA3LTAzcgcIARIDQU1TGh5qBwgBEgNBTVMSCjIwMjMtMDctMTNyBwgBEgNKRktwAYIBCwj___________8BQAFIAZgBAQ').t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why flaskwebgui does not work on Windows with Python3.8? I am trying to build a desktop app for Windows with Python3.8 and flaskwebgui library. My code structure is:
myapp
|--static
| |--style.css
|--templates
| |--index.html
|--app.py
My app.py file contains the following code:
# app.py
from flask import Flask,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Adding attributes with ascending integer values to XML elements only if they have children I want to add the add attribute 'id="number"' to an existing file.
id attributes should only be added if the element has at least one child.
So right now my XML file looks like this:
<Invoice>
<Fussteil>
<Summen>
... | {
"language": "de",
"url": "https://stackoverflow.com/questions/75568416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flexbox container height not adjusting to with fixed height When I set the height of an <img> manually, it causes issues with the height of its container when using flexbox. Looks like it doesn't recalculate it again.
.container {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
gap: 3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: loading csv data to BigQuery Just trying to upload files in BigQ for my google analytics capstone project.
Not able to upload even 1 file.
There are 30 or so files to be uploaded.
**Tried** : + Add Data->upload->csv file source
**Error**: while reading data, error message: Error detected while parsing row starting ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: OpenCL CL_OUT_OF_RESOURCES error with images I'm trying to make an opencl application for a university assignment. The assignment essentially asks us to do the following: first we need to calculate an intensity histogram from an image. Then we make a cumulative frequency histogram. That histogram is then normalized ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Override default behavior of def destroy() in ModelViewSet to allow query parameters I understand the intended DELETE behavior in DRF ModelViewSet is that a pk must be specified. For example, DELETE /api/document/1/.
However, I'm trying to implement DELETE using query parameters which I understand should be acceptab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I can't get data from api with Alamofire I'm trying to make an IMDb-like application using the tmdb API, I've completed the first parts of the application, but I can't get the data from the API, I've been trying for more than a day, but I couldn't solve the problem.
print(viewModel.movie?.results?[indexPath.item].or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: why does this always give heads, and can i make the timer invisible? can someone explain why this happens, and/or give an example on it, or help me with hiding the timer?
@echo off
:main
setlocal
set /p range=What number range should it be from 1-(number)? :
set /a coinFlip=%random% %%%range% +1
if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular 13 Child and parent component get model from child component I created two components NewInvoiceComponent and InvoiceItemListComponent.
InvoiceItemListComponent is used for Invoice items (count,units,description,price)
I try to create dynamic add and remove inputs fields. Buttons Add and delete input fields ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to draw vertical lines at a defines time intervals My conditions are :
*
*Need vertical lines at first bar for day’s session
*Need next lines at the interval of t minutes till session ends
*t=(MOD((SQRT(D)*180)-225,360)) where D is opening price of the stock or index
*Line should disappear after price bar c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How can you serialize/deserialize AWS Java SDK V2 classes into/from JSON? With the AWS Java SDK V1, all of the classes were normal POJOs with standard getters and setters, so using Jackson you could just serialize/deserialize them easily.
Example:
TaskDefinition taskDefinition = ecsClient.describeTaskDefinition(new ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to calculate regional discount for some product in PHP? So I was asking ChatGPT about the regional discount. First about places where to get "cost of living" and "average salary". I've created a small JSON file with data from Numbeo. And now I need to calculate a regional discount, I have something that cost $10... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: django bootstrap select element one column i use djando and bootstrap. I use a form with a method POST and "select" option. I try to select elements belong to a table. I can see the database elements, but elements it's not showing in a column, they showing in a row (one consecutive to another).
I try to figure what... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to clean the ---> '' character from my dataframe? I have a dataframe with some columns of my interest, for example, discounted_price, actual_price, discount_percentage, rating and rating_count. At this columns i have some data that i want to convert to float, for that reason i try first to clean them using the f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Fatal error: Uncaught RuntimeException: A facade root has not been set. in C:\xampp\htdocs\project\vendor\illuminate\support\Facades\Facade.php I get this error when i'm trying to wor with symfony framework, Any help please ?
Fatal error: Uncaught RuntimeException: A facade root has not been set. in C:\xampp\htdocs\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I read, with python and Raspberry, the Service Data sent in the advertising pack of a beacon? I am using a beacon that advertise each 100ms a data packet, that contains sensor datas in the "Service Data" segment of the ADV package.
I want to read these dataswith a python program, onboarded on a Raspberry PI3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: InputSystem subscribe function doesn't work anymore So I'm using the unity input system and trying to make my inventory script. I'm trying to use my function on 'performed' state but when I make my 'OpenInventory()' it gives me this error:"Cannot implicitly convert type 'void' to 'System.Action<UnityEngine.InputSyst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Connection of server side and client side not emiting a listener response // Client.js file
const socket = io('http://localhost:8000');
const form = document.getElementById("send-con");
const msginput = document.getElementById("msginp");
const msgcontainer = document.querySelector(".container");
const username = p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Failed to load driver class org.h2.Driver from HikariConfig class classloader jdk.internal.loader.ClassLoaders$AppClassLoader I am writing a little java project that is going to insert the tennis' players data into the database. However, I am getting this error:
2023-02-25T15:52:06.800-05:00 ERROR 16196 --- [ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Substituting Layers on an ipyleaflet map and working with layer.model_id There is not a lot of examples out there working on ipyleaflet layers. Here in my mock up I have a map with a rectangle on it. I want to have a user input where the user can specify a new center point for a "square" rectangle on a ipyleaflet ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Align DIV centrally with content either side So I have 5 items (inside a containing DIV). The items lineup as:
Text Image DIV Image Text
I want it displayed so that the DIV is central, the images 'hug' the DIV, then the text 'hugs' the image, so any space left would be on the left or right of the containing DIV.
How... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to debug/step into NPM package typescript function of vue.js / vite bundled application in the browser? I have a vue3 application that is calling a function in an NPM package that is written in typescript. The application is bundled with vite. Problem is, when debugging the code in the browser, I cannot step int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pie plot of grouped dataframe using pandas I want to plot monthly spendings using a pie chart with pandas plotting functions. I was able to create the dataframe that I wanted but I am not able to create a separate pie chart for each month on the dataframe.
This is how I created the dataframe:
monthly_expenditure = e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Eliminate duplicate urls (Web scraping RACE condition) I am trying to scarpe a website with 2 years, 2015and 2022. I am trying to retrieve all pdf from below update. In each year we have many pdf Urls I am trying to insert data in {year: pdf_link} format. I am able to get URL but year is wrong. My assumption is bec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I send several images through the response object to my front end using MongoDB, GridFs Node.Js? I have images linked to a user in a MongoDB collection that I can successfully store and retrieve using multer and GridFS. I am having trouble with finding a way to stream the multiple images through the response... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page Using Tampermonkey, I have set up a script that monitors a webpage and alerts me whenever a set of conditions are met.
It works fine as long as the page has focus and being interacted with which is not the point o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When using VBA (Word) to get string value from Excel sheet the wrong value comes back I've written a VBA sub in Word which must obtain a string from an Excel sheet and process that string using Omath and then insert Omath object into Word table. Here is the sub.
Sub CreateWorksheet()
Dim r As Range
Dim New... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Connect a Front End to a Back End in kubernetes using proxy_pass upstream or Services? I have 3 docker images working perfectly in docker compose (Frontend, backend, MySQL)
The frontend Angular Nginx can be accessed through frontend.example.com and all not exposed request to /api path will connect to backend... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Subscript out of Bounds in tidymodels tuning When using the tidymodels dataset, I run into a "subscript out of bounds error". I am using the Ames house prices dataset from Kaggle by the way.
First, I create my recipe:
data.split = initial_split(house.prices, prop=0.8)
train.data = training(data.split)
test.data = t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use nested iter_map() with ndarrays I'm following along with some of the suggestions here.
The one concerning this question involves transforming this:
// There's an outer loop that calls this a lot
fn calculate_density_at_point(sim_space: &SimulationSpace, i: usize) -> f32 {
let density = sim_space.positions.it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.whatsapp/com.whatsapp.contact.picker.ContactPicker}; this error is occurring when I call whatsapp contacts.
This started to happen with API33, before there was no problem, it normally opened whatsapp contacts for selection.
follow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How I can read pdf file with JS? My target is to read a pdf file and after reading all the information will be sent to the textarea. Is it possible with a photo? If possible, how can I do? If not possible with a photo so how can I read all text in a pdf file present? Please give me a relevant solution...
<div id="pd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Using values from one database table to perform operations in other databases So I'm just starting to dable in MariaDB and sql queries in general. I have an MariaDB server setup to store various things for players on a game server. As such, turnover is fairly frequent so I'm attempting to devise a way to clean out o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Start container with multiple interfaces, one that routes to another docker image and another that uses bridge I'm trying to connect a docker image to another docker image while still retaining internet connection.
However, when I run
docker run --net=bridge --net=ethereum-net -d -p 8080:8080 fe3a31e5d94d
I get
do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TypeScript: How to turn an interface of fields w/ nested interfaces into a union of intersection types? I am trying to construct a Box component that accepts a variable is attribute to determine the element that is rendered:
<Box is="a" href="...">
...
</Box>
So to support that typing I have an interface of sta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: The R plugin is not working in Pycharm 2022.3? I've used and been happy with the R plugin within either Intellij or Pycharm for a few years. However the latest R/Pycharm combination is not working for me. I have installed R at least twice yet after restarting PyCharm as directed it still does not show up in the ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting spurious or garbled ISRs upon startup of x86 OS I have been working on an x86 OS using GRUB-multiboot as of late and have run into a problem concerning the IDT (or more specifically ISRs). Upon starting up my OS, an ISR is generated and then no more are, no matter how many times I press the keyboard or anyth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trouble with displaying objects I am trying to get the objects in a class called "Book_class" to print all of the books, along with the details of said book, that the user has entered into it. However I keep getting an error and have no idea how to fix it. I am sure it is fairly simple for the geniuses (and dummies ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unit testing server component that uses next-intl Link I'm trying to create a Jest unit test for a simple server component on Next.js (See here). It Uses the next-intl Link replacement for the usual next/link (Link), but I'm getting this error: Unable to find next-intl cookie, have you configured the middleware?.
Co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I need to add co-organizer in teams meeting through graph api I am using the https://graph.microsoft.com/v1.0/me/events/ endpoint
This is my json code:
{
'subject': 'Test meeting',
'body': {
'contentType': 'HTML',
'content': 'Group code: Hello'
},
'start': {
'dateTime': '2023-02-25T12:30',
'timeZone'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Converting an integer into three hexadecimal variables I have a problem when trying to convert a 6 digits number into three hexa decimal numbers
I'm using an Arduino Nano
I already did the following
*
*Converting to string Hexa
*Cutting string with substring into three other strings
But my CAN library want to rec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Asterisk unable to connect to database using odbc connector (#2) I am a newbie trying to get Asterisk to connect via ODBC to a MYSQL implementation of the Asterisk DB. I have gone through all the similar online requests for assistance, and still can't get it working.
Here's the files and CLI results I have (what am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: "ValueError: Out of range float values are not JSON compliant" when returning the resultant dataframe of a function I wrote a function that fills the missing values of chosen columns of a dataframe with the mean of that column.
Mean function
def miss_mean_fun(df,col):
df[col].fillna(df[col].mean(), inplace=True)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: K8S, fluent-bit & elastic: Tried to parse field as object, but found a concrete value I switched from using fluentd to fluent-bit for ingesting K8S cluster logs into elastic, but now I am getting a lot of those error messages (showing up in kibana, so it works at least partially):
[object mapping for [kubernetes.lab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript Selectors wont work in changing visible details I have a code that generates the distance between two points and thus travel time and various prices, but the code isn't displaying the results in their correct spaces. Changing classes and ids didn't work nor did messing around with the ids:
// Set up the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular testing : unit testing on services async functions error I have an error that I don't understand on my Angular unit testing services.
auth.service.ts
import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
import { Router } from '@angular/router... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do make the threads ask each other for permission to change a shared variable I have a set of threads, 2 of which are responsible for writing two different values to a global variable at the same time, and one of the threads is responsible for displaying the global variable.
Code:
#include <iostream>
#include <b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568522",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Godot: how to pause I am trying to pause my game whenever you hit the space key, but it never seems to work.
func _input(event):
if event.is_action_pressed("space"):
get_tree().paused = true
if event.is_action_pressed("space") and get_tree().paused:
get_tree().paused = false
Can someone... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sendgrid: Attach PDF from URL (JS) In my next.js project, I'm using Sendgrid to send emails.
Now, I'd like to attach a PDF that is coming dynamically from a URL. I followed the documentation and my code looks as follows:
const sgMail = require("@sendgrid/mail");
const { data } = await axios.get(url);
const textBuffe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rich Text editor not working in Angular 13 I am trying to setup angular rich text editor in my existing application like the below example Rich Text Editor.
But while running my app it throws a console error as below and the page is not loading properyly.
I have reinstalled the text editor package and tried differe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React error: Objects are not valid as a React child (even when not rendering object) (found: object with keys {x, y}). If you meant to render a collection of children, use an array instead.
The component that seems to be causing the issue is this:
function MultipleChoiceText({ associatedTextEntryId, filteredData, d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: trying to create js array, but it gets mutated I don't quite understand why the value of an array gets updated
In the following script I run a function 'run', it creates a 'playField' and modifies its value.
When I run the same function for the second time, in the console of 'createPlayField' i get modified 'playFie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: How to group AGE (columns) in pivot table I have data in which we have three columns: date, sales, age of the customer.
I need a PIVOT table which shows sales(value) by day(as rows) for each age group(<18, 18-60, 60>) as columns. I DO NOT have age groups in my initial data. I don't really want to add another column ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Kotlin inspection messages I am learning Kotlin. and I am working on fundamentals. let's consider the code in the screenshot:
I am having really a hard time reading the message it is displaying and comprehending it.
1: I know it is related to the need to having a total order between the elements of the array so tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter Staggered Grid View cannot pass variable - Undefined name 'viewModel' I am getting an error Undefined name 'viewModel' when I am trying to build a Staggered Grid View and pass a variable to the Material class:
Material Items(String heading) {
return Material(
child: InkWell(
onTap: ()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Async/Await not waiting? i'm having some trouble with the whole async await thing in node.js
I'm using this wait function to stand in for the actual function which is a tesseract.js thing but the wait function produces the same behaviour
this is meant to take a list of PDF filenames and then loop through them ONE AT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OroPlatform: PDF as EmailAttachment Context
I'm trying to send an email with a PDF attachment inside an OroPlatform project.
Here is my code :
/** @var KernelInterface $kernel */
$kernel = $this->container->get('kernel');
$path = $kernel->getProjectDir() . '/public/uploads/invoices/915/demo.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: General Class for MYSQL in electron JS I am new at Electron js and I came from a Web Development background,
Haw can I create a General class and use in any renders file? because it will be hard to add MYSQL connection in every function.
Example of one of my function inside render files to save users:
function inser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: backdrop-filter doesn`t work on my dropdown menu Backdrop-filter: blur(20px); doesnt work ;(
I have a dropdown menu that when pressed the button menu changes from display none to display block and I want to make #account-info-main background would have backdrop-filter: blur(20px); but for me it doesn`t appear. https... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: unable to import Footer component to my homepage My footer component is named Footer.jsx and I am importing <Footer /> in my homepage, but it raises the following compilation error:
Cannot find file: 'footer.jsx' does not match the corresponding name on disk: '.\src\components\footer\Footer.jsx'.
While I am import... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a second scanner to get each token separated by commas I don't know how to extract each token from the text file (to get each value for the tools field) in order to create a corresponding tool object to be added to a tool list (arraylist of tools). What I'm meant to do is:
...
if it's not a co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error in `purrr::map()` Caused by error in `rename()`: I have a function that returns a list of eventids
[1] "314cdd9cecb9b66219c944996f0249b2" "ab26545fc28c693c52329db2a68a06a9"
"818b7fece8a6f82cecf0b4ef38f903d3"
[4] "9427475e5b454a44a4d9cc365d72e416" "3ee7569ac3f38bd5d62ca03b13ee1344"
"35c8c545c966fd2ad738dcccd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could not delete the specified Grant because that would have removed the last member from the Identity Domain Administrator AppRole I'm trying to delete the old main administrator account, and want to make a new main account, and the old one as I said delete, I added in all applications the new user, and in the list... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: No module named 'chatterbot' I ran into a problem with Chatterbot, VSCode can't detect this module even though I installed it.
output:
No module named 'chatterbot'
File "C:\Users\admin-pc\Desktop\Python code\ChatBot.py", line 1, in <module>
from chatterbot import ChatBot
ModuleNotFoundError: No module named 'c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: React Admin. React does not recognize the "emptyWhileLoading" prop on a DOM element React Admin.
In my case, default layout components ( and ) return null when the data is loading. I use a custom layout component instead and I have to handle the case where the data is not yet defined.
And that means that the followi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |