Id int64 4 8.51M | PostTypeId int64 1 7 | AcceptedAnswerId int64 7 75.5M ⌀ | ParentId int64 4 41.8M ⌀ | Score int64 -208 27.7k | ViewCount int64 11 12.4M ⌀ | Body stringlengths 0 45k | Title stringlengths 2 150 ⌀ | ContentLicense stringclasses 3
values | FavoriteCount int64 0 225 ⌀ | CreationDate stringdate 2008-07-31 21:42:52 2011-12-14 18:48:47 | LastActivityDate stringdate 2008-08-01 12:19:17 2023-03-05 04:40:26 | LastEditDate stringdate 2008-08-01 13:54:25 2023-03-05 03:12:45 ⌀ | LastEditorUserId int64 -1 21.3M ⌀ | OwnerUserId int64 -1 21.1M ⌀ | Tags listlengths 1 6 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75,620,604 | 2 | null | 75,620,578 | 0 | null | Are you missing a "\" in the file name?
Should it be C:\Users\User\.ssh\id_rsa_do ( a backslash before the .ssh ) ?
Once you have the key installed, you have to tell ssh to use it when you try to connect to the remote server
`ssh -i C:\Users\User\.ssh\id_rsa_do root@142.93.107.127`
| null | CC BY-SA 4.0 | null | 2023-03-02T20:40:41.257 | 2023-03-02T21:38:59.157 | 2023-03-02T21:38:59.157 | 53,300 | 53,300 | null |
75,620,608 | 1 | null | null | -5 | 53 | Trying to format a string from one format to another.
```
private static final SimpleDateFormat tatFormat = new SimpleDateFormat("dd-MMM-yyyy HH:mm");
private static final SimpleDateFormat formatLong = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
System.out.println(formatLong.format(tatFormat.parse("03-Mar-23 10:30")))... | SimpleDateFormat is giving wrong output | CC BY-SA 4.0 | null | 2023-03-02T20:40:58.937 | 2023-03-02T22:49:55.683 | 2023-03-02T20:44:01.187 | 1,553,851 | 11,735,887 | [
"java",
"simpledateformat",
"date-formatting"
] |
75,620,585 | 2 | null | 75,619,147 | 1 | null | In Azure DevOps, there are [4 merge types](https://learn.microsoft.com/en-us/azure/devops/repos/git/complete-pull-requests?view=azure-devops&tabs=browser#tabpanel_2_browser) to choose from:
1. Merge (no fast forward): Merge with a non-linear history that preserves all commits.
2. Squash commit: Merge with a linear his... | null | CC BY-SA 4.0 | null | 2023-03-02T20:38:37.407 | 2023-03-02T20:38:37.407 | null | null | 184,546 | null |
75,620,612 | 1 | null | null | 0 | 10 | What is the best way to edit files on Virtual Machines of Google Cloud?
Do I have to use console to update files?
ide.cloud.google.com is a good tool to modify files with its editor.
Is there a way to use it to access and modify files on Virtual Machines of Google Cloud?
| Edit Files on Virtual Machines of Google Cloud | CC BY-SA 4.0 | null | 2023-03-02T20:41:32.247 | 2023-03-03T04:34:39.980 | null | null | 6,778,765 | [
"google-cloud-platform",
"console",
"ide",
"virtual-machine"
] |
75,620,613 | 2 | null | 1,896,918 | 0 | null | I think that the method outlined in [https://docs.python-guide.org/writing/structure/](https://docs.python-guide.org/writing/structure/) is very clean:
(quoted here verbatim from that article)
To give the individual tests import context, create a tests/context.py file:
```
import os
import sys
sys.path.insert(0, os.pat... | null | CC BY-SA 4.0 | null | 2023-03-02T20:41:35.533 | 2023-03-02T20:41:35.533 | null | null | 13,842,944 | null |
75,620,603 | 1 | null | null | 0 | 13 | I've been trying to setup a simple vert.x application in docker and have followed this guide on [Docker Hub](https://hub.docker.com/r/vertx/vertx3) and created a Dockerfile like:
```
FROM vertx/vertx3
# (1)
ENV VERTICLE_NAME com.X.Y.MainVerticle
ENV VERTICLE_FILE t... | Using JRE 11 with Vert.x in docker | CC BY-SA 4.0 | null | 2023-03-02T20:40:29.063 | 2023-03-02T20:40:29.063 | null | null | 7,786,294 | [
"java",
"docker",
"vert.x"
] |
75,620,609 | 1 | null | null | 0 | 16 | I have a problem, because I am not sure how to handle multiple checkboxes in Angular Reactive Forms.
My API returns some data
```
{
"id": "UUID",
"name": "name"
}
```
The expected JSON I need to send via POST looks like that
```
{
"id": "UUID",
"property": "property"
}
```
Now I need to have two checkboxes, i... | How to display and handle mutliple checkboxes | CC BY-SA 4.0 | null | 2023-03-02T20:41:08.350 | 2023-03-02T20:41:08.350 | null | null | 10,608,855 | [
"angular",
"angular-reactive-forms"
] |
75,620,614 | 1 | null | null | 0 | 17 | I am new with python pulp and I have been trying to install another solver than the default one I have currently (GLPK_CMD), do you know any why of installing / downloading another solver like PULP_CBC for example?
Thank you in advance!
I looked in a lot of resources but didn't find any useful information on how to be ... | Python pulp solvers | CC BY-SA 4.0 | null | 2023-03-02T20:41:54.287 | 2023-03-02T20:41:54.287 | null | null | 21,266,619 | [
"python",
"solver",
"pulp"
] |
75,620,617 | 2 | null | 75,614,394 | 0 | null | > Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to find: ASW/config/checkstyle/suppression.xml
Issue does not look like it has to do with Java version. Checkstyle could not find your suppression file. Most likely it is not at the location you specified or is not at the correct relative loca... | null | CC BY-SA 4.0 | null | 2023-03-02T20:42:19.100 | 2023-03-02T20:42:19.100 | null | null | 1,016,482 | null |
75,620,615 | 1 | 75,621,089 | null | 0 | 25 | I'm playing around with SQS and Lambdas and have a minimal case with a queue and a Lambda triggered by a queue event. The strange thing is that if I add a message to the queue from the console, I can see from the CloudWatch logs that the Node.JS lambda is triggered but all my lambda currently does is console.log of the... | SQS message seen only once | CC BY-SA 4.0 | null | 2023-03-02T20:42:03.377 | 2023-03-02T21:42:16.107 | 2023-03-02T21:38:09.997 | 174,777 | 1,443,860 | [
"amazon-web-services",
"aws-lambda",
"amazon-sqs"
] |
75,620,621 | 2 | null | 75,620,485 | 1 | null | Ofcourse as per usual right as i posted this question i somehow got it working.
Rearranged all the columns in the dataframe from which the csv is exported according to the columns in the table.
| null | CC BY-SA 4.0 | null | 2023-03-02T20:42:31.020 | 2023-03-02T20:42:31.020 | null | null | 1,403,870 | null |
75,620,600 | 1 | null | null | 0 | 15 | I have a Selenium process within my web app that takes some time. So I'd like to run it in the background while the next web page loads. The process uses Chrome to scrape a website and insert data into my database. I have implemented a solution using Threading.
However, when I run the process in Google Cloud Run, I run... | Error when running Selenium in a thread in Cloud Run | CC BY-SA 4.0 | null | 2023-03-02T20:40:13.673 | 2023-03-02T20:40:13.673 | null | null | 21,315,248 | [
"python",
"google-cloud-platform",
"selenium-chromedriver",
"python-multithreading"
] |
75,620,619 | 1 | 75,632,231 | null | 1 | 40 | Like
```
xmlstarlet sel --var xp 'xpathExpression' -t -v '$xp' file.xml
```
is it possible to use in `xidel`?
I know I can use `shell` and "double quotes", but that's not the question.
| xidel: is it possible to declare a variable for a XPath expression? | CC BY-SA 4.0 | null | 2023-03-02T20:42:21.003 | 2023-03-03T22:00:34.637 | null | null | 465,183 | [
"shell",
"xpath",
"xidel"
] |
75,620,618 | 1 | null | null | 0 | 21 | Good evening!
I’m working on a simple project, where I have a view model, which has published boolean value. I would like to show a sheet when this value is set. However, the sheet function uses the `Binding` type, meanwhile I have the `Published` type.
Would it be possible to somehow deal with such a case? In case if ... | SwiftUI: Using a Published attribute to displaying a sheet | CC BY-SA 4.0 | null | 2023-03-02T20:42:20.257 | 2023-03-03T09:06:31.480 | null | null | 8,197,915 | [
"swiftui",
"swiftui-state",
"swiftui-sheet"
] |
75,620,620 | 1 | null | null | -3 | 20 | I have the following table in SQL
[](https://i.stack.imgur.com/J7ABm.png)
I would like to create a new table that combines the values of FemaleID and MaleID into one column FemaleMale, while bringing in the corresponding columns as well.
Here would be the final output.
[](https://i.stack.imgur.com/0kLYd.png)
How can th... | How To Combine/Pull corresponding Columns | CC BY-SA 4.0 | null | 2023-03-02T20:42:20.947 | 2023-03-02T21:01:09.260 | 2023-03-02T21:01:09.260 | 2,029,983 | 14,358,886 | [
"sql"
] |
75,620,623 | 2 | null | 75,620,469 | 0 | null | because with theSentence == "WPL":
```
unsigned startOfData = theSentence.find("P"); //gets the start of the data by finding the first P (which will be on the end of $GP)
unsigned endOfData = theSentence.find(","); //gets the first comma (which will be straight after the data we need)
```
startOfData is 1 because that... | null | CC BY-SA 4.0 | null | 2023-03-02T20:42:49.343 | 2023-03-02T20:42:49.343 | null | null | 106,104 | null |
75,620,626 | 2 | null | 75,620,575 | 3 | null | You can use the `and` operator to avoid nesting `if` statements.
```
if brand and "Vans" in brand:
```
Alternatively, it may work to replace `None` with an empty string before attempting to use the string.
```
brand = brand or ''
if "Vans" in brand:
```
| null | CC BY-SA 4.0 | null | 2023-03-02T20:43:02.517 | 2023-03-02T20:43:02.517 | null | null | 9,513,184 | null |
75,620,625 | 1 | null | null | 0 | 14 | I would like to change that code to be compatible with MVVM.
Below code with code-behind
```
<Button
x:Name="sevenBtn"
Grid.Row="2"
Grid.Column="0"
Click="NumberBtn_Click"
Content="7"
Style="{StaticResource numberButtonsStyle}" />
```
```
private ... | Send button object from xaml to class (using MVVM model) | CC BY-SA 4.0 | null | 2023-03-02T20:42:50.877 | 2023-03-02T20:42:50.877 | null | null | 9,848,314 | [
"c#",
"xaml",
"mvvm"
] |
75,620,627 | 1 | null | null | 0 | 13 | ```
private void loadGlobalChest() {
ConfigurationSection inventorySection = items.getConfigurationSection("inventory");
if (inventorySection != null) {
globalChestInventory.setContents(((List<ItemStack>) inventorySection.getList("items")).toArray(ItemStack[]::new));
}
}
```
Can... | Casting warning | CC BY-SA 4.0 | null | 2023-03-02T20:43:08.707 | 2023-03-03T16:20:51.227 | 2023-03-03T16:20:51.227 | 19,897,532 | 19,897,532 | [
"plugins",
"spigot"
] |
75,620,628 | 2 | null | 75,616,229 | 0 | null | Sure, you can. I followed the below steps
1. Select a pipeline (radio button)
2. Click on Notify button -> create notification rule
3. Notification name
4. Detail Type: Basic
5. Events: select all pipeline execution checkboxes
6. Create Target
7. Target type: AWS Chatbot (Slack)
8. Configure client (Slack)
9. Authoriz... | null | CC BY-SA 4.0 | null | 2023-03-02T20:43:12.453 | 2023-03-02T20:43:12.453 | null | null | 9,571,834 | null |
75,620,629 | 1 | null | null | 0 | 25 | I am new to Github workflow and want to deploy my angular app to my ec2 instance using it:
I have the following:
```
name: Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
-... | Github workflow failing when trying to deploy my angular app to ec2 instance | CC BY-SA 4.0 | null | 2023-03-02T20:43:35.900 | 2023-03-02T22:19:14.440 | null | null | 20,196,880 | [
"github",
"github-actions"
] |
75,620,624 | 1 | null | null | 0 | 7 | I am not sure if this problem is caused by my not doing this right, a bug in gdb, a bug in gio, or a fault in the source libraries server. The goal is the ability to step through gio's source code to follow its execution to find out why it is not working for me in my main account, but does work in other accounts create... | "find-dbgsym-packages /usr/bin/gio" command gets errors | CC BY-SA 4.0 | null | 2023-03-02T20:42:49.800 | 2023-03-02T20:42:49.800 | null | null | 5,024,264 | [
"gio"
] |
75,620,630 | 2 | null | 75,617,257 | 1 | null | You must utilize the `[PXDBDateAndTime(PreserveTime = true)]` attribute on your DateTime DAC field as well as the `DisplayFormat` property of the `PXGridColumn`.
DAC Example :
```
public sealed class APTranExtension : PXCacheExtension<APTran>
{
public abstract class usrDateTime : BqlDateTime.Field<usrDateTime>
... | null | CC BY-SA 4.0 | null | 2023-03-02T20:43:37.130 | 2023-03-02T20:43:37.130 | null | null | 1,677,890 | null |
75,620,622 | 1 | null | null | 0 | 10 | I use webpack5 and with below webpack configuration, it gets me one liner css exported to dist/main.css. I would like to take that css then convert it to string to use them in my tsx file. So I found two ways. One way is to use inline loader using raw-loader so I coded it like this in tsx file `import styleAsString fro... | How to use webpack's raw-loader/ to-string-loader to convert css to string? | CC BY-SA 4.0 | null | 2023-03-02T20:42:46.787 | 2023-03-02T20:42:46.787 | null | null | 13,759,144 | [
"javascript",
"css",
"reactjs",
"webpack"
] |
75,620,633 | 2 | null | 72,538,565 | 0 | null | I know this is old, but I ran into the same issue exactly. Here's what fixed it for me:
Instead of:
```
get_rates(body={...})
```
do this:
```
get_rates(**{...})
```
This passes the request dictionary as kwargs as described here: [Converting Python dict to kwargs?](https://stackoverflow.com/questions/5710391/converti... | null | CC BY-SA 4.0 | null | 2023-03-02T20:44:12.270 | 2023-03-02T20:44:12.270 | null | null | 5,768,114 | null |
75,620,634 | 1 | null | null | 0 | 15 | I want to have a logo image insert to the header and make it in the right hand side of the file.
```
---
title: "My title"
header-includes:
- \usepackage{titling}
- \pretitle{\begin{center}\LARGE\includegraphics[width=2cm]{logo.png}}
- \posttitle{\end{center}}
output:
pdf_document
---
```
This is the output and wha... | How can I put a logo in Header of Rmarkdown pdf document? | CC BY-SA 4.0 | null | 2023-03-02T20:44:21.883 | 2023-03-03T16:20:52.047 | 2023-03-03T16:20:52.047 | 469,680 | 21,314,566 | [
"r",
"r-markdown"
] |
75,620,635 | 1 | null | null | 0 | 9 | I need to set/change the value of PerformServerVilidation on the WLAN profile to FALSE on multiple computers. I don't mean to import the XML file to replace whole WIFI profile, but just change/set that parameter, and leaving the rest of the items untouched.
I couldn't find anything with netsh command, not sure if it ca... | Set PerformServerVilidation to false on WLAN WIFI profile | CC BY-SA 4.0 | null | 2023-03-02T20:44:37.233 | 2023-03-02T20:44:37.233 | null | null | 6,684,478 | [
"wifi",
"netsh"
] |
75,620,611 | 1 | 75,620,669 | null | 0 | 22 | I was trying to add a new dependency ([Easy-Rules](https://central.sonatype.com/artifact/org.jeasy/easy-rules/4.1.0/overview)) to my project:
but the dependency tag is underlined in red:
[](https://i.stack.imgur.com/LKDfs.png)
```
Missing artifact org.jeasy:easy-rules:jar:4.1.0
```
and if I try to run a maven clean in... | Missing Artifact, Could not resolve dependencies, was not found in https://repo.maven.apache.org/maven2 during a previous attempt | CC BY-SA 4.0 | null | 2023-03-02T20:41:27.837 | 2023-03-02T21:16:52.317 | null | null | 13,115,701 | [
"java",
"maven",
"dependencies",
"pom.xml"
] |
75,620,636 | 2 | null | 75,615,039 | 0 | null | You're very close but currently `(caar graph)` is discarded because you don't do anything with it.
```
(define (sn-users graph)
(cond ((empty? graph) null)
(else
(cons (caar graph) ; cons first element onto recursive result
(sn-users (cdr graph))))))
(sn-users
'((alice 100)
(bob 2... | null | CC BY-SA 4.0 | null | 2023-03-02T20:44:38.503 | 2023-03-02T20:44:38.503 | null | null | 633,183 | null |
75,620,638 | 2 | null | 75,620,269 | 1 | null | Use the returned figure to grab the relevant axes and line and calculate slope and intercept from the xydata. For reference, fig.axes[0].lines[0] is the data, lines[1] is the fit.
```
import statsmodels.api as sm
import scipy.stats as stats
import numpy as np
np.random.seed(100)
a = np.random.normal(0, 4, 100)
fig = ... | null | CC BY-SA 4.0 | null | 2023-03-02T20:44:49.683 | 2023-03-02T20:44:49.683 | null | null | 21,021,990 | null |
75,620,640 | 2 | null | 75,620,523 | 1 | null | You should know that `delete` is a javascript keyword and cannot be used an identifier, though it can be an object property name.
```
const obj = { delete: () => null } // fine
const { delete } = obj // error
```
So you cannot have local variable named `delete`, as you do from destructuring your props.
---
Changing... | null | CC BY-SA 4.0 | null | 2023-03-02T20:45:15.630 | 2023-03-02T20:45:15.630 | null | null | 62,076 | null |
75,620,637 | 1 | null | null | 0 | 15 | when I try to use stylo in R this Problem response comes up:
```
stylo()
using current directory...
GUI could not be launched -- default settings will be used;
otherwise please pass your variables as command-line agruments
Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
[tcl] invalid comman... | Using stylo package in r | CC BY-SA 4.0 | null | 2023-03-02T20:44:46.470 | 2023-03-02T21:58:47.150 | 2023-03-02T21:58:47.150 | 5,221,626 | 21,321,810 | [
"r",
"rstudio"
] |
75,620,639 | 2 | null | 75,617,481 | 0 | null | As the element is within an [<iframe>](https://stackoverflow.com/a/53276478/7429447) so you have to:
- Induce [WebDriverWait](https://stackoverflow.com/a/59130336/7429447) for the desired .- Induce [WebDriverWait](https://stackoverflow.com/a/52607451/7429447) for the [visibility_of_element_located()](https://stackoverf... | null | CC BY-SA 4.0 | null | 2023-03-02T20:45:01.220 | 2023-03-02T20:45:01.220 | null | null | 7,429,447 | null |
75,620,646 | 1 | null | null | -1 | 17 | I am building heat map using seaborn. I need heatmap to start from the second value in each row. And this second value is not a fixed column. How to achieve that. Thanks[](https://i.stack.imgur.com/VEqN5.png)
| Special type of heat map | CC BY-SA 4.0 | null | 2023-03-02T20:45:45.593 | 2023-03-02T20:45:45.593 | null | null | 8,540,635 | [
"python",
"seaborn",
"streamlit"
] |
75,620,642 | 2 | null | 75,620,394 | 0 | null | I can't figure out a way to do it with rounded borders, but this works if it's a standard rectangle:
```
Card(
modifier = Modifier
.height(itemHeight)
.width(itemWidth),
) {
Box(Modifier.fillMaxSize()) {
Column {
//your content
}
Canvas(Modifier.fillMaxSize())... | null | CC BY-SA 4.0 | null | 2023-03-02T20:45:32.677 | 2023-03-02T20:45:32.677 | null | null | 12,533,533 | null |
75,620,645 | 2 | null | 75,620,227 | 1 | null | Use REDUCE(LAMBDA()) to do REPLACE to insert the `-` where needed:
```
=REDUCE(A1,{17,14,9,3},LAMBDA(a,b,REPLACE(a,b,0,"-")))
```
1. This assumes that the placement in the string is fixed.
2. The Array {17,14,9,3} is the relative index of each - compared to the original individually.
[](https://i.stack.imgur.com/p... | null | CC BY-SA 4.0 | null | 2023-03-02T20:45:43.063 | 2023-03-02T20:45:43.063 | null | null | 4,851,590 | null |
75,620,632 | 1 | null | null | -3 | 23 | ok the problem is that i have sodoko game that creat in pygame whem i click on one of the boxes its wait until i enter number the problem is when i tried to click onther box (second click) becuse the program wating for key strok and i cheng the position without adding any number to it
so for the mouse strike that choos... | pygame the game crush when i tried to stroke any key | CC BY-SA 4.0 | null | 2023-03-02T20:43:53.380 | 2023-03-03T21:14:31.803 | 2023-03-03T21:14:31.803 | 5,577,765 | 13,410,401 | [
"python",
"events",
"pygame"
] |
75,620,643 | 1 | null | null | -1 | 16 | I am getting this error every time I attempt to set the airframe and at load. I attempted to just set state = action.payload however it fails to change. Not sure what I'm doing wrong here.
```
Type 'string | number | AirframeTakeoff | AirframeLanding | AirframeVSpeeds | TrimTable' is not assignable to type 'never'.
T... | Type 'string' is not assignable to type 'never'.ts(2322) redux toolkit | CC BY-SA 4.0 | null | 2023-03-02T20:45:32.943 | 2023-03-02T21:03:08.117 | null | null | 4,727,580 | [
"reactjs",
"typescript",
"redux-toolkit"
] |
75,620,651 | 2 | null | 75,617,265 | 1 | null | You don't need an `.each()` and `if()`.
Instead you could change the Cypress subject from the element to the attribute using `.invoke()`
```
cy.get('a[href*="/example"]')
.invoke('attr', 'href')
.then(href => {
cy.request(href)
})
```
| null | CC BY-SA 4.0 | null | 2023-03-02T20:46:19.573 | 2023-03-02T20:46:19.573 | null | null | 21,253,014 | null |
75,620,644 | 1 | null | null | 0 | 29 | Wondering how to include [r](/questions/tagged/r) snippet code from external file into [quarto](/questions/tagged/quarto) document.
1. The following code using knitr::read_chunk() works fine however, depends on knitr. knitr::read_chunk("Ch02.R")
2. The following code using quarto code runs without any error but does n... | How to include R snippet code from external file into Quarto document | CC BY-SA 4.0 | null | 2023-03-02T20:45:39.053 | 2023-03-03T05:54:07.703 | null | null | 707,145 | [
"r",
"r-markdown",
"knitr",
"quarto"
] |
75,620,653 | 1 | null | null | 0 | 10 | I am trying to check top 10 (preferably, but can be less or more than that) performer pipelines for the given dataset. I couldn't find any way to do this, is there one?
| Does TPOT have a module to see top 10 performers? | CC BY-SA 4.0 | null | 2023-03-02T20:46:59.603 | 2023-03-02T20:46:59.603 | null | null | 19,251,900 | [
"python",
"tpot"
] |
75,620,649 | 1 | null | null | -1 | 10 | [This is the error message I get.](https://i.stack.imgur.com/h4DFF.jpg)
When I turned on my laptop the keyboard wasn't working. I wanted to enter my password, but when I pressed the keys they beeped twice and non of the characters showed up. After holding the shift key for 10 sec, the error message popped up.
I tried t... | What to do if almost all of the keys on my build-in HP keyboard don't work and beep when pressed? | CC BY-SA 4.0 | null | 2023-03-02T20:46:01.443 | 2023-03-02T20:46:01.443 | null | null | 21,321,729 | [
"windows",
"operating-system",
"keyboard",
"hardware"
] |
75,620,647 | 1 | 75,620,744 | null | 0 | 23 | [The result of the below code](https://i.stack.imgur.com/cvAMT.png)i tried ploting matplotlib bar graph but couldn't plot the text on correct position. Seems like it there is some problem with the x-axis i defined
The texts which needs to be top on respective bars gets squashed to side.
Any help would be highly appreci... | Matplotlib bar chart text couldnt be plotted correctly | CC BY-SA 4.0 | null | 2023-03-02T20:45:55.333 | 2023-03-02T21:03:10.737 | 2023-03-02T20:47:32.757 | 15,528,520 | 15,528,520 | [
"python",
"matplotlib",
"data-analysis"
] |
75,620,655 | 1 | null | null | 0 | 12 | I have macro that will check the db name. I want to call this macro in my sql script and perform union if there is a result from my macro . How can I do this?
select abc from books
if {{get_db_name()}} == TRUE
UNION
select abc from book_2;
| How to call a macro using if condition in DBT? | CC BY-SA 4.0 | null | 2023-03-02T20:47:11.037 | 2023-03-02T22:49:31.837 | null | null | 14,232,090 | [
"macros",
"dbt"
] |
75,620,657 | 2 | null | 57,671,834 | 0 | null | What has worked for me in ionic 6 is not to target the content but the host itself. After setting the cssClass option as previously answered like this:
```
this.popover.create(ContactPopover, {}, {cssClass: 'contact-popover'})
```
I added the equivalent in global.scss:
```
.contact-popover {
--width: <custom width>... | null | CC BY-SA 4.0 | null | 2023-03-02T20:47:23.003 | 2023-03-02T20:47:23.003 | null | null | 1,580,232 | null |
75,620,660 | 2 | null | 75,620,186 | 0 | null | That first statement syntax looks incorrect. You cant use an if statement inside of a variable declaration.
```
float cb_dif = 0.0
if not avg_range_style and close > open or
cb_dif := close - open
else if not avg_range_style and close < open
cb_dif := open - close
else if avg_range_style
cb_dif := close - ... | null | CC BY-SA 4.0 | null | 2023-03-02T20:47:31.133 | 2023-03-02T20:47:31.133 | null | null | 21,214,111 | null |
75,620,658 | 1 | 75,621,387 | null | 0 | 18 | The button on the problem get's stretched when I add a picture as the background and I add the `.ignoreSafeArea` Modifier.
The only solution I found so far is add a `Spacer().frame(height: 1)` after the button. Is there a better way to solve this problem?
```
import SwiftUI
struct ContentView: View {
var body: som... | SwiftUI: button on the bottom get stretched when ignoreSsafeArea on background picture | CC BY-SA 4.0 | null | 2023-03-02T20:47:28.403 | 2023-03-02T22:22:59.213 | null | null | 17,345,492 | [
"swift",
"swiftui"
] |
75,620,656 | 1 | 75,620,754 | null | 0 | 33 | Output from `curl` contains JSON and this is piped to `jq`.
Running this:
```
jq -r '.list[] | select(.dt > 1677812400) | .clouds.all'
```
get me several lines of integers which I then average by piping to `awk`
What I'd like to do is to substitute the value 1677812400 with one that I can obtain by running the same `c... | jq: Assign Value to Variable then Use Variable in select in One Statement | CC BY-SA 4.0 | null | 2023-03-02T20:47:13.673 | 2023-03-02T21:02:10.377 | null | null | 5,847,482 | [
"bash",
"jq"
] |
75,620,661 | 2 | null | 75,607,865 | 0 | null | I've managed to track the issue down. For those that follow, I'd spotted the problem when the app was running, and looking on the "Run" tab to see the output when launching the LayoutInspector. By comparing the output when our app is running (which didn't work) with the Compose Code-Lab demo (which did work) that hig... | null | CC BY-SA 4.0 | null | 2023-03-02T20:47:32.953 | 2023-03-02T20:47:32.953 | null | null | 2,841,960 | null |
75,620,664 | 1 | null | null | 0 | 5 | I developed a mobile application based on Flutter. After the user logs in, I authenticate with a token for security. Then I convert the photos in the local folder on my windows server to base64 and send them to the user in the application. There is a delay when sending photos from the server to the app and this is a pe... | Transferring Videos and Photos from Server to Mobile Application | CC BY-SA 4.0 | null | 2023-03-02T20:47:43.850 | 2023-03-02T20:47:43.850 | null | null | 21,321,787 | [
"flutter",
"mobile-application"
] |
75,620,648 | 1 | null | null | 0 | 2 | I am trying to get valid records from mongodb using Spring - mongodb - java driver
my question is around the creation of the Bson filter
I am looking for matching records that match some filter (printer_Type and manufacture_Id )
and the records aren't deleted (isDeleted=true)
my issue is that isDeleted can exist or not... | Java driver - BSON filter check if record is deleted? | CC BY-SA 4.0 | null | 2023-03-02T20:45:58.557 | 2023-03-02T20:45:58.557 | null | null | 648,026 | [
"mongodb-java",
"spring-mongodb"
] |
75,620,652 | 1 | null | null | 0 | 19 | So I have a link, lets say `localhost:1234/datatable`, and I need for the user to be able to follow said link and have it redirect to the datatable route IF authenticated.
HOWEVER, the issue I'm encountering is that it consistently redirects to the login page first, which it will then automatically log the user in (sin... | Vue Router URL Keeps ReDirecting to Login and not Carrying Over Parameters | CC BY-SA 4.0 | null | 2023-03-02T20:46:28.190 | 2023-03-03T17:51:59.967 | 2023-03-03T17:51:59.967 | 18,241,240 | 18,241,240 | [
"javascript",
"vue.js",
"url",
"redirect",
"vue-router"
] |
75,620,665 | 2 | null | 75,618,075 | 0 | null | You could first create a query to identify the user segment you want to use and then filter by it in your where clause.
```
WITH userFrequencyFilter AS
(SELECT
usr
FROM dataset.test
GROUP BY 1
ORDER BY count(*)
LIMIT 2)
SELECT * FROM `dataset.test`
WHERE usr in (SELECT * FROM userFrequencyFilter)
```
| null | CC BY-SA 4.0 | null | 2023-03-02T20:47:44.337 | 2023-03-02T20:47:44.337 | null | null | 5,605,605 | null |
75,620,659 | 2 | null | 75,608,840 | 1 | null | I see a couple of ways you could solve this. If you were to go along the lines of your first approach, you could use nested map states as in this example. Here I am just using a Pass and Wait state as placeholders for where you'd use a [arn:aws:states:::glue:startJobRun.sync](https://docs.aws.amazon.com/step-functions/... | null | CC BY-SA 4.0 | null | 2023-03-02T20:47:29.293 | 2023-03-02T20:47:29.293 | null | null | 20,586,135 | null |
75,620,667 | 1 | null | null | 0 | 18 | This question is similar to [Is it possible to define an alias for type (enum or message) in google protobuf?](https://stackoverflow.com/questions/17533549/is-it-possible-to-define-an-alias-for-type-enum-or-message-in-google-protobuf)
But I want to know if thrift supports similar function. I couldnt find any such in do... | Is there thrift support for alias | CC BY-SA 4.0 | null | 2023-03-02T20:48:02.460 | 2023-03-03T16:00:48.170 | 2023-03-02T23:19:38.977 | 728,863 | 728,863 | [
"communication",
"thrift",
"thrift-protocol"
] |
75,620,610 | 1 | null | null | 0 | 5 | I had clicked yes on the pop-up that asked me to update Anaconda Navigator from 1.1.0 to 2.3.0. It had downloaded, and I got another Anaconda Navigator pop up that asked to reopen the program now. I clicked yes, and then my computer froze and stalled for like 10 minutes. I got impatient and forced a restart on my compu... | I tried to update Anaconda Navigator from 1.1.0 to 2.3.0 and in the middle of the update, my computer crashed. Now Navigator won't open at all | CC BY-SA 4.0 | null | 2023-03-02T20:41:17.917 | 2023-03-02T21:22:37.583 | null | null | 9,431,412 | [
"conda",
"anaconda3"
] |
75,620,663 | 1 | null | null | 0 | 42 | I'm given a list of numbers that I'm trying to sort by frequency, if the frequency is the same, they should then be sorted in ascending order. I first create a map of the list, with the keys representing each number and the values representing their frequency, and then use a comparator to sort from there. I've tried th... | Sorting a list using a hashmap by values then keys | CC BY-SA 4.0 | null | 2023-03-02T20:47:36.507 | 2023-03-02T23:56:42.297 | null | null | 21,321,861 | [
"java"
] |
75,620,672 | 2 | null | 74,065,399 | 0 | null | I looks like `ngx-timeago` 2.x is not compatible with Angular 14.
You will have to change for another library or fork it to support a more recent version on Angular.
| null | CC BY-SA 4.0 | null | 2023-03-02T20:48:28.400 | 2023-03-02T20:48:28.400 | null | null | 884,123 | null |
75,620,666 | 1 | null | null | 0 | 31 | HTML
```
<fieldset>
<label id="radio-buttons">Would you recommand this website?
<input type="radio" name="radio" value="button" class="inline" checked>Yes</input>
<input type="radio" name="radio" value="button" class="inline">No</input>
<input type="radio" name="radio" value=... | Can't align the input text with the radio button properly | CC BY-SA 4.0 | null | 2023-03-02T20:47:47.410 | 2023-03-02T21:26:11.093 | 2023-03-02T20:49:13.587 | 4,433,386 | 19,724,511 | [
"html",
"css",
"radio-button",
"vertical-alignment",
"text-align"
] |
75,620,673 | 2 | null | 71,370,983 | 0 | null | i had the same mistake, i just imported the missing "libraries" with Ctrl+Shift+O and worked
| null | CC BY-SA 4.0 | null | 2023-03-02T20:48:30.497 | 2023-03-02T20:48:30.497 | null | null | 21,321,894 | null |
75,620,669 | 2 | null | 75,620,611 | 1 | null | If you take a look at the files on [Maven Central](https://repo.maven.apache.org/maven2/org/jeasy/easy-rules/4.1.0/), you can see that there is no JAR. The artifact only consists of a pom-file and its hash and signature. `easy-rules` is just the parent project including configuration for its modules.
But if you want to... | null | CC BY-SA 4.0 | null | 2023-03-02T20:48:08.080 | 2023-03-02T21:16:52.317 | 2023-03-02T21:16:52.317 | 13,115,701 | 10,871,900 | null |
75,620,676 | 2 | null | 75,619,490 | 0 | null | If you change the AutoCompleteMode to SuggestAppend or Append and then set AutoCompleteSource = ListItems, that should fix your issue.
[Combobox Autocomplete Tab-out does not select item](https://stackoverflow.com/questions/1268521/combobox-autocomplete-tab-out-does-not-select-item)
| null | CC BY-SA 4.0 | null | 2023-03-02T20:49:38.167 | 2023-03-02T20:49:38.167 | null | null | 18,477,472 | null |
75,620,670 | 1 | null | null | 1 | 31 | I have the following problem.
I am trying to match all existing rows of a CSV file with the current one.
If the line already exists, the script should only show me it exists.
If the row does not exist, the script should tell me that the row does not exist.
However, the script always tells me that the row does not exist... | Check for line in CSV, if not existant - append the line | CC BY-SA 4.0 | null | 2023-03-02T20:48:16.670 | 2023-03-03T06:09:32.883 | null | null | 12,676,292 | [
"python",
"python-3.x",
"list",
"csv"
] |
75,620,662 | 2 | null | 68,052,027 | 0 | null | I got it to work with some extra help from AlpineJS.
The complexity of this solution is because Chrome-based browsers don't trigger HTMX when the `<select>`'s value changes.
This solution uses Alpine to:
- `@change`- `option``document.evaluate``select``$el`-
```
<select
name="make"
hx-target="#models"
x-data="{... | null | CC BY-SA 4.0 | null | 2023-03-02T20:47:35.037 | 2023-03-02T21:35:10.413 | 2023-03-02T21:35:10.413 | 496,097 | 496,097 | null |
75,620,680 | 2 | null | 75,620,575 | 0 | null | Also `try/except` would work
```
try:
print('y' if 'vans' in brand else 'n')
except:
pass
```
| null | CC BY-SA 4.0 | null | 2023-03-02T20:50:07.757 | 2023-03-02T20:50:07.757 | null | null | 236,465 | null |
75,620,678 | 2 | null | 75,620,572 | 0 | null | You need to modify the array `chars` in-place. Assigning to `chars` only changes the parameter value inside the function, but does not change the original array.
Remove the line `chars = arr;`. Instead, you can use [Array#splice](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/spl... | null | CC BY-SA 4.0 | null | 2023-03-02T20:49:53.007 | 2023-03-02T20:49:53.007 | null | null | 9,513,184 | null |
75,620,668 | 2 | null | 75,618,720 | 0 | null | Here is a potential solution.
```
import numpy as np
from gekko import GEKKO
m = GEKKO(remote=False)
x = np.array([1,2,5,3,2.7,5.1,2.5]); n = len(x)
a = m.Array(m.Var,3,lb=-100,ub=100)
w = np.array([m.Intermediate(m.exp(a[0]+a[1]*x[i]\
+a[2]*x[i]**2))
for i in range(... | null | CC BY-SA 4.0 | null | 2023-03-02T20:48:04.763 | 2023-03-03T13:45:39.470 | 2023-03-03T13:45:39.470 | 2,366,941 | 2,366,941 | null |
75,620,684 | 2 | null | 73,155,922 | 0 | null | That is a task for the Parser, not the Lexer. In fact the Lexer the whitespaces but does not pass them to the Parser. To enforce or not enforce the whitespaces in your example you need to implement a `.bnf` file with the Grammar-Kit extension [https://github.com/JetBrains/Grammar-Kit](https://github.com/JetBrains/Gram... | null | CC BY-SA 4.0 | null | 2023-03-02T20:50:14.570 | 2023-03-02T20:50:14.570 | null | null | 3,008,984 | null |
75,620,686 | 2 | null | 75,620,524 | 0 | null | `pulumi` support a flag that streams JSON to stdout, which is what the console is displaying:
```
pulumi up --json
```
| null | CC BY-SA 4.0 | null | 2023-03-02T20:50:37.157 | 2023-03-02T20:50:37.157 | null | null | 645,002 | null |
75,620,675 | 2 | null | 75,605,898 | 0 | null | One possible solution to read Maven properties is to use `MavenXpp3Reader` from the `maven-model` dependency.
```
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<version>3.8.6</version>
</dependency>
```
The `EnvironmentPostProcessor`, which adds properties to the Spring... | null | CC BY-SA 4.0 | null | 2023-03-02T20:49:29.827 | 2023-03-02T20:49:29.827 | null | null | 10,231,374 | null |
75,620,682 | 2 | null | 75,608,153 | 0 | null | There's a number of problems with your `rdiff` function (I'm only going to answer that question, not your other questions)
First, I find it suspicious that you are passing in a `data` argument but then modifying a data frame called `dat` that isn't an argument. I think the references to `dat` in the function should be ... | null | CC BY-SA 4.0 | null | 2023-03-02T20:50:09.410 | 2023-03-02T20:50:09.410 | null | null | 13,523,536 | null |
75,620,691 | 2 | null | 75,505,870 | 0 | null | ```
let hexString = "0x01"
// Convert the hex string to an integer value
guard let intValue = Int(hexString, radix: 16) else {
fatalError("Invalid hex string")
}
// Convert the integer value to a UInt8 value
let byteValue: UInt8 = UInt8(intValue)
// Create a byte array from the UInt8 value
let byteArray = [byteV... | null | CC BY-SA 4.0 | null | 2023-03-02T20:51:12.917 | 2023-03-02T20:51:12.917 | null | null | 10,927,750 | null |
75,620,687 | 1 | null | null | -1 | 32 | Sorry if this is dumb question, but I can't figure out how to print out a blank line after every set of words. For example, I need it to print out with a blank line in between each set.
```
for (Pronunciation p : PDict.values()) {
for (int i = 0; i < newSet.size(); i++) {
if (p.getPhonemes()... | How do I print a blank line after every set of words in this nested loop? | CC BY-SA 4.0 | null | 2023-03-02T20:50:42.440 | 2023-03-02T23:19:07.823 | 2023-03-02T20:51:52.430 | 20,245,044 | 20,245,044 | [
"java",
"loops",
"for-loop"
] |
75,620,690 | 1 | 75,621,720 | null | 0 | 35 | Change bar color in bar chart based on job status.
I get below messages:
```
Job XYZ Finished in 275 seconds
Job XYZ Finished with errors in 454 seconds
Job XYZ Finished in 473 seconds
```
[](https://i.stack.imgur.com/jj15s.png)
I tried different way but it's not working out, Can anyone help on it? Thank
```
index=stg... | Change bar color in bar chart based on job status in Splunk Dashboard | CC BY-SA 4.0 | null | 2023-03-02T20:51:01.130 | 2023-03-04T11:54:44.960 | 2023-03-04T11:54:44.960 | 1,729,689 | 1,729,689 | [
"splunk",
"splunk-query",
"splunk-dashboard",
"splunk-formula"
] |
75,620,692 | 2 | null | 75,572,119 | 2 | null | I had a very similar issue which I resolved by changing the version of "spring-boot-starter-parent" in pom.xml from "3.0.3" to "3.0.2". Not sure if this is a change between releases or a bug with the newer release.
| null | CC BY-SA 4.0 | null | 2023-03-02T20:51:37.797 | 2023-03-02T20:51:37.797 | null | null | 21,321,897 | null |
75,620,679 | 1 | 75,621,825 | null | 1 | 62 | I am getting some data from an api that returns an object that has a property of `Type` `Dictionary<int, double?>?` in JSON. The issue is that some times the JSON will pass back `Infinity` in the `double` property so my deserialize fails trying to convert `Infinity` to `double`. I am trying to write a `JsonConverter` t... | C# JsonConverter for Type Dictionary<int, double> where double value can be 'Infinity' | CC BY-SA 4.0 | null | 2023-03-02T20:49:56.333 | 2023-03-03T16:50:33.097 | 2023-03-02T20:59:45.243 | 43,846 | 4,338,301 | [
"c#",
"json",
"system.text.json"
] |
75,620,689 | 2 | null | 75,619,164 | 1 | null | Firestore security rules are checked when the read operation starts and it do evaluate against all your actual potential documents. Instead the rule merely checks whether the read operation is certain to only access data that it is allowed to access based on static analysis of the read operation/query against the cond... | null | CC BY-SA 4.0 | null | 2023-03-02T20:50:48.757 | 2023-03-02T20:50:48.757 | null | null | 209,103 | null |
75,620,685 | 1 | 75,620,921 | null | 0 | 16 | Working on my case study, I have 12 tables with 13 matching columns (ride_id, rideable_type, station_name, etc). I want to combine these into one table so all my data is in one place. I do NOT want to combine values, as there are repeat values that need to stay separate.
I've tried two solutions so far:
```
2022_divvy_... | How can I combine multiple tables that have matching columns, but keep all rows? | CC BY-SA 4.0 | null | 2023-03-02T20:50:29.710 | 2023-03-02T21:18:29.790 | 2023-03-02T20:58:23.393 | 21,321,872 | 21,321,872 | [
"sql",
"join",
"union-all"
] |
75,620,696 | 1 | null | null | 0 | 5 | I'm downloading a file using WSL2 with `google-chrome` + `chromedriver` running on Python 3.10.8. Accordingly to other stackoverflow posts this should work to set the default download folder.
```
from selenium import webdriver
prefs = {
"download.default_directory": default_download_dir,
}
options.add_experimental_... | How to make selenium's `download.default_directory` to work on WSL2 (Ubuntu 20.04) | CC BY-SA 4.0 | null | 2023-03-02T20:51:55.193 | 2023-03-02T20:52:43.310 | 2023-03-02T20:52:43.310 | 9,142,686 | 9,142,686 | [
"python-3.x",
"selenium-chromedriver",
"wsl-2"
] |
75,620,693 | 1 | null | null | 0 | 7 | I'm trying to generate a .cat file using Inf2Cat.exe. The problem is that I got an error saying: Operating Systems Parameter Invalid. I have followed instructions in [Microsoft Inf2Cat](https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/inf2cat) and I obtained operating system version identifier from th... | Inf2Cat Operating Systems Parameter Invalid | CC BY-SA 4.0 | null | 2023-03-02T20:51:39.353 | 2023-03-03T04:56:17.960 | null | null | 7,581,245 | [
"windows",
"command-prompt",
"file-generation"
] |
75,620,688 | 2 | null | 75,620,443 | 1 | null | You don't have multiple separator. The last field is a "list" with a variable number of items:
```
df = pd.read_csv('data.csv', sep=';', header=None).add_prefix('Col')
df = df.join(df.pop('Col5').str.split(':', expand=True))
print(df)
# Output
Col0 Col1 Col2 Col3 Col4 ... 15 ... | null | CC BY-SA 4.0 | null | 2023-03-02T20:50:44.170 | 2023-03-02T20:50:44.170 | null | null | 15,239,951 | null |
75,620,677 | 1 | null | null | 0 | 33 | I used a tutorial ([https://www.youtube.com/watch?v=Wh5nPn2U_1w&list=PLm3B56ql_akNcvH8vvJRYOc7TbYhRs19M&index=6](https://www.youtube.com/watch?v=Wh5nPn2U_1w&list=PLm3B56ql_akNcvH8vvJRYOc7TbYhRs19M&index=6)) to create a GDT and put its data right after the other code I wrote and before the BIOS boot bytes, but now I not... | How does memory management for an IDT and GDT work? | CC BY-SA 4.0 | null | 2023-03-02T20:49:50.950 | 2023-03-02T22:22:47.920 | 2023-03-02T22:22:47.920 | 3,144,770 | 19,134,808 | [
"assembly",
"memory",
"nasm",
"interrupt",
"bios"
] |
75,620,701 | 2 | null | 75,620,620 | 0 | null | Without answers to questions asked in comments, this might need changing, but general SQL, this is simple UNION:
```
SELECT FemaleId AS FemaleMale, Stage, Season
FROM YourTable
UNION ALL
SELECT MaleId AS FemaleMale, Stage, Season
FROM YourTable
```
| null | CC BY-SA 4.0 | null | 2023-03-02T20:52:25.223 | 2023-03-02T20:52:25.223 | null | null | 612,181 | null |
75,620,703 | 2 | null | 9,948,463 | 0 | null | This works for me:
```
MemoryStream ms = new MemoryStream();
await HttpContext.Request.Body.CopyToAsync(ms);
byte[] fileBytes = ms.ToArray();
```
| null | CC BY-SA 4.0 | null | 2023-03-02T20:52:44.140 | 2023-03-02T20:52:44.140 | null | null | 2,397,398 | null |
75,620,700 | 2 | null | 71,214,664 | 0 | null | Using `values.yaml` with the following content
```
primary:
extendedConfiguration: |-
wal_level = logical
```
you can easily override only the `wal_level`
```
helm install my-postgresql bitnami/postgresql -f values.yaml
```
| null | CC BY-SA 4.0 | null | 2023-03-02T20:52:05.720 | 2023-03-02T20:52:05.720 | null | null | 896,859 | null |
75,620,694 | 2 | null | 75,620,476 | 0 | null | If you can't bring yourself to use a fixed 2-d array or `vector<vector<bool>>` you could do this:
```
std::unordered_set<std::pair<int,int>, hash_pair> CurrentBoard;
std::unordered_set<std::pair<int,int>, hash_pair> NextBoard;
```
where hash_pair is defined as this (I borrowed the code from [here](https://www.geeksfor... | null | CC BY-SA 4.0 | null | 2023-03-02T20:51:48.730 | 2023-03-02T21:59:05.750 | 2023-03-02T21:59:05.750 | 104,458 | 104,458 | null |
75,620,704 | 2 | null | 75,594,105 | 0 | null | I'm writing this answer as a community wiki, since the answer was posted in the comments section, in order to provide a proper response to the question.
According to [Salvador C.](https://stackoverflow.com/users/21305525/salvador-c) the correct formula to use in Google Sheets is the following:
```
=iferror( filter(B4:D... | null | CC BY-SA 4.0 | null | 2023-03-02T20:52:50.533 | 2023-03-02T20:52:50.533 | null | null | 17,926,591 | null |
75,620,698 | 2 | null | 75,583,320 | 0 | null | ```
I have resolved this issue by adding DefaultInstantSerializer and DefaultInstantDeserializer classes and wrap with respective Serializer and Deserializer classes. the code below will help you to solve this issue and annotate java.time.Instant variables with these default classes.
1.
public class DefaultInsta... | null | CC BY-SA 4.0 | null | 2023-03-02T20:51:59.117 | 2023-03-02T20:51:59.117 | null | null | 19,952,812 | null |
75,620,702 | 1 | null | null | -1 | 30 | ```
package p1;
import java.util.Scanner;
public class P1 {
public static void mile(double mpg, double miles, double gallons) {
mpg = miles/gallons;
System.out.println("you drove" + miles + "milkes");
System.out.println("You uses" + gallons + "gallons");
System.out.println("The mpg... | passing arguments from the user | CC BY-SA 4.0 | null | 2023-03-02T20:52:28.347 | 2023-03-03T11:41:09.527 | 2023-03-03T11:41:09.527 | 466,862 | 20,706,090 | [
"java",
"methods",
"parameters",
"arguments"
] |
75,620,707 | 1 | null | null | -3 | 31 | I am trying this code to establish connection with Zerodha using zerodha Kite connect API.
Here is my code in python
```
import logging
from kiteconnect import KiteConnect
logging.basicConfig(level=logging.DEBUG)
key="4i567ljv5YNgrfdy"
kite = KiteConnect(api_key=key)
print(kite.login_url())
secret="eqz... | Error while running python code key Error : " ghhxfg" | CC BY-SA 4.0 | null | 2023-03-02T20:53:14.393 | 2023-03-03T13:19:59.490 | 2023-03-03T13:19:59.490 | 21,321,696 | 21,321,696 | [
"python",
"kite"
] |
75,620,706 | 2 | null | 75,620,666 | 0 | null | > min-height offsets your alignment. You can drop it and it's all good.
You can also get rid of the vertical-align.
In that case you need to rework the whole thing. Here's a quick fix. And here's more info on how to set it up properly in the future: [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset](h... | null | CC BY-SA 4.0 | null | 2023-03-02T20:53:12.033 | 2023-03-02T21:21:35.960 | 2023-03-02T21:21:35.960 | 14,898,845 | 14,898,845 | null |
75,620,711 | 2 | null | 75,617,205 | 0 | null |
## AVFoundation + Vision
You need to analyze the [depth map](https://stackoverflow.com/questions/55846523/using-iphone-truedepth-sensor-to-detect-a-real-face-vs-photo/62277412#62277412) of a flat image with a face on it (or a person with a real topology) for the uniformity of a grey color. A flat image has a subtle ... | null | CC BY-SA 4.0 | null | 2023-03-02T20:54:00.977 | 2023-03-03T09:04:45.590 | 2023-03-03T09:04:45.590 | 6,599,590 | 6,599,590 | null |
75,620,712 | 1 | null | null | 0 | 9 | I'm getting and error "Anonymous access is forbidden for this operation" when trying to use the df.to_csv function.
```
df.to_csv("s3://testdatateam1/test6.csv",
storage_options={'key': 'key here',
'secret': 'secret here})
```
I've been able to use boto3 to read and write files fro... | Error when using pandas .to_csv function to upload to S3. "Anonymous access is forbidden for this operation" | CC BY-SA 4.0 | null | 2023-03-02T20:54:00.947 | 2023-03-02T20:54:00.947 | null | null | 17,678,349 | [
"pandas",
"amazon-s3",
"boto"
] |
75,620,714 | 1 | 75,621,167 | null | 0 | 37 | I need to make the C5 returns 1 (True). And return False only if * is in the A cell.
For that, I believe the Split function must not jut ignore empty cells, but return TRUE when it dont contain the keyword *.

Is that possible?
| How to make split function return TRUE for empty cells? | CC BY-SA 4.0 | null | 2023-03-02T20:54:18.510 | 2023-03-02T21:51:59.237 | 2023-03-02T21:02:46.143 | 18,244,921 | 21,301,563 | [
"google-sheets",
"google-sheets-formula"
] |
75,620,710 | 1 | 75,625,207 | null | 1 | 27 | What is the best way to disable all inputs while the server is busy computing?
I have several inputs whose changes trigger small computations and the rendering of an output. Usually everything works fine, but if someone changes a slider or a numeric input too fast, the program gets stuck somewhere between data preparat... | Disable inputs while server is busy | CC BY-SA 4.0 | null | 2023-03-02T20:53:28.457 | 2023-03-03T09:19:33.193 | null | null | 6,583,972 | [
"r",
"shiny",
"shinyjs"
] |
75,620,705 | 1 | null | null | 0 | 7 | Below is what I have so far. Unfortunately because the TextField is wrapped by the Autocomplete component uniforms-mui AutoForm can't find the inputRef for it to focus the element...and I've no idea how to get around it.
```
import { Autocomplete } from "@mui/material";
import TextField, {
TextFieldProps as MUITextF... | How do I augment uniforms-mui TextField with @mui/material/Autocomplete? | CC BY-SA 4.0 | null | 2023-03-02T20:52:59.477 | 2023-03-02T20:52:59.477 | null | null | 20,741,152 | [
"reactjs",
"typescript",
"autocomplete",
"textfield"
] |
75,620,715 | 2 | null | 75,620,687 | 0 | null | Add a end line after the inner for loop
```
for (Pronunciation p : PDict.values()) {
for (int i = 0; i < newSet.size(); i++) {
if (p.getPhonemes().equals(newSet.get(i))) {
System.out.println(p.getWord());
break;
}
}
... | null | CC BY-SA 4.0 | null | 2023-03-02T20:54:19.837 | 2023-03-02T20:54:19.837 | null | null | 19,111,565 | null |
75,620,708 | 1 | null | null | 0 | 8 | I'm using SolrJ to populate a collection in a solr cluster. In my the schema.xml the field `id_length` is defined as:
```
<field name="id_length" type="int" indexed="true" stored="false"/>
```
I'm populating the collection by batches of 1000, I'm trying to store 450k documents:
```
public void write(SolrDocumentList p... | "ERROR: multiple values encountered for non multiValued field id_length: [7, 7]" but the original input does not have more than one value | CC BY-SA 4.0 | null | 2023-03-02T20:53:19.113 | 2023-03-02T20:53:19.113 | null | null | 10,130,891 | [
"solr",
"solrj",
"solrcloud"
] |
75,620,697 | 1 | null | null | 0 | 37 | When I call the pop function with an empty list, it correctly outputs the "Stack is empty." message. However, after I add two elements to the list with two push function calls and then call the pop function twice without any problems, It freezes and does not return any output. Do you have any idea about it? I need you... | Code that gives an error that is not deleted when there is no element in the list on stack in C language | CC BY-SA 4.0 | null | 2023-03-02T20:51:56.703 | 2023-03-03T15:24:24.680 | 2023-03-02T21:51:38.073 | 2,877,241 | 15,996,222 | [
"c",
"linked-list",
"stack",
"singly-linked-list",
"function-definition"
] |
75,620,720 | 2 | null | 70,708,469 | 0 | null | It's listening for Button type "Submit" not Button.
In your Javascript, try this..
if (currentTab >= x.length) {
// change button type to submit before the form gets submitted:
```
var btn=document.getElementById("nextBtn");
btn.setAttribute('type', 'submit');
document.getElementById("surveyForm").submit();
return fal... | null | CC BY-SA 4.0 | null | 2023-03-02T20:54:45.950 | 2023-03-02T20:54:45.950 | null | null | 21,321,898 | null |