qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
74,315,292
<p>I'm working on a fairly complex Access Database, trying to build forms with custom buttons for working with records. I'm using list boxes to display and navigate through records and all fields for existing records are disabled unless the user presses an edit button. The problem I'm having is that if I press the Edit...
[ { "answer_id": 74315620, "author": "Tural Rzaxanov", "author_id": 9922647, "author_profile": "https://Stackoverflow.com/users/9922647", "pm_score": -1, "selected": false, "text": "1';DROP table accounts where id!='123454321344321\n $name \n//That's a mean it is request variable\n$name = ...
2022/11/04
[ "https://Stackoverflow.com/questions/74315292", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20415536/" ]
74,315,298
<p>I am trying to convert a large ~ 100mb csv file to xlsx using python. I tried the solution below, but ran into memory issues</p> <p><a href="https://stackoverflow.com/a/62750402/1266723">https://stackoverflow.com/a/62750402/1266723</a></p> <p>Solution below solves the memory issue by writing in chunks, but over-writ...
[ { "answer_id": 74315390, "author": "tturbo", "author_id": 12284585, "author_profile": "https://Stackoverflow.com/users/12284585", "pm_score": 0, "selected": false, "text": "# ExcelWriter can also be used to append to an existing Excel file:\n\nwith pd.ExcelWriter('output.xlsx',\n ...
2022/11/04
[ "https://Stackoverflow.com/questions/74315298", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1266723/" ]
74,315,341
<p>My goal is to extract salary from a string and if this salary comes from collective agreement. I have come up with a following regex:</p> <pre><code>pattern = &quot;([Kk]ollektivvertragliche[sn]|Kollektivvertrag|[Cc]ollective [Aa]greement|[Kk]ollektivvertr|KV) .* ([0-9]{1,4}[.,][0-9]{2,3}[,]*[0-9]*) .* ([0-9]{1,4}[....
[ { "answer_id": 74316364, "author": "Swifty", "author_id": 20267366, "author_profile": "https://Stackoverflow.com/users/20267366", "pm_score": 1, "selected": false, "text": "import re\n\npattern1 = re.compile(\"([Kk]ollektivvertragliche[snr]|Kollektivvertrag|[Cc]ollective [Aa]greement|[Kk...
2022/11/04
[ "https://Stackoverflow.com/questions/74315341", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5094589/" ]
74,315,382
<p>can you do this in C++:</p> <pre><code>vector&lt;int&gt; v1={1,2}, v2={3,4}; vector&lt;int&gt; v3={...v1, ...v2, 5}; //v3 = {1,2,3,4,5} </code></pre> <p>What is the simplest way to do this with C++ ?</p>
[ { "answer_id": 74315527, "author": "Caleth", "author_id": 2610810, "author_profile": "https://Stackoverflow.com/users/2610810", "pm_score": 3, "selected": true, "text": "insert std::vector<int> v3;\nv3.insert(v3.end(), v1.begin(), v1.end());\nv3.insert(v3.end(), v2.begin(), v2.end());\nv...
2022/11/04
[ "https://Stackoverflow.com/questions/74315382", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3046585/" ]
74,315,420
<p>I have a website with 100 posts of a custom post type. On the single pages of each post, I would like to have a “Previous” and “Next” link to quickly jump to, you guessed it, the previous or next post.</p> <p>I thought that was going to be easy, and I made these links:</p> <pre><code>&lt;?php $prev_post = get_previo...
[ { "answer_id": 74315628, "author": "zillionera_dev", "author_id": 15306153, "author_profile": "https://Stackoverflow.com/users/15306153", "pm_score": 0, "selected": false, "text": "if( get_adjacent_post(false, '', false) ) { \n next_post_link('%link', '&larr; Previous project');\n} el...
2022/11/04
[ "https://Stackoverflow.com/questions/74315420", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9636020/" ]
74,315,425
<p>I have this case:</p> <pre><code>a = &quot;I run away without you&quot; if &quot;with&quot; in a: print(&quot;s&quot;) else: print(&quot;n&quot;) </code></pre> <p>This expression is True. But, I want to print &quot;n&quot;, because <code>a</code> has to have exactly &quot;with&quot; and not a substring. How ...
[ { "answer_id": 74315482, "author": "Coko", "author_id": 9955893, "author_profile": "https://Stackoverflow.com/users/9955893", "pm_score": -1, "selected": false, "text": "== in" }, { "answer_id": 74315508, "author": "Zxd2009", "author_id": 19109884, "author_profile": "...
2022/11/04
[ "https://Stackoverflow.com/questions/74315425", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19947948/" ]
74,315,428
<p>I want to create a WordPress Plugin where I want to add some css, and upon activation, those css will be in effect and be viewing in the website. Upon deactivation, the css will also be out of effect.</p> <p>Any how I can do that? Or any documentation I can take help from?</p>
[ { "answer_id": 74315482, "author": "Coko", "author_id": 9955893, "author_profile": "https://Stackoverflow.com/users/9955893", "pm_score": -1, "selected": false, "text": "== in" }, { "answer_id": 74315508, "author": "Zxd2009", "author_id": 19109884, "author_profile": "...
2022/11/04
[ "https://Stackoverflow.com/questions/74315428", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14427209/" ]
74,315,453
<p>I have the following dataframe containing scores for a competition as well as a column that counts what number entry for each person.</p> <pre><code>import pandas as pd df = pd.DataFrame({'Name': ['John', 'Jim', 'John','Jim', 'John','Jim','John','Jim','John','Jim','Jack','Jack','Jack','Jack'],'Score': [10,8,9,3,5,0...
[ { "answer_id": 74315741, "author": "rftr", "author_id": 14533535, "author_profile": "https://Stackoverflow.com/users/14533535", "pm_score": 2, "selected": true, "text": "pandas.merge df3 = pd.merge(df, df2, on=\"Name\", how=\"left\")\ndf3[df3[\"Entry_No\"] <= df3[\"Limit\"]][df.columns]....
2022/11/04
[ "https://Stackoverflow.com/questions/74315453", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13194245/" ]
74,315,474
<p>I can't find how to change the cursor colour of an entry field on MAUI for Android. I'm writing an app supporting dark theme and I don't want the entry box to have a light background. Unfortunately, the default cursor colour is dark purple, which has insufficient contrast and makes it very hard to see. I'd be happy ...
[ { "answer_id": 74315741, "author": "rftr", "author_id": 14533535, "author_profile": "https://Stackoverflow.com/users/14533535", "pm_score": 2, "selected": true, "text": "pandas.merge df3 = pd.merge(df, df2, on=\"Name\", how=\"left\")\ndf3[df3[\"Entry_No\"] <= df3[\"Limit\"]][df.columns]....
2022/11/04
[ "https://Stackoverflow.com/questions/74315474", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5256279/" ]
74,315,480
<p>I want to write a function that returns the number of duplicate items in an array.</p> <p>For example:</p> <pre><code>arr = [2,4,6,3,2,2,4,6] # this should return 3 since (2,4,6) are repeated in the list </code></pre>
[ { "answer_id": 74315741, "author": "rftr", "author_id": 14533535, "author_profile": "https://Stackoverflow.com/users/14533535", "pm_score": 2, "selected": true, "text": "pandas.merge df3 = pd.merge(df, df2, on=\"Name\", how=\"left\")\ndf3[df3[\"Entry_No\"] <= df3[\"Limit\"]][df.columns]....
2022/11/04
[ "https://Stackoverflow.com/questions/74315480", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17321786/" ]
74,315,490
<p>I have the following code that tries to cover most cases of a dictionary walk, and output it as indented text (indent based on the items' nesting in the dictionary. There are two problems:</p> <ol> <li>I think the check at the start, which caters for &quot;raw_list&quot;, is a bit of a hack, but I cannot think of a ...
[ { "answer_id": 74315588, "author": "Yevhen Kuzmovych", "author_id": 4727702, "author_profile": "https://Stackoverflow.com/users/4727702", "pm_score": 2, "selected": true, "text": "level level += 1 level process_data(item, level + 1)" }, { "answer_id": 74315844, "author": "Kru...
2022/11/04
[ "https://Stackoverflow.com/questions/74315490", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12683974/" ]
74,315,494
<p>Using pyspark. I would have a data frame like this</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th style="text-align: center;">col1</th> <th style="text-align: center;">col2</th> <th style="text-align: center;">col3</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">1</td> ...
[ { "answer_id": 74315588, "author": "Yevhen Kuzmovych", "author_id": 4727702, "author_profile": "https://Stackoverflow.com/users/4727702", "pm_score": 2, "selected": true, "text": "level level += 1 level process_data(item, level + 1)" }, { "answer_id": 74315844, "author": "Kru...
2022/11/04
[ "https://Stackoverflow.com/questions/74315494", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6510273/" ]
74,315,515
<p>Here's the problem with iterating over the components as array elements, I guess. I tried many iteration methods for loop, .forEach() and .map(). The some result was came only from the first one. It was rendered only one component from the array, when famous methods .forEach() and .map() wasn't rendered nothing at a...
[ { "answer_id": 74315588, "author": "Yevhen Kuzmovych", "author_id": 4727702, "author_profile": "https://Stackoverflow.com/users/4727702", "pm_score": 2, "selected": true, "text": "level level += 1 level process_data(item, level + 1)" }, { "answer_id": 74315844, "author": "Kru...
2022/11/04
[ "https://Stackoverflow.com/questions/74315515", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13416525/" ]
74,315,520
<p>I tried to build a dataframe from api request response, but I'm getting this error.</p> <pre><code>url= 'https://www.reddit.com/r/Wallstreetbets/top.json?limit=10&amp;t=year' r= requests.get(url) json= r.json() message_df = pd.DataFrame(json['message']) error_df = pd.DataFrame(json['error']) message_df.head() Value...
[ { "answer_id": 74315652, "author": "Andrej Kesely", "author_id": 10035985, "author_profile": "https://Stackoverflow.com/users/10035985", "pm_score": 1, "selected": false, "text": "User-Agent import json\nimport requests\nimport pandas as pd\n\n\nheaders = {\n \"User-Agent\": \"Mozilla...
2022/11/04
[ "https://Stackoverflow.com/questions/74315520", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18066567/" ]
74,315,533
<p>I have a use case where I want my script that runs multiple functions parallelly using multiprocessing to exit with non zero code and that should stop running the script immediately on seeing the return code 1 or errors from any of the functions.</p> <p>Here is what I am trying to do, not sure if my approach is cor...
[ { "answer_id": 74315571, "author": "Will", "author_id": 12829151, "author_profile": "https://Stackoverflow.com/users/12829151", "pm_score": 2, "selected": true, "text": "sys.exit()" }, { "answer_id": 74321105, "author": "Booboo", "author_id": 2823719, "author_profile"...
2022/11/04
[ "https://Stackoverflow.com/questions/74315533", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12252991/" ]
74,315,545
<p>I have attempted to try in Python the same thing I achieve in a GIS Software.</p> <p>I have 51 centroids to compare to 90,000+ parcels and find the overlap.</p> <p>It seems that my script is working (which I am happy to have been able and write) but I was curious if there is a way to speed this up? it takes around 5...
[ { "answer_id": 74315571, "author": "Will", "author_id": 12829151, "author_profile": "https://Stackoverflow.com/users/12829151", "pm_score": 2, "selected": true, "text": "sys.exit()" }, { "answer_id": 74321105, "author": "Booboo", "author_id": 2823719, "author_profile"...
2022/11/04
[ "https://Stackoverflow.com/questions/74315545", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2377480/" ]
74,315,548
<p>The container has an image as a child. I need a line on top of that (diagonally from top right to bottom left).</p>
[ { "answer_id": 74315611, "author": "MrShakila", "author_id": 19292778, "author_profile": "https://Stackoverflow.com/users/19292778", "pm_score": 1, "selected": false, "text": "class CustomClipPath extends CustomClipper<Path> {\n var radius=10.0;\n @override\n Path getClip(Size size) {...
2022/11/04
[ "https://Stackoverflow.com/questions/74315548", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6204714/" ]
74,315,557
<pre><code>SELECT REPORTDATE,ARCHIVEDATE, RATE,GRID48_DR, REGEXP_REPLACE(SUBSTR(GRID48_DR, 1, MNTHS_BTWN - 1), '\[\*a-zA-Z0-9\]', 'X') ||RATE|| SUBSTR(GRID48_DR, 1, LENGTH(GRID48_DR) - (MNTHS_BTWN)) GRID48_NEW FROM (SELECT REPORTDATE, ARCHIVEDATE, RATE, GRID48_DR, ...
[ { "answer_id": 74315611, "author": "MrShakila", "author_id": 19292778, "author_profile": "https://Stackoverflow.com/users/19292778", "pm_score": 1, "selected": false, "text": "class CustomClipPath extends CustomClipper<Path> {\n var radius=10.0;\n @override\n Path getClip(Size size) {...
2022/11/04
[ "https://Stackoverflow.com/questions/74315557", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20416382/" ]
74,315,574
<p>I am trying to use NGINX as an authenticated passthrough proxy (which intercepts a request, checks authentication, and redirects to the original destination (including HTTPS and HTTP URLs) ). However, when I try to achieve the same, I am getting the error as</p> <pre><code>2022/11/04 15:42:58 [info] 6905#0: *7 no us...
[ { "answer_id": 74315611, "author": "MrShakila", "author_id": 19292778, "author_profile": "https://Stackoverflow.com/users/19292778", "pm_score": 1, "selected": false, "text": "class CustomClipPath extends CustomClipper<Path> {\n var radius=10.0;\n @override\n Path getClip(Size size) {...
2022/11/04
[ "https://Stackoverflow.com/questions/74315574", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6933688/" ]
74,315,585
<p>I built a script that elaborate google sheets and extract them to a Drive folder. To create it script I followed the <a href="https://developers.google.com/apps-script/guides/support/best-practices" rel="nofollow noreferrer">Best Practices</a>. What I'm noticing is that over time the execution slowed down and I don'...
[ { "answer_id": 74316172, "author": "Rubén", "author_id": 1595451, "author_profile": "https://Stackoverflow.com/users/1595451", "pm_score": 2, "selected": false, "text": "now() today() rand() randbetween() GOOGLEFINANCE SUMPRODUCT MMULT ARRAY_CONSTRAIN =A1 + 1 =A2 + 1 =A3 + 1 =A10000 + 1 ...
2022/11/04
[ "https://Stackoverflow.com/questions/74315585", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6729983/" ]
74,315,605
<p>I'm applying <code>filter</code> and <code>max</code> on a <code>List&lt;Person&gt;</code>, trying to find out oldest person(people) among the suspected list if he's on the target list</p> <pre><code>List&lt;String&gt; targetNames= new ArrayList&lt;&gt;(); targetPersonName.add(&quot;Jason&quot;); targetPersonName.ad...
[ { "answer_id": 74315876, "author": "Georglider", "author_id": 12791811, "author_profile": "https://Stackoverflow.com/users/12791811", "pm_score": 0, "selected": false, "text": ".orElse(new AbstractMap.SimpleEntry<>(0, Collections.emptyList())).getValue()\n List<Person> result = suspected...
2022/11/04
[ "https://Stackoverflow.com/questions/74315605", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11019702/" ]
74,315,648
<p>This is a docker-compose.yml file. When I am running the docker-compose-up command it will through an error. looks like **services. volumes must be a mapping ** `</p> <pre><code>version: '3.9' services: zookeeper: container_name: zookeeper image: wurstmeister/zookeeper ports: - '2181:2181' kafk...
[ { "answer_id": 74315824, "author": "Paul Rey", "author_id": 3756843, "author_profile": "https://Stackoverflow.com/users/3756843", "pm_score": 0, "selected": false, "text": "volumes -v --volume volumes" }, { "answer_id": 74315827, "author": "atish.s", "author_id": 6200354,...
2022/11/04
[ "https://Stackoverflow.com/questions/74315648", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20250062/" ]
74,315,667
<p>I am using angular and I have two children components and I wanna pass data to them. Here is how I wrote my code: This is the home template</p> <pre><code>&lt;div class=&quot;myCard&quot;&gt; &lt;mat-card style=&quot;width: 500px;&quot;&gt; &lt;mat-card-title style=&quot;display: flex; align-items: center;...
[ { "answer_id": 74315824, "author": "Paul Rey", "author_id": 3756843, "author_profile": "https://Stackoverflow.com/users/3756843", "pm_score": 0, "selected": false, "text": "volumes -v --volume volumes" }, { "answer_id": 74315827, "author": "atish.s", "author_id": 6200354,...
2022/11/04
[ "https://Stackoverflow.com/questions/74315667", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10085435/" ]
74,315,728
<p>I have a load of survey data that I need to remove the length outliers from. It looks something like this (but not much like this, a dolphin is unlikely to be 52mm):</p> <pre><code>Area Season Species Length (mm) Christchurch Spring dolphin 52 Christchurch Spring dolphin 5...
[ { "answer_id": 74316048, "author": "user2974951", "author_id": 2974951, "author_profile": "https://Stackoverflow.com/users/2974951", "pm_score": 1, "selected": true, "text": "do.call(\n rbind,\n by(\n df,\n list(df$Area,df$Season,df$Species),\n function(x){\n Q<-quantile(...
2022/11/04
[ "https://Stackoverflow.com/questions/74315728", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20416384/" ]
74,315,750
<p>There are dynamic libraries provided by others, which are out of my control. What I know is that most of the aforementioned libraries are compiled by <code>g++4.9.4</code> &amp; <code>g++4.8.4</code> with <code>C++11</code> support, and few libraries are compiled by <code>g++11.1.0</code> with <code>C++14</code> sup...
[ { "answer_id": 74339164, "author": "Dan Bonachea", "author_id": 3528321, "author_profile": "https://Stackoverflow.com/users/3528321", "pm_score": 2, "selected": false, "text": "libstdc++.so.6.0.* -march -mcpu -m64 std::string std::list" }, { "answer_id": 74343237, "author": "...
2022/11/04
[ "https://Stackoverflow.com/questions/74315750", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13611002/" ]
74,315,759
<p>If you evaluate</p> <pre><code>(Math.PI).ToString(&quot;G51&quot;) </code></pre> <p>the result is</p> <pre><code>&quot;3,141592653589793115997963468544185161590576171875&quot; </code></pre> <p><code>Math.Pi</code> is correct up to the 15th decimal which is in accordance with the precision of a <code>double</code>. &...
[ { "answer_id": 74324038, "author": "Poul Bak", "author_id": 5741643, "author_profile": "https://Stackoverflow.com/users/5741643", "pm_score": 0, "selected": false, "text": ".ToString(\"G51\") Remainder Remainder 51 double ToString Remainder" }, { "answer_id": 74324040, "autho...
2022/11/04
[ "https://Stackoverflow.com/questions/74315759", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4090370/" ]
74,315,783
<p>Looking at the <a href="https://www.gnu.org/software/cflow/manual/html_node/Source-of-wc-command.html" rel="nofollow noreferrer">sample implementation of <code>wc.c</code></a> when counting number of lines, it loop through the file, one character at a time and accumulating the '\n' to count the number of newlines:</...
[ { "answer_id": 74382402, "author": "viraltaco_", "author_id": 9282847, "author_profile": "https://Stackoverflow.com/users/9282847", "pm_score": 3, "selected": false, "text": "'\\n' std::count #include <string>\n#include <algorithm>\n\nint main() {\n const auto s = std::string(\"Hello, W...
2022/11/04
[ "https://Stackoverflow.com/questions/74315783", "https://Stackoverflow.com", "https://Stackoverflow.com/users/610569/" ]
74,315,793
<p>I have multiple rows of string where the string is all wrong. Here is one row an an example of the geometry and output expected:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>id</th> <th>geometry</th> <th>output</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>POLYGON (( 106.812271, -6...
[ { "answer_id": 74316222, "author": "player0", "author_id": 5632629, "author_profile": "https://Stackoverflow.com/users/5632629", "pm_score": 2, "selected": true, "text": "=INDEX(REGEXREPLACE(QUERY(FLATTEN(SPLIT(A1, \",\")&IF(ISODD(\n SEQUENCE(1, COLUMNS(SPLIT(A1, \",\")))),, \",\")),,9^9...
2022/11/04
[ "https://Stackoverflow.com/questions/74315793", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20355243/" ]
74,315,809
<p>I have a table with prefixes (here in csv format):</p> <pre><code>PREFIX,LABEL A,Infectious diseases B,Infectious diseases C,Tumor D1,Tumor D2,Tumor D31,Tumor D32,Tumor D33,Blood disorder D4,Blood disorder D5,Blood disorder </code></pre> <p>And I want to join it with this one:</p> <pre><code>AGE,DEATH_CODE 67,A02 85...
[ { "answer_id": 74315980, "author": "hungtv", "author_id": 19825967, "author_profile": "https://Stackoverflow.com/users/19825967", "pm_score": -1, "selected": false, "text": "select a.age, p.label \nfrom prefix p\nleft join age a on a.death_code like CONCAT(\"%\",p.prefix,\"%\"); \n" },...
2022/11/04
[ "https://Stackoverflow.com/questions/74315809", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6537892/" ]
74,315,811
<p>I get this error after submitting the form. Here's the controller code.</p> <p>The error appears to be in the validate() part.</p> <pre><code> public function store(Request $request) { $video = new Video(); $request-&gt;validate([ 'title' =&gt; 'required|max:68', 'descript...
[ { "answer_id": 74315852, "author": "ericmp", "author_id": 14569750, "author_profile": "https://Stackoverflow.com/users/14569750", "pm_score": 2, "selected": true, "text": "'video' => 'video|mimes:m4v,avi,flv,mp4,mov',\n 'video' => 'mimetypes:video/m4v,video/avi,video/flv,video/mp4,video/...
2022/11/04
[ "https://Stackoverflow.com/questions/74315811", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18645628/" ]
74,315,814
<p>Am I assigning the app role permission below in azuread.tf incorrectly?</p> <pre><code>resource &quot;azuread_application&quot; &quot;resource_creation&quot; { display_name = local.azad_resource_creation_sp_name app_role { # ensuring app role definition can be assigned to other applications (the service pri...
[ { "answer_id": 74315852, "author": "ericmp", "author_id": 14569750, "author_profile": "https://Stackoverflow.com/users/14569750", "pm_score": 2, "selected": true, "text": "'video' => 'video|mimes:m4v,avi,flv,mp4,mov',\n 'video' => 'mimetypes:video/m4v,video/avi,video/flv,video/mp4,video/...
2022/11/04
[ "https://Stackoverflow.com/questions/74315814", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20338838/" ]
74,315,849
<p>I have a column of TIMESTAMP(6) datatype in oracle and have values like 2022-04-01 18:02:42 and i wanna fetch all the records that falls between two datetime. I tried like below but no luck,</p> <pre><code>select * from table where column BETWEEN '2022-04-01 18:02:42' and '2022-11-03 19:28:57' -- no records </code>...
[ { "answer_id": 74315852, "author": "ericmp", "author_id": 14569750, "author_profile": "https://Stackoverflow.com/users/14569750", "pm_score": 2, "selected": true, "text": "'video' => 'video|mimes:m4v,avi,flv,mp4,mov',\n 'video' => 'mimetypes:video/m4v,video/avi,video/flv,video/mp4,video/...
2022/11/04
[ "https://Stackoverflow.com/questions/74315849", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20038861/" ]
74,315,879
<p>I want to replace the missing value with the average of past years on the same date.</p> <p>I think for this it is worth using the dplyr package from R's tidyverse to group the data by month and day. How can I conduct mean imputation on a subset of data?</p> <pre><code>DATA &lt;- read.csv('DateCaratNO2.csv') DATA &l...
[ { "answer_id": 74315852, "author": "ericmp", "author_id": 14569750, "author_profile": "https://Stackoverflow.com/users/14569750", "pm_score": 2, "selected": true, "text": "'video' => 'video|mimes:m4v,avi,flv,mp4,mov',\n 'video' => 'mimetypes:video/m4v,video/avi,video/flv,video/mp4,video/...
2022/11/04
[ "https://Stackoverflow.com/questions/74315879", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20356960/" ]
74,315,881
<p>I have created a fitted surface from x, y, z data points. How do I insert <code>data tips</code> for the min and max value in the chart?</p> <pre><code>defDM_fit = fit([def_X, def_Y],def_Z,'cubicinterp'); clf; figure(2) plot(defDM_fit,[def_X, def_Y],def_Z); </code></pre> <p>using the following test code is raising a...
[ { "answer_id": 74316580, "author": "Ander Biguri", "author_id": 1485872, "author_profile": "https://Stackoverflow.com/users/1485872", "pm_score": 2, "selected": false, "text": "datatip defDM_fit = fit([def_X, def_Y],def_Z,'cubicinterp');\nfigure(2)\np=plot(defDM_fit,[def_X, def_Y],def_Z)...
2022/11/04
[ "https://Stackoverflow.com/questions/74315881", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1867590/" ]
74,315,935
<p>I need to convert a vector of complex numbers into a JSON array using the <a href="https://github.com/nbsdx/SimpleJSON" rel="nofollow noreferrer">SimpleJSON</a> library.<br> Next, I will be passing my complex vector over the socket in JSON format.<br> But SimpleJSON doesn't know how to work with vectors.<br></p> <p>...
[ { "answer_id": 74316580, "author": "Ander Biguri", "author_id": 1485872, "author_profile": "https://Stackoverflow.com/users/1485872", "pm_score": 2, "selected": false, "text": "datatip defDM_fit = fit([def_X, def_Y],def_Z,'cubicinterp');\nfigure(2)\np=plot(defDM_fit,[def_X, def_Y],def_Z)...
2022/11/04
[ "https://Stackoverflow.com/questions/74315935", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20251832/" ]
74,315,940
<p>I am trying to send email from Excel, which send attachment using pivot table range saved in Data sheet from A2 and gets dynamic every day. but i am getting error as obejct does not support this method. getting error at &quot;TO&quot; field</p> <pre><code>Sub emailtest() Dim objOutlook As Object Dim objMail As Obje...
[ { "answer_id": 74316239, "author": "Eugene Astafiev", "author_id": 1603351, "author_profile": "https://Stackoverflow.com/users/1603351", "pm_score": 0, "selected": false, "text": "To Range .To = Worksheets(\"Data\").Range(\"A2: A\" & LastRow - 1).Value\n .To = Worksheets(\"Data\").Range(...
2022/11/04
[ "https://Stackoverflow.com/questions/74315940", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11773981/" ]
74,315,973
<p>I would like to transform a dataframe into a feature matrix (actually, I'm not sure it is called a feature matrix).</p> <pre><code>df = pd.DataFrame({'Car': ['Audi', 'Toyota', 'Chrysler', 'Toyota', 'Chrysler', 'Chrysler'], 'Color': ['red', 'red', 'blue', 'silver', 'blue', 'silver']}) </code></pre...
[ { "answer_id": 74316239, "author": "Eugene Astafiev", "author_id": 1603351, "author_profile": "https://Stackoverflow.com/users/1603351", "pm_score": 0, "selected": false, "text": "To Range .To = Worksheets(\"Data\").Range(\"A2: A\" & LastRow - 1).Value\n .To = Worksheets(\"Data\").Range(...
2022/11/04
[ "https://Stackoverflow.com/questions/74315973", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20358971/" ]
74,315,982
<ul> <li>Wordpress 4.0.6</li> <li>XAMPP 1.8.2 [Apache 2.4.4, MySQL 5.5.32, PHP 5.4.25, phpMyAdmin 4.0.4] or AMPPS 2.7</li> <li>Theme: Directory 4.18 By AitThemes</li> </ul> <p>I'm working on a backup of an old site from early 2015, however I'm getting the error below. Everything works fine except when I try to load/liv...
[ { "answer_id": 74316239, "author": "Eugene Astafiev", "author_id": 1603351, "author_profile": "https://Stackoverflow.com/users/1603351", "pm_score": 0, "selected": false, "text": "To Range .To = Worksheets(\"Data\").Range(\"A2: A\" & LastRow - 1).Value\n .To = Worksheets(\"Data\").Range(...
2022/11/04
[ "https://Stackoverflow.com/questions/74315982", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11678839/" ]
74,316,021
<p>I have a ZULU timestamp that I have to convert into Paris time zone.</p> <pre class="lang-none prettyprint-override"><code>ZULU 2022-11-04T06:10:08.606+00:00 --&gt; Paris 2022-11-04T07:10:08.606+01:00 </code></pre> <p>And have to take care of DST for example: Summer time Hour +2 hour Winter time Hour +1 hour</p>...
[ { "answer_id": 74316503, "author": "deHaar", "author_id": 1712135, "author_profile": "https://Stackoverflow.com/users/1712135", "pm_score": 4, "selected": true, "text": "java.time java.time.OffsetDateTime OffsetDateTime ZonedDateTime ZonedDateTime ZonedDateTime ZoneId public static void ...
2022/11/04
[ "https://Stackoverflow.com/questions/74316021", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5023024/" ]
74,316,090
<p>Hello in my laravel application i have a moment when the user is notified on mail when tha order is complete.</p> <p>` In my controller i have:</p> <pre><code>Mail::to('test@mail')-&gt;send(new OrderSuccess($id)); // $id is a string </code></pre> <p>in mail.php</p> <pre><code>&lt;?php namespace App\Mail; use Illu...
[ { "answer_id": 74316503, "author": "deHaar", "author_id": 1712135, "author_profile": "https://Stackoverflow.com/users/1712135", "pm_score": 4, "selected": true, "text": "java.time java.time.OffsetDateTime OffsetDateTime ZonedDateTime ZonedDateTime ZonedDateTime ZoneId public static void ...
2022/11/04
[ "https://Stackoverflow.com/questions/74316090", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20299680/" ]
74,316,095
<p>Is there a way to publish using ROS1 based ros version in one machine and subscribe to these same topics from another machine that only use ROS2 versions like humble.</p> <p>Clarification Machine 1 Version1: ROS1 Distro: Naotic Publisher Node: Publisher1 Topic: /sampletopic</p> <p>Machine 2 Version2: ROS2 Distro: Hu...
[ { "answer_id": 74338767, "author": "Andyza", "author_id": 13250503, "author_profile": "https://Stackoverflow.com/users/13250503", "pm_score": 1, "selected": false, "text": "sudo apt install ros-foxy-ros1-bridge" } ]
2022/11/04
[ "https://Stackoverflow.com/questions/74316095", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5169765/" ]
74,316,101
<p>For some reason I have to install a perforce server and I've been trying to automate the installation but I have a stupid issue with the fact that I can't rerun the script a day after as the session expired.</p> <p>For clarification pupose:</p> <ul> <li>I'm installing perforce server on linux, the server is running ...
[ { "answer_id": 74318582, "author": "Samwise", "author_id": 3799759, "author_profile": "https://Stackoverflow.com/users/3799759", "pm_score": 0, "selected": false, "text": "p4 login p4 login p4 logout\n p4 set P4PASSWD=your_password\n p4 changes -m1\n p4 login p4 login P4PASSWD P4PASSWD p...
2022/11/04
[ "https://Stackoverflow.com/questions/74316101", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6588456/" ]
74,316,125
<p>I have got two ggplots, of which I want the size of the grey area to be exactly equal.</p> <p>Now by playing around I can get very close by setting first plot width to 12 and second plot width to 14.</p> <pre><code>ggsave(filename=&quot;test1.png&quot;, myPlot, width = 12, height =12, dpi=300, units=&quot;cm&quot;, ...
[ { "answer_id": 74318582, "author": "Samwise", "author_id": 3799759, "author_profile": "https://Stackoverflow.com/users/3799759", "pm_score": 0, "selected": false, "text": "p4 login p4 login p4 logout\n p4 set P4PASSWD=your_password\n p4 changes -m1\n p4 login p4 login P4PASSWD P4PASSWD p...
2022/11/04
[ "https://Stackoverflow.com/questions/74316125", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2071794/" ]
74,316,131
<p>sI have a livewire form with an address field that has google places autocomplete enabled on it. Every time I select an address from the autocomplete list and move to a new input in the form the address input gets reset to the value before clicking the address I wanted.</p> <p>I added wire:ignore on my field and it ...
[ { "answer_id": 74318582, "author": "Samwise", "author_id": 3799759, "author_profile": "https://Stackoverflow.com/users/3799759", "pm_score": 0, "selected": false, "text": "p4 login p4 login p4 logout\n p4 set P4PASSWD=your_password\n p4 changes -m1\n p4 login p4 login P4PASSWD P4PASSWD p...
2022/11/04
[ "https://Stackoverflow.com/questions/74316131", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1326160/" ]
74,316,176
<p>I have following data:</p> <pre><code>value = [[&quot;time1&quot;, &quot;client1&quot;, None, &quot;username1&quot;], [&quot;time2&quot;, &quot;client1&quot;, &quot;event1&quot;, &quot;username1&quot;], [&quot;time3&quot;, &quot;client1&quot;, None, &quot;username2&quot;], [&quot;time4&quot;, &quot;client2&quot;, No...
[ { "answer_id": 74318582, "author": "Samwise", "author_id": 3799759, "author_profile": "https://Stackoverflow.com/users/3799759", "pm_score": 0, "selected": false, "text": "p4 login p4 login p4 logout\n p4 set P4PASSWD=your_password\n p4 changes -m1\n p4 login p4 login P4PASSWD P4PASSWD p...
2022/11/04
[ "https://Stackoverflow.com/questions/74316176", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15597400/" ]
74,316,178
<p>I want to run both react and node on single server because i don't want to start it together. like when i run npm start both will be run because i want to run project using electronjs.</p> <p>I tried to run command <code>npm start client.js server.js</code> but it didn't work</p>
[ { "answer_id": 74316247, "author": "Moussa Bistami", "author_id": 15628525, "author_profile": "https://Stackoverflow.com/users/15628525", "pm_score": -1, "selected": false, "text": "3000 3001 docker run CLIENT_IMAGE -p 3000:3000 docker run SERVER_IMAGE -p 3001:3000" } ]
2022/11/04
[ "https://Stackoverflow.com/questions/74316178", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19380618/" ]
74,316,179
<p>Context:<br /> I'm building a app that can plot graph structures in electron with react. My backend is some Matlab code that can perform analysis on the graph struct. I'm using flask as the middle man communicating between them.</p> <p>In the GUI i have a button that should be able to load the data that is provided ...
[ { "answer_id": 74316462, "author": "Bhagya Mudgal", "author_id": 18245194, "author_profile": "https://Stackoverflow.com/users/18245194", "pm_score": 1, "selected": false, "text": "const fetchGridData = async () => {\n try {\n const response = await fetch('http://localhost:5000/...
2022/11/04
[ "https://Stackoverflow.com/questions/74316179", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20416697/" ]
74,316,183
<p>i have this input component:</p> <p><a href="https://i.stack.imgur.com/NPv1s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NPv1s.png" alt="enter image description here" /></a></p> <p>I want to change the style of input component if the value of input is less than the current year. for example, i...
[ { "answer_id": 74316294, "author": "Bhagya Mudgal", "author_id": 18245194, "author_profile": "https://Stackoverflow.com/users/18245194", "pm_score": 2, "selected": false, "text": "useState changeStyle import {useState} from \"react\";\n\nconst [changeStyle, setChangeStyle] = useState(fal...
2022/11/04
[ "https://Stackoverflow.com/questions/74316183", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18446878/" ]
74,316,233
<p>Just getting to learn C better and I'm playing with arrays.</p> <p>I would like to enter my phone number into an array like this:</p> <pre><code>#include &lt;stdio.h&gt; int main() { int phoneNum[10]; for (int i = 0; i &lt; sizeof(phoneNum); i++) { printf(&quot;Insert digit %d of your phone n...
[ { "answer_id": 74316457, "author": "embedded4ever", "author_id": 8647388, "author_profile": "https://Stackoverflow.com/users/8647388", "pm_score": 2, "selected": false, "text": "sizeof(phoneNum) #include <stdio.h> \n\nint main() \n{ \n\n int phoneNum[10] = {0};\n const size_t size =...
2022/11/04
[ "https://Stackoverflow.com/questions/74316233", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11770144/" ]
74,316,241
<p>this my laravel Task Controller</p> <pre><code>&lt;?php namespace App\Http\Controllers; use App\Models\task; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Validator; class TaskController extends Controller { public function getTask() ...
[ { "answer_id": 74316457, "author": "embedded4ever", "author_id": 8647388, "author_profile": "https://Stackoverflow.com/users/8647388", "pm_score": 2, "selected": false, "text": "sizeof(phoneNum) #include <stdio.h> \n\nint main() \n{ \n\n int phoneNum[10] = {0};\n const size_t size =...
2022/11/04
[ "https://Stackoverflow.com/questions/74316241", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20367393/" ]
74,316,269
<p>I would like to test some dash plotly UI functions with cypress but I have some problems with ids based on dash <a href="https://dash.plotly.com/pattern-matching-callbacks#simple-example-with-match" rel="nofollow noreferrer">Pattern Matching</a>, e.g.:</p> <img src="https://i.stack.imgur.com/f1TmCm.png" width="800" ...
[ { "answer_id": 74319362, "author": "Rene", "author_id": 9620269, "author_profile": "https://Stackoverflow.com/users/9620269", "pm_score": 0, "selected": false, "text": "cy.get(\"\") [id=''] \\\"index\\\" cy.get(\"[id='{\\\"index\\\":0,\\\"type\\\":\\\"dynamic-dropdown\\\"}']\").should('e...
2022/11/04
[ "https://Stackoverflow.com/questions/74316269", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9620269/" ]
74,316,302
<p>So I created a sidebar wherein i have different links, such as <code>orders, users, products</code>. So, when I click fast at a different URL, I get an error. I also create a loading state so every time the URL changes, it reloads. But this most happened when I click on to <strong>order</strong> link. I also tried ...
[ { "answer_id": 74316407, "author": "Apostolos", "author_id": 1121008, "author_profile": "https://Stackoverflow.com/users/1121008", "pm_score": 1, "selected": false, "text": "_SOME_PROPERTY[_SOME_INDEX] {params.row?.products[0]?.productId?.title}\n {params.row?.products[0] ? params.row?.p...
2022/11/04
[ "https://Stackoverflow.com/questions/74316302", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20088885/" ]
74,316,322
<p>The <a href="https://safe-stack.github.io/docs/quickstart/" rel="nofollow noreferrer">SAFE Stack Documentation</a> says to install <strong>npm</strong> (amongst other things) as a pre-requisite to build SAFE apps. But the link refers to <a href="https://www.npmjs.com" rel="nofollow noreferrer">https://www.npmjs.com<...
[ { "answer_id": 74323628, "author": "Miroslav Husťák", "author_id": 8910438, "author_profile": "https://Stackoverflow.com/users/8910438", "pm_score": 1, "selected": true, "text": "cmd dotnet run package.json \"private\": true, \n\n \"engines\": {\n\n \"node\": \"18....
2022/11/04
[ "https://Stackoverflow.com/questions/74316322", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8910438/" ]
74,316,379
<p>so I'm trying to iterate over a char array in c. The Array is defined in a header file like this.</p> <p><code>char const SEQUENCE[] PROGMEM = &quot;\MdTqZWYzVf5E661OAd4r7ylINBLNEAzO... </code> the array is well over 1 thousand characters in length.</p> <p>next I've been told to use the extern key word to bring the ...
[ { "answer_id": 74317267, "author": "Tenobaal", "author_id": 18861247, "author_profile": "https://Stackoverflow.com/users/18861247", "pm_score": -1, "selected": false, "text": "#ifndef INCLUDE_headername_H\n#define INCLUDE_headername_H\n...\nextern const char* SEQUENCE;\n...\n#endif\n #in...
2022/11/04
[ "https://Stackoverflow.com/questions/74316379", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15557228/" ]
74,316,401
<p>In the first example, it is understood that <code>num2</code> gets the updated value of <code>num1</code> i.e., <code>4</code>.</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"><...
[ { "answer_id": 74316450, "author": "T.J. Crowder", "author_id": 157247, "author_profile": "https://Stackoverflow.com/users/157247", "pm_score": 2, "selected": true, "text": "num2 = num1; num1 num2 num2 let lastName = firstName; firstName lastName firstName firstName lastName firstName = ...
2022/11/04
[ "https://Stackoverflow.com/questions/74316401", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19391190/" ]
74,316,432
<p>can someone please tell me why the 3rd div is looking that way instead of being right under the 1st div? And what would I need to write in my CSS file to make the 3rd div positioned right under the 1st one? <a href="https://i.stack.imgur.com/uxW9V.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ux...
[ { "answer_id": 74316539, "author": "SMAKSS", "author_id": 11908502, "author_profile": "https://Stackoverflow.com/users/11908502", "pm_score": 3, "selected": true, "text": "block block inline-block block grid-template-columns grid-auto-rows grid-column grid-row .div-main {\n display: gri...
2022/11/04
[ "https://Stackoverflow.com/questions/74316432", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10367451/" ]
74,316,444
<p>I'm creating an app for my company to add a user and group to AD.</p> <p>I can add the user fine, but struggling to add the user to a group.</p> <p>I get the following : Exception thrown: <code>'System.DirectoryServices.DirectoryServicesCOMException' in System.DirectoryServices.dll</code></p> <p>Please help :-D</p> ...
[ { "answer_id": 74316539, "author": "SMAKSS", "author_id": 11908502, "author_profile": "https://Stackoverflow.com/users/11908502", "pm_score": 3, "selected": true, "text": "block block inline-block block grid-template-columns grid-auto-rows grid-column grid-row .div-main {\n display: gri...
2022/11/04
[ "https://Stackoverflow.com/questions/74316444", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20416834/" ]
74,316,461
<p>so I have to make a function that does binning and counts the different breaks. So what I have for now is:</p> <pre><code> binfunc &lt;- function(numbers, breaks) { .bincode(numbers, breaks, right = TRUE, include.lowest = FALSE) } </code></pre> <p>The output for an example vector would be:</p> <pre><code>numbers1...
[ { "answer_id": 74316539, "author": "SMAKSS", "author_id": 11908502, "author_profile": "https://Stackoverflow.com/users/11908502", "pm_score": 3, "selected": true, "text": "block block inline-block block grid-template-columns grid-auto-rows grid-column grid-row .div-main {\n display: gri...
2022/11/04
[ "https://Stackoverflow.com/questions/74316461", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18463607/" ]
74,316,484
<p>I am trying to make a contact form and I need to have a big text box for people to explain their inquiry in detail. Currently I am using:</p> <pre><code>&lt;div class=&quot;formField&quot;&gt; &lt;label for=&quot;contactType2&quot;&gt; Details about your inquiry &lt;/label&gt; &lt;input type=&quot;text&quot...
[ { "answer_id": 74316539, "author": "SMAKSS", "author_id": 11908502, "author_profile": "https://Stackoverflow.com/users/11908502", "pm_score": 3, "selected": true, "text": "block block inline-block block grid-template-columns grid-auto-rows grid-column grid-row .div-main {\n display: gri...
2022/11/04
[ "https://Stackoverflow.com/questions/74316484", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19985446/" ]
74,316,487
<p>I tried to make a button that displays the hidden content when revealed using bootstrap but it's not working. Any Suggestions</p> <pre><code>&lt;button class=&quot;bc2 border-primary bg-primary rounded-2 mt-4 p-1 text-nowrap card-footer text-white&quot; type=&quot;button&quot; data-toggle=&quot;collapse&quot; data-t...
[ { "answer_id": 74316703, "author": "Cervus camelopardalis", "author_id": 10347145, "author_profile": "https://Stackoverflow.com/users/10347145", "pm_score": 2, "selected": false, "text": "data-toggle=\"collapse\" data-bs-toggle=\"collapse\" data-target=\"#ho2\" data-bs-target=\"#ho2\"" ...
2022/11/04
[ "https://Stackoverflow.com/questions/74316487", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20417015/" ]
74,316,504
<pre><code> #include &lt;stdio.h&gt; int main() { int a,i,j; FILE *fp,*fw; fp=fopen(&quot;new.txt&quot;, &quot;r&quot;); fw=fopen(&quot;exam.txt&quot;, &quot;w&quot;); for (i=0; i&lt;4; i++) { int flag=0; fscanf(fp,&quot;%d&quot;,&amp;a); for(j=2;j&lt;a;j++) { ...
[ { "answer_id": 74316742, "author": "Eric Postpischil", "author_id": 298225, "author_profile": "https://Stackoverflow.com/users/298225", "pm_score": 0, "selected": false, "text": "int flag=0; int flag=0; { … } } if(flag==0) int flag=0; for static extern" } ]
2022/11/04
[ "https://Stackoverflow.com/questions/74316504", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20416885/" ]
74,316,519
<p>I wondering if there is any way to get a time interval for an item in Flutter?</p> <p>Example:</p> <p>I have an item where I set a date when this item was last calibrated, and then I want the application to remind me (with either a push message or an email) after a set period of time for the next calibration and so ...
[ { "answer_id": 74316742, "author": "Eric Postpischil", "author_id": 298225, "author_profile": "https://Stackoverflow.com/users/298225", "pm_score": 0, "selected": false, "text": "int flag=0; int flag=0; { … } } if(flag==0) int flag=0; for static extern" } ]
2022/11/04
[ "https://Stackoverflow.com/questions/74316519", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15971353/" ]
74,316,550
<p>I am working on a project that makes heavy use of static polymorphism. A particular use-case that I am interested in would be made possible by static reflection, but we still don't have this in C++. The use case looks something like this: I have a functions that read/write a data structure to/from a binary file:</p>...
[ { "answer_id": 74319154, "author": "Jakob Stark", "author_id": 17862371, "author_profile": "https://Stackoverflow.com/users/17862371", "pm_score": 2, "selected": false, "text": "typeid(...).name() typeid(...).hash_code() int int read_binary write_binary" }, { "answer_id": 7432339...
2022/11/04
[ "https://Stackoverflow.com/questions/74316550", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3112622/" ]
74,316,576
<p>I'm facing the following problem: I'm building a third-party integration into my Django app. Users that already use the third-party should be able to click on a button and be redirected to my app. In the redirect, the third-party will send a POST request with a JSON that contains some info (email, some IDs etc.).</p...
[ { "answer_id": 74319154, "author": "Jakob Stark", "author_id": 17862371, "author_profile": "https://Stackoverflow.com/users/17862371", "pm_score": 2, "selected": false, "text": "typeid(...).name() typeid(...).hash_code() int int read_binary write_binary" }, { "answer_id": 7432339...
2022/11/04
[ "https://Stackoverflow.com/questions/74316576", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19481659/" ]
74,316,579
<p>I have two different arrays. One is like:</p> <pre><code>const arrOne = [ [{sender: '0000', to: '1111'}], [{sender: '2222', to: '1111'}] ]; </code></pre> <p>And the other array is like:</p> <pre><code>const arrTwo = [ { firstName: 'John', lastName: 'Doe', num: '1111' } ] </code></pre> <p>Now ...
[ { "answer_id": 74319154, "author": "Jakob Stark", "author_id": 17862371, "author_profile": "https://Stackoverflow.com/users/17862371", "pm_score": 2, "selected": false, "text": "typeid(...).name() typeid(...).hash_code() int int read_binary write_binary" }, { "answer_id": 7432339...
2022/11/04
[ "https://Stackoverflow.com/questions/74316579", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9343113/" ]
74,316,670
<p>from te first page of <a href="https://riverpod.dev/it/" rel="nofollow noreferrer">Rivepod</a> library I found this example.</p> <pre><code>final counterProvider = StateNotifierProvider&lt;Counter, int&gt;((ref) { return Counter(); }); class Counter extends StateNotifier&lt;int&gt; { Counter() : super(0); voi...
[ { "answer_id": 74317060, "author": "john", "author_id": 16146701, "author_profile": "https://Stackoverflow.com/users/16146701", "pm_score": 0, "selected": false, "text": "class Counter extends StateNotifier<int> {\n Counter({int value = 0}) : super(value);\n void increment() => state++...
2022/11/04
[ "https://Stackoverflow.com/questions/74316670", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4016462/" ]
74,316,671
<p>This is an example of input.txt:<br /> <a href="https://i.stack.imgur.com/uDCVb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uDCVb.png" alt="enter image description here" /></a></p> <p>I need to read the matrix from the input.txt file and output it to the output.txt file in the same format. The...
[ { "answer_id": 74317060, "author": "john", "author_id": 16146701, "author_profile": "https://Stackoverflow.com/users/16146701", "pm_score": 0, "selected": false, "text": "class Counter extends StateNotifier<int> {\n Counter({int value = 0}) : super(value);\n void increment() => state++...
2022/11/04
[ "https://Stackoverflow.com/questions/74316671", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17274825/" ]
74,316,705
<p>I'm currently working on a project where I need the data factory pipeline to copy based off the last run date.</p> <p>The process breakdown....</p> <ol> <li>Data is ingested into a storage account</li> <li>The data ingested is in the directory format topic/yyyy/mm/dd i.e., multiple files being brought in a single di...
[ { "answer_id": 74317060, "author": "john", "author_id": 16146701, "author_profile": "https://Stackoverflow.com/users/16146701", "pm_score": 0, "selected": false, "text": "class Counter extends StateNotifier<int> {\n Counter({int value = 0}) : super(value);\n void increment() => state++...
2022/11/04
[ "https://Stackoverflow.com/questions/74316705", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18438858/" ]
74,316,708
<p>There are two tables. It is necessary to insert two fields from one to the other so that duplicates do not appear. I tried those methods that are described for</p> <blockquote> <pre><code> USING INSERT IGNORE Using replace USING INSERT ... on duplicate key update </code></pre> </blockquote> <p>But I didn't succeed...
[ { "answer_id": 74317060, "author": "john", "author_id": 16146701, "author_profile": "https://Stackoverflow.com/users/16146701", "pm_score": 0, "selected": false, "text": "class Counter extends StateNotifier<int> {\n Counter({int value = 0}) : super(value);\n void increment() => state++...
2022/11/04
[ "https://Stackoverflow.com/questions/74316708", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12355439/" ]
74,316,716
<p>Let's say its the 15th and my function runs, if that function is called again on the 15th it will not run. But if the date is the 16th and the function is called, then it is allowed to run. How could I achieve this? P.S. Code below is in visual basic however C# is fine for an answer</p> <pre><code>Private Sub Creat...
[ { "answer_id": 74316947, "author": "Tolbxela", "author_id": 2487565, "author_profile": "https://Stackoverflow.com/users/2487565", "pm_score": 0, "selected": false, "text": "using System;\nusing System.Threading;\n \npublic class Program\n{\n private static DateTime ...
2022/11/04
[ "https://Stackoverflow.com/questions/74316716", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19719649/" ]
74,316,723
<p><a href="https://i.stack.imgur.com/HaJdb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HaJdb.png" alt="this is the error that has appeared" /></a></p> <p>I tried to just add (assets/ ) but that didn't solve the problem</p>
[ { "answer_id": 74316947, "author": "Tolbxela", "author_id": 2487565, "author_profile": "https://Stackoverflow.com/users/2487565", "pm_score": 0, "selected": false, "text": "using System;\nusing System.Threading;\n \npublic class Program\n{\n private static DateTime ...
2022/11/04
[ "https://Stackoverflow.com/questions/74316723", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13493586/" ]
74,316,729
<p>I have the following values</p> <pre><code>values &lt;- seq(1,3) </code></pre> <p>I would like to have the resulting dataframe</p> <pre><code># A tibble: 6 x 2 facet values &lt;dbl&gt; &lt;dbl&gt; 1 1 1 2 2 1 3 2 2 4 3 1 5 3 2 6 3 3 </code></pre> <p>The <cod...
[ { "answer_id": 74316814, "author": "B. Christian Kamgang", "author_id": 10848898, "author_profile": "https://Stackoverflow.com/users/10848898", "pm_score": 2, "selected": false, "text": "library(dplyr)\n\ntibble(facet=1:3) %>%\n group_by(facet) %>%\n summarise(values = seq_len(facet)) ...
2022/11/04
[ "https://Stackoverflow.com/questions/74316729", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2444023/" ]
74,316,730
<p>I have the following code that gets called from a Controller.</p> <pre><code>public async Task Execute() { var collections= await _repo.GetCollections(); // This gets 500+ items List&lt;Object1&gt; coolCollections= new List&lt;Object1&gt;(); List&lt;Object2&gt; uncoolCollections= new List&lt;Object2&gt;...
[ { "answer_id": 74317068, "author": "Panagiotis Kanavos", "author_id": 134204, "author_profile": "https://Stackoverflow.com/users/134204", "pm_score": 3, "selected": true, "text": "ParallelOptions parallelOptions = new()\n{\n MaxDegreeOfParallelism = 30\n};\n \nawait Parallel.ForEachAs...
2022/11/04
[ "https://Stackoverflow.com/questions/74316730", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7716559/" ]
74,316,754
<p>I have a proxy to set it on my Visual Studio by this command line on the terminal : <code>export HTTP_PROXY=http://127.0.0.1:22548</code>. I can run my script without issues. But I can not put this config on GitHub Actions? Somme one can help me?</p>
[ { "answer_id": 74333385, "author": "tg0h", "author_id": 11813885, "author_profile": "https://Stackoverflow.com/users/11813885", "pm_score": 2, "selected": false, "text": "jobs:\n cypress_test:\n runs-on: ubuntu-latest\n steps:\n - name: \"run cypress test\"\n run: echo...
2022/11/04
[ "https://Stackoverflow.com/questions/74316754", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12044397/" ]
74,316,851
<p>I encountered a strange problem, but to make it clear see the code first:</p> <pre><code>#include &lt;stdio.h&gt; #include &lt;stdint.h&gt; int main() { uint8_t a = 0b1000'0000; // -&gt; one leftmost bit uint8_t b = 0b1000'0000; a = (a &lt;&lt; 1) &gt;&gt; 1; // -&gt; Both shifts in one line ...
[ { "answer_id": 74316971, "author": "dbush", "author_id": 1687119, "author_profile": "https://Stackoverflow.com/users/1687119", "pm_score": 5, "selected": true, "text": "int int bool char16_t char32_t wchar_t int int int unsigned int a = (a << 1) >> 1\n a uint8_t int uint8_t 0x80 a b = b ...
2022/11/04
[ "https://Stackoverflow.com/questions/74316851", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10581770/" ]
74,316,883
<p>This code only deletes a string which I provide it in removed_str variable but I want to delete all the string which start from &quot;|&quot; and ends with &quot;|&quot;. How should i do it?</p> <pre><code>int main() { std::ifstream in_file(&quot;Test-1.txt&quot;); std::ofstream out_file(&quot;output.txt&quot;);...
[ { "answer_id": 74316971, "author": "dbush", "author_id": 1687119, "author_profile": "https://Stackoverflow.com/users/1687119", "pm_score": 5, "selected": true, "text": "int int bool char16_t char32_t wchar_t int int int unsigned int a = (a << 1) >> 1\n a uint8_t int uint8_t 0x80 a b = b ...
2022/11/04
[ "https://Stackoverflow.com/questions/74316883", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12422272/" ]
74,316,890
<p>How do I extract/view the csv files created by this block of code? What the code does is pull data from a table and extract the json elements. I am running this code on Jupyter notebook but I can't figure out how to view the csv file.</p> <pre><code>print('Conducting ETL for all events data') class CsvBuilder: ...
[ { "answer_id": 74317520, "author": "svfat", "author_id": 2419628, "author_profile": "https://Stackoverflow.com/users/2419628", "pm_score": 0, "selected": false, "text": "import pathlib\nCWD = pathlib.Path().resolve()\n...\nCsvBuilder(CWD / 'open.csv')\n...\npd.read_csv(CWD / 'open.csv')\...
2022/11/04
[ "https://Stackoverflow.com/questions/74316890", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20417204/" ]
74,316,893
<p>I'm trying to develop a flutter app. The idea of the app is to get the location of some users and show it in a container (not in a map).</p> <p>However, here we have some conditions, for example, my location is the main location of the list of locations and the most important, I can get the distance of the different...
[ { "answer_id": 74317520, "author": "svfat", "author_id": 2419628, "author_profile": "https://Stackoverflow.com/users/2419628", "pm_score": 0, "selected": false, "text": "import pathlib\nCWD = pathlib.Path().resolve()\n...\nCsvBuilder(CWD / 'open.csv')\n...\npd.read_csv(CWD / 'open.csv')\...
2022/11/04
[ "https://Stackoverflow.com/questions/74316893", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16077730/" ]
74,316,939
<p>I have a list with some dicts inside. The list looks like this:</p> <pre><code>files = [ {'name': &quot;text.txt&quot;, 'size': 10, 'location': &quot;cloud&quot;, 'info': &quot;Nothing&quot;}, {'name': &quot;img.jpg&quot;, 'size': 200, 'location': &quot;local&quot;, 'info': &quot;private&quot;}, {'name': &quot;cars....
[ { "answer_id": 74316994, "author": "Equinox", "author_id": 5660284, "author_profile": "https://Stackoverflow.com/users/5660284", "pm_score": 1, "selected": false, "text": "files = [dic['name'] for dic in files if dic['location'] == 'cloud' and dic['info'] == \"Nothing\"])\nprint(files)\n...
2022/11/04
[ "https://Stackoverflow.com/questions/74316939", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12493291/" ]
74,316,955
<p>Given the following python pandas dataframe:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>province</th> <th>district</th> </tr> </thead> <tbody> <tr> <td>Total</td> <td>example</td> </tr> <tr> <td>NaN</td> <td>other</td> </tr> <tr> <td>Other</td> <td>NaN</td> </tr> <tr> <td>NaN</td> <...
[ { "answer_id": 74317056, "author": "sophocles", "author_id": 9167382, "author_profile": "https://Stackoverflow.com/users/9167382", "pm_score": 0, "selected": false, "text": "loc NaN df.loc[(df.province.isnull()) & (df.district.eq('example')),'province'] = 'example'\n province district\...
2022/11/04
[ "https://Stackoverflow.com/questions/74316955", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18396935/" ]
74,316,965
<p>I have been trying (unsuccessfully) to use the solutions from several threads, especially: <a href="https://stackoverflow.com/q/68803148">Get column name based on row values matching in DF in R (more than 3 column names)</a> <a href="https://stackoverflow.com/q/46456265">Populate a new column if a value is found in ...
[ { "answer_id": 74317056, "author": "sophocles", "author_id": 9167382, "author_profile": "https://Stackoverflow.com/users/9167382", "pm_score": 0, "selected": false, "text": "loc NaN df.loc[(df.province.isnull()) & (df.district.eq('example')),'province'] = 'example'\n province district\...
2022/11/04
[ "https://Stackoverflow.com/questions/74316965", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20398697/" ]
74,316,986
<p>I start working with Vue3 and created some basic app with adding items to list.</p> <p>I have two componetnts: <strong>ItemList</strong> and <strong>ItemForm</strong>. Both are added to main <strong>App.vue</strong> component like that:</p> <p><strong>App.vue - simplified</strong></p> <pre class="lang-html prettypri...
[ { "answer_id": 74317057, "author": "ericmp", "author_id": 14569750, "author_profile": "https://Stackoverflow.com/users/14569750", "pm_score": 1, "selected": false, "text": "<template>\n<Comp @send-data=\"callback\" />\n\n<input v-model=\"myInput\" />\n</template>\n\n<script setup>\nimpor...
2022/11/04
[ "https://Stackoverflow.com/questions/74316986", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1977199/" ]
74,317,026
<p>I have two views one is parent view (Ics view) in which I have added child view (side View). In IcsView I have written code for buttons add file and add folder now I want to bind that data in child view i.e. side view.</p> <p>Model:</p> <pre><code> public partial class Data:ObservableObject { public string file...
[ { "answer_id": 74317057, "author": "ericmp", "author_id": 14569750, "author_profile": "https://Stackoverflow.com/users/14569750", "pm_score": 1, "selected": false, "text": "<template>\n<Comp @send-data=\"callback\" />\n\n<input v-model=\"myInput\" />\n</template>\n\n<script setup>\nimpor...
2022/11/04
[ "https://Stackoverflow.com/questions/74317026", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19836184/" ]
74,317,037
<p>Created an indeterminate progress-bar. I have added padding but that does not seem to apply on the right side.</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-css lang-css prettyprint-override"><code>.progress-...
[ { "answer_id": 74317161, "author": "CBroe", "author_id": 1427878, "author_profile": "https://Stackoverflow.com/users/1427878", "pm_score": 2, "selected": true, "text": ".progress-bar {\n height: 5px;\n background-color: red;\n width: 10rem;\n overflow: hidden;\n padding: 1rem 0 1rem...
2022/11/04
[ "https://Stackoverflow.com/questions/74317037", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20330384/" ]
74,317,065
<p>I have a dataset which has two variables, one character and one numeric :</p> <pre><code>structure(list(ID = c(&quot;A&quot;, &quot;B&quot;, &quot;C&quot;, &quot;D&quot;, &quot;E&quot;, &quot;A&quot;, &quot;B&quot;, &quot;C&quot;, &quot;D&quot;, &quot;E&quot;, &quot;A&quot;, &quot;B&quot;, &quot;C&quot;, &quot;D&qu...
[ { "answer_id": 74317097, "author": "Tom Hoel", "author_id": 17213355, "author_profile": "https://Stackoverflow.com/users/17213355", "pm_score": 0, "selected": false, "text": "library(tidyverse)\n\ndf %>% \n pivot_wider(names_from = ID, \n values_from = value) %>% \n unnes...
2022/11/04
[ "https://Stackoverflow.com/questions/74317065", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13069688/" ]
74,317,090
<p>I have question about showing popup and hiding on mouseenter and mouseleave events. HTML part of question:</p> <pre><code>&lt;div id=\&quot;social-wrapper\&quot;&gt; &lt;input type=\&quot;checkbox\&quot; class=\&quot;checkbox\&quot; id=\&quot;share\&quot; /&gt; &lt;label for=\&quot;share\&quot; class=\&quot;la...
[ { "answer_id": 74317235, "author": "zillionera_dev", "author_id": 15306153, "author_profile": "https://Stackoverflow.com/users/15306153", "pm_score": 3, "selected": true, "text": "#social-wrapper:hover .social {\n visibility: visible;\n opacity: 1;\n position: relative;\n}\n#soc...
2022/11/04
[ "https://Stackoverflow.com/questions/74317090", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14283036/" ]
74,317,095
<p>Apologies in advance for such a long and basic question!</p> <p>Given the following three <code>html</code> snippets which are part of a bigger part as follows:</p> <pre><code>&lt;html&gt; &lt;body&gt; &lt;span _ngcontent-ont-c199=&quot;&quot; class=&quot;font-weight-bold&quot;&gt; &lt;span _ngcontent-ont-c199...
[ { "answer_id": 74317283, "author": "svfat", "author_id": 2419628, "author_profile": "https://Stackoverflow.com/users/2419628", "pm_score": 0, "selected": false, "text": " result = soup.find_all(\"span\", \"ng-star-inserted\")\n for position, element in enumerate(result):\n p...
2022/11/04
[ "https://Stackoverflow.com/questions/74317095", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5437090/" ]
74,317,098
<p>How to center a HR tag vertically in a div, i tried this but its not centered perfectly</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-css lang-css prettyprint-override"><code>.container { position: relati...
[ { "answer_id": 74317170, "author": "Johannes", "author_id": 5641669, "author_profile": "https://Stackoverflow.com/users/5641669", "pm_score": 3, "selected": true, "text": "transform translateY(-50%); margin: 0; hr top bottom height .container {\n position: relative;\n width: 80vw;\...
2022/11/04
[ "https://Stackoverflow.com/questions/74317098", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18461576/" ]
74,317,103
<p>The project required is to make the uppercase letters to be lowercased and vice versa. I don't understand why my code isn't working as expected.</p> <p>The code is below:</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="sni...
[ { "answer_id": 74317170, "author": "Johannes", "author_id": 5641669, "author_profile": "https://Stackoverflow.com/users/5641669", "pm_score": 3, "selected": true, "text": "transform translateY(-50%); margin: 0; hr top bottom height .container {\n position: relative;\n width: 80vw;\...
2022/11/04
[ "https://Stackoverflow.com/questions/74317103", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16385537/" ]
74,317,133
<p>I am trying to do a complex order by or possibly a group by and then order by. The table name is curtomer_updates. What I want it to do is first of all sort by descending order on the last_updated_date and then have a unique cust_id together sorted by last_updated_date. Below is an example of what it is right now an...
[ { "answer_id": 74317637, "author": "The Impaler", "author_id": 6436191, "author_profile": "https://Stackoverflow.com/users/6436191", "pm_score": 2, "selected": false, "text": "select t.*\nfrom customer_updates t\njoin (\n select cust_id, dense_rank() over(order by max(last_updated_date)...
2022/11/04
[ "https://Stackoverflow.com/questions/74317133", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8594588/" ]
74,317,135
<p>edit: i cant edit the original code, since the button and its function is provided by a plugin. If could find the initial JS for the function of the button, i would hide the first one and recreate / modify it myself if thats somehow possible..</p> <p>I have a button which is already styled and running a javascript f...
[ { "answer_id": 74317637, "author": "The Impaler", "author_id": 6436191, "author_profile": "https://Stackoverflow.com/users/6436191", "pm_score": 2, "selected": false, "text": "select t.*\nfrom customer_updates t\njoin (\n select cust_id, dense_rank() over(order by max(last_updated_date)...
2022/11/04
[ "https://Stackoverflow.com/questions/74317135", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19957060/" ]
74,317,164
<p>I am currently working on a plugin for grandMA2 lighting control using Lua. I need the current time. The only way to get the current time is the following function:</p> <pre><code>gma.show.getvar('TIME') </code></pre> <p>which always returns the current system time, which I then store in a variable. An example retur...
[ { "answer_id": 74317534, "author": "LMD", "author_id": 7185318, "author_profile": "https://Stackoverflow.com/users/7185318", "pm_score": 2, "selected": false, "text": "os.date gma.show.getvar('TIME') local time = os.date('*t')\nlocal hour, min, sec = time.hour, time.min, time.sec\n tostr...
2022/11/04
[ "https://Stackoverflow.com/questions/74317164", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19980635/" ]
74,317,214
<p>What I am trying to achieve is to archive the app and still have a working consent form on the app.</p> <p>Although this piece of code is deprecated and says to use ORKInstructionStep I haven't found anywhere how to use ORKInstructionStep instead of ORKVisualConsentStep. <a href="https://i.stack.imgur.com/j6zJO.png"...
[ { "answer_id": 74657364, "author": "Zohaib Suhail", "author_id": 20417397, "author_profile": "https://Stackoverflow.com/users/20417397", "pm_score": 1, "selected": true, "text": "instructionStep.imageContentMode = .scaleAspectFit" } ]
2022/11/04
[ "https://Stackoverflow.com/questions/74317214", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20417397/" ]
74,317,262
<p>This is my first time submitting here, so please bear with me on formatting.</p> <p>So, I have a normal list of strings like:</p> <pre class="lang-py prettyprint-override"><code>name = [&quot;Michael&quot;, &quot;Helen&quot;, &quot;Mike&quot;, &quot;Joe&quot;, &quot;Michael&quot;] </code></pre> <p>I need to append t...
[ { "answer_id": 74317336, "author": "Minibumphead", "author_id": 13852386, "author_profile": "https://Stackoverflow.com/users/13852386", "pm_score": -1, "selected": false, "text": "for n,t in zip(name,time):\n print(n,t)\n\nthis will zip the two lists together and you have access to th...
2022/11/04
[ "https://Stackoverflow.com/questions/74317262", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20417420/" ]
74,317,276
<p>I am working on a guitar application written in Objective-C. It has a feature like Tuning from Guitar. The tuning screen requires microphone permission. When we give permission to the app, suddenly the app starts producing a screeching noise which sounds very weird.</p> <p>The same code is working on iOS 15 and lowe...
[ { "answer_id": 74317336, "author": "Minibumphead", "author_id": 13852386, "author_profile": "https://Stackoverflow.com/users/13852386", "pm_score": -1, "selected": false, "text": "for n,t in zip(name,time):\n print(n,t)\n\nthis will zip the two lists together and you have access to th...
2022/11/04
[ "https://Stackoverflow.com/questions/74317276", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12775090/" ]
74,317,298
<p>There is a playlist that consists of tracks and jingles:</p> <pre><code>var arr = [ {'title': 'jingle fixed'}, {'title': track 0}, {'title': track 1}, {'title': 'jingle fixed'}, {'title': track 2}, {'title': 'jingle fixed'}, {'title': track 3}, {'title': track 4}, {'title...
[ { "answer_id": 74317655, "author": "Peterrabbit", "author_id": 18242865, "author_profile": "https://Stackoverflow.com/users/18242865", "pm_score": 2, "selected": false, "text": "const tracks = [{\n title: 'jingle fixed'\n },\n {\n title: \"track 4\"\n },\n {\n title: \"track...
2022/11/04
[ "https://Stackoverflow.com/questions/74317298", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9968097/" ]
74,317,301
<p>i got an array like this</p> <pre><code>$ratings = [ [ 'text' =&gt; 'bla', 'author' =&gt; 'Ute U.', 'stars' =&gt; 2 ], [ 'text' =&gt; 'bla2', 'author' =&gt; 'Ute a.', 'stars' =&gt; 4 ] ] </code></pre> <p>Its obvious that the value behind 'stars' is an integer. But how do I...
[ { "answer_id": 74317655, "author": "Peterrabbit", "author_id": 18242865, "author_profile": "https://Stackoverflow.com/users/18242865", "pm_score": 2, "selected": false, "text": "const tracks = [{\n title: 'jingle fixed'\n },\n {\n title: \"track 4\"\n },\n {\n title: \"track...
2022/11/04
[ "https://Stackoverflow.com/questions/74317301", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11730571/" ]
74,317,309
<p>I have a variable url, which has the following value: 'https://xxx?yyy?zzz'</p> <p>Through a for loop, I am trying to split the url into : - https://xxx - yyy - zzz</p> <p>I do that division thanks to the .split(<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split" r...
[ { "answer_id": 74317397, "author": "Andrew Parks", "author_id": 5898421, "author_profile": "https://Stackoverflow.com/users/5898421", "pm_score": 2, "selected": false, "text": "let url = 'https://xxx?yyy?zzz?jjj?hhh';\nconsole.log(url.includes('?')?url.split('?').slice(0,-1).join('?'):ur...
2022/11/04
[ "https://Stackoverflow.com/questions/74317309", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19672488/" ]
74,317,322
<p>I am currently having hard time creating a formula for my sheet to record values when the following conditions will be met: I want to give 15% discount from the original price if a Person purchased their ticket online (<code>Online = TRUE</code>), and only applicable for customers who is atleast 50 years old, kindly...
[ { "answer_id": 74317385, "author": "George", "author_id": 20345563, "author_profile": "https://Stackoverflow.com/users/20345563", "pm_score": 3, "selected": true, "text": "AND AND(logical_expression1, [logical_expression2, ...]) =IF(AND(B2=TRUE,D2>50),(E2*0.85),E2)" }, { "answer_...
2022/11/04
[ "https://Stackoverflow.com/questions/74317322", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20415984/" ]
74,317,344
<p>I have a list of numbers. Each index has <code>3</code> values.</p> <p><code>[{24, 17, 22}, {16, 4, 38}, {25, 13, 38}, {32, 18, 15}, {8, 10, 18}]</code></p> <p>I am trying to convert them into <code>39 bit</code> string and turning on bits according to <code>integer</code> values.</p> <p>For example, <code>{24, 17, ...
[ { "answer_id": 74317385, "author": "George", "author_id": 20345563, "author_profile": "https://Stackoverflow.com/users/20345563", "pm_score": 3, "selected": true, "text": "AND AND(logical_expression1, [logical_expression2, ...]) =IF(AND(B2=TRUE,D2>50),(E2*0.85),E2)" }, { "answer_...
2022/11/04
[ "https://Stackoverflow.com/questions/74317344", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13373167/" ]