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,630,698
2
null
73,349,356
0
null
I have had a similar problem when I was using a `lintr` -file in the project root. The problem was that I copied some content for that file from [here](https://lintr.r-lib.org/articles/lintr.html) which resulted in a wrong formatting of that file. The `.lintr` must conform a special format, which you can test, if you ...
null
CC BY-SA 4.0
null
2023-03-03T18:32:50.793
2023-03-03T18:33:28.170
2023-03-03T18:33:28.170
4,282,026
4,282,026
null
75,630,699
1
null
null
0
15
although there are several questions, that cover the same problem, none of these questions/answers solved my problem. I'm using PyCharm 2022.3.2 Community to learn Python. I'm trying to get Turtle to run: ``` from turtle import Turtle, Screen timmy = Turtle() timmy.color("coral") timmy.forward(100) timmy.right(90) tim...
PyCharm to use system's Python (cannot make use of "Turtle")
CC BY-SA 4.0
null
2023-03-03T18:32:56.783
2023-03-03T18:44:44.040
2023-03-03T18:44:44.040
523,612
20,672,809
[ "python", "python-3.x", "turtle-graphics" ]
75,630,703
1
null
null
0
26
I'm using tidymodels in R and need to perform stratified sampling on two variables for splitting into training and testing data. Reproducible code below uses a single column 'cyl'. How can I sample using both 'cyl' and 'gear'? ``` library(tidymodels) library(tidyverse) split <- initial_split(mtcars, prop = 0.7, strat...
Stratified random sampling on multiple variables in R
CC BY-SA 4.0
null
2023-03-03T18:33:29.520
2023-03-03T18:33:29.520
null
null
12,841,187
[ "r", "tidyverse", "sampling" ]
75,630,704
2
null
55,191,703
2
null
You can run `go install github.com/go-delve/delve/cmd/dlv@latest` to install the latest version now. Note: I'm assuming your problem was related to not setting GOBIN at the time.
null
CC BY-SA 4.0
null
2023-03-03T18:33:47.427
2023-03-03T18:34:56.083
2023-03-03T18:34:56.083
5,027,899
5,027,899
null
75,630,709
2
null
75,630,626
1
null
Iterate recursively over the object's properties and checking if any of the properties are themselves objects. If an object is found, the function will call itself with the nested object as input and then iterate over its properties. ``` function flattenObject(obj, parentKey = "") { let flattened = {}; for (let ke...
null
CC BY-SA 4.0
null
2023-03-03T18:34:52.640
2023-03-03T18:34:52.640
null
null
14,529,779
null
75,630,706
1
null
null
0
6
I'm a newbie in this technology and in the programming itself, I would really like some help on this issue. I can't make the IDE embedded in the google spreadsheet suggest me a list of the keys of an object as I put a dot in front of the name of this object. The intention is to create an Apps Script object or function ...
How to make Apps Script embedded IDE suggest a list of keys of an object with its intellisense?
CC BY-SA 4.0
null
2023-03-03T18:34:16.353
2023-03-03T18:34:16.353
null
null
21,327,303
[ "google-apps-script" ]
75,630,708
1
null
null
0
13
Why AWS S3 when uploading multipart with checksum, the `CompleteMultipart` returns something with `-2` suffix (or probably because I only upload with 2 parts?) something like `Rrdr4Q==-2` while in minio it only `Rrdr4Q==` and I'm sure that later is the valid one. other checksum of uploading the same file in 2 parts: ``...
Verifying AWS S3 vs Minio Checksum
CC BY-SA 4.0
null
2023-03-03T18:34:35.683
2023-03-03T18:34:35.683
null
null
1,620,210
[ "amazon-web-services", "amazon-s3", "minio" ]
75,630,711
2
null
75,606,249
0
null
Still can not say what the problem was. I deleted the js file and created a new one and it worked.
null
CC BY-SA 4.0
null
2023-03-03T18:35:12.580
2023-03-03T18:35:12.580
null
null
19,827,604
null
75,630,702
1
null
null
0
21
I created my first TypeScript project in VS Code following the tutorials on the VSCode website. I can transpile my .ts file in a .js file just fine, get autocomplete etc., but if I started the debugger (F5, Node.js installed and selected as a debugger) right after opening VSCode, the debugger doesn't start - the debug ...
VS Code doesn't launch debugger the first time after opening
CC BY-SA 4.0
null
2023-03-03T18:33:08.450
2023-03-03T19:49:18.203
2023-03-03T19:49:18.203
11,107,541
18,521,441
[ "typescript", "visual-studio-code", "debugging" ]
75,630,705
1
null
null
1
9
I'm trying to use [sveltekit-autoimport](https://github.com/yuanchuan/sveltekit-autoimport) to auto import `svelte/transition` module. Inside `vite.config.js` ``` import { defineConfig } from 'vite' import { svelte } from '@sveltejs/vite-plugin-svelte' import autoImport from 'sveltekit-autoimport' export default defin...
How to auto import 'svelte/transition' with 'sveltekit-autoimport'?
CC BY-SA 4.0
null
2023-03-03T18:34:12.520
2023-03-04T22:28:34.307
2023-03-03T18:36:02.423
5,796,090
5,796,090
[ "javascript", "svelte", "vite", "sveltekit-autoimport" ]
75,630,710
1
null
null
1
22
I'd like to create a VS Code extension which extends VS Code's built-in text editor. Basically, I want to be able to add something similar to badges like you'd see in Markdown right in the built-in text editor. That is, interactive buttons inline with the rest of the text which abstract some underlying actual text or d...
How do you extend VS Code's built-in text editor?
CC BY-SA 4.0
null
2023-03-03T18:34:59.653
2023-03-03T21:58:52.753
2023-03-03T21:58:52.753
10,402,691
10,402,691
[ "vscode-extensions" ]
75,630,712
1
null
null
0
7
I would like to perform Code Coverage Analysis on Katalon Studio using ReSharper Cover Application in Visual Studio. In the coverage configuration, I have added the path (Katalon exe), Arguments (Project .prj path) and ran the tests in Katalon. I am getting a message "make sure you profile a managed application".
Perform Code Coverage Analysis on Katalon Studio using ReSharper Cover Application
CC BY-SA 4.0
null
2023-03-03T18:35:14.283
2023-03-03T18:35:14.283
null
null
14,986,661
[ "code-coverage", "resharper", "katalon-studio" ]
75,630,707
2
null
75,629,700
0
null
Your will be the for you if you are running the query somewhere inside the cluster only. If you are running an outside query and your database is in and not exposed you might have to expose your service. You can change your service type to . Make sure this will expose database publicly. Here example for ``` apiVer...
null
CC BY-SA 4.0
null
2023-03-03T18:34:23.223
2023-03-03T18:35:23.943
2023-03-03T18:35:23.943
5,525,824
5,525,824
null
75,630,697
1
null
null
0
8
> undefined is not an object (evaluating 'aws_amplify__WEBPACK_IMPORTED_MODULE_6__["default"].configure') Getting this error while build a auth private page in my note web app using this project to learn more about aws and react integration kind of stuck ``` import React, { useState, useEffect } from "react"; import La...
undefined is not an object (evaluating 'aws_amplify__WEBPACK_IMPORTED_MODULE_6__["default"].configure')
CC BY-SA 4.0
null
2023-03-03T18:32:48.503
2023-03-03T19:14:05.637
2023-03-03T19:14:05.637
4,420,967
16,339,676
[ "amazon-web-services", "aws-amplify", "aws-amplify-cli", "amplifyjs" ]
75,630,716
1
null
null
-1
40
know the difference between using WHERE TRUE and not in UPDATE commmand I would like to know the difference
SQL what the difference between UPDATE my_table SET status = 'inactive'; and UPDATE my_table SET status = 'inactive' WHERE TRUE;
CC BY-SA 4.0
null
2023-03-03T18:35:35.270
2023-03-04T14:54:59.283
null
null
18,174,810
[ "sql" ]
75,630,717
1
null
null
0
12
I have a humanoid character in Unity's animator, and I have several animations for the character to transition from idle to walking in different directions (45, 90, 135 and 180 degrees). However, I do not have the required transition animation for when the player moves, for example, 25 degrees. I tried using a blend tr...
How can I make a smooth transition between animations in Unity's animator?
CC BY-SA 4.0
null
2023-03-03T18:35:46.747
2023-03-04T12:11:26.830
2023-03-04T12:11:26.830
15,499,842
15,499,842
[ "unity3d", "animation" ]
75,630,713
2
null
75,614,138
0
null
You can group the plotshape with triangleup Something like that: ``` triangledown = shortpullbacksignal or shortCondition2 or shortCondition3 plotshape( triangledown, title = 'triangledown', style = shape.triangledown, location = location.absolute, color = color.new(color.red, 0)) triangleup...
null
CC BY-SA 4.0
null
2023-03-03T18:35:16.967
2023-03-03T18:35:16.967
null
null
5,577,188
null
75,630,719
1
75,630,928
null
-1
15
I am building a Application for a Resturent using Oracle APEX. I need to build a Interface like the image shown below [the interface is something like this](https://i.stack.imgur.com/ELONm.png) I need to link those buttons to the items table in my database, when user click on the button the item should go to the bill p...
Adding Buttons referenced to a database table column in oracle apex
CC BY-SA 4.0
null
2023-03-03T18:36:06.660
2023-03-03T20:17:07.713
2023-03-03T20:17:07.713
876,298
15,146,729
[ "oracle", "plsql", "oracle-apex", "oracle-apex-5.1" ]
75,630,720
1
null
null
0
15
I'm using [Tabulator](https://tabulator.info/) with Vue and trying to figure out how to use [Vue Slots](https://vuejs.org/guide/components/slots.html) to render content for particular columns or empty data. Is this possible? I did something similar with vue-good-table but as that's no longer supported in Vue 3 I'm tryi...
How do I use Vue Slots with Tabulator
CC BY-SA 4.0
null
2023-03-03T18:36:14.203
2023-03-03T21:33:41.017
2023-03-03T21:33:41.017
15,147,632
15,147,632
[ "vue.js", "vuejs2", "vuejs3", "tabulator" ]
75,630,714
1
75,630,782
null
0
22
I'm using jq to parse JSON. The JSON has an array called "players[]" which contains a key "name" with the following sample values: ``` ZZZ-104TH-082-ADV-004 ZZZ-149TH-435-ADV-WL-006 GDS-123-CIC-007_temp-blocked LRMR-121-CIC-002_temp-removed NOS-343-CIC-003_Failed E180TH-426-CIC-008 LBRTY-185-CIC-005 ``` I have this jq...
Use or operator in jq
CC BY-SA 4.0
null
2023-03-03T18:35:27.950
2023-03-03T18:46:44.737
2023-03-03T18:40:33.563
10,106,195
10,106,195
[ "arrays", "if-statement", "syntax", "jq", "boolean-operations" ]
75,630,722
2
null
75,630,721
0
null
Error was caused by having the limit 10; Once I removed this, the query worked. Another work around I found was by creating a view in redshift and select * from that view.
null
CC BY-SA 4.0
null
2023-03-03T18:36:27.580
2023-03-03T18:36:27.580
null
null
15,362,075
null
75,630,723
2
null
75,270,706
0
null
Material 3 uses dynamic colors, you can override the theme using the `colorScheme` inside the `ThemeData` and tweak the colors there. Then, you can go to the widgets in you app and use `Theme.of(context).colorScheme` and then `.primary` or whatever you wish. To know more about the Material 3 in Flutter you can check [h...
null
CC BY-SA 4.0
null
2023-03-03T18:36:35.550
2023-03-03T18:36:35.550
null
null
21,282,592
null
75,630,727
2
null
75,616,174
0
null
SMTP doesn't include any universally available function to determine if an email has been successfully delivered, or read - even if accepted by a mail server, the email may be caught by a spam filter. A hidden beacon could be used to verify if an email has actually been opened, but their use is discouraged and often th...
null
CC BY-SA 4.0
null
2023-03-03T18:37:05.937
2023-03-03T18:37:05.937
null
null
2,900,029
null
75,630,724
1
75,633,626
null
0
28
This question has been asked a lot, but I am specifically looking for a way to solve this with the Github Desktop application. I don't know how to use it, in fact this is my very first time publishing anything to Github, and my friend recommended I used the desktop application because it's easier. When I upload try to ...
Github desktop application - Nothing added to commit but untrack files present
CC BY-SA 4.0
null
2023-03-03T18:36:40.127
2023-03-04T04:21:38.713
2023-03-03T22:51:30.150
8,370,915
11,933,282
[ "git", "github" ]
75,630,721
1
null
null
0
2
``` SELECT concat('-', column_1) as column_1, column_2 as column_2, concat('-', column_3) as column_3, 'hard_code_string' as column_4, column_5 as column_5, column_6 as column_6, column_7, column_8 as column_8, column_9 AS column_9, column_10 as column_10, column_11 AS colu...
IICS no viable alternative at input '\n/* partner: Informatica -v 2.0 *
CC BY-SA 4.0
null
2023-03-03T18:36:27.580
2023-03-03T18:36:27.580
null
null
15,362,075
[ "api", "amazon-redshift", "informatica", "iics", "iics-di" ]
75,630,730
2
null
75,630,699
0
null
you need select python interpreter in PyCharm .
null
CC BY-SA 4.0
null
2023-03-03T18:37:19.607
2023-03-03T18:37:19.607
null
null
21,006,392
null
75,630,725
2
null
75,630,626
0
null
Simple way using by `transform` function to iterate over each key-value pair in the input object, and checks if the value is an object using `isObject`. If the value is an object, the implementation creates a nested object using transform again, with a function that concatenates the key with the nested key using dot n...
null
CC BY-SA 4.0
null
2023-03-03T18:36:51.620
2023-03-03T18:38:37.870
2023-03-03T18:38:37.870
14,529,779
14,529,779
null
75,630,729
1
null
null
-1
15
I have a huge MVC project that uses chart.js but it is version 1.0.2 which has [CVE-2020-7746](http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-7746) vulnerability and needs to be updated to at least 2.9.4 but I need to know if there are any breaking changes in that huge jump. Where can I easily find all breaki...
Where can I find breaking changes in chart.js in early versions?
CC BY-SA 4.0
null
2023-03-03T18:37:14.023
2023-03-03T18:40:22.003
null
null
7,465,224
[ "chart.js" ]
75,630,731
2
null
75,630,248
1
null
I'm not familiar with that library. but your response numbers are too similar to show the difference in the chart. what if you make ymax, ymin dynamic based on min max response?
null
CC BY-SA 4.0
null
2023-03-03T18:37:24.820
2023-03-03T18:37:46.177
2023-03-03T18:37:46.177
9,233,391
9,233,391
null
75,630,726
2
null
75,630,665
1
null
You can use: - [mapped type](https://www.typescriptlang.org/docs/handbook/2/mapped-types.html)- [conditional type](https://www.typescriptlang.org/docs/handbook/2/conditional-types.html) ``` type FromInterface<T> = { [K in keyof T]: T[K] extends string | number | Date ? MyGeneric<T[K]> ...
null
CC BY-SA 4.0
null
2023-03-03T18:37:03.443
2023-03-03T18:45:40.087
2023-03-03T18:45:40.087
1,570,854
1,570,854
null
75,630,734
2
null
75,628,320
1
null
If you want to create random values of type `Float16` you have at least these two options: ``` julia> 2*rand(Float16) - 1 Float16(-0.952) ``` Or using Distributions.jl ``` julia> d = Uniform{Float16}(-1, 1); julia> rand(d) 0.3907014142060643 julia> rand(d) |> typeof Float64 ```
null
CC BY-SA 4.0
null
2023-03-03T18:37:39.397
2023-03-03T18:37:39.397
null
null
2,749,865
null
75,630,735
2
null
75,630,694
0
null
Your styled component expression needs to use backticks (`), not single quotes ('): ``` const Component = styled(Box)` width: 80% ` ``` It's a [template literal](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals).
null
CC BY-SA 4.0
null
2023-03-03T18:37:52.540
2023-03-03T18:43:05.307
2023-03-03T18:43:05.307
636,077
636,077
null
75,630,732
2
null
75,315,375
0
null
Yes, this is definitely possible using Power Automate. I opened Teams in the browser and opened the existing chat with myself and grabbed the URL [https://teams.microsoft.com/_#/conversations/48:notes?ctx=chat](https://teams.microsoft.com/_#/conversations/48:notes?ctx=chat) Other chats were similar, so I copied the `48...
null
CC BY-SA 4.0
null
2023-03-03T18:37:27.027
2023-03-03T18:37:27.027
null
null
2,233,543
null
75,630,740
2
null
75,630,662
1
null
In theory, increasing the number of primary shards should have helped; can you confirm you're not trying to write into the same exhausted shard (e.g., you have some routing or allocation strategy in place, or some join types)? Anyhow, I would recommend you split your index into multiple indices rather than increasing t...
null
CC BY-SA 4.0
null
2023-03-03T18:38:40.333
2023-03-03T18:38:40.333
null
null
3,029,337
null
75,630,737
2
null
75,630,607
0
null
Something like this: ``` library(lubridate) library(ggplot2) shift_info$end_time[3] <- shift_info$end_time[3] + days(1) ggplot(shift_info, aes(x = hour(start_time):hour(end_time), y = shift)) + geom_segment(aes(x = hour(start_time), xend = hour(end_time), yend = shift), color = "gold", size = 3) + scale_x_contin...
null
CC BY-SA 4.0
null
2023-03-03T18:38:00.987
2023-03-03T18:38:00.987
null
null
13,321,647
null
75,630,738
2
null
75,630,591
2
null
You are probably using the StrictMode. Check your main file (index.js, main.js) and see if the component is wrapped like this: ``` root.render( <StrictMode> <App /> </StrictMode> ); ``` For more details about that, you can see this answer: [My React Component is rendering twice because of Strict Mode](https://...
null
CC BY-SA 4.0
null
2023-03-03T18:38:18.597
2023-03-03T18:38:18.597
null
null
17,101,307
null
75,630,718
1
null
null
0
15
I have the following infrastructure created in Openstack: [](https://i.stack.imgur.com/8C7W9.png) all my VM's are Ubuntu 22.04 My PRIVATE-0 Network is 10.0.0.0/24 and the ips for each of my Workers are: - - - For the most part I have followed the kelseyhightower's guide [Kubernetes the Hard Way](https://github.com/kel...
Communication between pods allocated in different nodes failling
CC BY-SA 4.0
null
2023-03-03T18:35:50.760
2023-03-03T18:35:50.760
null
null
16,922,343
[ "kubernetes", "openstack" ]
75,630,736
1
null
null
-1
30
For Firebase Cloudfunctions I am trying to update a value based on a dynmaic ID. This ID is saved inside a const value. The exact field I try to reach via dot-notation. Here is my complete function: ``` exports.badgeUpdated = functions.firestore .document("badges/{docId}") .onUpdate(async (change, context ) => ...
Javascript parameter inside string not recognized
CC BY-SA 4.0
null
2023-03-03T18:37:53.437
2023-03-03T21:33:03.133
2023-03-03T18:50:30.590
11,848,908
11,848,908
[ "javascript", "firebase", "google-cloud-firestore" ]
75,630,743
2
null
75,630,685
1
null
You can use `(?<!/\*.*)` to look for `/*` followed by zero or more characters. ``` const str = ` :this { display: grid; } p { color: red} :this { this is also okay to capture } /* but do not capture this :this { } , so how to look far behind here */ `; const r...
null
CC BY-SA 4.0
null
2023-03-03T18:39:06.757
2023-03-03T18:39:19.683
2023-03-03T18:39:19.683
9,513,184
9,513,184
null
75,630,746
2
null
74,804,543
0
null
`k3s ctr image ls | grep awx` simply tells you that the image is loaded locally (not to the registry). In the next command when you do a `k3s ctr image pull..` or `k3s ctr image run`, you're actually expecting the image to be pulled down from the remote registry. Which registry are you trying to pull this from? `docker...
null
CC BY-SA 4.0
null
2023-03-03T18:39:55.297
2023-03-03T18:39:55.297
null
null
13,521,996
null
75,630,733
1
75,631,000
null
-2
28
I am trying to solve the Leetcode Decode Ways problem ([https://leetcode.com/problems/decode-ways/](https://leetcode.com/problems/decode-ways/)). Consider a string with upper case elements from the English alphabet represented by numbers. So `A` maps to `1`, `B` maps to `2`, and so on until `Z` maps to `26`. Given a st...
Leetcode "Decode Ways" problem and recursion error
CC BY-SA 4.0
null
2023-03-03T18:37:28.537
2023-03-03T19:10:17.703
2023-03-03T18:55:01.203
1,936,752
1,936,752
[ "python", "recursion" ]
75,630,742
2
null
75,630,567
0
null
One approach is to create a new object type called `D` (for decimal). ``` from decimal import Decimal class D: def __init__(self, d: float | int): self.d = Decimal(str(d)) def __add__(self, other_d: D): return self.d + other_d.d ``` By overwriting the `__add__` method on `D`, you can recreate the additio...
null
CC BY-SA 4.0
null
2023-03-03T18:39:05.897
2023-03-03T18:41:19.573
2023-03-03T18:41:19.573
12,705,481
12,705,481
null
75,630,728
1
75,630,751
null
1
38
I've attempted to read a column of values in `txt` file into a double array in C (I haven't written C/C++ for years, take me as a newbie). The values in file and the values in the double array were different. I don't understand why and how to correct it. I've locked C standard to C99 in CMAKE as well because other part...
C reading values into double array, read values are different from values on local file
CC BY-SA 4.0
null
2023-03-03T18:37:09.153
2023-03-03T21:38:51.743
null
null
4,436,572
[ "c", "gcc", "gdb" ]
75,630,753
2
null
75,630,729
0
null
You can look through all the releases from 2.0 alpha to release 2.0 to see al breaking changes [https://github.com/chartjs/Chart.js/releases?page=10](https://github.com/chartjs/Chart.js/releases?page=10)
null
CC BY-SA 4.0
null
2023-03-03T18:40:22.003
2023-03-03T18:40:22.003
null
null
8,682,983
null
75,630,750
1
null
null
0
4
I want to set up a bitbucket pipeline to run our end-to-end testing using testcafe for our angular application. We are using the guide from this link: [https://testcafe.io/documentation/402821/guides/continuous-integration/bitbucket-pipelines](https://testcafe.io/documentation/402821/guides/continuous-integration/bitbu...
Failed to find a DNS-record for the resource at "localhost" using Testcafe in Bitbucket Pipeline
CC BY-SA 4.0
null
2023-03-03T18:40:09.547
2023-03-03T18:40:09.547
null
null
8,718,713
[ "testcafe" ]
75,630,749
1
null
null
0
4
How to delete post-snapshot value in Firebase? ``` FirebaseDatabase.getInstance() .getReference() .child("users") .addValueEventListener(new ValueEventListener() { @Override public void onDataChange(@NonNull DataSnapshot snapshot) { for (DataSnapshot postSn...
Want to delete Firebase postSnapshot Value
CC BY-SA 4.0
null
2023-03-03T18:40:08.440
2023-03-03T18:40:08.440
null
null
13,174,621
[ "java", "android", "firebase", "firebase-realtime-database", "snapshot" ]
75,630,751
2
null
75,630,728
1
null
`"%f"` in `scanf()` is for reading `float`. Use `"%lf"` (add `l`) instead for reading `double`. You can use `&input[i]` (not `input[i]` without `&`) instead of `(input+i)` to read values. Also note that the line ``` printf( "%current value is %e \n", *(input+i)); ``` invokes by - `printf()``%c``int``*(input+i)``doubl...
null
CC BY-SA 4.0
null
2023-03-03T18:40:19.697
2023-03-03T18:40:19.697
null
null
4,062,354
null
75,630,757
1
null
null
0
4
I have created an animated button in Figma. I want to save it as html and css code. I don't understand how to do it. There are many videos on YouTube on how to create something, but they do not show how to save it in code. Can you please tell me how to save the animated button as code?
figma - How to convert animated button to code
CC BY-SA 4.0
null
2023-03-03T18:40:37.880
2023-03-03T18:40:37.880
null
null
21,283,887
[ "figma" ]
75,630,755
2
null
75,620,992
0
null
I used all the requirements as shown below tried to troubleshoot , also used old versions of kivymd as 0.104.1, 0.104.2 , the app working and deploy in android except MDTopAppBar or MDToolbar it crushs app, add to that unstalled buildozer and installe again, I'am using UBuntu 21.10 # (list) Application requirements`en...
null
CC BY-SA 4.0
null
2023-03-03T18:40:32.983
2023-03-03T18:48:31.633
2023-03-03T18:48:31.633
15,255,634
15,255,634
null
75,630,756
2
null
75,630,471
2
null
It is somewhat [hard](https://stackoverflow.com/a/18237295/6912817) to put format with line breaks in ggplots. This is an example made with iris (please share some data so we can reproduce your plot). The key is that expressions in r are parsed by plotmath (see `?plotmath`). Here i use the function atop (which is a plo...
null
CC BY-SA 4.0
null
2023-03-03T18:40:36.303
2023-03-03T18:41:48.043
2023-03-03T18:41:48.043
6,912,817
6,912,817
null
75,630,744
2
null
75,630,324
3
null
What was written [in the question's initial version, which was later edited] sounds like you want the , but actually you need a as well, so that you can merge `(10,22)`, `(10,20)`, and `(10,69)`. ``` def merge_sets(sets): for i in range(len(sets) - 1, -1, -1): for j in range(i - 1, -1, -1): if ...
null
CC BY-SA 4.0
null
2023-03-03T18:39:22.173
2023-03-04T08:10:09.490
2023-03-04T08:10:09.490
2,057,969
2,057,969
null
75,630,761
2
null
75,620,594
0
null
I have solved this issue: I found out that the default Timer I used to check the Caps Lock status does not work in Secure Desktop. Due to the nature of Secure Desktop, I was unable to use the debugging function of the development environment to verify this, which led me to misunderstand that the API was blocked by secu...
null
CC BY-SA 4.0
null
2023-03-03T18:41:15.373
2023-03-03T18:41:15.373
null
null
15,448,557
null
75,630,762
2
null
513,396
0
null
### It's now very easy to do this: ``` extension UIScrollView { ///The usual values are .998 (fast) and .990 (normal). ///0.92 for example is a crisp spring effect. var customDecelerationFactor: CGFloat { set { setValue(CGSize(width: newValue, height: newValue), ...
null
CC BY-SA 4.0
null
2023-03-03T18:41:17.197
2023-03-03T18:41:17.197
null
null
294,884
null
75,630,766
2
null
75,630,689
-1
null
How about a thread ? Check if there are changes , and if not for an amount of time to clear it ?
null
CC BY-SA 4.0
null
2023-03-03T18:41:44.537
2023-03-03T18:42:13.213
2023-03-03T18:42:13.213
19,409,530
19,409,530
null
75,630,759
1
null
null
0
18
I'm going to try to explain this in the best way possible. I'm playing around with using different devices as input in PyQt. I'm trying to use EOG glasses as a device to interact with interfaces (sort of like an alternate version of a keyboard). And I'm trying to do some key mapping. I want PyQt to take in an input and...
Is there a way to trigger a keyPressEvent in PyQt with a QKeyEvent coded in the script?
CC BY-SA 4.0
null
2023-03-03T18:41:08.790
2023-03-03T20:27:57.853
2023-03-03T20:27:57.853
14,585,560
14,585,560
[ "python", "pyqt", "pyqt5", "event-handling" ]
75,630,764
2
null
59,006,643
0
null
you can use json decoder ``` type jsonPrametersMap map[string]interface{} var m jsonPrametersMap decoder := json.NewDecoder(bytes.NewReader(c.Request.Body)) if err := decoder.Decode(&m); err != nil { fmt.Println(err) return } ``` playground [here](https://go.dev/play/p/YGxNoQW4fGs)
null
CC BY-SA 4.0
null
2023-03-03T18:41:27.023
2023-03-03T18:42:54.860
2023-03-03T18:42:54.860
3,115,129
3,115,129
null
75,630,754
2
null
75,619,250
0
null
This code will address to get more than 100 songs. Main idea as mentioned `Tranvi` is while loop keep request tile next URL is None. This is format of next filed if still more song after calling get playlist API. the offset is automatically filed by response of data. ``` "next": "https://api.spotify.com/v1/playlists/<p...
null
CC BY-SA 4.0
null
2023-03-03T18:40:28.950
2023-03-03T19:23:41.883
2023-03-03T19:23:41.883
8,054,998
8,054,998
null
75,630,763
1
75,630,811
null
1
22
Below is just a simplified dummy example that reproduces this problem. ``` function MultiplierBox() { const [a, setA] = useState([1.0, 2.2]) function updateA(index, newValue) { const newArray = [...a]; newArray[index] = newValue; setA(newArray); } function Row({ a, index }) { function handleA(ev...
Just started learning React a week ago, stuck on debugging why the input field unfocused after each key entry
CC BY-SA 4.0
null
2023-03-03T18:41:23.390
2023-03-03T18:50:50.060
null
null
6,535,624
[ "reactjs" ]
75,630,760
2
null
75,627,636
0
null
Really interesting question which completely distracted me from work! This question is similar and could be useful to you:[Get all dates between two dates in SQL Server](https://stackoverflow.com/questions/23290454/get-all-dates-between-two-dates-in-sql-server) . I think the recommendation of building a calendar table ...
null
CC BY-SA 4.0
null
2023-03-03T18:41:12.670
2023-03-03T18:53:52.457
2023-03-03T18:53:52.457
10,065,878
10,065,878
null
75,630,748
1
75,632,500
null
1
28
I am working on cascading datatable columns. It works fine. However, I am not sure how to apply reset filter to the reset button. Here is what I have. The requirement is when I click on Clear Filters, it will remove the drop-down column filter as well as search text filter. Is there a way to do this? Thanks. [https://l...
How to apply clear filter to datatables reset button?
CC BY-SA 4.0
null
2023-03-03T18:40:04.747
2023-03-03T22:50:07.113
2023-03-03T22:22:55.207
21,267,931
21,267,931
[ "javascript", "html", "datatables" ]
75,630,770
1
null
null
1
21
I wanted to throw out a question in hopes someone can point me in the right direction. If I have a group of PDFs or images. Some PDFs are textual content. There is no problem. Some PDFs might have handwritten notes that I need to OCR. The problem is finding which PDFs have handwriting. Maybe that is not possible. Or m...
Detecting which PDFs or Images contain handwritting?
CC BY-SA 4.0
null
2023-03-03T18:42:17.527
2023-03-03T18:42:17.527
null
null
6,369,693
[ "python", "pdf" ]
75,630,768
1
null
null
0
11
I'm trying to get all the structures (polygons) contained within a set polygon by calling for the tag "element_type":"way" but I can't seem to get it to work. I've tried the code below to try to get all the element_type:way inside the polygon but it returns an empty gdf. ``` polygon = disolved_ellipses_gpd.iloc[0]["geo...
Trying to use the OSMnx tag "element_type" to retrieve all the "way" objects contained within a polygon
CC BY-SA 4.0
null
2023-03-03T18:42:04.227
2023-03-04T20:34:31.287
2023-03-04T20:34:31.287
17,562,044
8,412,538
[ "python", "geopandas", "osmnx" ]
75,630,772
1
null
null
0
16
I got this to work for calling single users in the AD and updating their properties. I have to rename the CN= to a different user every time. In order to update properties for all users in an OU do i use the distinguishedName of the User's folder? Or do i need to loop through the user's CN in the folder? I am a bit stu...
Power shell User Loop for Active Directory
CC BY-SA 4.0
null
2023-03-03T18:42:21.317
2023-03-03T18:42:21.317
null
null
17,215,767
[ "powershell", "active-directory" ]
75,630,767
1
null
null
0
19
I don't even know how or why this happens so I don't really know how to fix it. I am on the newest version of Google Chrome. No JS frameworks. I tried to make an interesting effect when I hover over this one piece of text using this code: ``` const letters = "ABCDEFGHIJKLMNOPQRTUVWXYZabcdefghijklmnopqrtuvwxyz0123456789...
Uncaught TypeError: Cannot set properties of null (setting 'onmouseover') error in javascript
CC BY-SA 4.0
null
2023-03-03T18:41:52.993
2023-03-03T19:03:34.497
null
null
19,495,092
[ "javascript", "events" ]
75,630,774
2
null
74,432,044
0
null
I don't believe its possible anymore
null
CC BY-SA 4.0
null
2023-03-03T18:42:37.777
2023-03-03T18:42:37.777
null
null
15,134,108
null
75,630,752
1
null
null
-3
43
Excel Geeks, I have a range with 400,000 rows and 5 columns. sample is below: | Num1 | Num2 | Num3 | Num4 | Num5 | | ---- | ---- | ---- | ---- | ---- | | 1 | 2 | 3 | 4 | 5 | | 4 | 5 | 6 | 7 | 8 | | 2 | 3 | 4 | 8 | 31 | | 2 | 5 | 4 | 22 | 12 | | 12 | 13 | 14 | 18 | 22 | and another range with 600 rows and 3 c...
Finding combination of numbers in range
CC BY-SA 4.0
null
2023-03-03T18:40:19.987
2023-03-03T18:46:59.493
2023-03-03T18:46:59.493
8,422,953
10,843,071
[ "excel", "vba" ]
75,630,778
1
null
null
-3
29
``` EuclidGCD (int a, int b) { if (a <= 0) return -1; if (b <= 0) return -1; int t; if (b > a) { t = a; a = b; b = t;} t = a % b; while (t != 0) { a = b; b = t; t = a % b;} return b; } ``` I have to find [cyclo...
McCabe Control flow graph & cyclomatic complexity for following procedure
CC BY-SA 4.0
null
2023-03-03T18:43:13.423
2023-03-03T18:47:31.203
2023-03-03T18:47:31.203
298,225
17,544,495
[ "c", "control-flow", "cyclomatic-complexity", "black-box", "white-box" ]
75,630,776
2
null
75,628,264
0
null
A reference to each canvas context remains, perhaps due to whatever the initWebGLAnimation method is doing. Instead of creating new canvases, clear the webgl context. ``` let canvasElem = null; let canvasContext = null; const clearCanvas = () => { canvasElem.width = 0; canvasElem.height = 0; if(canvasContext) ...
null
CC BY-SA 4.0
null
2023-03-03T18:42:50.933
2023-03-03T18:42:50.933
null
null
17,432,841
null
75,630,773
1
null
null
0
12
I have to keep the Audio Speaker even if my headset is plugged into my device using AudioManager, but when wrote this code the AudioManager automatically switched to normal mode after 6 sec. There is another way to do this on android 12? ``` public void onCreate() { m_amAudioManager = (AudioManager) getSystemServi...
How to switch to speaker when my headphone is plugged on Android
CC BY-SA 4.0
null
2023-03-03T18:42:37.290
2023-03-04T02:12:59.503
2023-03-04T02:12:59.503
12,572,405
15,508,161
[ "java", "android", "android-audiomanager", "android-12" ]
75,630,782
2
null
75,630,714
1
null
I'd go with `select` (which emits `empty` if its argument evaluates to `false`, i.e. there is no match), and `test` for regular expressions: ``` jq '.players[].name | select(test("ZZZ|temp|Failed") | not) ' ``` ``` "E180TH-426-CIC-008" "LBRTY-185-CIC-005" ```
null
CC BY-SA 4.0
null
2023-03-03T18:43:30.567
2023-03-03T18:46:44.737
2023-03-03T18:46:44.737
2,158,479
2,158,479
null
75,630,780
1
null
null
0
9
I am trying to get started with Snyk on my existing Firebase project and running into this error when trying `snyk test`: ``` Dependency firebase-admin was not found in package-lock.json. Your package.json and package-lock.json are probably out of sync. Please run "npm install" and try again. ``` To make sure it's not...
Issue running Snyk test against a fresh firebase project
CC BY-SA 4.0
null
2023-03-03T18:43:26.360
2023-03-03T18:43:26.360
null
null
2,200,007
[ "firebase", "snyk" ]
75,630,781
1
null
null
-1
22
The error I am getting is > Error: D:/CpE 200L SystemVerilog/alu.sv(8): near ";": syntax error, unexpected ';' The line in question specifically is the most final line with the final ;. ``` module alu (input logic [31:0] A, B, input logic [2:0] ALUControl, input logic cin, output logic [31:0] Result); assign Resul...
Why is this systemverilog code giving an error?
CC BY-SA 4.0
null
2023-03-03T18:43:30.190
2023-03-03T18:49:21.927
2023-03-03T18:49:21.927
21,327,996
21,327,996
[ "verilog", "system-verilog" ]
75,630,786
1
null
null
0
6
I am not sure why this is throwing an error while I have been trying to use formik. I am new to using many of these tools, so it may be something very simple. [error image](https://i.stack.imgur.com/dvTyI.jpg) I have been trying to create a user authentication app and formik has been throwing this error. I don't exactl...
why does useFormik return a type error without arguments?
CC BY-SA 4.0
null
2023-03-03T18:44:08.373
2023-03-03T18:44:08.373
null
null
21,327,976
[ "next.js", "formik" ]
75,630,783
1
null
null
0
31
`Hello, I am trying to make a pie chart wit row data using openpyxl. I have found several examples with column data but I need row data. The example is this one: ``` from openpyxl import Workbook from openpyxl.chart import ( PieChart, ProjectedPieChart, Reference ) from openpyxl.chart.series import DataPoin...
How to make a pie chart with row data in Excel with Openpyxl?
CC BY-SA 4.0
null
2023-03-03T18:43:33.910
2023-03-04T02:19:43.560
null
null
21,327,970
[ "python", "excel", "openpyxl" ]
75,630,791
2
null
75,518,266
0
null
You can grab the pattern `[...:ign]` with `"\\[.*:ign\\]"` and then replace it with an empty string using `sub()`. ``` str <- c("szukajdzie [szukajdzie:ign]", "chamajde [chamajde:ign]", "delajda [delajda:ign]") sub(pattern = "\\[.*:ign\\]", replacement = "", str) # [1] "szukajdzie " "chamajde " "delajda " ``` I am ...
null
CC BY-SA 4.0
null
2023-03-03T18:44:35.043
2023-03-03T18:44:59.373
2023-03-03T18:44:59.373
13,840,270
13,840,270
null
75,630,790
1
null
null
0
31
I have this table on SQL Server from which I want to extract a column information, but inside that column I have 730 rows of different structured JSON. In the past, I used OPENJSON but my data had a structured JSON, it worked like this: ``` SELECT t._id as IDENT, oj.id, oj.CreatedAt, oj.from_nome, oj.from_id, oj.obser...
How to open a JSON inside a column, which has a variable structure on SQL Server or similar
CC BY-SA 4.0
null
2023-03-03T18:44:28.687
2023-03-03T19:48:09.700
null
null
17,604,480
[ "sql", "sql-server" ]
75,630,785
1
null
null
0
24
I already have code that creates a transparent window and draws a square on it using [winit](https://crates.io/crates/winit/0.26.1/dependencies), [winapi](https://crates.io/crates/winapi) and [pixels](https://crates.io/crates/pixels), but I can't make it click-through, that is, let the user interact with what is behind...
How can I make a click-through overlay in Rust that still captures input?
CC BY-SA 4.0
null
2023-03-03T18:44:04.713
2023-03-04T18:35:29.703
null
null
21,168,597
[ "rust", "window", "user-input", "overlay", "winit" ]
75,630,777
1
null
null
0
12
I've set up the JWT authentication in my application similar to what is described in the [FastAPI documentation](https://fastapi.tiangolo.com/tutorial/security/oauth2-jwt/). However, the current recommendation for JWT security is to use the RS256 algoritm as it is more secure than HS256 and consists of public and priv...
How can I implement RS256 based JWTs in FastAPI?
CC BY-SA 4.0
null
2023-03-03T18:43:03.500
2023-03-03T18:43:03.500
null
null
14,847,203
[ "python", "security", "jwt", "fastapi" ]
75,630,793
1
null
null
-1
15
How can I make subsurface with SRCALPHA in PyGame? I easily can make common surface with `SRCALPHA` ``` surf = Surface((600, 600), SRCALPHA) ``` But I can't give `SRCALPHA` argument to `subsurface` method ``` cat = image.load("cat.png").convert_alpha() subsurf = cat.subsurface((x, y, width, height), SRCALPHA) # can no...
How make subsurface with SRCALPHA in PyGame?
CC BY-SA 4.0
null
2023-03-03T18:44:48.743
2023-03-03T21:16:03.873
2023-03-03T21:16:03.873
6,273,251
19,609,030
[ "python", "pygame", "pygame-surface" ]
75,630,794
1
null
null
1
47
Whenever I create a fresh Python 3.11 virtual environment using `venv`, the provided `pip` always prompts me to update to the latest version, even though my base version appears to be up to date ``` $ python3.11 -m pip --version pip 23.0.1 from /opt/homebrew/lib/python3.11/site-packages/pip (python 3.11) $ python3.11 -...
Python venv pip is always outdated
CC BY-SA 4.0
null
2023-03-03T18:44:49.170
2023-03-03T20:17:52.367
2023-03-03T18:57:17.183
12,574,341
12,574,341
[ "python", "pip", "python-venv" ]
75,630,769
1
null
null
1
29
I'm trying to create a simple login system, and right now I want to make it so when a user enters a username, and it doesn't match a session variable (not working with database atm), there should be an error message saying that the account doesn't exist. I have used jQuery for client side form validation,and now I want...
php error message in login form after error message has been set is not being shown
CC BY-SA 4.0
null
2023-03-03T18:42:11.250
2023-03-03T19:28:51.977
2023-03-03T18:43:13.230
21,080,881
21,080,881
[ "javascript", "php", "forms", "validation", "session-variables" ]
75,630,792
1
null
null
0
14
I am trying to sum the values across selected columns using the code below ``` StateMigCL2010$EXPWTO<-rowSums(StateMigCL2010[ ,c("AL_EXPW"+"AK_EXPW"+"AZ_EXPW"+"AZ_EXPW" +"AR_EXPW"+"CA_EXPW"+"CO_EXPW"+"CT_EXPW"+"DE_EXPW" +"DC_EXPW"+"FL_EXPW"+"GA_EXPW"+"HI_EXPW"+"IA_E...
Summing values across select columns in r
CC BY-SA 4.0
null
2023-03-03T18:44:42.670
2023-03-03T18:45:33.757
2023-03-03T18:45:33.757
16,292,923
16,292,923
[ "r" ]
75,630,795
2
null
75,630,400
1
null
A slight variant of the strategy you proposed: ``` <?php $data = [ [ "id" => 110, "MainProduct" => 2, "productName" => "Oranges", ], [ "id" => 111, "MainProduct" => 110, "productName" => "Apples", ] ]; $output = []; array_walk($data, function(&$entry) use($data) { $mainProduct = arra...
null
CC BY-SA 4.0
null
2023-03-03T18:45:06.353
2023-03-04T10:09:47.727
2023-03-04T10:09:47.727
1,248,114
1,248,114
null
75,630,775
1
null
null
0
13
email sending from web or thunderbird client is fine but if i try forward message from outlook.. it get messy by additional gap like `p.MsoNorma` or other strange things [](https://i.stack.imgur.com/7HUzG.png) [](https://i.stack.imgur.com/E8IJb.png) here is head: ``` <HTML lang="en"> <HEAD> <TITLE>Email Sig...
Office 365/outlook is creating p/paragraph between tables and make additional gap on forward message
CC BY-SA 4.0
null
2023-03-03T18:42:38.807
2023-03-03T19:09:17.747
2023-03-03T19:09:17.747
1,603,351
20,871,027
[ "email", "outlook", "office365", "html-email", "signature" ]
75,630,799
2
null
75,630,603
2
null
You need to pregroup your view first: ``` select count(case when sex = 'm' then 1 end) AS male , count(case when sex = 'f' then 1 end) AS female ,count(case when sex not in ('m', 'f') then 1 end) AS other from ( select distinct sex, teacher_id from yourview ) x ``` EDIT: If you want to combine regular COUNT with c...
null
CC BY-SA 4.0
null
2023-03-03T18:45:36.593
2023-03-04T08:51:58.183
2023-03-04T08:51:58.183
13,061,224
13,061,224
null
75,630,796
1
null
null
1
10
Trying to get more information on why this is not working. I have never worked with Chrome extensions before. When trying to access the page DOM it seems like my popup button is accessing its own HTML instead of the page it's on. Ill include all the code to see if anything stands out for someone. index.js ``` document....
Trying to access the DOM with a Chrome Extension using Manifest v3
CC BY-SA 4.0
null
2023-03-03T18:45:11.830
2023-03-03T18:45:11.830
null
null
5,380,019
[ "javascript", "google-chrome-extension" ]
75,630,803
2
null
28,180,915
0
null
I couldn't change an SDK version, so I had to lower maven dependency of the library causing this error. I've had SDK 1.8_191, and I had to use TestNG 6.14.3, as versions 7.x wouldn't work.
null
CC BY-SA 4.0
null
2023-03-03T18:46:22.203
2023-03-03T18:46:22.203
null
null
1,551,368
null
75,630,800
2
null
75,628,359
1
null
Please refer to this [Cypress task - arguments](https://docs.cypress.io/api/commands/task#Arguments) > An argument to send along with the event. This can be any value that can be serialized by JSON.stringify(). types such as , regular expressions, or symbols to null. That refers to the input arguments, but the same r...
null
CC BY-SA 4.0
null
2023-03-03T18:46:01.050
2023-03-03T19:09:46.040
2023-03-03T19:09:46.040
16,695,029
16,695,029
null
75,630,797
1
null
null
-1
17
I recently got a NAS server and want to use it for a MySQL server but I seem to have missed something setting it up because I get an error when seeting up the connection in MySQL Workbench. [This](https://i.stack.imgur.com/dN8X8.png) is the error I am getting According to [this post](https://stackoverflow.com/questions...
"Host 'DESKTOP-xxxxxx' is not allowed to connect to this MySQL server" while trying to setup MySQL Workbench connection
CC BY-SA 4.0
null
2023-03-03T18:45:20.310
2023-03-03T20:06:30.867
2023-03-03T20:06:30.867
21,306,334
21,306,334
[ "mysql", "mysql-workbench" ]
75,630,798
2
null
75,630,317
0
null
The code for this algorithm is as follows. First we get all the lines of text from the text file. The line breaks of the lines are not included. If the line equals `level for him:`, we get all the next lines until we hit another line that ends with `:`. If we find a line that equals `serial num:`, we get the next line:...
null
CC BY-SA 4.0
null
2023-03-03T18:45:36.283
2023-03-03T18:49:15.530
2023-03-03T18:49:15.530
20,834,833
20,834,833
null
75,630,801
2
null
75,522,738
0
null
The only solution I've come up with is to essentially flush the oplog with nonsense like this: 1. Use a small loop to insert 100 documents into a new collection `{ value = "hello world" } 2. Update all the docs a bunch of times with something like value = value + " hello world" until they are large, e.g. 10MB 3. Updat...
null
CC BY-SA 4.0
null
2023-03-03T18:46:09.320
2023-03-03T18:46:09.320
null
null
29
null
75,630,802
1
null
null
0
13
With the help of the internet i found a way to Update the Version of my build each time i build it. But i still have to create a new folder for it by hand if i dont want to override the last build. Is there a way to create a folder named after the build version that unity uses to build the game into? Like Game V1.5 -\>...
Create new folder for the project to get build into throught script C#
CC BY-SA 4.0
null
2023-03-03T18:46:09.543
2023-03-03T18:46:09.543
null
null
21,008,635
[ "unity3d", "build", "directory", "version" ]
75,630,806
2
null
74,740,941
0
null
Modifying talsim's answer from below to what worked for me. ``` wget -4c https://ftp.gnu.org/gnu/glibc/glibc-2.29.tar.gz tar -zxvf glibc-2.29.tar.gz cd glibc-2.29 mkdir build_dir cd build_dir sudo ../configure --prefix=/opt/glibc sudo make sudo make install ```
null
CC BY-SA 4.0
null
2023-03-03T18:46:37.713
2023-03-03T18:54:01.763
2023-03-03T18:54:01.763
10,532,410
10,532,410
null
75,630,788
2
null
75,630,530
1
null
Changing the layer's does not change the layer's `.path`. If your goal is simple rectangles, you can use `CALayer` instead of `CAShapeLayer` with a path. Here's a quick example: ``` class BarView: UIView { let bar1 = CAShapeLayer() let bar2 = CALayer() override init(frame: CGRect) { super...
null
CC BY-SA 4.0
null
2023-03-03T18:44:18.827
2023-03-03T19:07:48.307
2023-03-03T19:07:48.307
6,257,435
6,257,435
null
75,630,807
2
null
75,627,763
0
null
``` $ sed -n '/^-*START$/,/^-*END$/p' <(sed 's/\\n/\n/g' <<<"$sample_text") -----START abcdEFGHij KLMN O/PqR -----END $ awk '/^-*START$/,/^-*END/$' <(awk 'gsub(/\\n/,"\n")' <<<"$sample_text") -----START abcdEFGHij KLMN O/PqR -----END $ awk -F'\\\\n' '{for (i=1;i<NF;i++) print $i}' <<<"$sample_text" -----START abcdEFG...
null
CC BY-SA 4.0
null
2023-03-03T18:46:49.227
2023-03-03T19:05:43.227
2023-03-03T19:05:43.227
4,177,828
4,177,828
null
75,630,805
1
75,630,818
null
2
16
I see there are many questions on Stack Overflow and other places online regarding pivoting dataframes into wide and long format. But I don't see any clear, simple examples of just transposing or pivoting a single column dataframe into a single row, "pivot wide" dataframe. Any recommendations for an easy way to do this...
How to pivot a single column long dataframe into a single row wide dataframe?
CC BY-SA 4.0
null
2023-03-03T18:46:32.553
2023-03-03T18:48:39.090
null
null
19,657,749
[ "r", "dataframe", "pivot", "transpose" ]
75,630,787
1
null
null
0
21
I try to fetch data from HTML FROM with pyhton Pydantic lib,I'm geeting 422 Error as as well as error {"detail":[{"loc":["body"],"msg":"value is not a valid dict","type":"type_error.dict"}]} ``` from fastapi import FastAPI, Form, Request from fastapi.responses import HTMLResponse from fastapi.templating import Jinja2T...
Python FASTAPI pydentic Error 422 Unprocessable Entity
CC BY-SA 4.0
null
2023-03-03T18:44:10.683
2023-03-03T18:45:04.217
2023-03-03T18:45:04.217
13,651,728
13,651,728
[ "python", "forms", "post", "fastapi", "pydantic" ]
75,630,810
1
null
null
-1
21
I want to know if there's a way of restricting `yubikeys` to only work on one is this one: We have a set of `IAM users` on `AWS` and want to restrict the use of those keys to only 1 computer (which would be the company-issued one). I was thinking on using a `YubiKey` for this. However, if the teammate just connects t...
Is there a way to restrict the use of a YubiKey to only 1 device?
CC BY-SA 4.0
null
2023-03-03T18:46:56.060
2023-03-03T18:46:56.060
null
null
8,232,797
[ "amazon-web-services", "macos", "yubico" ]
75,630,813
1
75,631,023
null
-3
45
I'll be honest I could use regex every day and still not understand it. Sorry! I have a set of strings like: ``` Product Title 1 10xx 40.5% Product Title 2 40x 40.655% Product Title 30xx 51% ``` How can I remove the last 2 blocks of text (If I use "space" as a delimeter it is always the last 2 "blocks" of text which ...
How to remove 2 elements from a string with regular expression?
CC BY-SA 4.0
null
2023-03-03T18:47:15.707
2023-03-03T22:25:42.103
null
null
3,459,987
[ "regex" ]
75,630,811
2
null
75,630,763
1
null
You have defined your `Row` component of the `MultiplierBox` component. That means that every time MultiplierBox renders, a brand new Row function is created. It may have the same text as the old one, but as far as react can tell, it's a different type of component. So react unmounts the old row and mounts the new one...
null
CC BY-SA 4.0
null
2023-03-03T18:46:59.237
2023-03-03T18:50:50.060
2023-03-03T18:50:50.060
3,794,812
3,794,812
null