text string | meta dict |
|---|---|
Q: Segmentation fault with gcc 7 and not with gcc 10? I am trying to compile the code with gcc 7 where build fails intermittently with issue :-
x86_64-pc-linux-gnu-g++: internal compiler error: Segmentation fault (program /home/comp/gcc-work/test/lib/ld-linux.so.2)
Please submit a full bug report,
with preprocessed sou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i darw UML models like this one I want to draw UML models in easy and free way like this picture
enter image description here
I tried draw.io and gaphor linux application but didn't get what i need
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75565898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Apache2 using incorrect Python location I'm using Apache2 with mod_wsgi to server a Django app, and from the error log I can tell that for some reason it's trying to use the system python library instead of the venv one.
I have PYTHONPATH set to the venv (venv/lib/python3.8) and mod-wsgi built specifically for Py3.8... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom hook not triggered on rerender I have a component that looks like this:
export const DatePickerInput = ({
label,
onChange,
defaultSelected,
fromDate,
placeholder,
hideLabel,
className,
valuesInitialized,
setValueInitialized,
}: DatePickerModalProps) => {
console.log(def... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Show Cable availability to my users when they enter their zipcode I'm creating a cable website. When the users enter their zip code I want to show the available providers in the area. I'm having a hard time coding this...
I'm in the planning stage of what to try as I'm new to coding.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75565901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Use Apache Beam to construct new column with unique ID I'm quite new to Apache Beam and I'm trying to create a new column at index 0 that uses groupbykey on multiple columns and construct a new unique id. How am I able to achieve this?
Also I want to write the new data to a newline delimited JSON format file (where ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem with table targeting BeautifulSoup Python 3 I try to target the table from the page. This seems to be a trivial task, however for some reason I cannot scrape this one particular table.
Link to the page
I am trying to access the table located here:
#price-history-chart > div > div:nth-child(1) > div > div > t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i upload multiple files from local system to AWS S3 bucket Using Aws Lambda Functions? I just want to upload files from local system to aws s3 bucket by using AWS Lambda Function. So i can put trigger or can schedule it to pull data automatically?
I try different examples bit not worth it.
A: You cannot do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Creating a multi dimensional array with Java and a data file I have a code that should work but it is still saying no variable for rows and integers.
I asked a question earlier and this was the answer I got...it should theoretically work but I am clearly still missing something. I need the information in the data fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why is React throwing an error. I'm trying to wrap the application in a provider. React version 18 ts
import React, { FC } from 'react'
const Feed: FC = () => {
return <div>Feed</div>
}
export default Feed
Below is the code of how I set up the store and how I connected the Provider
import { configureStor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Redemption "Error: Microsoft Exchange is not available" after moving mailboxes to Exchange 2016 I'm facing troubles migrating some mailboxes from Exchange 2010 to Exchange 2016 because they are still used by an old application as part of some B2B flows. The application uses an old version of the Redemption.dll libra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keep Date format Month-YYYY as date data type only, NOT as a string I want to keep a column as a date (not string) in the format 'Feb-2021', but the only solution that works returns a string, which I don't want as I need to sort by dates at a later stage. In every other question I've found (and tried), the solutions... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cloning "rows" of a form with inner functions im trying to make dynamic form with inner functions...
I have a template like:
``<div class="polozky row col-12" id="polozky">
<div class="polozka row col-12 card-footer bg-yellow" id="sablona">
<div class="col-md-1.5">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to frame messages socat receives on stdin Description
I am spawning socat as a child process of a Node.js application to send and receive messages over a unix domain socket of type seqpacket (socktype=5):
import { spawn } from 'child_process';
const socat = spawn('socat', ['UNIX-LISTEN:unix.sock,socktype=5,fork... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mysql update trigger only on specific id I have tables that looks like this
commons_db.sites
user_id | active
1 | 0
2 | 1
commons_db.users
site_id | user_id | status
50 | 1 | 1
51 | 2 | 0
I wanted to create a trigger such that the status column of a site_id cha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to disable auto deployment in azure function for each code change in GitHub 2 Azure functions are being created for non-prod and prod environments.
We have CI and CD pipeline in azure Devops which we use for build and deploy. Ideally for each code change, only CI pipeline should run and wait for Devops team to m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: threejs pingpong approach for rendering to texture - no errors, nothing rendering to screen I'm trying to use the pingpong texture swap approach to create some smoke in threejs, following this tutorial which dates back a few years. It uses an older version of threejs, and I can't seem to get it working with the most... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is /var/opt/mssql-extensibility in azure-sql-edge Docker image I am running the azure-sql-edge docker image like this:
docker run --cap-add SYS_PTRACE -e "ACCEPT_EULA=1" -e "MSSQL_SA_PASSWORD=<my secure password>" -p 1433:1433 --name azuresqledge -v sqlvolume:/var/opt/mssql -d mcr.microsoft.com/azure-sql-edge
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Solution to spreadsheet updated daily by python script I have a python script which pulls up data from various daily-updated sources and consolidates it in an excel spreadsheet. At any given moment, there's probably someone with the excel file opened, which becomes a problem when I have to run the script to update t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any visualizer of the code in Clion? I want to visualize the code in Clion so i could now the structure of it. Is there any way there is a feature that can help to visualize you code like a graph or something?
I tried to search information about this topic, but I could not find any.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75565941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a new dataframe column that contains rows by condition Given dataframe looking like this:
ID
ID_2
Value
12
34
100
12
56
200
12
78
300
How do we:
*
*Filter the dataframe with ID_2 = 34/56/78
*Create new columns for each of the Value
ID
New column
New column_2
New column_3
12
1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Nodejs stream, how to indicate to piped streams the original one has no more data I am trying node streams because everyone says it's easy even though the documentation is hundreds of pages without even mentioning what things actually do the online examples are very simple.
I have the following code:
const { PassThr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to forge a CIFS Silver Ticket correctly in my home lab? or how to make it vulnerable? I have a question regarding some issue i've been facing for almost 2 weeks now.
I'm doing a research on issuing and detecting silver tickets within a network, and in order to acheive that i've created a
home lab which consist o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Session data is always null in ASP.NET Core 7 I have an API where I want to store in the session the User object after the login. The HttpContext.Session.SetString method works well, but if I want to use the GetString method in another process as like in a HttpGet method, the passed string is always null or empty.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I want to send and an otp with REST Framework File "/home/ali/MAKEEN/makeen-tasks/ali/tasks/user/api/services.py", line 24, in generate_otp
self.otp = str(randint(100000, 999999))
AttributeError: 'str' object has no attribute 'otp'
self._otp = str(randint(100000, 999999))
AttributeError: 'str' object has no attr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Modules not found Error when installing Oracle SQL Developer I tried installing SQL Developer on Ubuntu 22.04 (jammy) using the following:
https://dev.to/ishakantony/how-to-install-oracle-sql-developer-on-ubuntu-20-04-3jpd
It was working fine and started loading. I made a new connection and started with a tutorial o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Giving error while installing the package in python .As i am installing the pygooglenews using command "pip install pygooglenews" giving me error ---- metadata-generation-failed""
I wanted to fetch news from google by using filter i.e If i will give name of any person, it would fetch news related to that person.
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why my url_regex can't filter mp4 file in squid.conf? I'm studying squid for proxy admin. Recently, I need filter the access of multimedia files from squid proxy. So I write this in my squid.conf --
acl test_network src 100.70.224.0/23
http_access allow test_network
#acl media_url url_regex -i .*\.mp4$ .*\.mkv$ .*\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Looking up a column name in another data frame I have the following data frame:
import pandas as pd
df_1 = pd.DataFrame(
{
"id_1": [1, 1, 2, 2],
"id_2": [11, 11, 22, 22],
"value_1": [0.1, 0.1, 0.01, 0.01],
"value_2": [0.2, 0.2, 0.02, 0.02],
"value_3": [0.3, 0.3, 0.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Getting region name in SageMaker endpoint In SageMaker endpoint, hosting my custom container with Python code, I need to access the region name. I tried the AWS_REGION and AWS_DEFAULT_REGION variables but they are not defined. Do you maybe know some way of doing this?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75565959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass a reactive variable from child component to parent component in vue js composition api I have two components on is the parent component and the other the child component ,the parrent component has a form field in this form field I can add additional form fields,this additional form field is added with th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: stable_baselines3 PPO won't learn I've written code for moving a target object towards a specific goal position on a 2D surface. However, when I run it, the cart doesn't move towards the object or the goal position at all. It just gets stuck in a loop and so the program never terminates. I feel this may be down to a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculating the negative log likelihood of an array of predictions in Python I have a list of actual values: Y, and a list of list: predictions, where each element is 100 predictions of that Y value of the same index.
How can I calculate the negative log likelihood of the predictions in Python? I'm guessing it will ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Difference in foreign key constraint violation error between local MySQL database and server MySQL database I have two databases created using the same script, once on the server, and once on my local machine.
On both, I try to add a row in a table, with one column referencing a foreign key of another table for whic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: running python script over sysmd unit: time.sleep of more than 60 seconds does not work I am running a systemd unit python script at my RaspberryPi to send temperature data automatically when the Pi has power. When time.sleep is at 60 seconds everything works fine. But when time.sleep is longer (120 seconds or more)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add active style to link with Express and Express-Handlebars how can i active the link(set different color) in express and express-handlebars. With pure JS it's simple, but i can't write it here ... :(
it's a standart navbar, here's the code:
<ul class="links">
<li><a class="nav-anch" href="/warum">Waru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Invalid parameter for estimator Pipeline I'm getting value error with the following code and can't find why.
I can use any params!
df_final = df.copy()
X, y = df_final.drop("Churn", axis=1), df_final.Churn
lr_pipeline = make_pipeline(preprocessor, under_sampling, LogisticRegression())
dt_pipeline = make_pipeline(p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mysql how to query nested json element? so here is the schema for the JSON :
{
"ts": 1677330162,
"uuid": "75e4917d-69cd-49e1-963f-380ea031a88b",
"moderators": [
{
"userId": "000001",
"timeAdded": 1677332262,
"permissions": {
"all": true,
"tag": true,
"mail": true,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to upload a file in chunks to Google drive? I am making file uploader in google drive and using googleapis library for that. I managed to set up a single file upload, but in order to upload large files I need to use chunk upload. Tried many options, but could not solve the problem.
I need help finding a bug or s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: User and Friends relationship model in prisma ORM I have been struggling to create User and Friends relationship in Prisma and facing some ambiguous errors
So I have a User entity with the following Model
model Users {
id String @id @unique
name String
email String
password String
}
Now I wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DynamoDB - Create query with OR statement on hashKey and GSI I have DynamoDB table created with following settings:
*
*field IP as my hashKey
*field createdAt as my sortKey
*field email as GSI, index emailIndex, with createdAt as it's sort key.
How the table was designed can be changed. The requirements are tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to integrate Next.js server-side rendering with a legacy PHP application? I have a legacy PHP application and I'm trying to add server-side rendering using Next.js. I've followed the instructions on the Next.js documentation and created a pages directory for my Next.js application. However, I'm not sure how to g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Uncaught ReferenceError while calling function from another module I have two javascript modules i.e database.js and common.js and one main module i.e input_data.js.
database.js:
import { initializeApp } from "https://www.gstatic.com/firebasejs/9.15.0/firebase-app.js";
import { getFirestore, collection, getDocs } fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert string time in min:sec:milsec to numeric seconds I want to convert a column of string times in the format above e.g. "1:25:499", I simply want as an output the time in seconds (float) 85.499.
I tried setting options(digits.secs =3) and running strptime(df$times, "%OSn") to get it into an intermediary form to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Call Recording in Android. Code isn't working Basically I'm trying to make a call recorder for Android that record every single incoming or outgoing call but my code isn't working.
Eveytime I make a call, it doesn't show anything or not even record the call.
Here's my code:
MainActivity.java:
public class MainActivi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: nodejs xlsx: get value of input message in data validation I am using node js and xlsx module to read data from excel file.
How to programmatically retrieve the input message that is declared in data validation for a particular cell, using node js?
I did try googling, but couldn't find what I was looking for.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75565984",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I limit the total disk space used by docker? I frequently run out of disk space on my Linux machine because docker stores 500GB+ worth of images, containers, and build cache. This results in other programs and commands failing and me losing work. When this happens, I can reclaim the disk space with docker sy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Problem opening multiple custom profiles with selenium I want to open several profiles
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
# Specify the paths to the Chrome profiles
profile1_path = "C:\\Users\\Administrator\\AppData\\Local\\Google\\Chrome\\User Data"
profile2_path =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: avoid changing of layer names while exporting rasterbrick as tiff I'm creating a raster brick and trying to export it as a tif file. However the exported file does not have the layer names I saved. How do I fix this?
input raster
class : RasterBrick
dimensions : 361, 381, 137541, 31 (nrow, ncol, ncell, nlayer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My peerjs is creating too many client ids. How can I prevent this? Every time a user connects my peerjs terminal goes mad. This seems to impact my video stream as multiple videos appear. Here's an example of the output. How can I prevent this?
Client connected: 2eaceef7-f9ed-447e-9e2b-6317df92ecb8
Client connected: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Clarification on State Creation Operations with respects to API endpoints I am currently going through a book titled Patterns for API Design and I am having a hard time understanding one of the patterns titled State Creation Operation.
A definition they provide
The first pattern is STATE CREATION OPERATION, modelin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Strange chars in response in chrome dev tools What a strange chars in response. I mean: ?, NULNULETX, BEL.
Request is sending to rpc.someurl.bla
Web app works fine with this data.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75565993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Discord bot is sending only one message using setTimeout I'm new to making discord bots. This bot is supposed to send an image every one to three hours. It only sends one and then it no longer does anything.
This is the code:
const Discord = require("discord.js");
const {Client, GatewayIntentBits} = Discord;
const c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't login to parse Xero website with Python Requests Anyone tried parsing Xero.com website with logging in? It uses two-step authentication, but I am getting stuck with 'access denied' response on first step. When sending a POST request with login, password and auth token as payload - I receive 403 Forbidden. I've... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mouse events not triggering for child in flipped SwiftUI List I'm attempting to build a standard chat UI in SwiftUI, with a flipped List for its performance. The List needs to be flipped in order for elements to "stick" to the bottom of the screen when new ones are added, as well as preserving scroll position when m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75565998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Initialise a Svelte app based on a promise I have previously developed several Vue apps using Keycloak for authentication and authorization. For Vue apps, Keycloak provides a solution to ensure that unauthenticated users cannot load the Vue app by only initializing the app when the user is authenticated.
keycloak.in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Failed to build twisted-iocpsupport Windows pip install twisted-iocpsupport
Collecting twisted-iocpsupport
Using cached twisted-iocpsupport-1.0.2.tar.gz (10 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My code does not delete from the XML file and I cannot seem to find out what's wrong This is what the code looks like when ran
Im trying to make my code delete the selected username from the combobox. It only deletes it from the combobox and not the XML File. Any insight on why it doesnt delete from the XML file?
H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I'm using a modal after clicking save page it starts like it's not responding I want to add data from my form using a modal, data added successfully and modal closes successfully but the UI starts like not responding after clicking for the button save.
By the way, I'm using two components here, not one. List categor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extract VPC endpoint IP addresses in AWS CloudFormation I am creating a CloudFormation template to create the necessary infrastructure to host static websites using S3 bucket. The template includes creating a VPC endpoint of type Interface and then creating a Load Balancer. When creating the Target Group for the Loa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: pipenv install django=~3.1.0 command giving error Installing django=~3.1.0...
Resolving django=~3.1.0...
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pipenv/patched/pip/_vendor/packaging/requirements.py", line 102, in __init__
req = RE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I set an attribute of a tkinter element to a variable in python 3.7? I want to use the code w = Label ( master, width=, height=) and set the width and height to this variable: labelwidth = int(20).
Thanks in advance :D
A: Tkinter attributes are like any other parameters to a function/class, and can be set to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I get printf-like warnings with variadic arguments? If I compile g++ with -Wformat on the following code, I get a warning, as expected.
int main(int argc, char * argv[])
{
printf("argc %lld\n", argc);
}
However, if compile the following code, I get no warning.
template <typename... Ts>
void foo(char cons... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What's the optimization rule of rust vectorization? I have some code snippets, some of those are auto-vectorized while some are not. It's confusing.
I test them on my macbook pro m1, and execute command cargo rustc --bin rust-playground -- -C opt-level=3 --emit=llvm-ir to get the llvm-ir and analyze whether it's aut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to read a specific part of a line in python? I have a text file which contains:
abcde:12345
username:123123
I need to only read the part before the ':' in a variable
and read the part after the ':' in another variable.
I couldn't find any way to read a specific parts of the line
A: You can use below python sni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Cloudscrape - Cloudflare bypass isn't working I'm trying to scrape some contents from a website that has cloudflare v2 page (with captcha) with the cloudscrape library in python but also using a paid captcha resolve service like anticaptcha I can't bypass that page and scrape the next one. I'm also using ipv6 rotati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ktor OAuth, cant set User session when I have token So im trying to set up a OAuth way of logging in my Ktor program. Quite new to Kotlin and Ktor so I am having a hard time. I am able to create a token and I get sent to the "get("/callback")" part of the plugin generated code.
But as i try to run the line
call.sess... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using local Excel file to modify file on SharePoint server I have a local Excel file that reads data from a separate Excel file on a SharePoint server. This works great. But is there a way to make changes to the data on the SharePoint server? It seems to be read only. If I change the value of a cell and click "Refre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter project ,asset folder not choosing 2X and 3X folder automatically according to device size.Is is always choosing 1x on every screen size Flutter project, asset folder not choosing 2X and 3X folder automatically according to device size. Is is always choosing 1x on every screen size.
I want flutter to choose ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Iterating through BTreeMap using range() - question on the type being iterated over I am very new to rust and can not figure out the following behavior:
Given this:
let mut map = BTreeMap::new();
map.insert(3, vec!["a".to_string()]);
map.insert(5, vec!["b".to_string()]);
map.insert(8, vec!["c".to_string()]);
Why do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: EXCEL - Is there a formula for TEXTSPLIT from 3 different rows into a sequencing of rows without data /text duplication?
Column A
Column B
Column C
a, b, c
a
a, c, e
b
b, a, d
c
d
e
I can do the textsplit but I want the three rows from Column A to be like in the Column C, combine the three... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to output exact value when i use "floating point" type variable #include <stdio.h>
int main(void) {
float interest_rate, amount_of_loan, monthly_payment, remain_payment;
printf("Enter amount of loan :");
scanf("%f", &amount_of_loan);
printf("Enter interest rate :");
scanf("%f", &interest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I had a search box working on my modal, but now it disappears instantly I have the search-box set to only appear once the mtfButton is clicked and it was working, but for some reason it now just flashes onto the screen and resets. I have tried removing some code, deleting items, and I just can't figure out what is w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: CPU scheduling using knapsack Pseudo Code: Neelsack Scheduling Algorithm.
Input: a)Number of processes(n). b)Burst time(BT) and
c)Priority(PR) for each process. Output: CPU allocation pattern for each
process.
Step 1:Read number of processes.
Step2 :Read burst time and priority of each
process respectively.
Step 3:C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: how to integrate passportjs google oauth20 in expo react native app 2023 so i created all api routes of google oauth20 using passportjs with the help of nodejs now i can't figure out how can i integrate the api in my expo react native app. but i tried to integrate the api in the app but it shows this error [AxiosErr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Check if disk are spinning with Visual Studio Is there a way to know if a physical disk is entered in "stop rotating mode" (low consumption mode after a long time of inactivity) via Visual Basic .NET or C# / Windows 11?
I would like to write an app for Windows 10/11 that shows an icon on the system tray and shows if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Discord music bot joined the voice channel but plays no sound in discord.py @bot.command() #play music command
async def play(ctx, arg):
global vc
try:
voice_channel = ctx.message.author.voice.channel
vc = await voice_channel.connect()
except:
print('Уже подключен или не удалось подключиться')
if vc.is_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Undefined reference error when creating objects and calling methods (VS Code) I am somewhat of a beginner in VS code so I was not able to tackle this issue, I've been getting this error message:
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\PC\AppData\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make widgets appear from the bottom in scrollview in Python Kivy? how cen I make these dynamically added widgets appear from the bottom of the scrollview instead of the top. Kind of like WhatssApp or Telegram or Messenger. I am a bit stuck on this one. I tried with PushMatrix and PopMatrix, but then the text ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Host switches to client camera - Unity NGO I have a camera attached to the player prefab that is instantiated by the NetworkManager.
After the host starts the game everything behaves correctly, but once the client joins the game, the host switches cameras and now both the client and the host are controlling the clie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: develop an Kubernetes application to create deployment of ssh server with its ingress I'm looking for a solution to develop an app which enables me to request as many as I want of containers (pod) and connect to each one of them through ssh.
I receive this error
✘ emo7@emo7-lap ~/dev/docker ssh root@ssh1.mywebsi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In PostgreSQL why are non-repeatable reads and phantoms a bad thing? Reading through the internals of the PostgreSQL, one major problem of concurrency is the phantoms and the non-repeatable reads. Why is that a bad thing? Shouldn't someone see the changes happen in case you request the information again?
A: Postgre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create the database only once instead of three times Suppose I have
class DataBuilder:
def __init__(self):
self.build()
def build(self):
#Place where the logic build the database
and three classes which will inherit of that class
class StrategyOne(DataBuilder):
def __init__(self):
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Retrofit and GET using parameter I want to create a service API with a GET method for filtering data. I created this API using Strapi.io. The Strapi documentation requires using $containsi to perform data filters. I want to replace the forest value with a dynamic value inputted via editText. How do I do that?
This i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i do for getting de current user in EventLister with Symfony6 I wanted to create an EventLister to have the current user, in the controller I can do :
$this->getUser()
then how can i do it in EventLister
please help me
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75566076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Disabling handling of multiple extensions by Apache's `AddHandler` directive I've just been investigating a fairly major security flaw in a third-party application (which I won't identify) build on top of Apache and PHP. The application allows users to upload HTML files which are placed in the filesystem and served... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Shallow copy in Pandas Pandas version 1.5.3
Problem: shallow copy should as result assign values from copied df, which on this example not working:
df = pd.DataFrame({
'A': [1,1, 1],
'B': [2,2, 2]
})
df2 = df.copy(False)
df['A'] = [10,10,10]
result:
df2 :
A B
1 2
1 2
1 2
Expected result:
df2:
A B
10 2
10 2
10 2
b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to check whether a single character matches one of predetermined ones? I'm trying to make a calculator (details do not matter in this instance). I need to check whether a character used for operations matches one of the predetermined operations ( +, -, / and *) and separately for operations (neg, abs). I'm not v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Optimize operation for pandas dataframe , current solution is extremely slow I have a pandas dataframe with geohashes as indexes along with a column called neighbours which stores a list of neighbours for each geohash. There are a few other column as well with metadata for each geohash as well.
The dataframe looks l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to not include C file in arm gcc make-based compilation In my arm cortex-m project, I use cmake to generate the makefile and run make to compile the project. If I peruse the outputted map file from LD, it has linked in an object file that’s not even used anywhere in the project yet, and the name of its one unuse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to close this pop up in IntelliJ IDEA recently I updated my IntelliJ IDEA application and now every time I use parentheses a window pops out as shown in screenshot. Its very annoying as it occurs frequently.
screenshot
the code
Should I downgrade IntelliJ ?
A: It looks like you're having the same issue as thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How read MSR value from C in linux? Searching only i find rdmsr utility https://www.unix.com/man-page/debian/1/rdmsr/ that let me do it by terminal, and it works.
I try to do it in C using msr.h in /usr/src/linux-header.../msr.h but when compiling missing a linux/bits.h. In the program only call rdmsr primitive.
I'm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Querying related posts to a custom taxonomy term getting results from other terms as well In my WP v6.1.1, I have a custom post type place, and custom taxonomy country. Each post can have only one custom taxonomy term selected.
With the below query, I am trying to get related posts from the specific country (Germany... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Functional programming pattern for tabulation in JavaScript I find myself using a pattern like this quite a lot:
const objectArray = [
{ name: "Bob", value: 20 },
{ name: "Jane", value: 15 },
{ name: "John", value: 5 },
{ name: "Jane", value: 10 },
];
objectArray.reduce((result, nextValue) => {
if (!(next... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Dictionary update sequence element #0 has length 1; 2 is required. Which argument am I missing? I've created item-sending POST-form via context_processors and it works perfectly.
But i want to redirect user to new page ( domain.com/work/{work_id}/ ) after sending form and i have a problem with it.
dictionary update ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: stop at the last frame of the update "callback_args" still studying the "Term::Animation" library and would like your help.
I made a fixed loading bar, and another shape "shape" that disappears from from left to right. Since then I've been trying to brake the fixed loading yellow bar when it reaches the end. Because... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What maybe [] id mean in Haskell? Hi i just started learning Haskell from the book Haskell programming from first principles. This is from the phone excercise. Please explain the usage of maybe [] id.
reverset :: Phone -> Char ->[(Digit, Presses)]
reverset (Phone buttons) c =
maybe [] id $ find nonEmpty $ map (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tensorflow: ValueError: `logits` and `labels` must have the same shape, received ((None, 2) vs (None, 1)) I am try traing a model that can moderate texts.
train.csv and test.csv can be found at: Github-COLDatase
Stack:
---------------------------------------------------------------------------
ValueError ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Search TextField for JSON Image not repeatable with using Marvel API My program is simple and my skills are very novice at this point. I've come to a standstill in my app and have searched for an answer if anyone could help I'd be so appreciative.
The app has a search textfield where I can search for a Marvel charac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create an array of JSX elements? Access child component state from parent I'm new to React and I'm trying out functional components. This might be a multifaceted question but here it goes:
I have a parent component and a child component. I made an array with useState that contains the values which each of the child ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |