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,636,664 | 1 | null | null | 0 | 14 | I can't pull images from my openshift crc installation.
- - - - -
[](https://i.stack.imgur.com/DoUtK.png)
Commands used:
to log as admin:
```
oc login -u kubeadmin -p .......
```
to create pod:
```
oc create -f metricbeat-daemonset.yml
```
[](https://i.stack.imgur.com/j1pnf.png)
to only pull the image:
```
oc impor... | Openshift CRC installation, can't pull images | CC BY-SA 4.0 | null | 2023-03-04T15:29:10.890 | 2023-03-04T17:11:35.737 | 2023-03-04T17:11:35.737 | 16,751,910 | 16,751,910 | [
"docker",
"kubernetes",
"openshift"
] |
75,636,673 | 1 | null | null | 0 | 7 | I have a Spring Boot application with Picocli command-line interface. How can I set Spring active profile using Picocli command-line option e.g.: -e=prod?
| How to set Spring active profile from Picocli command-line option? | CC BY-SA 4.0 | null | 2023-03-04T15:30:19.533 | 2023-03-04T15:30:19.533 | null | null | 3,779,374 | [
"spring",
"spring-boot",
"picocli"
] |
75,636,666 | 1 | 75,637,271 | null | 0 | 28 | In javascript I am able to add new buttons, but I don't know how could I manipulate with them in sense that change their width and height by type in the parameter in inputs. In the code below changes are applied on each button I've create, but that should be possible for every single button to be different.
```
var i =... | How could I dynamically manipulate with elements by inputs? | CC BY-SA 4.0 | null | 2023-03-04T15:29:33.607 | 2023-03-04T20:02:34.360 | 2023-03-04T16:17:58.063 | 21,320,350 | 21,320,350 | [
"javascript"
] |
75,636,674 | 2 | null | 75,617,199 | 0 | null | Does exact lookup work ? (`Table.objects.filter(category=['3aa', '1ss', '2bb'])`)
If so you can use Q objects
```
q_conditions = Q()
for categories in categories_list:
q_conditions |= Q(category=categories)
Table.objects.filter(q_conditions)
```
| null | CC BY-SA 4.0 | null | 2023-03-04T15:30:20.087 | 2023-03-04T15:30:20.087 | null | null | 20,263,044 | null |
75,636,672 | 2 | null | 24,064,396 | 0 | null | `Client.login` failed because the login system was not properly initialised in the `setUp` method. I fixed this by calling `call_command('loaddata', 'initial_data.json')` with `initial_data.json` containing the setup for the login system. Also, `HttpResponseRedirect(request.META.get('HTTP_REFERER'))` didn't work for ob... | null | CC BY-SA 4.0 | null | 2023-03-04T15:30:06.183 | 2023-03-04T15:30:06.183 | null | null | 5,446,749 | null |
75,636,671 | 1 | null | null | -1 | 20 | I have created pages via docker with a port. I am converting this port to a classic domain via a reverse proxy. Let's say that the domain has the format something.something.domain.eu and now I'm trying to assign another domain to this domain via CNAME, in the style something.domain1.eu.
But there is a problem that goog... | CNAME via reverse proxy and with subfolder | CC BY-SA 4.0 | null | 2023-03-04T15:30:02.260 | 2023-03-04T15:30:02.260 | null | null | 21,332,153 | [
"nginx",
"ssl",
"proxy",
"reverse",
"cname"
] |
75,636,678 | 1 | null | null | -4 | 14 | I feel like the file list behavior has changed
I have a form with a multi file input I used to be able to click on the input select 1 file then click on the input again select another file and when calling .files on the input both files would be in it
but now if i close the file selector and then click on the input and... | did the File list behavior change? | CC BY-SA 4.0 | null | 2023-03-04T15:31:09.007 | 2023-03-04T15:31:09.007 | null | null | 8,827,265 | [
"javascript",
"html",
"file",
"input",
"filelist"
] |
75,636,676 | 1 | 75,636,901 | null | -1 | 15 | I receive this error -----
```
error: incompatible types: IntRange and Int
3..12 -> print("Good fish name")
var fishName = "anyname"
when (fishName.length){
0 -> print("Error")
3..12 -> print("Good fish name")
else -> {
print("OK fish name")
}
}
```
---
I was expecting to be able to have the message "Good fish na... | Why am i unable to use this simple code in my kotlin repl | CC BY-SA 4.0 | null | 2023-03-04T15:30:58.093 | 2023-03-04T16:23:24.907 | null | null | 21,332,147 | [
"kotlin",
"range",
"read-eval-print-loop"
] |
75,636,647 | 1 | null | null | 0 | 11 | I am trying to add the [qr_code_scanner](https://pub.dev/packages/qr_code_scanner) to a flutter project.
What I need to do is to press a Scan button on the `MainPage`, open the `QRScanner` page and then pass the result back to the `MainPage` in a `TextEditingController`.
I managed to do all that. However, when I pass t... | Flutter how to pass data from qr_code_scanner back to the previous page and keep the context | CC BY-SA 4.0 | null | 2023-03-04T15:27:01.797 | 2023-03-04T19:42:59.997 | null | null | 2,891,571 | [
"flutter",
"dart",
"qr-code"
] |
75,636,680 | 2 | null | 75,631,555 | 0 | null | Running as an admin is a bad idea - Outlook is a singleton, and if it is already running, your script will attach to the existing instance. And COM system will refuse to marshal calls between two apps (PS and Outlook) running in different security contexts.
| null | CC BY-SA 4.0 | null | 2023-03-04T15:31:20.583 | 2023-03-04T15:31:20.583 | null | null | 332,059 | null |
75,636,667 | 1 | 75,636,715 | null | 0 | 24 |
Starting with `dynamic x = [a, b]` where a and b are `String`.
The following cast fails, i.e. the print out is 'fail':
```
if(x is List<String>){
print('pass');
} else{
print('fail');
}
```
I think the above is the simplified version of my question, but in case you need more info, see below for more detailed vers... | Why is my cast List<String> not matching? | CC BY-SA 4.0 | null | 2023-03-04T15:29:37.797 | 2023-03-04T15:56:15.757 | null | null | 7,515,904 | [
"flutter",
"dart"
] |
75,636,681 | 2 | null | 34,265,946 | 0 | null | You can use this tool to create mongoose queries from browser
[https://www.jsexpert.io/Modules/QueryBuilder/Mongoose](https://www.jsexpert.io/Modules/QueryBuilder/Mongoose)
| null | CC BY-SA 4.0 | null | 2023-03-04T15:31:26.943 | 2023-03-04T15:31:26.943 | null | null | 7,229,048 | null |
75,636,677 | 2 | null | 75,636,548 | 1 | null | You aren't using `plt.plot()` correctly.
You have:
```
plt.plot(x, color = 'black')
plt.plot(y, color = 'red')
```
While actually, the black and the red line represent TWO variables, each one having an array/list of x and y coordinates.
To make it clear, let's call the red one `x1` and `y1`, and the black one `x2` and... | null | CC BY-SA 4.0 | null | 2023-03-04T15:31:08.933 | 2023-03-04T15:31:08.933 | null | null | 13,141,998 | null |
75,636,679 | 1 | null | null | 0 | 15 | I am still relatively new to programming. I recently wanted to create a Conda environment for VSC. This has also worked (My environment is called pytorchbook).
I went into Anaconda Prompt and entered there the following:
`conda create -n pytorchbook anaconda`
(I googled parallel on the internet how to create an environ... | conda environment creation | CC BY-SA 4.0 | null | 2023-03-04T15:31:18.143 | 2023-03-04T16:20:27.240 | 2023-03-04T16:20:27.240 | 162,698 | 20,127,246 | [
"anaconda",
"environment"
] |
75,636,688 | 2 | null | 75,635,850 | 2 | null |
Client Side source code will always be exposed to user. You can't do anything regarding that. You have to assume that user will always be able to see the code.
There are few ways, developers can safe guard their code by uglifying the source-code. You can check it [here](https://ehsangazar.com/source-maps-and-how-it... | null | CC BY-SA 4.0 | null | 2023-03-04T15:32:39.397 | 2023-03-04T15:32:39.397 | null | null | 16,576,319 | null |
75,636,691 | 2 | null | 74,344,897 | 0 | null | We had problems with permissions of authenticated users. The temp folder should have been accessible to everyone, but it seems the folder was deleted and created again with different permissions. The mysteries of working with computers …
| null | CC BY-SA 4.0 | null | 2023-03-04T15:33:13.600 | 2023-03-04T15:33:13.600 | null | null | 685,683 | null |
75,636,675 | 1 | 75,637,049 | null | -1 | 23 | I'm trying to make a tabs using react
i have a file that contain the data info it's an array of object
this array of object contain id,title,info,pic,category
I have a component named Buttons this component show all the category in the array of object with a button named All
```
export default function Buttons() {
co... | Send State Value From Component to another Component in React | CC BY-SA 4.0 | null | 2023-03-04T15:30:26.673 | 2023-03-04T16:39:54.813 | null | null | 3,018,000 | [
"javascript",
"reactjs"
] |
75,636,682 | 2 | null | 75,032,862 | 0 | null | There are 17,723 possible equations for the Classic Nerdle. This is stated in the FAQ of the game and they can be viewed [here](https://github.com/PedroKKr/Nerdle-Equations/blob/main/NerdleClassicRestricted.txt).
With all the equations, you can filter the list to the ones that match the patterns already seen. To do thi... | null | CC BY-SA 4.0 | null | 2023-03-04T15:31:28.457 | 2023-03-04T15:31:28.457 | null | null | 15,613,034 | null |
75,636,684 | 2 | null | 24,978,394 | 0 | null | In addition to [chrisb's](https://stackoverflow.com/a/24981027/3765319) answer, I found a way to do it as well. The trick lies in setting the `box` parameter to `False` in `pandas.to_datetime()`. Like so:
```
df['DATE_TIME'] = pd.to_datetime(df['DATE'], format='%m%d%Y', box=False) + pd.to_timedelta(df['EPOCH']*5*60, un... | null | CC BY-SA 4.0 | null | 2023-03-04T15:31:45.813 | 2023-03-04T15:31:45.813 | null | null | 5,446,749 | null |
75,636,694 | 1 | null | null | -4 | 12 | I want to make a simple game on python like novel.
I want to add text to input when clicked which will trigger a function.
For example, I click on the text "rules" that lights up in a different color from the main one and the function is triggered.
I saw it on replit game and I can't find any resources or something to ... | how to make botton in terminal on python? (withoout tkinter!!!) | CC BY-SA 4.0 | null | 2023-03-04T15:33:25.643 | 2023-03-04T15:33:25.643 | null | null | 21,332,156 | [
"python",
"input"
] |
75,636,687 | 2 | null | 75,636,639 | 1 | null | What you're seeing is quite common in any system that uses floating point to store fractional numerical values.
The normal way to prevent this is to not store monetary amounts in floating point values, but either storing them in a fixed point value or in whole numerical values of the smallest denomination of the curren... | null | CC BY-SA 4.0 | null | 2023-03-04T15:32:35.613 | 2023-03-04T15:32:35.613 | null | null | 209,103 | null |
75,636,690 | 1 | null | null | 0 | 11 | In a Game component i have to components: Memory and NamesByPictures.
The visibility is set by v-if dependency of Vuex store parameters.
When a player enters a pint, it is checked, and when it is correct the memoryVisible parameter is ste to true.
Yet it remains false in the store when I check it in the Vue-devtools.
H... | How can I make Component visible using vuex stored value, using mapstate and funtion in parent component | CC BY-SA 4.0 | null | 2023-03-04T15:33:08.043 | 2023-03-04T15:41:23.933 | null | null | 8,863,254 | [
"vue.js",
"vuejs3",
"vuex"
] |
75,636,697 | 2 | null | 75,636,607 | 2 | null | Few things you can check:
1. There is a separate application.properties file for test cases. The "revenue" property should be present in that file as well.
2. You can also use "@SpringBootTest" annotation for test class.
| null | CC BY-SA 4.0 | null | 2023-03-04T15:33:49.783 | 2023-03-04T15:33:49.783 | null | null | 7,024,049 | null |
75,636,683 | 2 | null | 75,635,717 | 0 | null | So I want to propose an answer to my own question however I'm interested in others thoughts on this to see if there is still some better way. I think if I add a second ForEach towards the top with EmptyView() so that the are invisible but able to be activated regardless of scroll position.
```
import SwiftUI
struct Co... | null | CC BY-SA 4.0 | null | 2023-03-04T15:31:35.043 | 2023-03-04T15:31:35.043 | null | null | 4,573,742 | null |
75,636,692 | 1 | null | null | 0 | 22 | I have some data I wish to import into Cosmos DB. It is in CSV format, and every entry in the file must be validated and transformed by a .NET program before it's saved to Cosmos. The validation and transformation is business logic which already exists in .NET and probably can't be easily replicated in a more standard ... | How can I upload a CSV file so that each line can be individually processed by an Azure Function before it's saved to Cosmos DB? | CC BY-SA 4.0 | null | 2023-03-04T15:33:17.527 | 2023-03-04T15:33:17.527 | null | null | 14,837,440 | [
"azure",
"azure-functions",
"azure-cosmosdb",
"azure-data-factory",
"azure-storage-queues"
] |
75,636,693 | 1 | null | null | 0 | 24 | I have listened to two local ports through `kestrel` which are worked good.
```
webBuilder
.UseKestrel(opt =>
{
// http request
opt.ListenLocalhost(5000);
// simple tcp communication with stm32-based device
opt.Listen(IPAddress.Parse("192.168.1.2"), 501, opt =>
{
... | How can i send message to the socket which is in kestrel? | CC BY-SA 4.0 | null | 2023-03-04T15:33:22.220 | 2023-03-04T15:33:22.220 | null | null | 12,252,126 | [
"c#",
"asp.net-core",
"kestrel-http-server"
] |
75,636,699 | 2 | null | 59,143,609 | 0 | null | > `P` option causes tar to try to extract the file to the absolute path
specified in the archive.
So if the archive has a file called /etc/passwd, `-P` it gets extracted to a file called `etc/passwd` under the . Whereas `P` option it will be extracted to `etc/passwd` folder.
| null | CC BY-SA 4.0 | null | 2023-03-04T15:34:16.717 | 2023-03-04T15:34:16.717 | null | null | 11,381,650 | null |
75,636,702 | 2 | null | 75,636,245 | -1 | null | You can change the font f.i. for a text in this way:
```
Text("favorieten").font(.custom("Montserrat-Bold", size: 10)
```
| null | CC BY-SA 4.0 | null | 2023-03-04T15:35:08.243 | 2023-03-04T15:35:08.243 | null | null | 12,620,176 | null |
75,636,700 | 1 | null | null | 0 | 14 | [CodePic](https://i.stack.imgur.com/zLAgz.png)
I want to write Spring Data ElasticSearch query code for following ElasticSearch Query using NativeQueryBuilder
```
GET /my-index-000001/_search
{
"query": {
"nested": {
"path": "obj1",
"query": {
"bool": {
"must": [
{ "match... | I want to write Spring Data ElasticSearch query code for following ElasticSearch Query using NativeQueryBuilder | CC BY-SA 4.0 | null | 2023-03-04T15:34:48.370 | 2023-03-04T15:47:32.930 | 2023-03-04T15:36:19.270 | 11,624,296 | 11,624,296 | [
"java",
"spring-boot",
"elasticsearch"
] |
75,636,703 | 1 | null | null | -3 | 12 | ```
#pragma once
#include <numbers>
#include <cmath>
struct Vector3
{
constexpr Vector3(
const float x = 0.f,
const float y = 0.f,
const float z = 0.f) noexcept :
x(x), y(y), z(z) { }
constexpr const Vector3& operator-(const Vector3& other) const noexcept
{
return V... | C++ name followed by '::' must be a class or namespace name and expected an identifier error on my code on 36th and 37th line | CC BY-SA 4.0 | null | 2023-03-04T15:35:15.220 | 2023-03-04T16:00:05.623 | 2023-03-04T16:00:05.623 | 7,582,247 | 21,332,097 | [
"c++11"
] |
75,636,701 | 2 | null | 19,121,955 | 0 | null | Solution based on [Pavel's answer](https://stackoverflow.com/a/19123850/5446749):
```
import sys
from PySide.QtGui import *
from PySide.QtCore import *
class basicWindow(QMainWindow):
def __init__(self):
QMainWindow.__init__(self)
self.edit = QLineEdit("try to type F", self)
self.eF ... | null | CC BY-SA 4.0 | null | 2023-03-04T15:35:05.067 | 2023-03-04T15:35:05.067 | null | null | 5,446,749 | null |
75,636,698 | 1 | null | null | 0 | 11 | I'm trying to upload files within the TinyMce (4.7) editor using a handler. When I upload, it responds with a 500 error, because the file is always `null`.
I have
- - `imageFile`-
Yet, it still remains `null`.
[](https://i.stack.imgur.com/l408f.png)
Does anybody have any idea? Here is my code.
Page with Tinymce on it:... | Uploading to images to Tinymce | CC BY-SA 4.0 | null | 2023-03-04T15:33:54.590 | 2023-03-04T15:33:54.590 | null | null | 9,990,572 | [
"asp.net",
"webforms",
"tinymce"
] |
75,636,707 | 2 | null | 75,635,489 | 0 | null | Wrap the widget in a
```
ClipRRect(
clipBehavior: Clip.hardEdge,
borderRadius: BorderRadius.circular(),
),
```
Or
```
Container(
width: ,
height: ,
clipBehavior: Clip.hardEdge,
decoration: BoxDecoration(shape:BoxShape.circle),
),
```
| null | CC BY-SA 4.0 | null | 2023-03-04T15:35:28.427 | 2023-03-04T15:35:28.427 | null | null | 16,273,894 | null |
75,636,709 | 2 | null | 72,447,216 | 0 | null | I know this post is not new, but I am writing this answer to help others who have the same question:
This error means you have a mixed data type in your labels. You have to make sure the data type of the columns are the same (e.g., you can use `pd.to_numeric` to force the dtype to be numeric.
Please see this similar qu... | null | CC BY-SA 4.0 | null | 2023-03-04T15:35:30.317 | 2023-03-04T15:35:30.317 | null | null | 2,312,801 | null |
75,636,705 | 1 | null | null | 0 | 15 | I am working on a very basic API using actix-web to set-up my web server. The API has two protected endpoints that require authorization and a public health-check endpoint. I am attempting to check the request header for a valid API-KEY that matches with the database to authorize access to the protected endpoints.
I am... | Implementing API authentication by requiring API Key present on request header using Rust actix-web | CC BY-SA 4.0 | null | 2023-03-04T15:35:24.303 | 2023-03-04T16:06:29.793 | 2023-03-04T16:06:29.793 | 4,420,967 | 5,096,388 | [
"api",
"authentication",
"rust",
"middleware",
"actix-web"
] |
75,636,706 | 1 | null | null | 0 | 20 | I'm doing a job in python related to vectors and matrices to print a pattern but my code is not working, does anyone know how to fix it?
The input contains a single line indicating by the message (without quotes) “N: ” , a
even integer that corresponds to the size N of the matrix with N ≥ 6. Note that there is a space... | exercise of filling an array with some conditions | CC BY-SA 4.0 | null | 2023-03-04T15:35:27.310 | 2023-03-04T15:52:27.443 | 2023-03-04T15:52:27.443 | 21,332,146 | 21,332,146 | [
"python",
"list",
"matrix",
"vector",
"matrix-multiplication"
] |
75,636,711 | 2 | null | 43,832,490 | 0 | null |
```
//use "type" : "module" in package.json
{
"name": "jsd",
"version": "1.0.0",
"type": "module",
"description": "",
"main": "j.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
```
```
class A {
constructor() {}
m() {
return ... | null | CC BY-SA 4.0 | null | 2023-03-04T15:35:40.197 | 2023-03-04T15:35:40.197 | null | null | 20,493,210 | null |
75,636,704 | 2 | null | 75,632,273 | 0 | null | I think that I have something even better than the simple social media bar in the navbar. It would make your website for the university even better. The thing is a hover media bar on the right side of the page. There are two parts of it - HTML code, CSS Code. BOOM! It works!
This is the HTML code you need to put just a... | null | CC BY-SA 4.0 | null | 2023-03-04T15:35:20.427 | 2023-03-04T15:35:20.427 | null | null | 21,316,231 | null |
75,636,708 | 1 | null | null | -1 | 21 | I'm trying to build a job listing page where one can search relevant post from drop-down values. While the first time it works and render correctly but filter modifies the array so it shows empty from second time onwards. How do I set array value to original data after each search?
```
import './App.css';
import { useC... | How can I set my data array to original state after using filter on it and passing to render components in ReactJS? | CC BY-SA 4.0 | null | 2023-03-04T15:35:28.510 | 2023-03-04T15:35:28.510 | null | null | 19,300,498 | [
"javascript",
"reactjs"
] |
75,636,712 | 1 | null | null | 0 | 30 | I have a top-level object Estate, which is changed throughout the app. And this object has an optional object Meter, which can also be changed by adding Reading. The binding of the Estate is possible with $estate, but it is not so with Optional object. What is the most efficient and error-free way to pass the Meter to ... | Binding an optional object from one view to be changed in another in SwiftUI | CC BY-SA 4.0 | null | 2023-03-04T15:35:42.677 | 2023-03-04T20:24:15.587 | 2023-03-04T20:24:15.587 | 1,816,667 | 7,104,721 | [
"swift",
"swiftui",
"binding",
"option-type"
] |
75,636,713 | 2 | null | 39,013,796 | 0 | null | This was a little different for me. I wanted to become the user with `su username`, but after trying [the accepted answer](https://stackoverflow.com/a/39018859/10145562) I was still being prompted for a password that had never been set.
Steps tried:
- - `shell: /sbin/nologin`
My solution was to add a shell step in my A... | null | CC BY-SA 4.0 | null | 2023-03-04T15:35:58.240 | 2023-03-04T15:35:58.240 | null | null | 10,145,562 | null |
75,636,715 | 2 | null | 75,636,667 | 1 | null | As you might declare `b`, `c`, and `d` as dynamic, Flutter considers as `List<dynamic>`, so you have to give typed `List` as following..
```
x = [a, <String>[b, c, d], [e, <String>[f, g, h], i]]
```
You have to check with dynamic `List`
```
if (x is List) { ... }
```
| null | CC BY-SA 4.0 | null | 2023-03-04T15:36:16.227 | 2023-03-04T15:45:06.620 | 2023-03-04T15:45:06.620 | 11,992,780 | 11,992,780 | null |
75,636,714 | 2 | null | 28,731,102 | 0 | null | Solution for C# below. I don't think there are dedicated methods to check for existence:
```
private readonly BigQueryClient _api;
...
public async Task<bool> DatasetExistsAsync(string datasetId)
{
try
{
return await _api.GetDatasetAsync(datasetId) != null;
}
catch (GoogleApiException e)
{... | null | CC BY-SA 4.0 | null | 2023-03-04T15:36:07.067 | 2023-03-04T15:36:07.067 | null | null | 10,816,404 | null |
75,636,718 | 2 | null | 74,122,471 | -1 | null | I feel you on the struggle of finding the right libraries for your Flutter app. Have you checked out [Smart Engines](https://smartengines.com/)? They offer OCR technology that could come in handy for your project. As for the all-in-one camera functionality you're looking for, I'm not sure if there's a specific library ... | null | CC BY-SA 4.0 | null | 2023-03-04T15:36:55.107 | 2023-03-04T15:37:22.033 | 2023-03-04T15:37:22.033 | 21,332,200 | 21,332,200 | null |
75,636,717 | 1 | 75,636,744 | null | 0 | 21 | I tried to execute this query in phpmyadmin:
`cart`
but it gave me this error:
#1093 - Table 'cart' is specified twice, both as a target for 'DELETE' and as a separate source for data
Error
SQL query: Documentation
DELETE FROM `cart` WHERE cart_id = (SELECT cart_id FROM cart WHERE cart_user_id = 1 AND cart_item_id =1 L... | Table 'cart' is specified twice, both as a target for 'DELETE' and as a separate source for data | CC BY-SA 4.0 | null | 2023-03-04T15:36:29.973 | 2023-03-04T15:41:54.410 | 2023-03-04T15:38:12.490 | 17,295,691 | 17,295,691 | [
"php",
"mysql",
"phpmyadmin"
] |
75,636,689 | 1 | null | null | 0 | 24 | I'm trying to run crosstab() function on the amount of data, that doesn't fit RAM. I expected that Postgres will use temp files on disk, as with sorting after exhausting `work_mem` limit. But it doesn't seem to use them.
---
My test case:
Postgresql 15 running in docker container, that started with this command:
```... | Can Postgres crosstab() use temp files? | CC BY-SA 4.0 | null | 2023-03-04T15:32:58.233 | 2023-03-04T15:32:58.233 | null | null | 4,451,037 | [
"postgresql",
"temporary-files",
"postgres-crosstab"
] |
75,636,721 | 1 | 75,636,949 | null | 0 | 13 | I have a channel that has an embed with a button, when the button is clicked it brings up an ephemeral survey.
If a user clicks the initial button multiple times then the survey will come up as many times. Is there a way to prevent this? The first button isn't ephemeral, everyone can use it so I can't really disable it... | Prevent users from clicking Discord.py button twice | CC BY-SA 4.0 | null | 2023-03-04T15:37:14.077 | 2023-03-04T16:54:17.673 | null | null | 13,803,549 | [
"discord",
"discord.py",
"discord-buttons"
] |
75,636,719 | 2 | null | 75,607,176 | 0 | null | You could use `color` for both the points and outer border of the points in the `marker` argument and with `line` like this:
```
library(plotly)
plot_ly(
data = test,
x = ~ Dim_1,
y = ~ Dim_2,
opacity = 0.7,
text = ~ Text_ID,
key = ~ Text_ID,
color = ~Color,
colors = ~Ex_colors,
type = 'scatter',
... | null | CC BY-SA 4.0 | null | 2023-03-04T15:37:13.417 | 2023-03-04T15:37:13.417 | null | null | 14,282,714 | null |
75,636,723 | 1 | null | null | 0 | 14 | I've been trying reading configuration by viper, while it always panic nil pointer reference(i've been set the config path and config name).
Then i tried to make a execution point on it and it tells me :
> unreadable: could not read string at 0x8 due to Only part of a
ReadProcessMemory or WriteProcessMemory request was... | Golang viper cannot read configuration | CC BY-SA 4.0 | null | 2023-03-04T15:37:19.983 | 2023-03-04T22:15:05.407 | 2023-03-04T22:15:05.407 | 13,161,150 | 21,204,647 | [
"go",
"viper"
] |
75,636,727 | 1 | null | null | -2 | 54 | I have this method which reads numbers from a file, stores them into a list then returns a boolean value depending whether the "storing" was successful or not.
My questions:
1. Why does this code use the out and in, especially at r.ReadInt(out int e)?
2. Why do we create a new list, when vec is already a list List<int... | Why are we using `out` in c# when the values are not being modified nor being outputed? | CC BY-SA 4.0 | null | 2023-03-04T15:37:55.447 | 2023-03-04T15:50:50.790 | 2023-03-04T15:50:50.790 | 159,145 | 18,837,777 | [
"c#",
"function",
"methods",
"reference",
"out"
] |
75,636,728 | 2 | null | 75,636,439 | 1 | null | You could try this query
```
SELECT org, product, release_date
, COUNT(1) AS total
, SUM(CASE WHEN date_avail = 'no' THEN 1 ELSE 0 END) AS number_of_no
, SUM(CASE WHEN date_avail = 'yes' THEN 1 ELSE 0 END) AS number_of_yes
, SUM(CASE WHEN status = 'green' THEN 1 ELSE 0 END) AS number_of_green
, SUM(... | null | CC BY-SA 4.0 | null | 2023-03-04T15:37:59.980 | 2023-03-04T15:37:59.980 | null | null | 7,430,869 | null |
75,636,731 | 2 | null | 67,476,889 | 0 | null | An updated solution inspired by the code and logic provided by [Corralien](https://stackoverflow.com/a/67477486/5446749) and [Ben.T](https://stackoverflow.com/a/67477458/5446749):
```
df.loc[(df.eq(inp)|~df.eq(inp).any(0)).all(1)]
```
---
[edit](https://stackoverflow.com/revisions/67476889/3)[Ignoring an invalid fi... | null | CC BY-SA 4.0 | null | 2023-03-04T15:38:55.600 | 2023-03-04T15:38:55.600 | null | null | 5,446,749 | null |
75,636,726 | 1 | null | null | 0 | 19 | I came across an issue while I was trying to read some data into a pandas dataframe. The first column is text, the second is datetime and the rest of the columns are numeric. There are 12 columns in total.
I tried a few different ways to read the CSV file and I faced a ParserError regardless of my approach. An example ... | Parser Limitations Python Pandas read CSV vs read XLSX | CC BY-SA 4.0 | null | 2023-03-04T15:37:54.190 | 2023-03-04T15:37:54.190 | null | null | 8,791,512 | [
"python",
"pandas",
"parsing"
] |
75,636,722 | 1 | null | null | 0 | 8 | I have created a new NestJS project and wanted to install [nestjs-typegoose](https://www.npmjs.com/package/nestjs-typegoose). In the process, I got the following error:
```
npm i nestjs-typegoose
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: top-api@0.0.1... | How to fix nestjs-typegoose dependency problem in a correct way without --legacy-peer-deps? | CC BY-SA 4.0 | null | 2023-03-04T15:37:15.947 | 2023-03-04T18:07:31.037 | 2023-03-04T18:07:31.037 | 19,026,604 | 19,026,604 | [
"nestjs",
"nestjs-config"
] |
75,636,734 | 2 | null | 27,304,792 | 0 | null | `NSString` in the Foundation Framework provides an [dedicated API](https://developer.apple.com/documentation/foundation/nsstring/1415462-stringbytrimmingcharactersinset?language=objc) for that purpose
```
use AppleScript version "2.5"
use framework "Foundation"
set theText to " Hello World! "
set nsText to my (NS... | null | CC BY-SA 4.0 | null | 2023-03-04T15:40:18.367 | 2023-03-04T15:40:18.367 | null | null | 5,044,042 | null |
75,636,735 | 2 | null | 75,631,259 | 0 | null | Where is your agent running to retrieve and execute flow runs?
This looks like a workflow to register changes; with no infrastructure block specified, this is defaulting to 'process', but it's unclear where you expect this to run -
`prefect deployment build -n main_deployment flow_test.py:basic_flow \ -sb github/test-... | null | CC BY-SA 4.0 | null | 2023-03-04T15:40:29.990 | 2023-03-04T15:40:29.990 | null | null | 21,298,719 | null |
75,636,737 | 1 | null | null | -7 | 27 | [enter image description here](https://i.stack.imgur.com/I7Gx9.jpg)
help me solve this error
Expeting to store min value in arr2.get(j)
| I am facing a problem to add Integer.MIN_VALUE in arr2.get(j) | CC BY-SA 4.0 | null | 2023-03-04T15:40:50.650 | 2023-03-04T15:40:50.650 | null | null | 16,898,003 | [
"java",
"arraylist"
] |
75,636,729 | 1 | null | null | 0 | 7 | I am making a website and I am in the process of creating OAuth2Discord with the zenora library, but my code doesn't work.
Problem :
After I log into discord I get redirected to /oauth/callback%token123 and get a 500 error, instead of being redirected to /profile and giving me the current_user information of interest.
... | OAuth2Discord with zenora library does not work | CC BY-SA 4.0 | null | 2023-03-04T15:38:01.497 | 2023-03-04T15:38:01.497 | null | null | 21,310,451 | [
"python",
"redirect",
"oauth",
"discord",
"token"
] |
75,636,738 | 2 | null | 75,627,857 | 0 | null | A verbose log file would tell you for sure. However, I bet the missing files and registry keys are still being installed but installed into a different user profile where you are not looking.
All the resources you list as "missing" are installed to the user profile (`LocalAppDataFolder` and `HKCU`), so they will be ins... | null | CC BY-SA 4.0 | null | 2023-03-04T15:41:09.207 | 2023-03-04T15:41:09.207 | null | null | 23,852 | null |
75,636,730 | 2 | null | 41,388,597 | 0 | null |
1. foreach() is an Action while map() is a Transformation
2. foreach() is used for side-effect operations while map() i used for non-side-effect operations
3. foreach() returns None while map() returns RDD
To understand `foreach` we first need to understand the side-effect operations. These operations are the proc... | null | CC BY-SA 4.0 | null | 2023-03-04T15:38:14.087 | 2023-03-04T15:46:28.693 | 2023-03-04T15:46:28.693 | 14,337,775 | 14,337,775 | null |
75,636,720 | 1 | null | null | 0 | 8 | I am building a project using nextjs and @apollo/client. Here I am only fetching my data. My api is provider from other source.
Here I am facing one problem. When I change my page and again go to previous page I can I see data get twice or duplicate. How can I solve my problem.
I follow this repo for setup- [https://gi... | Why my data get duplicated with nextjs and @apollo/client server side data fetching? | CC BY-SA 4.0 | null | 2023-03-04T15:37:13.807 | 2023-03-04T15:37:13.807 | null | null | 19,799,504 | [
"reactjs",
"next.js",
"apollo",
"apollo-client"
] |
75,636,739 | 2 | null | 2,232,542 | 0 | null | To test which version of Python that Apache was using, I added the following code:
```
import sys
version = sys.version
path = sys.path
...
print "<h1>%s</h1>" % version
print "<h1>%s</h1>" % path
```
which indicated that Apache was indeed using the m... | null | CC BY-SA 4.0 | null | 2023-03-04T15:41:15.540 | 2023-03-04T15:41:15.540 | null | null | 5,446,749 | null |
75,636,744 | 2 | null | 75,636,717 | 0 | null | All you really need is:
```
DELETE FROM cart WHERE cart_user_id = 1 AND cart_item_id = 1;
```
| null | CC BY-SA 4.0 | null | 2023-03-04T15:41:54.410 | 2023-03-04T15:41:54.410 | null | null | 3,887,392 | null |
75,636,742 | 2 | null | 75,617,255 | 0 | null | Due to accessibility tabindex is not supported by Angular tabs. You can find the explanation on the tabs api: [https://material.angular.io/components/tabs/api](https://material.angular.io/components/tabs/api)
Hope this helps!
| null | CC BY-SA 4.0 | null | 2023-03-04T15:41:37.357 | 2023-03-04T15:41:37.357 | null | null | 9,019,775 | null |
75,636,741 | 2 | null | 75,636,690 | 0 | null | Actually, it seems you're updating only in local component state. This will not update the store's state.
To update in the store state, you need to create a mutation in your store :
```
mutations: {
setMemoryVisible(state, visible) {
state.memoryVisible = visible;
}
}
```
After that, you can dispatch the muta... | null | CC BY-SA 4.0 | null | 2023-03-04T15:41:23.933 | 2023-03-04T15:41:23.933 | null | null | 12,769,644 | null |
75,636,745 | 1 | null | null | -1 | 11 | Is there any way to change the text - 'from product to transcation' (hilighted in yellow at img),on the woocommerce view order page.
localsrus.in/my-account/view-order/12345
[Check img it shows the changes i need to do at view order page](https://i.stack.imgur.com/xdgJv.png)
| Editing view order page at woocommerce | CC BY-SA 4.0 | null | 2023-03-04T15:42:03.350 | 2023-03-05T04:50:32.567 | 2023-03-05T04:50:32.567 | 14,348,760 | 14,348,760 | [
"woocommerce"
] |
75,636,743 | 2 | null | 75,636,576 | 1 | null | I wouldn't use regex for nested constructs. Some regex flavours might be able to do it (see this [post](https://stackoverflow.com/a/35271017/13525512) for details), but in your case, if you're already using python, a simple loop over your string will do:
```
input_str = "gotcha & symbol [but not that & one [even that &... | null | CC BY-SA 4.0 | null | 2023-03-04T15:41:38.990 | 2023-03-04T15:41:38.990 | null | null | 13,525,512 | null |
75,636,736 | 1 | 75,636,976 | null | 1 | 30 | I have a data frame with columns representing annual price returns and an index containing locations. I'd like to add new columns next to each yearly column containing the rank of the row's value within the column it's in. The script I have below just creates a new data frame that doesn't keep the initial columns and... | Add Rank Column Beside Each Column Vector | CC BY-SA 4.0 | null | 2023-03-04T15:40:44.387 | 2023-03-04T18:39:10.723 | 2023-03-04T18:39:10.723 | 12,685,768 | 10,876,372 | [
"r",
"dplyr",
"data.table"
] |
75,636,748 | 1 | 75,638,348 | null | -2 | 18 | i am containerizing a react app, and i realize alot of people using the line "nginx -g daemon off", please what does that mean
is it good for production?
I also ran the container without the line , and it was working fine.
| why use "nginx -g daemonf off" in dockerfiles for nginx | CC BY-SA 4.0 | null | 2023-03-04T15:42:37.607 | 2023-03-04T20:03:28.683 | null | null | 19,886,975 | [
"reactjs",
"docker",
"nginx",
"daemon"
] |
75,636,746 | 2 | null | 75,636,649 | 0 | null | This works:
```
class lists():
List1=[1,3,5,42]
List2=[2,4,6,43]
List3=["a","e","i","o","u"]
def loop(name):
for i in name:
print(i)
print('list1')
loop(lists.List1)
print('list2')
loop(lists.List2)
print('list3')
loop(lists.List3)
```
see: [https://onlinegdb.com/qm9Xt8aKN](https://onlinegd... | null | CC BY-SA 4.0 | null | 2023-03-04T15:42:25.017 | 2023-03-04T15:42:25.017 | null | null | 724,039 | null |
75,636,749 | 2 | null | 9,098,605 | 0 | null | For the original post, try this:
```
subscribedToThread = Comment.where(:subscribe_thread => 1).distinct(:user_id)
```
I wanted to count the number of distinct entries when the user chose type = "Other" from the list and entered a custom name (so that I could consider adding more common choices to the list).
```
Inter... | null | CC BY-SA 4.0 | null | 2023-03-04T15:43:00.897 | 2023-03-04T15:43:00.897 | null | null | 344,720 | null |
75,636,750 | 1 | null | null | 0 | 9 | I'm getting this error on my vercel CLI when I'm trying to deploy my app:
`Error: Builder returned invalid routes: should NOT have more than 100 properties`
What does this mean? I can't find any documentation for this kindof error. Any idea/help?
Heres the project code: [https://github.com/Prottoy2938/vercel-deployment... | Getting Builders Limit Error while deploying on Vercel | CC BY-SA 4.0 | null | 2023-03-04T15:43:01.803 | 2023-03-04T22:33:06.510 | null | null | 11,830,730 | [
"reactjs",
"next.js",
"vercel",
"next"
] |
75,636,751 | 1 | null | null | 0 | 6 | I have a Next.js application with `next-i18next`, I have some files like `common.json` or `ui.json` that I want them to be always available in any component or route even if it does not exist, without calling them with SSR or SSG.
For example, the code below is a part of my index page, i want some of these files alway... | can i make some files always available with next-i18next | CC BY-SA 4.0 | null | 2023-03-04T15:43:03.927 | 2023-03-04T15:43:03.927 | null | null | 11,707,666 | [
"next.js",
"next-i18next"
] |
75,636,753 | 2 | null | 75,556,134 | 0 | null | You must add the parent window as an argument :
```
messagebox.showinfo(title, message, parent)
```
This assures that the messagebox is displayed on top of it.
BTW, you would better use `messagebox.showerror` in your example.
| null | CC BY-SA 4.0 | null | 2023-03-04T15:43:44.820 | 2023-03-04T15:43:44.820 | null | null | 1,362,643 | null |
75,636,733 | 1 | null | null | 0 | 7 | I have created two docker-compose files(docker-compose.yml and cluster.yml)
```
version: '2.2'
services:
dcnode_1:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.5
container_name: dcnode_1
environment:
- cluster.name=dc_elastic
- node.name=dcnode_1
- "ES_JAVA_OPTS=-Xms512m -X... | Issue in running multiple docker-compose yaml file | CC BY-SA 4.0 | null | 2023-03-04T15:40:06.690 | 2023-03-04T15:40:06.690 | null | null | 16,101,004 | [
"docker",
"curl",
"docker-compose"
] |
75,636,740 | 1 | null | null | 0 | 20 | Edit: Sorry to those who have already had a look at my question. I came back and simplified/clarified what I am trying to do.
Thanks for the previous help. This is a continuation of my efforts from [my previous request for help](https://stackoverflow.com/questions/75584878/powerpoint-clicking-on-a-shape-and-having-its-... | Determining slide numbers within a section and selection certain slides | CC BY-SA 4.0 | null | 2023-03-04T15:41:23.463 | 2023-03-04T18:08:29.910 | 2023-03-04T18:08:29.910 | 21,299,632 | 21,299,632 | [
"vba",
"powerpoint"
] |
75,636,758 | 2 | null | 75,205,873 | 0 | null | In my case I had to npm install the missing "modules" with was "npm install validator" and "npm install is-empty. The required stack pointed in the direction....took all of yesterday to figure it out.
| null | CC BY-SA 4.0 | null | 2023-03-04T15:44:19.740 | 2023-03-04T15:44:19.740 | null | null | 21,332,237 | null |
75,636,755 | 1 | null | null | -1 | 14 | I am looking to re-design my home network into something more efficient and was looking for help to validate the final design. Here is my current setup:
[Current setup](https://i.stack.imgur.com/o4d98.png)
I have 2 entry routers for 2 ISPs situated in one area of my house. To extend WIFI coverage, I also have each conn... | Re-Designing a home network | CC BY-SA 4.0 | null | 2023-03-04T15:43:59.233 | 2023-03-04T15:45:22.070 | 2023-03-04T15:45:22.070 | 21,332,216 | 21,332,216 | [
"networking",
"router",
"switching",
"vlan"
] |
75,636,756 | 1 | null | null | -1 | 15 | While I am trying to run the web based application (Maven) I am getting a following error:
```
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class
[package name]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.spr... | Failed to parse configuration class Error while running Git project from IntelliJ (Maven) | CC BY-SA 4.0 | null | 2023-03-04T15:44:08.093 | 2023-03-04T18:07:41.167 | 2023-03-04T18:07:41.167 | 5,389,127 | 19,654,017 | [
"java",
"spring-boot"
] |
75,636,759 | 1 | null | null | 0 | 34 | I'm following the "git-flow" branching model where all the development activities happen in a development branch (named `dev` in my case).
My problem is that contributors often use `main` as base of there feature/bugfix branches.
But they should use `dev` as a base.
Is there a `git config` to print a warning/error when... | Prevent branching from `main` | CC BY-SA 4.0 | null | 2023-03-04T15:44:42.687 | 2023-03-04T15:44:42.687 | null | null | 4,865,723 | [
"git"
] |
75,636,757 | 2 | null | 75,636,675 | 0 | null | You can create a props inside Button component and trigger your filtering function to set new filtered array
```
export default function Buttons({ setCategory }) {
const switchTab = (curcat) => {
setCategory(curcat)
};
return (
<>
<Span className="active" onClick={() => switchTab("all")}>all</Sp... | null | CC BY-SA 4.0 | null | 2023-03-04T15:44:16.480 | 2023-03-04T16:39:54.813 | 2023-03-04T16:39:54.813 | 13,544,849 | 13,544,849 | null |
75,636,760 | 1 | null | null | 0 | 23 | I have a data set for many dates. I would like to get the dates where the min from column A and max from column B value are formed in each month. Result needs to like below.
```
|MinValue(Column A)|MinValueDate|MaxValue(Column B)|MaxValueDate|
|------------------|------------|------------------|------------|
|206... | Getting the dates of each month where max and min values are formed-python | CC BY-SA 4.0 | null | 2023-03-04T15:44:48.827 | 2023-03-04T17:48:54.643 | null | null | 17,006,479 | [
"python",
"dataframe"
] |
75,636,747 | 1 | null | null | 0 | 9 | This is the structblock
```
class EventBlock(blocks.StructBlock):
event_name = blocks.CharBlock(max_length=100, blank=False, help_text="Event Name")
event_date = blocks.DateBlock(format="%B %d, %Y")
start_time = blocks.TimeBlock(format="%H:%M")
end_time = blocks.TimeBlock(format="%H:%M")
brochure = ... | How to properly render a template for a page that inherits context from another page's streamfield content? | CC BY-SA 4.0 | null | 2023-03-04T15:42:29.503 | 2023-03-04T15:42:29.503 | null | null | 19,723,051 | [
"django-templates",
"wagtail",
"wagtail-streamfield"
] |
75,636,764 | 2 | null | 75,624,825 | 0 | null | The below dependency scope was not "test" in the pom , after making the scope as test , the issue got resolved
```
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-junit5-mockito</artifactId>
<scope>test</scope>
</dependency>
```
| null | CC BY-SA 4.0 | null | 2023-03-04T15:45:32.623 | 2023-03-04T15:45:32.623 | null | null | 12,042,059 | null |
75,636,763 | 2 | null | 65,961,685 | 0 | null | I think you could use some params from googlefinance command, for example, you need a current value and an old value to compare, so get old values on googlefinance you use like that:
GOOGLEFINANCE("GOOG","price",TODAY()-30,TODAY())
and to the current value:
GOOGLEFINANCE("GOOG","price")
now you need add conditional rul... | null | CC BY-SA 4.0 | null | 2023-03-04T15:45:21.180 | 2023-03-04T15:45:21.180 | null | null | 12,050,954 | null |
75,636,767 | 2 | null | 75,636,003 | 0 | null | By now I suggest you open at first your matplotlib.pyplot module and check if xlabel method is defined there. Maybe you happened to modify this script. It is quite easy - right click on the pyplot word and choose (at least it looks so in my IDE - VS Code). With shortcut keys type xlabel to see if it is mentioned anyw... | null | CC BY-SA 4.0 | null | 2023-03-04T15:46:08.720 | 2023-03-04T15:46:47.777 | 2023-03-04T15:46:47.777 | 20,813,671 | 20,813,671 | null |
75,636,768 | 2 | null | 75,635,582 | 1 | null | SSH port is 22. Why are you using 20?
allow HTTPS from anywhere for now. Install all required applications & then see if you can use mysql.
Once you install mysql, you can use the dump option to make it running in your EC2
| null | CC BY-SA 4.0 | null | 2023-03-04T15:46:28.637 | 2023-03-04T15:46:28.637 | null | null | 8,854,904 | null |
75,636,761 | 2 | null | 75,636,411 | 0 | null | OK. One tangent thing: I have no idea what to make of the use of the index. `if (index < 5)`? But it's an index in the array initialized as 4 elems long, and the size doesn't change, just value of the elements are modified? So `index` will always be `< 5` anyway?
Assuming you know how to figure it out, sth like this sh... | null | CC BY-SA 4.0 | null | 2023-03-04T15:44:55.190 | 2023-03-04T15:44:55.190 | null | null | 7,194,268 | null |
75,636,771 | 2 | null | 32,022,580 | -1 | null | in `my.ini` check option `skip-networking` under `[mysqld]`. It should be off.
```
[mysqld]
skip-networking = OFF
```
| null | CC BY-SA 4.0 | null | 2023-03-04T15:47:23.877 | 2023-03-04T15:47:23.877 | null | null | 21,332,246 | null |
75,636,775 | 2 | null | 75,377,987 | 2 | null | From [[gram.general]](http://eel.is/c++draft/gram.general) (my emphasis)
> This summary of C++ grammar is intended to be an aid to comprehension. It is not an exact statement of the language. In particular, .
| null | CC BY-SA 4.0 | null | 2023-03-04T15:47:35.027 | 2023-03-04T15:47:35.027 | null | null | 5,825,294 | null |
75,636,774 | 2 | null | 75,636,700 | 0 | null | something like this
```
QueryBuilder nestedQuery = nestedQuery(
"obj1",
boolQuery()
.must(matchQuery("obj1.name", "blue"))
.must(rangeQuery("obj1.count").gt(5)));
Query query = new NativeSearchQueryBuilder()
.withQuery(nestedQuery)
.withScoreMode("avg")
.build();
```
| null | CC BY-SA 4.0 | null | 2023-03-04T15:47:32.930 | 2023-03-04T15:47:32.930 | null | null | 3,029,337 | null |
75,636,769 | 1 | null | null | 0 | 23 | I am trying to connect another my instance in jenkins pipeline. And for test purpose create folder there.
```
stage('Deploying App to Kubernetes') {
steps {
script {
sh "ssh -i /home/ubuntu/.ssh/master.pem ec2-user@52.15.183.121 /bin/bash"
sh "mkdir /home/ec2-user/poker... | Warning: Identity file /home/ubuntu/.ssh/master.pem not accessible: Permission denied | CC BY-SA 4.0 | null | 2023-03-04T15:46:44.727 | 2023-03-05T02:01:47.690 | 2023-03-04T16:01:35.007 | 17,350,552 | 17,350,552 | [
"amazon-web-services",
"ssh",
"jenkins-pipeline"
] |
75,636,776 | 1 | null | null | -1 | 15 | I would like to create random number of arrays in C with rows and columns and number given by input.
ES:
n: number of matrices to create
r: rows
c: columns.
How do I create the n matrices?
```
Matrix 1:
2 3 4
5 6 8
Matrix 2:
4 7 8
11 56 2
76 7 18
```
How do I save arrays in n variables if I don't know the number from... | Create and save dynamic number of matrices in c? | CC BY-SA 4.0 | null | 2023-03-04T15:47:41.750 | 2023-03-04T15:47:41.750 | null | null | 17,250,491 | [
"c",
"matrix"
] |
75,636,772 | 1 | null | null | 0 | 22 | An example/test data looks like the following. "dyad" is a group of 2 people who conversed with each other (1 row = 1 message) in a discussion "post". These observations are chronologically ordered.
```
structure(list(post = c(1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3),
dyad = c("111_222", "111_222", "111_222", "222_345"... | Counting distinct values *that come before* the focal instance in different ways in R | CC BY-SA 4.0 | null | 2023-03-04T15:47:28.793 | 2023-03-04T16:25:20.050 | 2023-03-04T15:54:19.200 | 14,250,906 | 14,250,906 | [
"r",
"dplyr",
"tidyr"
] |
75,636,773 | 1 | null | null | 0 | 6 | I am trying to deploy my first canister on the internet computer for an online class I am taking. Once I issue the command "dfx deploy --network ic" in the terminal I receive this output
Uploading assets to asset canister...
Error: Failed while trying to deploy canisters.
Caused by: Failed while trying to deploy cani... | dfx deploy --network ic failing | CC BY-SA 4.0 | null | 2023-03-04T15:47:29.340 | 2023-03-04T22:05:05.720 | 2023-03-04T22:05:05.720 | 1,361,919 | 1,361,919 | [
"deployment",
"blockchain",
"webpack.config.js",
"internet-computer",
"dfinity"
] |
75,636,765 | 1 | null | null | 0 | 13 | I try to upgrade Redmine from 4.0.3 to 5.0.4 using [this guide](https://www.redmine.org/projects/redmine/wiki/redmineupgrade).
But I confused by step 5.2 (Restart the application server (e.g. puma, thin, passenger).
Our server is used a Passenger.
How I can say Passenger about new Redmine? And how I can say Passenger t... | How to say Passenger about new version of Redmine | CC BY-SA 4.0 | null | 2023-03-04T15:45:49.980 | 2023-03-05T05:14:14.213 | 2023-03-05T05:14:14.213 | 16,436,095 | 16,436,095 | [
"passenger",
"redmine"
] |
75,636,777 | 2 | null | 75,632,881 | 0 | null | found solution.
changed
added '' in the
and '' in the '' of '',
and the sqlite_router 'django apps->' to the default
```
if app_label in self.route_app_labels:
return db == self.database
return None
```
and removed the '' from the .
also removed
```
models.options.DEFAULT_NAMES = models.options.DEFAULT_NAMES + ... | null | CC BY-SA 4.0 | null | 2023-03-04T15:47:57.360 | 2023-03-04T15:47:57.360 | null | null | 21,328,594 | null |
75,636,779 | 2 | null | 75,557,034 | 0 | null | I am not sure what your problem is exactly, but since you have an issue with Suspense here is how it works:
when you go to a page for example when we first start our application it opens the home page aka `'/'` page, if you use Suspense it will only try to download the content of this page this way it loads faster beca... | null | CC BY-SA 4.0 | null | 2023-03-04T15:48:06.737 | 2023-03-04T15:48:06.737 | null | null | 13,609,832 | null |
75,636,782 | 2 | null | 33,775,239 | 0 | null | Another option using `group_map` per `group_by` and if you want to keep the names per group to each list of dataframe, you could use `set_names` from `purrr` like this:
```
library(dplyr)
df %>%
group_by(V1) %>%
group_map(~.x)
#> [[1]]
#> # A tibble: 2 × 2
#> V2 V3
#> <chr> <chr>
#> 1 1 2
#> 2 2... | null | CC BY-SA 4.0 | null | 2023-03-04T15:48:13.317 | 2023-03-04T15:48:13.317 | null | null | 14,282,714 | null |
75,636,770 | 1 | null | null | 0 | 19 | `react-router-dom` related code is not getting transformed into `es6` using `webpack 5`. I tried everything nothing is fruitful so far.
My project is in typescript and I'm using following npm command to test whether code is in es6 or not.
```
eslint --no-eslintrc --no-inline-config --parser-options=ecmaVersion:6 "publi... | Unable to transform react-router-dom to es6 using webpack 5 | CC BY-SA 4.0 | null | 2023-03-04T15:47:16.303 | 2023-03-04T16:00:18.933 | 2023-03-04T16:00:18.933 | 9,532,530 | 9,532,530 | [
"reactjs",
"typescript",
"react-router",
"webpack-5"
] |