text string | meta dict |
|---|---|
Q: react native access state inside useEffect return(screen pop) assume I have localStream that captured from WEBRTC, I want to clear the stream when user press close button/ or screen pop() by some conditions.
So my code is:
const [stream, setStream] = useState()//will set somewhere
useEffect(() => {
getStream()
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create IBM AppID instance in IBM Cloud via Ansible - Graduated tier I have been trying to follow the ansible documentation here https://github.com/IBM-Cloud/ansible-collection-ibm/tree/master/examples/appid-instance-creation#configuration-parameters to create an instance of AppID on IBM Cloud with "Graduated" tier ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: For keyboard shortcuts "when" expression, how to check if "Fold" is enabled or "folded"? I want to use the same key binding to fold (editor.foldAll) and unfold (editor.unfoldAll) everything in the editor. Here's my current settings:
{
"key": "ctrl+m",
"command": "editor.foldAll",
"when": "editorTextFocus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: @react-oauth/google with nextjs getting 'Cannot read properties of null (reading 'useState')' With Nextjs 13 I am unable to get google O-Auth to work. Using this npm package
The code snippet from the documentation is
import { GoogleOAuthProvider } from '@react-oauth/google';
<GoogleOAuthProvider clientId="<your_cli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using the D2 Diagraming Language, How Do I render a set of shapes between two other shapes I'm using the following D2 Diagramming Code on the D2 Playground with the Dagre rendering engine to represent a partition layout:
nvme0n1: {
shape: cylinder
p1 -> p2 -> p3
}
nvme1n1: {
shape: cylinder
width: 20
p1 -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to run Jupyter notebook from html webpage just by clicking on a button I want to run a jupyter notebook in backend corresponding to an onclick of a button designed using HTML,CSS and JS.
What are options available and how can I do this?
A: This can not be achieved using HTML, CSS or JS because they are rendered... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623129",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: How do you use variables from one method to another? Is there a way to do so if you're using a variable that's assigned to the Math.random function? In my example, I used the Math.random function to declare a number that corresponds to a food that the user has been randomly assigned.
But if I were to make another me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Tungsten Fabric with OpenStack I deployed Tungsten Fabric with OpenStack successfully. But when I create VMs, my VM (ubuntu-server which created in this model, I've configured password) can't connect to Internet and I can't create provider network.
I try to enable SNAT in Tungsten Fabric Web UI. It can ping to Inter... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to create an lv with the same name under the same disk partition in Linux and mount it in a different directory Now I have a disk sdb. I created two partitions, sdb1 and sdb2. I created vg1 under sdb1 and lv-ss under vg1, and mounted it under apps/directory;
enter image description here
Now I want to create an l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I'm trying to add a new entry in wpforms form after creating an account in woocommerce registration form I was able to create an entry in wpforms after a user create an account in woocommerce registration form.
The problem is the entry is blank on wpforms.
This is the code I'm using to add a new entry after the user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to do multiple of 5 on CSV file in UNIX? # Replace the contents of the document in multiple of 5 from CSV
# 1000 username and be multiple of 5 only
cat /usr/share/apache-tomcat-9.0.48/webapps/ROOT/index.jsp
1 username,first_name,last_name,gender
2 username,first_name,last_name,gender
3 username,first_name,last... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delay turbo frame load via scss I have the following scss thanks to this answer:
.hoverWrapper {
display:inline-block;
position:relative;
&:hover #hoverContent {
display:inline-block;
visibility: visible;
animation: tooltipkeys 0.5s 1; //here just... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: handle escape character in json.loads() in python? I have json strings like below:
s1 = {"display_name": "\\\'}
s2 = {"display_name": "C:\\'}
I tried below approach for both strings:
input_json = s1.replace('\\"','\'').replace('"','\'').replace("\\'",'\\\\"')
events = json.loads(input_json)
Expected output -
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Spring Boot with Mongodb is too slow I have a simple web page using Spring Boot with MongoDB.
However, it is very slow while find data from the database.
Searching data : 8k+
application.yml
spring:
data:
mongodb:
host: localhost
port: 27017
database: log-data-base
field-naming-strategy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where do I start as a solo developer given an existing code base? I was just handed a zip file for the repo of a project. Upon unzipping and poking at the files I've determined that:
*
*No one has looked at this code in a year
*Everything is way out of date
*I was given a kobayashi maru that I hope I can straigh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Vertical fade and different color on horizontal How can we create linear gradient with different colors and fade from top to bottom (vertical fading) with qml or javascript?
Or can with fragment? is there any tutorial!!
In other words, combine two images.
UPDATE:
I draw this with illustrator and exactly what I wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular 14 Unit test - NullInjectorError: No provider for UntypedFormBuilder I got this error after migrating my project from Angular 13 to Angular 14
Error:
NullInjectorError: R3InjectorError(DynamicTestModule)[UntypedFormBuilder -> UntypedFormBuilder]:
NullInjectorError: No provider for UntypedFormBuilder!
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to run dag 15 minutes after it has finished (airflow) without trigger? I have the dag that should run every 15 minutes. But every 15 minutes AFTER it has finished.
The problem is that the working time of dag is different every time, it can run like 1 second or 10 minutes. So I can't schedule it like '*/15 * * * ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting empty product list in Shopify Admin API in postman I'm new to Shopify App Development and trying to perform CRUD operation with API.
Below is the URL that i am sending in postman to see list of products in Shopify Store.
https:{api_key}:{api_token}@operation-crud-app.myshopify.com/admin/api/2023-01/products.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why are ref-qualifiers part of the signature for class member functions but not for ordinary functions? Why are ref-qualifiers part of the signature for a class member function but not for an ordinary function?
⟨class member function⟩ name, parameter-type-list, class of which the
function is a member, cv-qualifiers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: How can I add voice instructions in an app? I am developing an application which is an virtual help desk in banks for clearing customer queries
how can I add voice instructions to my app . I need an detailes answer with code explanation since this is my college project
I tried to create an ai in my native language t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: If a process at index 1 is executed from a sempahore's wait queue via signal(), does the process at index 0 also get executed? I'm new to semaphores, so I am not sure if there are different definitions for signal() and wait(). In my textbook, signal() is defined as:
signal(semaphore *S) {
S->value++;
if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to include several licenses when releasing a free software in binary? I'm going to release a free software in binary, which uses code/libraries of several open source projects.
Open source project1: Apache 2.0 license
Open source project2: MIT license
My question is how to include all these licenses when releas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mockito verify() method was invalid when class has @SpringBootTest annotation I'm doing unit test, and from debuging, the commonService.executeCommon("A", "B") is indeed executed, but tests failed with an error
Wanted but not invoked:
commonService.executeCommon(
<any>,
<any>
);
And everything's fine if I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JQ, Create New Dict With Two Unique Select Statements I have a response from the Graph API which contains an array of objects. Each object contains different evidence categories for an alert.
$ cat event.json | jq '.evidence[]."@odata.type"'
"#microsoft.graph.security.userEvidence"
"#microsoft.graph... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how to add if conditions in orWhere db query - laravel 8 I am having search function as -
if (!empty($searchText)) {
$customer->join('details', 'customers.details_id', '=', 'details.id');
$customer->where('name', 'like', "%$searchText%")
->orWhere("details.product", "lik... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I got error when use TextButton on column/row I got error when use TextButton but on previous i don't have issues when use text only inside Column & Row, why this happen?
i should wrap with some widget? or just with container, am confused about it, help me please
let see the code i has implement textbutton
Code
R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: For use with Tensorflow-lite, convert Android bitmap to ByteArray Generated the Tensorflow-lite model file (.TFlite)
Loaded the model file from Android.
I want to read the bitmap file and recognize the image.
What I want is a bitmap of 128x128 size, 3 channels (RGB), float32 type.
Conversion to Bytearray (6608Byte)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: keyedBy is logically partitioned while partitionCustom is physically partitioned? I am reading at https://nightlies.apache.org/flink/flink-docs-release-1.16/docs/dev/datastream/operators/overview/#keyby
It says
Logically partitions a stream into disjoint partitions. All records
with the same key are assigned to the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: dart_frog | How do I define multiple routes in same file? Below is my current routes:
*
*api/v1/users/login
*api/v1/users/register
*api/v1/users/forgot
And so on...
I want to know, how can I create all these routes keeping a single file auth.dart let's say. So that I will be having all the code in single file re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: facial recogniton error, showing all faces as unknown I am testing a code from github for attendance using facial recognition, it only had code to show known faces, then i added a piece of code to show unknown faces.. But now it is showing all faces as unknown.
def start(confidence_threshold=0.5):
if 'face_recog... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to custom Regex City from address column for BigQuery I want to make a regular expression from address column to get district and city which can match text in Following way:
address :
Regency, Jl. Mawar No.1, Kenari, Kec. Percut Sei Tuan, Kabupaten Deli Serdang, Sumatera Utara 20671, Indonesia
Result :
Kabupat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Dialogflow ES Handling no input text based I'm currently working on a project that uses Dialogflow ES as the chatbot and Genesys as the contact center solution. Unfortunately our project only uses text-based conversation so we cant use genesys action to handle no input problem.
What im trying to do is using webhook ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding a clickable icon to footer code on "Thinkific" I am very new at coding and am trying to add a clickable icon to footer code on the website Thinkific. Thinkific allows html and javascript.
The icon I want to use is from the website "FlatIcon", and this is the link to the icon (https://www.flaticon.com/free-ic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix "cannot borrow as mutable" error in trie implementation? I'm trying to implement a trie in Rust to learn the language, especially around recursive structures. In the process, I'm seeing that the add_word method gives me an error. The implementation is
use std::array;
#[derive(Default)]
pub struct Trie {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Different behavior of loop in github action and unix My requirement is to iterate through checked in files in a loop and perform the action:
My GitHub Actions workflow is:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2
with:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use different email address for pushing changes to different remotes in git? I have two remotes for a git repo. One of the remotes is at Bitbucket and the other is at GitHub. Now, I will always push/pull to/from the bitbucket repo and only push to the GitHub repo (You can consider it a backup). While pushing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Data are not binding in observable subscribe function I have trouble to get the data from my below function
// this is the component part
template: `{{ this.claimList | json }}`,
// my variable
public claimList: any[] = [];
constructor(
private service: ClService,
) {}
ngOnInit() {
this.LoadData();
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: fastapi 502 bad gateway (nginx in docker compose) I'm new to docker and trying to run an nginx with FastAPI in a Docker container to handle request.
The problem is that, when I post a request to nginx Docker container, I get 502 bad gateway error all the time.
2023/03/03 04:22:32 [error] 30#30: *2 connect() failed ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel9 How to combine this two controller DateFilter/JoinTable without messing the Reservation ID?
*
*Date Filter
$todayDate = \Carbon\Carbon::now()->format('Y-m-d');
$reservations = Reservation::when(
$request->date != null,
function ($query) use ($request) {
return $query->whereDate('date', $re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reading Table of String Data to DataFrame I have been trying different attempts at converting my table of string data to a pandas dataframe. Every time I try to convert, the result is a dataframe with 1 column but the 1 column is all the data grouped into one column and I need it separated into 13 columns (1 year co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unable to get data for multi_external_select element in a bolt app I have a bolt app with Options Load URL as https://xxxx.ngrok.io/users.
In my app i have:
@flask_app.route("/users", methods=["POST"])
def get_users():
results = search_users(request)
return results,200,{'ContentType':'application/json'}
Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tried to change value in excel using openpyxl, but the str() input was not recognized as string In python3, I try to use str() / "{}".format() to convert an element in a list into string,
and put the string i got into a column in an excel file.
But python seem to not recognized those(by those i mean str(list[0]) / "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Identify patterns or sequences in list using python? Given a long list, is there an algorithm or known approach to identifying patterns or repetitive sequences within a list?
For instance, given the following list:
[1, 3, 5, 2, 4, 1, 3, 5, 8, 2, 6, 2, 4, 9, 1, 3, 5, 8, 2, 4 ...]
... it would return something like:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Install Redhat 9 on hardware problem So I have been attempting to install Redhat 9 on hardware. Specifically on a refurbished office pc. It meets all the requirements. I have been using the minimal install boot iso. Well I’m at the part where you select the install source and it has automatically detected my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Convert space separated list into coma separated list i have pandas dataframe where the row is [“a” “b”]. how I can convert it into the comma separated list like [“a”, “b”]?
I’m expecting to get back list with two comma separated elements
A: If your column contains string like ["a" "b"], you can use str.findall to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firebase messaging service worker "firebase-messaging-sw.js" gets opened when click on FCM Push Notification I have a website www.hotshots123.com.
I have implemented Firebase Messaging and sending Push Messages from Firebase Messaging Console.
As per the documentation at https://firebase.google.com/docs/cloud-mess... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Meteorjs's built in mongodb located in linux vm, How to access by external app Meteor's built in Mongo uses the application port plus one (Meteor on port 3000 = Mongo on port 3001; Meteor on 3009 = Mongo on port 3010).
I have tried to telnet as below result.
Meteor on port 3000 = success
Mongo on port 3001 = fail
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does this code for chain matrix multiplication return a segmentation fault? I was writing a program to execute chain matrix multiplication for number of rows and columns being random numbers greater than 1000. The program performs chain matrix multiplication for 10 matrices all having dimensions greater than 100... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: T-SQL count loop I want to count all the columns in a database table and union the counts together using an iterative method for 15 columns instead of what I have shown in the example.
i.e.
select count(columnname1)
from schema.tablename
where columnname1 is not null and datasource = xxx
union all
select count(co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to send image to server via Retorfit 2? I was trying to send an image to the server using Retrofit 2 and multipart/form-data but getting error "open failed: ENOENT (No such file or directory)". Is it correct to send files to the server like this, or is the problem in the file directory?
fun updateProfile(
fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SettingWithCopyWarning: When trying to modify the date format of two columns of a dataframe I am trying to change the date formats of two separate columns Order_Date, Ship_Date in the dataframe to dd-mm-yyyy format. This is my python code.
# Importing library panda
import pandas as pd
pd.set_option('display.max_rows... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting error in android folder in flutter project. I am getting two different errors in two different folders I think the problem is in somewhere gradle and java link. But I don't know how to resolve this.
I reset my computer somedays before and at that time i had java 18. But now i install java 19.
But After reset... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add a new logger with new feature in a python code import xml.etree.ElementTree as ET
import xmlgenops
import os, sys
from pathlib import Path
import filecmp
import json
import time
BASE_DIR = Path(__file__).resolve().parent.parent
#This program is to collect the audit fields and differences
#The program wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to run .py file in pycharm project directory with a virtual environment in Mac terminal Notice: I just found out that Pycharm terminal runs on x86_64 architecture and normal Mac terminal runs on arm64 architecture.
So I think this question is in the wrong direction. and I will prepare setup.py as @JoranBeasley '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am using middleware api 'api' => ['web','auth:sanctum'] in config/l5-swagger.php. Only after login we can access swagger documentation After login, I can access any API.
Does login automatically render token in swagger documentation?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Check disk encryption is enabled or not / Antivirus is installed or not with JavaScript Is it possible to check Disk encryption is enabled or not with JavaScript (from Browser)
I know that JavaScript has limited capability and can't peek into end users computer.
But some of the VPN providers seems to be able to chec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to reduce query time in mysql? I need to reduce query time from 1.3sec to 0.1sec.
if I don't compare sum(amount) with sum(pd.amount_take) my query time is 0.03sec
My Code sql:
SELECT p.po_id,
date_format(p.po_date,'%d-%m-%Y') AS po_date,
p.branch_id,
b.fullname as branch_send,
p.branch_id2,
bb.fullname as branc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dask explode function similar to pandas I have a dataframe that looks like this
import numpy as np
import pandas as pd
df = pd.DataFrame({"ph_number" : ['1234','2345','1234','1234','2345','1234','2345'],
"year": [2022,2022,2023,2022,2022,2022,2022],
"month": [9,10,1,10,8,11,1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Renaming pakage in javafx I am a beginner on javafx and I use the intellij IDE 2022.3.2 with jdk 19, when I rename the package I received an error: Location is not set.
Could you help me for this ?
How to rename the package without getting this error ?
I tried to rename the pakage and an error that occurs during lau... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: finding average of a specific window I've been told that my code is correct but I keep getting
ValueError: could not convert string to float: 'Value'"
I'm not sure where I am going wrong.
What can I do to turn data from a CSV file into a float?
Code:
filename = input("Temperature anomaly filename:")
list_temp = [... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: thymeleaf TemplateEngine process enter image description hereenter image description hereenter image description here
Why can't you find the file
引入模板代码 输出文件
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How do I pass the data to the json response and to view? I have successfully implemented the fetching of data, Am using loop to fetch the data. how do i pass it to collection;
my data now looks like when i try returning from the controller direct to the view:
0
:
{id: 17043, clinic: 1, patient: 7932, unique... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using uniform_int_distribution in a function I'm using the stackoverflow boilerplate (variable names modified):
std::random_device seed;
std::mt19937 gen(seed());
std::uniform_int_distribution<> d6(1, 6);
std::cout << std::endl << "roll = " << d6(gen); //verifies that the basic generator works
In main(), this w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Reading unknown archive format I came across some .bin files while modding where's my water. I know they're some kind of archive format, because looking in the files in a hex editor shows that there are filenames. I tried opening them as a zip file, but they don't seem to be. I do know what the actual contents of ea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623241",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue in adding 'com.applovin.quality:AppLovinQualityServiceGradlePlugin:+' plugin in root level in Android Studio Electric Eel - 2022.1.1? Trying to integrate the AppLoving MAX SDK in Android Studio Electric Eel - 2022.1.1, but unable to integrate it. Try to add 'com.applovin.quality:AppLovinQualityServiceGradlePlu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are the two axes in the given audio file Plotting? I plotted an audio file using Matplotlib's plot function, and I wanted to know, what can be the two axes, for the given plotted graph?
This is the code used for plotting the graph :
import matplotlib.pyplot as plt
from IPython import display
sample_rate = 1600... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to save split folders in Kaggle? The dataset currently I am working on is not split into train, validation and test sets. So I am using the below code to split it.
import splitfolders
splitfolders.ratio("../input/ekush-dataset/male/male", output="./", seed=1337, ratio=(.8, .1, .1), group_prefix=None)
The proble... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why won't the switch cases run in this java program? the program just stops running.. i believe my professor said that the switch cases are "unreachable" but i have no idea what that even means.. ive been trying to figure this out for so long.. anybody that can help would be great. Ive had many issues trying to get ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Creating a full name from initials and surname haskell As input:
initials = "HB", surname = "Curry"
and output should be the full name: H. B. Curry with a . interspersed between the initials and the surname
I had:
intersperse '.' initials ++ "." ++ surname
which gives H.B.Curry (incorrect because there's no space)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: add padding to ffmpeg slideshow images with different dimensions I have an ffmpeg command which takes 3 audio files and 3 image files, and concats the 3 audio files into a video with length 870.04 seconds, where the images play in a slideshow where each image is shown for 290.015 seconds.
You can copy and paste the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Consensus error while testing the HLF performance As I am trying to check the performance of HLF. while changing the Tps from 100 to 200, we are getting errors related to validation logic and policy failure i.e. VSCC, and endorsement policy. how to rectify these errors?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Taylor series Sin(X) with tolerance with python The task for my problem is to continue the Taylor series until the tolerance value is met.
The first two iterations goes as planned however when c = 2 and onward the x value is not correct.
If the code is executing correct the loop should be approaching tol.
Any help i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: git set upstream branch to branch i want to merge into I mistakenly set my upstream branch to the branch I wanted to merge into and then pushed my commits to the remote branch. However, I now realize that this was a mistake, and I want to undo the changes to get the remote branch back to its previous state. The affe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I fix "Cannot read properties of undefined (reading 'predict')" for Tensorflow.js In short I've have a trained model I'd like to use for detecting different recyclable objects. I have tried different way to load the model and use the model.predict() but I keep getting the error "Uncaught (in promise) TypeErr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Type a.a is defined multiple times on release build I am using iHealthSDK and mobilertc in react native project.Application is running fine in debug mode but there is issue while making release build
Type a.a is defined multiple times: /android/mobilertc/build/.transforms/ad19df845a8c6be1e2fcbb557140a936/transformed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to drop a row in pandas which has a certain column value using method chaining? I have a notebook that I am converting using chaining in pandas. Minimally, it looks like this:
df = (pd.read_csv("../data/stones_raw.csv", index_col=[0])
.drop(['date', 'id'], axis=1)
.fillna({'color':'unknown', 'cut_quality... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a specific FPGA chip I could use to implement a PCI Express bridge/splitter device Specifically I want to take in 4 lanes of PCI Express 4 and have it share the bandwidth with 2 banks of 4 lanes of PCI Express 3.
The idea is to create a PCB that I can use to connect two PCIE 3 M.2 NVME SSDs to a single PCIE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to show the highest average from 2 leagues in sql? I am trying to show the best batter (highest batting average) in each of the 2 leagues I have in my table. Unfortunately, I am only getting the highest average overall. To be more specific I want the result to show the name of the first league, the athlete with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fill DataGridView using Background worker - cross-thread operation not valid Control accessed from a thread In c# winforms application I have datagridview with two dates start date and end date. I need to fill datagridview within the range of date. It takes a lot of time to fill the datagridview and windows form exe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: how @+ line of code works in this scripts and why in some of the code it is used "@" + explain me every line of code def replace_domain(email, old_domain, new_domain):
if "@" + old_domain in email:
index = email.index("@" + old_domain)
# print(index)
new_email = email[:index] + "@" + new_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: phpcs --standard=PHPCompatibility not detecting anything from PHP 8.0+ I am running phpcs with the following command:
php -d memory_limit=-1 vendor/bin/phpcs -v -p . --standard=PHPCompatibility --extensions=php --colors --runtime-set testVersion 8.1
However, it is only finding deprecation and errors for PHP 7.4 a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to animate a React prop value using Tailwind CSS? I want to animate the text "lets gets started" which is a property of a React component. Is there any way to accomplish this?
signin
<SignInCTA highlightText="Welcome Everyone " highlightBtn="Let's get started.">
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Access denied when try to get authorization code into google drive api I am developing a code where I need to access google drive API so when I am trying to get authorisation code at that time I got access denied error from google for redirect uri.
How can I solve this access denied error?
Thanks in advance.
A: Cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: ng-recaptcha (v 5.0.0) checkbox is getting uncheck after spins for few seconds
<re-captcha
formControlName="recaptchaReactive"
(resolved)="addTokenLog($event)"
siteKey="some-key">
</re-captcha>
On click of I'm not a Robot checkbox, it spins for few seconds and then it remains un-checked.
(resolved) method ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# Using query statement as an parameter in class I have a question on the [cmd.CommandText = query] part.
Can we use query as a parameter in class?
I mean like DBConn(query), so that I can use different query every time based on same SQL Server connection.
public DataSet DBConn()
{
string connectStr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Using shellscript as before launch in intellij debug causes CreateProcess error=2, The system cannot find the file specified I'm trying to debug intellij with the below configuration
Now, while trying to add the same script as before launch to the remote jvm debug it says below
NOTE: The working directory path is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: com.alibaba.fastsql.sql.parser.ParserException: syntax error, error in :'CTER SET 'utf8'' `com.alibaba.fastsql.sql.parser.ParserException: syntax error, error in :'CTER SET 'utf8'', expect null, actual null, pos 47, line 1, column 42, token LITERAL_CHARS utf8
at com.alibaba.fastsql.sql.parser.SQLParser.printError(SQ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to control the kafka connection retries in Reactor Kafka/Reactive Kafka I am using Reactor-Kafka in spring boot application. I am trying to handle the transient errors where If kafka goes down then I want to keep retrying to connect to kafka indefinitely.
I have observed the default behavior which is, reactive k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Retrieve absolute paths within a Rmarkdown file I built a Rmarkdwon script that is supposed to be run from every devices. In this Rmd file, I call a R script from an another folder , within a chunck like this:
'''{r, code = readLines("../../lib/script.R"), eval=TRUE, echo=TRUE}
'''
Here, using a relative path al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mongoose watch() is not triggering the insert event The current version of mongodb is 4.4.6 and Data.watch() method doesn't get trigger. I checked with the changeStream and the connection created is fine and there is not problem with it. The stream is also properly created. I tried adding the data from both through ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623308",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: BigQuery - DateTime conversion - How to Exclude "T" within? I have an Excel datetime format field (m/d/yyyy HH:MM:SS) which I am loading as string into a BigQuery table. I want to change this as DateTime format within BigQuery as below:
parse_datetime("%m/%d/%Y %H:%M:%S", <field_name>)
This is returning output which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IsA for subclasses in GTK Rust I'm trying to get a file dialog popup in a Rust GTK application. The window subclasses gtk::ApplicationWindow, but when I try to use it to open the dialog it gets the error
error[E0277]: the trait bound `options::imp::Options: gtk4::prelude::IsA<gtk4::Window>` is not satisfied
--> s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Removing rows when a specific condition is met Python/Alteryx Right now I have a database that auto updates every month with new Adjusted values for the prior month. However, the previous values are still in the database but they do not show as 'Adj' in the column name. Once a new month comes in I would like to remo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Node-Red Postgrestor Every time I tried to save my query to postgres I've got an error it says "error: invalid input syntax for type json" I used mqtt here and I want it to save in my local database. Is there something wrong with my query? I tried it in my pgadmin query tool and it's working but in node-red it's not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "How can I make the CASE statement print only the values that meet the condition?" I'm trying to create a stored procedure that calculates a payroll for me. Currently, the code can determine the days worked, years of seniority, and based on the years of seniority, multiply the salary and show what would be given add... | {
"language": "es",
"url": "https://stackoverflow.com/questions/75623317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create a new entity in Azure cosmosDB Table API using postman I am able to get the list of collection from my cosmosdb by postan via api like: https://mycosmosdburl/dbs/TablesDB/colls
I get the list, but I am not able to find end point for creating a new entry in my table.
When I try to post my entry in the body in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Loading .js files later (after login) usind ajax. (PHP, Vanilla Javascript) First of all: My skills (especially PHP) are not very high. I very much request that the answer be "explained" to me a bit so I can learn something and not just copy-paste a snippet of code. Many thanks in advance!
I've been dealing with thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to make cmdline with bazel genrule concatenate multiple srcs with cmdline options? I have a cmdline tool which can accept multiple inputs with different cmd options.
mytool --include=some_include1 --include=some_include2 --inlcude=... source1 source2 ...
So I have to write a genrule with
filegroup(
name = "in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bing Maps as layer on MapLibre GL I want to render a BingMaps as a raster layer on a MapLibre GL terrain. I know that MapLibre GL is a fork of MapBox GL and that MapBox can do this (or at least I think it can):
https://github.com/mapbox/mapbox-gl-native/issues/5485
Is there any way to accomplish this inside MapLibre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |