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,632,285 | 2 | null | 24,011,120 | 0 | null | In the Terminal type (I verified this works with Swift version 5.7.2):
```
swift repl
```
| null | CC BY-SA 4.0 | null | 2023-03-03T22:12:09.747 | 2023-03-03T22:12:09.747 | null | null | 652,467 | null |
75,632,282 | 1 | null | null | -2 | 15 | How to scroll like picture on the right?
[](https://i.stack.imgur.com/MzVAt.jpg)
[](https://i.stack.imgur.com/TURKr.png)
I tried using `CTRL` + `D` which scrolls through lines but if there are no lines, like after line 87 I cannot scroll/center my screen. I was thinking I could insert bunch of empty lines but VSCode wh... | How to scroll/center code in VSCode Vim if there are no blank lines to scroll to? | CC BY-SA 4.0 | null | 2023-03-03T22:11:37.243 | 2023-03-05T00:17:39.270 | 2023-03-04T09:18:51.770 | 546,861 | 15,511,431 | [
"vscodevim"
] |
75,632,281 | 1 | null | null | 1 | 59 | I am shifting a C# ASP.NET Core 7 project from using `SqlClient` with regular SQL queries to using Entity Framework instead. I have a particular place when the application runs multiple long-running tasks, it's kind of a simulation with a big for loop where the user can follow progress, and for that reason, each task ... | Long-running parallel Tasks with Entity Framework cause high CPU peak and memory usage | CC BY-SA 4.0 | null | 2023-03-03T22:11:21.843 | 2023-03-05T00:24:17.877 | 2023-03-04T08:31:11.230 | 2,142,950 | 1,734,337 | [
"c#",
"entity-framework",
"task",
"parallel.for",
"asp.net-core-7.0"
] |
75,632,266 | 1 | 75,632,351 | null | 2 | 38 | I have a website dedicated to pets (dead ones), and I have some stock images in the database stored under the pet using a manytomany field (so, any number of pets can be in an image, and a pet can have any number of images associated with it--seems logical so far). I am trying to display the pet photos in any way at al... | Displaying an image stored in a Django database | CC BY-SA 4.0 | null | 2023-03-03T22:07:55.057 | 2023-03-04T02:25:34.727 | 2023-03-04T02:25:34.727 | 17,562,044 | 2,065,723 | [
"python",
"django",
"django-models",
"django-views",
"django-templates"
] |
75,632,288 | 2 | null | 75,631,747 | 0 | null | EKS node scaling is only for worker nodes.
AWS manages control plane in a AWS managed account. You don't see those nodes in your account.
> The Amazon EKS control plane consists of control plane nodes that run the Kubernetes software, such as etcd and the Kubernetes API server. The control plane runs in an account mana... | null | CC BY-SA 4.0 | null | 2023-03-03T22:12:39.357 | 2023-03-03T22:12:39.357 | null | null | 5,589,820 | null |
75,632,286 | 2 | null | 75,631,470 | 1 | null | You'll possibly want to use MTO's answer, since it operates on true dates (so it will handle the week reseting after the year changes) and is cleaner in how in handles the `coalesce`s. However, I have adjusted my answer to work with your new data and new fields:
```
WITH ranges AS
(
select distinct week s FROM my_tabl... | null | CC BY-SA 4.0 | null | 2023-03-03T22:12:33.753 | 2023-03-04T00:00:29.423 | 2023-03-04T00:00:29.423 | 5,504,922 | 5,504,922 | null |
75,632,289 | 2 | null | 75,114,241 | 0 | null | **I'm going to copy/paste this from my edit on the original post. I'll call this the answer.
EDIT While I have a strong feeling that there is a more graceful way to do this, I have implemented a solution. I do use the stream reader to grab the request body.
```
string data;
using (var sr = new StreamReader(Request.Body... | null | CC BY-SA 4.0 | null | 2023-03-03T22:12:45.890 | 2023-03-03T22:12:45.890 | null | null | 20,419,205 | null |
75,632,291 | 2 | null | 75,618,654 | 1 | null | As far as I know Revit doesn't support embedding. A couple of ideas on how to approach this:
a) Upload your model to [APS](https://aps.autodesk.com/) and embed their viewer using WebView2 or CefSharp.
b) Export your Revit models to a format which can be rendered natively in your app, eg. IFC, glTF, FBX etc.
c) Check ou... | null | CC BY-SA 4.0 | null | 2023-03-03T22:12:49.773 | 2023-03-03T22:12:49.773 | null | null | 2,025,261 | null |
75,632,273 | 1 | null | null | 0 | 34 | I'm making a website for university, and I've become stuck; I'm trying to display the social media links in the same line as the navigation and the logo, but it just won't work; the navigation works, and the social icons work as links but just won't sit where I want them in the top right.
I tried about a million ways o... | social media in nav bar | CC BY-SA 4.0 | null | 2023-03-03T22:09:30.683 | 2023-03-04T15:35:20.427 | 2023-03-04T00:43:44.607 | 82,548 | 21,328,780 | [
"html",
"css",
"pure-css"
] |
75,632,290 | 1 | null | null | 0 | 45 | I have a few Textboxes stacked, and a button that I'm trying to use to clear them all at once, triggered by a button click. What is the most simple way to handle this?
```
<Grid>
<TextBox x:Name="RefNum"/>
<TextBox Name="CxName"/>
<TextBox Name="ContInfo"/>
<TextBox Name="CardInfo"/>
<TextBox Name="... | How to trigger multiple TextBoxes to clear on button click in WPF? | CC BY-SA 4.0 | null | 2023-03-03T22:12:48.510 | 2023-03-04T16:53:45.850 | 2023-03-04T16:53:45.850 | 21,328,761 | 21,328,761 | [
"wpf",
"vb.net",
"visual-studio"
] |
75,632,287 | 1 | null | null | 0 | 21 | I tried to install kubectl on popos using the following commands
```
sudo apt install -y ca-certificates curl apt-transport-https
sudo curl -fsSLo /etc/apt/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
echo "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg]... | missing kubectl config files after install | CC BY-SA 4.0 | null | 2023-03-03T22:12:38.677 | 2023-03-04T23:57:08.170 | null | null | 1,071,908 | [
"linux",
"ubuntu",
"kubernetes"
] |
75,632,296 | 1 | null | null | 0 | 12 | ```
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_storage/firebase_storage.dart';
import 'package:get/get.dart';
import 'package:tutorial/constants.dart';
import 'package:tutorial/models/user.dart' as model;
File? get profilePhoto => _pickedImage.value;
User get user => _user.value!;... | i can't import firebasestorge to reference? | CC BY-SA 4.0 | null | 2023-03-03T22:13:20.203 | 2023-03-04T00:15:21.543 | 2023-03-04T00:15:21.543 | 209,103 | 21,328,783 | [
"firebase",
"dart",
"firebase-storage"
] |
75,632,294 | 2 | null | 75,631,525 | 0 | null | You can add the [JsonIgnoreProperties](https://fasterxml.github.io/jackson-annotations/javadoc/2.14/com/fasterxml/jackson/annotation/JsonIgnoreProperties.html) annotation to your `Event` class so ignoring the processing of JSON properties not included in your class read during deserialization:
```
@Data
@JsonIgnoreProp... | null | CC BY-SA 4.0 | null | 2023-03-03T22:13:06.890 | 2023-03-04T06:56:56.320 | 2023-03-04T06:56:56.320 | 11,713,777 | 11,713,777 | null |
75,632,292 | 2 | null | 75,632,238 | 1 | null | To find the next largest number that is not already in the list, you can sort the list of ids and iterate over them, comparing each element to its index plus 1 (since you want the next number). When you find an element that is greater than its index plus 1, return that index plus 1 as the next available id.
```
param_c... | null | CC BY-SA 4.0 | null | 2023-03-03T22:12:50.100 | 2023-03-03T22:12:50.100 | null | null | 5,776,031 | null |
75,632,297 | 2 | null | 75,631,700 | 0 | null | I suppose that you made 3 different functions where every function is set as a "On Form Submit" trigger, so whenever some of 3 forms submits its own results into your sheet, every trigger is executed.
One of the possible solutions is to make 3 different sheets, where every sheet has own trigger and own logging function... | null | CC BY-SA 4.0 | null | 2023-03-03T22:13:59.150 | 2023-03-03T22:13:59.150 | null | null | 11,475,597 | null |
75,632,298 | 2 | null | 75,632,233 | 1 | null | You can use `flex-grow` which will give two elements with the same value the same space. There is shortcut for flex-grow: `flex: <flex-grow>;` [https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow)
```
.text__main {
padding: 10px;
min-width: 10%;
f... | null | CC BY-SA 4.0 | null | 2023-03-03T22:14:07.660 | 2023-03-03T22:23:07.940 | 2023-03-03T22:23:07.940 | 14,111,743 | 14,111,743 | null |
75,632,300 | 1 | 75,632,400 | null | 0 | 21 | Trying to add add one column to another using pandas with:
```
merged_df.loc[:, 'airline_name'] = merged_df.loc[:, 'airline_name'] + merged_df['airline_icao_unique_code']
```
but every time I try I receive the warning :
> SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try us... | How to add together two columns in pandas without receiving SettingWithCopyWarning | CC BY-SA 4.0 | null | 2023-03-03T22:14:17.957 | 2023-03-03T22:33:54.517 | 2023-03-03T22:22:58.473 | 18,694,400 | 21,328,762 | [
"python",
"pandas",
"dataframe"
] |
75,632,302 | 2 | null | 75,631,588 | 1 | null | I think you have dragged the map usercontrol INSIDE the GroupBox "Download", so the map is "clipped" by the groupbox limits. Drag the map control outside the groupbox, directly over the form.
Example of ListView inside GroupBox:
[](https://i.stack.imgur.com/9u15Z.png)
| null | CC BY-SA 4.0 | null | 2023-03-03T22:14:34.007 | 2023-03-03T22:14:34.007 | null | null | 21,292,828 | null |
75,632,283 | 1 | null | null | -1 | 15 | I have a Python-Flask application where I upload an image onto a server and perform predictions on a selected uploaded image using a dense-net model following [this tutorial](https://pytorch.org/tutorials/intermediate/flask_rest_api_tutorial.html), which results in the following error: `PIL.UnidentifiedImageError: cann... | PIL.UnidentifiedImageError: cannot identify image file io.BytesIO object for deploying a PyTorch model in Flask | CC BY-SA 4.0 | null | 2023-03-03T22:11:41.733 | 2023-03-04T10:14:42.900 | 2023-03-04T10:14:42.900 | 5,320,906 | 21,328,705 | [
"python",
"flask",
"pytorch"
] |
75,632,299 | 2 | null | 75,632,233 | 1 | null | Use a flexbox. Adjust margins/padding as it fits you.
```
.wrapper {
display: flex;
justify-content: space-between;
}
.text__main {
padding: 10px;
width: 50%;
}
.img__central {
width: 50%;
}
img {
width: 100%;
/* Ширина изображений */
height: 100%;
/* Высота изображении */
object-fit: cover;
/... | null | CC BY-SA 4.0 | null | 2023-03-03T22:14:13.990 | 2023-03-03T22:14:13.990 | null | null | 14,898,845 | null |
75,632,301 | 2 | null | 75,632,230 | 0 | null | The previous answer covered one option to solve this problem, but the clicks could also be detected in the way you were using earlier, by attaching and event listener to the document. All you need to do is replace `e.target.id` with just `e.target` because the code should be comparing an element to an element instead o... | null | CC BY-SA 4.0 | null | 2023-03-03T22:14:26.597 | 2023-03-03T22:14:26.597 | null | null | 20,841,978 | null |
75,632,305 | 2 | null | 75,632,002 | 1 | null | If you have a raw vector you can use `readBin` to convert to integer. For example
```
x <- as.raw(c(146, 2, 0, 0))
x
# [1] 92 02 00 00
readBin(x, integer(), n=1, size=4, endian = "little")
# [1] 658
```
| null | CC BY-SA 4.0 | null | 2023-03-03T22:15:28.860 | 2023-03-03T22:16:28.467 | 2023-03-03T22:16:28.467 | 2,372,064 | 2,372,064 | null |
75,632,303 | 2 | null | 75,621,811 | 0 | null | Should've tried that earlier, but who knew that m$'s tools for cleaning CO cache fail so miserably? They remove files, but leave folders, which somehow lock up subsequent attempts..
As mentioned by @Nemo [in comment to accepted answer](https://stackoverflow.com/a/20384382/803920), "The manual approach of deleting ins... | null | CC BY-SA 4.0 | null | 2023-03-03T22:14:41.017 | 2023-03-03T22:14:41.017 | null | null | 803,920 | null |
75,632,304 | 1 | null | null | -2 | 45 | I am trying to make an algorithm to count the number of lucky tickets, with the specifications in the image below but my program doesn't compile fast enough and it dosen't output the same data as in example. Please can anyone help me correct this and help with better code.
[](https://i.stack.imgur.com/nIMYn.png)
```
de... | algorithms for lucky number in py | CC BY-SA 4.0 | null | 2023-03-03T22:15:09.113 | 2023-03-03T22:15:09.113 | null | null | 20,386,534 | [
"python",
"algorithm",
"python-2.7",
"data-structures"
] |
75,632,295 | 1 | null | null | 0 | 24 | I would like my text 'Title' to use my style sheet fonts Myriad Pro, Arial but it instead seems to be using some other font that is default for `<h1></h1>`
Do I need to override something so that it is following my style sheet instead of the `<h1>` ?
[](https://i.stack.imgur.com/yKsT2.png)
Source Code:
```
<!doctype ht... | CSS - Not using correct font | CC BY-SA 4.0 | null | 2023-03-03T22:13:12.437 | 2023-03-03T22:30:22.683 | null | null | 12,234,630 | [
"html",
"css"
] |
75,632,308 | 1 | null | null | 0 | 17 | I am trying to read my vertex data in the fragment shader to try some rendering experiments. It is possible to do this, and if so, what is the best way?
My guess is that buffer views are meant to be used, but I didnt find anything about them online and am unsure how exactly to use them.
| How do you read the vertex buffer in the fragment shader? | CC BY-SA 4.0 | null | 2023-03-03T22:16:50.107 | 2023-03-03T22:24:30.017 | null | null | 17,254,341 | [
"rendering",
"vulkan",
"vertex"
] |
75,632,310 | 2 | null | 75,632,211 | 1 | null | We can `join` by `row`, then use `coalesce`:
```
library(dplyr)
df1 %>%
left_join(df2, by = 'row') %>%
mutate(x = coalesce(x2, x), .keep = 'unused')
row x
1 1 i
2 2 b
3 3 h
4 4 d
5 5 g
6 6 f
```
| null | CC BY-SA 4.0 | null | 2023-03-03T22:16:53.467 | 2023-03-03T22:17:44.147 | 2023-03-03T22:17:44.147 | 13,972,333 | 13,972,333 | null |
75,632,307 | 1 | null | null | 0 | 8 | I have this prisma schema
```
model Directory {
id String @id @default(cuid())
name String?
parentDirectoryId String?
userId String
parentDirectory Directory? @relation("parentDirectoryId", fields: [parentDirectoryId], references: [id], onDelete: NoAction, onUpda... | Delete Prisma self-referencing (one to many) | CC BY-SA 4.0 | null | 2023-03-03T22:16:37.510 | 2023-03-03T22:16:37.510 | null | null | 7,238,671 | [
"javascript",
"typescript",
"prisma",
"self-reference",
"self-referencing-table"
] |
75,632,311 | 1 | null | null | 1 | 27 | I'm having trouble with leaflet-easyButton. I have installed it into my project with:
```
npm install --save leaflet-easybutton
```
Thereupon, a folder exists inside the /node_modules and I can import it into my component:
```
import "leaflet-easybutton/src/easy-button";
```
To add a button to my map, I call it like ... | Leaflet easyButton - Button Text is not Displaying (Can't debug addTo) | CC BY-SA 4.0 | null | 2023-03-03T22:16:53.467 | 2023-03-04T02:12:41.470 | 2023-03-04T01:26:37.927 | 4,861,760 | 11,151,789 | [
"javascript",
"angular",
"button",
"leaflet",
"title"
] |
75,632,255 | 1 | null | null | -1 | 21 | I have 2 components in my next js project
1. TabsComponents.tsx and
2. Profile.tsx
in my proifle.tsx i have a form which the user fills and when he fills all the details the tab should change from Profile tab to Socials Tab for which i have the value prop on my component.
I'm passing 2 props "handleChangeTab" which... | tab switch is refreshing page | CC BY-SA 4.0 | null | 2023-03-03T22:04:46.450 | 2023-03-03T22:04:46.450 | null | null | 19,768,549 | [
"reactjs",
"typescript",
"next.js",
"react-hooks"
] |
75,632,309 | 2 | null | 75,598,265 | 1 | null | I think the problem you're having is that the texture for the cylinder top (and bottom) doesn't determine the texture for the side. And I don't think there's any general solution to that problem. You'll need to be given "an extrusion texture" to apply to the side. You can't produce that from the one for the ends.
I'm n... | null | CC BY-SA 4.0 | null | 2023-03-03T22:16:50.537 | 2023-03-03T22:16:50.537 | null | null | 7,343,656 | null |
75,632,316 | 2 | null | 75,609,441 | 0 | null | Okay, I solved the problem. I stopped using `aws ses sdk`, because it tries to connect through HTTPS, while I need to connect through SMTP on 587 port.
So here is my final configuration
```
spring:
mail:
host: email-smtp.eu-central-1.amazonaws.com
username: ${AWS_SES_USERNAME}
password: ${AWS_SES_PASSWORD... | null | CC BY-SA 4.0 | null | 2023-03-03T22:17:28.230 | 2023-03-03T22:17:28.230 | null | null | 20,036,372 | null |
75,632,317 | 2 | null | 75,632,211 | 0 | null | With dplyr 1.1.0:
```
df1 %>%
rows_update(df2 %>% rename(x = x2), unmatched = "ignore")
```
Result
```
Matching, by = "row"
row x
1 1 i
2 2 b
3 3 h
4 4 d
5 5 g
6 6 f
```
If both tables had the same rownames it would be simpler:
```
df1 %>%
rows_update(df2, unmatched = "ignore")
```
| null | CC BY-SA 4.0 | null | 2023-03-03T22:17:34.190 | 2023-03-03T22:19:42.260 | 2023-03-03T22:19:42.260 | 6,851,825 | 6,851,825 | null |
75,632,279 | 1 | 75,632,577 | null | 0 | 17 | I am trying my hand at a Vue.js project. I am using VS Code running as administrator. I am following the quickstart guide here: [https://vuejs.org/guide/quick-start.html#creating-a-vue-application](https://vuejs.org/guide/quick-start.html#creating-a-vue-application)
I have Node version 6.14.13 installed. Typing `npm --... | Vue.js: Cannot run project; jsconfig.json file is empty? | CC BY-SA 4.0 | null | 2023-03-03T22:11:05.140 | 2023-03-03T23:04:50.277 | null | null | 8,859,130 | [
"node.js",
"vue.js",
"npm"
] |
75,632,323 | 1 | null | null | 0 | 19 | I am authenticating towards an API endpoint which returns two Set-Cookie headers.
PHP Curl overwrites one of the two Set-Cookie headers and only returns one.
How can I work around this problem? This looks like a limitation in curl.
| How to handle multiple Set-Cookie headers in PHP CURL | CC BY-SA 4.0 | null | 2023-03-03T22:18:55.963 | 2023-03-03T23:06:40.397 | 2023-03-03T22:19:07.503 | 9,139,738 | 9,139,738 | [
"php",
"curl"
] |
75,632,321 | 1 | null | null | 0 | 5 | In this case it is a view, I right click on the view in the Object Explorer and select Script as create to a new query window. At least 10 minutes for the script to appear. This is on my local development environment. What can I do cause this is infuriating waiting 10 + minutes every time I want to look at the object
I... | Scripting a single DB object to a query window takes 10 + minutes | CC BY-SA 4.0 | null | 2023-03-03T22:18:32.443 | 2023-03-03T22:18:32.443 | null | null | 21,328,810 | [
"performance",
"ssms"
] |
75,632,315 | 2 | null | 75,632,230 | 1 | null | I would take an entirely different approach with this problem. What I suggest is tagging your buttons and forms using data attribues and then dynamically showing and hiding the forms based on what button was clicked. This will allow you to easily add new forms.
Here is an implementation of my approach that uses querySe... | null | CC BY-SA 4.0 | null | 2023-03-03T22:17:14.493 | 2023-03-03T22:17:14.493 | null | null | 9,898,651 | null |
75,632,326 | 1 | null | null | -1 | 21 | Im making a game where a soldier has to walk through a minefield and whenever it hits a mine he turns into a grave.gif. The goal is to make it to the helicopter. All of my atempts at collision detection have failed. I also need the same thing to happen when it hits the helicopter. Can someone help?
```
#collision detec... | Collision Detection for Game | CC BY-SA 4.0 | null | 2023-03-03T22:19:19.720 | 2023-03-03T22:19:19.720 | null | null | 21,328,816 | [
"python",
"gif",
"collision"
] |
75,632,322 | 1 | null | null | 1 | 25 | I cannot find the bug related to the global hash-table in the following SBCL code:
```
(defparameter *lci-hash-table* (make-hash-table :size 10000))
"Hash-table key = length|char|index concatenated together (eg, 5A0),
hash-table values = list of matching symbols (eg, (ABATE ABBEY ...))."
(defun dictionary-compa... | Accessing a Global Hashtable from Concurrent Threads (Common Lisp) | CC BY-SA 4.0 | null | 2023-03-03T22:18:43.360 | 2023-03-04T22:41:59.073 | 2023-03-04T22:41:59.073 | 7,016,092 | 7,016,092 | [
"multithreading",
"common-lisp",
"hashtable",
"sbcl"
] |
75,632,319 | 1 | null | null | 0 | 21 | I have the following laylout right now
[](https://i.stack.imgur.com/sfPLl.png)
Now id really like to have all of the h2s with test next to each other with space between
I was told to add this to my css
```
justify-content: space-between;
```
[](https://i.stack.imgur.com/OUd3W.png)
Id like to achieve a result similar t... | Html css justify-content: space-between doesnt work correctly when parent is justify content center is active | CC BY-SA 4.0 | null | 2023-03-03T22:18:00.600 | 2023-03-03T22:26:38.193 | 2023-03-03T22:24:37.163 | 616,443 | 20,934,023 | [
"html",
"css"
] |
75,632,330 | 2 | null | 75,630,486 | 1 | null | Try one of both solutions:
There's a problem in the height of the component, preventing it from being displayed:
Wrap `<AutoSizer>` within a block with a height, e.g. `height: 100vh;`
```
<div style={{ flex: '1 1 auto' , height: '100vh' }}>
<AutoSizer>
{/* ... */}
</AutoSizer>
</div>
```
If this doesn't work, ... | null | CC BY-SA 4.0 | null | 2023-03-03T22:20:01.257 | 2023-03-03T22:20:01.257 | null | null | 20,576,394 | null |
75,632,314 | 1 | null | null | -1 | 13 | I am trying to create an API to fetch data from my Atlas MongoDB using Flask. I was following this tutorial [https://www.mongodb.com/compatibility/setting-up-flask-with-mongodb](https://www.mongodb.com/compatibility/setting-up-flask-with-mongodb)
However I get the following Error when trying to get some data from my da... | Python Flask Pymongo global db object is returned as None | CC BY-SA 4.0 | null | 2023-03-03T22:17:05.030 | 2023-03-05T05:23:48.067 | 2023-03-05T05:23:48.067 | 1,409,374 | 17,692,487 | [
"python",
"mongodb",
"flask",
"pymongo",
"flask-pymongo"
] |
75,632,331 | 2 | null | 75,263,284 | 0 | null | I upgraded my version of Rails to 7 and version of Ruby to 3.0.5 and was able to bypass the backpacker issue. The problem seemed to be incompatibility between the versions of Rails and Ruby I was using. [This](https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html) is a table of the recommended Ruby ... | null | CC BY-SA 4.0 | null | 2023-03-03T22:20:28.140 | 2023-03-03T22:20:28.140 | null | null | 21,030,820 | null |
75,632,313 | 1 | 75,632,822 | null | 1 | 19 | When dragging, in the `dragged` function call, two parameters are given: `event` and `d`
How can I get the selected element index?
In the code below the `dragged` function is not working since the index of dragged element not correct!
```
drag_nodes()
function drag_nodes() {
var data = {
nodes... | get selected element id from d3.drag function call | CC BY-SA 4.0 | null | 2023-03-03T22:16:57.560 | 2023-03-04T00:05:39.017 | 2023-03-04T00:05:39.017 | 765,395 | 1,914,781 | [
"javascript",
"d3.js"
] |
75,632,329 | 1 | null | null | 0 | 5 | According to documentation, I can save .couch, .shards, and shard files which all reside in `/data`. To test out whether all the data can be saved, I have two single-node couchDBs in two separate namespaces on openshift. For simplicity, they're called `couchdb-pod1` and `couchdb-pod2`. Note: `couchdb-pod1` has all of m... | How to backup single-node docker couchDB by storing data dir? | CC BY-SA 4.0 | null | 2023-03-03T22:19:57.030 | 2023-03-03T22:19:57.030 | null | null | 11,296,480 | [
"openshift",
"couchdb",
"database-backups"
] |
75,632,334 | 2 | null | 74,196,882 | 0 | null | The Open SSL answer didn't fix it for me, it ended up being that I hadn't accepted the xCode license. This was specific to Mac OS Ventura, 2023
`sudo xcodebuild -license accept`
After running that, I could run `bundle` without issue
I do want to note that my error was different from OP:
```
An error occurred while inst... | null | CC BY-SA 4.0 | null | 2023-03-03T22:21:45.460 | 2023-03-03T22:21:45.460 | null | null | 4,196,021 | null |
75,632,332 | 1 | null | null | 0 | 45 | I dont know how to describe my question thats why Im looking for a idea. I have a div and its position bottom 0 in top 100vh
my div in page
[](https://i.stack.imgur.com/Tampq.png)
if user scroll to bottom and div touches to top screen its position changes to "fixed" and ım setting its position to "top: 0"
[](https://i.... | Detect if screen at "x" position? | CC BY-SA 4.0 | null | 2023-03-03T22:20:34.087 | 2023-03-03T22:47:26.597 | 2023-03-03T22:31:52.087 | 5,776,031 | 21,049,553 | [
"javascript",
"html",
"css"
] |
75,632,327 | 1 | null | null | -3 | 28 | Launching lib\main.dart on CPH1909 in debug mode...
Running Gradle task 'assembleDebug'...
/C:/Users/nhibt/AppData/Local/Pub/Cache/hosted/pub.dev/modal_bottom_sheet-2.0.1/lib/src/material_with_modal_page_route.dart:4:1: Error: 'ModalBottomSheetRoute' is imported from both 'package:flutter/src/material/bottom_sheet.dart... | is there all errors for me... i am trying to fix this but i cant fix it any one help me | CC BY-SA 4.0 | null | 2023-03-03T22:19:35.087 | 2023-03-03T22:19:35.087 | null | null | 21,328,789 | [
"flutter"
] |
75,632,339 | 2 | null | 75,632,300 | 0 | null | ```
merged_df['airline_name'] = merged_df['airline_name'] + merged_df['airline_icao_unique_code']
```
| null | CC BY-SA 4.0 | null | 2023-03-03T22:22:34.097 | 2023-03-03T22:22:34.097 | null | null | 18,694,400 | null |
75,632,336 | 1 | 75,634,277 | null | 0 | 11 | I am trying to search multiple fields in one query with the use of the OR and filter.
```
query SearchQuery($searchTerm: String) {
allArtists(
filter: {surname: {includesInsensitive: $searchTerm}, or: {firstname: {includesInsensitive: $searchTerm}}}
) {
edges {
node {
firstname
surnam... | Or filtering with PostGraphile not working | CC BY-SA 4.0 | null | 2023-03-03T22:21:52.127 | 2023-03-04T07:31:18.070 | null | null | 240,363 | [
"graphql",
"postgraphile"
] |
75,632,333 | 1 | 75,632,530 | null | 2 | 64 | I know that, in Julia, dictionaries do not preserve the original ordering in which keys has been inserted as described [here](https://stackoverflow.com/questions/70909065/how-julia-determines-index-of-dictionary-keys), but do dictionaries (and sets) constructed with a given insertion order preserve the arbitrary orderi... | Are Julia dictionaries (and sets) stable between runs? | CC BY-SA 4.0 | null | 2023-03-03T22:20:50.673 | 2023-03-04T11:05:16.080 | 2023-03-03T22:29:03.653 | 4,621,513 | 10,842,351 | [
"dictionary",
"set",
"julia"
] |
75,632,335 | 1 | null | null | 0 | 15 | I have been trying to create unit tests on my viewModel, but every time I attempt to call a function that launches a coroutine with viewModelScope, it always ends up with a race condition.
example viewModel function:
```
fun doSomething () {
viewModelScope.launch {
runATask()
flag = true
}
}
```... | Android Unit Testing: calling function that uses viewModelScope causes a race condition | CC BY-SA 4.0 | null | 2023-03-03T22:21:50.637 | 2023-03-03T22:21:50.637 | null | null | 21,328,765 | [
"android",
"kotlin",
"kotlin-coroutines",
"android-testing",
"robolectric"
] |
75,632,325 | 2 | null | 75,632,290 | 0 | null | If you don't use [MVVM](https://learn.microsoft.com/en-us/archive/msdn-magazine/2009/february/patterns-wpf-apps-with-the-model-view-viewmodel-design-pattern) design pattern and data binding to the ViewModel then you can just create a method in your code-behind file for your control that clears the text of all the textb... | null | CC BY-SA 4.0 | null | 2023-03-03T22:19:07.723 | 2023-03-04T15:39:25.480 | 2023-03-04T15:39:25.480 | 5,649,561 | 5,649,561 | null |
75,632,340 | 1 | null | null | -1 | 33 | I'm trying to use ChatGPT APIs to make a chatbot on our website by React.
On Chat.openai.com/chat, when users ask `return a JavaScript code sample`, the part of the code in the answer will be highlighted with a button `Copy code`.
[](https://i.stack.imgur.com/jCGnM.png)
We would like to realize similar thing on our web... | Make ReactJS components from (markdown) results of ChatGPT API | CC BY-SA 4.0 | null | 2023-03-03T22:22:34.330 | 2023-03-03T23:18:45.643 | 2023-03-03T23:18:45.643 | 702,977 | 702,977 | [
"reactjs",
"markdown",
"react-markdown",
"chatgpt-api"
] |
75,632,342 | 1 | null | null | -1 | 53 | If checkbox is selected, what is the code used to delete the contents of the folder when the button is pressed? Also, if it is not selected, it should not be deleted.

```
private void button1_click(object sender, EventArgs e)
{
string[] folder = Dir... | Deleting the Contents of the Selected Folder with the Checkbox when the Button is Clicked? | CC BY-SA 4.0 | null | 2023-03-03T22:22:46.540 | 2023-03-04T15:18:52.777 | 2023-03-03T22:58:57.517 | 719,186 | 21,327,033 | [
"c#",
"winforms"
] |
75,632,324 | 1 | null | null | -2 | 28 | I am a beginner. I have no idea of what am doing. Am trying to insert data into my database. Using a for loop and a list, each tuple get placed into seprate coloums and rows. However I keep getting synatax error and I don't know what wrong.
I was expecting it to work perfectly it didn't. Row by row data was supposed to... | Adding data to my database row by row from a list | CC BY-SA 4.0 | null | 2023-03-03T22:18:59.383 | 2023-03-03T22:51:53.633 | 2023-03-03T22:51:53.633 | 1,491,895 | 20,847,364 | [
"python",
"mysql"
] |
75,632,344 | 1 | null | null | 0 | 19 | I have in Matlab a 1x50 nested cell array where each cell has 3 columns but different number of rows that I need to export to excel.
I already have a loop to obtain the nested cell variable so I am using xlswrite('mydata.xlsx',data,'Sheet1') in the loop.
How can I move 3 columns to the right in every iteration so the d... | Exporting uneven nested cells from Matlab to excel | CC BY-SA 4.0 | null | 2023-03-03T22:23:35.940 | 2023-03-04T00:34:23.360 | null | null | 21,328,827 | [
"matlab",
"for-loop"
] |
75,632,345 | 1 | null | null | 0 | 10 | I'm fairly new to K8. Using k3d/helm, I installed an application on our on-prem ssh server. I did port forward on 8080. I'm able to do "curl localhost:8080" when I'm inside the server. Could you plz guide me how can I access this application from my local machine? I tried using the private ip/hostname of the server but... | How to access Kubernetes application hosted on-prem centos server? | CC BY-SA 4.0 | null | 2023-03-03T22:23:37.497 | 2023-03-04T01:24:28.947 | 2023-03-04T01:24:28.947 | 10,008,173 | 8,722,374 | [
"kubernetes-ingress",
"kubectl",
"portforwarding"
] |
75,632,346 | 1 | null | null | 0 | 10 | When displaying my vertices with specific properties,
```
my_node_labels = '{"User":"email","Group": "tag"}'
my_edge_labels = '{"Group":"relatedAs"}'
```
It shows the `email` property inn my graph display but it does not show the `tag` property.
| AWS Neptune Jupyter Notebook's Property Parameter Does Not Work | CC BY-SA 4.0 | null | 2023-03-03T22:23:51.240 | 2023-03-04T00:33:54.797 | 2023-03-04T00:33:54.797 | 5,442,034 | 4,744,055 | [
"jupyter-notebook",
"amazon-neptune",
"graph-notebook"
] |
75,632,350 | 2 | null | 75,632,308 | 0 | null | As long as the implementation doesn't forbid using the same buffer as a vertex buffer and an SSBO (or buffer view, if you want to do it that way), you can do it. You simply bind the buffer for use as both things.
| null | CC BY-SA 4.0 | null | 2023-03-03T22:24:30.017 | 2023-03-03T22:24:30.017 | null | null | 734,069 | null |
75,632,347 | 2 | null | 75,632,346 | 0 | null | The parameter does not take any blank space. Eliminate all blank spaces in your parameter specifications.
```
my_node_labels = '{"User":"email","Group":"tag"}'
my_edge_labels = '{"Group":"relatedAs"}'
```
| null | CC BY-SA 4.0 | null | 2023-03-03T22:23:51.240 | 2023-03-03T22:23:51.240 | null | null | 4,744,055 | null |
75,632,343 | 1 | null | null | 0 | 28 | I'm trying to create a function, which will change the button font size to fit button's text in the window. I tried to play with 'step' function, where i used 'pixel steps'. Like
```
if 100 < window_width <= 200:
button.config(font=('Arial', 10)
elif 200 < window_width <= 300:
button.config(font=('Arial', 20... | Tkinter. Resize the font size to fit in the window via changing window size | CC BY-SA 4.0 | null | 2023-03-03T22:22:48.243 | 2023-03-04T13:38:35.743 | null | null | 21,293,012 | [
"python",
"python-3.x",
"algorithm",
"tkinter",
"resize"
] |
75,632,352 | 2 | null | 75,631,903 | 0 | null | Yeah found it, apparently the TagLib version was not compatible with the newest arm64 / M1-Mac versions and needed to be downgraded to only work with older MAC-CPUs
| null | CC BY-SA 4.0 | null | 2023-03-03T22:25:07.110 | 2023-03-03T22:25:07.110 | null | null | 19,871,776 | null |
75,632,337 | 2 | null | 68,185,406 | 0 | null | After struggling with this for a bit, I realized that when moving to a typescript configuration, one has to think about environment variables a little bit differently.
First, let's make a distinction between two sets of environment variables:
1. deployment configurations
2. function configurations
Let's talk about ... | null | CC BY-SA 4.0 | null | 2023-03-03T22:22:00.820 | 2023-03-03T22:22:00.820 | null | null | 7,563,588 | null |
75,632,354 | 1 | null | null | 0 | 19 | I have a two directories full of txt files and bat file that overwrites single symbols in words or number strings, but it works only when when concrete file was named in script. I need to make this operation with all txt files in directory but i have no idea ho to it. Please help.
I've tried forums and assistance of fr... | How can I made a bat file that overwrites symbols in whole txt files in directory? | CC BY-SA 4.0 | null | 2023-03-03T22:25:11.957 | 2023-03-03T22:25:11.957 | null | null | 21,328,848 | [
"batch-file",
"cmd"
] |
75,632,351 | 2 | null | 75,632,266 | 1 | null | Assuming that and settings are correctly configured in your file to display the pet photos in the template.
To display the pet photos in a template, you need to pass the pets and their associated photos to the template as context. Since you want to display data from multiple models in one view, so creating a diction... | null | CC BY-SA 4.0 | null | 2023-03-03T22:24:59.033 | 2023-03-04T02:23:31.463 | 2023-03-04T02:23:31.463 | 17,562,044 | 17,562,044 | null |
75,632,349 | 2 | null | 41,738,621 | 0 | null | with Spring boot version 3.0.3 :
I solved it by removing JPA dependency Starter ( i dont need it completly)
and I replaced it by spring-data-commons and spring-data-jpa
```
<!-- <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<versi... | null | CC BY-SA 4.0 | null | 2023-03-03T22:24:17.850 | 2023-03-03T22:24:17.850 | null | null | 2,898,676 | null |
75,632,355 | 1 | null | null | 0 | 27 | I noticed that `IntlDateFormatter()` function returns wrong timestamp in comparison to same type of output from `DateTime()` function.
```
$formatter = new IntlDateFormatter(
'en_GB',
IntlDateFormatter::SHORT,
IntlDateFormatter::SHORT,
'Europe/London',
IntlDateFormatter::GRE... | php - IntlDateFormatter() wrong/weird timestamp in comparison to DateTime() output | CC BY-SA 4.0 | null | 2023-03-03T22:25:29.000 | 2023-03-04T00:32:50.453 | null | null | 2,743,865 | [
"php",
"datetime",
"intldateformatter"
] |
75,632,348 | 1 | null | null | -1 | 8 | i have installed Sonar Qube at my windows 11 PC. Its running at http://localhost:9000. And i have made all steps in GitHub Actions config with Sonar Qube. I am getting this error:
[](https://i.stack.imgur.com/HAp81.png)
And this is my YAML file:
```
name: Build
on:
push:
branches:
- master
jobs:
build:... | SonarQube and GitHub integration | CC BY-SA 4.0 | null | 2023-03-03T22:24:12.107 | 2023-03-03T22:24:12.107 | null | null | 18,311,167 | [
".net",
"github",
"sonarqube"
] |
75,632,353 | 1 | null | null | -3 | 28 | I have the following code snippet in an Angular Project, and it runs fine when I do 'ng serve'
```
setTimeout(() => {
this.table = $("#marketlineDealer").DataTable({
data: this.dataSource,
order: [[0, "asc"]],
columns: [
{ title: "Market Line Name", data: "mar... | How to replace JQuery function '$()' to typescript? | CC BY-SA 4.0 | null | 2023-03-03T22:25:11.767 | 2023-03-03T22:25:11.767 | null | null | 13,176,989 | [
"javascript",
"jquery",
"angular",
"typescript",
"tslint"
] |
75,632,341 | 2 | null | 75,632,230 | 1 | null | If you wrap your buttons and forms in containing elements, and add data attributes to both the buttons and forms you can use [event delegation](https://dmitripavlutin.com/javascript-event-delegation/). This allows you to attach one listener to the buttons container which will catch events from its child elements as the... | null | CC BY-SA 4.0 | null | 2023-03-03T22:22:43.197 | 2023-03-04T02:32:56.530 | 2023-03-04T02:32:56.530 | 1,377,002 | 1,377,002 | null |
75,632,361 | 2 | null | 75,632,174 | -2 | null | It finally works well like this:
```
public static LocalDateTime convertFormatDateLocalDateTime(String startTime) {
DateTimeFormatter input = DateTimeFormatter.ofPattern("EEE MMM dd HH:mm:ss z yyyy", Locale.ENGLISH);
DateTimeFormatter output = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss");
LocalDateT... | null | CC BY-SA 4.0 | null | 2023-03-03T22:26:47.783 | 2023-03-03T22:30:40.030 | 2023-03-03T22:30:40.030 | 12,411,563 | 12,411,563 | null |
75,632,357 | 1 | null | null | 0 | 10 | Next.js allows me to [define a loading indicator](https://beta.nextjs.org/docs/routing/loading-ui) by placing it in a file named `loading.js` next to the component that has the route. How can I reuse the same loading indicator on multiple routes?
So far, I've moved it to its own file, say `Loading.js`:
```
export defau... | How to reuse a loading indicator in next.js routes? | CC BY-SA 4.0 | null | 2023-03-03T22:26:14.553 | 2023-03-03T22:26:14.553 | null | null | 1,431,720 | [
"javascript",
"next.js"
] |
75,632,358 | 1 | null | null | 0 | 11 | I have been tinkering with pykeepass most of the day in hopes of utilizing it with keepass. I am able to return lists of the current groups and pull the title and name from current entries in my kbdx file.
When I attempt to retrieve the password, I get an error saying "AttributeError: 'list' object has no attribute 'pa... | pykeepass is not returning the password attribute | CC BY-SA 4.0 | null | 2023-03-03T22:26:25.137 | 2023-03-03T22:39:18.067 | null | null | 1,717,820 | [
"python"
] |
75,632,364 | 1 | null | null | -2 | 18 | If I want to turn on "Developer Mode" on my iPhone to debug Xcode projects, it says that turning on the mode will affect device-security.
If I turn it on and after a while OFF again... Will the security of the phone return back to normal like before turning it on? I'm not sure and it's important for me.
I found nothin... | iPhone turning off Developer Mode | CC BY-SA 4.0 | null | 2023-03-03T22:27:33.703 | 2023-03-03T23:30:06.740 | 2023-03-03T23:30:06.740 | 20,287,183 | 21,292,813 | [
"ios",
"iphone",
"xcode",
"developer-mode"
] |
75,632,360 | 2 | null | 75,632,319 | 1 | null | You need to set the `display` to `flex` for `space-between` to work:
```
.navbar {
position: fixed;
text-align: center;
top: 0;
left: 0;
width: 100%;
height: auto;
background-color: #003959;
color: white;
justify-content: center;
align-items: center;
padding: 0 20px;
box-sizing: border-box;
}
``... | null | CC BY-SA 4.0 | null | 2023-03-03T22:26:38.193 | 2023-03-03T22:26:38.193 | null | null | 616,443 | null |
75,632,359 | 1 | null | null | 0 | 18 | Suppose I have the following setup:
```
export const REPOSITORY_NAME = new InjectionToken<string>('RepositoryName');
export const BASE_ENTITY_NAME = new InjectionToken<string>('BaseEntityName');
@Injectable()
export class RepositoryBase<TBaseEntity> {
constructor(
@Self() @Inject(REPOSITORY_NAME) private _nam... | Angular Dependency Injection: Inheritance and Services | CC BY-SA 4.0 | null | 2023-03-03T22:26:29.923 | 2023-03-03T22:37:13.653 | 2023-03-03T22:37:13.653 | 1,437,043 | 1,437,043 | [
"angular",
"dependency-injection",
"inversion-of-control"
] |
75,632,363 | 1 | null | null | 0 | 35 | I have a single drop-down and want to make it mandatory, but looks like it is not working.
Tried the required, rules but had no luck.
```
<v-select label="name"
:close-on-select="true"
v-model="CurrentAssignment"
v-on:input="onSelection"
:reduce="app => app.id"
placeholder="Select"
:options="EligibleOptions... | v-select "required" attribute not working as expected | CC BY-SA 4.0 | null | 2023-03-03T22:27:08.503 | 2023-03-04T10:33:20.993 | 2023-03-04T10:33:20.993 | 11,834,856 | 1,198,940 | [
"javascript",
"vue.js",
"vuejs2",
"vue-component"
] |
75,632,368 | 1 | null | null | 0 | 7 | I have a proximity prompt on a part, so when you hold e it's supposed to make you're screen fade and teleport you, but I'm not sure why it's not fading the screen. Is it not finding the player?
This is what is supposed to tell the script to fire the "TeleportationDoorEvent" remote event and find the player to fire it o... | How do I get a script to find the player who activated a proximity prompt so I can use it to fire a remote event on that player? | CC BY-SA 4.0 | null | 2023-03-03T22:28:03.187 | 2023-03-03T22:28:03.187 | null | null | 21,328,796 | [
"lua",
"proximity",
"teleport",
"roblox-studio"
] |
75,632,366 | 2 | null | 65,292,601 | 0 | null | Tailwind (I'm using version `3.2.7`) uses the following css for the `.translate-y-full` utility class:
```
.translate-y-full {
--tw-translate-y: 100%;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale... | null | CC BY-SA 4.0 | null | 2023-03-03T22:27:51.623 | 2023-03-03T22:27:51.623 | null | null | 4,496,102 | null |
75,632,365 | 2 | null | 75,626,965 | 0 | null | You can do this client side by utilizing RESTlets and good old fashioned HTML CSS and JavaScript.
To do this, you will have to have a suitelet that will return HTML when depending on the parameters it's passed or return JSON. For this to work you will have to use JavaScript running on the client to fetch data from the ... | null | CC BY-SA 4.0 | null | 2023-03-03T22:27:44.383 | 2023-03-04T15:18:16.693 | 2023-03-04T15:18:16.693 | 13,787,013 | 13,787,013 | null |
75,632,362 | 1 | null | null | 0 | 31 | I have two models that I am working with - `Traffic` and `Account`. These two models have a polymorphic relationship as through an `accountables` table all with standard Laravel conventions. An `Account` may belong to multiple traffics and other types of models.
I am trying to build an Account table with pagination tha... | Laravel Polymorphic Limit Related Records | CC BY-SA 4.0 | null | 2023-03-03T22:26:49.347 | 2023-03-04T12:03:06.520 | null | null | 14,100,489 | [
"laravel",
"eloquent",
"polymorphic-associations"
] |
75,632,370 | 2 | null | 75,630,809 | 1 | null | I think that, even using the predicate `append/3`, you can still have an efficient solution (at least that's what can be observed with swi-prolog).
```
count(Pattern, List, Count) :-
phrase(Pattern, Sublist),
count(List, Sublist, 0, Count).
count([], _, Count, Count).
count([X|Xs], Sublist, Count0, Count) :-
... | null | CC BY-SA 4.0 | null | 2023-03-03T22:28:12.827 | 2023-03-03T22:28:12.827 | null | null | 11,535,940 | null |
75,632,374 | 1 | null | null | 0 | 22 | I just started with QtCreator and create a python project with a window now I am try to add a slot with the signal "clicked" on the gui and it ask me for .h file but as I am coding in python I don't undestand why it ask me for a C file.
I see that I can write the event myself in the file ui_form.py but once I use "pysi... | PyQt designer adding slot ask me for ui_form.h | CC BY-SA 4.0 | null | 2023-03-03T22:28:38.943 | 2023-03-04T01:37:50.063 | 2023-03-04T01:37:50.063 | 6,793,817 | 6,793,817 | [
"python",
"pyqt",
"qt-designer",
"signals-slots"
] |
75,632,373 | 1 | null | null | 0 | 24 | Other Directory products have concepts of groups, and have the idea that you can disable email for a given group. Does Google Directory have anything like that, where you can create a group that doesn't have email enabled / doesn't have email at all? I can't seem to find anything about this in the [documentation](https... | Is it possible to disable email for a group in Google Workspace Directory? | CC BY-SA 4.0 | null | 2023-03-03T22:28:38.223 | 2023-03-04T01:19:36.063 | null | null | 21,328,866 | [
"google-workspace",
"google-admin-sdk"
] |
75,632,372 | 1 | null | null | 0 | 25 | Iḿ trying to run a jar file using `java -jar file.jar` and I get this message `[error] main:
```
Exception in thread "main"
[error] main: java.awt.HeadlessException:
[error] main: No X11 DISPLAY variable was set,
[error] main: or no headful library support was found,
[error] main: but this program performed an operat... | Problem when running a .jar on Linux Mint 21.1 | CC BY-SA 4.0 | null | 2023-03-03T22:28:31.710 | 2023-03-04T11:15:50.003 | 2023-03-04T11:06:46.593 | 21,328,856 | 21,328,856 | [
"java",
"linux",
"jar",
"linux-mint"
] |
75,632,376 | 2 | null | 64,689,865 | -6 | null | AWS CDK is merely an IaaC tool, so I don't think it can do much in our local development and debugging (unless AWS enhances it).
I asked [the same question](https://github.com/awslabs/aws-lambda-powertools-typescript/discussions/1352#discussioncomment-5197565) in the AWS Lambda Powertools project, in which both the AWS... | null | CC BY-SA 4.0 | null | 2023-03-03T22:29:06.447 | 2023-03-05T02:28:44.410 | 2023-03-05T02:28:44.410 | 5,172,890 | 5,172,890 | null |
75,632,378 | 1 | null | null | 0 | 12 | I am using axios.get and I could see the data from the database in console but how do I put that in placeholder value in react?
i couldn’t find any code for that
| Does anyone know how to put the data from the database to the placeholder value | CC BY-SA 4.0 | null | 2023-03-03T22:29:17.750 | 2023-03-03T22:29:17.750 | null | null | 18,337,129 | [
"node.js",
"reactjs",
"eclipse",
"mysql-workbench"
] |
75,632,381 | 1 | null | null | 0 | 10 | I am using mui v4 :
```
"@material-ui/core": "4.11.4"
```
code :
```
import Icon from "@material-ui/core/Icon";
import InputAdornment from "@material-ui/core/InputAdornment";
//...
<InputAdornment position="end">
<Icon className={classes.inputIconsColor}>
lock_outline
</Icon>
</InputAdornment>
```
The problem i... | mui icon sometimes does not appear | CC BY-SA 4.0 | null | 2023-03-03T22:30:17.117 | 2023-03-03T22:30:17.117 | null | null | 13,488,990 | [
"reactjs",
"material-ui"
] |
75,632,382 | 2 | null | 75,632,295 | 0 | null | Select Your Adobe Font on 'https://fonts.adobe.com/fonts/myriad'
Click on your chosen font to open the family page and see all of the font weights and styles that are available to use. Click </> Add to Web Project at the top of the page to add the font family to a web project.
After that you will be able to copy the li... | null | CC BY-SA 4.0 | null | 2023-03-03T22:30:22.683 | 2023-03-03T22:30:22.683 | null | null | 21,328,843 | null |
75,632,377 | 2 | null | 75,627,406 | 0 | null | There is no way to do that. The proper thing to do is to create a forwarding class that implements the base interface:
```
class ForwardingA implements A {
A a;
ForwardingA(this.a);
@override
void functionA() {
shouldRunFirstFunction();
doOtherThings();
}
...
}
```
And that way you can be sure... | null | CC BY-SA 4.0 | null | 2023-03-03T22:29:17.303 | 2023-03-03T22:29:17.303 | null | null | 179,715 | null |
75,632,387 | 2 | null | 38,595,304 | 0 | null | You can use `fopen` with the path of the file that will give you the resource.
```
Storage::put('file.jpg', fopen($contentFilePath, 'r'));
```
| null | CC BY-SA 4.0 | null | 2023-03-03T22:31:15.373 | 2023-03-03T22:31:15.373 | null | null | 2,400,829 | null |
75,632,383 | 1 | 75,632,546 | null | 1 | 35 | Wondering if it is possible to keep just one record from duplicates. In this scenario, the ID is also duplicate. I know the best way is that ID is unique, but in this scenario is not. Then, I have three records like these ones:
| id | name | point | closest_community_id |
| -- | ---- | ----- | -------------------- | ... | Remove duplicate records with same ID - Postgresql | CC BY-SA 4.0 | null | 2023-03-03T22:30:26.490 | 2023-03-04T20:15:15.470 | 2023-03-04T20:15:15.470 | 10,109,156 | 4,538,768 | [
"sql",
"postgresql"
] |
75,632,369 | 2 | null | 75,632,342 | 0 | null | One of many ways to do achieve your objective:
1. Make an array of checkboxes on your current form that are checked.
2. Go through the array to build the folder name based on the Text.
3. Delete the entire folder, then replace it with an empty one.
You may want to familiarize yourself with `System.Linq` extension me... | null | CC BY-SA 4.0 | null | 2023-03-03T22:28:03.670 | 2023-03-04T15:18:52.777 | 2023-03-04T15:18:52.777 | 5,438,626 | 5,438,626 | null |
75,632,390 | 2 | null | 75,632,290 | 0 | null | @Vadim Martynov -s answer is a good possibility to make it work, but I would use:
```
TextBoxName.Clear();
```
instead of
```
TextBoxName.Text = "";
```
| null | CC BY-SA 4.0 | null | 2023-03-03T22:31:43.240 | 2023-03-03T22:31:43.240 | null | null | 21,292,813 | null |
75,632,384 | 1 | null | null | 0 | 63 | Newbie here, I'm trying to make a Javascript metronome, but I'm stuck on making the sound play according to the current bpm of the project
Here's where I think the problem lies, when I press play, it sounds, but in a fixed bpm, that is not the one being inputted in the bpm variable:
```
//VARIABLES
let bpm = 150;
let s... | making a Javascript metronome | CC BY-SA 4.0 | null | 2023-03-03T22:30:30.540 | 2023-03-04T11:12:25.637 | 2023-03-04T11:12:25.637 | 19,099,302 | 21,198,309 | [
"javascript",
"metronome"
] |
75,632,388 | 1 | 75,632,499 | null | 0 | 30 | This might be an esoteric question or use-case, but is there a quick way to `filter` a tibble when the column names and values are inside vectors?
Say I want to filter `mpg` and `hp` in `mtcars`. I could do something like:
```
filter(mtcars, mpg >= 15 & hp >= 100)
```
But instead, say I have several filtering cases --... | Filter tibble in R when column names (to be filtered) and values are in vectors? | CC BY-SA 4.0 | null | 2023-03-03T22:31:17.510 | 2023-03-03T23:40:34.570 | null | null | 19,001,804 | [
"r",
"dplyr",
"tidyverse"
] |
75,632,371 | 1 | null | null | 1 | 19 | ```
$ ansible --version
ansible 2.10.8
```
I have a Linux Ansible server, and a Windows target host. I'm trying to setup a task to download from a secure FTP (SFTP) server. The only module I can find is [win_get_url](https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_get_url_module.html), but it s... | In Ansible, how to download from a secure FTP (SFTP) server? | CC BY-SA 4.0 | null | 2023-03-03T22:28:26.867 | 2023-03-04T00:01:50.720 | null | null | 1,401,560 | [
"python-3.x",
"ansible"
] |
75,632,392 | 2 | null | 75,557,244 | 0 | null | thx to James Hamil,
> you can disable the sign-in prompt for the edit and change password
custom policies by need to setting the keepAliveInDays parameter in
the relying party (RP) file that initiates the user journey.The keepAliveInDays parameter allows you to configure how long the
"keep me signed in" (KMSI) sessio... | null | CC BY-SA 4.0 | null | 2023-03-03T22:32:02.810 | 2023-03-03T22:50:38.183 | 2023-03-03T22:50:38.183 | 14,895,703 | 14,895,703 | null |
75,632,380 | 1 | null | null | 0 | 26 | I have a set of 125 .csv files that I want to combine into one data frame and file. Each csv file is one column of the data frame I ultimately want. I also need to add the site names at the beginning of the new data frame. The final result should look like this (with the rows all lined up, a 2x4 table in this example):... | Combining multiple csv files into one data frame using a loop | CC BY-SA 4.0 | null | 2023-03-03T22:30:09.933 | 2023-03-03T22:38:30.457 | 2023-03-03T22:38:30.457 | 2,372,064 | 21,241,986 | [
"r",
"loops",
"csv"
] |