qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
74,457,669
<p>I am trying to scrape the current gas prices in a German city by using the IMPORTHTML-function in Google Sheets. The function seems to work, at least the data is being imported into my sheet. When taking a closer look, one recognizes, that the data inserted into the sheet differs from the current data displayed on t...
[ { "answer_id": 74529332, "author": "Anthony S", "author_id": 19917207, "author_profile": "https://Stackoverflow.com/users/19917207", "pm_score": 1, "selected": true, "text": "ImportJSON" } ]
2022/11/16
[ "https://Stackoverflow.com/questions/74457669", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20499727/" ]
74,457,680
<p>I currently have a <code>.csv</code> data file with contents like:</p> <pre><code>Name Fruit Qty Tauwen Apple 32 Tauewn Pear 09 Wikfae Apple 09 Moigaw Pear 16 </code></pre> <p>I want to use R to insert the missing &quot;Pear&quot; for &quot;Wikfae&quot; with corresponding Qty as 0, and missing &quot;Apple&quot; for ...
[ { "answer_id": 74457806, "author": "harre", "author_id": 4786466, "author_profile": "https://Stackoverflow.com/users/4786466", "pm_score": 3, "selected": true, "text": "complete library(tidyr)\n\ndf |>\n complete(Name, Fruit, fill = list(Qty = \"0\"))\n # A tibble: 6 × 3\n Name Fruit...
2022/11/16
[ "https://Stackoverflow.com/questions/74457680", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12801482/" ]
74,457,710
<p>When I use the bootstrap to content layout, if the picture is on the left, it seems to be adaptive. If I put the picture on the right, it is different from the original. How can I control it?</p> <pre><code>&lt;div class=&quot;about&quot; id=&quot;about&quot;&gt; &lt;div class=&quot;container&quot;&gt; &lt;h...
[ { "answer_id": 74457806, "author": "harre", "author_id": 4786466, "author_profile": "https://Stackoverflow.com/users/4786466", "pm_score": 3, "selected": true, "text": "complete library(tidyr)\n\ndf |>\n complete(Name, Fruit, fill = list(Qty = \"0\"))\n # A tibble: 6 × 3\n Name Fruit...
2022/11/16
[ "https://Stackoverflow.com/questions/74457710", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19748741/" ]
74,457,726
<p>I am trying to validate an onchange but can't seem to get it working.</p> <p>Essentially, I want to test that if the input matches the regex then we present a message under the input.</p> <p>I am unsure where to put the validator, I wondered if anyone could point me in the right direction</p> <p>Here is a sandbox.</...
[ { "answer_id": 74457806, "author": "harre", "author_id": 4786466, "author_profile": "https://Stackoverflow.com/users/4786466", "pm_score": 3, "selected": true, "text": "complete library(tidyr)\n\ndf |>\n complete(Name, Fruit, fill = list(Qty = \"0\"))\n # A tibble: 6 × 3\n Name Fruit...
2022/11/16
[ "https://Stackoverflow.com/questions/74457726", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19932692/" ]
74,457,775
<p>I'd like to scrape news headline, link of news and picture of that news.</p> <p><a href="https://i.stack.imgur.com/sBS3N.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sBS3N.jpg" alt="enter image description here" /></a></p> <p>I try to use web scraping following as below. but It's only headline ...
[ { "answer_id": 74457966, "author": "Charles Han", "author_id": 11514907, "author_profile": "https://Stackoverflow.com/users/11514907", "pm_score": 1, "selected": false, "text": "nbc_business = \"https://news.mongabay.com/list/environment\"\nres = requests.get(nbc_business, verify=False, ...
2022/11/16
[ "https://Stackoverflow.com/questions/74457775", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18361460/" ]
74,457,778
<p>I am trying to delete an item from filtered list but it is not getting updated.</p> <p>I am able to delete item without filtering.</p> <p>html</p> <pre><code>&lt;div class=&quot;search-hero&quot;&gt; &lt;input class=&quot;form-control&quot; type=&quot;text&quot; name=&quot;search&quot; ...
[ { "answer_id": 74457966, "author": "Charles Han", "author_id": 11514907, "author_profile": "https://Stackoverflow.com/users/11514907", "pm_score": 1, "selected": false, "text": "nbc_business = \"https://news.mongabay.com/list/environment\"\nres = requests.get(nbc_business, verify=False, ...
2022/11/16
[ "https://Stackoverflow.com/questions/74457778", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12708549/" ]
74,457,790
<p>I created a HelloWorld macOS SwiftUI project and I am seeing the option of <strong>EnterFullScreen</strong> in <strong>View</strong> menu, so how can I remove this option and disable it from bace in SwiftUI?</p> <pre><code> @main struct testApp: App { var body: some Scene { WindowGroup { Co...
[ { "answer_id": 74458516, "author": "ScottM", "author_id": 1326518, "author_profile": "https://Stackoverflow.com/users/1326518", "pm_score": 0, "selected": false, "text": "struct TestApp: App {\n var body: some Scene {\n WindowGroup {\n ContentView()\n ...
2022/11/16
[ "https://Stackoverflow.com/questions/74457790", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20027993/" ]
74,457,811
<p>I want to loop through an array of objects to get a specific id and then render its data in a component in react, why it cannot be mapped, what is wrong here?</p> <pre><code>const projectData = projects.find(element =&gt; { return element.id === projectId; }); return ( {projectData.map(project =&gt; { return...
[ { "answer_id": 74457837, "author": "Sachila Ranawaka", "author_id": 6428638, "author_profile": "https://Stackoverflow.com/users/6428638", "pm_score": 3, "selected": true, "text": "find null filter const projectData = projects.filter(element => {\n return element.id === projected;\n});\n...
2022/11/16
[ "https://Stackoverflow.com/questions/74457811", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18892774/" ]
74,457,840
<p>I need to pass a unique pointer to a derived template class to a function that takes a unique base template class, like this:</p> <pre><code>template &lt;typename T&gt; class Base {}; template &lt;typename T&gt; class Derived : public Base&lt;T&gt; {}; template &lt;typename T&gt; void foo(std::unique_ptr&lt;Base&l...
[ { "answer_id": 74458224, "author": "Caleth", "author_id": 2610810, "author_profile": "https://Stackoverflow.com/users/2610810", "pm_score": 2, "selected": false, "text": "<int> foo<int>(std::move(b)); // fine\nMyClass<int> mc(std::move(b)); // fine\n" }, { "answer_id": 74458559, ...
2022/11/16
[ "https://Stackoverflow.com/questions/74457840", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20518079/" ]
74,457,868
<p>What I'm trying to achieve is:</p> <ol> <li>Building simple <code>react app</code> - the template is <code>create react app</code></li> <li>Copying output file (main.*.js)</li> <li>Pasting it in another <code>react app</code></li> <li><code>Importing</code> render function to render the first app into the second one...
[ { "answer_id": 74578250, "author": "Rohit Khandelwal", "author_id": 15220748, "author_profile": "https://Stackoverflow.com/users/15220748", "pm_score": 0, "selected": false, "text": "window.addEventListener load document load" }, { "answer_id": 74585398, "author": "sultan", ...
2022/11/16
[ "https://Stackoverflow.com/questions/74457868", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8688902/" ]
74,457,884
<p>I have a div that contains text, but there is empty space around them by default. Setting the width to min-content solves this, but it means that each word will be on a separate line. If there is space for more than 1 word on 1 line, I need the words to stay be on one line.</p> <p>Here is what things look like with ...
[ { "answer_id": 74578250, "author": "Rohit Khandelwal", "author_id": 15220748, "author_profile": "https://Stackoverflow.com/users/15220748", "pm_score": 0, "selected": false, "text": "window.addEventListener load document load" }, { "answer_id": 74585398, "author": "sultan", ...
2022/11/16
[ "https://Stackoverflow.com/questions/74457884", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12744338/" ]
74,457,895
<p>When task switch happens in an OS, how to decide which registers should be preserved?</p> <p>Is this purely decided by hardware architecture? Or also involve the OS implementation?</p> <p>I once did some naïve implementation on ARM architecture that preserve all the R1 ~ R15 registers (if I remember it correctly). B...
[ { "answer_id": 74578250, "author": "Rohit Khandelwal", "author_id": 15220748, "author_profile": "https://Stackoverflow.com/users/15220748", "pm_score": 0, "selected": false, "text": "window.addEventListener load document load" }, { "answer_id": 74585398, "author": "sultan", ...
2022/11/16
[ "https://Stackoverflow.com/questions/74457895", "https://Stackoverflow.com", "https://Stackoverflow.com/users/264052/" ]
74,457,932
<p>Here my Goal is to display a google sheet range as a table in my site.</p> <p>The default range for <strong>rangeB</strong> to be displayed in table is <strong>&quot;P6:R34&quot;</strong> ;</p> <p>But when times up it should be <strong>&quot;P5:R34&quot;</strong></p> <p>So I wrote my code But it's giving below error...
[ { "answer_id": 74458106, "author": "rrandrei", "author_id": 1704076, "author_profile": "https://Stackoverflow.com/users/1704076", "pm_score": 1, "selected": false, "text": "range = [rangeA, rangeB] ; \nvar dataValues = range.getDisplayValues()\n.map(row => row.map(value =>\n value.r...
2022/11/16
[ "https://Stackoverflow.com/questions/74457932", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20018193/" ]
74,457,941
<p>I need somehow store Georgian letters and their pronunciation, and later return the pronunciation for a givven letter. The easiest way to do that in my project is to use an object with the letters as property name and pronunciations as corresponding values.</p> <pre><code>const letters = { ბ: 'b', დ: 'd', ...
[ { "answer_id": 74458016, "author": "Thomas Zimmermann", "author_id": 13527621, "author_profile": "https://Stackoverflow.com/users/13527621", "pm_score": 3, "selected": true, "text": "Map const letters = new Map([\n ['ბ', 'b'],\n ['დ', 'd'],\n ['ს', 's'],\n ['წ', 'ts']\n]);\n \ncon...
2022/11/16
[ "https://Stackoverflow.com/questions/74457941", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20395932/" ]
74,457,994
<p>---These columns in v_array has counts in it but when i run this code ,its returns zero counts for all columns , where is my mistake ,please help me in it ----</p> <pre><code> set serveroutput on declare type t_list is table of varchar(50) index by PLS_INTEGER; r_emp t_list; ...
[ { "answer_id": 74458213, "author": "Littlefoot", "author_id": 9097906, "author_profile": "https://Stackoverflow.com/users/9097906", "pm_score": 0, "selected": false, "text": "SQL> SELECT * FROM sz_goods_detail;\n\n ID NAME\n---------- -------------------\n 1 CLAIRTY_ID\n ...
2022/11/16
[ "https://Stackoverflow.com/questions/74457994", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16825853/" ]
74,458,044
<p>I'm using WSO2 API Manager 4.1.0, ad I configurated a Key Manager of type WSO2 Identity Server. When I go to my application, to generate the token, I have the following exception: <a href="https://pastebin.com/rjfxLiAA" rel="nofollow noreferrer">https://pastebin.com/rjfxLiAA</a></p> <pre><code>Error occurred while e...
[ { "answer_id": 74458213, "author": "Littlefoot", "author_id": 9097906, "author_profile": "https://Stackoverflow.com/users/9097906", "pm_score": 0, "selected": false, "text": "SQL> SELECT * FROM sz_goods_detail;\n\n ID NAME\n---------- -------------------\n 1 CLAIRTY_ID\n ...
2022/11/16
[ "https://Stackoverflow.com/questions/74458044", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5919369/" ]
74,458,055
<p>Im trying to run two functions; one being a 'reload page' and the other a 'copy to clipboard'. I have tried all the options on this page:</p> <p><a href="https://stackoverflow.com/questions/38744932/how-to-call-multiple-functions-with-click-in-vue/74457630?noredirect=1#comment131439691_74457630">How to call multiple...
[ { "answer_id": 74458213, "author": "Littlefoot", "author_id": 9097906, "author_profile": "https://Stackoverflow.com/users/9097906", "pm_score": 0, "selected": false, "text": "SQL> SELECT * FROM sz_goods_detail;\n\n ID NAME\n---------- -------------------\n 1 CLAIRTY_ID\n ...
2022/11/16
[ "https://Stackoverflow.com/questions/74458055", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20340686/" ]
74,458,068
<p>Need to fill the data accrding to the stage and last stage is the maximum date</p> <p>Input:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>RecordID</th> <th>ChangeDate</th> <th>Stage</th> </tr> </thead> <tbody> <tr> <td>17764</td> <td>31-08-2021</td> <td>New</td> </tr> <tr> <td>17764</...
[ { "answer_id": 74458769, "author": "mozway", "author_id": 16343464, "author_profile": "https://Stackoverflow.com/users/16343464", "pm_score": 2, "selected": false, "text": "groupby.resample df['ChangeDate'] = pd.to_datetime(df['ChangeDate'], dayfirst=True)\n\n(df.set_index('ChangeDate')\...
2022/11/16
[ "https://Stackoverflow.com/questions/74458068", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6733745/" ]
74,458,073
<p>So I've been formatting this form and it looks ok on Desktop now. But I need it to change when it's on mobile. It's two elements, one image and one form, side by side. I need them to change to top and bottom when on mobile. Probably a @media query CSS?</p> <p>I've tried using percentages for widths, but the image si...
[ { "answer_id": 74458325, "author": "compuGreen", "author_id": 20291198, "author_profile": "https://Stackoverflow.com/users/20291198", "pm_score": 1, "selected": false, "text": "@media (max-width: 768px) {\n h2{\n background-color: #ffc860;\n }\n}\n" } ]
2022/11/16
[ "https://Stackoverflow.com/questions/74458073", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19112300/" ]
74,458,089
<p>For a uni assignment, we have been given a line of Haskell code which shows:</p> <pre><code>newtype TC a = TC ([Id] -&gt; Either TypeError ([Id], a)) </code></pre> <p>Firstly, <code>TypeError</code> is something which needs to be implemented by us for the assignment so I can't post the data declaration here, but my ...
[ { "answer_id": 74458446, "author": "leftaroundabout", "author_id": 745903, "author_profile": "https://Stackoverflow.com/users/745903", "pm_score": 4, "selected": true, "text": "a newtype TC a newtype TC a = ...\n x f x = ...\n a TC TC Int TC Bool f f 1 f \"bla bla\" TC Int newtype TCInt ...
2022/11/16
[ "https://Stackoverflow.com/questions/74458089", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19866923/" ]
74,458,097
<p>I'm new to react so pardon any mistake. I want to update user profile picture but i dont know how can i make a clickable image(<code>variable name -&gt;&quot;avatar&quot; in code</code>) which previews and then update(in database also), if we click save.</p> <p>Can someone help me adding a clickable image that previ...
[ { "answer_id": 74458438, "author": "Yosi Leibman", "author_id": 9162901, "author_profile": "https://Stackoverflow.com/users/9162901", "pm_score": 2, "selected": false, "text": "onClick <span onClick={()=>{ /*put here some code that change the coverSrc state*/}}>\n <ProfileBanner.H...
2022/11/16
[ "https://Stackoverflow.com/questions/74458097", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20206343/" ]
74,458,109
<pre><code>Uncaught SyntaxError: &quot;[object Object]&quot; is not valid JSON at JSON.parse (&lt;anonymous&gt;) vendors~main.chunk.js:32926 The above error occurred in the &lt;Home&gt; component: at Home (http://localhost:3000/static/js/main.chunk.js:1640:99) at RenderedRoute (http://localhost:3000/stat...
[ { "answer_id": 74458186, "author": "Naman Agrawal", "author_id": 14599596, "author_profile": "https://Stackoverflow.com/users/14599596", "pm_score": 1, "selected": false, "text": "JSON.stringify(data)" }, { "answer_id": 74458757, "author": "Kartoos", "author_id": 7801965,...
2022/11/16
[ "https://Stackoverflow.com/questions/74458109", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17910989/" ]
74,458,116
<p>I am trying to use a tab bar in order to use different views. On some of those views I have a list of items and I wish that list to be .searchable. If I go to each of the views and search it works like a charm, but when I embed that in the tabbed view the list becomes non-responsive to click but it responds to scrol...
[ { "answer_id": 74458186, "author": "Naman Agrawal", "author_id": 14599596, "author_profile": "https://Stackoverflow.com/users/14599596", "pm_score": 1, "selected": false, "text": "JSON.stringify(data)" }, { "answer_id": 74458757, "author": "Kartoos", "author_id": 7801965,...
2022/11/16
[ "https://Stackoverflow.com/questions/74458116", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14534481/" ]
74,458,143
<p>This will probably be a very simple question for anyone who knows the world of VBA, but I am a complete beginner and I have been dealing with the following (albeit trivial) problem for several days and I am unable to solve it</p> <p>I'm drawing a data set from another excel so I never know how big the resulting tabl...
[ { "answer_id": 74458729, "author": "Edoardo", "author_id": 20518389, "author_profile": "https://Stackoverflow.com/users/20518389", "pm_score": 0, "selected": false, "text": "Sub SumAllColumns()\n\n Dim a As Integer\n\n Range(\"B7\").Select\n ActiveCell.FormulaR1C1 = \"=+SUM(R[-5]C:R[-...
2022/11/16
[ "https://Stackoverflow.com/questions/74458143", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20517974/" ]
74,458,165
<p>I have a data frame in R (R Shiny) that I want to sort based on a column that contains a mix of pure numerical (1, 3, 4, ...) values as well as 'numerical-string' (2a, 2b1, 2b2, 2c, ...) values.</p> <p>The data frame I have is:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>Column A</th...
[ { "answer_id": 74458729, "author": "Edoardo", "author_id": 20518389, "author_profile": "https://Stackoverflow.com/users/20518389", "pm_score": 0, "selected": false, "text": "Sub SumAllColumns()\n\n Dim a As Integer\n\n Range(\"B7\").Select\n ActiveCell.FormulaR1C1 = \"=+SUM(R[-5]C:R[-...
2022/11/16
[ "https://Stackoverflow.com/questions/74458165", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20518406/" ]
74,458,195
<p>I'm trying to fetch 'all posts' using Redux. I should be getting an empty array but instead, I'm getting undefined. Here's my reducer:</p> <pre><code>export default (posts = [], action) =&gt; { switch ((action.type)) { case &quot;FETCH_ALL&quot;: return action.payload; case &quot;CREATE&quot;: ...
[ { "answer_id": 74458278, "author": "Arrow", "author_id": 13953455, "author_profile": "https://Stackoverflow.com/users/13953455", "pm_score": 0, "selected": false, "text": "export default (posts = [], action) => {\n switch ((action.type)) {\n case \"FETCH_ALL\":\n return {posts: ...
2022/11/16
[ "https://Stackoverflow.com/questions/74458195", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16604189/" ]
74,458,246
<p>I am using Cassandra database as final storage and mongodb as temporary storage of the application.The Working Flow of this database is that data will be stored in mongodb for only 3 days and data will be stored in cassandra after one day of data stored in mongodb. In this application I used upsert operation as poss...
[ { "answer_id": 74475726, "author": "Madhavan", "author_id": 10410162, "author_profile": "https://Stackoverflow.com/users/10410162", "pm_score": 1, "selected": false, "text": "CREATE TABLE IF NOT EXISTS keyspace_name.table_name (\n partition_key1 cql_data_type,\n ...\n created_date cql...
2022/11/16
[ "https://Stackoverflow.com/questions/74458246", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20149599/" ]
74,458,247
<p>I'm new to Vue 3 (cli) and I'm not at all comfortable with front-end technology, so I'm having a hard time understanding the information I'm reading.</p> <p>I succeeded in creating a registration/login interface with an api and JWT. The user information needs to be persisted everywhere in the project I'm doing to tr...
[ { "answer_id": 74475726, "author": "Madhavan", "author_id": 10410162, "author_profile": "https://Stackoverflow.com/users/10410162", "pm_score": 1, "selected": false, "text": "CREATE TABLE IF NOT EXISTS keyspace_name.table_name (\n partition_key1 cql_data_type,\n ...\n created_date cql...
2022/11/16
[ "https://Stackoverflow.com/questions/74458247", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8631623/" ]
74,458,282
<p>Say I have two flat lists of strings:</p> <pre><code>a = [&quot;today&quot;, &quot;I&quot;, &quot;want&quot;, &quot;to&quot;, &quot;eat&quot;, &quot;some&quot;, &quot;cake.&quot;] b = [&quot;to&quot;, &quot;da&quot;, &quot;y&quot;, &quot;I&quot;, &quot;wa&quot;, &quot;nt&quot;, &quot;to&quot;, &quot;ea&quot;, &quot;...
[ { "answer_id": 74458649, "author": "Ben. S.", "author_id": 12261629, "author_profile": "https://Stackoverflow.com/users/12261629", "pm_score": 3, "selected": true, "text": "a = [\"today\", \"I\", \"want\", \"to\", \"eat\", \"some\", \"cake.\"]\nb = [\"to\", \"da\", \"y\", \"I\", \"wa\", ...
2022/11/16
[ "https://Stackoverflow.com/questions/74458282", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12607108/" ]
74,458,303
<ol> <li>Ask for the size of an array;</li> <li>Create a one-dimensional array;</li> <li>Fill arrays with a random number between -6 and 6;</li> <li>Calculate and display the average value of all numbers in an array;</li> <li>Find and display the largest number from an array.</li> </ol> <p>I'm new to C and can't solve ...
[ { "answer_id": 74458598, "author": "Károly Szabó", "author_id": 6804632, "author_profile": "https://Stackoverflow.com/users/6804632", "pm_score": -1, "selected": false, "text": "int size=0; \nprintf(\"input size of array \"); \nscanf(\"%d\",&size);\nint arr[size];\n rand() stdlib.h RAND_...
2022/11/16
[ "https://Stackoverflow.com/questions/74458303", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19444133/" ]
74,458,360
<p>I'm writing my first Django app - blog. When creating Post model I'm asked to create publish and created fields with timezone import.</p> <pre><code>publish = models.DateTimeField(default=timezone.now) created = models.DateTimeField(auto_now_add=True) </code></pre> <p>It's explained that &quot;By using auto_now_add,...
[ { "answer_id": 74458598, "author": "Károly Szabó", "author_id": 6804632, "author_profile": "https://Stackoverflow.com/users/6804632", "pm_score": -1, "selected": false, "text": "int size=0; \nprintf(\"input size of array \"); \nscanf(\"%d\",&size);\nint arr[size];\n rand() stdlib.h RAND_...
2022/11/16
[ "https://Stackoverflow.com/questions/74458360", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11939828/" ]
74,458,377
<p>I'm on creating a mobile app with flutter. At first, I have to connect to bluetooth. after connecting to a specific device I have to redirect to the next page which is the home page. This screen doesn't show any information for the device but I have to recieve data via bluetooth in this screen. I do something like t...
[ { "answer_id": 74458598, "author": "Károly Szabó", "author_id": 6804632, "author_profile": "https://Stackoverflow.com/users/6804632", "pm_score": -1, "selected": false, "text": "int size=0; \nprintf(\"input size of array \"); \nscanf(\"%d\",&size);\nint arr[size];\n rand() stdlib.h RAND_...
2022/11/16
[ "https://Stackoverflow.com/questions/74458377", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20285309/" ]
74,458,405
<p>I made this script that let me change the letter on hover of the specific letter.</p> <p>I would like to be able to hover a letter, change it to <code>A</code> and as soon as the <code>mouseleave</code> event is called, the letter change back to the original letter.</p> <p><div class="snippet" data-lang="js" data-hi...
[ { "answer_id": 74458663, "author": "Diego D", "author_id": 1221208, "author_profile": "https://Stackoverflow.com/users/1221208", "pm_score": 3, "selected": true, "text": "e.target e.currentTarget data-original u mouseenter innerText A mouseleave innerText const toLetterize = document.que...
2022/11/16
[ "https://Stackoverflow.com/questions/74458405", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9011747/" ]
74,458,421
<p>I am trying to get all the committed files on an Azure Build Pipeline. This is the yaml script I'm using:</p> <pre><code>trigger: branches: include: - swagger_dev paths: include: - swagger_dev/swaggers/*.yaml variables: CLIENT_CREDENTIALS: $(ClientCredentials) steps: - powershell: | ...
[ { "answer_id": 74458663, "author": "Diego D", "author_id": 1221208, "author_profile": "https://Stackoverflow.com/users/1221208", "pm_score": 3, "selected": true, "text": "e.target e.currentTarget data-original u mouseenter innerText A mouseleave innerText const toLetterize = document.que...
2022/11/16
[ "https://Stackoverflow.com/questions/74458421", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19949216/" ]
74,458,452
<p>In a viewModel, it may be desirable to have a <code>String</code> property that equals a user-defined value, or a localisable string resource if this user-defined value is null or empty. For example, in an application about pets, a user could name their dog <code>&quot;Pepper&quot;</code>. But, if no name has been p...
[ { "answer_id": 74460937, "author": "Mobin Yardim", "author_id": 8810290, "author_profile": "https://Stackoverflow.com/users/8810290", "pm_score": 3, "selected": true, "text": "sealed class ViewUiState() {\n class Default(val stringResId: Int) : ViewUiState()\n class UserValue(val s...
2022/11/16
[ "https://Stackoverflow.com/questions/74458452", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12333099/" ]
74,458,469
<p>Search View shows blank after entering a space.</p> <p>Duplicate question - <a href="https://stackoverflow.com/questions/44535177/">click</a> , but using recycler view doesn't suit me. Are there other options.</p> <p>I will be very glad if you help!</p> <p>I am filtering now:</p> <pre><code>mySearchView.addTextChang...
[ { "answer_id": 74460937, "author": "Mobin Yardim", "author_id": 8810290, "author_profile": "https://Stackoverflow.com/users/8810290", "pm_score": 3, "selected": true, "text": "sealed class ViewUiState() {\n class Default(val stringResId: Int) : ViewUiState()\n class UserValue(val s...
2022/11/16
[ "https://Stackoverflow.com/questions/74458469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19652986/" ]
74,458,474
<p>I am displaying treeview. tree nodes are showing with icons plus and minus. These icons are showing above the text? how to align node icon and node text in the same line? please find my sandbox: <a href="https://codesandbox.io/s/shy-snow-nfce4i" rel="nofollow noreferrer">https://codesandbox.io/s/shy-snow-nfce4i</a>...
[ { "answer_id": 74458793, "author": "Dmitriy Zhiganov", "author_id": 13730174, "author_profile": "https://Stackoverflow.com/users/13730174", "pm_score": 0, "selected": false, "text": "before // css\n.list {\n list-style: none;\n}\n\n.item {\n position: relative;\n padding-left: 20px;...
2022/11/16
[ "https://Stackoverflow.com/questions/74458474", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17037420/" ]
74,458,608
<p>I have a dataframe <code>df</code> of the following format:</p> <pre><code> team1 team2 score1 score2 0 1 2 1 0 1 3 4 3 0 2 1 3 1 1 3 2 4 0 2 4 1 2 3 2 </code></pre> <p>What I want to do is to create a <code>new</c...
[ { "answer_id": 74458793, "author": "Dmitriy Zhiganov", "author_id": 13730174, "author_profile": "https://Stackoverflow.com/users/13730174", "pm_score": 0, "selected": false, "text": "before // css\n.list {\n list-style: none;\n}\n\n.item {\n position: relative;\n padding-left: 20px;...
2022/11/16
[ "https://Stackoverflow.com/questions/74458608", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19135414/" ]
74,458,635
<p>I have a user table like this,</p> <pre><code>name week_no year_no fb 5 2021 twitter 1 2022 twitter 2 2022 twitter 3 2022 twitter 7 2022 youtube 21 2022 </code></pre> <p>I want to find the names of users who login &gt;= 3 consecutive weeks in the...
[ { "answer_id": 74459197, "author": "Ergest Basha", "author_id": 16461952, "author_profile": "https://Stackoverflow.com/users/16461952", "pm_score": 3, "selected": true, "text": "SELECT t1.name,t1.year_no\nFROM test t1\nINNER JOIN test t2 ON t1.name=t2.name AND t1.year_no=t2.year_no\n...
2022/11/16
[ "https://Stackoverflow.com/questions/74458635", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11816060/" ]
74,458,658
<p>I have been trying for several days to deploy a Symfony site. All the files are well in the public folder with the .htaccess, I only need the dependencies for the site to be functional. The problem is that when I run the command</p> <pre><code>php composer.phar update </code></pre> <p><a href="https://i.stack.imgur....
[ { "answer_id": 74459197, "author": "Ergest Basha", "author_id": 16461952, "author_profile": "https://Stackoverflow.com/users/16461952", "pm_score": 3, "selected": true, "text": "SELECT t1.name,t1.year_no\nFROM test t1\nINNER JOIN test t2 ON t1.name=t2.name AND t1.year_no=t2.year_no\n...
2022/11/16
[ "https://Stackoverflow.com/questions/74458658", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19195226/" ]
74,458,661
<p>I have the following dataset and I would like to calculate the adjusted r-squared based on this dataset. I have the formula for adjusted R-Squared &quot;Adjusted R2 = 1 – [(1-R2)*(n-1)/(n-k-1)]&quot;.</p> <p>where:</p> <p>R2: The R-Squared</p> <p>n: is the number of observations, in this case, &quot;DV.obs&quot;</p>...
[ { "answer_id": 74459197, "author": "Ergest Basha", "author_id": 16461952, "author_profile": "https://Stackoverflow.com/users/16461952", "pm_score": 3, "selected": true, "text": "SELECT t1.name,t1.year_no\nFROM test t1\nINNER JOIN test t2 ON t1.name=t2.name AND t1.year_no=t2.year_no\n...
2022/11/16
[ "https://Stackoverflow.com/questions/74458661", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18135188/" ]
74,458,685
<p>I have a string:</p> <pre class="lang-r prettyprint-override"><code>a = c(&quot;112 271 [X];313 179 [X];125 162;123 131 [X];124 107&quot;) </code></pre> <p>I want to first split it by semicolon <code>;</code></p> <pre><code>b = as.list(strsplit(a, &quot;;&quot;)[[1]]) &gt; b [[1]] [1] &quot;112 271 [X]&quot; [[2]]...
[ { "answer_id": 74458797, "author": "zx8754", "author_id": 680068, "author_profile": "https://Stackoverflow.com/users/680068", "pm_score": 4, "selected": true, "text": "data.table::fread(gsub(\";\", \"\\n\", a, fixed = TRUE),\n fill = TRUE,\n col.names = ...
2022/11/16
[ "https://Stackoverflow.com/questions/74458685", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6023565/" ]
74,458,691
<p>I want to execute .bash script using <code>OS Process Sampler</code> via Jmeter 5.5</p> <p>My requirements are:</p> <pre><code>1 Navigate to the specific path: C:\app\docs\release 2 execute as: ./no_longer_duplicate.bash dwtikz895261 6565 3 dwtikz895261 should be fetched as variable </code></pre> <p>what I tried i...
[ { "answer_id": 74507281, "author": "vlatko606", "author_id": 5210482, "author_profile": "https://Stackoverflow.com/users/5210482", "pm_score": 1, "selected": true, "text": "OS Process Sampler processBuilder" } ]
2022/11/16
[ "https://Stackoverflow.com/questions/74458691", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5210482/" ]
74,458,693
<h1>I am trying to make ListView for my app. when I add listview, listview is not visible or showing.</h1> <h2>INFO</h2> <p>Flutter version: 3.3.8 Engine revision 857bd6b74c Dart version 2.18.4 DevTools version 2.15.0</p> <pre class="lang-dart prettyprint-override"><code> Widget build(BuildContext context) { retur...
[ { "answer_id": 74507281, "author": "vlatko606", "author_id": 5210482, "author_profile": "https://Stackoverflow.com/users/5210482", "pm_score": 1, "selected": true, "text": "OS Process Sampler processBuilder" } ]
2022/11/16
[ "https://Stackoverflow.com/questions/74458693", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18234747/" ]
74,458,696
<p>I am using PySpark and I want to get the first status order by Date but only if there consecutive status, because the status can be more than once, but not more than one in a row. Here is my example of what i have:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>status</th> <th>created_w...
[ { "answer_id": 74507281, "author": "vlatko606", "author_id": 5210482, "author_profile": "https://Stackoverflow.com/users/5210482", "pm_score": 1, "selected": true, "text": "OS Process Sampler processBuilder" } ]
2022/11/16
[ "https://Stackoverflow.com/questions/74458696", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13846900/" ]
74,458,711
<pre><code>&lt;button id=&quot;btn-id&quot; class=&quot;navbar-toggler&quot; type=&quot;button&quot; data-toggle=&quot;collapse&quot; data-target=&quot;#bs-navbar-collapse-1&quot;&gt; &lt;span class=&quot;navbar-toggler-icon&quot;&gt;&lt;/span&gt; &lt;span class=&quot;navbar-toggler-icon&quot;&gt;&lt;/span&gt;...
[ { "answer_id": 74507281, "author": "vlatko606", "author_id": 5210482, "author_profile": "https://Stackoverflow.com/users/5210482", "pm_score": 1, "selected": true, "text": "OS Process Sampler processBuilder" } ]
2022/11/16
[ "https://Stackoverflow.com/questions/74458711", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20518738/" ]
74,458,720
<p>I am trying to send an email through telnet using a SMTP server through Telnet</p> <p>For AUTH PLAIN authentication I can use this string that is the username and password combined (ex: dGhpc0lzTXlVc2VybmFtZVRoaXNJc015UGFzc3dvcmQ=)</p> <p>Now I need to use AUTH LOGIN to authenticate instead of AUTH PLAIN, which mean...
[ { "answer_id": 74507281, "author": "vlatko606", "author_id": 5210482, "author_profile": "https://Stackoverflow.com/users/5210482", "pm_score": 1, "selected": true, "text": "OS Process Sampler processBuilder" } ]
2022/11/16
[ "https://Stackoverflow.com/questions/74458720", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14990708/" ]
74,458,789
<p>I'm developing a note-taking app (Android app) that uses Firebase, So I intend to add Firebase Authentication. I created the app on Firebase console.</p> <p>I'm taking an error, as you can see at the image down below:</p> <p><img src="https://i.stack.imgur.com/ghX2m.png" alt="This is the error message" /></p> <p>I t...
[ { "answer_id": 74460161, "author": "OutdatedGuy", "author_id": 15428718, "author_profile": "https://Stackoverflow.com/users/15428718", "pm_score": 1, "selected": false, "text": "Firebase.initializeApp();\n initializeApp google-services.json android/app/ build.gradle Add app" } ]
2022/11/16
[ "https://Stackoverflow.com/questions/74458789", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20518550/" ]
74,458,800
<p>According to this document</p> <p><a href="https://i.stack.imgur.com/58Gm0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/58Gm0.png" alt="enter image description here" /></a></p> <p>I need to send downlink of type <code>080100ff</code> to open the supply of the socket.</p> <p>However, I can not s...
[ { "answer_id": 74459054, "author": "Anthony B.", "author_id": 19408037, "author_profile": "https://Stackoverflow.com/users/19408037", "pm_score": 2, "selected": true, "text": "bytes.fromhex('080100ff')\n" } ]
2022/11/16
[ "https://Stackoverflow.com/questions/74458800", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10003538/" ]
74,458,818
<p>I want a colour for container but getting error while using colour.</p> <p>My code:</p> <pre><code>Container( color:Colors.red, width: 50, height: 50, decoration: BoxDecoration( borderRadius: BorderRadius.circular(50) ) ), </code></pre>
[ { "answer_id": 74458855, "author": "VincentDR", "author_id": 19540575, "author_profile": "https://Stackoverflow.com/users/19540575", "pm_score": 2, "selected": false, "text": "Container(\n width: 50,\n height: 50,\n decoration: BoxDecoration(\n color:Colors.red,\n ...
2022/11/16
[ "https://Stackoverflow.com/questions/74458818", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19842804/" ]
74,458,848
<p>The target is to detect superstring in a set of arrays. In this case it should be 'bal' but I get 'lbal'.</p> <pre><code> const arr = [ ['g', 'l', 'o', 'b', 'a', 'l'], ['b','a','l','l'] ] const res = argv.reduce((acc, val) =&gt; acc.filter(elem =&gt; val.includes(elem))) </code></pre> <p>This function just g...
[ { "answer_id": 74458921, "author": "R4ncid", "author_id": 14326899, "author_profile": "https://Stackoverflow.com/users/14326899", "pm_score": 2, "selected": false, "text": "const arr = [\n ['a', 'b', 'm'],\n ['g', 'o', 'a', 'b'],\n ['w', 'o', 'u', 'k', 'a', 'b']\n ]\n\nconst countTim...
2022/11/16
[ "https://Stackoverflow.com/questions/74458848", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12808136/" ]
74,458,861
<p>I have a function:</p> <pre><code>my_function(arg1 integer, arg2 text, arg3, text); </code></pre> <p>I have a view my_view that returns as a row: (arg1, arg2, arg3);</p> <p>I can call my_function() with the row from the view as I would do explicitely:</p> <pre><code>select my_function(arg1 , arg2, arg3) from my_vie...
[ { "answer_id": 74459303, "author": "puchal", "author_id": 9730358, "author_profile": "https://Stackoverflow.com/users/9730358", "pm_score": 0, "selected": false, "text": "CREATE VIEW my_view AS\nSELECT \n 1 AS foo, \n 2 AS bar,\n 'hello' AS world\nUNION ALL\nSELECT\n 10 AS foo, \n 2...
2022/11/16
[ "https://Stackoverflow.com/questions/74458861", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20518824/" ]
74,458,897
<p><a href="https://i.stack.imgur.com/OFqW1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OFqW1.png" alt="enter image description here" /></a> how to add numbers near the icon in android jetapck compose, i have attached snap below like that.please help me to solve the problem.</p>
[ { "answer_id": 74459303, "author": "puchal", "author_id": 9730358, "author_profile": "https://Stackoverflow.com/users/9730358", "pm_score": 0, "selected": false, "text": "CREATE VIEW my_view AS\nSELECT \n 1 AS foo, \n 2 AS bar,\n 'hello' AS world\nUNION ALL\nSELECT\n 10 AS foo, \n 2...
2022/11/16
[ "https://Stackoverflow.com/questions/74458897", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20108370/" ]
74,458,917
<p>I try to create a view which contains calculated data from others table. However, I have this error message: <code>[42701] ERROR: column &quot;id&quot; specified more than once</code>.</p> <p>My SQL script:</p> <pre><code>CREATE VIEW dashboard_view AS SELECT c.libelle_commune AS &quot;commune&quot;, count(...
[ { "answer_id": 74459303, "author": "puchal", "author_id": 9730358, "author_profile": "https://Stackoverflow.com/users/9730358", "pm_score": 0, "selected": false, "text": "CREATE VIEW my_view AS\nSELECT \n 1 AS foo, \n 2 AS bar,\n 'hello' AS world\nUNION ALL\nSELECT\n 10 AS foo, \n 2...
2022/11/16
[ "https://Stackoverflow.com/questions/74458917", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7380356/" ]
74,458,945
<p>I am new to Dart and Flutter.</p> <p>In dart what is the difference between using ? and ! for null-able types?</p> <pre><code>validator: ((value) { if (value?.isEmpty) { return &quot;Field is required&quot;; } return null; }), validator: ((value) { if (value!.isEmpty) { return &...
[ { "answer_id": 74459105, "author": "VincentDR", "author_id": 19540575, "author_profile": "https://Stackoverflow.com/users/19540575", "pm_score": 2, "selected": false, "text": "String? test;\nif (test?.isEmpty == true) { // And is not null, but you don't need to check it\n // If null, wi...
2022/11/16
[ "https://Stackoverflow.com/questions/74458945", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2250108/" ]
74,458,948
<p>I have a Question. I have 2 Dto Object and one Model.</p> <p>What i'm trying todo is map the <em><strong>AssetDTO</strong></em> to the <em><strong>Asset Model</strong></em> using <em>Automapper</em>.</p> <p>I have no clue on how to accomplish this.</p> <pre><code> public class AssetDTO { public string...
[ { "answer_id": 74459105, "author": "VincentDR", "author_id": 19540575, "author_profile": "https://Stackoverflow.com/users/19540575", "pm_score": 2, "selected": false, "text": "String? test;\nif (test?.isEmpty == true) { // And is not null, but you don't need to check it\n // If null, wi...
2022/11/16
[ "https://Stackoverflow.com/questions/74458948", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20518729/" ]
74,458,966
<p>I have a product category called Cable, and I want to grab all posts assigned to this category and output the title of said posts. This category is from the custom taxonomy 'Category' that woo-commerce adds, I'm not sure if that makes things harder? but I haven't found a solution yet.</p> <p>Could anyone assist with...
[ { "answer_id": 74459255, "author": "zillionera_dev", "author_id": 15306153, "author_profile": "https://Stackoverflow.com/users/15306153", "pm_score": 1, "selected": false, "text": "WP_Query() add_shortcode('product_list', 'zillion_show_products_title_by_cat', 10);\nfunction zillion_show_...
2022/11/16
[ "https://Stackoverflow.com/questions/74458966", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8529928/" ]
74,458,971
<p>I always used <code>UIScreen.main.bounds.size</code> to get the screen size on iOS and worked fine.</p> <p>Now (in iOS 16, I believe) when I try to access the screen size with the &quot;main&quot; instance of UIScreen a warning is displayed:</p> <p><em>&quot;main' will be deprecated in a future version of iOS: Use a...
[ { "answer_id": 74459255, "author": "zillionera_dev", "author_id": 15306153, "author_profile": "https://Stackoverflow.com/users/15306153", "pm_score": 1, "selected": false, "text": "WP_Query() add_shortcode('product_list', 'zillion_show_products_title_by_cat', 10);\nfunction zillion_show_...
2022/11/16
[ "https://Stackoverflow.com/questions/74458971", "https://Stackoverflow.com", "https://Stackoverflow.com/users/288683/" ]
74,458,993
<p>I have a standard router typing.</p> <pre><code>type Routes = '/' | '/achievements' | ... ; </code></pre> <p>This allows you to understand which routers are in the project. But now I have the task to make an array containing all the routers.</p> <pre><code>const allRoutes: Routes[] = ['/', '/achievements']; </code><...
[ { "answer_id": 74459327, "author": "wjatek", "author_id": 4636502, "author_profile": "https://Stackoverflow.com/users/4636502", "pm_score": 3, "selected": true, "text": "const ROUTES = ['/', '/achievements'] as const\n\ntype RoutesTuple = typeof ROUTES\n\ntype Routes = RoutesTuple[number...
2022/11/16
[ "https://Stackoverflow.com/questions/74458993", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17572785/" ]
74,459,034
<p>I have a problem in clicking in a select element using cypress. This is the element to click: <a href="https://i.stack.imgur.com/Te3Zb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Te3Zb.png" alt="enter image description here" /></a></p> <p>And i receive this error. <code>cy.click()</code> canno...
[ { "answer_id": 74466487, "author": "Grainger", "author_id": 20487878, "author_profile": "https://Stackoverflow.com/users/20487878", "pm_score": 2, "selected": false, "text": ".select() cy.get('[name^=shopveg]').select('Bananas')\n <select> slot" }, { "answer_id": 74479498, "a...
2022/11/16
[ "https://Stackoverflow.com/questions/74459034", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12720326/" ]
74,459,046
<p>I have following <code>package.json</code> scripts section:</p> <pre><code>&quot;watch&quot;: &quot;?&quot;, &quot;build&quot;: &quot;npm run build:compactor &amp;&amp; npm run build:generator &amp;&amp; npm run build:cleaner&quot;, &quot;build:lambda&quot;: &quot;npm run build:compactor:lambda &amp;&amp; npm run bu...
[ { "answer_id": 74466487, "author": "Grainger", "author_id": 20487878, "author_profile": "https://Stackoverflow.com/users/20487878", "pm_score": 2, "selected": false, "text": ".select() cy.get('[name^=shopveg]').select('Bananas')\n <select> slot" }, { "answer_id": 74479498, "a...
2022/11/16
[ "https://Stackoverflow.com/questions/74459046", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12334270/" ]
74,459,051
<p>I have two data frames. <code>df1</code> has some NAs in a column that I'm interested in, and <code>df2</code> has this same column but with the values I need. I want to fill those values in df1 according to the rownames (the rownames in df2 are found in df1).</p> <p>For example, df1 would be something like this:</p...
[ { "answer_id": 74459294, "author": "SamR", "author_id": 12545041, "author_profile": "https://Stackoverflow.com/users/12545041", "pm_score": 2, "selected": false, "text": "dplyr tibble tibble tibble::rownames_to_column() dplyr::rows_patch() patient_id library(dplyr)\nlibrary(tibble)\n\ndf...
2022/11/16
[ "https://Stackoverflow.com/questions/74459051", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17945841/" ]
74,459,055
<p>So i have the below table, and i cant figure out why the first two table rows in the first table are appearing as if they were in the same row. Cant find a reason anywhere. I want them to appear as they you would expect, on top of one another in a column. Am i missing something here? <a href="https://jsfiddle.net/b4...
[ { "answer_id": 74459294, "author": "SamR", "author_id": 12545041, "author_profile": "https://Stackoverflow.com/users/12545041", "pm_score": 2, "selected": false, "text": "dplyr tibble tibble tibble::rownames_to_column() dplyr::rows_patch() patient_id library(dplyr)\nlibrary(tibble)\n\ndf...
2022/11/16
[ "https://Stackoverflow.com/questions/74459055", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11254577/" ]
74,459,060
<p>I am trying to create a set of dynamic HTML tables using JS.</p> <p>I am taking in data from an array of objects, in the following format:</p> <pre><code>const formPages = [ { &quot;name&quot;: &quot;page1&quot;, &quot;response&quot;: [ { &quot;question&quot;: &quot;Question 1&quot;, ...
[ { "answer_id": 74459294, "author": "SamR", "author_id": 12545041, "author_profile": "https://Stackoverflow.com/users/12545041", "pm_score": 2, "selected": false, "text": "dplyr tibble tibble tibble::rownames_to_column() dplyr::rows_patch() patient_id library(dplyr)\nlibrary(tibble)\n\ndf...
2022/11/16
[ "https://Stackoverflow.com/questions/74459060", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17880316/" ]
74,459,067
<p>I want to split a string on the first capital letter in a group.</p> <p>For example, <code>FooBARBaz</code> should become <code>Foo BAR Baz</code>.</p> <p>I've come up with:</p> <pre class="lang-js prettyprint-override"><code>str.replace(/[A-Z][a-z]+/g, ' $&amp;') .replace(/[A-Z]+/g, ' $&amp;') .replace(/\s+...
[ { "answer_id": 74459234, "author": "gog", "author_id": 3494774, "author_profile": "https://Stackoverflow.com/users/3494774", "pm_score": 2, "selected": false, "text": "m = 'FooBARBazAB'.match(/([A-Z](?=[A-Z]|$))+|[A-Z][^A-Z]*/g)\n\nconsole.log(m)" }, { "answer_id": 74461084, ...
2022/11/16
[ "https://Stackoverflow.com/questions/74459067", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2741954/" ]
74,459,096
<p>I've made a <code>tk.Toplevel</code> class to get a date from the user. After the user clicked the date, the window is closing and the date should return to the mainprocess. When the <code>tk.Toplevel</code> is closed I've got the date, but also an error: <code>\_tkinter.TclError: bad window path name &quot;.!kalend...
[ { "answer_id": 74459805, "author": "oskros", "author_id": 9490769, "author_profile": "https://Stackoverflow.com/users/9490769", "pm_score": 0, "selected": false, "text": "tkcalendar DateEntry withdraw def close_window(self, e):\n self.date = self.cal.get()\n self.withdraw()\n" },...
2022/11/16
[ "https://Stackoverflow.com/questions/74459096", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20518006/" ]
74,459,107
<p>Related:</p> <blockquote> <p><a href="https://stackoverflow.com/questions/39572884/how-to-convert-from-string-to-array">How to convert from string to array?</a></p> </blockquote> <p>This is a follow-up question. How would I make a list of all the digits in this number (currently as a string)?</p> <pre><code>&quot;12...
[ { "answer_id": 74459520, "author": "Shayan", "author_id": 11747148, "author_profile": "https://Stackoverflow.com/users/11747148", "pm_score": 3, "selected": true, "text": "function str2vec(s::String)\n return map(x->parse(Int,x), split(s,\"\"))\nend\n julia> str2vec(\"124\")\n3-elemen...
2022/11/16
[ "https://Stackoverflow.com/questions/74459107", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17698532/" ]
74,459,125
<p>i want to work with the variable &quot;sets&quot; after the function has been called.</p> <p>How can i do this?</p> <pre><code>sets = 0 def search_str(monatsabrechnung, d1): with open(monatsabrechnung, 'r') as file: content = file.read() if lastDay == heute and ja == 1...
[ { "answer_id": 74459267, "author": "Akshay Sehgal", "author_id": 4755954, "author_profile": "https://Stackoverflow.com/users/4755954", "pm_score": 2, "selected": true, "text": "sets sets sets = 0 #<-- outer scope\ndef search_str():\n ... #do something\n set...
2022/11/16
[ "https://Stackoverflow.com/questions/74459125", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20229777/" ]
74,459,134
<p>I am working on my flutter project where I want to use sharedpreferences. Look at the code below:</p> <pre><code>Future&lt;String?&gt; getCredentials() async { final localStorage = await SharedPreferences.getInstance(); final email = localStorage.getString('email'); final password = localStorage.getString('...
[ { "answer_id": 74459184, "author": "Irfan Ganatra", "author_id": 18817235, "author_profile": "https://Stackoverflow.com/users/18817235", "pm_score": 0, "selected": false, "text": "Future<Map<String,dynamic>> getCredentials() async {\n final localStorage = await SharedPreferences.getIns...
2022/11/16
[ "https://Stackoverflow.com/questions/74459134", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10535413/" ]
74,459,145
<p>Is basically a mathematical question, would like to know what would be a good solution.</p> <p>Problem: I have 25 images placed in one line. I want the images to fade out in the order. That is the first image should be completely opaque and last image should be completely transparent. I have placed all these images ...
[ { "answer_id": 74459184, "author": "Irfan Ganatra", "author_id": 18817235, "author_profile": "https://Stackoverflow.com/users/18817235", "pm_score": 0, "selected": false, "text": "Future<Map<String,dynamic>> getCredentials() async {\n final localStorage = await SharedPreferences.getIns...
2022/11/16
[ "https://Stackoverflow.com/questions/74459145", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17561671/" ]
74,459,163
<pre><code> UPDATE work_info as info1 SET info1.status_id = 1 WHERE info1.info_id IN( SELECT info2.info_id FROM work_info as info2 WHERE info2.info_id IN ( SELECT MAX(info3.info_id) FROM work_info as info3 GROUP BY info3.user_license_id) AND info2.status_id = 5) </co...
[ { "answer_id": 74459222, "author": "Nahume", "author_id": 11988032, "author_profile": "https://Stackoverflow.com/users/11988032", "pm_score": 0, "selected": false, "text": "UPDATE table SET a=value WHERE x IN\n (SELECT x FROM table WHERE condition);\n UPDATE table SET a=value WHERE x ...
2022/11/16
[ "https://Stackoverflow.com/questions/74459163", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1321511/" ]
74,459,169
<p>Suppose I have a Numpy array of a bunch of coordinates [x, y]. I want to filter this array. <br> For all coordinates in the array with a same x-value, I want to keep only one coordinate: <br>The coordinate with the maximum for the y.<br> What is the most efficient or Pythonic way to do this. I will explain with an ...
[ { "answer_id": 74460932, "author": "vipul prajapati", "author_id": 20510562, "author_profile": "https://Stackoverflow.com/users/20510562", "pm_score": 0, "selected": false, "text": "coord_arr= np.array([[10, 5], [11, 6], [12, 6], [13,7], [10,1], [10,7],[12,2], [13,0]])\n\ndf = pd.DataFra...
2022/11/16
[ "https://Stackoverflow.com/questions/74459169", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6835645/" ]
74,459,179
<p>TypeScript experts!</p> <p>I'm writing a flexible TypeScript function which accepts both type of arguments: class A and B. A and B are independent and not an inherited. However, I need to deny the ambiguous usage of the function called with the union type <code>A | B</code>. Is there any way to declare this in TypeS...
[ { "answer_id": 74459307, "author": "Radu Diță", "author_id": 2054602, "author_profile": "https://Stackoverflow.com/users/2054602", "pm_score": 0, "selected": false, "text": "A | B A B A | B" }, { "answer_id": 74459401, "author": "Tobias S.", "author_id": 8613630, "aut...
2022/11/16
[ "https://Stackoverflow.com/questions/74459179", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8128932/" ]
74,459,187
<p>I have this <code>Dockerfile</code> where I want to build a spring boot project with gradle then run it but the build takes up to 100 seconds to finish but in my local machine it builds fast. I'm sure it's a caching issue but I don't know how to speed it up and I'm kind of new to Docker</p> <pre><code>FROM gradle:7...
[ { "answer_id": 74459307, "author": "Radu Diță", "author_id": 2054602, "author_profile": "https://Stackoverflow.com/users/2054602", "pm_score": 0, "selected": false, "text": "A | B A B A | B" }, { "answer_id": 74459401, "author": "Tobias S.", "author_id": 8613630, "aut...
2022/11/16
[ "https://Stackoverflow.com/questions/74459187", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16644396/" ]
74,459,195
<pre><code>Script works in Firefox, but in Safari and Chrome console it doesn't and shows error &quot;Cannot access to uninitialized variable&quot; in passLeft.textContent = &quot;&quot; line. Script is generating the password after pressing button in html script. I need this line to reset the output field every time a...
[ { "answer_id": 74459446, "author": "John Paul Grefaldo", "author_id": 7006983, "author_profile": "https://Stackoverflow.com/users/7006983", "pm_score": 1, "selected": false, "text": "ID const characters = [\"A\",\"B\",\"C\",\"D\",\"E\",\"F\",\"G\",\"H\",\"I\",\"J\",\"K\",\"L\",\"M\",\"N\...
2022/11/16
[ "https://Stackoverflow.com/questions/74459195", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20308882/" ]
74,459,232
<p>So I was <strong>writing a weather app program which tells you based on your input what things u should do</strong> but someone how the error is as shown in the image.kindly excuse me for such a question actually I am just a beginner so I needed a help! I thought for the Winter input it will show me Wear a cool Jack...
[ { "answer_id": 74459328, "author": "YSFKBDY", "author_id": 6166703, "author_profile": "https://Stackoverflow.com/users/6166703", "pm_score": 2, "selected": false, "text": "if(weather == \"Summer\" || weather == \"summer\"){\n console.log(\"Wear Cap\")\n} else if(weather == \"Winter\" ||...
2022/11/16
[ "https://Stackoverflow.com/questions/74459232", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20026645/" ]
74,459,253
<p>I'm using Python 3.10 and I'm trying to subtract two time values from each other. Now I have tried bunch of ways to do that but getting errors.</p> <pre><code>day_time = timezone.now() day_name = day_time.strftime(&quot;%Y-%m-%d %H:%M:%S&quot;) end_Time = datetime.strptime(latest_slots.end_hour, '%Y-%m-%d %H:%M:%S')...
[ { "answer_id": 74459328, "author": "YSFKBDY", "author_id": 6166703, "author_profile": "https://Stackoverflow.com/users/6166703", "pm_score": 2, "selected": false, "text": "if(weather == \"Summer\" || weather == \"summer\"){\n console.log(\"Wear Cap\")\n} else if(weather == \"Winter\" ||...
2022/11/16
[ "https://Stackoverflow.com/questions/74459253", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20286415/" ]
74,459,254
<p>I am trying to connect a device to be provisioned using Azure IoT.</p> <p>I have tried creating certificates in multiple ways following multiple tutorials on Azure SDK github and Azure documentation.</p> <p>I am using a sample program <code>prov_dev_client_ll_x509_sample</code> found <a href="https://github.com/Azur...
[ { "answer_id": 74459328, "author": "YSFKBDY", "author_id": 6166703, "author_profile": "https://Stackoverflow.com/users/6166703", "pm_score": 2, "selected": false, "text": "if(weather == \"Summer\" || weather == \"summer\"){\n console.log(\"Wear Cap\")\n} else if(weather == \"Winter\" ||...
2022/11/16
[ "https://Stackoverflow.com/questions/74459254", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14984008/" ]
74,459,264
<p>I want to make the player face the cursor in a 3d game, to do so I added this code to the player</p> <pre><code>void Update() { Vector3 objectPos = cam.WorldToScreenPoint(transform.position); mousePos.x = mousePos.x - objectPos.x; mousePos.y = mousePos.y - objectPos.y; float angle = Mathf.Atan2(mou...
[ { "answer_id": 74459328, "author": "YSFKBDY", "author_id": 6166703, "author_profile": "https://Stackoverflow.com/users/6166703", "pm_score": 2, "selected": false, "text": "if(weather == \"Summer\" || weather == \"summer\"){\n console.log(\"Wear Cap\")\n} else if(weather == \"Winter\" ||...
2022/11/16
[ "https://Stackoverflow.com/questions/74459264", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19728542/" ]
74,459,297
<p>I am trying to implement a basic date picker inside a dialog exactly as described in the documentation but it does not show the calendar icon correctly. Here is how it looks like: <a href="https://i.stack.imgur.com/McjSl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/McjSl.png" alt="datepicker-pr...
[ { "answer_id": 74459529, "author": "Chris", "author_id": 11425760, "author_profile": "https://Stackoverflow.com/users/11425760", "pm_score": 0, "selected": false, "text": "matIconSuffix matSuffix matIconSuffix matSuffix" }, { "answer_id": 74459541, "author": "TotallyNewb", ...
2022/11/16
[ "https://Stackoverflow.com/questions/74459297", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11425760/" ]
74,459,300
<p>I have a Radio list tile in which I am setting the gender(male, female and other). Initially, the list tile is checked on 'male'. can I put it to be initially unchecked so the user can check it by himself?</p> <pre><code>Container( width: 400 height: 200 RadioListTile&lt;Gender?&gt;( title: Text( radioLabel ...
[ { "answer_id": 74459529, "author": "Chris", "author_id": 11425760, "author_profile": "https://Stackoverflow.com/users/11425760", "pm_score": 0, "selected": false, "text": "matIconSuffix matSuffix matIconSuffix matSuffix" }, { "answer_id": 74459541, "author": "TotallyNewb", ...
2022/11/16
[ "https://Stackoverflow.com/questions/74459300", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20503995/" ]
74,459,320
<p>The example below uses <a href="https://docs.gitlab.com/ee/ci/yaml/#needs" rel="nofollow noreferrer"><code>needs</code></a> to start the second_job after the first_job. However, second_job no longer has access to the artefact of the pre_job. Obviously we could add <code>needs: [pre_job, first_job]</code>, but there ...
[ { "answer_id": 74483343, "author": "Benjamin", "author_id": 14406845, "author_profile": "https://Stackoverflow.com/users/14406845", "pm_score": 1, "selected": false, "text": "second_job:\n stage: check\n script:\n - cat pre.txt\n needs:\n - job: first_job\n artifacts: true\...
2022/11/16
[ "https://Stackoverflow.com/questions/74459320", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2135504/" ]
74,459,330
<p>I have two csv files with 200 columns each. The two files have the exact same numbers in rows and columns. I want to compare each columns separately.</p> <p>The idea would be to compare column 1 value of file &quot;a&quot; to column 1 value of file &quot;b&quot; and check the difference and so on for all the numbers...
[ { "answer_id": 74483343, "author": "Benjamin", "author_id": 14406845, "author_profile": "https://Stackoverflow.com/users/14406845", "pm_score": 1, "selected": false, "text": "second_job:\n stage: check\n script:\n - cat pre.txt\n needs:\n - job: first_job\n artifacts: true\...
2022/11/16
[ "https://Stackoverflow.com/questions/74459330", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20293646/" ]
74,459,338
<p>hi i'm new to python and i was working on a mini project but i have this problem with some of my list output where i and array instead of float in my list tried to convert it using astype(float) but still nothing changed here is my code :</p> <pre><code>import numpy as np import scipy.stats as st import numpy.ran...
[ { "answer_id": 74483343, "author": "Benjamin", "author_id": 14406845, "author_profile": "https://Stackoverflow.com/users/14406845", "pm_score": 1, "selected": false, "text": "second_job:\n stage: check\n script:\n - cat pre.txt\n needs:\n - job: first_job\n artifacts: true\...
2022/11/16
[ "https://Stackoverflow.com/questions/74459338", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20517737/" ]
74,459,349
<p>I have a gcs bucket where there are multiple folders. I need to upload a file that is in my local to a particular folder in the GCS bucket. I am using the below code where it only uploads in the bucket directly but not in a folder of that bucket.</p> <pre><code>from google.cloud import storage def upload_to_bucket(...
[ { "answer_id": 74459684, "author": "M. F. Bostanci", "author_id": 10812937, "author_profile": "https://Stackoverflow.com/users/10812937", "pm_score": 0, "selected": false, "text": "blob = bucket.blob(destination_blob_name) blob = bucket.blob(folder_name + destination_blob_name)" }, {...
2022/11/16
[ "https://Stackoverflow.com/questions/74459349", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9798210/" ]
74,459,369
<p>I have a dataframe below and I want to insert a new row under shop with values, how do I do that ?</p> <pre><code>values = 0.2, park, false df1 = number variable values 1 NaN bank True 2 3.0 shop False 3 0.5 market True 4 NaN government True 5 1.0 hotel ...
[ { "answer_id": 74459635, "author": "Sondre Gjengedal-Eide", "author_id": 9271598, "author_profile": "https://Stackoverflow.com/users/9271598", "pm_score": 0, "selected": false, "text": "df.loc[] df.loc[-1] df.loc[-1] = values\ndf.index = df.index + 1 \ndf = df.sort_index()\n" }, { ...
2022/11/16
[ "https://Stackoverflow.com/questions/74459369", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20479479/" ]
74,459,380
<p>I am trying to create a set of columns from a list taking a string from another column.</p> <p>I have found a temporary solution in <a href="https://www.stackoverflow.com/">this post</a> but it only creates one column if, for example, I have in String1 &quot;I have a dog and a cat&quot;.</p> <pre><code>In [7]: df[&q...
[ { "answer_id": 74459635, "author": "Sondre Gjengedal-Eide", "author_id": 9271598, "author_profile": "https://Stackoverflow.com/users/9271598", "pm_score": 0, "selected": false, "text": "df.loc[] df.loc[-1] df.loc[-1] = values\ndf.index = df.index + 1 \ndf = df.sort_index()\n" }, { ...
2022/11/16
[ "https://Stackoverflow.com/questions/74459380", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11845900/" ]
74,459,402
<p>I have a pandas data frame like this:</p> <p><a href="https://i.stack.imgur.com/sFFMx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sFFMx.png" alt="Original data set" /></a></p> <p>and I need to convert it into the below:</p> <p><a href="https://i.stack.imgur.com/aliPo.png" rel="nofollow norefer...
[ { "answer_id": 74459459, "author": "Ka Hung Au Yeung", "author_id": 8090506, "author_profile": "https://Stackoverflow.com/users/8090506", "pm_score": 1, "selected": false, "text": "pd.get_dummies()\n" }, { "answer_id": 74459754, "author": "PaulS", "author_id": 11564487, ...
2022/11/16
[ "https://Stackoverflow.com/questions/74459402", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9003900/" ]
74,459,440
<p>I have a table called addresses, it has a column name <code>user_ids</code> which is an array of the users who have that same address. When I request to <code>/api/addresses</code> what it returns is <code>{id:1,name:&quot;lorem&quot;, user_ids:[1,2]}</code>. I want it to return the users instead of their ids</p> <h...
[ { "answer_id": 74459459, "author": "Ka Hung Au Yeung", "author_id": 8090506, "author_profile": "https://Stackoverflow.com/users/8090506", "pm_score": 1, "selected": false, "text": "pd.get_dummies()\n" }, { "answer_id": 74459754, "author": "PaulS", "author_id": 11564487, ...
2022/11/16
[ "https://Stackoverflow.com/questions/74459440", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20519044/" ]
74,459,453
<p>i have a table of employees with empnum,name, age , date of join.</p> <p>I need to find out count of records for the last 90 days , group by age. How can a write a query in TSQL.</p>
[ { "answer_id": 74459459, "author": "Ka Hung Au Yeung", "author_id": 8090506, "author_profile": "https://Stackoverflow.com/users/8090506", "pm_score": 1, "selected": false, "text": "pd.get_dummies()\n" }, { "answer_id": 74459754, "author": "PaulS", "author_id": 11564487, ...
2022/11/16
[ "https://Stackoverflow.com/questions/74459453", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2882218/" ]
74,459,462
<p>I am wondering why C++ does not perform RVO to <code>std::optional&lt;T&gt;</code> when returning <code>T</code>. I.e.,</p> <pre class="lang-cpp prettyprint-override"><code>struct Bar {}; std::optional&lt;Bar&gt; get_bar() { return Bar{}; // move ctor of Bar called here // instead of performing...
[ { "answer_id": 74460041, "author": "Nelfeal", "author_id": 3854570, "author_profile": "https://Stackoverflow.com/users/3854570", "pm_score": 3, "selected": true, "text": "get_bar_rvo get_bar Bar std::optional std::make_optional std::optional<Bar> get_bar()\n{\n return std::make_option...
2022/11/16
[ "https://Stackoverflow.com/questions/74459462", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7974971/" ]
74,459,465
<p>I'm working on a responsive website. I want the nav to fly in from left on small screens. For testing I added a click listener which adds and removes the class &quot;.sidenav&quot; to the nav.</p> <p>Screen bigger than 800px:</p> <ul> <li>There is enough space for the nav so it is shown since beginning. For testing ...
[ { "answer_id": 74459778, "author": "Franco Gabriel", "author_id": 19499461, "author_profile": "https://Stackoverflow.com/users/19499461", "pm_score": 1, "selected": false, "text": "display: none unset visibility transition-delay" }, { "answer_id": 74473993, "author": "Ero Ste...
2022/11/16
[ "https://Stackoverflow.com/questions/74459465", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5356628/" ]
74,459,546
<p>In older versions of ASP.Net core you had the startup.cs file where you would do a lot of the work including reading and setting the application environment then based on that you could read different version of the appsettings.json file. In the new ASP.Net Core 7 they got rid of Startup.cs and greatly streamlined ...
[ { "answer_id": 74460144, "author": "Shiham Samsudeen", "author_id": 6488792, "author_profile": "https://Stackoverflow.com/users/6488792", "pm_score": 0, "selected": false, "text": "using Microsoft.Extensions.Configuration;\n\nvar builder = WebApplication.CreateBuilder(args);\n\n// Add se...
2022/11/16
[ "https://Stackoverflow.com/questions/74459546", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2911737/" ]
74,459,547
<p>Assume I have a form on <code>index.php</code> and it points to <code>test.php</code> which process the data submitted.</p> <p><code>index.php</code> looks like the below:</p> <pre><code>&lt;form action=&quot;test.php&quot;&gt;&lt;/form&gt; </code></pre> <p>It should cause an error if <code>test.php</code> looks lik...
[ { "answer_id": 74459578, "author": "Diego D", "author_id": 1221208, "author_profile": "https://Stackoverflow.com/users/1221208", "pm_score": 2, "selected": false, "text": "header ( \"Location: https://example.com\" );\necho 'Nice';\n" }, { "answer_id": 74459668, "author": "IM...
2022/11/16
[ "https://Stackoverflow.com/questions/74459547", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20454874/" ]
74,459,561
<p>I have three &lt;div class= emploBox &quot;&gt; and each has a button. Buttons do not have unique names. How can I find this particular button? I want to use class=cutTooLongTest and test 'automated tester' but I don't know how. wants to find the button marked in yellow.</p> <p><a href="https://i.stack.imgur.com/hDk...
[ { "answer_id": 74459578, "author": "Diego D", "author_id": 1221208, "author_profile": "https://Stackoverflow.com/users/1221208", "pm_score": 2, "selected": false, "text": "header ( \"Location: https://example.com\" );\necho 'Nice';\n" }, { "answer_id": 74459668, "author": "IM...
2022/11/16
[ "https://Stackoverflow.com/questions/74459561", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12200351/" ]
74,459,573
<p>I am implementing a Hexagonal Architecture with Domain Driven Design.</p> <p>I have a Value object called &quot;Address&quot; that has a &quot;validate()&quot; method. I would like to have a default validation provider for the address that is within my domain, but also allow external users to provide an overridden v...
[ { "answer_id": 74459578, "author": "Diego D", "author_id": 1221208, "author_profile": "https://Stackoverflow.com/users/1221208", "pm_score": 2, "selected": false, "text": "header ( \"Location: https://example.com\" );\necho 'Nice';\n" }, { "answer_id": 74459668, "author": "IM...
2022/11/16
[ "https://Stackoverflow.com/questions/74459573", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2599657/" ]
74,459,594
<p>I want to show the image title above the image after redirecting to user profile. I upload an image with a title and it only shows the image with the tags and user. I tried by adding the code in show.html.haml below but the title doesn't show at all. What I am doing wrong?</p> <p>photos_controller.rb</p> <pre><code>...
[ { "answer_id": 74459578, "author": "Diego D", "author_id": 1221208, "author_profile": "https://Stackoverflow.com/users/1221208", "pm_score": 2, "selected": false, "text": "header ( \"Location: https://example.com\" );\necho 'Nice';\n" }, { "answer_id": 74459668, "author": "IM...
2022/11/16
[ "https://Stackoverflow.com/questions/74459594", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11353686/" ]
74,459,602
<p>I'm using a loop and a nested loop, and i need the outer loop to stop whenever the second reaches a certain value.</p> <pre><code>for first in range(0,10): for second in range(0,10): print(first + second) </code></pre> <p>But i want it to skip to the next 'first' value if the second value is odd.</p> <p>I trie...
[ { "answer_id": 74459578, "author": "Diego D", "author_id": 1221208, "author_profile": "https://Stackoverflow.com/users/1221208", "pm_score": 2, "selected": false, "text": "header ( \"Location: https://example.com\" );\necho 'Nice';\n" }, { "answer_id": 74459668, "author": "IM...
2022/11/16
[ "https://Stackoverflow.com/questions/74459602", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20489654/" ]
74,459,626
<p>I would like to exclude some worksheets from my loop in Excel VBA.</p> <p>I used the following hint: <a href="https://superuser.com/questions/1299900/exclude-sheets-when-looping-through-sheets">https://superuser.com/questions/1299900/exclude-sheets-when-looping-through-sheets</a></p> <p>My code looks like this:</p> ...
[ { "answer_id": 74459657, "author": "Rory", "author_id": 3611989, "author_profile": "https://Stackoverflow.com/users/3611989", "pm_score": 3, "selected": true, "text": "ws For Each Dim ws As Worksheet\n\n\n For Each ws in Activeworkbook.worksheets\n If ws.Name <> \"BoQ\" And ws.Name <...
2022/11/16
[ "https://Stackoverflow.com/questions/74459626", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6694814/" ]
74,459,661
<p>I have a Flutter app with <code>GetX</code> Controllers. The app has 6 screens and every screen has its <code>GetxController</code>.</p> <p>Screens 1 and 2 are for the login system, while screens 3 to 6 are for the app content.</p> <p>After logging in the user can go forward and back between screens 3-4-5, but when ...
[ { "answer_id": 74459657, "author": "Rory", "author_id": 3611989, "author_profile": "https://Stackoverflow.com/users/3611989", "pm_score": 3, "selected": true, "text": "ws For Each Dim ws As Worksheet\n\n\n For Each ws in Activeworkbook.worksheets\n If ws.Name <> \"BoQ\" And ws.Name <...
2022/11/16
[ "https://Stackoverflow.com/questions/74459661", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6326261/" ]