text string | meta dict |
|---|---|
Q: DNN 9.11.0 causing .js issues I downloaded DNN 9.11.0 and noticed that non of my modules are working any longer. Upon further investigation I noticed that in versions DNN 9.10 jequry.js script tag used to be in header and mymodules.js script tag used to be in body right before mygopage.js tag another. So everything ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When I render a pdf from quarto, all the figures are out of place in the document The HTML render works correctly, with all figures rendered between text sections, as I have written the .qmd file. For some reason the pdf render puts the figures in different places in the text, with most of them all put together at t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Digit keyboard confuses the places of the numbers import tkinter as tk
from tkinter import *
root = tk.Tk()
yazı = ' '
root.state('zoomed')
root.resizable(False, False)
root.configure(bg='gray95')
labelsayfa = Entry(root, text='', width=28, font='Calibri 15', bg='dark gray', state='readonly')
c1 = Canvas(width=700,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Low Windows bandwidth in google cloud platform I wanted to ask if anybody has been in a similar situation as me. Let me briefly explain my topology and the problem that has arisen. I have an on-premise site with mainly Windows resources and an up-to-date Forti firewall as the central communication device. This site ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: f2py error: unknown type name _t I am currently trying to wrap the MSTM code, written in Fortran90, to be used in python using f2py. The relevant files for compiling the actual executable (for serial mode) are found in the code/make-serial.bat file. I was trying to generate the module using the command:
f2py --verbo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559436",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filtering pexpect remote command output I have pexpect to perform a few configs in a remote virtual server.
*
*I need to run the uptime in this remote server
*get the uptime output
*if the uptime is less than 5min I need to wait otherwise I can move forward and configure this server
child = pexpect.spawn(f"v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Double X-Axis barchart stacked and unstacked This is my first week of using Plotly so I am having some difficulty in getting exactly what I want if possible, so here I am.
I would like to have a stacked bar next to an unstacked bar chart with the labels under each bar chart as seen in the first screenshot.
I also w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VUE Nuxt Not able to get array for fetched data I am trying to do multiple calls to a server and push each response into an array and have the template display the results.
The function, below, successfully fills up allItems array with x number of members, but it is not reactive so the v-for does not work.
I do not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combine characters list in R for-loop I try to combine a list of characters, printed in r by a for-loop, using the function c(), but I can't do it and cols list stay NULL.
cols <-
c(
for(j in periods) {
if(is.na(df[grep(j, df$Period),]$Scenario[[1]])) {
print(j, collapse = ",")
} else {
for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mlperf v2.0 Habana Bert Training on Aws Gaudi1 I need to run MLPerf 2.0 Bert training code on Intel-Habana Gaudi1 processor on Aws with image Deep Learning AMI Habana PyTorch 1.12.0 SynapseAI 1.6.0 (Ubuntu 20.04) 20220928. Followed below readme
Readme: https://github.com/mlcommons/training_results_v2.0/tree/main/Int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Having to click twice to show content inside div javascript My javascript project works like this: you type in a movie name and it pulls the info from OMDb and display that info in a new div. It works fine, but only after I click twice on my search button. I click once and it shows an empty div. Please keep answers ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: contactform with recaptcha v3 not working I'm trying to set up a contact form in laravel with Recaptcha.
My problem is that when I add the data action, it prevents me from getting to my function.
So this is my form :
<form action="{{action('App\Http\Controllers\ContactController@store')}}" method="POST" id="contact... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bootstrap 5 – Last toggle in a row always visible I am using a page layout with a series of toggles. The icon of the last toggle in the series of eight remains visible, even when it has no content. The other toggles work fine.
I believe the toggles may be a customised feature built for our website. Similar sites I'v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use own private key in Google Play Console in 2023 (disable App Signing) How can I disable App Signing and use my own private key in Google Play Console? I found the question already [0], but the answer does not work anymore. I only have the options to use google play app signing or upload an encrypted key, b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I only get 1s when I calculate quantiles I have this dataset:
structure(list(NUMERO = structure(c(10, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30), format.stata = "%12.0g"),
ingressosmensuals_memb = c(1130, NA, 2700, 1480, 700, 1950,
NA, NA, 1907, 451, NA, 1442, NA, 1150... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using LINQ to retrieve multiple records that fit criteria I have a FE that allows a user to filter based on different criteria. One of these criteria is Business Units. When a user selects this filter the URL looks like this: https://localhost:7206/api/v1/lots?businessUnits=SCP_PP
This works fine and I can filter ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: comments dont delete when I delete post I have my models set up (or so I thought) that when a post is deleted if the user had commented on it that comment should also delete from the database. But the comments are still present in the database. any idea what am I doing wrong? Thanks in advance
Post and Comment modul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Check user location in radius of geofence I need some help, in my flutter application i want to make application which check user location inside or outside geofence google map
Can anyone help me, how can i do that ?
Thx before
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75559466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to add Swagger Ui to spring 3 on java 19 maven project I am trying to add Swagger-UI to my project, but I'm failing due to errors.
I've read that on latest spring @EnableSwagger2 is required, well with or without not working.
This is my pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I combine any emoji with another using UTF-8 code and Python I wanna know how can I create the Verification tick (like on Instagram) by combining two emojis with Javascript or Python.
I tried to do it by combining ✓ with but I failed, then I got deeper so I combined ☑ with adding a Zero-Width Joiner and I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to replace only first character of a string in C# I want to replace the character 'A' of the first character of a string if the first character is 0.
Data 01234500
Expected output A1234500
code
results getting - A12345AA
string formattedId = "01234500";
if(formattedId.Substring(0,1)=="0")
formattedId = form... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Upload file to Google Apps Script with Flutter and retrieve it In my android application I need to upload a file from local storage to Google Drive using Google Apps Script but I can't seem to achieve this.
Client side :
File file = File(result.files.single.path!);
final type = lookupMimeType(file.path);
fin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Offload product images in woocommerce from cloudflare r2 I have a one problem. More specifically, I have a website on woocommerce and one cloudflare r2 bucket. In this moment I use plugin Media Cloud and this plugin connect my woocommerce with my r2 bucket. Thank's for this plugin I can use images from my Cloudflare... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Is there a way to apply shapiro.test() to a column based on specific category of another column? I have a data named df as you can see in the picture. I want to apply shapiro test for the column "value" but based on different color category. Here below you can see my code which is giving the following error "Caused ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Custom attribute is deleted on setContents() in Quill I need a custom attribute in order to identify certain blocks I insert into Quill. For that, I tried to create a custom attribute like this:
testblot.blot.ts:
import Quill from 'quill';
const Block = Quill.import('blots/block');
export class TestBlot extends Bl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Update ng2 angular pie chart data by selecting options from dropdown I am using mock Jason data to create a pie graph through ng2 graphs in angular.
Right now pie chart displaying whole asset Allocations value from the whole array. I want to display one object value in the model Portfolios array. And when click on t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Call exported function in .so which was linked with a different libc than the program calling the function Situation
Let me explain my situation:
*
*I'm running all this stuff on Android chroot with root access and SELinux disabled
*I have a program linked against glibc in the chroot (can't relink it, since I don... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: IndexError: list index out of range in pypdf2 extract_text in specific pdf file I have tried:
from PyPDF2 import PdfReader
input_pdf = PdfReader(open("pdfFile.pdf", "rb"))
thispage = input_pdf.pages[0]
print(thispage.extract_text())
And I got the following error:
Traceback (most recent call last):
File "C:\Users... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: If I have a PWA made with flutter, could I use an iOS App Clip to use the NFC functionality (in iOS)? I'm building a PWA using flutter and I want to allow iOS users to use NFC without installing the native app.
The idea that just came to my mind is to use an App Clip inside the PWA to open this small NFC functionali... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Raspberry PI creating a wifi network, it does not accept more than 8 connected components I have a raspberry PI 3 B+, install the following:
sudo apt-get install hostapd isc-dhcp-server
configure the hostapd.conf as follows:
`interface=wlan0
driver=nl80211
ssid=<SSID name>
hw_mode=g
channel=6
macaddr_acl=0
auth_algs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Looking to do a groupby, agg, and then combine the result to a key value pair and then return a single row in Pyspark Sorry for the loaded question, but essentially looking to accomplish something like this:
original df:
| colA | colB|
| a | 1 |
| b | 2 |
| a | 1 |
| b | 4 |
| a | 1 |
to so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do we call this menu in LinkedIn? Basically I started working with Selenium a while ago and now I need to get some information in LinkedIn. However, I don't know how one the elements is called. Seems like a drop down menu, but it's more complex than the traditional drop down menus. Do you guys know how is this c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Is it possible to prevent the children of a component from being imported in React? (Next.js 13) I have a <Navbar> component that is a client component.
Here is the implementation:
Navbar.tsx
"use client";
import { usePathname } from "next/navigation";
import { useEffect, type FC } from "react";
import type { With... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to bypass maxpodrange check for a Node during deployment? We have an use case where we run pods with hostNetwork set to true, and these pods will be deployed in a dedicated node pool where maxPodRange is set to 32. To avoid IP wastage we are trying to understand if there is a way to override this maxP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find elements from webpage using Selenium (Python) I am having trouble finding the Login ID and Password elements on this webpage. I want to locate these elements so I can input a username ID and password so as to automatically log in. However, I am getting a NoSuchElementException. I have tried to find the element ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem with forwarding/back-propagation of the concatenation of parameters from a set of separate pytorch models I would like to concatenate the parameters of a set of models and forward them through a network (in order to get an output, calculate a loss, and back-propagate), but it seems that the graph is "broken"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error installing PySide6 on Raspberry Pi4 I created a project using QTcreator with PySide6 and cv2 on a Ubuntu Linux computer, and it worked very well. However, when I transferred this project to my Raspberry Pi4, problems arose.
I tried to install the PySide6 library using sudo pip install pyside6, but I received t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass Function instead of class to spark.udf.registerJavaFunction We have our UDF in Scala project and pass the JAR to a different team, they want to use PySpark for their use case, but problem is they can't simply register UDF in PySpark.
In our Scala we defined multiple UDF in the same Class:
@Log4j2
public ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I enable the line numbers in the log query editor in Azure? How can I enable the line numbers in the log query editor in Azure?
I found this article. It states that the feature I am looking for indeed exists, but it does not tell how to enable it.
A: Here are the steps you can follow to enable line numbers ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++ selective predefined functor initializaiton Predefined functors need to be in-place instantiated (with empty parentheses) for use in algorithms but not as type parameters for container adapters such as priority_queue. Why the difference?
#include <queue>
#include <vector>
#include <numeric>
int main(){
std:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best Frameworks for Jetson For Computer Vision/Streaming TV/IoT Huupe would like your recommendations on platforms to best exploit Nvidia Jetsons for our intelligent basketball backboard.
OS: JetPack vs Yocto
*
*Yocto: We are considering using Yocto instead of Jetpack because we believe that it will be easier to m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Remove hover box Based on the code below, when I hover my mouse over each link a dark blue box appears on top of the text thus obscuring the link text.
How can I fix that i.e., a dark blue does not appear?
a {
color: white;
}
.footer-background {
padding-top: 20px;
padding-bottom: 20px;
background-color:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559522",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring boot default user and password is not working As mentioned in this question -> What is username and password when starting Spring Boot with Tomcat?
Default user name would be user and password will be printed on the termini if we use spring security.
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xml... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ModelEntity.load from url I have a screen with AR, at the moment .usdz 3D models are stored locally in the application, we need to make sure that they are received using get request.
Here is url to check: https://developer.apple.com/augmented-reality/quick-look/models/vintagerobot2k/robot_walk_idle.usdz
import Swift... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: error:0308010C:digital when trying to deploy to firebase hosting via Github push I can push to the firebase live site with "firebase deploy" command in terminal just fine, however when I want to push to main so it auto updates this is what is displayed on the deploy failed on Github
Run yarn build
yarn run v1.22.19
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to know when an iframe video (Vimeo) is done loading? I'm embedding Vimeo videos on a page in a React app
const videoData = [
{
title: 'Dry Rubs, Marinades and Brines',
src: 'https://player.vimeo.com/video/xxx?h=xxx',
},
{
title: 'Seasoning',
src: 'https://player.vimeo.com/video/yyy?h=yyy',... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Third Clone Of The Turtle I made this program, when trying to make a chase game, but I stumbled along something really strange. I created a clone of the turtle, but at the middle of the map a third one appeared.
Does anybody know what causes this?
import turtle
sc = turtle.Screen()
t = turtle.Turtle()
c = turtle.cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: clang-format: how to put each input parameter in a line in function declaration and function definition? Before posting this question, I researched here and saw some questions. The (nearly) same question is :
force arguments and parameters to one-line-each if the statement overflows
I have tried that solution with c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Typescript/Angular - new Child JSON containing specific property of Parent JSON I have an object containing the following data
parent_json = [
{
"BEGIN_TIME": "24 Feb 2023 13:36",
"END_TIME": "24 Feb 2023 13:37",
...
},
{
"BEGIN_TIME": "24 Feb 2023 13:37",
"END_TIM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Cannot deploy app engine flexible PHP app I'm trying to migrate from standard -> flexible app engine environment. However, deployment throws this error, even though my php version is 7.4.* (checked using php -v).
Any ideas?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75559542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to unpack tuples within a list to use in map I'm just going to simplify my problem a bit. I have a function like this:
def func(a,b):
return a+b
I also have a list of tuples which I would like to map to this function.
num = [(0,4),(6,3),(2,2),(9,1)]
I want to be able to map the tuples within the list like (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: python3 subclass error 'object has no attribute 'x' I am working with python 3.11 and am having issues with subclassing the File object. I basically want to be able to perform a write operation and attach a newline character to each string without having to explicitly add the newline to each string being written.
S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Entity Framework raw query columns to model collection property I have a model class with collection properties:
public class Example
{
public List<int> A { get; set; }
public List<int> B { get; set; }
public List<int> C { get; set; }
}
There are those columns in database, A, B, C.
I would like to use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: xdg-open + chromium doesn't open the set up application I have installed a application called ProRealTime. Apparently, it installs some java stuff locally, and when launched, it opens the browser, to log in on their site, and then the application is executed. This works on firefox but not on Chromium.
Chromium pops ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cannot return value referencing local data `*x` [E0515] returns a value referencing data owned by the current function fn test(file_path: &str) -> Box<Vec<&str>> {
let file_content = Box::new(
fs::read_to_string(file_path)
.expect("Should have been able to read the file")
);
let array... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What happens when I don't satisfy trait bounds? I have some code :
impl<K, V> Database<K, V>
where
K: Eq + Hash,
V: Clone,
Where I have Database defined like :
pub struct Database<K, V>
where
K: Eq + Hash,
Note the absence of trait bounds on V. My question is what happens if I construct an instance of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Setting caret position in react contenteditable I'm using a contenteditable div as a react component. I'm trying to implement a custom spell checker, so when a user inputs some content into the div, it underlines the misspelled words, by changing some properties of the innerHTML of the div. The problem is the render... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MySQL database taking too much space in ubuntu server I need help with the problem of the MySQL database taking too much space, the database size is only a maximum of 1GB but the 77GB /var/lib/mysql. How can I resolve this error?
Thanks
A: With help of du -Shx /var/lib/mysql | sort -k1 -h | tail -20 you should be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Exact Date Syntax - Custom SQL Query I am working on a custom SQL query in Tableau Prep using an Oracle data source. I usually write my SQL in another platoform, and am having trouble finding the right exact date syntax.
What is the correct syntax for the example below?
and (invc_date > {ts'2022-12-31 00:00:00'} ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get information on by just using ID in Python I am trying to get the the employee id to notice if they are terminated to ignore their count and keep only those who are Active this is what I have:
Emp_ID Status Manager_ID Employee_count
1 Active 3 0
2 Active ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to read JOSN file data using Typescript and show in HTML file I have projects list. So I want to read json using TypeScript.
This is my json file called. projects.json
{
"projects": [
{ "id": 1, "name" : "Project 1" },
{ "id": 2, "name" :"Command 2" },
{ "id": 3, "name" :"Project 3" },
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Not able to execute "mvn -v" command in Linux for my user I have installed maven in linux server using root access. I'm able to retreive the maven version using root, but when I try to get maven version details using my user access. I'm getting an error "-sh: mvn: command not found". Please suggest a solution for th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Python - PIP - VENV - Proxy - OSError no scheme, but I have the scheme in the URL? This one is a bit baffling and head pounding to me.
Windows 10
Python 3.9.6
Behind a Proxy, have the proxy details in the User variables in windows both http and https
Proxy is using Windows AD as auth.
I'm using venv to create differ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PowerShell: Elevated code from non-elevated script, accessing variables and functions I am preparing new computers. After applying an image, I run a PowerShell script for some post-image deployment steps. Some steps must be run as the new (current) user, like registry settings in HCCU, while others, peppered through... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do i make this ERD complete, i concerned about missing fiels Im not great at designing these so thought i would check if anyone had some additions to my erd. I know its not people fav type of question but im just trying to learn. I know i need to add more connections to the notifications model. Everything should... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: MultiValueDictKeyError at /register/ request method post MultiValueDictKeyError at /register/
'name'
Request Method: POST
Request URL: http://127.0.0.1:8000/register/
Django Version: 4.1.7
Exception Type: MultiValueDictKeyError
Exception Value:
'name'
Exception Location: C:\Users\vaibh\AppData\Local\Programs\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Excel complex formula name lookup based on numbers and ranges I'm trying to create a formula for the Name Lookup column in the Lookup Table below.
As shown below, the Names Table may have empty rows and the N column may include ranges, numbers separated by commas, and numbers out of order. Each table is an Excel for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: I get ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) after installing mysql When I try mysql I get:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
This is the result of systemctl status mysql.service ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASP.NET Core 6 MVC action arguments are not passed by named route My ASP.NET Core 6 MVC app has a home page and an expenditure page which is linked to from the home page with an integer systemId parameter passed to it's default Index action method which just prints the passed systemId value in it's associated view.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove sections from OLE compound stream implementation I have tried implementing with python a deletion of size x starting at offset y from a certain stream.
I have used olefile parser for that, but they don't provide such operation, so I decided implementing it myself using olefile parser.
I considered a few cases... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Timescaledb - Materialized view very slow Here is my hypertable -
CREATE TABLE prices_daily (
datetime TIMESTAMP WITH TIME ZONE NOT NULL,
security_id BIGINT NULL,
open DOUBLE PRECISION NOT NULL,
high DOUBLE PRECISION NOT NULL,
low DOUBLE PRECISION NOT NULL,
close DOUBLE PRECISION NOT NULL,
volume DOUBLE PRECISION ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Email Message Body is not correctly rendering I am combining several HTML tables to a $message and I will pass it to the mail body as below.
// Send the mail
if(smtp_mail($To,$cc, $Subject, $message, $headers))
{
echo "Mail Sent";
}
else
{
echo "Some error occured";
}
I have printed $message variable by using p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to import every submodule using --hidden-import in pyinstaller? We are using Pyinstaller and we have a module that has several hidden "submodules".
So, currently, we need to use --hiden-import module.submodule1 --hiden-import module.submodule2 and so on.
I've tried --hiden-import module, but it didn't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adjusting Forest Plots I wonder if anyone can help with adjusting my forest plot.
enter image description hereenter image description here
I am trying to get rid of the common effects model line that has been generated and also tidy up the scale so that it does not interfere with the p value, heterogeneity etc
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75559598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spacy Entity Linker with Transformer Listener problem I have a pretrained pipeline composed by a transformer and NER components and I am trying to create an Entity Linker able to use embedding representation produced by the transformer rather than using a CNN.
I am adding the Linker as
entity_linker = nlp.add_pi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pandas Python Shift Data Past Last Date and Dataframe and Create/Append rows to Dataframe I have a dataframe with two columns (1) YoY % Change and (2) YoY Shifted. Column 2 is just column 1 shifted 4 periods forward using the following code:
econ_data['YoY_Shifted'] = econ_data['YoY % Change'].shift(periods=4)
Data... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: express cors request.body formData show undefined I'm imitating cors request to express.
The status is ok, and request and response are succesfull. Network shows payload filled with form data. Hovewer in nodejs terminal logs in console undefined.
Sending the form fieds with follow code:
<form id="formElt">
<inp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dynamic vs static module name call? In terms of performance I have something like this:
my_var = get_my_var()
res =
case my_var do
:var1 ->
MyApp.M1.Var1.method1(arg1, arg2, arg3)
:var2 ->
MyApp.M1.Var2.method1(arg1, arg2, arg3)
:var3 ->
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: function argument as a const value I was playing with different signatures and came up with following example:
void foo(const int a)
{
a = 5; //error: assignment of read-only parameter 'a'
}
void foo(int a) //error: redefinition of 'void foo(int)'
{
a = 5;
}
struct B
{
virtual void foo(const int a) {};... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible to add a linear model on top of a boxplot in ggplot2? I have two datasets and am trying to add a linear model based on one dataset (pesticide concentration by month) on top of a boxplot from the other dataset (pollinator mortality by month).
I've tried geom_boxplot(pollinator dataset)+ geom_point(pest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gcloud Logging now working with gunicorn preload flag I've a run.py file having the following content:
from app import app
from app.logging.logger import Logger
LOGGER_FILENAME = 'portal.log'
LOGGER_NAME = 'portal'
app.logger = Logger(LOGGER_NAME, LOGGER_FILENAME) # Logging class to upload to gcloud logging
And in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Type 'never[]' is missing the following properties Type 'never[]' is missing the following properties from type
'{ login: string; id: number; node_id: string; avatar_url: string; url: string; }': login, id, node_id, avatar_url, url
I was creating a component that take an ApiUrl and fetch info by axios then set stat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: React Toastify Alert not displaying I want a popup alert when the user interacts with a radio button. I have the relevant code below. When I select a radio button, I do get the console message but no pop-up. What am I doing wrong here?
import {Toastify, toast} from "react-toastify";
import "react-toastify/dist/React... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: XHR error (404 not found) loading [Error loading module] I have been trying to learn ES6 and TypeScript lately. and everything was going well until I got to the module part. Like the tutorial said, I have set up my module loader setup with this particular code npm install es6 module-loader traceur systemjs and it we... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter - error(s) running package flutter_background_service: ^2.4.6 I wanted to write a code that runs in the background and so I copied the code ( including packages ) from the dev for Flutter_Background_Servie into my project. When trying to run the code I get the following two error messages:
*
*What went wro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the fastest way of determining rank of a new element in the existing numpy array without computing ranks for the whole array? Given an array of numbers A and some decimal number X, I would like to know the rank of X in A, and the straightforward way of doing this is to append a new number into the initial ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: unable to access symbolic folder inside public directory in laravel on cpanel, 403 access denied I have hosted a laravel application on cpanel using the terminal, linked the public folder to the public_html using ln -s, done all the installation procedures along with storage:link, and set the storage permission to 7... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Apple Studio m1 Ultra: Java installed, but MAX/MSP cannot find JVM On my Mac Studio I installed the latest version of Java, Terminal confirms. When I try to run a "java"-object it turns brown, which means Max cannot find the connection, the Max console window says "Cannot get_java_vm" and "Unable to create JVM"
I in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to align ListTile vertically in a Container I want to align the ListTile vertically in the middle of the container. Horizontally, it should stay aligned to the left.
What I have now is this:
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How Convert arbitrary String to DataTime type Who could say - how convert this string for example - {YYYY-MM-DD_hh-mm-ss} into DateTime type in .net core?
I tried regex but im really not good in it
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75559632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to assign same values if the values in two columns appear in reverse in a pandas dataframe I'm new to python, and although it helped me a lot. In my data frame lot of duplicate values are there so I want to assign different values in the third column. Can you please help me with that
Column_a, Column_b, New
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I need to sequence a Num_Linea column, but the sequence must be restarted for each ID_PO Currently the cursor does the sequence but does not restart when the ID_PO is different.
DECLARE @Num_Line as int;
DECLARE @CurNum_Line as int;
SELECT @Num_Line = 1;
DECLARE LINECURSOR CURSOR FOR
SELECT Num_Linea
FROM ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why is phpstan reporting a lot more errors on exact same src on macos vs ubuntu? I've forked CodeIgniter 3 to work on PHP 8.2 compatibility. I'm using PHPStan for static analysis to try and identify all the referencees to undefined class properties, which seems to be the primary shortcoming. Unfortunately, I'm getti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring SPEL error: SpelEvaluationException: EL1057E: No bean resolver registered in the context to resolve access to bean 'validatorService' When doing a POC, we use a custom annotation with a SPEL expression. The SPEL expression contains a reference to a bean method:
@CheckEntity(keyPath = "@validatorService.isCol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I make pandas.read_sql_query ignore the datetime datatype of a column in the source database? The error that I get is "ValueError: month must be in 1..12"
I know that there is "weird" data in that column and I want pandas to treat it as text or ignore the rows with errors and populate the df with the remaind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Memory limits in Pyodide What is the current limit on memory in Pyodide, and how do I maximize it? For example, does it depend on the client browser, or does it default to the RAM of the client machine?
Related old question:
Memory limits in webassembly
A: The current memory limit in Pyodide is 2 GB due to its use ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Return the value and not #N/A when using IF function to compare I am trying to return either 1 or 0 when the two cells are different when using the =IF(F90986=G90986, 1, 0) statement, but because it has #N/A, it's returning #N/A instead.
How can I make it return 0 or 1?
Is it because G90986 is result of a VLOOKUP?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pandas Dataframe - Group by and Sum function I want to group a column in a pandas dataset and find the sum of another column by giving it a unique name. At the same time I would like to keep the values in the column that I want to find the sum of as it is.
For Eg:
Below is the dataset cp that I am trying to group an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Oracle Apex - Update Table 1, based on another Table 2, if column string in Table 1 does not already exist in Table 1 I have a table ORDERS in which contains order data and customer data.
I also have another table CUSTOMERS. Essentially, I want to:
*
*Update table CUSTOMERS with the data from table ORDERS with t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Correlation testing with missing data I want to test for sexual dependency in my data set, which consists of ordinal data. This means, that I have the sexes male (named as 1) and female (named as 2), and several traits (T1, T2, T3,...) of different ordinal scale (some ranging from 0-2, others ranging from 0-5 - or i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75559650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |