text string | meta dict |
|---|---|
Q: Set a value equal to the value of a sum from a row above? I have a table like this
Opening
Transfer
0
12
12
-2
10
-2
8
-1
7
-7
I need to recalculate this due to a gap in the real table.
I know the value of the opening will be the opening + transfer of the line above but how can I do this?
I've tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Getting Directive to Instantiate in Stackblitz for Angular 15? This directive works fine in "Desktop Angular", but in the latest Stackblitz the directive does not get instantiated.
This is the directive.
import { Directive, ElementRef, Renderer2 } from '@angular/core';
@Directive({
selector: 'button',
})
export c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Non UTF character breaking cURL response The return I am looking for, looks like this in the API sandbox (Browser driven):
{
"reviewId": "2887600825207199304",
"rating": 5,
"comments": "Abe Froeman provided a “seamless†gutter experience. Abe managed the scheduling, and Ferris and Cameron, with 15-30+ years of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sfml only outputting once i am new to sfml and iam trying to make a tictactoe game
i am currently trying to work on the graphical side first
when ever i try to run it it only allow to click once and won't the other if statement
whenever i run it it will run one of the if atstement and ignore the other
#include <SFML... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to aggregate two or more columns into one column of type array in BigQuery? I have this table:
OrganizationUnitSetID
OrganizationUnitSetName
OrganizationUnitID
OrganizationUnitLevel1
OrganizationUnitLevel2
OrganizationUnitLevel3
49
Switzerland
46
77
null
null
49
Switzerland
46
47
48
76
49
Switzerland... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Different program behavior when building in release and debug mode I am trying to read the memory of another process (a dummy program in which a couple of variables are just initialized) using this wrapper over winapi. If I compile this program in debug(cargo build) mode, then the output is true, but everything chan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Swift 5.7 protocol conform to Equatable How can I use Equatable with my protocol? I have tried 3 variants (None worked):
protocol Person: Equatable {
var name: String { get }
}
struct A: Person {
var name = "John"
}
struct B: Person {
var name = "Josh"
}
Variant A:
class C {
var persons: [Person] = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GNU compiler memory sanitizer is not available When I try to build my c++ project with memory sanitizer using the CMake sanitizers modules here, I get this warning:
MemorySanitizer is not available for GNU compiler.
Although when I searched on google it is stated here that GNU compiler supports memory sanitizer.
M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is one of my almost identical algorithms works ~10 times faster then other? I am new in programming, so i don't understand some more deeper things. I have a task, to create amount of passwords, with a given numb and longennes of passwords. My first code:
from random import choices, choice
def generate_password... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unhandled Exception: PlatformException(PermissionHandler.PermissionManager, Unable to detect current Android Activity., null, null) I have the following problem.
I'm building a flutter app which needs permission to get the location.
The app should request every permission that it needs when the app starts.
For this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jira Python Library Import "jira" could not be resolved I've tried all manner of trying to get the Jira library to import in python but keep getting the Import "jira" pylacne report missing imports error. My terminal is full of requirement already satisfied statements after running python3 -m pip install jira.
Any i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Creating a screensaver app in Android (or Android TV) I wanted to make an app for Android and Android TV that acts as a screen saver. After studying this material:
Creating a screensaver in Android
I realized that I need to add a special permission:
*
*android.service.dreams.DreamService
*android.intent.action.M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create nested dict with parent children hierachy for streamlit_tree_select from dataframe? To use streamlit_tree_select I need to convert a dataframe to its expected structure.
I guess to achieve the goal I could use pandas.groupby('parkey') to group the children, but I'm not sure how to apply this to the app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamically updating markers in leaflet markercluster I have 1000+ markers which Im trying to update dynamically on a leaflet js map with markercluster. I am using custom marker icons with custom text that is the live pricing for different locations.
I have everything working fine but when adding in the markercluste... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Enabling numpy array to be modified by several threads So I want to take the minimum of an array and instead of having a single thread do all the work I have several threads populating such array entry by entry (this is an expensive call and can't be changed) and then having the main thread take the minimum.
Here is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Applying a boolean selection to data from a contour plot I am working with kde plots from seaborn in python. Wondering if it is possible to select data in a certain contour. For example if I have 6 contours, is it simple to create a boolean array to select data in the 5th contour and so on.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75561495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Trying to use Network XHR to grab JSON String from URL -- Getting error 'too many values to unpack (expected 2)' I went to this link.
https://www.nba.com/stats
I hit Ctrl+Shift+I and I see this view.
I sorted by 'Size' = 207.07 kB because I thought that had the most data. Then I looked at Request Headers 3.711 kB, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use map function with Kurtosis on a 61 column 87 row matrix I have the following data set
mydata <- datasets::volcano
install.packages('e1071')
library(e1071)
library(tidyverse) #load required libraries
head(mydata) # quick view of the data.
#Part 1
#Calculating kurtosis and new measure with apply from base ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My hardhat contract suddenly started throwing a 'can't estimate gas error' after changing nothing from a previous contract that already worked I have been editing this one contract inside of the same environment for about 2 months now. Yesterday, I was messing with some event emissions when all of a sudden my contr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is my finnhub.io request returning same response each time? I am making one API request for a stock price every second and getting the same response each time. When I refresh the page, I get a new response, but then it doesn't change, no matter how many times I repeat the call.
This occurs when using "finnhub"
B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Should get and Post requests be in separate angular services I am wondering if separating angular services for post request and get request is a good angular coding practice ?
Basically the question is the following, you have an api that returns a list of objects, the same api accepts a post request to add a new obj... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I get a code line for moving two cars individually for a racing simulator? I have written a line of code, but the code moves both cars at the same time, instead of individually.
I will admit, I'm stuck, I am fairly new to c#, and haven't really any experience.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75561512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Implementation of absurd-sql with vite-react Could someone help me with implementing absurd-sql in a react application with vite packaging?
I can almost implement it completely. But when I get to policies, I don't know how to proceed.
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-cor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replace values for multiple columns in pandas I have the following data frame.
col1 col2 col3
1 1 1
2 2 2
3 1 2
3 3 3
I want to replace numerical values based on the following mappings
col1: {1: dog, 2: cat, 3: bird}
col2: {1: yellow, 2: orange, 3: red}
col3: {1: dave, 2: pete, 3: tom}
How ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do my runnables still interfere with each other despite using handler.removeCallbacksAndMessages(null) before calling them? I'm writing an app that plays like Whack-a-mole, except it's essentially a multichoice quiz. One textView shows the question, another shows the answer (which will be hidden unless a "hint"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Server issue during I ran my terminal using python django and some back end frameworks After I have done my programming I ran the server, but kernals were initialized and protocol address also received. Now I can not close the server even after closed the browser. It occured because of kernels and the critical situa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Npm packages written in typescript does not get built in projects I've created a small package with typescript. It's a simple console log file like this:
src/index.ts
console.log('Hello, World!')
package.json
{
"name": "x",
"version": "1.0.0",
"description": "",
"main": "dist/index.js",
"scripts": {
"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Creating an Elixir project generates: [error] beam/beam_load.c(148): Error loading module 'Elixir.Hex' In the terminal
elixir -v returns:
"Elixir 1.14.3 (compiled with Erlang/OTP 25)"
The above error msg. comes with the instruction to " please re-compile this module with an Erlang/OTP 25 compiler".
I also get this e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Substrings not found when searching file created with echo command using C program I am working on a C program that is supposed to count the number of occurrences of a list of substrings in a given file. When I test the program with a file that I manually create and populate with text, it works fine and correctly co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Groovy dependency conflict when running JMeter with a custom jar in lib directory I have a Java project that includes dependencies on other maven projects including rest-assured (4.1.2). This has a dependency on groovy (2.5.8). I need to use functionality from this project in JMeter, so I dropped the jar for that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to have query in Google Sheets list all the cells in a column that are above a cell containing a specific text? =QUERY(offset(XX,3,0):offset(XX,- 1,3), "SELECT J WHERE G > (SELECT MAX(G) WHERE G CONTAINS 'STOP')")
This range is 4 columns. Real offset input:
offset(INDIRECT("'O SHEET'"&"!"&ADDRESS(SUMP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pd.pivot_table introduces NaN I'm new to python and I was hoping to get some help here.
I want to convert my data from long to wide format with pd.pivot_table.
My data looks like this:
TimeStamp [us] Source Channel Label Value [pV] Spike
0 1 A1 0 0
1 2 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Performance of T-SQL Queries I am confused in the performance of the self joined tables in two different ways. Query1 is:
SELECT
a1.attr_val AS attr_val1,
a2.attr_val AS attr_val2,
a3.attr_val AS attr_val3
FROM attr a1
LEFT JOIN attr a2 ON a1.ticket_id=a2.ticket_id AND a2.attr_type=2
LEFT JOI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Percentage of factor levels the same between factor levels of second variable Below is a brief reproducible example, with a brief explanation.
age_group is a two-level factor. variant is a factor with a different amount of factors per age_group. prob is the probability of the respective variant by age_group.
dat = t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Checking if pandas row value is empty I loaded an excel file, let's call it test.xlsx into a data frame. I'm iterating over the rows of the dataframe and loading them into class objects. The problem is, some of the rows are blank, and if that is the case then I would like to fill in my own value.
import pandas as pd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL Error: ORA-01722: invalid number. How to find out the exact value? I have an INSERT statement with more than 100 columns. Testing one by one I was able to find out which value was causing the error. But what if I had an even bigger statement with hundreds of values? Is there a way to find out which column is cau... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: I have an error ImportError: cannot import name 'PlagiarismChecker' from 'plagcheck' I want to write code for checking for plagiarism. I chose the library plagcheck ‘https://github.com/codeclassroom/PlagCheck' . I downloaded, installed library, wrote the code, but when I launch a code, I get error ImportError: canno... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add citation number/tag that leads to same github wiki page reference? I am not talking about external linking [Tag](link) or in-page subsection linking [Tag](#subsection-header). For example, I am writing a scientific paper/blog on github wiki, and same as a scientific paper, I want to give some reference nu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Xcode keyboard layout and shortcuts In a macOS application project, passing from Xcode 12 (on Catalina) to Xcode 13 (on Monterey), I encountered a strange issue with my menu shortcuts. I usually add a shortcut to a menu item programmatically using these methods:
[menuItem setKeyEquivalent:@"1"];
[menuItem se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to install DPpackage in R on Mac? I was trying to install DPpackage in R using
install.packages("DPpackage"). However, it fails with
Warning in install.packages :
package ‘DPpackage’ is not available for this version of R.
Then I tried to check which version of R would work, but I was struggling understand the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R: Converting data from long to wide format I've the following data in long format.
MVal Poly Subclass
29.44 Mono G
29.39 Mono G
26.11 Mono G
24.21 Mono F
26.60 Mono F
28.32 Mono F
32.28 Mono R
31.91 Mono R
33.58 Mono R
25.00 Mono E
26.64 Mono E
23.67 Mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Use Google Apps Script to Call Coinbase Rest Api and Convert crypto currency to another I'am tryng to automate (through Coinbase Rest Api) the feature in Coinbase to Convert currencies without sell and buy.
I searched Internet for the code but it seems very hard to find clear documentation and examples.
With the hel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Firebase reading only first values but not other values When I try to retrieve a value inside of another loop using any id firebase returns only few values and not all values.
DatabaseReference qnaRef = database.getReference().child("QnA").child("Answers").child("NODVvgMGy_UqdZnxf_U");
qnaRef.addValueEventListener(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I color labels of phylogenetic tree generated with plot.phylo (Biostrings) by a dataframe value and add a color legend? I used the msa and Biostings packages to generate a phylogenetic tree plotting different viruses. Now, I would like to color the virus names by their genus. This is the code I have so far t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Random sampling with numpy works but cupy gives "Unsupported dtype I am trying translate my negative sampling code in numpy to cupy.
First I have following import in my jupyter notebook:
import cupy as cp
I have a list of strings my jupyter notebook:
In: l = ['aaaaaaaaaaaaaaaaaaaa', 'bbbbbbbbbbbbbbbbbbbb', 'ccccccc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to return google protocol messages from factory as unique_ptr? I am still trying to understand how to use the Google Protocol Buffers library so I hope you will excuse my ingorance if this is off topic.
I want to wrap the Google Proto Factory such that the message types are placed in unique_ptrs so I don't have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python CDK unable to find lambda assets from code Similar to this unanswered question except not using docker.
My structure is fairly sttraightforward
|- app.py
|- cdk.json
|- requirements.text
|- cdk_directory
| - cdk_stack.py
|- lambda
|- __init__.py
|- index.py
|- helper.py
Relevant... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Time taken by loop/commands in usecs in shell script I need to measure the time taken by command(s) in usecs inside my shell script
start_time ;
Command1;
command2;
end_time;
time_taken = end_time -start_Time;
I was looking at the Time commands, but not sure how to capture in usecs and subtract the end and start t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TypeScript catches type error in webpack, but not in vs code I have project A and B that have installed exact same dependencies: typescript:4.2.4, ts-loader: 9.0.2. Project A compiles through webpack fine with no type errors showing on both vs code and during compilation. But Project B on other hand shows no error o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vue3 - use text input to name a new object I've got a component where a list of items (objects from a JSON source) can be added to a new list. Some of those items should be customized upon adding them.
When the user click the add button, a modal appears with a text input. I want to use the text input to modify the n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Excel - Copy row from another sheet based on lookup value I have two excel sheets -- sheet 1 and sheet 2.
Sheet 1
Sheet 2
The user data is split between the two sheets. Each user is identified by a unique ID which is present in a column in both sheets.
I need to search for each ID from sheet 1 in sheet 2. If the I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to migrate from sql and php based backend to firebase in android app? i want to rewrite my code in firebase from msql based backend. i want to change the following codes to firebase. i dont knw how to change this codes to migrate to firebase
public class NewsActivity extends AppcompatActivity {
private Recy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: HTTP communication on port other than 80? In the book Computer Networking: A top down approach second edition by Kurose, in chapter 2 under Building a Web Server (2.8),
Author creates a server listening on the port 6789 for HTTP responses. Following was the URL given
http://somehost.somewhere.edu:6789/somefile.html... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Near smart-contract. Incorrect work of the example from the documentation In the example from the documentation guest-book, after the build, it produces this error:
ReferenceError: onSubmit is not defined
Uncaught (in promise) ReferenceError: onSubmit is not defined
Before the build, everything works correctly. Wha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: make drop down card smooth animation with tailwindcss I'm trying to build a drop down menu with tailwind but for some reason I'm only able to make the opacity work not the height smoothness. what's wrong?
this is the react component code below. this should be simple yet I can't make it work.
import React, { useState... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Refactoring my for comprehension to remove the unsafe get calls on the option values So my for comprehension technically compiles fine currently, but if you look carefully I have a few unsafe .get calls on the options.
for {
maybeProduct: Option[Product] <- EitherT.liftF {
for {
a <- ADao.get(1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to remove missing values when calculating weighted grouped percentages I am trying to calculate weighted percentages without missing values. Any advice on how the below code can be modified so that NA values are not part of the analysis?
df <- data.frame(
wave = rep(c(1,2),6),
gender = rep(c("m", "f", NA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter and GooglePay NOT show bottomsheet for confirm paymement I've been stuck on this problem for 3 days. so I want to implement the payment system in my app in Flutter I have implemented everything as in the tutorial the button appears (GooglePayButton) but when I click nothing happens. please help me thanks.
NO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Preserving a JWT token after login I'm very new to NodeJS so this is probably quite low-level but I have tried SO many different 'solutions' here.
I am using NodeJS, MongoDB and Express with Vanilla JS (being rendered through Pug). My project follows an MVC structure.
Problem
So far:
*
*I can login a user success... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: (Python) How do I take a random word, and split its letters into individual variables? Attempting to make hangman without a tutorial, to actually test my skills a bit. Just trying to figure out how I'd take a word (e.g. "About"), and split it's letters into it's own variable, so I can make the actual letter guessing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Unable to connect to my local MySql database using npm.mysql. Getting 6 different errors such as crypto, resolve, stream, timers, fs Well as stated above I am trying fetch data from my local database in mySql but I am getting differnet errors saying I need to install different modules. I have tried a lot of possible... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gradle giving me an error, possibly corruption EDIT: SOLVED
I am trying to code a Minecraft mod on IntelliJ idea but when my code is building, I am getting this error:
org.gradle.api.invocation.Gradle.getIncludedBuilds()Ljava/util/Collection;
Gradle's dependency cache may be corrupt (this sometimes occurs after a n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I print a list by knowing its string name Can I print a list by knowing its string name? Here's a code example:
x=[1,2,3]
y="x"
The output that I want is:
[1,2,3]
Not by print(x), but I want to convert "x" to list that already exist x.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75561613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Choppy audio with NAudio using when trying to simulate a gameloop I am trying to simulate a gameloop in NAudio, I have two loops one for recording and one for playing the audio back. Playback loop works every ~16ms but it sounds weird and choppy.
Here is the code i'm using
static void PlaybackLoop(double dt)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C# creating an iCal file I try to create an iCal file using the Ical.Net NuGet package
I get an error "The type name 'event' could not be found"
As far as I understood the description of the Ical.Net NuGet package it should provide the type "event"..
I have this code:
//Ical.Net NuGet package
//
using Ical.Net;
usin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change IntelliJ code formatting for SQL so that if/begin/end align left In IntelliJ, is there a way to change the code formatting rules for SQL so that the following snippet:
if @someCondition = 1
begin
print 'Some Condition is 1'
end
Looks like this:
if @someCondition = 1
begin
print 'So... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pandas - calculate values based on computed LAG value without using a loop Input dataset:
Group
Height
Value
Rolling
A
0
2
100
A
10
5
n/a
A
20
3
n/a
B
0
1
98
B
10
4
n/a
B
20
2
n/a
Goal: Subtract the Value from LAG(Rolling) where Height != 0 (per group), without using a loop if possible.
Output ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Conditional types don't play nicely with optional properties It doesn't appear that optional properties distribute through conditional types.
Consider:
type A<X> = (X extends string ? { stringValue: X } : { otherValue: X });
type B<X> = A<X> & { optionalValue?: number }
function func<X>(arg: B<X>) {}
function test... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Hibernate: data.sql causing "already exists" error with PostgreSQL or MysSQL I use data.sql and schema.sql files in order to create tables and populate them in a Spring Boot app. However, after first run, when I start the app again, it gives "already exist" error for table, constraints, table values.
I solved the ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use fault injection in proxyless gRPC? I'm trying to add a fault injection "filter" using proxyless gRPC but wasn't sure how to.
Any ideas on how to do it? Thanks in advance!
It did not work if I used the istio template - for example:
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sending a response from an AJAX POST request from PHP back to AJAX I am making a POST request using AJAX, using a proxy to bypass CORS issues and then getting a response from the third party API I am doing a POST request to.
I would like to send the response from PHP to Ajax, however I am not seeing this response in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Install ggplot2 in jupyter notebook when using R I want to work in jupyter notebook using R codes.
Now I'd like to draw graphs but I can't install ggplot2. Every time I try to install ggplot2, error message pops up like below.
Could you let me know how to solve this problem? (I want to use R code in jupyter notebook... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to assign the click on the right button with change of the prompt? I am a total newb when it comes to coding, did some beginner stuff but also wanted to see how difficult it would be to get the simple game going. Truth to be told is that I have no idea how to make a game. I did scrap some code from baunch of thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Qemu: Please remove the installation medium then press enter Context
After installing Ubuntu 22.10 on Qemu with:
cd ~/Downloads
qemu-img create ~/Downloads/ubuntu22.img 20G
qemu-system-x86_64 --enable-kvm -m 1024 -machine smm=off -cdrom ~/Downloads/ubuntu-22.04.1-desktop-amd64.iso -boot order=d ~/Downloads/ubuntu22... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is app fetching on input change in react? import './App.css';
import Axios from 'axios';
import {useState} from 'react';
function App() {
const [name, setName] = useState('');
const fetchData = () => {
Axios.get(`https://api.agify.io/?name=${name}`).then((res)=> {
console.log(res.data)
})
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ranking, ranking, tra la la (ranking in pandas) I have a pandas dataframe that looks like this:
SPX RYH RSP ... RYT RYU EWRE
Date ...
2022-03-04 NaN NaN NaN ... NaN NaN ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Postgres: PARTITION BY HASH fillfactor I want to create a table where I want to partition by hash on one column and then set fillfactor=80
The script looks like below
CREATE TABLE test1
(
col1 int NOT NULL GENERATED BY DEFAULT AS IDENTITY,
col2 varchar NULL,
col3 date null
)
PARTITION BY HASH (col3);
creat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What happened to unity scene and how to convert it back? The previous scene in unity has everything in normal. But it changed to something like this after i search on the left side. I don't know what is this view called and how to convert it back. It seems not to be the problem of orthogonal or perspective view.
ort... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Number of rows increase and decrease when UNNEST in BigQuery dataset I understand number of rows can increase when UNNEST an array of structs, but why would it decrease?
Scenario:
Export Google Cloud Platform Billing Data from BigQuery to Azure Synapse Analytics via the Synapse's Serverless SQL Pool using its Copy D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 100 point moving average filter on MATLAB I need to create a 100 point moving average filter on MATLAB and then convolute it with data to make a graph. How am I supposed to make the filter and keep it at the same length as the data that I need to plot?
I need the filter to cover 686 data points.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75561658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How will I use selector gadget to scrap website for a rating review I tried using a selector gadget to scrap reviews from https://www.airlinequality.com/airline-reviews/british-airways/?pagesize=50&filterby=
I want to scrap the rating reviews from "Seat Comfort".
I noticed the rating review is in a star symbol conta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: coloring certain keywords in itext The program has to turn a existing Java file (.java) into a PDF. But inside of the PDF, certain keywords have to be colored (int, double, new, ...) like in Netbeans (which I am using). So until now I turned the java file to a string and colored the keywords inside of the string wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to center the layer or stage on a moving circle Using Konva, I have a circle that tweens 10 units to the left every second.
How do I center the layer or the stage to the center of the circle after it tweens?
This is what I have right now, but the center is off to the right too far:
const newpos: Vector2d = {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cmake architecture issue with several compiler/subdirectory I am building a library for an embedded target with a cross-toolchain. To generate this library, I must create another binary before with my host compiler. This binary generates some headers for my library. I find everywhere that I cannot use two different ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I embed a power Bi report without access token? I don't need single sign on. It's OK to let user login power bi when access embeded report. I just need the bookmark pane show up.
My application does not need authentication, and my company's AD is not on Azure so I can't register my app on Azure AD even if I w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Looking for a Method to show More than all categories when I click on a TextView So actually I been working with Ai to find a solution for a bug on my project, the bug is when there is a lot of Categories it make the screen full , so instead of presenting all the cat I decided to present just 8 categories and when t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel - Sitewide Sidebar I want to add a sidebar to all of my pages, which will contain content from the database. Every page on my site will have this side bar added. I originally decided to create a controller which can provide the content, and then add the sidebar html and an ajax function on my layout templa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set the fixed icon rather than display it on hover in VSCode treeview? I am develop an vscode extension, i have a requirement,
how to set the fixed icon rather than display it on hover?
this is my configuration of
package.json:
"commands": [
{
"command": "fileExplorer.refre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove duplicates and some rows depends conditions I must remove duplicates mess from this table and remove some "wrong" mess present before a specific mess like 'okdepart'.
for exemple if mess depart are present before okdepart mess I need to remove it.
see for rnk_idid = 3 two mess depart which must removed
the or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I not be placing login_required() in each of my views AND Place for all without having to write it in each one Python (Django) Ej:
**Quiero saber si hay alguna forma de indicarle a login_required algunas vistas en especificas sin tener que hacer esto en cada una Gracias **
`
@login_required()
def vista1(reque... | {
"language": "es",
"url": "https://stackoverflow.com/questions/75561681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using OpenCV how I can extract contours from complex game cards? I'm struggling to extract contours of those cards:
Here is the best I managed to do:
I'm using Golang Gocv so I don't think it's very revelant for me to share code. But here what I do:
*
*CvtColor ColorRGBToGray
*Blur
*Otsu Threshold 0 255
*Ero... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Remove unwanted spikes from varying signal I have a signal that looks like this (given in blue), and what I want is to remove the unwanted peaks given to yield the signal that I drew by hand to be shown in black. Simple tools like median filter, etc, do not work since the spacing of these peaks can vary widely. Band... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't Connect Spring Application with MySql running on Docker. but working on intellij and MySql WorkBench I'm trying to run the spring boot application on docker with a connection with MySQL when I run the application on IntelliJ with MySQL running on docker it works correctly when I open MySql WorkBench the docker... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue pertaining VBA code on outlook forum that I cant get to work. Automated Emails to Excel Sheet I am on office 2019 and I have been trying to automate my emails to an excel sheet as part of a Ticket System, I know absolutely zero VBA and have just been trying to cobble something together off of some old posts. A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Importing Icon Modules into Angular Storybook Introduction
I am trying to build out Angular UI components using Storybook and am running into an issue where Storybook won't render any icons in the components. I am using Angular Icons, and they render properly when the component is called in the app-component.html, b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Powershell: use Select-String to get the first match out of each file in a directory Using PowerShell, I need to get the first instance of a match from each (text) file in the directory.
The relevant section of the file looks like this:
TANK PRODUCT VOLUME TC-VOLUME ULLAGE HEIGHT WATER TEMP
1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561691",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to detect or remove nul character in R? I have a table with a string column. This column includes lots of text but for some unknown reason, I find some nul characters such as '\0sult'. I would like to clean my column and remove this nul character but I don't know how to do this.
If I try :
grepl(pattern = "\0", ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: using multiple mat select in same component .cdk-overlay-pane position is conflicted with others mat select like show in image
using multiple mat select in same component .cdk-overlay-pane position is conflicted with others mat select
component.cs file
@media only screen and (max-width: 800px)
{::ng-deep .cardS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP login redirect works with IP address but not with website name I have an AWS Lightsail LAMP stack (not WordPress) and coded a simple login/session to a subdirectory of the main site because it's just for me, and not for normal website users.
When I access the site with its static IP address, the login works prop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Sequelize: findAll function with a nested include only returns 1 record of many I have 3 tables: User, Recs, and Media. A user has many recs, and a medium has many recs. I am trying to find all recs associated with a user, the media associated with each rec, and the amount of recs associated with each media.
Rec.fin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75561699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |