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,626,372 | 2 | null | 17,738,966 | 0 | null | You can use this method;
```
private fun disableBackPress() {
activity?.onBackPressedDispatcher?.addCallback(viewLifecycleOwner, object : OnBackPressedCallback(true) {
override fun handleOnBackPressed() {
// do nothing for disable back button
}
})
}
```
| null | CC BY-SA 4.0 | null | 2023-03-03T11:13:56.423 | 2023-03-03T11:13:56.423 | null | null | 12,805,923 | null |
75,626,365 | 1 | null | null | 0 | 30 | I have a JSON file with a field named "AdditionalFields" as below-
"additionalFields":
```
[
{
"fieldName":"customer_name",
"fieldValue":"ABC"
},
{
"fieldName":"deviceid",
"fieldValue":"1234"
},
{
"fieldName":"txn_id",
"fieldValue":"2"
},
{
"fieldName":"txn... | Parse additional fields Struc from JSON into separate columns in Pyspark | CC BY-SA 4.0 | null | 2023-03-03T11:13:28.663 | 2023-03-03T16:04:55.220 | 2023-03-03T16:04:55.220 | 4,420,967 | 21,325,444 | [
"json",
"parsing",
"pyspark"
] |
75,626,375 | 2 | null | 75,625,892 | 1 | null | I suggest you check [this](https://www.codejava.net/frameworks/spring-boot/rest-api-request-validation-examples)
especially sixth paragraph, where he explains which sort of constraints work for which datatypes.
| null | CC BY-SA 4.0 | null | 2023-03-03T11:14:06.647 | 2023-03-03T11:14:06.647 | null | null | 7,307,613 | null |
75,626,376 | 1 | null | null | 0 | 20 | I am getting this error and I am not able to figure out the cause.
code:
[This is my code, please review](https://i.stack.imgur.com/6JLsK.png)
Tried to do some dynamic routing, expected to get an output rather I got this error
| SyntaxError: Unexpected token < in JSON at position 0 NEXTJS dynamic routing | CC BY-SA 4.0 | null | 2023-03-03T11:14:06.873 | 2023-03-03T11:35:30.537 | null | null | 21,325,447 | [
"next.js",
"nextjs-dynamic-routing"
] |
75,626,366 | 2 | null | 75,600,267 | 0 | null | Just a rough start, but edit the rows to occupy 5 columns of space, 4 for the row data/fields and 1 for the remove button. You can tweak the column spans to adjust the UI to your liking.
Table
```
<Table sx={{ minWidth: 650 }} aria-label="simple table">
<TableHead>
<TableRow
sx={{
th: { border: 0 }
... | null | CC BY-SA 4.0 | null | 2023-03-03T11:13:32.037 | 2023-03-03T11:13:32.037 | null | null | 8,690,857 | null |
75,626,368 | 1 | null | null | 0 | 27 | I have created a web application that uses the mediaPipe API. With this APP i use the rear camera to detect a person's face and click the picture.
Once the picture is clicked i get the MediaPipe api resultimage object that i write on Canvas. It works well expect the image gets Zoom out on the canvas and the quality of ... | the image get zoomed out and quality is poor when taking from vedio camera using javascript | CC BY-SA 4.0 | null | 2023-03-03T11:13:45.897 | 2023-03-03T14:25:33.417 | null | null | 4,977,890 | [
"javascript",
"reactjs",
"html5-canvas",
"getusermedia",
"mediapipe"
] |
75,626,377 | 1 | null | null | 0 | 10 | Can't able to push a reactjs project into the Repo. Either it shows HTTP 413 error or HTTP 524. Increase the Gitlab push size and nginx['client_max_body_size'] = "500m" but still the same issue. Tried all the solution given in the internet but nothing seems to solve this issue. Stuck for almost 2 weeks.
Tried pushing t... | AWS Gitlab - error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 | CC BY-SA 4.0 | null | 2023-03-03T11:14:12.623 | 2023-03-03T11:14:12.623 | null | null | 4,999,315 | [
"amazon-web-services",
"http",
"amazon-ec2",
"gitlab",
"http-status-code-413"
] |
75,626,361 | 1 | null | null | 0 | 20 | As I am devoting my time and energy towards the completion of a particular project, I have come to realize that in order to achieve the desired aesthetic and functionality of my webpage, it is of utmost importance that the header remains static and fixed in position, even in the event of scrolling down the page. In ess... | Header not staying on top when scrolling | CC BY-SA 4.0 | null | 2023-03-03T11:13:00.637 | 2023-03-03T12:08:05.573 | null | null | 16,880,932 | [
"css",
"reactjs",
"frontend",
"header",
"react-css-modules"
] |
75,626,369 | 1 | null | null | 0 | 16 | I have a problem with updating npm packages that indicates my lack of understanding `peerDependencies` and / or the `^ caret` version range.
### State until now:
My project `my-app` has a dependency to a package `awesome-lib` in version `6.1.0`.
It also has a dependency to a package `miracle-lib` in version `3.2.0-a... | Unable to resolve dependency tree but caret requirement should actually be met | CC BY-SA 4.0 | null | 2023-03-03T11:13:46.077 | 2023-03-03T11:13:46.077 | null | null | 529,359 | [
"javascript",
"typescript",
"npm",
"dependency-management",
"semantic-versioning"
] |
75,626,373 | 1 | null | null | 0 | 14 | I'm using google cloud platform's batch feature to run containers in parallel and, in certain regions, after a while, I wind up hitting this error:
```
{
"textPayload": "docker: Error response from daemon: mkdir /var/lib/docker/overlay2/8000fd83d3d88faf613413bc2bf93c89664bfc45daf4e0f3783e4a754f02a27f-init: no space... | Batch job on Google Cloud Platform using Docker image has out-of-memory error before even starting | CC BY-SA 4.0 | null | 2023-03-03T11:14:01.070 | 2023-03-04T13:24:26.833 | null | null | 11,255,651 | [
"google-cloud-platform"
] |
75,626,380 | 1 | null | null | -1 | 7 | I've set up firebase distribution for an alpha version of an ios app. The app is signed as adhoc with two devices registered. Both testers see the releases in the app distribution account but only one can install it.
On the other device a green notification "download started..... check your home screen for progress" sh... | firebase distribution: download of ios app hangs on ipad | CC BY-SA 4.0 | null | 2023-03-03T11:14:24.603 | 2023-03-03T11:14:24.603 | null | null | 360,226 | [
"ios",
"firebase",
"ipad",
"firebase-app-distribution"
] |
75,626,379 | 1 | null | null | 0 | 9 | I have a Helm chart where a certain value is set when a release is installed and changing it would break the underlying software.
There are many cases when someone could accidentally change it and if the change gets applied - it's game over - several hours of recovery from backups.
I would like to implement a check on ... | Helm chart prevent value from being changed | CC BY-SA 4.0 | null | 2023-03-03T11:14:13.910 | 2023-03-03T11:14:13.910 | null | null | 894,209 | [
"kubernetes-helm",
"helm3"
] |
75,626,371 | 1 | null | null | 0 | 14 | One needs to configure some rewrite rules for Angular SPAs to redirect requests to the `index.html`: [https://angular.io/guide/deployment#server-configuration](https://angular.io/guide/deployment#server-configuration)
We use the Jhipster generator (Spring Boot) as a starting point for our applications and usually wesep... | How to define rewrite rules for a jhipster application with angular frontend running productive as jar with embedded tomcat? | CC BY-SA 4.0 | null | 2023-03-03T11:13:55.930 | 2023-03-03T12:38:20.287 | null | null | 5,214,044 | [
"angular",
"spring-boot",
"url-rewriting",
"jhipster",
"embedded-tomcat"
] |
75,626,383 | 1 | null | null | 1 | 10 | In Libreoffice Impress I can select a slide, File, Export, and select png, gif, jpg from the pull-down menu. I thought openxml sdk would let you automate any function within Libreoffice but apparently not.
I also tried running soffice.exe at the command line and converting to html but that didn't generate image files.... | How export libreoffice Impress to image | CC BY-SA 4.0 | null | 2023-03-03T11:14:38.190 | 2023-03-03T11:14:38.190 | null | null | 5,056,011 | [
"c#",
"libreoffice",
"openxml-sdk"
] |
75,626,381 | 1 | null | null | 0 | 11 | I'm using Nextjs and storybook , storybook isn't displaying images that are in png and jpg format
I expected to get an image but got a broken image
[navbar logo is an image in png format](https://i.stack.imgur.com/o9L4l.jpg)
I did this to integrate nextjs and storybook
```
npx storybook@next init
```
[https://storyboo... | Storybook not rendering images in png and svg format | CC BY-SA 4.0 | null | 2023-03-03T11:14:25.350 | 2023-03-03T17:01:23.797 | 2023-03-03T17:01:23.797 | 20,404,766 | 20,404,766 | [
"typescript",
"next.js",
"storybook",
"nextjs-storybook"
] |
75,626,382 | 1 | null | null | 0 | 15 | Sublime text autocompletes with the following style
```
if (/* condition */)
{
/* code */
}
```
However, I prefer the braces to be "cuddled" like this:
```
if (/* condition */){
/* code */
}
```
Is there a way to change that?
- I found this post from 6 years ago but I hope that now we have a way to avoid goi... | How to change sublime text auto-completion brace style to cuddle | CC BY-SA 4.0 | null | 2023-03-03T11:14:34.197 | 2023-03-03T11:14:34.197 | null | null | 21,325,410 | [
"sublimetext",
"curly-braces"
] |
75,626,386 | 1 | null | null | -1 | 12 | I'm deploying in goerli network from this repository:
[https://github.com/NewfundametalsDAO/FrankenDAO](https://github.com/NewfundametalsDAO/FrankenDAO)
But I've the error: governance proxy address mismatch, the create2Deployer and deployer adresses are the same.
[](https://i.stack.imgur.com/CXwO1.jpg)
| Deployment of FrankenDAO | CC BY-SA 4.0 | null | 2023-03-03T11:15:01.670 | 2023-03-03T11:15:01.670 | null | null | 16,732,849 | [
"solidity",
"dao"
] |
75,626,378 | 1 | 75,627,721 | null | 0 | 25 | I have a pandas dataframe `df` that I want to add to a table in Snowflake. However when I run the code below I get a programming error saying that it failed to cast a value to date format.
```
import snowflake.connector
from snowflake.connector.pandas_tools import write_pandas
success, nchunks, nrows, _ = write_pandas... | Snowflake Failed to cast variant value to DATE | CC BY-SA 4.0 | null | 2023-03-03T11:14:13.127 | 2023-03-03T13:40:25.503 | null | null | 2,288,429 | [
"python",
"pandas",
"dataframe",
"snowflake-cloud-data-platform"
] |
75,626,390 | 2 | null | 56,616,620 | 0 | null | Replace this
'DIRS': [templates],
with this
'DIRS': ["templates"],
| null | CC BY-SA 4.0 | null | 2023-03-03T11:15:16.973 | 2023-03-03T11:15:16.973 | null | null | 21,325,473 | null |
75,626,385 | 1 | null | null | 0 | 21 | I use `Long` for the id fields of my entities. But in the application, I generally would not mind about the data type of id fields for DTOs (Request / Response classes), Controller methods (passing id value via `@PathVariable`) and Service methods.
So, by considering validation and some points e.g. using `long` instead... | Using Primitive vs Object type for DTO and method parameters in Spring Boot | CC BY-SA 4.0 | null | 2023-03-03T11:14:58.443 | 2023-03-03T11:19:51.527 | 2023-03-03T11:19:51.527 | 21,263,160 | 21,263,160 | [
"java",
"spring",
"spring-boot",
"spring-mvc",
"primitive"
] |
75,626,388 | 1 | null | null | 0 | 32 | How to get the OutlinedButton as long as the Row's content ? I have this button inside Column <- SizedBox(width:300) <- Card
```
OutlinedButton(
onPressed: null,
style: OutlinedButton.styleFrom(
fixedSize: const Size.fromHeight(40),
),
child: Row(
mainAxisAlignment: M... | Row inside OutlinedButton | CC BY-SA 4.0 | null | 2023-03-03T11:15:09.410 | 2023-03-03T11:57:29.503 | 2023-03-03T11:56:31.347 | 7,905,820 | 7,905,820 | [
"flutter"
] |
75,626,387 | 1 | 75,626,537 | null | 0 | 50 | ```
fn f<'a: 'b, 'b>(x: &'a i32, mut y: &'b i32) -> &'b i32 {
y = x;
y
}
let long_var = 1;
let long_lifetime = &long_var;
{
let short_var = 2;
let short_lifetime = &short_var;
// it works, why?
let x = f(short_lifetime, long_lifetime);
};
```
There is limitation `'a: 'b` in the func... | Rust lifetime limitation | CC BY-SA 4.0 | null | 2023-03-03T11:15:02.220 | 2023-03-04T09:32:11.543 | 2023-03-04T09:32:11.543 | 14,788,626 | 14,788,626 | [
"rust"
] |
75,626,389 | 2 | null | 70,206,199 | 1 | null | For error of `no function or associated item named "max_encoded_len" found for struct "Vec<u8>" in the current scope function or associated item not found in "Vec<u8>"`
if you have a struct like
```
#[derive(Default, Encode, Decode, Clone, MaxEncodedLen, PartialEq, RuntimeDebug, TypeInfo)]
pub struct UserInfo {
... | null | CC BY-SA 4.0 | null | 2023-03-03T11:15:10.703 | 2023-03-03T16:51:47.240 | 2023-03-03T16:51:47.240 | 2,965,665 | 2,965,665 | null |
75,626,384 | 1 | null | null | 0 | 17 | I am trying to embed video in a Qt 5.15 QML (Qt Quick) project running on an i.MX6ULL embedded processor (no GPU), however any inclusion of the Video (or MediaPlayer) components immediately results in the application exiting with a Segmentation Fault.
Even the most basic implementation:
```
import QtQuick 2.15
import Q... | Qt 5.15 QML MediaPlayer Segmentation Fault on i.MX6ULL | CC BY-SA 4.0 | null | 2023-03-03T11:14:48.457 | 2023-03-03T11:14:48.457 | null | null | 11,383,085 | [
"qt",
"qml",
"qt5",
"qtquick2",
"qtmultimedia"
] |
75,626,391 | 1 | null | null | -1 | 41 | I try to execute DistinctBy for a simple query and it just raise exception despite DistinctBy is extension of IQueryable. What is wrong ?
```
var x = db.Persons.DistinctBy(p => p.Age).ToList();
```
> System.InvalidOperationException: 'The LINQ expression
'DbSet()
.DistinctBy(p => p.Age)' could not be translated. Eithe... | Why DistinctBy doesn't work for EF(Core) 6 | CC BY-SA 4.0 | null | 2023-03-03T11:15:20.310 | 2023-03-03T11:48:30.313 | 2023-03-03T11:48:30.313 | 325,661 | 325,661 | [
".net",
"entity-framework-core"
] |
75,626,396 | 2 | null | 75,614,555 | 0 | null | No, the fabrication extension is not supported by the APS Design Automation for Revit API. Sorry for the bad news.
| null | CC BY-SA 4.0 | null | 2023-03-03T11:16:00.513 | 2023-03-03T11:16:00.513 | null | null | 3,552,305 | null |
75,626,395 | 1 | null | null | 0 | 22 | I`m trying to custom input date with svg in Mozila.  Unfortunately, clickable zone is not like svg (less), how can i fix this? webkit-calendar-picker-indicator does not work in FireFox.
I tried
`input[type="date"]::-webkit-calendar-picker-indicator { bottom: 0; cursor: pointer; h... | Custom input[type="date"] with svg | CC BY-SA 4.0 | null | 2023-03-03T11:15:54.780 | 2023-03-03T11:21:52.403 | 2023-03-03T11:21:52.403 | 540,955 | 21,325,371 | [
"javascript",
"date",
"firefox",
"input",
"webkit"
] |
75,626,392 | 1 | 75,629,337 | null | 2 | 56 | Using the dataset df, I sample from various values of v coupled with x to generate a randomized J (as shown in the function). The output of that randomization is stored is results. Along with rand.cor = f(x,v), I also want the table to generate the associated x, v that it picked for the run and and the y.sample generat... | How to print parameters of an output from a loop in R? | CC BY-SA 4.0 | null | 2023-03-03T11:15:35.817 | 2023-03-04T00:28:22.567 | 2023-03-03T11:25:47.220 | 6,574,038 | 6,820,344 | [
"r",
"loops",
"for-loop",
"lapply"
] |
75,626,393 | 1 | null | null | 0 | 19 | I’ve set up my NSOutlineView to use floating group rows. And it works well, but the group rows which aren’t sticky all have extra top padding?
I see no configuration options to remove this. How can I set the height of the floating rows to be the actual height I have configured?
| NSOutlineView floating group rows padding | CC BY-SA 4.0 | null | 2023-03-03T11:15:37.447 | 2023-03-03T11:15:37.447 | null | null | 414,092 | [
"objective-c",
"cocoa",
"nsoutlineview",
"nstablecellview",
"nstablerowview"
] |
75,626,402 | 1 | null | null | -1 | 20 | I was trying to make a program which will draw a pie chart, and I want to know how to set the current position of the turtle as 0,0. Like if the position is (90,60) i want (90,60) to be (0,0) without changing the position of the turtle
I tried googling and asking chat gpt but the only anser i got is to use `goto` or `s... | Setting the current position of turtle as origin | CC BY-SA 4.0 | null | 2023-03-03T11:16:50.577 | 2023-03-04T06:32:16.427 | null | null | 20,869,445 | [
"python",
"turtle-graphics",
"python-turtle"
] |
75,626,403 | 2 | null | 75,539,719 | 1 | null | Your problem is in the following line:
```
model_ensemble = RegressionEnsembleModel(forecasting_models=forecasting_models, regression_train_n_points=38, regression_model=regression_model)
```
By giving the value `38` on a dataset of 39 points leaves a single point for the training of your list of time-series models, w... | null | CC BY-SA 4.0 | null | 2023-03-03T11:17:15.460 | 2023-03-03T11:17:15.460 | null | null | 6,173,863 | null |
75,626,397 | 1 | null | null | 0 | 9 | we are managing a wordpress that gets comments from other non wordpress site through session variables.
we used to have username in comment_author field but as it is public we would like to save it in comment_author_email instead (not shown publicly). We are able to modify form to insert in a hidden field, however comm... | Disable is_email() in WP comment handling to enter non email string | CC BY-SA 4.0 | null | 2023-03-03T11:16:06.467 | 2023-03-03T11:16:06.467 | null | null | 3,564,000 | [
"php",
"wordpress"
] |
75,626,406 | 1 | null | null | -1 | 24 | I'm trying to emulate pressing the space bar in a loop in a CS:GO game using the InputSimulator library([https://github.com/michaelnoonan/inputsimulator](https://github.com/michaelnoonan/inputsimulator) ). The problem is that by emulating pressing the space bar, I trigger a condition and a loop occurs in the xD code. M... | Emulation of keypress in CS:GO game | CC BY-SA 4.0 | null | 2023-03-03T11:17:19.680 | 2023-03-03T11:17:19.680 | null | null | 19,438,039 | [
"c#"
] |
75,626,398 | 2 | null | 75,625,680 | 0 | null | Figured it out. When the user wins the game, the server sends 2 lines.
1. Correct. You have x lives left.
2. You guessed the answer...
The python script reads the 1st message as "status" at the end of the loop, and then it reads the 2nd message as "board" at the start of the while loop and asks for a new letter. To ... | null | CC BY-SA 4.0 | null | 2023-03-03T11:16:10.377 | 2023-03-03T11:16:10.377 | null | null | 19,292,907 | null |
75,626,408 | 2 | null | 12,261,267 | 0 | null | Helpfull answer. Remember it's a protected function, has to be declared 'override'
protected:
void wheelEvent(QWheelEvent *ev) override;
and consider to end the 'if' with an extra 'else ev->ignore();' to pass the event for other purposes
| null | CC BY-SA 4.0 | null | 2023-03-03T11:17:27.737 | 2023-03-03T11:17:27.737 | null | null | 21,325,486 | null |
75,626,405 | 1 | null | null | 1 | 9 | I am trying to learn and get comfortable with Unetstack so i thought that it would be a good idea to run through the examples to get some understanding. The problem however is that i run into an error at the first command i try `bin/unet samples/2-node-network.groovy`, i get the error below.
```
WARNING: An illegal ref... | Error while trying to run 2-node-network.groovy example | CC BY-SA 4.0 | null | 2023-03-03T11:17:19.027 | 2023-03-03T11:17:19.027 | null | null | 21,325,392 | [
"unetstack"
] |
75,626,374 | 1 | null | null | 1 | 31 | I am using terraform to create a databricks job. The job has been created successfully when I use the provider databrickslabs/databricks version 0.6.2. Because I need to use data source "databricks_job", I decided to upgrade this provider to version 1.5.0, which is the latest version available at [databricks job data s... | Terraform Databricks plan failed to install provider databrickslabs/databricks - checksum list has no SHA-256 hash for provider | CC BY-SA 4.0 | null | 2023-03-03T11:14:04.883 | 2023-03-04T12:51:18.923 | 2023-03-04T12:48:01.097 | 18,627 | 3,310,396 | [
"terraform",
"databricks",
"azure-databricks",
"terraform-provider-azure",
"terraform-provider-databricks"
] |
75,626,404 | 2 | null | 75,626,086 | 1 | null | You cannot/should not use stores on the server.
The data will not be magically transferred, any store reference on the server is a completely separate instance from the client.
Your action should return the todo-object, which will then be passed to the `form` property of the `+page.svelte` component. If you need to imp... | null | CC BY-SA 4.0 | null | 2023-03-03T11:17:18.650 | 2023-03-03T11:51:32.440 | 2023-03-03T11:51:32.440 | 546,730 | 546,730 | null |
75,626,399 | 1 | null | null | 1 | 22 | I have deployed my web app on vercel using github. Frontend has been loaded but the api request that the frontend is making giving 404 not found. It's a MERN app by the way
Here is my vercel.json
```
{
"buildCommand": "cd client && npm install && ./node_modules/vite/bin/vite.js build",
"outputDirectory": "clien... | API not found in vercel deployment | CC BY-SA 4.0 | null | 2023-03-03T11:16:15.680 | 2023-03-04T10:12:41.637 | 2023-03-04T09:53:44.467 | 8,510,405 | 19,481,570 | [
"node.js",
"reactjs",
"deployment",
"mern",
"vercel"
] |
75,626,407 | 2 | null | 75,624,763 | 0 | null | You do "defaults" in CSS by defining a selector that applies to all of your custom controls and more specific selectors that apply to just the ones that you want to have a different colour:
```
Custom
{
draw-color: blue;
font-family: "SF Pro Semibold";
font-size: 14pt;
}
.Value
{
draw-color: red;
}
```... | null | CC BY-SA 4.0 | null | 2023-03-03T11:17:22.573 | 2023-03-03T11:25:23.440 | 2023-03-03T11:25:23.440 | 2,670,892 | 2,670,892 | null |
75,626,410 | 1 | null | null | 0 | 13 | I am using something like:
```
show partitions schema.table_name;
```
I have many tables so ideally I would like to see the results as such:
```
show partitions schema.table_name1
union
show partitions schema.table_name2
union
show partitions schema.table_name3;
```
a union on this data yields the below error.
> `... | how can i get a list of all partitions in all tables of hive database.schema - using DBeaver? | CC BY-SA 4.0 | null | 2023-03-03T11:17:57.453 | 2023-03-03T11:37:47.790 | 2023-03-03T11:37:47.790 | 5,212,690 | 5,212,690 | [
"hive",
"hql",
"partitioning",
"database-administration",
"dbeaver"
] |
75,626,413 | 1 | null | null | 0 | 15 | I'm trying to setup a configuration where the identity provider authenticates the user, and then the user is either provisioned into the database on the spot if they are not in the database or if they already exist in the database, associated data is returned.
I'm using Firebase as the database. What is a good way to ... | Separate IDP from Database | CC BY-SA 4.0 | null | 2023-03-03T11:18:13.320 | 2023-03-03T11:46:29.267 | null | null | 17,096,203 | [
"reactjs",
"firebase",
"authentication",
"next.js",
"next-auth"
] |
75,626,411 | 1 | null | null | 0 | 30 | Let's imagine there is ScrollView and TextField like in every messenger.
And I want to hide keyboard (if it's opened) when somebody is scrolling over this keyboard. And I've used `scrollDismissesKeyboard` for this.
But there is some bug which I cannot resolve: if I start to scroll ScrollView and then go to keyboard, my... | How to prevent keyboard from being scrolled with ScrollView in SwiftUI? | CC BY-SA 4.0 | null | 2023-03-03T11:17:59.917 | 2023-03-04T15:23:01.197 | null | null | 4,353,009 | [
"ios",
"swift",
"iphone",
"swiftui",
"mobile"
] |
75,626,409 | 2 | null | 75,626,327 | 3 | null | - - `mat1``mat1->array`- `nrow``ncol``mat1->nrows``mat1->ncols`- `size_t``int`
In the other words, this part
```
mat1->nrows = mat1->nrows - 1;
mat1->array = (size_t *) realloc(mat1, nrow * ncol * sizeof(int));
```
should be
```
mat1->ncols = mat1->ncols - 1;
mat1->array = (size_t *) realloc(mat1->array, mat1->nro... | null | CC BY-SA 4.0 | null | 2023-03-03T11:17:48.713 | 2023-03-03T11:17:48.713 | null | null | 4,062,354 | null |
75,626,400 | 2 | null | 75,625,326 | 0 | null | As @nicholas-tower said :
> You could put it on the window object, but i'd recommend using imports unless you have a really good reason not to.
If want to improve your workflow and not having to write same things for every components :
.
---
If you're working with VS Code, here the documentation on [how to create yo... | null | CC BY-SA 4.0 | null | 2023-03-03T11:16:31.300 | 2023-03-03T11:16:31.300 | null | null | 19,940,503 | null |
75,626,414 | 2 | null | 75,626,344 | 2 | null | You most likely want this:
```
julia> df = DataFrame(id=1:5)
5×1 DataFrame
Row │ id
│ Int64
─────┼───────
1 │ 1
2 │ 2
3 │ 3
4 │ 4
5 │ 5
julia> df.c1 = missings(Float64, nrow(df))
5-element Vector{Union{Missing, Float64}}:
missing
missing
missing
missing
missing
julia> df
... | null | CC BY-SA 4.0 | null | 2023-03-03T11:18:23.853 | 2023-03-03T11:18:23.853 | null | null | 1,269,567 | null |
75,626,415 | 1 | null | null | -2 | 19 | I spent some time with Java in the late 90s and early 2000s, but haven't touched it very much since then, except to read other people's code.
These days, I'm doing a lot of work in PKI and cryptography, and would like to get back into java because of the fantastic support for X509 provided by JCE.
Obviously, the langua... | Recommended resources to learn Modern(11+) Java in 2023? | CC BY-SA 4.0 | null | 2023-03-03T11:18:24.643 | 2023-03-03T11:18:24.643 | null | null | 12,742,420 | [
"java",
"java-19"
] |
75,626,417 | 2 | null | 4,651,437 | 0 | null | If you use `bash`: For the case you have and need and there is another great solution. It should be clear from the following example:
```
# This saves all the results into the RES variable
grep -E "\S" "file.txt" | sort | uniq | read -d '' RES
# 'read' exit status 1 means all input was read till EOF, we're OK with t... | null | CC BY-SA 4.0 | null | 2023-03-03T11:18:46.683 | 2023-03-03T18:08:11.877 | 2023-03-03T18:08:11.877 | 11,575,732 | 11,575,732 | null |
75,626,418 | 1 | null | null | 0 | 20 | I have two JsonNode objects, A and B, which both contain an identical field, "segments". I need to take the content from JsonNode object A and append it to the content from B. I need both the values from A and B in the final object.
My code right now takes the right content from A, but it replaces everything from B. Ca... | Append values from one JsonNode to another JsonNode field Java | CC BY-SA 4.0 | null | 2023-03-03T11:19:07.490 | 2023-03-03T12:31:26.643 | null | null | 11,707,306 | [
"java",
"jackson",
"jsonnode"
] |
75,626,416 | 1 | null | null | -1 | 24 | Im just trying to seperate my code out a bit and move my axois get request to its own page. I keep getting the same issue with the returning code. That i just get this promise fullfilled result and not the data i wanted. i.e
```
res TTT
Promise { <state>: "fulfilled", <value>: undefined }
<state>: "fulfilled"
<value>:... | How do i return the value of my function instead of a promise | CC BY-SA 4.0 | null | 2023-03-03T11:18:26.073 | 2023-03-03T11:28:57.507 | null | null | 19,285,967 | [
"javascript",
"html",
"reactjs",
"axios"
] |
75,626,423 | 1 | null | null | 0 | 16 | I am trying to place macros at a particular location but can't find relative macro placement or particular location to be given.
The command that places macros is `rtl_macro_placer`: I have searched its argurments in the main proc where it is defined but can't find any switches specific for it. Can any one help?
| Openroad: Macro place with relative floorplan | CC BY-SA 4.0 | null | 2023-03-03T11:20:03.443 | 2023-03-03T11:20:03.443 | null | null | 11,569,018 | [
"export",
"tcl",
"report",
"vlsi"
] |
75,626,425 | 2 | null | 75,626,338 | 0 | null | ```
for i in range(7):
save_to_json(json_dics[i], fnames[i])
```
EDIT: You can also create a loop for the first lines:
Assume you have every `file_name_xx` in a list `filenames`.
```
fnames = []
for filename in filenames:
fnames.append(f'{root_path}/{output}/{filename}.{json_ext}')
```
You can do the same wi... | null | CC BY-SA 4.0 | null | 2023-03-03T11:20:14.207 | 2023-03-03T11:26:26.900 | 2023-03-03T11:26:26.900 | 18,475,298 | 18,475,298 | null |
75,626,420 | 2 | null | 75,612,156 | 0 | null | While creating a service account in the Cloud Console it will create all the services automatically including service accounts. Here when you delete or change the default settings; you may face the issue which Cloud Function which needs iam.serviceAccount.getAccessToken permission. This will generate an access token fo... | null | CC BY-SA 4.0 | null | 2023-03-03T11:19:30.820 | 2023-03-03T11:19:30.820 | null | null | 15,747,398 | null |
75,626,421 | 1 | null | null | 0 | 12 | My service is running fine, but when I write a test it gives the error I specified.
I tried several methods but couldn't find the problem.
```
<spring-boot.version>2.7.4</spring-boot.version>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency... | When Junit Test with Spring throws Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-to-slf4j | CC BY-SA 4.0 | null | 2023-03-03T11:19:51.933 | 2023-03-03T11:30:09.980 | 2023-03-03T11:30:09.980 | 14,686,302 | 14,686,302 | [
"spring",
"spring-boot",
"mockito",
"log4j",
"junit5"
] |
75,626,412 | 2 | null | 17,445,374 | 0 | null | So, apparently, Wordpress had saved that `Other_IP` (the old IP) in the database. Therefore, the solution was to change that `Other_IP` to the current IP (`IP_of_Server`) in the database, in our case, MySQL.
So, now yes, we are going to solve it in one step.
To do this, we must first enter the MySQL database engine or ... | null | CC BY-SA 4.0 | null | 2023-03-03T11:18:06.733 | 2023-03-03T11:18:06.733 | null | null | 13,405,909 | null |
75,626,428 | 1 | null | null | 0 | 9 | I have a CouchDB cluster (2.3.1) running for years. To clean up and get some disk space back I deleted a couple of databases. On the cluster node I performed the delete operation the corresponding shard-files dropped down to a few KB.
But, surprisingly, on all other cluster nodes the original shard-file size stays as i... | CouchDB - Deleted database does not release disk space on other cluster nodes | CC BY-SA 4.0 | null | 2023-03-03T11:20:31.313 | 2023-03-03T11:20:31.313 | null | null | 9,532,776 | [
"couchdb"
] |
75,626,427 | 1 | 75,629,109 | null | 1 | 15 | I'm writing a Blazor site using Contentful as the CMS. I have 2 needs surrounding the Rich text Document type.
1. I need to loop the entire Document body and isolate the Heading-2 portions and then render the values into a list
2. I need to get the first Paragraph element in a document type and render the value of tha... | Getting value from rich text element in Contentful? | CC BY-SA 4.0 | null | 2023-03-03T11:20:22.143 | 2023-03-03T15:39:17.860 | 2023-03-03T11:33:51.420 | 4,054,818 | 4,054,818 | [
".net",
"blazor",
"contentful"
] |
75,626,426 | 1 | null | null | -1 | 23 | I'm having a hard time grasping the idea of a socket. I have followed a few tutorials, but when trying to set up my own socket connection I'm failing.
Take the following example of sending a random number from server to all connected clients every second. I'm using app factory, and `gevent` with gunicorn to serve the a... | flask socket random number from server to client | CC BY-SA 4.0 | null | 2023-03-03T11:20:20.150 | 2023-03-03T14:51:02.347 | 2023-03-03T14:51:02.347 | 400,617 | 6,139,149 | [
"javascript",
"flask",
"socket.io",
"flask-socketio"
] |
75,626,429 | 1 | null | null | 0 | 21 | My azure function was running on .NET 6 but I decided to upgrade it to .NET 7. I've fixed all the breaking changes as per [the guide](https://learn.microsoft.com/en-us/azure/azure-functions/dotnet-isolated-process-guide) and now when I run the function, it knows my function is available to hit but when I hit the endpoi... | Azure Http Trigger not triggering after .NET 7 upgrade | CC BY-SA 4.0 | null | 2023-03-03T11:20:39.070 | 2023-03-03T11:20:39.070 | null | null | 6,376,383 | [
"azure",
"azure-functions"
] |
75,626,430 | 1 | null | null | 0 | 8 | I use package torann/geoip with Laravel 8.
Installation was done.
Necessary strings was added to config/app.php (providers,aliases)
By instruction that provided on the site ([https://lyften.com/projects/laravel-geoip/doc/](https://lyften.com/projects/laravel-geoip/doc/)) I run artisan command:
```
php artisan vendor:pu... | Why resources not published for torann/geoip packages in Laravel 8? | CC BY-SA 4.0 | null | 2023-03-03T11:20:42.260 | 2023-03-03T11:34:48.457 | 2023-03-03T11:34:48.457 | 5,861,293 | 5,861,293 | [
"laravel",
"geoip"
] |
75,626,433 | 1 | 75,626,581 | null | 0 | 19 | ```
NavbarView() {
TextField("Search", text: $searchText).padding()
Spacer()
Picker(selection: $sharedState.typeTreeViewRole, label: Text("View")) {
Text("Business").tag(TypeTreeViewRole.business)
Text("Expert").tag(TypeTreeViewRole.expert)
}
.frame(width: 150) // Set a fixed wi... | How to center view horizontally in SwiftUI? | CC BY-SA 4.0 | null | 2023-03-03T11:21:06.270 | 2023-03-03T11:34:26.403 | null | null | 239,219 | [
"swiftui"
] |
75,626,431 | 1 | null | null | 0 | 16 | I have some problems when I try to search in a dxf file layers. In my situation, layers are : Sew Lines and Pattern Perimeter.
So I try this :
`import ezdxf doc = ezdxf.readfile("C:/Users/EM104766/Documents/sujet_dxf/dxf_read.dxf") msp = doc.modelspace() print(msp) lines = msp.query("LINE") print(lines) sewlines=msp.qu... | What it the interpretation of this output ? Use ezdxf module to explore dxf file and layers | CC BY-SA 4.0 | null | 2023-03-03T11:20:56.053 | 2023-03-04T08:18:39.887 | null | null | 21,325,471 | [
"python",
"layer",
"dxf",
"ezdxf"
] |
75,626,422 | 1 | 75,626,734 | null | 0 | 19 | I have a df that looks like this:
| | latitude | longitude | cod_postal |
| | -------- | --------- | ---------- |
| 0 | 40.244350 | -8.443650 | 3025-151 |
| 2 | 40.626130 | -8.645250 | 3810-419 |
| 1 | 40.626130 | -8.645250 | 3810-498 |
| 3 | 40.626130 | -8.645250 | 3810-419 |
I want to plot a graph with the... | Plotting a graph with different marker colors based on attributes | CC BY-SA 4.0 | null | 2023-03-03T11:19:52.450 | 2023-03-03T12:09:49.380 | 2023-03-03T11:58:57.460 | 17,589,360 | 17,589,360 | [
"python",
"matplotlib"
] |
75,626,440 | 2 | null | 34,037,524 | 0 | null | Simple answer:
No solution, tags are still missing as a feature and workarounds like hashtags don't provide a reasonable solution
| null | CC BY-SA 4.0 | null | 2023-03-03T11:21:41.163 | 2023-03-03T11:21:41.163 | null | null | 17,141,379 | null |
75,626,437 | 2 | null | 75,606,464 | 0 | null | I finally achieved to fix the 1024 issues.
To do so, I decided to use the APM server but directly the open telemetry contrib collector / exporter for Elasticsearch
One can find it here ([https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/elasticsearchexporter](https://github.com/open-... | null | CC BY-SA 4.0 | null | 2023-03-03T11:21:27.357 | 2023-03-03T11:21:27.357 | null | null | 5,257,140 | null |
75,626,424 | 1 | 75,627,920 | null | 0 | 12 | I have a menu which is made using the Mmenu plugin. I initialize it at resolutions less than 1025px. I initialize inside resize. I need to destroy mmenu on permissions greater than 1025 so that the usual desktop menu is displayed. Now my problem is that I have an error in the console - Cannot read properties of undefin... | How can I destroy the mmenu plugin | CC BY-SA 4.0 | null | 2023-03-03T11:20:12.670 | 2023-03-03T13:51:05.943 | null | null | 20,866,130 | [
"jquery",
"mmenu"
] |
75,626,443 | 2 | null | 70,936,120 | 0 | null | For me only after disabling both
- -
[](https://i.stack.imgur.com/1AR9X.png)
| null | CC BY-SA 4.0 | null | 2023-03-03T11:21:47.583 | 2023-03-03T11:21:47.583 | null | null | 307,585 | null |
75,626,441 | 1 | null | null | 0 | 19 | custom class name - ScreenTip
Attached properties - Title and Description
```
<telerik:RadRibbonView x:Name="radRibbonView">
<telerik:RadRibbonTab Header="Home">
<telerik:RadRibbonGroup x:Name="radRibbonGroupClipboard"
telerik:ScreenTip.Description="Show the Clipboard Ta... | How to make and implement custom tooltip with attached property of Title and Description in WinUI-3 C#? | CC BY-SA 4.0 | null | 2023-03-03T11:21:41.867 | 2023-03-03T21:48:23.593 | 2023-03-03T11:42:35.563 | 20,569,775 | 20,569,775 | [
"c#",
"c#-4.0",
"uwp",
"winui-3",
"winui"
] |
75,626,435 | 1 | null | null | -1 | 30 | When a resource file is created via Qt Designer in a Form, the python code generated by the Qt Designer includes the following import statement:
```
import icons_rc
```
This import statement is same irrespective of the qrc file location (say shared location \Modules\ZA\RES\ or ui location \Modules\ZA\MDH).
The generat... | Common resource file in PyQt/ PySide and resource file location | CC BY-SA 4.0 | null | 2023-03-03T11:21:17.980 | 2023-03-03T11:21:17.980 | null | null | 1,944,101 | [
"python",
"pyqt",
"pyside",
"qt-designer",
"qt-resource"
] |
75,626,439 | 1 | null | null | 0 | 28 | I would like to pass a negative float value from python using pybind11 to a cpp function where that negative value will be statically cast to `uint32_t` type and do further processing. There, I am facing a very weird issue that after casting the resutl returns ZERO.
-
```
void do_calc(double value){
// while calli... | Negative float type value from python (pybind11) cannot cast correctly in C++ | CC BY-SA 4.0 | null | 2023-03-03T11:21:38.420 | 2023-03-03T11:21:38.420 | null | null | 10,634,362 | [
"python",
"c++",
"pybind11"
] |
75,626,434 | 1 | null | null | 0 | 18 | If possible, I want to make a specific layout in an XML file to wrap content, because every image within RecyclerView items will vary in height or width. So, I want to make every item's height depend on the inserted image size without losing the height and width control, because the item's size changes on the scroll. I... | Is there a way to make a layout in an XML file to wrap content to fit different images' sizes? | CC BY-SA 4.0 | null | 2023-03-03T11:21:16.393 | 2023-03-03T11:21:16.393 | null | null | 21,260,049 | [
"android",
"kotlin",
"android-layout",
"android-recyclerview",
"android-imageview"
] |
75,626,447 | 2 | null | 75,625,719 | 1 | null | I'd say that you're using Apex . If so, it - for some reason (unknown to me) - bind variable at 14th character.
Yes - you can copy/paste its full contents (this: `^[[:alpha:]]{3,3}[[:digit:]]{3,3}$`) into bind variable's item, but it is actually cut. How do I know? Hit Run again, and you'll see pre-populated values yo... | null | CC BY-SA 4.0 | null | 2023-03-03T11:22:07.350 | 2023-03-03T11:22:07.350 | null | null | 9,097,906 | null |
75,626,449 | 1 | null | null | 0 | 7 | I want to add ldac in the ffmpeg. now i can not get the frame length in the ldac file.and there is not about frame length in the standard.how can i get the frame length in the ldac standard of Sony.
```
Yanglm
```
| What can i do when i can not get the frame length in the ldac standard of Sony bluetooth | CC BY-SA 4.0 | null | 2023-03-03T11:22:21.703 | 2023-03-03T11:22:21.703 | null | null | 21,325,443 | [
"bluetooth"
] |
75,626,446 | 1 | null | null | 0 | 7 | Currently I have an issue with Refreshing the dataset that I uploaded to the Power BI web service.
Please note that it works and able to refresh the data totally fine in Power BI Desktop.
The issue is in the data source connected to Odata Feed
[](https://i.stack.imgur.com/YLszh.png)
I wanted to get all of my Microsoft... | Failed to update data source credentials: The credentials provided for the OData source are invalid. Power BI Service & Microsoft Graph Explorer | CC BY-SA 4.0 | null | 2023-03-03T11:22:02.077 | 2023-03-03T11:22:02.077 | null | null | 17,049,154 | [
"powerbi",
"odata",
"credentials",
"microsoft-planner",
"graph-explorer"
] |
75,626,445 | 2 | null | 74,899,041 | 2 | null | This is definitely a corner case due to the fact that HTTP specification ([RFC 2616](https://www.rfc-editor.org/rfc/rfc2616#section-9.3) at least) [does not explicitly forbid](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET) a body being present in a GET request.
On the other hand, JAX-RS ([JSR311](https:... | null | CC BY-SA 4.0 | null | 2023-03-03T11:22:00.043 | 2023-03-03T11:22:00.043 | null | null | 1,505,146 | null |
75,626,444 | 2 | null | 75,626,125 | 4 | null | The `1` here is not a numeric constant; it is a . (Recall that expressions like the actual constant `1` cannot appear in arbitrary places, or as the only part of a statement as can be found in some other languages.)
A statement label (Fortran 2018 6.2.5):
> provides a means of referring to an individual statement
That'... | null | CC BY-SA 4.0 | null | 2023-03-03T11:21:53.663 | 2023-03-03T11:21:53.663 | null | null | 3,157,076 | null |
75,626,448 | 1 | null | null | 0 | 14 | I am creating a function where we blur a video specific part. I have two views. One is for show video in videoview and other view shows the area of blur but area of blur is not placed at the right place.
First of all, I want to blur a specific area of video. What is the right way to do this?
I tried this code:
```
let ... | how to blur specific area of video | CC BY-SA 4.0 | null | 2023-03-03T11:22:17.810 | 2023-03-04T00:39:04.993 | 2023-03-04T00:39:04.993 | 20,287,183 | 21,134,494 | [
"ios",
"swift",
"avfoundation",
"core-image",
"avmutablevideocomposition"
] |
75,626,451 | 1 | 75,626,600 | null | 1 | 14 | I'm trying to query elastic search using the REST API into returning me all documents that contain a specific property name of "content_blake3". the value of the property is irrelevant, I just want documents that have this property.
ive tried using the must and must_not requests like below but still not getting the res... | Return all documents in elastic that have a specified property regardless of value | CC BY-SA 4.0 | null | 2023-03-03T11:22:36.880 | 2023-03-03T11:37:24.810 | null | null | 266,552 | [
"elasticsearch"
] |
75,626,455 | 1 | null | null | 2 | 26 | In my Spring application, there's typically an interface for each service, even if there's only a single implementation, e.g.
```
public interface FooService {
Foo getFoo(long id)
Iterable<Foo> findAllFoos()
void deleteFoo(long id)
}
@Service
@Transactional
public class FooServiceImpl implements FooService {
... | Is it worth defining interface for a service with a single implementation | CC BY-SA 4.0 | null | 2023-03-03T11:23:07.187 | 2023-03-03T12:36:32.643 | null | null | 2,648 | [
"java",
"spring",
"spring-boot",
"mocking"
] |
75,626,457 | 2 | null | 75,401,989 | 0 | null | Try use
```
set +x
```
I had the same problem when I run my script with `. myscript.sh`. And when the script containing `set -x` , `-x` for debugging scripts to determine the output of individual commands, it affects your current terminal too. So try unset it with `set +x`.
| null | CC BY-SA 4.0 | null | 2023-03-03T11:23:11.593 | 2023-03-03T11:23:11.593 | null | null | 11,197,003 | null |
75,626,458 | 1 | null | null | 0 | 12 | I have been using Next.js and know how to use its dynamic import for importing components (named and export) but recently I came across certain npm package that runs on browser only (client-side, requires window) and is quite heavy in size (100kb).
I am having trouble importing them dynamically inside my app.
This is w... | How to dynamic import js lib/modules/non-components in next.js | CC BY-SA 4.0 | null | 2023-03-03T11:23:14.143 | 2023-03-03T11:43:03.197 | null | null | 7,682,925 | [
"javascript",
"node.js",
"reactjs",
"typescript",
"next.js"
] |
75,626,456 | 1 | null | null | 0 | 18 | I am using [buildpacks](https://buildpacks.io/) to build a container image of node js application.
```
the default entrypoint is cnb/process/web that will execute npm start.
```
I need to change the cmd & arguments from to
Here's the command that I used to build image
> ```
pack build --builder gcr.io/buildpacks/bu... | How to change the Container Entrypoint in Buildpacks? | CC BY-SA 4.0 | null | 2023-03-03T11:23:10.743 | 2023-03-04T22:45:03.423 | null | null | 21,325,320 | [
"google-cloud-platform",
"containers",
"buildpack",
"entry-point"
] |
75,626,454 | 2 | null | 75,626,125 | 2 | null | Fortran 2018 in the section about statement labels:
> 6.2.5 Statement labels2 If a statement is labeled, the statement shall contain a nonblank
character. ...
You cannot have a label on an empty line, it is not valid Fortran. You can put the `CONTINUE` statement to your lable, it does nothing.
It is quite common to fin... | null | CC BY-SA 4.0 | null | 2023-03-03T11:23:02.183 | 2023-03-03T11:28:27.990 | 2023-03-03T11:28:27.990 | 721,644 | 721,644 | null |
75,626,460 | 2 | null | 75,626,338 | 0 | null | You can use zip() function to iterate over both the json_dics list as it will help with that. Below is an example:
```
json_dics = [json_dic_01, json_dic_02, json_dic_03, json_dic_04, json_dic_05, json_dic_06, json_dic_07]
fnames = [file_01, file_02, file_03, file_04, file_05, file_06, file_07]
for json_dic, fname in ... | null | CC BY-SA 4.0 | null | 2023-03-03T11:23:22.097 | 2023-03-03T11:23:22.097 | null | null | 1,954,048 | null |
75,626,461 | 2 | null | 75,625,892 | 1 | null | If you are using
```
@PathVariable(...)
```
They cannot be optional. This reflects the nature of path variables - it doesn't really make sense for them to be null. REST-style URLs always need the full URL path. If you have an optional component, consider use
```
@RequestParam(...)
```
instead.
You can use
`@NotNull`
... | null | CC BY-SA 4.0 | null | 2023-03-03T11:23:35.290 | 2023-03-03T11:23:35.290 | null | null | 19,701,675 | null |
75,626,438 | 1 | 75,628,574 | null | 1 | 36 | While parsing a xml structure through postgres sql, I am using xmltable, the issue I am facing is if a child node is not present whole row is getting dropped.
For instance, consider below xml:
```
<cars>
<car>
<manufacturer>Ford</manufacturer>
<name>Fiesta</name>
<id>20060</id>
<currency>GBP</curr... | Parsing xml using xmltable in Postgres Sql | CC BY-SA 4.0 | null | 2023-03-03T11:21:29.287 | 2023-03-03T14:51:50.133 | 2023-03-03T13:34:13.963 | 5,751,953 | 5,751,953 | [
"sql",
"xml",
"postgresql",
"xml-parsing"
] |
75,626,459 | 1 | null | null | 0 | 22 | I have build a sidebar component (C) on an existing angular project. I need to always keep this sidebar between a header and a footer, but the header and footer is not related to each other and aren't part of the same parent div.
When I zoom in and out of the page, the sidebar (C) resizes unevenly compared to the entir... | Html/CSS - Keep a div fixed/lock between two other divs when page is zoomed | CC BY-SA 4.0 | null | 2023-03-03T11:23:20.173 | 2023-03-03T11:23:20.173 | null | null | 16,623,376 | [
"javascript",
"html",
"css",
"angular",
"typescript"
] |
75,626,467 | 2 | null | 26,364,057 | 0 | null | add
```
set HBASE_CLASSPATH=%HBASE_HOME%\lib\client-facing-thirdparty\*
```
hbase-env.cmd or hbase-env.sh
| null | CC BY-SA 4.0 | null | 2023-03-03T11:24:14.240 | 2023-03-03T11:24:14.240 | null | null | 979,474 | null |
75,626,452 | 1 | null | null | 0 | 32 | I can't understand why the type of the variable `condition` does not change with this code
```
df$condition <- as.character(df)
df["condition"][df["condition"] == "1"] <- "passive"
df["condition"][df["condition"] == "2"] <- "active"
```
I get this error message
```
! Assigned data `as.character(df)` must be compatible... | Cannot change the variable type | CC BY-SA 4.0 | null | 2023-03-03T11:22:56.373 | 2023-03-03T15:19:56.720 | 2023-03-03T15:19:56.720 | 5,784,757 | 14,336,726 | [
"r"
] |
75,626,465 | 1 | null | null | 0 | 17 | We are building a personal safety app and it has automatic presence detection for when you enter or exit a geofence.
Depending on your presence, you are able to receive alarm messages from other users.
Since users sometimes reboot their phone, we wish to start the app automatically at phone boot.
My Pixel 6 does not ha... | How can I achieve my app activity to start automatically in the background | CC BY-SA 4.0 | null | 2023-03-03T11:24:06.360 | 2023-03-03T11:24:06.360 | null | null | 1,635,265 | [
"android",
"react-native",
"mobile",
"expo"
] |
75,626,466 | 1 | null | null | -2 | 16 | Automation Tool & Test Scripts in Machine A - Test Runner Machine Application under test in Machine B- Test Machine.
Using Remote Winapp driver, Sikuli is not able to identify images in Test Machine.
Note:-
If we remotely connect the Test machine from Test Runner Machine and then trigger the test, Sikuli is able to de... | Does Sikuli use WinAppDriver to identify images? | CC BY-SA 4.0 | null | 2023-03-03T11:24:13.960 | 2023-03-03T14:02:54.653 | 2023-03-03T14:02:54.653 | 10,612,350 | 10,612,350 | [
"sikuli"
] |
75,626,468 | 1 | null | null | 0 | 28 | [playwright message](https://i.stack.imgur.com/ijGaM.jpg)Im trying to perform a login but the textbox and buttons are hidden.
when trying with .type the test passes in green but does not write anything. When using .fill i got the message on the attached image.
How can I interact with elements in that page? how do I mak... | Playwright: Element is not visible, unable to type on textBox | CC BY-SA 4.0 | null | 2023-03-03T11:24:31.007 | 2023-03-04T16:20:40.170 | 2023-03-03T11:26:12.513 | 12,953,520 | 12,953,520 | [
"javascript",
"authentication",
"playwright"
] |
75,626,469 | 1 | null | null | 0 | 13 | Once logged in moving to pages visited previously as anonymous user, causes their cached version to be displayed. It means that “Log in” link will appear, despite the fact that user is already logged. Refreshing page will correct menu link, displaying “Log out”, but it can’t be a solution from user point of view.
I hav... | Woocommerce - How to make login / logout links cache independent? | CC BY-SA 4.0 | null | 2023-03-03T11:24:35.380 | 2023-03-03T11:42:12.023 | 2023-03-03T11:42:12.023 | 248,567 | 21,325,524 | [
"woocommerce"
] |
75,626,472 | 2 | null | 75,626,069 | 2 | null | The order of columns in an index matters as mysql can only proced to use columns starting from left one after the other.
Your indexes include `revision` column at the 2nd position from left, but this column is not included in the where clause at the 2nd position. This means, your indexes can only be used by the sample ... | null | CC BY-SA 4.0 | null | 2023-03-03T11:24:45.067 | 2023-03-03T11:24:45.067 | null | null | 5,389,997 | null |
75,626,471 | 2 | null | 75,626,225 | 1 | null | Couple of things.
1. Work with objects. This will make your life easier.
2. You are assuming that the returned range will have the same width as the input range and hence you are getting that error.
3. Store the unique values in an array and then output the array to the relevant range.
Here is an example. Amend as a... | null | CC BY-SA 4.0 | null | 2023-03-03T11:24:44.493 | 2023-03-03T11:24:44.493 | null | null | 1,140,579 | null |
75,626,473 | 2 | null | 75,626,290 | 2 | null | The [AWS Command-Line Interface (CLI)](http://aws.amazon.com/cli/) can only copy files to/from:
- -
It is not possible to request Amazon S3 to retrieve an object via a URL.
You could that downloads a file and uploads it to Amazon S3. This would be fast because it does not need to pass through your computer.
| null | CC BY-SA 4.0 | null | 2023-03-03T11:24:47.010 | 2023-03-03T11:24:47.010 | null | null | 174,777 | null |
75,626,450 | 1 | null | null | 0 | 28 | I have a spring boot project. I've created a postgres database and run it in docker container with docker compose. I run my project locally and all are ok, tests passed succesfully and maven build is ok. But when I pushed changes to github repo I have problems with CI process.
When github actions run Maven build I get ... | Spring Boot Problem with Maven build in github actions with postgres password | CC BY-SA 4.0 | null | 2023-03-03T11:22:23.943 | 2023-03-03T12:27:59.763 | 2023-03-03T12:27:59.763 | 18,065,266 | 18,065,266 | [
"postgresql",
"spring-boot",
"docker",
"maven",
"github-actions"
] |
75,626,476 | 2 | null | 46,579,476 | 0 | null | I got the error `failed CONFIGURATION: @BeforeTest java.lang.NoSuchMethodError:openqa selenium`. After switched my project to STS, it worked fine(problem with my eclipse, I think). Download STS here [https://download.springsource.com/release/STS4/4.17.0.RELEASE/dist/e4.26/spring-tool-suite-4-4.17.0.RELEASE-e4.26.0-win3... | null | CC BY-SA 4.0 | null | 2023-03-03T11:24:54.760 | 2023-03-03T11:24:54.760 | null | null | 18,902,753 | null |
75,626,477 | 2 | null | 27,896,214 | 0 | null | you can use delimter parameter
```
input_data=pd.read_csv("my_data.txt",header=0,delimiter="\t")
```
| null | CC BY-SA 4.0 | null | 2023-03-03T11:24:57.043 | 2023-03-03T11:24:57.043 | null | null | 4,183,916 | null |
75,626,478 | 1 | null | null | -1 | 13 | Such a problem, after the release they found that they had not changed Sandbox to Prod in the line: let appleValidator = AppleReceiptValidator(service: .sandbox, sharedSecret:
tell me if users will be charged in this case? And maybe someone knows how to painlessly change to Prod without interfering with already registe... | auto-renewable subscriptions fail | CC BY-SA 4.0 | null | 2023-03-03T11:25:01.763 | 2023-03-03T12:39:21.950 | 2023-03-03T12:39:21.950 | 9,223,839 | 21,325,470 | [
"ios",
"in-app-purchase",
"sandbox"
] |