qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
74,484,688 | <p>I currently have the code below which produces a resizable list, except the li elements do not match the height of their neighbor. It's similar to the question <a href="https://stackoverflow.com/questions/17011822/force-all-items-in-list-in-each-row-to-have-the-same-height-each-item-has-dynam">posted here</a> with t... | [
{
"answer_id": 74484718,
"author": "John",
"author_id": 11111119,
"author_profile": "https://Stackoverflow.com/users/11111119",
"pm_score": 1,
"selected": false,
"text": " height: 100%; li ul {\n overflow: scroll;\n list-style: none;\n resize: horizontal;\n height: 30vh;\n ... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484688",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10784160/"
] |
74,484,709 | <pre><code>def main():
plate = input("Plate: ")
if is_valid(plate):
print("Valid")
else:
print("Invalid")
def is_valid(s):
index = []
for i in s:
if i.isdigit():
index += i
break
print(index)
if 6 >= len(s) &g... | [
{
"answer_id": 74484772,
"author": "tdelaney",
"author_id": 642070,
"author_profile": "https://Stackoverflow.com/users/642070",
"pm_score": 1,
"selected": false,
"text": "def is_valid(s):\n index = []\n for i in s:\n if i.isdigit():\n index += i\n break... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484709",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19395309/"
] |
74,484,711 | <p>I want to make a program where 2 options will be written on text and I want to make my program whenever the user choose one of those option the other option will be greyed out.</p>
<p><a href="https://i.stack.imgur.com/IC170.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IC170.png" alt="enter ima... | [
{
"answer_id": 74484757,
"author": "manhtuan21",
"author_id": 8921450,
"author_profile": "https://Stackoverflow.com/users/8921450",
"pm_score": 3,
"selected": true,
"text": "class _MyHomePageState extends State<MyHomePage> {\n int _selectIndex = 0;\n\n @override\n Widget build(BuildCo... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484711",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20535950/"
] |
74,484,724 | <p><a href="https://i.stack.imgur.com/xvEh0.jpg" rel="nofollow noreferrer">enter image description here</a>im not able to use this keyword</p>
<p>i was expecting to use this keywordim not able to use this keyword</p>
| [
{
"answer_id": 74484751,
"author": "Soliev",
"author_id": 19945688,
"author_profile": "https://Stackoverflow.com/users/19945688",
"pm_score": 2,
"selected": false,
"text": "ElevatedButton"
},
{
"answer_id": 74484754,
"author": "Gwhyyy",
"author_id": 18670641,
"author_... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484724",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18194679/"
] |
74,484,744 | <p>When new users sign up for our software, I get emails like:</p>
<pre><code>Store Leads Account Created (ammar@123.com)
</code></pre>
<p>I'm trying to isolate the domain name.</p>
<p>I found this regex expression which worked:</p>
<pre><code>.*@(\S+)
</code></pre>
<p>but I get left with a trailing <code>)</code>, so ... | [
{
"answer_id": 74484751,
"author": "Soliev",
"author_id": 19945688,
"author_profile": "https://Stackoverflow.com/users/19945688",
"pm_score": 2,
"selected": false,
"text": "ElevatedButton"
},
{
"answer_id": 74484754,
"author": "Gwhyyy",
"author_id": 18670641,
"author_... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484744",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20535989/"
] |
74,484,776 | <p>I want to take screenshot using getDisplayMedia, but its giving me blank image.</p>
<pre><code> document
.getElementById("takeScreenshot")
.addEventListener("click", async () => {
const canvas = document.createElement("canvas");
const context = canvas.getContext(... | [
{
"answer_id": 74484815,
"author": "Nuro007",
"author_id": 19669556,
"author_profile": "https://Stackoverflow.com/users/19669556",
"pm_score": 0,
"selected": false,
"text": "loadedmetadata video.addEventListener('loadedmetadata', () => {\n context.drawImage(video, 0, 0, window.width, wi... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484776",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/277696/"
] |
74,484,801 | <p>Using Node.js, I can pass a handle/ref for a http request to a child process using this construct:</p>
<pre><code>const k = cp.fork(childPath);
const server = http.createServer((req,res) => {
k.send('foo', req.socket);
});
</code></pre>
<p>and in the child process, I can do:</p>
<pre><code>process.on('message'... | [
{
"answer_id": 74484864,
"author": "Alexander Mills",
"author_id": 1223975,
"author_profile": "https://Stackoverflow.com/users/1223975",
"pm_score": 0,
"selected": false,
"text": "server.on('connection', c => {\n\n console.log('new connection');\n\n const k = cp.fork('k.js', [],{\n... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484801",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1223975/"
] |
74,484,826 | <p>When the <strong>More</strong> button is clicked, it should NOT expand and collapse.</p>
<p><a href="https://i.stack.imgur.com/toV1b.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/toV1b.gif" alt="enter image description here" /></a></p>
<p>If the accordion initial state is open, it must stay open... | [
{
"answer_id": 74484864,
"author": "Alexander Mills",
"author_id": 1223975,
"author_profile": "https://Stackoverflow.com/users/1223975",
"pm_score": 0,
"selected": false,
"text": "server.on('connection', c => {\n\n console.log('new connection');\n\n const k = cp.fork('k.js', [],{\n... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484826",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5549354/"
] |
74,484,839 | <p>I'm trying to use docker-compose to run a project with two Docker containers, MySQL and NodeJS. I'm having trouble connect to the SQL container from the backend container. My backend container uses Prisma as it's ORM and shows me the following error when <code>npx prisma migrate dev</code> is ran (during docker-comp... | [
{
"answer_id": 74484864,
"author": "Alexander Mills",
"author_id": 1223975,
"author_profile": "https://Stackoverflow.com/users/1223975",
"pm_score": 0,
"selected": false,
"text": "server.on('connection', c => {\n\n console.log('new connection');\n\n const k = cp.fork('k.js', [],{\n... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484839",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18970671/"
] |
74,484,867 | <p>So i need to create a post request that gets login data(name, email, password) from the user, runs validations, encrypts password, then stores data. The problem is that the encryption function takes time to run, and the variable is still not populated by the time i use it. Tried using another promise-await inside bu... | [
{
"answer_id": 74484864,
"author": "Alexander Mills",
"author_id": 1223975,
"author_profile": "https://Stackoverflow.com/users/1223975",
"pm_score": 0,
"selected": false,
"text": "server.on('connection', c => {\n\n console.log('new connection');\n\n const k = cp.fork('k.js', [],{\n... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484867",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9010857/"
] |
74,484,870 | <p>I get JSON extracts throughout a day which is executed for different dates.</p>
<p>As a preprocess step I would like to combine all JSONs with same date and merge them into common file with date as name.</p>
<p>Multiple Json files
<pre>
tmp/emp1.json
tmp/emp2.json
tmp/emp3.json
tmp/emp4.json
tmp/emp5.json
tmp/emp6.j... | [
{
"answer_id": 74485340,
"author": "Niko",
"author_id": 7100120,
"author_profile": "https://Stackoverflow.com/users/7100120",
"pm_score": 1,
"selected": false,
"text": "import json\n\nfilenames = ['emp1', 'emp2']\ndata_list = []\nnew_filenames = []\n\n# Open files and concatenate objects... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484870",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6114709/"
] |
74,484,873 | <p>original dataframe</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th style="text-align: left;">id</th>
<th style="text-align: center;">email</th>
<th style="text-align: right;">name</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">1</td>
<td style="text-align: center;">id1@fi... | [
{
"answer_id": 74484960,
"author": "ZygD",
"author_id": 2753501,
"author_profile": "https://Stackoverflow.com/users/2753501",
"pm_score": 1,
"selected": false,
"text": "collect_set array_sort from pyspark.sql import functions as F\ndf = spark.createDataFrame(\n [('1', 'id1@first.com',... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484873",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5104266/"
] |
74,484,894 | <p>I'm trying to embed some YouTube videos for a portfolio site. I'm using the embed code given by YouTube itself under one of my videos. But when I use it, I get the "Video Unavailable" error message.</p>
<p>Here's the embed code</p>
<pre><code><iframe width="560" height="315" src=&quo... | [
{
"answer_id": 74484960,
"author": "ZygD",
"author_id": 2753501,
"author_profile": "https://Stackoverflow.com/users/2753501",
"pm_score": 1,
"selected": false,
"text": "collect_set array_sort from pyspark.sql import functions as F\ndf = spark.createDataFrame(\n [('1', 'id1@first.com',... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484894",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20536088/"
] |
74,484,926 | <p>I have a folder containing thousands of files. I plan to read the latest 50 files based on the date created, Java by default reading files created oldest, comparing each file taking lot of time, is there a better way to do this?</p>
<p>I have a Folder <code>\usr\documents\archive</code> have 1000 files in it
want to... | [
{
"answer_id": 74485909,
"author": "Sagar Gandhi",
"author_id": 6722664,
"author_profile": "https://Stackoverflow.com/users/6722664",
"pm_score": 1,
"selected": false,
"text": " BasicFileAttributes attr = Files.readAttributes(path, BasicFileAttributes.class);\n FileTime fileTime = at... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484926",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6876938/"
] |
74,484,930 | <p>Before you say that this is a minor problem and was discussed a million times here and on other forums, I want to say that I went through all of them and tried to implement each of their solutions but with no luck. I either missed some very small detail or there is something wrong with my project in general. Hope yo... | [
{
"answer_id": 74486250,
"author": "Hassan",
"author_id": 19500804,
"author_profile": "https://Stackoverflow.com/users/19500804",
"pm_score": 1,
"selected": false,
"text": "Bundle settings Target Open Build Phases Copy Bundle Resources info.plist info.plist file File Inspector Location: ... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484930",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20403312/"
] |
74,484,938 | <p><strong>Program :</strong></p>
<pre class="lang-cpp prettyprint-override"><code>#include <iostream>
using namespace std;
int main()
{
int n; // n=3
cin >> n;
char a[n];
cin >> a;
cout << a;
return 0;
}
</code></pre>
<p><strong>input :</strong></p>
<pre class="lang-no... | [
{
"answer_id": 74485026,
"author": "Sazzad Hissain Khan",
"author_id": 1084174,
"author_profile": "https://Stackoverflow.com/users/1084174",
"pm_score": -1,
"selected": false,
"text": "int n; // n=3\nchar a[n];\n\ncin >> n;\ncin >> a;\ncout << a;\n"
},
{
"answer_id": 74485262,
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484938",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19959107/"
] |
74,484,941 | <p>I'm pasting this on vim:</p>
<pre><code>"recreation_ground"
"retail"
"farmyard"
"nature_reserve"
"scrub"
"park"
...
</code></pre>
<p>If I select these lines as a block, what command(s) may I use:</p>
<ol>
<li><p>to "flat" their content to a single... | [
{
"answer_id": 74485998,
"author": "Max Shen",
"author_id": 20297231,
"author_profile": "https://Stackoverflow.com/users/20297231",
"pm_score": 2,
"selected": false,
"text": "<C-v>G$A,<ESC>\n vGgJ\n :h visual-block\n:h gJ\n"
},
{
"answer_id": 74487576,
"author": "burning_wipf... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484941",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2827181/"
] |
74,484,945 | <p>I've been following <a href="https://stackoverflow.com/questions/26921544/drawing-sine-wave-with-increasing-amplitude-and-frequency-over-time">this</a> guide, but I'm having trouble understanding/implementing the formula for AM/FM (Amplitude/Frequency Modulation) in my code. This is how they appear:</p>
<p><code>f(t... | [
{
"answer_id": 74486485,
"author": "Spektre",
"author_id": 2521214,
"author_profile": "https://Stackoverflow.com/users/2521214",
"pm_score": 0,
"selected": false,
"text": "amplitude(time) = 200.0*time y+= y= f0 - min output frequency\nf1 - max output frequency\na0 - min value of input si... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484945",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20535775/"
] |
74,484,951 | <p>I have this data:</p>
<pre><code>df['profile'] = {
'symbol': 'AAPL',
'price': 150.72,
'beta': 1.246644,
'volAvg': 89576498,
'mktCap': 2397668846469,
'lastDiv': 0.91,
'range': '129.04-182.94',
'changes': 1.93,
'companyName': 'Apple Inc.',
'currency': 'USD',
'cik':... | [
{
"answer_id": 74485016,
"author": "Rabinzel",
"author_id": 15521392,
"author_profile": "https://Stackoverflow.com/users/15521392",
"pm_score": 2,
"selected": false,
"text": "df = pd.DataFrame({\n 'ID' : 0, \n 'status' : [{\n 'symbol': 'AAPL', \n 'price': 150.72, \n ... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484951",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11770567/"
] |
74,484,969 | <p>So basically, the program is a "sales tracker" and we must enter an id, but the id must be only 8 characters long and if it isn't 8 characters long then the program will tell the user so. I've got most of the program done but I cannot seem to get this part of the program done.</p>
<p>The user can also chan... | [
{
"answer_id": 74485751,
"author": "DevilsHnd",
"author_id": 4725875,
"author_profile": "https://Stackoverflow.com/users/4725875",
"pm_score": 0,
"selected": false,
"text": "String id = \"\";\n while (id.isEmpty()) {\n System.out.print(\"Enter salesperson ID >> \");\n id... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484969",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20536098/"
] |
74,484,971 | <p>Okay, so im new to Unix and I am trying to learn the basics of Unix. I have a file called adafile that im trying to configure and just toy around with. I basically want to print the digits in the second decimal place for the numbers in column 2 (which is 1,3,5,6,4,6,2,4).</p>
<pre><code>File Output:
3.0 .91 7 36 Jan... | [
{
"answer_id": 74485207,
"author": "RARE Kpop Manifesto",
"author_id": 14672114,
"author_profile": "https://Stackoverflow.com/users/14672114",
"pm_score": 1,
"selected": true,
"text": "regex mawk NF=NF FS='^.+[.].| .+$' OFS=\n mawk NF=2 FS='^.+[.].| .+$' \n [ ] 1\n 3\n 5\n 6... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484971",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20536102/"
] |
74,484,994 | <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>$("button").on("click", function(){
var buttonClicked = $("button").attr("name");
alert("Button CLicked: " + buttonClicked);
}... | [
{
"answer_id": 74485043,
"author": "Bipin",
"author_id": 5892016,
"author_profile": "https://Stackoverflow.com/users/5892016",
"pm_score": 0,
"selected": false,
"text": "<body>\n \n <h1 class=\"titleClass\">jQuery</h1>\n <div class=\"buttonClass\">\n <button name=\"up_but... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484994",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17465069/"
] |
74,484,996 | <p>I am trying to use an array map for checking if same username and password exist in an object array</p>
<pre><code>database.map((obj)=>{
if(values.name === obj.name && values.password===obj.password){
console.log("login success");
} else {
console.log("login Failed");
}
... | [
{
"answer_id": 74485043,
"author": "Bipin",
"author_id": 5892016,
"author_profile": "https://Stackoverflow.com/users/5892016",
"pm_score": 0,
"selected": false,
"text": "<body>\n \n <h1 class=\"titleClass\">jQuery</h1>\n <div class=\"buttonClass\">\n <button name=\"up_but... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74484996",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20376709/"
] |
74,485,029 | <p>How can I replace values in <code>df1</code> with var values in <code>df2</code> if they match BOTH code1 and code2, and append non-matches to the bottom <strong>keeping the order of df1 AND indexing whether the line was edited</strong>:</p>
<p>Sample data:</p>
<pre><code>#create sample df1
df1 <- data.frame(code... | [
{
"answer_id": 74485394,
"author": "Josh White",
"author_id": 20289207,
"author_profile": "https://Stackoverflow.com/users/20289207",
"pm_score": 0,
"selected": false,
"text": "f <- function(df1, df2) {\n a <- match(df1$code1, df2$code1)\n b <- match(df1$code2, df2$code2)\n is_match <... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485029",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7837376/"
] |
74,485,033 | <p>I am trying to create an API (either REST or HTTP API) on AWS that points to some lambda function that can then access the Cloudfront HTTP headers described here:</p>
<p><a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-cloudfront-headers.html" rel="nofollow noreferrer">Adding the Clo... | [
{
"answer_id": 74485394,
"author": "Josh White",
"author_id": 20289207,
"author_profile": "https://Stackoverflow.com/users/20289207",
"pm_score": 0,
"selected": false,
"text": "f <- function(df1, df2) {\n a <- match(df1$code1, df2$code1)\n b <- match(df1$code2, df2$code2)\n is_match <... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485033",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1763510/"
] |
74,485,065 | <p>Actually I had a doubt reg. <code>UUID().uuidString</code> is <strong>unique for globally like Android, iOS Swift, java and etc</strong>.</p>
<p>UUID is like <code>9297EEEF-FE6D-4758-88BF-4051961B8619</code></p>
<p>am generating unique id for each record in internal Database and for api callings. Same thing other te... | [
{
"answer_id": 74485066,
"author": "Kathiresan Murugan",
"author_id": 2915020,
"author_profile": "https://Stackoverflow.com/users/2915020",
"pm_score": -1,
"selected": false,
"text": "String(format: \"%@-IOS-%@\", UUID().uuidString, Date().toString(format: \"ddMMyyyyHHmmss\"))\n"
},
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485065",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2915020/"
] |
74,485,114 | <p>This is my code below and it is not working</p>
<pre><code>LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'Asia/Pakistan'
USE_I18N = True
USE_L10N = True
USE_TZ = True
</code></pre>
<p>it is giving me this error</p>
<pre><code>A server error occurred. Please contact the administrator.
</code></pre>
| [
{
"answer_id": 74485066,
"author": "Kathiresan Murugan",
"author_id": 2915020,
"author_profile": "https://Stackoverflow.com/users/2915020",
"pm_score": -1,
"selected": false,
"text": "String(format: \"%@-IOS-%@\", UUID().uuidString, Date().toString(format: \"ddMMyyyyHHmmss\"))\n"
},
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485114",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17513262/"
] |
74,485,125 | <p>I have two remote reposotories and I want to list out the branches from one of the remote repositories only.</p>
<p>git branch -r shows only the branches from the origin .</p>
| [
{
"answer_id": 74485066,
"author": "Kathiresan Murugan",
"author_id": 2915020,
"author_profile": "https://Stackoverflow.com/users/2915020",
"pm_score": -1,
"selected": false,
"text": "String(format: \"%@-IOS-%@\", UUID().uuidString, Date().toString(format: \"ddMMyyyyHHmmss\"))\n"
},
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485125",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9851400/"
] |
74,485,126 | <p>I have my html content as:</p>
<pre><code>html = <div>new notes</div><div><ol><li>kssd</li></ol><ul><li>cds</li><li>dsdsk</li></ul><font color=\"#66717b\">ndsmnd</font></div>
</code></pre>
<p>When I convert the ... | [
{
"answer_id": 74485066,
"author": "Kathiresan Murugan",
"author_id": 2915020,
"author_profile": "https://Stackoverflow.com/users/2915020",
"pm_score": -1,
"selected": false,
"text": "String(format: \"%@-IOS-%@\", UUID().uuidString, Date().toString(format: \"ddMMyyyyHHmmss\"))\n"
},
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485126",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13954738/"
] |
74,485,127 | <p>is the number 1 stored in memory as 00000001 00000000 00000000 00000000?</p>
<pre><code>#include <stdio.h>
int main()
{
unsigned int a[3] = {1, 1, 0x7f7f0501};
int *p = a;
printf("%d %p\n", *p, p);
p = (long long)p + 1;
printf("%d %p\n", *p, p);
char *p3 = a;
int... | [
{
"answer_id": 74485154,
"author": "Özgür Murat Sağdıçoğlu",
"author_id": 5106317,
"author_profile": "https://Stackoverflow.com/users/5106317",
"pm_score": 2,
"selected": false,
"text": " (long long)p+1\n |\n v\nYour memory: [0x01, 0... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485127",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20536324/"
] |
74,485,129 | <p>I have a file with two columns separated by tabs as follows:</p>
<pre><code>OG0000000 PF03169,PF03169,PF03169,MAC1_004431-T1,
OG0000002 PF07690,PF00083,PF00083,PF07690,PF00083,
OG0000003 MAC1_000127-T1,
OG0000004 PF13246,PF00689,PF00690,
OG0000005 PF00012,PF01061,PF12697,PF00012,
</code></pre>
<p>I just wa... | [
{
"answer_id": 74485147,
"author": "RavinderSingh13",
"author_id": 5866580,
"author_profile": "https://Stackoverflow.com/users/5866580",
"pm_score": 3,
"selected": false,
"text": "awk RS ORS , awk '\nBEGIN{ FS=\",\"; OFS=\"\\t\" }\n{\n val=\"\"\n delete arr\n num=split($2,arr,\",\")\n... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485129",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7552213/"
] |
74,485,150 | <p>I'm wanting make regular toast and a colored toast if possible and wondering of I have too use min engine?</p>
<p>I haven't tried much?</p>
| [
{
"answer_id": 74485147,
"author": "RavinderSingh13",
"author_id": 5866580,
"author_profile": "https://Stackoverflow.com/users/5866580",
"pm_score": 3,
"selected": false,
"text": "awk RS ORS , awk '\nBEGIN{ FS=\",\"; OFS=\"\\t\" }\n{\n val=\"\"\n delete arr\n num=split($2,arr,\",\")\n... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485150",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20451297/"
] |
74,485,204 | <p>I need to clean up a dataframe whose columns come from different sources and have different types. This means that I can have, for example, string columns that contain "nan", "none", "NULL", (as a string instead of a None value).</p>
<p>My goal is to find all empty values and replace th... | [
{
"answer_id": 74485247,
"author": "Jonny Henly",
"author_id": 1241334,
"author_profile": "https://Stackoverflow.com/users/1241334",
"pm_score": 0,
"selected": false,
"text": "for column in df.columns:\n for idx, row in df.iterrows():\n col = str(row[column]).lower()\n i... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485204",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2494795/"
] |
74,485,215 | <p>I have classes <code>Employee</code> and <code>Address</code> as follows:</p>
<pre><code>public static class Employee {
private List<Address> address;
// getters, etc.
}
public static class Address {
private String city;
// getters, etc.
}
</code></pre>
<p>I am learning streams, I am... | [
{
"answer_id": 74485247,
"author": "Jonny Henly",
"author_id": 1241334,
"author_profile": "https://Stackoverflow.com/users/1241334",
"pm_score": 0,
"selected": false,
"text": "for column in df.columns:\n for idx, row in df.iterrows():\n col = str(row[column]).lower()\n i... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485215",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20536434/"
] |
74,485,227 | <p>I am building an app for iOS and Mac Catalyst and have been able to code most of the
experience that I want except for functions that use swipe to delete in iOS.</p>
<p>The view includes multiple sections, each with a List and ForEach closure. I want to
be able to add the EditButton() function to the header of each ... | [
{
"answer_id": 74485247,
"author": "Jonny Henly",
"author_id": 1241334,
"author_profile": "https://Stackoverflow.com/users/1241334",
"pm_score": 0,
"selected": false,
"text": "for column in df.columns:\n for idx, row in df.iterrows():\n col = str(row[column]).lower()\n i... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485227",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2698617/"
] |
74,485,240 | <p>I got a project, where a table widget was used instead of DataTable, So I have been able to pull my JSON data to the table row, but I am having issues showing the header for the table, I can use DataTable to achieve, but I am required to use the table widget.</p>
<p>This is what I have done so far</p>
<pre><code>Sin... | [
{
"answer_id": 74485408,
"author": "NehaK",
"author_id": 4711030,
"author_profile": "https://Stackoverflow.com/users/4711030",
"pm_score": 2,
"selected": false,
"text": "SingleChildScrollView(\n scrollDirection: Axis.horizontal,\n child: list.isEmpty\n ? Co... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485240",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9688779/"
] |
74,485,252 | <p>So i have this project in Python (Computer Vision), which is seperating text from figures of an image (like a paper news image).</p>
<p>My question is what's the best way to detect those figures in the paper ? (in Python).</p>
<p>Paper image example : <a href="https://i.stack.imgur.com/JFW4A.jpg" rel="nofollow noref... | [
{
"answer_id": 74485389,
"author": "KapBytes Technologies",
"author_id": 20518474,
"author_profile": "https://Stackoverflow.com/users/20518474",
"pm_score": 0,
"selected": false,
"text": "import cv2\nimport numpy as np\n\n# Read the image\nimage = cv2.imread('paper-news.png')\n\n# Conver... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485252",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20536436/"
] |
74,485,288 | <p>Here's a fun CSS challenge:
I want <code>ol</code> list items spaced horizontally across a <strong>100% screen width (i.e. dynamic/flex)</strong>, with a horizontal line of <strong>border-radius 2px</strong> connecting each list item without introducing html in between <code><li></code> items (introducing othe... | [
{
"answer_id": 74485403,
"author": "S M Samnoon Abrar",
"author_id": 8188682,
"author_profile": "https://Stackoverflow.com/users/8188682",
"pm_score": 0,
"selected": false,
"text": "left: 150%; .listItem .list {\n list-style: none;\n padding-inline: 0;\n display: flex;\n width: 100%;... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485288",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9973558/"
] |
74,485,330 | <p>How to check if files present under a data lake directory are empty using Azure Data Factory?</p>
<p>There are multiple files present in the data lake directory and I want to check if these files are empty or not, If files are empty then I want to store the filenames of these empty files in a CSV File.</p>
| [
{
"answer_id": 74485403,
"author": "S M Samnoon Abrar",
"author_id": 8188682,
"author_profile": "https://Stackoverflow.com/users/8188682",
"pm_score": 0,
"selected": false,
"text": "left: 150%; .listItem .list {\n list-style: none;\n padding-inline: 0;\n display: flex;\n width: 100%;... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485330",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20054635/"
] |
74,485,339 | <p>How do we know which container data is present in boost variant? My variant is having any datatype or container. how to access the type of the data from the container?</p>
<pre><code>boost::variant<string, int> myvar = 245;
if(myvar.type() == typeid(int)){
std::cout<<"integer data type"<... | [
{
"answer_id": 74487366,
"author": "Klaus",
"author_id": 878532,
"author_profile": "https://Stackoverflow.com/users/878532",
"pm_score": 0,
"selected": false,
"text": "boost::variant<vector<int>, list<string>> v {1,2,3,4};//??? boost::variant<std::vector<int>, std::list<std::string>> v=s... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485339",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19494930/"
] |
74,485,360 | <p>In PHP, C# and may be other languages, why aren't languages developed to reduce writing code that isn't really necessary?</p>
<p>Why for example foreach perform a loop on null array or list?</p>
<p>I'm not a professional programmer, but I think this a common sense.</p>
<p>Thank you.</p>
| [
{
"answer_id": 74485521,
"author": "PMF",
"author_id": 2905768,
"author_profile": "https://Stackoverflow.com/users/2905768",
"pm_score": 2,
"selected": false,
"text": "foreach List<string> myList = new List<string>();\n// ... fill list\nforeach(var s in myList)\n{\n // ...\n}\n IEnumer... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485360",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7662223/"
] |
74,485,362 | <p>I have dates of this mixed type, I would like to standardize all of these to the format <code>yyyy-mm-dd</code> and for dates with just the month I would like to use the "average" of the month (e.g. the 15th). For example, <code>October 28, 2021</code> should become <code>2021/10/28</code> and <code>Novemb... | [
{
"answer_id": 74485521,
"author": "PMF",
"author_id": 2905768,
"author_profile": "https://Stackoverflow.com/users/2905768",
"pm_score": 2,
"selected": false,
"text": "foreach List<string> myList = new List<string>();\n// ... fill list\nforeach(var s in myList)\n{\n // ...\n}\n IEnumer... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485362",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14122775/"
] |
74,485,364 | <p>I can't understand the difference between the condition checked in a <code>for</code> loop and an <code>if</code> condition. Do both behave in a different way?</p>
<p>When I write:</p>
<pre><code>int num = 10;
for(int i = 0; i < 15 && num; i++){
cout << i << " ";
}
</code></pre>
... | [
{
"answer_id": 74485609,
"author": "Remy Lebeau",
"author_id": 65863,
"author_profile": "https://Stackoverflow.com/users/65863",
"pm_score": 2,
"selected": true,
"text": "for while do..while if i < num x < num && for(int i = 0; i < 15 && num; i++) (i < 15) && (num != 0) (i < 15) && true ... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485364",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20536518/"
] |
74,485,409 | <p>The code is running nicely but I dont't understand where am I get this error.</p>
<p>It says:</p>
<pre><code>VM428:7 Uncaught TypeError: Cannot read properties of null (reading 'CodeMirror')
at <anonymous>:7:17
</code></pre>
<p>Any sort of help with this will be appreciated.</p>
<p>Thanks in advance.</p>
| [
{
"answer_id": 74485605,
"author": "Sachila Ranawaka",
"author_id": 6428638,
"author_profile": "https://Stackoverflow.com/users/6428638",
"pm_score": 4,
"selected": false,
"text": "blackbox react development tool"
},
{
"answer_id": 74669602,
"author": "thatthing",
"author... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14710594/"
] |
74,485,410 | <p>I have a div inside reactstrap Modal, I want to call my function which grab's this div's attribute (after it has been rendered). I have tried <code>useEffect</code> on <code>modalShow</code>, I have tried useRef on that div, I have tried calling the function inside the div.</p>
<pre><code><div
custom-attribute=... | [
{
"answer_id": 74485605,
"author": "Sachila Ranawaka",
"author_id": 6428638,
"author_profile": "https://Stackoverflow.com/users/6428638",
"pm_score": 4,
"selected": false,
"text": "blackbox react development tool"
},
{
"answer_id": 74669602,
"author": "thatthing",
"author... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485410",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7377486/"
] |
74,485,427 | <pre><code>[servername]# su postgres -c 'cd ~; psql -c "SELECT * FROM pg_catalog.pg_user WHERE usename LIKE name;"'
ERROR: column "name" does not exist
LINE 1: SELECT * FROM pg_catalog.pg_user WHERE usename LIKE name;
^
</code></pre>
<p>Tr... | [
{
"answer_id": 74485605,
"author": "Sachila Ranawaka",
"author_id": 6428638,
"author_profile": "https://Stackoverflow.com/users/6428638",
"pm_score": 4,
"selected": false,
"text": "blackbox react development tool"
},
{
"answer_id": 74669602,
"author": "thatthing",
"author... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485427",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16933813/"
] |
74,485,459 | <p>I have two vectors, each containing names of columns in my data.frame, <code>data</code>, that is in wide form, e.g.</p>
<pre><code>NSW_cols <- c("NSW_1", "NSW_2") # Columns for two variables from New South Wales
AUS_cols <- c("AUS_1", "AUS_2") # Columns for two vari... | [
{
"answer_id": 74485754,
"author": "Rui Barradas",
"author_id": 8245406,
"author_profile": "https://Stackoverflow.com/users/8245406",
"pm_score": 2,
"selected": true,
"text": "lapply library(data.table)\nsetDT(data)\n\ni <- sub(\".*(\\\\d+$)\", \"\\\\1\", NSW_cols)\nshares <- paste(\"sha... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485459",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10366237/"
] |
74,485,465 | <p>Why when I switch page using Get(()=> Page2 of getX package, the app go back to default theme colors?
I have a custom theme with yellow color, but then it goes back to the flutter blue default color.
Am I missing something?</p>
<p><strong>my code</strong></p>
<pre><code>appBar: AppBar(
title: Text('Profile')... | [
{
"answer_id": 74486000,
"author": "powerman23rus",
"author_id": 6163011,
"author_profile": "https://Stackoverflow.com/users/6163011",
"pm_score": 2,
"selected": true,
"text": "main GetMaterialApp runApp(const MyApp(),);\n MaterialApp GetMaterialApp @override\nWidget build(BuildContext c... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485465",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11069440/"
] |
74,485,538 | <p>I got 3 external images and a div, I need that when I place the mouse over any of the 3 images that image gets to be the backgroundImage of the div and when I mouse out of the div I need the div to get it's original background.</p>
<p>My CodePen</p>
<p><a href="https://i.stack.imgur.com/WUx1F.png" rel="nofollow nore... | [
{
"answer_id": 74485576,
"author": "Adan Ali",
"author_id": 10810733,
"author_profile": "https://Stackoverflow.com/users/10810733",
"pm_score": -1,
"selected": false,
"text": ".div1:hover{\n background-image : 'url/path'\n}\n\n.div2:hover{\n background-image : 'url/path'\n}\n\n.div... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485538",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20536596/"
] |
74,485,583 | <p>I am trying to put a series of multiplications inside a list, I am using the code below:</p>
<pre><code>listx = []
for i in range (2):
list = [(3*i)]
listx.append(list)
</code></pre>
<p>The problem is that this will put the two results inside two separate lists inside a lists, I just wants the floats to be i... | [
{
"answer_id": 74485576,
"author": "Adan Ali",
"author_id": 10810733,
"author_profile": "https://Stackoverflow.com/users/10810733",
"pm_score": -1,
"selected": false,
"text": ".div1:hover{\n background-image : 'url/path'\n}\n\n.div2:hover{\n background-image : 'url/path'\n}\n\n.div... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485583",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20050294/"
] |
74,485,597 | <p>So I recently started coding and just learned about 'try' and 'except' for 'ValueError'. I made this calculator but it restarts if you don't input an int on the 'second' input. How do I make it ask for pnly the 'second' variable instead of asking for the first one again?</p>
<pre><code>while True:
try:
f... | [
{
"answer_id": 74485630,
"author": "thedemons",
"author_id": 13253010,
"author_profile": "https://Stackoverflow.com/users/13253010",
"pm_score": 1,
"selected": false,
"text": "def GetNumberInput(text: str) -> int:\n while True:\n try:\n return int(input(text))\n ... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485597",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20513809/"
] |
74,485,608 | <p>I am creating an application where I need to have 3 heirarchy for email folders and notes like this: <a href="https://i.stack.imgur.com/vNFNE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vNFNE.png" alt="Diagram" /></a>
Now I'm not able to get the list of documents under the <strong>folder</stro... | [
{
"answer_id": 74485630,
"author": "thedemons",
"author_id": 13253010,
"author_profile": "https://Stackoverflow.com/users/13253010",
"pm_score": 1,
"selected": false,
"text": "def GetNumberInput(text: str) -> int:\n while True:\n try:\n return int(input(text))\n ... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485608",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16973338/"
] |
74,485,619 | <p>I have a dataframe of 1000 rows. Of which I have removed 20 rows.
Now I want to reindex the df to (0-979) rows.</p>
<p>in_val = list(range(30,50)) # no of rows dropped
df.drop(in_val, inplace=True)</p>
<p>The the df is with 980 rows, but the index is not 0-979.
How can I do it?</p>
| [
{
"answer_id": 74485657,
"author": "Panda Kim",
"author_id": 20430449,
"author_profile": "https://Stackoverflow.com/users/20430449",
"pm_score": 1,
"selected": false,
"text": "df.drop(in_val).reset_index(drop=True)\n"
},
{
"answer_id": 74485688,
"author": "Python29",
"aut... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485619",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15347574/"
] |
74,485,654 | <p>I am kinda new to Rest assured testing, I have been dealing with diff. json and Api's.
I know how to pass a json object as body for POST request but my code gives error when I try to pass a JSON Array as body for POST request can someone suggest me how to do it.</p>
<p>The code I have been using for json object is</... | [
{
"answer_id": 74485965,
"author": "Hiran Chaudhuri",
"author_id": 4222206,
"author_profile": "https://Stackoverflow.com/users/4222206",
"pm_score": 1,
"selected": false,
"text": "obj = parser.parse(new FileReader(\"path of json\"));\nif (obj instanceof JSONObject) {\n jsonObject = (J... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485654",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19630533/"
] |
74,485,687 | <p>After joined 2 tables and the results as following. I would like to remove some extra rows.
<a href="https://i.stack.imgur.com/LmPHR.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>For example: Id a13b has status2 = Error and Success, I need to remove the row where ID = a13b and status2 = Suc... | [
{
"answer_id": 74485852,
"author": "Motif",
"author_id": 19424533,
"author_profile": "https://Stackoverflow.com/users/19424533",
"pm_score": 1,
"selected": false,
"text": "SELECT ... FROM \n....\nWHERE (ID NOT IN ('a13b', 'a15b', 'a16c') AND (status2 LIKE 'Success'))\nAND (ID NOT IN 'a13... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485687",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20532168/"
] |
74,485,692 | <p>I need to simplify two lists using LINQ keeping their index and removing pairs that might have a null/empty partner. Or if I could combine them into a dictionary of key-value pairs (int and decimal) that will also be great.</p>
<pre><code>list1=["1","2","4","5","6"]
... | [
{
"answer_id": 74485810,
"author": "Kiran Joshi",
"author_id": 9760311,
"author_profile": "https://Stackoverflow.com/users/9760311",
"pm_score": 2,
"selected": false,
"text": " var data = new Dictionary<int, decimal>()\n if(lis1.Count==list2.Count)\n {\n for (var i = 0; i ... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485692",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1066567/"
] |
74,485,726 | <p>I have created a API in WSO2 studio integrator like below:</p>
<p>curl --location --request POST 'http://localhost:8290/internal/send-messages' <br />
--header 'accept: text/plain' <br />
--header 'Content-Type: application/json' <br />
--data-raw '{
"bankName": "heere",
"uniqueIdentifier&qu... | [
{
"answer_id": 74486012,
"author": "usuario",
"author_id": 7502800,
"author_profile": "https://Stackoverflow.com/users/7502800",
"pm_score": 0,
"selected": false,
"text": "<header name=\"miCustomHeader\" value=\"ThisIsTheWay\" scope=\"transport\"/>\n\n<send>\n <endpoint>\n <add... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485726",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20135571/"
] |
74,485,735 | <p>I have a set of files with similar naming pattern. I am trying to get the total row count of all the files combined sans the header in a go. But I am having trouble with the commands.</p>
<p>I have tried:</p>
<p><code>sed '1d' IN-Pass-30* | wc -l</code></p>
<p>and</p>
<p><code>awk 'END {print NR-1}' IN-Pass-30*</cod... | [
{
"answer_id": 74486405,
"author": "Dominique",
"author_id": 4279155,
"author_profile": "https://Stackoverflow.com/users/4279155",
"pm_score": 1,
"selected": false,
"text": "Prompt> find ./ -maxdepth 1 -name \"IN-Pass-30*\" | wc -l\n53\nPrompt> cat IN-Pass-30* | wc -l\n1418549\nPrompt> e... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485735",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15260613/"
] |
74,485,774 | <p>I am creating a customer model for my API and I've set my 'Name' and 'Email' fields as required. But when we leave those fields empty while creating a new customer, we got a built-in error from EF core , instead I want to show my own error message...how can I do that.</p>
<p>I've tried to add validations by code in ... | [
{
"answer_id": 74485925,
"author": "MD Zand",
"author_id": 5118861,
"author_profile": "https://Stackoverflow.com/users/5118861",
"pm_score": 0,
"selected": false,
"text": " public class Movie\n{\n public int ID { get; set; }\n\n [Required(ErrorMessage = \"Name is required\")]\n ... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485774",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20536829/"
] |
74,485,777 | <p>I am looking to avoid multiple <code>if-else</code> conditions. Is there a more concise way of writing the below code?</p>
<pre><code>private Set<String> getValues(Optional<String> one, Optional<String> two) {
if (one.isPresent() && two.isPresent()) {
return ImmutableSet.of(one.... | [
{
"answer_id": 74485888,
"author": "Beri",
"author_id": 4086177,
"author_profile": "https://Stackoverflow.com/users/4086177",
"pm_score": 4,
"selected": true,
"text": " private Set<String> getValuesJdk9(Optional<String> one, Optional<String> two) {\n return Stream.concat(one.stre... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485777",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1042646/"
] |
74,485,779 | <p>I'm trying to create a button like this:<br />
<a href="https://i.stack.imgur.com/2CsYM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2CsYM.png" alt="enter image description here" /></a><br />
This needs to be done in pure css.</p>
<p>I tried to do, nothing happened, it does not work correctly:<... | [
{
"answer_id": 74485825,
"author": "S M Samnoon Abrar",
"author_id": 8188682,
"author_profile": "https://Stackoverflow.com/users/8188682",
"pm_score": 2,
"selected": false,
"text": "text-decoration: none; .pure_css_button {\n display: inline-block;\n width: 165px;\n text-align: center... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485779",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20025013/"
] |
74,485,791 | <p><a href="https://i.stack.imgur.com/pLi7T.png" rel="nofollow noreferrer">Problem Statement</a></p>
<p>Edit: I have transcribed the image as suggested although I think some terms are better shown in the picture if anything is unclear here;</p>
<p>This function takes in a positive integer n and returns the sum of the f... | [
{
"answer_id": 74485825,
"author": "S M Samnoon Abrar",
"author_id": 8188682,
"author_profile": "https://Stackoverflow.com/users/8188682",
"pm_score": 2,
"selected": false,
"text": "text-decoration: none; .pure_css_button {\n display: inline-block;\n width: 165px;\n text-align: center... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485791",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20530453/"
] |
74,485,803 | <p>I need to detect if the axios request (with async/await) is in loading phase. Because, I need to disable a button if the request is loading.</p>
<p>So, this is the line of code:</p>
<pre><code>const response = await API.get("/url", options);
</code></pre>
<p>Now, I need to disable a certain button if this ... | [
{
"answer_id": 74485822,
"author": "Mohammed Shahed",
"author_id": 19067773,
"author_profile": "https://Stackoverflow.com/users/19067773",
"pm_score": 3,
"selected": true,
"text": "setState(true) //to initiate loading\nconst response = await API.get(\"/url\", options);\nsetState(false) /... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485803",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19987252/"
] |
74,485,856 | <p>So far the in my html file I have a canvas and a div tag. The div tag contains four paragraph tags which I'm trying to set at the top of the screen, in the middle, and inline. The problem arises when I set them inline and try to add some padding to it. The the third paragraph suddenly just drops to under the first p... | [
{
"answer_id": 74485913,
"author": "MAYUR SANCHETI",
"author_id": 12238257,
"author_profile": "https://Stackoverflow.com/users/12238257",
"pm_score": 0,
"selected": false,
"text": "body {\nwidth: 100%;\nheight: 100%;\nborder: 1px solid azure;\n}\n\ncanvas {\ndisplay: block;\nposition: ab... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485856",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20536941/"
] |
74,485,862 | <p>** I AM NEW TO PYTHON **</p>
<p>I would like to know how to write a function that returns True if the first string, regardless of position, can be found within the second string by using two strings taken from user input. Also by writing the code, it should not be case sensitive; by using islower() or isupper().</p>... | [
{
"answer_id": 74485981,
"author": "Nineteendo",
"author_id": 13454049,
"author_profile": "https://Stackoverflow.com/users/13454049",
"pm_score": 2,
"selected": true,
"text": "string_1 = input(\"first string: \")\nstring_2 = input(\"second string: \")\n\nif string_1.lower() in string_2.l... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485862",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20066675/"
] |
74,485,866 | <p>Recently, I try to migrate to Jetpack compose.</p>
<p>So, I want to show 'card' where has 'indicator' while loading
but I can't change 'indicator' size in 'SubcomposeAsyncImage'</p>
<pre><code>@Composable
private fun SponsorDialogContent(
imgUrl: String,
) {
Card(
modifier = Modifier
.wid... | [
{
"answer_id": 74487846,
"author": "Jan Bína",
"author_id": 2801938,
"author_profile": "https://Stackoverflow.com/users/2801938",
"pm_score": 2,
"selected": false,
"text": "SubcomposeAsyncImage BoxWithConstraints(\n modifier = modifier, // this is the modifier you passed to Subcompose... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485866",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19082714/"
] |
74,485,875 | <p>instead of using <code>try and catch</code>, there is any other solution for these <strong>sytnx</strong></p>
<pre><code>const { person, children, total } = response.data // what i looking for
</code></pre>
<p>in case the person response is null , so i got an error <strong>cannot read properties null</strong>.
in o... | [
{
"answer_id": 74485976,
"author": "Pompedup",
"author_id": 12239272,
"author_profile": "https://Stackoverflow.com/users/12239272",
"pm_score": 0,
"selected": false,
"text": "const response = {}\n\nconst { person, children, total } = response.data || {}\n\nconsole.log(person, children, t... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485875",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8122500/"
] |
74,485,910 | <p><strong>My creation view redirect to blog main page well after creation but</strong></p>
<p><strong>i can't find any post's been created in the posts or admin page posts, can anyone help please</strong></p>
<p><strong>here is my view</strong></p>
<pre><code>@login_required
def add_post(request):
if request.metho... | [
{
"answer_id": 74485976,
"author": "Pompedup",
"author_id": 12239272,
"author_profile": "https://Stackoverflow.com/users/12239272",
"pm_score": 0,
"selected": false,
"text": "const response = {}\n\nconst { person, children, total } = response.data || {}\n\nconsole.log(person, children, t... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485910",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11448846/"
] |
74,485,928 | <p>I would like to understand how to extract all links (starting with <code>www</code> and ending with <code>.com</code>) from a text body such as below. Multiple occurrences may or may not occur per line.</p>
<pre><code>cat body.txt
text more-text url="http://www.link1.com">textblabla textbla=textblabla u... | [
{
"answer_id": 74486482,
"author": "Lasha Dolenjashvili",
"author_id": 13385741,
"author_profile": "https://Stackoverflow.com/users/13385741",
"pm_score": 2,
"selected": false,
"text": "myStr='text more-text url=\"http://www.link1.com\">textblabla textbla=textblabla url=\"http://www.link... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485928",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8910187/"
] |
74,485,929 | <p>I don't think my question is a duplicate because I am not asking how to convert Lists in to CSVs. But: <br/>
I am trying to convert a list into a comma-delimited csv file.<br/>
However, some fields contain commas and semicolons.<br/>
A column will be split into at least two columns when there is a comma.<br/>
<br/>
... | [
{
"answer_id": 74486179,
"author": "Sasha Leonov",
"author_id": 14897052,
"author_profile": "https://Stackoverflow.com/users/14897052",
"pm_score": 3,
"selected": true,
"text": "void SaveToCsv<T>(List<T> listToBeConverted)\n{\n var lines = new List<string>();\n IEnumerable<Property... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485929",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14806791/"
] |
74,485,941 | <p>I want to change the background color of the td when I checked the checkbox. But I don't know how to make it done. Please help me.</p>
<p>Each tr will consist a row of data. And each data part will have a checkbox which allow user to check it to highlight those specific data only.</p>
<p><a href="https://i.stack.img... | [
{
"answer_id": 74486179,
"author": "Sasha Leonov",
"author_id": 14897052,
"author_profile": "https://Stackoverflow.com/users/14897052",
"pm_score": 3,
"selected": true,
"text": "void SaveToCsv<T>(List<T> listToBeConverted)\n{\n var lines = new List<string>();\n IEnumerable<Property... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485941",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14375246/"
] |
74,485,945 | <p>I have a Dictionary here:</p>
<pre><code>test_dict = {'gfg': ['One', 'six', 'three'],
'is': ['seven', 'eight', 'nine'],
'best': ['ten', 'six']}
</code></pre>
<p>I tried:</p>
<pre><code>for i in range(len(test_dict)):
values = list(test_dict.values())
keys =... | [
{
"answer_id": 74486179,
"author": "Sasha Leonov",
"author_id": 14897052,
"author_profile": "https://Stackoverflow.com/users/14897052",
"pm_score": 3,
"selected": true,
"text": "void SaveToCsv<T>(List<T> listToBeConverted)\n{\n var lines = new List<string>();\n IEnumerable<Property... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485945",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17248521/"
] |
74,485,957 | <p>I have a problem. How can I check which emoji the user reacted with? That did not work for me <a href="https://stackoverflow.com/questions/63171531/how-do-you-check-if-a-specific-user-reacts-to-a-specific-message-discord-py">How do you check if a specific user reacts to a specific message [discord.py]</a></p>
<p>I w... | [
{
"answer_id": 74488641,
"author": "stijndcl",
"author_id": 13568999,
"author_profile": "https://Stackoverflow.com/users/13568999",
"pm_score": 1,
"selected": false,
"text": "check self.<name> (..., check=self.check\n"
},
{
"answer_id": 74563706,
"author": "JesterIsHere",
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485957",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17136258/"
] |
74,485,961 | <pre><code>const human = {
name: "asdasd",
mouth: {
sayName(){
console.log(this.name)
}
}
}
human.mouth.sayName()
// undefined
</code></pre>
<p>HELLO!
I need the name field to be taken from the parent object
THANK YOU!</p>
| [
{
"answer_id": 74488641,
"author": "stijndcl",
"author_id": 13568999,
"author_profile": "https://Stackoverflow.com/users/13568999",
"pm_score": 1,
"selected": false,
"text": "check self.<name> (..., check=self.check\n"
},
{
"answer_id": 74563706,
"author": "JesterIsHere",
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485961",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12106806/"
] |
74,485,968 | <p>One <code>DropdownItem</code> contains a search <code>Input</code> so when the user clicks on it, I need the drop down menu to remain open so that he types what he needs to search:</p>
<pre><code>import React, { Component } from "react";
import { connect } from "react-redux";
import {
Dropdown,... | [
{
"answer_id": 74488140,
"author": "André",
"author_id": 13970434,
"author_profile": "https://Stackoverflow.com/users/13970434",
"pm_score": 1,
"selected": false,
"text": "autoClose={false}"
},
{
"answer_id": 74615429,
"author": "Zahnstochermann",
"author_id": 5794180,
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485968",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8965420/"
] |
74,485,982 | <p>I am trying to load favicon from assets in nuxt 3 but it does not work except if I hardcode _nuxt in front of it. My config looks like this and this works:</p>
<pre class="lang-js prettyprint-override"><code> export default defineNuxtConfig({
app: {
head: {
link: [{ rel: 'icon'... | [
{
"answer_id": 74486516,
"author": "BZC",
"author_id": 2144818,
"author_profile": "https://Stackoverflow.com/users/2144818",
"pm_score": 0,
"selected": false,
"text": "export default {\n static: {\n prefix: false\n }\n}\n export default {\n build: {\n publicPath: 'https://cdn.nu... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74485982",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/505748/"
] |
74,486,033 | <p>I am trying to update an object inside of an array in mongoDB. But what happens is -- it returns the correct updated result, BUT it does not update the actual document in DB.</p>
<p>It is weird, I am using this query from past so many months and it is behaving weirdly of sudden.</p>
<p><strong>Schema:</strong></p>
<... | [
{
"answer_id": 74486516,
"author": "BZC",
"author_id": 2144818,
"author_profile": "https://Stackoverflow.com/users/2144818",
"pm_score": 0,
"selected": false,
"text": "export default {\n static: {\n prefix: false\n }\n}\n export default {\n build: {\n publicPath: 'https://cdn.nu... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486033",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14780215/"
] |
74,486,054 | <p>I'm trying to create a program where a user copy pastes a list of names seperated by spaces & python saves it as a list.</p>
<p>However, while using list.extend it splits every name into alphabets. How can I fix it so it saves each name as a string.</p>
<p>How can I solve it.</p>
| [
{
"answer_id": 74486176,
"author": "cheesy_serj",
"author_id": 20537253,
"author_profile": "https://Stackoverflow.com/users/20537253",
"pm_score": 1,
"selected": false,
"text": "import re\ninput = \"program where a user copy pastes a list of names seperated\"\noutput = re.split(\" \", in... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486054",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20537157/"
] |
74,486,070 | <p>I want to make script run only from a specific usb drive. I want to make variable $drive which has output of get-disk command, and the, if $drive contains my usb serial - make some function.</p>
<p>$drive=get-disk -SerialNumber "980D06056030" | ft SerialNumber</p>
<p>if ( "980D06056030" -eq $driv... | [
{
"answer_id": 74486176,
"author": "cheesy_serj",
"author_id": 20537253,
"author_profile": "https://Stackoverflow.com/users/20537253",
"pm_score": 1,
"selected": false,
"text": "import re\ninput = \"program where a user copy pastes a list of names seperated\"\noutput = re.split(\" \", in... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486070",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20537104/"
] |
74,486,132 | <blockquote>
<p>how can i make like this?
<a href="https://i.stack.imgur.com/lbkIS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lbkIS.png" alt="enter image description here" /></a></p>
</blockquote>
<blockquote>
<p>I use Expansion Tiles
My Code :</p>
</blockquote>
<pre><code>Container(
child: St... | [
{
"answer_id": 74486350,
"author": "Jungwon",
"author_id": 15134376,
"author_profile": "https://Stackoverflow.com/users/15134376",
"pm_score": 3,
"selected": true,
"text": "Container Container Container(\n width: 200,\n height: 100,\n alignment: Al... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486132",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19646043/"
] |
74,486,185 | <p>im working on shopify project to develop the android app. Currently im facing issue when creating customer. im tried to solve it if someone know about this please help me out!</p>
<p><strong>Create customer mutation query</strong></p>
<pre><code>const query= `mutation customerCreate($input: CustomerCreateInput!) {
... | [
{
"answer_id": 74486280,
"author": "nchopra",
"author_id": 6314773,
"author_profile": "https://Stackoverflow.com/users/6314773",
"pm_score": 0,
"selected": false,
"text": ": variables"
},
{
"answer_id": 74489099,
"author": "ijaz bacha",
"author_id": 12519010,
"author_... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486185",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12519010/"
] |
74,486,253 | <p>In my code every time a page loads, it grabs the departments that page is related to from the WordPress taxonomy and builds an array that is sent to a datalayer variable in tag manager. for example:</p>
<p>in PHP</p>
<pre class="lang-php prettyprint-override"><code>$department = ["accounting", "sales&... | [
{
"answer_id": 74486280,
"author": "nchopra",
"author_id": 6314773,
"author_profile": "https://Stackoverflow.com/users/6314773",
"pm_score": 0,
"selected": false,
"text": ": variables"
},
{
"answer_id": 74489099,
"author": "ijaz bacha",
"author_id": 12519010,
"author_... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486253",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11372387/"
] |
74,486,262 | <p>I am using Ansible to create a distributed cluster, which requires multiple data disks and mount directories.</p>
<p>I am trying to complete requirement by defining the below variables, in my inventory:</p>
<pre class="lang-ini prettyprint-override"><code>[all:vars]
minio_plate = [ { "disk_dirve": ["... | [
{
"answer_id": 74486280,
"author": "nchopra",
"author_id": 6314773,
"author_profile": "https://Stackoverflow.com/users/6314773",
"pm_score": 0,
"selected": false,
"text": ": variables"
},
{
"answer_id": 74489099,
"author": "ijaz bacha",
"author_id": 12519010,
"author_... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486262",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14150358/"
] |
74,486,305 | <p>I am trying to use the combineLatest with reactive form's valueChanges method in NgOnInIt hook. My use case is below.</p>
<p>I want to show the name which received from Observable1$ in the form using patchValue() from Reactive forms. This name field is editable which means
when user wants to edit the name which is a... | [
{
"answer_id": 74488421,
"author": "Nico",
"author_id": 4183699,
"author_profile": "https://Stackoverflow.com/users/4183699",
"pm_score": 1,
"selected": false,
"text": "import { Component, OnInit } from '@angular/core';\nimport { AbstractControl, FormBuilder, FormGroup, ValidationErrors,... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486305",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9043093/"
] |
74,486,315 | <p>Say I have 2 list columns like below:</p>
<pre><code>group1 = [['John', 'Mark'], ['Ben', 'Johnny'], ['Sarah', 'Daniel']]
group2 = [['Aya', 'Boa'], ['Mab', 'Johnny'], ['Sarah', 'Peter']]
df = pd.DataFrame({'group1':group1, 'group2':group2})
</code></pre>
<p>I want to compare the two list columns and remove the list ... | [
{
"answer_id": 74486357,
"author": "mozway",
"author_id": 16343464,
"author_profile": "https://Stackoverflow.com/users/16343464",
"pm_score": 3,
"selected": true,
"text": "zip set df['group1'] = [[x for x in a if x not in S]\n for a, S in zip(df['group1'], df['group2'].app... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486315",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16799744/"
] |
74,486,364 | <pre><code>#include <iostream>
#include <string>
using namespace std;
int main()
{
string s;
s.reserve(5);
cout << s.capacity() << endl;
}
</code></pre>
<p>The reserve is a std::string's function that sets the capacity. The capacity function shows the space size of c_string in the ... | [
{
"answer_id": 74486454,
"author": "Adrian Shum",
"author_id": 395202,
"author_profile": "https://Stackoverflow.com/users/395202",
"pm_score": 3,
"selected": false,
"text": "reserve"
},
{
"answer_id": 74486622,
"author": "463035818_is_not_a_number",
"author_id": 4117728,
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486364",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20182123/"
] |
74,486,393 | <p>So in the if-statement, I want to print a message if the player doesn't input the correct things. The problem is that when I start up the code and type something random, it jumps to the first if where it checks yes and moves on. It even replied to the next function for me. Is there a way to fix this?</p>
<pre><code>... | [
{
"answer_id": 74486454,
"author": "Adrian Shum",
"author_id": 395202,
"author_profile": "https://Stackoverflow.com/users/395202",
"pm_score": 3,
"selected": false,
"text": "reserve"
},
{
"answer_id": 74486622,
"author": "463035818_is_not_a_number",
"author_id": 4117728,
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486393",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20537373/"
] |
74,486,450 | <p>on mysql I see this error but can fix it. Anyone can help please?</p>
<pre><code> select * from
(
(select a.* from sessions as a)
join
(
select b.customer_id, min(b.timestamp),
b.marketing_source as first_touch_source,
b.marketing_medium as first_touch_medium
from sessions a... | [
{
"answer_id": 74486454,
"author": "Adrian Shum",
"author_id": 395202,
"author_profile": "https://Stackoverflow.com/users/395202",
"pm_score": 3,
"selected": false,
"text": "reserve"
},
{
"answer_id": 74486622,
"author": "463035818_is_not_a_number",
"author_id": 4117728,
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486450",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1585629/"
] |
74,486,451 | <p>Protobuf definations are like that:</p>
<pre class="lang-protobuf prettyprint-override"><code>syntax = "proto3"
message HugeMessage {
// omitted
}
message Request {
string name = 1;
HugeMessage payload = 2;
}
</code></pre>
<p>In a situation I received a <code>HugeMessage</code> from somebody,... | [
{
"answer_id": 74522288,
"author": "nj_",
"author_id": 5993518,
"author_profile": "https://Stackoverflow.com/users/5993518",
"pm_score": 2,
"selected": true,
"text": "HugeMessage Request message Request {\n string name = 1;\n HugeMessage payload = 2;\n}\n message Request {\n str... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486451",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15243282/"
] |
74,486,457 | <p>I have a requirement in SQL Server to get the 2 dates inside the brackets</p>
<p>Example: Billing for(1 Aug 2020 - 30 Oct 2020)</p>
<p>Expected to have this in two columns:</p>
<pre><code>Fromdate Todate
01/08/2020 30/10/2020
</code></pre>
<p>Select substring to get the value but not sure how to do bot... | [
{
"answer_id": 74487054,
"author": "Gustav",
"author_id": 3527297,
"author_profile": "https://Stackoverflow.com/users/3527297",
"pm_score": 1,
"selected": false,
"text": "Convert Concat Select *, \nConcat(\n 'Billing for(', \n Convert(VarChar(50), Fromdate, 106), \n ' - ', \n ... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486457",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20537437/"
] |
74,486,470 | <p>I don't understand how can I autofill a formula that is on a cell to a new column added on the left.
Let's make an example:
<a href="https://i.stack.imgur.com/WcV5c.png" rel="nofollow noreferrer">[Example](https://i.stack.imgur.com/ufCvH.png)</a>
I have on cell "B2" a date that is "B1+180", when ... | [
{
"answer_id": 74487054,
"author": "Gustav",
"author_id": 3527297,
"author_profile": "https://Stackoverflow.com/users/3527297",
"pm_score": 1,
"selected": false,
"text": "Convert Concat Select *, \nConcat(\n 'Billing for(', \n Convert(VarChar(50), Fromdate, 106), \n ' - ', \n ... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486470",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20166362/"
] |
74,486,476 | <p>The code provides the data and the functions required for ggplot drawing, but the drawn bar chart y-axis is not equidistant, which makes me confused. Please scholars answer.</p>
<pre><code>col1 <- c('SO','MO','EO','YO','RO')
col2 <- c('J','J','J','J','J',
'F','F','F','F','F',
'M','M','M','M... | [
{
"answer_id": 74486685,
"author": "R18",
"author_id": 6930388,
"author_profile": "https://Stackoverflow.com/users/6930388",
"pm_score": 1,
"selected": false,
"text": "col3 data$col3 <- as.numeric(data$col3)\n scale_y_continuous(breaks = seq(0, 1, 0.1))\n"
},
{
"answer_id": 74486... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486476",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17418925/"
] |
74,486,499 | <pre><code>category_tag = soup.find_all('div' , {'class': '_p13n-zg-nav-tree-all_style_zg-browse-item__1rdKf _p13n-zg-nav-tree-all_style_zg-browse-height-large__1z5B8'})
</code></pre>
<p>Output of category_tag:</p>
<pre><code><div class="_p13n-zg-nav-tree-all_style_zg-browse-item__1rdKf _p13n-zg-nav-tree-all_st... | [
{
"answer_id": 74486926,
"author": "HedgeHog",
"author_id": 14460824,
"author_profile": "https://Stackoverflow.com/users/14460824",
"pm_score": 2,
"selected": true,
"text": "id tag soup.select('#zg-left-col a')\n soup.select('#zg-left-col a[href^=\"/gp/bestsellers/books\"]')\n list lis c... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486499",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20370549/"
] |
74,486,529 | <p>I used Eloquent query to extract the below table</p>
<pre><code>**$ user = User::all()
**
id q1 q2 q3 q4 q5 q6 q7
0 0.01 0.8 null 0.9 null 0.9 0.1
1 0.8 null null 1 null 1 null
2 null null null 0.03 null 0.03 null
3 0.04 0.4 null 0.9 null 0.5 null
4 null 0.6... | [
{
"answer_id": 74486926,
"author": "HedgeHog",
"author_id": 14460824,
"author_profile": "https://Stackoverflow.com/users/14460824",
"pm_score": 2,
"selected": true,
"text": "id tag soup.select('#zg-left-col a')\n soup.select('#zg-left-col a[href^=\"/gp/bestsellers/books\"]')\n list lis c... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486529",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20478590/"
] |
74,486,545 | <p>I have learned that what is the Equatable and how can I use it. But I just wonder that why should I use it?</p>
<p>I have found some reasons. One of them, when we wants to compare 2 or more same object from any class, it will use. they aren't same even if they properties same because of hash code. But equatable comp... | [
{
"answer_id": 74486620,
"author": "eamirho3ein",
"author_id": 10306997,
"author_profile": "https://Stackoverflow.com/users/10306997",
"pm_score": 1,
"selected": false,
"text": "user class User extends Equatable {\n final String fullName;\n final int phone;\n const User({\n require... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486545",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18849295/"
] |
74,486,617 | <p>I have this injection VB script that I use for altering C# source code.
This is my current regex match rule I use currently to find code rows with classes in the files:</p>
<pre><code>(public|protected|internal|private|static|abstract)\b\W+(class)\b
</code></pre>
<p>It works and detects class rows, but the problem i... | [
{
"answer_id": 74486876,
"author": "VvdL",
"author_id": 15589010,
"author_profile": "https://Stackoverflow.com/users/15589010",
"pm_score": 3,
"selected": true,
"text": "^\\s* ^\\s*(public|protected|internal|private|static|abstract)\\b\\W+(class)\\b"
},
{
"answer_id": 74486922,
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486617",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/955379/"
] |
74,486,686 | <p>We have a develop to make some things with bank cards.
One og them is validate the PIN (we have PAN, PIN, Pinlenght and PINBLOCK); and we have a HSM THALES to validate the PIN.</p>
<p>But, how do we connect whith THLALES appliance? I thought that using a library, nugget o similar, but there are no many documentatio... | [
{
"answer_id": 74486876,
"author": "VvdL",
"author_id": 15589010,
"author_profile": "https://Stackoverflow.com/users/15589010",
"pm_score": 3,
"selected": true,
"text": "^\\s* ^\\s*(public|protected|internal|private|static|abstract)\\b\\W+(class)\\b"
},
{
"answer_id": 74486922,
... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486686",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20537566/"
] |
74,486,720 | <p>In short, the statement <code>GRANT SELECt ON KEYSPACE AAA TO user;</code> not take effect when executing <code>LIST ALL PERMISSIONS OF user;</code>.</p>
<p>I find nothing when I google this.</p>
| [
{
"answer_id": 74489983,
"author": "Madhavan",
"author_id": 10410162,
"author_profile": "https://Stackoverflow.com/users/10410162",
"pm_score": 2,
"selected": false,
"text": "AAA SELECT user cqlsh> GRANT SELECT ON \"AAA\" TO user;\n user data_reader SELECT AAA user cqlsh> LIST ALL PERMIS... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486720",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13328556/"
] |
74,486,785 | <p>(NOW SOLVED by changing to VS Code instead, works like a charm. :) )</p>
<p>I am quite a beginner in coding, trying to complete a programming assignment focused on Python. I followed along with Tech with Tim's YouTube video about "Python Website Full Tutorial - Flask, Authentication, Databases & More".... | [
{
"answer_id": 74489983,
"author": "Madhavan",
"author_id": 10410162,
"author_profile": "https://Stackoverflow.com/users/10410162",
"pm_score": 2,
"selected": false,
"text": "AAA SELECT user cqlsh> GRANT SELECT ON \"AAA\" TO user;\n user data_reader SELECT AAA user cqlsh> LIST ALL PERMIS... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486785",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20530863/"
] |
74,486,800 | <p>I want to check if an id already exists or not in local-storage, because I want to display specific button if it does. How can I achieve that?</p>
<p><a href="https://i.stack.imgur.com/ecnHb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ecnHb.png" alt="enter image description here" /></a></p>
<p... | [
{
"answer_id": 74486853,
"author": "no_modules",
"author_id": 19835828,
"author_profile": "https://Stackoverflow.com/users/19835828",
"pm_score": 1,
"selected": false,
"text": "const id = 5 id === 5 const items = JSON.parse(localStorage.getItem(\"item\"))\nlet exists = false\n\nfor (cons... | 2022/11/18 | [
"https://Stackoverflow.com/questions/74486800",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18746578/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.