qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
74,549,674
<p>In the img. below my goal is to locate the integral in area 1 / 2 / 3. In that way that I know how much area below the linear line (area 1 / 3), and how much area that are above the linear line (area 2)</p> <p>Im not looking for the exact integral, just an approximately value to measure on. an approx that would work...
[ { "answer_id": 74602211, "author": "Greg", "author_id": 4373753, "author_profile": "https://Stackoverflow.com/users/4373753", "pm_score": 1, "selected": true, "text": "QQmlApplicationEngine engine;\nengine.addImportPath(\":/\");\n" } ]
2022/11/23
[ "https://Stackoverflow.com/questions/74549674", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20441461/" ]
74,549,734
<p>I have the following code to build a Shinydashboard app. I'm trying to change the background color in the box on the top of my screen to a custom color (a color hex code color), however the options for the argument <code>background</code> only allow for a set of default colors. Is there a way to change the backgroun...
[ { "answer_id": 74549920, "author": "gdevaux", "author_id": 7972989, "author_profile": "https://Stackoverflow.com/users/7972989", "pm_score": 2, "selected": true, "text": "tags$div library(shiny)\nlibrary(shinydashboard)\n\n\nui <- dashboardPage(\n dashboardHeader(title = 'Dashboard'),\n...
2022/11/23
[ "https://Stackoverflow.com/questions/74549734", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13954869/" ]
74,549,774
<p>I just had following piece of code, which did not compile:</p> <pre><code>public Task&lt;int&gt; Handle { var result = &lt;do_something_returning_an_int&gt;(); ... return result; } </code></pre> <p>This gives compiler error `cannot implicitly convert type 'int' to 'System.Threading.Thread.Task'.</p> <p>W...
[ { "answer_id": 74549908, "author": "noel", "author_id": 10650696, "author_profile": "https://Stackoverflow.com/users/10650696", "pm_score": 3, "selected": false, "text": "async Task public Task<int> Handle\n{\n var result = <do_something_returning_an_int>();\n ...\n return Task....
2022/11/23
[ "https://Stackoverflow.com/questions/74549774", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4279155/" ]
74,549,835
<p>Trying to get Json data to csv i am getting the values but one block is showing as one line in result, new to python so any help appriciated. Have tried the below code to do the same.</p> <pre><code>import pandas as pd with open(r'C:\Users\anath\hard.json', encoding='utf-8') as inputfile: df = pd.read_json(inpu...
[ { "answer_id": 74549965, "author": "Andrej Kesely", "author_id": 10035985, "author_profile": "https://Stackoverflow.com/users/10035985", "pm_score": 2, "selected": true, "text": "import json\nimport pandas as pd\n\nwith open(\"your_file.json\", \"r\") as f_in:\n data = json.load(f_in)...
2022/11/23
[ "https://Stackoverflow.com/questions/74549835", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3754136/" ]
74,549,843
<p>Using pythons keyboard library, I have two function definitions:</p> <pre><code>def start_tracking(): *code to start tracking time* def end_tracking(): *code to stop tracking time* </code></pre> <p>I then want to use the same hotkey (e.g. F1) to invoke function 1 (start tracking time) on the first press and then ...
[ { "answer_id": 74549965, "author": "Andrej Kesely", "author_id": 10035985, "author_profile": "https://Stackoverflow.com/users/10035985", "pm_score": 2, "selected": true, "text": "import json\nimport pandas as pd\n\nwith open(\"your_file.json\", \"r\") as f_in:\n data = json.load(f_in)...
2022/11/23
[ "https://Stackoverflow.com/questions/74549843", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14236403/" ]
74,549,872
<p>Given one txt file Im trying to make a C program that copy the content of that into other which name is passed by arguments.The program must read blocks of 512 bytes from the source file and write the bytes read in the destination file.</p> <p>My attempt:</p> <pre class="lang-c prettyprint-override"><code>#include &...
[ { "answer_id": 74550051, "author": "David Grayson", "author_id": 28128, "author_profile": "https://Stackoverflow.com/users/28128", "pm_score": 1, "selected": false, "text": "fdd open fdo" }, { "answer_id": 74550058, "author": "Jeremy Friesner", "author_id": 131930, "a...
2022/11/23
[ "https://Stackoverflow.com/questions/74549872", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10734426/" ]
74,549,886
<p>I have the following dataframe called df (<code>dput</code> below):</p> <pre><code># A tibble: 14 × 5 group date indicator value diff_hours &lt;chr&gt; &lt;dttm&gt; &lt;lgl&gt; &lt;dbl&gt; &lt;dbl&gt; 1 A 2022-11-01 01:00:00 FALSE 2 4 2 A 2022-11-...
[ { "answer_id": 74550051, "author": "David Grayson", "author_id": 28128, "author_profile": "https://Stackoverflow.com/users/28128", "pm_score": 1, "selected": false, "text": "fdd open fdo" }, { "answer_id": 74550058, "author": "Jeremy Friesner", "author_id": 131930, "a...
2022/11/23
[ "https://Stackoverflow.com/questions/74549886", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14282714/" ]
74,549,900
<pre><code>import java.util.Scanner; public class recursion_4 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int a[] = new int[n]; for (int i = 0; i &lt; n; i++) { a[i] = sc.nextInt(); } printArray(a,...
[ { "answer_id": 74549951, "author": "Edward Peters", "author_id": 6016064, "author_profile": "https://Stackoverflow.com/users/6016064", "pm_score": 0, "selected": false, "text": "++i ++i i++ printArray i=arr.length-1 i i printArray i printArray printArray" } ]
2022/11/23
[ "https://Stackoverflow.com/questions/74549900", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18364522/" ]
74,549,925
<p>Say there is a list <code>[1,2,3,4,5]</code>, I would need to get the count of all possible combinations of the elements (or 'sub-lists'), e.g. <code>1, 2, 3, 4, 5, 12, 13, 14, ..., 123, 124, ..., 12345</code>.</p> <p>I know how to get <code>nCr</code>, the count of combinations of <code>r</code> elements of a list ...
[ { "answer_id": 74549966, "author": "C4stor", "author_id": 2404988, "author_profile": "https://Stackoverflow.com/users/2404988", "pm_score": 1, "selected": true, "text": "2^n -1" }, { "answer_id": 74550020, "author": "jprebys", "author_id": 3268228, "author_profile": "...
2022/11/23
[ "https://Stackoverflow.com/questions/74549925", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3135373/" ]
74,549,942
<p>I have a function that creates new Jupyter Notebook cells and I'm trying to use a loop to show value counts for each column and the specific difficulty I have is having them return with the column names in quotes. Here's what I have:</p> <pre><code>def create_new_cell(contents): shell = get_ipython() payload...
[ { "answer_id": 74549966, "author": "C4stor", "author_id": 2404988, "author_profile": "https://Stackoverflow.com/users/2404988", "pm_score": 1, "selected": true, "text": "2^n -1" }, { "answer_id": 74550020, "author": "jprebys", "author_id": 3268228, "author_profile": "...
2022/11/23
[ "https://Stackoverflow.com/questions/74549942", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16370131/" ]
74,549,949
<p>Flutter Streambuilder code below runs without error and returns (screenshot at bottom):</p> <pre><code>ID: AzFdOO9WsFaFbTxTQsuo Data: Instance of '_JsonDocumentSnapshot' </code></pre> <h2>How do I get to the values inside the _JsonDocumentSnapshot and display them in the Text() widget?</h2> <p>For instance, there's ...
[ { "answer_id": 74550035, "author": "BLKKKBVSIK", "author_id": 11550065, "author_profile": "https://Stackoverflow.com/users/11550065", "pm_score": 0, "selected": false, "text": "streamSnapshot.data Object dynamic streamSnapshot.data['banana']" }, { "answer_id": 74550380, "auth...
2022/11/23
[ "https://Stackoverflow.com/questions/74549949", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6188976/" ]
74,549,955
<p>Here is the preview of the drop down list</p> <p><a href="https://i.stack.imgur.com/v3etl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v3etl.png" alt="enter image description here" /></a></p> <p>Then, when I click on the dropdown to scroll the items</p> <p><a href="https://i.stack.imgur.com/0y8...
[ { "answer_id": 74550035, "author": "BLKKKBVSIK", "author_id": 11550065, "author_profile": "https://Stackoverflow.com/users/11550065", "pm_score": 0, "selected": false, "text": "streamSnapshot.data Object dynamic streamSnapshot.data['banana']" }, { "answer_id": 74550380, "auth...
2022/11/23
[ "https://Stackoverflow.com/questions/74549955", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18427717/" ]
74,549,960
<p><em>Program got a Syntax error as follow:</em></p> <p>elif choice == &quot;3&quot;: ^^^^ SyntaxError: invalid syntax</p> <pre><code>print(&quot;1 Addition\n2 Subtraction\n3 Multiplication\n4 Division &quot;) choice= input (&quot;WHat is you choice? : &quot;) num1 = float (input(&quot;Please enter a number: &quot;)) ...
[ { "answer_id": 74550083, "author": "Prime Price", "author_id": 19685980, "author_profile": "https://Stackoverflow.com/users/19685980", "pm_score": -1, "selected": false, "text": "print(\"1 Addition\\n2 Subtraction\\n3 Multiplication\\n4 Division \")\nchoice= input(\"What is you choice? :...
2022/11/23
[ "https://Stackoverflow.com/questions/74549960", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20583723/" ]
74,549,982
<p>I am currently learning Java and received the following task, that I cannot seem to solve:</p> <p>&quot;Create a Java program that prints one random poem of 5 lines in the console. The poems must be read from a text file.&quot;</p> <p>I have copied 10 different poems inside a text file, all written underneath each o...
[ { "answer_id": 74550083, "author": "Prime Price", "author_id": 19685980, "author_profile": "https://Stackoverflow.com/users/19685980", "pm_score": -1, "selected": false, "text": "print(\"1 Addition\\n2 Subtraction\\n3 Multiplication\\n4 Division \")\nchoice= input(\"What is you choice? :...
2022/11/23
[ "https://Stackoverflow.com/questions/74549982", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19766690/" ]
74,549,985
<p>If you use the await keyword does it have any limits or does it wait indefinitely for the task to complete?</p> <p>EDIT: The full context I have is...</p> <p>A frontend application issues a non async HTTP request to an async Web API endpoint. Ultimately the endpoint will await a call to a stored proc on a db. The fr...
[ { "answer_id": 74550337, "author": "Theodor Zoulias", "author_id": 11178549, "author_profile": "https://Stackoverflow.com/users/11178549", "pm_score": 3, "selected": false, "text": "await await await await Task.Delay(Timeout.Infinite);\nthrow new UnreachableException(); // This line is u...
2022/11/23
[ "https://Stackoverflow.com/questions/74549985", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12716922/" ]
74,550,014
<p>In the following code, I've outlined two problems (see comments):</p> <ol> <li>I need a static method to return an instance of the current class. When it is called on a subclass (without being overwritten), it should return an instance of the subclass.</li> <li>I need a generic to be more specific in a subclass (<co...
[ { "answer_id": 74615119, "author": "dbonev", "author_id": 4200334, "author_profile": "https://Stackoverflow.com/users/4200334", "pm_score": 0, "selected": false, "text": "interface IGenericMap<T> {\n [x: string]: T;\n}\n \nclass Base<T extends IGenericMap<string>> {\n options: T\n\n ...
2022/11/23
[ "https://Stackoverflow.com/questions/74550014", "https://Stackoverflow.com", "https://Stackoverflow.com/users/351756/" ]
74,550,059
<p>So I need to make it to sum numbers after 10 and add after number is summed +1 like after 10 to sum the result before with 11 and the final result should be lower than 1000 I did mistake and typed = its only &lt;. At the end it needs to console writeline the last number which was summed for example 35 to make the la...
[ { "answer_id": 74615119, "author": "dbonev", "author_id": 4200334, "author_profile": "https://Stackoverflow.com/users/4200334", "pm_score": 0, "selected": false, "text": "interface IGenericMap<T> {\n [x: string]: T;\n}\n \nclass Base<T extends IGenericMap<string>> {\n options: T\n\n ...
2022/11/23
[ "https://Stackoverflow.com/questions/74550059", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19978292/" ]
74,550,104
<p>To try to solve the question above I tried by creating a list with the range and then a list with the variables in it. Then to check if the variables are in the list i used an if loop however it is not working and only printing out &quot;out of range...&quot;. I have also tried a while loop and it would just repeat...
[ { "answer_id": 74615119, "author": "dbonev", "author_id": 4200334, "author_profile": "https://Stackoverflow.com/users/4200334", "pm_score": 0, "selected": false, "text": "interface IGenericMap<T> {\n [x: string]: T;\n}\n \nclass Base<T extends IGenericMap<string>> {\n options: T\n\n ...
2022/11/23
[ "https://Stackoverflow.com/questions/74550104", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20583729/" ]
74,550,121
<p>I'm trying to find an easy way how to check all tables in schema where this columns doesn't exists.</p> <p>So my case: In the middle of project we started adding some technical columns that needs to be in every table in that schema and I want to get list of tables that doesn't have this column.</p> <p>Is there an ea...
[ { "answer_id": 74550446, "author": "Greg Pavlik", "author_id": 12756381, "author_profile": "https://Stackoverflow.com/users/12756381", "pm_score": 0, "selected": false, "text": "ID UUID select TABLE_NAME from\n(select TABLE_NAME, arrayagg(COLUMN_NAME) COLS from \n information_schema....
2022/11/23
[ "https://Stackoverflow.com/questions/74550121", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18282299/" ]
74,550,138
<p>I am trying to multiply 2 matrices. I have to do this multiplication a bunch of times so I created a function</p> <pre><code>float multiply_,matrix(float mat_1[R][C1], float mat_2[R][C2]) </code></pre> <p>This function returns an array which I want to store in an array declared in main. But I get an error</p> <block...
[ { "answer_id": 74550446, "author": "Greg Pavlik", "author_id": 12756381, "author_profile": "https://Stackoverflow.com/users/12756381", "pm_score": 0, "selected": false, "text": "ID UUID select TABLE_NAME from\n(select TABLE_NAME, arrayagg(COLUMN_NAME) COLS from \n information_schema....
2022/11/23
[ "https://Stackoverflow.com/questions/74550138", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14672877/" ]
74,550,149
<p>I'm working on creating a ripple effect in SwiftUI similar to the one <a href="https://m2.material.io/develop/ios/supporting/ripple" rel="nofollow noreferrer">here</a>.</p> <p>Here is what I have so far:</p> <pre class="lang-swift prettyprint-override"><code>import SwiftUI // MARK: - Ripple struct Ripple: ViewModi...
[ { "answer_id": 74561422, "author": "Frederik Mrozek", "author_id": 17997003, "author_profile": "https://Stackoverflow.com/users/17997003", "pm_score": 2, "selected": false, "text": "struct ContentView: View {\n var body: some View {\n VStack {\n Image(systemName: \"g...
2022/11/23
[ "https://Stackoverflow.com/questions/74550149", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4408483/" ]
74,550,214
<p>Hi guys i have this code:</p> <pre><code>var sites = context.SITES.OrderBy(s =&gt; s.NAME).ToList(); if (userId != 0) sites = context.SITES.OrderBy(s =&gt; s.NAME).Where(s =&gt; s.Users.Any(x =&gt; x.ID == userId)).ToList(); </code></pre> <p>Is it possible to make the if inside the query? I need to do this co...
[ { "answer_id": 74550279, "author": "D Stanley", "author_id": 1081897, "author_profile": "https://Stackoverflow.com/users/1081897", "pm_score": 1, "selected": true, "text": "IQueryable<Site> sites = context.SITES.OrderBy(s => s.NAME) \nif(userId != 0) {\n sites = sites.Where(s => s.Use...
2022/11/23
[ "https://Stackoverflow.com/questions/74550214", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12322107/" ]
74,550,243
<p>I have the following dataframe:</p> <pre><code>df &lt;- structure(list(Page = c(&quot;/es/import-340600-to-mx-from-de/summary&quot;, &quot;/es/import-340600-to-de-from-mx/summary&quot;, &quot;/es/import-071320-to-sv-from-cr/summary&quot;, &quot;/en/import-340111-to-ru-from-ir/summary&quot;, &quot;/en/import-870423...
[ { "answer_id": 74550293, "author": "r2evans - GO NAVY BEAT ARMY", "author_id": 3358272, "author_profile": "https://Stackoverflow.com/users/3358272", "pm_score": 3, "selected": true, "text": "strcapture (.) data.frame proto= cbind(df, strcapture(\".*-to-([^-/]*)-from-([^-/]*).*\", df$Page...
2022/11/23
[ "https://Stackoverflow.com/questions/74550243", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20181941/" ]
74,550,257
<p>List object1</p> <p><code>[ { &quot;empId&quot;:10001, &quot;empName&quot;:&quot;test1&quot; }, { &quot;empId&quot;:10002, &quot;empName&quot;:&quot;test2&quot; } ]</code></p> <p>List object2</p> <p><code>[ { &quot;empId&quot;:10001, &quot;emailAddress&quot;:&quot;test1@mail.com&quot; }, { &quot;empId&quot;:10002, &...
[ { "answer_id": 74557637, "author": "Good Night Nerd Pride", "author_id": 1025555, "author_profile": "https://Stackoverflow.com/users/1025555", "pm_score": 1, "selected": false, "text": "Merge() Join() Merge() var xs = JArray\n .Parse(@\"[\n {\"\"empId\"\": 10001, \"\"empName\"\...
2022/11/23
[ "https://Stackoverflow.com/questions/74550257", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9730042/" ]
74,550,268
<p>I am trying to take two values as parameters and return True if its value is equal to 10 and false if it isn't. The values are strictly int. Here is the code</p> <pre><code> class Solution: def twomakes10(self, no1, no2): if sum(no1, no2) == 10: return True else: retur...
[ { "answer_id": 74550313, "author": "mohammad ali", "author_id": 9545762, "author_profile": "https://Stackoverflow.com/users/9545762", "pm_score": 1, "selected": false, "text": "sum sum([no1,no2])\n" }, { "answer_id": 74550329, "author": "balderman", "author_id": 415016, ...
2022/11/23
[ "https://Stackoverflow.com/questions/74550268", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20502753/" ]
74,550,276
<p>I am trying to implement a Filter Feature for my Match Lobbies, but the thing is as soon as I try to search any lobbies in the CustomTextField, my phone's on-screen keyboard shows up which makes my Bottom Overflow by 121 pixels.</p> <p>I am posting a screenshot of the Filter Feature before and after the overflow to ...
[ { "answer_id": 74550313, "author": "mohammad ali", "author_id": 9545762, "author_profile": "https://Stackoverflow.com/users/9545762", "pm_score": 1, "selected": false, "text": "sum sum([no1,no2])\n" }, { "answer_id": 74550329, "author": "balderman", "author_id": 415016, ...
2022/11/23
[ "https://Stackoverflow.com/questions/74550276", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14075086/" ]
74,550,291
<p>I have a column of names and informations of products, i need to remove the codes from the names and every code starts with four or more zeros, some names have four zeros or more in the weight and some are joined with the name as the example below:</p> <pre><code>data = { 'Name' : ['ANOA 250g 00004689', 'ANOA 10...
[ { "answer_id": 74550374, "author": "mozway", "author_id": 16343464, "author_profile": "https://Stackoverflow.com/users/16343464", "pm_score": 2, "selected": false, "text": "str.replace testdf['Name'] = testdf['Name'].str.replace(r'(?:(?<=\\D)|\\s*\\b)0{4}\\d*',\n ...
2022/11/23
[ "https://Stackoverflow.com/questions/74550291", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19742465/" ]
74,550,305
<p>In the Symfony Panther <a href="https://symfony.com/blog/introducing-symfony-panther-a-browser-testing-and-web-scrapping-library-for-php" rel="nofollow noreferrer">docs</a> it states:</p> <blockquote> <p>Even if Chrome is the default choice, Panther can control any browser supporting the WebDriver protocol. It also ...
[ { "answer_id": 74550374, "author": "mozway", "author_id": 16343464, "author_profile": "https://Stackoverflow.com/users/16343464", "pm_score": 2, "selected": false, "text": "str.replace testdf['Name'] = testdf['Name'].str.replace(r'(?:(?<=\\D)|\\s*\\b)0{4}\\d*',\n ...
2022/11/23
[ "https://Stackoverflow.com/questions/74550305", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3167915/" ]
74,550,325
<p>I have a string list of texts, when I click one of them I should color it in one color, currently my implementation colors all of the texts, what I'm doing wrong ?</p> <pre><code>var isPressed by remember { mutableStateOf(false) } val buttonColor: Color by animateColorAsState( targetValue = when (isPress...
[ { "answer_id": 74550563, "author": "z.y", "author_id": 19023745, "author_profile": "https://Stackoverflow.com/users/19023745", "pm_score": 3, "selected": true, "text": "re-composition @Composable\nfun MyScreen(\n modifier: Modifier = Modifier,\n filterList: SnapshotStateList<String...
2022/11/23
[ "https://Stackoverflow.com/questions/74550325", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10870164/" ]
74,550,345
<p>My secret manager is created with credential of RDS in CDK, with <strong>DatabaseCluster</strong> and credential param in it. Now i want to update some value in that secretmanager.</p> <p>How can i update secret value of secret manager in CDK?</p>
[ { "answer_id": 74635993, "author": "Bang", "author_id": 17232039, "author_profile": "https://Stackoverflow.com/users/17232039", "pm_score": 0, "selected": false, "text": "aws secretsmanager put-secret-value --secret-id your_secret_arn --secret-string your_secret\n" } ]
2022/11/23
[ "https://Stackoverflow.com/questions/74550345", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12710436/" ]
74,550,378
<p>The following code prints: <code>-1 day, 19:00:00</code> when New York is actually 5 hours behind UTC. What is wrong and how to fix it?</p> <pre class="lang-py prettyprint-override"><code>import pytz from datetime import datetime date = datetime(2022, 11, 23, 22, 30) tz = pytz.timezone('America/New_York') print(tz....
[ { "answer_id": 74635993, "author": "Bang", "author_id": 17232039, "author_profile": "https://Stackoverflow.com/users/17232039", "pm_score": 0, "selected": false, "text": "aws secretsmanager put-secret-value --secret-id your_secret_arn --secret-string your_secret\n" } ]
2022/11/23
[ "https://Stackoverflow.com/questions/74550378", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9162463/" ]
74,550,389
<p>I created a simple application for testing, I am getting - &quot;No provider for ChildrenOutletContexts!&quot; error, i have checked different posts related to the same but of no help.</p> <p>My Structure is App Module has App Routing Module and from which i am doing lazy loading to Routing example module (which ag...
[ { "answer_id": 74635993, "author": "Bang", "author_id": 17232039, "author_profile": "https://Stackoverflow.com/users/17232039", "pm_score": 0, "selected": false, "text": "aws secretsmanager put-secret-value --secret-id your_secret_arn --secret-string your_secret\n" } ]
2022/11/23
[ "https://Stackoverflow.com/questions/74550389", "https://Stackoverflow.com", "https://Stackoverflow.com/users/966580/" ]
74,550,429
<p>I'm trying to make them closer like the picture that is attached. How can I change that property?</p> <p>Expected output:</p> <p><img src="https://i.stack.imgur.com/IATOA.jpg" alt="Expected output" /></p> <p>I need them to be more close with one another and to make them in the center of the page but I find it hard t...
[ { "answer_id": 74550524, "author": "Crystal", "author_id": 16255006, "author_profile": "https://Stackoverflow.com/users/16255006", "pm_score": -1, "selected": false, "text": "<div class=\"card\" style=\"width: 16.5rem; margin-left: 20px;>\n" }, { "answer_id": 74550692, "autho...
2022/11/23
[ "https://Stackoverflow.com/questions/74550429", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20583258/" ]
74,550,481
<p>Hello i want to compare dates in laravel please tell me this code is right. I want to check it before login.</p> <ol> <li>When user is registered, user must be deactivated</li> <li>Admin must activate the user: end_date=activated_date +90 days</li> <li>Admin Deactivation : end_date=deactivated_date;</li> <li>if curr...
[ { "answer_id": 74550524, "author": "Crystal", "author_id": 16255006, "author_profile": "https://Stackoverflow.com/users/16255006", "pm_score": -1, "selected": false, "text": "<div class=\"card\" style=\"width: 16.5rem; margin-left: 20px;>\n" }, { "answer_id": 74550692, "autho...
2022/11/23
[ "https://Stackoverflow.com/questions/74550481", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1808731/" ]
74,550,523
<p>I have a dataframe that its format looks like this. I want to clean the df leaving a certain range of rows that starts when column 1 says &quot;country&quot; and ends two rows before it says &quot;end&quot; in column 1. I need it that way because later I have to bind the df with others dfs of the same type of sheet ...
[ { "answer_id": 74550524, "author": "Crystal", "author_id": 16255006, "author_profile": "https://Stackoverflow.com/users/16255006", "pm_score": -1, "selected": false, "text": "<div class=\"card\" style=\"width: 16.5rem; margin-left: 20px;>\n" }, { "answer_id": 74550692, "autho...
2022/11/23
[ "https://Stackoverflow.com/questions/74550523", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20583841/" ]
74,550,582
<p>Im using coroutine to make a little break that's reloading the bullet. I don’t know why this doesn’t work, which is to say, there is no time waiting. I’m probably not using the coroutine correctly. Can somebody help me?</p> <pre><code>if (Input.GetMouseButton(0) &amp;&amp; Time.time &gt; nextFire &amp;&amp; !invento...
[ { "answer_id": 74550524, "author": "Crystal", "author_id": 16255006, "author_profile": "https://Stackoverflow.com/users/16255006", "pm_score": -1, "selected": false, "text": "<div class=\"card\" style=\"width: 16.5rem; margin-left: 20px;>\n" }, { "answer_id": 74550692, "autho...
2022/11/23
[ "https://Stackoverflow.com/questions/74550582", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19359902/" ]
74,550,585
<p>I am trying to retrieve the string &quot;This is my string&quot; that belongs to <code>text id=&quot;short_name</code></p> <p>I have tried:</p> <pre><code>$SVGTemplate = Get-Content &quot;C:\temp\sample.svg $SVGTemplate = [XML]$SVGTemplate $SVGTemplateShortName = Select-Xml -Xml $SVGTemplate -XPath...
[ { "answer_id": 74551088, "author": "zett42", "author_id": 7571258, "author_profile": "https://Stackoverflow.com/users/7571258", "pm_score": 2, "selected": false, "text": "$SVGTemplate.svg.g.text | Where-Object id -eq 'short_name' | ForEach-Object '#text'\n .Where $SVGTemplate.svg.g.text....
2022/11/23
[ "https://Stackoverflow.com/questions/74550585", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19859069/" ]
74,550,590
<p>I have an array with a set of strings and I am trying to search for these strings in another column of type string. Basically a LIKE operator kind, but with arrays.</p> <p>What I have:</p> <pre><code>I have two tables keyword_table and config_table. </code></pre> <p>Table1: &quot;keyword_table&quot;</p> <pre><code>c...
[ { "answer_id": 74551392, "author": "Mazlum Tosun", "author_id": 9261558, "author_profile": "https://Stackoverflow.com/users/9261558", "pm_score": -1, "selected": false, "text": "sql with keyword_table AS (\n select \n \"fruits\" AS category,\n [\"orange\", \"berry\", \"apple\"] A...
2022/11/23
[ "https://Stackoverflow.com/questions/74550590", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13037582/" ]
74,550,635
<p>I have one column of names of children who have teamed up in class together over multiple projects / activities, like so:</p> <p>Note: This is ONE column.</p> <pre><code>Names Tom,Jack,Meave Tom,Arial Arial,Tim,Tom Neena,Meave Meave Tim,Meave </code></pre> <p>I want to use R so that I can see how many times two chil...
[ { "answer_id": 74550955, "author": "Andrew Gustar", "author_id": 7727429, "author_profile": "https://Stackoverflow.com/users/7727429", "pm_score": 0, "selected": false, "text": "df Names\n <chr>\n Tom,Jack,Meave\n Tom,Arial\n Arial,Tim,Tom\n Neena,Meave\n ...
2022/11/23
[ "https://Stackoverflow.com/questions/74550635", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12801482/" ]
74,550,722
<p>I'm a high school student, and my class and I just started exploring the world of HTML code. Yesterday, I wrote some basic HTML code and saved it on my computer. Today, I tried to open it, and instead of seeing usual HTML code, the editor showed me a preview.</p> <p>I tried :</p> <ol> <li>disabling extensions in VS ...
[ { "answer_id": 74550955, "author": "Andrew Gustar", "author_id": 7727429, "author_profile": "https://Stackoverflow.com/users/7727429", "pm_score": 0, "selected": false, "text": "df Names\n <chr>\n Tom,Jack,Meave\n Tom,Arial\n Arial,Tim,Tom\n Neena,Meave\n ...
2022/11/23
[ "https://Stackoverflow.com/questions/74550722", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18709698/" ]
74,550,724
<p>Is there a way, using <a href="https://site.mockito.org/" rel="nofollow noreferrer">Mockito</a> to define an expression like this?</p> <pre><code>when(mockObject.getValuesFor(in(1, 2, 3)).thenReturn(List.of(...))); </code></pre> <p>I can't find a method like <code>in()</code> among the ones defined in <a href="https...
[ { "answer_id": 74550984, "author": "aatwork", "author_id": 14263933, "author_profile": "https://Stackoverflow.com/users/14263933", "pm_score": 0, "selected": false, "text": "List list = List.of(1, 2, 3);\nwhen(mockObject.getValuesFor(list).thenReturn(List.of(...)));\n\n//do actual test m...
2022/11/23
[ "https://Stackoverflow.com/questions/74550724", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1061499/" ]
74,550,736
<p>I'm trying to separate the last character which should be a letter [A-F] if the the string has 3 numbers in a row somewhere previous.</p> <p>For example, 103C would return 2 separate fields 103 and C A103B would return 2 separate fields A103 and B. FX103D would return 2 separate fields FX103 and D. LOCATION2 would j...
[ { "answer_id": 74551591, "author": "psaraj12", "author_id": 1297792, "author_profile": "https://Stackoverflow.com/users/1297792", "pm_score": 1, "selected": false, "text": " WITH data\n AS (SELECT 'A103B' dt\n FROM dual\n UNION\n SELE...
2022/11/23
[ "https://Stackoverflow.com/questions/74550736", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19139960/" ]
74,550,744
<p><strong>Question:</strong></p> <p>How does <code>std::is_const</code> work on non-static member method types? Is a <code>const</code> member method not a const-qualified type?</p> <p><strong>Example:</strong></p> <pre><code>class D {}; </code></pre> <p>We will have</p> <pre><code>std::is_const_v&lt;void (D::*)() con...
[ { "answer_id": 74550891, "author": "François Andrieux", "author_id": 7359094, "author_profile": "https://Stackoverflow.com/users/7359094", "pm_score": 2, "selected": false, "text": "#include <type_traits>\n\n// Base template\ntemplate<class T>\nstruct is_const_member_func_ptr;\n\n// Spec...
2022/11/23
[ "https://Stackoverflow.com/questions/74550744", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8474071/" ]
74,550,763
<p>I have a dictionary containing lists like</p> <pre><code>char_code = {'1':['b','f','v','p'],'2':['c','g','j','k','q','s','x','z'], '3':['d','t'], '4':['l'],'5':['m','n'], '6':['r']} </code></pre> <p>I have another list containing characters</p> <pre><code>word_list = ['r', 'v', 'p', 'c'] </code></pre> <p>I want to r...
[ { "answer_id": 74550882, "author": "Always Sunny", "author_id": 1138192, "author_profile": "https://Stackoverflow.com/users/1138192", "pm_score": 1, "selected": false, "text": "for list comprehension dictionary and finally char_code = {'1':['b','f','v','p'],'2':['c','g','j','k','q','s','...
2022/11/23
[ "https://Stackoverflow.com/questions/74550763", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17939220/" ]
74,550,767
<p><a href="https://i.stack.imgur.com/RZtmP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RZtmP.jpg" alt="enter image description here" /></a></p> <p>I have no idea whats going on but I activated venv by using <code>Scripts/activate</code> and it doesnt working yet, the <code>(venv)</code> isnt app...
[ { "answer_id": 74550882, "author": "Always Sunny", "author_id": 1138192, "author_profile": "https://Stackoverflow.com/users/1138192", "pm_score": 1, "selected": false, "text": "for list comprehension dictionary and finally char_code = {'1':['b','f','v','p'],'2':['c','g','j','k','q','s','...
2022/11/23
[ "https://Stackoverflow.com/questions/74550767", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20584173/" ]
74,550,793
<p>I have a dataframe with recorded dates and event dates, I use the following script to create a new dataframe with only rows where record and event dates match.</p> <pre><code>New_df =df1.loc[(df1['record_date'] == df1['event_date'])] </code></pre> <p>However I want to include rows from dataset where record dates are...
[ { "answer_id": 74550882, "author": "Always Sunny", "author_id": 1138192, "author_profile": "https://Stackoverflow.com/users/1138192", "pm_score": 1, "selected": false, "text": "for list comprehension dictionary and finally char_code = {'1':['b','f','v','p'],'2':['c','g','j','k','q','s','...
2022/11/23
[ "https://Stackoverflow.com/questions/74550793", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14915169/" ]
74,550,798
<p>I'll implement dbt for pipelines in Snowflake with incremental models to save query costs but I want to manage the changes of schemas that will be quite frequent. I will have one daily ETL job for each env running a <code>dbt run</code>. Also, in qa and prod environments I'll not be able to run any cmd as I don't ha...
[ { "answer_id": 74550971, "author": "Lukasz Szozda", "author_id": 5070879, "author_profile": "https://Stackoverflow.com/users/5070879", "pm_score": 0, "selected": false, "text": "$ dbt run --full-refresh --select my_incremental_model+\n {{ config(\n full_refresh = true\n) }}\n\nselect ...
2022/11/23
[ "https://Stackoverflow.com/questions/74550798", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15463238/" ]
74,550,801
<p>Not able to convert the below T-SQL Query part ISNULL(NAME,'N/A') to Spark-SQL Equivalent</p> <p>SELECT ID, ISNULL(NAME,'N/A') AS NAME, COMPANY FROM TEST to</p> <p>convert the below T-SQL Query part ISNULL(NAME,'N/A') to Spark-SQL Equivalent</p> <p>SELECT ID, ISNULL(NAME,'N/A') AS NAME, COMPANY FROM TEST</p>
[ { "answer_id": 74551968, "author": "Bartosz Gajda", "author_id": 6870955, "author_profile": "https://Stackoverflow.com/users/6870955", "pm_score": 1, "selected": false, "text": "df = spark.createDataFrame([(1, None), (2, None)], \"id: int, value: string\")\ndf.show()\n\n+---+-----+\n| id...
2022/11/23
[ "https://Stackoverflow.com/questions/74550801", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13680272/" ]
74,550,814
<p>I am trying to execute below code wherein I want to insert a key in the dictionary with a particular value on a condition where tos is greater than or less than the value of position key in the dictionary. But in the output I see the else or elif condition executed every time.</p> <pre><code>def convert_csv_to_dataf...
[ { "answer_id": 74551968, "author": "Bartosz Gajda", "author_id": 6870955, "author_profile": "https://Stackoverflow.com/users/6870955", "pm_score": 1, "selected": false, "text": "df = spark.createDataFrame([(1, None), (2, None)], \"id: int, value: string\")\ndf.show()\n\n+---+-----+\n| id...
2022/11/23
[ "https://Stackoverflow.com/questions/74550814", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20262433/" ]
74,550,833
<p>I am beginner in adf and trying to update SQL table through adf in Dataflw activity,</p> <p>Source - Excel file Sink - SQL table</p> <p>Source and SinkColumns - AccountID, LegacyAccID, AccountGroupCD</p> <p>Now I only want update the record in sink if below condition matched</p> <p><strong>if(FileAccountID == DBLega...
[ { "answer_id": 74551968, "author": "Bartosz Gajda", "author_id": 6870955, "author_profile": "https://Stackoverflow.com/users/6870955", "pm_score": 1, "selected": false, "text": "df = spark.createDataFrame([(1, None), (2, None)], \"id: int, value: string\")\ndf.show()\n\n+---+-----+\n| id...
2022/11/23
[ "https://Stackoverflow.com/questions/74550833", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4505544/" ]
74,550,856
<p>I've uploaded my video on Google Drive and Dropbox and tried to give the 'src' attribute the url copied from these platforms but the video doesn't show up. Seems like that url doesn't link up to very final video element but only to an upper level that the tag source attribute doesn't accept.</p> <p>I'm asking as I ...
[ { "answer_id": 74551968, "author": "Bartosz Gajda", "author_id": 6870955, "author_profile": "https://Stackoverflow.com/users/6870955", "pm_score": 1, "selected": false, "text": "df = spark.createDataFrame([(1, None), (2, None)], \"id: int, value: string\")\ndf.show()\n\n+---+-----+\n| id...
2022/11/23
[ "https://Stackoverflow.com/questions/74550856", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20584010/" ]
74,550,871
<p>I have the following dataframe :</p> <pre><code># A tibble: 15 × 2 type id &lt;chr&gt; &lt;chr&gt; 1 P A1 2 N A2 3 N A3 4 N A4 5 P A5 6 N A6 7 N A7 8 P A8 9 N A9 10 N A10 11 P A11 12 N A12 13 N A13 14 N A14 ...
[ { "answer_id": 74551968, "author": "Bartosz Gajda", "author_id": 6870955, "author_profile": "https://Stackoverflow.com/users/6870955", "pm_score": 1, "selected": false, "text": "df = spark.createDataFrame([(1, None), (2, None)], \"id: int, value: string\")\ndf.show()\n\n+---+-----+\n| id...
2022/11/23
[ "https://Stackoverflow.com/questions/74550871", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15453570/" ]
74,550,886
<p>I am trying to use SimpleInjector in a WPF Application (.NET Framework). We use it in exactly the same way in many of our Services but for some reason when I am attempting to implement the same logic in this WPF Application, the call to the <code>HttpClient().GetAsync</code> is hanging. We think it is because for so...
[ { "answer_id": 74553186, "author": "Stephen Cleary", "author_id": 263693, "author_profile": "https://Stackoverflow.com/users/263693", "pm_score": 2, "selected": false, "text": "Result Task.Run var httpResponse = Task.Run(() => _serviceClient.GetAsync(string.Empty, authenticationHeaderVal...
2022/11/23
[ "https://Stackoverflow.com/questions/74550886", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15329642/" ]
74,550,900
<p>I'm trying to build a graph with two y-axis, showing the development of homicides and share of national wealth of the bottom 50% in Sierra Leone between 2004 and 2015. I'm quite familiar with ggplot in simpler circumstances, now I'm struggeling. There have been some posts regarding this topic, but the approach via s...
[ { "answer_id": 74553186, "author": "Stephen Cleary", "author_id": 263693, "author_profile": "https://Stackoverflow.com/users/263693", "pm_score": 2, "selected": false, "text": "Result Task.Run var httpResponse = Task.Run(() => _serviceClient.GetAsync(string.Empty, authenticationHeaderVal...
2022/11/23
[ "https://Stackoverflow.com/questions/74550900", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20584060/" ]
74,550,921
<p>When an interrupt service routine is being executed, is it necessary to clear global interrupts (using the cli(); command for example) to prevent another ISR from being executed or queued?</p> <p>For example, if an external interrupt INT0 is being executed and while it is executing this same external interrupt were ...
[ { "answer_id": 74553186, "author": "Stephen Cleary", "author_id": 263693, "author_profile": "https://Stackoverflow.com/users/263693", "pm_score": 2, "selected": false, "text": "Result Task.Run var httpResponse = Task.Run(() => _serviceClient.GetAsync(string.Empty, authenticationHeaderVal...
2022/11/23
[ "https://Stackoverflow.com/questions/74550921", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12780095/" ]
74,550,938
<h2><code>Http.request</code> seems to ignore <code>body</code> when the method is <code>GET</code></h2> <pre><code>init : () -&gt; ( Model, Cmd Msg ) init _ = ( Loading , Http.request { method = &quot;GET&quot; , headers = [] , url = &quot;http://127.0.0.1&quot; , body = Http.st...
[ { "answer_id": 74551015, "author": "glennsl", "author_id": 7943564, "author_profile": "https://Stackoverflow.com/users/7943564", "pm_score": 3, "selected": false, "text": "GET GET GET" }, { "answer_id": 74577379, "author": "8n8", "author_id": 6629874, "author_profile"...
2022/11/23
[ "https://Stackoverflow.com/questions/74550938", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6552577/" ]
74,550,996
<p>I have a simple function that use the library <a href="https://github.com/Stuk/jszip" rel="nofollow noreferrer">jszip</a> to zip some folders and files:</p> <pre class="lang-js prettyprint-override"><code>// app.ts const runJszip = async (): Promise&lt;void&gt; =&gt; { const zip = new Jszip(); zip.folder('folde...
[ { "answer_id": 74551015, "author": "glennsl", "author_id": 7943564, "author_profile": "https://Stackoverflow.com/users/7943564", "pm_score": 3, "selected": false, "text": "GET GET GET" }, { "answer_id": 74577379, "author": "8n8", "author_id": 6629874, "author_profile"...
2022/11/23
[ "https://Stackoverflow.com/questions/74550996", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8583669/" ]
74,551,005
<pre><code>Does any one know how to create an array within an array in Data Factory. I need to make something like this. One Employee has multiple Customers, each Customer buys multiple products. Its coming from a flat file where Employee repeats multiple times once for each Customer then Customer repeats multiple tim...
[ { "answer_id": 74551015, "author": "glennsl", "author_id": 7943564, "author_profile": "https://Stackoverflow.com/users/7943564", "pm_score": 3, "selected": false, "text": "GET GET GET" }, { "answer_id": 74577379, "author": "8n8", "author_id": 6629874, "author_profile"...
2022/11/23
[ "https://Stackoverflow.com/questions/74551005", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12608290/" ]
74,551,041
<p>I have recorded the macro below and I'd like it to work on all sheets / tables in the workbook. I've gathered that I need to replace &quot;ActiveWorkbook.Worksheets(&quot;Ramp&quot;)&quot; with &quot;ActiveWorkbook.ActiveSheet.ListObjects&quot; but I cannot figure how to get the sort to work.</p> <p>macro that works...
[ { "answer_id": 74551015, "author": "glennsl", "author_id": 7943564, "author_profile": "https://Stackoverflow.com/users/7943564", "pm_score": 3, "selected": false, "text": "GET GET GET" }, { "answer_id": 74577379, "author": "8n8", "author_id": 6629874, "author_profile"...
2022/11/23
[ "https://Stackoverflow.com/questions/74551041", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5029603/" ]
74,551,043
<p>(Original problem description)</p> <p>Pair of points</p> <p>You are given the following</p> <p>An integer N</p> <p>A 2D array of length N denoting the points in the 2D coordinate system, that is (x, y)</p> <p>Task</p> <p>Determine the number of unordered pairs (i, j) or (j, i) and i != j such that</p> <p>The straigh...
[ { "answer_id": 74551371, "author": "Woodford", "author_id": 8451814, "author_profile": "https://Stackoverflow.com/users/8451814", "pm_score": 0, "selected": false, "text": "itertools.combinations itertools num_pairs = 0\nfor i, j in itertools.combinations(array, 2):\n if i_j_are_valid...
2022/11/23
[ "https://Stackoverflow.com/questions/74551043", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11993580/" ]
74,551,056
<p>I want to make one plot with 3 scatterplots, but I have no idea how. I can plot them seperately as:</p> <pre><code>library(dplyr) library(ggplot2) kat %&gt;% filter(Sex %in% c(&quot;F&quot;)) %&gt;% ggplot(aes(x = Bwt, y = Hwt)) + geom_point() + facet_wrap(&quot;Sex&quot;) </code></pre> <p><img src="https:/...
[ { "answer_id": 74551178, "author": "r2evans - GO NAVY BEAT ARMY", "author_id": 3358272, "author_profile": "https://Stackoverflow.com/users/3358272", "pm_score": 2, "selected": false, "text": "library(dplyr)\nlibrary(ggplot2)\nmtcars %>%\n mutate(cyl = \"All\") %>%\n bind_rows(mutate(mt...
2022/11/23
[ "https://Stackoverflow.com/questions/74551056", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20314909/" ]
74,551,058
<p>Streamlit Version: 1.13.0</p> <p>in Homepage.py:</p> <pre><code>import streamlit as st st.set_page_config( page_title= &quot;Multipage App&quot;, page_icon=&quot;&quot;) st.title(&quot;Main Page&quot;) st.markdown('&lt;style&gt;div[class=&quot;css-6qob1r e1fqkh3o3&quot;] {color:black; font-weight...
[ { "answer_id": 74551178, "author": "r2evans - GO NAVY BEAT ARMY", "author_id": 3358272, "author_profile": "https://Stackoverflow.com/users/3358272", "pm_score": 2, "selected": false, "text": "library(dplyr)\nlibrary(ggplot2)\nmtcars %>%\n mutate(cyl = \"All\") %>%\n bind_rows(mutate(mt...
2022/11/23
[ "https://Stackoverflow.com/questions/74551058", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14178341/" ]
74,551,077
<p>I have the following association : <code>ProductsTable hasMany PhotosTable</code>.</p> <p>Furthermore, <code>ProductsTable</code> uses <code>Muffin/SlugBehavior</code> to build a unique slug.</p> <p>I need to automatically get <code>Photos</code> linked to <code>Products</code> each time I get a Product.</p> <p>So ...
[ { "answer_id": 74551178, "author": "r2evans - GO NAVY BEAT ARMY", "author_id": 3358272, "author_profile": "https://Stackoverflow.com/users/3358272", "pm_score": 2, "selected": false, "text": "library(dplyr)\nlibrary(ggplot2)\nmtcars %>%\n mutate(cyl = \"All\") %>%\n bind_rows(mutate(mt...
2022/11/23
[ "https://Stackoverflow.com/questions/74551077", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3045538/" ]
74,551,105
<p>I have collection: bookSchema as:</p> <pre><code>[ { _id: ObjectId(&quot;637d05dc32428ed75ea08d09&quot;), book_details: { book_name: &quot;random123&quot;, book_auth: &quot;Amber&quot; } }, { _id: ObjectId(&quot;637d0673ce0f17f6c473dee2&quot;), book_details: ...
[ { "answer_id": 74551178, "author": "r2evans - GO NAVY BEAT ARMY", "author_id": 3358272, "author_profile": "https://Stackoverflow.com/users/3358272", "pm_score": 2, "selected": false, "text": "library(dplyr)\nlibrary(ggplot2)\nmtcars %>%\n mutate(cyl = \"All\") %>%\n bind_rows(mutate(mt...
2022/11/23
[ "https://Stackoverflow.com/questions/74551105", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15034865/" ]
74,551,109
<p>Imagine we are getting input from user as integer. I want my code to return minimum and maximum numbers in this integer value. For example, if user enters 56389, the code should display</p> <p>Minimum number: 3 Maximum number: 9</p> <p>If user enters single digit integer, let's say 7, the output should be:</p> <p>Mi...
[ { "answer_id": 74551462, "author": "bighugedev", "author_id": 17846993, "author_profile": "https://Stackoverflow.com/users/17846993", "pm_score": 0, "selected": false, "text": "charAt(int index) '0' '0' public static void main(String[] args) {\n char charNine = '9';\n int intNine =...
2022/11/23
[ "https://Stackoverflow.com/questions/74551109", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7122460/" ]
74,551,120
<p>Because a table is worth a thousand words, here what I would like to do:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>Column A</th> <th>Column B</th> <th>Column C</th> <th>Column D</th> </tr> </thead> <tbody> <tr> <td>AMY</td> <td>1.5</td> <td>x1</td> <td>y1</td> </tr> <tr> <td>STR</t...
[ { "answer_id": 74551462, "author": "bighugedev", "author_id": 17846993, "author_profile": "https://Stackoverflow.com/users/17846993", "pm_score": 0, "selected": false, "text": "charAt(int index) '0' '0' public static void main(String[] args) {\n char charNine = '9';\n int intNine =...
2022/11/23
[ "https://Stackoverflow.com/questions/74551120", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20584213/" ]
74,551,122
<p>I have a dataframe similar to below-given dataframe. I need to add a value in <strong>Validated</strong> column that matches the below condition: If there are multiple rows with the same values in State, ColorName, and Code columns then at least one row should contain a positive value in the Value column. If there i...
[ { "answer_id": 74551267, "author": "Алексей Р", "author_id": 15035314, "author_profile": "https://Stackoverflow.com/users/15035314", "pm_score": 1, "selected": false, "text": "df = pd.DataFrame({'State': ['Arizona', 'Alabama', 'Arkansas', 'Kentuky', 'Ohio', 'Alabama', 'Arizona', 'Califor...
2022/11/23
[ "https://Stackoverflow.com/questions/74551122", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7311043/" ]
74,551,134
<p>I'm currently learning angular and how to share data between components. I understand the basic idea of parent and child component but not sure how to identify if a component is a parent or child. And whether or not if there are multiple parent components or each angular application only have one parent component an...
[ { "answer_id": 74551267, "author": "Алексей Р", "author_id": 15035314, "author_profile": "https://Stackoverflow.com/users/15035314", "pm_score": 1, "selected": false, "text": "df = pd.DataFrame({'State': ['Arizona', 'Alabama', 'Arkansas', 'Kentuky', 'Ohio', 'Alabama', 'Arizona', 'Califor...
2022/11/23
[ "https://Stackoverflow.com/questions/74551134", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20584338/" ]
74,551,142
<p>I have to answer this in Visual Basic.I actually don't have any idea how to solve this, our teacher barely teaches us practical stuff. I have to submit this assignment by today too.</p> <p>I have tried to do solve it and searched the internet for it, but I could barely understand it.</p>
[ { "answer_id": 74551679, "author": "Jonathan Barraone", "author_id": 17957703, "author_profile": "https://Stackoverflow.com/users/17957703", "pm_score": 1, "selected": false, "text": "Public Sub AddTwoNumbers()\n Dim FirstNumber As String = Convert.toInt32(InputBox(\"Enter the first ...
2022/11/23
[ "https://Stackoverflow.com/questions/74551142", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20584365/" ]
74,551,170
<p>I have multiple slide decks with pictures that are too big (in pixels / resolution). I can use PowerPoint's &quot;Compress Pictures&quot; function to reduce the resolution, but there is not one single resolution that would suit all images (e.g. photos could go with 96 ppi E-mail resolution, while screenshots would r...
[ { "answer_id": 74555234, "author": "wrbp", "author_id": 16662333, "author_profile": "https://Stackoverflow.com/users/16662333", "pm_score": 3, "selected": true, "text": "Declare PtrSafe Function FindWindow Lib \"user32\" Alias _\n\"FindWindowA\" (ByVal wClassName As Any, ByVal _\nwWindow...
2022/11/23
[ "https://Stackoverflow.com/questions/74551170", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19976007/" ]
74,551,266
<p>I have a MySQLdump generated by PHPMyAdmin, and I need to import it into a Postgresql database, but I dont know if it's even possible. I've seen people recommending pgloader but seens a little confusing on how to do it. Also I'm on windows if its relevant at all.</p> <p>I only need the tables, so I'm not concerned a...
[ { "answer_id": 74555234, "author": "wrbp", "author_id": 16662333, "author_profile": "https://Stackoverflow.com/users/16662333", "pm_score": 3, "selected": true, "text": "Declare PtrSafe Function FindWindow Lib \"user32\" Alias _\n\"FindWindowA\" (ByVal wClassName As Any, ByVal _\nwWindow...
2022/11/23
[ "https://Stackoverflow.com/questions/74551266", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20399210/" ]
74,551,280
<p>I am a beginner in Haskell. I am facing the error that's in the heading. Below is my Haskell code.</p> <pre><code>member atm lizt = if null lizt then False else if atm == head lizt then True else member(atm (tail lizt)) main = print(member 1 [2, 1]) </c...
[ { "answer_id": 74551385, "author": "Wheat Wizard", "author_id": 4040600, "author_profile": "https://Stackoverflow.com/users/4040600", "pm_score": 3, "selected": true, "text": "member member atm (tail lizt) member(atm (tail lizt)) atm (tail lizt) atm tail lizt atm member atm tail lizt mem...
2022/11/23
[ "https://Stackoverflow.com/questions/74551280", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14930767/" ]
74,551,344
<pre><code>apiVersion: apps/v1 kind: Deployment metadata: name: organization-deployment labels: app: organization spec: selector: matchLabels: app: organization template: metadata: labels: app: organization spec: containers: - name: organization-container ...
[ { "answer_id": 74551385, "author": "Wheat Wizard", "author_id": 4040600, "author_profile": "https://Stackoverflow.com/users/4040600", "pm_score": 3, "selected": true, "text": "member member atm (tail lizt) member(atm (tail lizt)) atm (tail lizt) atm tail lizt atm member atm tail lizt mem...
2022/11/23
[ "https://Stackoverflow.com/questions/74551344", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8598874/" ]
74,551,394
<p>I am running an <code>express</code>/node application and am documenting my api using <code>&quot;swagger-ui-express&quot;: &quot;^4.5.0&quot;,</code>. I have set up a requirement of needing a <code>jsonwebtoken</code> bearer token to be sent with all requests to any endpoint in my api.</p> <p>I have the swagger doc...
[ { "answer_id": 74551385, "author": "Wheat Wizard", "author_id": 4040600, "author_profile": "https://Stackoverflow.com/users/4040600", "pm_score": 3, "selected": true, "text": "member member atm (tail lizt) member(atm (tail lizt)) atm (tail lizt) atm tail lizt atm member atm tail lizt mem...
2022/11/23
[ "https://Stackoverflow.com/questions/74551394", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10152171/" ]
74,551,419
<p>I have a table which records the number of times a user logs into a page, but I am trying to filter out where the user has logged in at least twice throughout the week</p> <p>Here is the table below</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>User</th> <th>Monday</th> <th>Tuesday</th...
[ { "answer_id": 74551507, "author": "xQbert", "author_id": 1016435, "author_profile": "https://Stackoverflow.com/users/1016435", "pm_score": 3, "selected": true, "text": "SELECT * \nFROM TABLENAME\nWHERE case when Monday > 0 then 1 else 0 end \n + case when Tuesday > 0 then 1 else 0 e...
2022/11/23
[ "https://Stackoverflow.com/questions/74551419", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7936478/" ]
74,551,457
<p>I am a beginner in mql4 and I'm trying something out.</p> <p>I need to calculate the speed rate of price changes from one second to another. Either on mql4 or pine script. Is there a way to achieve that?</p>
[ { "answer_id": 74551507, "author": "xQbert", "author_id": 1016435, "author_profile": "https://Stackoverflow.com/users/1016435", "pm_score": 3, "selected": true, "text": "SELECT * \nFROM TABLENAME\nWHERE case when Monday > 0 then 1 else 0 end \n + case when Tuesday > 0 then 1 else 0 e...
2022/11/23
[ "https://Stackoverflow.com/questions/74551457", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20584605/" ]
74,551,458
<p>I'm trying to get the <code>last user's position</code> but I'm in a static context.</p> <p>Here's the code</p> <pre><code>public void getLastKnownLocation() { FusedLocationProviderClient fusedLocationClient = LocationServices. getFusedLocationProviderClient(App.getContext()); fusedLocationClien...
[ { "answer_id": 74551507, "author": "xQbert", "author_id": 1016435, "author_profile": "https://Stackoverflow.com/users/1016435", "pm_score": 3, "selected": true, "text": "SELECT * \nFROM TABLENAME\nWHERE case when Monday > 0 then 1 else 0 end \n + case when Tuesday > 0 then 1 else 0 e...
2022/11/23
[ "https://Stackoverflow.com/questions/74551458", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20557611/" ]
74,551,460
<p>I'm creating a simple webpage on React + TS with ant design library and I have a problem with types in form component. I created an array to map through them and render form.</p> <p><a href="https://codesandbox.io/s/relaxed-mountain-vb1b0e?from-embed" rel="nofollow noreferrer">https://codesandbox.io/s/relaxed-mounta...
[ { "answer_id": 74551507, "author": "xQbert", "author_id": 1016435, "author_profile": "https://Stackoverflow.com/users/1016435", "pm_score": 3, "selected": true, "text": "SELECT * \nFROM TABLENAME\nWHERE case when Monday > 0 then 1 else 0 end \n + case when Tuesday > 0 then 1 else 0 e...
2022/11/23
[ "https://Stackoverflow.com/questions/74551460", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15032294/" ]
74,551,469
<p>Having problems with rotating a square but keeping the number inside it not rotated.</p> <p>Ideally I would like it like this:</p> <p><a href="https://i.stack.imgur.com/7Dc9k.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7Dc9k.jpg" alt="Number inside a rotated box" /></a></p> <pre><code>.diamond...
[ { "answer_id": 74551507, "author": "xQbert", "author_id": 1016435, "author_profile": "https://Stackoverflow.com/users/1016435", "pm_score": 3, "selected": true, "text": "SELECT * \nFROM TABLENAME\nWHERE case when Monday > 0 then 1 else 0 end \n + case when Tuesday > 0 then 1 else 0 e...
2022/11/23
[ "https://Stackoverflow.com/questions/74551469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8105415/" ]
74,551,498
<p>i want something like this</p> <p><a href="https://i.stack.imgur.com/nHAhF.png" rel="nofollow noreferrer">Image form bootstrap</a></p> <p>but i get this instead</p> <p><a href="https://i.stack.imgur.com/mWKY6.png" rel="nofollow noreferrer">Image on my localhost</a></p> <p>And this is my code:</p> <pre><code> ...
[ { "answer_id": 74551507, "author": "xQbert", "author_id": 1016435, "author_profile": "https://Stackoverflow.com/users/1016435", "pm_score": 3, "selected": true, "text": "SELECT * \nFROM TABLENAME\nWHERE case when Monday > 0 then 1 else 0 end \n + case when Tuesday > 0 then 1 else 0 e...
2022/11/23
[ "https://Stackoverflow.com/questions/74551498", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16078759/" ]
74,551,584
<p>May I know on how to call an array in stored procedure? I tried to enclosed it with a bracket to put the column_name that need to be insert in the new table.</p> <pre><code>CREATE OR REPLACE PROCEDURE data_versioning_nonull(new_table_name VARCHAR(100),column_name VARCHAR(100)[], current_table_name VARCHAR(100)) lang...
[ { "answer_id": 74551812, "author": "P.R", "author_id": 9846906, "author_profile": "https://Stackoverflow.com/users/9846906", "pm_score": 0, "selected": false, "text": "CREATE OR REPLACE PROCEDURE data_versioning_nonull(new_table_name VARCHAR(100),column_name VARCHAR(100)[], current_table...
2022/11/23
[ "https://Stackoverflow.com/questions/74551584", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14610361/" ]
74,551,585
<pre><code> def main(): money1 = input(&quot;Purchase price: &quot;) money2 = input(&quot;Paid amount of money: &quot;) price = int(money1) paid = int(money2) change = paid - price ten_euro = change // 10 five_euro = change % 10 // 5 two_euro = change % 5 // 2 one_euro = (change % 2...
[ { "answer_id": 74551812, "author": "P.R", "author_id": 9846906, "author_profile": "https://Stackoverflow.com/users/9846906", "pm_score": 0, "selected": false, "text": "CREATE OR REPLACE PROCEDURE data_versioning_nonull(new_table_name VARCHAR(100),column_name VARCHAR(100)[], current_table...
2022/11/23
[ "https://Stackoverflow.com/questions/74551585", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20584214/" ]
74,551,588
<p>How do I run it for all rows of a given product id and shop id:</p> <p>One table: ps_product_shop</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>id_product</th> <th>price</th> <th>id_shop</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>1</td> <td>1</td> </tr> <tr> <td>1</td> <td>25</td>...
[ { "answer_id": 74562758, "author": "Krystian Podemski", "author_id": 2895156, "author_profile": "https://Stackoverflow.com/users/2895156", "pm_score": 1, "selected": false, "text": "UPDATE ps_product p, ps_product_shop ps \nSET p.price = p.price*25, ps.price = ps.price*25\nWHERE p.id_pro...
2022/11/23
[ "https://Stackoverflow.com/questions/74551588", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20584369/" ]
74,551,612
<p>I'm not familiar with PHPUnit and just want to execute a simple method that return a DateTimeImmutable and compare it with another DateTimeImmutable.</p> <pre><code> public function testGetLunchTimesBeginHour() { $minLunchTime = \DateTimeImmutable::createFromFormat('H:i', self::MIN_BEGIN_LUNCH); $maxLunch...
[ { "answer_id": 74562758, "author": "Krystian Podemski", "author_id": 2895156, "author_profile": "https://Stackoverflow.com/users/2895156", "pm_score": 1, "selected": false, "text": "UPDATE ps_product p, ps_product_shop ps \nSET p.price = p.price*25, ps.price = ps.price*25\nWHERE p.id_pro...
2022/11/23
[ "https://Stackoverflow.com/questions/74551612", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7522572/" ]
74,551,613
<p>I am making my first game and want to create a score board within a .txt file, however when I try and print the score board it doesn't work.</p> <pre><code>with open(&quot;Scores.txt&quot;, &quot;r&quot;) as scores: for i in range(len(score.readlines())): print(score.readlines(i + 1)) </code></pre>...
[ { "answer_id": 74551641, "author": "Bharel", "author_id": 1658617, "author_profile": "https://Stackoverflow.com/users/1658617", "pm_score": 0, "selected": false, "text": ".readlines() [] with open(\"Scores.txt\", \"r\") as scores:\n for line in scores:\n print(line.rstrip())\n"...
2022/11/23
[ "https://Stackoverflow.com/questions/74551613", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17280812/" ]
74,551,616
<p>Without any page load, I want to change the background image using JavaScript.</p> <pre class="lang-js prettyprint-override"><code>const getbg = (bgimg) =&gt; { if (body.offsetWidth &gt; 780) { body.style.backgroundImage = `url(${bgimg[0]})`; } else if (body.offsetWidth &gt; 780 &amp;&amp; body.offsetWidth...
[ { "answer_id": 74551675, "author": "WizardOfOz", "author_id": 19668106, "author_profile": "https://Stackoverflow.com/users/19668106", "pm_score": 1, "selected": false, "text": "@media(max-width:650px){\n .your-class{\n backround-image: url('image1.jpg');\n }\n}\n\n@media(max-width:768...
2022/11/23
[ "https://Stackoverflow.com/questions/74551616", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17290967/" ]
74,551,623
<p>Today I tried to remove html file extension from my website, for example:<br /> <code>example.com/page.html</code> to <code>example.com/page</code></p> <p>I watched some tutorials, but nothing seems to work... I created <code>.htaccess</code> file in root directory<br /> Copied code (also tried different ones):</p> ...
[ { "answer_id": 74551857, "author": "Ricardo Aponte", "author_id": 20410575, "author_profile": "https://Stackoverflow.com/users/20410575", "pm_score": 1, "selected": false, "text": "RewriteEngine on\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteRule ^([...
2022/11/23
[ "https://Stackoverflow.com/questions/74551623", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18123614/" ]
74,551,663
<p>I have an class with an array of objects:</p> <pre><code>export class MyObject { sections: Section[] } </code></pre> <p>The Section class contains a Map:</p> <pre><code>export class Section { dataPoints: Map&lt;string, string&gt; } </code></pre> <p>I want to present an object of class MyObject to the user of the...
[ { "answer_id": 74552303, "author": "Rick", "author_id": 12271569, "author_profile": "https://Stackoverflow.com/users/12271569", "pm_score": 2, "selected": false, "text": "this.myObject.sections[sectionsIndex] section [(ngModel)]=\"dataPoint\"" }, { "answer_id": 74552783, "aut...
2022/11/23
[ "https://Stackoverflow.com/questions/74551663", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4466828/" ]
74,551,664
<p>N.B.: I have edited the question as it was probably unclear: I am looking for the best method to understand the type of plot in a given axis.</p> <p>QUESTION: I am trying to make a generic function which can arrange multiple figures as subplots. As I loop over the subplots to set some properties (e.g. axis range) it...
[ { "answer_id": 74552303, "author": "Rick", "author_id": 12271569, "author_profile": "https://Stackoverflow.com/users/12271569", "pm_score": 2, "selected": false, "text": "this.myObject.sections[sectionsIndex] section [(ngModel)]=\"dataPoint\"" }, { "answer_id": 74552783, "aut...
2022/11/23
[ "https://Stackoverflow.com/questions/74551664", "https://Stackoverflow.com", "https://Stackoverflow.com/users/766685/" ]
74,551,695
<p>I have a XML which have two parent nodes (<strong>Base, Sub</strong>). I need to write a XSLT to get the values for below condition.</p> <p><strong>Condition</strong>: If the value inside <strong>Sub</strong> contains in <strong>Base</strong> also XSLT should add that value to the output.</p> <p><strong>Input XML:</...
[ { "answer_id": 74552303, "author": "Rick", "author_id": 12271569, "author_profile": "https://Stackoverflow.com/users/12271569", "pm_score": 2, "selected": false, "text": "this.myObject.sections[sectionsIndex] section [(ngModel)]=\"dataPoint\"" }, { "answer_id": 74552783, "aut...
2022/11/23
[ "https://Stackoverflow.com/questions/74551695", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9731640/" ]
74,551,756
<p>Can you please help me in formatting the Lookupactivity Output value from Datetime to Date type and pass into set_variable activity.</p> <p>Step 1: I am using a query in Lookup activity as SELECT CAST(MAX([DWHModifiedDate]) AS DATE) AS DWHModifiedDate FROM [Schema].[TableName]</p> <p>The output from lookup activity ...
[ { "answer_id": 74674138, "author": "Saideep Arikontham", "author_id": 18844585, "author_profile": "https://Stackoverflow.com/users/18844585", "pm_score": 0, "selected": false, "text": "@split() T yyyy-MM-dd @split(activity('Lookup1').output.firstRow.dt,'T')[0]\n yyyy-MM-dd formatDateTime...
2022/11/23
[ "https://Stackoverflow.com/questions/74551756", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15488631/" ]
74,551,779
<p>This is a component I'm currently working on, named <code>TextBody</code></p> <pre><code>import { HTMLAttributes } from &quot;react&quot;; import classNames from &quot;classnames&quot;; interface TextBodyProps extends HTMLAttributes&lt;HTMLParagraphElement | HTMLSpanElement&gt; { span?: boolean; type: &quot;s...
[ { "answer_id": 74674138, "author": "Saideep Arikontham", "author_id": 18844585, "author_profile": "https://Stackoverflow.com/users/18844585", "pm_score": 0, "selected": false, "text": "@split() T yyyy-MM-dd @split(activity('Lookup1').output.firstRow.dt,'T')[0]\n yyyy-MM-dd formatDateTime...
2022/11/23
[ "https://Stackoverflow.com/questions/74551779", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10555569/" ]
74,551,789
<pre><code>class UserInputArea extends StatefulWidget { @override State&lt;UserInputArea&gt; createState() =&gt; _UserInputAreaState(); } class _UserInputAreaState extends State&lt;UserInputArea&gt; { @override Widget build(BuildContext context) { String convertedText=''; setState(() { converted...
[ { "answer_id": 74551938, "author": "Martin Dobruský", "author_id": 20164692, "author_profile": "https://Stackoverflow.com/users/20164692", "pm_score": -1, "selected": false, "text": "SetState() onChanged Widget build class UserInputArea extends StatefulWidget {\n @override\n...
2022/11/23
[ "https://Stackoverflow.com/questions/74551789", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3290584/" ]
74,551,795
<p>I'm new to unity and I'm trying to get a GameObject to change color when the game starts, but I get a error message saying &quot; 'Color' does not contain a constructor that takes 4 arguments &quot;, I've been trying to figure out what's wrong for 2 days, but I have no idea.</p> <pre><code>public class NewColor : Mo...
[ { "answer_id": 74551938, "author": "Martin Dobruský", "author_id": 20164692, "author_profile": "https://Stackoverflow.com/users/20164692", "pm_score": -1, "selected": false, "text": "SetState() onChanged Widget build class UserInputArea extends StatefulWidget {\n @override\n...
2022/11/23
[ "https://Stackoverflow.com/questions/74551795", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20584799/" ]
74,551,827
<p>I have a large file called</p> <pre><code>Metadata_01.json </code></pre> <p>It consistst of blocks that following this structure:</p> <pre><code>[ { &quot;Participant_id&quot;: &quot;P04_00001&quot;, &quot;no_of_people&quot;: &quot;Multiple&quot;, &quot;apparent_gender&quot;: &quot;F&quot;, &quot;geographic...
[ { "answer_id": 74551962, "author": "Abraham Zinala", "author_id": 14903754, "author_profile": "https://Stackoverflow.com/users/14903754", "pm_score": 2, "selected": true, "text": "ConvertFrom-Json .Participant_id New-Item Out-File $json = Get-Content -Path '.\\Metadata_01.json' -Raw | Co...
2022/11/23
[ "https://Stackoverflow.com/questions/74551827", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20581715/" ]
74,551,869
<p>I need some help to automate rename files in a current directory. The following files that can exits in the directory is for example:</p> <p>AAA111<strong>A</strong>.txt</p> <p>AAA111<strong>A</strong>.pdf</p> <p>AAA111<strong>A</strong>.jpg</p> <p>BBB222<strong>B</strong>.jpg</p> <p>BBB222<strong>B</strong>.pdf</p>...
[ { "answer_id": 74551962, "author": "Abraham Zinala", "author_id": 14903754, "author_profile": "https://Stackoverflow.com/users/14903754", "pm_score": 2, "selected": true, "text": "ConvertFrom-Json .Participant_id New-Item Out-File $json = Get-Content -Path '.\\Metadata_01.json' -Raw | Co...
2022/11/23
[ "https://Stackoverflow.com/questions/74551869", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14845182/" ]
74,551,969
<p>I have a dictionary where the values are lists. I want to search these for a specific value. right now it returns if the value is in each list individually but i just want overall then it deletes</p> <p>Here's what it returns right now:</p> <pre><code>marie true marie false marie false tom false tom true tom fa...
[ { "answer_id": 74552059, "author": "azro", "author_id": 7212686, "author_profile": "https://Stackoverflow.com/users/7212686", "pm_score": 2, "selected": true, "text": "dictionary = {'nyu': ['marie', 'taylor', 'jim'],\n 'msu': ['tom', 'josh'],\n ' csu': ['tyler',...
2022/11/23
[ "https://Stackoverflow.com/questions/74551969", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20579620/" ]
74,551,985
<p>We're using Code First to manage a database that uses temporal tables. After a few migrations I've run into an issue, basically we needed to make a column nullable because the original data dictionary was incorrect.</p> <p>When I try to run Update-Database it returns an error:</p> <blockquote> <p>Setting SYSTEM_VERS...
[ { "answer_id": 74552059, "author": "azro", "author_id": 7212686, "author_profile": "https://Stackoverflow.com/users/7212686", "pm_score": 2, "selected": true, "text": "dictionary = {'nyu': ['marie', 'taylor', 'jim'],\n 'msu': ['tom', 'josh'],\n ' csu': ['tyler',...
2022/11/23
[ "https://Stackoverflow.com/questions/74551985", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17145/" ]
74,552,019
<p>ı am having a problem with the parentheses ı added a photo of where it gives the error and the error code itself<a href="https://i.stack.imgur.com/nxhmI.png" rel="nofollow noreferrer">error code</a> <a href="https://i.stack.imgur.com/eqEXC.png" rel="nofollow noreferrer">my code</a></p> <p>ı was just trying to conver...
[ { "answer_id": 74552059, "author": "azro", "author_id": 7212686, "author_profile": "https://Stackoverflow.com/users/7212686", "pm_score": 2, "selected": true, "text": "dictionary = {'nyu': ['marie', 'taylor', 'jim'],\n 'msu': ['tom', 'josh'],\n ' csu': ['tyler',...
2022/11/23
[ "https://Stackoverflow.com/questions/74552019", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20584936/" ]
74,552,037
<p>I have a Requirement in which i need to store JSX/TSX For Example: <code>&lt;div&gt;Hello {name} &lt;/div&gt;</code></p> <p>in a variable, like this: <code>const Ele = &lt;&gt;&lt;div&gt;Hello {name} &lt;/div&gt;&lt;/&gt;</code> to export for another component in React.</p> <p>Well in normal Javascript it works fine...
[ { "answer_id": 74552059, "author": "azro", "author_id": 7212686, "author_profile": "https://Stackoverflow.com/users/7212686", "pm_score": 2, "selected": true, "text": "dictionary = {'nyu': ['marie', 'taylor', 'jim'],\n 'msu': ['tom', 'josh'],\n ' csu': ['tyler',...
2022/11/23
[ "https://Stackoverflow.com/questions/74552037", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12195277/" ]