qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
74,472,892
<p>I have a script that fetches weather api then should output the data into a file, my problem is that in the last loop it outputs the results into a file that has the variable value instead of the name. Is there a way to use the variable name instead?</p> <pre><code>#city tromso=&quot;lat=69.6492&amp;lon=18.9553&quot...
[ { "answer_id": 74473042, "author": "Prafull Ladha", "author_id": 6843187, "author_profile": "https://Stackoverflow.com/users/6843187", "pm_score": 1, "selected": false, "text": "kubectl delete pod $(kubectl get pod | grep apisix | awk '{print $1}')\n" }, { "answer_id": 74473187, ...
2022/11/17
[ "https://Stackoverflow.com/questions/74472892", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20400773/" ]
74,472,942
<p>I am using MutableStateFlow in my jetpack compose. Like below</p> <pre><code>val isBluetoothEnabled = MutableStateFlow(false) </code></pre> <p>whenever I tried to use the value of variable like this <code>.value</code> i.e. <code>isBluetoothEnabled.value</code>. So I am trying to use delegate property to avoid using...
[ { "answer_id": 74473042, "author": "Prafull Ladha", "author_id": 6843187, "author_profile": "https://Stackoverflow.com/users/6843187", "pm_score": 1, "selected": false, "text": "kubectl delete pod $(kubectl get pod | grep apisix | awk '{print $1}')\n" }, { "answer_id": 74473187, ...
2022/11/17
[ "https://Stackoverflow.com/questions/74472942", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11560810/" ]
74,472,967
<p>I'm trying to get the parent of some deeply nested element like below</p> <pre><code>&lt;div class='content id='cart-content'&gt; &lt;div class='child1'&gt; &lt;div class='child1-1'&gt; &lt;div class='child1-1-1'&gt; &lt;input type=&quot;checkbox&quot; ...
[ { "answer_id": 74474334, "author": "gustavo catala sverdrup", "author_id": 15339988, "author_profile": "https://Stackoverflow.com/users/15339988", "pm_score": 0, "selected": false, "text": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"vi...
2022/11/17
[ "https://Stackoverflow.com/questions/74472967", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1977250/" ]
74,473,008
<p>To make a concept checking if a type can be converted without narrowing to another, it is proposed <a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p0870r4.html" rel="nofollow noreferrer">here</a> to make it using std::forward and std::type_identity_t like this:</p> <pre><code>template&lt;class T, c...
[ { "answer_id": 74473145, "author": "Oleh Kostiv", "author_id": 9334760, "author_profile": "https://Stackoverflow.com/users/9334760", "pm_score": 0, "selected": false, "text": "(U u) (U& u) (U&& u) std::forward (U u) (U u)" }, { "answer_id": 74474292, "author": "user17732522",...
2022/11/17
[ "https://Stackoverflow.com/questions/74473008", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10570107/" ]
74,473,023
<p>I'd like images to scale to appropriately fit the screen size. I've tried a few of the expected things, but they've all scaled based on width, and I need something that can scale based on height.</p> <p>If I use max-width, it works as planned. While if I use max-height, it doesn't seem to do anything.</p> <p><div cl...
[ { "answer_id": 74473145, "author": "Oleh Kostiv", "author_id": 9334760, "author_profile": "https://Stackoverflow.com/users/9334760", "pm_score": 0, "selected": false, "text": "(U u) (U& u) (U&& u) std::forward (U u) (U u)" }, { "answer_id": 74474292, "author": "user17732522",...
2022/11/17
[ "https://Stackoverflow.com/questions/74473023", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20528324/" ]
74,473,037
<p>I need to create a button to change my li's to black.</p> <p>html</p> <pre><code> &lt;h2&gt;Sonnenfarben&lt;/h2&gt; &lt;div class=&quot;box&quot;&gt; &lt;ul type=&quot;circle&quot; class=&quot;liste2&quot;&gt; &lt;li class=&quot;farbeRot&quot;&gt;rot&lt;/li&gt; &lt;li class=&quot;farbeOrange&...
[ { "answer_id": 74473100, "author": "flyingfox", "author_id": 3176419, "author_profile": "https://Stackoverflow.com/users/3176419", "pm_score": 2, "selected": false, "text": ".box black .box{\n color: red;\n}\n function changeColor(){\n let lis = document.querySelectorAll('.liste2 > li,...
2022/11/17
[ "https://Stackoverflow.com/questions/74473037", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20524007/" ]
74,473,043
<p>I am working on an application where I bind the list of data into DOM using Vue.js. But it is not working I have used v-for, v-list, and v-repeat but don't get it working. Here is my code both for the template and the script.</p> <pre><code> &lt;div class=&quot;weather-info&quot; v-if=&quot;weather!=undefined&quot;&...
[ { "answer_id": 74473100, "author": "flyingfox", "author_id": 3176419, "author_profile": "https://Stackoverflow.com/users/3176419", "pm_score": 2, "selected": false, "text": ".box black .box{\n color: red;\n}\n function changeColor(){\n let lis = document.querySelectorAll('.liste2 > li,...
2022/11/17
[ "https://Stackoverflow.com/questions/74473043", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4963996/" ]
74,473,044
<p>I Have a data frame of several water quality measures. For each measure I have a calculated mean and SD. I have a value for 6 sites and 4 seasons. Currently my dataframe has the means in a column for examples 'Temp_1' and then a column for the standard deviation as 'Temp_2'. I want to export the file with one column...
[ { "answer_id": 74473123, "author": "Aron Strandberg", "author_id": 4885169, "author_profile": "https://Stackoverflow.com/users/4885169", "pm_score": 0, "selected": false, "text": "df$Temp <- paste0(df$Temp_1, ' (', df$Temp_2, ')')\n df[, c('season', 'Site', 'Temp')]\n" }, { "answ...
2022/11/17
[ "https://Stackoverflow.com/questions/74473044", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18143306/" ]
74,473,055
<p>Say I have the following structure:</p> <pre class="lang-html prettyprint-override"><code>&lt;p&gt;lorem ipsum&lt;/p&gt; &lt;span&gt;dolor&lt;/span&gt; &lt;p&gt;sit amen&lt;/p&gt; </code></pre> <p>What is the best way to programmatically get the following in JS?</p> <pre class="lang-html prettyprint-override"><code>...
[ { "answer_id": 74473322, "author": "Mina", "author_id": 11887902, "author_profile": "https://Stackoverflow.com/users/11887902", "pm_score": 1, "selected": false, "text": "tag textContent const container = document.querySelector('.container')\nconst [first, ...rest] = container.children;\...
2022/11/17
[ "https://Stackoverflow.com/questions/74473055", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10503039/" ]
74,473,056
<p>Android project Code base is full java and dagger 2 is implemented in java as well. I am integrating kotlin in the code and each time I rebuild, Dagger gives errors. (Added below)</p> <h1>code:</h1> <p><strong>build.gradle (project)</strong></p> <pre><code>buildscript { ext { kotlin_version = &quot;1.7.1...
[ { "answer_id": 74473322, "author": "Mina", "author_id": 11887902, "author_profile": "https://Stackoverflow.com/users/11887902", "pm_score": 1, "selected": false, "text": "tag textContent const container = document.querySelector('.container')\nconst [first, ...rest] = container.children;\...
2022/11/17
[ "https://Stackoverflow.com/questions/74473056", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10076942/" ]
74,473,133
<p>I'm trying to solve this problem since some days now but it seems I have reached a dead end. Maybe someone would be able to help me.</p> <p>I have two sheets. The first one contains the list of my clients and their delivery number depending of the weekday.</p> <p><img src="https://i.stack.imgur.com/VYQ5A.png" alt="C...
[ { "answer_id": 74473335, "author": "Martín", "author_id": 20363318, "author_profile": "https://Stackoverflow.com/users/20363318", "pm_score": 1, "selected": false, "text": "=INDEX(Sheet1!$1:$1000,MATCH(A2,Sheet1!$A:$A,0),MATCH(B2,Sheet1!$1:$1,0))\n =byrow(A2:A,lambda(each,if(each=\"\",\"...
2022/11/17
[ "https://Stackoverflow.com/questions/74473133", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16378556/" ]
74,473,141
<p>I have a dataset of this type:</p> <pre><code> id 1 2 3 4 5 A 10 40 80 12 50 B 20 60 70 77 60 C 30 15 50 20 60 C 30 15 20 45 43 B 50 100 70 77 32 C 30 15 ...
[ { "answer_id": 74473324, "author": "Panda Kim", "author_id": 20430449, "author_profile": "https://Stackoverflow.com/users/20430449", "pm_score": 3, "selected": true, "text": "(df.melt('id')\n .groupby(['id', 'variable'])\n .agg(lambda x: x.max() if x.max() == x.min() else None)\n .unstac...
2022/11/17
[ "https://Stackoverflow.com/questions/74473141", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18134832/" ]
74,473,159
<p>I made a JavaScript quote generator but wanted to add something to it. So I decided to figure out how to swap male verbiage for female. The API is an array with 1.5k quotes as objects. As a new coder how would you approach this problem? full project is here <a href="https://keller-johnson.github.io/quote-generator/"...
[ { "answer_id": 74473290, "author": "Jankapunkt", "author_id": 3098783, "author_profile": "https://Stackoverflow.com/users/3098783", "pm_score": 2, "selected": false, "text": "const mapping = {\n 'he': 'she',\n ...\n 'himself.': 'herself.'\n}\n let newArrayQuote = quoteArray.map((word)...
2022/11/17
[ "https://Stackoverflow.com/questions/74473159", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19609236/" ]
74,473,165
<p>I'm using Oracle SQL-developer and I got the following output-table, which shows the monthly sales value of our customers. The customers have several locations.</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>month</th> <th>year</th> <th>customer_name</th> <th>sales_volume</th> </tr> </t...
[ { "answer_id": 74473290, "author": "Jankapunkt", "author_id": 3098783, "author_profile": "https://Stackoverflow.com/users/3098783", "pm_score": 2, "selected": false, "text": "const mapping = {\n 'he': 'she',\n ...\n 'himself.': 'herself.'\n}\n let newArrayQuote = quoteArray.map((word)...
2022/11/17
[ "https://Stackoverflow.com/questions/74473165", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20410882/" ]
74,473,190
<p>In some occasions, specially when copy-pasting, we end up having some text fields with a character 0 (nul) at the end of a string.</p> <p>It doesn't show in any way when you display the data, but you do detect it when you export it.</p> <p><a href="https://i.stack.imgur.com/QpkbA.png" rel="nofollow noreferrer"><img ...
[ { "answer_id": 74473767, "author": "michael.hor257k", "author_id": 3016153, "author_profile": "https://Stackoverflow.com/users/3016153", "pm_score": 2, "selected": false, "text": "Char(0) null HexDecode ( \"00\" ) Base64Decode ( \"AA==\" ) ExecuteSQL ( \"SELECT DISTINCT CHR(0) FROM SomeT...
2022/11/17
[ "https://Stackoverflow.com/questions/74473190", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3719667/" ]
74,473,195
<p>I want to have <code>ListTile</code> widget that sometimes has <code>title</code> as null, e.g.:</p> <pre><code>ListTile( title: item.title.isNotEmpty ? Text( item.title, maxLines: 1, ) : null, subtitle: Text( task.text, maxLines: 3, overflow: TextOverflow.fade...
[ { "answer_id": 74473404, "author": "Gringo", "author_id": 20528563, "author_profile": "https://Stackoverflow.com/users/20528563", "pm_score": -1, "selected": false, "text": "ListTile(\n title: item.title.isNotEmpty\n ? Text(\n item.title,\n maxLines: 1,\n )\n : ...
2022/11/17
[ "https://Stackoverflow.com/questions/74473195", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1448545/" ]
74,473,236
<p><a href="https://i.stack.imgur.com/MKFYV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MKFYV.png" alt="enter image description here" /></a></p> <p>Tried float:right but the image will only show half...<br /> What I want is to move <strong>123</strong> move to the red circle</p> <p><div class="sn...
[ { "answer_id": 74473358, "author": "MAYUR SANCHETI", "author_id": 12238257, "author_profile": "https://Stackoverflow.com/users/12238257", "pm_score": 0, "selected": false, "text": "#ImgControl{\nwidth: 25px;\nheight: 25px;\nbackground-color: #ffd7c2;\nposition: absolute;\ntop: 11px;\nrig...
2022/11/17
[ "https://Stackoverflow.com/questions/74473236", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20181506/" ]
74,473,263
<p>I created the following snippet:</p> <pre><code>snippet setttwd setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) </code></pre> <p><a href="https://i.stack.imgur.com/moFhS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/moFhS.png" alt="enter image description here" /></a></p> <p>But ...
[ { "answer_id": 74475934, "author": "Julien", "author_id": 8806649, "author_profile": "https://Stackoverflow.com/users/8806649", "pm_score": 0, "selected": false, "text": "$ \\$ snippet setttwd\n setwd(dirname(rstudioapi::getActiveDocumentContext()\\$path))\n" } ]
2022/11/17
[ "https://Stackoverflow.com/questions/74473263", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8806649/" ]
74,473,269
<p>`Good day, colleagues!</p> <p>I cannot find a way to get Response and/or custom Response Header in Angular.</p> <p>Angular is embedded into JSP page. Angular sends post request to Spring Boot app with multi part file. If the size of the file exceeds 10 MB Spring Boot app throws MaxFileSizeExceededException, which is...
[ { "answer_id": 74475934, "author": "Julien", "author_id": 8806649, "author_profile": "https://Stackoverflow.com/users/8806649", "pm_score": 0, "selected": false, "text": "$ \\$ snippet setttwd\n setwd(dirname(rstudioapi::getActiveDocumentContext()\\$path))\n" } ]
2022/11/17
[ "https://Stackoverflow.com/questions/74473269", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12436979/" ]
74,473,327
<p>I'm trying to get all posts that has at least 2 comments in the last 48 hours. I'm using the following code:</p> <pre><code> $posts= Post::has( 'comments', '&gt;', 1 )-&gt;whereHas( 'comments', function( $comments ) { return $comments-&gt;where( 'created_at', '&gt;', Carbon::now()-&gt;subDays(2) ); })...
[ { "answer_id": 74528877, "author": "xenooooo", "author_id": 20283630, "author_profile": "https://Stackoverflow.com/users/20283630", "pm_score": 4, "selected": true, "text": "has() whereHas() whereHas() $posts = Post::whereHas('comments', function($query) {\n $query->where('created_at'...
2022/11/17
[ "https://Stackoverflow.com/questions/74473327", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5844795/" ]
74,473,372
<p>I have a file like this:</p> <pre><code>reference 25038 A G 39134 1 TPPH54 TPPH49 TPPH50 TPPHL51 TPPH52 TPPH53 TPPH55 p.Thr10198Thr reference 77940 T C 5131 1 TPPH54 TPPH49 p.Asn898Asp reference 77940 T C 5131 1 TPPH29 TPPH30 TPPH32 p.Gly48Gly </code></pre> <p>and I w...
[ { "answer_id": 74473441, "author": "RavinderSingh13", "author_id": 5866580, "author_profile": "https://Stackoverflow.com/users/5866580", "pm_score": 2, "selected": false, "text": "awk awk match awk awk '\nmatch($0,/^(\\S+\\s+\\S+\\s+\\S+\\s+\\S+\\s+\\S+\\s+\\S+\\s+\\S+).*\\s+(\\S+)/,arr)...
2022/11/17
[ "https://Stackoverflow.com/questions/74473372", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8830342/" ]
74,473,377
<p>I currently have two files: <code>anotherFile</code> and <code>myFile</code>, which is being merged together to a <code>result</code> file, which is sorted. All this is 3 steps, however I want to be able to make it to a so called &quot;one-liner&quot;</p> <p>Currently</p> <pre class="lang-bash prettyprint-override">...
[ { "answer_id": 74473409, "author": "Thomas", "author_id": 14637, "author_profile": "https://Stackoverflow.com/users/14637", "pm_score": 3, "selected": true, "text": "{} sort {\n ./anotherFileScript\n cut -f 1,2 ./myFile\n} | sort > finalFile\n { ./anotherFileScript; cut -f 1,2 ./myFile...
2022/11/17
[ "https://Stackoverflow.com/questions/74473377", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17487397/" ]
74,473,382
<p>i saw this expression in one of the Pipeine , in the filter activity condition. can anyone help me understad this expresson used( you can refrase inorder to make it understandable). looks difficult to understand.</p> <pre><code>@if(equals(pipeline().parameters.FileName,'default'),endswith(toUpper(item().name),'.PDF'...
[ { "answer_id": 74473740, "author": "ibda", "author_id": 7981885, "author_profile": "https://Stackoverflow.com/users/7981885", "pm_score": 0, "selected": false, "text": "\nif(pipeline().parameters.FileName == 'default')\n{\n // if the name of item ends with .pdf then return true, else ...
2022/11/17
[ "https://Stackoverflow.com/questions/74473382", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17852467/" ]
74,473,447
<p>for your understanding i attached w3school screenshot. <a href="https://i.stack.imgur.com/Ecim3.png" rel="nofollow noreferrer">enter image description here</a></p> <p>if u have ever visited w3school website u will understand my requirement easily. i want to create these html sidebar dynamic from my admin dashboard. ...
[ { "answer_id": 74473740, "author": "ibda", "author_id": 7981885, "author_profile": "https://Stackoverflow.com/users/7981885", "pm_score": 0, "selected": false, "text": "\nif(pipeline().parameters.FileName == 'default')\n{\n // if the name of item ends with .pdf then return true, else ...
2022/11/17
[ "https://Stackoverflow.com/questions/74473447", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20528717/" ]
74,473,452
<p>I want to have an edit mode to each field in a div that is mapped out from an array that I fetch from firbase. I succeeded doing that by conditioning the rendered field to the value of a boolean (editField) which I then manipulate using useState, like so:</p> <p><a href="https://i.stack.imgur.com/bZOrj.png" rel="nof...
[ { "answer_id": 74473740, "author": "ibda", "author_id": 7981885, "author_profile": "https://Stackoverflow.com/users/7981885", "pm_score": 0, "selected": false, "text": "\nif(pipeline().parameters.FileName == 'default')\n{\n // if the name of item ends with .pdf then return true, else ...
2022/11/17
[ "https://Stackoverflow.com/questions/74473452", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19676780/" ]
74,473,461
<pre><code>class Solution { List&lt;List&lt;int&gt;&gt; ans = new List&lt;List&lt;int&gt;&gt;(); public List&lt;List&lt;int&gt;&gt; subsets(List&lt;int&gt; A) { var currList = new List&lt;int&gt;(); A.Sort(); GenerateSubSets(A, 0, currList); ans.Sort(new ListComparer()); ...
[ { "answer_id": 74473986, "author": "jdweng", "author_id": 5015238, "author_profile": "https://Stackoverflow.com/users/5015238", "pm_score": 0, "selected": false, "text": " public class ListComparer : IComparer<List<int>>\n {\n public int Compare(List<int> list1, List<int> list2...
2022/11/17
[ "https://Stackoverflow.com/questions/74473461", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8143322/" ]
74,473,463
<p>I have multiple elements that are seperatet in two divs. The first div contains a Text and the second div a color. When I click on one element the text and color should change and if I click it again it should change back. The problem is that no matter which one I click, its always the last one which changes.</p> <p...
[ { "answer_id": 74473605, "author": "Abbas Shaikh", "author_id": 12667283, "author_profile": "https://Stackoverflow.com/users/12667283", "pm_score": -1, "selected": false, "text": "let box1 = document.querySelectorAll(\".box1\");\nlet box2 = document.querySelectorAll(\".box2\");\n\nbox1...
2022/11/17
[ "https://Stackoverflow.com/questions/74473463", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11287137/" ]
74,473,490
<p>Im trying to Make a login from an angular Frontend to an ASP.net API backend, But when I try to give the data model with the email and password within the request it doesnt reach the backend while the naming is exactly the same.</p> <p>Here is my Endpoint in ASP:</p> <pre><code>[Route(&quot;/[controller]/Login&quot;...
[ { "answer_id": 74473605, "author": "Abbas Shaikh", "author_id": 12667283, "author_profile": "https://Stackoverflow.com/users/12667283", "pm_score": -1, "selected": false, "text": "let box1 = document.querySelectorAll(\".box1\");\nlet box2 = document.querySelectorAll(\".box2\");\n\nbox1...
2022/11/17
[ "https://Stackoverflow.com/questions/74473490", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15409620/" ]
74,473,509
<p>I want to create a program that gives you the position of the string in a list.</p> <pre><code>a = [1,3,4,5,6,7,8,9,2,&quot;rick&quot;,56,&quot;open&quot;] </code></pre>
[ { "answer_id": 74473551, "author": "Adam Jaamour", "author_id": 5609328, "author_profile": "https://Stackoverflow.com/users/5609328", "pm_score": 1, "selected": false, "text": "index() a=[1,3,4,5,6,7,8,9,2,\"rick\",56,\"open\"]\nprint(a.index(7))\nprint(a.index(\"rick\"))\n 5\n9\n 5" }...
2022/11/17
[ "https://Stackoverflow.com/questions/74473509", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20410960/" ]
74,473,588
<p>prompt - c++</p> <p>Write a program that removes all spaces from the given input.</p> <p>Ex: If the input is: &quot;Hello my name is John.&quot; the output is:</p> <p>HellomynameisJohn. Your program must define and call the following function. The function should return a string representing the input string without...
[ { "answer_id": 74473718, "author": "john", "author_id": 882003, "author_profile": "https://Stackoverflow.com/users/882003", "pm_score": 3, "selected": true, "text": "void RemoveSpaces ( string &userString )\n{\n string temp;\n for (size_t i = 0 ; i < userString.size() ; i ++ )\n {\...
2022/11/17
[ "https://Stackoverflow.com/questions/74473588", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20528802/" ]
74,473,596
<p>This should be easy, but I am struggling with type managing trying to send a list as property to a component. Specifically, I am creating the following component:</p> <pre><code>const [list, setList] = useState&lt;Array&lt;ToastProps&gt;&gt;([]); ... &lt;Toast toastlist={list}&gt;&lt;/Toast&gt; </code></pre> <p>This...
[ { "answer_id": 74473626, "author": "Sachila Ranawaka", "author_id": 6428638, "author_profile": "https://Stackoverflow.com/users/6428638", "pm_score": 3, "selected": true, "text": "export default function Toast({toastlist}: {toastlist:ToastProps[]}) {\n return (\n <div>\n {toastli...
2022/11/17
[ "https://Stackoverflow.com/questions/74473596", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14729041/" ]
74,473,615
<p>I want to make my design more responsive. But whenever I make those background circles, it stops being responsive, and the image of the person and the yellow circle stop sticking to the center. Any tips on how I can do it better and more efficiently?</p> <p>I'm having difficulties making it responsive cause all the ...
[ { "answer_id": 74473626, "author": "Sachila Ranawaka", "author_id": 6428638, "author_profile": "https://Stackoverflow.com/users/6428638", "pm_score": 3, "selected": true, "text": "export default function Toast({toastlist}: {toastlist:ToastProps[]}) {\n return (\n <div>\n {toastli...
2022/11/17
[ "https://Stackoverflow.com/questions/74473615", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16006373/" ]
74,473,632
<p>I want to calculate the bounding rect of a shape after I scale or rotate it.</p> <p>First of all, I want to get the width and height.</p> <p><a href="https://i.stack.imgur.com/axISa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/axISa.png" alt="enter image description here" /></a></p> <p><div cla...
[ { "answer_id": 74476952, "author": "Kaiido", "author_id": 3702797, "author_profile": "https://Stackoverflow.com/users/3702797", "pm_score": 1, "selected": false, "text": "Path2D Path2D ellipse roundRect() new Path2D(\"[the whole SVG syntax]\") path.addPath(path2, matrix) Path2D getBBox()...
2022/11/17
[ "https://Stackoverflow.com/questions/74473632", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18642505/" ]
74,473,698
<p>i have a data frame with dates and values :</p> <pre><code> n = 1000 date = seq(as.Date(&quot;2022/1/1&quot;), by = &quot;day&quot;, length.out = n) value = rnorm(n,0,1) df = tibble(date,value);df </code></pre> <p>how can i ggplot this data frame and to plot in the geom_line or geom_point two arrows pointing the m...
[ { "answer_id": 74474031, "author": "Tech Commodities", "author_id": 9541415, "author_profile": "https://Stackoverflow.com/users/9541415", "pm_score": 2, "selected": true, "text": "geom_segment() ggplot() max_df <- tibble(y = max(df$value), \n yend = y, \n x = df...
2022/11/17
[ "https://Stackoverflow.com/questions/74473698", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16346449/" ]
74,473,702
<pre><code>protected void DropDownMainProduct_SelectedIndexChanged(object sender, EventArgs e) { string mainProductCode = DropDownMainProduct.SelectedValue; if (mainProductCode == &quot;0&quot;) { DropDownSubProduct.SelectedValue = &quot;0&quot;; DropDownSubProduct.Attributes.Add(&quot;disa...
[ { "answer_id": 74478058, "author": "Albert D. Kallal", "author_id": 10527, "author_profile": "https://Stackoverflow.com/users/10527", "pm_score": 1, "selected": false, "text": " protected void DropDownMainProduct_SelectedIndexChanged(object sender, EventArgs e)\n {\n MyCode....
2022/11/17
[ "https://Stackoverflow.com/questions/74473702", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20507126/" ]
74,473,739
<p>Suppose i have following id</p> <pre><code>74876593476 74877777777 74884784633 74822228765 74878645421 74820201111 </code></pre> <p>i want to ignore any number contain more than 3 repeated numbers respectively, then the expected result is:</p> <pre><code>74876593476 74884784633 74878645421 74876593476 </code></pre>
[ { "answer_id": 74473890, "author": "Ronak Shah", "author_id": 3962914, "author_profile": "https://Stackoverflow.com/users/3962914", "pm_score": 2, "selected": false, "text": "grep x <- c(74876593476, 74877777777, 74884784633, 74822228765, 74878645421, 74820201111)\n\ngrep('(\\\\d)\\\\1\\...
2022/11/17
[ "https://Stackoverflow.com/questions/74473739", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12121095/" ]
74,473,747
<p>It is actually working in my purpose for example like it has to be show my Minutes in screen. However when I executed the code console show up always error. I really want to know why they showed me Error and really want to fix it.</p> <p>So my code is basically like this:</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;ht...
[ { "answer_id": 74473880, "author": "Ankit", "author_id": 19757319, "author_profile": "https://Stackoverflow.com/users/19757319", "pm_score": 1, "selected": false, "text": "0 const [minutes, setMinutes] = React.useState(0);" } ]
2022/11/17
[ "https://Stackoverflow.com/questions/74473747", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17384919/" ]
74,473,765
<p>I'm trying to scrape the webpage ted.europa.eu using Python with Selenium to retrieve information from the tenders. The script is supposed to be executed once a day with the new publications. The problem I have is that navigating to the new tenders I need Selenium to apply a filter to get only the ones from the same...
[ { "answer_id": 74473880, "author": "Ankit", "author_id": 19757319, "author_profile": "https://Stackoverflow.com/users/19757319", "pm_score": 1, "selected": false, "text": "0 const [minutes, setMinutes] = React.useState(0);" } ]
2022/11/17
[ "https://Stackoverflow.com/questions/74473765", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20477176/" ]
74,473,795
<p>I want to loop over this array of objects to render them in a component in react, why the mapping is not working?</p> <p>fruits:[{&quot;value&quot;:&quot;Apple&quot;,&quot;status&quot;:&quot;Green&quot;},{&quot;value&quot;:&quot;Orange &quot;,&quot;status&quot;:&quot;Yellow&quot;},{&quot;value&quot;:&quot;Banana&quo...
[ { "answer_id": 74473857, "author": "Shawn", "author_id": 14361465, "author_profile": "https://Stackoverflow.com/users/14361465", "pm_score": 1, "selected": false, "text": "export interface FruitsStatus { \n fruits: Record<string, string>[];\n}\nconst Fruits: (props: FruitsStatus) => JSX...
2022/11/17
[ "https://Stackoverflow.com/questions/74473795", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18892774/" ]
74,473,811
<p>I’ve got a very simple scenario. I have an api response that simply returns an array of strings.</p> <pre><code>[‘test’,’test2’,’test3’] </code></pre> <p>I need to deserialise into an object to integrate with some current code.</p> <p>I’ve tried using a straight class with a single property of type List but no dice....
[ { "answer_id": 74473857, "author": "Shawn", "author_id": 14361465, "author_profile": "https://Stackoverflow.com/users/14361465", "pm_score": 1, "selected": false, "text": "export interface FruitsStatus { \n fruits: Record<string, string>[];\n}\nconst Fruits: (props: FruitsStatus) => JSX...
2022/11/17
[ "https://Stackoverflow.com/questions/74473811", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2951437/" ]
74,473,820
<p>I am new to MySQL and learning about trigger. I have 2 tables that I want : when a table (detail_transaction) has been inserted, a 'stock' field of another table (item) change.</p> <ul> <li>'item' Table</li> </ul> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>id</th> <th>name</th> <th>pric...
[ { "answer_id": 74474016, "author": "Neville Kuyt", "author_id": 626692, "author_profile": "https://Stackoverflow.com/users/626692", "pm_score": 2, "selected": true, "text": "Item purchase order accounts payable detail_transaction DELIMITER $$\nCREATE TRIGGER update_stock\nAFTER INSERT\n ...
2022/11/17
[ "https://Stackoverflow.com/questions/74473820", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20528649/" ]
74,473,909
<p>I have a Javascript regex like this:</p> <pre><code>/^[a-zA-Z0-9 !@#$%^&amp;*()-_-~.+,/\&quot; ]+$/ </code></pre> <p>which allows following conditions:</p> <ol> <li><p>only alphabets allowed</p> </li> <li><p>only numeric allowed</p> </li> <li><p>combination of alphabets and numeric allowed</p> </li> <li><p>combinati...
[ { "answer_id": 74473958, "author": "Wiktor Stribiżew", "author_id": 3832970, "author_profile": "https://Stackoverflow.com/users/3832970", "pm_score": 2, "selected": true, "text": "/^(?=[^a-zA-Z0-9]*[a-zA-Z0-9])[a-zA-Z0-9 !@#$%^&*()_~.+,/\\\" -]+$/\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n - -_- ...
2022/11/17
[ "https://Stackoverflow.com/questions/74473909", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7036867/" ]
74,473,955
<p>What I'm trying to do is to detect the type of logged-in user and then setting a <code>.profile</code> parameter to <code>request.user</code>, so I can use it by calling <code>request.user.profile</code> in my views.</p> <p>To do this, I've wrote a <code>Middleware</code> as follows:</p> <pre class="lang-py prettypr...
[ { "answer_id": 74473958, "author": "Wiktor Stribiżew", "author_id": 3832970, "author_profile": "https://Stackoverflow.com/users/3832970", "pm_score": 2, "selected": true, "text": "/^(?=[^a-zA-Z0-9]*[a-zA-Z0-9])[a-zA-Z0-9 !@#$%^&*()_~.+,/\\\" -]+$/\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n - -_- ...
2022/11/17
[ "https://Stackoverflow.com/questions/74473955", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3423768/" ]
74,473,962
<p>I have implemented a &quot;super app&quot; for Android &amp; iOS that opens various web apps in a WebView, allowing users to access standard services without having to leave the app.</p> <h2>The Flow</h2> <p>The user opens the Mobile App</p> <p>The user selects a web app from the list of common apps like Facebook, T...
[ { "answer_id": 74473958, "author": "Wiktor Stribiżew", "author_id": 3832970, "author_profile": "https://Stackoverflow.com/users/3832970", "pm_score": 2, "selected": true, "text": "/^(?=[^a-zA-Z0-9]*[a-zA-Z0-9])[a-zA-Z0-9 !@#$%^&*()_~.+,/\\\" -]+$/\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n - -_- ...
2022/11/17
[ "https://Stackoverflow.com/questions/74473962", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11208942/" ]
74,473,985
<p>I need to call my sign method in my Livewire controller. So far I haven't been able to get it to work because nothing happens</p> <pre><code> function handleValidButtonClick(event) { event.preventDefault(); console.log(canvas.toDataURL()); const dataURL = canvas.toDataURL('image/p...
[ { "answer_id": 74473958, "author": "Wiktor Stribiżew", "author_id": 3832970, "author_profile": "https://Stackoverflow.com/users/3832970", "pm_score": 2, "selected": true, "text": "/^(?=[^a-zA-Z0-9]*[a-zA-Z0-9])[a-zA-Z0-9 !@#$%^&*()_~.+,/\\\" -]+$/\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n - -_- ...
2022/11/17
[ "https://Stackoverflow.com/questions/74473985", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15151656/" ]
74,474,006
<p>We have many old selects like this:</p> <pre><code>SELECT tm.&quot;ID&quot;,tm.&quot;R_PERSONES&quot;,tm.&quot;R_DATASOURCE&quot;, ,tm.&quot;MATCHCODE&quot;, d.NAME AS DATASOURCE, p.PDID FROM TABLE_MAPPINGS tm, PERSONES p, DATASOURCES d, (select ID from TABLE_MAPPINGS where (...
[ { "answer_id": 74474177, "author": "Littlefoot", "author_id": 9097906, "author_profile": "https://Stackoverflow.com/users/9097906", "pm_score": 1, "selected": false, "text": "table_mappings WITH\n tab_map\n AS\n (SELECT a.id,\n a.r_persones,\n a.matchco...
2022/11/17
[ "https://Stackoverflow.com/questions/74474006", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7422619/" ]
74,474,014
<p>I'm creating an e-commerce website where I show 3 options &quot;body lotion&quot;, &quot;body wash&quot; and &quot;body scrub&quot; the customer can click on any of these options, and the respective product shows up.</p> <p>I have the products stored in the &quot;U20Arr&quot; and a &quot;type&quot; object key specif...
[ { "answer_id": 74474065, "author": "owenizedd", "author_id": 7146064, "author_profile": "https://Stackoverflow.com/users/7146064", "pm_score": 2, "selected": true, "text": "filter \nconst u20arr = [......];\n\nconst bodyLotionProducts = u20arr.filter(product => product.type === 'bodyLoti...
2022/11/17
[ "https://Stackoverflow.com/questions/74474014", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19768549/" ]
74,474,022
<p>I have a data frame that looks like this:</p> <pre><code> Vendor GRDate Pass/Fail 0 204177 2022-22 1.0 1 204177 2022-22 0.0 2 204177 2022-22 0.0 3 204177 2022-22 1.0 4 204177 2022-22 1.0 5 204177 2022-22 1.0 7 201645 2022-22 0.0 8 201645 2022-22 0.0 9 201645 2022-22 1.0 10 201645 20...
[ { "answer_id": 74474065, "author": "owenizedd", "author_id": 7146064, "author_profile": "https://Stackoverflow.com/users/7146064", "pm_score": 2, "selected": true, "text": "filter \nconst u20arr = [......];\n\nconst bodyLotionProducts = u20arr.filter(product => product.type === 'bodyLoti...
2022/11/17
[ "https://Stackoverflow.com/questions/74474022", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13123654/" ]
74,474,023
<p>But I am wondering how to initialize char *** in c.<br /> initialize char* :</p> <pre><code>char *test = &quot;hello&quot;; printf(&quot;tets[0]=%s\n&quot;,test); </code></pre> <p>The following is initialize char **.</p> <pre><code>char **test = (char *[]) {&quot;hello&quot;, &quot;world&quot;}; printf(&quot;tets...
[ { "answer_id": 74474644, "author": "Andreas Wenzel", "author_id": 12149471, "author_profile": "https://Stackoverflow.com/users/12149471", "pm_score": 3, "selected": true, "text": "char** char *** char ** #include <stdio.h>\n\nint main( void )\n{\n char ***test = &(char**){ (char *[]){...
2022/11/17
[ "https://Stackoverflow.com/questions/74474023", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15603477/" ]
74,474,030
<p>may someone help me on this? I want to transpose the following data but in my trasnpose code exist errors;</p> <p>my code is ;</p> <pre><code>proc transpose data=a out=b delimeter=_; by k m; id variable3 variable4 var variable 5; run; </code></pre> <p>my dataset is;</p> <pre><code>variable1 variable2 variable3...
[ { "answer_id": 74474644, "author": "Andreas Wenzel", "author_id": 12149471, "author_profile": "https://Stackoverflow.com/users/12149471", "pm_score": 3, "selected": true, "text": "char** char *** char ** #include <stdio.h>\n\nint main( void )\n{\n char ***test = &(char**){ (char *[]){...
2022/11/17
[ "https://Stackoverflow.com/questions/74474030", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20238328/" ]
74,474,036
<pre><code>TextFormField( inputFormatters: [ FilteringTextInputFormatter.deny(RegExp('[a-zA-Z]')), FilteringTextInputFormatter.allow(RegExp('[0-9]')), ], maxLength: 2, controller: controller, ), ), </code></pre> <p>I want to prevent th...
[ { "answer_id": 74474460, "author": "Ivo", "author_id": 1514861, "author_profile": "https://Stackoverflow.com/users/1514861", "pm_score": 2, "selected": true, "text": "TextFormField(\n inputFormatters: [\n TextInputFormatter.withFunction((oldValue, newValue) {\n if (newValue.text...
2022/11/17
[ "https://Stackoverflow.com/questions/74474036", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17906689/" ]
74,474,058
<p>I'm trying to create a nested dictionary from a list of strings. Each index of the strings corresponds to a key, while each character a value.</p> <p>I have a list:</p> <pre><code>list = ['game', 'club', 'party', 'play'] </code></pre> <p>I would like to create a (nested) dictionary:</p> <pre><code>dict = {0: {'g', '...
[ { "answer_id": 74474136, "author": "Andrej Kesely", "author_id": 10035985, "author_profile": "https://Stackoverflow.com/users/10035985", "pm_score": 3, "selected": true, "text": "from itertools import zip_longest\n\nlst = [\"game\", \"club\", \"party\", \"play\"]\n\nout = {\n i: [v fo...
2022/11/17
[ "https://Stackoverflow.com/questions/74474058", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3892557/" ]
74,474,067
<p>I am trying to understand closures, and I have this example below</p> <pre><code>function outerFunction(outerVariable) { return function innerFunction(innerVariable) { console.log('outer variable: ' + outerVariable) console.log('inner variable: ' + innerVariable) } } const newFunction = oute...
[ { "answer_id": 74474136, "author": "Andrej Kesely", "author_id": 10035985, "author_profile": "https://Stackoverflow.com/users/10035985", "pm_score": 3, "selected": true, "text": "from itertools import zip_longest\n\nlst = [\"game\", \"club\", \"party\", \"play\"]\n\nout = {\n i: [v fo...
2022/11/17
[ "https://Stackoverflow.com/questions/74474067", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13521326/" ]
74,474,085
<p>I'm using The entity framework for creating a database with some products. Product Has a entity Named Price, i want to save all prices with two decimal places even if it's a round number.</p> <p>Like:<br /> 2 = 2.00</p> <p>5.9 = 5.90</p> <p>17.99 = 17.99</p> <p><strong>I can't use Decimal</strong></p> <p>Here is my ...
[ { "answer_id": 74474136, "author": "Andrej Kesely", "author_id": 10035985, "author_profile": "https://Stackoverflow.com/users/10035985", "pm_score": 3, "selected": true, "text": "from itertools import zip_longest\n\nlst = [\"game\", \"club\", \"party\", \"play\"]\n\nout = {\n i: [v fo...
2022/11/17
[ "https://Stackoverflow.com/questions/74474085", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12373301/" ]
74,474,090
<p>This YouTube <a href="https://www.youtube.com/watch?v=McZIQhZpvew" rel="nofollow noreferrer">video</a> @27:20 talks about populating the cache with routing info to avoid latency during a cold start. You can either try to get a document you know doesn't exist, or you can use <code>CosmosClient.CreateAndInitializeAsyn...
[ { "answer_id": 74474243, "author": "Gaurav Mantri", "author_id": 188096, "author_profile": "https://Stackoverflow.com/users/188096", "pm_score": 0, "selected": false, "text": "CosmosClientBuilder.BuildAndInitializeAsync" } ]
2022/11/17
[ "https://Stackoverflow.com/questions/74474090", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2063755/" ]
74,474,093
<p>I want to <strong>save my console output in a text file</strong>, but I want it to be <strong>as it happens</strong> so that if the programm crashes, logs will be saved. Do you have some ideas ?</p> <p>I can't just specify file in logger because I have a lot of different loggers that are printing into the console.</...
[ { "answer_id": 74516445, "author": "Ziur Olpa", "author_id": 10416012, "author_profile": "https://Stackoverflow.com/users/10416012", "pm_score": 2, "selected": false, "text": "import logging\nfrom pathlib import Path\n\nroot_path = <YOUR PATH>\n\nlog_level = logging.DEBUG\n\n# Print to t...
2022/11/17
[ "https://Stackoverflow.com/questions/74474093", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11147691/" ]
74,474,098
<p>I have this list:</p> <pre><code> DI bpg01001:PGE00 3:1 ------ 1 1 (No fault) DI bpg01001:VOL00 2:13 ------ 1 1 (Normal) DI dca06001:HPR00 3:12 ------ 1 1 (Normal) DI dca06001:HUH00 3:15 ------ 1 1 (Normal) DI dca06001:PWS...
[ { "answer_id": 74516445, "author": "Ziur Olpa", "author_id": 10416012, "author_profile": "https://Stackoverflow.com/users/10416012", "pm_score": 2, "selected": false, "text": "import logging\nfrom pathlib import Path\n\nroot_path = <YOUR PATH>\n\nlog_level = logging.DEBUG\n\n# Print to t...
2022/11/17
[ "https://Stackoverflow.com/questions/74474098", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1948548/" ]
74,474,103
<p>I have two array:</p> <p>for example:</p> <pre><code>arraySelectedItems = [{id: 1, name: &quot;item1&quot;}, {id: 2, name: &quot;item2&quot;}] arraySavedItems = [{id: 1, name: &quot;item1&quot;}, {id: 2, name: &quot;item2&quot;}] </code></pre> <p>now I need to check if there is some item in arraySavedItems that is n...
[ { "answer_id": 74474181, "author": "Dakeyras", "author_id": 1857909, "author_profile": "https://Stackoverflow.com/users/1857909", "pm_score": 1, "selected": false, "text": ".includes() arrayDeletedItems = arraySavedItems.filter((itemSaved) => \n !arraySelectedItems.includes(itemSaved)\n...
2022/11/17
[ "https://Stackoverflow.com/questions/74474103", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11604252/" ]
74,474,115
<p>We have a web application written in React that integrates with Stripe to take payments.</p> <p>When the user accesses the Apply Pay option, the popup immediately closes before they can complete the transaction.</p> <ul> <li>The domain has been added to the Apple Pay settings on Stripe</li> <li>There are no errors o...
[ { "answer_id": 74474388, "author": "karllekko", "author_id": 9769731, "author_profile": "https://Stackoverflow.com/users/9769731", "pm_score": 2, "selected": true, "text": "acct_1M1B1IQ0dY0splyg whitecobalt.rendr.co.uk /v1/apple_pay/domains" } ]
2022/11/17
[ "https://Stackoverflow.com/questions/74474115", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1849662/" ]
74,474,119
<p>I have multiple GitHub checks. One of them is <a href="https://mergify.com" rel="nofollow noreferrer">mergify</a>. It merges the PR is all defined checks are successful. However in my case there is a different check that only starts after a minute or so, which is why mergify always misses it.</p> <p>How can I make s...
[ { "answer_id": 74474388, "author": "karllekko", "author_id": 9769731, "author_profile": "https://Stackoverflow.com/users/9769731", "pm_score": 2, "selected": true, "text": "acct_1M1B1IQ0dY0splyg whitecobalt.rendr.co.uk /v1/apple_pay/domains" } ]
2022/11/17
[ "https://Stackoverflow.com/questions/74474119", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5345715/" ]
74,474,149
<p>I need the job to continue when one of the steps fails. Steps are dynamically generated and are independent.</p> <pre><code> public Step step(Long id) { return stepBuilderFactory.get(&quot;STEP_&quot; + id) .tasklet((contribution, chunkContext) -&gt; { service.action(id); return Repe...
[ { "answer_id": 74476109, "author": "Mahmoud Ben Hassine", "author_id": 5019386, "author_profile": "https://Stackoverflow.com/users/5019386", "pm_score": 1, "selected": false, "text": "@Bean\npublic Job job() {\n return jobBuilderFactory.get(\"job\")\n .start(stepA())\n ...
2022/11/17
[ "https://Stackoverflow.com/questions/74474149", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19939028/" ]
74,474,176
<p>In our github repository, we have a github action that calls a reusable workflow in an environment.</p> <pre><code>name: Pull Request Merged concurrency: group: ${{ github.ref }} on: pull_request: types: [closed] jobs: deploy_to_stage: if: | github.event.pull_request.merged == true &amp;&amp...
[ { "answer_id": 74476109, "author": "Mahmoud Ben Hassine", "author_id": 5019386, "author_profile": "https://Stackoverflow.com/users/5019386", "pm_score": 1, "selected": false, "text": "@Bean\npublic Job job() {\n return jobBuilderFactory.get(\"job\")\n .start(stepA())\n ...
2022/11/17
[ "https://Stackoverflow.com/questions/74474176", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2792414/" ]
74,474,184
<p>I'm creating an app that sends both a refresher and access tokens; also, in this app, there are a ModelViewSet called Users (returns all users in the database) where permission_classes for the IsAuthenticated only, everything seems to work perfectly.</p> <p>But when the access token expires and sets the header for t...
[ { "answer_id": 74474829, "author": "atf98", "author_id": 9807497, "author_profile": "https://Stackoverflow.com/users/9807497", "pm_score": 0, "selected": false, "text": "DEFAULT_AUTHENTICATION_CLASSES" }, { "answer_id": 74557930, "author": "Mahammadhusain kadiwala", "auth...
2022/11/17
[ "https://Stackoverflow.com/questions/74474184", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8327421/" ]
74,474,194
<p>I have the next component in my react application:</p> <pre><code>import &quot;./styles.css&quot;; type InpuType = &quot;input&quot; | &quot;textarea&quot;; interface IContainer { name: string; placeholder: string; as: InpuType; } const Container = ({ name, placeholder, as, ...rest }: IContainer &am...
[ { "answer_id": 74474829, "author": "atf98", "author_id": 9807497, "author_profile": "https://Stackoverflow.com/users/9807497", "pm_score": 0, "selected": false, "text": "DEFAULT_AUTHENTICATION_CLASSES" }, { "answer_id": 74557930, "author": "Mahammadhusain kadiwala", "auth...
2022/11/17
[ "https://Stackoverflow.com/questions/74474194", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12540500/" ]
74,474,205
<p>I want to compare two list (one is nested) for mutual exclusivity. Problem is that this code is printing false even if they have only one element in common. I need it to print false if they have both elements in common.</p> <p>output I'm getting: <code>false true false</code></p> <p>Desired output: <code>true true f...
[ { "answer_id": 74474562, "author": "maloomeister", "author_id": 11441011, "author_profile": "https://Stackoverflow.com/users/11441011", "pm_score": 2, "selected": true, "text": "Collections.disjoint() false equals() for (int i = 0; i < pairs.size(); i++) {\n System.out.println(!propert...
2022/11/17
[ "https://Stackoverflow.com/questions/74474205", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10482658/" ]
74,474,220
<p>I've got this DataFrame in Python using pandas:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>Column 1</th> <th>Column 2</th> <th>Column 3</th> </tr> </thead> <tbody> <tr> <td>hello</td> <td>a,b,c</td> <td>1,2,3</td> </tr> <tr> <td>hi</td> <td>b,c,a</td> <td>4,5,6</td> </tr> </tbody> <...
[ { "answer_id": 74474367, "author": "Nuri Taş", "author_id": 19255749, "author_profile": "https://Stackoverflow.com/users/19255749", "pm_score": 2, "selected": false, "text": "pd.crosstab exploding new_df = ( df.assign(t=df['Column 2'].str.split(','), a=df['Column 3'].str.split(',')).\n ...
2022/11/17
[ "https://Stackoverflow.com/questions/74474220", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15265431/" ]
74,474,227
<p>A rather primitive question, but I can't find how to solve it:</p> <p>I have an array initiated and in this scope and I need to push an object from a JSON (which got transformed from a XML) into a data array, which collects the data in a loop and I need to only then return the response out of scope, because in the s...
[ { "answer_id": 74474363, "author": "Pompedup", "author_id": 12239272, "author_profile": "https://Stackoverflow.com/users/12239272", "pm_score": 1, "selected": false, "text": "let dataarr = [] // at the top of you function\n\n...\nawait new Promise((resolve, reject) => axios(config)\n .t...
2022/11/17
[ "https://Stackoverflow.com/questions/74474227", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12360035/" ]
74,474,247
<p>I have a <strong>user table</strong></p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>USER_ID</th> <th>FIRSTNAME</th> <th>LASTNAME</th> </tr> </thead> <tbody> <tr> <td>1000</td> <td>Tom</td> <td>Doe</td> </tr> <tr> <td>2000</td> <td>Tina</td> <td>Doe</td> </tr> <tr> <td>3000</td> <td>Mich...
[ { "answer_id": 74474348, "author": "Littlefoot", "author_id": 9097906, "author_profile": "https://Stackoverflow.com/users/9097906", "pm_score": 1, "selected": false, "text": "SQL> with\n 2 tuser (user_id, firstname) as\n 3 (select 1000, 'Tom' from dual union all\n 4 select ...
2022/11/17
[ "https://Stackoverflow.com/questions/74474247", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17634846/" ]
74,474,270
<p>I understood that std::numeric_limits::espsilon() and DBL_EPSILON should deliver the same value but are defined in different headers, limits, and cfloat. Which makes std::numeric_limits::espsilon() a c++ style way of writing and DBL_EPSILON the c style.</p> <p>My question is if there is any benefit in using std::num...
[ { "answer_id": 74474364, "author": "463035818_is_not_a_number", "author_id": 4117728, "author_profile": "https://Stackoverflow.com/users/4117728", "pm_score": 3, "selected": true, "text": "std::numeric_limits std::limits template <typename T>\nvoid foo() {\n std::cout << std::numeric...
2022/11/17
[ "https://Stackoverflow.com/questions/74474270", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2509663/" ]
74,474,271
<p>I have a log source which has the following format:</p> <pre><code>//file1.png is the filename, the parenthesis hold the filesize in bytes. // Each item is separated by a semicolon. file1.png (445b); file2.pdf (2345b); file3.jpg (343b); file4.docx (3243b); </code></pre> <p>I have this regex to split the items into a...
[ { "answer_id": 74474834, "author": "David דודו Markovitz", "author_id": 6336479, "author_profile": "https://Stackoverflow.com/users/6336479", "pm_score": 1, "selected": false, "text": "datatable (item:string ) [\n'file1.png (445b); file2.pdf (2345b); file3.jpg (343b); file4.docx (3243b);...
2022/11/17
[ "https://Stackoverflow.com/questions/74474271", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3901102/" ]
74,474,273
<p>I am trying to run a function which is using a featured image as my header image on my webpage I want to include the options to also allow my end user to select between using the featured image or to select a slider instead if they wish to use that page depending here is the code I have for the featured image develo...
[ { "answer_id": 74474834, "author": "David דודו Markovitz", "author_id": 6336479, "author_profile": "https://Stackoverflow.com/users/6336479", "pm_score": 1, "selected": false, "text": "datatable (item:string ) [\n'file1.png (445b); file2.pdf (2345b); file3.jpg (343b); file4.docx (3243b);...
2022/11/17
[ "https://Stackoverflow.com/questions/74474273", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18440788/" ]
74,474,308
<p>Hello ı created tableData() 2d array in named &quot;list&quot; module by getlist() function. I want to copy tableData() array to main sub. I think firstly ı have to call and run function in main sub afterwards copy. But ıdk how to do it could you help me? I hope problem is clear.</p> <pre><code>'list module Public ...
[ { "answer_id": 74474629, "author": "IvanSTV", "author_id": 19198860, "author_profile": "https://Stackoverflow.com/users/19198860", "pm_score": 0, "selected": false, "text": "Public tableData() As String\nPublic Function getlist()\n'any operations with array tableData() \nEnd Function\n\n...
2022/11/17
[ "https://Stackoverflow.com/questions/74474308", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16704510/" ]
74,474,328
<p>I have a form where I want the user to enter their first name, last name and age</p> <p>But before anything, I want the user to not be able to leave the text boxes empty The problem I have is to get the age, my data must be of type int, but I don't know how the age text box is empty and gives an error to the user.</...
[ { "answer_id": 74474629, "author": "IvanSTV", "author_id": 19198860, "author_profile": "https://Stackoverflow.com/users/19198860", "pm_score": 0, "selected": false, "text": "Public tableData() As String\nPublic Function getlist()\n'any operations with array tableData() \nEnd Function\n\n...
2022/11/17
[ "https://Stackoverflow.com/questions/74474328", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14348692/" ]
74,474,329
<p>I've got a column which I am trying to clean, the data is like this:</p> <p><a href="https://i.stack.imgur.com/cPk9h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cPk9h.png" alt="enter image description here" /></a></p> <p>Wherever the pattern is of x-y year, I want to extract only the 'x' value...
[ { "answer_id": 74474629, "author": "IvanSTV", "author_id": 19198860, "author_profile": "https://Stackoverflow.com/users/19198860", "pm_score": 0, "selected": false, "text": "Public tableData() As String\nPublic Function getlist()\n'any operations with array tableData() \nEnd Function\n\n...
2022/11/17
[ "https://Stackoverflow.com/questions/74474329", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9056381/" ]
74,474,346
<p>Can anyone help to capture the both int and float vaules using reg expression</p> <p>I have below reg exp which will capture only int values but need to modify this for foot value also</p> <pre><code>'^[[:space:]]*([[:digit:]]+)[[:space:]]*([kmg])b?[[:space:]]*$' </code></pre> <p>This works if the value is eg <code>...
[ { "answer_id": 74474629, "author": "IvanSTV", "author_id": 19198860, "author_profile": "https://Stackoverflow.com/users/19198860", "pm_score": 0, "selected": false, "text": "Public tableData() As String\nPublic Function getlist()\n'any operations with array tableData() \nEnd Function\n\n...
2022/11/17
[ "https://Stackoverflow.com/questions/74474346", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20471367/" ]
74,474,381
<p>I have a HTML setup:</p> <pre class="lang-html prettyprint-override"><code>&lt;div id=&quot;wrapper&quot;&gt; &lt;div id=&quot;content&quot;&gt; Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ex corporis perferendis in fugiat cumque. Ipsam modi quia doloremque, animi quisquam quo exercitatione...
[ { "answer_id": 74474540, "author": "erecodes", "author_id": 18703252, "author_profile": "https://Stackoverflow.com/users/18703252", "pm_score": 0, "selected": false, "text": "calc() #content{\n height: calc(100% - 4px)\n}" }, { "answer_id": 74474640, "author": "dantheman", ...
2022/11/17
[ "https://Stackoverflow.com/questions/74474381", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5279274/" ]
74,474,391
<p>Basically I am trying to find a way how the fetch data works. I have created a method that returns a simple list and the response of the body is as follow:</p> <pre><code>[ { &quot;Name&quot;: &quot;ApooBG&quot;, &quot;Password&quot;: &quot;e062f192A&quot;, &quot;Email&quot;: &quot;idk@abv.bg&quot; }...
[ { "answer_id": 74474540, "author": "erecodes", "author_id": 18703252, "author_profile": "https://Stackoverflow.com/users/18703252", "pm_score": 0, "selected": false, "text": "calc() #content{\n height: calc(100% - 4px)\n}" }, { "answer_id": 74474640, "author": "dantheman", ...
2022/11/17
[ "https://Stackoverflow.com/questions/74474391", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20045530/" ]
74,474,402
<p>I am not sure whether this is an <code>amt</code> or a <code>tidyr</code> issue, but there is no <code>amt</code> tag yet, so here we are.</p> <p>When working with nested tracks, any calculation (e.g. <code>step_lengths</code>) done in the nested tracks creates a new &quot;list-like&quot; column outside the &quot;da...
[ { "answer_id": 74494236, "author": " S.Bird", "author_id": 9064598, "author_profile": "https://Stackoverflow.com/users/9064598", "pm_score": 2, "selected": true, "text": "test_df <- data.frame(id = rep(c(\"A\", \"B\", \"C\"), each = 100), \n lon = runif(min = -9, max...
2022/11/17
[ "https://Stackoverflow.com/questions/74474402", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4676165/" ]
74,474,414
<p>we want to automate an web application with Robot framework/SeleniumLibrary. The app contains some tables, which do not have simple unique identifiers like id/name/class... They only can be uniquely identified via a nested property. Here a sample excerpt of the properties window (DevTools)</p> <pre><code>grid: windo...
[ { "answer_id": 74494236, "author": " S.Bird", "author_id": 9064598, "author_profile": "https://Stackoverflow.com/users/9064598", "pm_score": 2, "selected": true, "text": "test_df <- data.frame(id = rep(c(\"A\", \"B\", \"C\"), each = 100), \n lon = runif(min = -9, max...
2022/11/17
[ "https://Stackoverflow.com/questions/74474414", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5143239/" ]
74,474,504
<p>So, I have a data frame of this type:</p> <pre><code> Name 1 2 3 4 5 Alex 10 40 20 11 50 Alex 10 60 20 11 60 Sam 30 15 50 15 60 Sam 30 12 50 15 43 John 50 18 100 8 32 John ...
[ { "answer_id": 74474848, "author": "will-wright-eng", "author_id": 14343465, "author_profile": "https://Stackoverflow.com/users/14343465", "pm_score": 0, "selected": false, "text": "from collections import Counter\n\nimport pandas as pd\n\ndata = [[ 'Name', 1, 2, 3, 4, 5],\n[...
2022/11/17
[ "https://Stackoverflow.com/questions/74474504", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18134832/" ]
74,474,521
<p>I have below CSS for a dropdown menu:</p> <pre><code>.dropdown { position: relative; display: inline-block; } .dropdown-content { display: none; position: absolute; right: 0; top: 30px; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; butt...
[ { "answer_id": 74474848, "author": "will-wright-eng", "author_id": 14343465, "author_profile": "https://Stackoverflow.com/users/14343465", "pm_score": 0, "selected": false, "text": "from collections import Counter\n\nimport pandas as pd\n\ndata = [[ 'Name', 1, 2, 3, 4, 5],\n[...
2022/11/17
[ "https://Stackoverflow.com/questions/74474521", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2755616/" ]
74,474,547
<p>This one is a bit of a long shot, but is there a way to determine which cell in a table is the right-most cell that isn't blank? I have a table that has empty cells on purpose; there's nothing to be recorded. I want to retrieve the right-most cell that still has data. For example:</p> <p><strong>Table 1</strong></p>...
[ { "answer_id": 74475112, "author": "player0", "author_id": 5632629, "author_profile": "https://Stackoverflow.com/users/5632629", "pm_score": 2, "selected": false, "text": "=IFNA(BYROW(A2:E; LAMBDA(x; LOOKUP(1; INDEX(1/(x<>\"\")); x))))\n" }, { "answer_id": 74475379, "author":...
2022/11/17
[ "https://Stackoverflow.com/questions/74474547", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20526820/" ]
74,474,552
<p>I need some help with testing my python package using <code>tox</code> in a gitlab-ci pipeline:</p> <p>I want to test my package on multiple versions. For this, I can write the following in my <code>tox.ini</code>:</p> <pre class="lang-ini prettyprint-override"><code>[tox] envlist = py{310, 311} [testenv] deps = ...
[ { "answer_id": 74478107, "author": "CodingTil", "author_id": 9406165, "author_profile": "https://Stackoverflow.com/users/9406165", "pm_score": 0, "selected": false, "text": ".gitlab-ci.yml image: python:latest\n\nunit-test-3.11:\n image: python:3.11\n stage: test\n script:\n ...
2022/11/17
[ "https://Stackoverflow.com/questions/74474552", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9406165/" ]
74,474,577
<p>I have array .</p> <pre><code>const arr = [{ &quot;status&quot;: &quot;success&quot;, &quot;data&quot;: [{ &quot;name&quot;: &quot;user1&quot;, &quot;games&quot;: [{ &quot;id&quot;: 1, &quot;gamename&quot;: &quot;cricket&quot; }, { ...
[ { "answer_id": 74474631, "author": "Disco", "author_id": 11196441, "author_profile": "https://Stackoverflow.com/users/11196441", "pm_score": 0, "selected": false, "text": "const arr = [\n {\n status: \"success\",\n data: [\n {\n name: \"user1\",\n games: [\n ...
2022/11/17
[ "https://Stackoverflow.com/questions/74474577", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20424966/" ]
74,474,642
<p>I have an inline table-valued function, which splits strings into row of substrings based on a specified separator.</p> <p>It is as follows:</p> <pre><code>ALTER FUNCTION [dbo].[SplitString] (@List NVARCHAR(MAX), @Delim VARCHAR(255)) RETURNS TABLE AS RETURN (SELECT [Value], idx = RANK() OVER (O...
[ { "answer_id": 74483364, "author": "Bernie156", "author_id": 20522983, "author_profile": "https://Stackoverflow.com/users/20522983", "pm_score": 1, "selected": false, "text": "@list with ALTER FUNCTION [dbo].[SplitString]\n (@List NVARCHAR(MAX),\n @Delim VARCHAR(255))\nRETURNS TA...
2022/11/17
[ "https://Stackoverflow.com/questions/74474642", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14187904/" ]
74,474,721
<p>I have the following code:</p> <pre><code>struct ContentView: View { @State var isOn: Bool = false var body: some View { HStack(alignment: .top) { Toggle(isOn: $isOn) { Text(&quot;Hello&quot;) } Text(&quot;The quick brown fox jumped over the lazy ...
[ { "answer_id": 74498192, "author": "Qazi Ammar", "author_id": 6026338, "author_profile": "https://Stackoverflow.com/users/6026338", "pm_score": -1, "selected": false, "text": "struct ContentView: View {\n \n @State var isOn: Bool = false\n\n var body: some View {\n HS...
2022/11/17
[ "https://Stackoverflow.com/questions/74474721", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1971013/" ]
74,474,733
<p>I'm trying to make a log in form in Reactjs using bootstrap. I've created two classes, the <code>App.js</code> one which is the main class and the <code>Handler.js</code> one which is supposed to show different content based on state variable, using the alert function, I discovered that state gets reset after submit...
[ { "answer_id": 74474755, "author": "Dhaval Jardosh", "author_id": 7427111, "author_profile": "https://Stackoverflow.com/users/7427111", "pm_score": 2, "selected": false, "text": "submitUserPass=(e)=>{\n e.preventDefault(); // This will stop the page from refreshing\n this....
2022/11/17
[ "https://Stackoverflow.com/questions/74474733", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15984730/" ]
74,474,734
<p>I'm a beginner developer and I have problem with implementation of BloC framework. Let's assume that I have this code (Model, NetworkService, Repository, Cubit, State, Widget):</p> <pre><code>class NetworkService { Future getData(Uri uri) async { try { http.Response httpsResponse = await http.get( ...
[ { "answer_id": 74474755, "author": "Dhaval Jardosh", "author_id": 7427111, "author_profile": "https://Stackoverflow.com/users/7427111", "pm_score": 2, "selected": false, "text": "submitUserPass=(e)=>{\n e.preventDefault(); // This will stop the page from refreshing\n this....
2022/11/17
[ "https://Stackoverflow.com/questions/74474734", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12672451/" ]
74,474,774
<p>how to redirect to app settings in react native for android 12 only?</p> <pre><code>NativeModules.OpenSettings.openNetworkSettings(() =&gt; null); </code></pre> <p>i can't use that code right now</p> <pre><code>import { openSettings } from 'react-native-permissions'; openSettings(); </code></pre> <p>this also not wo...
[ { "answer_id": 74474755, "author": "Dhaval Jardosh", "author_id": 7427111, "author_profile": "https://Stackoverflow.com/users/7427111", "pm_score": 2, "selected": false, "text": "submitUserPass=(e)=>{\n e.preventDefault(); // This will stop the page from refreshing\n this....
2022/11/17
[ "https://Stackoverflow.com/questions/74474774", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12723803/" ]
74,474,779
<p>I've been learning flutter for 2 months. I'm trying to develop a wallpaper app. I created a model and a function. But right now I can only download 1 wallpaper. How can I make this a list? I get this error when I make a list.</p> <p>This is url.</p> <pre><code> String url = 'https://images.hdqwalls.com/downlo...
[ { "answer_id": 74474755, "author": "Dhaval Jardosh", "author_id": 7427111, "author_profile": "https://Stackoverflow.com/users/7427111", "pm_score": 2, "selected": false, "text": "submitUserPass=(e)=>{\n e.preventDefault(); // This will stop the page from refreshing\n this....
2022/11/17
[ "https://Stackoverflow.com/questions/74474779", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20529353/" ]
74,474,785
<p>The model is not getting updated in the database while using the below methods.</p> <p>This is upload form in views</p> <pre><code>def upload(request): if request.method == 'POST': form = UploadForm(request.POST, request.FILES) if form.is_valid(): upload = form.save(commit= False) upload.user...
[ { "answer_id": 74474996, "author": "Manoj Tolagekar", "author_id": 17808039, "author_profile": "https://Stackoverflow.com/users/17808039", "pm_score": 0, "selected": false, "text": "def update(request, id): \n edit = bug.objects.get(id=id) \n form = Formname(request.POST,instance...
2022/11/17
[ "https://Stackoverflow.com/questions/74474785", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20529531/" ]
74,474,789
<p>I'm trying to get the primary auto incremented key from one table and store this in another using MySQL connector and JDBC. Although its giving me this error:</p> <blockquote> <p>statement.executeupdate() cannot issue statements that produce result sets.</p> </blockquote> <p>I think its something to do with the stor...
[ { "answer_id": 74475151, "author": "Syed Asad Manzoor", "author_id": 20477563, "author_profile": "https://Stackoverflow.com/users/20477563", "pm_score": 0, "selected": false, "text": " public void insertIntoWorkoutLogs(String field_setNumber, String field_repNumber, String field_weig...
2022/11/17
[ "https://Stackoverflow.com/questions/74474789", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20529569/" ]
74,474,795
<p>I have a strange bug when I reload a certain row of UITableView via the .reloadRows() method. Snippets of code:</p> <pre><code> func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int { return news_section.count } func tableView(_ tableView: UITableView, cellFor...
[ { "answer_id": 74475013, "author": "keyur kathrotiya", "author_id": 10363229, "author_profile": "https://Stackoverflow.com/users/10363229", "pm_score": 1, "selected": false, "text": "let indexPath = IndexPath(item: rowNumber, section: 0)\ntableView.reloadRows(at: [indexPath], with: .top)...
2022/11/17
[ "https://Stackoverflow.com/questions/74474795", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19653319/" ]
74,474,818
<p>I have a table of water quality data. Currently it looks like this, except the last three columns are populated with data:</p> <p><a href="https://i.stack.imgur.com/6flLe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6flLe.png" alt="enter image description here" /></a></p> <p>But I'd like to cha...
[ { "answer_id": 74474936, "author": "TarJae", "author_id": 13321647, "author_profile": "https://Stackoverflow.com/users/13321647", "pm_score": 3, "selected": true, "text": "df %>% \n pivot_longer(-c(season,site)) %>% \n pivot_wider(names_from = season, values_from = value) %>% \n arran...
2022/11/17
[ "https://Stackoverflow.com/questions/74474818", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18143306/" ]
74,474,839
<p>guys. I'm trying to set up e2e testing using Playwright. I'm following along these steps (<a href="https://playwright.dev/docs/intro" rel="nofollow noreferrer">enter link description here</a>) and I can see the tests are passing but I'd like to see the browser window so I can try and interact with the elements. How ...
[ { "answer_id": 74474936, "author": "TarJae", "author_id": 13321647, "author_profile": "https://Stackoverflow.com/users/13321647", "pm_score": 3, "selected": true, "text": "df %>% \n pivot_longer(-c(season,site)) %>% \n pivot_wider(names_from = season, values_from = value) %>% \n arran...
2022/11/17
[ "https://Stackoverflow.com/questions/74474839", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10864272/" ]
74,474,886
<p>After running this typescript code it gives me an error on the item parameter of a callback function.Can't find what the problem is</p> <pre><code>function tap&lt;T&gt;(array:T[],callback:(array:T[])=&gt; T ):T{ return callback(array) } const myResult = tap&lt;number&gt;([1,2,3,4],(item)=&gt;{ if(item.leng...
[ { "answer_id": 74474956, "author": "Vayne Valerius", "author_id": 11888674, "author_profile": "https://Stackoverflow.com/users/11888674", "pm_score": 2, "selected": false, "text": "function tap<T>(array: T[], callback: (array: T[]) => T): T {\n return callback(array);\n}\n\nconst myResu...
2022/11/17
[ "https://Stackoverflow.com/questions/74474886", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15102213/" ]
74,474,932
<p>I have a table with names of players like this:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>Player</th> </tr> </thead> <tbody> <tr> <td>John</td> </tr> <tr> <td>Eric</td> </tr> <tr> <td>Valerie</td> </tr> <tr> <td>Carmen</td> </tr> </tbody> </table> </div> <p>And another table with a...
[ { "answer_id": 74475039, "author": "player0", "author_id": 5632629, "author_profile": "https://Stackoverflow.com/users/5632629", "pm_score": 3, "selected": true, "text": "=INDEX(QUERY(SPLIT(UNIQUE(FLATTEN(IF(C2:E=\"\",,B2:B&\"​\"&C2:E))), \"​\"), \n \"select Col2,count(Col2) where Col2 i...
2022/11/17
[ "https://Stackoverflow.com/questions/74474932", "https://Stackoverflow.com", "https://Stackoverflow.com/users/511956/" ]
74,474,942
<p>First of all, I'm a complete newbie at Powershell. I've basically compiled a script from a number google search results and it works to a certain degree, so be gentle :)</p> <p>I have a number of large plain text files that need scanning, junk data needs removing, and characters need renaming. Then create a new file...
[ { "answer_id": 74475975, "author": "Theo", "author_id": 9898643, "author_profile": "https://Stackoverflow.com/users/9898643", "pm_score": 2, "selected": true, "text": "Get-ChildItem -Path 'C:\\Temp' -File -Recurse | ForEach-Object { \n $newFile = Join-Path -Path $_.DirectoryName -C...
2022/11/17
[ "https://Stackoverflow.com/questions/74474942", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20529415/" ]
74,474,976
<p>let's assume the following <code>data.frame</code></p> <pre><code>set.seed(20221117) df &lt;- data.frame(x = as.POSIXct(sample(2e9, 1e5), origin = &quot;1970-01-01 00:00.00 UTC&quot;), y = as.POSIXct(sample(2e9, 1e5), origin = &quot;1970-01-01 00:00.00 UTC&quot;)) </code></pre> <p>What would be a re...
[ { "answer_id": 74475038, "author": "sindri_baldur", "author_id": 4552295, "author_profile": "https://Stackoverflow.com/users/4552295", "pm_score": 3, "selected": true, "text": "do.call(pmax, df)\n\n[1] \"2020-11-30 22:09:29 GMT\" \"2026-06-14 20:00:05 GMT\"\n[3] \"2008-02-08 01:32:23 GMT...
2022/11/17
[ "https://Stackoverflow.com/questions/74474976", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1586820/" ]
74,475,009
<p>I encountered the problem when I tired to run my regex function on my text which can be found <a href="https://www.gutenberg.org/files/45839/45839.txt" rel="nofollow noreferrer">here</a>.</p> <p>With a HttpRequest I fetch the text form the link above. Then I run my regex to clean up the text before filtering the mos...
[ { "answer_id": 74475038, "author": "sindri_baldur", "author_id": 4552295, "author_profile": "https://Stackoverflow.com/users/4552295", "pm_score": 3, "selected": true, "text": "do.call(pmax, df)\n\n[1] \"2020-11-30 22:09:29 GMT\" \"2026-06-14 20:00:05 GMT\"\n[3] \"2008-02-08 01:32:23 GMT...
2022/11/17
[ "https://Stackoverflow.com/questions/74475009", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20529565/" ]