qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
74,571,381
<p>I have the following <code>df</code> :</p> <pre><code>df=pd.DataFrame({ 'Q0_0': [&quot;A vs. Z&quot;, &quot;A vs. Bc&quot;, &quot;B vs. Z&quot;, &quot;B vs Bc&quot;, &quot;Bc vs. A&quot;, &quot;Bc vs. B&quot;, &quot;Z vs. A&quot;, &quot;Z vs. B&quot;, &quot;C vs. A&quot;, &quot;Bc vs. A&quot;], 'Q1_1': [np.r...
[ { "answer_id": 74571413, "author": "mozway", "author_id": 16343464, "author_profile": "https://Stackoverflow.com/users/16343464", "pm_score": 2, "selected": true, "text": "str.extract str.split vs. frozenset duplicated s = df['Q0_0'].str.extract('(\\w+)\\s*vs\\.?\\s*(\\w+)').agg(frozense...
2022/11/25
[ "https://Stackoverflow.com/questions/74571381", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15852600/" ]
74,571,395
<p>This is my html</p> <pre><code> &lt;div class=&quot;pr-2&quot; style=&quot;width: 130px&quot;&gt; &lt;div *ngIf=&quot;!element.editing&quot; &gt; &lt;span class=&quot;ss&quot;&gt;{{element.barcode}}&lt;/span&gt; &lt;/div&gt; &lt;div *ngIf=&quot;element.editing&qu...
[ { "answer_id": 74571413, "author": "mozway", "author_id": 16343464, "author_profile": "https://Stackoverflow.com/users/16343464", "pm_score": 2, "selected": true, "text": "str.extract str.split vs. frozenset duplicated s = df['Q0_0'].str.extract('(\\w+)\\s*vs\\.?\\s*(\\w+)').agg(frozense...
2022/11/25
[ "https://Stackoverflow.com/questions/74571395", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20386007/" ]
74,571,396
<p>repalce a string with python</p> <p>I have tried the replace function but it gives me an str error</p>
[ { "answer_id": 74571413, "author": "mozway", "author_id": 16343464, "author_profile": "https://Stackoverflow.com/users/16343464", "pm_score": 2, "selected": true, "text": "str.extract str.split vs. frozenset duplicated s = df['Q0_0'].str.extract('(\\w+)\\s*vs\\.?\\s*(\\w+)').agg(frozense...
2022/11/25
[ "https://Stackoverflow.com/questions/74571396", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16499617/" ]
74,571,403
<p>I have a data which contain 2 different language information.</p> <pre><code>IF OBJECT_ID('tempdb..#TblName') IS NOT NULL BEGIN DROP TABLE #TblName END CREATE TABLE #TblName ( JobNum varchar(10) ,CommentText nvarchar(max) ) INSERT INTO #TblName VALUES ('F001234','Vietnamese point-1; Vietnam...
[ { "answer_id": 74573580, "author": "Madhukar", "author_id": 7023503, "author_profile": "https://Stackoverflow.com/users/7023503", "pm_score": 1, "selected": true, "text": "IF OBJECT_ID('tempdb..#TblName') IS NOT NULL\n BEGIN\n DROP TABLE #TblName\n END\n\nIF OBJECT_ID('tempd...
2022/11/25
[ "https://Stackoverflow.com/questions/74571403", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20598188/" ]
74,571,410
<p>I experienced some weird behavior when I was reading a csv file into 2 dimensional byte slice. The first 42 rows are fine and after that it seems like extra line ending are put into the data which messes up things:</p> <p>first row in the first 42 times:</p> <pre><code>row 0: 504921600000000000,truck_0,South,Trish,H...
[ { "answer_id": 74571652, "author": "nj_", "author_id": 5993518, "author_profile": "https://Stackoverflow.com/users/5993518", "pm_score": 3, "selected": true, "text": "encoding/csv Bytes() // Bytes returns the most recent token generated by a call to Scan.\n// The underlying array may poi...
2022/11/25
[ "https://Stackoverflow.com/questions/74571410", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5565422/" ]
74,571,477
<p>I have created first dropdown which returns a bit. It is either Outbound or Inbound and based on that selection I need to enable the respective further Outbound or Inbound dropdown. It means one dropdown will remain disabled.</p> <pre><code> &lt;div class=&quot;form-group&quot; id=&quot;type&quot;&gt;...
[ { "answer_id": 74571652, "author": "nj_", "author_id": 5993518, "author_profile": "https://Stackoverflow.com/users/5993518", "pm_score": 3, "selected": true, "text": "encoding/csv Bytes() // Bytes returns the most recent token generated by a call to Scan.\n// The underlying array may poi...
2022/11/25
[ "https://Stackoverflow.com/questions/74571477", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20174900/" ]
74,571,482
<p>I am currently creating a dropdown where the value of it should by dynamic depending the selected value that I am going to use in different widget. This is my current dropdown stateful widget:</p> <p>periodic_modal.dart</p> <pre class="lang-dart prettyprint-override"><code>extension StringExtension on String { S...
[ { "answer_id": 74571652, "author": "nj_", "author_id": 5993518, "author_profile": "https://Stackoverflow.com/users/5993518", "pm_score": 3, "selected": true, "text": "encoding/csv Bytes() // Bytes returns the most recent token generated by a call to Scan.\n// The underlying array may poi...
2022/11/25
[ "https://Stackoverflow.com/questions/74571482", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10467473/" ]
74,571,489
<p>I have a v-autocomplete that only displays after I click on a loop button in my navbar.<br /> My application is supposed to allow the search on actors. I have a placeholder on this autocomplete and I'd like to style the appearance of it.<br /> At the moment it is black and in regular font, I'd like it white in itali...
[ { "answer_id": 74571879, "author": "Neha Soni", "author_id": 11834856, "author_profile": "https://Stackoverflow.com/users/11834856", "pm_score": 2, "selected": true, "text": "<style scoped>\n>>> ::placeholder {\n color: white !important;\n font-style: italic !important;\n}\n</style...
2022/11/25
[ "https://Stackoverflow.com/questions/74571489", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16162488/" ]
74,571,547
<p>I would like to know how to load the HTML form in the iframe in reactjs.</p> <p>I have one form component that has all the input fields, and I want to load that form component in the iframe. I would like to know how I can do that.</p> <pre><code>const Form = () =&gt; { return ( &lt;&gt; &lt;iframe name=&...
[ { "answer_id": 74571879, "author": "Neha Soni", "author_id": 11834856, "author_profile": "https://Stackoverflow.com/users/11834856", "pm_score": 2, "selected": true, "text": "<style scoped>\n>>> ::placeholder {\n color: white !important;\n font-style: italic !important;\n}\n</style...
2022/11/25
[ "https://Stackoverflow.com/questions/74571547", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12566640/" ]
74,571,584
<p>I need a function that splits the string by indexes specified in indexes. Wrong indexes must be ignored. My code:</p> <pre><code>def split_by_index(s: str, indexes: List[int]) -&gt; List[str]: parts = [s[i:j] for i,j in zip(indexes, indexes[1:]+[None])] return parts </code></pre> <p>My strings:</p> <pre><cod...
[ { "answer_id": 74571879, "author": "Neha Soni", "author_id": 11834856, "author_profile": "https://Stackoverflow.com/users/11834856", "pm_score": 2, "selected": true, "text": "<style scoped>\n>>> ::placeholder {\n color: white !important;\n font-style: italic !important;\n}\n</style...
2022/11/25
[ "https://Stackoverflow.com/questions/74571584", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17986583/" ]
74,571,588
<p>I'm using python to create a 3D surface map, I have an array of data I'm trying to plot as a 3D surface, the issue is that I have logged the Z axis (necessary to show peaks in data) which means the default colormap doesn't work (displays one continous color). I've tried using the LogNorm to normalise the colormap bu...
[ { "answer_id": 74571879, "author": "Neha Soni", "author_id": 11834856, "author_profile": "https://Stackoverflow.com/users/11834856", "pm_score": 2, "selected": true, "text": "<style scoped>\n>>> ::placeholder {\n color: white !important;\n font-style: italic !important;\n}\n</style...
2022/11/25
[ "https://Stackoverflow.com/questions/74571588", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12450454/" ]
74,571,603
<p>I have a dataframe like this:</p> <pre><code>data = {'SalePrice':[10,10,10,20,20,3,3,1,4,8,8],'HandoverDateA':['2022-04-30','2022-04-30','2022-04-30','2022-04-30','2022-04-30','2022-04-30','2022-04-30','2022-04-30','2022-04-30','2022-03-30','2022-03-30'],'ID': ['Tom', 'Tom','Tom','Joseph','Joseph','Ben','Ben','Eden'...
[ { "answer_id": 74571879, "author": "Neha Soni", "author_id": 11834856, "author_profile": "https://Stackoverflow.com/users/11834856", "pm_score": 2, "selected": true, "text": "<style scoped>\n>>> ::placeholder {\n color: white !important;\n font-style: italic !important;\n}\n</style...
2022/11/25
[ "https://Stackoverflow.com/questions/74571603", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5574107/" ]
74,571,607
<p>So I was doing something like this:</p> <pre><code> Base * pParentPtr // ... pParentPtr is used // Cast result pointer Derived* castedResult = (Derived*)pParentPtr; // Copy the referenced object to stack object Derived resultExplicitCopy = Derived(*castedResult); // run Derived class f...
[ { "answer_id": 74571879, "author": "Neha Soni", "author_id": 11834856, "author_profile": "https://Stackoverflow.com/users/11834856", "pm_score": 2, "selected": true, "text": "<style scoped>\n>>> ::placeholder {\n color: white !important;\n font-style: italic !important;\n}\n</style...
2022/11/25
[ "https://Stackoverflow.com/questions/74571607", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11261546/" ]
74,571,608
<p>If I have total qty = 100. and it has been shipped in 4 phases line 40, 10, 25, 25 that equals to 100. when I am running this query:</p> <p>Someone Helped me with this query. I want the same runnable for DB2.</p> <pre><code>SET totalQty = -1; SELECT IF(@totalQty&lt;0, pl.quantity, @totalQty) AS totalQty, pr.in...
[ { "answer_id": 74571996, "author": "Mark Barinstein", "author_id": 10418264, "author_profile": "https://Stackoverflow.com/users/10418264", "pm_score": 1, "selected": false, "text": "WITH MYTAB (PHASE_ID, QTY) AS\n(\n-- Your initial data as the result of\n-- your base SELECT statement\nVA...
2022/11/25
[ "https://Stackoverflow.com/questions/74571608", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20212658/" ]
74,571,611
<p>I have a Class like this that I want to serialize and deserialize</p> <pre><code>using Newtonsoft.Json; TestClass testClass = new TestClass(); testClass.Foo = &quot;Foo&quot;; testClass.Bar[0] = 3; // to JSON string json = JsonConvert.SerializeObject(testClass); // and back TestClass result = JsonConvert.Deseriali...
[ { "answer_id": 74571996, "author": "Mark Barinstein", "author_id": 10418264, "author_profile": "https://Stackoverflow.com/users/10418264", "pm_score": 1, "selected": false, "text": "WITH MYTAB (PHASE_ID, QTY) AS\n(\n-- Your initial data as the result of\n-- your base SELECT statement\nVA...
2022/11/25
[ "https://Stackoverflow.com/questions/74571611", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12107765/" ]
74,571,624
<p>So basically I have this list in code</p> <pre><code>list_names = [ {&quot;name&quot;:&quot;Jullemyth&quot;,&quot;seat_number&quot;:4,&quot;category&quot;:&quot;Student&quot;}, {&quot;name&quot;:&quot;Leonhard&quot;,&quot;seat_number&quot;:1,&quot;category&quot;:&quot;OFW&quot;}, {&quot;name&quot;:&quot;...
[ { "answer_id": 74571648, "author": "charon25", "author_id": 16114044, "author_profile": "https://Stackoverflow.com/users/16114044", "pm_score": 2, "selected": false, "text": "print([lst[\"name\"] for lst in list_names])\n" }, { "answer_id": 74571955, "author": "Alibederchi ",...
2022/11/25
[ "https://Stackoverflow.com/questions/74571624", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14811688/" ]
74,571,636
<p>I am new to PHP and I want to refresh the HTML table when I insert a list of data using the SQL command in XAMPP.</p> <blockquote> <p>This is the <code>index.php</code> that displays fetches data from the database and display it in the table.</p> </blockquote> <pre><code>`&lt;?php include(&quot;connect_db.php&quot;...
[ { "answer_id": 74571648, "author": "charon25", "author_id": 16114044, "author_profile": "https://Stackoverflow.com/users/16114044", "pm_score": 2, "selected": false, "text": "print([lst[\"name\"] for lst in list_names])\n" }, { "answer_id": 74571955, "author": "Alibederchi ",...
2022/11/25
[ "https://Stackoverflow.com/questions/74571636", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15772809/" ]
74,571,665
<p>Why can't I add null in the list of model data arrays in Kotlin language?</p> <p><a href="https://i.stack.imgur.com/HIIMB.png" rel="nofollow noreferrer">enter image description here</a></p> <pre><code>adapterPaging!!.setOnLoadMoreListener { var customersModels: List&lt;CustomersModel&gt; = ArrayList() ...
[ { "answer_id": 74572410, "author": "cactustictacs", "author_id": 13598222, "author_profile": "https://Stackoverflow.com/users/13598222", "pm_score": 2, "selected": true, "text": "var customersModels: List<CustomersModel> = ArrayList()\n customersModels List add MutableList ArrayList add ...
2022/11/25
[ "https://Stackoverflow.com/questions/74571665", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15346902/" ]
74,571,696
<p>I have a outlook plugin that add custom categories to outlook when add-in startup completes.</p> <pre><code> public void CreateCategories() { RDOCategories categories = null; RDOCategory category = null; try { var customCategoryList...
[ { "answer_id": 74572410, "author": "cactustictacs", "author_id": 13598222, "author_profile": "https://Stackoverflow.com/users/13598222", "pm_score": 2, "selected": true, "text": "var customersModels: List<CustomersModel> = ArrayList()\n customersModels List add MutableList ArrayList add ...
2022/11/25
[ "https://Stackoverflow.com/questions/74571696", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6611760/" ]
74,571,705
<p>I'm building an interactive widget that consists in making a button list out of a list of HTML markups. To achieve that, the HTML markup is wrapped with a button-like component <code>&lt;div role=&quot;button&quot; tabindex=&quot;0&quot; aria-label=&quot;Action...&quot;&gt;</code>. When clicking on the button, some ...
[ { "answer_id": 74599481, "author": "Andy", "author_id": 608042, "author_profile": "https://Stackoverflow.com/users/608042", "pm_score": 2, "selected": false, "text": "<button aria-label=\"Label text … additional text\">\n <div inert>\n …\n <a tabindex=\"-1\"\n aria-hidden=\"...
2022/11/25
[ "https://Stackoverflow.com/questions/74571705", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5548351/" ]
74,571,722
<p>Is there an algorithm similar to the bloom filter, that allows you to:</p> <ol> <li>Compactly represent two (large) sets independently of each other and</li> <li>probabilistically check for disjointness between them using their lossy-compressed representations?</li> </ol> <p>In the special case where one set only ha...
[ { "answer_id": 74599481, "author": "Andy", "author_id": 608042, "author_profile": "https://Stackoverflow.com/users/608042", "pm_score": 2, "selected": false, "text": "<button aria-label=\"Label text … additional text\">\n <div inert>\n …\n <a tabindex=\"-1\"\n aria-hidden=\"...
2022/11/25
[ "https://Stackoverflow.com/questions/74571722", "https://Stackoverflow.com", "https://Stackoverflow.com/users/139802/" ]
74,571,736
<p>I usually checked this with the following code:</p> <pre><code>$email = '/[^@:=&quot;\'\s]*@[^@\s]*\.[a-z]+/iU'; if(preg_match($email,$article-&gt;text) == true) { to something } </code></pre> <p>In PHP 8 this is deprecated (Works, but with warning), because I can't always guarantee that there really is an email in ...
[ { "answer_id": 74572452, "author": "Álvaro González", "author_id": 13508, "author_profile": "https://Stackoverflow.com/users/13508", "pm_score": 2, "selected": false, "text": "declare(strict_types=1);\n if ($article->text !== null && preg_match($email, $article->text)) {\n}\n if (preg_ma...
2022/11/25
[ "https://Stackoverflow.com/questions/74571736", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19270976/" ]
74,571,751
<p>Below code snippet gives error. Can someone guide why this is happening?</p> <pre><code>class Test() private constructor { constructor(name: String): this() { println(&quot;test called constructor $name&quot;) } } fun main() { Test(&quot;hk&quot;) } </code></pre> <p>Removing private...
[ { "answer_id": 74571845, "author": "Sunny", "author_id": 909317, "author_profile": "https://Stackoverflow.com/users/909317", "pm_score": 2, "selected": true, "text": "class Test private constructor() {\n\n constructor(name: String): this() {\n println(\"test called constructor $name\...
2022/11/25
[ "https://Stackoverflow.com/questions/74571751", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8547203/" ]
74,571,757
<pre><code>new Thread(() -&gt; { while (true){ Scanner sc = new Scanner(System.in); StringBuilder builder = new StringBuilder(); System.out.println(&quot;请输入要输出的文本:&quot;); while (sc.hasNextLine()) { builder.append(sc.nextLine()); } System.out.println(buil...
[ { "answer_id": 74571845, "author": "Sunny", "author_id": 909317, "author_profile": "https://Stackoverflow.com/users/909317", "pm_score": 2, "selected": true, "text": "class Test private constructor() {\n\n constructor(name: String): this() {\n println(\"test called constructor $name\...
2022/11/25
[ "https://Stackoverflow.com/questions/74571757", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16214891/" ]
74,571,765
<p>i have a csv file which has a column named 'jsonColumn'. below is a sample data.</p> <pre><code>jsonColumn {&quot;page&quot;:&quot;mainpage&quot;,&quot;_timestamp&quot;:&quot;2022-11-22T10:47:45.8060+01:00&quot;,&quot;object&quot;:&quot;object1&quot;,&quot;destination&quot;:&quot;destination1&quot;,&quot;subObject&q...
[ { "answer_id": 74571845, "author": "Sunny", "author_id": 909317, "author_profile": "https://Stackoverflow.com/users/909317", "pm_score": 2, "selected": true, "text": "class Test private constructor() {\n\n constructor(name: String): this() {\n println(\"test called constructor $name\...
2022/11/25
[ "https://Stackoverflow.com/questions/74571765", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11960929/" ]
74,571,787
<p>I would want to generate a new object type having only the properties of another Object that matches the requested types. Like Pick do, but specifying the types and not the property names.</p> <p>For example:</p> <pre><code>interface A { a: string; b: number; c: string[]; d: { [key: string]: never }; } </cod...
[ { "answer_id": 74571970, "author": "Dimava", "author_id": 5734961, "author_profile": "https://Stackoverflow.com/users/5734961", "pm_score": 2, "selected": false, "text": "interface A {\n a: string;\n b: number;\n c: string[];\n d: { [key: string]: never };\n}\n\ntype PickPropertyType...
2022/11/25
[ "https://Stackoverflow.com/questions/74571787", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1335141/" ]
74,571,792
<p>Here is my snippet:</p> <pre><code>core = client.CoreV1Api() apps = client.AppsV1Api() def get_pod_parent(resource, tmp): if resource.metadata.owner_references: parrent = eval(f&quot;apps.read_namespaced_{re.sub(r'(?&lt;!^)(?=[A-Z])', '_', resource.metadata.owner_references[0].kind).lower()}&quot;)( ...
[ { "answer_id": 74571876, "author": "K-D-G", "author_id": 9836388, "author_profile": "https://Stackoverflow.com/users/9836388", "pm_score": 1, "selected": false, "text": "return resource\n" }, { "answer_id": 74572411, "author": "htodev", "author_id": 12798744, "author_...
2022/11/25
[ "https://Stackoverflow.com/questions/74571792", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12798744/" ]
74,571,795
<p>It was working fine, but it stopped working.</p> <pre><code>const SearchBar = ({ carddata}) =&gt; { let arr = []; function searchResult(e) { if (e.key === &quot;Enter&quot;) { if (e.target.value === &quot;&quot;) return; arr = []; carddata.filter((result) =&gt; { if (`${r...
[ { "answer_id": 74571857, "author": "Mohammed Shahed", "author_id": 19067773, "author_profile": "https://Stackoverflow.com/users/19067773", "pm_score": 0, "selected": false, "text": "value input <input\nvalue={somestate}\nonChange={e=> setState(e.target.value)}\n/>\n" }, { "answer...
2022/11/25
[ "https://Stackoverflow.com/questions/74571795", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20393875/" ]
74,571,800
<p>My react app won't be <strong>public</strong>, It will be called by some other application(rails application with redirect_to) that is written in another programming language(ruby on rails).</p> <p>To launch my react app, I want post requests to be used and they will redirect to my react application.</p> <p>That's b...
[ { "answer_id": 74571857, "author": "Mohammed Shahed", "author_id": 19067773, "author_profile": "https://Stackoverflow.com/users/19067773", "pm_score": 0, "selected": false, "text": "value input <input\nvalue={somestate}\nonChange={e=> setState(e.target.value)}\n/>\n" }, { "answer...
2022/11/25
[ "https://Stackoverflow.com/questions/74571800", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20569884/" ]
74,571,815
<p>Consider the following code (<a href="https://godbolt.org/z/6cYq8Mhqd" rel="nofollow noreferrer">godbolt</a>):</p> <pre><code>#include &lt;optional&gt; #include &lt;array&gt; struct LargeType { std::array&lt;int, 256&gt; largeContents; }; LargeType doSomething(); std::optional&lt;LargeType&gt; wrapIntoOptiona...
[ { "answer_id": 74571899, "author": "user17732522", "author_id": 17732522, "author_profile": "https://Stackoverflow.com/users/17732522", "pm_score": 3, "selected": false, "text": "doSomething()" }, { "answer_id": 74572802, "author": "smitsyn", "author_id": 11158992, "a...
2022/11/25
[ "https://Stackoverflow.com/questions/74571815", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1408611/" ]
74,571,817
<p>I have a dataset in excel with multiple columns that contain one specific set of data that is randomly distributed within these columns. The data looks like this:</p> <pre><code>Col1 Col2 Col3 Col4 Col5 Col6 Data 34 NA NA NA NA NA NA Data 32 NA NA NA NA NA NA Data 12 NA ...
[ { "answer_id": 74571919, "author": "arg0naut91", "author_id": 8389003, "author_profile": "https://Stackoverflow.com/users/8389003", "pm_score": 1, "selected": false, "text": "df df[] <- lapply(df, as.character)\ndf <- data.frame(Data = c(t(df)), stringsAsFactors = FALSE)\n\nsubset(df, av...
2022/11/25
[ "https://Stackoverflow.com/questions/74571817", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11361967/" ]
74,571,840
<p>I'm trying to run a macro with an IF AND THEN statement in a sheet with ListObjects.</p> <p><a href="https://i.stack.imgur.com/8tHai.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8tHai.png" alt="enter image description here" /></a></p> <p>In sheet &quot;CommissionVoice&quot; the macro has to che...
[ { "answer_id": 74571919, "author": "arg0naut91", "author_id": 8389003, "author_profile": "https://Stackoverflow.com/users/8389003", "pm_score": 1, "selected": false, "text": "df df[] <- lapply(df, as.character)\ndf <- data.frame(Data = c(t(df)), stringsAsFactors = FALSE)\n\nsubset(df, av...
2022/11/25
[ "https://Stackoverflow.com/questions/74571840", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10011370/" ]
74,571,849
<p>I am trying to generate some R code that creates a data.frame (or tibble). E.g. like this:</p> <pre><code>library(tidyverse) example_data &lt;- tibble(`Letter number`=1:10, Letter=letters[1:10]) </code></pre> <p>I.e. without creating a .csv or .rds file that gets loaded. This is for some training material (a standal...
[ { "answer_id": 74571919, "author": "arg0naut91", "author_id": 8389003, "author_profile": "https://Stackoverflow.com/users/8389003", "pm_score": 1, "selected": false, "text": "df df[] <- lapply(df, as.character)\ndf <- data.frame(Data = c(t(df)), stringsAsFactors = FALSE)\n\nsubset(df, av...
2022/11/25
[ "https://Stackoverflow.com/questions/74571849", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7744356/" ]
74,571,858
<p>I want to re-start my app through Pending intent. Below code is not working.</p> <pre><code>val intent = Intent(this, Activity::class.java).apply { flags = Intent.FLAG_ACTIVITY_CLEAR_TOP } val pendingIntentId = 1 val pendingIntent = PendingIntent.getActivity(this, pendingIntentId, intent, PendingIntent.FLAG_CAN...
[ { "answer_id": 74613696, "author": "TIMBLOCKER", "author_id": 15959434, "author_profile": "https://Stackoverflow.com/users/15959434", "pm_score": 1, "selected": false, "text": "ProcessPhoenix.triggerRebirth(context);\n Intent nextIntent = //...\nProcessPhoenix.triggerRebirth(context, nex...
2022/11/25
[ "https://Stackoverflow.com/questions/74571858", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2914684/" ]
74,571,865
<p>We develop with Viewport3D a chart looks like this <a href="https://i.stack.imgur.com/MrGoU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MrGoU.png" alt="normal appearence" /></a></p> <p>It works a long time very well, but this week a cutomer send as following screen shot: <a href="https://i.sta...
[ { "answer_id": 74613696, "author": "TIMBLOCKER", "author_id": 15959434, "author_profile": "https://Stackoverflow.com/users/15959434", "pm_score": 1, "selected": false, "text": "ProcessPhoenix.triggerRebirth(context);\n Intent nextIntent = //...\nProcessPhoenix.triggerRebirth(context, nex...
2022/11/25
[ "https://Stackoverflow.com/questions/74571865", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3090965/" ]
74,571,947
<p>I have some logfiles in some directories which are <code>.txt</code> files and in their names they have some unique name code which are in <code>ddMMyyy</code> format for example <code>BlockPanel Logs_**23112022_00**.txt</code> the bolded block is that unique name which is a date as I said. What I want to do is filt...
[ { "answer_id": 74572185, "author": "vivek nuna", "author_id": 6527049, "author_profile": "https://Stackoverflow.com/users/6527049", "pm_score": 1, "selected": false, "text": "SubString var myFiles = Directory\n .EnumerateFiles(dir, \"*.txt\", SearchOption.AllDirectories)\n .Where(s...
2022/11/25
[ "https://Stackoverflow.com/questions/74571947", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15604508/" ]
74,571,953
<p>For my Django CMS Admin I would like to prevent it returning a specific object to the CMS. What is the best way to do this?</p> <p>I would like to do something like</p> <pre><code>class MyModuleAdmin(admin.ModelAdmin): list_display = ['name'] list_filter = ('my_module__name__is_not=moduleidontwant',) </code...
[ { "answer_id": 74572431, "author": "G. Vallereau", "author_id": 6609345, "author_profile": "https://Stackoverflow.com/users/6609345", "pm_score": 1, "selected": false, "text": "get_queryset class MyModuleAdmin(admin.ModelAdmin):\n list_display = ['name']\n\n def get_queryset(self, ...
2022/11/25
[ "https://Stackoverflow.com/questions/74571953", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14183621/" ]
74,571,960
<p>I have some javascript which will change the <code>col-span-{x}</code> class of a div to correctly give the element its width on the page. I would like this change to be animated over a second instead of an instant jump.</p> <pre><code>&lt;div class=&quot;card col-span-{colSpan} transition duration-1000&quot;&gt;......
[ { "answer_id": 74572891, "author": "superdunck", "author_id": 15721671, "author_profile": "https://Stackoverflow.com/users/15721671", "pm_score": 0, "selected": false, "text": "transition transition-all transition" }, { "answer_id": 74573969, "author": "Matvey Andreyev", ...
2022/11/25
[ "https://Stackoverflow.com/questions/74571960", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15691/" ]
74,571,963
<p>I have to write a function to recognize if unknown value has specific property. Unfortunately typescript still don't know what kind of value I have.</p> <p>Here is my code:</p> <pre><code>export function isMySpecificError(error: unknown) { if (error &amp;&amp; typeof error === 'object' &amp;&amp; 'code' in error &...
[ { "answer_id": 74572059, "author": "Dimava", "author_id": 5734961, "author_profile": "https://Stackoverflow.com/users/5734961", "pm_score": 0, "selected": false, "text": "interface ErrorWithCode<T extends number = number> extends Error {\n code: T\n}\n\nfunction isErrorWithCode<T extend...
2022/11/25
[ "https://Stackoverflow.com/questions/74571963", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9284037/" ]
74,571,986
<p>I want like a this button but I can not make it</p> <p>Please tell me that how to make about</p> <p><a href="https://i.stack.imgur.com/fOA9m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fOA9m.png" alt="enter image description here" /></a></p> <p>I did tryed code</p> <pre><code>ElevatedButton( s...
[ { "answer_id": 74572205, "author": "Kemal Yilmaz", "author_id": 20518203, "author_profile": "https://Stackoverflow.com/users/20518203", "pm_score": 0, "selected": false, "text": "Card(\n elevation: 8,\n color: Color.fromARGB(255, 132, 255, 199),\n shape: RoundedRectangleBorder(\...
2022/11/25
[ "https://Stackoverflow.com/questions/74571986", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18096205/" ]
74,571,988
<p><a href="https://i.stack.imgur.com/vaeLh.jpg" rel="nofollow noreferrer">The series:- </a> I want to write a python program in which we can can input the the value of x and n and solve this series. can anyone help me please? <strong>The Series:- x-x^2+x^3/3-x^4/4+...x^n/n</strong></p> <pre><code>x = int (input (&quot...
[ { "answer_id": 74572155, "author": "Hein de Wilde", "author_id": 7746170, "author_profile": "https://Stackoverflow.com/users/7746170", "pm_score": 1, "selected": false, "text": "x = int(input(\"Enter value of x: \"))\nn = int(input(\"Enter value of n: \"))\ntotal = x\n\nfor i in range(2,...
2022/11/25
[ "https://Stackoverflow.com/questions/74571988", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20237989/" ]
74,572,019
<p>I want to flag Komp and Bauspar if either one of them is &lt;1 with -, &gt;1 with + and if one of them is blank --&gt; no flag. Tried the following, but it produces with two 2022_Bauspar_flag columns somehow? Can you give me hint? Thanks a lot. Kind regards, Ben</p> <pre><code>%macro target_years2(table,type); %loca...
[ { "answer_id": 74572155, "author": "Hein de Wilde", "author_id": 7746170, "author_profile": "https://Stackoverflow.com/users/7746170", "pm_score": 1, "selected": false, "text": "x = int(input(\"Enter value of x: \"))\nn = int(input(\"Enter value of n: \"))\ntotal = x\n\nfor i in range(2,...
2022/11/25
[ "https://Stackoverflow.com/questions/74572019", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13899067/" ]
74,572,028
<p>I have a dataframe (cells) that it looks like this (it has more rows):</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>ID</th> <th style="text-align: right;">Time(min) </th> <th style="text-align: right;">Cell1</th> <th style="text-align: right;">Cell2</th> <th style="text-align: right;"...
[ { "answer_id": 74572155, "author": "Hein de Wilde", "author_id": 7746170, "author_profile": "https://Stackoverflow.com/users/7746170", "pm_score": 1, "selected": false, "text": "x = int(input(\"Enter value of x: \"))\nn = int(input(\"Enter value of n: \"))\ntotal = x\n\nfor i in range(2,...
2022/11/25
[ "https://Stackoverflow.com/questions/74572028", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9152842/" ]
74,572,037
<p>I am trying to center text in my content container. In my full versions, I have a wrapper, a header, a footer and a content containers and would like to center text horizontally and vertically inside the content container for some specific pages. Unfortunately when the number of lines exceeds the size of the content...
[ { "answer_id": 74572155, "author": "Hein de Wilde", "author_id": 7746170, "author_profile": "https://Stackoverflow.com/users/7746170", "pm_score": 1, "selected": false, "text": "x = int(input(\"Enter value of x: \"))\nn = int(input(\"Enter value of n: \"))\ntotal = x\n\nfor i in range(2,...
2022/11/25
[ "https://Stackoverflow.com/questions/74572037", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20598583/" ]
74,572,055
<p>I need to create a measure that subtracts 2 months from the date column &quot;Sale_Date&quot;. However, when I use the below measure I get error &quot;Wrong Data type&quot;. Something is wrong in day argument of date function. Because when I hardcode the day value , I start getting results</p> <pre><code>Min_Date =...
[ { "answer_id": 74573117, "author": "Peter", "author_id": 7108589, "author_profile": "https://Stackoverflow.com/users/7108589", "pm_score": 3, "selected": true, "text": "Min_Date = \nVAR thisdate = MAX(EX4[Sale_Date])\nRETURN\n DATE(YEAR(thisdate), MONTH(thisdate) - 2, DAY(thisdate))\n...
2022/11/25
[ "https://Stackoverflow.com/questions/74572055", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4054314/" ]
74,572,069
<p>I am working on Cypress API Automation task and want to pass value to an endpoint. I fetched value from postgress database and stored it in a variable called <strong>user_id</strong>. But I am facing issue while hitting endpoint.</p> <p><strong>Value fetched from database:</strong></p> <blockquote> <p>log[{user_id: ...
[ { "answer_id": 74572118, "author": "Delano van londen", "author_id": 19923550, "author_profile": "https://Stackoverflow.com/users/19923550", "pm_score": 0, "selected": false, "text": "cy.url().should('include', '/user_id') \n" }, { "answer_id": 74575554, "author": "jjhelguero...
2022/11/25
[ "https://Stackoverflow.com/questions/74572069", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2857455/" ]
74,572,070
<p>i dont want to keep repeat Almost the same code</p> <p>look like this</p> <p><a href="https://codepen.io/lechan87/pen/LYrmQaW" rel="nofollow noreferrer">codepen</a></p> <pre><code>const text01_edit = document.querySelector(&quot;.text01_edit&quot;); const input_text01 = document.querySelector(&quot;.text01_contain&q...
[ { "answer_id": 74572118, "author": "Delano van londen", "author_id": 19923550, "author_profile": "https://Stackoverflow.com/users/19923550", "pm_score": 0, "selected": false, "text": "cy.url().should('include', '/user_id') \n" }, { "answer_id": 74575554, "author": "jjhelguero...
2022/11/25
[ "https://Stackoverflow.com/questions/74572070", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20116577/" ]
74,572,084
<p>I'm using a simple script to check when something is in the viewport which then adds a class.</p> <p>However the script stops working in Webpack when I try to import anything.</p> <p>Below is basic example of importing which breaks my JS file. It doesn't matter what order I put the import and script etc.</p> <pre><c...
[ { "answer_id": 74614049, "author": "JohanSellberg", "author_id": 551049, "author_profile": "https://Stackoverflow.com/users/551049", "pm_score": 1, "selected": false, "text": "import bar from './bar.js';\n\nbar();\n" }, { "answer_id": 74650972, "author": "Andrew Shearer", ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572084", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2648610/" ]
74,572,102
<p>I want to hand over the name of a variable as a string to the <code>order_by</code> argument of <code>dplyr::slice_max()</code>, but I'm getting weird results. Using the <code>iris</code> data here.</p> <pre><code>library(dplyr) lastcol &lt;- first(colnames(iris)) </code></pre> <p>My expected result would be a df/t...
[ { "answer_id": 74614049, "author": "JohanSellberg", "author_id": 551049, "author_profile": "https://Stackoverflow.com/users/551049", "pm_score": 1, "selected": false, "text": "import bar from './bar.js';\n\nbar();\n" }, { "answer_id": 74650972, "author": "Andrew Shearer", ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572102", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2123452/" ]
74,572,111
<p>I have Modal box popin with some text wrapped in a function. This modal is displayed when you click on a div.</p> <p>Now I want to add a separate script with a div and when you click this div I want it to call the modal function and display that same modal popin.</p> <p>Can anyone help me?</p> <p>Here is the modal c...
[ { "answer_id": 74614049, "author": "JohanSellberg", "author_id": 551049, "author_profile": "https://Stackoverflow.com/users/551049", "pm_score": 1, "selected": false, "text": "import bar from './bar.js';\n\nbar();\n" }, { "answer_id": 74650972, "author": "Andrew Shearer", ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572111", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18769882/" ]
74,572,123
<p>I am confused about the differences between the useRef hook and a plain variable inside the component.</p> <p>Am I right that every component renders, the plain variable also re-renders and persists its value, but the useRef just persists the value and does not re-render?</p> <p>If that so, what would you recommend ...
[ { "answer_id": 74572224, "author": "Mohammed Shahed", "author_id": 19067773, "author_profile": "https://Stackoverflow.com/users/19067773", "pm_score": 2, "selected": false, "text": "useRef useRef useRef" }, { "answer_id": 74572283, "author": "Oleg Brazhnichenko", "author_...
2022/11/25
[ "https://Stackoverflow.com/questions/74572123", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15958428/" ]
74,572,140
<p>I've got a following table in csv:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>Date</th> <th>Results</th> </tr> </thead> <tbody> <tr> <td>2015/09/01</td> <td>1 811</td> </tr> <tr> <td>2015/09/03</td> <td>1 009</td> </tr> <tr> <td>2015/09/20</td> <td>1 889</td> </tr> <tr> <td>2015/10/...
[ { "answer_id": 74572224, "author": "Mohammed Shahed", "author_id": 19067773, "author_profile": "https://Stackoverflow.com/users/19067773", "pm_score": 2, "selected": false, "text": "useRef useRef useRef" }, { "answer_id": 74572283, "author": "Oleg Brazhnichenko", "author_...
2022/11/25
[ "https://Stackoverflow.com/questions/74572140", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20378645/" ]
74,572,159
<p>I tried to convert PDF file that contains the data table to excel file. Here is my cord.</p> <pre><code>import tabula # Read PDF File df = tabula.read_pdf(&quot;files/Seniority List 2018 19.pdf&quot;, pages = 1) # Convert into Excel File df.to_excel('files/excel.xlsx') </code></pre> <p>but error occurred.</p> ...
[ { "answer_id": 74572224, "author": "Mohammed Shahed", "author_id": 19067773, "author_profile": "https://Stackoverflow.com/users/19067773", "pm_score": 2, "selected": false, "text": "useRef useRef useRef" }, { "answer_id": 74572283, "author": "Oleg Brazhnichenko", "author_...
2022/11/25
[ "https://Stackoverflow.com/questions/74572159", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16122184/" ]
74,572,165
<p>Hi i am trying to split the column<br /> Below is my df</p> <pre><code>value = c(&quot;AB/cc/dd/id,1,3,33&quot;,&quot;CC/DD/EE/F,F/GG,22,33,4&quot;,&quot;AB/cc,22,2,34&quot;,&quot;KK/SS/G,G,3,22,41&quot;) df = data.frame(value) </code></pre> <p>I am trying to split the column and get the string untill 3rd &quot;com...
[ { "answer_id": 74572351, "author": "Ricardo Semião e Castro", "author_id": 13048728, "author_profile": "https://Stackoverflow.com/users/13048728", "pm_score": 0, "selected": false, "text": "gsub gsub(\"[^[:alpha:],/]\", \"\", value) |> gsub(\",+$\", \"\", .)\n[1] \"AB/cc/dd/id\" \"CC...
2022/11/25
[ "https://Stackoverflow.com/questions/74572165", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9097114/" ]
74,572,166
<p>I am developing a scala web application with http4s and use tapir for endpoints. I am new in it, and now I am looking for a better way to organize my project.</p> <p>Now I have different classes with endpoints description and server logic in one. They have a java-spring-like name controller. For example:</p> <pre><c...
[ { "answer_id": 74572351, "author": "Ricardo Semião e Castro", "author_id": 13048728, "author_profile": "https://Stackoverflow.com/users/13048728", "pm_score": 0, "selected": false, "text": "gsub gsub(\"[^[:alpha:],/]\", \"\", value) |> gsub(\",+$\", \"\", .)\n[1] \"AB/cc/dd/id\" \"CC...
2022/11/25
[ "https://Stackoverflow.com/questions/74572166", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20595039/" ]
74,572,195
<p>I can compare the length but, I can't return mismatch value.</p> <pre class="lang-js prettyprint-override"><code>var str1 =&quot;zoho&quot;; var str2 =&quot;zogo&quot;; //find the mismatched one let output = hg; let names = &quot;zoho&quot;; let nam2= &quot;zogo&quot; let rest = names.match(nam2) console.log(rest...
[ { "answer_id": 74572340, "author": "Mina", "author_id": 11887902, "author_profile": "https://Stackoverflow.com/users/11887902", "pm_score": 1, "selected": false, "text": "length const findDifference = (first, second) => {\n let diff = ''\n for (let i = 0; i < first.length; i++) {\n ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572195", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20598739/" ]
74,572,209
<p><a href="https://i.stack.imgur.com/KWXAV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KWXAV.png" alt="enter image description here" /></a></p> <p>Hi all,</p> <p>I have a table as shown in the screenshot above. I wrote a query using <code>CASE</code> statement so that it will return extra column...
[ { "answer_id": 74576372, "author": "nnichols", "author_id": 1191247, "author_profile": "https://Stackoverflow.com/users/1191247", "pm_score": 2, "selected": true, "text": "SELECT \n student_id,\n GROUP_CONCAT(IF(class = 'class 1', enrollment_date, null)) 'Class 1 Enrolled',\n GR...
2022/11/25
[ "https://Stackoverflow.com/questions/74572209", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15002748/" ]
74,572,221
<p>I've been running into some issues involving React and React Router Dom. For some reason, nothing is showing when I us the nom start command. The browser window opens, but it just display a white screen. Nothing I do seems to work. I think it has something to do with my navigation bar.</p> <p>My code is as follows:<...
[ { "answer_id": 74572342, "author": "oykn", "author_id": 18080318, "author_profile": "https://Stackoverflow.com/users/18080318", "pm_score": 0, "selected": false, "text": " import { BrowserRouter } from 'react-router-dom';\n const root = ReactDOM.createRoot(\n document.getElementBy...
2022/11/25
[ "https://Stackoverflow.com/questions/74572221", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13294972/" ]
74,572,244
<p><a href="https://i.stack.imgur.com/THaB8.png" rel="nofollow noreferrer">enter image description here</a>[<a href="https://i.stack.imgur.com/Ba4ld.png" rel="nofollow noreferrer">enter image description here</a>](<a href="https://i.stack.imgur.com/HxY0x.png" rel="nofollow noreferrer">https://i.stack.imgur.com/HxY0x.pn...
[ { "answer_id": 74572342, "author": "oykn", "author_id": 18080318, "author_profile": "https://Stackoverflow.com/users/18080318", "pm_score": 0, "selected": false, "text": " import { BrowserRouter } from 'react-router-dom';\n const root = ReactDOM.createRoot(\n document.getElementBy...
2022/11/25
[ "https://Stackoverflow.com/questions/74572244", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20598850/" ]
74,572,250
<p>I'm trying to split a string ultimately into a 2D array with a semi colon as a delimiter.</p> <pre><code>var str = &quot;2;poisson poisson 3; Fromage 6;Monique&quot; </code></pre> <p>to</p> <pre><code>var arr = [2, &quot;poisson poisson&quot;], [3,&quot; Fro...
[ { "answer_id": 74572396, "author": "The fourth bird", "author_id": 5424988, "author_profile": "https://Stackoverflow.com/users/5424988", "pm_score": 2, "selected": false, "text": "\\b(\\d+);([^]+?)(?=\\n\\s*\\d+;|$)\n \\b (\\d+); ; ( [^]+? ) (?= \\n\\s*\\d+;|$ ) const str = `2;poisson\n ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572250", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1654143/" ]
74,572,269
<p>I'm taking an IONIC + Angular course, and I'm having a little problem uploading the apk project to my cell phone, I'm using cordova. As soon as I connect the cell to the computer and it's time to run the command &quot;ionic cordova run android&quot; it gives some errors, it could be the versions that I have installe...
[ { "answer_id": 74577290, "author": "João Marcos Saol", "author_id": 18373464, "author_profile": "https://Stackoverflow.com/users/18373464", "pm_score": 1, "selected": false, "text": "ANDROID_SDK_ROOT=/home/username/Android/Sdk (recommended setting)\nANDROID_HOME=/home/username/Android/Sd...
2022/11/25
[ "https://Stackoverflow.com/questions/74572269", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13764317/" ]
74,572,294
<p>We're in the process of replacing our custom react components with components from the company's design system. These are web-components and it has been made a react-wrapper to make them work in React.</p> <p>The element is rendered like this in our app:</p> <pre><code>&lt;custom-button title=&quot;&quot; data-test-...
[ { "answer_id": 74575623, "author": "jjhelguero", "author_id": 17917809, "author_profile": "https://Stackoverflow.com/users/17917809", "pm_score": 0, "selected": false, "text": "custom-button button disabled cy.getByTestId('save').find('button').should('be.disabled')\ncy.getByTestId('save...
2022/11/25
[ "https://Stackoverflow.com/questions/74572294", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4533252/" ]
74,572,373
<p>I have the following Array of objects:</p> <pre><code>let objOperacion = [ { &quot;OPERACION&quot;: { &quot;ID_OP&quot;: 1 }, &quot;GEOJSON&quot;: [ { &quot;type&quot;: &quot;Feature&quot;, &quot;propertie...
[ { "answer_id": 74575623, "author": "jjhelguero", "author_id": 17917809, "author_profile": "https://Stackoverflow.com/users/17917809", "pm_score": 0, "selected": false, "text": "custom-button button disabled cy.getByTestId('save').find('button').should('be.disabled')\ncy.getByTestId('save...
2022/11/25
[ "https://Stackoverflow.com/questions/74572373", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19672488/" ]
74,572,379
<p>I have a list of residents who have different professions including being a student. However, some have written “Student” or “Overseas Student” or something else with the word student in it. I would like Power Query to search the column for any cell containing “Student” and replace it with “Student” so it removes an...
[ { "answer_id": 74575623, "author": "jjhelguero", "author_id": 17917809, "author_profile": "https://Stackoverflow.com/users/17917809", "pm_score": 0, "selected": false, "text": "custom-button button disabled cy.getByTestId('save').find('button').should('be.disabled')\ncy.getByTestId('save...
2022/11/25
[ "https://Stackoverflow.com/questions/74572379", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20598989/" ]
74,572,397
<p>The problem started when I needed to apply conditional formatting to a table with smooth color changes in MS SQL Server Reporting Services (SSRS). It is impossible with standard SSRS functionality. But you can use the table data to smoothly change the color with the Lightness parameter in the HSL color model.</p> <p...
[ { "answer_id": 74572580, "author": "Roman Udaltsov", "author_id": 6773185, "author_profile": "https://Stackoverflow.com/users/6773185", "pm_score": 0, "selected": false, "text": "create function dbo.f_convertHSL (\n @HueDegree numeric(3,0), \n @Saturation numeric(6,3), \n @Light...
2022/11/25
[ "https://Stackoverflow.com/questions/74572397", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6773185/" ]
74,572,412
<p>I wanted to develop a Sudoku app. I have created a list for all positions in the game field. To display the fields I used a grid view. However, I have the problem that white lines appear in the grid view and I don't understand why. In the attached image you can see this in more detail.</p> <p>Here is my code for the...
[ { "answer_id": 74572580, "author": "Roman Udaltsov", "author_id": 6773185, "author_profile": "https://Stackoverflow.com/users/6773185", "pm_score": 0, "selected": false, "text": "create function dbo.f_convertHSL (\n @HueDegree numeric(3,0), \n @Saturation numeric(6,3), \n @Light...
2022/11/25
[ "https://Stackoverflow.com/questions/74572412", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18127602/" ]
74,572,432
<p>If I have lists with x lists and and for example</p> <pre><code>[[(1,2),(1,4)],[(7,5),(5,4)]] </code></pre> <p>How do I get another list that takes the first numbers of all the tuples in the lists and puts them in a list, and then takes the second numbers of all the tuples in the lists and puts them in a second list...
[ { "answer_id": 74572580, "author": "Roman Udaltsov", "author_id": 6773185, "author_profile": "https://Stackoverflow.com/users/6773185", "pm_score": 0, "selected": false, "text": "create function dbo.f_convertHSL (\n @HueDegree numeric(3,0), \n @Saturation numeric(6,3), \n @Light...
2022/11/25
[ "https://Stackoverflow.com/questions/74572432", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20599011/" ]
74,572,442
<p>I have a string: <code>[(10.3.4.5:83/001_3CX/asd_43)]</code></p> <p>From this string I want to get two strings:</p> <blockquote> <p>10.3.4.5:83</p> </blockquote> <blockquote> <p>001_3CX/asd_43</p> </blockquote> <p>What is the best solution for this? I'm coding in c#.</p>
[ { "answer_id": 74572665, "author": "Dominique", "author_id": 4279155, "author_profile": "https://Stackoverflow.com/users/4279155", "pm_score": 0, "selected": false, "text": "string test = \"[(10.3.4.5:83/001_3CX/asd_43)]\";\ntest.replace_string_by_character(\"[(\",\"\");\ntest.replace_st...
2022/11/25
[ "https://Stackoverflow.com/questions/74572442", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10454982/" ]
74,572,453
<p>I launch my app in eclipse and works fine and I got the initialization of de entityManagerFactory by default as I wish:</p> <pre><code>2022-11-28 13:32:58.558 INFO 12176 --- [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' </code></pre>...
[ { "answer_id": 74626835, "author": "kazeematics", "author_id": 20399058, "author_profile": "https://Stackoverflow.com/users/20399058", "pm_score": 0, "selected": false, "text": "<plugin>\n <artifactId>maven-assembly-plugin</artifactId>\n <executions>\n <execution>\n ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572453", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18495770/" ]
74,572,458
<p><a href="https://i.stack.imgur.com/M5IF1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M5IF1.png" alt="enter image description here" /></a> Lists of color and names i want to build an app that will change color and text on tap. I want to change the container color and the text which are displaye...
[ { "answer_id": 74626835, "author": "kazeematics", "author_id": 20399058, "author_profile": "https://Stackoverflow.com/users/20399058", "pm_score": 0, "selected": false, "text": "<plugin>\n <artifactId>maven-assembly-plugin</artifactId>\n <executions>\n <execution>\n ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572458", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
74,572,488
<p>I am trying to add Microsoft Office applications such as excel, word and outlook pinned to taskbar when I run a bat file or a script. reason&gt;&gt; I'm deploying Microsoft Office 2021 on windows 10 , always updated to latest version, once the Office is installed I want the shortcuts of Excel, Word and Outlook to be...
[ { "answer_id": 74626835, "author": "kazeematics", "author_id": 20399058, "author_profile": "https://Stackoverflow.com/users/20399058", "pm_score": 0, "selected": false, "text": "<plugin>\n <artifactId>maven-assembly-plugin</artifactId>\n <executions>\n <execution>\n ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572488", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19449139/" ]
74,572,506
<p>I would like to create a program from a function that, given an array made up of a series of numbers and declared a variable with a value, returns true if the value exceeds each of the numbers in array and otherwise returns false.</p> <pre><code>let array = [5000, 5000, 3] let value = 2300; function compare_Values...
[ { "answer_id": 74572578, "author": "Marc Simon", "author_id": 19699404, "author_profile": "https://Stackoverflow.com/users/19699404", "pm_score": 0, "selected": false, "text": "let array = [5000, 5000, 3]\nlet value = 2300;\n\n\nfunction compare_Values(table,number){\n var result; \n ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572506", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20491974/" ]
74,572,519
<p>It's a pity that there are some APIs provided by others that are out of my control and the said APIs return the same type(i.e. <code>uint8_t</code> other than the <code>enum</code> type).</p> <p>But the meaning is different when the same value is returned by the different APIs. I hope to use overloading to convert t...
[ { "answer_id": 74572812, "author": "Ranoiaetep", "author_id": 12861639, "author_profile": "https://Stackoverflow.com/users/12861639", "pm_score": 2, "selected": false, "text": "template <typename ServiceName>\nvoid Print(const typename ServiceName::SampleType& data);\n\ntemplate <>\nvoid...
2022/11/25
[ "https://Stackoverflow.com/questions/74572519", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13611002/" ]
74,572,564
<p>I am very, and by that I mean very new to Python (i know literally nothing). I'm attemtping to create a little game using the turtle module, and following a tutorial I don't see the listen() function working</p> <p>here's my code I'm trying to create a controllable character</p> <pre><code>from turtle import * #bac...
[ { "answer_id": 74572812, "author": "Ranoiaetep", "author_id": 12861639, "author_profile": "https://Stackoverflow.com/users/12861639", "pm_score": 2, "selected": false, "text": "template <typename ServiceName>\nvoid Print(const typename ServiceName::SampleType& data);\n\ntemplate <>\nvoid...
2022/11/25
[ "https://Stackoverflow.com/questions/74572564", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20599108/" ]
74,572,600
<p>I reload the WildFly server as follows</p> <pre><code>CliCommandBuilder cliCommandBuilder = ... cliCommandBuilder .setCommand( &quot;reload&quot; ); Launcher.of(cliCommandBuilder) .inherit() .setRedirectErrorStream(true) .launch(); </code></pre> <p>And I need to wait for the server to sta...
[ { "answer_id": 74603863, "author": "cam-rod", "author_id": 19546298, "author_profile": "https://Stackoverflow.com/users/19546298", "pm_score": 0, "selected": false, "text": "localhost:9990 connect setController" }, { "answer_id": 74605778, "author": "James R. Perkins", "a...
2022/11/25
[ "https://Stackoverflow.com/questions/74572600", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19352128/" ]
74,572,613
<p>I'm searching for a way of filling a python dictionary at the same time it is created</p> <p>I have this simple method that firstly creates a dictionary with all the keys at value 0 and then it reads the string again to fill it</p> <pre><code>def letter_count(word): letter_dic = {} for w in word: let...
[ { "answer_id": 74572683, "author": "kosciej16", "author_id": 3361462, "author_profile": "https://Stackoverflow.com/users/3361462", "pm_score": 3, "selected": true, "text": "from collections import Counter\n\nletter_dic = Counter(word)\n for w in word:\n if w not in letter_dic: \n ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572613", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19665553/" ]
74,572,638
<p>I have a nodejs express web with a mongo db with</p> <pre><code>const AuthorSchema = new Schema({ first_name: { type: String, required: true, maxLength: 100 }, family_name: { type: String, required: true, maxLength: 100 }, date_of_birth: { type: Date }, date_of_death: { type: Date }, }); </code></pre...
[ { "answer_id": 74572683, "author": "kosciej16", "author_id": 3361462, "author_profile": "https://Stackoverflow.com/users/3361462", "pm_score": 3, "selected": true, "text": "from collections import Counter\n\nletter_dic = Counter(word)\n for w in word:\n if w not in letter_dic: \n ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572638", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20598890/" ]
74,572,650
<p>I am trying to include a search field inside my home page. It works for some of the module field. My problem is when I use a ForeignKey field (correct me please if I am wrong).</p> <p><em><strong>models.py</strong></em></p> <pre><code>class Training_Lead(models.Model): handel_by = models.ForeignKey(UserInstance, on_...
[ { "answer_id": 74572711, "author": "Darsh Modi", "author_id": 12098337, "author_profile": "https://Stackoverflow.com/users/12098337", "pm_score": 0, "selected": false, "text": "trainers_info = Training_Lead.objects.filter(\n start_date__gte=start_date,\n end_date__l...
2022/11/25
[ "https://Stackoverflow.com/questions/74572650", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18265618/" ]
74,572,654
<p>I am a bit stuck in one of the issue lately. I am using thymeleaf to render the html after getting the response. We have a complex JSON which looks like below</p> <pre><code>{ &quot;lastMonth&quot;: 11, &quot;firstMonth&quot;: 9, &quot;reportData&quot;: { &quot;123456&quot;: { &quot;u...
[ { "answer_id": 74573145, "author": "Farukh Khan", "author_id": 5181689, "author_profile": "https://Stackoverflow.com/users/5181689", "pm_score": 1, "selected": true, "text": "<table>\n <thead>\n <tr>\n <th>\n Kunde\n </th>\n <th>FirstMonth</th>\n ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572654", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5181689/" ]
74,572,673
<p>How can i use sed for pase .rc file? And I need get from resource file blocks STRINGTABLE</p> <pre><code>... STRINGTABLE BEGIN IDS_ID101 &quot;String1&quot; IDS_ID102 &quot;String2&quot; END ... </code></pre> <p>and result need output to str_file.h</p> <pre><code>std::map&lt;int, std::string&gt; m =...
[ { "answer_id": 74573145, "author": "Farukh Khan", "author_id": 5181689, "author_profile": "https://Stackoverflow.com/users/5181689", "pm_score": 1, "selected": true, "text": "<table>\n <thead>\n <tr>\n <th>\n Kunde\n </th>\n <th>FirstMonth</th>\n ...
2022/11/25
[ "https://Stackoverflow.com/questions/74572673", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16517806/" ]
74,572,709
<p>I've made an Python+Django+git docker container. Now, I would like to 'Attach to a running container..' with VSCode to develop, i.e. run and debug, a Python app inside. Is it good idea? Or it is better only setting up VSCode to run app inside the container? I don't want VSCode make a docker container by itself. Than...
[ { "answer_id": 74573101, "author": "Chris Becke", "author_id": 27491, "author_profile": "https://Stackoverflow.com/users/27491", "pm_score": 0, "selected": false, "text": ".devcontainers .devenvironments" }, { "answer_id": 74583688, "author": "Andrey Dmitriev", "author_id...
2022/11/25
[ "https://Stackoverflow.com/questions/74572709", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20599180/" ]
74,572,715
<pre><code>#include &lt;stdio.h&gt; #include &lt;math.h&gt; int main() { int i; int j; int base; int height; int side; int up; int down; int output[1001]; for (i = 0; i &lt; 1000; i++) { char type = getchar(); if(type == 'P') { s...
[ { "answer_id": 74572845, "author": "Oka", "author_id": 2505965, "author_profile": "https://Stackoverflow.com/users/2505965", "pm_score": 0, "selected": false, "text": "P 5\\n\nS 10 10\\n\nT 10 10 10\\n\n0\\n\n i i for (i = 0; i < 1000;)\n{ \n char type = getchar(); \n\n if(ty...
2022/11/25
[ "https://Stackoverflow.com/questions/74572715", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20596587/" ]
74,572,735
<p>I want to add and image into a View (represented by the black square on the example bellow), the view size depends on screens sizes. I also want an <code>overflow: hidden</code> on the bottom of my image if the first view is to small</p> <p><a href="https://i.stack.imgur.com/touPN.png" rel="nofollow noreferrer"><img...
[ { "answer_id": 74572845, "author": "Oka", "author_id": 2505965, "author_profile": "https://Stackoverflow.com/users/2505965", "pm_score": 0, "selected": false, "text": "P 5\\n\nS 10 10\\n\nT 10 10 10\\n\n0\\n\n i i for (i = 0; i < 1000;)\n{ \n char type = getchar(); \n\n if(ty...
2022/11/25
[ "https://Stackoverflow.com/questions/74572735", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18371570/" ]
74,572,757
<p>Hello im trying to communicate with my bot discord but its doesnt answer the bot is online but no answer here the following code :</p> <pre><code>import discord client = discord.Client(intents=discord.Intents.default()) client.run(&quot;token&quot;) @client.event async def on_message(message): if message.cont...
[ { "answer_id": 74573448, "author": "Kejax", "author_id": 20059231, "author_profile": "https://Stackoverflow.com/users/20059231", "pm_score": 3, "selected": true, "text": "intents.message_content = True\n Message Content Privileged Intents" }, { "answer_id": 74574412, "author"...
2022/11/25
[ "https://Stackoverflow.com/questions/74572757", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19386079/" ]
74,572,759
<p>So I have <a href="https://python-reference.readthedocs.io/en/latest/docs/generator/send.html" rel="nofollow noreferrer">the following generator function</a>:</p> <pre><code>def gen(n=5): for i in range(n): n = yield n for i in gen(3): print(i) </code></pre> <h2>The result:</h2> <pre><code>3 None No...
[ { "answer_id": 74572966, "author": "Thierry Lathuille", "author_id": 550094, "author_profile": "https://Stackoverflow.com/users/550094", "pm_score": 3, "selected": true, "text": "for n None n None" } ]
2022/11/25
[ "https://Stackoverflow.com/questions/74572759", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1516331/" ]
74,572,771
<p>The only thing I need to see in the output is which functions were called.</p> <p>Input:</p> <pre><code>ibv_rc_pingpong-759367 [005] 8391981.416466: funcgraph_entry: | ib_enum_all_devs() { ibv_rc_pingpong-759367 [005] 8391981.416472: funcgraph_entry: + 29.337 us | ib_get_device_fw_str(); ...
[ { "answer_id": 74572843, "author": "Dominique", "author_id": 4279155, "author_profile": "https://Stackoverflow.com/users/4279155", "pm_score": 3, "selected": true, "text": "cat myfile.dat | awk -F \"|\" '{print $2}'\n cat awk -F \"|\" '{print $2}' file.txt\n" }, { "answer_id": 74...
2022/11/25
[ "https://Stackoverflow.com/questions/74572771", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8967376/" ]
74,572,773
<p>I am trying to write a program that will let me know if a number has the odd divisor greater than one. Let's n be the number, and x be the divisor. x%2!=0 and x&gt;1; Code:</p> <pre><code>import java.util.Scanner; public class Simple1{ public static void main(String[] args) { Scanner sc = new Scanner(Sys...
[ { "answer_id": 74573107, "author": "khelwood", "author_id": 3890632, "author_profile": "https://Stackoverflow.com/users/3890632", "pm_score": 3, "selected": true, "text": "1099511627776 2199023255552 549755813888 n long n = sc.nextLong();\nwhile (n > 1 && n % 2 == 0) {\n n /= 2;\n}\nif...
2022/11/25
[ "https://Stackoverflow.com/questions/74572773", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17030235/" ]
74,572,809
<p>I used one of the given examples here: <a href="https://reactrouter.com/en/v6.3.0/getting-started/overview" rel="nofollow noreferrer">https://reactrouter.com/en/v6.3.0/getting-started/overview</a>, after testing my own code which also didn't appear.</p> <pre><code>import React from &quot;react&quot;; import { Routes...
[ { "answer_id": 74573041, "author": "evilcore29", "author_id": 19879044, "author_profile": "https://Stackoverflow.com/users/19879044", "pm_score": 2, "selected": false, "text": "import React from \"react\";\nimport { BrowserRouter, Routes, Route, Outlet } from \"react-router-dom\";\n\nfun...
2022/11/25
[ "https://Stackoverflow.com/questions/74572809", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20518918/" ]
74,572,813
<p>I have data in an array of objects as below:</p> <pre><code>history = [ {item: cake, calories: 120, datetime: 2022-11-16 07:51:26}, {item: chicken, calories: 250, datetime: 2022-11-16 13:48:46}, {item: pizza, calories: 420, datetime: 2022-11-25 11:13:42} ]; </code></pre> <p>I want to render a div with a headin...
[ { "answer_id": 74573041, "author": "evilcore29", "author_id": 19879044, "author_profile": "https://Stackoverflow.com/users/19879044", "pm_score": 2, "selected": false, "text": "import React from \"react\";\nimport { BrowserRouter, Routes, Route, Outlet } from \"react-router-dom\";\n\nfun...
2022/11/25
[ "https://Stackoverflow.com/questions/74572813", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7085305/" ]
74,572,847
<p>I'm having a weird error. On a component I have, Ref is working correctly. On a component I've just created, id doesn't. I'm calling it the same way on both.</p> <pre><code>import { Ref } from 'vue'; const isOpen = ref(false); </code></pre> <p>Giving the error:</p> <blockquote> <p>Uncaught (in promise) SyntaxError:...
[ { "answer_id": 74573041, "author": "evilcore29", "author_id": 19879044, "author_profile": "https://Stackoverflow.com/users/19879044", "pm_score": 2, "selected": false, "text": "import React from \"react\";\nimport { BrowserRouter, Routes, Route, Outlet } from \"react-router-dom\";\n\nfun...
2022/11/25
[ "https://Stackoverflow.com/questions/74572847", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18197440/" ]
74,572,928
<p>I have example data as follows:</p> <pre><code>library(data.table) dat1 &lt;- fread(&quot;code1 code2 code3 A3 B2 C1 A4 B3 C2&quot;) dat2 &lt;- fread(&quot;codes A3 A4 B2 B3&quot;) </code></pre> <p>I would simply like ...
[ { "answer_id": 74573195, "author": "Anoushiravan R", "author_id": 14314520, "author_profile": "https://Stackoverflow.com/users/14314520", "pm_score": 2, "selected": false, "text": "library(tidyverse)\n\ndat2 %>% \n inner_join(dat1 %>% pivot_longer(!code3), by = c('codes'='value')) %>%\n...
2022/11/25
[ "https://Stackoverflow.com/questions/74572928", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8071608/" ]
74,572,945
<p>I have following string <code>GA1.2.4451363243.9414195136</code> and I want to match <code>4451363243.9414195136</code> using regular expression for python.</p> <p>I have tried the following which is not working <code>([\d].[\d])$</code></p> <p>Where am I going wrong here?</p>
[ { "answer_id": 74573003, "author": "mozway", "author_id": 16343464, "author_profile": "https://Stackoverflow.com/users/16343464", "pm_score": 2, "selected": false, "text": "s = 'GA1.2.4451363243.9414195136'\n\nout = '.'.join(s.rsplit('.', 2)[-2:])\n# '4451363243.9414195136'\n\nimport re\...
2022/11/25
[ "https://Stackoverflow.com/questions/74572945", "https://Stackoverflow.com", "https://Stackoverflow.com/users/396476/" ]
74,572,958
<p>Hello I have a project for my studies which is to display data on a dashboard that will be more or less modifiable by the user according to his needs.</p> <p>I wanted to add space between a parameter icon and a &quot;GV&quot; text. I have tried to use justify-content=&quot;space-between&quot; in &quot;.panel-1 .pane...
[ { "answer_id": 74573064, "author": "Kordys", "author_id": 20599005, "author_profile": "https://Stackoverflow.com/users/20599005", "pm_score": -1, "selected": false, "text": "<h1><i class=\"bx bx-cog\"></i> GV</h1>\n" }, { "answer_id": 74573575, "author": "Marcos Randulfe Garr...
2022/11/25
[ "https://Stackoverflow.com/questions/74572958", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19930293/" ]
74,573,002
<p>The main purpose of my program is to connect to an incoming MQTT channel, and send the data received to my AWS Kinesis Stream called &quot;MyKinesisStream&quot;.</p> <p>Here is my code:</p> <pre><code>import argparse import logging import random from paho.mqtt import client as mqtt_client from stream_manager import...
[ { "answer_id": 74573064, "author": "Kordys", "author_id": 20599005, "author_profile": "https://Stackoverflow.com/users/20599005", "pm_score": -1, "selected": false, "text": "<h1><i class=\"bx bx-cog\"></i> GV</h1>\n" }, { "answer_id": 74573575, "author": "Marcos Randulfe Garr...
2022/11/25
[ "https://Stackoverflow.com/questions/74573002", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3486691/" ]
74,573,044
<p>I have a IExport.txt file with one or more lines of numbers and letters separated by semicolon and a total of 14 columns.<br /> <strong>The file has no headers and i need it to be like this</strong></p> <pre><code>4;1613000026438;T0011368;1.00;715004978;922105;;101120;;171;Name0;Thing1;Name1;989105 </code></pre> <p>...
[ { "answer_id": 74573371, "author": "Dilly B", "author_id": 2670623, "author_profile": "https://Stackoverflow.com/users/2670623", "pm_score": 1, "selected": false, "text": "Import-Csv -Path C:\\temp\\sample.txt -Header 1,2,3,4,5,6 -Delimiter ';'\n" }, { "answer_id": 74580093, ...
2022/11/25
[ "https://Stackoverflow.com/questions/74573044", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20049627/" ]
74,573,071
<p>I made an OCR program using the Python programming language and the tesserOCR library. In the program I have made, I scan all the pictures in a folder and extract the texts in them. But these extracted texts are saved in a single .txt file. How can I save the texts in each image to different .txt files. That is, the...
[ { "answer_id": 74573371, "author": "Dilly B", "author_id": 2670623, "author_profile": "https://Stackoverflow.com/users/2670623", "pm_score": 1, "selected": false, "text": "Import-Csv -Path C:\\temp\\sample.txt -Header 1,2,3,4,5,6 -Delimiter ';'\n" }, { "answer_id": 74580093, ...
2022/11/25
[ "https://Stackoverflow.com/questions/74573071", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18065447/" ]
74,573,109
<p>exp1 and exp2 Select * exp 1 gives me:</p> <div class="s-table-container"> <table class="s-table"> <thead> <tr> <th>ID</th> <th>exp_2_ID</th> <th>Name</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>1</td> <td>a</td> </tr> <tr> <td>2</td> <td>1</td> <td>b</td> </tr> <tr> <td>3</td> <td>2</td> <td>c</td> </tr> </tbod...
[ { "answer_id": 74573371, "author": "Dilly B", "author_id": 2670623, "author_profile": "https://Stackoverflow.com/users/2670623", "pm_score": 1, "selected": false, "text": "Import-Csv -Path C:\\temp\\sample.txt -Header 1,2,3,4,5,6 -Delimiter ';'\n" }, { "answer_id": 74580093, ...
2022/11/25
[ "https://Stackoverflow.com/questions/74573109", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20317241/" ]
74,573,197
<p>I am at the admin user, which is holding the administrator role, but when I add a condition to check if the user is admin or not it will always return false. I can't find the problem. This is my code:</p> <p>So this is my roles table: <a href="https://i.stack.imgur.com/lW4eQ.png" rel="nofollow noreferrer"><img src="...
[ { "answer_id": 74573414, "author": "Bandit", "author_id": 15282343, "author_profile": "https://Stackoverflow.com/users/15282343", "pm_score": -1, "selected": false, "text": "Route::get('/admin', [AdminController::class, 'index'];\n if (auth()->user()->role->name == 'administrator') {\n ...
2022/11/25
[ "https://Stackoverflow.com/questions/74573197", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20337580/" ]
74,573,198
<p>I want to return the struct that is declared, and values set inside the <code>initializePlayer()</code> function so I can call it on the main function.<br /> This is a task and we are not allowed to declare global variables (only inside of functions) so I kind of think that I need to declare the <code>struct</code> ...
[ { "answer_id": 74573284, "author": "chrslg", "author_id": 20037042, "author_profile": "https://Stackoverflow.com/users/20037042", "pm_score": 1, "selected": false, "text": "Player #include <stdio.h>\n\nstruct Player {\n int pos;\n char name[10];\n};\n\nstruct Player f(){\n struc...
2022/11/25
[ "https://Stackoverflow.com/questions/74573198", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20599482/" ]
74,573,215
<p>im new with the web dev thing and im trying to make slideshow, now i wanna put another div under the slideshow that has a paragraph but when i try to do it the paragraph goes over the slideshow. this picture will explain my problem better i guess.. what i want is the paragraph stay under the slideshow</p> <p>HTML :<...
[ { "answer_id": 74573284, "author": "chrslg", "author_id": 20037042, "author_profile": "https://Stackoverflow.com/users/20037042", "pm_score": 1, "selected": false, "text": "Player #include <stdio.h>\n\nstruct Player {\n int pos;\n char name[10];\n};\n\nstruct Player f(){\n struc...
2022/11/25
[ "https://Stackoverflow.com/questions/74573215", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20599504/" ]