qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
74,384,495 | <p>Say I have two arrays X=[A,B,C] and Y=[D,E,F], where each element is a 3 by 3 matrix. I would like to make an array Z=[AD,BE,CF] without using for loop. What should I do?</p>
<p>I have tried using np.tensordot(X,Y,axis=1) but it returns 9 products [[AD,AE,AF],[BD,BE,BF],[CD,CE,CF]]. the troublesome thing is that the... | [
{
"answer_id": 74384538,
"author": "hello world",
"author_id": 11209333,
"author_profile": "https://Stackoverflow.com/users/11209333",
"pm_score": 3,
"selected": true,
"text": "=SUM((INDIRECT(\"A\" & ROW() - 1)),1)\n A"
},
{
"answer_id": 74386343,
"author": "player0",
"au... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384495",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20465232/"
] |
74,384,508 | <p>Can you tell me what is the difference of creating the image in these two codes?</p>
<ol>
<li><code><link href="img/favicon.ico" rel="icon" type="image/png"></code></li>
</ol>
<p>versus</p>
<ol start="2">
<li>initiating using the simple <code><img /></code> tag</li>
</ol>
<p... | [
{
"answer_id": 74384538,
"author": "hello world",
"author_id": 11209333,
"author_profile": "https://Stackoverflow.com/users/11209333",
"pm_score": 3,
"selected": true,
"text": "=SUM((INDIRECT(\"A\" & ROW() - 1)),1)\n A"
},
{
"answer_id": 74386343,
"author": "player0",
"au... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384508",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20465265/"
] |
74,384,566 | <p>I am trying to write a query that returns list of customer names that do not start or end with letter "A" (either in upper case or lower case). Following is my query,</p>
<pre><code>SELECT * FROM Customers
WHERE
CustomerName IN (SELECT * FROM Customers WHERE CustomerName NOT LIKE 'A%')
AND
CustomerName... | [
{
"answer_id": 74384611,
"author": "Sachin Shah",
"author_id": 8612835,
"author_profile": "https://Stackoverflow.com/users/8612835",
"pm_score": -1,
"selected": false,
"text": "SELECT * FROM customers WHERE CustomerName NOT LIKE 'A%' AND CustomerName NOT LIKE '%A'\n"
},
{
"ans... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384566",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5229604/"
] |
74,384,584 | <p>I expected every element to go through the for loop, then the duplicate ones to be removed through the if loop.</p>
<pre><code>num = [5, 7, 21, 7, 5, 7, 7, 5, 7 , 7]
for i in num:
if num.count(i)!=1:
num.remove(i)
print(num)
</code></pre>
<p>What I get:</p>
<pre><code>[21, 7, 5, 7, 7]
</code></pre>
<p>W... | [
{
"answer_id": 74384660,
"author": "Chen Brestel",
"author_id": 16355119,
"author_profile": "https://Stackoverflow.com/users/16355119",
"pm_score": -1,
"selected": false,
"text": "import numpy as np\nunique_num = np.unique(num)\n"
},
{
"answer_id": 74384669,
"author": "Shivam... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384584",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20465298/"
] |
74,384,599 | <p>I want the grid columns to be equal in width whether it will be one, two, or more columns, Also
the column gap must be the same. I found one of the examples but when using <code>text-right</code> for columns the column width seems not equal. Anyone helps me to achieve this?
<a href="https://i.stack.imgur.com/mmA14.p... | [
{
"answer_id": 74384693,
"author": "MrPatel2021",
"author_id": 19671394,
"author_profile": "https://Stackoverflow.com/users/19671394",
"pm_score": -1,
"selected": false,
"text": "grid-column width column <!DOCTYPE html>\n<html>\n <style>\n .grid-equal-columns {\n display: gri... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384599",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6060849/"
] |
74,384,603 | <p>I need a static mechanism to verify my sender knows a static token. That token is hard coded into the sending system.</p>
<p>My API has an endpoint <code>/webhook</code> where I need to have that be verified.</p>
<p>This <a href="https://quarkus.io/guides/security-customization#httpauthenticationmechanism-customizat... | [
{
"answer_id": 74388037,
"author": "Sergey Beryozkin",
"author_id": 1133928,
"author_profile": "https://Stackoverflow.com/users/1133928",
"pm_score": 1,
"selected": false,
"text": "webhook basic"
},
{
"answer_id": 74437273,
"author": "Johannes",
"author_id": 536874,
"... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384603",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/536874/"
] |
74,384,635 | <pre><code>import numpy as np
import pandas as pd
data = { 'ID': [112,113],'empDetails':[[{'key': 'score', 'value': 2},{'key': 'Name', 'value': 'Ajay'}, {'key': 'Department', 'value': 'HR'}],[ {'key': 'salary', 'value': 7.5},{'key': 'Name', 'value': 'Balu'}]]}
dataDF = pd.DataFrame(data)
#trails
# dataDF['newColumns']... | [
{
"answer_id": 74388037,
"author": "Sergey Beryozkin",
"author_id": 1133928,
"author_profile": "https://Stackoverflow.com/users/1133928",
"pm_score": 1,
"selected": false,
"text": "webhook basic"
},
{
"answer_id": 74437273,
"author": "Johannes",
"author_id": 536874,
"... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384635",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2028043/"
] |
74,384,651 | <pre><code>if (Weight <6)
{
Price = 5;
System.out.println("The price of cleaning will be" + Price);
}
else if(Weight > 5 < 10)
{
Price = 8;
System.out.println("The price of cleaning wi... | [
{
"answer_id": 74384677,
"author": "Preston",
"author_id": 11548316,
"author_profile": "https://Stackoverflow.com/users/11548316",
"pm_score": 2,
"selected": false,
"text": "Weight > 5 < 10 Weight > 5 && Weight < 10"
},
{
"answer_id": 74384681,
"author": "Ivan Krizsan",
"... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384651",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20058177/"
] |
74,384,690 | <p>I have a array of objects in PHP like:</p>
<pre><code>[
{
"id": 99961,
"candidate": {
"data": {
"id": 125275,
"firstName": "Jose",
"lastName": "Zayas"
}
},
&q... | [
{
"answer_id": 74384677,
"author": "Preston",
"author_id": 11548316,
"author_profile": "https://Stackoverflow.com/users/11548316",
"pm_score": 2,
"selected": false,
"text": "Weight > 5 < 10 Weight > 5 && Weight < 10"
},
{
"answer_id": 74384681,
"author": "Ivan Krizsan",
"... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384690",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10140572/"
] |
74,384,735 | <p>What happens if h/w failure happens in time travel period ??
My assumption is that if a h/w failure happens during time travel we can on own restore the database while h/w failure during the fail-safe time can be handled only by SF</p>
| [
{
"answer_id": 74384677,
"author": "Preston",
"author_id": 11548316,
"author_profile": "https://Stackoverflow.com/users/11548316",
"pm_score": 2,
"selected": false,
"text": "Weight > 5 < 10 Weight > 5 && Weight < 10"
},
{
"answer_id": 74384681,
"author": "Ivan Krizsan",
"... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384735",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4861910/"
] |
74,384,736 | <p>I am trying to use type converters in Android (Kotlin) so i am using the type converters class but i am getting confused like inside of the clouds i am having a single variable so i have returned it but</p>
<pre><code>@Entity(tableName = "WeatherDb")
data class WeatherDTO(
val base: String,
val clo... | [
{
"answer_id": 74385579,
"author": "Joe Dow",
"author_id": 17410359,
"author_profile": "https://Stackoverflow.com/users/17410359",
"pm_score": 2,
"selected": false,
"text": "class Converters {\n\n @TypeConverter\n fun valueFromDomainToStorage(value: Value): String {\n return... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384736",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13644300/"
] |
74,384,771 | <p>For building web applications in Java, I have Tomcat as the integrated server in Eclipse for development. Some of the target systems are using JBoss while others are using WebLogic 12C.</p>
<p>Application related settings are kept in app.properties file and loaded at runtime. Same as given <a href="https://stackover... | [
{
"answer_id": 74395960,
"author": "httPants",
"author_id": 740888,
"author_profile": "https://Stackoverflow.com/users/740888",
"pm_score": 2,
"selected": true,
"text": "<web-app xmlns=\"http://java.sun.com/xml/ns/javaee\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xsi:sc... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384771",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7210927/"
] |
74,384,773 | <p>I've created a model to generate a calendar dimension which I only want to run when I explicitly specify to run it.</p>
<p>I tried to use incremental materialisation with nothing in is_incremental() block hoping dbt would do nothing if there was no query to satisfy the temporary view. Unfortunately this didn't work.... | [
{
"answer_id": 74395960,
"author": "httPants",
"author_id": 740888,
"author_profile": "https://Stackoverflow.com/users/740888",
"pm_score": 2,
"selected": true,
"text": "<web-app xmlns=\"http://java.sun.com/xml/ns/javaee\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xsi:sc... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384773",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19891453/"
] |
74,384,793 | <p>I am unable to read imaginary data from text file.
Here is my .txt file</p>
<blockquote>
<p>abc.txt</p>
</blockquote>
<pre><code>0.2e-3+0.3*I 0.1+0.1*I
0.3+0.1*I 0.1+0.4*I
</code></pre>
<p>I want to read this data into a <em>matrix</em> and print it.</p>
<p>I found the solutions using <em>C++</em> <a href="ht... | [
{
"answer_id": 74394540,
"author": "the busybee",
"author_id": 11294831,
"author_profile": "https://Stackoverflow.com/users/11294831",
"pm_score": 3,
"selected": true,
"text": "complex scanf() creal() scanf() #include \"%f\" scanf() \"\\n\" \"*I\" scanf() scanf() sizeof EXIT_... scanf() ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384793",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19013072/"
] |
74,384,797 | <p>I have a dataset that is organized like this:</p>
<p><strong>What I have</strong></p>
<pre><code>data <- tribble(~team_one, ~team_two, ~score_one, ~score_two,
"Australia", "New Zealand", 214, 170,
"Australia", "New Zealand", 214, 170,
... | [
{
"answer_id": 74385003,
"author": "edvinsyk",
"author_id": 16252296,
"author_profile": "https://Stackoverflow.com/users/16252296",
"pm_score": -1,
"selected": false,
"text": "data |> \n pivot_longer(cols = c(\"score_one\", \"score_two\"), names_to = \"name\", values_to = \"value\") |... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384797",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13874036/"
] |
74,384,817 | <pre class="lang-py prettyprint-override"><code>trainer = PyTorch(
entry_point="train.py",
source_dir= "source_dir", # directory of your training script
role=role,
framework_version="1.5.0",
py_version="py3",
instance_type= "local",
instance... | [
{
"answer_id": 74385003,
"author": "edvinsyk",
"author_id": 16252296,
"author_profile": "https://Stackoverflow.com/users/16252296",
"pm_score": -1,
"selected": false,
"text": "data |> \n pivot_longer(cols = c(\"score_one\", \"score_two\"), names_to = \"name\", values_to = \"value\") |... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384817",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19655788/"
] |
74,384,848 | <p>I'm trying to show CircularProgress center of my webview inside stack but its showing bottom.
I used expanded widget to use available space for webview.</p>
<p>My code :</p>
<pre><code>Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
body: WillPopScope(
onWillPop: ()... | [
{
"answer_id": 74385003,
"author": "edvinsyk",
"author_id": 16252296,
"author_profile": "https://Stackoverflow.com/users/16252296",
"pm_score": -1,
"selected": false,
"text": "data |> \n pivot_longer(cols = c(\"score_one\", \"score_two\"), names_to = \"name\", values_to = \"value\") |... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384848",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20449361/"
] |
74,384,885 | <p>I need to get Thailand timezone in this format: <code>Thu Nov 10 2022 14:08:37 GMT+0800 (Malaysia Time)</code>. I have tried <code>new Date().toLocaleString("en-US", {timeZone: "Asia/Bangkok"})</code> but didn't get the correct format I want, probably because of the <code>.toLocaleString()</code>... | [
{
"answer_id": 74385582,
"author": "deceze",
"author_id": 476,
"author_profile": "https://Stackoverflow.com/users/476",
"pm_score": 0,
"selected": false,
"text": "console.log(new Date().toLocaleString('en-US', {\n timeZone: 'Asia/Bangkok',\n weekday: 'short',\n year: 'numeric',\n mon... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384885",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18036356/"
] |
74,384,949 | <p>I have an index used for bulk operations on collections that is experiencing throttling. To mitigate this am planning to shard the index so each pk is split over whatever number of partitions. At the moment there is a delete operation running on the base table using the index, so what happens is we query a set num... | [
{
"answer_id": 74388569,
"author": "Lee Hannigan",
"author_id": 7909676,
"author_profile": "https://Stackoverflow.com/users/7909676",
"pm_score": 1,
"selected": false,
"text": "SELECT * FROM \"mytable\".\"index\" WHERE GSIPK IN [\"a-1\",\"a-2\",\"a-3\",\"a-4\"]"
}
] | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384949",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11090037/"
] |
74,384,975 | <p>I have 3 Views, let say view1, view2 and view3.</p>
<p>view1 is home screen.</p>
<p>Now, I am presenting view2 with naviagationView.</p>
<p>Now, on some event, I have pushed view 3 from view2.</p>
<p>So in short, scene is <code>view1(home) -> presented NavigationView(view2) -> pushed view3</code></p>
<p>Now, ... | [
{
"answer_id": 74385273,
"author": "Felix Uff",
"author_id": 9375065,
"author_profile": "https://Stackoverflow.com/users/9375065",
"pm_score": 1,
"selected": false,
"text": "struct ContentView: View {\n var body: some View {\n NavigationView {\n NavigationLink(\"Go t... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384975",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2160144/"
] |
74,384,991 | <p>I have two table with relation, defined in model and migration but when I delete the parent data the child do not delete automatically</p>
<p><strong>User model</strong></p>
<pre><code>class User extends Authenticatable implements MustVerifyEmail
{
use Notifiable;
use Friendable;
use HasApiTokens;
p... | [
{
"answer_id": 74385031,
"author": "Semih SAHIN",
"author_id": 10542740,
"author_profile": "https://Stackoverflow.com/users/10542740",
"pm_score": 2,
"selected": true,
"text": "$table->engine = 'InnoDB';\n"
},
{
"answer_id": 74388266,
"author": "Shreya Desai",
"author_id"... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74384991",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14081636/"
] |
74,385,021 | <p><a href="https://i.stack.imgur.com/MKRbS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MKRbS.png" alt="enter image description here" /></a></p>
<p>how to query get day from this date on sql? September 29, 2000 is Saturday I just want to take the day</p>
<p>i use query <code>SELECT DATENAME(WEEKD... | [
{
"answer_id": 74387582,
"author": "RF1991",
"author_id": 14799981,
"author_profile": "https://Stackoverflow.com/users/14799981",
"pm_score": 0,
"selected": false,
"text": "DECLARE @TGLAKADMUR NVARCHAR(100)= N'24092022'\n DDMMYYYY DD/MM/YYYY SELECT @TGLAKADMUR,CONCAT(LEFT(@TGLAKADMUR, 2... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385021",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17962447/"
] |
74,385,034 | <p><a href="https://i.stack.imgur.com/Zymse.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zymse.jpg" alt="enter image description here" /></a></p>
<p>I want to open demo app using appium (in ios simulator using X code)</p>
| [
{
"answer_id": 74385109,
"author": "vignesh",
"author_id": 1350682,
"author_profile": "https://Stackoverflow.com/users/1350682",
"pm_score": 2,
"selected": false,
"text": ".swift"
},
{
"answer_id": 74388479,
"author": "Montek",
"author_id": 17737469,
"author_profile":... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385034",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20279204/"
] |
74,385,051 | <pre><code>for i in range(5):
print(i,end=',')
</code></pre>
<p>O/P : 0,1,2,3,4,</p>
<p>#I want to remove the comma after printing 4</p>
| [
{
"answer_id": 74385109,
"author": "vignesh",
"author_id": 1350682,
"author_profile": "https://Stackoverflow.com/users/1350682",
"pm_score": 2,
"selected": false,
"text": ".swift"
},
{
"answer_id": 74388479,
"author": "Montek",
"author_id": 17737469,
"author_profile":... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385051",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11364786/"
] |
74,385,104 | <p>I am sharing an image of button can some one help with the html css to achieve exact design.
<a href="https://i.stack.imgur.com/nJhaL.jpg" rel="nofollow noreferrer">Normal state of radio button</a></p>
<p><a href="https://i.stack.imgur.com/UfroS.jpg" rel="nofollow noreferrer">On hover style or Checked state</a></p>
| [
{
"answer_id": 74385109,
"author": "vignesh",
"author_id": 1350682,
"author_profile": "https://Stackoverflow.com/users/1350682",
"pm_score": 2,
"selected": false,
"text": ".swift"
},
{
"answer_id": 74388479,
"author": "Montek",
"author_id": 17737469,
"author_profile":... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385104",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19783908/"
] |
74,385,136 | <p>There is a global listener on specific input type:</p>
<pre><code>$('input[type["radio"]').on('change', function() { ... });
</code></pre>
<p>But I have another more specific <code>radio</code> input with its own <code>unique_radio</code> class:</p>
<pre><code><input type="radio" class="u... | [
{
"answer_id": 74387112,
"author": "Cemil AKAN",
"author_id": 13189540,
"author_profile": "https://Stackoverflow.com/users/13189540",
"pm_score": 1,
"selected": false,
"text": "$('input[type=\"radio\"]:not(.unique_radio)').on('change', function(){\n console.log(1);\n});\n$('.unique_ra... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385136",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18178584/"
] |
74,385,150 | <p>I'm trying to receive response <code>order_token</code> from test API <code>https://sandbox.cashfree.com/pg/orders</code> which is used to create session of a payment gateway. Here is the code.</p>
<pre><code>
CFEnvironment environment = CFEnvironment.SANDBOX;
Future<dynamic> createOrder() async {
var... | [
{
"answer_id": 74387112,
"author": "Cemil AKAN",
"author_id": 13189540,
"author_profile": "https://Stackoverflow.com/users/13189540",
"pm_score": 1,
"selected": false,
"text": "$('input[type=\"radio\"]:not(.unique_radio)').on('change', function(){\n console.log(1);\n});\n$('.unique_ra... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385150",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12936850/"
] |
74,385,153 | <p>I'm struggling with getting the correct implementation of finding the nth number in the Fibonacci sequence. More accurately, how to optimize it with DP.</p>
<p>I was able to correctly write it in the bottom-up approach:</p>
<pre class="lang-cpp prettyprint-override"><code>int fib(int n) {
int dp[n + 2];
dp[0... | [
{
"answer_id": 74387112,
"author": "Cemil AKAN",
"author_id": 13189540,
"author_profile": "https://Stackoverflow.com/users/13189540",
"pm_score": 1,
"selected": false,
"text": "$('input[type=\"radio\"]:not(.unique_radio)').on('change', function(){\n console.log(1);\n});\n$('.unique_ra... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385153",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16283824/"
] |
74,385,156 | <p>I have log file from a Vivado simulator, which i want to convert into simple JSON to visualize it ultimately.
Please suggest me a python code to format the logs into JSON.</p>
<p>I have tried to search for converting the logs into JSON, but most of them convert .csv (comma separated values) into JSON, while my log f... | [
{
"answer_id": 74387112,
"author": "Cemil AKAN",
"author_id": 13189540,
"author_profile": "https://Stackoverflow.com/users/13189540",
"pm_score": 1,
"selected": false,
"text": "$('input[type=\"radio\"]:not(.unique_radio)').on('change', function(){\n console.log(1);\n});\n$('.unique_ra... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385156",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20407976/"
] |
74,385,165 | <p>I am trying to implement a logger functionality using metaclasses. This is for learning purposes and may not be a good use case practically.</p>
<pre><code>from functools import wraps
def custom_logger(fn):
@wraps(fn)
def inner(*args,**kwargs):
result=fn(*args,**kwargs)
print(f'LOG: {fn.__qualname__} {a... | [
{
"answer_id": 74387112,
"author": "Cemil AKAN",
"author_id": 13189540,
"author_profile": "https://Stackoverflow.com/users/13189540",
"pm_score": 1,
"selected": false,
"text": "$('input[type=\"radio\"]:not(.unique_radio)').on('change', function(){\n console.log(1);\n});\n$('.unique_ra... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385165",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2092445/"
] |
74,385,178 | <p>how to run simple select query and get reusult in snowflakes procedure?</p>
<pre><code>CREATE OR REPLACE PROCEDURE COARSDB0P_DB.COUNT_MISMATCH()
RETURNS VARCHAR
LANGUAGE JAVASCRIPT
AS
$$
var command ="SELECT b.TABLE_CATALOG,b.TABLE_SCHEMA,b.TABLE_NAME,b.TABLE_TYPE,b.ROW_COUNT as Dev_COUNT,a.ROW_COUNT a... | [
{
"answer_id": 74390335,
"author": "Dave Welden",
"author_id": 95014,
"author_profile": "https://Stackoverflow.com/users/95014",
"pm_score": 1,
"selected": false,
"text": "create procedure ...\nreturns table (catalog varchar, schema varchar, ...)\ndeclare\n query varchar;\n res resul... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385178",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20250071/"
] |
74,385,203 | <p>i have a api which generates random json details of image, i am trying to make a website which show different images every time u press a button.</p>
<p>something like this one:</p>
<pre><code><html>
<head>
<title>zzz</title>
</head>
<body>
<div id="img_home"&... | [
{
"answer_id": 74390335,
"author": "Dave Welden",
"author_id": 95014,
"author_profile": "https://Stackoverflow.com/users/95014",
"pm_score": 1,
"selected": false,
"text": "create procedure ...\nreturns table (catalog varchar, schema varchar, ...)\ndeclare\n query varchar;\n res resul... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385203",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14937521/"
] |
74,385,208 | <p>I'm a little new to deploying/hosting Node apps and Puppeteer.</p>
<p>But, I'm facing an issue though with my app on Heroku when trying to use Puppeteer.</p>
<p>The full error is:</p>
<pre><code>
Error: Could not find Chromium (rev. 1056772). This can occur if either
2022-11-10T06:44:07.938983+00:00 app[web.1]: 1.... | [
{
"answer_id": 74471504,
"author": "Cowinch",
"author_id": 20525484,
"author_profile": "https://Stackoverflow.com/users/20525484",
"pm_score": 1,
"selected": false,
"text": ".cache .cache project-directory/.puppeteerrc.cjs const {join} = require('path');\n\n/**\n * @type {import(\"puppet... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385208",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5401014/"
] |
74,385,218 | <p>I am writing R, and I want to add a new column WITHOUT using for loop.</p>
<p>Here's the thing I want to do:</p>
<p>I want to calculate the mean from the first value to the current value.</p>
<p>If I use for loop, I will do in this way:</p>
<pre><code>for (i in c(1:nrow(data))){
data$Xn_bar[i] = mean(data$Xn[1:i]... | [
{
"answer_id": 74385693,
"author": "islem",
"author_id": 11952767,
"author_profile": "https://Stackoverflow.com/users/11952767",
"pm_score": 0,
"selected": false,
"text": "library(dplyr)\ndf=data.frame(n=c(1,2,3,4,5),\n Xn=c(-0.502,0.132,-0.079,0.887,0.117))\n\n# add column r... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385218",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16469595/"
] |
74,385,225 | <p>Okay so I have a Magento 2.4.5 project where I am facing some issues like images not loading up because they are being looked up inside <code>pub/media/wysiwyg</code> instead of <code>media/wysiwyg</code>. I have some wysiwyg images inside <code>pub/media/wysiwyg/<some_image_directory></code>, however on the l... | [
{
"answer_id": 74385693,
"author": "islem",
"author_id": 11952767,
"author_profile": "https://Stackoverflow.com/users/11952767",
"pm_score": 0,
"selected": false,
"text": "library(dplyr)\ndf=data.frame(n=c(1,2,3,4,5),\n Xn=c(-0.502,0.132,-0.079,0.887,0.117))\n\n# add column r... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385225",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19969061/"
] |
74,385,244 | <p>Recently I'm using pac4j project for Oauth Twitter.Running on the local, everything works fine.But when I'm running on the remote server, unfortunately, the service doesn't work properly because there is no direct access to the external network.</p>
<p>For example,in apache.httpcomponents:httpclient:</p>
<p><code>Ht... | [
{
"answer_id": 74385693,
"author": "islem",
"author_id": 11952767,
"author_profile": "https://Stackoverflow.com/users/11952767",
"pm_score": 0,
"selected": false,
"text": "library(dplyr)\ndf=data.frame(n=c(1,2,3,4,5),\n Xn=c(-0.502,0.132,-0.079,0.887,0.117))\n\n# add column r... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385244",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20465694/"
] |
74,385,270 | <p>When I Run my code And take input of array in ascending order from user the function which i have made runs and if the i search the middle number from array to find its location the code runs perfectly fine. But when i search the number from array which is not middle the code does not give me any output please fix ... | [
{
"answer_id": 74385693,
"author": "islem",
"author_id": 11952767,
"author_profile": "https://Stackoverflow.com/users/11952767",
"pm_score": 0,
"selected": false,
"text": "library(dplyr)\ndf=data.frame(n=c(1,2,3,4,5),\n Xn=c(-0.502,0.132,-0.079,0.887,0.117))\n\n# add column r... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385270",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20465707/"
] |
74,385,286 | <p>Here is my code:</p>
<pre><code>string StringFromTheInput = TextBox1.Text;
string source = StringFromTheInput.ToString();
var frequencies = new Dictionary<string, int>();
frequencies.Add("item", 0);
string highestWord = null;
var message = string.Join(" ", source);
var splichar = new cha... | [
{
"answer_id": 74385581,
"author": "Siegfried.V",
"author_id": 7310000,
"author_profile": "https://Stackoverflow.com/users/7310000",
"pm_score": 0,
"selected": false,
"text": "int indexYouNeed =2;\nint indexRead=1;\nstring textFound=\"\";\nforeach (KeyValuePair<string,int> entry in frequ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20465780/"
] |
74,385,292 | <p>I want to post forms data submitted on a wordpress gravity form to a third party erp software which accepts only soap envelopes. Gravity forms elitle package offers webhooks which has only two formats json and form data, is it possible to post the data as a form. Below is wsdl which i need to map with form fields. I... | [
{
"answer_id": 74385581,
"author": "Siegfried.V",
"author_id": 7310000,
"author_profile": "https://Stackoverflow.com/users/7310000",
"pm_score": 0,
"selected": false,
"text": "int indexYouNeed =2;\nint indexRead=1;\nstring textFound=\"\";\nforeach (KeyValuePair<string,int> entry in frequ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385292",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13033678/"
] |
74,385,324 | <p>I am trying to show Activity indicator view on API call in my swiftUI application. I have created the Activity Indicator view and it's working fine but I want to disable the user interaction while it is being displayed. To achieve this I have also tried <strong>allowsHitTesting(false)</strong> modifier but of no us... | [
{
"answer_id": 74385586,
"author": "Quang Hà",
"author_id": 1615838,
"author_profile": "https://Stackoverflow.com/users/1615838",
"pm_score": 1,
"selected": false,
"text": ".allowsHitTesting(false) func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIVisualEffectView {\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385324",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10469417/"
] |
74,385,327 | <p>how do i implement this in django-form?<br />
2/3: 2 is current picked amount of item, 3 is maximum<br />
This form does not work with the model, it will send data after clicking to the redis server<br />
So, how can i hide form under - n/N +</p>
<p><a href="https://i.stack.imgur.com/mw9W9.png" rel="nofollow norefe... | [
{
"answer_id": 74385586,
"author": "Quang Hà",
"author_id": 1615838,
"author_profile": "https://Stackoverflow.com/users/1615838",
"pm_score": 1,
"selected": false,
"text": ".allowsHitTesting(false) func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIVisualEffectView {\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385327",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17238976/"
] |
74,385,336 | <p>I have some data as below,</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th style="text-align: center;">AST_NAME</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">2F</td>
</tr>
<tr>
<td style="text-align: center;">3F</td>
</tr>
<tr>
<td style="text-align: center;">4F</td>
<... | [
{
"answer_id": 74385499,
"author": "mozway",
"author_id": 16343464,
"author_profile": "https://Stackoverflow.com/users/16343464",
"pm_score": 3,
"selected": true,
"text": "str.replace df['AST_NAME_clean'] = df['AST_NAME'].str.replace(r'^(\\d+)-?(F).*',\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385336",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11230796/"
] |
74,385,357 | <p>i have a C header file with many defines for registers, and in my Python SWIG interface i only want to expose a few. My C header looks like this (just with many more defines):</p>
<pre><code>#define REG_1 0x0001
#define REG_2 0x0002
#define REG_3 0x0003
</code></pre>
<p>Let's say in my generated Python module if I w... | [
{
"answer_id": 74385499,
"author": "mozway",
"author_id": 16343464,
"author_profile": "https://Stackoverflow.com/users/16343464",
"pm_score": 3,
"selected": true,
"text": "str.replace df['AST_NAME_clean'] = df['AST_NAME'].str.replace(r'^(\\d+)-?(F).*',\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385357",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17920971/"
] |
74,385,406 | <p>I'm still learning rust, to process data I find rust runs very fast, but when try to inserting data into mysql I haven't found a way to do it quickly (compared to me doing it in python in under 1 minutes, rust need 15+ minutes).</p>
<p>I'm using rust library "mysql" to insert data into db with code:</p>
<p... | [
{
"answer_id": 74385499,
"author": "mozway",
"author_id": 16343464,
"author_profile": "https://Stackoverflow.com/users/16343464",
"pm_score": 3,
"selected": true,
"text": "str.replace df['AST_NAME_clean'] = df['AST_NAME'].str.replace(r'^(\\d+)-?(F).*',\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385406",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11277889/"
] |
74,385,464 | <p>I am converting string column into datetime column...</p>
<p>Here is my input,</p>
<pre><code>col
00000001011970
00000001011970
00000001011970
...
00000001011970
</code></pre>
<p>Here is my snippet,</p>
<pre><code>df[col].with_column= df.with_column(pl.col(col).str.strptime(pl.Datetime, fmt='%Y-%m-%d %H:%M:%S',stric... | [
{
"answer_id": 74385727,
"author": "4pi",
"author_id": 2450246,
"author_profile": "https://Stackoverflow.com/users/2450246",
"pm_score": 1,
"selected": false,
"text": "df = pl.DataFrame({\n\"col\": [\"00000001011970\", \"00000001011970\", \"00000001011970\"]\n})\nprint(df.with_column(\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385464",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17423386/"
] |
74,385,476 | <p>I have a token that I sent to my backend where I verify it (jwt). Is there any difference in sending back the token itself or the userId I created on the backend to the client to store ?</p>
<p>I need specificaly the userId in my client only once. The jwt /or userId I need otherwise to authenticate user (if I get ba... | [
{
"answer_id": 74385727,
"author": "4pi",
"author_id": 2450246,
"author_profile": "https://Stackoverflow.com/users/2450246",
"pm_score": 1,
"selected": false,
"text": "df = pl.DataFrame({\n\"col\": [\"00000001011970\", \"00000001011970\", \"00000001011970\"]\n})\nprint(df.with_column(\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385476",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6377312/"
] |
74,385,500 | <p>I recently started learning .NET and am currently learning to build applications using .NET MAUI.</p>
<p>At the moment, I am following <a href="https://learn.microsoft.com/en-us/training/paths/build-apps-with-dotnet-maui/" rel="nofollow noreferrer">Build mobile and desktop apps with .NET MAUI</a></p>
<p>When running... | [
{
"answer_id": 74385727,
"author": "4pi",
"author_id": 2450246,
"author_profile": "https://Stackoverflow.com/users/2450246",
"pm_score": 1,
"selected": false,
"text": "df = pl.DataFrame({\n\"col\": [\"00000001011970\", \"00000001011970\", \"00000001011970\"]\n})\nprint(df.with_column(\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385500",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
74,385,502 | <p>I'm following the theming tutorial from <a href="https://developer.android.com/codelabs/basic-android-kotlin-compose-practice-superheroes?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-3-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-androi... | [
{
"answer_id": 74386758,
"author": "Code Poet",
"author_id": 5513788,
"author_profile": "https://Stackoverflow.com/users/5513788",
"pm_score": 2,
"selected": false,
"text": "implementation \"com.google.accompanist:accompanist-systemuicontroller:0.27.0\" setContent {\n MyTheme ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385502",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14123115/"
] |
74,385,525 | <p>I have a file named <code>input.txt</code>.</p>
<pre><code>name="XYZ_PP_0" number="0x12" bytesize="4" info="0x00000012"
name="GK_LMP_2_0" number="0xA5" bytesize="8" info="0x00000000bbae321f"
name="MP_LKO_1_0" number="0x356... | [
{
"answer_id": 74386758,
"author": "Code Poet",
"author_id": 5513788,
"author_profile": "https://Stackoverflow.com/users/5513788",
"pm_score": 2,
"selected": false,
"text": "implementation \"com.google.accompanist:accompanist-systemuicontroller:0.27.0\" setContent {\n MyTheme ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385525",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20273554/"
] |
74,385,530 | <p>I want to construct a 6X6 symmetric matrix A of rank 3 in MATLAB. any suggestions?</p>
<p>tried different ways, couldn't end up with expected result</p>
| [
{
"answer_id": 74385870,
"author": "flawr",
"author_id": 2913106,
"author_profile": "https://Stackoverflow.com/users/2913106",
"pm_score": 1,
"selected": false,
"text": "diag diag([1,1,1,0,0,0])\n"
},
{
"answer_id": 74385926,
"author": "ThomasIsCoding",
"author_id": 12158... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385530",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20466096/"
] |
74,385,545 | <p>my scenario: I have an existing unit test framework with ~3000 individual test cases. They are made from TEST, TEST_F and TEST_P macros.
Internally the tested modules make use of a logger library and now my goal is to create individual log files for each test case. To do so I would like to call a function as a SetUp... | [
{
"answer_id": 74385870,
"author": "flawr",
"author_id": 2913106,
"author_profile": "https://Stackoverflow.com/users/2913106",
"pm_score": 1,
"selected": false,
"text": "diag diag([1,1,1,0,0,0])\n"
},
{
"answer_id": 74385926,
"author": "ThomasIsCoding",
"author_id": 12158... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385545",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11415117/"
] |
74,385,548 | <p>List Values</p>
<pre><code>49 873
50 575
51 487
52 B000XPZCXW
53 B098LPQ5LM
54 B09W5S7GFK
</code></pre>
<p>All the values starting with 'B' need to converted into 1</p>
<p>Output</p>
<pre><code>49 873
50 575
51 487
52 1
53 1... | [
{
"answer_id": 74385870,
"author": "flawr",
"author_id": 2913106,
"author_profile": "https://Stackoverflow.com/users/2913106",
"pm_score": 1,
"selected": false,
"text": "diag diag([1,1,1,0,0,0])\n"
},
{
"answer_id": 74385926,
"author": "ThomasIsCoding",
"author_id": 12158... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385548",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20466110/"
] |
74,385,594 | <p>I am working on standard logic apps. In that I am not able to use the XSLT2.0 and XSLT 3.0. The Standard logic app will allows only XSLT1.0 . so what is the best approach to convert XSLT2.0 and XSLT3.0 in to XSLT 1.0</p>
<p>I have XSLT3.0 and XSLT 2.0. How should I use those XSLT files in my standard logic app?</p... | [
{
"answer_id": 74400701,
"author": "pgfearo",
"author_id": 63965,
"author_profile": "https://Stackoverflow.com/users/63965",
"pm_score": 0,
"selected": false,
"text": "Logic App (Standard) Note: Support for XSLT 2.0/3.0 is in private preview\n"
}
] | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385594",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20465827/"
] |
74,385,608 | <p>This is my handleSearch function and i am checking if inputvalue is empty it shouldn't go further and hit my getSearch call, but sometimes if i backspace inputvalue quickly it console.logs(empty) as expected and instead of stopping it goes further n hits getSearch call below.</p>
<p><strong>How to make it work corre... | [
{
"answer_id": 74400701,
"author": "pgfearo",
"author_id": 63965,
"author_profile": "https://Stackoverflow.com/users/63965",
"pm_score": 0,
"selected": false,
"text": "Logic App (Standard) Note: Support for XSLT 2.0/3.0 is in private preview\n"
}
] | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385608",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16488075/"
] |
74,385,638 | <p>I am trying to make VBA to copy data and paste to matching worksheet name.</p>
<ol>
<li>"Setting" Worksheet will have all mixed data of item types.</li>
<li>With VBA, copy & paste values on A & D columns to matching worksheet name.</li>
<li>VBA code will go through entire A7 -> lastrow</li>
</ol... | [
{
"answer_id": 74386959,
"author": "FaneDuru",
"author_id": 2233308,
"author_profile": "https://Stackoverflow.com/users/2233308",
"pm_score": 0,
"selected": false,
"text": "Sub distributeIssues()\n Dim shS As Worksheet, lastR As Long, wb As Workbook, arr, arrIt, arrFin, i As Long\n Dim... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385638",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13987475/"
] |
74,385,639 | <p><strong>Unable to covert Json to Dataframe, the following TypeError shows :</strong></p>
<p>The following data is created</p>
<pre><code>Test_data =
{'archived': False,
'archived_at': None,
'associations': None,
'created_at': datetime.datetime(2020, 10, 30, 8, 3, 54, 190000, tzinfo=tzlocal()),
'id': '12345',
'... | [
{
"answer_id": 74385705,
"author": "Bushmaster",
"author_id": 15415267,
"author_profile": "https://Stackoverflow.com/users/15415267",
"pm_score": 2,
"selected": false,
"text": "df=pd.json_normalize(Test_data)\nprint(df)\n'''\n archived archived_at associations created_at ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385639",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15571878/"
] |
74,385,642 | <p>I would like to convert it to vector of vectors
but I'm confused about the code above
it's better to store it on stack rather than heap, that's why I want to change it to vector of vector</p>
<pre><code>std::vector<DPoint*>* pixelSpacing; ///< vector of slice pixel spacings
pixelSpacing = new std::vector... | [
{
"answer_id": 74385705,
"author": "Bushmaster",
"author_id": 15415267,
"author_profile": "https://Stackoverflow.com/users/15415267",
"pm_score": 2,
"selected": false,
"text": "df=pd.json_normalize(Test_data)\nprint(df)\n'''\n archived archived_at associations created_at ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385642",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/375666/"
] |
74,385,643 | <p>i am trying to update the state of the animated switcher in the middle area. i am trying to do this using a setstate in the lower area. but it does not work.</p>
<ol>
<li>the first thing i did is to create a variable with a boolean data type in the home class.</li>
<li>then i passed the variable to both the middle a... | [
{
"answer_id": 74385705,
"author": "Bushmaster",
"author_id": 15415267,
"author_profile": "https://Stackoverflow.com/users/15415267",
"pm_score": 2,
"selected": false,
"text": "df=pd.json_normalize(Test_data)\nprint(df)\n'''\n archived archived_at associations created_at ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385643",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17905117/"
] |
74,385,661 | <p>How can I properly implement the use of git ignore to not commit .json files to my repository?</p>
<p>I tried watching a youtube video for help, but after following his tips my json file is still being uploaded.</p>
| [
{
"answer_id": 74385704,
"author": "ThisQRequiresASpecialist",
"author_id": 19381612,
"author_profile": "https://Stackoverflow.com/users/19381612",
"pm_score": 2,
"selected": false,
"text": ".gitignore .git .gitignore .gitignore *.anyextension MyGitRepoFoder -> (contents) .git(hidden) yo... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385661",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20466185/"
] |
74,385,706 | <p>I try to debug an app inside of the container and I need to run django to run tests I do that by:</p>
<pre><code>docker-compose exec django bash
</code></pre>
<p>But as a result I get:</p>
<pre><code>service "django" is not running container #1
</code></pre>
<p>I don't really understand what this response ... | [
{
"answer_id": 74385942,
"author": "labs",
"author_id": 20220951,
"author_profile": "https://Stackoverflow.com/users/20220951",
"pm_score": -1,
"selected": false,
"text": "ALLOWED_HOSTS = ['*']\n Debug = True\n"
},
{
"answer_id": 74388207,
"author": "Inopsek",
"author_id"... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385706",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4307022/"
] |
74,385,708 | <p>I have to retuen the message "Data Added" in the api in ResponseBody
Create a api while enters student data
/newStudent</p>
<p>Request Body:</p>
<pre><code>{
"name":"Shubham",
"rollno":22,
"studentid":1
}
</code></pre>
<p>Response:</p>
<pre><code>{
"status"... | [
{
"answer_id": 74385763,
"author": "YCF_L",
"author_id": 5558072,
"author_profile": "https://Stackoverflow.com/users/5558072",
"pm_score": 2,
"selected": false,
"text": "class CustomResponse {\n private String status;\n private String message;\n // Constructor/Getters/Setters\n}\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385708",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19901286/"
] |
74,385,709 | <p>To debug my <code>C</code> code I compile it with the <code>-g</code> flag and use <code>lldb</code> to see where my <code>seg fault</code> is for example.<br>
I use the <code>-g</code> flag so the output of <code>lldb</code> is in <code>C</code> not <code>Assembly</code>.<br>
but now I have a multiple files project... | [
{
"answer_id": 74385774,
"author": "Some programmer dude",
"author_id": 440558,
"author_profile": "https://Stackoverflow.com/users/440558",
"pm_score": 3,
"selected": true,
"text": "run up"
}
] | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385709",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12246961/"
] |
74,385,716 | <p>I have database that looks like this</p>
<pre><code>CREATE TABLE code (
id SERIAL,
name VARCHAR(255) NOT NULL
);
INSERT INTO code (name) VALUES ('random_value1_random');
INSERT INTO code (name) VALUES ('random_value123_random');
CREATE TABLE value (
id SERIAL,
name VARCHAR(255) NOT NULL
);
INSERT INTO... | [
{
"answer_id": 74386104,
"author": "Rik Bradley",
"author_id": 10248941,
"author_profile": "https://Stackoverflow.com/users/10248941",
"pm_score": -1,
"selected": false,
"text": ";with l as (\n -- Match the longest value first\n select c.id c_id, v.id v_id, ROW_NUMBER () over (part... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385716",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4452553/"
] |
74,385,724 | <pre><code>mydata = [{'ID' : '10', 'StartDate': '10/10/2016', 'EndDate': '15/10/2016'},
{'ID' : '20', 'StartDate': '10/10/2016', 'EndDate': '18/10/2016'}]
df = pd.DataFrame(mydata)
df['StartDate'] = pd.to_datetime(df['StartDate']).dt.date
df['EndDate'] = pd.to_datetime(df['EndDate']).dt.date
df = df.loc[df.... | [
{
"answer_id": 74386104,
"author": "Rik Bradley",
"author_id": 10248941,
"author_profile": "https://Stackoverflow.com/users/10248941",
"pm_score": -1,
"selected": false,
"text": ";with l as (\n -- Match the longest value first\n select c.id c_id, v.id v_id, ROW_NUMBER () over (part... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385724",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17900863/"
] |
74,385,744 | <p>having issues uploading file from NodeJs server side, found 100 posts and reasearches but nothing works, would appreciate any help.</p>
<p><strong>Structure of the App</strong></p>
<ol>
<li><p>Front App - React Admin framework receving file and i encode in base64 the content of the image to send to API</p>
</li>
<li... | [
{
"answer_id": 74498763,
"author": "aaa",
"author_id": 3620936,
"author_profile": "https://Stackoverflow.com/users/3620936",
"pm_score": 1,
"selected": true,
"text": "function upload (image: {imageBase64: string, fileName: string}) {\n const { imageBase64, fileName } = image;\n const c... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385744",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3620936/"
] |
74,385,768 | <p>i have a Array with Customer Objects. They have an ID, category and a date. In the list it can happen that there are different dates for the same categories.</p>
<pre><code>Customer 1 | qualityCheck | 12.03.2022
Customer 1 | priceCheck | 05.07.2021
Customer 1 | customerCheck| 25.10.2022
Customer 1 | qualityCheck |... | [
{
"answer_id": 74386100,
"author": "Razvan",
"author_id": 7611661,
"author_profile": "https://Stackoverflow.com/users/7611661",
"pm_score": 0,
"selected": false,
"text": " Map<String, Optional<Customer>> result = list.stream()\n .sorted(Comparator.comparing(Customer::getDate))\n... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385768",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8865176/"
] |
74,385,784 | <p>My Electron app needs to store into and retrieve from a sqlite db, objects like this: </p>
<pre><code>{"name":"my regexp","regexp":/some\spattern/i}
</code></pre>
<p>(real objects are much larger and much more complex.)</p>
<p>I started by storing stringified object in a field, but sinc... | [
{
"answer_id": 74386100,
"author": "Razvan",
"author_id": 7611661,
"author_profile": "https://Stackoverflow.com/users/7611661",
"pm_score": 0,
"selected": false,
"text": " Map<String, Optional<Customer>> result = list.stream()\n .sorted(Comparator.comparing(Customer::getDate))\n... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385784",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11373232/"
] |
74,385,812 | <p>Lets say i have df like this</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>ID</th>
<th>name_x</th>
<th>st</th>
<th>string</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>xx</td>
<td>us</td>
<td>Being unacquainted with the chief raccoon was harming his prospects for promotion</td>
</tr>... | [
{
"answer_id": 74385998,
"author": "Celius Stingher",
"author_id": 11897007,
"author_profile": "https://Stackoverflow.com/users/11897007",
"pm_score": 2,
"selected": false,
"text": "Counter most_common x.lower() output = df.groupby('st').agg(\n name_x_count = pd.NamedAgg('name_x','cou... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385812",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15276787/"
] |
74,385,833 | <pre><code> <td id="gender3" name ="gender">Male
<input id = "gender_input3" type="text" style="border:ridge;width:90px; display: none" name="gender" >
</td>
</code></pre>
<p>A <strong>td</strong> contains text and another d... | [
{
"answer_id": 74385998,
"author": "Celius Stingher",
"author_id": 11897007,
"author_profile": "https://Stackoverflow.com/users/11897007",
"pm_score": 2,
"selected": false,
"text": "Counter most_common x.lower() output = df.groupby('st').agg(\n name_x_count = pd.NamedAgg('name_x','cou... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385833",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1033591/"
] |
74,385,836 | <p>I have a table like</p>
<p>sales(product_number, assortment, date)</p>
<p>Here 1 assortment contains multiple products. For example 1 assortment i.e. chocolates contains product_number cadbury, 5 star, kitkat etc. Each and every product has date. I'm trying to check that all products in the same assortment have the ... | [
{
"answer_id": 74385998,
"author": "Celius Stingher",
"author_id": 11897007,
"author_profile": "https://Stackoverflow.com/users/11897007",
"pm_score": 2,
"selected": false,
"text": "Counter most_common x.lower() output = df.groupby('st').agg(\n name_x_count = pd.NamedAgg('name_x','cou... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385836",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18158837/"
] |
74,385,856 | <p>Implementing ordered and unordered list using tiptap react. I want functionality like when user currently in any list or any list is active in text-area of tiptap then by hit the enter key message should send with a single ordered list. The problem is when I need to add another line in same list, using shift+enter k... | [
{
"answer_id": 74385998,
"author": "Celius Stingher",
"author_id": 11897007,
"author_profile": "https://Stackoverflow.com/users/11897007",
"pm_score": 2,
"selected": false,
"text": "Counter most_common x.lower() output = df.groupby('st').agg(\n name_x_count = pd.NamedAgg('name_x','cou... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385856",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18744198/"
] |
74,385,871 | <p>I'm trying out OpenPDF in Clojure. I manage to make a simple document, but there are font problems.</p>
<p>Here's some failing code:</p>
<pre><code>(ns invoice.download.pdf
(:require
[clojure.java.io :as io])
(:import [com.lowagie.text Font FontFactory Paragraph]
[com.lowagie.text.pdf BaseFont]))
... | [
{
"answer_id": 74401514,
"author": "a.k",
"author_id": 8162407,
"author_profile": "https://Stackoverflow.com/users/8162407",
"pm_score": 2,
"selected": true,
"text": "(:use clj-pdf.core)\n(pdf\n [{:font {:encoding :unicode\n :ttf-name \"fonts/proxima_nova_extrabold.ttf\"}}\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385871",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11601044/"
] |
74,385,880 | <p>i need to run a Excel VBA Macro from Java.
I've already exported the module as a vbs file: module1.vbs</p>
<p>And now i just need to run it from the java code.</p>
<p>I tried to run it from Java like this:</p>
<pre><code>Runtime.getRuntime().exec("C://Users//pk//OneDrive - pk//Documents//Module1.vbs");
</c... | [
{
"answer_id": 74401514,
"author": "a.k",
"author_id": 8162407,
"author_profile": "https://Stackoverflow.com/users/8162407",
"pm_score": 2,
"selected": true,
"text": "(:use clj-pdf.core)\n(pdf\n [{:font {:encoding :unicode\n :ttf-name \"fonts/proxima_nova_extrabold.ttf\"}}\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385880",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20395564/"
] |
74,385,924 | <p>I have a csv files with a table of info, I need to plot a hist with the information available, the table has dates and numbers, I want the dates to be on the x axis and the numbers on the y axis, but it is plotting the other way around, below are the details:</p>
<p>The below table is on a csv file (called Results.c... | [
{
"answer_id": 74386283,
"author": "Vojta F",
"author_id": 9528643,
"author_profile": "https://Stackoverflow.com/users/9528643",
"pm_score": 2,
"selected": true,
"text": "Results_Hist.plot(x='Date', y='AIncidents', kind='bar')\n"
},
{
"answer_id": 74386345,
"author": "AlexWac... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385924",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20410984/"
] |
74,385,943 | <p>I have 2 terraform scripts. One of them creates an Azure VM with a network and 1 subnet.
The second TF script creates databricks and 2 additional subnets in the Azure VM network to connect both Databricks and VM.</p>
<p>The problem is that after the first apply everything works well. But after the second the terrafo... | [
{
"answer_id": 74386633,
"author": "Kombajn zbożowy",
"author_id": 2890093,
"author_profile": "https://Stackoverflow.com/users/2890093",
"pm_score": 3,
"selected": true,
"text": "subnet { ... } resource \"azurerm_virtual_network\" \"neo4j_virt_network\" {\n name = \"neo4j... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385943",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6691914/"
] |
74,385,944 | <p><a href="https://i.stack.imgur.com/gymuL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gymuL.png" alt="My attempt:" /></a>
<a href="https://i.stack.imgur.com/N8QiC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N8QiC.png" alt="Example page:" /></a></p>
<p>Scenario: I am curre... | [
{
"answer_id": 74386633,
"author": "Kombajn zbożowy",
"author_id": 2890093,
"author_profile": "https://Stackoverflow.com/users/2890093",
"pm_score": 3,
"selected": true,
"text": "subnet { ... } resource \"azurerm_virtual_network\" \"neo4j_virt_network\" {\n name = \"neo4j... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385944",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19884722/"
] |
74,385,973 | <p>Help needed. I am trying to save a file with python but this error appears.
[Errno 13] Permission denied : "C:\Users\33769\Desktop\Reviewin"
Firstly, I don't understand why it adds anti-slashes to the path !
Here is my code :</p>
<pre><code>file_path = r'C:\Users\33769\Desktop\Reviewin'
with open(file_path... | [
{
"answer_id": 74386012,
"author": "sitWolf",
"author_id": 7422392,
"author_profile": "https://Stackoverflow.com/users/7422392",
"pm_score": 0,
"selected": false,
"text": "with open(file_path, \"w\") as f:\n ...\n os.path import os\n\nfile_name = \"Reviewin\"\ncurrent_working_directory... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385973",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18862346/"
] |
74,385,980 | <p>I want to create a method in a class object (depending on some condition). This works when I create the lambda in the class (m2) and when I assign an existing method to a class attribute (m3), but NOT when I assign a lambda to a class attribute (m1). In that case the lambda does not get the self parameter.</p>
<pre>... | [
{
"answer_id": 74386046,
"author": "Jasper Rou",
"author_id": 20173271,
"author_profile": "https://Stackoverflow.com/users/20173271",
"pm_score": -1,
"selected": false,
"text": "self.m1 = lambda self: 1\n self.m1 = lambda: 1\n"
},
{
"answer_id": 74386157,
"author": "blhsing",... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385980",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20248075/"
] |
74,385,983 | <p>I have a script that updates a configuration file with current year, but for some reason the copyright symbol is not being inserted correctly. The PowerShell script is UTF-8 with BOM and the JSON file is UTF-8.</p>
<p>The workflow is that I read from a JSON file, update the copyright date, and then save to a JSON fi... | [
{
"answer_id": 74387239,
"author": "iRon",
"author_id": 1701026,
"author_profile": "https://Stackoverflow.com/users/1701026",
"pm_score": 0,
"selected": false,
"text": "$Data = @{ CopyrightInfo = \"Copyright $([char]::ConvertFromUtf32(0x000000A9)) CompanyName $((Get-Date).Year)\" }\n$Jso... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385983",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3010546/"
] |
74,385,991 | <p>The problem is as follows.</p>
<p>I have a pandas dataFrame looking something like</p>
<pre><code> row_idx clm_idx value
0 0 1 a1
1 0 2 b1
2 1 3 c1
3 2 3 d1
</code></pre>
<p>This dataFrame can have up to m lines (prob... | [
{
"answer_id": 74387239,
"author": "iRon",
"author_id": 1701026,
"author_profile": "https://Stackoverflow.com/users/1701026",
"pm_score": 0,
"selected": false,
"text": "$Data = @{ CopyrightInfo = \"Copyright $([char]::ConvertFromUtf32(0x000000A9)) CompanyName $((Get-Date).Year)\" }\n$Jso... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74385991",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17926094/"
] |
74,386,010 | <p>I've got a new project(spring boot 2.4.13) and I want to add swagger to that project</p>
<pre><code> <parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.13</version>
<relativePath/>
&l... | [
{
"answer_id": 74387239,
"author": "iRon",
"author_id": 1701026,
"author_profile": "https://Stackoverflow.com/users/1701026",
"pm_score": 0,
"selected": false,
"text": "$Data = @{ CopyrightInfo = \"Copyright $([char]::ConvertFromUtf32(0x000000A9)) CompanyName $((Get-Date).Year)\" }\n$Jso... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386010",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2674303/"
] |
74,386,011 | <p>I have a flink job written in scala and I am creating one custom metric to count the nmber of events in a stream. The job is deployed on kubernetes and I see system metrics of job-manager and task-managers in the prometheus. However, we don't see the custom metrics in prometheus though we see that in Flink UI. Below... | [
{
"answer_id": 74387239,
"author": "iRon",
"author_id": 1701026,
"author_profile": "https://Stackoverflow.com/users/1701026",
"pm_score": 0,
"selected": false,
"text": "$Data = @{ CopyrightInfo = \"Copyright $([char]::ConvertFromUtf32(0x000000A9)) CompanyName $((Get-Date).Year)\" }\n$Jso... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386011",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3336596/"
] |
74,386,033 | <p><a href="https://i.stack.imgur.com/IgWQd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IgWQd.png" alt="enter image description here" /></a></p>
<p>I am not sure I can ask about just excel problems on stackoverflow.com.
Just let me know gently If I am making mistakes.</p>
<p>I need to concat vert... | [
{
"answer_id": 74386532,
"author": "5202456",
"author_id": 5202456,
"author_profile": "https://Stackoverflow.com/users/5202456",
"pm_score": 2,
"selected": true,
"text": "=IF(A3=\"\",D2&CHAR(44)&D3,D3) =IF(A4=\"\",IF(D4=\"\",E3,IF(AND(A3<>\"\",D3=\"\"),D4,E3&CHAR(44)&D4)),IF(D4=\"\",\"\"... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386033",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9062770/"
] |
74,386,043 | <p>I want to search for Windows paths on complete HTML document and save them in a array. The paths can be completely different. Except for the drive letter, everything that comes after it is uncertain.</p>
<p>For example my HTML:</p>
<pre><code><p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam... | [
{
"answer_id": 74386532,
"author": "5202456",
"author_id": 5202456,
"author_profile": "https://Stackoverflow.com/users/5202456",
"pm_score": 2,
"selected": true,
"text": "=IF(A3=\"\",D2&CHAR(44)&D3,D3) =IF(A4=\"\",IF(D4=\"\",E3,IF(AND(A3<>\"\",D3=\"\"),D4,E3&CHAR(44)&D4)),IF(D4=\"\",\"\"... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386043",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20466418/"
] |
74,386,045 | <p>"WorkerProcessRestarting. Initialization timed out and host is shutting down" Azure function app run time error for Isolated function, can someone please help.</p>
<p>I created isolated function app in framework 4.8, not able to debug it locally or run it locally. Visual studio doesn't show any error when ... | [
{
"answer_id": 74386532,
"author": "5202456",
"author_id": 5202456,
"author_profile": "https://Stackoverflow.com/users/5202456",
"pm_score": 2,
"selected": true,
"text": "=IF(A3=\"\",D2&CHAR(44)&D3,D3) =IF(A4=\"\",IF(D4=\"\",E3,IF(AND(A3<>\"\",D3=\"\"),D4,E3&CHAR(44)&D4)),IF(D4=\"\",\"\"... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386045",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20466408/"
] |
74,386,093 | <p>Hello I have a <code>List<Tuple<int, int>></code> and I want to check if there are repeated elements no matter the order. So, for example, if my list contains</p>
<pre><code>List<Tuple<int, int>> tuple = new List<Tuple<int, int>>()
{
new Tuple<int, int>(1, 2),
new ... | [
{
"answer_id": 74386239,
"author": "Firo",
"author_id": 671619,
"author_profile": "https://Stackoverflow.com/users/671619",
"pm_score": 2,
"selected": false,
"text": "var set = new HashSet<long>();\nvar unique = tuple.Where(t => set.Add((long)Math.Max(t.Item1, t.Item2) << 32 | Math.Min(t... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386093",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14366150/"
] |
74,386,133 | <p>I want to decrypt AES encrypted data with openssl command.</p>
<ul>
<li>Encrypted data: <code>GD5YV2naJZ/x3mQnfictWQ==</code> (base64 encoded)</li>
<li>Key: <code>uHe2MCmggLlugpGBiMVuXTck7OT8Nk8g</code></li>
<li>Cipher: AES-256-CBC</li>
<li>IV: <code>LNP8U7pc6GjxzxAtgw4s3A==</code> (base64 encoded)</li>
</ul>
| [
{
"answer_id": 74386539,
"author": "Dawlatzai Ghousi",
"author_id": 4217232,
"author_profile": "https://Stackoverflow.com/users/4217232",
"pm_score": 0,
"selected": false,
"text": "Illuminate\\Contracts\\Encryption\\DecryptException;\nuse Illuminate\\Support\\Facades\\Crypt;\n \ntry {\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386133",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8063455/"
] |
74,386,140 | <p>I am working with Reactjs using html, css, and javascript.
I want to style active navigator item in the navbar with white border. That is mean the border will stay in the item while the page of this item is open.</p>
<pre><code>import React, { useState } from "react";
import { Link } from "react-route... | [
{
"answer_id": 74386539,
"author": "Dawlatzai Ghousi",
"author_id": 4217232,
"author_profile": "https://Stackoverflow.com/users/4217232",
"pm_score": 0,
"selected": false,
"text": "Illuminate\\Contracts\\Encryption\\DecryptException;\nuse Illuminate\\Support\\Facades\\Crypt;\n \ntry {\n ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19187485/"
] |
74,386,141 | <p>I need to get all values that are numbers from:</p>
<pre><code>lst = [7, 18, 3, 'a', True, (2,3)]
</code></pre>
<p>So I need to get 7,8 and 3. How can I get that?</p>
<p>I tried using function <code>isnumeric</code> and <code>isdigit</code>.
It returns error -></p>
<pre><code>AttributeError: 'int' object has no a... | [
{
"answer_id": 74386179,
"author": "KillerRebooted",
"author_id": 18554284,
"author_profile": "https://Stackoverflow.com/users/18554284",
"pm_score": 1,
"selected": false,
"text": "type() lst = [7, 18, 3, 'a', True, (2,3)]\nnew_lst = [i for i in lst if type(i) in [int, float]]\n"
},
... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386141",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19801339/"
] |
74,386,191 | <p>I am getting response as</p>
<p>{
"statusCode": 219,
"body": "{"message": "otp sent to user", "session": "f603ee03-4906-4451-b4e5-b19f0ccf84d0", "otp": "123456"}"
}</p>
<p>I want to get the Session number from this response. D... | [
{
"answer_id": 74386179,
"author": "KillerRebooted",
"author_id": 18554284,
"author_profile": "https://Stackoverflow.com/users/18554284",
"pm_score": 1,
"selected": false,
"text": "type() lst = [7, 18, 3, 'a', True, (2,3)]\nnew_lst = [i for i in lst if type(i) in [int, float]]\n"
},
... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386191",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9228859/"
] |
74,386,202 | <p>I'm sure I'm missing something obvious here but I've had a really good look over this, combing for typos and such but I can't see what the problem is. I want this to be a simple form that requires a username/password combination to validate. The usernames/passwords having to match hasn't been implemented yet because... | [
{
"answer_id": 74386368,
"author": "mplungjan",
"author_id": 295783,
"author_profile": "https://Stackoverflow.com/users/295783",
"pm_score": 1,
"selected": true,
"text": "var usernameInput = loginform.user.value;\nvar pwInput = loginform.pword.value;\n\n\nvar usernameInput = loginform.qu... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386202",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19372608/"
] |
74,386,216 | <pre><code> Dim connect As String = "Data Source=DESKTOP-D32ONKB;Initial Catalog=Attendance;Integrated Security=True"
Using conn As New SqlConnection(connect)
Dim dt As DataTable = New DataTable()
Dim sql As String = "SELECT ID,Name,Class,Date FROM stuattrecordAMPM"
... | [
{
"answer_id": 74386566,
"author": "Devrim Mert Yöyen",
"author_id": 20466471,
"author_profile": "https://Stackoverflow.com/users/20466471",
"pm_score": 1,
"selected": false,
"text": "Dim idValue As Int = Convert.ToInt32(TextBox1.Text)\nDim dt As DataTable = New DataTable() \nDim connec... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386216",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20369318/"
] |
74,386,250 | <p>I am trying to remove last character from a string in react</p>
<p><code>val = "string"</code></p>
<p><code>const newVal = value.split("");</code></p>
<p>i tried this but this didn't helped.</p>
| [
{
"answer_id": 74386267,
"author": "UNRIVALLEDKING",
"author_id": 17525745,
"author_profile": "https://Stackoverflow.com/users/17525745",
"pm_score": 2,
"selected": true,
"text": "const newVal = value.slice(0, -1);\n"
},
{
"answer_id": 74386414,
"author": "Uri Loya",
"aut... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386250",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18804413/"
] |
74,386,274 | <p>I am importing a library and I get this error when compiling:</p>
<pre><code>go.cu(61): error: calling a __host__ function("TinyJS::Interpreter::Interpreter()") from a __global__ function("capnduk_kernel") is not allowed
</code></pre>
<p>...is there a way to port an entire file (<a href="https://... | [
{
"answer_id": 74391883,
"author": "Robert Crovella",
"author_id": 1695960,
"author_profile": "https://Stackoverflow.com/users/1695960",
"pm_score": 2,
"selected": false,
"text": "nvcc"
},
{
"answer_id": 74404074,
"author": "einpoklum",
"author_id": 1593077,
"author_p... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386274",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/970175/"
] |
74,386,285 | <p>I am at loss on how to generate a new column with <code>dplyr</code> when using a conditional statement across multiple columns.</p>
<p>Given some data</p>
<pre><code>library(dplyr)
a <- data.frame(var1 = c("one", "two", "three"), var2 = c("three", "one", "t... | [
{
"answer_id": 74386749,
"author": "Aron Strandberg",
"author_id": 4885169,
"author_profile": "https://Stackoverflow.com/users/4885169",
"pm_score": 3,
"selected": true,
"text": "mapping <- c(\"one\" = 1, \"two\" = 2, \"three\" = 3)\n\napply(a, 1, \\(x) min(mapping[x], na.rm = TRUE))\n\n... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386285",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10798015/"
] |
74,386,325 | <p>Given the following input</p>
<pre><code>{
"environment": [
{
"name": "AAA",
"value": "1111"
},
{
"name": "BBB",
"value": "2222"
},
{
"name": "CCC",
... | [
{
"answer_id": 74386749,
"author": "Aron Strandberg",
"author_id": 4885169,
"author_profile": "https://Stackoverflow.com/users/4885169",
"pm_score": 3,
"selected": true,
"text": "mapping <- c(\"one\" = 1, \"two\" = 2, \"three\" = 3)\n\napply(a, 1, \\(x) min(mapping[x], na.rm = TRUE))\n\n... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386325",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20466574/"
] |
74,386,327 | <p>I have a problem where my code tries to call <code>pthread_mutex_destory()</code> twice. I need to check whether the lock have been destroyed before or not.</p>
<p>How can I do this? Will this work:</p>
<pre><code>void deinit()
{
if(1 == pthread_mutex_trylock(&this->m_lock))
{
(void) pthread_m... | [
{
"answer_id": 74386611,
"author": "David van rijn",
"author_id": 4313775,
"author_profile": "https://Stackoverflow.com/users/4313775",
"pm_score": 3,
"selected": true,
"text": "pthread_mutex_destroy std::optional"
},
{
"answer_id": 74393040,
"author": "John Bollinger",
"... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386327",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19574336/"
] |
74,386,350 | <p>There is a dataframe with hourly data, e.g.:</p>
<pre><code> DATE TIME Amount
2022-11-07 21:00:00 10
2022-11-07 22:00:00 11
2022-11-08 07:00:00 10
2022-11-08 08:00:00 13
2022-11-08 09:00:00 12
2022-11-08 10:00:00 11 ... | [
{
"answer_id": 74386428,
"author": "jezrael",
"author_id": 2901002,
"author_profile": "https://Stackoverflow.com/users/2901002",
"pm_score": 2,
"selected": false,
"text": "DatetimeIndex DataFrame.between_time sum df.index = pd.to_datetime(df['DATE'] + ' ' + df['TIME'])\n\ns = (df.between... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386350",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8518582/"
] |
74,386,372 | <p>I want to create a function that will take an object of student exam scores and calculate the total scores for all subjects for each student, then sort the students in the object based on their total_score.</p>
<p>Below is the before mapping and sorting, and the expected result.</p>
<pre><code>const studentsExamScor... | [
{
"answer_id": 74386428,
"author": "jezrael",
"author_id": 2901002,
"author_profile": "https://Stackoverflow.com/users/2901002",
"pm_score": 2,
"selected": false,
"text": "DatetimeIndex DataFrame.between_time sum df.index = pd.to_datetime(df['DATE'] + ' ' + df['TIME'])\n\ns = (df.between... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386372",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19571681/"
] |
74,386,383 | <p>I have an Ansible job that run on 2 or more urls. Each url returns the same variables with different values. Here is the JSON data registry of the job:</p>
<pre><code>{
"msg": {
"results": [
{
"url": "http://0.0.0.1:xxx1",
"othervar": &quo... | [
{
"answer_id": 74388094,
"author": "guido",
"author_id": 389099,
"author_profile": "https://Stackoverflow.com/users/389099",
"pm_score": 0,
"selected": false,
"text": "---\n- name: Playbook for infinispan Hosts\n hosts: localhost\n tasks:\n - name: load json from file\n shell: ... | 2022/11/10 | [
"https://Stackoverflow.com/questions/74386383",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17504121/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.