text string | meta dict |
|---|---|
Q: When the screen rotation changes in the android application, a margin occurs on the starting side A few commits were working fine before, both in portrait mode and in landscape mode, the application was working as fullscreen, but now when I put it in landscape mode, I noticed that it gives a margin from the head or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pandas: replace value in col1 with value in col2 based on filter / boolean test I'm working with a small dataframe (9K rows) that has county and city fields (=columns). Some rows have NaN values for the county but have county names in the city column.
I can find these by doing
filter1 = df['county'].isna()
filter2 =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: allow a variable to be any struct which embeds another struct? I'm writing an app that needs to be able to choose between different message passing methods, like Kafka or RabbitMQ. When the app starts up, it will use some config variable to determine which type of message passing it needs to use, and instantiate it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Scipy Optimize - Singular Matrix issue when creating constraints in a loop I'm trying to optimize a 52x5 matrix to maximize a return value y. There are 3 types of constraints that I need to include:
*
*Total sum of all the elements must between a min and max range
*Total sum of each column must be between a min a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Lua: Replace text according to lookup table (3D?) I want to replace abbreviated text with the full text according to a lookup table. There can be more than one abbreviation for the same entry.
For example:
local lookup = {
['Harry Potter and the Philosopher\'s Stone'] = { 'HP1', 'PS', 'SS' },
['Harry Potter and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I center a div vertically if the height of the container is unknown? How can I center the orange box in the remaining visible green area? if the main box is too big for (100vh - 20px * 2 - h of top bar) it should just use the minimum distance to top bar and end of container - here defined as margin.
#conta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586727",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS CDK Lambda Layer ARN lookup - Parameter and Secrets Lambda Extension I'm trying to add a layer to my Lambda function in Python CDK and its working, but, I always have to specify the ARN and at the moment I have the layer's ARN us-east-1,
layers=[LayerVersion.from_layer_version_arn(
"AWS-Parameters-an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pytest error: unrecognized arguments: --tavern-merge-ext-function-values I am trying to run some test using tavern. I want to utilise tavern-merge-ext-function-values flag so that I can merge function response with my existing json.
I have gone through the official doc on how to add the flag, But I keep getting no u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mention Date difference as Years, Months and Days - tableau I want the datediff difference to be mentioned as for example 1 year, 2 months, and 5 days in Tableau desktop.
My Year and month works fine, i can't seem to wrap my head around the day part. Some times parenthesis error or sometime dateadd error.
--This par... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ChatGPT Token Limit I want ChatGPT to remember past conversations and have a consistent(stateful) conversation.
I have seen several code of ChatGPT Prompt Engineering.
There were 2 ways to design prompt shown below (pseudo code)
*
*Use a single input (Cheap) <- Better if possible
*Stack all of previous history (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Compiling C code with go program errors with cgo not supported Trying to run this simple code:
test2 cat cgo_test.go
package main
// #include <stdio.h>
// #include <stdlib.h>
//
// static void myprint(char* s) {
// printf("%s\n", s);
// }
import "C"
import "unsafe"
func main() {
cs := C.CString("Hello from ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Axios promise pending when using in Vue.js composition API I have the following Vue code:
<script setup>
import APIService from '@/Services/APIService';
import Dropdown from 'primevue/dropdown';
const patients = ref([]);
let doctors = ref();
const getPatients = () => {
patients = apiService.getData('/pateints/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Update original data frame after changing editable cells with datatable output I have the following simple shiny app which you can go ahead and run after saving as app.R.
library(shiny)
library(DT)
DF <- data.frame(x = formatC(c(1, 2, 3), width = 10),
y = formatC(c(5, 4, 6), width = 5),
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel Forge:Struggling to deploy new changes to a specific website on a server Laravel Forge I am currently very new to forge and need to work on existing websites deployed on forge. The issue I am having is not being able to deploy changes to one project while I have no problem pushing changes to the other existi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get users erc20 staked token amount within an address Is it possible to get a users total stake balance from an address using etherscan api? For example, this token 0x6291d951c5d68f47ed346042e2f86a94c253bec4 has a staking address 0x0e94f95913A66BBD4A32aF5f65f32F19e2859cE4 and I would like to get someones total stake... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do you apply styles to a rich text object using Contentful and React? I have a React website using Contentful as a headless CMS backend.
Here, I have a sample card, where projEntry is a rich text element imported from Contentful (the <p> doesn't impact it at all).
return (
<>
<div className='projDe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Airflow tasks are scheduled but does not run In recent times, we are observing significant execution time spikes for our pipelines.
Upon investigation, I found Airflow tasks remain in scheduled state for longer times. Most of the times, I see only 6-8 workers executing tasks.
Environment: Airflow 2.2.1 on AWS EC2(Li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NGINX reverse proxy does not handle multipart form for larger requests I have an NGINX configuration that sends FormData to another backend service. When the formdata uses only one file, it sends the data to the backend without a problem. However, once I add more data and files, and the request gets larger.. NGINX c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spyder issues without anaconda distribution "distfit" package. Cannot change PATH I am using python 3.11. I was setting up a remote development enviornment and the anaconda distribution was just messing everything up. In order to get it to work I had to uninstall the conda distribution. Now that I have gotten the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript looking for internet path instead of folders path I am trying to import a class from "Home\templates\Home\node_modules\three\examples\jsm\loaders\GLTFLoader.js"
but when i run the server there is an Error 404 saying that there is no such file at "http://localhost:8000/Home/templates/Home/node_modules/thre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to use a JavaScript in simple math equation but place results in a text file? I'm truly a newbie at any of this.
Anyway, I'm trying to put the results of this simple JavaScript into a txt file
Example script:
<script>
var numOne=25, numTwo=14,res;
res = numOne - numTwo;
document.write(" " + r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In GCC, is it possible to declare an array that consumes all remaining memory in a given linker memory region? I am working on an ARM firmware that has tight memory allocation, and I am continually tweaking the size of a given array (used for dynamic allocation inside my application) in order to use all remaining RA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Applying a function in parallel to pandas Series made of objects, why returns NaN? To understand my problem, I should first explain a bit the object structure called Animal.
My object has 3 fields:
-obj.a = an integer
-obj.b = a dictionary
obj.b = {'x':x1, 'y':x2, ....}
-obj.c = a dictionary of dictionaries
obj.c = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create a Grouped DataFrame from a QUERY not a Field List I need help. I'm going to try to summarize it.
Here is a DataFrame for example:
df = pd.DataFrame(
{
"Name": ["Jai", "Anuj", "Jai", "Princi", "Gaurav", "Anuj", "Princi", "Abhi"],
"Age": [27, 24, 22, 32, 33, 36, 27, 32],
"Address":... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: File1: Binary operator expected I am trying to create a shell script as below on Linux.
#!/bin/bash
if [ cp file1 /tmp ];
then
rm file1
fi
But I am getting an error message as "file1:binary operator required"
I have tried a lot of options like enclosing line 2 within [[ ]], () etc but it's not working. I am not s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you @use css custom properties? I am working on an app with custom theme settings allowing users to select a primary color which the app uses to generate a set of 10 tailwinds style color variables. I use javascript to generate the colors and inject them into the dom, but in my research I found out it wasn't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dockerize React-Node app communication between containers failure I'm trying to dockerize a react-node app. I have created a docker compose file. I am trying to send a simple get request from react to node (with axios) but react container fails to resolve the ip of node container. As I read online, react should be a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I integrate tsparticles or reactr-tsparticles in my React app? I am working on a React app. The following is the view that loads when the app starts, and I want to apply "particles.js" :) or react-tsparticles. I did some code but somehow particles are not showing at all. This is my implementation:
import Rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why are the closing quote characters for my HTML attributes getting coloured in an unexpected way in VS Code? I'm having big trouble trying to solve this one. Turns out i'm doing an onclick event on a html element but VSCode reads the seccond " as TEXT. I've tried doing it on other htmls but still not working. Can a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to display data from a related table I'm attempting to retrieve my recipes and ingredients from my recipe-Ingredient create view, but f data are not being transferred via view-Bag.
Here is my code. What am I doing wrong? Or am I using the wrong approach? How do I create a recipe-Ingredient. Here are my codes:
pu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: HTML button moves aftter being clicked on I have 9 buttons looks like below:
However if I click on the button on top left, it becomes:
I am really not sure why it moves when being clicked on and where the extra spaces are coming from.
Below is the sample code:
var buttons = document.querySelectorAll("button");
b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Question about bit population count Algorithm POPCNT_MULT = 0x0000000000002000000000100000000008000000000400000000020000000001;
POPCNT_MASK = 0x0001041041041041041041041041041041041041041041041041041041041041;
POPCNT_MODULO = 0x3F;
number of bits turned on(1) in "num" = ((("num" * POPCNT_MULT) & POPCNT_MASK) % POPC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: api model is not the same as the entity model I have an edgecase with API-platform and entites:
when setting municipality, zip and town is set with the information from the municiplaity relation. all three fields are required for the entity but not all are mandatory for the api call. municipality is for the api enou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to bold a font in ffmpeg? I have an issue which I don't fully understand. I use font to merge subtitles in video which is installed in my laptop and everything works fine with this code:
-vf "subtitles=tt101.srt:force_style='FontName=Lucida Console,Style=Bold,FontSize=15,PrimaryColour=&H00111188,OutlineColour=&H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I have an error building my TSX-Expo-React Native application: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' When I build my application with eas build with expo, everything is correct, only at the end this error appears. I have read a lot and I have not been able to solve it. If some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pandas.to_sql() not working when method='multi' I'm using latest versions of python, pandas library, pyodbc driver, MS SQL server management studio and sql alchemy.
I have the following code:
connection_string = f'DRIVER={driver};SERVER={server};DATABASE={database};ENCRYPT=yes;UID={username};PWD={password}'
connecti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to create a setCookieInterceptor in nestjs? I'm trying to create a setCookieInterceptor in nestjs and came up with this solution. first this is my first route which generates accessToken and refreshToken and put it in a cookie and send it to the user(I don't want to put the cookies in this way , I implemented a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to define a type constructor that includes a bunch of type constraints? I have a big bunch of data types and functions on two type variables that require that the types are Eq, Ord, and Show. I found myself writing
type Foo n t = (Eq n, Eq t, Ord n, Ord t, Show n, Show t) => Bar n t -- and
data Baz n ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to create a dynamic named range in a google sheet? I am working on creating a score keeping and scoring sheet for my FTC (a competitive robotics league) Team, and am trying to make a dynamic named range. it needs to be dynamic, because the range is used in matrix multiplication, so the range needs to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Laravel validation for nested array request where if one of the integer is zero, the other should be more than zero I need to validate a laravel request like in this accepted answer in this stack overflow question. However my request is a nested array. What my current code based on the answer:
$rules = [
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use JS function in UDF BigQuery when checking file exists in Google Cloud Storage I'd like to use JS function in BigQuery when checking if file exists in Google Cloud Storage.
But BigQuery kept showing error when **select UDF_FUNCTION_NAME() **
ReferenceError: require is not defined at
My JS code is like th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Getting index out of bounds error when I try to call .view() This module works with the wine dataset in the sklearn module but when I try to use it for my training set I cant seem to get the class names to work and I dont know what I am doing wrong
from sklearn.ensemble import RandomForestClassifier
import dtreeviz
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Error when finding by foreign key on Typeorm I'm getting this error when I use the find method on a foreign key field on Typeorm. The thing is, this code is working, I get a correct result from the find method, but I get an editor error and wanted to know why and if there is a correct way to do.
If I try to use a st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I fix permalink errors in nginx? I am hosted in Azure, I installed an Ubuntu server in a virtual machine, I mounted Nginx on it and later I installed Wordpress, I want to do courses with the Tutor pro plugin, but it seems that I can't access any page of these courses.
I want to clarify that it is the only ac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint index_active_storage_attachments_uniqueness Operating in Rails 7, I keep getting a duplicate key value error when submitting 2 or more pictures in form using active storage and filepond. This is only happening when using 3rd party JS librarie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MongoDB - How to access nested array and object then $sum I have a document with an array that contains a list of objects, and each object has an array. I need to get the total points per team that are stored in the inner array (points).
It should return an output of:
*
*8 total points for Team 1
*10 total point... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Invalid src prop Next.JS S3 and cloudfront I am storing images on S3 and using CloudFront to distribute the images.
I have two websites. One is build with Sveltekit and the other with NextJS.
With Svelte, images are loaded fine but with NextJS, I get this "invalid src prop" error.
I add this code in next.config.js a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pygame: Animated background keeps flickering, why? Making the home menu for a game Im working on. I have a wide background that will scroll from right to left endlessly in fluid motion. The animation is able to work without issue but whenever I run the code, I notice the image keeps flickering every second, why is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Php scritp to accept http post from service I have an apache server (httpd) in machine A, to allow upload of files using an html page that calls a small php script, in some cases I'm uploading from machine B to the machine A with curl it still works because I use this command
curl -F "fileToUpload=@Documents/test.tx... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Convert tree file to Table format using bash I have this input(input.txt):
(((((((hg38:0.00390111,panTro4:0.00466345):0.0067608,ponAbe2:0.0116062):0.00867419,((((rheMac3:0.00199139,macFas5:0.00136397):0.00219754,papAnu2:0.00373049):0.00221139,chlSab2:0.00690005):0.00434788,(nasLar1:0.00415921,rhiRox1:0.00361872):0.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can you add multiple values to one key in an Elixir map? I have a map of key value pairs that pair a specific type of drone with the type of photoshoot. Here is an example:
%{ :real_estate => "Normal", :nature => "FPV", :wedding => "Cinewhoop" }
However, for the :nature scenario, I also would like to use the "N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unit test for exponential backoff in Golang I'm currently writing a function that would retry with exponential backoff up to 5 times. How do I write the unit test for testing the wait time is correct or not? Here's my function:
func (OdinClient) GetPrivateKeySigner(materialSet string) (ssh.Signer, error) {
# If ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: `this` parameter required when using a method within the class Not sure why, but why do I have to use the this parameter in this function:
export class UsersModel extends Model {
getUser(this: UsersModel, name: string) {
return this.where('first', '_ilike', `${name}%`).order('last', 'asc');
}
}
If I don't u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Tabulator: If Row 1 cell 1 > 10 and Row 1 cell 2 > 100, how to send "GO" to Row1 cell 3 I have a Tabulator grid with 6 columns, 2000 rows, fed by streaming data.
If any row has cell1 and cell2 that meet minimum (example: Row1 cell1 value > 10 and Row1 cell2 value > 100), I need to put "GO" in Row1 cell3 and send "GO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sending an email from google sheets on cell edit I am trying to complete the script to send an email for any edit of a specific tab on a google sheet, but i keeps giving me this error:
TypeError: Cannot read properties of undefined (reading 'range')
My script is:
function sendEditNotification(e){
if (e.range.col... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do I need a debugging plugin? php Help! New here
This showed up on my published site after update.
Warning: usort() expects parameter 2 to be a valid callback, function 'date_compare' not found or invalid function name in /home/customer/www/uhwa.org/public_html/wp-content/plugins/insert-php-code-snippet/shortcode-ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Can anyone help me with creating array for passwords? Good morning everyone! I am having a hard time creating an array since i want to convert this to an array type so that i can input 5 kinds of passwords. here is the code:
router.post('/extra', function (req, res, next) {
User.findOne({email:req.body.email},fu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Trying to access keys and values from a nested dictionary is not working whatsoever I've been trying to access the keys and values of an inner dictionary for the past couple hours and I can't seem to be able to do it.
I've tried everything I know, everything I could find online, to the point where I can't even post ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Woocommerce cart notification depending on product categories Hi I have 2 product categories A & B.
When a product from category A is in the cart, but not B I'd like it to show a notice "dont forgot product from category B".
B but not A, no notice
How can I code this?
Many thanks
How do I code this without a plugin?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linked Revit files are not shown in Autodesk Forge Viewer I'm making job to translate rvt to svf2 using Model Derivative API.
The Revit file contains links to many Revit files, so I upload a zip file containing the root and linked files and create a job for translate by referring to Upload linked Revit models for Fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling New Instance of Class with DBContext I don't quite understand how this dependency injection works. I have a Web API that uses a DBContext, and it is working on everything except for when I need to call a new instance of a class. It works on my controllers and it works when I call a class via hangfire (just n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Debugging a .dtsx file There's a .dtsx file in our team folder which I can open and edit in Design view using Visual Studio 2019. This SSIS package imports an excel file to a SQL server instance. I'm new to visual studio, how can I debug/test if the package works as intended?
Debug menu doesn't allow me to start deb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Global Queuing/Execution Limits in Nextflow I am experimenting with the Nextflow DSL2 syntax for writing pipelines - I understand that I can use Nextflow Configuration Files to set the maximimum number of concurrent intra-pipeline operations, i.e. processes and the like using the "queueSize" parameter.
However, I am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Download large audio files to play even in background and poor network I am working on a application that is similar to podcast where user have a lot of audio sessions to play and download. Some sessions are an hour long. When a user taps on any session to play, lets call it downloadToPlay, the network call to downl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why this multiple queries are not getting executed. Only pincode is showing output. Rest is showing Notice: llTrying to access array offset in php I am trying to execute multiple select query one after another with different variables. Out all queries only query used for Pincode is showing result rest is showing - N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: print array variables task in python I'm currently learning python and doing some basic tasks but I'm having difficulties with this code:
names = ["Terry", "Ben", "Mike"]
name = input("oya enter name ")
if names == name:
print("Welcome " + name)
else:
print("Who are you???!!!")
I'm trying to get the user ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: React native not showing video in FlatList So I have made a FlatList and I want to display a video in it. But when I try rendering it in the list it is not showing. But when I put the code to display the video outside the FlatList it's working fine.
This is my FlatList:
// the array that I am using (just for testing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Missing nuget packages with AWS CodeBuild I am trying to get AWS CodePipeline working with AWS CodeBuild leveraging Visual Studio 2019 and .NET Framework.
When I try to build the project in the CodeBuild stage of the pipeline the nuget references are not found.
Previously in the build it looks like it is downloadin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to execute SQL Queries via Powershell without using an external SQL file? I'm a DBA, and I'm trying to execute queries via the PS instead of logging into each server using SQL Developer. But so far I've only had success with using an external SQL file. I'm trying to do it with a variable stated within the PS Scr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to configure camunda-platform (self managed) to use an external Keycloak 20.0.3 instance? I'm attempting to configure Camunda Platform 8 self managed. I would like to use an existing keycloak instance. However the Identity service cannot authenticate with Keycloak. Keycloak event logs show a invalid_user_credent... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What could be causing issues with saving work (items) in my Java Android Studio application for coloring code? I am working on a coloring application, and I added ads for Huawei, and the feature of saving drawings was available, but now when I do save, it says that the phone does not support this type of data, or it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does GfMatrix4d::SetLookAt give the opposite rotation to what I'm expecting? I'm trying to orient a camera located at (1, 0, 1) so that it points at a target. For simplification I'll assume the target is the origin, but it could be anywhere. Here's the code I'm using:
const GfVec3d from_vec{ 1.0, 0.0, 1.0 };
con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can't I add more meshes to my threejs scene? I'm fairly new to threejs, wondering why I can't seem to add a simple mesh (torus with MeshBasicMaterial) to any scene.
The goal here is for me to add a sphere to the earth scene. No error is being thrown here, but the object is not appearing. Here's my code.
//// Imp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: D3 component not showing up in Rails 7 I have been trying to use D3 in Rails 7, following the steps in the alpha release video. I know it's just a pre-release but the question is more generally, how to get D3 working in Rails 7. When I inspect the browser, the SVG is created but the Network tab does not list D3 bund... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. VUEJS 2 I have an error when importing appsync settings for my project
the error
error in ./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalHeaders.js
Module parse failed: Unexpected token... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding Params to React-Query When Clicking a Button How do I add params when clicking a button using react-query?
I don't want to load the api on page load, I instead want to load the api when clicking a button.
Code sandbox demo
import { useQuery } from "@tanstack/react-query";
import api from "./api";
export cons... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C - how does including '\0' in a string work? Somehow we could treat "ab\0c" as a string or as an array - but a string is always an array?
I'm confused...
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75586898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I want to add a CC and a custom thank you page I want to add a CC and a custom thank you page but I don't know where to place the code.
I randomly placed the code
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75586899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Rounding issue in ggplot? I am attempting to plot bias of certain estimates in a simulation. The estimates are equal in all rows, but ggplot2 plots the difference as non-zero. I was expecting no blue bars in the graph below (you can ignore the other boxes):
Now if you calculate the differences between the estimated... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to modify this R Code to continue operation and create partial pairs? I'm new to R and trying to modify the code below so that, instead of failing to complete when there are insufficient random pairs available, it continues to generate what random pairs are partially available.
#' From a list of names, and unwan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tts model killing python with `zsh: bus error python Neural_Audio_Synthesis.py` I have a simple script trying to run tts on a Apple M1 Pro with MACOS 13.2.1
from this repo https://github.com/coqui-ai/TTS
def audio_Synth():
from TTS.api import TTS
import numpy as np
import random
# Running a multi-spe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not super code savvy person here, I've been getting "cannot import name '_TPU_AVAILABLE' Had to shorten the error which is "ImportError: cannot import name '_TPU_AVAILABLE' from 'pytorch_lightning.utilities' (/usr/local/lib/python3.8/dist-packages/pytorch_lightning/utilities/init.py)" as I'm trying to first cell of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Heroku error: 'cannot find module 'express' I have created a node.js application that when deployed locally works perfectly fine locally but when I deploy it to heroku I get an error says "Error: Cannot find module 'express' -/app/server/server.js"
here is my server.js file
const express = require('express');
const ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convertto-JSON forcing empty or null valued arrays into arrays with an index of 1? I'm using ConvertTo-JSON to create a nested JSON doc with various nested arrays. That all works, but in the case that I have an empty or null valued array, ConvertTo-JSON is forcing the resulting JSON to contain [""] instead of [ ]. I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GCP Vertex AI training freeze with matplotlib I am trying to implement custom model training on Vertex AI.
Every time I pushed custom training job to Vertex AI, I could meet the freezing issue in the middle of the process.
The issue occurs in,
message: "Generating new fontManager, this may take some time..."
pathna... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Facebook/Instagram Analtyics logins no using person accounts Does anyone know about using Facebook accounts for the Facebook/Instagram analytics?
I tried having people in my org create Facebook accounts that were not their personal ones.
Facebook (Meta) has started denying these accounts access to the analytics or p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where should I place css and js code in MasterPage.Master of ASP.NET? I need to reference css and js in MasterPage.Master file of ASP.NET, the code A can work well, but Visual Studio displays a warning information, you can see Image 1.
BTW, the code B can't get correct result.
Code A
<%@ Master Language="C#" AutoEv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Should I process tweets from twitter streaming api directly on Amazon EC2 or should I use Lambda for it? My application gets tweets in real time using streaming API and performs some simple processing on them (nothing resource intensive, just two requests to different APIs). I will be deploying the part that gets ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I reset a Visual Studio script? Im trying to create a bot in Visual Studio using some code I found on github. However when following OP's instructions on how to use the code, I thought it wasnt working and tried adjusting it myself. Now I cant remember where I put the code, and I want to get it back to its or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sendmail log showing thousands of hack attempts Need advice Sorry for the terrible title, feel free to edit it once we figure out what's wrong. I am getting literally thousands of these entries in my log and I'm wondering if I have something open that shouldn't be, or if this is just the new normal. Over the years o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: y_predict has a different shape that y_test and y_train I am working on machine learning models. However I have an issue that when I check for accuracy. I get the following.
'''
Found input variables with inconsistent numbers of samples: [108820,
108690]
'''
This is the shape of the data right before they were spl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Saving GIANT JSONP to Database Hey I got this JSONP from archive.org:
https://archive.org/advancedsearch.php?q=collection%3Ainternetarchivebooks&fl[]=creator&fl[]=format&fl[]=genre&fl[]=language&fl[]=name&fl[]=title&fl[]=type&fl[]=year&sort[]=&sort[]=&sort[]=&rows=100000000&page=1&output=json&callback=callback&save=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fetch is returning a Promise result; can't access even with a .then I get results from this API response. I'm unable to access anything in the response. If I remove the .json(), I just get metadata about the call itself. I need to the PromiseResults > results.
fetch(url, options)
.then(response => {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Does jersey use service layer while using spring-jersey? (Naming conventions) I was looking at a project that was using spring-jersey, but the thing is that it was using a term called Resource as a naming convention instead of the normal term Controller. Also, there was no implementation of the service layer (includ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to setup wordpress as linux systemd service I have multiple wordpress sites hosted on Ubuntu 22.04 which are configured through php8.1 fpm and nginx sites-available. The problem I'm facing is that I can't stop an wordpress site like a systemd service. I've previously setup django python based websites as systemd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot connect to docker compose containers on Mac When I run docker-compose up and try to connect via the docker address IP shown in inspect or docker desktop, it doesn't connect
after some investigation it seems I should publish or bound the docker port with mac localhost, but I can't the right commend to do with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Can functions in python reference previously logged events? Is there a way for python functions to reference previously logged events that occur within their scope or another specific function's scope?
For example:
Within a larger program, process_files(files) raises and handles an OSError as logging.error(f'foo exc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ML-Agents Error while installing: pip3 install -e ./ml-agents-envs i was making a new project for a ppo ai that i wanted to do so i was setting it up and installing all the things in anaconda, then it came up with this error while installing the: pip3 install -e ./ml-agents-envs
pip3 install -e ./ml-agents-envs
ERRO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: exam2nops not processing latex commands I am endeavouring to create a statistics class exam with the R/exams package. So I am creating a series of Rmd files to create the questions as per the requirements of the package. My issue is with creating tables that appear nicely in PDF format once using the exam2nops for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How could I parse the json array in Kusto? How could I parse the json array in Kusto?
Here is what I tried:
customEvents
| where name == "myname"
| project a = parse_json(customDimensions.Content)
| extend b = a[0].Section;
But as you can see the b still remains empty and never gets initialized to the Section valu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |