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,614,553 | 1 | 75,614,833 | null | 1 | 25 | This code open a modal in order to deal with some data. In this modal there is an icon("minus") rendering fine.
In the main UI below the "Modal" button, I print a text "Hello" with an icon but this icon doesn't appears.
If I click on the "Modal" button, the modal opens AND the icon appears in the main window ! I have t... | Shiny : icon doesn't appears as expected | CC BY-SA 4.0 | null | 2023-03-02T11:02:09.420 | 2023-03-03T07:23:51.197 | null | null | 2,751,179 | [
"r",
"shiny"
] |
75,614,566 | 2 | null | 75,614,547 | 1 | null | If you read [this](https://github.com/flutter/flutter/wiki/Developing-with-Flutter-on-Apple-Silicon), you can see that:
> "We recommend using Flutter 2.5 or later on Apple Silicon machines.
You must also have the Rosetta 2 translation environment available..."
| null | CC BY-SA 4.0 | null | 2023-03-02T11:03:47.890 | 2023-03-02T11:03:47.890 | null | null | 10,632,369 | null |
75,614,565 | 2 | null | 9,356,358 | 0 | null | ```
typedef struct
{
// your types here
}second_dimension_t
typedef struct
{
// your types here
second_dimension_t second_d[x];
}first_dimension_t
first_dimension_t first_dimension[x];
```
first_dimension[x].second_d[x].my_type;
| null | CC BY-SA 4.0 | null | 2023-03-02T11:03:39.053 | 2023-03-02T11:03:39.053 | null | null | 21,318,378 | null |
75,614,554 | 1 | null | null | -1 | 27 | The `pom.xml` contains:
```
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.9.1</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.9.1</version>
</dependency>
```
Swag... | Unable to access the UI on browser while I enable swagger2 | CC BY-SA 4.0 | null | 2023-03-02T11:02:11.507 | 2023-03-05T02:28:37.563 | 2023-03-05T02:28:37.563 | 3,750,257 | 21,316,547 | [
"spring-boot",
"google-chrome",
"spring-security",
"swagger-ui",
"swagger-2.0"
] |
75,614,571 | 2 | null | 75,613,683 | 0 | null | OK, I think I've found the solution by installing `stylelint-config-recommended-scss`
```
"scss/dollar-variable-empty-line-before": [ "always", {
"except": [
"first-nested",
"after-comment",
"after-dollar-variable"
]
} ]
},
"extends": "stylelint-config-recommended-scss"
```
| null | CC BY-SA 4.0 | null | 2023-03-02T11:03:59.883 | 2023-03-02T11:03:59.883 | null | null | 6,447,610 | null |
75,614,574 | 1 | 75,619,155 | null | 1 | 38 | I use `react@16.14.0` and `react-router-dom@4.3.1`. How do I navigate to another page with hook not `Link` and how to navigate back to page with hook. The `useHistory` and `useNavigate` hooks don't work because I am using `react-router-dom@4`.
I want to do `<Link to="/page"></Link>` with hook because I want pass data a... | How to navigate between components in react-router-dom version 4 | CC BY-SA 4.0 | null | 2023-03-02T11:04:08.210 | 2023-03-02T18:00:35.217 | 2023-03-02T18:00:35.217 | 8,690,857 | 7,151,872 | [
"javascript",
"reactjs",
"react-router",
"react-router-dom"
] |
75,614,576 | 1 | null | null | 0 | 10 | I fail to use a variable as a path for the spool. Currently, I have tried many variations but none actually worked:
```
variable some_var VARCHAR2(100)
exec :some_var := some_pack.get_name()
PRINT some_var
-- this prints the value of some_var as expected
spool some_var
-- this will spool to "some_var.LST" which wa... | Syntax SQL Varaible for spool path | CC BY-SA 4.0 | null | 2023-03-02T11:04:19.867 | 2023-03-02T12:50:34.023 | 2023-03-02T12:50:34.023 | 1,824,556 | 1,824,556 | [
"variables",
"sqlplus",
"spool"
] |
75,614,573 | 1 | null | null | 0 | 15 | I have installed MongoDB in my PC. However, I find no trace of the bin folder inside the MongoDB/Server/6.0 folder.
I have installed MongoDB using the file 'mongodb-windows-x86_64-6.0.4-signed' on my computer having the OS 'Microsoft Windows 10 Home' and 'x64'. However, when I go through the installation directory i.e ... | MongoDB installation is not showing the bin directory | CC BY-SA 4.0 | null | 2023-03-02T11:04:01.110 | 2023-03-02T11:04:01.110 | null | null | 2,328,371 | [
"mongodb",
"nosql"
] |
75,614,575 | 1 | null | null | 1 | 11 | I am working with [tag: R] on the [tag: Arab Barometer] wave 5, and I'm trying to visualize the political party labels. However, I'm not able to display them.
If I code `table(dataset$Q503)` or, for a single country, `table(country1$Q503)`, the numerical codes assigned to the parties appear, as well as if I use the com... | How to display labels associated with numeric codes? | CC BY-SA 4.0 | null | 2023-03-02T11:04:11.323 | 2023-03-02T11:04:11.323 | null | null | 21,239,029 | [
"r",
"expss"
] |
75,614,562 | 1 | null | null | 1 | 32 | I'm trying to visualize a vector field using the 3d cone plot in Plotly. For this purpose I need a logarithmic colorbar. This seems to be impossible without a clever workaround.
This is how my 3d plot looks like at the moment:
[](https://i.stack.imgur.com/hLtWc.png)
I was looking for a workaround but I only found solut... | Is there a way to make a logarithmic colorbar for a 3d cone plot in Plotly? | CC BY-SA 4.0 | null | 2023-03-02T11:03:15.413 | 2023-03-03T05:18:52.707 | 2023-03-03T05:18:52.707 | 5,327,068 | 21,311,866 | [
"python",
"3d",
"plotly"
] |
75,614,568 | 1 | 75,618,178 | null | 0 | 19 | [Video](https://streamable.com/6q2ao2)
Hi, does anyone know how could i calculate a throw force from my moving hands. In the video you can see what i mean. Right now when i let go of the box it just drops what im trying to achieve is a "throw". The box is a rigibody2d.
So this is how I move my hands.
```
func _integrat... | Godot 4. Calculate hand position for throw force | CC BY-SA 4.0 | null | 2023-03-02T11:03:53.257 | 2023-03-02T16:21:56.203 | null | null | 14,570,491 | [
"2d",
"godot",
"calculation",
"mousemove"
] |
75,614,581 | 2 | null | 75,614,420 | 0 | null | You can try:
[](https://i.stack.imgur.com/Rp7b2.png)
Formula in `B1`:
```
=ROUNDUP((RANK(A1,A$1:A$56,1)+COUNTIF(A$1:A1,A1)-1)/7,0)
```
This accounts for possible duplicates in A:A.
| null | CC BY-SA 4.0 | null | 2023-03-02T11:04:42.533 | 2023-03-02T11:14:17.357 | 2023-03-02T11:14:17.357 | 9,758,194 | 9,758,194 | null |
75,614,582 | 1 | null | null | 3 | 30 | Currently, we created the Power BI report with Excel source and update everyday with incremental changes in DB. I have Bar chart which represents monthly data, using Group option to show data month wise. With this method, I need to alter the grouping each month and then publish the report.
[https://i.imgur.com/JGJgMwj... | How to auto group monthly data (Stacked column chart) in Power BI presentation | CC BY-SA 4.0 | null | 2023-03-02T11:04:42.457 | 2023-03-02T11:04:42.457 | null | null | 20,069,505 | [
"powerbi",
"powerbi-desktop"
] |
75,614,578 | 1 | null | null | 0 | 14 | Here is a snippet of our , with the correct indentations:
```
tags:
- name: Team-Game-Stats
x-displayName: Team Game Stats
description: Team game statistics derived from box score data
paths:
/stats/team/game-box:
get:
tags:
- Team-Game-Stats
paramete... | use x-displayName to show name with spaces in open_api.yaml | CC BY-SA 4.0 | null | 2023-03-02T11:04:28.693 | 2023-03-02T11:22:08.807 | 2023-03-02T11:22:08.807 | 5,573,294 | 5,573,294 | [
"openapi"
] |
75,614,572 | 1 | null | null | 1 | 22 | I'm using a fullcalendar library inside a Salesforce lwc. I need to set the 24 hours format to my timegrid view as now its shown as 3pm, 4pm, etc. I tried adding the eventTimeFormat but it doesn't work. Also tried with the deprecated timeFormat :D. Show you my code if it could help :)
```
// imports ...
import fullcale... | eventTimeFormat not working in my fullcalendar library version 4 | CC BY-SA 4.0 | null | 2023-03-02T11:04:01.177 | 2023-03-03T07:07:28.940 | 2023-03-03T07:05:20.113 | 21,196,522 | 21,196,522 | [
"javascript",
"fullcalendar",
"fullcalendar-4",
"lwc"
] |
75,614,583 | 1 | null | null | 0 | 24 | We have a birthday column in the format DD.MM.YYYY (for example 25.04.1990) of string type. How can we find out the employee's age at the time of the query?
I do not know how to change to date type and how to find the age at the time of the request, without specifying today's date
| How do I know the age of the employee at the time of the query in Postgres? | CC BY-SA 4.0 | null | 2023-03-02T11:05:03.793 | 2023-03-03T00:24:36.363 | 2023-03-02T11:13:43.220 | 330,315 | 21,313,838 | [
"postgresql"
] |
75,614,588 | 2 | null | 75,614,548 | 1 | null | Do this:
```
import pandas as pd
df = pd.DataFrame({'date1': ['Jan 17, 2023 at 12:22 PM', 'Feb 1, 2023 at 10:45 AM', 'Mar 4, 2023 at 3:30 PM'],
'date2': ['May 2, 2018', 'Jun 5, 2018', 'Jul 7, 2018']})
df['date1'] = pd.to_datetime(df['date1'], format='%b %d, %Y at %I:%M %p')
df['date2'] = pd.to_date... | null | CC BY-SA 4.0 | null | 2023-03-02T11:06:07.167 | 2023-03-02T11:06:07.167 | null | null | 5,363,686 | null |
75,614,585 | 1 | null | null | 0 | 13 | I have a question quite similar to [this one](https://stackoverflow.com/questions/44816723/get-size-of-specific-repository-in-nexus-3) on a more abstract level:
Via API I get a blobstore size (`totalSizeInBytes`) and a left free space value (`availableSpaceInBytes`) of resulting in roughly 566gb of space.
Iterating ov... | In nexus3 how can I find out what consumes space in a blobstore (apart from the sum of assets)? | CC BY-SA 4.0 | null | 2023-03-02T11:05:31.310 | 2023-03-02T11:10:53.957 | null | null | 1,668,622 | [
"nexus",
"nexus3"
] |
75,614,586 | 2 | null | 48,348,267 | 0 | null | Are you using a nested serializer, and the parent serializer has a model which has `unique_together constraint? See below on how to overriding the`get_unique_together_validators` method to disable unique together checks, because the instance is not passed into nested serializer, and hence fails the check
```
class FooS... | null | CC BY-SA 4.0 | null | 2023-03-02T11:05:36.670 | 2023-03-02T11:05:36.670 | null | null | 5,506,400 | null |
75,614,577 | 1 | null | null | -1 | 32 | I am trying to return the timestamp of the lowest value within my set range. Using the answer of a different post i came with this query:
```
SELECT DateTime, Value
FROM Runtime.dbo.History
WHERE TagName = 'N_AC001_01_AC_470_01.Data_2'
AND Value = (SELECT MIN(Value) FROM Runtime.dbo.History)
AND DateTime >= '2/15/2023... | Query doesnt recognize parameter | CC BY-SA 4.0 | null | 2023-03-02T11:04:25.680 | 2023-03-02T12:55:42.190 | 2023-03-02T12:55:42.190 | 15,376,214 | 15,376,214 | [
"sql",
"sql-server",
"wonderware"
] |
75,614,587 | 1 | 75,614,734 | null | -1 | 35 | I have the next test task:
```
arr = [4,3,2,1]
arr[0], arr[arr[0]-1] = arr[arr[0]-1], arr[0]
print(arr)
```
I'd expect the result as [1,3,2,4] as we assign new values to elements of the list. But it gives the result as the initially [4,3,2,1].
Why does it work in this way? Why does it change not the list?
If to make i... | Why such way to change a list doesn't change anything? | CC BY-SA 4.0 | null | 2023-03-02T11:06:01.870 | 2023-03-02T11:26:00.577 | 2023-03-02T11:17:16.507 | 20,266,105 | 20,266,105 | [
"python",
"list"
] |
75,614,592 | 2 | null | 35,051,169 | -1 | null | ```
return new Intl.NumberFormat(locale, { style: 'currency', currency: currencyCode }).format(value)
```
| null | CC BY-SA 4.0 | null | 2023-03-02T11:06:25.940 | 2023-03-02T11:06:25.940 | null | null | 4,522,890 | null |
75,614,590 | 2 | null | 74,680,592 | 0 | null | This is my code.
```
<div class="relative group">
<a class="text-md active:font-bold hover:text-blue-400 text-lg
text-center w-full no-underline sm:w-auto sm:pr-4 py-2 sm:py-1" >
Dropdown
</a>
<div class="absolute z-10 hidden bg-grey-200 group-hover:block">
<div class="px-2 pt-2 pb-4 bg-red-... | null | CC BY-SA 4.0 | null | 2023-03-02T11:06:23.250 | 2023-03-02T11:06:23.250 | null | null | 5,898,167 | null |
75,614,598 | 1 | null | null | 0 | 25 | In the given code the result of lw t2, 8(t0) should be 2 or ?
After that the 2 will be shifted left by 2 Bytes = 8.
But the add command is what confuses me. By my understanding we just add the 8 back to numbers.
(1,1,2,3,5,8,13,21,34,55,)
And if we load the first index of numbers in t3 there should be an 8 but the outp... | RV32I ASM lw command output? | CC BY-SA 4.0 | null | 2023-03-02T11:07:01.217 | 2023-03-02T11:09:13.073 | 2023-03-02T11:09:13.073 | 21,318,271 | 21,318,271 | [
"arrays",
"assembly",
"riscv"
] |
75,614,593 | 2 | null | 75,597,132 | 0 | null | As of now, Copyleaks API not arriving from fixed list of IP addresses. But, you have other alternatives to securing your endpoints. The options described here:
[https://api.copyleaks.com/documentation/v3/webhooks/security](https://api.copyleaks.com/documentation/v3/webhooks/security)
Another option you have to secure y... | null | CC BY-SA 4.0 | null | 2023-03-02T11:06:35.277 | 2023-03-02T11:06:35.277 | null | null | 1,846,762 | null |
75,614,594 | 2 | null | 75,568,674 | 1 | null | This seems fixed in Spring Boot `3.0.3` ; broken in `3.0.0` through `3.0.2`.
EDIT: The fix came in Spring Security `6.0.2`, when [DefaultSavedRequest.doesRequestMatch does not work, when matchingRequestParameterName is set](https://github.com/spring-projects/spring-security/issues/12665) was fixed.
| null | CC BY-SA 4.0 | null | 2023-03-02T11:06:35.697 | 2023-03-02T11:51:43.503 | 2023-03-02T11:51:43.503 | 12,545,156 | 12,545,156 | null |
75,614,591 | 2 | null | 75,614,272 | 0 | null | There can be several reasons for this. Firstly I would advice you to walk through this [tutorial](https://gist.github.com/bradtraversy/cd90d1ed3c462fe3bddd11bf8953a896). Maybe you won't need all steps, but do those you need.
Secondly chmod was the right idea, but you need to give the proper user acces, in this case the... | null | CC BY-SA 4.0 | null | 2023-03-02T11:06:24.667 | 2023-03-02T11:06:24.667 | null | null | 21,307,214 | null |
75,614,595 | 1 | null | null | 0 | 12 | We are using PowerBi on-premises server after the latest Feb update. the certified PowerBi visuals are loading extremely slow takes up to (3 Min) every time we open the page in bowser and even in report builder.
Example:
[https://appsource.microsoft.com/en-in/product/power-bi-visuals/WA104380756](https://appsource.micr... | PowerBi certified visual are loading slowly after PowerBI Server Feb 2023 Update | CC BY-SA 4.0 | null | 2023-03-02T11:06:47.973 | 2023-03-02T11:06:47.973 | null | null | 3,419,357 | [
"powerbi",
"power-bi-report-server"
] |
75,614,604 | 2 | null | 36,571,560 | 0 | null | Since Python 3.4 we have [redirect_stdout](https://docs.python.org/3/library/contextlib.html#contextlib.redirect_stdout):
```
import contextlib
with open('output.txt', 'w') as f, contextlib.redirect_stdout(f):
print("Hello stackoverflow!")
print("I have a question.")
```
| null | CC BY-SA 4.0 | null | 2023-03-02T11:07:50.040 | 2023-03-02T11:07:50.040 | null | null | 12,671,057 | null |
75,614,601 | 1 | null | null | -2 | 20 | I am trying to clean a column through .replace() and REGEX but I do not why the REGEX is grapping from the parenthesis with ?:
```
team W/L%
0 Toronto Raptors* (1) 0.72
1 Boston Celtics* (2) 0.6709999999999999
2 Philadelphia 76ers* (3) 0.634
3 ... | why this Regular expression is couning in the pattern 's'? | CC BY-SA 4.0 | null | 2023-03-02T11:07:31.990 | 2023-03-02T11:12:13.757 | 2023-03-02T11:12:13.757 | 10,315,163 | 20,883,750 | [
"python",
"pandas",
"regex"
] |
75,614,607 | 2 | null | 20,667,761 | 0 | null | You can run the composer without memory limitations of php
`php -d memory_limit=-1 `which composer` update`
| null | CC BY-SA 4.0 | null | 2023-03-02T11:07:58.267 | 2023-03-02T11:07:58.267 | null | null | 4,237,819 | null |
75,614,606 | 1 | null | null | 0 | 14 | When I run the test cases some of the schedular task got started. But I want that these schedular should not start at test .
I have tried by using `@Profile(!test)`, also `@ConditionalOnProperty()` and by putting `initialDelay` with `@Scheduled`. But didn't work
| How to disable the @EnableScheduling in SPringboot test cases | CC BY-SA 4.0 | null | 2023-03-02T11:07:56.370 | 2023-03-02T20:20:09.700 | 2023-03-02T20:20:09.700 | 6,584,878 | 14,667,483 | [
"java",
"spring-boot"
] |
75,614,603 | 1 | 75,615,536 | null | -1 | 44 | The console.log outputs the correct string but Jest keeps failing. Am I missing something?
This is the test:
```
const filterDesignationNum = require('./function on a specific NEO.js');
test('Filter NEOs by designation number', () => {
expect(filterDesignationNum).toMatch('Designation: 419880 (2011 AH37)')
});
```
... | Testing functions in Jest - | CC BY-SA 4.0 | null | 2023-03-02T11:07:47.483 | 2023-03-02T13:37:43.873 | 2023-03-02T13:37:43.873 | 3,001,761 | 21,318,286 | [
"javascript",
"jestjs"
] |
75,614,605 | 1 | 75,614,635 | null | 0 | 30 | I tried to using getchar() function to pause program when user enters 'm' or 'M'.
The main problem is I don't know why I can't use :
```
while (check != 'm' || check != 'M' );
```
Instead of:
```
while (check != 'm' && check != 'M' );
```
My code:
```
#include <iostream>
#include <cstdio>
using namespace std;
int m... | using getchar() function to pause program but something's wrong with it | CC BY-SA 4.0 | null | 2023-03-02T11:07:55.597 | 2023-03-02T11:10:36.027 | 2023-03-02T11:10:00.207 | 20,492,635 | 20,492,635 | [
"c++",
"getchar"
] |
75,614,608 | 2 | null | 75,605,213 | 0 | null | Starting off with your own solution, restricting all nests within "reviews" to two keys - "author" and "state" - and finally, setting "author" to .author.login
```
map({
title: .title,
URL: .url,
author: .author.login,
reviews: [(.reviews[] | with_entries(select(.key == "author" or .key == "state")) | .auth... | null | CC BY-SA 4.0 | null | 2023-03-02T11:08:07.760 | 2023-03-02T11:08:07.760 | null | null | 17,520,438 | null |
75,614,602 | 1 | null | null | 1 | 54 | I have created an Azure Function which is working well locally and after deploying it to Azure. the Azure Function integrate with SharePoint using Azure Active Directory App using certificate.
but when i stored the configuration values as secrets inside Key Vault, i start receiving those errors:-
```
2023-03-02T10:45:0... | Azure Function strop working after storing the configuration values inside Key Vault | CC BY-SA 4.0 | null | 2023-03-02T11:07:38.550 | 2023-03-02T18:01:40.277 | 2023-03-02T18:01:40.277 | 21,220,249 | 21,220,249 | [
"azure",
"azure-functions",
"azure-keyvault"
] |
75,614,612 | 2 | null | 43,083,955 | 0 | null | Here is my solution:::---
```
import base64
from base64 import b64decode, b64encode
def pdf_to_base64(file):
file_bytes = base64.b64encode(file.read())
base_64 = file_bytes.decode("ascii")
return base_64
```
| null | CC BY-SA 4.0 | null | 2023-03-02T11:08:20.427 | 2023-03-02T11:08:20.427 | null | null | 20,507,231 | null |
75,614,609 | 1 | null | null | 0 | 10 | I'm trying to do three things, and would like to do any and all programatically, ideally in cdk.
- - -
The use case is to deploy a hosted email entry point to a cloud process for demo purposes (where full SES domain verification may not be practical).
From what I can tell tell only (2) can be achieved with boto3? (1) ... | Set up free AWS WorkMail org/user/inbound rule programatically (boto3, cdk, cli)? | CC BY-SA 4.0 | null | 2023-03-02T11:08:08.723 | 2023-03-02T11:08:08.723 | null | null | 4,458,718 | [
"aws-lambda",
"command-line-interface",
"boto3",
"aws-cdk",
"amazon-workmail"
] |
75,614,610 | 1 | null | null | 0 | 10 | ```
<Span class='abc' id='cell-123'>test123</span>
```
How can I retrieve the value of span based on value
```
Xpath = //span[text()='test123']
CSS = span:contains('test123')
```
Above CSS is not working is the syntax correct? Can anyone help with how to retrieve the element value by CSS selector
| CSS selector to retrieve based on text value | CC BY-SA 4.0 | null | 2023-03-02T11:08:17.433 | 2023-03-02T11:08:17.433 | null | null | 8,913,732 | [
"selenium-webdriver",
"css-selectors"
] |
75,614,611 | 1 | null | null | -2 | 10 | i need some help if anyone can help me. i learn about SDN technology for cisco company and need to migrate to another vendor (juniper and Huawei) can anyone here give me references or books to file the gap for SDN for the other vendors (juniper and Huawei) like the different in (implementation) and (SDN control) and (d... | SDN technolgy migrate form cisco to juniper and huwaei | CC BY-SA 4.0 | null | 2023-03-02T11:08:19.260 | 2023-03-02T11:08:19.260 | null | null | 21,318,260 | [
"huawei-mobile-services",
"cisco",
"sdn",
"juniper"
] |
75,614,599 | 1 | null | null | 0 | 28 | I am attempting to use an angular component for Google Maps in a small app: [https://github.com/angular/components/blob/main/src/google-maps/README.md](https://github.com/angular/components/blob/main/src/google-maps/README.md)
This was working until recently. With no changes to my app, the map stopped displaying. I can... | Difficulty using MapMarker in @angular/google-maps | CC BY-SA 4.0 | null | 2023-03-02T11:07:24.540 | 2023-03-03T18:06:05.860 | 2023-03-03T18:06:05.860 | 593,031 | 593,031 | [
"angular",
"google-maps-markers"
] |
75,614,613 | 2 | null | 74,585,421 | 0 | null | ```
This happened to me also in T3Stack(https://github.com/t3-oss/create-t3-turbo) after upgrading superjson, @trpc/client and @trpc/server and packages:
"@trpc/client": "^10.9.0 -> ^ 10.13.2"
"@trpc/server": "^10.9.0 -> ^10.13.2",
"superjson": "1.9.1 -> ^1.12.1",
But it did not mess only with mutateAsync ... | null | CC BY-SA 4.0 | null | 2023-03-02T11:08:21.063 | 2023-03-02T11:08:21.063 | null | null | 17,050,137 | null |
75,614,614 | 1 | null | null | 0 | 19 | This question generalises a previously asked question: [Indexing a list of list of vectors with a list of indices](https://stackoverflow.com/q/75604871/19247883)
Given some data represented as a array of dimensions (N1,..., Nk, L, H), and a batch of indices of dimensions (N1,..., Nk), how can I index the data such that... | Indexing a batch of lists of vectors with a batch of indices, where there are an arbitrary number of batch dimensions | CC BY-SA 4.0 | null | 2023-03-02T11:08:34.913 | 2023-03-02T12:42:26.780 | null | null | 19,247,883 | [
"python",
"numpy",
"numpy-ndarray",
"numpy-slicing"
] |
75,614,615 | 1 | null | null | -1 | 37 | solved this task:
Turn a nested list into a flat list
Imagine that we have a list of integers with unlimited nesting. That is, our list can consist of lists, which can also have lists inside them. Your task is to turn it all into a linear list with the function flatten
flatten([1, [2, 3, [4]], 5]) => [1, 2, 3, 4, 5]
fl... | why is the operation of loops in a function different from the external operation? | CC BY-SA 4.0 | null | 2023-03-02T11:08:40.777 | 2023-03-02T22:49:58.267 | null | null | 21,197,294 | [
"python",
"python-3.x",
"function",
"for-loop",
"recursion"
] |
75,614,621 | 2 | null | 17,832,906 | 0 | null | ```
SELECT IF(TRIM(COALESCE(field1, '')) = '', '[ empty ]', field1) FROM tablename
```
field1 is null or any length of whitespace
See [TRIM](https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_trim) [COALESCE](https://dev.mysql.com/doc/refman/8.0/en/comparison-operators.html#function_coalesce) and [... | null | CC BY-SA 4.0 | null | 2023-03-02T11:09:24.660 | 2023-03-02T11:09:24.660 | null | null | 3,904,972 | null |
75,614,596 | 1 | null | null | 0 | 16 | I'm getting the above error when I'm running my test. I've spent ages looking at the other similar errors reported on here but I just can't resolve it. I've removed node-fetch and installed node-fetch@2 but I'm still getting the same error. Any ideas greatly appreciated.
Full error below:
```
C:\Windows\ServiceProfiles... | Error [ERR_REQUIRE_ESM]: require() of ES Module - Node-Fetch Issue? | CC BY-SA 4.0 | null | 2023-03-02T11:06:48.677 | 2023-03-02T11:06:48.677 | null | null | 17,914,989 | [
"node-fetch"
] |
75,614,617 | 1 | null | null | 0 | 19 | I would like to create function where input will be formatted from `999999999,99`
to `999 999 999,99`.
Is there any solution or library or I have to write some regex and add spaces after 3 numbers?
I have tried:
```
format() {
this.form.test.control
.setValue(formatCurrency(this.form.test.test.control.value, ... | How to format input in function | CC BY-SA 4.0 | null | 2023-03-02T11:09:01.900 | 2023-03-02T11:50:38.390 | 2023-03-02T11:50:38.390 | 21,235,535 | 21,235,535 | [
"angular",
"typescript",
"format"
] |
75,614,622 | 2 | null | 7,593,611 | 0 | null | You can simply pass an argument "headless" to test selenium without opening the browser.
```
op = webdriver.ChromeOptions()
op.add_argument('headless')
driver = webdriver.Chrome(options=op)
```
This code snippet will provide you exactly what you want.
| null | CC BY-SA 4.0 | null | 2023-03-02T11:09:32.337 | 2023-03-02T11:09:32.337 | null | null | 19,004,398 | null |
75,614,619 | 1 | 75,614,698 | null | 0 | 25 | I have a doubt when it comes to store array information, this is my API
```
WalletService.shared.getSiteDetails { siteDetails, error in
}
```
is going to give me the decodeJson information,
one of multiple information that is retrieving is
```
public let fuelGrades: [MBFuelGrades]?
```
W... | Store array custom array information | CC BY-SA 4.0 | null | 2023-03-02T11:09:07.183 | 2023-03-02T11:31:50.313 | 2023-03-02T11:20:12.427 | 5,820,010 | 12,011,865 | [
"ios",
"arrays",
"swift"
] |
75,614,627 | 2 | null | 75,613,098 | 0 | null | I think you are facing this error because of the dropdown list you are passing, first, check that the selected value is not null.
Also, make sure that all the dropdown values are different.
| null | CC BY-SA 4.0 | null | 2023-03-02T11:09:42.277 | 2023-03-02T11:09:42.277 | null | null | 15,638,854 | null |
75,614,624 | 1 | null | null | 0 | 99 | I recently wrote a simple console game in C++ and implemented a while loop that continued to ask the player if they wanted to play again until they had entered valid input. Initially, I used a bool value as the loop's control variable but eventually just opted for an infinite loop with break statements. Now that I'm re... | Are infinite while loops bad practice? | CC BY-SA 4.0 | null | 2023-03-02T11:09:37.243 | 2023-03-02T11:12:51.477 | 2023-03-02T11:10:29.717 | 20,179,584 | 20,179,584 | [
"c++",
"loops"
] |
75,614,620 | 1 | 75,614,997 | null | 1 | 30 | I have this VBA code. I want to fill in blank cells with the vakue above but only if the above cell is not a table header. It works user can select range of cells the code create a table if is not a table already. Maybe there woupd be better way like create the table if user click a cell somewhere in the table. the is... | Fill blank cells from above in VBA | CC BY-SA 4.0 | null | 2023-03-02T11:09:12.947 | 2023-03-02T11:53:46.957 | 2023-03-02T11:28:10.213 | 7,599,798 | 12,312,475 | [
"excel",
"vba"
] |
75,614,628 | 2 | null | 75,570,023 | 0 | null | The smart contract / chaincode only sees the ledger state, which is only modified by valid transactions. Transactions that do not pass validation are recorded on the blockchain but are not applied to the ledger.
You can obtain all transactions in a client application by using block eventing. The validation code is reco... | null | CC BY-SA 4.0 | null | 2023-03-02T11:09:42.737 | 2023-03-02T11:09:42.737 | null | null | 3,680,198 | null |
75,614,630 | 2 | null | 75,610,242 | 0 | null | I figured it out. The issue was that the table schema for the "settings" table was generated with identity sequence provider using "START WITH 1":
```
ALTER TABLE settings ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
SEQUENCE NAME settings_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO ... | null | CC BY-SA 4.0 | null | 2023-03-02T11:09:50.270 | 2023-03-02T11:09:50.270 | null | null | 1,977,508 | null |
75,614,631 | 2 | null | 47,928,735 | 0 | null | Here is what worked for me,
did npm install and that didn't fix it so I simply disabled windows defender firewall and then made a fresh cloning of the repo followed by npm start. That's it!
| null | CC BY-SA 4.0 | null | 2023-03-02T11:10:05.343 | 2023-03-02T11:10:05.343 | null | null | 8,639,696 | null |
75,614,632 | 2 | null | 75,614,535 | 0 | null | You cannot use SQL directly in select, instead do this,
```
df.createOrReplaceTempView('DATA')
col_list = [<enter column names here>]
for i in col_list:
sql_query = spark.sql(f"select * from data where {i} is null")
sql_query.show()
```
or you can also do this,
```
for i in col_list:
df.filter(F.col(i).i... | null | CC BY-SA 4.0 | null | 2023-03-02T11:10:08.863 | 2023-03-02T11:10:08.863 | null | null | 11,713,502 | null |
75,614,629 | 2 | null | 73,160,221 | 0 | null | 7 months late, but I'm currently using a docker instance to try and fix a bunch of corrupt indices outside the cluster and was running into the same - so I'm documenting for posterity as well as future me running into this again :-)
The fix is simple: you run the container, but you override the entrypoint. That is to s... | null | CC BY-SA 4.0 | null | 2023-03-02T11:09:44.557 | 2023-03-02T11:09:44.557 | null | null | 1,479,331 | null |
75,614,633 | 1 | null | null | 0 | 14 | i have a browseSuppportFragment for my tv application containing headers, i need to set default selected item after the menu is fully loaded
the problem is when i put these in `onViewCreated`
```
fragment.setSelectedPosition(2, true, new ListRowPresenter.SelectItemViewHolderTask(1));
```
so the menu disappear, i need ... | android browseSupportFragment how to check when rows are fully loaded? | CC BY-SA 4.0 | null | 2023-03-02T11:10:20.927 | 2023-03-02T11:10:20.927 | null | null | 3,276,411 | [
"android",
"android-fragments"
] |
75,614,616 | 1 | null | null | 0 | 19 | I'm trying to setup a mapping for a table with a composite key, but in which I'm only interested in the values with a fixed value in one of the key columns. Example:
| first | second | value |
| ----- | ------ | ----- |
| 100 | 1 | 42 |
| 100 | 2 | 42 |
The goal is to have only First and Value properties in `Ent... | Insert into table with "where" clause in the mapping | CC BY-SA 4.0 | null | 2023-03-02T11:08:45.617 | 2023-03-02T11:25:49.950 | 2023-03-02T11:25:49.950 | 13,134,076 | 13,134,076 | [
"nhibernate"
] |
75,614,637 | 2 | null | 75,614,370 | 0 | null | i think this part make this: " focus:ring-1 focus:ring-indigo-500 focus:ring-offset-4 "
try:
focus:border focus:border-indigo-500 focus:px-4 focus:py-2
py and px (give your values)
| null | CC BY-SA 4.0 | null | 2023-03-02T11:10:43.480 | 2023-03-02T11:10:43.480 | null | null | 14,909,793 | null |
75,614,634 | 1 | null | null | 0 | 3 | Seeing a Added by after the link i unfurled in the channel want to remove it. I am using chat.unfurl with channelid and ts and blocks.[enter image description here](https://i.stack.imgur.com/zSGdA.png)
Still looking for a solution
| How to remove the added by - app_name shown when unfurling a link in Slack | CC BY-SA 4.0 | null | 2023-03-02T11:10:29.087 | 2023-03-02T11:10:29.087 | null | null | 21,318,393 | [
"node.js",
"slack",
"slack-api"
] |
75,614,635 | 2 | null | 75,614,605 | 3 | null | ```
while (check != 'm' || check != 'M' );
```
is nonsense because the condition will always be true assuming that `'m'` and `'M'` have different values.
When `check` equals to `'m'`, it is not equal to `'M'`, so `check != 'M'` is true and the condition is true.
When `check` doesn't equal to `'m'`, `check != 'm'` is t... | null | CC BY-SA 4.0 | null | 2023-03-02T11:10:36.027 | 2023-03-02T11:10:36.027 | null | null | 4,062,354 | null |
75,614,626 | 1 | null | null | 0 | 17 | We need to analyse network traffic, and specifically we need to get the `response time` value for internal service to service traffic and internal to external service traffic.
This works well for internal services where Kiali shows response time value including protocol (http). However, for `MESH_EXTERNAL` ServiceEntri... | Kiali not showing response time for MESH_EXTERNAL ServiceEntry configured as HTTPS | CC BY-SA 4.0 | null | 2023-03-02T11:09:42.113 | 2023-03-02T11:09:42.113 | null | null | 11,550,691 | [
"openshift",
"istio",
"istio-kiali"
] |
75,614,639 | 2 | null | 75,614,585 | 3 | null | On Nexus, when you remove some artifacts, not the whole disk space would be freed, for performance reasons.
In order to get the "missing space" be reclaimed you should instrument the blob store compact tasks, like mine:
[](https://i.stack.imgur.com/PoIoy.png)
| null | CC BY-SA 4.0 | null | 2023-03-02T11:10:53.957 | 2023-03-02T11:10:53.957 | null | null | 418,599 | null |
75,614,640 | 2 | null | 48,324,608 | 0 | null | If you are trying to create a client for a api has , you should start the Java command with a necessary option.
-Dorg.apache.cxf.stax.allowInsecureParser=1
| null | CC BY-SA 4.0 | null | 2023-03-02T11:11:08.090 | 2023-03-02T11:11:08.090 | null | null | 5,788,964 | null |
75,614,643 | 1 | null | null | -1 | 12 | I have two dfs and in case a variabe named 'id_rc_selected' matches with any of the first df 'id', I want to print a value of that first df 'actual'. If not, then I want to print a value in the other df called 'inicial'. I am trying to do so with in operator but when I run the code I never trigger the true condition. W... | using in operator does not triggers true condition | CC BY-SA 4.0 | null | 2023-03-02T11:11:36.893 | 2023-03-02T11:11:36.893 | null | null | 14,089,824 | [
"python",
"pandas",
"if-statement",
"operators"
] |
75,614,580 | 1 | null | null | 1 | 41 | I'm trying to count the documents in a collection for a given filter. Using `countDocuments` uses up to `1s per 100'000 documents`, which is kind of slow and not consdering the impact is has on the db if multiple users trigger this count every few seconds to minutes.
Under the hood `countDocuments()` translates to this... | Count documents in Java MongoDB driver only without FETCH phase | CC BY-SA 4.0 | null | 2023-03-02T11:04:36.693 | 2023-03-02T16:35:49.423 | 2023-03-02T15:10:29.740 | 4,871,597 | 4,871,597 | [
"java",
"mongodb",
"performance",
"count",
"mongo-shell"
] |
75,614,642 | 1 | null | null | -1 | 11 | Hi this link in the dropdown menu. How can I click without opening the menu?
I want to click on "".
```
html code ---> <div class="abcdef_button_small" onclick="if (!check_health(1,3)) return; if (!check_timers(1,$(this))) return; $('#dialog_abcdefs .disabled_controls').show(); cmd('abcdef:perxform',{'id':'5'},true)... | How do I click Selenium "onclick" in dropdown menu | CC BY-SA 4.0 | null | 2023-03-02T11:11:30.063 | 2023-03-02T11:11:30.063 | null | null | 20,904,142 | [
"selenium-webdriver",
"onclick"
] |
75,614,636 | 1 | null | null | 0 | 20 | I am trying to make a chat using `UITableView`. New messages keep appearing from the bottom (table is rotated 180 as usual for these cases) - let's call this operation `insertion`. Also some messages which are already in the table should be updated - status change, text edits, etc... Let's call this one `edit`.
So, for... | UITableView multiple row updates: inserts+removes | CC BY-SA 4.0 | null | 2023-03-02T11:10:43.110 | 2023-03-02T13:17:29.667 | 2023-03-02T11:23:17.290 | 9,696,788 | 9,696,788 | [
"ios",
"swift",
"uitableview",
"uikit"
] |
75,614,645 | 2 | null | 75,614,520 | 0 | null | Your Laravel query is close, but the problem is with the way you are using the `whereJsonContains` method. The method is looking for an exact match of the array you pass in, which includes both the email and the pm key-value pairs. However, in your data structure, the pm key-value pair is nested within each object in t... | null | CC BY-SA 4.0 | null | 2023-03-02T11:11:46.467 | 2023-03-02T11:11:46.467 | null | null | 11,581,254 | null |
75,614,647 | 1 | 75,615,198 | null | 2 | 26 | I'm looking for a way to generate all matrices (p,q) having exactly n "1" value with no column or line having more than one "1" value (a kind of chess n towers problem).
Here is a simple example in python for p=4, q=4 and n=2:
```
for i1 in range(4*4):
x1, y1 = i1//4, i1%4
for i2 in range(i+1,4*4):
x2, ... | How to generate all pxq matrices with n values "1" with no columns or lines having two "1" (chess n-towers problem) | CC BY-SA 4.0 | null | 2023-03-02T11:12:23.187 | 2023-03-02T12:06:29.790 | null | null | 3,348,261 | [
"python",
"numpy"
] |
75,614,644 | 1 | null | null | 0 | 24 | Lets say that my JSON object looks like -
```
"properties": {
"Browser language tally (favorite)": "ja"
}
```
I've tried using JSON_VALUE, JSON_EXTRACT, JSON_EXTRACT_SCALAR and I always get the same error - Invalid token in JSONPath at: .`Browser language tally (favorite)`
These are all the combin... | BigQuery error using JSON_EXTRACT or JSON_VALUE when the keypair has special characters | CC BY-SA 4.0 | null | 2023-03-02T11:11:38.823 | 2023-03-02T11:14:50.280 | 2023-03-02T11:14:50.280 | 21,318,394 | 21,318,394 | [
"json",
"google-cloud-platform",
"google-bigquery"
] |
75,614,641 | 1 | null | null | 0 | 8 | Sometime, our jenkins pipeline failed during cypress test step due to missing ffmpeg. The strange path is ffmpeg only missing after some tests finished.
```
[03:13:28.835+07:00] - Running: test/user-test-01.cy.ts (6 of 17)
[03:13:28.835+07:00] - [850:0301/211328.647529:ERROR:zygo... | Missing ffmpeg during cypress test run in Jenkins | CC BY-SA 4.0 | null | 2023-03-02T11:11:17.147 | 2023-03-02T11:11:17.147 | null | null | 4,015,729 | [
"javascript",
"node.js"
] |
75,614,652 | 2 | null | 75,614,624 | 0 | null | Technically, there is a way to get out of this loop by pressing `n`, however I prefer solutions with some boolean variable like `game_running` that you set to false once you want to exit the game loop and end the program.
From my point of view, anyone reading the code would have a faster grasp on the program logic.
| null | CC BY-SA 4.0 | null | 2023-03-02T11:12:51.477 | 2023-03-02T11:12:51.477 | null | null | 13,285,779 | null |
75,614,650 | 1 | null | null | 0 | 43 | [](https://i.stack.imgur.com/Qc5hm.png)
I have a Pine Script, where I measure volume flow with two lines with different length. The length of the white line is approximately 40, the length of the green line is approximately 130. I want to know (put a label for now), where green and white lines go through the middle (ze... | How to check whether two lines are going through middle together in Pine Script? | CC BY-SA 4.0 | null | 2023-03-02T11:12:33.557 | 2023-03-03T04:52:56.233 | 2023-03-02T22:44:40.727 | 6,277,104 | 21,318,359 | [
"pine-script",
"algorithmic-trading",
"pine-script-v4"
] |
75,614,646 | 1 | null | null | 0 | 60 | This is my folder structure , I have problems to execute tests here when i run ImageEditorTest noting happend.I started to learn testing so it can some stupid mistake but i cant find out what is it.It been few days i started it and cant find solution.
```
+---app
| ...
|
+---bin
| ...
+---bindings
| ...
|
+---src
| ... | Catch2 unit tests dont work with premake project | CC BY-SA 4.0 | null | 2023-03-02T11:11:54.637 | 2023-03-04T12:03:47.470 | 2023-03-04T12:03:47.470 | 2,684,539 | 20,130,220 | [
"c++",
"unit-testing",
"testing",
"conan",
"premake"
] |
75,614,651 | 1 | null | null | -1 | 17 | Might be a bit off-topic, but I can't imagine I'm the only one with this problem. If I click the big `GET HELP` button on the Mozilla's [Get community support](https://support.mozilla.org/bm/kb/get-community-support?exit_aaq=1) page, it looks like I was getting somewhere useful, with the "Select Product - Explore Solut... | How to ask a question on Firefox support forum? | CC BY-SA 4.0 | null | 2023-03-02T11:12:49.373 | 2023-03-03T14:36:40.997 | 2023-03-03T14:36:40.997 | 3,378,985 | 3,378,985 | [
"firefox",
"forum"
] |
75,614,656 | 2 | null | 60,213,787 | 0 | null | Include a flag ,in the request body.
| null | CC BY-SA 4.0 | null | 2023-03-02T11:13:02.113 | 2023-03-02T11:13:02.113 | null | null | 19,258,237 | null |
75,614,654 | 2 | null | 75,614,235 | 2 | null | You can use [groupBy](https://docs.mulesoft.com/dataweave/2.4/dw-core-functions-groupby) to group using the article.
After grouping you will get a result as on object that will look something like this
```
{
"article_1_id": [{..all objects related to that article}],
"article_2_id": [{..all objects related to that a... | null | CC BY-SA 4.0 | null | 2023-03-02T11:12:54.037 | 2023-03-02T12:58:18.950 | 2023-03-02T12:58:18.950 | 10,946,202 | 10,946,202 | null |
75,614,657 | 2 | null | 18,680,991 | 0 | null |
> iisreset
- Open Command Prompt(Administrator)- C:\Windows\System32>ipconfig/flushdns> ipconfig/flushdns
| null | CC BY-SA 4.0 | null | 2023-03-02T11:13:04.783 | 2023-03-02T11:13:04.783 | null | null | 15,019,772 | null |
75,614,649 | 1 | null | null | 0 | 29 | Can you spot my error trying to plot a linear model with interaction between column city and sqft?
str(data) looks like this:

```
model <- lm(price ~ sqft * city, data = data)
ggplot(data, aes(x = sqft, y = price, color = city)) +
geom_point() +
ge... | Can't find object 'city' when using formula | CC BY-SA 4.0 | null | 2023-03-02T11:12:27.320 | 2023-03-02T20:24:07.520 | 2023-03-02T20:24:07.520 | 1,968 | 16,732,575 | [
"r",
"ggplot2"
] |
75,614,659 | 1 | null | null | 0 | 20 | I am making a pong game for a project and for some reason the position of the paddle changes the speed of the ball movement (I'm assuming because it somehow increases the processing time of this loop).
If the paddle is in it's start position, the ball moves as I would expect it to, if the paddle is at the top or bottom... | Position of a turtle affecting processing speed of a loop | CC BY-SA 4.0 | null | 2023-03-02T11:13:17.117 | 2023-03-02T11:13:17.117 | null | null | 20,714,550 | [
"python",
"python-3.x",
"turtle-graphics"
] |
75,614,662 | 2 | null | 57,504,374 | 0 | null | ```
interface IQuery<out TResult> : IRequest<TResult>
{
}
```
```
interface IQueryHandler<in TQuery, TResult> : IRequestHandler<TQuery, TResult>
where TQuery : IQuery<TResult>
{
}
```
You can find a good example of how to set up MediatR for custom Commands/Queries here: [https://github.com/LeftTwixWand/ModernCQRS... | null | CC BY-SA 4.0 | null | 2023-03-02T11:13:46.393 | 2023-03-02T11:13:46.393 | null | null | 12,037,963 | null |
75,614,665 | 2 | null | 57,693,343 | 0 | null | To work with time in nova 4, I did the following what is working fine for now.
```
DateTime::make('time_to')->displayUsing(function ($value) {
return $value->format('H:i');
})->exceptOnForms(),
Text::make('time_to')->resolveUsing(function ($date) {
$timestamp = new \DateTime($date);
return $timestamp->form... | null | CC BY-SA 4.0 | null | 2023-03-02T11:13:56.960 | 2023-03-02T11:13:56.960 | null | null | 2,547,127 | null |
75,614,667 | 2 | null | 75,612,459 | 1 | null | After a bit of research I was able to make it work. Credit to @JvdV
```
(\$(G[ABILNPQ][A-Z]{3}(?:,(-?\d*(\.\d+)?(?:\.\d+)?|[a-zA-Z]+|))+\w*\*[\dA-Fa-f]{2})$)
```
| null | CC BY-SA 4.0 | null | 2023-03-02T11:14:10.380 | 2023-03-02T15:01:02.063 | 2023-03-02T15:01:02.063 | 9,124,096 | 9,124,096 | null |
75,614,661 | 1 | null | null | 0 | 15 | If I run a failing test in Kotlin Native, line number of source code won't show properly in the failure message.
```
kotlin.AssertionError: Expected value to be false.
at kotlin.Throwable#<init>(Unknown Source)
at kotlin.Error#<init>(Unknown Source)
at kotlin.AssertionError#<init>(Unknown Source)
at kot... | Stacktrace of assertion failure in Kotlin Native unit test doesn't show line number of source code properly | CC BY-SA 4.0 | null | 2023-03-02T11:13:33.010 | 2023-03-02T13:23:30.260 | 2023-03-02T13:23:30.260 | 17,974,637 | 17,974,637 | [
"kotlin",
"kotlin-multiplatform",
"kotlin-native"
] |
75,614,666 | 1 | null | null | 0 | 11 | I have a custom hook. This custom hook retreives a UserUID from my Firebase UserAuthContext.
```
const useRegisteredUser = (userUID) => {
const { authenticatedUser: { userState, updateUserData } } = new User();
useEffect(() => {
const getUserData = async () => {
const docSnap = await getDoc(doc(db, "registeredU... | Store persistent User Data from Firebase in ReactJS | CC BY-SA 4.0 | null | 2023-03-02T11:14:02.200 | 2023-03-02T13:02:45.327 | 2023-03-02T13:02:45.327 | 5,346,503 | 5,346,503 | [
"reactjs"
] |
75,614,670 | 1 | 75,614,867 | null | 2 | 33 | ```
import pandas as pd
df1 = pd.DataFrame({'col_name':['12','13','14','15','16','17','18','19','20','21','22','23']})
df2 = pd.DataFrame({'col_name_aggr':['12|13|14', '10|21', '12|15|23'],
'color':['Blue', 'Red', 'Green']})
```
How can I merge those two dataframes such that the resulting data ... | Joining two Dataframes under string.find() condition | CC BY-SA 4.0 | null | 2023-03-02T11:14:13.217 | 2023-03-02T12:05:42.743 | 2023-03-02T11:16:06.043 | 12,378,397 | 12,378,397 | [
"python-3.x",
"pandas",
"dataframe"
] |
75,614,658 | 1 | null | null | 0 | 53 | In the following example, there is a SwiftUI Menu and a Button that triggers a sheet. If you press the button while the menu is visible, this can cause the following error and then the button will be without function, giving the following error log (it might take a few tries):
```
2023-03-02 12:01:59.850609+0100 SheetB... | Sheet and Menu conflict with each other | CC BY-SA 4.0 | null | 2023-03-02T11:13:08.557 | 2023-03-03T18:52:00.607 | 2023-03-03T18:52:00.607 | 128,083 | 128,083 | [
"swiftui"
] |
75,614,671 | 2 | null | 75,614,165 | 0 | null |
I had to set your Array List to:
```
Dim Säkringar As Object 'List with fuses
Dim Blad As Object 'List with sheets
Set Säkringar = CreateObject("System.Collections.ArrayList")
Set Blad = CreateObject("System.Collections.ArrayList")
```
The problem is in `FIND`.
`sKolumn = Blad(i).Cells(1, 1).EntireRow.Find(What:="Sä... | null | CC BY-SA 4.0 | null | 2023-03-02T11:14:13.957 | 2023-03-02T11:27:01.303 | 2023-03-02T11:27:01.303 | 4,677,305 | 4,677,305 | null |
75,614,655 | 1 | null | null | 0 | 9 | I'm trying to integrate a bootstrap template with angular project, this template uses wow.js library, so I tried to install this library as bellow:
1- install wow.js using npm
```
npm I wowjs
```
2- install nxg-wow
```
npm i ngx-wow
```
And in app.module.ts I added the NgwWowModule in imports:
```
import { NgwWowModu... | ngx-wow library not working with Angular14 | CC BY-SA 4.0 | null | 2023-03-02T11:12:55.193 | 2023-03-02T11:12:55.193 | null | null | 15,023,077 | [
"angular",
"npm",
"wow.js"
] |
75,614,673 | 2 | null | 75,613,937 | 0 | null | You have to regenerate your session in order to authenticate successfully. Here you can read more: [https://laravel.com/docs/10.x/authentication#authenticating-users](https://laravel.com/docs/10.x/authentication#authenticating-users)
Try to add this line to your Code:
```
$request->session()->regenerate();
```
so that... | null | CC BY-SA 4.0 | null | 2023-03-02T11:14:16.757 | 2023-03-02T11:14:16.757 | null | null | 12,872,923 | null |
75,614,669 | 1 | null | null | 0 | 58 | I have an image inside aboslute div. I want image to be responsive and max width 100% (its own width).
With following code this work well, however ONLY if I add width:100% on '.item'. I dont want that because it blocks any potential content behind (z-index or pointer-events are not accepted). I cannot use flex on wrap ... | img width inside an absolutely positioned parent element | CC BY-SA 4.0 | null | 2023-03-02T11:14:11.527 | 2023-03-02T13:29:21.600 | 2023-03-02T12:15:54.607 | 3,536,236 | 1,009,466 | [
"html",
"css"
] |
75,614,674 | 1 | null | null | 1 | 12 | am trying to automatically set first name and last name to slug on store and update. but am getting error: General error: 1364 Field 'slug' doesn't have a default value.
I have this in the model, what am doing wrong?
```
public function setSlugAttribute($value)
{
$firstName = $this->attributes['first_name']... | Laravel set slug attribute | CC BY-SA 4.0 | null | 2023-03-02T11:14:19.860 | 2023-03-02T11:54:22.327 | null | null | 20,597,340 | [
"php",
"laravel",
"attributes",
"slug"
] |
75,614,675 | 1 | null | null | 0 | 13 | I've created a custom fields called `RelativeURLField` that inherits the CharField from django.db.models.CharField.
```
from django.db import models
from django.core.validators import RegexValidator
class RelativeURLField(models.CharField):
default_validators = [RegexValidator(
regex=r'^(http(s)?:\/\/.)?(... | Django custom database field - psycopg2.errors.SyntaxError: syntax error at or near "None" | CC BY-SA 4.0 | null | 2023-03-02T11:14:21.497 | 2023-03-02T11:14:21.497 | null | null | 13,803,561 | [
"django",
"database",
"postgresql",
"psycopg2",
"django-orm"
] |
75,614,676 | 1 | null | null | 0 | 11 | on using the vtkThresholdPoints to threshold a mesh it returns back just the points. I need to get back the mesh with its surface again, not just the points.
[](https://i.stack.imgur.com/0wZeO.png)
I need to get the thresholded mesh with the surface.
this is my code:
```
threshold = vtkThresholdPoints()
threshold.SetI... | vtkThresholdPoints how to get the mesh back with a surface not just points | CC BY-SA 4.0 | null | 2023-03-02T11:14:22.247 | 2023-03-03T09:04:10.400 | null | null | 17,036,637 | [
"python",
"vtk",
"qvtkwidget",
"vtk-9.1.0"
] |
75,614,680 | 2 | null | 75,582,693 | 1 | null | I can tell you what worked for me on minikube,I am not 100% sure that is going to work on EKS.
You must edit
```
kubectl edit deployment/metrics-server -n kube-system
```
add this line
```
- --metric-resolution=15s
- --kubelet-insecure-tls <- THIS LINE MUST BE ADDED
image: k8s.gcr.io/metrics-server
```
Check again wi... | null | CC BY-SA 4.0 | null | 2023-03-02T11:14:35.973 | 2023-03-02T11:14:35.973 | null | null | 4,723,732 | null |
75,614,679 | 1 | null | null | 0 | 36 | The following code finds the table but only returns the headers, but when I open the url in the browser it shows many rows of data.
Furthermore, if someone knows how to interact with the dates parameter (see image) I would really appreciate :). I tried passing the parameters on the request but it's not working.
```
df ... | Pandas read_html only returns headers | CC BY-SA 4.0 | null | 2023-03-02T11:14:34.730 | 2023-03-02T16:35:39.197 | null | null | 13,596,533 | [
"pandas",
"dataframe",
"post",
"python-requests-html"
] |
75,614,681 | 2 | null | 75,612,215 | 0 | null |
## Move Cells
- `L`
```
Option Explicit
Sub MoveCells()
Const FIRST_CELL As String = "L2"
Const CHARS_LEN As Long = 8
If ActiveSheet Is Nothing Then Exit Sub ' no visible workbooks open
If Not TypeOf ActiveSheet Is Worksheet Then Exit Sub ' not a worksheet
Dim ws As Worksheet: Set... | null | CC BY-SA 4.0 | null | 2023-03-02T11:14:45.670 | 2023-03-02T11:14:45.670 | null | null | 9,814,069 | null |
75,614,682 | 1 | null | null | -2 | 5 | We are facing some challenges with the number of screenshots taken in our test execution.
In case screenshots or steps goes beyond 5000 it is throwing out of memory execution
Does the COTs tools provide good alternative for memory management
What is the max testcases that tools like UFT , Seetest or others support.
we ... | is there any limitations on the number of testcases and test steps in COTs tools | CC BY-SA 4.0 | null | 2023-03-02T11:14:50.387 | 2023-03-02T11:14:50.387 | null | null | 7,009,002 | [
"testing",
"automation",
"cots"
] |