text string | meta dict |
|---|---|
Q: If I just want to use current version of files, do I still need the objects under .git/lfs? Use an example to explain.
I use these commands to download bart-large from huggingface:
git lfs install
git clone https://huggingface.co/facebook/bart-large
The downloaded folder bart-large has size of 11 GB. The size of .g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: boto3 s3 client client.get_bucket_logging in below code how can i get only get output
TargetBucket & TargetPrefix
I did google but not getting the info , on how to pull only TargetBucket & TargetPrefix , the code below works well & give details i need.
I did similar extraction on boto3 client ec2 like below, That i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How assign value to the variable which present in text file using command prompt? Inside the text file, I have one value of 1.0.78.2. I need to this value to one variable called versionnumber using the command prompt
I need to know how to write in command prompt
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75596601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: function delimiter input js I have a JS function of an input text area in my source code, I'm having a little problem, below I put an example of how I wanted to leave the input, every 60 characters it gives a \n, I'm trying to change that and leave a *\n but it doesn't work, it only works with \n, could you tell me ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Sequalize associations do not create automatically methods I have two database models - User and Profile, where Profile has a foreign key - user_id - referencing do user. My models:
import {
Model,
InferAttributes,
InferCreationAttributes,
CreationOptional,
Sequelize,
DataTypes,
} from 'sequelize';
impo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to extract array from object in Javascript-react native I got below object from expo-image-picker-multiple, I want to get an array that doesn't include the "u, V ,W", from below since they are giving me bugs, I only want to extract the objects as array and use it to display the image locations, or how can I mak... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: js not setting correct value to div.style.top
function gamestart(){
var gr;
var gr = true;
console.log(gr==true);
if(gr == true){
console.log("we have activated pointer key detection dear Mr.ketsebaot")
document.onkeydown = checkk;
}
}
function checkk(e){
console.log(e.key... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why isn't Unreal Engine 5 widget mode allowing me to put in new text or change the color or change the wording of the widget? Why isn't Unreal Engine 5 widget mode allowing me to put in new text or change the color or change the wording of the widget?
I'm here to make it work again for me.
A: You used the property... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PySpark: unclear error message when using spark.sql I am using spark.sql to perform data manipulation as following
from pyspark.sql import SparkSession
from pyspark.sql import functions as fun
from pyspark.sql.functions import lit
from pyspark.sql.functions import expr
import pandas as pd
dt_orig = spark.read.parqu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React-Native modal doesnt show on IOS and app freezes When I press a TextInput that is wrapped around a TouchableOpacity tag, I can see it blinking (the touchableopacity effect), but the modal that is supposed to become visible does not appear on IOS, and the app freezes
(as if there is an unclickable modal covering... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter: How do I use the BatteryManager class inside this .jar file? On the Honeywell website they provided an Android SDK. I downloaded this SDK and imported the .jar file as a dependency in my project. I placed this file inside my project folder in android/app/libs/Honeywell.jar. How do I use the BatteryManager c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why am I getting a "TypeError: Cannot convert a Symbol value to a string" when attempting to create a clone of the Vuex store in a Jest unit test? I have a working Vue 2.6 / Vuex 3.6 / TypeScript application. I wanted to add some unit tests to it before doing some complex refactoring. Once I had Jest and Vue Test Ut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why can't the login form be filled in, and I see there is a dynamic Puppeteer I want to do input like the one in this picture
const ele = $('#oauth_form > fieldset.sign-in > div > input[id="username_or_email"]')
if(ele.length> 0){
ele[0].value = 'Halllooooo'
}
Puppeteer
async function main() {
const... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to pass the logged in username from Power Bi report to azure analysis service? The task in my hand is to individualize the power bi report based on the logged in user i.e., logged in user should view only the data related to them. We are using Azure Analysis Service(AAS) Database as a data source for the report.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using generics, to strongly protect steps in a workflow system? Trying to grow my understanding of TS's generics system, with a hypothetical workflow system with series of steps. Starting with a step of a type Step<TInput, KOutput> where TInput and KOutput data that the a step requires/consumes and outputs/produces.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamic dropdown box assistance Google Sheet I have having difficulties with outputting a checked box list in a dropdown list for Google sheets.
No matter how much I try to fiddle with the parameters, I think it's better if I could get a definitive reason why it won't return the list I want to help me solve this.
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Migrate from Godaddy hosting to Microsoft I am tasked to move domain, web, email hosting in Godaddy to Microsoft.
I'm not sure of where to start but this is what I have and know.
*
*we have a domain name(xxx.com) hosted in Godaddy.
*we have website hosted there(www.xxx.com)
*we have emails created there- 14 u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: difference between pipe line operators %>% and |> in R? I was thinking of stop using magrittr library since now we have |> operator.
But apparently they are not the same - the new operator produces error. See below
library(magrittr)
library(ggplot2)
library(data.table)
diamonds %>% setDT
# runs ok
diamonds |> ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot find 'ContentView' in scope with UIKit and SwiftUI I am trying to learn coding with swift using this video tutorial
https://www.youtube.com/watch?v=kecV6xPTTr8. I created my app folder, as I have called it, in Xcode as a newproject in iOS, writing ContentView.swift as follow
import UIKit
class ViewController... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DigitalOcean spaces presigned link upload failing CORS despite CORS configuration from dashboard I have loosened up CORS to the max from the Digital Ocean Spaces dashboard as seen in screenshot here - https://i.stack.imgur.com/8YrRI.png
I did this per the comment here - https://www.digitalocean.com/community/questio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding ways to triggering a segmentation fault Throughout my career, I'll notice crash logs for Segmentation fault X with the type EXC_BAD_ACCESS for a crash.
For my own understanding, I figured I'd go off and trigger an EXC_BAD_ACCESS crash. This is what I wrote:
class Stuff {
var sharedValue = [Int: I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to test and verify that Timber log been executed? I have a function that has a Timber log call. So I need to verify in test that that log been called
Timber.tag("MyGag").d("My message $parameter")
Is there a way to verify that this log been executed?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75596635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why are there 3 python executables on my PC on Windows? I try to find out where is python. And when I use
where python,
terminal gives 2 places
C:\Users\sgildiev\AppData\Local\Programs\Python\Python311\python.exe
C:\Users\sgildiev\AppData\Local\Microsoft\WindowsApps\python.exe
And when I use
where python3,
terminal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# Static variables ASP.net Core vs ASP.net Xamarin.Forms I created a web app in C# ASP.net Core. I originally used public static variables as global variables. This created a huge problem as users were overiding each others static variables and saving someone elses data. I switched to session variables so everyone ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I configure load balancing in open shift using PODs?
I am looking for balance the routes.
A: Your Route points to a Service („gateway-api-service“). This Service will then automatically load balance to any Pod it selects.
In the OpenShift Console, open the Service and look at the „Pods“ tab to see which Po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: gitlab-ci job:rules:if: doesn't work with multiple && operators? I can't make GitLab CD work properly through the following scenario:
*
*%id%-%slug% - a variety of random dev-line branches.
*stage - cumulative review branch that is one step away from being pushed to main. The branch is protected, only merge from ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java Spring boot WebSecurity I decided to study for myself such a framework as spring boot found video courses, decided to learn from them, and got to the point where WebSecurity is written by inheriting from the WebSecurityConfigurerAdapter class, and I chose a version of spring boot newer than in the course and th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Should I repeat calling a function or modify the function to take in an array? Let's say I have a function called createJuice(fruit, color, hasSeeds) and within another function I'm calling createJuice. createJuice creates a juice and saves it in a database
someFunctionX() { createJuice(orange, orange, true); }
So... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gutenberg Block Supports: How to set a default background color? When I add Block Supports for backgroundColor to my custom, dynamic WordPress/Gutenberg block, I would like for the picker to already have a default color selected. I followed the directions from Reference Guide, but something is missing.
My block.json... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to let SSH try both yubikeys plugged in? I have 2 yubikeys plugged in to my device with Ubuntu 22.04. They both have different serial numbers and different PGP keys on them.
I configured SSH to use the gpg-agent via the SSH_AUTH_SOCK variable. Further, the scdaemon config has the reader-port set to Yubico YubiKe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Initializing KafkaProducer object once and use the same object by all the samplers in a Jmeter script I am trying to implement a scenario as mentioned below :
I have to create a load test-script my async APIs that are publishing and consuming events from Kafka topics.
In this script there are multiple samplers that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Have issue with types in redux-toolkit provider have such issue using redux-toolkit, the only one solution is use old version of types/react
my current version is "@types/react": "^17.0.39",
'Provider' cannot be used as a JSX component.
Its instance type 'Provider' is not a valid JSX element.
The types returned by '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why does my JavaScript syntax work fine when I run it on the browser, but not when I run i? I am trying to input data into a form using JavaScript and it works fine, but when I try to run it using Puppeteer, it does not work at all, with the output being an empty array or null.
const ele = $('#oauth_form > field... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: How to iterate through all emails in folder and save contents to dictionary - Python Hi I am a bit new to Python and its functions :) I need to iterate through a folder of lots of emails and dump the contents to a dictionary. I have written this code but the dictionary function fails.
import win32com.client #to init... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error installing apache-airflow. Fails at installing pendulum I am trying to install apache-airflow in vscode (windows OS). I have the following versions installed.
Python 3.11.1
pip 23.0.1
I am trying to install with the following command
pip --proxy 'proxy address' install apache-airflow
I get the following erro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Docker Compose Not Allowing External Library Debugging I'm trying to debug an inhouse library while running my application in a container using docker-compose.
I've setup the internal library with the following settings as per the SourceLink documentation SourceLink. I am publishing the NUGET package to Azure Devops... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot read properties of undefined typescript Basically I have two components, one is a parent and the other is a child, But the communication between them does not work, even though I import the information correctly(I hope)
this is my shipper-form.component.html:
<p>add a shipper here!</p>
this is shipper.compon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to logically tell that an AWS Step Function execution is running via a Step Function? We could ingest 2 datasets (dataset A and dataset B) daily, dataset A may or may not show up everyday.
They both trigger separate Step Functions. step function B with dataset B cant run until step function A with dataset A Stop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Protect complex object against Mass Assignment in ASP.NET MVC using C# How can I protect against mass assignment using an object with a large list of properties and which inherits a base model. Using [Bind(Include = "property names")] seems messy and hard to read.
public class Employee : Benefits
{
public string... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I can run Prestashop in docker-compose but I can't connect with mysql. Why? I have this docker-compose.yml
version: '3'
services:
db:
image: mysql:5.7
container_name: db
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: prestashop
MYSQL_USER: prestashop
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SvelteKit async load not awaiting sort // $lib/types.ts
export type GlobResults = Record<string, ()=>Promise<unknown>>
// $lib/utils.ts
export const LoadGlobsOneByOne = async (globs: GlobResults) => {
let results = []
for (const path in globs) {
let data = await globs[path]()
results.push(da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating hierarchical labeling in a dataframe I have a dataframe with hierarchical relation between columns. I would need to index the columns and sort in such a way that this hierarchy is depicted.
d1 = {'Branch': ["C", "F" , "B", "A", "D", "E" ], 'Tree': ["C", "E", "C", "B", "C", "E", ]}
df1 = pd.Dataframe(d1)
Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to see the number of trials and status of trials in backtesting.py? (Python) In python, using optim() function in backtesting.py, how can I see the number of trials and the status of trials the optim function performs during the optimization?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75596687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mobile device detect users language I have been using the Mobile_Detect php script for device detection for my WebApp... which is working fine. I need to incorporate device language detection, I tried using a javascript as shown below but that did not work... Am I doing something wrong?
Detect if mobile device works... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: decision tree in R using a training dataset I am trying to create a decision tree in R using the following training data set
structure(list(Color = c(0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0), Size = c(1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0), Act = c(1, 0, 0, 0, 0, 0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS: Run a Python script to create a file in S3. No output in S3, but works locally I want to run the following .py script as a job in AWS Glue Studio. This script was just a test to see if I could get something to work. Basically, I want this .py script to run and create a file called myfile.txt in my desired s3 di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Getting "S3 Transfer Acceleration is not configured on this bucket" error when using django-storages In a Django project that uses django-storages and is configured with AWS credentials, I am getting the following error when uploading a file (i.e. saving a model that has a models.FileField field)
An error occurred (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: while trying to upload resources at ipfs-infura, i am getting this error- Error uploading file: HTTPError: project id required I am creating a solidity based Dapp for nft marketplace. so i have to link my smart contracts with ipfs in order to upload resources as tokens. but everytime i try to upload i am getting thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to write only the digits in a string in assembly NASM MY objective is to collect the digits in a string and print only them. In the end i wish to add them together to return a result, but for now i am stuck at trying to collect them.
I am totaly new to assembly in general (3 hours in) i am a computer science stu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to add mask for padded sentences in LSTM layer in a binary classification problem? I am trying to design a LSTM-CNN model using glove embeddings and some dialogue act information as text features, I have used padding at two levels: within a sentence to make all sentences of equal length, at document level, to ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Join Married Names Together New to SQL here. I am trying to pull individual names in different rows and combine them based on if they're married. They are tied together using the f.giving_unit_id column. ex:
Ann | Schaub
John | Schaub
Converted to
John and Ann Schaub |
Here is how far I've gotten so far. This re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: error: no match for 'operator<<' (operand types are 'std::ifstream' and 'std::string') I am currently trying to write data into a give file. I keep getting this error, even though I am using a string type:
no match for no match for 'operator<<' (operand types are 'std::ifstream' {aka 'std::basic_ifstream<char>'} an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How can I change all the draft videos on youtube to unlisted using the youtube api? I am trying to change the visibility status of all the videos on my youtube channel to unlisted from draft but there are 300+ videos.
I am using a JS code in console but it takes a lot of time. How can I do this using the yt data api... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to add prompt input value to array after switch statement? I have created an array with 10 names hard coded in as an existing database.
I am struggling to get the user input value from the prompt of option 1 and push it to the array.
let userList = ["Sarah","Bryan","Scott","Mirande","Tamzin","Tamryn","Steven","P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Connect Firestore Emulator to npm @google-cloud/firestore client I am trying to connect the Cloud Firestore NodeJS client library @google-cloud/firestore with any of:
*
*Cloud Firestore Emulator gcloud emulators firestore start --host-port=localhost:8888
*Firebase Firestore Emulator npx firebase-tools emulators:s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can't I see the pictures dynamically in the Navigation bar? Why can't I see the pictures dynamically in the Navigation bar?
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
let imageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 40, height: 20))
imageView.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Huggingface "transformers" library: Get token amount for piece of text I would like to get the number of tokens for a piece of string, so I can split it up if it exceeds the model's maximum length before sending it to OpenAI. For that, I do this:
from transformers import GPT2Tokenizer
tokenizer = GPT2Tokeni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating Custom in R GGPlot to Fill
I want to make these shapes in R, with each being its own shape (outlined in black). I then want to conditionally fill these with a value that I have. You can ignore the text... So it is seven shapes I want to graph together if that is possible. Thank you
A: The code is relative... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to do this page loader Any idea how to do the https://www.steelwavellc.com/ page loader using javascript?
Still searching for answers how to do this using javascript
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75596716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: interpolate function does not fill nan values in data frame Good evening, I have a problem filling in the missing data in a data frame.
I want to fill the ESG missing data of each company with the function interpolate if the number of missing values is between 1 and 6 and drop the column if there are more than 6 mis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use sub queries with case when or coalesce functions I have a log table in which a new time stamp is added to the column ts as soon as a change is made, at the same time the time stamp of the last change is written to the column prevts.
What I would like to know is the newest update date of a certain field, i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP HTTP Proxy - How to create a tunnel after a CONNECT request I've created an HTTP Proxy with PHP. It works well for simple HTTP requests where it receives the request, passes it to the target, passes the target's response to the client and closes the connection.
But in the case of TLS requests, when a client send... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Issue about pointers in C I am dealing with a code in C about pointers. I want to describe the issue with a code making this clear.
#include<stdio.h>
#include<string.h>
int main(){
char *ptr="hello";
printf("%s",ptr);
*(ptr+0)='a';
printf("%s",ptr);
getchar();
return(0);
}
When i run the cod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I'm confused about the ".connect()" method; does it belong to the imported "mysql" module? If so, shouldn't it be written as: con.mysql.connect()? In Python, I have to explicitly write
from my_module import my_find_index
Before I can use the my_find_index function without typing the whole
index = my_module.my_find_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596727",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Boto3 connection in CircleCI raises NoCredentialsError I am having a fun problem with CircleCI build runner's ability to connect to AWS to run tests for me. I have just turned this off for now as these tests are optional just to test the actual connection to AWS but I would like to figure out what is going on!
I am ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Custom Register Djoser I have this models.py and i need to verify that only admin users can create users with role Specialist. I think the solution is on a custom view bassed on Djosers views but i don´t now how to do it.
I have also created a specialist profile and pacient profile that is created when a user is als... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: gradle check version command report error I just installed gradle on ubuntu 16.0, then run below command:
gradle --version
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '11.0.14'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to input model specification for glmmLasso to get expected iterations? I'm trying to run glmmLasso on some data with the subject IDs established as the groups for random effects. This is seen in several posted examples of glmmLasso and the example soccer data set included in the CRAN package.
However, whenever I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the correct way to implement authentication via email accounts (using given email addresses)? I am currently developing a website for my school and am trying to implement authentication using email accounts. I have a database of emails that can log into the website. So, there will be no sign-ups (only sign-i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: api request not working in React when i set a parameter? im trying to put an input value as a parameter in the url of my request but it doesnt update when i change it, im using template strings and putting the state in {}, it doesnt show error in console.
function SerchProducts() {
const [products, setproducts] = us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to get 10k fillings for the russell 3000 constituents using sec-api? Is it possible to fetch the 10-K filings using something like the following?
from sec_api import QueryApi
query_api = QueryApi(api_key='YOUR_API_KEY')
# Define search parameters
index_ticker = 'RUA' # Russell 3000 index ticker symbol
filing_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Delete Data from Room I want to delete a projekt from the projekt table
here is the structure of the entire database
here is the structure of the entire database
the database consists of three tables and the notes table is referenced to the other two tables
`@Entity(tableName = "projekte")
data class Projekt(@Primar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: http patch method - single oparation for each element of array In my React application, I'm using useForm to sending my forms.
When I'm using the PATCH method and sending to API a value (array):
participants.push({ participant_id: person, place_id: place });
then my PATCH request looks like this:
{
"patch": [
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Variable observer both in a data class and Composable I need a variable that can be observed both in plain data classes and @Composable. Best way I found is to use Flow with an extension:
val <T> Flow<T>.value: T get() = runBlocking { this@value.first() }
I want to change runBlocking to something with better perfor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Search Method I am having trouble performing an aggressive search with fuse, where my search result will only return the one item with matching title, or role from either Buffed or Nerfed genre.
I have a json file where I am pulling data from using Firebase. This is my json file:
//Buffed
firebase.firestor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: REGEXP_EXTRACT - How to capture everything between two special characters Trying to see if its possible to extract the text between to special characters with a REGEXP_EXTRACT expression.
Data Example
'CN~LEAD_BN~TEST'
I would like to get a result that equals 'LEAD' which is between CN~ and _
So far I have the belo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: creationtimestamp addnotation in orm hibernate file I'm using orm.xml file to map JPA entities.
@Getter
@Setter
@MappedSuperclass
public abstract class BaseClass {
@Column(updatable = false)
@CreationTimestamp
private LocalDateTime createdAt;
@UpdateTimestamp
private LocalDateTime updatedAt;
}
p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I see what ffmpeg.exe in task manager is doing? So I use a program that starts ffmpeg processes in the background, is it possible to open one of those processes in the Windows terminal so I can see what it is doing?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75596763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Calculate a Rolling Mean Average of Last Two Weeks of Daily Data by Month and Year I am trying to calculate a rolling 14-day month-end average of the last 14 days of each month with panda dfs and I'm not sure how to do it so that the final answer is the rolling mean of the last 14 days of each month for all the mont... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I safely call CPU-bound code from within a Java19 virtual thread? We have a Jetty webapp with a custom threadpool backed by Java19 virtual threads.
The business logic we run in response to a request is usually IO-bound (e.g. DB queries), so virtual threads have been a great win for us, allowing us to have man... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: mydomain[dot]com without WWW doesn't load website when I got to www.mydomain.com it working properly. But when I go to mydomain.com without the ''www'' it not working it give me this error :
We can’t connect to the server at mydomain.com. Did you mean to go to www.mydomain.com?
How can I fix that ? Here is my nginx... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can a child class inherit a class method from its parent that gets a class variable from the child in python? I have a code here where I define a parent class with class methods and class variables:
class Parent:
var1 = 'foo'
var2 = 'bar'
def getVar1Var2AsString(self):
return f'{Parent.g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Download a large file >100MB from a gRPC server in chunks using gRPC streaming? How can I track which chunk to send next on the server? I am trying to download a large file >100MB from a gRPC server using gRPC bidirectional streaming. I need to break the file into chunks on the server and stream the bytes. I am not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Visual Studio 2022 - Does not navigate to decompiled sources I have the Visual Studio 2022 v17.5.1.
The navigation to decompiled sources is enabled.
This function was working all the time, but suddenly it stopped working and started showing me the old meta data format.
I would like to view the C# source code of Micr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error when trying to display colorbar using matplotlib library Python 3.9 I'm currently learning to use the librosa library and when trying to display a colorbar on an associated spectrogram, I get an inexplicable error. I'm not that familiar with matplotlib I've searched everywhere for a solution and I can't help b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating custom three dimensional aggregation I am struggling to create custom three dimensional aggregation for use in workshop application charts.
I tried to calculate trs = trs_time/(ntrs_time + trs_time) over time for the use in workshop chart. Below is the code that I used to do it. In the next step I tried to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Discord.JS v14 SlashCommandBuilder Subcommand Function is giving an err I created a command using the SlashCommandBuilder class in discord.js v14 but when I try to add a Subcommand I get this error. If anyone has any information it would be nice.
My Code:
.addSubcommand(subcommand => {
subcommand
.setNam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: visual studio 2019 not showing c# errors the errors are not showing in visual studio. recently I bought a new computer. I had a old computer with visual studio working fine, but when I imported my projects to the new one, it stooped showing me any errors or giving me code suggestions. I generally code in unity c#, a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Accuary values of all outputs in multi-output code 1.0000 Problem: all outputs accuracy 1.000
Example:
Epoch 1/5
1/1 \[==============================\] - 5s 5s/step - loss: 2.8723e-06 - dense_2_loss: 3.6861e-10 - dense_3_loss: 2.3177e-09 - dense_4_loss: 2.8696e-06 - dense_5_loss: 9.5676e-14 - dense_6_loss: 1.5098e-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to handle leap years when using groupby.shift in Pandas data frame I have a data frame with the following structure:
What I am trying to do is for each [location, date] to have not only the current amount but also the amount from one year ago (NOT 365 days). What I am struggling with here is the leap year handl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: GitLab Terraform module registry with HTTP discovery I've been setting up the Terraform registry from GitLab. My setup seems correct but I face the issue below:
Initializing modules...
21╷
22│ Error: Error accessing remote module registry
23│
24│ Failed to retrieve available versions for module "azure_vm" (main.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I pass yaml (or json, that works) to helm directly? I would like to be able to do something like:
VALUES="
port: 80
"
helm install mychart ./mychart --set "${VALUES}"
# or
helm install mychart ./mychart --values "${VALUES}"
This is not for me to use directly of course, but rather I want to strongly leverage a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Node.js "command not found" for globally installed modules I'm trying to get realm-cli running, installing it globally with the usual
npm install -g mongodb-realm-cli
It seems to install it alright, I can see it in Users/<Username>/AppData/Roaming/npm. There is the executable file without extension with contents be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vaadin 23.2.0: Module not found: Error: Can't resolve '@vaadin/combo-box/src/vaadin-combo-box-dropdown.js' I was previously using Vaadin 23.1.1 and upgraded to Vaadin 23.2.0 to be able to use the Confirm Dialog for free. Now I get some random errors when starting my application.
It doesnt matter if I am using Vite o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: boost asio use_future completion token thread-safety When performing the following piece of code
boost::asio::socket s{...};
auto f1 = s.async_read(..., boost::asio::use_future);
auto f2 = s.async_write(..., boost::asio::use_future);
given that with use_future we do not really specify the context, of where the pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I create a variable which logs the input from other variables? New coder here. I have a shopping list app I am putting together. I am trying to have the input from the three fields ("item", "store", and "date") appended at the bottom of the page as a single line item.
I tried to do this by creating a variable... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Node.js REPL .load endlessly loops on line breaks I'm trying to load a file into the Node.js REPL using .load. Here are the contents of the file:
let messages = [
"Message A",
"Message B",
"Message C"
];
My file is called messages.js, so I load it from the REPL with .load messages.js. What this is supposed to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The save button is blocked, why? enter image description here
Please, Can anyone help me? What I am doing wrong?
I followed all the steps to start and I tried to change the docs and collection name but without success.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75596810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why is my default laravel logout button not displaying Am using the laravel default setup for login/registration using "composer require laravel/ui" artisan command line, laravel version is 8.83.27, the registration was successful, but when i wanted to log out, the logout button failed to display. so i can,t logout.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Supabase (Postgres) Row Level Security Based on Role in Table I'm new to Supabase and Postgres (though not new to SQL) but I'm having a difficult time wrapping my head around writing policies.
Let's say I have a member table structured like this:
// member //
id (text) | name (text) | group (text) | admin (int)
---... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75596816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |