qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
74,660,809
<p>I have a page with a table and dynamic filters in it. When a filter changes, I need to redirect to the current page with a new or updated query parameter. For example, if I'm in the <code>/users</code> route and the name &quot;John&quot; is being searched, I need to redirect to <code>/users?name=john</code>. If I wa...
[ { "answer_id": 74663956, "author": "Brandon Pugh", "author_id": 1715138, "author_profile": "https://Stackoverflow.com/users/1715138", "pm_score": 1, "selected": false, "text": "NavManager Microsoft.AspNetCore.WebUtilities ParseQuery protected override void OnInitialized()\n {\n ...
2022/12/02
[ "https://Stackoverflow.com/questions/74660809", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19363672/" ]
74,660,815
<p>Working in Google AppsScript, specifically for an add-on, and I'm defining the SHEET_NAME as a const. Specifically:</p> <pre><code>const SHEET_NAME=&quot;Values&quot; </code></pre> <p>Since Google Sheets has a default name of &quot;Sheet1&quot; for all worksheets can I also make SHEET_NAME be associated to either &q...
[ { "answer_id": 74663956, "author": "Brandon Pugh", "author_id": 1715138, "author_profile": "https://Stackoverflow.com/users/1715138", "pm_score": 1, "selected": false, "text": "NavManager Microsoft.AspNetCore.WebUtilities ParseQuery protected override void OnInitialized()\n {\n ...
2022/12/02
[ "https://Stackoverflow.com/questions/74660815", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20368159/" ]
74,660,923
<p>pthread_kill() funktion terminates my program every time I launch it after a creation of a thread and try to send a SIGALRM signal. By the way, it works if I add a sleep() function before pthread_kill(). Then I add sleep() function in thread, because it terminates earlier then sending a signal.</p> <pre><code>void* ...
[ { "answer_id": 74663956, "author": "Brandon Pugh", "author_id": 1715138, "author_profile": "https://Stackoverflow.com/users/1715138", "pm_score": 1, "selected": false, "text": "NavManager Microsoft.AspNetCore.WebUtilities ParseQuery protected override void OnInitialized()\n {\n ...
2022/12/02
[ "https://Stackoverflow.com/questions/74660923", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20378980/" ]
74,660,943
<p>I am supposed to write a program that processes a sequence of 100 positive numbers. The program should have 3 different functions, which could be chosen from a menu.</p> <ol> <li><p>Generate a number sequence with a random generator and print the numbers on the screen. The numbers generated should be in the range 0 ...
[ { "answer_id": 74663956, "author": "Brandon Pugh", "author_id": 1715138, "author_profile": "https://Stackoverflow.com/users/1715138", "pm_score": 1, "selected": false, "text": "NavManager Microsoft.AspNetCore.WebUtilities ParseQuery protected override void OnInitialized()\n {\n ...
2022/12/02
[ "https://Stackoverflow.com/questions/74660943", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20669753/" ]
74,660,956
<p>I want to copy specific content from the page, rather than the HTML itself. And the execCommand method, is deprecated, I tried with useRef(), but no progress</p> <p>How i solve this?</p> <pre><code> const div = useRef(null); const [copySuccess, setCopySuccess] = useState(false); const copyToClipboard = () =&gt; {...
[ { "answer_id": 74663956, "author": "Brandon Pugh", "author_id": 1715138, "author_profile": "https://Stackoverflow.com/users/1715138", "pm_score": 1, "selected": false, "text": "NavManager Microsoft.AspNetCore.WebUtilities ParseQuery protected override void OnInitialized()\n {\n ...
2022/12/02
[ "https://Stackoverflow.com/questions/74660956", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18983132/" ]
74,660,989
<blockquote> <p>Write a class named <code>Die</code> that simulates rolling dice. The <code>Die</code> class should have one private data attribute named <code>__value</code>. It should also have the following methods:</p> <ul> <li><code>__init__</code> : The <code>__init__</code> method should assign 1 to the <code>...
[ { "answer_id": 74663956, "author": "Brandon Pugh", "author_id": 1715138, "author_profile": "https://Stackoverflow.com/users/1715138", "pm_score": 1, "selected": false, "text": "NavManager Microsoft.AspNetCore.WebUtilities ParseQuery protected override void OnInitialized()\n {\n ...
2022/12/02
[ "https://Stackoverflow.com/questions/74660989", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18123819/" ]
74,660,990
<p>I have below inputs</p> <p><strong>input 1</strong>:</p> <pre><code>[{ &quot;id&quot;: &quot;3857&quot; }, { &quot;id&quot;: &quot;57&quot; }] </code></pre> <p><strong>input 2</strong>:</p> <pre><code>[{ &quot;Date&quot;: &quot;2022-11-30&quot;, &quot;name&quot;: &quot;salesorder&quot;, &quot;bra...
[ { "answer_id": 74661698, "author": "aled", "author_id": 721855, "author_profile": "https://Stackoverflow.com/users/721855", "pm_score": 2, "selected": true, "text": "$$ %dw 2.0\noutput application/json\nvar input1=[{\"id\": \"3857\"},{\"id\": \"57\"}]\nvar input2=[{\"Date\": \"2022-11-30...
2022/12/02
[ "https://Stackoverflow.com/questions/74660990", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18239846/" ]
74,660,993
<p>I have a 2D gaussian function <code>f(x,y)</code>. I know the values <code>x₀</code> and <code>y₀</code> at which the peak <code>g₀</code> of the function occurs. But then I want to find <code>xₑ</code> and <code>yₑ</code> values at which <code>f(xₑ, yₑ) = g₀ / e¹</code>. I know there are multiple solutions to this,...
[ { "answer_id": 74661672, "author": "Cyzanfar", "author_id": 3307520, "author_profile": "https://Stackoverflow.com/users/3307520", "pm_score": 1, "selected": false, "text": "from scipy.optimize import fsolve\n\n# Define the function f(x, y)\ndef f(x, y, g0, x0, y0, sigma_x, sigma_y, offse...
2022/12/02
[ "https://Stackoverflow.com/questions/74660993", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12985747/" ]
74,661,003
<p>I want to send ether from one walet to another…what technique to use and what is the safest method to do so? wallet A(msg.sender)=10ether wallet B=10ether with the help of smart contract send 'x' ether from A to B.</p> <p>I tried where 'x' is the varaible ether at different times. =&gt;payable().transfer(msg.value);...
[ { "answer_id": 74661672, "author": "Cyzanfar", "author_id": 3307520, "author_profile": "https://Stackoverflow.com/users/3307520", "pm_score": 1, "selected": false, "text": "from scipy.optimize import fsolve\n\n# Define the function f(x, y)\ndef f(x, y, g0, x0, y0, sigma_x, sigma_y, offse...
2022/12/02
[ "https://Stackoverflow.com/questions/74661003", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18026681/" ]
74,661,015
<p>First, apologies if this sounds too basic. I have the following semi-structured data in text format, I need to parse these into a structured format: example:</p> <pre><code>Name Alex Address 14 high street London Color blue red Name Bob Color black </code></pre> <p>**Note that Alex has two colors, while Bob does...
[ { "answer_id": 74661172, "author": "Andrej Kesely", "author_id": 10035985, "author_profile": "https://Stackoverflow.com/users/10035985", "pm_score": 3, "selected": true, "text": "s = \"\"\"\\\nName\nAlex\n\nAddress\n14 high street\nLondon\n\nColor\nblue\nred\n\nName\n\nBob\nColor\nblack\...
2022/12/02
[ "https://Stackoverflow.com/questions/74661015", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14889338/" ]
74,661,025
<p>I have a dataframe that has duplicates based on their identifying ID, but some of the columns are different. I'd like to keep the rows (or the duplicates) that have the extra bit of info. The structure of the df is as such.</p> <pre><code>id &lt;- c(&quot;3235453&quot;, &quot;3235453&quot;, &quot;21354315&quot;, &qu...
[ { "answer_id": 74661172, "author": "Andrej Kesely", "author_id": 10035985, "author_profile": "https://Stackoverflow.com/users/10035985", "pm_score": 3, "selected": true, "text": "s = \"\"\"\\\nName\nAlex\n\nAddress\n14 high street\nLondon\n\nColor\nblue\nred\n\nName\n\nBob\nColor\nblack\...
2022/12/02
[ "https://Stackoverflow.com/questions/74661025", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19989813/" ]
74,661,034
<p>I'm trying to learn some flutter programming and I'm facing a problem, when I run the program I don't get the information on the screen at the first time, I mean the data is retreived from firestore but I have to reload the page several times to show the data on the screen, what might be happening I am using FutureB...
[ { "answer_id": 74661172, "author": "Andrej Kesely", "author_id": 10035985, "author_profile": "https://Stackoverflow.com/users/10035985", "pm_score": 3, "selected": true, "text": "s = \"\"\"\\\nName\nAlex\n\nAddress\n14 high street\nLondon\n\nColor\nblue\nred\n\nName\n\nBob\nColor\nblack\...
2022/12/02
[ "https://Stackoverflow.com/questions/74661034", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16564884/" ]
74,661,056
<p>As a beginner in Ruby, is there a quick to extract the first and second number from this string <code>5.16.0.0-15</code>? In this case, I am looking <code>5</code> and <code>16</code>. Thanks</p>
[ { "answer_id": 74661172, "author": "Andrej Kesely", "author_id": 10035985, "author_profile": "https://Stackoverflow.com/users/10035985", "pm_score": 3, "selected": true, "text": "s = \"\"\"\\\nName\nAlex\n\nAddress\n14 high street\nLondon\n\nColor\nblue\nred\n\nName\n\nBob\nColor\nblack\...
2022/12/02
[ "https://Stackoverflow.com/questions/74661056", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15217560/" ]
74,661,100
<p>I have a dimensional array and I would like to order it by expiryDate ascending and keep the ones with the null value last</p> <p>here is my array:</p> <pre><code>$lessons = [ [ &quot;expiryDate&quot; =&gt; Null ], [ &quot;expiryDate&quot; =&gt; &quot;2023-11-27&quot;...
[ { "answer_id": 74661172, "author": "Andrej Kesely", "author_id": 10035985, "author_profile": "https://Stackoverflow.com/users/10035985", "pm_score": 3, "selected": true, "text": "s = \"\"\"\\\nName\nAlex\n\nAddress\n14 high street\nLondon\n\nColor\nblue\nred\n\nName\n\nBob\nColor\nblack\...
2022/12/02
[ "https://Stackoverflow.com/questions/74661100", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15187482/" ]
74,661,120
<p>I need to make a form with 2 input fields. When you press submit it should take you to a new page and display the input data.</p> <p>This is my html code</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html lang=&quot;en&quot;&gt; &lt;head&gt; &lt;meta charset=&quot;UTF-8&quot; /&gt; &lt;meta http-equiv=&quot;X-U...
[ { "answer_id": 74661172, "author": "Andrej Kesely", "author_id": 10035985, "author_profile": "https://Stackoverflow.com/users/10035985", "pm_score": 3, "selected": true, "text": "s = \"\"\"\\\nName\nAlex\n\nAddress\n14 high street\nLondon\n\nColor\nblue\nred\n\nName\n\nBob\nColor\nblack\...
2022/12/02
[ "https://Stackoverflow.com/questions/74661120", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20077666/" ]
74,661,123
<p>I have tried to use the 'quit()' function in python and the spyder's compiler keep says me &quot;quit&quot; is not defined</p> <pre class="lang-py prettyprint-override"><code>print(&quot;Welcome to my computer quiz&quot;) playing = input(&quot;Do you want to play? &quot;) if (playing != &quot;yes&quot; ): quit...
[ { "answer_id": 74661152, "author": "Thomas Weller", "author_id": 480982, "author_profile": "https://Stackoverflow.com/users/480982", "pm_score": 1, "selected": true, "text": "print(\"Welcome to my computer quiz\")\n\nplaying = input(\"Do you want to play? \")\n\nif (playing == \"yes\" ):...
2022/12/02
[ "https://Stackoverflow.com/questions/74661123", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20669866/" ]
74,661,125
<p>I am having trouble with a bootstrap 5 accordion. They all expand without issue but won't collapse back down. I don't know if my JS or CSS is causing an issue. I don't see any errors in Chrome's console.</p> <p><a href="https://www.harpercollege.edu/dev/whoward-dev-area/df.php" rel="nofollow noreferrer">https://www....
[ { "answer_id": 74661249, "author": "TC_Guy", "author_id": 19597666, "author_profile": "https://Stackoverflow.com/users/19597666", "pm_score": 1, "selected": false, "text": ".FAQ {\n margin: 0 auto;\n max-width: 100%;\n}\n\n.FAQcard {\n margin: 10px 0;\n position: relative;\n}...
2022/12/02
[ "https://Stackoverflow.com/questions/74661125", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8641435/" ]
74,661,127
<p>I create different <code>numpy</code> arrays as follows:</p> <pre class="lang-py prettyprint-override"><code>import numpy as np a = np.array([[1,2,3],[1,2,3]]) # 2d array of integers b = np.array([[1,2,3],[1,2,5.0]]) # 2d array of floats c = np.array([1,2,3,4,5,6,7,8,9]) # 1d array of integers d = np.array([10...
[ { "answer_id": 74661258, "author": "sj95126", "author_id": 13843268, "author_profile": "https://Stackoverflow.com/users/13843268", "pm_score": 2, "selected": false, "text": ".data >>> d.data\n<memory at 0x6ffff70bddc0>\n>>> d.data\n<memory at 0x6ffff70bdb80>\n>>> d.data\n<memory at 0x6ff...
2022/12/02
[ "https://Stackoverflow.com/questions/74661127", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7318120/" ]
74,661,141
<p>I faced a problem with React CSS. My server is picking up, but my CSS properties are not working on my component. How can I fix this problem? I tried many ways to figure it out but I didn't get a good response.</p> <p><code>App.js</code> file codes:</p> <pre><code>import styles from &quot;./App.module.css&quot;; imp...
[ { "answer_id": 74661177, "author": "kenan238", "author_id": 13339604, "author_profile": "https://Stackoverflow.com/users/13339604", "pm_score": 1, "selected": false, "text": "import ... from ... import ./App.module.css import from" }, { "answer_id": 74661180, "author": "David...
2022/12/02
[ "https://Stackoverflow.com/questions/74661141", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19584644/" ]
74,661,146
<p>I am learning Java and I have some difficulties with the package mechanism. I have different classes in a package. I compiled it right but when I execute the Main file I have a different behavior. <em>Music3</em> is the file where is the main method.</p> <pre><code>andrea@andrea:~/Documenti/java$ java -Xdiag -cp cl...
[ { "answer_id": 74661198, "author": "rzwitserloot", "author_id": 768644, "author_profile": "https://Stackoverflow.com/users/768644", "pm_score": -1, "selected": false, "text": "java java -Xdiag -cp class source.Music3 project/src/sposito/Music3.java package sposito; project/class/sposito/...
2022/12/02
[ "https://Stackoverflow.com/questions/74661146", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17050000/" ]
74,661,176
<p><a href="https://pastebin.com/ZViCXL2b" rel="nofollow noreferrer">Grades.txt file</a></p> <p>I am currently trying to finish a assignment but I am confused on how to fix this error. I am creating a program that will analyzes grades from a file and should calculate the average score for each distinct section (given)....
[ { "answer_id": 74661217, "author": "CodingClown", "author_id": 20669969, "author_profile": "https://Stackoverflow.com/users/20669969", "pm_score": 1, "selected": true, "text": "grade grade grade sections[sec][\"total\"] += grades[grade]\n grades = {'A': 100, 'B': 89, 'C': 79, 'D': 74, 'F...
2022/12/02
[ "https://Stackoverflow.com/questions/74661176", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20669921/" ]
74,661,219
<p>I have 2 dataframes with same columns and indexes.</p> <pre><code> a a 1 [] 1 [5,2,7] 2 [1,2,3] 2 [1,2,3,4] 3 [7] 3 [7,5] </code></pre> <p>I want to merge them using condition, when length of list is &lt;=1 then take value and add it to 1st data frame, else left old ...
[ { "answer_id": 74661217, "author": "CodingClown", "author_id": 20669969, "author_profile": "https://Stackoverflow.com/users/20669969", "pm_score": 1, "selected": true, "text": "grade grade grade sections[sec][\"total\"] += grades[grade]\n grades = {'A': 100, 'B': 89, 'C': 79, 'D': 74, 'F...
2022/12/02
[ "https://Stackoverflow.com/questions/74661219", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9631920/" ]
74,661,270
<p>The script is this</p> <pre><code>#!/bin/bash echo echo &quot;################################################################&quot; echo &quot; Installing Htop &quot; echo &quot;################################################################&quot; echo if ! location...
[ { "answer_id": 74661325, "author": "choroba", "author_id": 1030675, "author_profile": "https://Stackoverflow.com/users/1030675", "pm_score": 3, "selected": true, "text": "! location=... $location $(...) type -p htop htop $PATH htop htop $location sudo apt install -y htop apt htop yes" ...
2022/12/02
[ "https://Stackoverflow.com/questions/74661270", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19806392/" ]
74,661,277
<p>I have a JSON file. While the original file is quite large, I reduced to a much smaller reproducible example for the purposes of this question (I still get the same error no matter what size):</p> <pre><code>{ &quot;relationships_followers&quot;: [ { &quot;title&quot;: &quot;&quot;, &quot;media_lis...
[ { "answer_id": 74661383, "author": "Ric Villalba", "author_id": 6912817, "author_profile": "https://Stackoverflow.com/users/6912817", "pm_score": 3, "selected": true, "text": "df<- as.data.frame(do.call(rbind, lapply(\n lapply(result$relationships_followers, \"[[\", \"string_list_data\"...
2022/12/02
[ "https://Stackoverflow.com/questions/74661277", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5468495/" ]
74,661,312
<p>I made some changes on my branch, I fetched changes and ran 'git merge'. I then made more local changes and wanted to amend my commit: git commit --amend. But when trying to push I received that error:</p> <pre><code>remote: error: GH006: Protected branch update failed for refs/heads/v1. remote: error: This branch m...
[ { "answer_id": 74661383, "author": "Ric Villalba", "author_id": 6912817, "author_profile": "https://Stackoverflow.com/users/6912817", "pm_score": 3, "selected": true, "text": "df<- as.data.frame(do.call(rbind, lapply(\n lapply(result$relationships_followers, \"[[\", \"string_list_data\"...
2022/12/02
[ "https://Stackoverflow.com/questions/74661312", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9195085/" ]
74,661,326
<p>I'm using <a href="https://flet.dev/" rel="nofollow noreferrer">Flet</a> and I want for my app to launch a link when clicking on a button.</p> <p>According to the docs, I can use <a href="https://flet.dev/docs/controls/page/#launch_urlurl" rel="nofollow noreferrer"><code>launch_url</code></a> method. But when I trie...
[ { "answer_id": 74661383, "author": "Ric Villalba", "author_id": 6912817, "author_profile": "https://Stackoverflow.com/users/6912817", "pm_score": 3, "selected": true, "text": "df<- as.data.frame(do.call(rbind, lapply(\n lapply(result$relationships_followers, \"[[\", \"string_list_data\"...
2022/12/02
[ "https://Stackoverflow.com/questions/74661326", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13617136/" ]
74,661,344
<p>I need to create a code using loops to ask for user input on certain values. Of those values I need to ask the user if they want me to find the smallest or largest number or just end the program. If the number -1000 is entered in the program the program ends. Basically how do I link my menu of options to a the actua...
[ { "answer_id": 74661383, "author": "Ric Villalba", "author_id": 6912817, "author_profile": "https://Stackoverflow.com/users/6912817", "pm_score": 3, "selected": true, "text": "df<- as.data.frame(do.call(rbind, lapply(\n lapply(result$relationships_followers, \"[[\", \"string_list_data\"...
2022/12/02
[ "https://Stackoverflow.com/questions/74661344", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670022/" ]
74,661,359
<p>I am creating a security group that has some standard ingress rules. I also want to add additional ingress rules based on a variable.</p> <pre><code>variable &quot;additional_ingress&quot; { type = list(object({ protocol = string from_port = string to_port = string cidr_blocks = list(strin...
[ { "answer_id": 74661627, "author": "Matt Schuchard", "author_id": 5343387, "author_profile": "https://Stackoverflow.com/users/5343387", "pm_score": 2, "selected": false, "text": "aws_security_group_rule for_each resource \"aws_security_group_rule\" \"ec2\" {\n for_each = var.additional_...
2022/12/02
[ "https://Stackoverflow.com/questions/74661359", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3862378/" ]
74,661,376
<p>I have a vector of numbers that contain some gaps. For example,</p> <pre><code>vec &lt;- c(3,1,7,3,5,7) </code></pre> <p>So, there are 4 different values and I would like to transform it into a vector of values (without gaps) indicating the order of the entry while respecting the same position. So, in this case, I w...
[ { "answer_id": 74661627, "author": "Matt Schuchard", "author_id": 5343387, "author_profile": "https://Stackoverflow.com/users/5343387", "pm_score": 2, "selected": false, "text": "aws_security_group_rule for_each resource \"aws_security_group_rule\" \"ec2\" {\n for_each = var.additional_...
2022/12/02
[ "https://Stackoverflow.com/questions/74661376", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8384166/" ]
74,661,388
<p>I have the following three dictionaries within a list like so:</p> <pre><code>dict1 = {'key1':'x', 'key2':['one', 'two', 'three']} dict2 = {'key1':'x', 'key2':['four', 'five', 'six']} dict3 = {'key1':'y', 'key2':['one', 'two', 'three']} list = [dict1, dict2, dict3] </code></pre> <p>I'd like to merge the dictionar...
[ { "answer_id": 74661438, "author": "Samwise", "author_id": 3799759, "author_profile": "https://Stackoverflow.com/users/3799759", "pm_score": 0, "selected": false, "text": "key1 key2 >>> my_dicts = [\n... {'key1':'x', 'key2':['one', 'two', 'three']},\n... {'key1':'x', 'key2':['fou...
2022/12/02
[ "https://Stackoverflow.com/questions/74661388", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9278515/" ]
74,661,400
<p>In my attempts to compile a single-file binary that leverages <a href="https://www.nuget.org/packages/Microsoft.Data.Sqlite" rel="nofollow noreferrer">Microsoft.Data.Sqlite</a>, I am consistently left with <em><strong>two files</strong></em> that are both required for the application to work.</p> <ol> <li><code>{Pro...
[ { "answer_id": 74663407, "author": "pim", "author_id": 2421277, "author_profile": "https://Stackoverflow.com/users/2421277", "pm_score": 2, "selected": false, "text": "IncludeNativeLibrariesForSelfExtract true <Project Sdk=\"Microsoft.NET.Sdk\">\n <PropertyGroup>\n <SelfContained>tru...
2022/12/02
[ "https://Stackoverflow.com/questions/74661400", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2421277/" ]
74,661,427
<p>i am using Better Player (<a href="https://pub.dev/packages/better_player" rel="nofollow noreferrer">https://pub.dev/packages/better_player</a>) to create several video players in list view.</p> <pre><code>ListView.builder( shrinkWrap: true, physics: const NeverScrollableScrollPhysics(), addAutomaticKeepAlives: true...
[ { "answer_id": 74663407, "author": "pim", "author_id": 2421277, "author_profile": "https://Stackoverflow.com/users/2421277", "pm_score": 2, "selected": false, "text": "IncludeNativeLibrariesForSelfExtract true <Project Sdk=\"Microsoft.NET.Sdk\">\n <PropertyGroup>\n <SelfContained>tru...
2022/12/02
[ "https://Stackoverflow.com/questions/74661427", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7370436/" ]
74,661,428
<p><strong>I have the following query:</strong> that is trying to get pt_ids that have certain diagnosis codes OR certain outcome_codes. I have accounted for these conditions by including the specific codes I'd like in the WHERE clause. However, I would like to know if I can also do this using in INNER JOIN.</p> <pre><...
[ { "answer_id": 74661624, "author": "Kevin", "author_id": 19038, "author_profile": "https://Stackoverflow.com/users/19038", "pm_score": 0, "selected": false, "text": "SELECT DISTINCT pt_id\nFROM #df\nINNER JOIN #df_codes ON (\n #df.diagnosis = #df_codes.code\n AND #df_codes....
2022/12/02
[ "https://Stackoverflow.com/questions/74661428", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19852587/" ]
74,661,445
<p>I am new to <code>bash</code>. I have a question about determining if all characters of one string occur within another string. For example, if the variables are:</p> <pre class="lang-bash prettyprint-override"><code>var_1=&quot;abcdefg&quot; var_2=&quot;bcg&quot; </code></pre> <p>Then I want to write an <code>if</c...
[ { "answer_id": 74661882, "author": "Enlico", "author_id": 5825294, "author_profile": "https://Stackoverflow.com/users/5825294", "pm_score": 2, "selected": false, "text": "echo -e \"$var_2\\0$var_1\" | sed -E ':a;s/(.)(.*\\x0)(.*)\\1(.*)/\\2\\3\\4/;ta;s/^\\x0.*/1/;s/.*\\x0.*/0/'\n 0 1 ech...
2022/12/02
[ "https://Stackoverflow.com/questions/74661445", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670027/" ]
74,661,451
<p>I have a Shiny app that takes a dataset and filters it through several user inputs. To do this, I use selectizeInput functions where the user can select one or many options from a list and then these selections are run through reactive statements to get the desired final dataset. I've noticed recently that this no l...
[ { "answer_id": 74661518, "author": "MrFlick", "author_id": 2372064, "author_profile": "https://Stackoverflow.com/users/2372064", "pm_score": 2, "selected": true, "text": "%in% filter if(input$carb == \"All\") {data}\n carb if(\"All\" %in% input$carb) {data}\n" }, { "answer_id": 7...
2022/12/02
[ "https://Stackoverflow.com/questions/74661451", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12270320/" ]
74,661,460
<p>The timestamps my database returns are in this format:</p> <pre><code>'2022-11-25T17:54:29.819Z' </code></pre> <p>I want to do hour(timestamp) to return just the hour but get this error</p> <pre><code>'error:&quot;function hour(timestamp with time zone) does not exist&quot;' </code></pre> <p>How do I get around this...
[ { "answer_id": 74661518, "author": "MrFlick", "author_id": 2372064, "author_profile": "https://Stackoverflow.com/users/2372064", "pm_score": 2, "selected": true, "text": "%in% filter if(input$carb == \"All\") {data}\n carb if(\"All\" %in% input$carb) {data}\n" }, { "answer_id": 7...
2022/12/02
[ "https://Stackoverflow.com/questions/74661460", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10869169/" ]
74,661,465
<p>I have a dataframe in the following where Day_1, Day_2, Day_3 are the number of impressions in the past 3 days.</p> <pre><code>df = pd.DataFrame({'Day_1': [2, 4, 8, 0], 'Day_2': [2, 0, 0, 0], 'Day_3': [1, 1, 0, 0], index=['user1', 'user2', 'user3', 'user4']) df...
[ { "answer_id": 74661518, "author": "MrFlick", "author_id": 2372064, "author_profile": "https://Stackoverflow.com/users/2372064", "pm_score": 2, "selected": true, "text": "%in% filter if(input$carb == \"All\") {data}\n carb if(\"All\" %in% input$carb) {data}\n" }, { "answer_id": 7...
2022/12/02
[ "https://Stackoverflow.com/questions/74661465", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15171387/" ]
74,661,466
<p>Any simple link to an external site from my Blazor Server site works....but while the site loads the user sees the Blazor &quot;Attempting to reconnect to the server: 1 of 8&quot; message first.</p> <p>How do I get rid of that and provide a more seamless experience?</p> <p>I have tried coding my own javascript exit ...
[ { "answer_id": 74661518, "author": "MrFlick", "author_id": 2372064, "author_profile": "https://Stackoverflow.com/users/2372064", "pm_score": 2, "selected": true, "text": "%in% filter if(input$carb == \"All\") {data}\n carb if(\"All\" %in% input$carb) {data}\n" }, { "answer_id": 7...
2022/12/02
[ "https://Stackoverflow.com/questions/74661466", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3895134/" ]
74,661,480
<p>I have two Tcl lists of equal length, <code>u</code> and <code>v</code>. Many of the entries in <code>u</code> are known to be identical. For every unique entry in <code>u</code>, I would like to average over the corresponding entries in <code>v</code>. So, if my lists are <code>{1 2 1 2}</code> and <code>{1 2 3 4}<...
[ { "answer_id": 74661512, "author": "Begging", "author_id": 16606223, "author_profile": "https://Stackoverflow.com/users/16606223", "pm_score": 1, "selected": true, "text": "# Create an array to store the sums of the corresponding entries in v\narray set sums {}\n\n# Loop through the entr...
2022/12/02
[ "https://Stackoverflow.com/questions/74661480", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20524827/" ]
74,661,513
<p>I am trying to create a table of elements (structs) where each element contains a dynamic list of enums in C. However, it seems this is not possible in C as I keep getting the following error:</p> <pre><code>error: initialization of flexible array member in a nested context </code></pre> <p>Here is a small sample of...
[ { "answer_id": 74661561, "author": "dbush", "author_id": 1687119, "author_profile": "https://Stackoverflow.com/users/1687119", "pm_score": 1, "selected": false, "text": "net_list char -fshort-enums" }, { "answer_id": 74661790, "author": "0___________", "author_id": 611009...
2022/12/02
[ "https://Stackoverflow.com/questions/74661513", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2399465/" ]
74,661,523
<p>I have two vectors and I am trying to find all unique combinations of 3 elements from vector1 and 2 elements from vector2. I have tried the following code.</p> <pre><code>V1 = combn(1:5, 3) # 10 combinations in total V2 = combn(6:11, 2) # 15 combinations in total </code></pre> <p>How to combine V1 and V2 so that ...
[ { "answer_id": 74661662, "author": "Robert Hacken", "author_id": 2094893, "author_profile": "https://Stackoverflow.com/users/2094893", "pm_score": 3, "selected": true, "text": "expand.grid() g <- expand.grid(seq_len(ncol(V1)), seq_len(ncol(V2)))\nV3 <- rbind(V1[, g[, 1]], V2[, g[, 2]])\n...
2022/12/02
[ "https://Stackoverflow.com/questions/74661523", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6162679/" ]
74,661,524
<pre><code>from selenium import webdriver from selenium.webdriver.common.proxy import * from selenium.webdriver.common.by import By from time import sleep import requests response = requests.get(&quot;http://proxy.tinsoftsv.com/api/changeProxy.php?key=mykey_apiG&amp;location=0&quot;) print(response.json()) proxy_url ...
[ { "answer_id": 74661662, "author": "Robert Hacken", "author_id": 2094893, "author_profile": "https://Stackoverflow.com/users/2094893", "pm_score": 3, "selected": true, "text": "expand.grid() g <- expand.grid(seq_len(ncol(V1)), seq_len(ncol(V2)))\nV3 <- rbind(V1[, g[, 1]], V2[, g[, 2]])\n...
2022/12/02
[ "https://Stackoverflow.com/questions/74661524", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18043564/" ]
74,661,526
<p>I have a use case where depending on the argument passed in I may have to fetch and process 1) millions or records from database (read rdbms using jdbc, decode, convert to xml, convert to csv etc., a very time consuming process), and or 2) process only a few hundres or even handful of records. Please note that I do ...
[ { "answer_id": 74661662, "author": "Robert Hacken", "author_id": 2094893, "author_profile": "https://Stackoverflow.com/users/2094893", "pm_score": 3, "selected": true, "text": "expand.grid() g <- expand.grid(seq_len(ncol(V1)), seq_len(ncol(V2)))\nV3 <- rbind(V1[, g[, 1]], V2[, g[, 2]])\n...
2022/12/02
[ "https://Stackoverflow.com/questions/74661526", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19979114/" ]
74,661,541
<p>It's Known that you have to test your functions first, before deploying them to firebase to avoid loops and unwanted behavior. I need to run a local environment to test it first, How can I do that?</p>
[ { "answer_id": 74661662, "author": "Robert Hacken", "author_id": 2094893, "author_profile": "https://Stackoverflow.com/users/2094893", "pm_score": 3, "selected": true, "text": "expand.grid() g <- expand.grid(seq_len(ncol(V1)), seq_len(ncol(V2)))\nV3 <- rbind(V1[, g[, 1]], V2[, g[, 2]])\n...
2022/12/02
[ "https://Stackoverflow.com/questions/74661541", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15154333/" ]
74,661,568
<p>I have little experience with javascript, I'm trying to make the image update but I'm not succeeding. This image comes through an API</p> <p><a href="https://i.stack.imgur.com/A98jD.jpg" rel="nofollow noreferrer">image here</a></p> <pre><code>&lt;script src=&quot;https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/j...
[ { "answer_id": 74661607, "author": "Andrew Shearer", "author_id": 10688837, "author_profile": "https://Stackoverflow.com/users/10688837", "pm_score": 1, "selected": true, "text": "img setInterval function atualizarqr() {\n document.getElementById(\"img\").src = \"https://santoaleixo.com...
2022/12/02
[ "https://Stackoverflow.com/questions/74661568", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670121/" ]
74,661,576
<p>hi im a react developer and was wondering what is the best modern way to create a simple app for modern touchscreen devices. A simple app with one page, some links which lead to assets which can be viewed.</p>
[ { "answer_id": 74661607, "author": "Andrew Shearer", "author_id": 10688837, "author_profile": "https://Stackoverflow.com/users/10688837", "pm_score": 1, "selected": true, "text": "img setInterval function atualizarqr() {\n document.getElementById(\"img\").src = \"https://santoaleixo.com...
2022/12/02
[ "https://Stackoverflow.com/questions/74661576", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11816068/" ]
74,661,592
<p>I'm trying to concatenate all rows for same ID, the rows for a ID can have null or empty value:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>country</th> <th>value</th> </tr> </thead> <tbody> <tr> <td>FR</td> <td>NULL</td> </tr> <tr> <td>FR</td> <td>1</td> </tr> <tr> <td>FR</td> <td>3...
[ { "answer_id": 74661734, "author": "Jonas Metzler", "author_id": 18794826, "author_profile": "https://Stackoverflow.com/users/18794826", "pm_score": 1, "selected": false, "text": "STRING_AGG NULL COALESCE SELECT country, \nSTRING_AGG(COALESCE(value,'NULL'),',') AS value\nFROM yourtable\n...
2022/12/02
[ "https://Stackoverflow.com/questions/74661592", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16897693/" ]
74,661,628
<p>I'm trying to create a background modal that's supposed to fill the entire height of the page. The modal only fills about half the page, around 950px (which is the 100% viewable portion). Tried to change the units, tried using calc, used wrapping components.</p> <p>P.S. When the modal is called by JS the display cha...
[ { "answer_id": 74661788, "author": "Zach Jensz", "author_id": 14190543, "author_profile": "https://Stackoverflow.com/users/14190543", "pm_score": 2, "selected": true, "text": "position: absolute position: fixed #modalBackground {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;...
2022/12/02
[ "https://Stackoverflow.com/questions/74661628", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18494634/" ]
74,661,651
<p>Create Folder for Each File in Recursive Directory, Placing File in Folder</p> <p>On MacOS, so far I have...</p> <pre><code>for file in $(ls -R); do if [[ -f &quot;$file&quot; ]]; then mkdir &quot;${file%.*}&quot;; mv &quot;$file&quot; &quot;${file%.*}&quot;; fi; done </code></pre> <p>This operates correctly o...
[ { "answer_id": 74661788, "author": "Zach Jensz", "author_id": 14190543, "author_profile": "https://Stackoverflow.com/users/14190543", "pm_score": 2, "selected": true, "text": "position: absolute position: fixed #modalBackground {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;...
2022/12/02
[ "https://Stackoverflow.com/questions/74661651", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670123/" ]
74,661,682
<p>I have this function on my code that is supposed to read a files last line, and if there is no file create one. My issue is when it creates the files and tries to read the last line it comes up as an error.</p> <pre><code>with open(HIGH_SCORES_FILE_PATH, &quot;w+&quot;) as file: last_line = file.readlines()[...
[ { "answer_id": 74661916, "author": "tdelaney", "author_id": 642070, "author_profile": "https://Stackoverflow.com/users/642070", "pm_score": 2, "selected": true, "text": "readlines() IndexError os.path.exists os.path.isfile last_line last_line last_line = None\ntry:\n with open(HIGH_SC...
2022/12/02
[ "https://Stackoverflow.com/questions/74661682", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20494616/" ]
74,661,725
<p>I need to add the column for table that if the column is not existed.</p> <p>I ran the <code>Alter Table &lt;table&gt; add &lt;column_name&gt; &lt;type&gt;;</code> however, it will have this error message if the column already exists.</p> <pre><code>InvalidRequest: Error from server: code=2200 [Invalid query] messag...
[ { "answer_id": 74661916, "author": "tdelaney", "author_id": 642070, "author_profile": "https://Stackoverflow.com/users/642070", "pm_score": 2, "selected": true, "text": "readlines() IndexError os.path.exists os.path.isfile last_line last_line last_line = None\ntry:\n with open(HIGH_SC...
2022/12/02
[ "https://Stackoverflow.com/questions/74661725", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670138/" ]
74,661,730
<p>In the below type definitions why do <code>P1</code> and <code>P2</code> have different values?</p> <pre><code>type P1 = (() =&gt; 22) extends {[k:string]:any} ? 1:2 //`P1 == 1` type P2 = (() =&gt; 22) extends {[k:string]:unknown} ? 1:2 //`P2 == 2` </code></pre>
[ { "answer_id": 74663009, "author": "Tsvetan Ganev", "author_id": 8597510, "author_profile": "https://Stackoverflow.com/users/8597510", "pm_score": -1, "selected": false, "text": "P1 () => 22 any call true P1 1 P2 () => 22 unknown false unknown P2 2" }, { "answer_id": 74663845, ...
2022/12/02
[ "https://Stackoverflow.com/questions/74661730", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3963067/" ]
74,661,777
<p>I working on <code>asp.net core 5 mvc</code> web application , I face issue I can't store Picture User on database table <code>[dbo].[AspNetUsers]</code>.</p> <p>so can you tell me how to store personal picture of user on table <code>[dbo].[AspNetUsers]</code>.</p> <p>I already add new column PictureUser on table <c...
[ { "answer_id": 74663009, "author": "Tsvetan Ganev", "author_id": 8597510, "author_profile": "https://Stackoverflow.com/users/8597510", "pm_score": -1, "selected": false, "text": "P1 () => 22 any call true P1 1 P2 () => 22 unknown false unknown P2 2" }, { "answer_id": 74663845, ...
2022/12/02
[ "https://Stackoverflow.com/questions/74661777", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18935642/" ]
74,661,780
<p>I decide to make clock in C as my first &quot;Project&quot;, Changing minutes after 60 sec mark went well but when i need to change hours after minutes my secon number of seconds wont reset so it stayis with number 9 stuck until i go to the point of 10 sec.</p> <pre><code>#include&lt;stdio.h&gt; #include&lt;Windows....
[ { "answer_id": 74663009, "author": "Tsvetan Ganev", "author_id": 8597510, "author_profile": "https://Stackoverflow.com/users/8597510", "pm_score": -1, "selected": false, "text": "P1 () => 22 any call true P1 1 P2 () => 22 unknown false unknown P2 2" }, { "answer_id": 74663845, ...
2022/12/02
[ "https://Stackoverflow.com/questions/74661780", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20504197/" ]
74,661,787
<p>What did I miss to make parallax scrolling working?</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-html lang-html prettyprint-override"><code>&lt;div className="h-screen"&gt; &lt;div className="relative h-fu...
[ { "answer_id": 74661976, "author": "armful", "author_id": 20664163, "author_profile": "https://Stackoverflow.com/users/20664163", "pm_score": 0, "selected": false, "text": "parallax div Image <div className=\"h-screen\" parallax=\"0.5\">\n <div className=\"relative h-full w-full bg-cove...
2022/12/02
[ "https://Stackoverflow.com/questions/74661787", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11826960/" ]
74,661,800
<p>Lets say there are functions</p> <pre><code>function a(someparams){ console.log('a called') } function b(){ console.log('b called') } ... const c (someParam) =&gt; { console.log('c called')} </code></pre> <p>I want to extend default function prototype something like <code>Function.prototype.onCall = (args) =&gt; {...
[ { "answer_id": 74661841, "author": "Cyzanfar", "author_id": 3307520, "author_profile": "https://Stackoverflow.com/users/3307520", "pm_score": 0, "selected": false, "text": "function onCall(target, name, descriptor) {\n const original = descriptor.value;\n\n if (typeof original === 'fun...
2022/12/02
[ "https://Stackoverflow.com/questions/74661800", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20480844/" ]
74,661,801
<p>I'm reading an introducty book about C and I came across the following paragraph:</p> <p><a href="https://i.stack.imgur.com/5QygF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5QygF.png" alt="enter image description here" /></a></p> <p>But the following code compiles with expected output:</p> <p...
[ { "answer_id": 74661934, "author": "Sascha Doerdelmann", "author_id": 11934850, "author_profile": "https://Stackoverflow.com/users/11934850", "pm_score": 1, "selected": true, "text": "int i ...;\nint val ...;\nint x ...;\n int y;" }, { "answer_id": 74661982, "author": "Eric P...
2022/12/02
[ "https://Stackoverflow.com/questions/74661801", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13259521/" ]
74,661,819
<p>I am working with a number of custom classes <code>X</code> that have <code>__add__(self)</code>, and when added together return another class, <code>Y</code>.</p> <p>I often have iterables [of various sizes] of <code>X</code>, <code>ex = [X1, X2, X3]</code> that I would love to add together to get <code>Y</code>. ...
[ { "answer_id": 74661852, "author": "Jon Kiparsky", "author_id": 405303, "author_profile": "https://Stackoverflow.com/users/405303", "pm_score": 3, "selected": true, "text": "sum sum([1,2,3], 10) sum([[1], [2], [3]], []) sum sum([x1, x2, x3,...], x0) class X: ...
2022/12/02
[ "https://Stackoverflow.com/questions/74661819", "https://Stackoverflow.com", "https://Stackoverflow.com/users/558619/" ]
74,661,840
<p>It's my first post on the stackoverflow so I apologize in advance if I am doing something wrong.</p> <p>I'm new to Cypress E2E test. Im trying to write a test for react WebApplication. Unfortunately I am stuck on the element when the application on mobile views e.g. viewPort 360 opens in full screen. The application...
[ { "answer_id": 74661969, "author": "Paolo", "author_id": 16791505, "author_profile": "https://Stackoverflow.com/users/16791505", "pm_score": 3, "selected": true, "text": "const stub = cy.stub();\ncy.get('input[name=\"password\"]')\n .then($el => $el[0].requestFullscreen = stub)\n .type...
2022/12/02
[ "https://Stackoverflow.com/questions/74661840", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670201/" ]
74,661,843
<p>I'm currently making c++ project but this error is bothering me for long time and i cannot figure out why this doesn't work. I was searching about this error but still i don't understand it.</p> <p>Thanks in advance.</p> <pre><code>#include &lt;iostream&gt; using namespace std; class A { public: int a = 0; ...
[ { "answer_id": 74661907, "author": "bolov", "author_id": 2805305, "author_profile": "https://Stackoverflow.com/users/2805305", "pm_score": 2, "selected": false, "text": "A B a a std::optional<A> a std::unique_ptr<A>" }, { "answer_id": 74663831, "author": "Remy Lebeau", "a...
2022/12/02
[ "https://Stackoverflow.com/questions/74661843", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17037781/" ]
74,661,847
<p>I have a yearly table which on a monthly basis will append data from another table. However, I need to check the max date on the monthly table before appending it. If the max date on monthly is same as YTD, then do not append else append. How can I achieve this in SAS.</p> <p>I tried using append but don't know how ...
[ { "answer_id": 74661907, "author": "bolov", "author_id": 2805305, "author_profile": "https://Stackoverflow.com/users/2805305", "pm_score": 2, "selected": false, "text": "A B a a std::optional<A> a std::unique_ptr<A>" }, { "answer_id": 74663831, "author": "Remy Lebeau", "a...
2022/12/02
[ "https://Stackoverflow.com/questions/74661847", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670296/" ]
74,661,877
<p>the goal is to move between rooms in this simplified version of a text base game. The code works exactly as planned except for if you try and input 'exit' directly after inputting 'instructions'. after inputting 'instructions' the first 'exit' get ran in the else invalid statement then the second 'exit' input exits ...
[ { "answer_id": 74661899, "author": "treuss", "author_id": 19838568, "author_profile": "https://Stackoverflow.com/users/19838568", "pm_score": 1, "selected": false, "text": "move = input('\\nWhat will you do next?\\n>').split() # next move input\n continue" }, { "answer_id": 7466...
2022/12/02
[ "https://Stackoverflow.com/questions/74661877", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20662439/" ]
74,661,880
<p>I am attempting to create an SQL query which will compress multidimentional data using PIVOT, but need to do some operations on the pivoted data.</p> <p>I have coding experience but very little experience with SQL and am using SQLPathfinder3 to create and execute queries, so what I am looking for is top level approa...
[ { "answer_id": 74661899, "author": "treuss", "author_id": 19838568, "author_profile": "https://Stackoverflow.com/users/19838568", "pm_score": 1, "selected": false, "text": "move = input('\\nWhat will you do next?\\n>').split() # next move input\n continue" }, { "answer_id": 7466...
2022/12/02
[ "https://Stackoverflow.com/questions/74661880", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10204519/" ]
74,661,920
<p>I'm trying to create <code>Match</code> between two <code>User</code>'s. However i'm getting this error</p> <pre><code>Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---&gt; Microsoft.Data.SqlClient.SqlException (0x80131904): ...
[ { "answer_id": 74666021, "author": "Fitri Halim", "author_id": 13218799, "author_profile": "https://Stackoverflow.com/users/13218799", "pm_score": 0, "selected": false, "text": "public async Task<User> FindByIdAsync(Guid guid)\n {\n var user = await _context.Users\n ...
2022/12/02
[ "https://Stackoverflow.com/questions/74661920", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17775991/" ]
74,661,922
<pre><code>package main; import java.util.Scanner; public class test { public static String[] ranks = {&quot;2&quot;, &quot;3&quot;, &quot;4&quot;, &quot;5&quot;, &quot;6&quot;, &quot;7&quot;, &quot;8&quot;, &quot;9&quot;, &quot;10&quot;, &quot;Ace&quot;, &quot;Jack&quot;, &quot;Queen&quot;, &quot;King&quot;}; ...
[ { "answer_id": 74662116, "author": "Hesham A", "author_id": 3403829, "author_profile": "https://Stackoverflow.com/users/3403829", "pm_score": 1, "selected": false, "text": "public static void cutDeck(String[] deck) {\n System.out.println(\"Cut please. 'Choose between 1-\" + (deck.leng...
2022/12/02
[ "https://Stackoverflow.com/questions/74661922", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20307796/" ]
74,661,950
<p><strong>What am I trying to do</strong></p> <p>I have 3 tables which are being joined to create a desired output.</p> <p>Table 1 (800K records) : This is a partitioned hive external table by date (parquet file structure ). The schema is deeply nested. Following is a portion of the schema</p> <pre><code>root | - uu...
[ { "answer_id": 74662116, "author": "Hesham A", "author_id": 3403829, "author_profile": "https://Stackoverflow.com/users/3403829", "pm_score": 1, "selected": false, "text": "public static void cutDeck(String[] deck) {\n System.out.println(\"Cut please. 'Choose between 1-\" + (deck.leng...
2022/12/02
[ "https://Stackoverflow.com/questions/74661950", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2379259/" ]
74,661,960
<p>I get error when my column is empty.</p> <pre><code>double tot_main, tot_oper, gift, sum_tot, sum_tot_gift, amount_gift_new, amount_cut; // sum MainOper SqlCommand check_main = new SqlCommand(&quot;select Sum(amount_Gift) from MainOper where Emp_no='&quot; + TextBox1.Text + &quot;' &quot;, con); SqlDataAdapter sd1...
[ { "answer_id": 74662116, "author": "Hesham A", "author_id": 3403829, "author_profile": "https://Stackoverflow.com/users/3403829", "pm_score": 1, "selected": false, "text": "public static void cutDeck(String[] deck) {\n System.out.println(\"Cut please. 'Choose between 1-\" + (deck.leng...
2022/12/02
[ "https://Stackoverflow.com/questions/74661960", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670339/" ]
74,661,967
<p>My full code -- <a href="https://codepen.io/featherPiano/pen/ZERqBYK?editors=1010" rel="nofollow noreferrer">Random Quote Generator Project in Codepen</a></p> <p>I used Bootstrap5 <a href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.0.2/css/bootstrap.min.css" rel="nofollow noreferrer">https://cdnjs.cloudflare...
[ { "answer_id": 74662116, "author": "Hesham A", "author_id": 3403829, "author_profile": "https://Stackoverflow.com/users/3403829", "pm_score": 1, "selected": false, "text": "public static void cutDeck(String[] deck) {\n System.out.println(\"Cut please. 'Choose between 1-\" + (deck.leng...
2022/12/02
[ "https://Stackoverflow.com/questions/74661967", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670008/" ]
74,661,977
<p>On my midterm there was a question that I believe has two correct answers, A and B. The question states:</p> <blockquote> <p>Which of the following sets of operators is composed only of comparative operators?<br /> A) &gt;, &lt;, &gt;=, &lt;=<br /> B) ==, !=<br /> C) &amp;&amp;, ||, !<br /> D) None of the above.</p>...
[ { "answer_id": 74662156, "author": "chux - Reinstate Monica", "author_id": 2410359, "author_profile": "https://Stackoverflow.com/users/2410359", "pm_score": 2, "selected": false, "text": "< > <= >= == !=" }, { "answer_id": 74662157, "author": "Andreas Wenzel", "author_id"...
2022/12/02
[ "https://Stackoverflow.com/questions/74661977", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20669522/" ]
74,661,985
<p>I want to generate a dataframe with pandas where one of the columns is filled with all mondays between to dates. But I need to exclude some mondays that are in a specific list. I could generate the column with the mondays, but I could find how to remove that mondays in the given list.</p> <p>I generate the mondays u...
[ { "answer_id": 74662156, "author": "chux - Reinstate Monica", "author_id": 2410359, "author_profile": "https://Stackoverflow.com/users/2410359", "pm_score": 2, "selected": false, "text": "< > <= >= == !=" }, { "answer_id": 74662157, "author": "Andreas Wenzel", "author_id"...
2022/12/02
[ "https://Stackoverflow.com/questions/74661985", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670315/" ]
74,662,002
<pre><code>query(meetingsCollection, where(&quot;start&quot;, &quot;in&quot;, today), orderBy(&quot;start&quot;, &quot;asc&quot;) </code></pre> <p>I'd like a Firestore query, so that I can fetch all documents between 02/12/2022 - 00:00:00.000 &amp;&amp; 03/12/2022 00:00:00.000, ordered by the Date property start, so th...
[ { "answer_id": 74662065, "author": "Konrad", "author_id": 5089567, "author_profile": "https://Stackoverflow.com/users/5089567", "pm_score": 1, "selected": false, "text": "const start = new Date();\nstart.setUTCHours(0,0,0,0);\n\nconst end = new Date();\nend.setUTCHours(23,59,59,999);\n q...
2022/12/02
[ "https://Stackoverflow.com/questions/74662002", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16479677/" ]
74,662,076
<p>I have a client server that has limited rights (no internet or many install priveleges), but it contains a version of TFS. Is there any way possible to get the data and history to bring down to my local computer to put into GIt?</p> <p>I have tried Git-TFS but cannot get it installed on the server and tried running ...
[ { "answer_id": 74664696, "author": "VonC", "author_id": 6309, "author_profile": "https://Stackoverflow.com/users/6309", "pm_score": 0, "selected": false, "text": "git bundle" } ]
2022/12/02
[ "https://Stackoverflow.com/questions/74662076", "https://Stackoverflow.com", "https://Stackoverflow.com/users/665557/" ]
74,662,078
<p>At the moment I'm hacking away at swift to learn the language and I'm coming at it from a java/C++ perspective. I'm trying to make an app for a game I play called World War II Online. However I can't get my head around why I'm getting a binding error when trying to code in the toggle for remembering a password. Bel...
[ { "answer_id": 74662207, "author": "Jessy", "author_id": 652038, "author_profile": "https://Stackoverflow.com/users/652038", "pm_score": 1, "selected": false, "text": "public extension View {\n /// Execute imperative code.\n func callAsFunction(_ execute: () -> Void) -> Self {\n exe...
2022/12/02
[ "https://Stackoverflow.com/questions/74662078", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1056576/" ]
74,662,147
<p>So by far whenever I had a dataframe that has a column of list such as the following:</p> <pre><code>'category_id' [030000, 010403, 010402, 030604, 234440] [030000, 010405, 010402, 030604, 033450] [030000, 010403, 010407, 030604, 030600] [030000, 010403, 010402, 030609, 032600] </code></pre> <p>Usually whenever I wa...
[ { "answer_id": 74662207, "author": "Jessy", "author_id": 652038, "author_profile": "https://Stackoverflow.com/users/652038", "pm_score": 1, "selected": false, "text": "public extension View {\n /// Execute imperative code.\n func callAsFunction(_ execute: () -> Void) -> Self {\n exe...
2022/12/02
[ "https://Stackoverflow.com/questions/74662147", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14615988/" ]
74,662,150
<p>I was curious about how I can implement the Fibonacci sequence for summing the last n elements instead of just the last 2. So I was thinking about implementing a function <code>nBonacci(n,m)</code> where n is the number of last elements we gotta sum, and m is the number of elements in this list.</p> <p>The Fibonacci...
[ { "answer_id": 74662207, "author": "Jessy", "author_id": 652038, "author_profile": "https://Stackoverflow.com/users/652038", "pm_score": 1, "selected": false, "text": "public extension View {\n /// Execute imperative code.\n func callAsFunction(_ execute: () -> Void) -> Self {\n exe...
2022/12/02
[ "https://Stackoverflow.com/questions/74662150", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20371954/" ]
74,662,177
<p>when the first date is bigger than the second, it doesent calculate. for example: first date 22/10/2022 second date: 15/10/2022</p> <pre><code>#include &lt;iostream&gt; #include &lt;cstdlib&gt; using namespace std; class Date { public: Date(int d, int m, int y); void set_date(int d, int m, int y)...
[ { "answer_id": 74667160, "author": "Clifford", "author_id": 168986, "author_profile": "https://Stackoverflow.com/users/168986", "pm_score": 1, "selected": false, "text": "int days_between(Date d1, Date d2)\n{\n int count = 0 ;\n \n // Initially assume d2 >= d1\n Date* earlier...
2022/12/02
[ "https://Stackoverflow.com/questions/74662177", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19452796/" ]
74,662,228
<p>It is necessary for me at a choice chekboksom that the Page2 component was drawn. I created a <code>useState</code> where I keep track of the value of the checkbox, but I don't know how to navigate programmatically when the checkbox is selected. How can I do this?</p> <pre><code>export default function Home() { co...
[ { "answer_id": 74662273, "author": "Konrad", "author_id": 5089567, "author_profile": "https://Stackoverflow.com/users/5089567", "pm_score": 3, "selected": true, "text": "const handleChange = () => {\n setChecked(!checked);\n if (!checked) {\n navigate('/')\n }\n};\n" }, { "...
2022/12/02
[ "https://Stackoverflow.com/questions/74662228", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20592580/" ]
74,662,229
<pre><code> x1 = ['a','1','2','b','4'] x2 = ['a','a','2','b','4'] x3 = ['a','a','a','b','4'] x4 = ['a','1','2','b','4'] xxxx = x1,x2,x3,x4 name2f = [] for i in xxxx: a1 = i[0] b1 = i[1] c1 = i[2] if a1.isalpha: if b1.isalpha: if c1.isalpha: print(&quot;false 3&...
[ { "answer_id": 74662514, "author": "OneCricketeer", "author_id": 2308683, "author_profile": "https://Stackoverflow.com/users/2308683", "pm_score": 0, "selected": false, "text": "isalpha() isalpha name2f = ['a', 'aa', 'aaa', 'a'] b all_chars = [x for x in lst if not x.isdigit()]\n def col...
2022/12/02
[ "https://Stackoverflow.com/questions/74662229", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20499621/" ]
74,662,260
<div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>Name</th> <th>Date</th> </tr> </thead> <tbody> <tr> <td>A</td> <td>1990-10-7</td> </tr> <tr> <td>B</td> <td>1997-11-20</td> </tr> </tbody> </table> </div> <p>and i want to add column age the convert the date to the age</p> <p>i try this</p> <pre><...
[ { "answer_id": 74662294, "author": "Paulo M Serodio", "author_id": 20670538, "author_profile": "https://Stackoverflow.com/users/20670538", "pm_score": -1, "selected": false, "text": "data$age <- age_calc(as.Date(data$dob, \"%Y/%m/%d\"), \n as.Date(Sys.Date()), units =...
2022/12/02
[ "https://Stackoverflow.com/questions/74662260", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18692944/" ]
74,662,270
<p>I am learning JS prototype, and I got the following code, all is clear except the output of <code>console.log(myObj.name)</code>. How come it gives the name of the object itself, which is <code>myObj</code>? Doesn't it need to find the prototype from its upper-level object?</p> <pre><code>const myObj = function () {...
[ { "answer_id": 74662294, "author": "Paulo M Serodio", "author_id": 20670538, "author_profile": "https://Stackoverflow.com/users/20670538", "pm_score": -1, "selected": false, "text": "data$age <- age_calc(as.Date(data$dob, \"%Y/%m/%d\"), \n as.Date(Sys.Date()), units =...
2022/12/02
[ "https://Stackoverflow.com/questions/74662270", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20441652/" ]
74,662,274
<p>Here is my list of dicts:</p> <pre><code>[{'subtopic': 'IAM', 'topic': 'AWS', 'attachments': ['{&quot;workflow.name&quot;: &quot;aws_iam_policies_info&quot;,&quot;workflow.parameters&quot;: {&quot;region&quot;: &quot;us-east&quot;}}'], 'text': 'Sure! I can help with AWS IAM policies info'}, {'subtopic': 'ECS'...
[ { "answer_id": 74662294, "author": "Paulo M Serodio", "author_id": 20670538, "author_profile": "https://Stackoverflow.com/users/20670538", "pm_score": -1, "selected": false, "text": "data$age <- age_calc(as.Date(data$dob, \"%Y/%m/%d\"), \n as.Date(Sys.Date()), units =...
2022/12/02
[ "https://Stackoverflow.com/questions/74662274", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1030099/" ]
74,662,275
<p><a href="https://i.stack.imgur.com/5VdgZ.png" rel="nofollow noreferrer">Image of my Form</a></p> <p>I'd like to move this form to the middle of my web page. I have it center aligned currently, but it is at the top of my webpage. I want it smack dab in the middle. I've been trying to google around but this has been a...
[ { "answer_id": 74662297, "author": "anton-tchekov", "author_id": 4724047, "author_profile": "https://Stackoverflow.com/users/4724047", "pm_score": 2, "selected": true, "text": "div.form {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nform {\...
2022/12/02
[ "https://Stackoverflow.com/questions/74662275", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670476/" ]
74,662,287
<p>I have seen may tutorials on making the first row the column names, but nothing explaining how to do the reverse. I would like to have my column names as the first row values and change the column names to something like var1, var2, var3. Can this be done?</p> <p>I plan to row bind a bunch of data frames later, so t...
[ { "answer_id": 74662350, "author": "Jilber Urbina", "author_id": 1315767, "author_profile": "https://Stackoverflow.com/users/1315767", "pm_score": 2, "selected": true, "text": "q <- rbind(colnames(q), round(q, 4))\ncolnames(q) <- paste0(\"var\", seq_len(ncol(q)))\nrownames(q)[1] <- \"var...
2022/12/02
[ "https://Stackoverflow.com/questions/74662287", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15858688/" ]
74,662,293
<p>I have the following dataset:</p> <pre><code> Letter ID Number A A1 1 A A2 2 A A3 3 B B1 1 B B2 2 B B3 3 B B4 4 </code></pre> <p>My aim is first to create all possible combinations of IDs within the same &quot;Letter&quot; group. For example, for the letter A, ...
[ { "answer_id": 74662370, "author": "Vinícius Félix", "author_id": 9696037, "author_profile": "https://Stackoverflow.com/users/9696037", "pm_score": 3, "selected": true, "text": "library(dplyr)\n \n\nletter <- c(\"A\",\"A\",\"A\",\"B\",\"B\",\"B\",\"B\")\n\ndf <-\n data.frame(letter) %>...
2022/12/02
[ "https://Stackoverflow.com/questions/74662293", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14011731/" ]
74,662,295
<p>im doing a project-excercise of debugging using objects, im already done all the other´s excercises but im very stuck in this, i dont know how to solve.</p> <pre><code> /* Fix the `feedPet` function. `feedPet` should take in a pet name and return a function that, when invoked with a food, will return the pet's n...
[ { "answer_id": 74662370, "author": "Vinícius Félix", "author_id": 9696037, "author_profile": "https://Stackoverflow.com/users/9696037", "pm_score": 3, "selected": true, "text": "library(dplyr)\n \n\nletter <- c(\"A\",\"A\",\"A\",\"B\",\"B\",\"B\",\"B\")\n\ndf <-\n data.frame(letter) %>...
2022/12/02
[ "https://Stackoverflow.com/questions/74662295", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19281834/" ]
74,662,327
<p>So I'm creating a batch project, everything is fine, but suddenly the cmd automatically opens as administrator.</p> <p>I tried finding something in registry keys, looking almost an hour for an answer online, etc.</p> <p>How can I disable cmd opening as administrator?</p> <p>(It's almost 12pm in my country, sorry if ...
[ { "answer_id": 74662370, "author": "Vinícius Félix", "author_id": 9696037, "author_profile": "https://Stackoverflow.com/users/9696037", "pm_score": 3, "selected": true, "text": "library(dplyr)\n \n\nletter <- c(\"A\",\"A\",\"A\",\"B\",\"B\",\"B\",\"B\")\n\ndf <-\n data.frame(letter) %>...
2022/12/02
[ "https://Stackoverflow.com/questions/74662327", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19555882/" ]
74,662,331
<p><a href="https://i.stack.imgur.com/8F3sO.png" rel="nofollow noreferrer">Problem Code Picture</a></p> <p>I want to write a Python script that creates a new virtual environment with the following <a href="https://pypi.org/project/virtualenv/" rel="nofollow noreferrer"><em>virtualenv</em></a> CLI options:</p> <blockquo...
[ { "answer_id": 74662370, "author": "Vinícius Félix", "author_id": 9696037, "author_profile": "https://Stackoverflow.com/users/9696037", "pm_score": 3, "selected": true, "text": "library(dplyr)\n \n\nletter <- c(\"A\",\"A\",\"A\",\"B\",\"B\",\"B\",\"B\")\n\ndf <-\n data.frame(letter) %>...
2022/12/02
[ "https://Stackoverflow.com/questions/74662331", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15363754/" ]
74,662,334
<p>I am making a simple game with multiple players, which each player can insert their first name, last name and each player is assigned 100 poins at the begging. In my code once I am done with coding the &quot;essential&quot; information, but when it comes to user input it does not work.</p> <p>The &quot;base&quot; fo...
[ { "answer_id": 74662387, "author": "Samwise", "author_id": 3799759, "author_profile": "https://Stackoverflow.com/users/3799759", "pm_score": 2, "selected": false, "text": "classmethod staticmethod @dataclass __init__ full_info coins from dataclasses import dataclass\n\n@dataclass\nclass ...
2022/12/02
[ "https://Stackoverflow.com/questions/74662334", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20591722/" ]
74,662,347
<p>I am new to typescript and converting my jsx to tsx files. How can I define the type for a redux dispatch for my <code>onPress</code> prop? I tried using &quot;Function&quot; and the &quot;AppDispatch&quot;. Thanks in advance</p> <pre><code>import { AppDispatch } from &quot;../redux/store&quot; interface ItemProps...
[ { "answer_id": 74662769, "author": "Dakeyras", "author_id": 1857909, "author_profile": "https://Stackoverflow.com/users/1857909", "pm_score": 2, "selected": true, "text": "dispatch() useDispatch() onPress onPress interface ItemProps {\n item: Custom_date, \n onPress: () => void,\n ...
2022/12/02
[ "https://Stackoverflow.com/questions/74662347", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18604870/" ]
74,662,348
<p>In Vuetify, if I want to move my delete button closer to the expand button.<br /> How do I do that ?</p> <pre class="lang-html prettyprint-override"><code>&lt;v-expansion-panel-header&gt; {{ vehicle.VIN }} &lt;v-icon v-if=&quot;type == 'saved'&quot; color=&quot;teal&quot;&gt; mdi-check &lt;/v-icon&gt; &lt;v-bt...
[ { "answer_id": 74662769, "author": "Dakeyras", "author_id": 1857909, "author_profile": "https://Stackoverflow.com/users/1857909", "pm_score": 2, "selected": true, "text": "dispatch() useDispatch() onPress onPress interface ItemProps {\n item: Custom_date, \n onPress: () => void,\n ...
2022/12/02
[ "https://Stackoverflow.com/questions/74662348", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4480164/" ]
74,662,424
<pre><code>[eslint] Plugin &quot;react&quot; was conflicted between &quot;package.json » eslint-config-rea ct-app » C:\Users\user\desktop\robofriends\node_modules\eslint-config-react-app\ base.js&quot; and &quot;BaseConfig » C:\Users\user\Desktop\robofriends\node_modules\eslint -config-react-app\base.js&quot;. ERROR in...
[ { "answer_id": 74662769, "author": "Dakeyras", "author_id": 1857909, "author_profile": "https://Stackoverflow.com/users/1857909", "pm_score": 2, "selected": true, "text": "dispatch() useDispatch() onPress onPress interface ItemProps {\n item: Custom_date, \n onPress: () => void,\n ...
2022/12/02
[ "https://Stackoverflow.com/questions/74662424", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670607/" ]
74,662,454
<p>I was curious on how wheel spinning based of chances algorithm would work so I wrote this code</p> <p>I created an object with each prize and its probability</p> <pre><code>const chances = { &quot;Apple&quot; : 22.45, &quot;Peaches&quot; : 32.8, &quot;Grapes&quot; : 20, &quot;Bananas&...
[ { "answer_id": 74662769, "author": "Dakeyras", "author_id": 1857909, "author_profile": "https://Stackoverflow.com/users/1857909", "pm_score": 2, "selected": true, "text": "dispatch() useDispatch() onPress onPress interface ItemProps {\n item: Custom_date, \n onPress: () => void,\n ...
2022/12/02
[ "https://Stackoverflow.com/questions/74662454", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17948670/" ]
74,662,478
<p>I'm quite new to SQL so bare with me. What I'm trying to do is return the value closest to another value in a different table for every record.</p> <p>I'll show a simplified example of my two tables for clarification</p> <p>First table is the one that I want the value ENTRY_YEAR matched to:</p> <div class="s-table-c...
[ { "answer_id": 74662739, "author": "topsail", "author_id": 1467914, "author_profile": "https://Stackoverflow.com/users/1467914", "pm_score": 1, "selected": false, "text": "select \n a.id,\n b.entry_value,\n b.[status]\nfrom \n Foo a \n inner join Bar b\n on a.id = b.id\...
2022/12/02
[ "https://Stackoverflow.com/questions/74662478", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670565/" ]
74,662,528
<p>Font family is running. But font weight doesnt work properly. For example I added font-weight:400 or 100,etc to h3-h4,etc its doesnt work. Only one font weight does work properly and its font-weight:600 I am completely done, I am researching for two days, I'm asking my friends but my problem still here. I think my @...
[ { "answer_id": 74662797, "author": "Chris Schober", "author_id": 8396541, "author_profile": "https://Stackoverflow.com/users/8396541", "pm_score": 1, "selected": false, "text": "@font-face {\n font-family: \"Gotham Narrow\";\n src: url(\"../font/gothamnarrow-thin-webfont.woff2\") forma...
2022/12/02
[ "https://Stackoverflow.com/questions/74662528", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17768986/" ]
74,662,545
<p>I was going through this question on leetcode: <a href="https://leetcode.com/problems/determine-if-two-strings-are-close/solutions/935916/c-o-nlogn-sort-hash-table-easy-to-understand/" rel="nofollow noreferrer">https://leetcode.com/problems/determine-if-two-strings-are-close/solutions/935916/c-o-nlogn-sort-hash-tabl...
[ { "answer_id": 74662797, "author": "Chris Schober", "author_id": 8396541, "author_profile": "https://Stackoverflow.com/users/8396541", "pm_score": 1, "selected": false, "text": "@font-face {\n font-family: \"Gotham Narrow\";\n src: url(\"../font/gothamnarrow-thin-webfont.woff2\") forma...
2022/12/02
[ "https://Stackoverflow.com/questions/74662545", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14175795/" ]
74,662,570
<p>Today we used the consult for recive a pattern of data, and, with this pattern select the results:</p> <pre><code>SELECT pm.meta_value, MONTH(RTRIM(LTRIM(SUBSTRING(pm.meta_key,23,10)))) as month FROM wp_postmeta pm </code></pre> <p><strong>The problem is</strong>: The consulting are stay slowed, and, we cant change...
[ { "answer_id": 74662797, "author": "Chris Schober", "author_id": 8396541, "author_profile": "https://Stackoverflow.com/users/8396541", "pm_score": 1, "selected": false, "text": "@font-face {\n font-family: \"Gotham Narrow\";\n src: url(\"../font/gothamnarrow-thin-webfont.woff2\") forma...
2022/12/02
[ "https://Stackoverflow.com/questions/74662570", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2467030/" ]
74,662,606
<p>Im trying to build a cheaty kinda multilingual site in wordpress (interim fix) and need to set the logo link to go the the correct landing page when clicked, either /en/ or /se/.</p> <p>Im trying to do this by grabing the url and then splitting the path name.</p> <p>`</p> <pre><code>&lt;script language=&quot;javascr...
[ { "answer_id": 74662797, "author": "Chris Schober", "author_id": 8396541, "author_profile": "https://Stackoverflow.com/users/8396541", "pm_score": 1, "selected": false, "text": "@font-face {\n font-family: \"Gotham Narrow\";\n src: url(\"../font/gothamnarrow-thin-webfont.woff2\") forma...
2022/12/02
[ "https://Stackoverflow.com/questions/74662606", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20670755/" ]
74,662,635
<p>I am creating a form that allows the user to select from a group of checkboxes for automotive services. In the form, the user selects from a list of priced services and a final total is calculated based on what is selected.</p> <p>The logic of the selected services being added up is placed within a method that retur...
[ { "answer_id": 74662797, "author": "Chris Schober", "author_id": 8396541, "author_profile": "https://Stackoverflow.com/users/8396541", "pm_score": 1, "selected": false, "text": "@font-face {\n font-family: \"Gotham Narrow\";\n src: url(\"../font/gothamnarrow-thin-webfont.woff2\") forma...
2022/12/02
[ "https://Stackoverflow.com/questions/74662635", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12100422/" ]
74,662,654
<p>I plotted this pairplot correlating only one features with all the others, how can i visualize it in a better way? I need to visualize 4 columns. In the official documentation of pairplot i can't find the option.</p> <p>This is the df: <a href="https://i.stack.imgur.com/6CB4L.png" rel="nofollow noreferrer"><img src=...
[ { "answer_id": 74662797, "author": "Chris Schober", "author_id": 8396541, "author_profile": "https://Stackoverflow.com/users/8396541", "pm_score": 1, "selected": false, "text": "@font-face {\n font-family: \"Gotham Narrow\";\n src: url(\"../font/gothamnarrow-thin-webfont.woff2\") forma...
2022/12/02
[ "https://Stackoverflow.com/questions/74662654", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19610821/" ]
74,662,659
<p>I have this pattern thats composed by a quantity, a description and a price. Please not that the numbers and text can change everytime.</p> <p>I need to use powershell to find and save the results. So far I got this... the pattern format is what is driving me crazy.</p> <pre><code>$example_line = '3.00 CEBICHE CORVI...
[ { "answer_id": 74662698, "author": "Juan Manuel Sanchez", "author_id": 10415090, "author_profile": "https://Stackoverflow.com/users/10415090", "pm_score": 0, "selected": false, "text": "$pattern= '\\d.\\d\\d \\D* \\d*,\\d*.\\d*'\n" }, { "answer_id": 74664724, "author": "Jona"...
2022/12/02
[ "https://Stackoverflow.com/questions/74662659", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10415090/" ]