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,621,851 | 1 | null | null | -4 | 16 | What programs Should QA Testers know ?
| Quality Assurance Engineer | CC BY-SA 4.0 | null | 2023-03-02T23:35:11.843 | 2023-03-02T23:45:29.343 | 2023-03-02T23:45:29.343 | 21,114,233 | 21,114,233 | [
"java",
"unit-testing",
"selenium-webdriver"
] |
75,621,843 | 2 | null | 4,393 | 0 | null | If you suddenly need to delete tables linked by foreign keys.
```
USE [CentralIntake]
GO
DECLARE @name VARCHAR(200);
DECLARE @DropForeignKeyProcedure varchar(4000);
DECLARE @DropTableProcedure varchar(4000);
/*TEST*/ SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE Table_Name LIKE '%_unused'
DECLARE tb_curso... | null | CC BY-SA 4.0 | null | 2023-03-02T23:34:08.573 | 2023-03-02T23:34:08.573 | null | null | 9,294,372 | null |
75,621,855 | 2 | null | 75,621,739 | 0 | null | It looks that there is one line that cannot decode.
You could try:
df = pd.read_csv ('filename.csv',on_bad_lines='skip')
| null | CC BY-SA 4.0 | null | 2023-03-02T23:35:26.777 | 2023-03-02T23:35:26.777 | null | null | 17,116,566 | null |
75,621,852 | 2 | null | 75,611,836 | 0 | null | You can either ignore for this line with:
```
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const bodyObj = JSON.parse(res.body as string);
```
Or for the whole file:
```
/* eslint-disable @typescript-eslint/no-unsafe-assignment*/
```
Or if you want to ignore this rule entirely, you can check yo... | null | CC BY-SA 4.0 | null | 2023-03-02T23:35:15.620 | 2023-03-02T23:35:15.620 | null | null | 5,078,746 | null |
75,621,850 | 1 | null | null | 0 | 5 | Running mRemoteNG version 1.76.20.24669
I need to move my config file from a network location to my local hard drive. When I open mRemoteNG, it opens the config file from the network as it always has. If I File/Save Connection File As, specify my local location, the file saves, but when I reopen the app, the network l... | mRemoteNG changing the confit file location | CC BY-SA 4.0 | null | 2023-03-02T23:35:06.923 | 2023-03-02T23:35:06.923 | null | null | 261,996 | [
"windows-10",
"mremoteng"
] |
75,621,849 | 1 | null | null | 1 | 34 | I've got a function which is expected to return an object with specific keys. In my case, I only want to add the keys conditionally, so I am using spread syntax to help with that.
However, when I use spread syntax, I can add any old key to the object.
I would expect the TS compiler to be able to tell that this will add... | Why does using spread synax(...) not honor type-safety for an expected return type in typescript | CC BY-SA 4.0 | null | 2023-03-02T23:35:06.237 | 2023-03-03T00:08:47.747 | 2023-03-02T23:48:26.530 | 3,689,450 | 1,676,675 | [
"typescript",
"spread-syntax"
] |
75,621,848 | 1 | null | null | 0 | 8 | First of all, I apologize for my English, it's not my native language.
I am analyzing the relation between two variables in R: number of individuals of one species (y) and forest percentage (x).
Since number of individuals doesn't have gaussian distribution, I had to transform my y data with log(y+1). So, I can apply l... | Linear regression parameters after data transformation | CC BY-SA 4.0 | null | 2023-03-02T23:34:51.817 | 2023-03-02T23:38:40.213 | 2023-03-02T23:38:40.213 | 21,268,697 | 21,268,697 | [
"parameters",
"linear-regression",
"logarithm"
] |
75,621,858 | 2 | null | 72,171,267 | 0 | null | It appears to be a bug with cypress.config.js. Configuring the screenshot defaults in commands.js works.
```
Cypress.Screenshot.defaults({
screenshotOnRunFailure: false,
})
```
| null | CC BY-SA 4.0 | null | 2023-03-02T23:36:34.813 | 2023-03-02T23:36:34.813 | null | null | 1,424,473 | null |
75,621,864 | 2 | null | 75,597,339 | 0 | null | Leaving answer here in case anyone has the same error:
For some reason, xcode changed provisioning profiles and was using profile for development instead of distribution. The solution was to manually selecting provisioning profile in the xcode and everything worked.
| null | CC BY-SA 4.0 | null | 2023-03-02T23:37:10.920 | 2023-03-02T23:37:10.920 | null | null | 15,102,854 | null |
75,621,857 | 1 | 75,621,927 | null | 0 | 16 | I'm getting an exception when decoding this json to the `Device` struct below.
JSON
```
{
"SerialNumber": "123",
"Model": "iPhone14"
"Brand": "Apple"
}
```
Swift struct:
```
struct Device : Codable, Identifiable {
var id = UUID().uuidString
let SerialNumber : String
... | How can I decode a JSON to a Swift struct ignoring all the fields that are not in both the json and the struct? | CC BY-SA 4.0 | null | 2023-03-02T23:36:09.897 | 2023-03-02T23:46:53.907 | null | null | 135,530 | [
"json",
"swift",
"jsondecoder"
] |
75,621,867 | 1 | null | null | 0 | 4 | I have this code to generate labels for me from a base64 image using Google Cloud Vision API:
```
const [result] = await client.labelDetection({ image: { content: base64Stripped }, maxResults: 37 });
```
It works great with the exception that it always returns 10 labels, which is the default amount. How can I increase... | Increase results returned from Google Cloud Vision API in NodeJS | CC BY-SA 4.0 | null | 2023-03-02T23:37:23.153 | 2023-03-02T23:37:23.153 | null | null | 3,104,376 | [
"node.js",
"google-cloud-platform",
"image-processing",
"base64",
"google-cloud-vision"
] |
75,621,862 | 2 | null | 75,621,436 | 0 | null | You can try `asyncio.gather()` to run the tasks concurrently:
```
import time
import asyncio
import requests
url1 = 'https://www.google.com'
url2 = 'https://stackoverflow.com'
url3 = 'https://www.yahoo.com'
async def main():
loop = asyncio.get_running_loop()
model1 = loop.run_in_executor(
None, lamb... | null | CC BY-SA 4.0 | null | 2023-03-02T23:36:47.113 | 2023-03-02T23:36:47.113 | null | null | 10,035,985 | null |
75,621,854 | 1 | 75,625,347 | null | 0 | 37 | The default template for an F# web API project has this main method (abbreviated here):
```
module Program =
let exitCode = 0
[<EntryPoint>]
let main args =
let builder = WebApplication.CreateBuilder(args)
builder.Services.AddControllers()
let app = builder.Build()
app.R... | How should Task returning functions be called in the F# main method? | CC BY-SA 4.0 | null | 2023-03-02T23:35:24.043 | 2023-03-03T20:32:56.327 | 2023-03-03T14:51:14.547 | 680,773 | 680,773 | [
"f#"
] |
75,621,861 | 2 | null | 1,729,996 | 0 | null | If you happen to be viewing Database connections with an `IntelliJ` product, and you want a solution there, these separate/independent solutions might work for you in that UI:
- [Show Visualization for Database table](https://www.jetbrains.com/help/idea/creating-diagrams.html)[](https://i.stack.imgur.com/UskBW.png)- [... | null | CC BY-SA 4.0 | null | 2023-03-02T23:36:41.750 | 2023-03-02T23:36:41.750 | null | null | 1,357,094 | null |
75,621,859 | 1 | 75,622,168 | null | 0 | 37 | I need help understanding how z-index of elements is affected by nesting or not nesting elements inside eachother. I have managed to get my code working (which should have a clickable image (image which redirects user to some other page/section) which when hovered should have an overlay displayed over the image.
(moved... | Need help understanding z-index for nested elements | CC BY-SA 4.0 | null | 2023-03-02T23:36:39.140 | 2023-03-03T11:55:11.317 | null | null | 6,722,735 | [
"html",
"css",
"hover",
"z-index",
"siblings"
] |
75,621,869 | 1 | null | null | 0 | 12 | I want to create a graph like this one in R.[](https://i.stack.imgur.com/DU0cA.png)
The data frame that I am using is as follows:
```
data = data.frame("x"=c(1,1,1,5,5,7,7,10),
"y"=c(15,12,8,15,10,10,13,15),
"d"=c(1,2,3,4,5,6,7,8))
```
The code I'm using is:
```
ggplot() +
geom_r... | Difficult geomrect graph in R.... ideas? | CC BY-SA 4.0 | null | 2023-03-02T23:37:27.193 | 2023-03-03T16:46:27.647 | 2023-03-03T16:46:27.647 | 21,222,581 | 21,222,581 | [
"r",
"ggplot2",
"graph",
"bar-chart"
] |
75,621,868 | 1 | null | null | 1 | 35 | I want to define a custom type, using a `ParamSpec` and `TypeVar` that can then be narrowed as necessary depending on where it is used.
I've defined a custom generic type that represents either a function or coroutine function that takes some amount of arguments and returns a value.
```
_P = ParamSpec("_P")
_R = TypeVa... | Narrowing a generic callable definition | CC BY-SA 4.0 | null | 2023-03-02T23:37:23.410 | 2023-03-04T00:35:43.850 | 2023-03-02T23:42:14.043 | 3,001,761 | 18,583,752 | [
"python",
"mypy",
"python-typing"
] |
75,621,856 | 1 | null | null | 0 | 28 | I can't get all the addresses associated with the customer.
```
class Customer(Base):
__tablename__ = "customer"
id = Column(Integer, primary_key=True)
authorization_token = Column(String, nullable=True)
name = Column(String, nullable=True)
surname = Column(String, nullable=True)
email = Column... | How do I display all of the customers's related addresses? | CC BY-SA 4.0 | null | 2023-03-02T23:35:33.037 | 2023-03-03T11:51:57.797 | 2023-03-03T11:51:57.797 | 21,322,410 | 21,322,410 | [
"python-3.x",
"postgresql",
"sqlalchemy"
] |
75,621,873 | 2 | null | 75,616,837 | 0 | null | The problem was my lazy.nvim config, removing the `defaults.version="*"` config of `lazy.nvim` fix the issue, because it was installing the stable version of `lspconfig` that is not compitable with the latest `mason-lspconfig`.
| null | CC BY-SA 4.0 | null | 2023-03-02T23:38:24.523 | 2023-03-02T23:38:24.523 | null | null | 3,387,602 | null |
75,621,871 | 1 | null | null | 1 | 34 | I have a few hundred files in file explorer that I am looking to rename.
All of the files end with a set of 2 characters after the extension. EX: `23RH1.JPG;1`
Is there a way to batch rename all of the files by removing the last 2 characters from all of the file names? Or maybe a Powershell script I could run that woul... | How to remove string after end of file extension | CC BY-SA 4.0 | null | 2023-03-02T23:38:03.157 | 2023-03-02T23:57:17.987 | 2023-03-02T23:40:26.643 | 15,339,544 | 21,322,433 | [
"powershell",
"scripting",
"file-rename",
"microsoft-file-explorer"
] |
75,621,870 | 1 | null | null | 0 | 18 | I was trying to process a video where I have digits that I want to digitalize. I've copied the code from another answer in here, [How can I extract numbers from video frames using Tesseract OCR?](https://stackoverflow.com/questions/65839969/how-can-i-extract-numbers-from-video-frames-using-tesseract-ocr), the thing is ... | Get digits from image with tesseract in Python | CC BY-SA 4.0 | null | 2023-03-02T23:37:51.050 | 2023-03-04T04:02:58.477 | 2023-03-04T04:02:58.477 | 214,143 | 14,596,631 | [
"python",
"ocr",
"tesseract"
] |
75,621,846 | 1 | 75,621,963 | null | 0 | 14 | This is for a personal D&D project of mine.
I'm trying to get text to come out nicely in my last frame using BS4 and Tkinter.
The goal is that when I click on a new spell in my listbox, the appropriate information will display neatly below what I clicked.
Here is my code:
```
from tkinter import *
from bs4 import Bea... | How to format text being called from BS4 onto Tkinter? | CC BY-SA 4.0 | null | 2023-03-02T23:34:27.727 | 2023-03-02T23:52:44.873 | null | null | 21,313,691 | [
"python",
"tkinter",
"web-scraping",
"beautifulsoup"
] |
75,621,877 | 2 | null | 75,607,953 | 1 | null | I'm going to assume you have an index on both tables -- on table A it goes from 1 to N and on table B it goes form 1 to M
Then you just need to generate 300 pairs of random tuples (R(1..N), R(1..M))
Store that in a table and then join table A to the first column and table B to the 2nd column
With large tables this woul... | null | CC BY-SA 4.0 | null | 2023-03-02T23:39:15.250 | 2023-03-02T23:39:15.250 | null | null | 215,752 | null |
75,621,874 | 1 | null | null | 0 | 21 | I have a repeatable field that based on a switch, when off, I would like to send the DB a null value for the entire field.
I am using the JS Library to achieve this and am able to change the values for the rows within the repeatable field before saving, but not the overall JSON object.
I have tried variations of:
```
c... | Syntax using JS Library to make Repeatable field JSON null | CC BY-SA 4.0 | null | 2023-03-02T23:38:57.553 | 2023-03-04T10:42:10.907 | null | null | 21,293,950 | [
"laravel-backpack"
] |
75,621,883 | 1 | null | null | 0 | 8 | I am seeing the following error with next.js routing for (I know comments on other similar issues claimed that the cause of this issue was adding a hash to the query).
```
Error: Cancel rendering route
```
Has anyone seen this before, know what it means, and how to fix it? It seems to only be happening on Safari and ... | Next.js route rendering issue | CC BY-SA 4.0 | null | 2023-03-02T23:40:04.083 | 2023-03-02T23:40:04.083 | null | null | 15,199,494 | [
"next.js"
] |
75,621,876 | 1 | null | null | 0 | 9 | Aim :
For a mujoco environment (I'm using Metaworld) for example - "Sweep-into", I want to do this :
Reset Environment :
Take some actions ...
sim_state = Save the current state
Take some actions ...
```
env.seed(0)
env.reset()
env.step() ... several times
sim_state = env.sim.get_state()
img = env.rende... | Resetting Mujoco Environments to a given state | CC BY-SA 4.0 | null | 2023-03-02T23:39:13.543 | 2023-03-03T16:24:35.080 | null | null | 7,146,967 | [
"reinforcement-learning",
"openai-gym",
"mujoco"
] |
75,621,878 | 1 | null | null | -1 | 15 | I'm trying to do adb commands via python script but my PyCharm cannot find the adb commands.
And when I check my environment variables using print(os.environ) it returned:
'PATH': '/Users////venv/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin'
based on the return v... | How to change 'PATH' return by os.environ in python in mac | CC BY-SA 4.0 | null | 2023-03-02T23:39:21.487 | 2023-03-03T00:16:24.810 | 2023-03-03T00:16:24.810 | 8,554,127 | 8,554,127 | [
"python",
"android",
"macos"
] |
75,621,881 | 1 | null | null | 0 | 57 | My task is to create a simple decimal to binary converter without using any strings or arrays.
This is my code:
```
#include <iostream>
int main() {
int64_t n;
int64_t i = 1;
int64_t bit;
int64_t fbit;
std::cout << "Number: " << std::endl;
std::cin >> n;
while (n != 0) {
bit = n % 2;
n = n /... | Decimal to Binary Converter in C++ | CC BY-SA 4.0 | null | 2023-03-02T23:39:50.110 | 2023-03-02T23:46:50.127 | 2023-03-02T23:44:09.777 | 19,445,597 | 19,445,597 | [
"c++",
"binary",
"integer",
"decimal"
] |
75,621,884 | 2 | null | 74,677,829 | 0 | null | The solution to this problem is far more simple than it looks, just take a look to the Blazor Wasm + Asp.Net Core Hosted template solution, exactly, in the startup at the application configuration part, there must be a code that looks like this
```
app.UseWebAssemblyDebugging();
app.UseHttpsRedirection... | null | CC BY-SA 4.0 | null | 2023-03-02T23:40:37.830 | 2023-03-02T23:40:37.830 | null | null | 12,508,508 | null |
75,621,882 | 1 | null | null | 0 | 11 | I have written a python application in Linux and I want to export the `environment.yml` file so that users can recreate the environment in either Linux or Windows. The command I run is:
```
conda env export --from-history > environment.yml
```
However a couple of the dependencies shown in this yml file are Linux-speci... | making a cross-platform environment.yml | CC BY-SA 4.0 | null | 2023-03-02T23:39:58.667 | 2023-03-02T23:39:58.667 | null | null | 5,431,734 | [
"python",
"conda"
] |
75,621,872 | 1 | null | null | 0 | 11 | I have a React frontend with a Ruby on Rails backend. I'm using a 3rd party API that converts text to voice. You submit the text and it sends you back an audio file.
I can make it work on the frontend this way:
```
const handleClick = () => {
axios.post('theUrlForThePost', {
text: 'Test Message',
vo... | Faraday request to receive an audio blob | CC BY-SA 4.0 | null | 2023-03-02T23:38:23.597 | 2023-03-04T06:00:26.173 | null | null | 15,019,760 | [
"reactjs",
"ruby-on-rails",
"ruby",
"rest",
"blob"
] |
75,621,880 | 1 | 75,622,186 | null | 1 | 27 | I would like to change all values in a group called `value` to NA except for the one associated with the largest value in another column called `orderid`. I am not sure where my code is going wrong. As an example, I have this dataset:
```
customerid <- c("A1", "A1", "A2", "A2", "A3", "A3", "A3", "A4")
orderid <- c("1",... | R - How to change all values except last 1 to NA in a group | CC BY-SA 4.0 | null | 2023-03-02T23:39:43.323 | 2023-03-03T01:06:31.893 | 2023-03-03T00:35:46.037 | 5,901,298 | 5,901,298 | [
"r"
] |
75,621,879 | 2 | null | 4,871,051 | 0 | null | Not exactly sure what you're trying to accomplish but the above answers work on the current working directory where you are asking from not from where the program is actually located.
For instance:
```
$> mkdir -p /tmp/paths/check
$> cat > /tmp/paths/check/GetPath.java
import java.nio.file.Paths;
import java.nio.file.... | null | CC BY-SA 4.0 | null | 2023-03-02T23:39:23.037 | 2023-03-02T23:50:16.907 | 2023-03-02T23:50:16.907 | 6,994,979 | 6,994,979 | null |
75,621,889 | 1 | null | null | 0 | 25 | [](https://i.stack.imgur.com/AqN1l.png)
i keep getting the error code, Error in ind1[i]:ind2[i] : NA/NaN argument, i dont know how to fix this and my TA isn't responding
| I'm getting an error message on my index numbers and I don't know why | CC BY-SA 4.0 | null | 2023-03-02T23:41:27.583 | 2023-03-03T00:18:18.593 | 2023-03-03T00:18:18.593 | 14,992,857 | 21,322,477 | [
"r",
"error-handling"
] |
75,621,890 | 2 | null | 75,621,871 | 0 | null | Give this a shot
`Get-ChildItem -Path "C:\Path\To\Your\Folder" | foreach {Rename-Item $_.FullName -NewName ($_.BaseName.Substring(0, $_.BaseName.Length - 2) + $_.Extension)}`
| null | CC BY-SA 4.0 | null | 2023-03-02T23:41:41.970 | 2023-03-02T23:41:41.970 | null | null | 21,076,055 | null |
75,621,888 | 1 | null | null | 0 | 13 | I'm using React Native 0.65 (I can't upgrade at the moment) and I'm trying to use GA4 via Firebase. I'm getting the following error and having zero luck finding any helpful work arounds.
> The Swift pod `FirebaseCoreInternal` depends upon `GoogleUtilities`, which does not define modules. To opt into those targets gener... | React Native - Firebase Install Errors | CC BY-SA 4.0 | null | 2023-03-02T23:41:04.617 | 2023-03-02T23:43:31.880 | 2023-03-02T23:43:31.880 | 209,103 | 436,537 | [
"firebase",
"react-native",
"google-analytics-4"
] |
75,621,894 | 1 | 75,621,964 | null | 0 | 30 | I have a composite action like this and I want to pass input tag to a step:
I tried this code but I get an error unrecognized inputs value inputs.tag
```
inputs:
tag:
required: false
description: "java tag version"
default: 11
runs:
using: "composite"
steps:
- name: Build
id: build
... | Use inputs variable as a tag in composite action | CC BY-SA 4.0 | null | 2023-03-02T23:42:32.083 | 2023-03-03T00:41:08.020 | 2023-03-03T00:05:39.430 | 3,921,905 | 3,921,905 | [
"docker",
"github",
"github-actions"
] |
75,621,885 | 1 | null | null | 0 | 26 | I have been working on this react app project for a while and am now attempting to develop a server (using node and express) and eventually a database for it (MongoDB).
My client-side react app has been up and running on localhost:3000 but now, after installing express, I'm confused as to whether I accidentally just cr... | How To Connect My React App and My Express API? | CC BY-SA 4.0 | null | 2023-03-02T23:40:54.940 | 2023-03-03T05:57:01.707 | 2023-03-03T01:02:25.593 | 1,727,948 | 20,194,425 | [
"javascript",
"reactjs",
"express"
] |
75,621,893 | 1 | null | null | -1 | 24 | I checked [https://calendar.spring.io/](https://calendar.spring.io/) and do not see a planned release date published there. We are migrating our microservices to use Spring Boot 3.0.0, Spring Cloud 2022.0.1, and Spring Cloud Stream Binder for Kinesis 3.0.0. All of our testing so far has been successful except for our ... | When will Spring Cloud AWS 3.0.0 be released? | CC BY-SA 4.0 | null | 2023-03-02T23:42:31.763 | 2023-03-02T23:42:31.763 | null | null | 7,053,911 | [
"spring-cloud-aws",
"spring-cloud-stream-binder-kinesis"
] |
75,621,898 | 2 | null | 75,494,301 | 1 | null | I also get this error - you can workaround it by doing the following:
1. Press cmd+shift+p to bring up the code pallete
2. Search Ask CodeGPT, and select it
3. Write a question (it doesn't matter what it is, it won't be sent)
4. CodeGPT will prompt you for your API key
---
Answer sourced from a [GitHub issue](htt... | null | CC BY-SA 4.0 | null | 2023-03-02T23:43:06.930 | 2023-03-02T23:43:06.930 | null | null | 15,158,191 | null |
75,621,897 | 2 | null | 75,621,698 | 1 | null |
## Problem
The issue here is that your metadata is set on the [Checkout Session](https://stripe.com/docs/api/checkout/sessions/object), but the webhook event you are handling returns the [Payment Intent](https://stripe.com/docs/api/payment_intents/object). The metadata isn't automatically propagated between the Ses... | null | CC BY-SA 4.0 | null | 2023-03-02T23:43:02.657 | 2023-03-02T23:43:02.657 | null | null | 2,864,160 | null |
75,621,899 | 2 | null | 75,621,822 | 0 | null | `data['results']` is a list, not a dictionary. What you want is `data['results'][0]['list_no']`:
```
try:
list_no = data['results'][0]['list_no']
print("exists")
except (KeyError, IndexError, TypeError):
print("not exists")
sys.exit()
```
| null | CC BY-SA 4.0 | null | 2023-03-02T23:43:15.157 | 2023-03-03T00:16:42.490 | 2023-03-03T00:16:42.490 | 459,745 | 459,745 | null |
75,621,891 | 2 | null | 75,605,157 | 0 | null | One way to restate your question could be:
> After merging multiple undeployed features into `main`, how can I release some of those features but not all of them?
The following concepts come to mind:
1. Revert. If this doesn't happen that often, create a release branch and revert the feature(s) you don't wish to relea... | null | CC BY-SA 4.0 | null | 2023-03-02T23:41:56.377 | 2023-03-02T23:41:56.377 | null | null | 184,546 | null |
75,621,901 | 2 | null | 53,189,071 | 0 | null | You can append a frame to an existing SQLite database using `sqlite3` too.
```
import sqlite3
conn = sqlite3.connect('<path to DB>')
df.to_sql('schedule', conn, if_exists='append')
conn.close()
```
OP's actual problem was updating an existing table. In that case, `sqlite3` is useful too. For example, instead of the it... | null | CC BY-SA 4.0 | null | 2023-03-02T23:43:25.187 | 2023-03-02T23:43:25.187 | null | null | 19,123,103 | null |
75,621,905 | 2 | null | 69,281,786 | 0 | null | This has occasionally happened to me when I have the package I want to use as a local package open in other Xcode windows. Closing other Xcode windows that have that package project open or are also using it as a local package may help. (Close those other windows, then try re-adding it as a local package.)
| null | CC BY-SA 4.0 | null | 2023-03-02T23:43:41.887 | 2023-03-02T23:43:41.887 | null | null | 13,723,122 | null |
75,621,886 | 2 | null | 75,617,890 | 0 | null | It works but you need to add more lines in your text block.
You can use as separator like : `Sample\nLine 1\nLine 2\nLine 3`.
The longest text will define the size of the text block.
```
var canvas = new fabric.Canvas('canvas');
var text1 = new fabric.IText("Sample\nLine 1\nLine 2\nLine 3", {
borderColor: '#... | null | CC BY-SA 4.0 | null | 2023-03-02T23:40:55.213 | 2023-03-02T23:40:55.213 | null | null | 401,278 | null |
75,621,892 | 2 | null | 75,610,680 | 0 | null | Update... I did it! It's messy and gross but it is done.
I know this has no need to be as lengthy as it is, however, it functions. I've only ever used block coding and a little bit of javascript, so I'm proud.
If anyone has any tips to make this code not as ugly I would appreciate that :p
```
#include <stdio.h>
int
ma... | null | CC BY-SA 4.0 | null | 2023-03-02T23:42:15.103 | 2023-03-02T23:42:15.103 | null | null | 21,315,628 | null |
75,621,903 | 1 | null | null | 1 | 31 | I am currently working on BigQuery standart SQL.
I want to find the the value1,value2,value3 fields for the minimum value of date field when the records are grouped by col1. In the following example, row1 and row2 have the the same date. So picking any one of them is fine.
[](https://i.stack.imgur.com/2b1iE.png)
The ou... | How to find the record for the minimum value of a field when grouped by another field in BigQuery SQL | CC BY-SA 4.0 | null | 2023-03-02T23:43:31.173 | 2023-03-03T00:13:32.660 | 2023-03-02T23:48:52.230 | 9,759,128 | 9,759,128 | [
"sql",
"google-bigquery"
] |
75,621,896 | 2 | null | 49,536,492 | 1 | null | The migration from Ninject to Autofac seems to be correct, but the binding for the `ISecureDataFormat<AuthenticationTicket>` interface may not be working as expected, leading to an activation error in some dependencies. Based on the debugging messages, the `BearerTokenCookieStore` class is failing to resolve this depen... | null | CC BY-SA 4.0 | null | 2023-03-02T23:42:42.147 | 2023-03-04T19:34:38.727 | 2023-03-04T19:34:38.727 | 593,154 | 18,974,567 | null |
75,621,904 | 2 | null | 11,949,419 | 0 | null | I just want to see the commithub current version and I find the way! Let's take a look together
```
npm list commithub version -g
```
This gives this output
```
/Users/hasan.tezcan/.nvm/versions/node/v14.18.0/lib
└── commithub@0.0.1
```
But I just want to see the version in output
```
npm list --depth=0 commithub -g ... | null | CC BY-SA 4.0 | null | 2023-03-02T23:43:35.860 | 2023-03-02T23:43:35.860 | null | null | 10,694,425 | null |
75,621,911 | 2 | null | 75,620,958 | 0 | null | Have you tried this
```
flutter create --org com.example --template=plugin --platforms=android,ios,linux,macos,windows -i swift hello
```
Important factors EDIT by OP:
- - -
| null | CC BY-SA 4.0 | null | 2023-03-02T23:44:39.370 | 2023-03-04T23:26:07.430 | 2023-03-04T23:26:07.430 | 5,717,640 | 4,540,591 | null |
75,621,908 | 2 | null | 73,495,714 | 0 | null | Initially with my first attempt I was getting this error: setState() or markNeedsBuild() called during build Error.
After a while I found a way to do what you are looking for as follows, its a little less intuitive.
```
class _DirectorySelectState extends ConsumerState<DirectorySelect> {
final directoryTextFieldControl... | null | CC BY-SA 4.0 | null | 2023-03-02T23:44:06.537 | 2023-03-02T23:44:06.537 | null | null | 2,091,207 | null |
75,621,906 | 1 | 75,624,460 | null | 1 | 16 | I have the following query:
```
SELECT
COUNT(*) number,
COALESCE(Presents, 0) Presents,
f_date date_formated,
CASE
WHEN (REPLACE(t.name, '.', '') LIKE '%TEST1%') THEN 'TEST1'
WHEN (REPLACE(t.name, '.', '') LIKE '%TEST2%') THEN 'TEST2'
ELSE 'UINT'
... | Spark SQL returning expression is neither present in the group by | CC BY-SA 4.0 | null | 2023-03-02T23:43:53.527 | 2023-03-03T07:53:25.750 | null | null | 16,459,035 | [
"sql",
"apache-spark-sql"
] |
75,621,900 | 2 | null | 4,658,491 | 0 | null | Modification of ocket8888's js answer to work with classes
```
window.addEventListener('load', () => {
function collapse(event) {
if (event) {
event.stopPropagation();
}
var targetdiv = event.target.parentElement.getElementsByClassName("collapsable")[0];
targetdiv.hidden... | null | CC BY-SA 4.0 | null | 2023-03-02T23:43:22.210 | 2023-03-02T23:43:22.210 | null | null | 125,684 | null |
75,621,909 | 1 | 75,630,451 | null | 0 | 41 | I am looking for a way that is not too hacky to hash all ids before returning to user, is there a way to do so? I've searched all over docs and couldn't find anything that handles all scenarios.
I am using Postgres + Prisma ORM and have multiple models with relational fields. Ideally I would achieve the desired behavio... | Is there a way to automatically convert any field of type int to a hashed string? | CC BY-SA 4.0 | null | 2023-03-02T23:44:15.393 | 2023-03-03T22:36:42.143 | 2023-03-03T18:52:13.137 | 18,420,694 | 18,420,694 | [
"javascript",
"postgresql",
"express",
"hash",
"prisma"
] |
75,621,914 | 2 | null | 2,834,233 | 0 | null | Doable but hacky. Extending on Odrade's answer:
```
string[,] table = { { "aa", "aaa" }, { "bb", "bbb" } };
bool eol = false;
foreach (string s in table) {
if (eol) Console.WriteLine(" " + s);
else Console.Write(s);
eol = !eol;
}
```
I would argue, though, that foreach is suitable where the index doesn't m... | null | CC BY-SA 4.0 | null | 2023-03-02T23:44:51.757 | 2023-03-02T23:44:51.757 | null | null | 8,322,623 | null |
75,621,918 | 2 | null | 75,621,831 | 1 | null | A simple way could be a conditional rendering with `v-if` on Footer component:
```
<template>
<div id="app" class="main-layout">
<router-view />
<Footer v-if="$route.path != '/'"/>
</div>
</template>
```
| null | CC BY-SA 4.0 | null | 2023-03-02T23:45:39.533 | 2023-03-02T23:45:39.533 | null | null | 9,176,232 | null |
75,621,916 | 2 | null | 75,621,751 | 0 | null | You can do something like this, where I have used a sample function `foo` (instead of `scaler.fit_transform`) that modifies a pandas Series based on the data it contains:
```
import pandas as pd
def foo(ser):
x = ser.mean()
return ser - x
df = pd.DataFrame({
'group':['A','A','B','B'],
'price':[10,0.1,1203,999]... | null | CC BY-SA 4.0 | null | 2023-03-02T23:45:03.877 | 2023-03-02T23:45:03.877 | null | null | 18,135,454 | null |
75,621,917 | 2 | null | 75,621,881 | 2 | null | `11001110001101111110011101110`, which is binary representation of `432471278`, is 29-digit long and it is too large for `int64_t` when seen as decimal value. (the maximum is `9223372036854775807`, which is 19-digit long)
Also it is bad to use the value of uninitialized non-static local variable `fbit`.
One simple appr... | null | CC BY-SA 4.0 | null | 2023-03-02T23:45:09.350 | 2023-03-02T23:45:09.350 | null | null | 4,062,354 | null |
75,621,921 | 1 | 75,622,299 | null | -1 | 21 | I have a terraform file that references a provider's github repository. The config in terraform looks like this:
```
module "super-cool-module" {
source = "git@github.com:provider_name/repo.git?ref=1234567890abc"
}
```
What is that `ref=1234567890abc` referring to? And how do I find that in their repository?
| what is the ref number in a github repository referring to? | CC BY-SA 4.0 | null | 2023-03-02T23:46:19.213 | 2023-03-03T01:04:15.077 | 2023-03-03T01:04:15.077 | 5,078,746 | 4,038,747 | [
"git",
"github",
"terraform"
] |
75,621,915 | 1 | 75,636,131 | null | 0 | 30 | My code compiled with Spark 3.1.2:
```
private def work(plan: LogicalPlan): LogicalPlan = {
val result = plan.transformDown {
// irrelevant details
}
}
```
When run with Spark 3.3.0, I run into:
```
java.lang.NoSuchMethodError: org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDown(Lscala/Partia... | Reflection to call method that had its name changed in an upgrade? | CC BY-SA 4.0 | null | 2023-03-02T23:44:52.027 | 2023-03-04T20:01:53.963 | 2023-03-03T13:50:59.333 | 5,249,621 | 16,394,869 | [
"scala",
"apache-spark",
"scala-reflect",
"binary-compatibility"
] |
75,621,913 | 1 | null | null | 0 | 18 | I have the following code to add the gradient when the view is clicked.
the following code works, but having one issue, I don't want to add the gradient color effect to the fist button. I tried many ways, but still can't make it work. Please help! thanks so much in advance!
```
fun Modifier.onClickGradientEffect(
i... | Adding Gradient Background Color when the view is clicked in Compose Issue | CC BY-SA 4.0 | null | 2023-03-02T23:44:40.987 | 2023-03-03T18:35:44.270 | 2023-03-03T18:35:44.270 | 9,352,618 | 9,352,618 | [
"android",
"android-jetpack-compose"
] |
75,621,910 | 1 | null | null | 0 | 10 | Currently, I am using Morphia 1.3.0 and migrating to Morphia 1.6.1.
```
<!-- https://mvnrepository.com/artifact/org.mongodb.morphia/morphia -->
<dependency>
<groupId>org.mongodb.morphia</groupId>
<artifactId>morphia</artifactId>
<version>1.3.0</version>
</dependency>
```
```
<!-- https://mvnrepository.co... | MongoDB - Morphia dev.morphia.query.ValidationException: Could not resolve path - @Transient | CC BY-SA 4.0 | null | 2023-03-02T23:44:37.483 | 2023-03-03T02:01:45.167 | 2023-03-03T02:01:45.167 | 1,578,872 | 1,578,872 | [
"mongodb",
"mongodb-query",
"morphia"
] |
75,621,925 | 2 | null | 75,620,006 | 1 | null | In this case, the namespace should end with '.yaml', you may reference the [sample](https://github.com/apolloconfig/apollo-demo-java/blob/main/spring-boot-demo/src/main/resources/application.yml) for more information.
```
apollo.bootstrap.namespaces = application-yaml.yaml
```
| null | CC BY-SA 4.0 | null | 2023-03-02T23:46:48.217 | 2023-03-02T23:46:48.217 | null | null | 1,838,267 | null |
75,621,922 | 1 | 75,623,734 | null | 0 | 22 | I want to calculate the pairwise cosine similarity between two strings that are in the same row of a pandas data frame.
I used the following lines of codes:
```
import pandas as pd
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.metri... | Didnt get the expected results when calculate Cosine similarity between strings | CC BY-SA 4.0 | null | 2023-03-02T23:46:28.823 | 2023-03-03T06:14:33.723 | 2023-03-02T23:57:18.853 | 6,403,044 | 6,403,044 | [
"python",
"pandas",
"scikit-learn",
"nlp",
"cosine-similarity"
] |
75,621,923 | 1 | null | null | -2 | 28 | Could someone explain to me, why i cant set "remove_two_diggits" to False in the last line?
```
def compute(l): # guarantee that first element isnt *// add!
counter = 0
while l[1] != '.':
for i in range(len(l)):
if l[i] == '*' or l[i] == '/':
remove_two_digits = True
... | cant assign value to variable (issue with scope?) | CC BY-SA 4.0 | null | 2023-03-02T23:46:30.983 | 2023-03-03T00:13:04.740 | null | null | 19,272,644 | [
"python",
"variables",
"scope"
] |
75,621,924 | 1 | null | null | 0 | 16 | I have been struggling to find some documentation regarding the `end_date` parameter for an Airflow DAG. [https://hevodata.com/learn/airflow-scheduler/](https://hevodata.com/learn/airflow-scheduler/) [](https://i.stack.imgur.com/Uj7nQ.png)
Even though the parameter is suffixed with just `date`, can it be confirmed if t... | Airflow end_date : Does it support the time component? | CC BY-SA 4.0 | null | 2023-03-02T23:46:43.650 | 2023-03-02T23:46:43.650 | null | null | 4,079,558 | [
"airflow"
] |
75,621,930 | 2 | null | 75,621,741 | -1 | null | Well, if you follow standars for country code, you can use an API, lik this one:
[enter link description here](https://countryflagsapi.com)
| null | CC BY-SA 4.0 | null | 2023-03-02T23:47:35.590 | 2023-03-02T23:47:35.590 | null | null | 4,848,078 | null |
75,621,927 | 2 | null | 75,621,857 | 1 | null | The general approach is that you add the `CodingKeys` enum when your struct has one or more properties that will never be in the JSON. The `CodingKeys` will list just the properties that may be in the JSON.
For struct properties that might not always be in the JSON, you make those properties optional.
For struct proper... | null | CC BY-SA 4.0 | null | 2023-03-02T23:46:53.907 | 2023-03-02T23:46:53.907 | null | null | 20,287,183 | null |
75,621,920 | 1 | null | null | 0 | 26 | I am currently using ggplot2 to show the number of things there are for each year as a bar plot and within each bar, I also show the number of countries per year as different colours. The code below achieves this:
```
library(RColorBrewer)
library(plotwidgets)
library(colorspace)
library(ggplot2)
# METADATA MUST CONTA... | GGPlot2: Display names/counts for different bars in a stacked bar plot | CC BY-SA 4.0 | null | 2023-03-02T23:46:16.667 | 2023-03-03T00:24:05.510 | null | null | 12,806,801 | [
"r",
"ggplot2",
"plot"
] |
75,621,932 | 1 | null | null | 0 | 12 | I have a script which pulls statistical data from graphite. However, I need to add the ability to pull from specific timeframes. My function that pulls data from graphite and requires arguments from and until which sets the timeframe.
I can't get the script to work as I am not sure how the from and until parameters. Al... | how do you pull data from Graphite for a specific timeframe? | CC BY-SA 4.0 | null | 2023-03-02T23:47:56.193 | 2023-03-03T00:13:45.777 | null | null | 7,460,795 | [
"python-3.x",
"graphite",
"graphite-carbon"
] |
75,621,929 | 1 | null | null | 1 | 29 | In my UI the user needs to enter an ID number, if a number is entered that doesn't exist I have a snackbar that informs the user that no such ID exists. The problem is that it's under the soft keyboard. I'm currently configuring the snackbar in a scaffold. I haven't found a way to move the position of the snackbar from... | Place snackbar above soft keyboard using a scaffold | CC BY-SA 4.0 | null | 2023-03-02T23:47:05.313 | 2023-03-02T23:47:05.313 | null | null | 21,107,255 | [
"kotlin",
"android-jetpack-compose"
] |
75,621,912 | 2 | null | 75,600,021 | 0 | null | > How can I generate two diferrent matrices of random numbers, [...]?
There are plenty of open source linear algebra libraries, but I'll just reinvent the wheel here and start writing a (incomplete and barely functioning) matrix class.
```
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <random>
#i... | null | CC BY-SA 4.0 | null | 2023-03-02T23:44:40.600 | 2023-03-02T23:44:40.600 | null | null | 4,944,425 | null |
75,621,938 | 2 | null | 75,621,871 | 2 | null | In this case the recommendation would be to refine your filter to `.jpg``;`, then for renaming, you could use a simple regex that replaces the last 2 characters from a string `.{2}$`:
```
Get-ChildItem path\to\targetfolder -Filter '*.jpg;?' |
Rename-Item -NewName { $_.Name -replace '.{2}$' }
```
| null | CC BY-SA 4.0 | null | 2023-03-02T23:49:14.723 | 2023-03-02T23:57:17.987 | 2023-03-02T23:57:17.987 | 15,339,544 | 15,339,544 | null |
75,621,919 | 2 | null | 75,621,471 | 1 | null | You're having this issue because the .sidenav class has a width of 40%
so the other 60% is just whitespace.
just set the width of .sidenav to 100% and remove the margin-left: 40% property from the .main class.
```
.main {
padding: 0px 10px;
width: 100%; /* Add this here */
}
```
```
body {
font-family: "Lato",... | null | CC BY-SA 4.0 | null | 2023-03-02T23:45:49.613 | 2023-03-02T23:57:47.837 | 2023-03-02T23:57:47.837 | 21,322,427 | 21,322,427 | null |
75,621,928 | 2 | null | 75,621,661 | 0 | null | (This ignores the fact that your class is not owning the memory for some reason).
No, there is no copy despite the appearances.
I have invented my own rule to deal with (legacy) c-arrays.
Always pass them by reference. (Yes, you can pass a c-array by reference explicitly).
```
#include<iostream>
using namespace std;
... | null | CC BY-SA 4.0 | null | 2023-03-02T23:47:04.307 | 2023-03-03T09:40:03.417 | 2023-03-03T09:40:03.417 | 225,186 | 225,186 | null |
75,621,939 | 1 | null | null | 0 | 4 | I want to search for multiple keywords of a site in the google URL, all of which must appear the way I search
My attempts:
```
site:siteexemple.com "keyword1" + "keyword1"
site:siteexemple.com "keyword1" AND "keyword1"
site:siteexemple.com <"keyword1" "keyword1">
site:siteexemple.com keyword1 keyword1
```
Unfortuna... | How to search for several keywords in the google url required? | CC BY-SA 4.0 | null | 2023-03-02T23:49:22.530 | 2023-03-02T23:49:22.530 | null | null | 15,059,163 | [
"url",
"google-search"
] |
75,621,935 | 1 | null | null | 1 | 43 | I'm have a program that was working fine... after upgrading to rad studio 11+ I'm facing a problem that I can't understand.
BiDiMode:= bdRightToLeft
all tdbgrids at this program working fine except two tdbgrids... the problem is one specific field always shown reversed and separated letters. I deleted the dbgrid and cr... | Reversed Arabic text at dbgrid | CC BY-SA 4.0 | null | 2023-03-02T23:48:48.440 | 2023-03-04T17:49:49.763 | 2023-03-04T17:49:49.763 | 13,812,599 | 13,812,599 | [
"delphi",
"arabic",
"dbgrid"
] |
75,621,931 | 2 | null | 75,616,231 | 0 | null | Try to change the parameters to `period1`/`period2`:
```
import time
import aiohttp
import asyncio
import pandas as pd
from io import StringIO
ticker = 'BTC-USD'
url = f'https://query1.finance.yahoo.com/v7/finance/download/{ticker}'
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/5... | null | CC BY-SA 4.0 | null | 2023-03-02T23:47:48.950 | 2023-03-02T23:47:48.950 | null | null | 10,035,985 | null |
75,621,943 | 1 | 75,622,670 | null | 0 | 13 | I'm creating an application using Swift UI. I receiva a layout in Figma and the Text Field needs to be like Material UI, with the label above the border.
[Material UI example](https://i.stack.imgur.com/ZFUo5.png)
The border needs to be roundered. I tried use ZStack, but I don't know how put the Text like the label of M... | How to create text field with label like Material UI using Swift UI? | CC BY-SA 4.0 | null | 2023-03-02T23:49:35.130 | 2023-03-03T02:31:46.303 | null | null | 21,322,510 | [
"swift",
"swiftui",
"textfield"
] |
75,621,947 | 2 | null | 75,598,691 | 0 | null | In values you can use this:
```
persistence:
...
existingClaim: some-test-pv
```
| null | CC BY-SA 4.0 | null | 2023-03-02T23:50:00.490 | 2023-03-02T23:50:00.490 | null | null | 905,620 | null |
75,621,946 | 1 | null | null | 0 | 9 | Changes.list API with token returns all changes including viewed/browsed folders and files. Is there any way to restrict this API to NOT return the viewed files or folders.
I am using Changes.getStartPageToken to get the start token and saved it.
Later on Google Drive, i added/deleted/renamed few files. I also viewed s... | Changes API: How to retrieve only modified file/folders. Currently it returns folders/files which are viewed also | CC BY-SA 4.0 | null | 2023-03-02T23:49:59.707 | 2023-03-02T23:49:59.707 | null | null | 18,410,698 | [
"google-drive-api"
] |
75,621,942 | 1 | 75,621,970 | null | 0 | 17 | I put choiceWhat part as a test. When i enter "a", the program skips choiceWhat and goes to choiceA. But when I enter b or c it prints choiceA and then exits the program.
```
# read string input
li $v0, 8
la $a0, choice
li $a1, 50
syscall
# move string to $s6
move $s6, $a0
li $s4, 'a'
... | Mips Assembly not skipping functions when using beq problem | CC BY-SA 4.0 | null | 2023-03-02T23:49:32.920 | 2023-03-03T00:07:40.450 | 2023-03-03T00:03:47.633 | 17,587,455 | 17,587,455 | [
"assembly",
"mips"
] |
75,621,944 | 1 | null | null | -1 | 23 | In my code I am trying to create a web page completely using javascript but I cannot get buttons to work. Here is my code, you can disregard everything but the button.
```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewpor... | How does one create a functional button using JS | CC BY-SA 4.0 | null | 2023-03-02T23:49:39.717 | 2023-03-03T01:04:00.690 | 2023-03-03T01:04:00.690 | 21,322,518 | 21,322,518 | [
"javascript",
"function",
"button"
] |
75,621,945 | 2 | null | 75,600,637 | 0 | null | You can use the following array formula in `D1` cell, that generates the entire result at once:
```
=LET(A, A2:A9,B,B2:B9,Aux,UNIQUE(A),Bux,UNIQUE(B),ones,SEQUENCE(ROWS(Bux),,1,0),
cnts,MMULT(COUNTIFS(A, Aux,B, TOROW(Bux)),ones),
f,FILTER(HSTACK(Aux, cnts),cnts=1), VSTACK({"Product","Counts"}, f))
```
Here is the ou... | null | CC BY-SA 4.0 | null | 2023-03-02T23:49:46.710 | 2023-03-03T03:03:46.747 | 2023-03-03T03:03:46.747 | 6,237,093 | 6,237,093 | null |
75,621,948 | 1 | 75,622,412 | null | -1 | 15 | When using cogs to organize slash commands, I can never get them to load.
main.py
```
import discord
from discord.ext import commands
from testing import MyCog
bot = commands.Bot(command_prefix='!', intents=discord.Intents.all())
@bot.command()
async def sync(ctx):
await bot.add_cog(MyCog(bot))
await bot.tree.... | Slash commands not appearing when loading them in cogs discord.py | CC BY-SA 4.0 | null | 2023-03-02T23:50:35.687 | 2023-03-03T01:30:03.007 | null | null | 15,607,397 | [
"python",
"discord.py"
] |
75,621,934 | 1 | null | null | 0 | 18 | I have data that look like the below (just an example, the actual dataset is 200,000 rows).
Using this data, I need to predict the categorical number of positions filled (the only options are 0, 1, 2, or 3) based on the decisions of a large hiring committee of a faculty organization which varies in size from 250 to 100... | Predicting Categorical Outcome Based on Binary Value Associated with User IDs | CC BY-SA 4.0 | null | 2023-03-02T23:48:44.967 | 2023-03-02T23:48:44.967 | null | null | 12,060,889 | [
"r",
"data-modeling",
"xgboost",
"bayesian"
] |
75,621,951 | 2 | null | 75,326,312 | 0 | null | For anyone wondering, I got help internally at my job.
To achieve this in Android there is a mechanism that will look for any license file named in any directory with an Android.mk and/or Android.bp file defining the module. The content of the NOTICE file must be the third-party license.
After compiling, this will di... | null | CC BY-SA 4.0 | null | 2023-03-02T23:50:39.220 | 2023-03-02T23:50:39.220 | null | null | 21,134,708 | null |
75,621,941 | 1 | null | null | -2 | 17 | I have a variable that I have stored a stat path & exists from but I am not able to pull this in a when conditional on the next step in my playbook.
Here is the section of the playbook that is giving me problems:
```
- name: Check that houdini version exists
stat:
path: "$HOME/Library/Preferences/houdini/{{ item ... | Can't use when conditional on previous stat/register variable | CC BY-SA 4.0 | null | 2023-03-02T23:49:27.500 | 2023-03-03T08:03:28.647 | 2023-03-03T08:03:28.647 | 9,401,096 | 7,960,231 | [
"ansible",
"conditional-statements",
"jinja2"
] |
75,621,956 | 2 | null | 75,621,842 | 1 | null | The changelog indicates `opensearchserverless` was introduced in [2.9.3](https://raw.githubusercontent.com/aws/aws-cli/v2/CHANGELOG.rst) version, so you'll need to update your version
```
2.9.3
=====
...
* api-change:opensearchserverless: Publish SDK for Amazon OpenSearch Serverless
```
| null | CC BY-SA 4.0 | null | 2023-03-02T23:52:00.783 | 2023-03-03T00:03:24.623 | 2023-03-03T00:03:24.623 | 92,837 | 92,837 | null |
75,621,949 | 1 | null | null | 0 | 8 | I would like to include the regression output from `etable(feols(fml = formula, data = data, cluster = ~cluster))` as latex regression table into an rmarkdown creating an html output.
My regression function at the moment is this one:
```
regression <- function(analysis_data,formula) {
print(xtable(etable(feols(fml = ... | How to include output from etable() of fixest package as latex regression table into markdown as html output? | CC BY-SA 4.0 | null | 2023-03-02T23:50:36.030 | 2023-03-02T23:50:36.030 | null | null | 14,945,351 | [
"latex",
"r-markdown",
"xtable",
"fixest"
] |
75,621,954 | 1 | 75,622,217 | null | 0 | 37 | I'm working on an older project that was built with .NET Framework not .NET Core. I have not previously worked too much C#. My understanding is that you can use vscode for it but getting it running has been difficult. When I run `dotnot --list-sdks` or `--list-runtimes` it shows .NET Core. [This link](https://learn.mi... | `dotnet sdk check` only lists .net core and ignores .NET Framework | CC BY-SA 4.0 | null | 2023-03-02T23:51:14.493 | 2023-03-03T01:21:58.333 | 2023-03-03T01:14:30.443 | 2,501,279 | 4,427,375 | [
"c#",
".net",
"visual-studio-code"
] |
75,621,953 | 1 | null | null | 0 | 20 | I have a many to many relationship, with an intermediate table with extra fields.
I want to create a form that allows me to enter a product, and to be able to choose a price for 1 or more markets.
I can't figure out the views to create this form and print it in a template.
Can you help me?
How the form should look like... | django many to many through forms | CC BY-SA 4.0 | null | 2023-03-02T23:50:49.913 | 2023-03-03T08:49:44.573 | null | null | 1,197,869 | [
"django",
"forms"
] |
75,621,955 | 1 | 75,623,033 | null | 2 | 37 | In the following snippet
```
interface C1 { kind: 'c1' }
interface C2 { kind: 'c2' }
interface C3<T> { kind: 'c3'; value: T }
function isC3<T, CX extends ([C3<T>] extends [CX] ? { kind: string; } : never)>(
c: CX
): c is C3<T> /* <------- PROBLEM !!! */ {
return c.kind === 'c3';
}
// valid use
type C = C1 | C... | Stricter narrowing in TypeScript that is only allowed if the narrowed case is possible | CC BY-SA 4.0 | null | 2023-03-02T23:51:53.960 | 2023-03-03T03:54:32.117 | 2023-03-03T00:27:22.547 | 139,667 | 139,667 | [
"typescript",
"type-narrowing"
] |
75,621,952 | 1 | null | null | 0 | 11 | Here is info about our technical development environment :
• .NET Core 3.1
• PostgreSQL 14.2, compiled by Visual C++ build 1914, 64-bit
• EntityFramework.Functions Version=1.5.0
• Microsoft.EntityFrameworkCore.Design Version=5.0.17
• Microsoft.EntityFrameworkCore.Tools Version=5.0.17
• Npgsql.EntityFrameworkCore.Postgr... | C# Code for Moq's Setup and it's Return in regards to mocking a dynamic property | CC BY-SA 4.0 | null | 2023-03-02T23:50:49.010 | 2023-03-03T08:05:19.047 | null | null | 1,338,998 | [
"unit-testing",
"dynamic",
"moq",
"xunit",
"expandoobject"
] |
75,621,940 | 1 | null | null | 0 | 27 | I don't know which part is not correct, at the first, I create a clusters on AWS with `cloud-provider` library, then I run `tsfresh` library to extract features. And I got this error.
```
from dask_cloudprovider.aws import FargateCluster
from distributed import Client
cluster = FargateCluster(
n_workers=2,
wor... | Dask distributed problem: shuffle_transfer failed during shuffle | CC BY-SA 4.0 | null | 2023-03-02T23:49:23.620 | 2023-03-03T03:30:13.250 | 2023-03-03T03:30:13.250 | 6,498,757 | 6,498,757 | [
"dask",
"dask-distributed"
] |
75,621,950 | 1 | null | null | -2 | 15 | [](https://i.stack.imgur.com/BApyV.jpg)I need help setting up HTML codes for the images (in the "view projects" section) and list of view more projects. So far I have managed to create part of it and I need help in creating the above sections. For reference, I am attaching an image file to see what the design actually ... | Stuck on html code in placing images and listing projects | CC BY-SA 4.0 | null | 2023-03-02T23:50:37.433 | 2023-03-03T22:30:58.230 | 2023-03-03T22:30:58.230 | 13,941,725 | 13,941,725 | [
"html",
"frontend"
] |
75,621,959 | 1 | null | null | -2 | 12 | A neighbor illegally or something my phone and find out if it's going to download and sitting on my information her computer how do I stop it
Expect to know how to stop this on my phone and fix it
| Stoping debug mode | CC BY-SA 4.0 | null | 2023-03-02T23:52:14.597 | 2023-03-02T23:54:48.483 | null | null | 21,322,528 | [
"security",
"debugging",
"mode"
] |
75,621,960 | 1 | null | null | -2 | 29 | I'm using fetch() to receive JSON from a site, and it works great the first 3 times, then I get an error.
At first I thought I was getting ratelimited, though if I restart the application, it works right away.
Plus using the api manually on the browser the rate limit doesn't kick in before you spam it.
`Error SyntaxErr... | Fetch stops working after a few times (works when restarted) | CC BY-SA 4.0 | null | 2023-03-02T23:52:37.477 | 2023-03-03T00:03:32.610 | 2023-03-03T00:03:32.610 | 21,306,231 | 21,306,231 | [
"javascript",
"json"
] |
75,621,957 | 1 | null | null | 0 | 31 | Trust me, I have googled for 4 hours, so I've tried invalidate/restart, deleting the gradle/.cache folder, reimport the project, refresh all the gradble projects, even restarting the computer. None of them worked.
So here's the actual issue:
I have an old artifact called traac-core 2.4.0, it uses jackson 2.7.2. Then I ... | IntelliJ shows the external library, but can't resolve the import (This is using Gradle) | CC BY-SA 4.0 | null | 2023-03-02T23:52:02.607 | 2023-03-02T23:52:02.607 | null | null | 21,322,488 | [
"java",
"gradle",
"intellij-idea",
"jackson",
"gradle-dependencies"
] |