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,630,222 | 2 | null | 71,867,633 | 0 | null | Several things are wrong with this question; and this is technically not necessarily an answer, but I think serves to provide some useful food for thought.
First of all, both the polymorphic classes and the types in the type union (variant) have no data. The sizes of these types therefore are 1 byte for the non-OOP "pl... | null | CC BY-SA 4.0 | null | 2023-03-03T17:36:36.720 | 2023-03-03T17:51:06.440 | 2023-03-03T17:51:06.440 | 15,253,924 | 15,253,924 | null |
75,630,257 | 2 | null | 37,806,538 | 0 | null | I downloaded a demo app and had this issue. I've Xcode `Version 14.1` and what worked for me is:
1. Go to Signing and Capabilities tab and check on Automatically manage signing
2. modify the Bundle Identifier. In my case I appended my name to the existing bundle identifier
[](https://i.stack.imgur.com/p4Sp3.png)
| null | CC BY-SA 4.0 | null | 2023-03-03T17:40:36.457 | 2023-03-03T17:40:36.457 | null | null | 7,234,479 | null |
75,630,263 | 2 | null | 75,629,908 | 0 | null | Do you check path? Background-image always work correct on SASS. Wait, you tried without variables? Because I checked this and its work:
```
background: linear-gradient(
90deg,
rgba(0, 0, 12, .70)0%,
rgba(14, 39, 106, 0.2)30%,
rgba(21, 43, 102, 0.2)55%,
rgba(22, 31, 55, 0.2)75%,
rgba(0, 0, 1... | null | CC BY-SA 4.0 | null | 2023-03-03T17:41:08.213 | 2023-03-03T17:44:14.347 | 2023-03-03T17:44:14.347 | 15,496,530 | 15,496,530 | null |
75,630,262 | 1 | null | null | 0 | 9 | Why do I get a {"error":"invalid_request"} when generating an?
I received the new Authorization Code "JB2I1eth" via Create Authorization Code.
But with create token I get a invalid_request !
Thank you for a short feedback
curl -X POST -H "Content-Type: application/x-www-form-urlencoded;charset=utf-8" -H "Authorization:... | Why do I get a {"error":"invalid_request"} when generating an Access Token? | CC BY-SA 4.0 | null | 2023-03-03T17:40:53.833 | 2023-03-03T17:40:53.833 | null | null | 21,327,561 | [
"curl"
] |
75,630,267 | 2 | null | 63,685,257 | 0 | null | You can use this tool to create schemas from you golang structs
[https://github.com/s-augustovitko/mongo-schema-go](https://github.com/s-augustovitko/mongo-schema-go)
| null | CC BY-SA 4.0 | null | 2023-03-03T17:41:35.967 | 2023-03-03T17:41:35.967 | null | null | 21,327,760 | null |
75,630,268 | 2 | null | 13,042,008 | 0 | null | Found this thread because I ran into the same problem. After finding the cause from here, a method I found to be useful was to use the separate scanner objects for the different uses (since it is otherwise buggy if taking multiple inputs with a single scanner objects), and then close all scanner objects when all scanne... | null | CC BY-SA 4.0 | null | 2023-03-03T17:41:39.367 | 2023-03-03T17:41:39.367 | null | null | 21,327,729 | null |
75,630,260 | 1 | null | null | 0 | 17 | While attempting to upload a video to Firebase, I received an error message stating "Firebase Error uploading a video the service is currently unavailable this is most likely a transient condition and may be corrected by retrying with backoff". My app user authentication worked perfectly but when user try to upload Vid... | Error while uploading a video to Firebase, indicating that the service is currently unavailable | CC BY-SA 4.0 | null | 2023-03-03T17:40:51.707 | 2023-03-03T19:21:43.970 | 2023-03-03T19:21:43.970 | 17,958,365 | 17,958,365 | [
"flutter",
"firebase",
"file-upload",
"google-cloud-storage",
"firebase-storage"
] |
75,630,264 | 2 | null | 75,163,876 | 0 | null | I've been experimenting with NextJS 13 and I've worked out a solution to using Next/Font and applying it across your app dynamically via a stylesheet. I'm using your same Font.js file from above.
In'_app.s' file:
```
import Layout from '@/components/layouts/Layout';
import { roboto, poppins } from '@/utils/fonts';
imp... | null | CC BY-SA 4.0 | null | 2023-03-03T17:41:26.423 | 2023-03-03T17:41:26.423 | null | null | 12,414,037 | null |
75,630,265 | 2 | null | 75,629,694 | 1 | null | It's by design that you're getting a long string when calling `text()`
```
const fullTable = $('.full_table').text()
```
# text
> Get the combined text contents of each element in the set of matched elements, including their descendants.
From the [docs](https://cheerio.js.org/docs/api/classes/Cheerio#text)
While `t... | null | CC BY-SA 4.0 | null | 2023-03-03T17:41:27.080 | 2023-03-03T17:41:27.080 | null | null | 3,022,145 | null |
75,630,271 | 2 | null | 75,609,635 | 1 | null | Dioxus has a separate hook called [use_ref](https://dioxuslabs.com/docs/0.3/guide/en/interactivity/hooks.html#use_ref-hook) for values that are not clone. It is possible to use interior mutability like RefCell inside of a use_ref hook, but it is not recommended because it can easily break updates
```
use dioxus::prelud... | null | CC BY-SA 4.0 | null | 2023-03-03T17:41:56.130 | 2023-03-03T17:41:56.130 | null | null | 13,016,068 | null |
75,630,275 | 2 | null | 75,627,408 | 0 | null | The IP and port you bind to is local, not external. You cannot bind to a multicast because that would be binding to multiple ips, most of which are probably not your local machine. Instead, you have to bind to a local port. I do not think there is a way to check if an ip is part of a multicast group, but I don’t unders... | null | CC BY-SA 4.0 | null | 2023-03-03T17:42:18.583 | 2023-03-03T17:42:18.583 | null | null | 17,547,957 | null |
75,630,272 | 2 | null | 75,629,915 | 0 | null | here is your complete code, I just replaced post with get method.
```
import json
from os import system
from time import sleep
import requests
from colorama import init, Fore
init(autoreset=True)
while True:
print(Fore.RED+" 5 1 2 4 - O f f i c a l \n")
print(Fore.R... | null | CC BY-SA 4.0 | null | 2023-03-03T17:42:01.823 | 2023-03-03T17:42:01.823 | null | null | 11,179,336 | null |
75,630,266 | 1 | null | null | 0 | 6 | Hi i am make beehive scale with loot function, published under gnu/gpl v3. here is link: [https://jbmprojekty-sk.translate.goog/aboutbh.php?_x_tr_sch=http&_x_tr_sl=sk&_x_tr_tl=en&_x_tr_hl=sk&_x_tr_pto=wapp](https://www.stackoverflow.com/)
I have big problem, i need send values from scales, temperature and humidity over... | SIM 800L send data over http | CC BY-SA 4.0 | null | 2023-03-03T17:41:32.430 | 2023-03-03T17:41:32.430 | null | null | 17,882,171 | [
"sim800l"
] |
75,630,273 | 2 | null | 74,212,793 | 0 | null | It's been for a while, so I'm answering it the way I did it in the past, which is not perfect, but works. I believe it's self explanatory, for more details there is similar discussion [here](https://stackoverflow.com/questions/74102522/how-to-check-if-outlook-email-encrypted). Code also check for "signed" emails.
```
/... | null | CC BY-SA 4.0 | null | 2023-03-03T17:42:05.390 | 2023-03-03T17:42:05.390 | null | null | 3,394,776 | null |
75,630,274 | 1 | null | null | 0 | 14 | I am trying to run a rename function. However, I am getting an error of Error in rename.sf(., bi_class_svi_ProjectB = bi_class) : internal error: can't find agr columns.
Also, below are classes for my data and for the bi_class variable:
```
class (IDD_nhmap)
[1] "sf" "grouped_df" "tbl_df" "tbl" "data... | Error in rename.sf(., bi_class_svi_ProjectB = bi_class) : internal error: can't find agr columns | CC BY-SA 4.0 | null | 2023-03-03T17:42:05.553 | 2023-03-03T20:34:58.493 | 2023-03-03T20:34:58.493 | 9,319,259 | 9,319,259 | [
"r",
"dplyr",
"rename"
] |
75,630,276 | 1 | null | null | 0 | 25 | I am testing a bit with AWS lambda functions and API Gateway and by now, I can not answer the following question to myself:
What is the best practice to parse a JSON Body of a Request via an AWS API Gateway to a Lambda Function?
I have written several Request Handlers, that parse a JSON Input using a map of String or e... | Pass JSON file to a Java AWS Lambda Function via API Gateway | CC BY-SA 4.0 | null | 2023-03-03T17:42:20.440 | 2023-03-03T22:03:08.277 | 2023-03-03T22:03:08.277 | 1,435,543 | 21,327,713 | [
"java",
"amazon-web-services",
"aws-lambda",
"aws-api-gateway"
] |
75,630,278 | 2 | null | 75,628,191 | 0 | null | Change this line:
`const [ currentUser, setCurrentUser ] = useContext(User);`
To this one:
`const { currentUser, setCurrentUser } = useContext(User);`
You are getting that error because you are trying to destructure the context value as an array, but it's an object.
| null | CC BY-SA 4.0 | null | 2023-03-03T17:42:33.307 | 2023-03-03T17:42:33.307 | null | null | 21,287,266 | null |
75,630,279 | 1 | null | null | -1 | 7 | I want to stop my ngrok tunnel if no requests were made in the last 5 minutes. How can I do that without adding code in every single endpoint?
| How to track requests time in Flask | CC BY-SA 4.0 | null | 2023-03-03T17:42:34.713 | 2023-03-03T17:42:34.713 | null | null | 15,702,260 | [
"flask",
"ngrok"
] |
75,630,244 | 1 | null | null | 0 | 34 | I want to draw a publication-ready diagram of a parallel mediation model in R.
I adapted the Diagrammer + Graphviz Code provided here [https://stackoverflow.com/questions/46465752/drawing-simple-mediation-diagram-in-r](https://www.stackoverflow.com/), but I do not seem to get the expected output. I think I am doing som... | Drawing diagram of a multiple / parallel mediation model in R | CC BY-SA 4.0 | null | 2023-03-03T17:39:08.683 | 2023-03-04T22:57:44.190 | 2023-03-04T11:10:20.747 | 8,727,911 | 8,727,911 | [
"r",
"visualization",
"draw",
"graphviz",
"diagrammer"
] |
75,630,284 | 2 | null | 75,630,204 | 1 | null | I would just make the buttons you need in html and give the css "visibility: hidden" on those buttons and use the printBtn function to make those styles visable with document.getElementById("btn").style.visibility = visable.
I would comment this but I can't yet.
| null | CC BY-SA 4.0 | null | 2023-03-03T17:43:37.023 | 2023-03-03T17:43:37.023 | null | null | 19,090,344 | null |
75,630,281 | 1 | 75,630,635 | null | 1 | 28 | I am trying to create a horizontal stack bar but unable to do that also want to make alignment of bars dynamic like (horizontal,vertical).
also want to display N with labels like showed in pic below.
```
proba <- data.frame(PartnerName = c("China", "Brazil", "Argentina", "UE", "US"), Food = c("12%","22%","36%","40%","5... | function for horizontal stack bar with ggplot | CC BY-SA 4.0 | null | 2023-03-03T17:42:49.107 | 2023-03-04T13:31:35.757 | 2023-03-04T13:01:21.170 | 19,161,434 | 19,161,434 | [
"r",
"ggplot2"
] |
75,630,269 | 1 | null | null | 0 | 14 | I'm a beginner to Tensorflow 2.0. I have worked extensively with PyTorch and finding it difficult to find parallels to Tensorflow 2.0 for my current work, with the available documentation. I would appreciate any help with this task:
I have a pre-trained decoder of the VAE of the [GHUM human body model](https://openacce... | Tensorflow 2.0 - No gradients provided for any variable | CC BY-SA 4.0 | null | 2023-03-03T17:41:43.710 | 2023-03-03T19:21:20.017 | null | null | 681,911 | [
"tensorflow",
"optimization",
"pytorch"
] |
75,630,283 | 2 | null | 8,414,547 | 0 | null | You can also use Set to achieve this goal, which results in code that is more elegant.
```
require 'date'
class Range
def intersection(other)
intersecting_set = to_set & other.to_set
intersecting_set.first && (intersecting_set.min..intersecting_set.max)
end
alias_method :&, :intersection
end
pry(main)> ... | null | CC BY-SA 4.0 | null | 2023-03-03T17:43:33.370 | 2023-03-03T20:50:42.443 | 2023-03-03T20:50:42.443 | 874,283 | 874,283 | null |
75,630,287 | 2 | null | 75,629,409 | 1 | null | Java clients can not use a kdb (CMS) key store. You can use either a jks (Java Key store) or pkcs12 (pfx or p12) key store.
This answer provides a method to create a jks from a kdb:
[KDB to JKS keystore conversion](https://stackoverflow.com/questions/55233923/kdb-to-jks-keystore-conversion#55311445)
| null | CC BY-SA 4.0 | null | 2023-03-03T17:44:17.167 | 2023-03-04T03:55:16.303 | 2023-03-04T03:55:16.303 | 7,264,620 | 7,264,620 | null |
75,630,277 | 1 | null | null | -1 | 32 | I'm doing a project with `HTML`, `CSS` and `` and I pretend after the `Yes` button is clicked, should appear the image `noite.png` and after that the counter must be equal to 0 (I need this counter to know how many times the person needed to answer correctly the question).
The following `HTML`:
```
<!DOCTYPE html>
<htm... | Image doesn't appears in the browser javascript | CC BY-SA 4.0 | null | 2023-03-03T17:42:29.187 | 2023-03-03T19:43:51.170 | 2023-03-03T19:43:51.170 | 17,578,970 | 17,578,970 | [
"javascript",
"html",
"css",
"image",
"function"
] |
75,630,280 | 1 | null | null | 0 | 23 | I have following models.py and views.py . I am trying to change the date to workweek in views file. But when i try to import date , I get the following error:
NameError at /
name 'date' is not defined
Any idea why ?? and how to fix it ??
---------models.py--------------->>
```
class metric(models.Model):
metric ... | Cannot import models into view.py | CC BY-SA 4.0 | null | 2023-03-03T17:42:44.307 | 2023-03-04T13:04:53.910 | null | null | 21,327,703 | [
"django",
"django-models",
"django-views"
] |
75,630,288 | 1 | null | null | 0 | 14 | I'm kind of confused about max.poll.records config in Apache Kafka Consumer regarding "Exactly Once" semantics in Apache Kafka.
Based on my research the "Exactly Once" semantics has nothing to do with max.poll.records config.
But if I set to max.poll.records=1, would it "reduce" the probability of possible duplication ... | Kafka "Exactly Once" semantics and max-poll-records | CC BY-SA 4.0 | null | 2023-03-03T17:44:17.190 | 2023-03-03T19:07:20.873 | null | null | 2,366,405 | [
"apache-kafka",
"confluent-platform"
] |
75,630,285 | 1 | null | null | 0 | 5 | I have a module that includes a utility function with a tenacity retry tag
```
from tenacity import retry, stop_after_attempt, wait_random
def log_attempt_number(logger, retry_state):
logger.info(f"Attempt number {retry_state}")
logger.info("Logger is not recognized here unless we instantiate in this file")
@retr... | Logging python tenacity retry_state with logger from outer scope | CC BY-SA 4.0 | null | 2023-03-03T17:43:56.873 | 2023-03-03T17:43:56.873 | null | null | 10,634,126 | [
"python",
"logging",
"python-tenacity",
"tenacity"
] |
75,630,286 | 1 | null | null | 0 | 14 | The new version of Bluetooth APIs will prevent older versions device (such as Android 12 devices) from receiving notifications, but the old APIs can work normally.
```
public void onCharacteristicChanged (BluetoothGatt gatt,
BluetoothGattCharacteristic characteristic,
byte[] value) {
}... | Not receiving BLE notifications when using API 33 for Android 12 device | CC BY-SA 4.0 | null | 2023-03-03T17:43:58.527 | 2023-03-03T17:43:58.527 | null | null | 3,180,134 | [
"android",
"notifications",
"bluetooth-lowenergy"
] |
75,630,295 | 2 | null | 11,130,120 | 0 | null | One other small advantage of the TAB delimiter is that when you need to inspect quickly in Excel, i.e. without loading through PowerQuery and the like, you just open in notepad, CTRL+A, CTRL+C, and CTRL+V in Excel, and you're good.
If you do that with a CSV, the whole thing falls apart.
| null | CC BY-SA 4.0 | null | 2023-03-03T17:44:55.693 | 2023-03-03T17:44:55.693 | null | null | 20,574,372 | null |
75,630,290 | 2 | null | 75,630,241 | -1 | null | You can use `random.random()` as part of the key to `sort()` or `sorted()`.
```
import random
i = ["Seb","Ludi","Steph","angel","Oumar","Antoine","Roger","Mario","Ben","Andressa","Cedric","Matt","Radu","Phil","Fouad","Thuy"]
i_random_ordered = sorted(i, key=lambda _: random.random())
print(i_random_ordered)
```
As @ro... | null | CC BY-SA 4.0 | null | 2023-03-03T17:44:27.900 | 2023-03-03T18:01:29.007 | 2023-03-03T18:01:29.007 | 218,663 | 218,663 | null |
75,630,291 | 1 | null | null | 0 | 8 | I am very new to the amplify/react world and stuck on below.
How do I attach an existing item in the create form?
I have two data models with a 1:1 relationship. In the autogenerated create form I do not see an option to attached an existing pickupaddresses. In Amplify studio when I navigate to Content management, some... | Amplify with react - relationship - not able to associate a related item in create form | CC BY-SA 4.0 | null | 2023-03-03T17:44:36.557 | 2023-03-03T17:48:53.493 | 2023-03-03T17:48:53.493 | 5,913,964 | 5,913,964 | [
"reactjs",
"graphql",
"aws-amplify",
"amplifyjs",
"aws-amplify-sdk-js"
] |
75,630,297 | 1 | null | null | 0 | 9 | This is an error window message I get when I click "Build and Run" or "Build"
`Error while evaluating property 'namespace' of task 1:unityLibrary:GooglePlayGamesManifest.androidhb:padogeReleaseResources' See the Console for details.`
Console messages:
[https://traff.co/1H4khYgQ](https://traff.co/1H4khYgQ)
Restarting ap... | Can't build my game Unity Editor 2022.2.6f1 . 'namespace' of task 1:unityLibrary:GooglePlayGamesManifest.androidhb:padogeReleaseResources | CC BY-SA 4.0 | null | 2023-03-03T17:45:00.980 | 2023-03-03T17:45:00.980 | null | null | 21,327,468 | [
"android",
"unity3d",
"build",
"google-play",
"google-play-games"
] |
75,630,235 | 1 | 75,631,046 | null | -2 | 61 | ```
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sensor Assignment</title>
<meta name="description" content="Demo av en animerad bil som kan manipuleras med mobiltelefoners gyro-sensor">
<meta name="au... | Why does en IF statement make my function repeat? | CC BY-SA 4.0 | null | 2023-03-03T17:38:09.290 | 2023-03-03T19:16:03.180 | 2023-03-03T18:38:59.197 | 9,771,747 | 9,771,747 | [
"javascript",
"shake"
] |
75,630,299 | 2 | null | 74,492,875 | 0 | null | So how many pods per node are you running? is your subnet full? 60 nodes x # pods per node
Example: (say 30 pods per node is the config)
60 x 30 pod per node = 1800 IP's reserved, the minimum subnet size for a single node pool with this configuration is a /21, but really a /20 to allow for side x side upgrade of th... | null | CC BY-SA 4.0 | null | 2023-03-03T17:45:18.790 | 2023-03-03T17:45:18.790 | null | null | 21,327,757 | null |
75,630,296 | 2 | null | 75,628,872 | 2 | null | Here is how you can do that with "terra".
Your example data
```
somelocations <- data.frame(id=c('X', "Y", "Z"),
Long=c(-156.6274,-156.6457,-156.6676),
Lat=c(20.8081,20.8292,20.8512))
```
The "raw" approach, which is most similar to the one with rgdal:
```
library(terra)
project(a... | null | CC BY-SA 4.0 | null | 2023-03-03T17:44:59.530 | 2023-03-03T19:06:35.680 | 2023-03-03T19:06:35.680 | 635,245 | 635,245 | null |
75,630,300 | 1 | null | null | -3 | 18 | [[Arrays](https://i.stack.imgur.com/bzu9v.png)]([https://i.stack.imgur.com/8vlMX.png](https://i.stack.imgur.com/8vlMX.png))
just wondering if anyone can point me in the right direction, parameters and methods are kinda tricky. Not on to look it done for me genially looking to learn. Currently first year student in comp... | bit of help or point in the right direction | CC BY-SA 4.0 | null | 2023-03-03T17:45:19.627 | 2023-03-03T17:45:19.627 | null | null | 21,297,927 | [
"java",
"arrays",
"parameters"
] |
75,630,302 | 1 | null | null | -2 | 12 | How can I change the "bot" part under the bot's name to "is typing..." when the Telegram bot sends a message to the user (until the bot sends the message to the user)
Thank you all.
| Changing the word bot when sending messages to the user by the bot using the php programming language | CC BY-SA 4.0 | null | 2023-03-03T17:46:00.007 | 2023-03-04T11:07:48.047 | 2023-03-04T11:07:48.047 | 19,980,004 | 19,980,004 | [
"php",
"api",
"telegram",
"telegram-bot",
"py-telegram-bot-api"
] |
75,630,292 | 1 | 75,630,857 | null | 0 | 23 | I have two tables. Table V:
| City | Value |
| ---- | ----- |
| Default | 1.0 |
| New York | 4.5 |
| Chicago | 3.7 |
And table F:
| ID | City |
| -- | ---- |
| 0321321 | Chicago |
| 6546545 | New York |
| 6654654 | Paris |
| 4547556. | London. |
I would like to left join table V onto table F. However, ... | SQL - Left Join on a condition, but use a default value if condition is not met | CC BY-SA 4.0 | null | 2023-03-03T17:44:40.433 | 2023-03-03T20:17:30.103 | 2023-03-03T18:45:46.283 | 2,525,781 | 2,525,781 | [
"sql",
"google-bigquery"
] |
75,630,298 | 1 | null | null | 0 | 12 | I have an issue in my `Express App` deployed on `Vercel`.
Here is my `index.ts` file.
```
... ... ...
const port = process.env.PORT || 5000;
const mongooseURI = process.env.MONGODB_URI;
mongoose
.connect(mongooseURI)
.then(() => {
console.log("Connected MongoDB");
main();
app.listen(por... | How to Fix Issue of Express app deployed on Vercel? | CC BY-SA 4.0 | null | 2023-03-03T17:45:02.783 | 2023-03-03T17:45:02.783 | null | null | 17,582,798 | [
"express",
"vercel"
] |
75,630,304 | 1 | null | null | -3 | 21 | I recently tried create a flutter app with Flutter 3 by following Google's Clock app which looks like to be plain Material 3, so I would like to know what is the name of this button which looks like to be a FAB-like round button but when you hold this button it becomes a squared FAB with rounded corners, so does anybod... | What is this round button type in Flutter? | CC BY-SA 4.0 | null | 2023-03-03T17:46:08.527 | 2023-03-03T17:46:08.527 | null | null | 14,406,240 | [
"flutter",
"material-design"
] |
75,630,303 | 1 | null | null | 0 | 6 | We are currently developing a react native application, which has in-app purchases (subscriptions) managed via the RevenueCat SDK. As an option, the user can upgrade from the Monthly to the Annual subscription, and we are using [Android Developer recommendations](https://developer.android.com/google/play/billing/subscr... | Android - Upgrading from Monthly to Annual Subscription using the DEFERRED proration mode | CC BY-SA 4.0 | null | 2023-03-03T17:46:02.457 | 2023-03-03T17:46:02.457 | null | null | 21,327,732 | [
"react-native",
"google-play",
"in-app-purchase",
"subscription",
"revenuecat"
] |
75,630,307 | 2 | null | 75,629,821 | 0 | null | From the debug output I could imagine that a `Department` with `Id` of -1 is the value of `Department` property of the `NewStarter` object.
If `-1` stands for no department selected, you must set the `Department` property to `null` and not to an object with `Id = -1`.
I suggest to add a property `int? DepartmentId` to... | null | CC BY-SA 4.0 | null | 2023-03-03T17:46:25.797 | 2023-03-03T17:46:25.797 | null | null | 4,631,607 | null |
75,630,301 | 1 | null | null | 2 | 12 | I have been following examples [here](https://github.com/YashMakan/flask_webrtc_youtube) to use Flask as a signalling server. I can run this successfully if I have the server and both clients running on the same computer (due to getUserMedia requiring either a secure connection or running on localhost).
The next step i... | Are older versions of gstreamer's webrtcbin incompatible with updated browsers? | CC BY-SA 4.0 | null | 2023-03-03T17:45:26.263 | 2023-03-03T18:09:28.607 | 2023-03-03T18:09:28.607 | 400,617 | 20,816,090 | [
"webrtc",
"html5-video",
"gstreamer"
] |
75,630,309 | 2 | null | 75,536,350 | 1 | null | I figured out the answer - it was as simple as calling
`proc.CancelOutputRead();`
[](https://i.stack.imgur.com/1Wf3s.png)
| null | CC BY-SA 4.0 | null | 2023-03-03T17:46:37.017 | 2023-03-03T17:46:37.017 | null | null | 851,326 | null |
75,630,310 | 2 | null | 73,558,840 | 0 | null | Not sure if this is still relevant. Perhaps this [page](https://pytorch.org/docs/stable/notes/extending.html) could be of some help, where you would need to extend the `torch.autograd` by including a subclass `Function` and manually implementing the `forward()` and `backward()` methods for tracking your gradients withi... | null | CC BY-SA 4.0 | null | 2023-03-03T17:47:01.853 | 2023-03-03T17:47:01.853 | null | null | 19,489,643 | null |
75,630,306 | 1 | null | null | 0 | 8 | I have a dataset consisting of force-displacement curves. The dataset is heavily imbalanced, with the negative class having 29,000 samples and the positive class having only 100 samples. After transforming the force-displacement curves with tsfresh, I tried several approaches such as undersampling, oversampling, adjust... | imbalanced Dataset Challenges with Force-Displacement Curves: Seeking Solutions | CC BY-SA 4.0 | null | 2023-03-03T17:46:24.367 | 2023-03-03T17:51:16.267 | 2023-03-03T17:51:16.267 | 18,886,498 | 18,886,498 | [
"xgboost",
"sampling",
"feature-selection",
"imbalanced-data",
"oversampling"
] |
75,630,311 | 2 | null | 75,625,379 | 0 | null | The activity completion is in a table called `mdl_course_modules_completion`
This SQL narrows the completion down to scorm activities
Also a check to see if a user is enrolled in any way - note that a user can be enrolled more than once on a course
```
SELECT u.id AS userid, u.firstname, u.lastname,
c.id AS coursei... | null | CC BY-SA 4.0 | null | 2023-03-03T17:47:03.483 | 2023-03-03T17:47:03.483 | null | null | 1,603,711 | null |
75,630,314 | 1 | null | null | 0 | 17 | I have a wordpress query I want to search custom post type using an ACF custom field value but the query is not working, I am entering correct values but result is null.
Wordpress Code
```
function webdev_search_apple_post_data()
{
$args = array(
'post_type' => sanitize_text_field($_GET['post_type']), // custom post... | Wordpress meta query not working to search using ACF custom field value | CC BY-SA 4.0 | null | 2023-03-03T17:47:21.943 | 2023-03-03T18:11:00.107 | 2023-03-03T18:11:00.107 | 11,680,302 | 11,680,302 | [
"php",
"wordpress",
"advanced-custom-fields",
"custom-post-type"
] |
75,630,317 | 1 | null | null | -2 | 26 | ```
level:
OL0-18-11-540
OL0-18-11-540
0L0-18-11-540
level for him:
ULL
NULL
NULL
number:
MZYS7CE09241
serial num:
MZYS7CE09241
```
I have a text file that I would like to extract from it the value of serial num: and the value of level for him: as strings. Thanks in advance
I have tried using stream reader but didn't ... | Reading txt file using vb.net | CC BY-SA 4.0 | null | 2023-03-03T17:47:55.160 | 2023-03-03T18:52:38.713 | 2023-03-03T18:52:38.713 | 719,186 | 20,977,576 | [
"vb.net"
] |
75,630,294 | 1 | null | null | 0 | 10 | It's my first time trying to integrate KeyCloak. Here is what I've written in my Angular webapp `app.module.ts` file in order to initialize KeyCloak.js:
```
import { HttpClient, HttpClientModule } from '@angular/common/http';
import { APP_INITIALIZER, NgModule } from '@angular/core';
import { BrowserModule } from '@ang... | Keycloak replies 401 to Angular webapp | CC BY-SA 4.0 | null | 2023-03-03T17:44:49.313 | 2023-03-03T17:44:49.313 | null | null | 1,483,447 | [
"angular",
"keycloak",
"http-status-code-401"
] |
75,630,318 | 1 | null | null | 0 | 20 | I am using sqlcmd on Linux (version 17.10.0001.1) to generate a SQL script that has a print statement. The sqlcmd is against Microsoft SQL Server 2017.
```
sqlcmd -S [server] -d [db] -U [user] -i input.sql -o output.sql
```
Inside input.sql:
```
[logic to generate @message]
PRINT @message
```
Size of the @message (NV... | Print command truncates message through sqlcmd on Linux | CC BY-SA 4.0 | null | 2023-03-03T17:48:06.970 | 2023-03-03T17:48:06.970 | null | null | 21,327,680 | [
"sql-server",
"sqlcmd"
] |
75,630,319 | 1 | null | null | 0 | 12 | I would like to know if someone knows if there is a tool that could give me insights about my tailwind (v3) css classes used in my project. It is a quite big project, and I would like to find very rare used classes in order to maybe combine them in some global class and tidy up my final css and make my project more mai... | Tailwind CSS Analyser | CC BY-SA 4.0 | null | 2023-03-03T17:48:07.710 | 2023-03-03T17:48:07.710 | null | null | 13,541,914 | [
"visual-studio-code",
"tailwind-css",
"nextjs13"
] |
75,630,321 | 2 | null | 47,046,637 | 0 | null | The following will work on the latest LaunchUrl package.
mode: LaunchMode.externalApplication is important, otherwise it will open in internal browser in the app, which you don't want.
```
openMap(double lat, double lng) async {
String googleUrl =
'https://www.google.com/maps/search/?api=1&query=$la... | null | CC BY-SA 4.0 | null | 2023-03-03T17:48:22.043 | 2023-03-03T17:48:22.043 | null | null | 2,654,437 | null |
75,630,320 | 1 | null | null | 0 | 19 | I have a parent-div with css-class "a" and a child-div with css-class "b". b sits within a. b has a background picture with a gradient on top.
What I want to achieve:
When hovering over a change the gradient of b but don't change the background picture.
This is what I have:
```
<html>
<head>
<style>
.b{
background-ima... | CSS: on hover change gradient but keep background picture | CC BY-SA 4.0 | null | 2023-03-03T17:48:09.437 | 2023-03-03T20:12:28.173 | null | null | 20,543,817 | [
"css",
"background",
"hover"
] |
75,630,324 | 1 | null | null | -2 | 101 | I have a list of tuples:
```
[(10,22), (10,20), (10,69), (34,18), (18,17), (89,990), (86,80), (174,175), (543,542)]
```
I'd like to obtain a result like this:
```
[(10,22,20,69), (34,18,17), (89,990), (86, 80), (174,175), (543,542)]
```
I want to group together any of the tuples that have at least one element in comm... | Combining tuples based on transitive relation | CC BY-SA 4.0 | null | 2023-03-03T17:48:45.527 | 2023-03-04T21:00:38.210 | 2023-03-04T03:59:11.803 | 2,988,730 | 12,852,410 | [
"python",
"tuples"
] |
75,630,308 | 1 | null | null | 0 | 13 | I'm trying to to call HTTP API to show the information of products
```
Future<void> getProblem() async {
final responce = await dio.get('https://localhost:7050/api/Problem/1',
options: Options(
headers: {"content-type": "application/json"},
));
final problemsJsonList = responce.data as... | Before that I faced + - the same problem helped as List<dynamic>, but it doesn't help in this case | CC BY-SA 4.0 | null | 2023-03-03T17:46:29.863 | 2023-03-03T18:08:59.983 | 2023-03-03T18:07:35.940 | 5,812,524 | 21,327,724 | [
"json",
"flutter",
"rest",
"dart"
] |
75,630,323 | 1 | null | null | 2 | 26 | I have created a `UniqueMessage` class which I want to use in log statements inside /Console/Kernel::schedule() to suppress repeated log messages.
I have tried to make an instance of my `UniqueMessage` class in the constructor for `Kernel` but it seems to me that the Kernel scheduler is run in a separate process for ea... | Declaring global instance variables in Laravel | CC BY-SA 4.0 | null | 2023-03-03T17:48:27.660 | 2023-03-03T17:50:00.323 | 2023-03-03T17:50:00.323 | 19,808,537 | 19,808,537 | [
"laravel",
"global-variables"
] |
75,630,326 | 2 | null | 37,776,214 | 0 | null | if you are using from a Class object list you have to get the row like this
```
Your_Class row = SelectedStudents.SelectedItem as Your_Class;
```
| null | CC BY-SA 4.0 | null | 2023-03-03T17:49:02.933 | 2023-03-03T17:49:02.933 | null | null | 19,561,209 | null |
75,630,325 | 1 | null | null | 0 | 24 | So my question is how can I extract a number expressed in Billions who are actually a string.
e.g: $5,518.51 B
And actually that's work, but only for number lik 249.23 not for the number like 5,512.50 I want what is before the ',' also.
I have tried like this:
business['sales']=business['sales'].astype('str').str.extra... | Python - extract float (billions) numbers from string | CC BY-SA 4.0 | null | 2023-03-03T17:49:00.920 | 2023-03-03T17:50:37.050 | 2023-03-03T17:50:37.050 | 4,799,172 | 14,668,390 | [
"python",
"pandas",
"type-conversion"
] |
75,630,289 | 1 | null | null | -1 | 27 | I've built several forms in HTML/CSS with a single PHP script as the backend to handle sending an email from the form contents, and in 2 of the 3 forms, to attach the file uploads as an attachment after performing an AV scan, discarding the posted file name, and replacing with an assumed random name and tacking on the ... | PHP Script appears to be "running too fast" to await form post uploads and file moves | CC BY-SA 4.0 | null | 2023-03-03T17:44:19.400 | 2023-03-03T20:58:57.883 | 2023-03-03T17:55:52.490 | 21,323,581 | 21,323,581 | [
"php",
"forms"
] |
75,630,328 | 1 | null | null | 0 | 4 | when I run my application by triggering http://local host:8080/application-name .end goal I want to redirect it to IDA if session is not active
I tried adding filter and to redirect. But I don’t know where I should declare the client id ,resource uri and provider url configuration
| I am new to struts 1.0 and I want to integrate my application to IDA . Need help how to set the provider URL ,resource URL | CC BY-SA 4.0 | null | 2023-03-03T17:49:05.773 | 2023-03-03T17:49:05.773 | null | null | 21,327,746 | [
"struts",
"ida"
] |
75,630,327 | 1 | 75,631,914 | null | 0 | 47 | I wanted to fill in the na values in 'Col' by the ID number.
I have tried groupby
```
df=pd.DataFrame({
'ID':[1,2,1,2,1,2],
'Col':['One','NaN','NaN','Two','NaN','NaN']
})
```
This is the expected output:
```
df=pd.DataFrame({
'ID':[1,2,1,2,1,2],
'Col':['One','Two','One','Two','One','Two']
})
```
I kno... | Python Fill in column values based on ID | CC BY-SA 4.0 | null | 2023-03-03T17:49:05.253 | 2023-03-03T21:12:21.553 | 2023-03-03T18:34:09.793 | 13,643,669 | 13,643,669 | [
"python",
"pandas"
] |
75,630,316 | 2 | null | 75,630,254 | 2 | null | Use the `.ToString(int fieldCount)` overload to print [[version] (System.Version)](https://learn.microsoft.com/en-US/dotnet/api/System.Version) instances only by their first two fields (`.Major` and `.Minor`); a simple example:
```
# -> '1.2'
([version] '1.2.3.4').ToString(2)
```
Note that you can sort `[version]` ins... | null | CC BY-SA 4.0 | null | 2023-03-03T17:47:44.670 | 2023-03-03T19:56:02.687 | 2023-03-03T19:56:02.687 | 45,375 | 45,375 | null |
75,630,330 | 2 | null | 67,885,444 | 0 | null | The date input you're using is the default one provided by Rails. You can see the options available in the docs for [date_select](https://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-date_select). In particular, you want:
`:start_year` - Set the start year for the year select. Default is Time... | null | CC BY-SA 4.0 | null | 2023-03-03T17:49:11.263 | 2023-03-03T17:49:11.263 | null | null | 5,051,678 | null |
75,630,331 | 2 | null | 74,320,720 | 0 | null | I don't think this is the case, @nadav, [https://dynobase.dev/dynamodb-errors/dynamodb-object-has-no-attribute-table/](https://dynobase.dev/dynamodb-errors/dynamodb-object-has-no-attribute-table/)
Trying to access .Table from ddb_client fails. Must use boto3.resource to access Table.
| null | CC BY-SA 4.0 | null | 2023-03-03T17:49:27.390 | 2023-03-03T17:49:27.390 | null | null | 21,327,797 | null |
75,630,329 | 1 | null | null | -1 | 10 | I am using an HTML code to generate a bar chart graph in an HTML table on DOMO. I am currently using this code to create the bar chart in the table but it does show the value label on the bars.
Would anyone be able to tell me which HTML code snippet I should add to be able to show the value label in % and where I shoul... | HTML to Add label on Bars in Table view DOMO | CC BY-SA 4.0 | null | 2023-03-03T17:49:06.990 | 2023-03-03T17:49:06.990 | null | null | 21,327,690 | [
"html",
"graph",
"bar-chart",
"domo"
] |
75,630,334 | 1 | null | null | 0 | 13 | In WPF we could "Edit template" of ComboBox and define how it should look from scratch.
How we can achieve this in MAUI.NET?
I want to make a combobox have exact same functionality like it has, but get rid of some styling and most importantly change the shape of this small arrow that is responsible of showing possible ... | How to redefine basic controls in MAUI.NET | CC BY-SA 4.0 | null | 2023-03-03T17:50:03.257 | 2023-03-03T17:50:03.257 | null | null | 15,761,648 | [
"user-interface",
"controls",
"maui",
"controltemplate"
] |
75,630,332 | 1 | null | null | 0 | 26 | scenario:
I have a button associated to a script that copies data from cell A1 to cell A10.
I start typing something in A1.
With the mouse pointer I click on the mentioned button.
Google sheet does not accept the text that was being typed in A1, that cell is still being edited. And the script does not know the value th... | Accept text in edited cell | CC BY-SA 4.0 | null | 2023-03-03T17:49:47.303 | 2023-03-04T16:27:50.973 | 2023-03-04T16:27:50.973 | 2,144,831 | 2,144,831 | [
"google-apps-script",
"google-sheets"
] |
75,630,322 | 1 | null | null | -1 | 23 | Trying to follow an exercise for college and completely lost. As an example app class and instan object challenge, we are tasked to create an app that asks a user for how many subjects they are taking (via scanner) and then using arrays to record each score they have for each subject (so if they took 5 subjects, they e... | Nesting an if statement inside an array loop | CC BY-SA 4.0 | null | 2023-03-03T17:48:24.160 | 2023-03-03T17:57:36.783 | null | null | 21,327,736 | [
"java",
"arrays",
"for-loop",
"if-statement"
] |
75,630,335 | 1 | null | null | 0 | 7 | I am trying to run a program that uses gdal. I have created a virtual conda environment that is using python 3.8, I have successfully installed gdal, for instance when I run
```
pip install gdal
```
I get the following message:
```
Requirement already satisfied: gdal in /opt/anaconda3/envs/precinct_practice-env/lib/py... | Installed gdal but the module can't be found | CC BY-SA 4.0 | null | 2023-03-03T17:50:15.547 | 2023-03-03T17:50:15.547 | null | null | 21,073,066 | [
"python",
"installation",
"pip",
"conda",
"gdal"
] |
75,630,336 | 2 | null | 75,629,587 | 0 | null | A more complicated, but generalisable option would be:
```
def ft(*coefs, exponent="x", cdp=0):
title = ""
cstring = f"{{:.{cdp}f}}" # number of decimal places to format the coefficents
nc = len(coefs) - 1
for i in range(nc, -1, -1):
if coefs[nc - i] != 0:
# get the sign
... | null | CC BY-SA 4.0 | null | 2023-03-03T17:50:19.620 | 2023-03-03T17:50:19.620 | null | null | 1,862,861 | null |
75,630,338 | 2 | null | 72,481,680 | 0 | null | You can also add classes to your safelist in your tailwind config.
```
// tailwind.config.js
// Create an array for all of the colors you want to use
const colorClasses = [
'#7a5195',
'#bc5090',
'#ef5675'
];
module.exports = {
purge: {
content: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
/... | null | CC BY-SA 4.0 | null | 2023-03-03T17:50:40.723 | 2023-03-03T17:58:12.267 | 2023-03-03T17:58:12.267 | 5,239,270 | 5,239,270 | null |
75,630,342 | 2 | null | 75,622,863 | 0 | null | `runcmd` doesn't require every argument to be in a list.
Something like this should work:
```
#cloud-config
runcmd:
- sudo ip link set dev enp1s0 address f4:f2:c7:f3:f4:"$(openssl rand -hex 1)"
```
| null | CC BY-SA 4.0 | null | 2023-03-03T17:50:49.447 | 2023-03-03T17:50:49.447 | null | null | 37,205 | null |
75,630,337 | 1 | null | null | 0 | 32 | I got a js error
```
Uncaught (in promise) ReferenceError: can't access lexical declaration 'httpx' before initialization
generate_csrf_token file:///C:/Users/ememd/OneDrive/Desk/refresher-main/templates/script.js:5
refresh_cookie file:///C:/Users/ememd/OneDrive/Desk/refresher-main/templates/script.js:27
main file:/... | JavaScript error Uncaught (in promise) ReferenceError: can't access lexical declaration 'httpx' before initialization | CC BY-SA 4.0 | null | 2023-03-03T17:50:27.527 | 2023-03-03T18:29:36.067 | 2023-03-03T17:58:03.893 | 1,491,895 | 19,283,474 | [
"javascript"
] |
75,630,339 | 1 | null | null | 0 | 14 | I've got a pretty simple `NavigationSplitView` set up like so:
```
NavigationSplitView(sidebar: {
List {
ForEach(viewModel.pages) { page in
NavigationLink(page.name, tag: page.id, selection: $viewModel.selectedId) {
Text(page.name)
.navigationTitle(page.name)
}
}
}
}, detail: {... | How do I add some padding between the search field and the first navigation item of my sidebar? | CC BY-SA 4.0 | null | 2023-03-03T17:50:40.673 | 2023-03-03T17:50:40.673 | null | null | 8,819,885 | [
"macos",
"swiftui"
] |
75,630,344 | 2 | null | 75,629,602 | 0 | null | Well, as far as I understand where you put it is up to you. Try to be as semantic as you can with your html.
About the method to use, I usually go for a ternary inside className, for example:
```
const [isClicked, setIsClicked] = useState(false)
<Sidebar>
<div className={`${isClicked ? 'opacity-1 pointer-events-auto... | null | CC BY-SA 4.0 | null | 2023-03-03T17:51:17.543 | 2023-03-03T17:51:17.543 | null | null | 10,839,269 | null |
75,630,312 | 2 | null | 75,628,367 | 0 | null | It appears that your goal is to display table columns depending on the checked status of a data property that represents the column. If so, then again, I'd make all data reactive, and then I'd use Vue's computed properties to help us decide what to show.
So, assuming that this represents a simplification of the columns... | null | CC BY-SA 4.0 | null | 2023-03-03T17:47:15.323 | 2023-03-03T18:59:52.713 | 2023-03-03T18:59:52.713 | 522,444 | 522,444 | null |
75,630,345 | 2 | null | 75,630,133 | 1 | null | Although the code you provided skips some of the numbers that cannot be square numbers, it misses some due to not checking for the last digit being 0. A faster approach would be to not check if the current number is a square number but iterate between the square roots of the inputs and print their squares.
```
from mat... | null | CC BY-SA 4.0 | null | 2023-03-03T17:51:18.530 | 2023-03-03T17:51:18.530 | null | null | 21,229,926 | null |
75,630,349 | 1 | null | null | -3 | 9 | Error: Could not find or load main class Main
Caused by: java.lang.ClassNotFoundException: Main
i want solution how to sort out it
| Error: Could not find or load main class Main Caused by: java.lang.ClassNotFoundException: Main | CC BY-SA 4.0 | null | 2023-03-03T17:51:43.120 | 2023-03-03T17:51:43.120 | null | null | 21,327,806 | [
"java"
] |
75,630,348 | 1 | null | null | 0 | 14 | I tried running the command `eb --version` and the result was `not found` while it is perfectly working for powershell. Please help me out.
I tried `eb --version` and hoped that it will show me the installed version.
| eb command working in powershell but not in git | CC BY-SA 4.0 | null | 2023-03-03T17:51:38.297 | 2023-03-03T21:15:18.177 | 2023-03-03T21:15:18.177 | 174,777 | 17,463,491 | [
"amazon-web-services",
"amazon-elastic-beanstalk"
] |
75,630,343 | 1 | null | null | 0 | 13 | I am examining race in Monroe County, NY. I got an error code: ! Assigned data `as.numeric(...)` must be compatible with existing data.
Can you please help me address this issue?
Thank you in advance,
#The following is the R code I have used:
```
monroe_race <- get_decennial(
geography = "tract",
state = "NY",
co... | tmap - Assigned data `as.numeric(...)` must be compatible with existing data | CC BY-SA 4.0 | null | 2023-03-03T17:50:58.717 | 2023-03-03T17:50:58.717 | null | null | 21,327,731 | [
"r",
"tmap",
"census"
] |
75,630,350 | 2 | null | 75,627,386 | 0 | null | We can use the `simple_takeoff()` function, and `break` once the UAV has reached its approximate target altitude:
```
vehicle.airspeed = 1.0 #m/s
vehicle.mode = VehicleMode("GUIDED")
def takeoff(aTargetAltitude):
vehicle.simple_takeoff(aTargetAltitude)
while True:
print(" Altitude: ", vehicle.location.g... | null | CC BY-SA 4.0 | null | 2023-03-03T17:51:48.570 | 2023-03-03T17:59:59.427 | 2023-03-03T17:59:59.427 | 16,785,596 | 16,785,596 | null |
75,630,352 | 2 | null | 75,629,861 | 1 | null | Im not sure this is the right answer because you didnt write it properly
But I hope this helps you :
```
await HotelFilter.destroy({
where: {
filterId: {
[Op.notIn]: filters
}
}
});
```
| null | CC BY-SA 4.0 | null | 2023-03-03T17:51:51.460 | 2023-03-03T17:51:51.460 | null | null | 19,806,614 | null |
75,630,353 | 1 | null | null | 0 | 10 | Hey I've recently downloaded lldb and haven't been able to get it working properly. I'm compiling a c program with a segmentation fault and want to use lldb to help me solve the problem.
This is the error message I recieve:
```
charlielamb@Charlies-MacBook-Air jackCompiler % lldb compiled
(lldb) target cre... | lldb not running - c | CC BY-SA 4.0 | null | 2023-03-03T17:51:57.127 | 2023-03-03T20:15:52.950 | null | null | 16,216,113 | [
"gcc",
"segmentation-fault",
"lldb"
] |
75,630,354 | 2 | null | 75,630,137 | 0 | null | Use `while` loop instead of for loop
```
a = [1, 2, 3, 4, 5]
z = len(a)
i = 0
while i < z:
if a[i] == 3:
# do something
i += 1
else:
# do some changes in "a"
a[i] += 1
i = 0
continue
i += 1
```
| null | CC BY-SA 4.0 | null | 2023-03-03T17:52:06.560 | 2023-03-03T17:52:06.560 | null | null | 12,271,495 | null |
75,630,355 | 2 | null | 75,630,256 | 1 | null | In SQL IN needs a list of elements, so you need parenthesis around the elements
```
CASE
WHEN (tCounts = 3 AND Type1 IN ('pizza')) AND (Type1 NOT IN ('singleside','side') ) then 2
WHEN (tCounts = 3 AND Type1 IN ('pizza')) AND (Type1 IN ('singleside','side') ) then 1
END portalcount
```
| null | CC BY-SA 4.0 | null | 2023-03-03T17:52:11.517 | 2023-03-03T17:52:11.517 | null | null | 5,193,536 | null |
75,630,347 | 2 | null | 75,630,073 | 0 | null | `epochs = range(1, len(acc) + 1)` doesn't seem to stand for anything. I guess this is written by mistake.
To get the desired output for the plot, you need to create a list that contains values for the x-axis, which is determined by the number of epochs.
So this should be the full code:
```
from keras.datasets import im... | null | CC BY-SA 4.0 | null | 2023-03-03T17:51:27.050 | 2023-03-03T17:51:27.050 | null | null | 15,760,624 | null |
75,630,357 | 2 | null | 75,629,859 | 0 | null | Do you have control over the Request object? If so, you could add a method `req.createErrorEntry()`. In that way Request can chose whether to use `viewPendingCode` or `viewRequestCode`. If you notice that the other attributes of Request are always used together, it might be worthwhile to create a separate object for th... | null | CC BY-SA 4.0 | null | 2023-03-03T17:52:13.467 | 2023-03-03T17:52:13.467 | null | null | 10,744,429 | null |
75,630,333 | 1 | null | null | -2 | 29 | I've just joined stack overflow. I would like to ask how I can fix my jumping game in python, displayed via the raspberry pi sense hat. It's based on google's 'no internet' dinosaur jumper. The bug is that if you hold up, you can just stay up in the air and not touch the enemy. Can anyone find a solution to this proble... | How can I fix my jumping game, as I just stay in the air? (sense_HAT) | CC BY-SA 4.0 | null | 2023-03-03T17:49:57.943 | 2023-03-04T17:43:28.873 | 2023-03-04T17:43:28.873 | 12,975,140 | 21,327,672 | [
"python",
"raspberry-pi4",
"python-3.9"
] |
75,630,360 | 1 | null | null | -2 | 19 | I want to read a database file with the extension .btv, there is an application that was able to read it on Windows 11 system.
On quick google search I see that this extension is for AppleTalk for MacOS(depreciated now) but that didn't help me much.
Can someone help me find any way to open this file on Windows System ... | How to open a database file with .btv extension? | CC BY-SA 4.0 | null | 2023-03-03T17:52:25.613 | 2023-03-03T17:52:25.613 | null | null | 5,540,715 | [
"c#",
"database"
] |
75,630,358 | 1 | null | null | -1 | 20 | My question: output file "m3u8", "ts" extensions.
How to change output "mtv.m3u8" file to "mtv.json" "mtv-123122313.ts" file to "mtv-123122313.js" ?
using wowza
For example:
mtv.json
```
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1797
#EXT-X-TARGETDURATION:5
#EXTINF:5.000,
mtv-1610887534362.js
#EXTINF:5.000,
mtv-16... | How to change "m3u8" to "json" and "ts" to "js" extension | CC BY-SA 4.0 | null | 2023-03-03T17:52:19.937 | 2023-03-03T17:53:09.977 | 2023-03-03T17:53:09.977 | 21,303,177 | 21,303,177 | [
"php"
] |
75,630,356 | 2 | null | 75,630,255 | 1 | null | > Is there any way to have two inits in one class one with passing parameter and another without any?
Absolutely. But you cannot violate the rules: you cannot, as the error message tells you, "access `dbName` before all stored properties are initialized." And what stored properties are there? `localDBFile`. You set `l... | null | CC BY-SA 4.0 | null | 2023-03-03T17:52:12.573 | 2023-03-03T17:52:12.573 | null | null | 341,994 | null |
75,630,359 | 1 | null | null | 0 | 13 | I'm trying to automate sending Emails from Google sheets but i get this error Error Exception: Argument too large: subject. I know that there is a limit but is there a way to not get this error?
```
function sendEmaill() {
var app = SpreadsheetApp;
var ss =app.openById('1Hgbou20hy4XxveATkfsdgU9pvlARI3VfoC-JCdGuwR... | Google Apps Script Error Exception: Argument too large: subject | CC BY-SA 4.0 | null | 2023-03-03T17:52:22.417 | 2023-03-03T17:53:35.763 | 2023-03-03T17:53:35.763 | 15,230,447 | 15,230,447 | [
"google-apps-script"
] |
75,630,305 | 1 | null | null | -1 | 12 | when am trying to hit the get all employee url in post man getting error showing and anfter compiling this it's not creating any file in target folder.
error console:
[enter image description here](https://i.stack.imgur.com/zKjVR.png)
```
package com.ros.hr.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;... | Cannot invoke "com.ros.hr.mapper.EmployeeMapper.convertToDto(com.ros.hr.model.employee)" because "this.mapper" is null | CC BY-SA 4.0 | null | 2023-03-03T17:46:12.617 | 2023-03-03T17:46:12.617 | null | null | 20,963,159 | [
"java",
"spring-boot",
"orm",
"dto",
"mapstruct"
] |
75,630,364 | 1 | null | null | 0 | 13 | I am trying to solve the issue of Cron job running on different instances. I understand that we need to create a shedlock table, but I am unclear about the columns and table name to be used.
I have read shedlock documentation and it says :
Please note that the lock table must be created externally with _id as a partiti... | DynamoDB Shedlock Implementation | CC BY-SA 4.0 | null | 2023-03-03T17:52:41.430 | 2023-03-03T17:52:41.430 | null | null | 21,320,880 | [
"spring-boot",
"amazon-dynamodb",
"scheduler",
"shedlock"
] |
75,630,362 | 1 | null | null | 0 | 19 | I'm doing an automation test in ebay using Selenium.
I want to log in. I managed to put the email, but I'm having a problem with the password.
the code is :
```
// put email address and press "continue" bottom
driver.findElement(By.cssSelector("#userid")).sendKeys("1234@gmail.com");
driver.findEle... | How to log in using webDriver in Chrome | CC BY-SA 4.0 | null | 2023-03-03T17:52:30.150 | 2023-03-04T01:43:30.850 | 2023-03-04T01:43:30.850 | 11,107,541 | 21,327,758 | [
"java",
"eclipse",
"selenium-webdriver"
] |
75,630,366 | 1 | null | null | -1 | 22 | I would like to experiment webscrapping to automated my technological watch on IEEExplorer.
My goal is to get the year, title and abstract of all the articles with the key word "deep learning" and "radar" (for instance) published after 2017.
The problem is only on IEEExplorer because it worked on Google Scholar.
Could ... | Webscrapping IEEExplorer in Python | CC BY-SA 4.0 | null | 2023-03-03T17:52:46.683 | 2023-03-03T18:04:35.800 | 2023-03-03T17:57:28.043 | 10,035,985 | 21,327,738 | [
"python",
"url",
"beautifulsoup"
] |
75,630,369 | 2 | null | 72,148,525 | 0 | null | If you don't want to install any packages, you can add a custom in your `talwind.config.js` that starts at 0px.
```
...
theme: {
extend: {
screens: {
priority: '0px'
}
}
}
...
```
So when you want to overwrite previous classes you just add `priority... | null | CC BY-SA 4.0 | null | 2023-03-03T17:53:09.570 | 2023-03-03T17:53:09.570 | null | null | 18,400,898 | null |
75,630,367 | 2 | null | 73,830,447 | 0 | null | To add your own response model in response of swagger , before that you need to add your model to swagger , after that you can create new response, with your model included in it.
See code below, my model:
```
public class ErrorResponse
{
public int Code { get; set; }
public string Detail { get; set; }
}
```
... | null | CC BY-SA 4.0 | null | 2023-03-03T17:53:06.203 | 2023-03-03T17:53:06.203 | null | null | 18,316,237 | null |