text string | meta dict |
|---|---|
Q: how to clone a discord bot user without updating the old name with webook and python I have a problem with the webhook code and it happens every time I want to clone a user:
User name
avatar of the user
the old name is updated: This is the code I'm currently using:
from discord_webhook import DiscordWebhook
web... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MATLAB "Too many output arguments" error when calling a function using feval I realize calling functions dynamically using feval is inefficient but it's quite convenient in my application and works well, except in the case of one function. I just can't see what is causing it. The function works fine when called in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Generating all possible combinations between multiple members in multiple teams I would like to transform the following dataframe in R:
df <- data.frame (project = c("P1", "P1", "P2", "P2", "P2", "P3", "P3"),
members = c("a", "b", "a", "c", "d", "e", "f")
)
into:
df2 <- data.frame (project1 = c("P1", "P1", "P1", "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript array map not working. Not a mistake. I made a test sample and it worked there globalVariables.js for single truth of source
const GLOBAL = {
cacheList: [],
testarr:[1,2,3,4,5],
};
export default GLOBAL;
I pushed a new key to GLOBAL.cacheList from a form data as below.
import GLOBAL from "../globalV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Flutter - AWS Amplify DataStoreException: Tried to get a plugin before it was configured I have seen this error posted and the solution is to add the plugin, but that is what I am doing and still get the error.
DataStoreException: Tried to get a plugin before it was configured.
Make sure you call Amplify.configure(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am trying to use an iterator in a code, I have all of the links necessary at the top of the java code but the code says that it isn't a method public void print Product Details _Iterator()
{
Iterator<Product> it = Stock Demo.iterator(); // <-- cannot be used as a method
while (it. has Next())
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: Is it safe to remove a lock from a method not accessing external state In a class I'm maintaining I have 2 methods using a common lock on part of their codes:
class A
{
private readonly object o = new object();
public void F1(B b)
{
...
lock (o)
{
...
b.Dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: When I used the lookup tool on this it came back as malware, can anyone confirm that for me? My phone is is not working quite right, it’s slow, the battery is crap all of a sudden and weird things are going on. Apps that I had previously deleted showing back up. Old accounts coming back. Deleted texts showing back u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can WooCommerce display pricing based on assigned price tiers Per Brand? My wholesale business carries 10 brands and all customers are assigned a different price tier for each of the 10 brands (so we have 30 price lists to reference). The 3 tiers are Stocking, NonStocking and Elite (or A, B, C). The problem is that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: React-navigation: Deep linking with authorization We were building a mobile app that needs to have different authorization for different type of users with deeplinking. We're using react-native and react-navigation. was wondering what's a good way to achieve this. High level the idea is like this
A: ended up using... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Complication blank when locked My apple watch complication (widgetKit) is blank when the watch is locked. Don't know where to search for the issue so I don't know what code to provide. Timeline Provider or SwiftUI View?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75560824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Compiling curl with libssh2: undefined reference to `libssh2_scp_recv2' In our product we need to have support for SFTP in cURL. I have libssh2 compiling correctly as Shared and Static Libraries. When I try to compile curl, I set the includes and link in the libssh2 and openssl libraries. This is the script that som... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I debug my Lambda locally, If I don't use API Gateway How can I debug my Lambda locally, If I don't use API Gateway
I have some Lambda function on JS code, now I can test it using simple invoke in AWS console and watch logs in CloudWatch, but after each changes I need to deploy it
I want to know, can I run t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make regular array table using JavaScript
I have been unable to find a satisfactory solution to creating the aforementioned table array.
I think this is a simple and interesting problem for senior developers, but it is difficult for me. I hope to be able to solve it soon.
Really sorry for my poor english.
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Unable to access jarfile in R I am running a java command in Rstudio, as system("java -jar ~/OneDrive/Documents/NaCo/Assignment_2/negsel2.jar -self ~/OneDrive/Documents/NaCo/Assignment_2/english.train -n 10 -r 3 -c -l < combined.test").
Where the location of the jar and the file is as follow
However, I am getting a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use GAM function by group I have a tree growth database containing the number of cells in every growth stage (enlarging, thickening, mature) for every DOY (Day of the year) for every tree and every year (6 different trees per year, 10 years, 60 trees in total). We went to the field to take samples every 1-2 weeks as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: getSheetByName not finding the sheet even though it exists Hello I am driving myself crazy with this. Basically I am trying to write a script that copies a spreadsheet template and a form template, creates a tab for the form responses in the new copy of the spreadsheet template, and then renames the form responses t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: apach/spark-py docker image ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied I'm trying to run my pyspark test suite in docker via apache/spark-py.
But when I try to install dependencies via interactive shell I get the following error:
% docker run -it apache/spark-py:v3.3.1 sh
...
s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FirestoreReactiveRepository with subcollections I am working with FirestoreReactiveRepository, I need to access the "multimedia" subcollection but I have not found the way or to map the entity, the subcollection always arrives null
Firestore:
firestore panel
path:/products/22dQxX97hBpz1PcrvZlq/multimedia
Parent enti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NestJS Testing Module can't mock HttpModule It is strange because the ConfigModule seems to mock as expected. Not sure how a circular dependency could be the issue here as it is not possible for HttpModule to import my service?
error:
Nest cannot create the RootTestModule instance.
The module at index [1] of the Roo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Schema not loading in local environment I am a recent grad of a full stack bootcamp, working on an existing Ruby Rails project. The problem I'm having is the database is not loading the schema. Ran:
*
*rake db:migrate
*rake db:schema:load
I see the schema load in the terminal with all of the seed data but does ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Horizontal Scrollbar doesn't work. (Tkinter Python) def openEditWindow(self):
# Crea una nuova finestra per la modifica dello studente
self.editWindow = tk.Toplevel(self.master)
self.editWindow.title("Modifica studente")
self.editWindow.geometry("500x400")
self.editWindow.resi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to chain two middlewares in next 13? The docs advise to use conditional statements for using two different middleware
In my use case both middleware should run on all routes one is used for auth and the other one for i18n
The auth middleware is provided by Clerk and the i18n middleware by https://next-intl-docs.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: SQL Query - Why is the outcome different? I expected the same results but it seems like I'm not understanding why the queries don't give the same results. What is truly the difference between Query 1 vs Query 2 vs Query 3. Query 2 and Query 3 give the same results but Query 1 gives less results.
SELECT A.ID, B.ID, A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React Query - Slow performance with many small cached requests I have a list of accordions. Every accordion have items that contain image.
On accordion click, I fetch items text data and image id to speed up list loading and load images later.
Inside an item, I use image id to fetch an image per item. Image is in ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CircleCI error :/bin/bash: line 1: ((: Not Found == 1 : syntax error in expression (error token is "Found == 1 ") CircleCI received exit code 0 I'm debugging a CirclceCI pipeline failure error with a friend. My friend has a 'revert-migrations' command in a .circleci/config.yml file that setups the project for buildi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change Font Size and format Based on the code below, how can I change the font size and format?
For the size I tried:
Approach 1 (didn't work)
.text-large {
font-size: 150%;
}
Approach 2 (didn't work either)
html {
font-size: 16px;
}
Code:
a {
color: white;
}
.footer-background {
padding-top: 20px;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NextJS get auto translate pages in app folder so I am using NextJS beta (13.2) and followed this little guide provided by NextJS https://nextjs.org/docs/advanced-features/i18n-routing
I do wonder something, I want to have the ability on my website the have translated URL, so if a user is on a ..../car and he switche... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UPDATE to table is creating new row instead of just updating Whenever I go to update a row on this table, it creates a brand new entry instead. I, of course, just want it to update the information of the existing row. I think it might have something to do with the update trigger (someone else programmed that a long ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Import a .js file into another (JSLINT doesn't recognize the "Import" key word) I am trying to import a .js file into antoher.js file. JSLint is throwing errors and doesn't seem to recognize the "import" statement
import "./Scripts/dompurify/purify.min.js";
(function ($, constants, appUtilities, window, confirm) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SwiftUI: Passing @FocusState in custom textfield class from parent class I have created a class for a TextField and I am trying to use @FocusState for my class. The requirement is to use this custom class in a parent view like below -
Here is the custom TextField class -
struct FloatingPlaceholder: View {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Read data from df and pass values in for loop in Databricks I am new to both databricks and python,
I have a requirement where in I have two data frames one is Raw_data and other one is val_data (sample image attached).
val_data sample
Raw_data sample
Now val_data df will tell us what validations needs to be done fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jupyter-lab accesses a different Python/terminal version than the terminal itself. Why and how to fix it? I'm using macOS Ventura 13.2. In the console, I get...
> which python
/opt/homebrew/bin/python3
> which jupyter-lab
/Library/Frameworks/Python.framework/Versions/3.11/bin/jupyter-la
...but within JupyterLab, I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to store pdf files in firebase? I am trying to store a base-64 encoded pdf file into firestore, but the base-64 text is too long to store to the database is there a way to compress the text before storing?
I tried the main program at first this is what I got:
Uncaught (in promise) FirebaseError: Docum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: install R binary package with dependencies Short question
I am building a package foo. I want to distribute the binary package for foo. Does installing the binary package using the following command automatically install the dependencies? Is there a way to distribute the binary package so that the users don't have t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ldap3 getting LDAPInvalidFilterError('malformed filter') I retrieve members of a group and their sAMAccountName (NT Accounts) I run the following code takes from: https://itecnote.com/tecnote/python-ldap3-python-search-members-of-a-group-and-retrieve-their-samacountname-active-directory/
I'm getting user name as out... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Method to split a string of numbers each time the next character is different from the previous I have a string of numbers like this:
1113213211
I want this to be split up in columns (I am using Google Sheets) so that the results would be this:
Original
A
B
C
D
E
F
G
1113213211
111
3
2
1
3
2
11
I found t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tap Gesture cause View to disappear in Preview I have a View like this:
struct MyView: View {
@State private var showView: Bool = false
if !showView {
VStack {
Text("hello")
Text("there")
}
.onTapGesture {
showView.toggle()
}
} else {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "this" in Arrow functions , function function makeCounter() {
return {
count:0,
counter:function(){
return ++this.count;
},
counter1:()=>{
return ++this.count
}
}
}
let counters= makeCounter();
console.log(counters.count)// 0
cons... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Failing to fetch data from Axios using Redux im trying to make a axios request to my eccomerce api using axios, but its returning empty, i tried many things but its not working, these are my files:
Store.js(i tried to use configureStore but it was getting errors):
const reducer = combineReducers({
products: prod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert \ud83d\udc7b back to in python How can I decode the javascript code back to the ghost emoji in python
I tried putting that directly in print, but yeah did not work
tried even:
import emoji
print(emoji.emojize("\uD83D\uDC7B"))
both resulting in:
UnicodeEncodeError: 'utf-8' codec can't encode characters in p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Attach All Files from Folder A client prefers their weekly invoice attachments sent in a single e-mail.
I set up the system to send all invoices to me so that I can attach them to a single e-mail.
The macro I created saves all the attachments from e-mails in a specific Outlook folder to a specific folder on my compu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pin Firefox Add-on using Intune policy Title is essentially what we're looking for. I have already successfully deployed the add-on itself via a Configuration Profile using Mozilla's documentation for creating a custom ADMX policy.
https://github.com/mozilla/policy-templates/blob/master/README.md
What I'd like to d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to format and color monetary numbers in Pandas dataframe? I'm trying to apply formatting to a pandas pivot table so that it has color formatting and number formatting with commas, no decimals, $ in front of the number and parenthesis for negatives.
import numpy as np
import pandas as pd
money = [10000000, 2200... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pass a string into a Python Thread function How can I pass a variable into a Thread?
from threading import Thread
import time
def test(word):
for _ in range(10):
print(word)
time.sleep(1)
word = "hello"
Thread(target=test).start()
word = "bye"
Thread(target=test).start()
The output should be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Batch delete task lists I had a Zapier action that created 100s of gtask LiSTS
I deleted them manually which took hours but they returned
Any have a way to delete a set of lists by mass
I found them in files data. Jason and deleted them but they returned
I think this is a local file
Searched local drive for the lis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a group or category column based on certain conditions in a pandas dataframe? I have a column of vehicle names and I want to group them into certain categories in a new column. I have created a list of these categories and using if statements to populate the new column. somehow it's not working and giv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I send a curl request without content-length? I tried multile ways to send a post request using curl without curl but I am getting the header.
Method1:
curl --ignore-content-length --request PUT somehttps-domain/ignored-content-length.txt --upload-file ignored-content-length.txt -kv (I m getting actual content l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there an automated way to update the SSH name when starting or restarting a Google/AWS cloud instance with the public IP address of that instance? I often have a set of spot instances in stopped state at Google Cloud or Amazon AWS for various specific reasons.
When I start those instances I typically look up its ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tailwindcss darkmode with NextJS server components With the new NextJS beta I was wondering on how to handle darkmode as we now have client and serverside components.
How do you guys use it without having any flicker when the user loads the page.
Ideally we save a localstorage/session cookie to save the data, but th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I show progress for each computer where the password was changed successfully Given:
PowerShell 5.1
Azure DevOps 2020
Windows Server 2016 Standard
Is there a way I can output message for each computer that successfully updates the LocalUser?
Invoke-Command -ComputerName Computer1,Computer2 -Credential $creden... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Cannot handle 409 error In React using Axios I am trying to handle the 409 error that receives in frontend, but nothing shows in the frontend, I just get a 409 (conflict), but no toast is shown.
THis is the only thing that shows in console, but none of the toast shows up.
Express.js
return res.status(409).json({
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: header=None not working as intended in Pandas When loading a CSV first line is being turned into the header, even when using the command header=None
1st 6 Lines of CSV
"L","65496","56","17","2","1","2","2","2","1","2","2","2","2","2","202210024616","10/07/2022","11/04/2022","6401 30TH AVE S","","Seattle","98108","",... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Passing argument for fopen() in C issues I'm working on a function that is supposed to read a file and I need the first line of the text file to be converted to an integer. The function takes the file in as a parameter, char *filename.
However, I'm getting an error when opening the file.
The error is the following: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: GCP Credential null when configured on yml i'm trying to access a gcp bucket on cloud storage using spring cloud...
The thing is when i run my app with the env GOOGLE_APPLICATION_CREDENTIALS=/User/Downloads/key.json
the storage object loads the credential correctly
enter image description here
But if i copy the json... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Drop duplicates in a subset of columns per row, rowwise, only keeping the first copy, rowwise only if every column has the same duplicate This is another extension to my previous questions, Drop duplicates in a subset of columns per row, rowwise, only keeping the first copy, rowwise and Drop duplicates in a subset o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: The calculated field on my django admin page is returning the average grade for the wrong column I'm trying to add a computed column to one of my models on the admin page, specifically adding an average mark from a foreign key in my Mark model, and adding it to the relevant Student in my student model.
When I run an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Unbind Key from Specific App in Ventura I use an app called Keysmith for assigning some AppleScripts and such to keyboard shortcuts. It has a serious issue, however. It overrides the Command + , shortcut always to open a list of its shortcuts. This is incredibly vexxing as I can't quickly bring up the options... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Property 'TextInput' doesn't exist in React Native Trying to set up a login screen for a social media app that I'm building and have a LoginScreen.js and a RegisterScreen.js with forms for email and password, but whenever I try to render I get a Render Error telling me that "Property 'TextInput' doesn't exist".
Here... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to force stop an app with Android Studio to test background lifecycle mechanism? So I would like to test what happens with my application when the user puts it to the background and after a while the OS would free up memory thus kill the app, and I would like to re-open it again to see whether my states are rest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Update dynamodb attribute with long data type using dynamodb mapper I have a Java POJO for writing into dynamodb. The DynamoDB is being updated by 2 different AWS lambdas from 2 different AWS SQS. I am using dynamoDBMapper to save record into dynamodb. The mapper config looks like below
DynamoDBMapperConfig mapperCo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do i create a private blockchain on bitcoin-core? I want to setup a private blockchain on bitcoin. I did some research and found out that we have to generate our own genesis block but how do i do that,also how do i run other bitcoin nodes on my private blockchain.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75560921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: AppLocalizations.of(context) returns not a constant expression I've followed Googles Flutter Internationalization tutorial but does not seem to get the following to work:
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
... .
@override
Widget build(BuildContext context) {
return Container(
ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problems with peer dependencies while installing AngularMaterial I'm trying to install Angular Material on my project with npm and i'm kinda newb using this.
I've tried to use: ng add @angular/material ,but installs only @7.0.0 version and i need some of the new components. So, i've used: ng add @angular/material@15... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to incremently update pretrained bert model transformer in google cloud without reuploading When the user fine tunes the model I want to save the updated version in the cloud. However, it takes a very long time so I want to only upload it incrementally without uploading the entire 400MB model again. I believe I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Calculation Solvation Energy using RDKit Maybe they can help me here. I have a set of molecules for which it is necessary to calculate the solvation energy in acetonitrile (this is a solvent). I was advised to use rdkit for this.
Since I don't know much about programming (I'm a chemist after all) I decided to use ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My data is not being saved on sql meanwhile my php code is connected to it Given below is the html and php code for login but it is not entering data on my sql server meanwhile connection is succesful
and how do i enter checkbox valued in php code
<?php
include 'connect.php';
if(isset($_POST['submit']))
{
$email =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I have a problem with understanding the output of my bash script #!/usr/bin/bash
PS3="> "
games_path="$HOME/.local/share/Steam/steamapps/common"
cd $games_path
echo "Choose title"
select game_title in *; do
appid_file=$(find "$game_title" -name "steam_appid.txt")
read appid < "$appid_file"
printf "Running ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FirebaseAuth.currentUser as a Flow? I'm trying to implement Firebase Auth to my project, and I'm trying to create a flow with Firebase current User. But I can't obtain in real time the user in my viewmodel. I have two buttons to login and logout and another to get a Log with the currentUser, but when I login and log... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to skip over nodes for insertion sort of a doubly linked list Trying to implement Insertion sort function for a doubly linked list, can't get out of the bubble sort.
After every iteration of the 'swap' it is supposed to print the whole DLL, hence why I have a print in the middle of the for loop, however I can't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why did I stop receiving data after sending Ctrl-C over telnet from Linux? I have the simplest C# program that reads bytes from a NetworkStream and sends their textual representation back:
using System.Net;
using System.Net.Sockets;
using System.Text;
var listener = new TcpListener(IPAddress.Any, 5050);
listener.St... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to click on save as after right click anywhere on a webpage using selenium python I have written the below code to save the webpage as html using selenium python. so far i have reached till opening a website then right click and but not getting how can i click on save as button as the cursor doesnt move after ri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: SAS Proc Append Column format change I want to upload a table to Netezza SQL server. However, within my table I have 1 column which is of character format with len=20. However, in Netezza, I want this column to be in BIGINT format. Can I convert this specific column in proc append from Char to BigInt when appending ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why won't my widgets show up on my toplevel I'm making a text editor program in python and I want a preferences window to appear when you press Edit > Preferences, the window appears, but the widgets I added don't.
def OpenPrefs():
pref_window = Toplevel()
pref_window.title("TextWrite - Preferences")... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a state object during composition without using remember error In my Composable I'm getting an error that I'm creating a state object during composition without using remember. It still compiled and seemed to work as desired. I tried rewriting it to satisfy the error. 'val list' is of type Snapshotstatelist... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Inserting equation from VBA into worksheet adds "@" operator I'm trying to insert an index equation from VBA into cells in a table, but when I run the code it adds "@" operators to the front of the indexed worksheet names. Example:
Range("V14") = "=INDEX(SCHEDULES!$F$7:$F$62,MATCH('DESIGN CONDITIONS'!$H14&'DESIGN CO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: enableCellChangeflash is not working on update with ag-grid I am exploring ag-grid and for the life of me cannot get any cells to flash on an update. The example code works in the documentation but it's triggered via a button click. If I'm fetching data periodically and updating the grid with gridOptions.api.setRowD... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to perform this replacement on a string only if a sequence of characters is separated from another substring by 2 or more words? import re
def person_identification_of_personal_pronouns_le_and_les_func(input_text, number_of_people_involved="singular"):
if number_of_people_involved == "singular":
as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Nextjs 13 & react slick Hi its mi first time using nextjs, when try use React-slick get next error
If this package cannot be used in next, could you tell me some functional alternatives in nextjs to create this same type of carousel?
This is the error
error - node_modules\react-slick\lib\track.js (26:112) @ _inheri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Questions regarding image slider code in css link to image slider - https://codepen.io/huijing/pen/GvNLJm
question regarding above slider :
How is hidden animation working ? What is the point of going from z-index: 2; to z-index: 2; ?
html {
box-sizing: border-box;
height: 100%;
}
*,
*::before,
*::after {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you modify a QListWidgetItem class in Pyside6? In my program,I want to create a list (QListWidget) with modified list items (inherit QListWidgetItem) using Pyside6. The following code wants to modify the items so that they can show two images. But it is just an example, it is more how you create modified list... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to get the simplest way of making this number table constructor to work... in Lua I wanted to find out the simplest way (so that, ideally, everything could be wrote in the same line) for construct a table of superscript numbers that I can easily use afterwards up to at least 99, but it's not giving to me the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How best for EC2 Image Builder in one account to update Launch Templates on other accounts? I have one AWS "infra" account that runs Image Builder to make nightly AMIs. These AMIs are shared with three other environment accounts (dev/stage/prod). These three accounts use the AMI in a Launch Template that backs an Au... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I am having problems trying to exchange keys between two centos 7 servers I am trying to set up passwordless login from one server to another remote server. However, I am getting an error message. See the screenshot but it says "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: WTForms prevent harmful input in StringField and TextAreaField I'm looking to sanitize text input from the user using WTForms. My concern is to prevent the user from entering harmful text (either SQL injection or Javascript injection) into my TextAreaField and StringField. I would still like to allow the user to inp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Where can I set node variables in the project directory? Key points:
*
*This is not a react project, so I can't set it in scripts in package.json. So I don't have a "start" script.
*I suppose saving in .env, won't work for me, because these are being accessed only by process.env.[var].
3.I have created a bash sc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Firestore Snapshot Listener doesn't make a call and returns empty list I've been told adding a snapshot listener instead of doing an get() and await() will retrieve the database values just as easily, but so far it's done nothing.
The code that works:
override suspend fun getAllAppointments(): List<UserAppointment> ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to preserve selected value of a select controller in a Razor Component? There is the following Razor Component:
@using System.Collections
<h3>User</h3>
<div>
<label>Role:</label>
<select @bind="SelectedRoleId">
@foreach (var role in Roles)
{
<option value="@role.Id">@role.Nam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Check iOS Version before declaring a stored property I'm trying to use the new PhotosPickerItem in my SwiftUI app but this type is available only with iOS >= 16.0.
I need to make the app available for previous iOS versions as well but I don't know how to declare two different stored properties in my ViewModel depend... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Flask Form still has data after a redirect After submitting a WTForm, users are redirected to a new page with a message. However, they can go back a page, and the form they just filled in will still be populated.
@app.route("/about", methods=["GET", "POST"])
def about():
form = FeedbackForm()
if form.validat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to retain the compression method of picture A and reconstruct picture B Here is a question about LIBJPEG, I want to compress "org.bmp" through the compression fingerprint of "temple.jpg" (DQT, SOF, DHT and other information). That is to retain the compression method of "temple.jpg" and reconstruct "org.bmp". Can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to apply styles only after page is fully loaded in nuxt.js? I have a navbar that needs to be transparent only in homePage. The problem i am facing is that, when i click to go to the homepage, the styles are applied instantly, before the homepage is loaded. This results in an ugly navbar for a few miliseconds bef... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to interpolate position using velocity and position samples I have a dynamic dataset of length n, which is greater than or equal to one. The dataset contains m-dimensional position and velocity values for discrete time.
import numpy as np
times = np.array([t1, t2, ..., tn])
positions = np.array([[p11, p12... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: nullable Promise with a non-nullable payload + unwrapper function infers `unknown` instead of the payload type This example fails to compile on Typescript 4.9:
interface Wrapper<T> {
wrapped: T;
}
const p: Promise<Wrapper<string>> = Promise.resolve({ wrapped: 'foo' });
async function unwrap<T>(value: Wrapper<T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Learning How to Use the Reddit API I am trying to learn how to use the Reddit API
I registered for the API through my Reddit Account (https://www.reddit.com/prefs/apps):
*
*secret: ***
*personal_use_script: ****
Using the following link as a reference ( https://alyssafuward.com/2019/02/09/access-reddit-data-u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I properly include a custom field in the new_order API payload for an enumerator custom field type? The Sticky.IO API V1 documentation is not clear as to what the structure of the custom_fields JSON node should be. I have had success submitting custom fields for the plain text custom field type, but have fai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: An Unreal process has crashed in unreal engine 5 after pushing to GitHub, are there some good ways to solve it? The following is the error:
LoginId:a005eafa4b272e7e8ecde298de7eed2c
EpicAccountId:052bdbf235cc467b80515711fbb0e46f Assertion failed: !bInstancedStereoEnabled || (bInstancedMultiViewportEnabled || bMobileM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75560997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Method chaining df. duplicate every row 3 times I have the following data frame:
Data Frame:
id animal
1 dog
2 cat
3 rabbit
4 horse
5 fox
I want to replicate each id 3 times. How can I do this in pandas using method chaining?
Expected output:
id animal
1 dog
1 dog
1 dog
2 cat
2 cat
2 cat
3 rabbit
3 rab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: NDIS install and compile for xp I installed winpcap 4.1 on windows xp which includes ndis 5, but I can't find 32 bit mingw32 that has headers to build driver with for xp. (I need mingw) also after winpcap installation, gcc driver_ndis.c -lwinpcap be enough for compile?
For example, if i compile this with gcc I am m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I have a function that give numbers in 2 arrays I have a function that give numbers in 2 arrays but the second array does not take all the given numbers. Any ideas what's happening?
I try this
struct array
{
int (*list)[N];
int (*mlist)[N];
};
int input(struct array x){
int i, j;
printf("Give the in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |