qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
74,629,888 | <p>I want to disable the dates in the datepicker in flutter. Actually I am wokring on an application where user has to generate salary but I don't want him to generate salary if the salary is already created.</p>
<p>suppose salary is created 1-10-2022 to 30-10-2022 then i want to disable all the previous dates from 30-... | [
{
"answer_id": 74630233,
"author": "Patrick Hurst",
"author_id": 18522514,
"author_profile": "https://Stackoverflow.com/users/18522514",
"pm_score": 2,
"selected": false,
"text": "DECLARE @parts TABLE (PartID INT, SubPartID INT, Quantity INT)\nINSERT INTO @parts (PartID, SubPartID, Quant... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74629888",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18674968/"
] |
74,629,899 | <p>I know that there are many similar questions, and <a href="https://stackoverflow.com/questions/25027462/aws-s3-the-bucket-you-are-attempting-to-access-must-be-addressed-using-the-spec">this one</a> is no exception</p>
<p>But unfortunately I can't decide on the region for my case, how can I decide on the right region... | [
{
"answer_id": 74630233,
"author": "Patrick Hurst",
"author_id": 18522514,
"author_profile": "https://Stackoverflow.com/users/18522514",
"pm_score": 2,
"selected": false,
"text": "DECLARE @parts TABLE (PartID INT, SubPartID INT, Quantity INT)\nINSERT INTO @parts (PartID, SubPartID, Quant... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74629899",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6387618/"
] |
74,629,902 | <p><class 'blog.admin.CommentAdmin'>: (admin.E108) The value of 'list_display[4]' refers to 'active', which is not a callable, an attribute of 'CommentAdmin', or an attribute or method on 'blog.Comment'.</p>
<p><class 'blog.admin.CommentAdmin'>: (admin.E116) The value of 'list_filter[0]' refers to 'active',... | [
{
"answer_id": 74630233,
"author": "Patrick Hurst",
"author_id": 18522514,
"author_profile": "https://Stackoverflow.com/users/18522514",
"pm_score": 2,
"selected": false,
"text": "DECLARE @parts TABLE (PartID INT, SubPartID INT, Quantity INT)\nINSERT INTO @parts (PartID, SubPartID, Quant... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74629902",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20254624/"
] |
74,629,931 | <p>I was assigned a task for university where I have to write a program which deletes all words with more than 4 letters. I really have no clue at all. I would be very thankful for any kind of help.</p>
<pre><code>VAR
UserString: string; //должна быть строка на 40 символов и точку в конце
i, n: byte;
BEGIN
Writeln('En... | [
{
"answer_id": 74630233,
"author": "Patrick Hurst",
"author_id": 18522514,
"author_profile": "https://Stackoverflow.com/users/18522514",
"pm_score": 2,
"selected": false,
"text": "DECLARE @parts TABLE (PartID INT, SubPartID INT, Quantity INT)\nINSERT INTO @parts (PartID, SubPartID, Quant... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74629931",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20645937/"
] |
74,629,938 | <p>I know how to get the tenant id of Azure AD. But i have registred an APP in Azure AD using microsoft graph powershell and i want to obtain tenant id of this registred app using microsoft graph powershell. I tried to get it using the variable i used to create the app registration:</p>
<pre><code>$APP = New-MgApplica... | [
{
"answer_id": 74638109,
"author": "user2250152",
"author_id": 2250152,
"author_profile": "https://Stackoverflow.com/users/2250152",
"pm_score": 2,
"selected": true,
"text": "Import-Module Microsoft.Graph.Identity.DirectoryManagement\n\n$org = Get-MgOrganization\n $org.id"
}
] | 2022/11/30 | [
"https://Stackoverflow.com/questions/74629938",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10711853/"
] |
74,630,000 | <p>i'm having a trouble on comparing two dates in laravel.
In my app i have a date field to compare:</p>
<pre><code>// example
$order_date = Carbon::now()->format('Y-m-d') // returns "2022-11-30"
$now = Carbon::now() // returns an object with date at the bottom date: 2022-11-30 15:51:58.207817 Europe/Rome ... | [
{
"answer_id": 74638109,
"author": "user2250152",
"author_id": 2250152,
"author_profile": "https://Stackoverflow.com/users/2250152",
"pm_score": 2,
"selected": true,
"text": "Import-Module Microsoft.Graph.Identity.DirectoryManagement\n\n$org = Get-MgOrganization\n $org.id"
}
] | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630000",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20299680/"
] |
74,630,132 | <p>I have a list:</p>
<pre><code>lst = [[['X', 'A'], 1, 2, 3], [['Y', 'B'], 1, 2, 3], [['Z', 'C'], 1, 2, 3]]
</code></pre>
<p>And i want to turn it into:</p>
<pre><code>new_lst = [['X', 1, 2, 3], ['A', 1, 2, 3] ['Y', 1, 2, 3], ['B', 1, 2, 3], ['Z', 1, 2, 3], ['C', 1, 2, 3]]
</code></pre>
<p>I've got it to work with... | [
{
"answer_id": 74630180,
"author": "I_Hate_ReLU",
"author_id": 18345621,
"author_profile": "https://Stackoverflow.com/users/18345621",
"pm_score": -1,
"selected": false,
"text": "lst = [[['X', 'A'], 1, 2, 3], [['Y', 'B'], 1, 2, 3], [['Z', 'C'], 1, 2, 3]]\n\nfor item in lst:\n item[0] ... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630132",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20471057/"
] |
74,630,143 | <p>I am trying to create an Excel plug-in to generate custom functions (aka UDFs) to pull data from a web data source that uses a OAUTH1 Three-Step process to gather the data. It's similar to an OAUTH2 process, but can connect to the localhost.</p>
<p>I have code that can run on Node.JS to authorize the OUATH1 process.... | [
{
"answer_id": 74630180,
"author": "I_Hate_ReLU",
"author_id": 18345621,
"author_profile": "https://Stackoverflow.com/users/18345621",
"pm_score": -1,
"selected": false,
"text": "lst = [[['X', 'A'], 1, 2, 3], [['Y', 'B'], 1, 2, 3], [['Z', 'C'], 1, 2, 3]]\n\nfor item in lst:\n item[0] ... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630143",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8906455/"
] |
74,630,148 | <p>I'm trying to merge columns values from tuples with an index:</p>
<p>source tuples with a lot of timestamps (1440 ~):</p>
<pre><code>tuples = [('2022-10-15 01:16:00', '5', '', '', 'hdd1', '1234'),
('2022-10-15 01:16:00', '', '4', '', 'hdd1', '1234'),
('2022-10-15 01:17:00', '10', '', '', 'hdd1', ... | [
{
"answer_id": 74630371,
"author": "Johnny Mopp",
"author_id": 669576,
"author_profile": "https://Stackoverflow.com/users/669576",
"pm_score": 2,
"selected": true,
"text": "from itertools import groupby\nresult = []\nkey = lambda t: t[0]\nfor _,items in groupby(sorted(tuples, key=key), k... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630148",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2804204/"
] |
74,630,175 | <p>I am trying to redirect to an error page if a product ID is not found in a React project. I then find myself faced with a blank page and this error:</p>
<p><a href="https://i.stack.imgur.com/ai02V.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ai02V.png" alt="enter image description here" /></a><... | [
{
"answer_id": 74630371,
"author": "Johnny Mopp",
"author_id": 669576,
"author_profile": "https://Stackoverflow.com/users/669576",
"pm_score": 2,
"selected": true,
"text": "from itertools import groupby\nresult = []\nkey = lambda t: t[0]\nfor _,items in groupby(sorted(tuples, key=key), k... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630175",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18619674/"
] |
74,630,191 | <p>What is the best way to achieve this behavior along with React + TypeScript?</p>
<pre class="lang-js prettyprint-override"><code>import { Button, Card } from 'src/components';
const Page = () => (
<div>
<Card mx3 p3 flex justifyContentEnd>
/* Card content */
</Card>
<Butt... | [
{
"answer_id": 74630371,
"author": "Johnny Mopp",
"author_id": 669576,
"author_profile": "https://Stackoverflow.com/users/669576",
"pm_score": 2,
"selected": true,
"text": "from itertools import groupby\nresult = []\nkey = lambda t: t[0]\nfor _,items in groupby(sorted(tuples, key=key), k... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630191",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20646575/"
] |
74,630,194 | <p>Where exactly are the (product) image files stored? I can't find the images in my Shopware 6 installation folders. If it is in the database, explain how it is done and which table because I have looked at the <code>media</code> table and can't seem to decode where the image file is.</p>
| [
{
"answer_id": 74630371,
"author": "Johnny Mopp",
"author_id": 669576,
"author_profile": "https://Stackoverflow.com/users/669576",
"pm_score": 2,
"selected": true,
"text": "from itertools import groupby\nresult = []\nkey = lambda t: t[0]\nfor _,items in groupby(sorted(tuples, key=key), k... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630194",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20221985/"
] |
74,630,214 | <p>I have a list that looks like this</p>
<pre><code>#Make dataframes
df1 = data.frame(x = c("a", "b", "c"), y = 1:3, stringsAsFactors = F)
df2 = df1 %>% mutate(y = y*2)
df3 = df1 %>% mutate(y = y*3)
#Make a name for each dataframe
myvar = "fname"
#Combine name and datafr... | [
{
"answer_id": 74630331,
"author": "M.Viking",
"author_id": 10276092,
"author_profile": "https://Stackoverflow.com/users/10276092",
"pm_score": 3,
"selected": true,
"text": "lapply lapply(mylist[,2], FUN = function(i) i[which(i$x == \"c\"),])\n $mylist\n x y\n3 c 3\n\n$list2\n x y\n3 c... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630214",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13942377/"
] |
74,630,221 | <p>See the following example:</p>
<pre class="lang-none prettyprint-override"><code>$ lua
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio
> local a = 123
> print(a)
nil
</code></pre>
<p>This works as expected:</p>
<pre class="lang-none prettyprint-override"><code>> local a = 123; print(a)
123
</code></pre>... | [
{
"answer_id": 74630331,
"author": "M.Viking",
"author_id": 10276092,
"author_profile": "https://Stackoverflow.com/users/10276092",
"pm_score": 3,
"selected": true,
"text": "lapply lapply(mylist[,2], FUN = function(i) i[which(i$x == \"c\"),])\n $mylist\n x y\n3 c 3\n\n$list2\n x y\n3 c... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630221",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/900078/"
] |
74,630,226 | <p>I am trying to overwrite the row values for column A and B in df1 with the values from df2. My dfs look as such:</p>
<pre><code>df1
'A' 'B' 'C'
23 0 cat orange
24 0 cat orange
25 0 cat orange
df2
'A' 'B' 'C'
56 2 dog yellow
64 4 rat orange
85 2 bat red
</code></pre>... | [
{
"answer_id": 74630331,
"author": "M.Viking",
"author_id": 10276092,
"author_profile": "https://Stackoverflow.com/users/10276092",
"pm_score": 3,
"selected": true,
"text": "lapply lapply(mylist[,2], FUN = function(i) i[which(i$x == \"c\"),])\n $mylist\n x y\n3 c 3\n\n$list2\n x y\n3 c... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630226",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10574250/"
] |
74,630,263 | <p>I'm looking to grab the <code>displayValue</code> from <code>objectAttributeValues</code> where the <code>objectTypeAttributeId = 14</code></p>
<p>there are multiple arrays like this, and the position of <code>objectTypeAttributeId = 14</code> isn't always the same. how do I loop over every array to get that specifi... | [
{
"answer_id": 74630348,
"author": "Jib",
"author_id": 20124358,
"author_profile": "https://Stackoverflow.com/users/20124358",
"pm_score": 0,
"selected": false,
"text": "# lets browse top level entries of your array\nfor e1 in outputs[\"objectEntries\"]:\n # for each of those entries,... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630263",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13315358/"
] |
74,630,268 | <p>I have attempted to write a macro that scans through a folder to pick relevant PDFs belonging to a person (such as AAA) and attach them to an email to be sent to AAA, then move on to pick up PDFs belonging to BBB and attach them to an email to be sent to BBB so on and so forth. My folder containing the PDFs looks li... | [
{
"answer_id": 74637200,
"author": "artnib",
"author_id": 14907151,
"author_profile": "https://Stackoverflow.com/users/14907151",
"pm_score": 0,
"selected": false,
"text": "On Error Resume Next ...\nfolder = Worksheets(\"START\").Range(\"A14\")\nIf Dir(folder, vbDirectory) = \"\" Then\n ... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630268",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20645863/"
] |
74,630,271 | <p>My question is highly related to the following thread:
<a href="https://stackoverflow.com/questions/35157307/concatenate-values-across-two-rows-in-r">concatenate values across two rows in R</a></p>
<p>The main difference is that I would like concatenate only those rows, which are of the same ID. So I need to include... | [
{
"answer_id": 74630316,
"author": "Jilber Urbina",
"author_id": 1315767,
"author_profile": "https://Stackoverflow.com/users/1315767",
"pm_score": 2,
"selected": false,
"text": "library(dplyr)\ninput %>% \n group_by(ID) %>% \n mutate(across(everything(), ~paste0(.,collapse = \"-\"))) %... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630271",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15407689/"
] |
74,630,290 | <p>I have two dataframes as such:</p>
<pre><code>DF1<-data.frame(VAR1 = c(1,1,1,1,2,2,2,2,3,3,3,3),
VAR2 = c('John','Bob','Hannah'), VAR3 = c(1,1,1,2),
VAR4=NA)
DF2<-data.frame(VAR1 = c(1,1,1,1,2,2,2,2,3,3,3,3),
VAR2 = c('John','Bob','Hannah','Dave'),
VAR4 = c('A','B','C'))
</code></pre>
<p>I want to copy DF2$... | [
{
"answer_id": 74630415,
"author": "harre",
"author_id": 4786466,
"author_profile": "https://Stackoverflow.com/users/4786466",
"pm_score": 2,
"selected": false,
"text": "rows_update dplyr library(dplyr)\n\nDF1 |>\n rows_update(DF2, by = c(\"VAR1\", \"VAR2\"), unmatched = \"ignore\")\n ... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630290",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20646660/"
] |
74,630,330 | <p>I'm trying to have a ggplot with two vertical lines on it, with a separate custom legend to explain what the lines represent.
This is my code (using iris):</p>
<pre><code>irate <- as.data.frame(iris)
irate$Species <- as.character(irate$Species)
irritating <- ggplot(irate) +
geom_line(aes(y = Sepal.Length... | [
{
"answer_id": 74631091,
"author": "Andy Baxter",
"author_id": 10744082,
"author_profile": "https://Stackoverflow.com/users/10744082",
"pm_score": 2,
"selected": false,
"text": "linetype aes library(ggplot2)\n\nirate <- as.data.frame(iris)\nirate$Species <- as.character(irate$Species)\n\... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630330",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17081051/"
] |
74,630,337 | <p>I'm only aiming to retrieve rows before negative total values for each nickname and the same date.</p>
<p><strong>Table :</strong></p>
<p><a href="https://i.stack.imgur.com/YDJsX.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>I don't want to retrieve the orderid 8 and the orderid9 because th... | [
{
"answer_id": 74630562,
"author": "Patrick Hurst",
"author_id": 18522514,
"author_profile": "https://Stackoverflow.com/users/18522514",
"pm_score": 1,
"selected": false,
"text": "DECLARE @table TABLE (RowID INT IDENTITY, Value INT, Name NVARCHAR(10))\nINSERT INTO @table (Value, Name) VA... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630337",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17648303/"
] |
74,630,364 | <p>im noob at prog, so i need help.</p>
<p>Need to make a string from each word in the array so that each letter copies itself as many times as the serial number in the word it has, and each new character must starts with uppercase;</p>
<p>Example:</p>
<p>"abcd" -> "A-Bb-Ccc-Dddd"</p>
<p>"Rq... | [
{
"answer_id": 74630844,
"author": "James Curran",
"author_id": 12725,
"author_profile": "https://Stackoverflow.com/users/12725",
"pm_score": 3,
"selected": true,
"text": "string Accum(string s) \n{\n var sb = new StringBuilder(s.Length * s.Length); // a bit too long, but that's Ok\n... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630364",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20646944/"
] |
74,630,379 | <p>I've been working with JS + JSON, and I can't find a way to make a new object out of a value of some parent object. For example:</p>
<pre class="lang-js prettyprint-override"><code>const parent = {
"child": {"value": 12},
"otherChild": {"value": 83}
}
// I want to create ... | [
{
"answer_id": 74630426,
"author": "mcnk",
"author_id": 5069866,
"author_profile": "https://Stackoverflow.com/users/5069866",
"pm_score": 1,
"selected": false,
"text": "lodash const _ = require('lodash');\n \nvar obj = {\n x: 23\n};\n \n// Deep copy\nvar deepCopy = _.cloneDeep(obj... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630379",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14924831/"
] |
74,630,413 | <p>I have been getting the following error.</p>
<blockquote>
<p>django.db.utils.IntegrityError: NOT NULL constraint failed: doctor_owner.doc_name</p>
</blockquote>
<p>This error primarily arises on when I save the owner information using .save() and the error it gives is on doc_name, which is not present in the model d... | [
{
"answer_id": 74630426,
"author": "mcnk",
"author_id": 5069866,
"author_profile": "https://Stackoverflow.com/users/5069866",
"pm_score": 1,
"selected": false,
"text": "lodash const _ = require('lodash');\n \nvar obj = {\n x: 23\n};\n \n// Deep copy\nvar deepCopy = _.cloneDeep(obj... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630413",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2015669/"
] |
74,630,428 | <p>As you can see I am using the type="range" input slider for this purpose. But I need slider where I will have texts instead of numbers.</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prett... | [
{
"answer_id": 74630426,
"author": "mcnk",
"author_id": 5069866,
"author_profile": "https://Stackoverflow.com/users/5069866",
"pm_score": 1,
"selected": false,
"text": "lodash const _ = require('lodash');\n \nvar obj = {\n x: 23\n};\n \n// Deep copy\nvar deepCopy = _.cloneDeep(obj... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630428",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647302/"
] |
74,630,436 | <p>I am trying to filter out content from a file but some-why it's not working.
My goal is to filter out whatever starts with "build-" and it's age is above 1 day.
Sometimes it displays minutes / hours / days, therefore I need to filter 1d, 24h, 1440m and above.
( X >= 1d || X >= 24h || X >= 1440m ).... | [
{
"answer_id": 74630570,
"author": "anubhava",
"author_id": 548225,
"author_profile": "https://Stackoverflow.com/users/548225",
"pm_score": 3,
"selected": true,
"text": "awk awk '\n/^build-/ &&\n( (/d$/ && $3+0 >= 1) ||\n (/h$/ && $3+0 >= 24) ||\n (/m$/ && $3+0 >= 1440) )' file\n\nb... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630436",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19364640/"
] |
74,630,477 | <p>I'm trying to create a zoom in button, in my unity scene
I saw this video, but the 'zoom cam' isn't working.
<a href="https://www.youtube.com/watch?v=ACR-W9QZQwE&t=127s&ab_channel=DesignandDeploy" rel="nofollow noreferrer">https://www.youtube.com/watch?v=ACR-W9QZQwE&t=127s&ab_channel=DesignandDeploy<... | [
{
"answer_id": 74634405,
"author": "Gauluser",
"author_id": 20649876,
"author_profile": "https://Stackoverflow.com/users/20649876",
"pm_score": 0,
"selected": false,
"text": "zoom cam Main Camera GameObject.Find(\"Main Camera\").GetComponent<Camera>().enabled = false;\n"
}
] | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630477",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17646296/"
] |
74,630,480 | <p>I'm having object like this,</p>
<pre><code> const rolePermission = {
adminView: true,
adminCreate: true,
adminDelete: true,
userView: true,
userEdit: true,
userDelete: false,
};
</code></pre>
<p>i expecting like this,</p>
<pre><code> const rolePermission = [
{ role: "admin"... | [
{
"answer_id": 74630693,
"author": "Cerbrus",
"author_id": 1835379,
"author_profile": "https://Stackoverflow.com/users/1835379",
"pm_score": 0,
"selected": false,
"text": "const rolePermission = { adminView: true, adminCreate: true, adminDelete: true, userView: true, userEdit: true, user... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630480",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647233/"
] |
74,630,488 | <p>I have issue styling my font-family using bootstrap. any help thanks</p>
<pre><code><div class="float-start my-2 f-Arial">
<label for="maleFemale">Gender:</label>
<select name="sex" id="maleFemale">
<option value=&quo... | [
{
"answer_id": 74645837,
"author": "herrstrietzel",
"author_id": 15015675,
"author_profile": "https://Stackoverflow.com/users/15015675",
"pm_score": 1,
"selected": false,
"text": ":root {\n --bs-blue: #0d6efd;\n --bs-indigo: #6610f2;\n --bs-purple: #6f42c1;\n --bs-pink: #d63384;\n -... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630488",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647272/"
] |
74,630,496 | <p>I am a bit confused as to what and what I need to install in order to start my app development using Visual Studio code.</p>
<p>I've tried installing VS Code, and then just as I was about getting started it said something about having SDK</p>
| [
{
"answer_id": 74645837,
"author": "herrstrietzel",
"author_id": 15015675,
"author_profile": "https://Stackoverflow.com/users/15015675",
"pm_score": 1,
"selected": false,
"text": ":root {\n --bs-blue: #0d6efd;\n --bs-indigo: #6610f2;\n --bs-purple: #6f42c1;\n --bs-pink: #d63384;\n -... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630496",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647340/"
] |
74,630,536 | <p>I have to use Semaphore to work on two different processes at the same time.
But they work in a specific sequence and have to exclude each other.</p>
<p>Process 1 "p1" has to print out first number "1" and after p1 is ready, p2 is allowed to work and print out the number 2. After p2 has finished,... | [
{
"answer_id": 74630959,
"author": "hooknc",
"author_id": 42962,
"author_profile": "https://Stackoverflow.com/users/42962",
"pm_score": 0,
"selected": false,
"text": "sem1 sem2 package semaphore;\n\nimport java.util.concurrent.Semaphore;\n\npublic class MySemaphore {\n\n public static... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630536",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20424991/"
] |
74,630,538 | <p>I am using Laravel 8 and using Raw Query. I have added query to fetch count of product by manufacturers but facing below error.</p>
<pre><code>SQLSTATE[42000]: Syntax error or access violation: 1055 'ngtonlin_superadmin.m.manufacturerid'
isn't in GROUP BY (SQL: select `m`.`manufacturerid` as `id`, `m`.`name`, `m`.`l... | [
{
"answer_id": 74630721,
"author": "ronrun",
"author_id": 3562689,
"author_profile": "https://Stackoverflow.com/users/3562689",
"pm_score": 2,
"selected": true,
"text": "->groupBy('m.manufacturerid', 'm.name','m.logowidth','m.logoheight')\n ->groupBy('p.manufacturer_id')\n"
}
] | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630538",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16365514/"
] |
74,630,563 | <p>I'm running Mosquitto 2.0.15 on ubuntu 20.04</p>
<p>and I want to configure to listen on a specific interface,
but I don't want to hardcode the interface address</p>
<p>the interface I want to listen on is:</p>
<pre><code>enp3s0: connected to Wired connection 1
"Realtek RTL8111/8168/8411"
e... | [
{
"answer_id": 74631310,
"author": "hardillb",
"author_id": 504554,
"author_profile": "https://Stackoverflow.com/users/504554",
"pm_score": 1,
"selected": false,
"text": "listener 8882\nbind_interface enp3s0\nprotocol mqtt\nallow_anonymous true\n"
},
{
"answer_id": 74638170,
... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630563",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20213906/"
] |
74,630,565 | <p>I want to generate a v5 UUID for a string using a given namespace.</p>
<p><a href="https://man.archlinux.org/man/uuid_generate_time.3.en" rel="nofollow noreferrer">https://man.archlinux.org/man/uuid_generate_time.3.en</a> talks about <code>uuid_generate_sha1()</code> but I could not find any good examples on how to ... | [
{
"answer_id": 74631310,
"author": "hardillb",
"author_id": 504554,
"author_profile": "https://Stackoverflow.com/users/504554",
"pm_score": 1,
"selected": false,
"text": "listener 8882\nbind_interface enp3s0\nprotocol mqtt\nallow_anonymous true\n"
},
{
"answer_id": 74638170,
... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630565",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10901567/"
] |
74,630,583 | <p>I have the following problem and I'm wondering if it could be solved just with CSS Flexible Box Layout:</p>
<p>I have a number of boxes (divs) with the same width, and I want:</p>
<ul>
<li>the first box to stay in the first row</li>
<li>all other boxes on row below wrapping when necessary
BUT also:</li>
<li>I want t... | [
{
"answer_id": 74630958,
"author": "Diego D",
"author_id": 1221208,
"author_profile": "https://Stackoverflow.com/users/1221208",
"pm_score": 1,
"selected": false,
"text": "flex-basis .flex {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 10px;\n outline: solid 1px... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630583",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2175261/"
] |
74,630,596 | <p>Using Python 3...</p>
<p>I've written code that rounds the values for ArcGIS symbology labels. The label is given as a string like "0.3324 - 0.6631". My reproducible code is...</p>
<pre><code>label = "0.3324 - 0.6631"
label_list = []
label_split = label.split(" - ")
for num in label_sp... | [
{
"answer_id": 74630770,
"author": "Pranav Hosangadi",
"author_id": 843953,
"author_profile": "https://Stackoverflow.com/users/843953",
"pm_score": 1,
"selected": false,
"text": "\\b\\d+\\.\\d+\\b ABC0.1234 \\b\\d+\\.\\d+\\b\n\n\\b \\b : Word boundary\n \\d+ \\d+ : One... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630596",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16138574/"
] |
74,630,608 | <p>I have a bunch of folders which look like the below, I need to remove the point between the 2.0:</p>
<pre><code>0010_DWI_MS_2.0_first_2874028735_10.bvec
0010_DWI_MS_2.0_first_2874028735_10.bval
0010_DWI_MS_2.0_first_2874028735_10.nii
0011_DWI_MS_2.0_first_2874028735_11.bvec
0011_DWI_MS_2.0_first_2874028735_11.bval
0... | [
{
"answer_id": 74630770,
"author": "Pranav Hosangadi",
"author_id": 843953,
"author_profile": "https://Stackoverflow.com/users/843953",
"pm_score": 1,
"selected": false,
"text": "\\b\\d+\\.\\d+\\b ABC0.1234 \\b\\d+\\.\\d+\\b\n\n\\b \\b : Word boundary\n \\d+ \\d+ : One... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630608",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16344097/"
] |
74,630,637 | <p>I was investigating STL implementations, and I'm failing to understand how the code compiles.</p>
<p>Take <code>std::set</code> as an example. <a href="https://github.com/gcc-mirror/gcc/blob/3832c6f7e672e76bba74a508bf3a49740ea38046/libstdc++-v3/include/bits/stl_set.h" rel="nofollow noreferrer">Here's a reference to ... | [
{
"answer_id": 74630770,
"author": "Pranav Hosangadi",
"author_id": 843953,
"author_profile": "https://Stackoverflow.com/users/843953",
"pm_score": 1,
"selected": false,
"text": "\\b\\d+\\.\\d+\\b ABC0.1234 \\b\\d+\\.\\d+\\b\n\n\\b \\b : Word boundary\n \\d+ \\d+ : One... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630637",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5822257/"
] |
74,630,698 | <p>I'm currently discovering the automation tool Cypress, and I have a problem with the most basic functionality.</p>
<p>What I want to do in my this is
access this URL: <code>https://www.unicef.fr/se-connecter/</code><br />
Click on the password input, then type a password.</p>
<p>But whenever my code is about to type... | [
{
"answer_id": 74631327,
"author": "jjhelguero",
"author_id": 17917809,
"author_profile": "https://Stackoverflow.com/users/17917809",
"pm_score": 0,
"selected": false,
"text": "js-account-login-input-password cy.get('input[type=password]')\n"
},
{
"answer_id": 74633367,
"auth... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630698",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647451/"
] |
74,630,707 | <p>I am creating an algorithm to count natural numbers however the output is a long number:</p>
<pre><code>1532752%
</code></pre>
<p>Here is what I have tried:</p>
<pre><code>#include <stdio.h>
#include <stdlib.h>
int sumN(int N){
int S = 0;
int I = 1;
int *p = &I;
for(int i = *p; i &... | [
{
"answer_id": 74631447,
"author": "pm100",
"author_id": 173397,
"author_profile": "https://Stackoverflow.com/users/173397",
"pm_score": 2,
"selected": false,
"text": " int sum =0;\n For (int i =1; i<=N; i++){\n sum += i;\n }\n"
},
{
"answer_id": 74631741,
"author": "abe... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630707",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16470943/"
] |
74,630,743 | <p>I'm trying to change the values inside inputs. I got those values from the db.
But it doesn't allow me to type or edit the value.
I've added an <code>handleInputChange</code> function to put inside <code>onChange</code> inside each input tag but it didn't work.
I need those values to be inside inputs at the beginnin... | [
{
"answer_id": 74631447,
"author": "pm100",
"author_id": 173397,
"author_profile": "https://Stackoverflow.com/users/173397",
"pm_score": 2,
"selected": false,
"text": " int sum =0;\n For (int i =1; i<=N; i++){\n sum += i;\n }\n"
},
{
"answer_id": 74631741,
"author": "abe... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630743",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13271745/"
] |
74,630,757 | <p>I want to have only one blurred circle but this is not possible and the outer parts of the circle i.e. Container are completely blurred. The same is true for CustomPoint.
<a href="https://i.stack.imgur.com/xTEKm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xTEKm.png" alt="This Image" /></a></p>... | [
{
"answer_id": 74631447,
"author": "pm100",
"author_id": 173397,
"author_profile": "https://Stackoverflow.com/users/173397",
"pm_score": 2,
"selected": false,
"text": " int sum =0;\n For (int i =1; i<=N; i++){\n sum += i;\n }\n"
},
{
"answer_id": 74631741,
"author": "abe... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630757",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15574325/"
] |
74,630,771 | <p>So I start put with a file that lists title, actor, title, actor, etc.</p>
<pre><code> 12 Years a Slave
Topsy Chapman
12 Years a Slave
Devin Maurice Evans
12 Years a Slave
Brad Pitt
12 Years a Slave
Jay Huguley
12 Years a Slave
Devyn A. Tyler
12 Years a Slave
Willo Jean... | [
{
"answer_id": 74631437,
"author": "Edo Akse",
"author_id": 9267296,
"author_profile": "https://Stackoverflow.com/users/9267296",
"pm_score": 0,
"selected": false,
"text": "# pretty printer to make the output nice\nfrom pprint import pprint\n\n\ndata = \"\"\" 12 Years a Slave\n Top... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630771",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20565396/"
] |
74,630,799 | <p>I'm very new to Python and have an issue. I was wondering if there was a way I could create a list of objects created. For example, say I have a class:</p>
<pre><code>list_triangles = []
def class Triangle:
def __init__(self, h, w):
self.h = h
self.w = w
a = Triangle(5,6)
b = Triangle(3,3)
</code></pre... | [
{
"answer_id": 74630856,
"author": "Barmar",
"author_id": 1491895,
"author_profile": "https://Stackoverflow.com/users/1491895",
"pm_score": 2,
"selected": false,
"text": "params = [(5, 6), (3, 3)]\nlist_triangles = [Triangle(*p) for p in params]\n"
},
{
"answer_id": 74631173,
... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630799",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20300079/"
] |
74,630,807 | <p>Context:</p>
<p><em>I've found a bug in a selenium framework I'm working on, in which the Web Browser (at least Chrome) crashes unexpectedly with no notification.<br />
As a patch, I'm reinitializing the WebDriver so it keeps working, but right now I'm creating a new EdgeDriver and I want to create a new WebDriver o... | [
{
"answer_id": 74630856,
"author": "Barmar",
"author_id": 1491895,
"author_profile": "https://Stackoverflow.com/users/1491895",
"pm_score": 2,
"selected": false,
"text": "params = [(5, 6), (3, 3)]\nlist_triangles = [Triangle(*p) for p in params]\n"
},
{
"answer_id": 74631173,
... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630807",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1180993/"
] |
74,630,823 | <p><a href="https://i.stack.imgur.com/QfkEB.png" rel="nofollow noreferrer">EPLgames2018/19 CSV</a>I am fairly new to python.</p>
<p>I am reading in a CSV file that contains the stats from every english premier league match in 2018/19.</p>
<p>I have created a list of all of the teams. I am then trying to take each team ... | [
{
"answer_id": 74630856,
"author": "Barmar",
"author_id": 1491895,
"author_profile": "https://Stackoverflow.com/users/1491895",
"pm_score": 2,
"selected": false,
"text": "params = [(5, 6), (3, 3)]\nlist_triangles = [Triangle(*p) for p in params]\n"
},
{
"answer_id": 74631173,
... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630823",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647456/"
] |
74,630,829 | <p>I have a input for phone number, and its type is not number is text, and I want to check if the input has characters to validate it as wrong, I have set it like that because I put a format to the input like 123-123-1234
here is my input</p>
<pre><code><input (keyup)="format()" (change)="format()&qu... | [
{
"answer_id": 74630856,
"author": "Barmar",
"author_id": 1491895,
"author_profile": "https://Stackoverflow.com/users/1491895",
"pm_score": 2,
"selected": false,
"text": "params = [(5, 6), (3, 3)]\nlist_triangles = [Triangle(*p) for p in params]\n"
},
{
"answer_id": 74631173,
... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630829",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20531528/"
] |
74,630,841 | <pre><code>def itr(n):
s = 0
for i in range(0, n+1):
s = s + i * i
return s
</code></pre>
<p>I have difficulties turning this iterative function to a recursive function called rec(n).</p>
| [
{
"answer_id": 74630988,
"author": "realhuman",
"author_id": 15690172,
"author_profile": "https://Stackoverflow.com/users/15690172",
"pm_score": 1,
"selected": false,
"text": "def rec(n, s = 0): # s = 0 is a default variable, so if we don't specify what s is when we call the function, it... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630841",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17533925/"
] |
74,630,865 | <p>I'm very new to file and struct and I just don't know how to do it. Now, I try to find how to do it everywhere but I can't find it. This is my code.</p>
<pre><code>#include <stdio.h>
typedef struct
{
int site_id_num;
int day_of_month[14];
int wind_speed[14];
int temperature[14];
}measured_data... | [
{
"answer_id": 74631184,
"author": "Bodo",
"author_id": 10622916,
"author_profile": "https://Stackoverflow.com/users/10622916",
"pm_score": 0,
"selected": false,
"text": "main.c: In function ‘main’:\nmain.c:23:28: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has ... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630865",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20079730/"
] |
74,630,940 | <p>I am trying to trace quadratic bezier curves, placing "markers" at a given step length <code>distance</code>. Tried to do it a naive way:</p>
<pre><code> const p = toPoint(map, points[section + 1]);
const p2 = toPoint(map, points[section]);
const {x: cx, y: cy} = toPoint(map, cp);
const ll1 ... | [
{
"answer_id": 74637798,
"author": "Spektre",
"author_id": 2521214,
"author_profile": "https://Stackoverflow.com/users/2521214",
"pm_score": 2,
"selected": true,
"text": "t //---------------------------------------------------------------------------\nfloat x0,x1,x2,y0,y1,y2; // contr... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630940",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5800846/"
] |
74,630,946 | <p>I want to set an image to the button
<a href="https://i.stack.imgur.com/xK9eV.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xK9eV.jpg" alt="enter image description here" /></a></p>
<p>But every time when I add an image to the button it shows a huge image and the image doesn't fit the button size... | [
{
"answer_id": 74637798,
"author": "Spektre",
"author_id": 2521214,
"author_profile": "https://Stackoverflow.com/users/2521214",
"pm_score": 2,
"selected": true,
"text": "t //---------------------------------------------------------------------------\nfloat x0,x1,x2,y0,y1,y2; // contr... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630946",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18897610/"
] |
74,630,956 | <p>I have a small doubt.</p>
<p>I have a dataframe where I have one column displaying the hourly time and the columns with the dates, is there a way to put all this together? (In this case using pandas)</p>
<p>actual dataframe</p>
<p><a href="https://i.stack.imgur.com/WDiOe.png" rel="nofollow noreferrer"><img src="http... | [
{
"answer_id": 74631013,
"author": "Chris",
"author_id": 4718350,
"author_profile": "https://Stackoverflow.com/users/4718350",
"pm_score": 3,
"selected": true,
"text": "pd.melt import pandas as pd\ndf = pd.DataFrame({'August': ['00:00 - 01:00', '01:00 - 02:00', '02:00 - 03:00'], '1/ aug/... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630956",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13382780/"
] |
74,630,965 | <p>If I have a list like</p>
<pre><code>
[[a, b], [c, d], [e, f]]
</code></pre>
<p>How would I know that element a is in index 0 of the big list. I'm unsure on how to do this with a 2 dimensional array.</p>
<p>I tried to use index, but it not works</p>
<pre><code>s = [['a', 'b'], ['c', 'd'], ['e', 'f']]
s.index('a')
<... | [
{
"answer_id": 74630983,
"author": "xingyu xia",
"author_id": 20646924,
"author_profile": "https://Stackoverflow.com/users/20646924",
"pm_score": 2,
"selected": true,
"text": "s = [['a', 'b'], ['c', 'd'], ['e', 'f']]\nx = 'a'\nfind = False\nfor i, line in enumerate(s):\n if x in line:... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630965",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647609/"
] |
74,630,968 | <p>I just started learning SQL and there is my problem.
I have a column that contains acronyms like "GP2", "MU1", "FR10", .... and I want to add '0's to the acronyms that don't have enough characters.</p>
<p>For example I want acronyms like "FR10", "GP48",... to stay li... | [
{
"answer_id": 74631235,
"author": "Isolated",
"author_id": 13118009,
"author_profile": "https://Stackoverflow.com/users/13118009",
"pm_score": 2,
"selected": false,
"text": "case expression concat with my_data as (\n select 'GP2' as col1 union all\n select 'MU1' union all\n select 'F... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630968",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647584/"
] |
74,630,969 | <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>const result = {
"records": [
{
"recordid": "15986521",
"sf_Parent ID": "10156246",
"sf_Created Date": "20... | [
{
"answer_id": 74631049,
"author": "Konrad",
"author_id": 5089567,
"author_profile": "https://Stackoverflow.com/users/5089567",
"pm_score": 2,
"selected": false,
"text": "records undefined const result = {}\n\nif (result && result.records && result.records.length > 0) {\n const getLates... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630969",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/603380/"
] |
74,630,972 | <p>I have a dataframe, about 800,000 rows and 16 columns, below is an example from the data,</p>
<pre><code>import pandas as pd
import datetime
start = datetime.datetime.now()
print('Starting time,'+str(start))
dict1 = {'id':['person1','person2','person3','person4','person5'], \
'food1':['A','A','A','C','D' ]... | [
{
"answer_id": 74631049,
"author": "Konrad",
"author_id": 5089567,
"author_profile": "https://Stackoverflow.com/users/5089567",
"pm_score": 2,
"selected": false,
"text": "records undefined const result = {}\n\nif (result && result.records && result.records.length > 0) {\n const getLates... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630972",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20023326/"
] |
74,630,987 | <p>I was following a tutorial to learn to react. In this tutorial, they asked me to do an information page and add some styling to this page. When I hard coded the styles inside my index.js there will be no problem but when I want to use separate Style.css I can't import it. I don't know why. All files are on the same ... | [
{
"answer_id": 74631049,
"author": "Konrad",
"author_id": 5089567,
"author_profile": "https://Stackoverflow.com/users/5089567",
"pm_score": 2,
"selected": false,
"text": "records undefined const result = {}\n\nif (result && result.records && result.records.length > 0) {\n const getLates... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74630987",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15477041/"
] |
74,631,005 | <p>I'm wondering how to stop counting money (iloscPieniedzy) when HP (iloscZycia) is 0 in this code:</p>
<pre><code>let iloscZycia = 20;
const sumaZycia = document.getElementById("suma-zycia");
const dodajZycie = document.getElementById('dodaj-zycie');
const odejmijZycie = document.getElementById('odejmij-zy... | [
{
"answer_id": 74631170,
"author": "SalahM",
"author_id": 13560490,
"author_profile": "https://Stackoverflow.com/users/13560490",
"pm_score": 1,
"selected": false,
"text": "if (iloscZycia === 0){\n iloscPieniedzy = 0\n};\n"
},
{
"answer_id": 74631455,
"author": "jsejcksn",
... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631005",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647589/"
] |
74,631,066 | <p>I have created an expandable toolbar that also contains a bootstrap dropdown component. I need this toolbar to be a fixed height, with all components that extend beyond the toolbar size to be hidden (except for popups). So I have applied <code>overflow:hidden</code> to that toolbar container. However, this has the u... | [
{
"answer_id": 74633126,
"author": "Seyfullah Akgun",
"author_id": 18068342,
"author_profile": "https://Stackoverflow.com/users/18068342",
"pm_score": -1,
"selected": false,
"text": "<div class=\"dropdown-menu dropdown-menu-right\" style='z-index:9999; height: 50px; max-height: 100px; ov... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631066",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7411852/"
] |
74,631,072 | <p>Ok so I have a list of the same dictionaries and I want to get the values of the dictionaries into a list of lists. For example this is what one dictionary might look like:</p>
<p><code>mylist = [{'a': 0, 'b': 2},{'a':1, 'b':3}]</code></p>
<p>I want the lists of lists to look like:</p>
<p><code>[[0,2],[1,3]]</code><... | [
{
"answer_id": 74631185,
"author": "ViktorGlushak",
"author_id": 11663862,
"author_profile": "https://Stackoverflow.com/users/11663862",
"pm_score": 1,
"selected": false,
"text": "[list(i.values()) for i in mylist]"
},
{
"answer_id": 74631207,
"author": "realhuman",
"auth... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631072",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15972232/"
] |
74,631,074 | <p>I have two properties in my application properties and trying to overwrite them from command line arguments , but its not overwriting, I have checked the variable name/etc .
all is fine but still isn't being overwritten. Please note: it was being overwritten earlier suddenly it stopped.</p>
<pre><code>application.pr... | [
{
"answer_id": 74633383,
"author": "Elmer homero",
"author_id": 20638963,
"author_profile": "https://Stackoverflow.com/users/20638963",
"pm_score": 1,
"selected": false,
"text": "java -Dcom.records=10 -Dcom.count=10 -jar myJarname.jar\n java -Dspring-boot.run.arguments=\"--com.records=10... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631074",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17198927/"
] |
74,631,118 | <p>I have a <strong>container</strong> <code>div</code> set to <code>width: 1000px</code> and <code>height: 500px</code>. Inside it there is an <strong>innner</strong> <code>div</code> set to <code>width: 200%</code> and <code>height: 100%</code> which makes <strong>container</strong> overflow horizontally.</p>
<p>The ... | [
{
"answer_id": 74631232,
"author": "jerry",
"author_id": 20493210,
"author_profile": "https://Stackoverflow.com/users/20493210",
"pm_score": 0,
"selected": false,
"text": ".container {\n width: 1000px;\n height: 500px;\n overflow: auto;\n }\n\n .inner {\n width:... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631118",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19889695/"
] |
74,631,165 | <p>how can i get a signal that my external agenda in my own app needs to be updated when there is a new event been made. at this moment my code looks like this but i can't retrieve a new event from google calendar. what do i do wrong.</p>
<pre><code>public async Task<List<EventModel>> GetAllEventsAsync()
... | [
{
"answer_id": 74631232,
"author": "jerry",
"author_id": 20493210,
"author_profile": "https://Stackoverflow.com/users/20493210",
"pm_score": 0,
"selected": false,
"text": ".container {\n width: 1000px;\n height: 500px;\n overflow: auto;\n }\n\n .inner {\n width:... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631165",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20165469/"
] |
74,631,218 | <p>I am an experienced java enterprise developer but very new to python enterprise development shop. I am currently, struggling to understand why some imports work while others don't.</p>
<p>Some background: Our dev team recently upgraded python from 3.6 to 3.10.5 and following is our package structure</p>
<pre><code>s... | [
{
"answer_id": 74631328,
"author": "ShadowRanger",
"author_id": 364696,
"author_profile": "https://Stackoverflow.com/users/364696",
"pm_score": 3,
"selected": true,
"text": "-m python3 -m package.moduleA . / .py python3 -m package/moduleA.py package.moduleA sys.path src package $ cd path... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631218",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3792396/"
] |
74,631,243 | <pre><code>void main(char *param_1)
{
long lVar1;
int iVar2;
lVar1 = strtol(param_1,(char **)0x0,10);
if (1000 < lVar1 - 1U) {
}
iVar2 = fun9(n1,lVar1);
if (iVar2 == 2) {
return;
}
}
</code></pre>
<p>Trying to backwards engineer but stuck on this. Some of the variables don't make sense so har... | [
{
"answer_id": 74631506,
"author": "Ali Hassan",
"author_id": 17962313,
"author_profile": "https://Stackoverflow.com/users/17962313",
"pm_score": -1,
"selected": false,
"text": "int main () {\n char str[30] = \"2030300 This is test\";\n char *ptr;\n long ret;\n\n ret = strtol(str... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631243",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647708/"
] |
74,631,268 | <p>i am relative new to typescript (coming from java) and i have currently the following problem:</p>
<p><strong>Given:</strong> String with a length of 3, it can only contain the charts '0', '1' and '2'. Each of them are representing a different state. Lets assume here the following: '0' -> 'no', '1' -> 'yes', '... | [
{
"answer_id": 74631506,
"author": "Ali Hassan",
"author_id": 17962313,
"author_profile": "https://Stackoverflow.com/users/17962313",
"pm_score": -1,
"selected": false,
"text": "int main () {\n char str[30] = \"2030300 This is test\";\n char *ptr;\n long ret;\n\n ret = strtol(str... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631268",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6145451/"
] |
74,631,274 | <p>I have a React app that I'm trying to Dockerize. Here is my Dockerfile and docker-compose:</p>
<pre><code>FROM node:16.13.1
WORKDIR /app
ENV PATH /app/node_modules/.bin:$PATH
COPY package.json .
COPY package-lock.json .
RUN mkdir -p node_modules/node-sass/vendor/linux-x64-93
RUN curl -L https://github.com/sass/no... | [
{
"answer_id": 74631506,
"author": "Ali Hassan",
"author_id": 17962313,
"author_profile": "https://Stackoverflow.com/users/17962313",
"pm_score": -1,
"selected": false,
"text": "int main () {\n char str[30] = \"2030300 This is test\";\n char *ptr;\n long ret;\n\n ret = strtol(str... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631274",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647295/"
] |
74,631,285 | <p>Running VS Code on WSL.</p>
<p>I have tried opening keybindings.json at [USER]/AppData/Roaming/Code/User/keybindings.json</p>
<p>... and adding the following:</p>
<pre class="lang-json prettyprint-override"><code> {
"key": "escape+backspace",
"command": "deleteWordLeft&quo... | [
{
"answer_id": 74631506,
"author": "Ali Hassan",
"author_id": 17962313,
"author_profile": "https://Stackoverflow.com/users/17962313",
"pm_score": -1,
"selected": false,
"text": "int main () {\n char str[30] = \"2030300 This is test\";\n char *ptr;\n long ret;\n\n ret = strtol(str... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631285",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/830841/"
] |
74,631,296 | <p>I have two classes and I want to inject one class into another using Spring</p>
<pre><code>public class A {
private B b;
...
}
@Component
public class B {
...
}
</code></pre>
<p>But when I try to call b object method i cath NullPointerException. And I didn't understand why Spring didn't inject bean in A... | [
{
"answer_id": 74631372,
"author": "Yonatan Karp-Rudin",
"author_id": 3899765,
"author_profile": "https://Stackoverflow.com/users/3899765",
"pm_score": 0,
"selected": false,
"text": "@Component\npublic class A {\n private B b;\n ...\n}\n\n@Component\npublic class B {\n ...\n}\n ... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631296",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647774/"
] |
74,631,374 | <p>The question is: Calculate the value of π from the infinite series. Print a table that
shows the value of π approximated by one term of this series, by two terms, by three terms,
and so on. How many terms of this series do you have to use before you first get 3.14?
3.141? 3.1415? 3.14159?</p>
<pre><code>int n = 2;
d... | [
{
"answer_id": 74631709,
"author": "NoDakker",
"author_id": 6032177,
"author_profile": "https://Stackoverflow.com/users/6032177",
"pm_score": -1,
"selected": false,
"text": "pi=(round(pi*100))/100;\n #include <stdio.h>\n#include <stdlib.h>\n#include <math.h>\n\n#define check 3.14100\n#de... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631374",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647681/"
] |
74,631,383 | <p>I want to find the name of the state that shares the longest border with one or more other state? I have two table state, and borders. The table provided are simplified, to only have 5 states</p>
<p>"state"
Code is our key that is unquie for each state</p>
<div class="s-table-container">
<table class="s-... | [
{
"answer_id": 74631722,
"author": "Alex Poole",
"author_id": 266304,
"author_profile": "https://Stackoverflow.com/users/266304",
"pm_score": 2,
"selected": false,
"text": "select *\nfrom borders\nunpivot (code for code_idx in (code1 as 1, code2 as 2)) u\n ...\njoin state s on s.code = u... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631383",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20265307/"
] |
74,631,388 | <p>firstly, thanks for any help in advance, and secondly I'm new to PowerShell, so am playing around with it, and probably off on the wrong track ;)</p>
<p>I have a CSV file that i am reading the contents of, which is all good, and when i read the CSV i get an array.
The CSV file contains something like the following i... | [
{
"answer_id": 74631985,
"author": "jdweng",
"author_id": 5015238,
"author_profile": "https://Stackoverflow.com/users/5015238",
"pm_score": 0,
"selected": false,
"text": "$input = @\"\nName, Value1, Value2\nIT,444,32\nHR,34,21\nIT,31,21\nIT, 31,5\nHR,64,2\n\"@\n\n$table = $input | Conver... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631388",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1176737/"
] |
74,631,445 | <p>I'm looking for something like the ForEach method but it only runs on one element.</p>
<pre><code>// Do something with every element.
SomeList.ForEach(o => DoSomethingWith(o))
// Do something with just the first element, if any, or nothing at all for an empty list.
SomeLine.ForFirst(o => DoSomethingWith(o))
<... | [
{
"answer_id": 74631552,
"author": "Roman Ryzhiy",
"author_id": 7592390,
"author_profile": "https://Stackoverflow.com/users/7592390",
"pm_score": 2,
"selected": true,
"text": "collection.Take(1).ToList().ForEach(o => DoSomethingWith(o));\n"
},
{
"answer_id": 74631736,
"author... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631445",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18832188/"
] |
74,631,450 | <pre><code>import numpy as np
x = np.array([1, -1, 2, 5, 7])
print(sum(x%2==0))
</code></pre>
<p>This is the code, and I can't understand what does ' sum(x%2==0) ' mean.</p>
<p>Does it mean to sum even number?</p>
<p>I'm studying for school test and My professor said output of the above code is 1.
But I can't understa... | [
{
"answer_id": 74631552,
"author": "Roman Ryzhiy",
"author_id": 7592390,
"author_profile": "https://Stackoverflow.com/users/7592390",
"pm_score": 2,
"selected": true,
"text": "collection.Take(1).ToList().ForEach(o => DoSomethingWith(o));\n"
},
{
"answer_id": 74631736,
"author... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631450",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647906/"
] |
74,631,454 | <p>I'm using PrimeNG 14 (and Angular 14). I have a form in which I enter product information, and I would like to associate the product with one or more categories, each of which is displayed as a checkbox.</p>
<pre><code><form [formGroup]="form" (ngSubmit)="submit()">
...
<... | [
{
"answer_id": 74631552,
"author": "Roman Ryzhiy",
"author_id": 7592390,
"author_profile": "https://Stackoverflow.com/users/7592390",
"pm_score": 2,
"selected": true,
"text": "collection.Take(1).ToList().ForEach(o => DoSomethingWith(o));\n"
},
{
"answer_id": 74631736,
"author... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631454",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1235929/"
] |
74,631,480 | <p>I have a text example like</p>
<blockquote>
<p><code>0s11 0s12 0s33 my name is 0sgfh 0s1 0s22 0s87</code></p>
</blockquote>
<p>I want to detect the consecutive sequences that start 0s.</p>
<p>So, the expected output should be <code>0s11 0s12 0s33</code>, <code>0sgfh 0s1 0s22 0s87</code></p>
<p>I tried using regex</p... | [
{
"answer_id": 74634176,
"author": "Koedlt",
"author_id": 15405732,
"author_profile": "https://Stackoverflow.com/users/15405732",
"pm_score": 0,
"selected": false,
"text": "re.findall() import re\ntestString = \"0s11 0s12 0s33 my name is 0sgfh 0s1 0s22 0s87\"\nprint(re.findall('0s\\w', t... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631480",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11794033/"
] |
74,631,482 | <p>I'm hoping someone might be able to point me in the right direction. I've got a fairly simple grid of flex items where the height is set to auto but they have varying widths 33%, 50%, 67%, 100% and wrap to the next row.</p>
<p>This is all good when the items are in the right order. But what I'm trying to achieve is ... | [
{
"answer_id": 74632229,
"author": "David Clarke",
"author_id": 3834455,
"author_profile": "https://Stackoverflow.com/users/3834455",
"pm_score": 1,
"selected": false,
"text": "grid-auto-flow: dense"
}
] | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631482",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3834455/"
] |
74,631,492 | <p>I am trying to do (preferably Stochastic) Gradient Descent to minimize a custom loss function. I tried using scikit learn <code>SGDRegressor</code> class. However, <code>SGDRegressor</code> doesn't seem to allow me to minimize a custom loss function without data, and if I can use custom loss function, I can only use... | [
{
"answer_id": 74631613,
"author": "D P",
"author_id": 20622893,
"author_profile": "https://Stackoverflow.com/users/20622893",
"pm_score": 1,
"selected": false,
"text": "def gradient_descent(gradient, start, learn_rate, n_iter):\n vector = start\n for _ in range(n_iter):\n d... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631492",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10544368/"
] |
74,631,508 | <p>Why does this work:</p>
<pre><code>def hamming_distance(dna_1,dna_2):
hamming_distance = sum(1 for a, b in zip(dna_1, dna_2) if a != b)
return hamming_distance
</code></pre>
<p>As opposed to this:</p>
<pre><code>def hamming_distance(dna_1,dna_2):
hamming_distance = sum(for a, b in zip(dna_1, dna_2) if a ... | [
{
"answer_id": 74631613,
"author": "D P",
"author_id": 20622893,
"author_profile": "https://Stackoverflow.com/users/20622893",
"pm_score": 1,
"selected": false,
"text": "def gradient_descent(gradient, start, learn_rate, n_iter):\n vector = start\n for _ in range(n_iter):\n d... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631508",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647949/"
] |
74,631,513 | <p>I'm trying to convert an array with a dictionary to a flattened dictionary and export it to a JSON file. I have an initial tab-delimited file, and have tried multiple ways but not coming to the final result. If there is more than one row present then save these as arrays in the dictionary</p>
<pre><code>Name ... | [
{
"answer_id": 74631708,
"author": "JayPeerachai",
"author_id": 12135518,
"author_profile": "https://Stackoverflow.com/users/12135518",
"pm_score": 2,
"selected": true,
"text": "list import csv\nimport json \n\n# read file\nd = {}\nwith open('write_object.tmp') as f:\n reader = csv... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631513",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20131595/"
] |
74,631,524 | <p>To use an example, I have 2 columns of data that I need to combine into 1...</p>
<p>This is the data I have:</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>Column A</th>
<th>Column B</th>
</tr>
</thead>
<tbody>
<tr>
<td>Blue</td>
<td>Red</td>
</tr>
<tr>
<td>Yellow</td>
<td>Green</td>
</... | [
{
"answer_id": 74631696,
"author": "doubleunary",
"author_id": 13045193,
"author_profile": "https://Stackoverflow.com/users/13045193",
"pm_score": 1,
"selected": false,
"text": "flatten() =flatten(A1:B) query() =query( { A1:A; B1:B }, \"where Col1 is not null\", 0 ) A A ={ B1:B } B1:B A1... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631524",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10787152/"
] |
74,631,534 | <p>I make a Taboo-like word game using Unity game engine. I want to randomly access blocks in json. For example, load words in second block (Computer, Game, Work ...). Is there any way to access with indexes? Or another way? My json is like this: <br>(Scroll down for solution)</p>
<pre><code>{
"word":"... | [
{
"answer_id": 74631711,
"author": "JimmyV",
"author_id": 3561956,
"author_profile": "https://Stackoverflow.com/users/3561956",
"pm_score": 0,
"selected": false,
"text": "public class TabooGame\n{\n [JsonProperty(\"word\")]\n public string Word { get; set; }\n [JsonProperty(\"ta... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631534",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12539961/"
] |
74,631,541 | <p>I have a requirement to match all <code>array<..></code> in the entire sentence and replace only <code><></code> to <code>[]</code> (replace <> with [] which have prefix array).</p>
<p>I haven't got any clue to resolve this. It will be great if anyone can provide any clue for this issue?</p>
<p><st... | [
{
"answer_id": 74632340,
"author": "MaicolAntali",
"author_id": 20631377,
"author_profile": "https://Stackoverflow.com/users/20631377",
"pm_score": 0,
"selected": false,
"text": ".replace() String replacedStr = text.replace(\"array<object>\", \"array[object]\");\n"
},
{
"answer_i... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631541",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3945679/"
] |
74,631,549 | <p>I need a regex to validate only 0s or 1s in a phone number. For eg - 0000000000 or 1111111111 should be invalid.
Also my phone number range is from 7-15 only. Below is my regex [0-9]{7,15}
it should add validation in the regex to invalidate only 0 and only 1 in the phone number</p>
| [
{
"answer_id": 74632340,
"author": "MaicolAntali",
"author_id": 20631377,
"author_profile": "https://Stackoverflow.com/users/20631377",
"pm_score": 0,
"selected": false,
"text": ".replace() String replacedStr = text.replace(\"array<object>\", \"array[object]\");\n"
},
{
"answer_i... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631549",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20273825/"
] |
74,631,566 | <p>hi i have remove the expanded , now the bold text of child has curly wave , what i did wrong over here.</p>
<p>below is my code i, please advice, thanks</p>
<pre><code> import 'package:flutter/material.dart';
class Introduction extends StatefulWidget {
const Introduction({super.key});
@override
State<In... | [
{
"answer_id": 74632340,
"author": "MaicolAntali",
"author_id": 20631377,
"author_profile": "https://Stackoverflow.com/users/20631377",
"pm_score": 0,
"selected": false,
"text": ".replace() String replacedStr = text.replace(\"array<object>\", \"array[object]\");\n"
},
{
"answer_i... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631566",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20438315/"
] |
74,631,591 | <p>This code creates tabs, but I have issues displaying the content of the tab.</p>
<p>How can I rewrite the JS to be able to pull the tab-content from anywhere of my page?</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snipp... | [
{
"answer_id": 74632340,
"author": "MaicolAntali",
"author_id": 20631377,
"author_profile": "https://Stackoverflow.com/users/20631377",
"pm_score": 0,
"selected": false,
"text": ".replace() String replacedStr = text.replace(\"array<object>\", \"array[object]\");\n"
},
{
"answer_i... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631591",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647925/"
] |
74,631,596 | <p>I have a string in an input that needs to be split into separate values and left in a list.
I am using the following construct to enter values. How can the value <code>-1</code> be noticed on a variable <code>var</code>?</p>
<pre><code>import sys
readline = sys.stdin.readline
var = 10**5
current_line = list(map(int... | [
{
"answer_id": 74632340,
"author": "MaicolAntali",
"author_id": 20631377,
"author_profile": "https://Stackoverflow.com/users/20631377",
"pm_score": 0,
"selected": false,
"text": ".replace() String replacedStr = text.replace(\"array<object>\", \"array[object]\");\n"
},
{
"answer_i... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631596",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20133865/"
] |
74,631,662 | <p>What is the best way to protect (enhance security) the publically accessible brokers?</p>
<p>There are only a few posts and docs from AWS that talk about Authentication, Encryption and Auth, but there's very little information regarding combining things like WAF to shield the brokers from internet attacks.</p>
| [
{
"answer_id": 74632340,
"author": "MaicolAntali",
"author_id": 20631377,
"author_profile": "https://Stackoverflow.com/users/20631377",
"pm_score": 0,
"selected": false,
"text": ".replace() String replacedStr = text.replace(\"array<object>\", \"array[object]\");\n"
},
{
"answer_i... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631662",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17479642/"
] |
74,631,683 | <p>I'm building a small e-commerce store with an admin panel for myself.
I use <code>Firebase firestore</code> as my backend to store all the user's data.<br />
I have a root 'users' collection with a document for every single registered user and everything else each user has is branching out of the user doc.</p>
<p>He... | [
{
"answer_id": 74632828,
"author": "Dony",
"author_id": 13343311,
"author_profile": "https://Stackoverflow.com/users/13343311",
"pm_score": 2,
"selected": true,
"text": "async getUserId() {\n const user = firebase.auth().currentUser;\n return user ? user.uid : null;\n}\n\nconst userId ... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631683",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12868956/"
] |
74,631,702 | <p>I don't have any Ubuntu machines enabled with internet and I have requirement to have a docker image ready with some basic softwares enabled as this need to be configured as our Azuredevops build agent.</p>
<p>So in order to work my Dockerfile , I used one of aksnode itself to build my docker image as there I could ... | [
{
"answer_id": 74632828,
"author": "Dony",
"author_id": 13343311,
"author_profile": "https://Stackoverflow.com/users/13343311",
"pm_score": 2,
"selected": true,
"text": "async getUserId() {\n const user = firebase.auth().currentUser;\n return user ? user.uid : null;\n}\n\nconst userId ... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631702",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16092023/"
] |
74,631,728 | <p>I want to parallely send a GET request for the specified count say 100 times. How to achieve this using JMeter or Python ?</p>
<p>I tried bzm parallel executor but that doesn't workout.</p>
| [
{
"answer_id": 74631854,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "import requests\nimport threading\n\ntotalRequests = 0\nnumberOfThreads = 10\nthreads = [0] * numberOfThreads\n\n\ndef worke... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631728",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11341832/"
] |
74,631,739 | <p>So this is the menu, but I want the circled three buttons to be on the right side...How can I do this?
I am using Angular material.</p>
<p><a href="https://i.stack.imgur.com/KxY6r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KxY6r.png" alt="menu" /></a></p>
| [
{
"answer_id": 74632160,
"author": "Dargio",
"author_id": 11564060,
"author_profile": "https://Stackoverflow.com/users/11564060",
"pm_score": 2,
"selected": true,
"text": "<mat-toolbar-row>\n <span>Second Line</span>\n <span class=\"example-spacer\"></span>\n <mat-icon class=\"example... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631739",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17384995/"
] |
74,631,748 | <p>I have a field in a table of our db that works like an event-like payload, where all changes to different entities are gathered. See example below for a single field of the object:</p>
<pre><code>'---\nfield_one: 1\nfield_two: 20\nfield_three: 4\nid: 1234\nanother_id: 5678\nsome_text: Hey you\na_date: 2022-11-29\nut... | [
{
"answer_id": 74637630,
"author": "Felipe Hoffa",
"author_id": 132438,
"author_profile": "https://Stackoverflow.com/users/132438",
"pm_score": 2,
"selected": true,
"text": "regexp_replace() with data as (\n select '---\\nfield_one: 1\\nfield_two: 20\\nfield_three: 4\\nid: 1234\\nanot... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631748",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11532919/"
] |
74,631,749 | <p>Let's say I have some sql that is going to return a result set that looks like this:</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>ID</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>A1</td>
<td>Val1</td>
</tr>
<tr>
<td>A1</td>
<td>Val2</td>
</tr>
<tr>
<td>A1</td>
<td>Val3</td>
</tr... | [
{
"answer_id": 74637630,
"author": "Felipe Hoffa",
"author_id": 132438,
"author_profile": "https://Stackoverflow.com/users/132438",
"pm_score": 2,
"selected": true,
"text": "regexp_replace() with data as (\n select '---\\nfield_one: 1\\nfield_two: 20\\nfield_three: 4\\nid: 1234\\nanot... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631749",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/135624/"
] |
74,631,751 | <p>I am currently running python 3.6 on my Mac, and installed the latest version of Python (3.11) by downloading and installing through the <a href="https://www.python.org/downloads/release/python-3110/" rel="nofollow noreferrer">official python releases</a>. Running <code>python3.11</code> opens the interpreter in 3.... | [
{
"answer_id": 74637630,
"author": "Felipe Hoffa",
"author_id": 132438,
"author_profile": "https://Stackoverflow.com/users/132438",
"pm_score": 2,
"selected": true,
"text": "regexp_replace() with data as (\n select '---\\nfield_one: 1\\nfield_two: 20\\nfield_three: 4\\nid: 1234\\nanot... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631751",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6069097/"
] |
74,631,789 | <p>Given this data how can give rank for each repeating data. 1 to 5 i want to rank as 1 and next 1 to 5 i want to rank as 2</p>
<p>Data</p>
<pre><code>1
2
3
4
5
1
2
3
4
5
</code></pre>
<p>Expecting output</p>
<p>Data | Column</p>
<pre><code>1 1
2 1
3 1
4 1
5 1
1 2
2 2
3 2
4 2
5 ... | [
{
"answer_id": 74631867,
"author": "Patrick Hurst",
"author_id": 18522514,
"author_profile": "https://Stackoverflow.com/users/18522514",
"pm_score": 0,
"selected": false,
"text": "DECLARE @ints TABLE (INT INT)\nINSERT INTO @ints (INT) VALUES\n(1), (2), (3), (4), (5),\n(1), (2), (3), (4),... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631789",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9510880/"
] |
74,631,799 | <p>I want to integrate a ASP.NET Core WebApi into a solution which consists of many other projects.
(I use dotnet 6.0)
Within the solution the WebAPI is started as Thread by the Main project. The problem is that if I run the WebApi from the other project only an empty WebApi is started. (Default Ports are used, not the... | [
{
"answer_id": 74631867,
"author": "Patrick Hurst",
"author_id": 18522514,
"author_profile": "https://Stackoverflow.com/users/18522514",
"pm_score": 0,
"selected": false,
"text": "DECLARE @ints TABLE (INT INT)\nINSERT INTO @ints (INT) VALUES\n(1), (2), (3), (4), (5),\n(1), (2), (3), (4),... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631799",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12453461/"
] |
74,631,808 | <p>When opening my webpage none of the Ajax content loads until one of the links is clicked then displaying the content connected to that link.</p>
<p>This is where the content is loaded into the main webpage at ext-content:</p>
<pre class="lang-html prettyprint-override"><code><main>
<article class="... | [
{
"answer_id": 74631847,
"author": "dbonev",
"author_id": 4200334,
"author_profile": "https://Stackoverflow.com/users/4200334",
"pm_score": 0,
"selected": false,
"text": "$('section li').load(function() {\n $.ajax({\n type: 'GET',\n url: 'includes/ext-content/cpu-shop.html',... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631808",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20637346/"
] |
74,631,829 | <p>I have two tables. Need to list the Name field randomly in the User col in tbl 2 using Big query SQL. Can someone help me please?</p>
<p>Table 1</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th style="text-align: left;">Id</th>
<th style="text-align: left;">Name</th>
</tr>
</thead>
<tbody... | [
{
"answer_id": 74631847,
"author": "dbonev",
"author_id": 4200334,
"author_profile": "https://Stackoverflow.com/users/4200334",
"pm_score": 0,
"selected": false,
"text": "$('section li').load(function() {\n $.ajax({\n type: 'GET',\n url: 'includes/ext-content/cpu-shop.html',... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631829",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3634428/"
] |
74,631,839 | <p>At the end of the day, in my Google Sheet I'm trying to filter a large data set by multiple criteria and sum a certain column. I have a mostly working formula but I'm running into a problem.</p>
<p>Here is an example that works:</p>
<pre><code>=sum(INDEX(FILTER('Invoice Data'!H3:P,
'Invoice Data'!N3:N>=DATE(2022... | [
{
"answer_id": 74631847,
"author": "dbonev",
"author_id": 4200334,
"author_profile": "https://Stackoverflow.com/users/4200334",
"pm_score": 0,
"selected": false,
"text": "$('section li').load(function() {\n $.ajax({\n type: 'GET',\n url: 'includes/ext-content/cpu-shop.html',... | 2022/11/30 | [
"https://Stackoverflow.com/questions/74631839",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20647871/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.