qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
74,558,031
<pre><code>import re phonenumregex=re.compile(r'ddd-ddd-dddd') mo=phonenumregex.search(&quot;My number is 415-555-4242&quot;) print(&quot;Phone Number found: &quot; + mo.group()) #it gives me this error. AttributeError: 'NoneType' object has no attribute 'group' </code></pre> <p>I gave the format as ddd-ddd-dddd in...
[ { "answer_id": 74558465, "author": "MT0", "author_id": 1509264, "author_profile": "https://Stackoverflow.com/users/1509264", "pm_score": 1, "selected": false, "text": "ROWID ROW_NUMBER DELETE FROM table_name\nWHERE ROWID IN (\n SELECT ROWID\n FROM (\n SELECT ROW_NUMBER() OVER (\n ...
2022/11/24
[ "https://Stackoverflow.com/questions/74558031", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20589075/" ]
74,558,042
<p>I'm trying to automate some tedious code-writing. I have something like the following:</p> <pre><code>Codes&lt;-c(&quot;code1&quot;,&quot;code2&quot;,&quot;code3&quot;,&quot;code4&quot;) other_Codes&lt;-c(&quot;code5&quot;,&quot;code6&quot;,&quot;code7&quot;,&quot;code8&quot;) </code></pre> <p>What I want to create ...
[ { "answer_id": 74558335, "author": "islem", "author_id": 11952767, "author_profile": "https://Stackoverflow.com/users/11952767", "pm_score": 1, "selected": false, "text": "Codes <- c(\"code1\", \"code2\", \"code3\", \"code4\")\nother_Codes <- c(\"code5\", \"code6\", \"code7\", \"code8\")...
2022/11/24
[ "https://Stackoverflow.com/questions/74558042", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5428469/" ]
74,558,052
<p>Assume I have a JSON-file that looks like this one:</p> <pre><code>{ &quot;data&quot;: [ { &quot;question&quot;: &quot;What's 1+1&quot;, &quot;answers&quot;: [ { &quot;text&quot;: &quot;3&quot;, &quot;correct&quot;: false }, { &quot;text&quot;: ...
[ { "answer_id": 74558114, "author": "Priyen Mehta", "author_id": 19431815, "author_profile": "https://Stackoverflow.com/users/19431815", "pm_score": 1, "selected": false, "text": "const App = ({ data }) => {\n\nreturn (\n <div>\n {data.answers.map(answer => (\n <button classname={answe...
2022/11/24
[ "https://Stackoverflow.com/questions/74558052", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20131031/" ]
74,558,064
<p>I'm trying to implement a PckPlace ros service, but I get the this error:</p> <pre><code>/opt/ros/noetic/share/genmsg/cmake/pkg-genmsg.cmake.em:56: error: &lt;class 'genmsg.base.InvalidMsgSpec'&gt;: std_msgs/UInt16.msg is not a legal message field type </code></pre> <h3>PickPlace.srv</h3> <pre><code>std_msgs/UInt1...
[ { "answer_id": 74558273, "author": "Bilal", "author_id": 8618242, "author_profile": "https://Stackoverflow.com/users/8618242", "pm_score": 0, "selected": false, "text": ".msg" }, { "answer_id": 74566458, "author": "Fruchtzwerg", "author_id": 5235574, "author_profile":...
2022/11/24
[ "https://Stackoverflow.com/questions/74558064", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8618242/" ]
74,558,068
<p>I would like to change import from <code>../../../db/index.js</code> to <code>db/index.js</code></p> <p><a href="https://i.stack.imgur.com/NBGaO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NBGaO.png" alt="enter image description here" /></a></p> <p>I have already added this setting in my jscon...
[ { "answer_id": 74558371, "author": "AbsoluteZero", "author_id": 20539156, "author_profile": "https://Stackoverflow.com/users/20539156", "pm_score": 0, "selected": false, "text": "import { something } from '../../something' import { something } from 'something' yarn add something import {...
2022/11/24
[ "https://Stackoverflow.com/questions/74558068", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11194137/" ]
74,558,078
<p>I have this function</p> <pre><code>export const handleSortableColumns = (headerKeys: string[], sortKeys: object): string[] =&gt; { if (!headerKeys) return []; return headerKeys.map((key: string): any =&gt; sortKeys[key] || null); }; </code></pre> <p>so <strong>headerKeys</strong> parameter takes <code>list of ...
[ { "answer_id": 74558277, "author": "RubenSmn", "author_id": 20088324, "author_profile": "https://Stackoverflow.com/users/20088324", "pm_score": 1, "selected": false, "text": "sortKeys interface ISortKeys {\n [key: string]: string\n}\n (string|null)[]\n" }, { "answer_id": 7455894...
2022/11/24
[ "https://Stackoverflow.com/questions/74558078", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10692884/" ]
74,558,080
<p>This is a true story of evolving code. We began with many classes based on this structure:</p> <pre><code>class Base { public: virtual void doSomething() {} }; class Derived : public Base { public: void doSomething() override { Base::doSomething(); // Do the basics // Do other derived ...
[ { "answer_id": 74558156, "author": "Tomek", "author_id": 25406, "author_profile": "https://Stackoverflow.com/users/25406", "pm_score": 4, "selected": true, "text": "parent Derived class Base\n{\npublic:\n virtual void doSomething() {}\n};\n\nclass Derived : public Base\n{\nprivate:\n ...
2022/11/24
[ "https://Stackoverflow.com/questions/74558080", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2181250/" ]
74,558,102
<p>How do I split the zipcode and state in this table? I had no trouble separating the street and city, but I struggled with the ZIP code and State part</p> <p>944 Walnut Street, Boston, MA 02215 This should be the output:</p> <pre><code>| Street | City | State | ZipCode :------------------:------:-------:---...
[ { "answer_id": 74558201, "author": "DEEPAK TOMAR", "author_id": 9974900, "author_profile": "https://Stackoverflow.com/users/9974900", "pm_score": 1, "selected": true, "text": "SELECT\ntrim(split_part(purchaseaddress::TEXT, ',', 1)) Street,\ntrim(split_part(purchaseaddress::TEXT, ',', 2))...
2022/11/24
[ "https://Stackoverflow.com/questions/74558102", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14610361/" ]
74,558,107
<p>Is it possible to calculate an expression using python but without entering python shell? What I want to achieve is to use python in a following manner:</p> <pre><code>tail file.txt -n `python 123*456` </code></pre> <p>instead of having to calculate 123*456 in a separate step.</p>
[ { "answer_id": 74558479, "author": "beat_it_987", "author_id": 6800343, "author_profile": "https://Stackoverflow.com/users/6800343", "pm_score": 1, "selected": false, "text": "-c tail test_log.txt -n `python -c \"print(1 + 2)\"` " }, { "answer_id": 74558697, "author": "Domini...
2022/11/24
[ "https://Stackoverflow.com/questions/74558107", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4746861/" ]
74,558,117
<p><strong>Background:</strong></p> <p>I have several ASP.NET projects under one solution file. I have a build pipeline for ASP.NET projects and building it with .sln. Now, we have added a new project to the same .sln which is in .NET CORE.</p> <p><strong>Problem statement:</strong></p> <p>In my build pipeline, when I ...
[ { "answer_id": 74558479, "author": "beat_it_987", "author_id": 6800343, "author_profile": "https://Stackoverflow.com/users/6800343", "pm_score": 1, "selected": false, "text": "-c tail test_log.txt -n `python -c \"print(1 + 2)\"` " }, { "answer_id": 74558697, "author": "Domini...
2022/11/24
[ "https://Stackoverflow.com/questions/74558117", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10950108/" ]
74,558,151
<p>how to convert <code>{ startItem: 2 }</code> string to an object <code>{ &quot;startItem&quot;: 2 }</code> without using eval() function ?</p>
[ { "answer_id": 74559119, "author": "Ji aSH", "author_id": 6108947, "author_profile": "https://Stackoverflow.com/users/6108947", "pm_score": -1, "selected": false, "text": "> JSON.stringify({ startItem: 2 })\n '{\"startItem\":2}'\n > JSON.parse('{\"startItem\":2}')\n {startItem: 2}\n > ...
2022/11/24
[ "https://Stackoverflow.com/questions/74558151", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6146508/" ]
74,558,153
<p>Here is the type of the variable</p> <pre><code>type imageTags: string | number | { tag_type: string; tag_name: string; tag_id: number; photo_id: number; confidence: number; }[] </code></pre> <p>This is how i try to access its properties.</p> <pre><code> if (imageTags.length &gt; 0) { re...
[ { "answer_id": 74559119, "author": "Ji aSH", "author_id": 6108947, "author_profile": "https://Stackoverflow.com/users/6108947", "pm_score": -1, "selected": false, "text": "> JSON.stringify({ startItem: 2 })\n '{\"startItem\":2}'\n > JSON.parse('{\"startItem\":2}')\n {startItem: 2}\n > ...
2022/11/24
[ "https://Stackoverflow.com/questions/74558153", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16018684/" ]
74,558,182
<p>Similar to an Angular 14 generated project I want to have separate development and production environments but when creating a project using <code>ng new</code>:</p> <pre><code>ng new my-app </code></pre> <p>this does not create the environments folder or set this up.</p> <p><a href="https://i.stack.imgur.com/Nol70....
[ { "answer_id": 74558330, "author": "Daniel T", "author_id": 10477326, "author_profile": "https://Stackoverflow.com/users/10477326", "pm_score": 2, "selected": false, "text": "environments npm install -g @angular/cli@14.2.10 ng new" }, { "answer_id": 74558518, "author": "Andre...
2022/11/24
[ "https://Stackoverflow.com/questions/74558182", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19270476/" ]
74,558,185
<p>In my Vue application I have a list of objects looking like this:</p> <pre class="lang-js prettyprint-override"><code>const arr = [ { id: 1, name: 'Max', grade: 3 }, { id: 2, name: 'Lisa', grade: 2 } ]; </code></pre> <p>Now I want every object in this array to be a single st...
[ { "answer_id": 74558229, "author": "spender", "author_id": 14357, "author_profile": "https://Stackoverflow.com/users/14357", "pm_score": 3, "selected": true, "text": "const myJsonArr = arr.map((v) => JSON.stringify(v))\n" }, { "answer_id": 74558281, "author": "NAZIR HUSSAIN",...
2022/11/24
[ "https://Stackoverflow.com/questions/74558185", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19432419/" ]
74,558,190
<p>I can't fetch the next address</p> <p>but I can fetch sequence shipto 0</p> <p>RangeError (index): Invalid value: Only valid value is 0: 1</p> <p>after some fixes type 'sting' is not a subtype of type 'int' of 'index'</p> <p>The data in the address will be included in the same set of items.</p> <p>Please help me I ...
[ { "answer_id": 74558229, "author": "spender", "author_id": 14357, "author_profile": "https://Stackoverflow.com/users/14357", "pm_score": 3, "selected": true, "text": "const myJsonArr = arr.map((v) => JSON.stringify(v))\n" }, { "answer_id": 74558281, "author": "NAZIR HUSSAIN",...
2022/11/24
[ "https://Stackoverflow.com/questions/74558190", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19085153/" ]
74,558,252
<p>I have a project management app where the details of the project are displayed after pressing the 'more' icon button on a card. The details to be displayed include the project name and due date that are fetched from the database and then stored locally using shared preferences. Both the 'setString' and 'getString ar...
[ { "answer_id": 74558229, "author": "spender", "author_id": 14357, "author_profile": "https://Stackoverflow.com/users/14357", "pm_score": 3, "selected": true, "text": "const myJsonArr = arr.map((v) => JSON.stringify(v))\n" }, { "answer_id": 74558281, "author": "NAZIR HUSSAIN",...
2022/11/24
[ "https://Stackoverflow.com/questions/74558252", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16712104/" ]
74,558,256
<p>I have a table which is updated at irregular intervals; I need to always retrieve the newest data set from the table.</p> <p>I will know the data is the newest if the column PERIODAG_D (timestamp vraiable) is close to the current date.</p> <p>My current solution is to set <code>outobs=1</code> to only get one observ...
[ { "answer_id": 74558229, "author": "spender", "author_id": 14357, "author_profile": "https://Stackoverflow.com/users/14357", "pm_score": 3, "selected": true, "text": "const myJsonArr = arr.map((v) => JSON.stringify(v))\n" }, { "answer_id": 74558281, "author": "NAZIR HUSSAIN",...
2022/11/24
[ "https://Stackoverflow.com/questions/74558256", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13340047/" ]
74,558,345
<p>I wrote a function which allows me to draw circles on a canvas. Everything works fine, but the start position of my canvas is not the same position as my mouse position.</p> <pre class="lang-js prettyprint-override"><code>const stopDrawingCircle = () =&gt; { setIsDrawing(false); console.log(currentImage); }...
[ { "answer_id": 74558229, "author": "spender", "author_id": 14357, "author_profile": "https://Stackoverflow.com/users/14357", "pm_score": 3, "selected": true, "text": "const myJsonArr = arr.map((v) => JSON.stringify(v))\n" }, { "answer_id": 74558281, "author": "NAZIR HUSSAIN",...
2022/11/24
[ "https://Stackoverflow.com/questions/74558345", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20136915/" ]
74,558,378
<p>I have this schema</p> <pre><code> _id: 637c96369088ef201f1a0924, timestamp: 1669109220, date: '2022-11-19', rates: { ALU: 13.467843419485, IRD: 0.00025380710659898, IRON: 351.21258466244, LCO: 0.62255678407529, LEAD: 15.222537878788, NI: 1.3163568621028, RUTH: 0.1, TIN: 1.51486...
[ { "answer_id": 74558229, "author": "spender", "author_id": 14357, "author_profile": "https://Stackoverflow.com/users/14357", "pm_score": 3, "selected": true, "text": "const myJsonArr = arr.map((v) => JSON.stringify(v))\n" }, { "answer_id": 74558281, "author": "NAZIR HUSSAIN",...
2022/11/24
[ "https://Stackoverflow.com/questions/74558378", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20589274/" ]
74,558,382
<p>I am trying to build a database on US universities. I have been using Beautiful Soup and Pandas to do so, but have encounter difficulties as there were several tables to scrap per page. In order to reunite the data extracted from two tables, I tried to use .merge(), but haven't succeeded at all.</p> <p>My code is as...
[ { "answer_id": 74558229, "author": "spender", "author_id": 14357, "author_profile": "https://Stackoverflow.com/users/14357", "pm_score": 3, "selected": true, "text": "const myJsonArr = arr.map((v) => JSON.stringify(v))\n" }, { "answer_id": 74558281, "author": "NAZIR HUSSAIN",...
2022/11/24
[ "https://Stackoverflow.com/questions/74558382", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20589231/" ]
74,558,385
<p>By using the Godot engine and writing in the GDScript language, let's say I have an enum declared as:</p> <pre><code>enum eTextMode {CHAR, NUMBER, SYMBOLS_TEXT, SYMBOLS_ALL} </code></pre> <p>And an export variable as:</p> <pre><code>export(eTextMode, FLAGS) var _id: int = 0 </code></pre> <p>In the inspector panel I ...
[ { "answer_id": 74558229, "author": "spender", "author_id": 14357, "author_profile": "https://Stackoverflow.com/users/14357", "pm_score": 3, "selected": true, "text": "const myJsonArr = arr.map((v) => JSON.stringify(v))\n" }, { "answer_id": 74558281, "author": "NAZIR HUSSAIN",...
2022/11/24
[ "https://Stackoverflow.com/questions/74558385", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15692942/" ]
74,558,414
<p>I am trying to add styles to my dialog header of my ui5 application, but the effect is not applied.</p> <p>Here is the code: `</p> <pre><code>onValueHelpRequest : function(oEvent) { var sInputValue = oEvent.getSource().getValue(), oView = this.getView(); if (!this._pValueHelpDial...
[ { "answer_id": 74558229, "author": "spender", "author_id": 14357, "author_profile": "https://Stackoverflow.com/users/14357", "pm_score": 3, "selected": true, "text": "const myJsonArr = arr.map((v) => JSON.stringify(v))\n" }, { "answer_id": 74558281, "author": "NAZIR HUSSAIN",...
2022/11/24
[ "https://Stackoverflow.com/questions/74558414", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20589291/" ]
74,558,443
<p>I have 4 lists and I want to print them, but it returns name of list.</p> <pre><code>list1 = [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;] list2 = [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;] list3 = [&quot;a&quot;, &quot;b&quot;] list4 = [&quot;a&quot;] for i in range(1,5): print(list[i]) </cod...
[ { "answer_id": 74558229, "author": "spender", "author_id": 14357, "author_profile": "https://Stackoverflow.com/users/14357", "pm_score": 3, "selected": true, "text": "const myJsonArr = arr.map((v) => JSON.stringify(v))\n" }, { "answer_id": 74558281, "author": "NAZIR HUSSAIN",...
2022/11/24
[ "https://Stackoverflow.com/questions/74558443", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20589176/" ]
74,558,444
<p>I want to create a project in nuxt js in version 2.15.8. I researched, tried to do some ways that I know but it does not work. Does anyone know if this is possible and how to do it?</p>
[ { "answer_id": 74558229, "author": "spender", "author_id": 14357, "author_profile": "https://Stackoverflow.com/users/14357", "pm_score": 3, "selected": true, "text": "const myJsonArr = arr.map((v) => JSON.stringify(v))\n" }, { "answer_id": 74558281, "author": "NAZIR HUSSAIN",...
2022/11/24
[ "https://Stackoverflow.com/questions/74558444", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15139592/" ]
74,558,457
<p>I am trying to compare the username and password for may auth. then i think everything is good at my code but it throws me an error if the username and password is incorrect and the nodejs is stopping this error give me [Here is my error] (<a href="https://i.stack.imgur.com/OSxpK.png" rel="nofollow noreferrer">https...
[ { "answer_id": 74558714, "author": "Azzy", "author_id": 2122822, "author_profile": "https://Stackoverflow.com/users/2122822", "pm_score": 1, "selected": true, "text": "router.post(\"/login\", async (req, res) => {\n try {\n const {username, password} = req.body;\n\n const use...
2022/11/24
[ "https://Stackoverflow.com/questions/74558457", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20553470/" ]
74,558,476
<p>I tried this on regex but the quote</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-js lang-js prettyprint-override"><code> let stringdata = "01110010100111101000111"; let output= stringdata .match(/(10)1?|(01)...
[ { "answer_id": 74559165, "author": "Peter Seliger", "author_id": 2627243, "author_profile": "https://Stackoverflow.com/users/2627243", "pm_score": 0, "selected": false, "text": "'01010' stringdata '1010', '', '01', '', '' 01 (?:01)+ 10 (?:10)+ 1 0 /(?:01)+|(?:10)+|1|0/g match const strin...
2022/11/24
[ "https://Stackoverflow.com/questions/74558476", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14385814/" ]
74,558,481
<p>is it possible to use react component in vue 2.4 app in way that react package is not installed in vue app an I will be able to pass props from vue to react component or run methods in react component or emit events from it?</p>
[ { "answer_id": 74559165, "author": "Peter Seliger", "author_id": 2627243, "author_profile": "https://Stackoverflow.com/users/2627243", "pm_score": 0, "selected": false, "text": "'01010' stringdata '1010', '', '01', '', '' 01 (?:01)+ 10 (?:10)+ 1 0 /(?:01)+|(?:10)+|1|0/g match const strin...
2022/11/24
[ "https://Stackoverflow.com/questions/74558481", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5499573/" ]
74,558,488
<p>I try to explain my problem in the simplest way.</p> <p>I have a table, let's call it <strong>Table_A</strong>, structured like this:</p> <p><code>ID | Name | Code | Status | Counter_A | Counter_B | Counter_C</code></p> <p>This Table_A is filled with data once a day.</p> <p>A second table, named <strong>Table_B</str...
[ { "answer_id": 74559165, "author": "Peter Seliger", "author_id": 2627243, "author_profile": "https://Stackoverflow.com/users/2627243", "pm_score": 0, "selected": false, "text": "'01010' stringdata '1010', '', '01', '', '' 01 (?:01)+ 10 (?:10)+ 1 0 /(?:01)+|(?:10)+|1|0/g match const strin...
2022/11/24
[ "https://Stackoverflow.com/questions/74558488", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10886833/" ]
74,558,524
<p>I try to added data in to <code>dayResult</code> key using date-wise like in shortlisted <code>[]</code> add all array data in to shortlisted <code>[ ]</code> also sum of <code>slotAvailable</code> my JSON format is below mention kindly help me for to added data.</p> <p>This is my Input JSON data.</p> <pre><code> ...
[ { "answer_id": 74558779, "author": "jsN00b", "author_id": 13658816, "author_profile": "https://Stackoverflow.com/users/13658816", "pm_score": 2, "selected": false, "text": "// method to transform array to desired structure\nconst myTransform = arr => (arr.map( // map each array elt\n (...
2022/11/24
[ "https://Stackoverflow.com/questions/74558524", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7260158/" ]
74,558,578
<p>Let it be the following python pandas DataFrame where each row represents a person's stay in a hotel.</p> <pre><code>| entry_date | exit_date | days | other_columns | | ---------- | ---------- | ------ | ------------- | | 2022-02-01 | 2022-02-05 | 5 | ... | | 2022-02-02 | 2022-02-03 | 2 | ......
[ { "answer_id": 74558705, "author": "jezrael", "author_id": 2901002, "author_profile": "https://Stackoverflow.com/users/2901002", "pm_score": 3, "selected": true, "text": "#convert column to datetimes\ndf['entry_date'] = pd.to_datetime(df['entry_date'])\n\n#repeat rows by days column\ndf ...
2022/11/24
[ "https://Stackoverflow.com/questions/74558578", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18396935/" ]
74,558,590
<p>I need to check if a file exists in a gitlab deployment pipeline. How to do it efficiently and reliably?</p>
[ { "answer_id": 74558705, "author": "jezrael", "author_id": 2901002, "author_profile": "https://Stackoverflow.com/users/2901002", "pm_score": 3, "selected": true, "text": "#convert column to datetimes\ndf['entry_date'] = pd.to_datetime(df['entry_date'])\n\n#repeat rows by days column\ndf ...
2022/11/24
[ "https://Stackoverflow.com/questions/74558590", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16986712/" ]
74,558,591
<p>I have a file <strong>in1.txt</strong></p> <pre><code>info=&quot;0x0000b573&quot; data=&quot;0x7&quot; id=&quot;sp. PCU(Si)&quot; info=&quot;0x0000b573&quot; data=&quot;0x00000007&quot; id=&quot;HI all. SHa&quot; info=&quot;0x00010AC3&quot; data=&quot;0x00000003&quot; id=&quot;abc_16. PS&quot; info=&quot;0x00010ac3&...
[ { "answer_id": 74558958, "author": "Epsi95", "author_id": 6660638, "author_profile": "https://Stackoverflow.com/users/6660638", "pm_score": 1, "selected": false, "text": "regex import re\n\ns = '''info=\"0x0000b573\" data=\"0x7\" id=\"sp. PCU(Si)\"\ninfo=\"0x0000b573\" data=\"0x00000007\...
2022/11/24
[ "https://Stackoverflow.com/questions/74558591", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20273554/" ]
74,558,762
<p>I am trying to convert the following string '1.12.22 14:16UTC+01:00' in Pandas to December 1st 2022</p> <pre><code>my_date = '1.12.22 14:16UTC+01:00' new_date = pd.to_datetime(my_date) </code></pre> <p>Timestamp('2022-01-12 14:16:00-0100', tz='pytz.FixedOffset(-60)')</p> <p>It inverts month with day only in specific...
[ { "answer_id": 74558817, "author": "Oleg", "author_id": 13165337, "author_profile": "https://Stackoverflow.com/users/13165337", "pm_score": 1, "selected": false, "text": "my_date = '01.12.22 14:16UTC+01:00'" }, { "answer_id": 74558877, "author": "tangolin", "author_id": 1...
2022/11/24
[ "https://Stackoverflow.com/questions/74558762", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13643243/" ]
74,558,778
<p>Is there a way to get the N iteration of an SQL query ?</p> <p>For example, if I want the second iteration :</p> <p><strong>Backup</strong></p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>id</th> <th>id_device</th> <th>nb_cut</th> </tr> </thead> <tbody> <tr> <td>11</td> <td>222</td> <td>...
[ { "answer_id": 74558817, "author": "Oleg", "author_id": 13165337, "author_profile": "https://Stackoverflow.com/users/13165337", "pm_score": 1, "selected": false, "text": "my_date = '01.12.22 14:16UTC+01:00'" }, { "answer_id": 74558877, "author": "tangolin", "author_id": 1...
2022/11/24
[ "https://Stackoverflow.com/questions/74558778", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7316992/" ]
74,558,800
<p>I have a data set formatted as follows:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>sha</th> <th>0_x</th> <th>1_x</th> <th>N_x</th> </tr> </thead> <tbody> <tr> <td>Sha1</td> <td>rm</td> <td></td> <td>rm</td> </tr> <tr> <td>Sha2</td> <td>rw</td> <td></td> <td>rw</td> </tr> <tr> <td>Sh...
[ { "answer_id": 74558881, "author": "mozway", "author_id": 16343464, "author_profile": "https://Stackoverflow.com/users/16343464", "pm_score": 3, "selected": true, "text": "NaN replace('', np.nan) stack pivot cols = df.columns[1:]\n# ['0_x', '1_x', 'N_x']\n\n(df.set_index('sha')\n .stac...
2022/11/24
[ "https://Stackoverflow.com/questions/74558800", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19505786/" ]
74,558,839
<p>How can I enforce the &quot;object&quot; property only to allow the listed properties be part of it and not something else, especially an empty key &quot;&quot;?</p> <pre><code>{ &quot;type&quot;: &quot;object&quot;, &quot;properties&quot;: { &quot;object&quot;: { &quot;type&quot;: &quot;object&quot;, ...
[ { "answer_id": 74560069, "author": "Daniel Schneider", "author_id": 8821969, "author_profile": "https://Stackoverflow.com/users/8821969", "pm_score": 2, "selected": true, "text": "\"additionalProperties\": false additionalProperties \"object\" {\n \"type\": \"object\",\n \"properties\"...
2022/11/24
[ "https://Stackoverflow.com/questions/74558839", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5971094/" ]
74,558,880
<p>I've trying to connect to amazon api for a week now. I've got stuck in this error and after readig the doc several times I can't realize which is the problem.</p> <p>Here is my code:</p> <pre><code># Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 &quot;&quot...
[ { "answer_id": 74626058, "author": "ChalsBP", "author_id": 14839276, "author_profile": "https://Stackoverflow.com/users/14839276", "pm_score": 1, "selected": true, "text": "\n# AWS Version 4 signing example\n\n# EC2 API (DescribeRegions)\n\n# See: http://docs.aws.amazon.com/general/lates...
2022/11/24
[ "https://Stackoverflow.com/questions/74558880", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14839276/" ]
74,558,882
<p>I'm trying to run a php website with nginx using php8.1 and php8.1-fpm, in a Ubuntu 20.04 vps.</p> <p>phpinfo reports that the config file in use is: /etc/php/8.1/fpm/php.ini</p> <p>It also reports that allow_url_fopen is Off (both Local Value and Master Value). Examining /etc/php/8.1/fpm/php.ini shows:</p> <p><code...
[ { "answer_id": 74626058, "author": "ChalsBP", "author_id": 14839276, "author_profile": "https://Stackoverflow.com/users/14839276", "pm_score": 1, "selected": true, "text": "\n# AWS Version 4 signing example\n\n# EC2 API (DescribeRegions)\n\n# See: http://docs.aws.amazon.com/general/lates...
2022/11/24
[ "https://Stackoverflow.com/questions/74558882", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1744811/" ]
74,558,916
<p>I have run my Collection. I have Exported results &quot;***API.postman_test_run.json&quot; file using Export Results option into my local folder:</p> <p><a href="https://i.stack.imgur.com/2w9fG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2w9fG.png" alt="enter image description here" /></a></p>...
[ { "answer_id": 74626058, "author": "ChalsBP", "author_id": 14839276, "author_profile": "https://Stackoverflow.com/users/14839276", "pm_score": 1, "selected": true, "text": "\n# AWS Version 4 signing example\n\n# EC2 API (DescribeRegions)\n\n# See: http://docs.aws.amazon.com/general/lates...
2022/11/24
[ "https://Stackoverflow.com/questions/74558916", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17004692/" ]
74,558,928
<p>Google Play again rejected my app because I'm apparently using REQUEST_INSTALL_PACKAGES permission in my app. I never had this permission ever, I never had this issue before.</p> <p>I checked merged manifest to find that kind of permission. There is none.</p> <p>I've added</p> <pre><code>&lt;uses-permission android:...
[ { "answer_id": 74626058, "author": "ChalsBP", "author_id": 14839276, "author_profile": "https://Stackoverflow.com/users/14839276", "pm_score": 1, "selected": true, "text": "\n# AWS Version 4 signing example\n\n# EC2 API (DescribeRegions)\n\n# See: http://docs.aws.amazon.com/general/lates...
2022/11/24
[ "https://Stackoverflow.com/questions/74558928", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9046350/" ]
74,558,945
<p>I have a register function inside my Express application to create a new user. Inside this function there are a few tasks: create the user in Auth0, send an email, send a response to the client.</p> <p>I want to be able to catch the errors coming from Auth0 or Postmark to send back specific errors to the client and ...
[ { "answer_id": 74559083, "author": "Trevor Dixon", "author_id": 711902, "author_profile": "https://Stackoverflow.com/users/711902", "pm_score": 2, "selected": true, "text": "async function handler(req, res, next) {\n let user;\n\n try {\n user = await auth0ManagementClient.createUse...
2022/11/24
[ "https://Stackoverflow.com/questions/74558945", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1391416/" ]
74,558,954
<p>I have a slice of</p> <pre class="lang-golang prettyprint-override"><code>type Node struct { Id string Children []Node } </code></pre> <p>I have a diretory structure modelled by this slice. It can happen that there are multi level folder structure in this directory which eventually do not have any files ...
[ { "answer_id": 74571062, "author": "Ivan Pesenti", "author_id": 14394371, "author_profile": "https://Stackoverflow.com/users/14394371", "pm_score": 0, "selected": false, "text": "folder1/folder2/folder3/folder4/file1.txt folder1/file1.txt folder1/folder2/folder3/folder4/file1.txt folder1...
2022/11/24
[ "https://Stackoverflow.com/questions/74558954", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13503614/" ]
74,558,962
<p>I want to align 2 texts left and right using bootstrap. I have used primevue component InlineMessage.</p> <pre><code>&lt;InlineMessage severity=&quot;error&quot; class=&quot;my-4 block align-items-center&quot;&gt;Error Request Percentage &lt;span class=&quot;&quot; &gt; 10%&lt;/span&gt; &lt;/InlineMessage&gt; </cod...
[ { "answer_id": 74571062, "author": "Ivan Pesenti", "author_id": 14394371, "author_profile": "https://Stackoverflow.com/users/14394371", "pm_score": 0, "selected": false, "text": "folder1/folder2/folder3/folder4/file1.txt folder1/file1.txt folder1/folder2/folder3/folder4/file1.txt folder1...
2022/11/24
[ "https://Stackoverflow.com/questions/74558962", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19286575/" ]
74,558,975
<p>I am trying to convert a <strong>Maven</strong> project (with source code created using a Bukkit/Spigot API and the Java programming language) to a <strong>.jar</strong> file on <strong>eclipse</strong> (to then add as a plugin to my minecraft server).</p> <p>I have selected <strong>'run as'</strong> when clicking o...
[ { "answer_id": 74571062, "author": "Ivan Pesenti", "author_id": 14394371, "author_profile": "https://Stackoverflow.com/users/14394371", "pm_score": 0, "selected": false, "text": "folder1/folder2/folder3/folder4/file1.txt folder1/file1.txt folder1/folder2/folder3/folder4/file1.txt folder1...
2022/11/24
[ "https://Stackoverflow.com/questions/74558975", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12985497/" ]
74,558,982
<p>How am I able to return view('support') with following:</p> <pre class="lang-php prettyprint-override"><code>-&gt;withInput() -&gt;with('success', 'Found results'); </code></pre> <p>Code</p> <pre class="lang-php prettyprint-override"><code> // if validation do not fail if ($validated-&gt;fails() === false) ...
[ { "answer_id": 74571062, "author": "Ivan Pesenti", "author_id": 14394371, "author_profile": "https://Stackoverflow.com/users/14394371", "pm_score": 0, "selected": false, "text": "folder1/folder2/folder3/folder4/file1.txt folder1/file1.txt folder1/folder2/folder3/folder4/file1.txt folder1...
2022/11/24
[ "https://Stackoverflow.com/questions/74558982", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13229531/" ]
74,558,993
<p>When i try to use a ListView which contains checkboxes with scrollDirection set to Axis.horizontal inside a SimpleDialog throws an error: RenderShrinkWrappingViewport does not support returning intrinsic dimensions. I tried wrapping the ListView with Containers, Flexible.. but it still thorws an error.</p> <p>If i s...
[ { "answer_id": 74559063, "author": "Md. Kamrul Amin", "author_id": 6067774, "author_profile": "https://Stackoverflow.com/users/6067774", "pm_score": 1, "selected": false, "text": "width: double.maxFinite, showDialog(\n context: context,\n builder: (BuildContext context) {\n retu...
2022/11/24
[ "https://Stackoverflow.com/questions/74558993", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15438511/" ]
74,559,000
<p>im tryting to convert a List of objects to map</p> <pre><code>var mapped; List&lt;Slots&gt;? data=controller.slots; mapped = data!.map((e) { return { DateTime.parse(e.date!): e.slot, }; }).toList(); </code></pre> <p>the output of the variable mapped is</p> <pre><code>[{2022-11-24 00:00:00.00...
[ { "answer_id": 74559063, "author": "Md. Kamrul Amin", "author_id": 6067774, "author_profile": "https://Stackoverflow.com/users/6067774", "pm_score": 1, "selected": false, "text": "width: double.maxFinite, showDialog(\n context: context,\n builder: (BuildContext context) {\n retu...
2022/11/24
[ "https://Stackoverflow.com/questions/74559000", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4923677/" ]
74,559,054
<p>I am trying to trigger the form submit function from <code>custom component</code>. <br> In general my goal is to trigger a <code>boolean state value</code> which is a part of <code>form</code>, and even though the <code>custom component</code> is imported inside the form, somehow it doesn't work. <br> Problem is ab...
[ { "answer_id": 74559063, "author": "Md. Kamrul Amin", "author_id": 6067774, "author_profile": "https://Stackoverflow.com/users/6067774", "pm_score": 1, "selected": false, "text": "width: double.maxFinite, showDialog(\n context: context,\n builder: (BuildContext context) {\n retu...
2022/11/24
[ "https://Stackoverflow.com/questions/74559054", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12971921/" ]
74,559,057
<p>I want to install Ngb in Angular. I use n Node.js version v19.1.0. I already tried --force and --legacy-pear-drops. Also i tried reinstalling Node.js.</p> <p>The log: <code>`npm ERR! code ERESOLVE</code> <code>npm ERR! ERESOLVE could not resolve</code> <code>npm ERR!</code> <code>npm ERR! While resolving: markb@0.0....
[ { "answer_id": 74559247, "author": "Vishnu Prabhu", "author_id": 20587586, "author_profile": "https://Stackoverflow.com/users/20587586", "pm_score": 0, "selected": false, "text": "ng add @ng-bootstrap/ng-bootstrap\n ng add @ng-bootstrap/ng-bootstrap --project myProject\n" }, { "a...
2022/11/24
[ "https://Stackoverflow.com/questions/74559057", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20589673/" ]
74,559,078
<p>i got an error and this is my API wrapper</p> <pre><code> if (method == &quot;get&quot;) { var param = ''; Map&lt;String, dynamic&gt; params = data['params'] != null ? data['params'] : {}; params.forEach((k, v) =&gt; param += k + &quot;=&quot; + (v == null ? '' : v) + &quot;&amp;&quot...
[ { "answer_id": 74559247, "author": "Vishnu Prabhu", "author_id": 20587586, "author_profile": "https://Stackoverflow.com/users/20587586", "pm_score": 0, "selected": false, "text": "ng add @ng-bootstrap/ng-bootstrap\n ng add @ng-bootstrap/ng-bootstrap --project myProject\n" }, { "a...
2022/11/24
[ "https://Stackoverflow.com/questions/74559078", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13497264/" ]
74,559,086
<p>I am generating text fields dynamically and I am trying to get the contents of the text fields.</p> <pre><code>//I declared a list of string and generated it using the length of my product. late final List&lt;String&gt; recovered; //the length of the products is 3 recovered = List.generate(products.length, (index)...
[ { "answer_id": 74559531, "author": "Ivo", "author_id": 1514861, "author_profile": "https://Stackoverflow.com/users/1514861", "pm_score": 3, "selected": true, "text": "insert recovered.insert(index, value);\n recovered[index] = value;\n" }, { "answer_id": 74559557, "author": "...
2022/11/24
[ "https://Stackoverflow.com/questions/74559086", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12279038/" ]
74,559,088
<p>I am trying to figure out how to print a requested amount of prime numbers but I am having problems.</p> <p>I can't describe what I did so I'll just paste my code so far:</p> <pre><code>requested_primes = 3 #just for simplicity, i am going to request an input for how many prime integers they #want printed found_pri...
[ { "answer_id": 74559531, "author": "Ivo", "author_id": 1514861, "author_profile": "https://Stackoverflow.com/users/1514861", "pm_score": 3, "selected": true, "text": "insert recovered.insert(index, value);\n recovered[index] = value;\n" }, { "answer_id": 74559557, "author": "...
2022/11/24
[ "https://Stackoverflow.com/questions/74559088", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13598482/" ]
74,559,113
<p>Confused on OOP in Python3:</p> <p>main.py:</p> <pre><code>import ma as m1 r = m1.ma1() r.doit() print(r.m1avar) print(r.m2var) r.m2do() </code></pre> <p>ma.py:</p> <pre><code>import mb as m2 class ma1(m2.mclass2): m1avar = 10 def doit(self): self.logout(&quot;doit!&quot;) d...
[ { "answer_id": 74559622, "author": "tjones", "author_id": 19389117, "author_profile": "https://Stackoverflow.com/users/19389117", "pm_score": 2, "selected": true, "text": "self. super. class mclass2():\n \n m2var = 5;\n m1avar = 5;\n \n def doit(self):\n super().log...
2022/11/24
[ "https://Stackoverflow.com/questions/74559113", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9437961/" ]
74,559,126
<p>I am using <a href="https://underscores.me/" rel="nofollow noreferrer">underscore</a> to develop a wordpress theme.</p> <p>I have a custom post type name <code>project</code>, thus I have, for instance, this url: <code>http://a.site.local/projects/a-beauty/</code>.</p> <p>I have in my <code>template-parts/</code> di...
[ { "answer_id": 74578728, "author": "Alexandra Batrak", "author_id": 8870249, "author_profile": "https://Stackoverflow.com/users/8870249", "pm_score": 2, "selected": true, "text": "<?php if( !is_post_type_archive( 'project' ) ) : ?>\n // wrap the code you don't want to show on that arc...
2022/11/24
[ "https://Stackoverflow.com/questions/74559126", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4767885/" ]
74,559,160
<p>My team manager wants to implement Tailwind CSS for the first time in the project and I am new to tailwind css The project has some vanilla CSS files so my question is do I need to <strong>write afresh tailwind css stylesheets</strong> right from the scratch or is there a better solution ..please advise</p> <p>I tr...
[ { "answer_id": 74585599, "author": "RK007", "author_id": 14386098, "author_profile": "https://Stackoverflow.com/users/14386098", "pm_score": 2, "selected": true, "text": "npx tailwindcss -i input.css -o output.css tailwind.config.js tw-bg-black // tailwind.config.js\nmodule.exports = {\n...
2022/11/24
[ "https://Stackoverflow.com/questions/74559160", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20589585/" ]
74,559,168
<p>I have an annoying problem I wanted to use custom dialog in recycler view adapter but I need a context for builder and I wrote that but I can't initialized that. I looked up Internet but I can't find anything. Is anyone can help me? Thank you and have a good codes :)</p> <pre><code>private lateinit var context: Cont...
[ { "answer_id": 74561331, "author": "Ayaz Muhammad", "author_id": 6749453, "author_profile": "https://Stackoverflow.com/users/6749453", "pm_score": 0, "selected": false, "text": " binding.rvIssues.layoutManager =\n LinearLayoutManager(myContext, RecyclerView.VERTICAL, false)...
2022/11/24
[ "https://Stackoverflow.com/questions/74559168", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19023704/" ]
74,559,192
<p>I've managed to automate some tedious code-writing with something like the following:</p> <pre><code>codes&lt;-c(&quot;code1&quot;, &quot;code2&quot;,&quot;code3&quot;) for(i in codes){print(paste0(&quot;repetitivetext&quot;,i))} </code></pre> <p>yielding something like the following output:</p> <pre><code>&quot;rep...
[ { "answer_id": 74559238, "author": "Chris Ruehlemann", "author_id": 8039978, "author_profile": "https://Stackoverflow.com/users/8039978", "pm_score": 3, "selected": true, "text": "output for output <- c()\nfor(i in codes){\n output[i] <- paste0(\"repetitivetext\",i)\n }\n paste0 output...
2022/11/24
[ "https://Stackoverflow.com/questions/74559192", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5428469/" ]
74,559,219
<p>Hi this is my first question here so go easy on me if I format things incorrectly.</p> <p>I'm trying to model a table where each value is either 1 or 0. I'd like to determine whether the sum of a column is 0 or not 0, then check how many columns are &gt; 0. The underlying problem I'm trying to solve is appointment s...
[ { "answer_id": 74559238, "author": "Chris Ruehlemann", "author_id": 8039978, "author_profile": "https://Stackoverflow.com/users/8039978", "pm_score": 3, "selected": true, "text": "output for output <- c()\nfor(i in codes){\n output[i] <- paste0(\"repetitivetext\",i)\n }\n paste0 output...
2022/11/24
[ "https://Stackoverflow.com/questions/74559219", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20589625/" ]
74,559,279
<p>I've been recently working on my own developed home-page, and have some difficulties aligning my items in a flexbox. First flexbox should have three (3) pictures, and all of them should be positioned in one vertical line under each other.</p> <p>This also counts for my second flexbox.</p> <p>Here's my code:</p> <p><...
[ { "answer_id": 74559439, "author": "superdunck", "author_id": 15721671, "author_profile": "https://Stackoverflow.com/users/15721671", "pm_score": 1, "selected": true, "text": "h4 flexcontainer-1 .container {\n display: flex;\n gap:10px;\n}\n\n.item {\n height: 50px;\n width: 100px;\n...
2022/11/24
[ "https://Stackoverflow.com/questions/74559279", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20589730/" ]
74,559,336
<p>I want to make sure that the receiving data is a valid timestamp. is there a way to make sure starts_at and expired_at fields are timestamps?</p> <pre><code>$rules = [ 'user_id' =&gt; 'required|int|exists:users,id', 'starts_at' =&gt; 'required|int|min:1', 'expires_at' =&gt; 'required|int|gt:starts_at', ]...
[ { "answer_id": 74559474, "author": "Lokendra Singh Panwar", "author_id": 5602878, "author_profile": "https://Stackoverflow.com/users/5602878", "pm_score": -1, "selected": false, "text": "AppServiceProvider class AppServiceProvider extends ServiceProvider \n{\n public function boot()\n ...
2022/11/24
[ "https://Stackoverflow.com/questions/74559336", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19128775/" ]
74,559,363
<p>Just trying to add authentication to my NuxtJs 3 app folloging <code>nuxt/auth</code> <a href="https://auth.nuxtjs.org/guide/setup#installation" rel="nofollow noreferrer">configuration docs</a>, but still get an error during app start:</p> <p><a href="https://i.stack.imgur.com/XFaWE.png" rel="nofollow noreferrer"><...
[ { "answer_id": 74559670, "author": "Tristan", "author_id": 13001005, "author_profile": "https://Stackoverflow.com/users/13001005", "pm_score": 1, "selected": false, "text": "nuxt/auth" }, { "answer_id": 74559673, "author": "kissu", "author_id": 8816585, "author_profil...
2022/11/24
[ "https://Stackoverflow.com/questions/74559363", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3030926/" ]
74,559,371
<p>I have N div of the same fixed size (both width and height). I want to display them in lines with a fixed sapcing vetween each other. I N elements do not fit in one line, creates another line. It would look like this:<a href="https://i.stack.imgur.com/A5zmj.png" rel="nofollow noreferrer"><img src="https://i.stack.im...
[ { "answer_id": 74559412, "author": "Moussa Bistami", "author_id": 15628525, "author_profile": "https://Stackoverflow.com/users/15628525", "pm_score": 3, "selected": true, "text": "flex-wrap flex-wrap: wrap;\n" }, { "answer_id": 74559505, "author": "Muhammad Tahir Ali", "a...
2022/11/24
[ "https://Stackoverflow.com/questions/74559371", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12065403/" ]
74,559,378
<p>I have a multi-module project and I want to add another dependency automatically if a submodule contains a specific dependency.</p> <p>So far I've added this on my root <code>build.gradle.kts</code></p> <pre><code>subprojects { apply { plugin(&quot;java&quot;) } project.configurations.implementa...
[ { "answer_id": 74667684, "author": "pizzamanyes", "author_id": 20670513, "author_profile": "https://Stackoverflow.com/users/20670513", "pm_score": -1, "selected": false, "text": "subprojects {\n apply {\n plugin(\"java\")\n }\n\n project.configurations.implementation.get(...
2022/11/24
[ "https://Stackoverflow.com/questions/74559378", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18232723/" ]
74,559,428
<p>I need to process a zip file(that contains a text file) using task groups in airflow. No. of lines can vary from 1 to 50 Million. I want to read the text file in the zip file process each line and write the processed line to another text file, zip it, update Postgres tables and call another DAG to transmit this new ...
[ { "answer_id": 74678876, "author": "kppro", "author_id": 10955397, "author_profile": "https://Stackoverflow.com/users/10955397", "pm_score": 0, "selected": false, "text": "def process_lines(**context):\n # Read the parameters passed to the operator\n data = context['dag_run'].conf\...
2022/11/24
[ "https://Stackoverflow.com/questions/74559428", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4516217/" ]
74,559,440
<p>The program should return edit text, where you have to replace&quot; - &quot;, &quot;: &quot;, &quot;; &quot;, &quot;, &quot;, &quot; &quot; with &quot;\t&quot;.</p> <p>The problem here is the result</p> <pre><code>Input: Китай: 1405023000; 24.08.2020; 17.99% Expected Китай 1405023000 24.08.2020 17.99% Myne...
[ { "answer_id": 74559510, "author": "Sergey Kudriavtsev", "author_id": 625594, "author_profile": "https://Stackoverflow.com/users/625594", "pm_score": 3, "selected": true, "text": "Replace public static string ReplaceIncorrectSeparators(string text)\n{\n string populationEdited = text;...
2022/11/24
[ "https://Stackoverflow.com/questions/74559440", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20138135/" ]
74,559,450
<p>I have a program where i'm required to seperate as much out as possible as different methods and classes.</p> <p>I have a rng, thats a class. I want to use the output from the rng in another class to compare it against a user selection to decide if they win or lose.</p> <p>This is my rng.</p> <pre><code>package stoc...
[ { "answer_id": 74559510, "author": "Sergey Kudriavtsev", "author_id": 625594, "author_profile": "https://Stackoverflow.com/users/625594", "pm_score": 3, "selected": true, "text": "Replace public static string ReplaceIncorrectSeparators(string text)\n{\n string populationEdited = text;...
2022/11/24
[ "https://Stackoverflow.com/questions/74559450", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15765957/" ]
74,559,457
<p>I'm using a cached network image to load in an image from firebase and if the image is URL is null it loads a circle avatar with an icon in it.</p> <p>It does not work fine in the emulator</p> <p>Exception has occurred. ArgumentError (Invalid argument(s): No host specified in URI ) Here's The Code</p> <pre><code>cla...
[ { "answer_id": 74559497, "author": "VincentDR", "author_id": 19540575, "author_profile": "https://Stackoverflow.com/users/19540575", "pm_score": 0, "selected": false, "text": " CachedNetworkImage(\n ...\n imageUrl: controller.user['profilePhoto']??\"\",\n ...\n ),\n" },...
2022/11/24
[ "https://Stackoverflow.com/questions/74559457", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20547259/" ]
74,559,544
<p>I am using <a href="https://pub.dev/packages/pin_code_fields" rel="nofollow noreferrer">PinCodeTextField</a> plugin to verify PIN in Flutter, After failure validation I am trying to clear PinCodeTextField values through controller using pinLoginController.clear().</p> <pre><code>class LoginPage extends State&lt;Log...
[ { "answer_id": 74559609, "author": "eamirho3ein", "author_id": 10306997, "author_profile": "https://Stackoverflow.com/users/10306997", "pm_score": 2, "selected": true, "text": "setState onCompleted: (value) async {\n if (value == requiredPIN) { \n print('valid pin');\n ...
2022/11/24
[ "https://Stackoverflow.com/questions/74559544", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1954020/" ]
74,559,576
<p>I am using useState hooks and when I click on the button of input value it updated my state and adds new elements in the array. I want to implement this here when I click the same value of positive and negative number both of the same number should be removed from the array For Example when I click on a button and e...
[ { "answer_id": 74559700, "author": "NAZIR HUSSAIN", "author_id": 20587701, "author_profile": "https://Stackoverflow.com/users/20587701", "pm_score": 0, "selected": false, "text": " let array = [-3, 1, 2, 3, 4]\n let positiveArray=array.map(n=>Math.abs(n))\n let newData = positiv...
2022/11/24
[ "https://Stackoverflow.com/questions/74559576", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15138000/" ]
74,559,586
<p>I have a data frame with a grouping variable <code>ID</code>, a factor <code>F</code> and a value <code>V</code> that looks something like this:</p> <pre><code>df &lt;- data.frame(ID = c(rep(1, 3), rep(2, 3)), F = factor(c(&quot;A&quot;,&quot;B&quot;,&quot;X&quot;,&quot;C&quot;,&quot;D&quot;,&quot;X...
[ { "answer_id": 74559709, "author": "onyambu", "author_id": 8380272, "author_profile": "https://Stackoverflow.com/users/8380272", "pm_score": 3, "selected": true, "text": "df %>%\n group_by(ID) %>%\n mutate(New = V[F =='X']) %>%\n filter(F != 'X')\n\n# A tibble: 4 × 4\n# Groups: I...
2022/11/24
[ "https://Stackoverflow.com/questions/74559586", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18322855/" ]
74,559,636
<p>I want to capture the username of the user during registration using user flow. I couldn't find that in attributes and even didn't find the azure user profile list. I am getting username attribute in login id token but that is coming as empty. I want to understand how azure b2c captures username of user and is there...
[ { "answer_id": 74559709, "author": "onyambu", "author_id": 8380272, "author_profile": "https://Stackoverflow.com/users/8380272", "pm_score": 3, "selected": true, "text": "df %>%\n group_by(ID) %>%\n mutate(New = V[F =='X']) %>%\n filter(F != 'X')\n\n# A tibble: 4 × 4\n# Groups: I...
2022/11/24
[ "https://Stackoverflow.com/questions/74559636", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11673124/" ]
74,559,642
<p>I have a React Typescript project and use Craco. I have a CommonJS repo bundle which I want to integrate into the project.</p> <p>Using Craco start, the project works and there are no problems. On the build however, the error is:</p> <p>Attempted import error: 'B' is not exported from './test' (imported as 'test').<...
[ { "answer_id": 74559709, "author": "onyambu", "author_id": 8380272, "author_profile": "https://Stackoverflow.com/users/8380272", "pm_score": 3, "selected": true, "text": "df %>%\n group_by(ID) %>%\n mutate(New = V[F =='X']) %>%\n filter(F != 'X')\n\n# A tibble: 4 × 4\n# Groups: I...
2022/11/24
[ "https://Stackoverflow.com/questions/74559642", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14715707/" ]
74,559,676
<p>How do I let a variable amount of array's show up? I should give a list on the webpage with all the elements of the array.</p> <p>I tried this:</p> <pre><code>cons function = () =&gt;{for (let i = 0; i &lt; array.length; i++) { &lt;li&gt; &lt;p&gt;{array[i]}&lt;/p&gt; &lt;/li&gt; }} </code></pre> <p...
[ { "answer_id": 74559709, "author": "onyambu", "author_id": 8380272, "author_profile": "https://Stackoverflow.com/users/8380272", "pm_score": 3, "selected": true, "text": "df %>%\n group_by(ID) %>%\n mutate(New = V[F =='X']) %>%\n filter(F != 'X')\n\n# A tibble: 4 × 4\n# Groups: I...
2022/11/24
[ "https://Stackoverflow.com/questions/74559676", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20589989/" ]
74,559,691
<p>I want to get only columns whose names start with <code>'Q1'</code> and those starting with <code>'Q3'</code>, I know that this is possible by doing:</p> <pre><code>new_df=df[['Q1_1', 'Q1_2', 'Q1_3','Q3_1', 'Q3_2', 'Q3_3']] </code></pre> <p>But since my real <code>df</code> is too large (more than 70 variables) I se...
[ { "answer_id": 74559767, "author": "Anastasiya-Romanova 秀", "author_id": 3397819, "author_profile": "https://Stackoverflow.com/users/3397819", "pm_score": 2, "selected": false, "text": "cols = [col for col in df.columns if col[:2] in ('Q1', 'Q3')]\nnew_df = df[cols].copy()\n" }, { ...
2022/11/24
[ "https://Stackoverflow.com/questions/74559691", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15852600/" ]
74,559,692
<pre><code>test_list = ['a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'a8', 'a9', 'a10', 'a11', 'a12', 'a13', 'a14', 'a15', 'a16', 'a17', 'a18'] my_result = {'list_a': ['a1', 'a4', 'a7', 'a10', 'a13', 'a16'], 'list_b': ['a2', 'a5', 'a8', 'a11', 'a14', 'a17'], 'list_c': ['a3', 'a6', 'a...
[ { "answer_id": 74559763, "author": "rtoth", "author_id": 20589189, "author_profile": "https://Stackoverflow.com/users/20589189", "pm_score": 1, "selected": false, "text": "list_a = []\nlist_b = []\nlist_c = []\n\n\nfor i in range(len(test_list)):\n if i % 3 == 0:\n list_a.appen...
2022/11/24
[ "https://Stackoverflow.com/questions/74559692", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17322414/" ]
74,559,698
<p>I've initialized a blank angular project with <code>ng new</code> and configured the launch.json in visual studio code with default chrome launch</p> <pre><code>&quot;configurations&quot;: [ { &quot;type&quot;: &quot;chrome&quot;, &quot;request&quot;: &quot;launch&quot;, &quot;name&quot;: &quot;Launch Chrome against...
[ { "answer_id": 74560465, "author": "Rade Vignjevic", "author_id": 11707861, "author_profile": "https://Stackoverflow.com/users/11707861", "pm_score": -1, "selected": false, "text": " \"version\": \"0.2.0\",\n \"configurations\": [\n {\n \"type\": \...
2022/11/24
[ "https://Stackoverflow.com/questions/74559698", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2936170/" ]
74,559,703
<p>Hi guys I have the following code written in typescript</p> <pre><code> const { data: { pageCollection } } = await apolloClient.query&lt;PageSlugsQuery&gt;({ query: GET_PAGE_SLUGS }) ( [...(pageCollection?.items ?? [])].forEach((page) =&gt; { console.log('PAGEEE', page) })) </code></pre> <...
[ { "answer_id": 74560465, "author": "Rade Vignjevic", "author_id": 11707861, "author_profile": "https://Stackoverflow.com/users/11707861", "pm_score": -1, "selected": false, "text": " \"version\": \"0.2.0\",\n \"configurations\": [\n {\n \"type\": \...
2022/11/24
[ "https://Stackoverflow.com/questions/74559703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4397306/" ]
74,559,746
<p>I'm bulding a receipes app for practising, using spoonicular api. I'm stuck trying to display favourites recipes saved on local storage.</p> <p>I have an array of ids saved in localstorage and Everytime i add a receipe i want to call api and display on screen. To do that I map over the array and get the object but I...
[ { "answer_id": 74560465, "author": "Rade Vignjevic", "author_id": 11707861, "author_profile": "https://Stackoverflow.com/users/11707861", "pm_score": -1, "selected": false, "text": " \"version\": \"0.2.0\",\n \"configurations\": [\n {\n \"type\": \...
2022/11/24
[ "https://Stackoverflow.com/questions/74559746", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19373182/" ]
74,559,753
<p>I'm making a kivy app that works on android smartphone. It colaborates with sqlite3. But as I try to transport as a android apk using my buildozer, suddenly my buildozer denied to work. The Error message is this.</p> <pre><code>[DEBUG]: -&gt; running mv sqlite-amalgamation-3350500 /mnt/c/KivyApk/Lingo_Chans/.build...
[ { "answer_id": 74560465, "author": "Rade Vignjevic", "author_id": 11707861, "author_profile": "https://Stackoverflow.com/users/11707861", "pm_score": -1, "selected": false, "text": " \"version\": \"0.2.0\",\n \"configurations\": [\n {\n \"type\": \...
2022/11/24
[ "https://Stackoverflow.com/questions/74559753", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20590060/" ]
74,559,760
<p>I prevent copy paste in textformfield(Flutter web) using Ctrl+C and Ctrl+V by adding</p> <pre class="lang-dart prettyprint-override"><code>enableInteractiveSelection: false, toolbarOptions: ToolbarOptions( copy: false, cut: false, paste: false, selectAll: false, ), </code></pre> <p>But still, it is possible ...
[ { "answer_id": 74560335, "author": "RESMA RAJ", "author_id": 11118094, "author_profile": "https://Stackoverflow.com/users/11118094", "pm_score": 0, "selected": false, "text": "<script type=\"text/javascript\">\n document.oncontextmenu = new Function('return false')\n document.body....
2022/11/24
[ "https://Stackoverflow.com/questions/74559760", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11118094/" ]
74,559,762
<p>I am trying to solve a leetcode problem and am facing an issue with my code. What i want is that prev store the value of the previous node but when i run the recursive code the value of prev always becomes None.</p> <pre><code># Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, lef...
[ { "answer_id": 74560747, "author": "riigs", "author_id": 19844059, "author_profile": "https://Stackoverflow.com/users/19844059", "pm_score": 0, "selected": false, "text": "prev if prev is not None and prev >= root.val: prev None" }, { "answer_id": 74561979, "author": "trincot...
2022/11/24
[ "https://Stackoverflow.com/questions/74559762", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19306281/" ]
74,559,770
<p>suppose we have a main.py file and a_file.py that has a list</p> <p>like this :</p> <p><strong>main.py</strong></p> <pre><code>from a_file import * while true: example = input(&quot;Enter Something : &quot;) a_list.append(example) if example == 'showlist': print(a_list) </code></pre> <p><st...
[ { "answer_id": 74560747, "author": "riigs", "author_id": 19844059, "author_profile": "https://Stackoverflow.com/users/19844059", "pm_score": 0, "selected": false, "text": "prev if prev is not None and prev >= root.val: prev None" }, { "answer_id": 74561979, "author": "trincot...
2022/11/24
[ "https://Stackoverflow.com/questions/74559770", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19728979/" ]
74,559,776
<p>I'm trying to use the canvas API function <a href="https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInPath" rel="nofollow noreferrer"><code>isPointInPath</code></a> to check if the user mouse is hovering a polygon on a canvas layer within a Leaflet map.</p> <p>Thus, I'm creating a can...
[ { "answer_id": 74560747, "author": "riigs", "author_id": 19844059, "author_profile": "https://Stackoverflow.com/users/19844059", "pm_score": 0, "selected": false, "text": "prev if prev is not None and prev >= root.val: prev None" }, { "answer_id": 74561979, "author": "trincot...
2022/11/24
[ "https://Stackoverflow.com/questions/74559776", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7315793/" ]
74,559,779
<p>I'm trying to download a single file with a GET request URL that doesn't specify the filename of the returned file. It returns zip files if you request multiple filter items, but single xlsx files if you only have one filter item. I want to download the file into a folder then find out its name, rather than save it ...
[ { "answer_id": 74560603, "author": "pluke", "author_id": 948397, "author_profile": "https://Stackoverflow.com/users/948397", "pm_score": 2, "selected": true, "text": "httr library(httr)\n\ntd <- tempdir()\nweb <- \"https://www.find-school-performance-data.service.gov.uk/download-data?dow...
2022/11/24
[ "https://Stackoverflow.com/questions/74559779", "https://Stackoverflow.com", "https://Stackoverflow.com/users/948397/" ]
74,559,784
<p>My kubernetes cluster is running in a restricted environment where we are unable to open ports as we want(only a range of ports are allowed for customized use), Some how I have started the kubernetes API server(6443 by default) on a allowed port using the config options with 'kubeadm init' , is there any way to chan...
[ { "answer_id": 74560603, "author": "pluke", "author_id": 948397, "author_profile": "https://Stackoverflow.com/users/948397", "pm_score": 2, "selected": true, "text": "httr library(httr)\n\ntd <- tempdir()\nweb <- \"https://www.find-school-performance-data.service.gov.uk/download-data?dow...
2022/11/24
[ "https://Stackoverflow.com/questions/74559784", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1672382/" ]
74,559,811
<p>It is necessary to realize the volume of the TV. struct Setting var volume range 0...100. How to write to print the volume level?</p> <p>Another question: Is it possible to better make the brand and model of the TV in the same field? var tvName</p> <pre><code>struct Setting { var volume = (0...100) enum Disp...
[ { "answer_id": 74560603, "author": "pluke", "author_id": 948397, "author_profile": "https://Stackoverflow.com/users/948397", "pm_score": 2, "selected": true, "text": "httr library(httr)\n\ntd <- tempdir()\nweb <- \"https://www.find-school-performance-data.service.gov.uk/download-data?dow...
2022/11/24
[ "https://Stackoverflow.com/questions/74559811", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20371003/" ]
74,559,884
<p>i have this firestore collection that needs to update according to the data within array of objects, at first this was not a problem. but as the data grows. to update the data to firebase is we have to compare each id and then perform update to all of the data.</p> <p>here i have some array,</p> <pre><code>let newCa...
[ { "answer_id": 74560603, "author": "pluke", "author_id": 948397, "author_profile": "https://Stackoverflow.com/users/948397", "pm_score": 2, "selected": true, "text": "httr library(httr)\n\ntd <- tempdir()\nweb <- \"https://www.find-school-performance-data.service.gov.uk/download-data?dow...
2022/11/24
[ "https://Stackoverflow.com/questions/74559884", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9675410/" ]
74,559,896
<p>I am trying to modify the following script so that my legends are changed to that list in <code>speeds</code>. How can I do this without changing the <code>iterator</code> list?</p> <pre><code>x = np.arange(10) iterator = [1, 2, 3] speeds =[*range(100,300,500)] for a in iterator: plt.plot(x, a*x, label=f'{a}rpm'...
[ { "answer_id": 74560603, "author": "pluke", "author_id": 948397, "author_profile": "https://Stackoverflow.com/users/948397", "pm_score": 2, "selected": true, "text": "httr library(httr)\n\ntd <- tempdir()\nweb <- \"https://www.find-school-performance-data.service.gov.uk/download-data?dow...
2022/11/24
[ "https://Stackoverflow.com/questions/74559896", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9106985/" ]
74,559,938
<pre><code>a=&quot;|:watch:️ :mobile phone: :mobile phone with arrow: :laptop: :keyboard: :desktop computer: |&quot; b=&quot;|:printer: :computer mouse: :trackball: :joystick: :clamp: :computer disk: :floppy disk: :optical|&quot; </code></pre> <p>both of these strings should be 98 characters, but when printing w...
[ { "answer_id": 74560020, "author": "Anentropic", "author_id": 202168, "author_profile": "https://Stackoverflow.com/users/202168", "pm_score": 2, "selected": true, "text": "a In [4]: for i, char in enumerate(a):\n ...: print((i, char))\n ...:\n(0, '|')\n(1, ':')\n(2, 'w')\n(3, 'a'...
2022/11/24
[ "https://Stackoverflow.com/questions/74559938", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20395346/" ]
74,559,959
<p>I need to convert the ‘content’ column from a string dictionary to a dictionary in python. After that I will use the following line of code:</p> <p>df[‘content’].apply(pd.Series).</p> <p>To have the dictionary values as a column name and the dictionary value in a cell.</p> <p>I can’t do this now because there are mi...
[ { "answer_id": 74560207, "author": "Bushmaster", "author_id": 15415267, "author_profile": "https://Stackoverflow.com/users/15415267", "pm_score": 1, "selected": true, "text": "import json\nimport numpy as np\ndf['content']=df['content'].apply(lambda x: json.loads(x) if pd.notna(x) else n...
2022/11/24
[ "https://Stackoverflow.com/questions/74559959", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14098467/" ]
74,559,963
<p>So I'm working in this table:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>Raumeinheit</th> <th>Langzeitarbeitslose</th> </tr> </thead> <tbody> <tr> <td>Hamburg</td> <td>33,23</td> </tr> <tr> <td>Berlin</td> <td>44,56</td> </tr> </tbody> </table> </div> <p>I'm trying to calculate the ...
[ { "answer_id": 74560207, "author": "Bushmaster", "author_id": 15415267, "author_profile": "https://Stackoverflow.com/users/15415267", "pm_score": 1, "selected": true, "text": "import json\nimport numpy as np\ndf['content']=df['content'].apply(lambda x: json.loads(x) if pd.notna(x) else n...
2022/11/24
[ "https://Stackoverflow.com/questions/74559963", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20575692/" ]
74,559,964
<p>I have a column in my dataset which is formatted as dates. I am aiming to obtain the most recent date by using the max() function. The date column is formatted like (ex. 21.12.2018), and I have used the folowing lines of code:</p> <pre><code>MD$Date&lt;- as.Date(MD$Date, &quot;%d.%m.%Y&quot;) analysis_date &lt;- max...
[ { "answer_id": 74566818, "author": "Enoch", "author_id": 3587230, "author_profile": "https://Stackoverflow.com/users/3587230", "pm_score": 1, "selected": false, "text": "dplyr tidyverse # package\nlibrary(dplyr)\n\n# Sample database\nMD <- data.frame(\n Date = c(\"21.12.2018\", NA, \"20...
2022/11/24
[ "https://Stackoverflow.com/questions/74559964", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18705501/" ]
74,559,973
<p>Trying to process a CSV file using AWK, however I have met a problem that many of my cells in my row already contain comma <code>,</code>, meaning I can not separate field using <code>awk -F,</code>.</p> <p>CSV FILE</p> <pre><code>Name,...DATE,COLUMNX,ADDRESSES host1,...,NOV 24, 2022,['Element1', 'Element2'],&quot;[...
[ { "answer_id": 74560229, "author": "Dave Pritlove", "author_id": 2005666, "author_profile": "https://Stackoverflow.com/users/2005666", "pm_score": 0, "selected": false, "text": "' , F ' , -F'[,'\\''=]' awk -F'[,'\\'']' 'NR>1{print $1\" \"$35}' data.csv\n data.csv:\nName,...DATE,COLUMNX,A...
2022/11/24
[ "https://Stackoverflow.com/questions/74559973", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17487397/" ]
74,559,985
<p>I have this ef query that give me the following result</p> <pre><code>IQueryable&lt;A&gt; | Id | count | | 1 | 5 | | 2 | 6 | IQueryable&lt;B&gt; | Id | count | | 1 | 1 | | 2 | 2 | | 3 | 9 | </code></pre> <p>When I do</p> <pre><code>IQueryable&lt;Something&...
[ { "answer_id": 74560229, "author": "Dave Pritlove", "author_id": 2005666, "author_profile": "https://Stackoverflow.com/users/2005666", "pm_score": 0, "selected": false, "text": "' , F ' , -F'[,'\\''=]' awk -F'[,'\\'']' 'NR>1{print $1\" \"$35}' data.csv\n data.csv:\nName,...DATE,COLUMNX,A...
2022/11/24
[ "https://Stackoverflow.com/questions/74559985", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2954082/" ]
74,560,013
<p>I has been install a ruby version 3.1.2 at my Mac computer and I want to uninstall it completely.</p> <p>When I check by this command</p> <pre><code>which -a ruby </code></pre> <p>It show me this</p> <pre><code>/Users/nguyencuc/.rubies/ruby-3.1.2/bin/ruby /usr/bin/ruby </code></pre> <p>So, as this page said, <a href...
[ { "answer_id": 74561257, "author": "Taimoor Hassan", "author_id": 13000257, "author_profile": "https://Stackoverflow.com/users/13000257", "pm_score": 0, "selected": false, "text": "rbenv uninstall 3.1.2\n rbenv install *version*\n" }, { "answer_id": 74577550, "author": "Syed...
2022/11/24
[ "https://Stackoverflow.com/questions/74560013", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15347191/" ]
74,560,023
<pre><code>df = pd.DataFrame({'ID' : ['ID 1', 'ID 1', 'ID 1', 'ID 2', 'ID 2', 'ID 3', 'ID 3'], 'Code' : ['Apple', 'A123', 'Apple', 'Banana', 'Banana', 'K123', 'K123'], 'Code_Type' : ['Code name', 'Code ID', 'Code name', 'Code name', 'Code name', 'Code ID', 'Code ID']} ...
[ { "answer_id": 74561257, "author": "Taimoor Hassan", "author_id": 13000257, "author_profile": "https://Stackoverflow.com/users/13000257", "pm_score": 0, "selected": false, "text": "rbenv uninstall 3.1.2\n rbenv install *version*\n" }, { "answer_id": 74577550, "author": "Syed...
2022/11/24
[ "https://Stackoverflow.com/questions/74560023", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20589857/" ]
74,560,024
<p>For my data the average normally lies between 8,000 and 10,000 and I want to indicate this range on my bar chart below, I want to show to red lines from y=10,000 and y=8,000 and potentially shade the area in between them, if possible. <a href="https://i.stack.imgur.com/6ll76.png" rel="nofollow noreferrer">Bar chart...
[ { "answer_id": 74560388, "author": "stefan", "author_id": 12993861, "author_profile": "https://Stackoverflow.com/users/12993861", "pm_score": 1, "selected": false, "text": "geom_hline annotate Monthly_accidents2 <- data.frame(\n Month = factor(month.abb, month.abb),\n Traffic_Accidents...
2022/11/24
[ "https://Stackoverflow.com/questions/74560024", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16053575/" ]
74,560,025
<p>I need to use a function <code>func(uint8_t* buffer, uint size)</code>; supposing I can't change its parameters, I want to pass it a string.</p> <p>I have a <code>vector&lt;string&gt;</code> that I must convert to <code>uint8_t*</code> and then read it and convert it back to <code>vector&lt;string&gt;</code>. I trie...
[ { "answer_id": 74560339, "author": "YSC", "author_id": 5470596, "author_profile": "https://Stackoverflow.com/users/5470596", "pm_score": 0, "selected": false, "text": "std::vector<std::string> vec;\n #include <string>\n#include <vector>\n#include <algorithm>\n\nint main(){\n std::vect...
2022/11/24
[ "https://Stackoverflow.com/questions/74560025", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7047604/" ]
74,560,027
<p>I fetch data from api like this</p> <pre><code>import axios from 'axios' const baseUrl = `${process.env.REACT_APP_URL}/search/users?q=john&amp;per_page=5` export function fetchData(){ axios({ method: &quot;get&quot;, headers: { &quot;Content-Type&quot;: &quot;application/json&quot; }, ...
[ { "answer_id": 74560339, "author": "YSC", "author_id": 5470596, "author_profile": "https://Stackoverflow.com/users/5470596", "pm_score": 0, "selected": false, "text": "std::vector<std::string> vec;\n #include <string>\n#include <vector>\n#include <algorithm>\n\nint main(){\n std::vect...
2022/11/24
[ "https://Stackoverflow.com/questions/74560027", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20590242/" ]
74,560,043
<p>I am using <code>dplyr</code> and <code>across</code> to summarise some data:</p> <pre><code>n &lt;- 500 durations &lt;- c(3, 5, 6, 8, 10) prop_fever_resolve &lt;- c(0.5, 0.6, 0.7, 0.8, 0.9) prop_urine_sterile &lt;- c(0.8, 0.85, 0.88, 0.9, 0.93) prop_additional_abx &lt;- c(0.2, 0.17, 0.14, 0.1, 0.05) duration_props...
[ { "answer_id": 74560163, "author": "harre", "author_id": 4786466, "author_profile": "https://Stackoverflow.com/users/4786466", "pm_score": 1, "selected": false, "text": "across across library(dplyr)\n\ndata %>%\n group_by(duration) %>%\n summarize(n = n(),\n pos = sum(cured)...
2022/11/24
[ "https://Stackoverflow.com/questions/74560043", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19414769/" ]