qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
74,359,651
<p>I have developed an app that communicates with our machine via Wi-Fi. You can think of it like an app that is used at car gas stations, such as Shell, Fillibri or the ryd app. This means that the app can only be used when the customer is in front of our machine. If the customer is not directly in front of our machin...
[ { "answer_id": 74359671, "author": "ask4you", "author_id": 18309173, "author_profile": "https://Stackoverflow.com/users/18309173", "pm_score": 1, "selected": false, "text": "bind formContact.formSubmit formContact this window formContact.form.addEventListener(\"submit\", formContact.form...
2022/11/08
[ "https://Stackoverflow.com/questions/74359651", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20448726/" ]
74,359,694
<p>Can I check with oauth2 if the user has a verified email or telephone on the discord account?</p> <p>I need this because I want to create a verification (ticket bot) Please do not reply in a way that &quot;you have this option in the server settings&quot;.</p> <p>Information: discord.js v14 javascript node.js</p> <p...
[ { "answer_id": 74359671, "author": "ask4you", "author_id": 18309173, "author_profile": "https://Stackoverflow.com/users/18309173", "pm_score": 1, "selected": false, "text": "bind formContact.formSubmit formContact this window formContact.form.addEventListener(\"submit\", formContact.form...
2022/11/08
[ "https://Stackoverflow.com/questions/74359694", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19876949/" ]
74,359,703
<p>I have the following array of <code>POSIXct</code> dates</p> <pre><code>&gt;x [1] &quot;2003-12-01 UTC&quot; &quot;2003-12-02 UTC&quot; &quot;2003-12-03 UTC&quot; &quot;2003-12-04 UTC&quot; &quot;2003-12-05 UTC&quot; &quot;2003-12-08 UTC&quot; [7] &quot;2003-12-09 UTC&quot; &quot;2003-12-10 UTC&quot; &quot;2003-12-...
[ { "answer_id": 74360102, "author": "Allan Cameron", "author_id": 12500315, "author_profile": "https://Stackoverflow.com/users/12500315", "pm_score": 3, "selected": true, "text": "POSIXct structure structure(0, class = c(\"POSIXct\", \"POSIXt\"), tzone = \"UTC\")\n#> [1] \"1970-01-01 UTC\...
2022/11/08
[ "https://Stackoverflow.com/questions/74359703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1306892/" ]
74,359,758
<p>I have two databases:</p> <pre><code>DB1: SCHEMA1: -- TABLE1 -- TABLE2 DB2: SCHEMA2: </code></pre> <p>I want to move <code>TABLE1</code> to <code>DB2::SCHEMA2</code></p> <p>i.e</p> <pre><code>DB1: SCHEMA1: -- TABLE2 DB2: SCHEMA2: -- TABLE1 </code></pre> <p>also note in future i may de...
[ { "answer_id": 74360102, "author": "Allan Cameron", "author_id": 12500315, "author_profile": "https://Stackoverflow.com/users/12500315", "pm_score": 3, "selected": true, "text": "POSIXct structure structure(0, class = c(\"POSIXct\", \"POSIXt\"), tzone = \"UTC\")\n#> [1] \"1970-01-01 UTC\...
2022/11/08
[ "https://Stackoverflow.com/questions/74359758", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2897115/" ]
74,359,760
<p>I have a list of dictionaries (with multiple key, value pairs) in python, and I'm trying to make each dictionary into a list, where each key,value pair is also it's own list. For example: <code>list = [{a: 1, b: 2, c: 3}, {d: 4, e: 5, f: 6}, {g: 7,h: 8,i: 9}]</code> What i want it to output is: <code>newlist = [[[a,...
[ { "answer_id": 74360102, "author": "Allan Cameron", "author_id": 12500315, "author_profile": "https://Stackoverflow.com/users/12500315", "pm_score": 3, "selected": true, "text": "POSIXct structure structure(0, class = c(\"POSIXct\", \"POSIXt\"), tzone = \"UTC\")\n#> [1] \"1970-01-01 UTC\...
2022/11/08
[ "https://Stackoverflow.com/questions/74359760", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
74,359,778
<p>How do I print the number of rows dropped while executing the following code in python:</p> <pre><code>df.dropna(inplace = True) </code></pre>
[ { "answer_id": 74360102, "author": "Allan Cameron", "author_id": 12500315, "author_profile": "https://Stackoverflow.com/users/12500315", "pm_score": 3, "selected": true, "text": "POSIXct structure structure(0, class = c(\"POSIXct\", \"POSIXt\"), tzone = \"UTC\")\n#> [1] \"1970-01-01 UTC\...
2022/11/08
[ "https://Stackoverflow.com/questions/74359778", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19305713/" ]
74,359,797
<p>Hi I have a function that assigns values from 0 to the size of ELEMENT_COUNT How can I improve the performance of this function?</p> <pre><code>constexpr size_t ELEMENT_COUNT = 1000 * 10000; std::vector&lt;uint64_t&gt; fill_vector(size_t elementCount) { std::vector&lt;uint64_t&gt; vec(elementCount); for (si...
[ { "answer_id": 74360284, "author": "Ayxan Haqverdili", "author_id": 10147399, "author_profile": "https://Stackoverflow.com/users/10147399", "pm_score": 1, "selected": false, "text": "#include <cstdint>\n#include <numeric>\n#include <vector>\n\nauto fill_vector(std::uint64_t elementCount)...
2022/11/08
[ "https://Stackoverflow.com/questions/74359797", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20230337/" ]
74,359,802
<p>I am a newbie and I was just experimenting creating a table. I wanted to use different background colours on the table heading cells (one colour on each oh the the three). So I gave them different classes, but it does not seem to work? all I can get is the three of them the same colour by targeting </p> <p>Can someo...
[ { "answer_id": 74359877, "author": "HmBloqued", "author_id": 17183809, "author_profile": "https://Stackoverflow.com/users/17183809", "pm_score": 2, "selected": false, "text": "} table {\n font-family: sans-serif;\n}\n\nthead th {\n text-align: center;\n font-weight: bold;\n font-size...
2022/11/08
[ "https://Stackoverflow.com/questions/74359802", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20448942/" ]
74,359,816
<p>I have a python list as follows:-</p> <pre><code>['cat', 'doc_1.txt'] ['cat', 'doc_4.txt'] ['dog', 'doc_5.txt'] ['mouse', 'doc_6.txt'] ['horse', 'doc_7.txt'] </code></pre> <p>I need to quickly find out boolean answer to queries like</p> <pre><code> &quot;Does cat exist in doc_1.txt&quot; answer = yes &quot;Doe...
[ { "answer_id": 74359971, "author": "Claudio", "author_id": 7711283, "author_profile": "https://Stackoverflow.com/users/7711283", "pm_score": 2, "selected": true, "text": "in q L q in L True # I have a python list as follows:-\nL = [\n['cat', 'doc_1.txt'], \n['cat', 'doc_4.txt'], \n['dog'...
2022/11/08
[ "https://Stackoverflow.com/questions/74359816", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1028289/" ]
74,359,819
<p>I'm converting a Memory steam to a byte array and encoding it <code>ToBase64String</code></p> <pre><code> return Ok(Convert.ToBase64String(memoryStream.ToArray())); </code></pre> <p>On the client side i'm doing the following to display the image</p> <pre><code> var response = await client.GetAsync(Navigator.Bas...
[ { "answer_id": 74359971, "author": "Claudio", "author_id": 7711283, "author_profile": "https://Stackoverflow.com/users/7711283", "pm_score": 2, "selected": true, "text": "in q L q in L True # I have a python list as follows:-\nL = [\n['cat', 'doc_1.txt'], \n['cat', 'doc_4.txt'], \n['dog'...
2022/11/08
[ "https://Stackoverflow.com/questions/74359819", "https://Stackoverflow.com", "https://Stackoverflow.com/users/848968/" ]
74,359,857
<p>I want to set up a VBA so that for any document based on a template hidden bookmarks are deleted prior to the document closing. We publish documents on our website. They are written as Word and an API converts them to html. If there are hidden bookmarks they appear as links on the website (the hidden bookmarks conve...
[ { "answer_id": 74359971, "author": "Claudio", "author_id": 7711283, "author_profile": "https://Stackoverflow.com/users/7711283", "pm_score": 2, "selected": true, "text": "in q L q in L True # I have a python list as follows:-\nL = [\n['cat', 'doc_1.txt'], \n['cat', 'doc_4.txt'], \n['dog'...
2022/11/08
[ "https://Stackoverflow.com/questions/74359857", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20448932/" ]
74,359,858
<p>This question is about Azure Pipelines, but let me start by contrasting it: In GitHub Actions, as long as a workflow uses the provided <code>$GITHUB_TOKEN</code> variable to authenticate and push changes back to the repository in which the workflow is running, <strong>this will not trigger more workflows</strong>.</...
[ { "answer_id": 74371335, "author": "Dou Xu-MSFT", "author_id": 20288521, "author_profile": "https://Stackoverflow.com/users/20288521", "pm_score": 0, "selected": false, "text": "#condition: and(succeeded(),ne(variables['Build.Reason'], 'ResourceTrigger'))\ncondition:and(failed(),in(varia...
2022/11/08
[ "https://Stackoverflow.com/questions/74359858", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6275530/" ]
74,359,918
<p>My question about the <code>OnResume()</code> method which is part of the Activity's lifecycle.</p> <p>I know that after the <code>OnStart()</code> method the <code>OnResume()</code> will be called and also if the application goes in background and then comes on front again <code>OnResume()</code> will be executed, ...
[ { "answer_id": 74370691, "author": "Guangyu Bai - MSFT", "author_id": 19335715, "author_profile": "https://Stackoverflow.com/users/19335715", "pm_score": 0, "selected": false, "text": "OnResume()" }, { "answer_id": 74443393, "author": "David Wasser", "author_id": 769265, ...
2022/11/08
[ "https://Stackoverflow.com/questions/74359918", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16523060/" ]
74,359,920
<p>I am looking at the following video where they use the <code>..</code> operator inside initState()</p> <p><a href="https://youtu.be/uz4xRnE-UIw?t=117" rel="nofollow noreferrer">https://youtu.be/uz4xRnE-UIw?t=117</a></p> <p>in my code it does not work!</p> <p>here is my code:</p> <pre><code> void initState() { su...
[ { "answer_id": 74359951, "author": "Emre Faruk KOLAÇ", "author_id": 12040178, "author_profile": "https://Stackoverflow.com/users/12040178", "pm_score": 2, "selected": false, "text": "; void initState() {\n super.initState();\n // select where the video is coming from asset/file/n...
2022/11/08
[ "https://Stackoverflow.com/questions/74359920", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17281101/" ]
74,359,926
<p>I'm learning reactJS and I started to learn about the state. I did this :</p> <pre><code>const famille = { membre1: { nom: &quot;Steve&quot;, age: 45 }, membre2: { nom: &quot;Bill&quot;, age: 60 }, membre3: { nom: &quot;Mark&quot;, age: 40 } } function App(props) { const [mem...
[ { "answer_id": 74360222, "author": "何聊生", "author_id": 5978648, "author_profile": "https://Stackoverflow.com/users/5978648", "pm_score": 2, "selected": true, "text": "function handleAgeChange(){\n setMembres({\n membre1: {\n ...membres.membre1,\n age: membres.membre1.age + 1,\n },\...
2022/11/08
[ "https://Stackoverflow.com/questions/74359926", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17397303/" ]
74,359,990
<p>I have a problem with my background body image. When I put a color on my different sections, the background image disapear I suppose behind the color and I don't know why.</p> <p>If I put a background-color on the body it works but I want a different color on each section of my page.</p> <p>Here is the wireframe : [...
[ { "answer_id": 74360068, "author": "何聊生", "author_id": 5978648, "author_profile": "https://Stackoverflow.com/users/5978648", "pm_score": 1, "selected": false, "text": "background-color: rgba(21, 45, 52, 0.3)" }, { "answer_id": 74360142, "author": "Jason Tran", "author_id"...
2022/11/08
[ "https://Stackoverflow.com/questions/74359990", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20442643/" ]
74,359,996
<p>I'm configuring an active-active WSO2 active-active cluster where everything works as expected. However it recently started logging this continuously without any change in its configuration:</p> <pre><code>... INFO - LogMediator STATUS = Message dispatched to the main sequence. Invalid URL., RESOURCE = / HEALTH CHEC...
[ { "answer_id": 74360068, "author": "何聊生", "author_id": 5978648, "author_profile": "https://Stackoverflow.com/users/5978648", "pm_score": 1, "selected": false, "text": "background-color: rgba(21, 45, 52, 0.3)" }, { "answer_id": 74360142, "author": "Jason Tran", "author_id"...
2022/11/08
[ "https://Stackoverflow.com/questions/74359996", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1729795/" ]
74,360,011
<p>I have for example this future function:</p> <pre><code>Future&lt;void&gt; sayHello() async { await service.sayHello(); } </code></pre> <p>And I want to invoke it on button click</p> <pre><code>ElevatedButton( onPressed: () =&gt; sayHello(), child: const Text(&quot;Click&quot;), ) </code></pre> <p>My ques...
[ { "answer_id": 74360068, "author": "何聊生", "author_id": 5978648, "author_profile": "https://Stackoverflow.com/users/5978648", "pm_score": 1, "selected": false, "text": "background-color: rgba(21, 45, 52, 0.3)" }, { "answer_id": 74360142, "author": "Jason Tran", "author_id"...
2022/11/08
[ "https://Stackoverflow.com/questions/74360011", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19531945/" ]
74,360,018
<p>I'm trying to vlookup data from a sheet with two tabs. I know the vlookup will fetch the results from the first search. But desired output, it should look up the value and get the last result.</p> <p>current vlookup results: <a href="https://i.stack.imgur.com/hwFmW.png" rel="nofollow noreferrer"><img src="https://i....
[ { "answer_id": 74360068, "author": "何聊生", "author_id": 5978648, "author_profile": "https://Stackoverflow.com/users/5978648", "pm_score": 1, "selected": false, "text": "background-color: rgba(21, 45, 52, 0.3)" }, { "answer_id": 74360142, "author": "Jason Tran", "author_id"...
2022/11/08
[ "https://Stackoverflow.com/questions/74360018", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19264018/" ]
74,360,074
<pre class="lang-java prettyprint-override"><code>import java.io.*; class GFG { public static void main (String[] args) { int s=4; int k=3; int a=s^k; int b=a &amp; -a; System.out.println(b); } } </code></pre> <ul> <li></li> </ul> <p>I have compiled the above code it gives 1 as the output. But...
[ { "answer_id": 74360068, "author": "何聊生", "author_id": 5978648, "author_profile": "https://Stackoverflow.com/users/5978648", "pm_score": 1, "selected": false, "text": "background-color: rgba(21, 45, 52, 0.3)" }, { "answer_id": 74360142, "author": "Jason Tran", "author_id"...
2022/11/08
[ "https://Stackoverflow.com/questions/74360074", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20424083/" ]
74,360,110
<p>I'm working on a hashing function for a map[string]interface{}</p> <p>Most of the hashing libs required []byte as input to compute the hash.</p> <p>I tried to Marshal using the json.Marshal for simple maps it works correct but when i add some complexity and shuffled the items then json.Marshal fails to give me a con...
[ { "answer_id": 74362260, "author": "Pak Uula", "author_id": 9047589, "author_profile": "https://Stackoverflow.com/users/9047589", "pm_score": 1, "selected": false, "text": "[123, 14, 34, 52, 3, 5, 324, 123, 123] [5, 324, 123, 123, 123, 14, 34, 52, 3] // Prepares data by sorting arrays in...
2022/11/08
[ "https://Stackoverflow.com/questions/74360110", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20261665/" ]
74,360,130
<p>--for number divisible by 15 we can get it easily</p> <pre><code>take 10 [x | x &lt;- [1..] , x `mod` 15 == 0 ] </code></pre> <p>--but for all how do I use the all option</p> <pre><code>take 10 [x | x &lt;- [1..] , x `mod` [2..15] == 0 ] take 10 [x | x &lt;- [1..] , all x `mod` [2..15] == 0 ] </code></pre> <p>I wan...
[ { "answer_id": 74362260, "author": "Pak Uula", "author_id": 9047589, "author_profile": "https://Stackoverflow.com/users/9047589", "pm_score": 1, "selected": false, "text": "[123, 14, 34, 52, 3, 5, 324, 123, 123] [5, 324, 123, 123, 123, 14, 34, 52, 3] // Prepares data by sorting arrays in...
2022/11/08
[ "https://Stackoverflow.com/questions/74360130", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13353190/" ]
74,360,169
<p>Can someone give a simple case where we will immidiately appreciate the importance of disposing viewmodels and at the same time know the repercussions if we don't? My App is running fine without all these disposing stuff, I really just don't understand the vague &quot;prevent memory leak&quot; stuff.</p>
[ { "answer_id": 74362260, "author": "Pak Uula", "author_id": 9047589, "author_profile": "https://Stackoverflow.com/users/9047589", "pm_score": 1, "selected": false, "text": "[123, 14, 34, 52, 3, 5, 324, 123, 123] [5, 324, 123, 123, 123, 14, 34, 52, 3] // Prepares data by sorting arrays in...
2022/11/08
[ "https://Stackoverflow.com/questions/74360169", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10494346/" ]
74,360,196
<p>I have the following two tables:</p> <pre class="lang-sql prettyprint-override"><code>CREATE TABLE segments(session_id INT, segment_id INT, length DOUBLE PRECISION, movement BOOLEAN); INSERT INTO segments (session_id, segment_id, length, movement) VALUES (49,0,0,'f'),(49,1,180851,'t'),(49,2,1.31082,'f'),(...
[ { "answer_id": 74362260, "author": "Pak Uula", "author_id": 9047589, "author_profile": "https://Stackoverflow.com/users/9047589", "pm_score": 1, "selected": false, "text": "[123, 14, 34, 52, 3, 5, 324, 123, 123] [5, 324, 123, 123, 123, 14, 34, 52, 3] // Prepares data by sorting arrays in...
2022/11/08
[ "https://Stackoverflow.com/questions/74360196", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17487457/" ]
74,360,203
<p>I'm currently in need for a better method for doing some calculations in a quite tedious fashion. And I'd like to change that, due to some of the dataframes that will be processed can have a large size.</p> <p>I would like to do some comparisons for each row in one dataframe to each row in another dataframe. This by...
[ { "answer_id": 74360431, "author": "Raibek", "author_id": 11040577, "author_profile": "https://Stackoverflow.com/users/11040577", "pm_score": 0, "selected": false, "text": "import numpy as np\n\nnp.add.outer(df1.values, df2.values).flatten()\n\narray([4, 5, 5, 6], dtype=int64)\n" }, ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360203", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19887308/" ]
74,360,214
<p>Hi i have the following tables in a database</p> <p><a href="https://i.stack.imgur.com/AO5bw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AO5bw.png" alt="enter image description here" /></a></p> <p>i am trying to move table4 from schema1 to schema2</p> <p>I am trying</p> <pre><code>alter table ...
[ { "answer_id": 74360431, "author": "Raibek", "author_id": 11040577, "author_profile": "https://Stackoverflow.com/users/11040577", "pm_score": 0, "selected": false, "text": "import numpy as np\n\nnp.add.outer(df1.values, df2.values).flatten()\n\narray([4, 5, 5, 6], dtype=int64)\n" }, ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360214", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2897115/" ]
74,360,228
<p>*Here is my code * I want get ühole number</p> <pre><code>from time import time import math start=time() total_time= 30 while time!=0: move=input('Chess move:') if move !='off': print(start) remaining_time=math.floor(total_time-start) print('Remaninig time:',remaining_time) else: e...
[ { "answer_id": 74360431, "author": "Raibek", "author_id": 11040577, "author_profile": "https://Stackoverflow.com/users/11040577", "pm_score": 0, "selected": false, "text": "import numpy as np\n\nnp.add.outer(df1.values, df2.values).flatten()\n\narray([4, 5, 5, 6], dtype=int64)\n" }, ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360228", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20448356/" ]
74,360,230
<p>New to react/typescript. I am trying to create a function with a typscripted param.</p> <p>example:</p> <pre><code>export function get_prod(category: string) { ...} </code></pre> <p>The problem is I have 2 product scenarios. One can have an optional category, the other type requires a category to only load products ...
[ { "answer_id": 74360431, "author": "Raibek", "author_id": 11040577, "author_profile": "https://Stackoverflow.com/users/11040577", "pm_score": 0, "selected": false, "text": "import numpy as np\n\nnp.add.outer(df1.values, df2.values).flatten()\n\narray([4, 5, 5, 6], dtype=int64)\n" }, ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360230", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1547410/" ]
74,360,245
<p>Good day to all!</p> <p>Faced a problem. I’m not very good with mathematics, but nevertheless, it is necessary for the program to select 2 submatrices (subMatrixA, subMatrixB ) from the matrix (w) according to the following example:</p> <pre><code> // main matrix final w = [ [0, 0.6, 0.3, 0.3, 0.5, 0.5]...
[ { "answer_id": 74360431, "author": "Raibek", "author_id": 11040577, "author_profile": "https://Stackoverflow.com/users/11040577", "pm_score": 0, "selected": false, "text": "import numpy as np\n\nnp.add.outer(df1.values, df2.values).flatten()\n\narray([4, 5, 5, 6], dtype=int64)\n" }, ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360245", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19773247/" ]
74,360,246
<p>Can we do that? Like</p> <pre><code>example.add(); </code></pre>
[ { "answer_id": 74360292, "author": "Quentin", "author_id": 19068, "author_profile": "https://Stackoverflow.com/users/19068", "pm_score": 0, "selected": false, "text": "a == 3 a" }, { "answer_id": 74360306, "author": "jessica-98", "author_id": 20261328, "author_profile...
2022/11/08
[ "https://Stackoverflow.com/questions/74360246", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20449169/" ]
74,360,262
<p>I get a disk full error while running a Model training job using Azure ML SDK launched from Azure DevOps. I created a custom environment inside the Azure ML Workspace and used it.</p> <p>I am using azure CLI tasks in Azure DevOps to launch these training jobs. How can I resolve the disk full issue?</p> <p>Error Mess...
[ { "answer_id": 74369287, "author": "Ceeno Qi-MSFT", "author_id": 18361074, "author_profile": "https://Stackoverflow.com/users/18361074", "pm_score": 1, "selected": false, "text": "Disk full while running job. Please consider reducing amount of data accessed, or upgrading VM SKU. Total sp...
2022/11/08
[ "https://Stackoverflow.com/questions/74360262", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8863398/" ]
74,360,270
<p>Currently I have a problem where I need to install all contents of a github repository (<a href="https://github.com/reversinglabs/reversinglabs-yara-rules" rel="nofollow noreferrer">https://github.com/reversinglabs/reversinglabs-yara-rules</a>) through code without using git bash or the like. In this case I need to ...
[ { "answer_id": 74360528, "author": "Lasersköld", "author_id": 3748275, "author_profile": "https://Stackoverflow.com/users/3748275", "pm_score": 1, "selected": false, "text": "std::system() #include <cstdlib>\n\nint main(int argc, char**argv) {\n std::system(\"git clone ...\");\n}\n" ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360270", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19728112/" ]
74,360,336
<p>I'm struggling on how to generate a <strong>&quot;Differences&quot; Ordered-Dictionary</strong> containing the Different and also New values appearing on a <em>&quot;Modified&quot; Ordered-Dictionary</em> after comparing with a <em>&quot;Reference&quot; Ordered-Dictionary</em>.</p> <p>EXAMPLE:</p> <pre><code>#python...
[ { "answer_id": 74360577, "author": "milchmannverleih", "author_id": 11373689, "author_profile": "https://Stackoverflow.com/users/11373689", "pm_score": 3, "selected": true, "text": "for key, value in mod_d.items():\n if key not in ref_d:\n dif_d.update({key: value})\n else:\...
2022/11/08
[ "https://Stackoverflow.com/questions/74360336", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20449241/" ]
74,360,355
<p>Needs to find out the minimum maximum of all edges in all paths from source and destination. <a href="https://i.stack.imgur.com/o8RD5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o8RD5.png" alt="enter image description here" /></a></p> <p>Here two paths possible from 1 to 6. in the top path max...
[ { "answer_id": 74360577, "author": "milchmannverleih", "author_id": 11373689, "author_profile": "https://Stackoverflow.com/users/11373689", "pm_score": 3, "selected": true, "text": "for key, value in mod_d.items():\n if key not in ref_d:\n dif_d.update({key: value})\n else:\...
2022/11/08
[ "https://Stackoverflow.com/questions/74360355", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16928312/" ]
74,360,358
<pre class="lang-js prettyprint-override"><code>states = [{ name: telangana, cities: [{ id: 1, name: foo }, { id: 2, name: joo }, { id: 3, name: goo }] }, { name: punjab, cities: [{ id: 4, name: tyu }, { id: 5, name: ery ...
[ { "answer_id": 74360577, "author": "milchmannverleih", "author_id": 11373689, "author_profile": "https://Stackoverflow.com/users/11373689", "pm_score": 3, "selected": true, "text": "for key, value in mod_d.items():\n if key not in ref_d:\n dif_d.update({key: value})\n else:\...
2022/11/08
[ "https://Stackoverflow.com/questions/74360358", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20449288/" ]
74,360,379
<pre class="lang-py prettyprint-override"><code>import shutil def create_dir(path): if not os.path.exists(path): os.mkdir(path) else: shutil.rmtree(path) </code></pre> <p>when I run this code it gives me permission error, even though I have access to that directory.</p> <p>Also, I use Windows a...
[ { "answer_id": 74360577, "author": "milchmannverleih", "author_id": 11373689, "author_profile": "https://Stackoverflow.com/users/11373689", "pm_score": 3, "selected": true, "text": "for key, value in mod_d.items():\n if key not in ref_d:\n dif_d.update({key: value})\n else:\...
2022/11/08
[ "https://Stackoverflow.com/questions/74360379", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20292818/" ]
74,360,411
<p>I have a page like this (a speech or a dialogue page organised like this, so speaker name in bold and then paragraphs of his speech):</p> <pre><code>&lt;body&gt; &lt;p&gt; &lt;b&gt; speaker abc: &lt;/b&gt; some wanted text here &lt;/p&gt; &lt;p&gt; some other tex...
[ { "answer_id": 74360600, "author": "Prophet", "author_id": 3485434, "author_profile": "https://Stackoverflow.com/users/3485434", "pm_score": 0, "selected": false, "text": "\"//*[preceding-sibling::p[contains(.,'speaker abc')] and following-sibling::p[contains(.,'speaker cde')]]\"\n p pre...
2022/11/08
[ "https://Stackoverflow.com/questions/74360411", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15227955/" ]
74,360,438
<p>I have a 2d array and was able to pass it from code.gs to JavaScript. The next thing I want to do is to sum all elements or numbers example in column 2.</p> <p><a href="https://i.stack.imgur.com/zIEcX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zIEcX.png" alt="enter image description here" /><...
[ { "answer_id": 74360600, "author": "Prophet", "author_id": 3485434, "author_profile": "https://Stackoverflow.com/users/3485434", "pm_score": 0, "selected": false, "text": "\"//*[preceding-sibling::p[contains(.,'speaker abc')] and following-sibling::p[contains(.,'speaker cde')]]\"\n p pre...
2022/11/08
[ "https://Stackoverflow.com/questions/74360438", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19529245/" ]
74,360,439
<p>I have this dictionary:</p> <pre><code>data=[{'first': '0', 'last': 'hg01', 'pay': 0}, {'first': '0', 'last': 'hg75', 'pay': 15}, {'first': '0', 'last': 'hg0', 'pay': 1}, {'first': '0', 'last': 'hg9', 'pay': 13}, {'first': '0', 'last': 'hg0', 'pay': 0}, {'first': '0', 'last': 'hg', 'pay': 13}, {'first': '0', '...
[ { "answer_id": 74360600, "author": "Prophet", "author_id": 3485434, "author_profile": "https://Stackoverflow.com/users/3485434", "pm_score": 0, "selected": false, "text": "\"//*[preceding-sibling::p[contains(.,'speaker abc')] and following-sibling::p[contains(.,'speaker cde')]]\"\n p pre...
2022/11/08
[ "https://Stackoverflow.com/questions/74360439", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17816076/" ]
74,360,464
<p>I'm trying to convert a list of lists of strings (that represents a tic-tac-toe game) to a list of lists of integers, so that I can perform calculations.</p> <p>These are the possible inputs:</p> <pre><code>A = ['X', 'O', '#'] </code></pre> <p>And these the corresponding integers:</p> <pre><code>B = [1, 0, 99] </cod...
[ { "answer_id": 74360515, "author": "Sash Sinha", "author_id": 6328256, "author_profile": "https://Stackoverflow.com/users/6328256", "pm_score": 4, "selected": true, "text": ">>> mapping = {'X': 1, 'O': 0, '#': 99}\n>>> raw_board = [['X', 'O', 'O'], ['O', 'X', 'O'], ['O', '#', 'X']]\n>>> ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360464", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20449423/" ]
74,360,493
<p>I have a class which I use to handle three types of data structures. In this class I have many plotting methods, which depends on which type of data is loaded into the class. Is there a way for me to hide the methods not belonging to the data structure loaded, when looking at the class attributes?</p> <p>Example:</p...
[ { "answer_id": 74360798, "author": "matszwecja", "author_id": 9296093, "author_profile": "https://Stackoverflow.com/users/9296093", "pm_score": 0, "selected": false, "text": "class data_reader():\n def __init__(self, data):\n self.common_method_1()\n self.common_method_2...
2022/11/08
[ "https://Stackoverflow.com/questions/74360493", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16345365/" ]
74,360,499
<p>Hello fellow StackOverflow community, I've encountred an error when trying to <code>.map()</code> a <code>getDoc()</code> constant in my Next.js app, saying the following: &quot;TypeError: Cannot read properties of undefined (reading 'map')&quot;. I'm new to Next.js and I would appreciate a lot any kind of help from...
[ { "answer_id": 74360798, "author": "matszwecja", "author_id": 9296093, "author_profile": "https://Stackoverflow.com/users/9296093", "pm_score": 0, "selected": false, "text": "class data_reader():\n def __init__(self, data):\n self.common_method_1()\n self.common_method_2...
2022/11/08
[ "https://Stackoverflow.com/questions/74360499", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12541682/" ]
74,360,537
<pre><code>public class Person { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public int? Age { get; set; } } var persons = new List&lt;Person&gt; { new Person { Id = 1, FirstName = &quot;Fox&quot;, LastName = &quot;Mulder&quot;, Age = 40...
[ { "answer_id": 74360798, "author": "matszwecja", "author_id": 9296093, "author_profile": "https://Stackoverflow.com/users/9296093", "pm_score": 0, "selected": false, "text": "class data_reader():\n def __init__(self, data):\n self.common_method_1()\n self.common_method_2...
2022/11/08
[ "https://Stackoverflow.com/questions/74360537", "https://Stackoverflow.com", "https://Stackoverflow.com/users/118584/" ]
74,360,559
<p>I have Ubuntu 22.04 newly installed on my laptop. I am trying to connect to a remote server and getting the following error:</p> <pre><code>ssh: connect to host ********* port 22: Connection timed out </code></pre> <p>I tried some solutions which include,</p> <ul> <li>ping the IP address</li> <li>adding the IP addr...
[ { "answer_id": 74361104, "author": "pouya shahrdami", "author_id": 9858914, "author_profile": "https://Stackoverflow.com/users/9858914", "pm_score": -1, "selected": false, "text": "ssh: connect to host ********* port 22: Connection timed out\n" } ]
2022/11/08
[ "https://Stackoverflow.com/questions/74360559", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13360556/" ]
74,360,583
<p>I would like to ask a question please regarding printing the number of different numbers in python.</p> <p>for example: Let us say that I have the following list:</p> <pre><code>X = [5, 5, 5] </code></pre> <p>Since here we have only one number, I want to build a code that can recognize that we have only one number ...
[ { "answer_id": 74360664, "author": "asena", "author_id": 6063483, "author_profile": "https://Stackoverflow.com/users/6063483", "pm_score": 1, "selected": false, "text": "X = [1,2,3,3,3]\nS = set(X)\nn = len(S)\nprint(n, S) # 3 {1,2,3}\n" }, { "answer_id": 74360679, "author":...
2022/11/08
[ "https://Stackoverflow.com/questions/74360583", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19585524/" ]
74,360,589
<p>i`m trying to do something.... I have to insert some data in to a table but..... So here is where I end up...</p> <pre><code>INSERT into HR.my_employees (ID,LAST_NAME,FIRST_NAME,userid,SALARY) SELECT 3 AS ID, 'Biri' AS LAST_NAME, 'Ben' AS FIRST_NAME, substr(FIRST_NAME,1,1)||''||substr(LAST_NAME,...
[ { "answer_id": 74360795, "author": "drdalle", "author_id": 20207622, "author_profile": "https://Stackoverflow.com/users/20207622", "pm_score": 0, "selected": false, "text": "INSERT INTO table_name (column1, column2, column3, ..., columnXX)\nVALUES (value1, value2, value3, ..., valueXX);\...
2022/11/08
[ "https://Stackoverflow.com/questions/74360589", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20090021/" ]
74,360,598
<p>So, the task is the following:</p> <p><em>Find the number of words in the text in which the first and last characters are the same.</em></p> <p>In order to do this, I think I first should split the text and create the array of separate words.</p> <p>For example, the string is:</p> <p><em>&quot;hello goodbye river do...
[ { "answer_id": 74360893, "author": "Support Ukraine", "author_id": 4386427, "author_profile": "https://Stackoverflow.com/users/4386427", "pm_score": 3, "selected": true, "text": "#include <stdio.h>\n\nint count(const char* s)\n{\n int res = 0;\n int in_word = 0;\n char first;\n ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360598", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18259372/" ]
74,360,601
<p>I have a list called <code>ListA</code>: <code>List&lt;string&gt; allStuffs = ...</code></p> <p>I want to reference the list to <code>ListB</code> as <code>List&lt;string&gt; secondList = allStuffs;</code></p> <p>If I do something like <code>secondList.Remove(someitem)</code>, would it also remove the same item on <...
[ { "answer_id": 74360646, "author": "Marc Gravell", "author_id": 23354, "author_profile": "https://Stackoverflow.com/users/23354", "pm_score": 4, "selected": true, "text": "... List<string> secondList = allStuffs; allStuffs Remove" }, { "answer_id": 74361331, "author": "vivek ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360601", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18034508/" ]
74,360,605
<p>I have table:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>user_id</th> <th>date</th> <th>days_since_install</th> </tr> </thead> <tbody> <tr> <td>001</td> <td>01-01-2021</td> <td>0</td> </tr> <tr> <td>001</td> <td>02-01-2021</td> <td>1</td> </tr> <tr> <td>001</td> <td>02-01-2021</td> ...
[ { "answer_id": 74360625, "author": "jezrael", "author_id": 2901002, "author_profile": "https://Stackoverflow.com/users/2901002", "pm_score": 1, "selected": false, "text": "Series.map Series install user_id df['install'] = (df['user_id'].map(df[df['event_type'].eq('install')]\n ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360605", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14085367/" ]
74,360,630
<p>Is it possible to combine multiple <code>orWhere()</code> inside one <code>where()</code>?</p> <p>E.g. The following:</p> <pre><code>$query-&gt;where(function($query){ $query-&gt;where('text1', '=', $_GET['lorem']) -&gt;orWhere('text2', '=', $_GET['lorem']) -&gt;orWhere('text3', '=', $_GET['lorem...
[ { "answer_id": 74360625, "author": "jezrael", "author_id": 2901002, "author_profile": "https://Stackoverflow.com/users/2901002", "pm_score": 1, "selected": false, "text": "Series.map Series install user_id df['install'] = (df['user_id'].map(df[df['event_type'].eq('install')]\n ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360630", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4114907/" ]
74,360,686
<p>I wanted to create a three dropdown selects category&gt;subcategory&gt;susubcategory I have followed this method here <a href="https://www.youtube.com/watch?v=ap551f2a_d0" rel="nofollow noreferrer">https://www.youtube.com/watch?v=ap551f2a_d0</a> with some changes to suit my needs. everything seemed fine and each dro...
[ { "answer_id": 74360625, "author": "jezrael", "author_id": 2901002, "author_profile": "https://Stackoverflow.com/users/2901002", "pm_score": 1, "selected": false, "text": "Series.map Series install user_id df['install'] = (df['user_id'].map(df[df['event_type'].eq('install')]\n ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360686", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4965241/" ]
74,360,690
<p>I'm having an issue trying to pop a dialog that contains a circle loader. I actually pop fine once my data is loaded, but in debug mode it's showing an exception that I can't figure out how to fix.</p> <p>I have a stateful screen that on init I use the following code:</p> <pre><code>WidgetsBinding.instance.addPostFr...
[ { "answer_id": 74360625, "author": "jezrael", "author_id": 2901002, "author_profile": "https://Stackoverflow.com/users/2901002", "pm_score": 1, "selected": false, "text": "Series.map Series install user_id df['install'] = (df['user_id'].map(df[df['event_type'].eq('install')]\n ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360690", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20449496/" ]
74,360,715
<p>According to <a href="https://learn.microsoft.com/en-us/windows/win32/api/commctrl/ns-commctrl-nmlistview" rel="nofollow noreferrer">https://learn.microsoft.com/en-us/windows/win32/api/commctrl/ns-commctrl-nmlistview</a> lParam is of <code>Type: LPARAM</code> and is a Application-defined value of the item. This memb...
[ { "answer_id": 74365653, "author": "Remy Lebeau", "author_id": 65863, "author_profile": "https://Stackoverflow.com/users/65863", "pm_score": 0, "selected": false, "text": "NMLISTVIEW::lParam LVITEM::lParam LVM_INSERTITEM LVM_SETITEM lParam LVM_GETITEM" } ]
2022/11/08
[ "https://Stackoverflow.com/questions/74360715", "https://Stackoverflow.com", "https://Stackoverflow.com/users/176690/" ]
74,360,767
<p>Best way to get high value of partition from oracle database?</p>
[ { "answer_id": 74365653, "author": "Remy Lebeau", "author_id": 65863, "author_profile": "https://Stackoverflow.com/users/65863", "pm_score": 0, "selected": false, "text": "NMLISTVIEW::lParam LVITEM::lParam LVM_INSERTITEM LVM_SETITEM lParam LVM_GETITEM" } ]
2022/11/08
[ "https://Stackoverflow.com/questions/74360767", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19681391/" ]
74,360,770
<p>I'm trying to change CISCOASA word here using the output I got. I've tried using lineinfile module in ansible but the replacement is not in order.</p> <p><strong>ORIG JSON FILE:</strong></p> <pre><code>{ &quot;servers&quot;: [ { &quot;ingress&quot;: &quot;CISCOASA&quot;, &quot;protocol&quot;: &quot;tcp&quot;, &qu...
[ { "answer_id": 74361937, "author": "Mirco", "author_id": 10916365, "author_profile": "https://Stackoverflow.com/users/10916365", "pm_score": 1, "selected": false, "text": " - replace:\n path: ./file.json\n regexp: '^(.*?)CISCOASA\\\"(.*)'\n replace: '\\1CISCOASA{{ servers...
2022/11/08
[ "https://Stackoverflow.com/questions/74360770", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18459325/" ]
74,360,787
<p>I'm trying to get my head around OAuth from the context of having an API that I want to secure and a javascript based single page app made in Vue.js that will consume this API. I've been told that OAuth is the industry standard for this type of thing.</p> <p>I want to let other clients like a mobile app also use the...
[ { "answer_id": 74361937, "author": "Mirco", "author_id": 10916365, "author_profile": "https://Stackoverflow.com/users/10916365", "pm_score": 1, "selected": false, "text": " - replace:\n path: ./file.json\n regexp: '^(.*?)CISCOASA\\\"(.*)'\n replace: '\\1CISCOASA{{ servers...
2022/11/08
[ "https://Stackoverflow.com/questions/74360787", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3110658/" ]
74,360,790
<p>I have without success tried to figure out how to most efficiently fetch data with powershell from the below JSON that is returned to me by a REST API:</p> <pre><code> { &quot;$schema&quot;: &quot;api:standardResponse&quot;, &quot;links&quot;: [ { &quot;rel&quot;: &quot;canonical&quot;, &quot;...
[ { "answer_id": 74360967, "author": "Paul-Marie", "author_id": 9603417, "author_profile": "https://Stackoverflow.com/users/9603417", "pm_score": -1, "selected": false, "text": "PATH" }, { "answer_id": 74362174, "author": "Theo", "author_id": 9898643, "author_profile": ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360790", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10046570/" ]
74,360,796
<p>So I'm following this example, though it is an earlier version of Angular and ngrx.<a href="https://offering.solutions/blog/articles/2020/05/29/authentication-in-angular-with-ngrx-and-asp.net-core/" rel="nofollow noreferrer">NGRX Authentication in Angular with asp.net core</a></p> <p>My Auth.action.ts file is:</p> <...
[ { "answer_id": 74360967, "author": "Paul-Marie", "author_id": 9603417, "author_profile": "https://Stackoverflow.com/users/9603417", "pm_score": -1, "selected": false, "text": "PATH" }, { "answer_id": 74362174, "author": "Theo", "author_id": 9898643, "author_profile": ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360796", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5135610/" ]
74,360,838
<p>I am using Azure Data Factory in which a data flow is used, I want to split my file in to two based on a condition. I am attaching an image with 2 lines, the first one is working but I want to use more programatic approach to achieve the same output:</p> <p><a href="https://i.stack.imgur.com/9Weuu.png" rel="nofollow...
[ { "answer_id": 74360967, "author": "Paul-Marie", "author_id": 9603417, "author_profile": "https://Stackoverflow.com/users/9603417", "pm_score": -1, "selected": false, "text": "PATH" }, { "answer_id": 74362174, "author": "Theo", "author_id": 9898643, "author_profile": ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360838", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8913983/" ]
74,360,839
<p>I have a problem to solve. I need to create new columns from given <code>key_words</code> list and sum their occurrence in data frame.</p> <p>key_words = ['apple', 'animal', 'everyone']</p> <p>input data frame:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>id</th> <th>description</th> ...
[ { "answer_id": 74360981, "author": "assume_irrational_is_rational", "author_id": 11622508, "author_profile": "https://Stackoverflow.com/users/11622508", "pm_score": 3, "selected": true, "text": "key_words = ['apple', 'animal', 'everyone']\nfor key in key_words:\n df[key] = df['descripti...
2022/11/08
[ "https://Stackoverflow.com/questions/74360839", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17277677/" ]
74,360,842
<p>I've a list of data and want to get values after a matching keyword from another list and append it to a dictionary. it should run until the next keyword is matched and added to a new dictionary.</p> <pre><code>a = ['Experience', 'Software Engineer', 'EY', 'Sep 2018 - Present', 'Education', 'xyz College', 'Bac...
[ { "answer_id": 74360981, "author": "assume_irrational_is_rational", "author_id": 11622508, "author_profile": "https://Stackoverflow.com/users/11622508", "pm_score": 3, "selected": true, "text": "key_words = ['apple', 'animal', 'everyone']\nfor key in key_words:\n df[key] = df['descripti...
2022/11/08
[ "https://Stackoverflow.com/questions/74360842", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20448752/" ]
74,360,849
<p>How can I show .dng file format in HTML</p> <p>I need to show the .dng file on my HTML image view</p>
[ { "answer_id": 74360981, "author": "assume_irrational_is_rational", "author_id": 11622508, "author_profile": "https://Stackoverflow.com/users/11622508", "pm_score": 3, "selected": true, "text": "key_words = ['apple', 'animal', 'everyone']\nfor key in key_words:\n df[key] = df['descripti...
2022/11/08
[ "https://Stackoverflow.com/questions/74360849", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10946381/" ]
74,360,864
<p>I am trying to deploy elasticsearch and kibana to kubernetes using <a href="https://github.com/elastic/helm-charts" rel="nofollow noreferrer">this chart</a> and getting this error inside the kibana container, therefore ingress returns 503 error and container is never ready.</p> <p>Error:</p> <pre><code>[2022-11-08T1...
[ { "answer_id": 74361059, "author": "Raihan Khan", "author_id": 7360615, "author_profile": "https://Stackoverflow.com/users/7360615", "pm_score": 0, "selected": false, "text": "elasticsearch.ssl.certificateAuthorities: \"/path/cert.ca\"\n elasticsearch.ssl.verificationMode: \"none\"\n" ...
2022/11/08
[ "https://Stackoverflow.com/questions/74360864", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14138090/" ]
74,360,869
<p>I am trying to make a tally dataframe. My starting dataframe is looking like:</p> <pre><code> sample bike 1: 1 gazelle 2: 1 batavus 3: 2 cortina 4: 2 Cube 5: 3 Giant </code></pre> <p>And what I need is as follows:</p> <pre><code> sample gazelle batavus cortina Cube Giant 1: ...
[ { "answer_id": 74360933, "author": "Maël", "author_id": 13460602, "author_profile": "https://Stackoverflow.com/users/13460602", "pm_score": 2, "selected": false, "text": "value library(tidyr)\nlibrary(dplyr)\ndat %>% \n group_by(bike) %>% \n mutate(value = n()) %>% \n pivot_wider(name...
2022/11/08
[ "https://Stackoverflow.com/questions/74360869", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19254600/" ]
74,360,884
<p>I deleted a category which is an f-key of the items table. Now the view has an error saying 'Attempt to read property &quot;category_name&quot; on null'. How do I render a null foreign key?</p> <p>I tried if-else:</p> <pre><code>@if({{$item-&gt;category-&gt;category_name}} === 'null') &lt;h2&gt;no category&lt;/h2&...
[ { "answer_id": 74361105, "author": "Semih SAHIN", "author_id": 10542740, "author_profile": "https://Stackoverflow.com/users/10542740", "pm_score": 2, "selected": false, "text": "@if ($item->category)\n {{ $item->category->category_name }}\n@else\n <h2>no category</h2>\n@endif\n <h2...
2022/11/08
[ "https://Stackoverflow.com/questions/74360884", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17040377/" ]
74,360,928
<p>I have model class <code>Bid</code> in my auction app that stores bids placed on items:</p> <pre><code>class Bid(models.Model): title = models.CharField(max_length=64, blank=True) date_time = models.DateTimeField(default=timezone.now, blank=True) price = models.DecimalField(max_digits=4, decimal_places=2...
[ { "answer_id": 74361110, "author": "Naser Fazal khan", "author_id": 19313399, "author_profile": "https://Stackoverflow.com/users/19313399", "pm_score": 3, "selected": true, "text": "bids = Bid.objects.all().filter(title=title).values_list(\"price\", flat = True)\n" }, { "answer_i...
2022/11/08
[ "https://Stackoverflow.com/questions/74360928", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19339870/" ]
74,360,956
<p>I have the following dataframe:</p> <pre><code> df = data.frame(date = c(&quot;2021-11-17&quot;, &quot;2021-11-17&quot;, &quot;2022-05-11&quot;, &quot;2022-05-11&quot;, &quot;2021-11-04&quot;, &quot;2021-11-04&quot;, &quot;2022-06-09&quot;, &quot;2022-06-09&quot;), participant_id = rep(c(&quot;sub-x...
[ { "answer_id": 74361110, "author": "Naser Fazal khan", "author_id": 19313399, "author_profile": "https://Stackoverflow.com/users/19313399", "pm_score": 3, "selected": true, "text": "bids = Bid.objects.all().filter(title=title).values_list(\"price\", flat = True)\n" }, { "answer_i...
2022/11/08
[ "https://Stackoverflow.com/questions/74360956", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18631221/" ]
74,361,034
<p>here are a few rows of my data :</p> <p>dput result :</p> <pre><code> structure(list(A= c(&quot;2&quot;, &quot;1, 2&quot;, &quot;2&quot;, &quot;2&quot;), B= c(&quot;2&quot;, &quot;none&quot;, &quot;1&quot;, &quot;1&quot;)), row.names = 10:13, class = &quot;data.frame&quot;) </code></pre> <p>actual data :</p> <pr...
[ { "answer_id": 74361131, "author": "Tom Hoel", "author_id": 17213355, "author_profile": "https://Stackoverflow.com/users/17213355", "pm_score": 0, "selected": false, "text": "df %>% \n na_if(\"none\") %>% \n mutate(A = A %>% str_replace_all(\"1\", \"currently\") %>% \n ...
2022/11/08
[ "https://Stackoverflow.com/questions/74361034", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19323944/" ]
74,361,048
<p>I am using a for loop to plot a curve for each parameter-value (k) - this works just fine for all the negative k-values, but when the loop reaches the k values = 0 or greater, the lambdify function seems to collapse and I get an error stating the dimensions of x and y are not equal.</p> <p>This is my code:</p> <pre>...
[ { "answer_id": 74361131, "author": "Tom Hoel", "author_id": 17213355, "author_profile": "https://Stackoverflow.com/users/17213355", "pm_score": 0, "selected": false, "text": "df %>% \n na_if(\"none\") %>% \n mutate(A = A %>% str_replace_all(\"1\", \"currently\") %>% \n ...
2022/11/08
[ "https://Stackoverflow.com/questions/74361048", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20449651/" ]
74,361,070
<p>I enjoyed using GitKraken (v8.9) until I updated my current Fedora 36 distribution.</p> <p>After the update, I had the problem that GitKraken crashed every time I wanted to open a repository tab or when I wanted to open the &quot;File/Settings...&quot; view.</p> <p>I've updated GitKraken to the latest version and al...
[ { "answer_id": 74361316, "author": "drhookson", "author_id": 17152242, "author_profile": "https://Stackoverflow.com/users/17152242", "pm_score": 1, "selected": false, "text": "$ sudo dnf remove wine-\\*-fonts\nDependencies resolved.\n======================================================...
2022/11/08
[ "https://Stackoverflow.com/questions/74361070", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17152242/" ]
74,361,073
<p>I have a widget developed with Jetpack Compose and with the Jetpack Glance library, this widget is a LazyColumn list, in which I pass the information after making a query to the Room Database database.</p> <p><a href="https://i.stack.imgur.com/2VI77.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/...
[ { "answer_id": 74584916, "author": "mars8", "author_id": 15597975, "author_profile": "https://Stackoverflow.com/users/15597975", "pm_score": 0, "selected": false, "text": "path Image(\n modifier = GlanceModifier.size(50.dp),\n provider = getImageProvider(LocalContext.current),\n co...
2022/11/08
[ "https://Stackoverflow.com/questions/74361073", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11365133/" ]
74,361,095
<p>Currently I have some code that when selecting a value from a dropdown list will paint a specific path of a svg image.</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 prettyprint-override"><code>var ...
[ { "answer_id": 74362415, "author": "David NoHorizon", "author_id": 19105712, "author_profile": "https://Stackoverflow.com/users/19105712", "pm_score": 1, "selected": false, "text": " function SelectADropdownItem(id, val) {\n var d = document.getElementById(id);\n for (...
2022/11/08
[ "https://Stackoverflow.com/questions/74361095", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12662321/" ]
74,361,120
<p>Please help me with error 'Numeric value '' is not recognized'.</p> <p>In Snowflake i am having a variable day_minus which holds a number, using this i want to return date value of current_date minus the value given in the variable. If there is Null or empty passed in the variable i want to get current date minus 1....
[ { "answer_id": 74361345, "author": "NickW", "author_id": 13658399, "author_profile": "https://Stackoverflow.com/users/13658399", "pm_score": 0, "selected": false, "text": "set day_minus='7';\n set day_minus='7';\n\nDATEADD(DAY, nvl(try_to_number($day_minus),-1),current_date() );\n" } ]
2022/11/08
[ "https://Stackoverflow.com/questions/74361120", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15488631/" ]
74,361,127
<pre><code>loginUsername = input(&quot;Enter Username: &quot;) loginPassword = input(&quot;Enter PASSWORD: &quot;) data=open('database.txt', 'r') accounts = data.readlines() for line in data: accounts = line.split(&quot;,&quot;) if (loginUsername == accounts[0] and loginPassword == accounts[1]): print...
[ { "answer_id": 74361189, "author": "psalt", "author_id": 14234692, "author_profile": "https://Stackoverflow.com/users/14234692", "pm_score": 1, "selected": false, "text": "\\n rstrip() mystring = \"password\\n\"\nprint(mystring.rstrip())\n\n>>> 'password'\n" }, { "answer_id": 743...
2022/11/08
[ "https://Stackoverflow.com/questions/74361127", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20424903/" ]
74,361,130
<p>I was trying to optimize code and wanted to use the <code>.Internal</code> implementation of <code>vapply</code> and got an Error I don't understand. (For now I'll take the warning of <code>?.Internal</code> seriously, that &quot;Only true R wizards should even consider using this function&quot; and use the user vis...
[ { "answer_id": 74361550, "author": "Roland", "author_id": 1412059, "author_profile": "https://Stackoverflow.com/users/1412059", "pm_score": 3, "selected": true, "text": "R_DotsSymbol foo <- function() {\n return(...)\n}\nfoo()\n#Error in foo() : '...' used in an incorrect context\n .Int...
2022/11/08
[ "https://Stackoverflow.com/questions/74361130", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1999873/" ]
74,361,145
<p>I work currently on my todo list.</p> <p>I manged to get the text value from my input but i dont now how to add and element with the text value inside the text area. I want to add the text from my input inside the textarea in the undordered list.</p> <p>Green is the input field and i want to get it from there in the...
[ { "answer_id": 74361550, "author": "Roland", "author_id": 1412059, "author_profile": "https://Stackoverflow.com/users/1412059", "pm_score": 3, "selected": true, "text": "R_DotsSymbol foo <- function() {\n return(...)\n}\nfoo()\n#Error in foo() : '...' used in an incorrect context\n .Int...
2022/11/08
[ "https://Stackoverflow.com/questions/74361145", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16850827/" ]
74,361,146
<p>I am new with the library mathplotlib on python. I have a dataset containing french city with latitude and longitude and a mark between 0 and 10 for each of them. The higher the mark is, the better</p> <p>I want to plot this coordinates on a map, and change the plotting color according to the mark (0 = red, 10 = gre...
[ { "answer_id": 74361550, "author": "Roland", "author_id": 1412059, "author_profile": "https://Stackoverflow.com/users/1412059", "pm_score": 3, "selected": true, "text": "R_DotsSymbol foo <- function() {\n return(...)\n}\nfoo()\n#Error in foo() : '...' used in an incorrect context\n .Int...
2022/11/08
[ "https://Stackoverflow.com/questions/74361146", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5166034/" ]
74,361,148
<p>I'm in my early days of working with C# and threading and I'm in need of a data structure that can store key-value pairs like a dictionary, but after a certain time after being added I want the values to &quot;expire&quot;, or get removed from the dictionary.</p> <p>I have come up with an implementation that seems t...
[ { "answer_id": 74361750, "author": "Mo B.", "author_id": 689923, "author_profile": "https://Stackoverflow.com/users/689923", "pm_score": -1, "selected": false, "text": "lock" }, { "answer_id": 74361753, "author": "Petrusion", "author_id": 14095739, "author_profile": "...
2022/11/08
[ "https://Stackoverflow.com/questions/74361148", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13034244/" ]
74,361,165
<p>I understand destructuring that it unpacks values from array into variables and using square brackets in useState means it is returning two values in that array, first one is value and second one is function that is used to change that value, But I see [] when using custom hook, and It does not make any sense to me ...
[ { "answer_id": 74361250, "author": "T.J. Crowder", "author_id": 157247, "author_profile": "https://Stackoverflow.com/users/157247", "pm_score": 3, "selected": true, "text": "[breeds] useState useBreedList useState export const useBreedList = (animal) => {\n // ...\n return [breedLi...
2022/11/08
[ "https://Stackoverflow.com/questions/74361165", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13100940/" ]
74,361,171
<p>I have an array list of <code>List&lt;string&gt;</code> that contains values in the following order <code>[&quot;1m&quot;, &quot;1cm&quot;, &quot;4km&quot;,&quot;2cm&quot;]</code> (Centimeters, meters and kilometers)</p> <p>When I want to sort this array, I get a wrong answer. I use OrderBy:</p> <pre><code>List&lt;s...
[ { "answer_id": 74361573, "author": "jdweng", "author_id": 5015238, "author_profile": "https://Stackoverflow.com/users/5015238", "pm_score": 0, "selected": false, "text": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Text.RegularEx...
2022/11/08
[ "https://Stackoverflow.com/questions/74361171", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20433637/" ]
74,361,203
<p>So I'm in the process of learning NestJs ways. I have a small NestJs backend with only a few routes. Some of them call postgreSQL. I don't want to use any ORM and directly use pg package. So my next step is learning how to use ConfigService. I have successfully used it to configure all env vars in the backend, but I...
[ { "answer_id": 74363264, "author": "Jay McDoniel", "author_id": 9576186, "author_profile": "https://Stackoverflow.com/users/9576186", "pm_score": 3, "selected": true, "text": "pg PgModule Pool @Module({\n imports: [ConfigModule],\n providers: [\n {\n provide: 'PG_OPTIONS',\n ...
2022/11/08
[ "https://Stackoverflow.com/questions/74361203", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2752520/" ]
74,361,207
<p>I have a case where I have a ViewModel that emits scroll values to a <code>StateFlow</code>. Now, my Composable view should scroll to the most recent value, but I can't figure out how to achieve that.</p> <p>My view model looks something like this:</p> <pre><code>class MyViewModel : ViewModel() { private val scr...
[ { "answer_id": 74361971, "author": "z.y", "author_id": 19023745, "author_profile": "https://Stackoverflow.com/users/19023745", "pm_score": 0, "selected": false, "text": "LaunchedEffect key LaunchedEffect @Composable\nfun MyScrollingView() {\n val viewModel = viewModel()\n\n val scr...
2022/11/08
[ "https://Stackoverflow.com/questions/74361207", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1755847/" ]
74,361,213
<p>I have a scenario where I need to edit very large files and the end result is rather simple, but achieving it has become a bit of a drag on my computer and memory. Due to downstream systems, I cannot load a duplicate file (according to a computed hash) twice. My workaround has been to move the first actual line/reco...
[ { "answer_id": 74362413, "author": "iRon", "author_id": 1701026, "author_profile": "https://Stackoverflow.com/users/1701026", "pm_score": 1, "selected": false, "text": "$Prefix = Read-Host -Prompt \"What do you want to use as the prefix for the updated file names? (The number 1 is the de...
2022/11/08
[ "https://Stackoverflow.com/questions/74361213", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15243610/" ]
74,361,223
<p>I have my footer built as a React component and I am trying to stick it to the bottom of the page. The website that I am building has dynamic content, meaning that some times the content will be 2 lines long and the footer will be in the middle of the page and some times it will be 5 paragraphs long making the foote...
[ { "answer_id": 74362413, "author": "iRon", "author_id": 1701026, "author_profile": "https://Stackoverflow.com/users/1701026", "pm_score": 1, "selected": false, "text": "$Prefix = Read-Host -Prompt \"What do you want to use as the prefix for the updated file names? (The number 1 is the de...
2022/11/08
[ "https://Stackoverflow.com/questions/74361223", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20264406/" ]
74,361,302
<p>Hello guys I'm trying to write a program that generate a random password then cracks is it but I'm getting the error object of type 'NoneType' has no len()</p> <pre class="lang-py prettyprint-override"><code>from random import choice from string import ascii_lowercase def nrndprint(n): k=(''.join(choice(ascii_lo...
[ { "answer_id": 74361355, "author": "Aymen", "author_id": 5165980, "author_profile": "https://Stackoverflow.com/users/5165980", "pm_score": 3, "selected": true, "text": "NoneType nrndprint() return k" }, { "answer_id": 74361397, "author": "Jimpsoni", "author_id": 18195201,...
2022/11/08
[ "https://Stackoverflow.com/questions/74361302", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20155565/" ]
74,361,334
<p>whoever it may concerns</p> <p>Hi, I am jake and I am new to azure cloud . I come from AWS background as part of my new assignments I am trying to connect azure Linux virtual machine using visual studio code as it is a allow connection only from using bastion. I have been establishing connections from weeks and neve...
[ { "answer_id": 74361355, "author": "Aymen", "author_id": 5165980, "author_profile": "https://Stackoverflow.com/users/5165980", "pm_score": 3, "selected": true, "text": "NoneType nrndprint() return k" }, { "answer_id": 74361397, "author": "Jimpsoni", "author_id": 18195201,...
2022/11/08
[ "https://Stackoverflow.com/questions/74361334", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20449785/" ]
74,361,351
<p>In pandas, it is possible to do the following:</p> <pre><code>&lt;class 'pandas.core.frame.DataFrame'&gt; Int64Index: 99919 entries, 0 to 99918 Data columns (total 47 columns): # Column Non-Null Count Dtype --- ------ -------------- ----- 0 rea...
[ { "answer_id": 74361355, "author": "Aymen", "author_id": 5165980, "author_profile": "https://Stackoverflow.com/users/5165980", "pm_score": 3, "selected": true, "text": "NoneType nrndprint() return k" }, { "answer_id": 74361397, "author": "Jimpsoni", "author_id": 18195201,...
2022/11/08
[ "https://Stackoverflow.com/questions/74361351", "https://Stackoverflow.com", "https://Stackoverflow.com/users/991710/" ]
74,361,363
<p>I have this dataframe in R. It has the structure of a pedigree dataframe, with the <code>id</code>, <code>fid</code>, <code>mid</code> and <code>sex</code> columns.</p> <pre><code>pedigree &lt;- structure(list(id = c(212, 214, 263, 266, 273, 274, 275, 279, 280, 281, 286, 287, 312, 313, 314, 315, 316, 317, 318, 319,...
[ { "answer_id": 74361355, "author": "Aymen", "author_id": 5165980, "author_profile": "https://Stackoverflow.com/users/5165980", "pm_score": 3, "selected": true, "text": "NoneType nrndprint() return k" }, { "answer_id": 74361397, "author": "Jimpsoni", "author_id": 18195201,...
2022/11/08
[ "https://Stackoverflow.com/questions/74361363", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3751263/" ]
74,361,396
<p>I want to have a python application (app1) running that loads a bunch of data and functionality on start-up that I will use many many times. To avoid having to restart the application and re-load all that I would like to simply call a function inside that file whenever it is needed from another python application (a...
[ { "answer_id": 74361355, "author": "Aymen", "author_id": 5165980, "author_profile": "https://Stackoverflow.com/users/5165980", "pm_score": 3, "selected": true, "text": "NoneType nrndprint() return k" }, { "answer_id": 74361397, "author": "Jimpsoni", "author_id": 18195201,...
2022/11/08
[ "https://Stackoverflow.com/questions/74361396", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16660380/" ]
74,361,400
<p>I am extending the user model, and it works on my local server but does not work on Heroku, nor does it work on Python anywhere. I am using Postgres. It's a fresh database. I can't even run a makemigration due to this error. My setting file also have the</p> <p>error:</p> <pre><code>(mysite-virtualenv) 06:21 ~/go-a...
[ { "answer_id": 74362290, "author": "Jovan Vuchkov", "author_id": 13774703, "author_profile": "https://Stackoverflow.com/users/13774703", "pm_score": 0, "selected": false, "text": "INSTALLED_APPS settings.py django.contrib.auth django.contrib" } ]
2022/11/08
[ "https://Stackoverflow.com/questions/74361400", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10672167/" ]
74,361,483
<p>I am trying to implement a simple LDAP authentication in my Symfony application.</p> <p>A user should first be authenticated against LDAP, whereby a custom user entity should be returned from the database.</p> <p>If a user is not in the database but could be authenticated successfully, I want to create the user.</p>...
[ { "answer_id": 74382061, "author": "Lubna Altungi", "author_id": 18530022, "author_profile": "https://Stackoverflow.com/users/18530022", "pm_score": 1, "selected": false, "text": " <div>\n {{ form_row(user_form.uid, { label: 'UID :*',\n required: 'true',\n at...
2022/11/08
[ "https://Stackoverflow.com/questions/74361483", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2117102/" ]
74,361,502
<p>I have been getting the error:</p> <blockquote> <p>Exception: Too many simultaneous invocations: Spreadsheets</p> </blockquote> <p>I have looked on the <a href="https://developers.google.com/apps-script/guides/services/quotas#exception_messages" rel="nofollow noreferrer">quota page</a> and it doesn't say anything ab...
[ { "answer_id": 74382061, "author": "Lubna Altungi", "author_id": 18530022, "author_profile": "https://Stackoverflow.com/users/18530022", "pm_score": 1, "selected": false, "text": " <div>\n {{ form_row(user_form.uid, { label: 'UID :*',\n required: 'true',\n at...
2022/11/08
[ "https://Stackoverflow.com/questions/74361502", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17386103/" ]
74,361,506
<p>I have data resembling the following structure, where the <code>when</code> variable denotes the day of measurement:</p> <pre><code>## Generate data. set.seed(1986) n &lt;- 1000 y &lt;- rnorm(n) when &lt;- as.POSIXct(strftime(seq(as.POSIXct(&quot;2021-11-01 23:00:00 UTC&quot;, tryFormats = &quot;%Y-%m-%d&quot;), ...
[ { "answer_id": 74361561, "author": "r2evans - GO NAVY BEAT ARMY", "author_id": 3358272, "author_profile": "https://Stackoverflow.com/users/3358272", "pm_score": 3, "selected": true, "text": "%V ?strptime dta %>%\n group_by(week = format(when, format = \"%Y-%V\")) %>%\n summarize(daily_...
2022/11/08
[ "https://Stackoverflow.com/questions/74361506", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17692083/" ]
74,361,513
<p>I have a relationship as follows:</p> <pre class="lang-rb prettyprint-override"><code>class Trip &lt; ApplicationRecord has_many :trip_destinations, dependent: :destroy end class TripDestination &lt; ApplicationRecord belongs_to :trip validates :start_date, presence: true validates :end_date, presence: t...
[ { "answer_id": 74362060, "author": "Slth", "author_id": 16907209, "author_profile": "https://Stackoverflow.com/users/16907209", "pm_score": 0, "selected": false, "text": "Trip.joins(:trip_destinations)\n .where(\n \"(\n trip_destinations.start_date = (\n SELECT MI...
2022/11/08
[ "https://Stackoverflow.com/questions/74361513", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14716103/" ]
74,361,523
<p>hey guys i have a problem im making a timer in tkinter but i cant use <code>time.sleep()</code> so i use <code>.after()</code> and i have new problem,I made an entry that I want the entry number to be * 60 and after the set time, a text will be written that says <code>&gt;&gt; time is over!</code> ,but then, how sh...
[ { "answer_id": 74361591, "author": "Ahmed AEK", "author_id": 15649230, "author_profile": "https://Stackoverflow.com/users/15649230", "pm_score": 0, "selected": false, "text": ".after from tkinter import * \nfrom playsound import playsound\nfrom time import sleep\nimport time\n\nMILLISECO...
2022/11/08
[ "https://Stackoverflow.com/questions/74361523", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20310213/" ]
74,361,544
<p>I'm trying to load data from the ExactOnline API into a spark DataFrame. Data comes out of the API in a <em>very</em> ugly format. I have multiple lines of valid JSON objects in one JSON file. One line of JSON looks as follows:</p> <pre class="lang-json prettyprint-override"><code>{ &quot;d&quot;: { &quo...
[ { "answer_id": 74361662, "author": "samkart", "author_id": 8279585, "author_profile": "https://Stackoverflow.com/users/8279585", "pm_score": 2, "selected": false, "text": "spark.read.json() multiLine inline json_sdf = spark.read.option(\"multiLine\", \"true\").json(\n \"./drive/MyDriv...
2022/11/08
[ "https://Stackoverflow.com/questions/74361544", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7253901/" ]
74,361,580
<p>We were trying to publish the Allure report generated as part of our AzureDevops build pipeline and it seems Azuredevops has some limitations to publish the report and get a tab to analyze as part of the build output. So as per the <a href="https://marketplace.visualstudio.com/items?itemName=Molecula.allure-test-rep...
[ { "answer_id": 74443268, "author": "Vowneee", "author_id": 16092023, "author_profile": "https://Stackoverflow.com/users/16092023", "pm_score": 2, "selected": true, "text": "az webapp deploy --resource-group 'rg' --name 'apss' --src-path '$(System.DefaultWorkingDirectory)/$(Build.BuildId)...
2022/11/08
[ "https://Stackoverflow.com/questions/74361580", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16092023/" ]
74,361,593
<p>I do not understand why the <code>&amp;</code> in <code>&amp;x</code> in the following Rust syntax actually copies the value behind a reference, hence, makes an owned value. In some sort, the <code>&amp;</code> performs an &quot;upgrade&quot; of the value here, surprisingly. I expected that <code>&amp;</code> would ...
[ { "answer_id": 74361761, "author": "Chayim Friedman", "author_id": 7884305, "author_profile": "https://Stackoverflow.com/users/7884305", "pm_score": 2, "selected": false, "text": "& & let &x = &y; // Take reference on the expression, dereference on the pattern. At the end x == y.\n" },...
2022/11/08
[ "https://Stackoverflow.com/questions/74361593", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2891595/" ]
74,361,612
<p>I need to replace multiple literals by digits in a string like &quot;FF432423FA112&quot;. &quot;A&quot;=0, &quot;B&quot;=1 etc. I've tried to do it in a loop like but it didn't work. Tried also with char array</p> <pre><code>String test = &quot;FF432423FA112&quot;; String[] letters = {&quot;A&quot;,&quot;B&quot;,&qu...
[ { "answer_id": 74361761, "author": "Chayim Friedman", "author_id": 7884305, "author_profile": "https://Stackoverflow.com/users/7884305", "pm_score": 2, "selected": false, "text": "& & let &x = &y; // Take reference on the expression, dereference on the pattern. At the end x == y.\n" },...
2022/11/08
[ "https://Stackoverflow.com/questions/74361612", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
74,361,633
<p>I have a stream and I would like to extract one value based on the condition :</p> <ul> <li>If any match condition A find first that match A</li> <li>Else if any match condition B find first that match B</li> <li>Else if any match condition C find first that match C</li> <li>Else null</li> </ul> <p>For example :</p>...
[ { "answer_id": 74361817, "author": "Alexander Ivanchenko", "author_id": 17949945, "author_profile": "https://Stackoverflow.com/users/17949945", "pm_score": 2, "selected": true, "text": "IllegalStateException LinkedHashMap private static <T> T findBestValue(Stream<T> stream,\n ...
2022/11/08
[ "https://Stackoverflow.com/questions/74361633", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10038235/" ]