question_id int64 37.6M 73.2M | input_text stringlengths 88 52.4k | output_text stringlengths 37 35.6k | title stringlengths 15 150 | tags stringlengths 1 107 | q_score int64 -19 397 | view_count int64 3 879k | answer_count int64 1 21 | accepted_answer_id int64 37.6M 73.8M | answer_id int64 37.6M 73.8M | a_score int64 -5 1.29k | is_accepted bool 1
class | creation_date stringlengths 20 24 | input_text_instruct stringlengths 251 52.6k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72,872,179 | How can I solve an "overflow evaluating the requirement" error with recursive iterator function?<p>I'm making a Brainfuck interpreter. When i try to compile this I get a requirement evaluation error. It looks like it infinitely nests <code>TakeWhile<...></code> but I'm not sure how to fix it.</p>
<pre><code>#[der... | <p>You can avoid creating an infinite type <code>TakeWhile<&mut TakeWhile<&mut TakeWhile<...</code> by forcing the iterator chain into a trait object:</p>
<pre><code>let mut depth = 1;
compile(&mut iter.by_ref().take_while(|c| {
// ^^^^
match c {
b'[' => depth += 1,
b']'... | How can I solve an "overflow evaluating the requirement" error with recursive iterator function? | rust | 1 | 61 | 1 | 72,872,952 | 72,872,952 | 0 | true | 2022-07-05T15:42:58.700Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How can I solve an "overflow evaluating the requirement" error with recursive iterator function?<p>I'm making a Brainfuck interpreter. When i try to compile ... |
72,872,674 | Xpath give nothing<p>I am getting trying to getting <code>phone number</code> but give nothing from the xpath how to solve these problem these is page link <a href="https://aaos22.mapyourshow.com/8_0/exhibitor/exhibitor-details.cfm?exhid=999999999999" rel="nofollow noreferrer">https://aaos22.mapyourshow.com/8_0/exhibi... | <p>Assuming you get the concret <code>HTML</code> you could adjust your <code>xpath</code> - Select the <code><ul></code> by its <code>class</code> and the last <code><li></code>. Cause the number is not included in the <code><span></code>, you have to call its <code>sibling</code>:</p>
<pre><code>//u... | Xpath give nothing | python|web-scraping|xpath|scrapy | 0 | 61 | 2 | 72,873,203 | 72,873,203 | 0 | true | 2022-07-05T16:21:39.300Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Xpath give nothing<p>I am getting trying to getting <code>phone number</code> but give nothing from the xpath how to solve these problem these is page link ... |
72,872,937 | Rust libgit2: how to add --force<p>How to do a <code>git add --force *</code> with libgit2 in Rust?</p>
<p>I tried the following code from the <a href="https://docs.rs/git2/latest/git2/struct.Index.html#example" rel="nofollow noreferrer">documentation</a>:</p>
<pre><code>use git2::{Index, IndexAddOption, Repository};
... | <p>It is possible to define a <a href="https://docs.rs/git2/latest/git2/type.IndexMatchedPath.html" rel="nofollow noreferrer">callback function <code>IndexMatchedPath</code></a> like in <a href="https://github.com/rust-lang/git2-rs/blob/d5a56e9be2b3d708748946ca0b9dfba00835eac0/examples/add.rs#L41" rel="nofollow norefer... | Rust libgit2: how to add --force | git|rust|libgit2 | 0 | 61 | 1 | 72,876,043 | 72,876,043 | 0 | true | 2022-07-05T16:44:53.910Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Rust libgit2: how to add --force<p>How to do a <code>git add --force *</code> with libgit2 in Rust?</p>
<p>I tried the following code from the <a href="https... |
72,875,337 | Associating automated tests with manual in Azure Devops<p>I need to somehow associate the automated tests with manual test plan in Azure. I already installed Visual Studio and open my automated test cases in VS. But when I am trying to click "Associate to Test Case" I got the error that functionality is appli... | <blockquote>
<p>Does that mean I have no possibility to associate my automated test
cases with manual one using this functionality</p>
</blockquote>
<p>Yes, we cannot associate framework Pytest to test case in Azure DevOps. It's not supported.</p>
<p>See <a href="https://docs.microsoft.com/en-us/azure/devops/test/assoc... | Associating automated tests with manual in Azure Devops | visual-studio|azure-devops|pytest | 0 | 61 | 1 | 72,878,900 | 72,878,900 | 0 | true | 2022-07-05T20:47:59.403Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Associating automated tests with manual in Azure Devops<p>I need to somehow associate the automated tests with manual test plan in Azure. I already installed... |
72,879,516 | How to set ListView.builder inside column in flutter<p>I want to show List.builder inside Column but if I add List.builder inside Column.<br />
It shows me an error:- <code>RenderFlex children have non-zero flex but incoming height constraints are unbounded.</code><br />
in list view, I pull the image from API but when... | <p>In your code Listview builder axis direction is horizontal which requires constrained height value to render the widget.
You can define a height for the container above the listViewBuilder.
And I could see there is a use of stack inside the element of the listview builder so try to give a constrained for that also i... | How to set ListView.builder inside column in flutter | android|flutter|flutter-layout|flutter-dependencies|flutter-listview | 0 | 61 | 3 | 72,879,646 | 72,879,646 | 0 | true | 2022-07-06T07:34:01.193Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to set ListView.builder inside column in flutter<p>I want to show List.builder inside Column but if I add List.builder inside Column.<br />
It shows me a... |
72,884,501 | Strange error when using leaflet-lasso with leaflet-curve<p>I have a code pen demonstrating the issue at <a href="https://codepen.io/ericg_off/pen/JjLGWLw" rel="nofollow noreferrer">https://codepen.io/ericg_off/pen/JjLGWLw</a></p>
<p>I am using:</p>
<ul>
<li><a href="https://unpkg.com/leaflet@1.8.0/dist/leaflet.js" rel... | <p>As confirmed by the author ( <a href="https://github.com/zakjan/leaflet-lasso/issues/50" rel="nofollow noreferrer">https://github.com/zakjan/leaflet-lasso/issues/50</a> ), the bug is in leaflet-lasso.</p> | Strange error when using leaflet-lasso with leaflet-curve | javascript|leaflet | 0 | 61 | 1 | 72,890,690 | 72,890,690 | 0 | true | 2022-07-06T13:33:31.650Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Strange error when using leaflet-lasso with leaflet-curve<p>I have a code pen demonstrating the issue at <a href="https://codepen.io/ericg_off/pen/JjLGWLw" r... |
72,894,456 | Kotlin: Type inference failed. The value of the type parameter T should be mentioned in input types<p>I'm new to Kotlin, for the piece of the below code:</p>
<pre><code>fun a(stcd: String) {
val res = mutableSetOf<String>()
val aaa = mutableListOf<Map<String, Set<String>>>()
... | <p>This is because <code>x.values</code> is not a <code>Set<String></code>, as you probably think it is. In fact, it's a<code>Collection<Set<String>></code> as per the definition of <code>values</code>. So, such a collection can't contain a <code>String</code> type.</p> | Kotlin: Type inference failed. The value of the type parameter T should be mentioned in input types | kotlin|lambda | 0 | 61 | 1 | 72,894,521 | 72,894,521 | 0 | true | 2022-07-07T08:17:32.267Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Kotlin: Type inference failed. The value of the type parameter T should be mentioned in input types<p>I'm new to Kotlin, for the piece of the below code:</p... |
72,902,548 | Putting the value of a variable into a table in R Markdown, rather than it's name<blockquote>
<p>Edited for clarity:</p>
<p>Currently in R Markdown when I enter a variable like <em>"u_F"</em> into a cell
in a Table, when I then knit the R Markdown file it will produce a Table
that has <em>"u_F"</em>... | <p>Not sure if this is what you're going for, but you execute R code inline using</p>
<pre><code>`r <code>`
</code></pre>
<p>So putting this in your .Rmd</p>
<pre><code>Variable| Value | Minimum | Maximum | Reference | Distribution |
--------|-------|---------|---------|-----------|--------------|
Utility| `r u_... | Putting the value of a variable into a table in R Markdown, rather than it's name | r|r-markdown | 0 | 61 | 1 | 72,908,979 | 72,908,979 | 0 | true | 2022-07-07T18:19:38.770Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Putting the value of a variable into a table in R Markdown, rather than it's name<blockquote>
<p>Edited for clarity:</p>
<p>Currently in R Markdown when I en... |
72,909,823 | c# firestore add timestamp field in visual studio project<p>I'm succesfully adding those data to firestore with my visual studio c# application using the library:</p>
<p>Google.Cloud.Firestore</p>
<p>now, I need to add a new field the timestamp but how to decleare it? I haven't find a property for it. Any suggestion?</... | <p>Assuming you're using the <code>Google.Cloud.Firestore</code> library, I'd expect you to be able to use <a href="https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FieldValue#Google_Cloud_Firestore_FieldValue_ServerTimestamp" rel="nofollow noreferrer"><code>FieldValue... | c# firestore add timestamp field in visual studio project | c#|firebase|google-cloud-firestore | 1 | 61 | 1 | 72,909,903 | 72,909,903 | 0 | true | 2022-07-08T10:07:18.287Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
c# firestore add timestamp field in visual studio project<p>I'm succesfully adding those data to firestore with my visual studio c# application using the lib... |
72,878,045 | Mac Terminal Command: Move file starting with same name to trash safely<p>since I will always have multiple Screenshot saved in Desktop.
The usual way I deal with them is:</p>
<ul>
<li>in terminal : <code>trash file</code></li>
</ul>
<p>It is a command I found here: <a href="https://formulae.brew.sh/formula/trash" rel=... | <p>It looks like a simple regular expression will solve your problem:</p>
<pre><code>$ ls
Screenshot 2022-07-06 at 12.12.23.png test2
Screenshot-test test1 test3 test4
$ trash ~/Desktop/Screenshot*
$ ls
test1 test2 test3 test4
</code></pre> | Mac Terminal Command: Move file starting with same name to trash safely | macos|file|terminal|command | -1 | 61 | 1 | 72,910,752 | 72,910,752 | 0 | true | 2022-07-06T04:43:35.017Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Mac Terminal Command: Move file starting with same name to trash safely<p>since I will always have multiple Screenshot saved in Desktop.
The usual way I deal... |
72,912,388 | Django: overwriting the method model of the abstract model, from inside the inherited models<p>I have a problem with re-assigning some var in my model, I have a model like this:</p>
<pre><code>class ExpireTime(models.Model):
"""Expire time fields and methods in abstract mode"""
... | <p>you can always do it on save:</p>
<pre><code>class ExpireTime(models.Model):
default_expired = 10
expire = models.DateTimeField(null=True, blank=true)
class Meta:
abstract = True
def save(self, *args, **kwargs):
if not self.expire:
self.expire = create_expire_time(seconds=sel... | Django: overwriting the method model of the abstract model, from inside the inherited models | python|django|django-models|django-orm | 0 | 61 | 1 | 72,914,226 | 72,914,226 | 0 | true | 2022-07-08T13:46:59.060Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Django: overwriting the method model of the abstract model, from inside the inherited models<p>I have a problem with re-assigning some var in my model, I hav... |
72,920,724 | Checkboxes inside dropdown menu does not work in React<p>Nesting a checkboxes inside MenuItems inside a DropdownButton does not work; clicking the checkboxes has no effect:</p>
<pre class="lang-js prettyprint-override"><code><Dropdown.Item>
<Form.Check
name={"title"}
... | <p>After struggling a lot for this problem, I found a simple solution. It can be useful for people who have this problem.</p>
<p>If you put any input directly in <code>Dropdown.Menu</code> without using <code>Dropdown.Item</code> , it works correctly.</p>
<pre class="lang-js prettyprint-override"><code><Dropdown.Men... | Checkboxes inside dropdown menu does not work in React | reactjs|react-bootstrap | 1 | 61 | 1 | 72,921,441 | 72,921,441 | 0 | true | 2022-07-09T10:47:21.163Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Checkboxes inside dropdown menu does not work in React<p>Nesting a checkboxes inside MenuItems inside a DropdownButton does not work; clicking the checkboxes... |
72,921,376 | Azure function with Service Bus trigger calls the namespace with no reason<p>I have the following code:</p>
<pre><code>[FunctionName("myFunc")]
public static void Run([ServiceBusTrigger("myQueue", Connection = "ConnectionString")]string myQueueItem, ILogger log)
{
log.LogInformation($&... | <p>At least one reason that I can think of is that it could be monitoring the queue length.
Azure Functions will auto-scale up/down based on the number of messages in the queue after all.</p> | Azure function with Service Bus trigger calls the namespace with no reason | azure|request|azure-functions|azureservicebus | 1 | 61 | 1 | 72,921,784 | 72,921,784 | 0 | true | 2022-07-09T12:31:22.120Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Azure function with Service Bus trigger calls the namespace with no reason<p>I have the following code:</p>
<pre><code>[FunctionName("myFunc")]
pub... |
72,922,792 | Is it possible to rename a USB flash drive and transfer files onto that drive?<p>I am using a batch (below) found elsewhere to facilitate moving the files onto the USB flash drives, but want to also rename the flash drive in the process. How would I incorporate the renaming in Win10?</p>
<pre><code>@echo off
cls
:start... | <p>The <code>label</code> command can be used in batch files to set the the volume label of a disk.</p> | Is it possible to rename a USB flash drive and transfer files onto that drive? | windows|batch-file|usb|rename|usb-flash-drive | 0 | 61 | 1 | 72,923,667 | 72,923,667 | 0 | true | 2022-07-09T15:52:28.967Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Is it possible to rename a USB flash drive and transfer files onto that drive?<p>I am using a batch (below) found elsewhere to facilitate moving the files on... |
72,924,936 | Use Grid from @fluentui/react-northstar without borders<p>How to use Grid and Segment in @fluentui/react-northstar without borders or horizontal lines?</p>
<pre><code>import { Grid, Segment } from "@fluentui/react-northstar";
</code></pre>
<p>Usage:</p>
<pre><code><Grid columns="repeat(4, 1fr)" r... | <p>It's the default box-shadow CSS value currently set to</p>
<pre><code>box-shadow: rgb(34 36 38 / 15%) 0px 1px 1px 1px;
</code></pre>
<p>Add this to your style class.</p>
<pre><code>boxShadow: 'none'
</code></pre> | Use Grid from @fluentui/react-northstar without borders | reactjs|fluentui-react | 1 | 61 | 1 | 72,931,031 | 72,931,031 | 0 | true | 2022-07-09T22:13:23.207Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Use Grid from @fluentui/react-northstar without borders<p>How to use Grid and Segment in @fluentui/react-northstar without borders or horizontal lines?</p>
<... |
72,921,587 | A question regarding plots with matplotlib in python<p>i hope i can find someone among you who can help me to master the first steps with matplot.</p>
<p>the following scenario is currently bothering me:
I am using a custom trained YoloV5 model to apply object detection to a video.</p>
<p>now i can detect n objects per... | <p>I have solved it myself in the meantime. The problem was of course the layer 8 ;-)</p>
<p>here the code i wrote for this... :</p>
<pre class="lang-py prettyprint-override"><code># load the pretrained model and run the inference in a loop
import torch
import pyautogui
import matplotlib
import matplotlib.pyplot as pl... | A question regarding plots with matplotlib in python | python|matplotlib|plot|object-detection | -1 | 61 | 1 | 72,935,680 | 72,935,680 | 0 | true | 2022-07-09T13:04:20.670Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
A question regarding plots with matplotlib in python<p>i hope i can find someone among you who can help me to master the first steps with matplot.</p>
<p>the... |
72,933,165 | Problem with making mesh at runtime. (Unity3d)<p>I'm trying to make mesh with Vector3 data from database at runtime.</p>
<p>Here is my code</p>
<pre><code>private IEnumerator CreateShape()
{
int count = 0;
triangles = new int[x_size * y_size * 6];
//index buffer
for (int i = 0; i < x_size - 1; i++)... | <p>As said per default meshes in unity have an index buffer of <strong><code>16-bit</code></strong> (= <code>UInt16</code>) meaning the maximum index is <code>65535</code>.</p>
<p>If you want to go higher (like with your mesh) you will need to change the <a href="https://docs.unity3d.com/ScriptReference/Mesh-indexForma... | Problem with making mesh at runtime. (Unity3d) | c#|unity3d|polygon|mesh|index-buffer | 0 | 61 | 1 | 72,936,296 | 72,936,296 | 0 | true | 2022-07-11T02:25:27.320Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Problem with making mesh at runtime. (Unity3d)<p>I'm trying to make mesh with Vector3 data from database at runtime.</p>
<p>Here is my code</p>
<pre><code>pr... |
72,939,265 | Why is there an error when I try to run my secret token<pre><code>import discord
import os
import requests
import json
import random
from replit import db
client = discord.Client()
yes = True
def get_pic():
cattoURL = requests.api.get("https://api.thecatapi.com/v1/images/search").json()[0]['url']
print(ca... | <p>Your IP has been temporarily blocked from accessing Discord's API. This typically only lasts around an hour or 24 hours, depending on why you are rate limited.</p>
<p>Repl.it is notoriously known for its hosted Discord bots being disrupted continuously due to its shared hosting system. This rate limit is caused main... | Why is there an error when I try to run my secret token | python|discord | 0 | 61 | 1 | 72,939,565 | 72,939,565 | 0 | true | 2022-07-11T13:21:45.563Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Why is there an error when I try to run my secret token<pre><code>import discord
import os
import requests
import json
import random
from replit import db
cl... |
72,920,443 | Is it possible to fix failed build of multiple inheritance from Q_GADGET with Clang and Qt 6?<p>In one my project, a build on MacOS under GitHub action:</p>
<pre><code>macos:
name: macos
runs-on: macos-11
</code></pre>
<p>Subproject <code>JKQtPlotter</code> fails with:</p>
<pre><code>[ 64%] Building CXX object 3rdp... | <p>Ok, this is an issue of Qt6 when building with Clang. <a href="https://bugreports.qt.io/browse/QTBUG-104874" rel="nofollow noreferrer">Qt Bug</a> has been confirmed. So I decided to post such answer.</p> | Is it possible to fix failed build of multiple inheritance from Q_GADGET with Clang and Qt 6? | clang|qt6|qgadget | 0 | 61 | 1 | 72,941,688 | 72,941,688 | 0 | true | 2022-07-09T09:58:57.520Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Is it possible to fix failed build of multiple inheritance from Q_GADGET with Clang and Qt 6?<p>In one my project, a build on MacOS under GitHub action:</p>
... |
72,935,830 | Hibernate DAO Unit Testing Simple Fetch<p>I am very new to API development in Java and would like to create a proper unit test for my DAO Java class. The project uses Hibernate and the class fetches data from a MySQL database, returns it in a JSON format for a GET request.</p>
<p>I'm not sure how to write the unit test... | <ol>
<li><p>First add junit library and hamcrest</p>
<pre><code><dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>... | Hibernate DAO Unit Testing Simple Fetch | java|hibernate|unit-testing|dao | 0 | 61 | 1 | 72,946,278 | 72,946,278 | 0 | true | 2022-07-11T08:44:23.183Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Hibernate DAO Unit Testing Simple Fetch<p>I am very new to API development in Java and would like to create a proper unit test for my DAO Java class. The pro... |
72,942,744 | why useState doesn't work with useEffect()?<pre class="lang-js prettyprint-override"><code> const [dataSortArray, setDataSortArray] = useState([]);
// seeAllFeeds
const { data, loading, refetch, fetchMore } = useQuery(SEE_ALL_FEEDS_QUERY, {
variables: {
offset: 0,
},
});
... | <p>put <code>loading</code> into dependency array it will invoke every time value of loading is change passing <code>Empty array []</code> as dependency array means it will render only once</p>
<pre class="lang-js prettyprint-override"><code> useEffect(() => {
if (!loading) {
refetch();
console.log(... | why useState doesn't work with useEffect()? | react-native|use-effect|use-state | 1 | 61 | 2 | 72,947,070 | 72,947,070 | 0 | true | 2022-07-11T17:54:00.160Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
why useState doesn't work with useEffect()?<pre class="lang-js prettyprint-override"><code> const [dataSortArray, setDataSortArray] = useState([]);
... |
72,947,350 | Difference between a 'string' vs. 'buffer text' in search commands when using line breaks (\n)<p>The following description is found in the line break (<code>\n</code>) section of the pattern and search commands in the official vim documentation.
<a href="http://vimdoc.sourceforge.net/htmldoc/pattern.html#pattern-atoms"... | <p>By 'string' it doesn't mean text in the buffer that's surrounded by quotes, but rather the <code>{string}</code> argument that you would pass to the 'substitute' function. See <code>:help substitute()</code></p> | Difference between a 'string' vs. 'buffer text' in search commands when using line breaks (\n) | vim | -1 | 61 | 1 | 72,947,448 | 72,947,448 | 0 | true | 2022-07-12T05:18:55.210Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Difference between a 'string' vs. 'buffer text' in search commands when using line breaks (\n)<p>The following description is found in the line break (<code>... |
72,893,882 | Mongo DB Atlas database: MongoDB.Driver.Legacy driver is missing<p>In my C# application I'm not able to access my MongoDB Atlas database.</p>
<p>After creating a database on Atlas, I generate the string to access it and add the following lines in my code:</p>
<pre><code>var client = new MongoClient("mongodb+srv://... | <p>After struggling a lot, I found out that a possible solution is to copy the Legacy.dll file into the Program Files folder of the software.</p>
<p><a href="https://i.stack.imgur.com/VFTFN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VFTFN.png" alt="enter image description here" /></a></p>
<p>Thi... | Mongo DB Atlas database: MongoDB.Driver.Legacy driver is missing | c#|mongodb|mongodb-atlas | 0 | 61 | 1 | 72,948,081 | 72,948,081 | 0 | true | 2022-07-07T07:31:19.987Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Mongo DB Atlas database: MongoDB.Driver.Legacy driver is missing<p>In my C# application I'm not able to access my MongoDB Atlas database.</p>
<p>After creati... |
72,949,886 | GraphQL - "Field \"updateOwner\" of type \"Owner!\" must have a selection of subfields. Did you mean \"updateOwner { ... }\"?"<p>I'm trying to get Mutation Update query in GraphQL Playground. I'm basic level in GraphQL and in learning phase. I don't know how to create udpate Mutation for the below Owner code.
Any idea ... | <p>You need to make a selection of subfields to return (even if you're not interested in any):</p>
<pre><code>mutation {
updateOwner (updateOwnerInput:{
id:6,
name: "josh",
})
{
id
name
}
}
</code></pre> | GraphQL - "Field \"updateOwner\" of type \"Owner!\" must have a selection of subfields. Did you mean \"updateOwner { ... }\"?" | javascript|node.js|graphql|nestjs | 0 | 61 | 2 | 72,950,358 | 72,950,358 | 0 | true | 2022-07-12T09:17:16.917Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
GraphQL - "Field \"updateOwner\" of type \"Owner!\" must have a selection of subfields. Did you mean \"updateOwner { ... }\"?"<p>I'm trying to get Mutation U... |
72,956,463 | Is there a TS configuration parameter I'm missing to force a type from a union?<p>I have a problem with the Stripe Node.js API (apiVersion '2020-08-27' - which as of 2022-07-21 is current).</p>
<p>The customers.retrieve method returns a response of type <code>Promise<Stripe.Response<Stripe.Customer | Stripe.Delet... | <p>The problem config option is:
<code>"strictNullChecks": false</code>, and the lack of <code>strict: true</code> in the tsconfig.</p>
<p>The default of strictNullChecks is true if strict, false otherwise. <a href="https://www.typescriptlang.org/tsconfig#strictNullChecks" rel="nofollow noreferrer">https://w... | Is there a TS configuration parameter I'm missing to force a type from a union? | node.js|typescript|stripe-payments|nestjs | 0 | 61 | 2 | 72,957,525 | 72,957,525 | 0 | true | 2022-07-12T17:49:16.053Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Is there a TS configuration parameter I'm missing to force a type from a union?<p>I have a problem with the Stripe Node.js API (apiVersion '2020-08-27' - whi... |
72,956,628 | 400 Bad request when trying to fetch from SpringBoot using React<p>I try to delete an entity with a given id. However, when I try to fetch from my API, i get a 400 bad request error.</p>
<pre><code> async deleteFood(foodId) {
const params = {
'id' : foodId
}
const rawResponse = await fetch("... | <p>You are sending the data via body, but in the controller you are waiting that as a @RequestParam</p>
<pre><code>@PostMapping(path = "/delete")
public @ResponseBody int deleteById(@RequestParam int id) {
if (foodRepository.existsById(id)) {
foodRepository.deleteById(id);
return Response.... | 400 Bad request when trying to fetch from SpringBoot using React | javascript|reactjs|spring-boot | 0 | 61 | 1 | 72,957,769 | 72,957,769 | 0 | true | 2022-07-12T18:04:03.857Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
400 Bad request when trying to fetch from SpringBoot using React<p>I try to delete an entity with a given id. However, when I try to fetch from my API, i get... |
72,954,703 | c # winform mysql data display<p>through C # I am creating a program that manages ambulances, I am trying to create a list with the events and active missions, this data must be taken from a mysql database, I have tried to see many "tutorials", but none explained what I needed, how do you think I can do somet... | <p>It is difficult to guide you through such unspecific question, but I'll try some hints.</p>
<ol>
<li>You said you have data from MySQL</li>
<li>Fill a <code>DataTable</code> (another way is to use <code>BindingSource</code>)</li>
<li>Assign <code>DataTable</code> as a <code>DataSource</code> of your <code>DataGridVi... | c # winform mysql data display | c#|mysql|database|winforms|datagridview | -1 | 61 | 1 | 72,965,981 | 72,965,981 | 0 | true | 2022-07-12T15:20:28.633Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
c # winform mysql data display<p>through C # I am creating a program that manages ambulances, I am trying to create a list with the events and active mission... |
72,954,841 | Add custom metadata to tiff<p>I want to add some custom metadata to a multipage tiff for further processing steps, like</p>
<ul>
<li>identifier1 = XYZ1</li>
<li>identifier2 = XYZ2</li>
<li>...</li>
</ul>
<p>My idea was to update (see code/<strong>TODO</strong> below)</p>
<ul>
<li>IIOMetadata streamMetadata [option 1]</... | <p>This is my working solution.</p>
<pre><code>import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.charset.Charset;
import java.nio.file.Files;
impo... | Add custom metadata to tiff | java|metadata|tiff|javax.imageio|twelvemonkeys | 0 | 61 | 1 | 72,978,026 | 72,978,026 | 0 | true | 2022-07-12T15:30:28.053Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Add custom metadata to tiff<p>I want to add some custom metadata to a multipage tiff for further processing steps, like</p>
<ul>
<li>identifier1 = XYZ1</li>
... |
72,995,984 | How can I save files with a progressive number in Python?<p>I am a Python beginner. I made a script which, after doing what it is supposed to do, creates a file called "report.csv" with some datas I need.</p>
<p>This is how that part of code looks like:</p>
<pre><code>with open('report.csv'), 'x', newline='')... | <p>you can use f-strings (<a href="https://docs.python.org/3/tutorial/inputoutput.html" rel="nofollow noreferrer">https://docs.python.org/3/tutorial/inputoutput.html</a>) to name your file:</p>
<pre><code>with open(f"report{i}.csv", "x") as report_file:
#do sth
</code></pre>
<p>now you have to c... | How can I save files with a progressive number in Python? | python | 0 | 61 | 1 | 72,996,780 | 72,996,780 | 0 | true | 2022-07-15T15:03:33.007Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How can I save files with a progressive number in Python?<p>I am a Python beginner. I made a script which, after doing what it is supposed to do, creates a f... |
72,998,343 | Setting up a Slick Carousel, containing sliders as individual elements<p>I want to create a carousel like this one here:
<a href="https://codepen.io/newrya/pen/eYMZdKe" rel="nofollow noreferrer">https://codepen.io/newrya/pen/eYMZdKe</a></p>
<p>The catch is, I want to make an auto play carousel using "slick" a... | <p>I think you might have issues with the slick mouse over binding conflicting with the mouse over your image, as a workaround you could iframe it and it will work like so</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-... | Setting up a Slick Carousel, containing sliders as individual elements | javascript|html|jquery|css|slick.js | 0 | 61 | 1 | 72,999,979 | 72,999,979 | 0 | true | 2022-07-15T18:34:14.010Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Setting up a Slick Carousel, containing sliders as individual elements<p>I want to create a carousel like this one here:
<a href="https://codepen.io/newrya/p... |
73,001,936 | How to display multiple or single images for a product page in Laravel?<br>
[enter image description here][1]<br>
I'm trying to store multiple images in the database. I have products table and images tables. I have faced the issue for image not showing the product list page. I am trying to more tutorials codes unfortun... | <p>The relation ships are defined using foreign key and local key like this - return $this->hasMany(Comment::class, 'foreign_key', 'local_key'); -<a href="https://laravel.com/docs/9.x/eloquent-relationships" rel="nofollow noreferrer">https://laravel.com/docs/9.x/eloquent-relationships</a> . So you would need to chan... | How to display multiple or single images for a product page in Laravel? | laravel | 0 | 61 | 1 | 73,002,094 | 73,002,094 | 0 | true | 2022-07-16T06:11:43.977Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to display multiple or single images for a product page in Laravel?<br>
[enter image description here][1]<br>
I'm trying to store multiple images in the ... |
73,002,731 | Enumerating a for loop, Python<p>I'm taking a python course for beginners and I'm already struggling with unclear instructions. What I need the program to print out is this:</p>
<pre class="lang-none prettyprint-override"><code>How many Fibonacci numbers do you want? 7
1. 1
2. 1
3. 2
4. 3
5. 5
6. 8
7. 13
</code></pre>
... | <p>Just use your <code>n</code>, it already enumerate the iterations</p>
<pre><code>for n in range(1, num + 1):
if n == 1:
new_fib = n
else:
new_fib = pre_previous_fib + previous_fib
pre_previous_fib = previous_fib
previous_fib = new_fib
print(f"{n}. {new_fib}")
</... | Enumerating a for loop, Python | python|for-loop|enumerate | 0 | 61 | 2 | 73,002,785 | 73,002,785 | 0 | true | 2022-07-16T08:34:23.850Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Enumerating a for loop, Python<p>I'm taking a python course for beginners and I'm already struggling with unclear instructions. What I need the program to pr... |
73,004,139 | check parent-child loop function<p>I'm trying to create a function that can recognize the parent-child loop.<br>
Imagin</p>
<blockquote>
<p>Object A is a parent of Object B<br>
Object B is a parent of Object C<br></p>
</blockquote>
<p>create a function that can prevent the parent-child loop. the function should give at... | <blockquote>
<p>My main question is about how to provide right message in the Exception.</p>
</blockquote>
<p>I'm still wondering why that's not the question title itself.</p>
<p>Since this question is likely opinion-based... I'll give my shot?</p>
<p>Your code at:</p>
<pre class="lang-java prettyprint-override"><code>... | check parent-child loop function | java|algorithm|infinite-loop | -3 | 61 | 1 | 73,004,249 | 73,004,249 | 0 | true | 2022-07-16T12:18:31Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
check parent-child loop function<p>I'm trying to create a function that can recognize the parent-child loop.<br>
Imagin</p>
<blockquote>
<p>Object A is a par... |
73,006,725 | Is there any way to run this code without getting the use of unassigned local variable error in the second case of the switch?<p>I tried to make a program in which the first option gets some input and the second one puts the output but I get an error which says that the 's' variable isn't assigned, is there anyway to d... | <p>Perhaps instead of declaring your <code>Student</code> array in the <code>switch</code> statement, you declare it outside of the statement. Then you can work with it in any <code>case</code> section.</p>
<p>Your code could be updated to something like:</p>
<pre><code> // create list prior to the switch st... | Is there any way to run this code without getting the use of unassigned local variable error in the second case of the switch? | c# | -2 | 61 | 2 | 73,006,769 | 73,006,769 | 0 | true | 2022-07-16T18:27:39.983Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Is there any way to run this code without getting the use of unassigned local variable error in the second case of the switch?<p>I tried to make a program in... |
73,008,170 | Django: Method to get url of images<p>Im working on an website currently i would like to switch from a class Product containing the images to following:</p>
<p>models.py:</p>
<pre><code>class Product(models.Model):
name = models.CharField(max_length=60)
price = models.DecimalField(max_digits=10, decimal_pl... | <p>It is like that because <code>self.images</code> returns set of <code>ProductImage</code> objects. Even it is only one, you will have <code>QuerySet</code> object with one <code>ProductImage</code> object, like:</p>
<pre><code><QuerySet [<ProductImage object (1)>]>
</code></pre>
<p>You can change relatio... | Django: Method to get url of images | python|django | 0 | 61 | 2 | 73,008,207 | 73,008,207 | 0 | true | 2022-07-16T22:56:16.770Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Django: Method to get url of images<p>Im working on an website currently i would like to switch from a class Product containing the images to following:</p>
... |
73,010,999 | How to return a NamedFile in a HttpResponse using Actix-web<p>I try to return a NamedFile in a HttpRespose
with this function</p>
<pre><code>fn response(x: NamedFile)->HttpResponse{
HttpResponse::Ok()
.content_type(ContentType::html())
.insert_header(("X-Hdr", "sample"))
... | <p>i solved it by introducing a new function that converts the content of the file into a single string</p>
<pre><code>fn open(x: PathBuf) -> String{
return fs::read_to_string(x)
.expect("Something went wrong");
}
</code></pre>
<p>and used instead of NamedFile a String the function looks like t... | How to return a NamedFile in a HttpResponse using Actix-web | rust|actix-web | 1 | 61 | 1 | 73,012,809 | 73,012,809 | 0 | true | 2022-07-17T10:24:44.580Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to return a NamedFile in a HttpResponse using Actix-web<p>I try to return a NamedFile in a HttpRespose
with this function</p>
<pre><code>fn response(x: N... |
73,022,538 | I get this error: Textfield is not a constructor<p>I know that there are a lot of question in Stackoverflow about this error, but after read some of them (+-12 questions) I don't get nothing.</p>
<p>My context is that I'm trying to build a npm package (my first package); in this Package there are some class that help t... | <p>Please refer to the answer for this question</p>
<p><a href="https://stackoverflow.com/questions/40294870/module-exports-vs-export-default-in-node-js-and-es6">module.exports vs. export default in Node.js and ES6</a></p>
<p>Hope it helps :)</p> | I get this error: Textfield is not a constructor | javascript|node.js|npm|cypress | 1 | 61 | 3 | 73,022,924 | 73,022,924 | 0 | true | 2022-07-18T12:47:01.757Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
I get this error: Textfield is not a constructor<p>I know that there are a lot of question in Stackoverflow about this error, but after read some of them (+-... |
73,025,003 | Can I make a folder as a remote repository on Hostinger Server and push to it from local machine?<p>I have a domain on <strong><a href="https://www.hostinger.com/" rel="nofollow noreferrer">Hostinger</a></strong> I want to make a folder as <strong><code>a remote repository</code></strong> that can I push to it from <st... | <p>I used this solution to make a remote repository on <a href="https://www.hostinger.com" rel="nofollow noreferrer">Hostinger</a> file manager.</p>
<p><strong>First</strong></p>
<p>I login to Hostinger using <strong><code>SSH-Key</code></strong></p>
<blockquote>
<p><code>ssh -p 65002 username@IP-address-for-my-website... | Can I make a folder as a remote repository on Hostinger Server and push to it from local machine? | git|host | 0 | 61 | 1 | 73,025,628 | 73,025,628 | 0 | true | 2022-07-18T15:40:26.143Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Can I make a folder as a remote repository on Hostinger Server and push to it from local machine?<p>I have a domain on <strong><a href="https://www.hostinger... |
73,025,237 | The logo looks fine in codepen but is too big in outlook (email template)<p>I have an email template (HTML with inline CSS), the template has a logo with a fixed width and height (px). For some reason, after I received an email with this template, the logo took up the entire width of the page. I tried to add<code>!Impo... | <p>Welcome to email!</p>
<p>Outlook looks to the width and height attributes, rather than the inline styles. So you don't need !important, either.</p>
<pre><code><img class="logo" width="200" height="200" <!-- added attributes -->
style="width: 200px !important; height: 200p... | The logo looks fine in codepen but is too big in outlook (email template) | html|css|email|outlook|html-email | 0 | 61 | 1 | 73,030,260 | 73,030,260 | 0 | true | 2022-07-18T15:56:23.640Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
The logo looks fine in codepen but is too big in outlook (email template)<p>I have an email template (HTML with inline CSS), the template has a logo with a f... |
73,023,916 | InvalidArgumentException when trying to install a symfony flex package<p>I just installed symfony and symfony flex via <code>composer require symfony/flex</code> but symfony flex aliases don't work. For example, when I try to install twig by doing <code>composer require twig</code>, I receive this answer :</p>
<p>Info ... | <p>The problem came from my composer version, once it was upgraded, the symfony flex aliases worked.</p> | InvalidArgumentException when trying to install a symfony flex package | php|symfony|symfony-flex | 0 | 61 | 1 | 73,034,025 | 73,034,025 | 0 | true | 2022-07-18T14:23:18.633Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
InvalidArgumentException when trying to install a symfony flex package<p>I just installed symfony and symfony flex via <code>composer require symfony/flex</c... |
73,028,983 | R weights are ignored, while using weighted.mean as value_fn in pivot.wider<p>I am trying to have weighted means for a list of dependent variables break down by a list of independent variables.</p>
<p>To do this, I first created a function "cross_fun", which will then be mapped in a second function "mult... | <p>A Solution: Put the weighted.mean-function here and not as a part fo the pivot_wider-function</p>
<p>Here comes the working RepEx:</p>
<pre><code>library(tidyverse)
library(rlang)
library(scales)
dv1 <- c(1, 2, 1, 2, 1, 2) # dependent variable 1
dv2 <- c(2, 1, 2, 1, 2, 1) # dependent variable 2
wt <- c(0.5... | R weights are ignored, while using weighted.mean as value_fn in pivot.wider | r|pivot|mean|weighted | 0 | 61 | 1 | 73,076,755 | 73,076,755 | 0 | true | 2022-07-18T21:49:28.383Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
R weights are ignored, while using weighted.mean as value_fn in pivot.wider<p>I am trying to have weighted means for a list of dependent variables break down... |
72,956,664 | Appropriate Spring Batch ItemWriter based on element type<p>I've been puzzling over a problem for a few days now and would love to hear your ideas.</p>
<p>I'm working on a Spring Batch application and I need to dynamically select the appropriate ItemWriter. <strong>I have 4 ItemWriters and 8 classes</strong>, each of w... | <p>You are doing the classification manually in the <code>classify</code> method which returns a regular item writer. Spring Batch provides the <a href="https://docs.spring.io/spring-batch/docs/current/api/org/springframework/batch/item/support/ClassifierCompositeItemWriter.html" rel="nofollow noreferrer">ClassifierCom... | Appropriate Spring Batch ItemWriter based on element type | java|spring|spring-batch | 0 | 61 | 1 | 73,077,942 | 73,077,942 | 0 | true | 2022-07-12T18:07:58.093Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Appropriate Spring Batch ItemWriter based on element type<p>I've been puzzling over a problem for a few days now and would love to hear your ideas.</p>
<p>I'... |
72,870,732 | Array, which elements links to elements of another array<p>I want to have an array each elements of each somehow indicates some element of another resizable array
I tried:</p>
<pre><code>vector <int> a={1,2,3};
vector <int*> b={*(a[0]),*(a[1]),*(a[2]));
</code></pre>
<p>But every editing of size of vector a... | <p>I used unordered_map to store elements. In second array I stored keys to map.
How to close this question?</p> | Array, which elements links to elements of another array | c++|arrays|vector|memory-address | 0 | 61 | 3 | 73,090,786 | 73,090,786 | 0 | true | 2022-07-05T13:59:51.243Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Array, which elements links to elements of another array<p>I want to have an array each elements of each somehow indicates some element of another resizable ... |
72,921,119 | Setting the variable with the form and return to the initial value after some time<p>I have created an app using Django, I have a variable that I set using a form for more security. But after a few hours, I check its value and see that it is zero. Every time I set the value, after a while the value becomes zero
I have ... | <p>It is better to import the variables from the file and record the changes in the file</p>
<pre><code>w_m = "YYYY"
with open('myvar.py', 'w') as file:
file.write("w_m = " + w_m)
</code></pre> | Setting the variable with the form and return to the initial value after some time | python|django | 1 | 61 | 2 | 73,132,598 | 73,132,598 | 0 | true | 2022-07-09T11:51:05.807Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Setting the variable with the form and return to the initial value after some time<p>I have created an app using Django, I have a variable that I set using a... |
72,974,244 | UnityEventTools AddPersistantListener With Dynamic Type<p>Sorry if the following is confusing...</p>
<p>QUESTION:</p>
<p>How do I go about adding a new persistent unity event action to a <code>UnityEvent</code> from a generic type with a dynamic entry?</p>
<p>EXAMPLES:</p>
<p>I have the following function:</p>
<pre><co... | <p>I got it! Only 2 weeks worth of digging and coding to get up to this point. Simple when you think about it but hard when this is 100% undocumented anywhere on the web it seems like.</p>
<p>Here is what you want to do.</p>
<p>NOTE: The following will be defined like the following:</p>
<pre><code>target = GameObject t... | UnityEventTools AddPersistantListener With Dynamic Type | c#|unity3d|generics|dynamic-programming | 0 | 61 | 1 | 73,146,329 | 73,146,329 | 0 | true | 2022-07-14T01:27:55.267Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
UnityEventTools AddPersistantListener With Dynamic Type<p>Sorry if the following is confusing...</p>
<p>QUESTION:</p>
<p>How do I go about adding a new persi... |
73,026,768 | White text color on Pixel 6 android<p>I have an app available on play store and users have been reporting that they can enter any text due to the fact that the text color is white, which very weird.
I have used Firebase Test Lab to try reproduce the issue. I could indeed reproduce it.
On Pixel 5, everything is fine and... | <p>I manage to solve the problem.Changing the parent of my style from <code>Theme.MaterialComponents.DayNight.NoActionBar</code> to <code>Theme.MaterialComponents.Light.NoActionBar</code> did the trick.</p> | White text color on Pixel 6 android | android|android-edittext|google-pixel|android-text-color | -1 | 61 | 1 | 73,234,930 | 73,234,930 | 0 | true | 2022-07-18T18:09:14.920Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
White text color on Pixel 6 android<p>I have an app available on play store and users have been reporting that they can enter any text due to the fact that t... |
72,935,055 | Default value should not be removed even if Truncating table in MySQL<p>I have a <code>registration</code> table, in which I stored details of <code>super admin</code> and <code>admin</code> and other users also. my question is even If I perform a truncate operation on that table, still, the <code>super admin</code> an... | <p>If you really want to truncate and still retain certain line, use a temporary table to keep the rows intended to stay. Then insert them back to the registration table. This can be done in a procedure. My apologies in advance as my page has trouble displaying the image so the base table name and all its column names ... | Default value should not be removed even if Truncating table in MySQL | mysql | 1 | 61 | 1 | 72,935,428 | 72,935,428 | 0 | true | 2022-07-11T07:28:00.563Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Default value should not be removed even if Truncating table in MySQL<p>I have a <code>registration</code> table, in which I stored details of <code>super ad... |
73,014,762 | How to Insert an "Employee Leave Application" into DB and update the last inserted record based on Condition<p>In my ASP.NET Core 6 Web API using Entity Framework, I am working on an Employee Leave Application.</p>
<p>And I have this model class:</p>
<pre><code>public class EmployeeLeave
{
[Key]
[DatabaseGenera... | <p>You can retrieve the last record using <code>LastOrDefault()</code> and update it using <code>EntityState.Modified</code></p>
<p>Try this</p>
<pre class="lang-cs prettyprint-override"><code>public async Task<GenericResponseDto<LeaveResponseDto>> CreateAsync(LeaveRequestDto request)
{
var response = n... | How to Insert an "Employee Leave Application" into DB and update the last inserted record based on Condition | c#|entity-framework|asp.net-core|asp.net-core-webapi | 1 | 61 | 1 | 73,015,170 | 73,015,170 | 0 | true | 2022-07-17T19:30:45.807Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to Insert an "Employee Leave Application" into DB and update the last inserted record based on Condition<p>In my ASP.NET Core 6 Web API using Entity Fram... |
72,851,282 | Linear regression Coefficients does not match with plot<p>i have a little problem with my code and i can not see it.</p>
<p>I am trying to do a linear regression with some data. Until now, i am using <code>np.polyfit()</code>and sklearn <code>LinearRegression()</code>. Both regressions work but when i do the plotting, ... | <p>Your y axis needs to be at x = 0 for the intercept to match your model output.</p>
<p>i.e. the intercept of a linear model is the output when all predictors equal 0. It doesn’t always (or even usually) make sense for graphs to default so that the y axis occurs at x = 0, as that might be outside the range of the data... | Linear regression Coefficients does not match with plot | python|linear-regression|coefficients|intercept | 1 | 61 | 1 | 72,851,308 | 72,851,308 | 0 | true | 2022-07-04T02:38:46.327Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Linear regression Coefficients does not match with plot<p>i have a little problem with my code and i can not see it.</p>
<p>I am trying to do a linear regres... |
72,884,712 | Showing a lot of picturebox in a form and playing gif, causes the form and gifs to freeze<p>I try to write an application with a large number of GIF animations in a form (30-40 picture boxes and each .gif image is 200-500kb). However, when I use so much Picturebox and run the program, the form freezes too much, and the... | <p>Use 'BeginInvoke' instead 'Invoke'. Invoke makes your ui wait until action finished and it will make your app not responding or slow. Use 'BeginInvoke' often in windows apps.</p>
<p>or</p>
<p>I think it's because your pictures has different size than your picturebox or has different w/h ratio from picturebox so it h... | Showing a lot of picturebox in a form and playing gif, causes the form and gifs to freeze | c#|gif|picturebox | 0 | 61 | 1 | 72,893,676 | 72,893,676 | 0 | true | 2022-07-06T13:47:13.863Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Showing a lot of picturebox in a form and playing gif, causes the form and gifs to freeze<p>I try to write an application with a large number of GIF animatio... |
72,957,567 | copy multiple folders of similar names from google cloud to google colab<p>I have a google cloud bucket which has 7 subfolders named <code>subset0</code> to <code>subset7</code>. I want to copy all of them to google colab. Right now I am using code like</p>
<pre><code>!gsutil -m cp -r gs://mybucket/datafolder/subset0 d... | <p>As @FerreginaPelona mentioned in the comments, you can use <code>gsutil -m cp -r gs://mybucket/datafolder/subset* datafolder/</code> if your <code>gs://mybucket/datafolder/</code> only contains <code>subset0</code> to <code>subset7</code> and no other subfolders.</p>
<p>However, if your <strong>source bucket path</s... | copy multiple folders of similar names from google cloud to google colab | google-cloud-platform|google-colaboratory | 1 | 61 | 1 | 72,959,186 | 72,959,186 | 0 | true | 2022-07-12T19:39:53.987Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
copy multiple folders of similar names from google cloud to google colab<p>I have a google cloud bucket which has 7 subfolders named <code>subset0</code> to ... |
72,897,911 | Adding field is my state is not working why?<p>Does someone know why do I have <code>names</code> without my adding <code>selected</code> field???
I'm can retrieve <code>names</code> from my api json (1) and I'm trying to modify it in order to get my adding <code>selected</code> field (2).</p>
<pre><code> export defa... | <p>That's what init should looks like according to me :</p>
<pre><code> const init = async () => {
const data = await axios.post("").then(res => {
return res.data.names.map((item) => {
return {
...item,
types: item.types.map((... | Adding field is my state is not working why? | javascript|html|reactjs | 0 | 61 | 1 | 72,898,389 | 72,898,389 | 0 | true | 2022-07-07T12:34:46.660Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Adding field is my state is not working why?<p>Does someone know why do I have <code>names</code> without my adding <code>selected</code> field???
I'm can re... |
72,937,612 | Flutter countdown timer auto start issue<p>im trying to make a countdown timer when the button is pressed, but my countdown timer runs automatically when I open the page.</p>
<p>the problem here is that the timer works as soon as you open the page</p>
<p>packages I use</p>
<p><a href="https://pub.dev/packages/flutter_c... | <p>It's not possible with <code>flutter_countdown_timer</code> as it doesn't support initializing in a paused state.</p>
<p>I'd recommend you to use one of the following countdown timers as they support start/stop/resume controls:</p>
<ol>
<li><a href="https://pub.dev/packages/timer_count_down" rel="nofollow noreferrer... | Flutter countdown timer auto start issue | flutter|timer|countdown | 2 | 61 | 1 | 72,938,004 | 72,938,004 | 0 | true | 2022-07-11T11:11:00.770Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Flutter countdown timer auto start issue<p>im trying to make a countdown timer when the button is pressed, but my countdown timer runs automatically when I o... |
72,965,934 | Converting a Numeric column to Date column in snowflake<p>I have a table with a column "VALUATION DATE NUM", which stores integer in '20210331' format. I have another column in the same table "VALUATION DATE" which is in date format, however is blank for now. I want to use the "VALUATION DATE N... | <p>Using spaces in column names is not a good practice. Do you need something like this?</p>
<pre><code>update yourtable SET "VALUATION DATE" = TO_DATE( "VALUATION DATE NUM"::VARCHAR,'YYYYMMDD' ) where "VALUATION DATE" is NULL;
</code></pre>
<p>Note: Because you said blank values I added ... | Converting a Numeric column to Date column in snowflake | sql|snowflake-cloud-data-platform | 0 | 61 | 1 | 72,965,975 | 72,965,975 | 0 | true | 2022-07-13T12:00:12.270Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Converting a Numeric column to Date column in snowflake<p>I have a table with a column "VALUATION DATE NUM", which stores integer in '20210331' for... |
72,841,429 | AngularFire7 Maximum call stack exceeded in transaction<p>I've already made a post but <a href="https://stackoverflow.com/questions/72763167/maximum-call-stack-size-exceeded-on-angularfire-7?noredirect=1#comment128541059_72763167">this one</a> got closed. I also found <a href="https://stackoverflow.com/questions/704905... | <p>downgrading to version <code>7.4.0</code> instead of <code>7.4.1</code> apparently solved the issue.</p> | AngularFire7 Maximum call stack exceeded in transaction | javascript|angular|firebase|firebase-realtime-database|angularfire2 | 0 | 61 | 1 | 72,846,101 | 72,846,101 | 0 | true | 2022-07-02T18:15:28.690Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
AngularFire7 Maximum call stack exceeded in transaction<p>I've already made a post but <a href="https://stackoverflow.com/questions/72763167/maximum-call-sta... |
72,929,971 | Blazor WebAssembly 6.0 Yellow Bar of Death on Android browser<p>I've got a Blazor webassembly website that runs fine on the desktop in Chrome, Firefox, Brave, both locally and deployed to my server.</p>
<p>However, on an Android device, I get the yellow bar of death before anything even loads in Chrome for Android, Bra... | <p>The first thing I did was to add a global javascript exception handler:</p>
<pre><code>window.onerror = function (errMsg, url, line, column, error) {
var dto = {
"columnNumber": column,
"lineNumber": line,
"message": errMsg,
"url": url
}... | Blazor WebAssembly 6.0 Yellow Bar of Death on Android browser | blazor-webassembly | 0 | 61 | 2 | 72,957,347 | 72,957,347 | 0 | true | 2022-07-10T16:11:24.277Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Blazor WebAssembly 6.0 Yellow Bar of Death on Android browser<p>I've got a Blazor webassembly website that runs fine on the desktop in Chrome, Firefox, Brave... |
72,980,971 | error message AadGroupCreationLimitExceeded when using CreateTeam graph API endpoint in Power Automate<p>I'm using Graph API Create Team endpoint. When I've tested the flow it run successfully, but on the next run I get the following error message:</p>
<blockquote>
<p>{ "error": {
"code": "Ba... | <p>Are you creating new teams on behalf of a user or as application? If you are creating new teams on behalf of a user, there is a limit of 250 directory objects/user.</p>
<p>See <a href="https://docs.microsoft.com/en-us/microsoftteams/limits-specifications-teams" rel="nofollow noreferrer">here</a>.</p> | error message AadGroupCreationLimitExceeded when using CreateTeam graph API endpoint in Power Automate | microsoft-graph-api|power-automate | 0 | 61 | 1 | 72,982,322 | 72,982,322 | 0 | true | 2022-07-14T13:02:28.147Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
error message AadGroupCreationLimitExceeded when using CreateTeam graph API endpoint in Power Automate<p>I'm using Graph API Create Team endpoint. When I've ... |
72,936,244 | Why can't we access or re-assign a value to an OuterClass instance field from within InnerClass, outside its method/block?<p>I am preparing for Java 11 certification and while revising Java concepts, I got trapped in one of the silly concept.
I know that <code>OuterClass</code>'s instance fields could be accessed from ... | <p>I might be wrong here, but where you first have this assignment is a completely non-dynamic (for lack of better word and because I don't want to use the in this context ambiguous word 'static') area. There you would define things about the current scope, like which fields this class has or which methods.
That's why ... | Why can't we access or re-assign a value to an OuterClass instance field from within InnerClass, outside its method/block? | java|inner-classes | -2 | 61 | 2 | 72,936,953 | 72,936,953 | 0 | true | 2022-07-11T09:20:20.103Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Why can't we access or re-assign a value to an OuterClass instance field from within InnerClass, outside its method/block?<p>I am preparing for Java 11 certi... |
72,791,934 | How to create a function that generates instances of a class from its arguments<p>I'm a python newbie, and I'm trying to create a function that returns an instance of one of three classes, using the arguments of the function as attributes of the instance.</p>
<pre><code>class User:
def __init__(self, nick, full_nam... | <p>Don't arbitrarily make variables. Use something like a dictionary instead.</p>
<pre><code>class User:
def __init__(self, nick, full_name, reg_date, age, role):
self.nick = nick
self.full_name = full_name
self.reg_date = reg_date
self.age = age
self.role = role
class Staf... | How to create a function that generates instances of a class from its arguments | python|python-3.x | -1 | 61 | 1 | 72,792,056 | 72,792,056 | 0 | true | 2022-06-28T19:05:35.073Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to create a function that generates instances of a class from its arguments<p>I'm a python newbie, and I'm trying to create a function that returns an in... |
72,870,882 | trying to cast an int data type into date<p>How do I convert <code>int</code> to <code>date</code> using cast in the format setting below.</p>
<p><code>month</code> column is an <code>int</code> type that want to be converted to <code>date</code>.</p>
<pre><code>SELECT x y z
FROM table
WHERE name = 'S'
AND las... | <p>Something like this should work for you (as you said in the comments):</p>
<pre class="lang-sql prettyprint-override"><code>create table test(
date_as_int int,
date_as_date date
);
insert into test(date_as_int, date_as_date)
values (20220705, '20220705'),
(20220704, '20220604'),
(20200507, '20200707');
select *... | trying to cast an int data type into date | sql|date|casting|integer | -2 | 61 | 1 | 72,871,303 | 72,871,303 | 0 | true | 2022-07-05T14:10:50.303Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
trying to cast an int data type into date<p>How do I convert <code>int</code> to <code>date</code> using cast in the format setting below.</p>
<p><code>month... |
72,954,163 | How to make the user input the file's name and extension?<p>I'm trying to improve a program I made and I want the working-file (the file the user wants to work on/want information about/ etc.) to be variable/not determined right from the start by the code/the program as well as the working-directory.</p>
<p>I managed t... | <p>To allow the user to enter input for a directory name, add such a line:</p>
<p><code>set /p "Source_folder=Enter the directory path: "</code></p>
<p>Then, do this again for the filename:</p>
<p><code>set /p "File_name=Enter a file name to search (without extension): "</code></p>
<p>And another li... | How to make the user input the file's name and extension? | batch-file|cmd | 0 | 61 | 1 | 72,954,630 | 72,954,630 | 0 | true | 2022-07-12T14:40:49.703Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to make the user input the file's name and extension?<p>I'm trying to improve a program I made and I want the working-file (the file the user wants to wo... |
72,884,777 | AzureDevOps agentless jobs costs and limitations<p><strong>Is there any limitation to the number of allowed running agentless jobs?</strong></p>
<p>Context: We have an Azure Function task with await callback=true, the function is awaiting an approval from an external system. However we many have many pipelines awaiting... | <blockquote>
<p>Is there any limitation to the number of allowed running agentless
jobs?</p>
</blockquote>
<p><em><strong>No,</strong></em> no limitation for number.</p>
<p>But there has a limit on TSTUs. since there are no agents, the limitation is <em><strong>'Complex work item tracking queries create database load b... | AzureDevOps agentless jobs costs and limitations | azure-devops|azure-pipelines | -1 | 61 | 1 | 72,892,038 | 72,892,038 | 0 | true | 2022-07-06T13:51:16.667Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
AzureDevOps agentless jobs costs and limitations<p><strong>Is there any limitation to the number of allowed running agentless jobs?</strong></p>
<p>Context: ... |
72,842,234 | iterate and compare two lists in python, if contains string from the other list, pop item<p>I'm trying to comparing two lists (<code>mama</code> and <code>filterkeywords</code> in the code shown), and remove values from the first list depending on the second. I have this code:</p>
<pre><code>occurenceList = []
title = ... | <p>This is a very straightforward place to use a list comprehension to generate a list of items that do not contain any of those keywords.</p>
<pre><code>>>> [f"{i} {t} {m}" for i, (t, m) in enumerate(zip(title, mama))
... if not any(w in m for w in filterkeywords)]
['0 SL ... | iterate and compare two lists in python, if contains string from the other list, pop item | python|list|for-loop | -1 | 61 | 1 | 72,843,553 | 72,843,553 | 0 | true | 2022-07-02T20:29:49.120Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
iterate and compare two lists in python, if contains string from the other list, pop item<p>I'm trying to comparing two lists (<code>mama</code> and <code>fi... |
72,836,044 | I don't know how to wrap text in Flutter<p>I am trying to create a common component with an image on the left and an introduction on the right.
When the introduction is long, the component does not render well.</p>
<p>I know there is a commonly known method of wrapping <code>Text</code> in a <code>Flexible</code> Widge... | <pre><code> return GestureDetector(
child: Row(children: [
// alt image component
SizedBox(
height: 100,
width: 100,
child: Container(
color: Colors.red,
),
),
// item description
Expanded(
child: Column(
children: [
Text("user name"),
Text(
... | I don't know how to wrap text in Flutter | flutter|dart|flutter-layout | 1 | 61 | 2 | 72,836,252 | 72,836,252 | 0 | true | 2022-07-02T02:21:50.800Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
I don't know how to wrap text in Flutter<p>I am trying to create a common component with an image on the left and an introduction on the right.
When the intr... |
72,954,825 | how to create a SimpleListFilter in django<p>I don't succeed to write a query filter.
I have 3 models: Patient, Prescription and User</p>
<p>I write you only what is relevant for my question</p>
<p>Patient:</p>
<pre><code>class Patient(models.Model):
user = models.OneToOneField(
settings.AUTH_USER_MODEL, on_delet... | <p>You are trying to get a key from the prescription object in <code>print(mydict['file_extention'])</code> which I believe is causing the issue - you would instead access that property via <code>mydict.file_extention</code> - though I should add that mydict is not an accurate variable name for a model object as it isn... | how to create a SimpleListFilter in django | django|filter|admin | 0 | 61 | 1 | 72,955,103 | 72,955,103 | 0 | true | 2022-07-12T15:29:10.340Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
how to create a SimpleListFilter in django<p>I don't succeed to write a query filter.
I have 3 models: Patient, Prescription and User</p>
<p>I write you only... |
72,944,605 | How can I extract object values from 3 nested json arrays by matched string object values from a separate array and then display it in html/javascript<p>I would like to match the "title" and "thumbnail" values from one json response array to the values in another response array and show them in an h... | <p>So you can do it like this to get player details from position 1 as discussed in comments, its one of the many ways, I have defined a class with required attributes and pushed class object into a list. After this you can use this list to show the details however you want</p>
<pre><code>
class reqInformation {
cons... | How can I extract object values from 3 nested json arrays by matched string object values from a separate array and then display it in html/javascript | javascript|multidimensional-array|match|key-value|map-function | 0 | 61 | 1 | 72,959,553 | 72,959,553 | 0 | true | 2022-07-11T20:58:13.823Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How can I extract object values from 3 nested json arrays by matched string object values from a separate array and then display it in html/javascript<p>I wo... |
72,896,487 | Difference between ORA-12899 and ORA-01480<p>I would like to understand the difference between <code>ORA-12899</code> and <code>ORA-01480</code></p>
<p>ORA-12899: value too large for column</p>
<p>ORA-01480: trailing null missing from STR bind value</p>
<p>Based on my understanding, I know about ORA-12899 and how it ca... | <p>The error:</p>
<pre class="lang-none prettyprint-override"><code>ORA-01480: trailing null missing from STR bind value
</code></pre>
<p>Is for languages such as C or C++ (among many others) which allow low level manipulation of string-like objects.</p>
<p>If you have a <code>VARCHAR2(100)</code> column and you try to... | Difference between ORA-12899 and ORA-01480 | sql|oracle|oracle19c | 2 | 61 | 1 | 72,896,704 | 72,896,704 | 0 | true | 2022-07-07T10:49:49.403Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Difference between ORA-12899 and ORA-01480<p>I would like to understand the difference between <code>ORA-12899</code> and <code>ORA-01480</code></p>
<p>ORA-1... |
72,970,081 | Access 16 append query - Syntax error (missing operator) in query expression WHERE clause<p>I am still not too experienced with access, SQL, VBA and this is my first post. So please go easy on me! Okay lets get to it. I have been updating an access file due to irrelevant and duplicate records showing up on reports.</p>... | <p>If you want to prevent duplicate pairs of Tent and Candy in table, just set a compound Index in table with those two fields. Records that would cause duplication will be rejected. The IN() criteria can be eliminated.</p>
<p>As for the IN() criteria, I tested your original syntax. It does not error but also does not ... | Access 16 append query - Syntax error (missing operator) in query expression WHERE clause | sql|ms-access | 1 | 61 | 1 | 72,974,590 | 72,974,590 | 0 | true | 2022-07-13T17:05:29.230Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Access 16 append query - Syntax error (missing operator) in query expression WHERE clause<p>I am still not too experienced with access, SQL, VBA and this is ... |
72,925,444 | decoding key issue swift codable<p>I have a function which I use to make api call but sometimes, I could get a decaying error and debugging this has been difficult. Below is my function, is there any way to maybe log or print the bad decoding key since I am using combine.</p>
<pre><code> func request<T>(with b... | <p>I have been using this snippet to point to the bad decoding key which might help.</p>
<pre class="lang-swift prettyprint-override"><code>if let data = response.data {
do {
let decoder = JSONDecoder()
let messages = try decoder.decode(T.self, from: data)
print(messages as Any)
} catch ... | decoding key issue swift codable | swift|combine|codable | 0 | 61 | 1 | 72,926,326 | 72,926,326 | 0 | true | 2022-07-10T00:21:31.353Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
decoding key issue swift codable<p>I have a function which I use to make api call but sometimes, I could get a decaying error and debugging this has been dif... |
72,975,282 | Jolt Spec - Need help in getting Flattened Array<p>I am having some trouble with flattening the JSON. I have looked at examples and didn't get any closer as to what is mentioned above. I need to transform a JSON structure by using a JOLT spec. I use <a href="https://jolt-demo.appspot.com" rel="nofollow noreferrer">htt... | <p>You can add one more <strong>shift</strong> transformation to separate the content of the currently generated three objects triple so as to generate <em>3</em> x <em>3</em> = <em>9</em> objects by walking along with a component of the arrays start with <strong>Stock</strong>(I've picked <em><strong>StockStatus</stro... | Jolt Spec - Need help in getting Flattened Array | json|apache-nifi|jolt | 1 | 61 | 1 | 72,983,641 | 72,983,641 | 0 | true | 2022-07-14T04:41:41.560Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Jolt Spec - Need help in getting Flattened Array<p>I am having some trouble with flattening the JSON. I have looked at examples and didn't get any closer as... |
72,931,772 | How to print matched regex pattern using awk svr08-core1-1654761552.278?<p>How to print matched regex pattern using awk?</p>
<p>How to print <code>svr08-core1-1654761552.278</code> columns?</p>
<p>My log files</p>
<pre><code>"/usr/local/bin/publisher calllog -account='IE-00683' -uniqueid='svr08-core1-1654762416.51... | <p>Here is a potential solution with <code>sed</code>:</p>
<pre><code>sed -n "s/.*\-uniqueid='\([[:alnum:]\.-]\{1,\}\)'.*/\1/p" file.log
</code></pre>
<p>If this doesn't solve your problem, please edit your question to include more details and/or example input and the corresponding expected output.</p> | How to print matched regex pattern using awk svr08-core1-1654761552.278? | regex|awk | -1 | 61 | 2 | 72,933,896 | 72,933,896 | 0 | true | 2022-07-10T20:44:51.117Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to print matched regex pattern using awk svr08-core1-1654761552.278?<p>How to print matched regex pattern using awk?</p>
<p>How to print <code>svr08-core... |
72,881,554 | Fetch on multiple tables select option with multiple values insert (joins fetch insert)<p>I have two tables for cars details, one for type of fuel and another for the cars.
The fields and table names are as follows:</p>
<pre><code>table name: |**viaturas**|
fields: idviatura, matricula, marca, km, idtipocomb
**combu... | <p>In whatever PHP file that handles your form upload...</p>
<p>Using PHP <a href="https://www.php.net/manual/en/function.list.php" rel="nofollow noreferrer"><code>list</code></a> and <a href="https://www.php.net/manual/en/function.explode.php" rel="nofollow noreferrer"><code>explode</code></a> to capture the pipe <cod... | Fetch on multiple tables select option with multiple values insert (joins fetch insert) | php | -1 | 61 | 1 | 72,881,847 | 72,881,847 | 0 | true | 2022-07-06T10:04:42.670Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Fetch on multiple tables select option with multiple values insert (joins fetch insert)<p>I have two tables for cars details, one for type of fuel and anothe... |
72,777,323 | Why does this bootstrap text overlap image when make screen smaller<p>I'm using bootstrap 5.1 and a fluid container, for this row I have two columns, one of 3 and one of 9</p>
<p>It looks okay when fullscreen:</p>
<p><a href="https://i.stack.imgur.com/SAXMd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur... | <p>Simply put, you need to improve your column handling. Apparently you want the first column to be larger on smaller screens, so make it so. Your columns actually only added up to 11 (there are 12 units available), and we can use <a href="https://getbootstrap.com/docs/5.1/layout/grid/#how-it-works" rel="nofollow noref... | Why does this bootstrap text overlap image when make screen smaller | html|bootstrap-5 | 0 | 61 | 1 | 72,787,691 | 72,787,691 | 0 | true | 2022-06-27T19:17:47.970Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Why does this bootstrap text overlap image when make screen smaller<p>I'm using bootstrap 5.1 and a fluid container, for this row I have two columns, one of ... |
72,985,731 | How to make this page responsive for all resolutions?<p>I'm new and I'm having a problem--this page is not responsive for 1366, and 1280 resolutions on PC, on 1920, and on mobile it's perfect. May you please help me with this one?</p>
<p>I tried adding contain on object-fit, but that didn't help me, I think the problem... | <p>I removed Row code from the container and it's working. :) They are only used for containing columns. I don't have columns so I tried removing the row class and everything is cool right now. I hope that this will stay like this :)</p> | How to make this page responsive for all resolutions? | html|css|image|twitter-bootstrap|width | 0 | 61 | 1 | 72,986,718 | 72,986,718 | 0 | true | 2022-07-14T19:29:14.160Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to make this page responsive for all resolutions?<p>I'm new and I'm having a problem--this page is not responsive for 1366, and 1280 resolutions on PC, o... |
72,915,241 | awk how to parse based on pattern but skip multiple similar lines and accept only single line occurence<p>I got this entry text</p>
<pre><code>This connection from x.x.x.x
auth msg from AAA
auth msg from BBB
This connection from x.x.x.x
auth msg from BBB
This connection from x.x.x.x
This connection from y.z.x.y
This co... | <pre><code>awk '
/connection from/{ nr=NR; conn[nr]=$NF; auth_counter[nr]=0; next; }
{ auth_counter[nr]++; auth_msg[nr]=$NF; }
END{
for(i in auth_counter) if(auth_counter[i]==1) print conn[i], auth_msg[i]
}' file
x.x.x.x BBB
y.y.y.x CCC
x.x.x.a ZZZ
</code></pre> | awk how to parse based on pattern but skip multiple similar lines and accept only single line occurence | awk | -4 | 61 | 3 | 72,917,295 | 72,917,295 | 0 | true | 2022-07-08T17:55:39.833Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
awk how to parse based on pattern but skip multiple similar lines and accept only single line occurence<p>I got this entry text</p>
<pre><code>This connectio... |
72,847,340 | How to fix text going bottom in HTML & CSS?<p>When I try to text something bit in my second div, this text is coming bottom and the page's structure is abolished. <br></p>
<p>The main text and left div are not in line and when I try to a shorter page, the main text is going down and It's very plain, but when I add smal... | <p>If I understand your question correctly, I think the issue may stem from your use of <code>display:inline-block</code> and setting your hr's width to 1000px. The hr's width seems to be the only element with a set width.</p>
<p>Use <code>display:flex</code> instead of <code>display:inline-block</code> which will give... | How to fix text going bottom in HTML & CSS? | html|css | 1 | 61 | 1 | 72,847,681 | 72,847,681 | 0 | true | 2022-07-03T14:34:44.923Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to fix text going bottom in HTML & CSS?<p>When I try to text something bit in my second div, this text is coming bottom and the page's structure is aboli... |
72,863,784 | Insert multiple record into one model with condition ASP.NET MVC<p>I'm trying to insert multiple record into database with loop, it's really pain for me when insert bills record for each room in used. So my goal is to create bill for all rooms in used <code>TRANGTHAI == 1</code> by using form.</p>
<p>Here's my controll... | <p>Thanks to Chetan, I have two solution for this. You can use <code>dynamic</code> or <code>List<int></code>
and in</p>
<pre><code>HOADON data = new HOADON()
{
ID_PHONG = phong.ID_PHONG,
ID_DONGIA = 1,
THANG = 1,
NAM = DateTime.Now.Year,... | Insert multiple record into one model with condition ASP.NET MVC | c#|asp.net-mvc | 1 | 61 | 1 | 72,864,236 | 72,864,236 | 0 | true | 2022-07-05T03:45:03.330Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Insert multiple record into one model with condition ASP.NET MVC<p>I'm trying to insert multiple record into database with loop, it's really pain for me when... |
72,896,876 | G AppScript Search Files<p>I am trying to write a script that will allow me to search within all of google drive, including shared teams and subfolders (Many Subfolders)</p>
<p>With what I wrote I can't find all the files, in fact there is a discrepancy between the ones I see from the web page and the ones the script r... | <h2>To find all files including the ones on Shared Drives, you need to use the <a href="https://developers.google.com/apps-script/advanced/drive" rel="nofollow noreferrer">Advanced Drive Service</a> instead of <code>DriveApp</code></h2>
<ul>
<li>As the documentation for <a href="https://developers.google.com/apps-scrip... | G AppScript Search Files | google-apps-script | 0 | 61 | 1 | 72,898,849 | 72,898,849 | 0 | true | 2022-07-07T11:17:53.040Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
G AppScript Search Files<p>I am trying to write a script that will allow me to search within all of google drive, including shared teams and subfolders (Many... |
72,888,099 | Referencing list to remove string values<p>The following <code>def clean_sheet_title</code> function references <code>INVALID_TITLE_CHAR</code> and <code>INVALID_TITLE_CHAR_MAP</code> to strip out invalid characters and limits the <code>title</code> to 31 characters -</p>
<pre><code># This strips characters that are in... | <p>Try this:</p>
<pre class="lang-py prettyprint-override"><code>for name in INVALID_TITLE_NAMES:
title = title.replace(name, "")
</code></pre>
<p>Is that the result you are trying to achieve? It should replace each invalid name in <code>title</code> with an empty string.</p> | Referencing list to remove string values | python|replace|ord | 0 | 61 | 2 | 72,888,574 | 72,888,574 | 0 | true | 2022-07-06T18:05:43.750Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Referencing list to remove string values<p>The following <code>def clean_sheet_title</code> function references <code>INVALID_TITLE_CHAR</code> and <code>INV... |
72,884,165 | paho mqtt not publishing<p>wrote a code that checks gpio statuses every second and if the new result does not match the previous one, it should publish it. The problem is that it does not publish it, but if you enter a print, then everything works clearly. What can be wrong?</p>
<pre><code>from argparse import Argument... | <p>I'm not sure why adding a <code>print()</code> fixed the problem - but there are issues in the program around the use of the <code>client.loop()</code> function.</p>
<p>This is designed to be called regularly in order to allow the MQTT code to run, publishing and receiving messages. Also - by putting a forever loop ... | paho mqtt not publishing | python|server|mqtt|gpio | 0 | 61 | 2 | 72,886,336 | 72,886,336 | 0 | true | 2022-07-06T13:10:20.350Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
paho mqtt not publishing<p>wrote a code that checks gpio statuses every second and if the new result does not match the previous one, it should publish it. T... |
72,862,689 | Can I reverse xaxis in Aitoff projection supported by matplotlib? (It is not duplicate.)<p>I want to reverse my xaxis of my aitoff projection in my python script. Here is an example</p>
<pre><code>import numpy as np
import matplotlib.pyplot as plt
X=[-1,0,1,2]
Y=[0,1,0,1]
plt.figure()
plt.subplot(111,projection="a... | <p>I have a workaround for you, but some peculiar <code>plt.pause</code>s are required to make it work (if theses pauses are omitted, no xticks are displayed for me at all after the manipulation):</p>
<p>Instead of inverting the x-axis, try both flipping the x-coordinate and the xticklabels:</p>
<pre><code>import numpy... | Can I reverse xaxis in Aitoff projection supported by matplotlib? (It is not duplicate.) | python|matplotlib|axis|map-projections|x-axis | 1 | 61 | 1 | 72,864,283 | 72,864,283 | 0 | true | 2022-07-04T23:09:44.650Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Can I reverse xaxis in Aitoff projection supported by matplotlib? (It is not duplicate.)<p>I want to reverse my xaxis of my aitoff projection in my python sc... |
72,880,304 | Spring Integration - WIth AWS S3 ( Retry Strategy)<p>I am creating a simple integration service with AWS S3. I am facing some difficulties when an exception occurs.</p>
<p>My requirement is to poll an S3 Bucket periodically and to apply some transformation whenever a file is newly placed into S3 Bucket. The below code ... | <ol>
<li><p>That story is different: it talks about a listener container for AMQP. You use a source polling channel adapter - the approach might be different.</p>
</li>
<li><p>You create two source polling channel adapters: one via that <code>@InboundChannelAdapter</code>, another via <code> IntegrationFlows.from(s3Inb... | Spring Integration - WIth AWS S3 ( Retry Strategy) | spring-boot|spring-integration|spring-integration-sftp|spring-integration-aws | 0 | 61 | 1 | 72,885,994 | 72,885,994 | 0 | true | 2022-07-06T08:36:20.910Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Spring Integration - WIth AWS S3 ( Retry Strategy)<p>I am creating a simple integration service with AWS S3. I am facing some difficulties when an exception ... |
72,955,451 | Count the number of occurrences of an IP in the JSON log file<p>I have the following data in JSON format. I want to find the number of occurrences (count) of each unique value of the <code>"remoteIp"</code> key.</p>
<pre class="lang-json prettyprint-override"><code>{
"insertId": "kdkddkdmdkd&qu... | <p>Make a frequency table instead of a set. You'll go through the same amount of steps, but instead of not adding already existing IPs and other, you add to their frequency.</p>
<p>EDIT: added function for try catching attempts to get and save values from a response. updated example json to include a response with no s... | Count the number of occurrences of an IP in the JSON log file | python|json|list|count | 0 | 61 | 2 | 72,955,689 | 72,955,689 | 0 | true | 2022-07-12T16:22:06.490Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Count the number of occurrences of an IP in the JSON log file<p>I have the following data in JSON format. I want to find the number of occurrences (count) of... |
72,991,013 | geting input in one line array / list<p>How can I get an input like this in python3</p>
<p>The first input is = 2 and based on this first input I want to get 2 get new inputs</p>
<p>For example:</p>
<pre><code>2 # how many inputs?
1 2 # 2 numbers inputs
</code></pre>
<p>or</p>
<pre><code>3 # how many inputs?
3 5 8 # in... | <p>The reason is that you're running a loop n times and in each iteration you are picking up a whole line of input. Thus, at the end <code>x</code> contains the latest input line.
Instead you can read space separated input and store it into list directly.</p>
<pre><code>n = int(input())
x = list(map(int,input().split()... | geting input in one line array / list | python | 1 | 61 | 3 | 72,991,083 | 72,991,083 | 0 | true | 2022-07-15T08:16:37.180Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
geting input in one line array / list<p>How can I get an input like this in python3</p>
<p>The first input is = 2 and based on this first input I want to get... |
72,795,821 | lotto program random number generator<p>I would like to create a program where 4 out of a group of a specified number will be chosen and another 2 out of another specified number will be chosen as well. For example: ( 55, 50,45, 30, 3, 12, 36, 9,8,13) out of this set, there will be 4 numbers that will be randomly chose... | <p>I decided to write my implementation in Python. This will output 4 unique values from the first list and two unique values from the second list. I think this is what your code should look like:</p>
<pre class="lang-py prettyprint-override"><code>import random
list1 = [55, 50,45, 30, 3, 12, 36, 9,8,13]
list2 = [54, ... | lotto program random number generator | random|set|generator | 0 | 61 | 1 | 72,795,875 | 72,795,875 | 0 | true | 2022-06-29T04:32:07.007Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
lotto program random number generator<p>I would like to create a program where 4 out of a group of a specified number will be chosen and another 2 out of ano... |
72,820,497 | Why have .a files been installed in Windows with Qt online installer?<p>I installed Qt 6.3.1 libraries pre-built with MinGW 11.2.0 64-bit using the online installer. The application crashes without entering the main function when I use any of Qt libraries in the Qt Creator while there is no problem if I use only C++ st... | <p>After learning that the problem may be due to duplication of some library from <a href="https://forum.qt.io/post/631801" rel="nofollow noreferrer">here</a>, I saw using dependency walker that my program uses libstdc++-6.dll in system32 instead of qt-mingw installation. So the problem solved when I copied that dll in... | Why have .a files been installed in Windows with Qt online installer? | c++|qt|mingw | 1 | 61 | 1 | 73,077,225 | 73,077,225 | 0 | true | 2022-06-30T18:30:08.077Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Why have .a files been installed in Windows with Qt online installer?<p>I installed Qt 6.3.1 libraries pre-built with MinGW 11.2.0 64-bit using the online in... |
72,911,469 | How to find the right cartopy projection?<p>I need to plot some data in Germany with cartopy. The data part of my plot works fine (so I deleted it for now). Unfortunately, the shape of the country is deformed due to the projection.</p>
<p>I am currently using the PlateCarree projection, but changing it to Orthographic ... | <p>The solution is transforming the Geopandas Dataframe using the same projection as explained <a href="https://geopandas.org/en/stable/gallery/cartopy_convert.html?highlight=add_geometries#CartoPy-to-GeoPandas" rel="nofollow noreferrer">here</a></p>
<p><strong>New output:</strong>
<a href="https://i.stack.imgur.com/mY... | How to find the right cartopy projection? | python|matplotlib|cartopy | 0 | 61 | 1 | 72,937,121 | 72,937,121 | 0 | true | 2022-07-08T12:31:18.897Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to find the right cartopy projection?<p>I need to plot some data in Germany with cartopy. The data part of my plot works fine (so I deleted it for now). ... |
72,885,099 | Catch(error) on dispatched method in store not working in Vue 3<p><strong>I am working on login of a vue 3 app</strong>, both the login and registration work fine, but i still need to throw send back a meaningful response to user if login in credentials are rejected by the back-end, i have tried every possible means to... | <p>After checking through my <code>controller</code> in my <code>Laravel</code> project, I discovered that I did not set the status code for the response properly.</p>
<h3>Incorrect code:</h3>
<pre><code> if (!Auth::attempt($credentials, $remember)) {
return response([
'error'=> 'The provided ... | Catch(error) on dispatched method in store not working in Vue 3 | vue.js | 0 | 61 | 1 | 72,896,319 | 72,896,319 | 0 | true | 2022-07-06T14:12:58.613Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Catch(error) on dispatched method in store not working in Vue 3<p><strong>I am working on login of a vue 3 app</strong>, both the login and registration work... |
72,340,848 | R: Classification table for svyglm (survey package)<p>I trying to do logistic regression analysis with 'survey' package.</p>
<p>I am struggeling with Classification table of my model.</p>
<pre><code>design1 <- svydesign(ids = ~num, weights = ~weights, data = mydata, fpc=~nm, strata = ~strata1)
glm_m<- svyglm(va... | <p>You'll need a classification to get a classification table. Suppose you want a threshold at 0.5. Then <code>svytable</code> to get a population table</p>
<pre><code>design1<-update(design1, fittedp=fitted(design1))
design1<-update(design1, fittedclass= fittedp>0.5)
svytable(~var1+fittedclass, design1)
</co... | R: Classification table for svyglm (survey package) | r|regression|survey | 0 | 61 | 1 | 72,653,546 | 72,653,546 | 1 | true | 2022-05-22T19:49:47.603Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
R: Classification table for svyglm (survey package)<p>I trying to do logistic regression analysis with 'survey' package.</p>
<p>I am struggeling with Classi... |
72,770,888 | Filter out files older than a week JFileChooser - Java<p>I'm quite new to programming, in fact I just finished school and just started in an IT Department until I start University in some months.</p>
<p>However, I was given the task to make a program that copies files from one folder to another, where the user doesn't ... | <p>You just need to create a custom Filter class for your <strong>JFileChooser</strong> to do what you want. Normally you would apply one or more filters to your file chooser instance by providing a file name extension and a file description (there are other variants of this however). By creating you own Filter class, ... | Filter out files older than a week JFileChooser - Java | java|swing|date|for-loop|filter | -2 | 61 | 2 | 72,774,884 | 72,774,884 | 1 | true | 2022-06-27T10:51:05.073Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Filter out files older than a week JFileChooser - Java<p>I'm quite new to programming, in fact I just finished school and just started in an IT Department un... |
72,785,764 | Whats the efficient way to assign groups in python?<p>I have many groups such as:</p>
<pre><code>BB = ['AA', 'BB', 'CC']
BR = ['LL', 'PP', 'KK']
</code></pre>
<p>I have a different column:</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>df.Sig</th>
</tr>
</thead>
<tbody>
<tr>
<td>'AA'</td>
... | <p>Use a dictionary of lists as starting point, then invert it and <a href="https://pandas.pydata.org/docs/reference/api/pandas.Series.map.html" rel="nofollow noreferrer"><code>map</code></a>:</p>
<pre><code>d = {'BB': ['AA', 'BB', 'CC'],
'BR': ['LL', 'PP', 'KK']}
d2 = {v:k for k,l in d.items() for v in l}
# {'AA... | Whats the efficient way to assign groups in python? | python|pandas|dataframe | 1 | 61 | 2 | 72,785,871 | 72,785,871 | 1 | true | 2022-06-28T11:41:44.830Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Whats the efficient way to assign groups in python?<p>I have many groups such as:</p>
<pre><code>BB = ['AA', 'BB', 'CC']
BR = ['LL', 'PP', 'KK']
</code></pre... |
72,789,652 | How to add and remove widgets with animation in BoxLayout in Kivy<p>So basically I'm trying to use Animation with add_widget and remove_widget to make the app look smoother.</p>
<p>The problem with the default BoxLayout is that when you remove_widget, the widget just disappears, and then fills gaps with the rest of the... | <p>As @ApuCoder mentioned, you can do this by using <code>Animation</code>. In your <code>App</code> class you can add methods:</p>
<pre><code>def animate_widget_removal(self, wid):
# animate shrinking widget width
anim = Animation(width=0)
anim.bind(on_complete=self.do_actual_remove)
anim.start(wid)
d... | How to add and remove widgets with animation in BoxLayout in Kivy | python|kivy|kivymd | 0 | 61 | 2 | 72,790,297 | 72,790,297 | 1 | true | 2022-06-28T15:53:57.863Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to add and remove widgets with animation in BoxLayout in Kivy<p>So basically I'm trying to use Animation with add_widget and remove_widget to make the ap... |
72,784,797 | All my operators work as an add operator in my calculator<p>So basically when I want to subtract, it adds numbers. When I wrote the same code for multiply and divide, it did the same thing. Instead of dividing, it was adding numbers etc. I have no idea why it's happening. It's like my javascript ignores dataset.action ... | <p>It definitly needs to be cleaned up and probably should be remade where all operations/num presses are stored in a array to then be able to have more complex operations,.</p>
<p>The main idea here is to have a <code>num1</code> and <code>num2</code> variable that gets set to the first and second arguments of the ope... | All my operators work as an add operator in my calculator | javascript | 0 | 61 | 2 | 72,792,253 | 72,792,253 | 1 | true | 2022-06-28T10:28:10.550Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
All my operators work as an add operator in my calculator<p>So basically when I want to subtract, it adds numbers. When I wrote the same code for multiply an... |
72,826,560 | io.netty.channel.ChannelInitializer exceptionCaught accessing cost management api with azure java sdk to a csp account. Has anyone solve this before?<p>Thanks in advance. I'm trying to access programmatically the costs of each azure subscription to represent it in an app. I used the following code, but it gives this ne... | <p>I looked for similar errors in google and it was said this issue was relating to a netty package not included. In the readme it was described to use netty for authentication but no package was written. Finally, I found one in the resource manager part of the sdk and included it in the pom.xml:</p>
<pre><code> <... | io.netty.channel.ChannelInitializer exceptionCaught accessing cost management api with azure java sdk to a csp account. Has anyone solve this before? | azure|azure-sdk-for-java | 0 | 61 | 1 | 73,540,150 | 73,540,150 | 0 | true | 2022-07-01T08:37:36.577Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
io.netty.channel.ChannelInitializer exceptionCaught accessing cost management api with azure java sdk to a csp account. Has anyone solve this before?<p>Thank... |
72,957,125 | Guide for installation of NVIDIA’s nvCOMP and running of its accompanying examples<p>I don’t understand the instructions given <a href="https://github.com/NVIDIA/nvcomp/blob/main/README.md" rel="nofollow noreferrer">here</a> and <a href="https://github.com/NVIDIA/nvcomp/blob/main/doc/highlevel_cpp_quickstart.md" rel="n... | <p>I will answer my own question.</p>
<h1> System info </h1>
<p>Here is the system information obtained from the command line:</p>
<ul>
<li><code>uname -r</code>: 5.15.0-46-generic</li>
<li><code>lsb_release -a</code>: Ubuntu 20.04.5 LTS</li>
<li><code>nvcc --version</code>: Cuda compilation tools, release 10.1, V10.1.... | Guide for installation of NVIDIA’s nvCOMP and running of its accompanying examples | compression|gpu|nvidia | 0 | 61 | 1 | 73,736,332 | 73,736,332 | 0 | true | 2022-07-12T18:54:58.437Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Guide for installation of NVIDIA’s nvCOMP and running of its accompanying examples<p>I don’t understand the instructions given <a href="https://github.com/NV... |
72,797,134 | Configure subdomain shinyproxy<p>First things first, I'm quite a beginner at hosting shiny apps on docker and shinyproxy. The terms I use might be a bit layman and incorrect.</p>
<p>I have my application running well on shinyproxy and can be accessed through <code>serveripaddress:8080/app/01_hello</code>.</p>
<p>The pr... | <p>I have a very similar setup and it works for me. I believe the problem is that you are using "app" instead of "app_direct" in proxy_pass. This is my nginx proxy config (localhost instead of 127.0.0.1 or 0.0.0.0 should be fine):</p>
<pre><code>location / {
proxy_pass http://127.0.0.1:8... | Configure subdomain shinyproxy | r|docker|shiny|shinyproxy | 2 | 61 | 1 | 73,792,659 | 73,792,659 | 1 | true | 2022-06-29T07:06:18.597Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Configure subdomain shinyproxy<p>First things first, I'm quite a beginner at hosting shiny apps on docker and shinyproxy. The terms I use might be a bit laym... |
72,239,483 | Whitespaces handler in Liquid not working<p>I cannot figure out how to remove whitespaces from the start and end of my strings. <br>
My response body is:</p>
<pre><code>{
"value": [
{
"nomeUnidadeOperacional": " ",
"nomeCaixaPostalComunitaria":... | <p>On API Management you need to write the Filter Capitalized.</p>
<pre><code>"nome": "{{item.nomeCaixaPostalComunitaria | Strip }}",
</code></pre> | Whitespaces handler in Liquid not working | liquid|azure-api-management | 0 | 61 | 1 | 72,240,786 | 72,240,786 | 0 | true | 2022-05-14T10:48:33.780Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Whitespaces handler in Liquid not working<p>I cannot figure out how to remove whitespaces from the start and end of my strings. <br>
My response body is:</p>... |
72,245,747 | JS Change the cursor for an image stored in a variable<p>Is it possible to change the cursor with a customized image stored in a variable?</p>
<p>I have tried setAttribute or .style.cursor, but it does not seems to work..</p>
<p>Here are some examples of what I have tried:</p>
<pre><code>var MyImage = MyImage.png;
docu... | <p>There are a couple of problems with the code given.</p>
<p>The image definition needs to be not only a string, but also a url.</p>
<p>Also, a fallback is mandatory (not just required by Firefox).</p>
<p>See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/cursor" rel="nofollow noreferrer">MDN</a> for more d... | JS Change the cursor for an image stored in a variable | javascript|css|image|cursor|setattribute | 0 | 61 | 3 | 72,246,277 | 72,246,277 | 0 | true | 2022-05-15T05:32:43.257Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
JS Change the cursor for an image stored in a variable<p>Is it possible to change the cursor with a customized image stored in a variable?</p>
<p>I have trie... |
72,250,136 | Microsoft Azure functions (nodejs), WEBSITE_MAX_DYNAMIC_APPLICATION_SCALE_OUT and maxConcurrentCalls not doing what they say<p>Using consumption plan. I created a service bus nodejs function trigger app.</p>
<p>I do not use sessions. Tested with two topics - partitioning enabled/disabled.</p>
<pre><code>const timeout =... | <p>Yes @Teebu, "<code>prefetchCount</code>":1 is the culprit.</p>
<hr />
<p><strong>Example</strong>:</p>
<p>If <code>prefetchCount</code> is set to 200, <code>maxConcurrentCalls</code> is set to 16 (assume), then 200 messages will be prefetched to a specific instance, but only 16 messages processed at a time... | Microsoft Azure functions (nodejs), WEBSITE_MAX_DYNAMIC_APPLICATION_SCALE_OUT and maxConcurrentCalls not doing what they say | node.js|azure|azure-functions | 0 | 61 | 1 | 72,253,841 | 72,253,841 | 0 | true | 2022-05-15T16:24:56.573Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Microsoft Azure functions (nodejs), WEBSITE_MAX_DYNAMIC_APPLICATION_SCALE_OUT and maxConcurrentCalls not doing what they say<p>Using consumption plan. I crea... |
72,252,178 | Is there a way to add html markup to target each column individually in Chartjs/Canvasjs?<p>I'm hoping I can add markup to each dataset individually so that I can change the colors with css.</p>
<pre><code>var ctx = document.getElementById("myChart").getContext("2d");
var data = {
labels: [&... | <p>Since Chart.js and Canvasjs both use the canvas element to draw the charts you can't interact with the elements using CSS.</p>
<p>If you want to use custom CSS to the chart elements you will need to use a SVG library like highcharts.</p> | Is there a way to add html markup to target each column individually in Chartjs/Canvasjs? | javascript|html|chart.js|canvasjs | 0 | 61 | 1 | 72,255,557 | 72,255,557 | 0 | true | 2022-05-15T21:04:53.800Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Is there a way to add html markup to target each column individually in Chartjs/Canvasjs?<p>I'm hoping I can add markup to each dataset individually so that ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.