text string | meta dict |
|---|---|
Q: Airflow - Efficiently generate hundreds of dynamic DAGs I have to create hundreds of Airflow DAGs for multiple customers, maybe thousands in a close future. All of the DAGs are the same, just the client_id is different.
The pipeline is as follow:
*
*Get all the client_id (1 API call)
*For each client_id, get all ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: BCC crash system after changing kernel After I replaced the original kernel by a new one, all bcc programs including the examples will crash, and any other programs which trigger the in-kernel BPF prog will be terminated.
My environment is ubuntu 22.04 and I replace linux-5.15-60-generic by customized configured lin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: PHP Get Token Oauth PKCE I want to get token from Oauth server. I log in the browser using username and password and Oauth server return this url:
http:/example.com/callback?code=D3F7A9B42EA49F92EACC21ECC60AA7187A71DAD85E4478FB8724BB0444054D39&scope=tts_api&iss=https://oauthserver.com
for handle this callback i used... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error: Conflict: Multiple chunks emit assets to the same filename after an upgrade to angular 15, from angular 14, when I run the build of my app (or also a serve), I receive this error
I think that the problem could be a configuration that I should change on webpack config.
This is my file webpack.config.js
const ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does Definition Microservice Make Sense? Let's say that I have microservice project that contains car, garage and definition (to define new cars and garages) microservices. I must create a relation between these two objects. For that, there is an UI screen that you can match the car and garage objects and then it pe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Creating Sine wave Signal in Flutter (FFT) I am trying to create a mock signal to input into my Fast Fourier transform so to test if it is working, though, after countless hours of struggle, I realize that the issue is the signal I generate using the standard formula for a sinewave y=a*sin(bx) in my code I have to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Read binary file in python based on some structure I have a binary file that was created using some cpp code ans structures. Now, I want to read the content of this file in python. I am using the struct module to do the same. But some byte code are strange and I have no idea of how to unpack them. The sample code is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: STM32F103RET6, ST-LINK V2, DEV_TARGET_CMD_ERR, SWD does not work properly I have a custom STM32 board which has basically only the needed components to flash and use an STM32F103RET6 on board. This means, there are only a few capacitors for voltage stability, an 8MHz quarz + circuitry, and a few connectors on it.
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: PyTorch CUDA Out Of Memory error when running multiple passes of inference The issue
I am trying to run inference using a sentence-transformers model on all rows of the scientific_papers/pubmed dataset.
After 177 iterations of the attached code, I get the following error:
torch.cuda.OutOfMemoryError: CUDA out of me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why autopep8 don't format on save? Autopep8 don't working at all.
Here's my setting:
{
"editor.defaultFormatter": "ms-python.autopep8",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"autopep8.showNotifications": "always",
"indentRainbow.colorOnWhiteS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Filter first letters in a column - R Hi I have this dataset;
dt <- data.table(ID = c(1,2,3, 4, 1),
diagnosis = c("A1053", "A10534", "A1034", "A1400", "B1008"))
I want to only choose codes that begin with "A105" (so in this case A1053, A10534) and the code B1008. How can I in data.table make this fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Can't read $0 in ForEach I've got a ForEach that lists an array of colours. In the below example, the Label text will show red, blue etc. but the .foregroundColor modifier doesn't work and defaults to the default in my Color extension.
ContentView.swift
import SwiftUI
struct ContentView: View {
var colors = ["red"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to copy to clipboard in Vim 8.1? Is it possible that this vim version does not support clipboard functionalities?
I've asked ChatGPT and apparently this version does not support the clipboard, but is there a way to solve this? Maybe a plugin?.
When I try "+y or "*y, it says "X lines yanked" and then if I press p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Extract from object only fields declareted type I'm playing with Zod and GitHub's API, I have this interface defined.
interface Repo {
name: string
stargazers_count: number
}
const RepoSchema: z.ZodType<Repo> = z.any()
const ReposSchema = z.array(RepoSchema)
async function main() {
// make an HTTP request.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: trying to create an infinite series of prime numbers in an efficient way Theory: If any number, suppose X, is not divisible by prime numbers which are less than X, then X is also a prime number.
prime = 5
list_of_prime = [2 , 3]
for int in list_of_prime:
if prime % int == 0:
pass
else:
pri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding Contacts to phone via JS I have a web application that needs to add a phone number to the device's contact list. I need a way to display the android or IOS system UI prompt for adding a telephone number to the device.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need CSS help to fix form on mobile view for WordPress plugin B2BKing Request Quote form What the Request Quote looks like on mobile
Hi there. I am struggling to fix the Request a Quote form on my website.
It looks ok on Desktop view, but on mobile it looks terrible (see attached screenshot).
I am using the WordPres... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: PyZMQ asyncio communication between windows server and linux client I've setup a 1:1 connection between a linux client and a windows server using PyZMQ.
On the client side I use zmq.REQ sockets and on the server side zmq.REP sockets.
The server starts up a messageloop which receives requests from the client and subs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Make scheduled local notification in react native/expo repeat every year at a specific month, day and time using expo-notification I have the following code to send a birthday reminder:
await Notifications.scheduleNotificationAsync({
content: {
title: "Its NAME's birthday today!",
body: "Don't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java.sql.SQLException(mysql connector) please note I just started studying Java, and i'm trying to connect my java class to my mySql database and then use the data from the database in my login Frame if they match the TextField for userName and password...
but I keep getting the error message below.
java.sql.SQLExc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: SWTBot select/open view by expanding 'Other' option on the 'Show View' dialog I'm trying to select/open a custom view by clicking the menu Window -> Show View -> Other... and then expanding the tree item 'Other' on the 'Show View' dialog using SWTBot and I could not find a way to expand the 'Other' option on the 'Sh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why sum(args) is okay to run but sum(*args) is not okay def super_func(*args, **kwargs):
return sum(*args)
print(super_func(1,2))
When I run this code, it gives me this error:
Traceback (most recent call last):
File "main.py", line 4, in <module>
print(super_func(1,2))
File "main.py", line 2, in super_fu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: nginx auth_basic is not authenticating I have a fresh install of nginx with the following server definition
server {
listen 80;
server_name mysubdomain.mydomain.com;
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
location / { ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does specifying a constructor as noexcept implicitly result in the nothrow version of the new operator being used in C++? If I specify a constructor as noexcept, does the nothrow version of the new operator implicitly get used when the object is dynamically instantiated?
For example:
class Something {
public:
Some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why does my Spyder IDE not open? Can I fix it without admin rights on my PC? I have been using Anaconda and Spyder for a while now, and Spyder told me to upgrade so I did what it told me, using the conda upgrade command. Now it no longer works. When I try to launch Spyder from a Anaconda Prompt, I get the following ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ant Design Step status not working if Step in child component I have a component that uses Steps from Ant Design. It loads some data and creates Step components in Steps.
export const MySteps = () => {
const getSteps = () => {
// return steps
}
return (
<Steps
direction="vert... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I cast a string with scientific notation to a decimal in bigquery? Say I have a column of strings with a Unix nano format (e.g. 1.60619194118981E+018). What is the best way to convert this to an integer using BigQuery?
A: Simply you can cast it to NUMERIC type.
SELECT CAST('1.60619194118981E+018' AS NUMERIC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Call refresh token every x mins using axios-interceptors I am currently using axios.interceptor for login process similar to this code https://github.com/Naveen512/ReactJS-v18-JWT-Authentication/blob/master/src/components/shared/jwtInterceptor.js. But I need little change I want to call refresh token every 40 mins ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Js filename with white spaces, Not running in node.js When i try to run a js file in node, if the filename contains any white spaces like this (hello world.js) it wont executed and thrown an error like this why ?
PS C:\Users\User\Desktop\leetcode problems> node hello world.js
node:internal/modules/cjs/loader:1042
th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix KeyError? So I'm doing topic modelling on a csv file using gensim for LDA. The issue I'm facing is in Pandas. Here is the code:
d_s['text_clean'] = d_s['text'].apply(clean)
And here is the error:
PS C:\Users\SanchitBhansali\Desktop\Topic extraction> & C:/Users/SanchitBhansali/AppData/Local/Microsoft/Wind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: wordpress mysql rds slow after restoring from dump I have hosted wordpress database in AWS RDS in a t3.medium. I took a mysql dump and restored it in db.m6i.large.
mysqldump --quick --single-transaction --host myrdsdb.crrwsfsdkmf3g.us-east-1.rds.amazonaws.com --user tk --databases wp-staging --password --no-tablespa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Decoding an array containing multiple types Hello does anyone know a nice way to decode the below Json?
It is array with different elements in it.
I tried to decode it using keyedBy for the container but I could not make it work.
For the json example, the first element is a Journey object and an array of Bookings, t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Use wildcard and extraargs I generate code and implementation from several wsdl-files. Is there a way to add extraargs -impl when using wildcard as below?
<build>
<plugins>
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to mount the docker image cache of an EKS worker into a buildah container running on eks to use as a readonly cache? Currently I'm doing docker builds in my CICD pipeline on jenkins, I want to move away from docker with the upcoming removal of dockershim in EKS. I am trialing buildah as an alternative... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular MAT-Table Matrix or Dynamic Table is it possible to create a Mat-Table or normal HTML Table in Angular that can be used with 2 datasources ? One datasource for Rows and one for the columns ? In the single cells i want to add a checkbox, so i can select which person owns the car.
For example:
Datasource 1: Ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add a SONAME to a .so library without reocmpiling I link my Android application against a few vendor libraries, all of them have a SONAME except one particular library. I cannot properly link against it. An output of arch64-linux-android-readelf.exe -d <path_to_lib> looks like that
Tag Type ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to send a NULL argument through a DirectFunctionCall? I'm modifying the function Datum create_vlabel(PG_FUNCTION_ARGS), within Apache AGE.
But sometimes it's needed that one of the arguments to this function be NULL, and there's a check to that, like this:
if (!PG_ARGISNULL(2)) { ... }
The thing is, other funct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Windows Server 2012 R2 - Need to merge unallocated disk partitions without making them dynamic In Disk Management tool of Windows Server 2012 R2 I cannot merge the disk partitions(in NTFS format) with keeping them as basic without converting them into dynamic.
So is there a way to do that without using any third-par... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Build a React Native App That Scans ID Cards That Contain QR Codes I have built a QR code scanner app in React-native, and it gives proper results when I scan a QR code that contains a link, but it is not giving proper results when I scan QR codes that contain IDs and numbers. Can anyone help resolve this iss... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to implement this modified version of an interpolation algorithm on an image (Bayer filtering)? I'm trying to implement a modified version of the interpolation algorithm, where all values from valid neighbors are averaged. Example, in the Green channel: see
But I think I'm having issues when filling in the missi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to configure 16 by 2 LCD with TIVA tm4cgh6pm? I am actually working on display of 16 by 2 lcd using TIVA tm4cgh6pm. I am stuck with this.
I tried some coding from different sources, but none of them worked for me.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: For STM32Gxxx, is it possible to sample (read) GPIO input while pin is assigned to peripheral (alternate function)? For STM32Gxxx, is it possible to sample (read) GPIO input while pin is assigned to peripheral (alternate function)?
For some other MCU vendors, it is possible to read the GPIO input pin, while the pin ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape" I am trying to read a dataset using pandas in python (in replit). but I keep getting error. I am adding r before my dataset path but it not being solved. I am geeting another error.
import pandas as pd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Append text to the end of data I have a script that uses dataTables to display data. In the "callback" section I have the following code.
When the "if statement is true I need to append text "OFFLINE" to the end of the data, example: Some text - OFFLINE.
I know the code below is wrong but how can this be done
rowCal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamically fetching passwords from ansible-vault in a playbook I struggle with fetching a variable from vault file. I know there are many useful information here on stackoverflow already. The reason for opening a new question is because it's a special workflow in my playbook. I'm open for constructive critic to my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Enabling WordPress Plugin in post everything is getting disabled When I enabled my plugin everything is getting invisible in the post page, I tried checking logs but it has silly issues which never effects the plugin.
I tried checking logs but it has silly issues which never effects the plugin.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Mocking datetime.now using pytest-mock I have a function func_to_mock in module module_to_mock.py. My unit test is located in test_func_to_mock.py
I am trying to mock datetime.datetime.now, however, I am struggling. I get the error TypeError: cannot set 'now' attribute of immutable type 'datetime.datetime'.
What am ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to tell SOLR not to match IDs in a field I have a filter query to return all the records matching an id in a field
$query->createFilterQuery('categoryId')->setQuery(
sprintf('categoryId:(%s)', implode(' OR ', $categoryId))
);
this works. But how can I match everything that doesn't have that id? I need to repl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NPM Publish error: You need to authorize this machine using npm adduser I am trying to run npm publish on a package after I've upgraded to node v18 and npm v9.
But I get the following error:
This command requires you to be logged in to https://some-package.com:48082/nexus/repository/path1/
You need to authorize this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What i can to do if my Android Studio don't download? enter image description here
My Android Studio don't download.,namely Android SDK platform.What should i do?
I tried various ways but nothing happened.Please help me
A: The problem is
"Your android sdk location contains non-ASCII character."
"As a matter of fa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jenkins: Prevent rebuild on Git URL change This is the second time our Github has moved to new location.
Last time when I changed the git repository URL on my freestyle build jobs, Jenkins thought these were entirely new sources and tried to rebuild every commit it hasn't already built.
These are thousands.
Last tim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a temporary/semi temporary website that allow videos/picture uploads and could operate a python ML code I am not a dev and this is the first time I am attempting a task like this.
I am currently working on a machine learning model that could take in images and videos on Google colab. I am wondering if it mi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to get a specific value from JSON object? I am running a function which returns json data:
const stocks = await response.json();
let stocksData = stocks.values;
If I print out the result gives a result as:
0 : {datetime: '2023-01-18', open: '1.07940', high: '1.08870', low: '1.07670', close: '1.07970'}
1 : {da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-8"
} |
Q: Recaptcha code is failing on website created using Google sites I have tried to use the recpatcha V2, check box on my Google Site - https://www.filmwrench.com/ , using the embed element.
I have used the code snippet provided here - Automatically render the reCAPTCHA widget . The same code works fine on a wordpress w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: A button that can add person name in Person property in database in Notion I need your help guys. I am in charge of building a workspace in Notion for my team where we can cast our votes on ideas. I've to use the Person property for a member to put their names on it if they like the ideas and use formulas to count. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Font Awesome Icons as pseudo elements in scss file not working in angular I installed fortawesome/fontawesome in angular and tried using it as pseudo elements but that method doesn't seem to work. any workaround?
Works fine if I import it in .ts file and use it simply by referencing <fa-icon [icon]="icon"> .
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# How open form in another panel not work correct like nothing happened when do it
private void DGV_Pat_MouseDoubleClick(object sender, MouseEventArgs e)
{
PL.History.Frm_History Frm = new History.Frm_History()
{
TopLevel = false
};
PL.MainPage.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue with string.Contains and special characters I have a list of objects, those objects have a property named Date which is actually a string (not my fault and I can't change it).
ObjectsList[0].Date returns "08/07/2014 07:55:00", but I don't know why, if I do .Contains("07/2014") it returns true and .Contains("8/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hash Code Builder generate duplicate hash code I want to get 2 hash code of 2 difference group number as below but they have the same result. I can not understand why this happen. Please help to resolve this issue.
new HashCodeBuilder(17, 37).append(8079).append(7540).append(15774).toHashCode();
new HashCodeBuilder(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: include_once returns false, although file is included Here is how the relevant code looks like in my app:
if ((include_once $url) == FALSE)
{
error_log("Error - file not found");
}
When running my app and asking for a specific file, we enter that if block - but the file is included just fine.
Unfortunately, I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Creating a typesafe generic prop component I'm attempting to create a generic component type that can be passed as part of props to another component, think a List component that can accept a number of different Header components.
type PropsA = { text: string } & JSX.IntrinsicAttributes;
type PropsB = { text: string... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to set column header in VBA Userform ListBox? I have a problem with displaying column headers in a ListBox in my userform. Everything is working fine but could not show the headers.
My problem is mention below.
1 Actual Data
2. VBA Code
Private Sub UserForm_Initialize()
Dim ws1 As Worksheet
Dim rng1 As Range
Di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Visual Studio 2022 slow loading of ReSharper extension How can I improve the loading of the Resharper extension in Visual Studio 2022 Comunity when opening a new solution? I have a good computer (AMD ryzan 7, 32gb ram, 1tb ssd)
I expect it to load in 5 seconds maximum, not in 30 seconds
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Schedule a notification daily except saturday, and sunday, Expo notification I'm trying to set a schedule once a day at nine a clock but I want to exclude weekends. I'm using expo notifications in react native:
const scheduleDailyNotifications = async () => {
await Notifications.cancelAllScheduledNotificationsAs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can I correctly solve the problem about freeGlut in my Clion? I have downloaded freeGlut, added the include and lib files to the project, and put freeglut.dll into the cmake-build-debug folder, but the program reports an error saying
undefined reference to `__imp_ glColor3f
I have a feeling that the 'target_lin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Angular not able to see URL path in browser , but routing works I have an angular application , where the routing is using hash based location strategy and useHash is also set to true , in development mode the URL routes come up in browser but in production mode the URL path just stays at index.html , no further ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting this error in JS map API - This page can't load Google Maps correctly We are displaying polygon using drawing manager. Sample is here. We are using free API.
*
*While loading map we are getting error as - This page can't load Google Maps correctly.
*Also would like to have a 'Search google maps' text bo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to filter a Laravel parent model and all its nested child models in one place based on user info? Imagine I have these Models : User, Country, State, City, Library, and we know that they have nested relationships together.
Country Model has many nested child Models that belong to it.
I need to filter all the dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dsiplaying information only for the logged in user I would like to ask for a suggestion on what might be wrong with my code.
I am trying to display data from firebase only for the logged-in user.
Here is a sample of my code
Widget build(BuildContext context) {
double width = MediaQuery.of(context).size.width;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: BGProcessingTask Perform Bluetooth Connection with Core Bluetooth in Swift iOS When app goes to background I wanted to connect bluetooth device with Core Bluetooth, With BGProcessingTaskI was able to perform background task(it executes after 15 min keeping app in background) but connection is not happening it didn't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Writing a function to search for matches in lists I'm trying to make a function that will return true if it finds a match for an item in another list. But it seems like everything should work, but on a call (f1 '(2) '(1 2 3)) return nil
(defun f1 (x y)
(cond
((null y) x)
((equalp x (car y))
(t (f1 x (cdr y))... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Producing JaCoCo unit test coverage report in XML using Android Gradle Plugin I'm trying to add test coverage reporting to an Android app project. The app is written in Kotlin and build with Gradle (Groovy variant) into 5 flavors.
The following Gradle plugins are used:
plugins {
id 'com.android.application'
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Connect mongodb from AWS lambda python using IAM I was using until now pymongo[srv] to connect my AWS lambda to my MongoDB cluster with :
mongodb+srv://username:password@cluster.name/database
Now i am trying to setup the IAM role connection and in this repo there is a connection string such as :
"mongodb://<access_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Optimizing the nested for loop in python im using sentence vecor to identify if sentences in different rows are close to each other.
so there are just 3 columns- ID,Sentance and Venctor. now i want to iterate through each row compare the 1st row vectore will all the vectors in other rows and calculate the distance a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Batch script to automate diskpart commands Hello I want to create a file (batch) that should automate these commands:
Diskpart
Select disk 0
Clean
Convert gpt
Create partition efi size=300
Assign letter=k
Format quick fs=FAT32
Create partition msr size=128
Create partition primary
Assign letter=c
Format quick fs=N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to solve 'lengths' argument should be a 1D CPU int64 tensor Error This error to happen 'lengths' argument should be a 1D CPU int64 tensor
When I try to add a LSTM layer to my BERT classification
def forward(self, input_ids, attn_masks, token_type_ids):
# Feeding the inputs to the BERT-based mod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can i pin the apexchart's tooltip? how can i assign apexchart marker's Onclick function to pin tooltip when i click on respective marker, allowing me to see other tooltips when hovering over their markers and pass onDblClick function to unpin?
somenthing like that: enter image description here
in the example above, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to change the type of several Cells at once in Excel? I'm learning Excel and I want to change all the checkboxes for YES with green background if they are true, and for NO with red background if it´s false. Does exist a way to do it not by hand? I hope so.
I tryed to use macros but didn´t work properl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: chrono convert DateTime to NaiveDate After a while of fiddling, I decided to ask the question here, because - others shallst not waste as much fiddling time as I have.
So, how to convert a DateTime<Utc> into a NaiveDate with Rusts chrono crate?
Here the "fill in the blanks" kind of test code:
#[test]
fn test_utc_n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: Failed to load 'libmain.so' java.lang.UnsatisfiedLinkError: dlopen failed: library "libmain.so" not found I export my unity project as android and made the export as a aar library using android studio. And imported this library to my another android project, but when i try to start the UnityPlayerActivity i am getti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Module not found: Error: Can't resolve 'crypto' after installing redis @redis/client module is trying to import the crypto module but is not able to find it.
When i run npm start I am getting this error
ERROR in ./node_modules/@redis/client/dist/lib/lua-script.js 7:17-34
Module not found: Error: Can't resolve 'crypt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I have a dateTime as an index in a dataframe and I want to use just the hour as the xtick label I have some time series data in a line plot and I want to edit the xticks so they either display the full date or at the very least the hour for each data point. The data is indexed by a dateTime column like this:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: replacing a tcl variable that is already loaded on widget window I need some help to replace one variable that is already loaded on a toplevel/window widget.
I have a toplevel (.), with the title:
set USER "Adam"
wm title . "Main Menu - WELCOME $USER!"
and the variable USER is loaded when starting the program.
if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Download Google workspace group list How to download Google workspace group list, I am not getting options from admin panel to download the group list and associated member list in one click, is there any way to download all group lists and associated member, I am getting options only one by one.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to reproduce python3' round function in C++ With python3 round(x, n) function we can round a float number to fixed decimal places. For example round(2.675, 2) = 2.67, round(2.685, 2) = 2.69. How can I implement such a function in C++? round(x*100.0)/100.0 gives different result with python3. Python's result is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: A wordpress theme or plugin for check barcodes and display thier status Good day to evryone.
I am going to make a site which works on wordprees but I'm strugling to find right theme or plugin. my site has to be very simple.
*
*I have to create a information and link them with barcode
*The client goes site and if ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Power BI Dataset execute-queries API DAX Query Issues I am leveraging the below API to execute queries on dataset:
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries
this is the table on which I want to execute the queries:
Below is the query that I am leveraging/executing :
SUMMARIZECOLUM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I used subprocess.popen in GUI(pysimplegui) python script it is working fine on pycharm and when I make its exe file is making its clone I used subprocess.popen (for open webdriver) in GUI(pysimplegui) python script, it is working fine on pycharm and when I make its exe file is making its clone while clicking on a s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to remove emojies from arabic script in the dataframe Can anyonr please help me and tell me How to remove emojies from arabic script in the dataframe.
example:
input: يااا واجعوط هذا راه باغي يبدع فالسانكيام♀️
output: يااا واجعوط هذا راه باغي يبدع فالسانكيام
I used lots of codes but it deletes everything not En... | {
"language": "ar",
"url": "https://stackoverflow.com/questions/75591648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PostgeSQL create tab There is an entry for creating a database:
create table stack.Accounts
(
row_id int GENERATED ALWAYS AS IDENTITY ,
parent_id int, -- row_id родительской записи
number int, -- Номер лицевого счета
type int, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to loop through a string and select only uppercase letters without removing spaces?in Laravel I have a query with eloquent Laravel Who selects the people who have birthdays today in My db phpMyAdmin, the detail is that in the query it returns a string with everything and characters, how could I eliminate them, t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: drf-spectacular how to have sub tags By using the extend_schema I can create tags for each view
@extend_schema(tags=['mytag'])
def list(self, request):
...
But is this possible to have one tag under another tag?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75591656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: WebStorm cannot resolve relative paths, but imports work fine There is problem with WebStorm warning appears in .scss file (not CSS module) which imports another SCSS files (not modules).
Weirdness #1:
*
*It resolves SCSS file in the same folder by relative path, but can't do the same with SCSS files in sub-folde... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I use formset? I have two following models:
class FabricMaterials(models.Model):
style = models.ForeignKey(style_models.Styles, related_name='fabric_style', on_delete=models.PROTECT)
fabric=models.ForeignKey(Fabrics,on_delete=models.PROTECT,related_name='materials_fabric')
mill_name = models.CharField(max_le... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to only build/check a single package in OCaml? I’m inside a large project with many internal packages. I just want to check/build one of the package. I’ve tried the following while inside the package folder containing the dune file:
*
*run dune build @./check
*the same command but with --root .
the first thro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Univariate Analysis for Features Selection I have a doubt regarding a regression model, especially about the feature selection part.
I chose to use univariate analysis to select the best features, as follows:
for feature in X_train.columns:
model = DecisionTreeRegressor()
model.fit(X_train[feature].fillna(0)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do you get the Bucket website endpoint for an S3 bucket setup for static hosting? How do you get the generated Bucket website endpoint for an S3 bucket using the AWS CLI?
The closest thing I can find is get-bucket-website, but it doesn't return the Bucket website endpoint.
A: Website endpoint format is standard... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL join two tables with SUM based on two conditions (columns) the base table is TABLE_1.
I want to "join SUM values" from TABLE_2 to TABLE_1 based on columns NUMBER and TOOL like IMAGE below.
IMAGE
I ve tried to use LEFT JOIN but didnt get result like this in IMAGE.
Can someone give me a hint or write query for th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL / Posgresql / Sequelize - Are there equivalent conditional operators for "some" or "every" methods? Currently, our database queries rows from two tables. On the backend(NodeJS), the entire data is run through few conditional statements to parse out data. Not the most efficient since if there are thousands of r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Adding a custom filter option in kendo grid i have made a custom filter that looks like this
now when i press filter it gives me back all the options like this
this is my code
{
field: 'Status',
title: localize(_labels.status),
width: 132,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75591677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |