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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
71,808,865 | TWA app generated using the bubblewrap opens in browser instead of as an app<p>Creating a PWA to publish on google play store. The apk generated using the <a href="https://github.com/GoogleChromeLabs/bubblewrap/tree/main/packages/cli" rel="nofollow noreferrer">bubblewrap cli</a> is installing fine, but opens like a reg... | <p>You need to add something like below to <a href="https://example.com/.well-known/assetlinks.json" rel="nofollow noreferrer">https://example.com/.well-known/assetlinks.json</a></p>
<pre><code>[{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespa... | TWA app generated using the bubblewrap opens in browser instead of as an app | android|progressive-web-apps|trusted-web-activity|bubblewrap | 0 | 266 | 1 | 73,036,007 | 73,036,007 | 1 | true | 2022-04-09T14:16:07.393Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
TWA app generated using the bubblewrap opens in browser instead of as an app<p>Creating a PWA to publish on google play store. The apk generated using the <a... |
71,336,502 | Validate signature-message before request-body validation in Connexion<p>Currently, I have a working API that uses Connexion and receives an OpenAPI specification:</p>
<pre><code>connexion_app.add_api(
"openapi.yaml",
options={"swagger_ui": False},
validate_responses=True,
strict_val... | <p>Yes you can use the Connexion <code>before_request</code> annotation so it runs a function on a new request before validating the body. Here's an example that logs the headers and content:</p>
<pre><code>import connexion
import logging
from flask import request
logger = logging.getLogger(__name__)
conn_app = connex... | Validate signature-message before request-body validation in Connexion | python|request|http-headers|openapi|connexion | 0 | 284 | 1 | 73,051,652 | 73,051,652 | 1 | true | 2022-03-03T11:35:30.567Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Validate signature-message before request-body validation in Connexion<p>Currently, I have a working API that uses Connexion and receives an OpenAPI specific... |
72,140,195 | Set Storybook canvas zoom<p>Is there any way to set the zoom level for a storybook canvas in either <code>argTypes</code> or <code>parameters</code>?</p>
<p><a href="https://i.stack.imgur.com/Ez2sJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ez2sJ.png" alt="storybook toolbar" /></a></p> | <p>You could try the workaround for this.
Just wrap your template in the <code><div></code> element and set zoom attribute on it.</p>
<pre><code> const Template: Story<IComponentProps> = (args) => (
<div style={{ zoom: 0.3 }}>
<Component {...args} />
</div>... | Set Storybook canvas zoom | storybook | 0 | 147 | 1 | 73,181,486 | 73,181,486 | 1 | true | 2022-05-06T10:42:24.330Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Set Storybook canvas zoom<p>Is there any way to set the zoom level for a storybook canvas in either <code>argTypes</code> or <code>parameters</code>?</p>
<p>... |
71,825,731 | How to add the new Event Logger to a DNN Scheduler Class in DNN 9.10.2?<p>How can I add a constructor with a reference to _eventLogger = DependencyProvider.GetRequiredService(); in a DNN Scheduler class?</p>
<p>The Dependency Provider can be inherited through the PortalModuleBase class, which I can do on my current Web... | <p>It is the same problem as in <a href="https://stackoverflow.com/questions/72046950/dnn-resolve-iportalinfo-service/73149800#73149800">this post</a>. Dependency injection in DNN is not (yet) available in Scheduler classes, only in webforms code-behind.</p> | How to add the new Event Logger to a DNN Scheduler Class in DNN 9.10.2? | event-handling|dotnetnuke|dnn9 | 0 | 29 | 1 | 73,193,958 | 73,193,958 | 1 | true | 2022-04-11T09:45:19.713Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to add the new Event Logger to a DNN Scheduler Class in DNN 9.10.2?<p>How can I add a constructor with a reference to _eventLogger = DependencyProvider.G... |
71,348,817 | How to disable CKeditor when row of GridView it's not in edit mode using C# ASP.NET<p>I am using <a href="http://ckeditor.com/" rel="nofollow noreferrer">CKEditor</a> in my web application on the GridView and need to disable/enable the editor from javascript.</p>
<p>If the row of gridview is not in edit mode I need dis... | <p>try to implement in gridview</p>
<pre><code><!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex, nofollow">
<title>Read-only mode</title>
<script src=&... | How to disable CKeditor when row of GridView it's not in edit mode using C# ASP.NET | c#|asp.net|gridview|ckeditor | 0 | 43 | 1 | 73,195,312 | 73,195,312 | 1 | true | 2022-03-04T08:52:52.877Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to disable CKeditor when row of GridView it's not in edit mode using C# ASP.NET<p>I am using <a href="http://ckeditor.com/" rel="nofollow noreferrer">CKE... |
72,168,739 | Excluding default IP in Mixpanel track event (Python SDK)<p>I am sending some events to mixpanel from within a cloud function, using the Python SDK. I don't want the users' location to be set to the location of the cloud server. I have read the Mixpanel article referencing <a href="https://help.mixpanel.com/hc/en-us/ar... | <p>You should add "ip" to "properties".</p>
<pre><code>properties["ip"] = ip
mp_eu.track(user_id, 'event_name', properties)
</code></pre>
<p>check this.
<a href="https://help.mixpanel.com/hc/en-us/articles/115004499343" rel="nofollow noreferrer">https://help.mixpanel.com/hc/en-us/articles/... | Excluding default IP in Mixpanel track event (Python SDK) | python|mixpanel | 0 | 28 | 1 | 72,865,096 | 72,865,096 | 1 | true | 2022-05-09T08:02:26.767Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Excluding default IP in Mixpanel track event (Python SDK)<p>I am sending some events to mixpanel from within a cloud function, using the Python SDK. I don't ... |
71,185,888 | What is the naming convention for produceGroupName?<p>If I set the produceGroupName like '192.168.1.1:9889-1234-uuid',It will cause the exception:<strong>MQClientException The producer service state not OK, START_FAILED.</strong> If I only set the produceGroupName like uuid,it is ok.So I curious about the naming conven... | <p>The naming convention of <code>producerGroupName</code> allows only <code>^[%|a-zA-Z0-9_-]+$</code>, which means that the prefix of the name you provided, <code>192.168.1.1:9889-1234-uuid</code>, contains the illegal character <code>.</code> That would lead to the exception.</p> | What is the naming convention for produceGroupName? | rocketmq | 0 | 30 | 1 | 72,780,446 | 72,780,446 | 1 | true | 2022-02-19T14:27:41.220Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
What is the naming convention for produceGroupName?<p>If I set the produceGroupName like '192.168.1.1:9889-1234-uuid',It will cause the exception:<strong>MQC... |
71,308,530 | Best way to write unit test for Node Rest api while working with Postgres, chai and mocha?<p>I am working on node js rest api in which database is Postgres and we are not using any ORM. How I am writing is as below which is hitting database for create and update</p>
<pre><code>it('it should create customer', (done) =&g... | <p>There is some debate regarding whether unit tests should hit database. But in general, I would say hitting a real database in testing should be categories as integration test, not unit test.</p>
<p>So for your question 2: I would say: no, you should not write unit test case that hit database.</p>
<p>Then for your qu... | Best way to write unit test for Node Rest api while working with Postgres, chai and mocha? | node.js|postgresql|unit-testing|mocha.js|chai | 0 | 298 | 1 | 73,192,585 | 73,192,585 | 1 | true | 2022-03-01T12:32:07.263Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Best way to write unit test for Node Rest api while working with Postgres, chai and mocha?<p>I am working on node js rest api in which database is Postgres a... |
72,206,858 | Align search bar and title in table using datatable package in R<p>I've searched extensively online and haven't found a solution for this using reactable, datatable, or formattable. I'm trying to create a table where the title of the table is aligned with the search bar. In all examples that I've seen, the search bar c... | <p>Thanks @andrewJames! This helped me get started. If using a Shiny app, add the following code to your css file so that the text is aligned with the search bar of a dataTable. Note that the title and table are separate. It is not a title defined in dataTable.</p>
<pre><code>#table-title {
position: relative; top: 6... | Align search bar and title in table using datatable package in R | html|css|r|dt | 0 | 160 | 1 | 72,971,913 | 72,971,913 | 1 | true | 2022-05-11T19:48:23.187Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Align search bar and title in table using datatable package in R<p>I've searched extensively online and haven't found a solution for this using reactable, da... |
72,182,336 | Way to get mozInnerScreenY in Chrome?<p>How do I get the coordinates of the top left pixel of document body in Chrome? In firefox it's possible to get with <code>window.mozInnerScreenY</code> + <code>window.window.mozInnerScreenX</code>, but not so much in Chrome?</p>
<p><a href="https://i.stack.imgur.com/HrZa4.png" re... | <p><code>window.screenY</code> is the standard property. It works everywhere.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY" rel="nofollow noreferrer">https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY</a></p>
<p>If your code runs inside an iFrame it will still return the ... | Way to get mozInnerScreenY in Chrome? | javascript|google-chrome | 0 | 31 | 1 | 72,860,181 | 72,860,181 | 1 | true | 2022-05-10T07:36:03.963Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Way to get mozInnerScreenY in Chrome?<p>How do I get the coordinates of the top left pixel of document body in Chrome? In firefox it's possible to get with <... |
72,149,690 | Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code<p>I am running a react application and it shows the following error:</p>
<pre><code>Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code
</code></pre>
<p>what does this er... | <p>Are you using react-helmet?
You can fix this problem by using side effect.</p>
<p>Like this:</p>
<pre><code> useEffect(() => {
<Helmet>
<title>Hello Doctors - {children}</title>
</Helmet>
}, [children])
</code></pre> | Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code | javascript|reactjs | 0 | 309 | 1 | 72,707,610 | 72,707,610 | 1 | true | 2022-05-07T05:18:08.277Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code<p>I am running a react application and it shows the foll... |
72,222,264 | what is the best way to customize nopcommerce requirement<p>I have custom requirement to do , what is the best way to do it?</p>
<p>develop it as a plugin or customize source code (core).</p> | <p>The best way is to customize nopcommerce using plugins. You can override part of the code, add extension, custom logic by using plugin. But It will be time consuming and costly sometime.
If you have those issue you can customize the code directly.
but plugin is the best way to customize nopcommerce.</p>
<p>If you ne... | what is the best way to customize nopcommerce requirement | nopcommerce | 0 | 66 | 2 | 72,841,638 | 72,841,638 | 2 | true | 2022-05-12T21:30:51.470Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
what is the best way to customize nopcommerce requirement<p>I have custom requirement to do , what is the best way to do it?</p>
<p>develop it as a plugin or... |
71,349,603 | How to assign a pull request using the REST API?<p>I'm creating a GitHub pull request using the appropriate <a href="https://docs.github.com/en/rest/reference/pulls#create-a-pull-request" rel="nofollow noreferrer">REST API</a>. Specifying a single <code>assignee</code> or an <code>assignees</code> (using either the use... | <blockquote>
<p>Every pull request is an issue, but not every issue is a pull request.
For this reason, "shared" actions for both features, like manipulating
assignees, labels and milestones, are provided within the Issues API.
From <a href="https://docs.github.com/en/rest/issues/assignees#add-assignees-to-an... | How to assign a pull request using the REST API? | github|github-api | 0 | 273 | 1 | 72,993,325 | 72,993,325 | 2 | true | 2022-03-04T09:57:00.903Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to assign a pull request using the REST API?<p>I'm creating a GitHub pull request using the appropriate <a href="https://docs.github.com/en/rest/referenc... |
72,224,491 | Plugin "react" was conflicted between "package.json<p>Every time when i change on JSX. This error throw on my terminal and project UI.</p>
<blockquote>
<p>Plugin "react" was conflicted between</p>
<p>"package.json » eslint-config-react-app » C:\projects\end-game-project\sporte\node_modules\eslint-config-... | <p>When you started your react app in the terminal, it looks like you entered a path using a capital 'P' in C:Projects\end-game-project, even though the actual path does not have a capital 'p' and should be C:projects\end-game-project (or vice-versa).</p>
<p>Note that some terminals, like the one VS offers, aren't cas... | Plugin "react" was conflicted between "package.json | reactjs|debugging | 0 | 67 | 1 | 73,040,213 | 73,040,213 | 2 | true | 2022-05-13T04:34:44.597Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Plugin "react" was conflicted between "package.json<p>Every time when i change on JSX. This error throw on my terminal and project UI.</p>
<blockquote>
<p>Pl... |
72,181,133 | How to download blob url in webview<p>I'm using a web view on Android.
When I clicked the download button,
url : "blob:http://tftpblah~.com/adljk"
But I can't download it.</p>
<p>I searched and found that the solution is converting base64 using JavaScript.
But it doesn't solve this problem...</p>
<p>Please he... | <p>i used this code in my project and is worked for me, try it!</p>
<p>and don't forget to add this code to onCreateView function</p>
<p>1 -</p>
<pre><code>webView.getSettings().setDefaultTextEncodingName("utf-8");
webView.addJavascriptInterface(new JavaScriptInterface(getContext()), "Android");
</c... | How to download blob url in webview | android|webview|blob | 0 | 1,373 | 1 | 72,685,594 | 72,685,594 | 2 | true | 2022-05-10T05:27:13.567Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to download blob url in webview<p>I'm using a web view on Android.
When I clicked the download button,
url : "blob:http://tftpblah~.com/adljk"
... |
53,500,172 | How to notify an object from another object in Spring Boot Application<p>I am working on a Spring Boot application. In addition to REST APIs my application also has a TCP server. TCP Server is created using configuration file as described in <a href="https://docs.spring.io/spring-integration/reference/html/ip.html" rel... | <p>I used mediator patten given here(<a href="https://en.wikipedia.org/wiki/Mediator_pattern" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Mediator_pattern</a>) to resolve the issue. </p> | How to notify an object from another object in Spring Boot Application | spring-boot | 0 | 55 | 1 | 58,054,449 | 58,054,449 | 0 | true | 2018-11-27T12:52:21.033Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to notify an object from another object in Spring Boot Application<p>I am working on a Spring Boot application. In addition to REST APIs my application a... |
53,369,589 | Ubuntu server 18.04 LTS does not use the proxy anymore<p>I have a Problem with one of my Servers. I am using one Proxy, but the Server does not accept the Proxy and tries to directly connect to the Internet. I checked where the Server wants to connect, thats how i know it is no Network issue. My Routing and Firewall wo... | <p>This needs a lot of investigation. At first, are you sure your proxy is connected to the internet and, more importantly, forwarding the traffic correctly? if so, then you need to check whether your proxy is allowing http, https, and ftp traffics. Pinging the proxy server from your client would be useful to make sure... | Ubuntu server 18.04 LTS does not use the proxy anymore | ubuntu | 0 | 791 | 1 | 58,141,987 | 58,141,987 | 0 | true | 2018-11-19T06:47:46.080Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Ubuntu server 18.04 LTS does not use the proxy anymore<p>I have a Problem with one of my Servers. I am using one Proxy, but the Server does not accept the Pr... |
53,457,058 | How to paginate a list of posts belonging to a specific category in GatsbyJS<p>I have developed a blog with Gatsby JS and I managed to add categories to each markdown file so that I can create pages by querying a specific category and list all the posts related to that category.
Now, I'm trying to add pagination to av... | <p>You are declaring the variable "underscore" twice:<br>
1- from the lodash library<br>
2- from the forEach function:</p>
<pre><code>Array.from({ length: numPages }).forEach((category, _, i)
</code></pre>
<p>just change the the second variable to another arbitrary name like this:</p>
<pre><code>Array.from({ length:... | How to paginate a list of posts belonging to a specific category in GatsbyJS | node.js|reactjs|pagination|graphql|gatsby | 0 | 1,328 | 1 | 57,717,378 | 57,717,378 | 1 | true | 2018-11-24T10:01:13.970Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to paginate a list of posts belonging to a specific category in GatsbyJS<p>I have developed a blog with Gatsby JS and I managed to add categories to each... |
72,217,531 | Anthos cluster cannot create kubernetes resources unless I'm am a GCP Project Owner?<p>I have a GCP Project and Anthos Cluster deployed within it.</p>
<p>If I am an admin of an Anthos cluster but not an Owner of the parent project, I have only read rights on Kubernetes and cannot create any resources. Getting:</p>
<blo... | <p>This was solved by giving myself these roles:</p>
<ul>
<li><p>roles/gkehub.viewer</p>
</li>
<li><p>roles/gkehub.gatewayEditor</p>
</li>
</ul>
<p>Now, I can create Kubernetes resources even if I am not an Owner of the GCP project.</p> | Anthos cluster cannot create kubernetes resources unless I'm am a GCP Project Owner? | google-anthos|gcp-iam | 0 | 47 | 1 | 73,277,229 | 73,277,229 | 0 | true | 2022-05-12T14:33:33.437Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Anthos cluster cannot create kubernetes resources unless I'm am a GCP Project Owner?<p>I have a GCP Project and Anthos Cluster deployed within it.</p>
<p>If ... |
72,108,432 | Import sonar rules into local machine from another machine<p>I am using <strong>Sonarqube-7.7</strong> version. My colleague has deactivated some rules in the quality gates. But when I am importing the same rule-setup in my local and setting as Default, I can see that many rules which have been deactivated, are still a... | <p>We have found out that there is no other way round (as per our knowledge) but to just manually deactivate the activated rules to generate the report.
We can define our own ruleset according to our need.
Thanks.</p> | Import sonar rules into local machine from another machine | sonarqube|quality-gate | 0 | 30 | 1 | 73,287,114 | 73,287,114 | 0 | true | 2022-05-04T05:47:02.563Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Import sonar rules into local machine from another machine<p>I am using <strong>Sonarqube-7.7</strong> version. My colleague has deactivated some rules in th... |
71,823,371 | Convert an image in a PySpark dataframe to a Numpy array<p>I have a DataFrame in PySpark (version 3.1.2) which contains images:</p>
<pre><code>img_path = "s3://multimedia-commons/data/images/000/24a/00024a73d1a4c32fb29732d56a2.jpg"
df = spark.read.format("image").load(img_path)
df.printSchema()
df.s... | <p>This is because <a href="https://spark.apache.org/docs/latest/ml-datasource.html#image-data-source" rel="nofollow noreferrer">spark</a> uses</p>
<blockquote>
<p>data: BinaryType (Image bytes in OpenCV-compatible order: row-wise BGR
in most cases)</p>
</blockquote>
<p>And Pillow is rendering it RGB.</p> | Convert an image in a PySpark dataframe to a Numpy array | numpy|pyspark|python-imaging-library | 0 | 273 | 1 | 73,326,302 | 73,326,302 | 0 | true | 2022-04-11T06:15:37.337Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Convert an image in a PySpark dataframe to a Numpy array<p>I have a DataFrame in PySpark (version 3.1.2) which contains images:</p>
<pre><code>img_path = &qu... |
72,160,731 | React Workbox PWA App on Subdirectory with react router custom basename<p>I'm working on react Project which uses <code>react-router</code> as its routing Library.
since I want to run that project on a subdirectory of the website, I set the <code>react-router</code> basename attribute to 'my' in my app.js file.</p>
<p>... | <p>After struggling with the Problem and reading so many articles and issues on Gits and etc, I found that the service worker has the scope and the default scope is <code>/</code> or <code>root</code> of your <code>host</code>. if you want to extend the scope and run service worker from the subdirectory you need to set... | React Workbox PWA App on Subdirectory with react router custom basename | reactjs|react-router|workbox | 0 | 87 | 1 | 73,357,484 | 73,357,484 | 0 | true | 2022-05-08T11:53:57.327Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
React Workbox PWA App on Subdirectory with react router custom basename<p>I'm working on react Project which uses <code>react-router</code> as its routing Li... |
72,197,699 | Node js no uploading formdata to server in react native while working fine in react js<p>Hi there I seriously need help for my mern stack application developed using expo react native.I am using string type form data to upload my image file to data base by uploading image to folder and saving name in data base my code ... | <p>I have found answer to my question problem was on service side:</p>
<p>I had not properly created a static folder which I later added following line</p>
<pre><code>app.use(cors());
app.use('/image',express.static("uploads"));
app.use(bodyParser.json()); // to support JSON-encoded bodies
app.use(
bodyParse... | Node js no uploading formdata to server in react native while working fine in react js | node.js|react-native|express|expo|multer | 0 | 75 | 1 | 73,358,315 | 73,358,315 | 0 | true | 2022-05-11T08:20:41.320Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Node js no uploading formdata to server in react native while working fine in react js<p>Hi there I seriously need help for my mern stack application develop... |
72,058,809 | 404 Page Not Loading Images (File Source / Layers Problem)<p>I'm facing what could be a simple problem, but haven't been able to find any solutions yet.</p>
<p>I just recently built a <strong>simple 404 page on my website</strong> (<em>nofound.html</em>) which through a <em>.htaccess</em> redirection (<em>ErrorDocument... | <p>Although it does not follow best practices, my final solution was to simply <strong>use absolute hyperlinks</strong> (such as <em>https://website/img.png</em> or something like that) rather than relative links within the website's anchors (<em>../../img.png</em>)</p>
<p>As such, every element on the page is loaded <... | 404 Page Not Loading Images (File Source / Layers Problem) | image|directory|hyperlink|subdirectory|404-page | 0 | 21 | 1 | 73,389,147 | 73,389,147 | 0 | true | 2022-04-29T13:33:58.427Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
404 Page Not Loading Images (File Source / Layers Problem)<p>I'm facing what could be a simple problem, but haven't been able to find any solutions yet.</p>
... |
72,190,843 | Swift AVPlayerLayer videoGravity .resizeAspect only respects height not width<p>I have an AVPlayer and AVPlayerLayer embedded in a simple UIView. This plays the movie but adjusting <code>playerLayer.videoGravity</code> only effects the movies relative height:</p>
<ol>
<li><code>.resizeAspect</code> fills all the way to... | <p>The issue here was with <code>playerLayer.setAffineTransform(CGAffineTransform(rotationAngle: CGFloat((-90 * Double.pi)/180)))</code> and the video/image size. The wrong height/width were used previously (and needed to be transposed). This resolved the issue.</p> | Swift AVPlayerLayer videoGravity .resizeAspect only respects height not width | ios|swift|avplayer|avplayerlayer | 0 | 55 | 1 | 73,394,070 | 73,394,070 | 0 | true | 2022-05-10T17:42:15.997Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Swift AVPlayerLayer videoGravity .resizeAspect only respects height not width<p>I have an AVPlayer and AVPlayerLayer embedded in a simple UIView. This plays ... |
71,904,878 | Run second or subsequent file located in path that match where pattern<p>By running <code>where python</code> in command prompt, I get the following files that match the <code>python</code> pattern located in my path:</p>
<pre><code>C:\Program Files\Anaconda\python.exe
C:\Program Files\Anaconda\envs\python2.7\python.ex... | <p>I found that the precedence indicated by the <code>where</code> command is dependent on the ordering of directories in my system PATH. Reordering them may change their precedence.</p> | Run second or subsequent file located in path that match where pattern | python|linux|windows|terminal|command-prompt | 0 | 19 | 1 | 73,474,742 | 73,474,742 | 0 | true | 2022-04-17T19:37:11.647Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Run second or subsequent file located in path that match where pattern<p>By running <code>where python</code> in command prompt, I get the following files th... |
72,156,424 | How to update props of child to child component<p>So im trying to pass some props from my login component to the payment component with the user's info, to do this I update as shown below:</p>
<pre><code>import React, { Component } from 'react';
import Login from './login';
import { BrowserRouter, Route, Routes } from ... | <p>Well, after a couple months I found out that when using <code>window.locaion</code>the page will refresh al previous values for the props given, therefore, nothing will arrive to the component being loaded. To prevent this I changed to the usage of <code>useNavigate</code> and the hook <code>useContext</code> this s... | How to update props of child to child component | reactjs | 0 | 61 | 1 | 73,545,434 | 73,545,434 | 0 | true | 2022-05-07T21:15:14.853Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to update props of child to child component<p>So im trying to pass some props from my login component to the payment component with the user's info, to d... |
72,212,613 | Download, unzip and render web content in javascript<p>I have a zip file hosted on a server, containing some web content (HTML, CSS, javascript and media files).</p>
<p>In a web app, is it somehow possible to download this file, unzip it and display the content, using javascript ?</p>
<p>In a native mobile app I would ... | <p>It seems to be possible using a service worker, along with <a href="https://stuk.github.io/jszip/" rel="nofollow noreferrer">JSZip</a>, as done in this project: <a href="https://github.com/gkjohnson/client-side-zip-server" rel="nofollow noreferrer">https://github.com/gkjohnson/client-side-zip-server</a></p> | Download, unzip and render web content in javascript | javascript | 0 | 62 | 1 | 73,556,852 | 73,556,852 | 0 | true | 2022-05-12T08:50:44.273Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Download, unzip and render web content in javascript<p>I have a zip file hosted on a server, containing some web content (HTML, CSS, javascript and media fil... |
72,212,936 | React, Redux: Uncaught TypeError: Cannot read properties of undefined (reading 'region')<p>I am fetching data (an object) into a redux state and showing into textarea when user clicks on edit:</p>
<pre><code>const regionData = useSelector((state) => state.myReducer.userDetailList.region);
</code></pre>
<p>but first ... | <p>I had a promblem same this one.
Finally I've found out that if I use term "Reducer" or "State" at the end of state's name or reducer's name that are witten by me,
<a href="https://i.stack.imgur.com/S6uhc.png" rel="nofollow noreferrer">my code runs with error</a></p>
<p>Uncaught TypeError: Cannot ... | React, Redux: Uncaught TypeError: Cannot read properties of undefined (reading 'region') | javascript|reactjs|redux | 0 | 115 | 1 | 73,612,251 | 73,612,251 | 0 | true | 2022-05-12T09:14:24.063Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
React, Redux: Uncaught TypeError: Cannot read properties of undefined (reading 'region')<p>I am fetching data (an object) into a redux state and showing into... |
72,161,977 | RandomForestSRC: how to get survival probabilities for any time point?<p>I am using the <code>randomForestSRC</code> package to model some survival data. I train the model using the <code>rfsrc</code> function. My train data is heavily censored, the event occurs only in 1% of the cases. The observation times range from... | <p>The functionality you are asking for is not implemented in the <code>randomForestSRC</code> package, that is you can only predict the survival function at times which are present in the training dataset.</p>
<p>However, the <a href="https://cran.r-project.org/package=survex" rel="nofollow noreferrer">survex package<... | RandomForestSRC: how to get survival probabilities for any time point? | r|random-forest|predict|survival-analysis | 0 | 59 | 1 | 73,641,085 | 73,641,085 | 0 | true | 2022-05-08T14:28:30.143Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
RandomForestSRC: how to get survival probabilities for any time point?<p>I am using the <code>randomForestSRC</code> package to model some survival data. I t... |
72,204,879 | Django throw OSError: [Errno 22] Invalid argument: '/proc/52826/task/52826/net'<p>After starting project django throw</p>
<pre><code>OSError: [Errno 22] Invalid argument: '/proc/52826/task/52826/net'
</code></pre>
<p>or</p>
<pre><code>FileNotFoundError: [Errno 2] No such file or directory: '/proc/5390/task/56199'
</cod... | <p>This is not a error in django at all.</p>
<p>You have an error in your settings.py at the TEMPLATES config.</p>
<p>It will probably look like this, passing a string.</p>
<pre><code>TEMPLATES = [
{
...
"DIRS": "/my/template/path",
...
}
]
</code></pre>
<p>This is causing th... | Django throw OSError: [Errno 22] Invalid argument: '/proc/52826/task/52826/net' | python|django|ubuntu | 0 | 112 | 1 | 73,662,501 | 73,662,501 | 0 | true | 2022-05-11T16:55:36.807Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Django throw OSError: [Errno 22] Invalid argument: '/proc/52826/task/52826/net'<p>After starting project django throw</p>
<pre><code>OSError: [Errno 22] Inva... |
72,192,233 | Kiosk mode on Firefox just like Chromium on Linux?<p>I have the following script:</p>
<pre><code>#!/bin/bash
xset s noblank
xset s off
xset -dpms
unclutter -idle 0.5 -root &
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' /home/pi/.config/chromium/Default/Preferences
sed -i 's/"... | <p>Solution was to uninstall Firefox and install Chromium with snap.
Solved the problem and Chromium worked perfectly.</p> | Kiosk mode on Firefox just like Chromium on Linux? | linux|bash|firefox|raspberry-pi|chromium | 0 | 290 | 1 | 73,722,504 | 73,722,504 | 0 | true | 2022-05-10T19:52:54.567Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Kiosk mode on Firefox just like Chromium on Linux?<p>I have the following script:</p>
<pre><code>#!/bin/bash
xset s noblank
xset s off
xset -dpms
unclutter... |
71,178,135 | Undefine data, but data us getting logged in the console<p>Data is returning undefine after they were fetched from the backend. When I console.log it, the data get returned in the console. But when I try to use the data, it was returning undefine</p>
<pre><code>
//Here is the my logic using axios but it didnot ... | <p>I solve this by adding async and await in my functions.</p> | Undefine data, but data us getting logged in the console | javascript|reactjs|react-redux|next.js|redux-toolkit | 0 | 17 | 1 | 73,780,667 | 73,780,667 | 0 | true | 2022-02-18T18:16:18.187Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Undefine data, but data us getting logged in the console<p>Data is returning undefine after they were fetched from the backend. When I console.log it, the da... |
71,843,151 | Cannot deploy Docker Swarm stack in rootless mode, mkdir /var/lib/docker: permission denied<p>I've set up Docker in rootless mode under Ubuntu 20.04 and Debian 11 (in my case, using Ansible and <a href="https://github.com/konstruktoid/ansible-docker-rootless" rel="nofollow noreferrer">this role</a>). I want to deploy a... | <p>The solution is simple: Docker Rootless does not work with Docker Swarm. You can have either, but not both.</p> | Cannot deploy Docker Swarm stack in rootless mode, mkdir /var/lib/docker: permission denied | docker|docker-compose|docker-swarm | 0 | 270 | 1 | 73,815,476 | 73,815,476 | 0 | true | 2022-04-12T12:55:49.213Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Cannot deploy Docker Swarm stack in rootless mode, mkdir /var/lib/docker: permission denied<p>I've set up Docker in rootless mode under Ubuntu 20.04 and Debi... |
72,225,640 | Can I change topLevelDestinationIds from AppBarConfiguration?<p>I have CountriesFragment and this fragment is launching first (start destination)</p>
<p>I hide the back button using this code</p>
<pre><code>NavigationUI.setupWithNavController(materialtoolbar, navController, new AppBarConfiguration.Builder(
... | <p><strong>This trick solved the problem</strong></p>
<pre><code>private boolean isToolbarLinkedWithNavigationUI;
@Override
public void onDestinationChanged(@NonNull NavController navController, @NonNull NavDestination navDestination, @Nullable Bundle bundle) {
if (navDestination.getId() == R.id.navigationMain_hom... | Can I change topLevelDestinationIds from AppBarConfiguration? | android|android-fragments|android-jetpack|android-architecture-components|android-architecture-navigation | 0 | 69 | 1 | 73,835,466 | 73,835,466 | 0 | true | 2022-05-13T07:05:32.593Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Can I change topLevelDestinationIds from AppBarConfiguration?<p>I have CountriesFragment and this fragment is launching first (start destination)</p>
<p>I hi... |
72,188,241 | Remote access to network share per wmic/ps1 : Access is denied<p>I want to call (execute) a cmd or ps1 script remotely from one Windows 2016 Server 2016 on another. The problem is that script access to a <code>\\network-share</code> is denied.</p>
<p><strong>Reproduce</strong>:</p>
<p>(1) a batch or ps1 script with spe... | <p>In the meantime I found two ways to overcome the problem:</p>
<p>a) using Sysinternals <code>PsExec.exe -u domain\user -p pwd -i \\node C:\temp\cmd.bat</code>
b) Create a Scheduled Task on the target machine that can be executed remotely by <code>C:\Windows\System32\schtasks.exe /run /tn "name of the task"... | Remote access to network share per wmic/ps1 : Access is denied | batch-file|cmd|share|wmic|ps1 | 0 | 126 | 1 | 73,810,088 | 73,810,088 | 0 | true | 2022-05-10T14:30:35.667Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Remote access to network share per wmic/ps1 : Access is denied<p>I want to call (execute) a cmd or ps1 script remotely from one Windows 2016 Server 2016 on a... |
72,146,438 | remove decorator from stack trace<p>I want to write a function decorator that removes itself from the stack trace when an exception occurs (outside the logic specific to the decorator itself), for example when:</p>
<ul>
<li>the caller uses arguments that don't match the function signature, or</li>
<li>the decorated fun... | <p>Finally found an <a href="https://stackoverflow.com/a/68908998/758174">answer</a> that works (with a minor change, see below). Full credits to @Kyuuhachi!</p>
<p>This assumes that we are using CPython. The key part is to use the <a href="https://github.com/python/cpython/tree/main/Modules/_testcapi" rel="nofollow no... | remove decorator from stack trace | python|python-decorators | 0 | 120 | 2 | 73,418,463 | 73,418,463 | 0 | true | 2022-05-06T19:20:35.050Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
remove decorator from stack trace<p>I want to write a function decorator that removes itself from the stack trace when an exception occurs (outside the logic... |
72,231,127 | Watchpack Error (watcher): Error: ENOSPC: System limit for number of file watchers reached<p>This morning when running <code>npm start</code>, I get the error:</p>
<pre><code>System limit for number of file watchers reached
</code></pre>
<p>Because <code>/proc/sys/fs/inotify/max_user_watches</code> has returned to its ... | <p>I was also facing the same problem and tried the following command,</p>
<pre><code>sudo sysctl fs.inotify.max_user_watches=524288
</code></pre> | Watchpack Error (watcher): Error: ENOSPC: System limit for number of file watchers reached | reactjs|watchman | 0 | 854 | 1 | 73,334,165 | 73,334,165 | 0 | true | 2022-05-13T14:22:39.490Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Watchpack Error (watcher): Error: ENOSPC: System limit for number of file watchers reached<p>This morning when running <code>npm start</code>, I get the erro... |
72,162,016 | How to call a variable from a react function in a file to another function in a different file<p>On building a podcast with reactjs framework I got hooked up some where. Since on building the page header I made each header part to be a component. Below are some snippets for that:</p>
<p><strong>Searchform.js</strong></... | <p>Finally, I got knowledge of <code>React useContext</code>. Alternatively redux is another alternative for this task. I have finish with this.</p>
<p>Thanks!</p> | How to call a variable from a react function in a file to another function in a different file | javascript|reactjs|dom|dom-events|react-dom | 0 | 36 | 1 | 73,273,799 | 73,273,799 | 1 | true | 2022-05-08T14:32:53.863Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to call a variable from a react function in a file to another function in a different file<p>On building a podcast with reactjs framework I got hooked up... |
72,149,035 | Docker image has error when running from R Studio<p>My Dockerfile contains the exact code as shown in the statworx website to build an image for a Shiny app. Whenever I run the following code however:</p>
<pre><code># Base image https://hub.docker.com/u/rocker/
FROM rocker/shiny:latest
# system libraries of general us... | <p>Following the suggestion of @HubertL, here is the Dockerfile that will work:</p>
<pre><code># Base image https://hub.docker.com/u/rocker/
FROM rocker/shiny:latest
# system libraries of general use
## install Debian/Ubuntu packages
RUN apt-get update -qq && \
apt-get upgrade -y && \
apt-get -... | Docker image has error when running from R Studio | r|shiny|dockerfile | 0 | 53 | 1 | 73,299,242 | 73,299,242 | 1 | true | 2022-05-07T02:33:35.390Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Docker image has error when running from R Studio<p>My Dockerfile contains the exact code as shown in the statworx website to build an image for a Shiny app.... |
72,169,892 | SFML C# - Texture is not repeated<p>In this example, the texture is not repeated. What could I have missed?</p>
<p>link: <a href="https://i.stack.imgur.com/lsEub.png" rel="nofollow noreferrer">https://i.stack.imgur.com/lsEub.png</a></p>
<pre><code> void Game_Draw()
{
window.Clear(Color.Black);
wi... | <p>Need set TextureRect for RectangleShape. For this example:</p>
<pre><code>r.TextureRect = new IntRect(0, 0, 100, 20);
</code></pre> | SFML C# - Texture is not repeated | c#|textures|sfml|sfml.net | 0 | 35 | 2 | 73,352,380 | 73,352,380 | 1 | true | 2022-05-09T09:40:18.527Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
SFML C# - Texture is not repeated<p>In this example, the texture is not repeated. What could I have missed?</p>
<p>link: <a href="https://i.stack.imgur.com/l... |
72,202,736 | How to read a table which is saved by saveAsTable in Apache Spark?<p>I am trying to save a dataframe by using <code>df.write.saveAsTable("table_name")</code></p>
<p>but i am unable to retrieve this table again (not in the same run).</p>
<p>I tried</p>
<pre><code>spark.read.table("table_name")
</code... | <p>Here is an example:</p>
<p><code>df.write.saveAsTable('table_name')</code></p>
<p><code>df = spark.table('table_name')</code></p> | How to read a table which is saved by saveAsTable in Apache Spark? | apache-spark|hive-table | 0 | 85 | 1 | 73,390,609 | 73,390,609 | 1 | true | 2022-05-11T14:21:05.980Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to read a table which is saved by saveAsTable in Apache Spark?<p>I am trying to save a dataframe by using <code>df.write.saveAsTable("table_name&quo... |
72,208,254 | Deep Link and Stripe redirect<p>So I am trying to redirect my react-native application from a stripe checkout page back to the application.</p>
<pre><code>app.post('/create-checkout-session', async (req, res) => {
const prices = await stripe.prices.list({
lookup_keys: [req.body.lookup_key],
expand: ['data.... | <p>Deep link with custom URL scheme (myapp://screen..) does not work in this case. Stripe expects a valid URL that redirects to a real website. I am currently facing the same problem, and my workaround is:</p>
<ul>
<li>Redirect the user to my website (e.g. myapp.com/redirect).</li>
<li>Display the "Redirect back t... | Deep Link and Stripe redirect | javascript|react-native|stripe-payments|react-navigation | 0 | 362 | 1 | 73,417,457 | 73,417,457 | 1 | true | 2022-05-11T22:28:07.193Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Deep Link and Stripe redirect<p>So I am trying to redirect my react-native application from a stripe checkout page back to the application.</p>
<pre><code>ap... |
71,833,056 | Throw error with custom message using routing-controllers with desired format<p>I have a Node APP using <a href="https://github.com/typestack/routing-controllers" rel="nofollow noreferrer">routing-controllers</a> and into Readme there is a section called <a href="https://github.com/typestack/routing-controllers" rel="n... | <p>I am pretty new at using Express and routing-controllers so I am not sure if this is the best way or not. I got it to work by adding a custom error handler as middleware:</p>
<pre><code>import { Middleware, ExpressErrorMiddlewareInterface, HttpError } from 'routing-controllers';
@Middleware({ type: 'after' })
expor... | Throw error with custom message using routing-controllers with desired format | typescript|express|routing-controllers | 0 | 260 | 1 | 73,465,476 | 73,465,476 | 1 | true | 2022-04-11T19:06:43.513Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Throw error with custom message using routing-controllers with desired format<p>I have a Node APP using <a href="https://github.com/typestack/routing-control... |
72,218,269 | locationManager(_:didUpdateLocations:) last entry is sometimes extremely outdated<p>According to Apple's <a href="https://developer.apple.com/documentation/corelocation/cllocationmanagerdelegate/1423615-locationmanager" rel="nofollow noreferrer">own documentation around CLLocationManager</a></p>
<pre><code>func locatio... | <p>When Location Service can't get the current location by requesting GPS server.</p>
<p>It will return the cached/recent location. That is why you see its timestamp is 1 min or 1 hour ago.</p>
<blockquote>
<p>It will return the cached/recent location.</p>
</blockquote>
<p>This will help users to quickly access their c... | locationManager(_:didUpdateLocations:) last entry is sometimes extremely outdated | ios|swift|location|cllocationmanager|cllocation | 0 | 61 | 1 | 73,629,266 | 73,629,266 | 1 | true | 2022-05-12T15:23:03.727Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
locationManager(_:didUpdateLocations:) last entry is sometimes extremely outdated<p>According to Apple's <a href="https://developer.apple.com/documentation/c... |
71,143,290 | Sass doc is giving me duplicate results<p>My output tree is showing duplicates and I can't figure out why. This is prototype angular project with this file tree. I can't figure out why.</p>
<p>src</p>
<ul>
<li>app</li>
<li>
<ul>
<li>components</li>
</ul>
</li>
<li>scss
styles.scss</li>
</ul>
<p>Here's my out put tree
<... | <p>I ran into the same result with the following command within my <code>package.json</code> scripts</p>
<pre><code>sassdoc 'src/assets/styles/sass/**'
</code></pre>
<p>According to the official <a href="http://sassdoc.com/getting-started/" rel="nofollow noreferrer">sassdoc documentation</a> they are using <a href="htt... | Sass doc is giving me duplicate results | sass | 0 | 19 | 1 | 73,648,664 | 73,648,664 | 1 | true | 2022-02-16T14:02:24.120Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Sass doc is giving me duplicate results<p>My output tree is showing duplicates and I can't figure out why. This is prototype angular project with this file t... |
72,138,735 | [mac Monterey][Python 3.10.4][tkinter 8.6] Calling tkinter askOpenfilename crashes when repeatedly creating a window<p>I have a python program that allows users to repeatedly press a key that will create a tkinter window where they can open an image an manipulate it.</p>
<p>The problem is, by the 3rd time, tkinter alwa... | <p>There is no fix for this as of right now. The Tk maintainers acknowledged the bug and are working on it.</p>
<p>Ref link is <a href="https://github.com/python/cpython/issues/92603" rel="nofollow noreferrer">here</a></p> | [mac Monterey][Python 3.10.4][tkinter 8.6] Calling tkinter askOpenfilename crashes when repeatedly creating a window | python|python-3.x|tkinter | 0 | 86 | 1 | 73,685,307 | 73,685,307 | 1 | true | 2022-05-06T08:51:23.357Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
[mac Monterey][Python 3.10.4][tkinter 8.6] Calling tkinter askOpenfilename crashes when repeatedly creating a window<p>I have a python program that allows us... |
72,207,572 | How to create a self-signed code signing certificate from a CSR?<p>The title says it all. All the articles I could find was either about generating a self-signed SSL certificate, or not considering a CSR. My requirement is simple: generate a self-signed code signing certificate that I can use with signtool.exe from a C... | <p>I expect this question to be a duplicate but I could not find a concise answer so I am offering this as a more complete one using OpenSSL to generate <a href="https://en.wikipedia.org/wiki/X.509" rel="nofollow noreferrer">x509</a> self signed certificates for code signing (or any other purpose).</p>
<p>Steps:</p>
<o... | How to create a self-signed code signing certificate from a CSR? | openssl|code-signing|code-signing-certificate | 0 | 141 | 1 | 73,702,334 | 73,702,334 | 1 | true | 2022-05-11T21:03:30.523Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to create a self-signed code signing certificate from a CSR?<p>The title says it all. All the articles I could find was either about generating a self-si... |
71,213,252 | I need an ArrayFormula to return images in cells but in a reverse Vlookup format<p>I am stuck on obtaining an array of images in cells from another sheet based on the criteria to the right. This is because QUERY cannot return image values, and INDEX MATCH cannot be an array... Is there a solution? <a href="https://docs... | <p>Assuming names to match images to are in range B1:B, and a list of images and corresponding names in Sheet2!A1:B then the following formula should work:</p>
<pre><code>=ARRAYFORMULA(IF(ISBLANK(B1:B),,VLOOKUP(B1:B,{Sheet2!B$1:B,Sheet2!A$1:A},2,0)))
</code></pre>
<p>I have also added it to your sample in a new sheet t... | I need an ArrayFormula to return images in cells but in a reverse Vlookup format | google-sheets-formula | 0 | 21 | 1 | 73,771,342 | 73,771,342 | 1 | true | 2022-02-21T21:31:17.383Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
I need an ArrayFormula to return images in cells but in a reverse Vlookup format<p>I am stuck on obtaining an array of images in cells from another sheet bas... |
72,174,809 | How to insert date only from pandas dataframe to postgres<p>I am trying to insert a pandas dataframe with a date column into a Postgres database such that the data type in Postgres is also a date ('YYYY-MM-DD') but i can only get it to insert at <code>timestamp without a timezone</code> rather than a <code>date</code>.... | <p>To illustrate what I am talking about in my comments, that you need to make the field a <code>date</code>:</p>
<pre><code>\d dt_test
Table "public.dt_test"
Column | Type | Collation | Nullable | Default
----------+-----------------------------+----------... | How to insert date only from pandas dataframe to postgres | python|pandas|postgresql|datetime | 0 | 206 | 1 | 73,296,351 | 73,296,351 | 1 | true | 2022-05-09T15:51:37.910Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to insert date only from pandas dataframe to postgres<p>I am trying to insert a pandas dataframe with a date column into a Postgres database such that th... |
71,982,492 | API Gateway Cognito Authorizer not authorizing Access Token but will authorize Id Token: 401 Unauthorized<p>I have created a Cognito User Pool and configured it with an API Gateway. When I test the authorizer with my ID Token it is able to authorize, but I need to authorize an access token and check for a specific scop... | <p>Solution: Your API methods - do not have OAuth scopes. Add an OAuth scope if you want to use the access token instead of an id token.</p>
<p><a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-enable-cognito-user-pool.html" rel="nofollow noreferrer">From the documents</a></p>
<p>With the... | API Gateway Cognito Authorizer not authorizing Access Token but will authorize Id Token: 401 Unauthorized | amazon-web-services|aws-api-gateway|amazon-cognito | 0 | 33 | 1 | 73,805,978 | 73,805,978 | 1 | true | 2022-04-23T18:20:13.007Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
API Gateway Cognito Authorizer not authorizing Access Token but will authorize Id Token: 401 Unauthorized<p>I have created a Cognito User Pool and configured... |
72,236,747 | Bootstrap 5: Close offcanvas Menu after click anchor links<p>It is about a project created with Bootstrap 5. The problem was that the offcanvas menu stayed open, by clicking an anchor link. To close the menu after click I use the following code for an onclick event:</p>
<pre><code>function close_offcanvas() {
... | <p>No need to do the hard things. bootstrap has <strong>attribute</strong> called</p>
<pre><code>data-bs-dismiss="offcanvas"
</code></pre>
<p>Add this attribute to your anchor tag or li tag. it will close offcanvas on click</p> | Bootstrap 5: Close offcanvas Menu after click anchor links | html|bootstrap-5 | 0 | 624 | 1 | 73,258,219 | 73,258,219 | 2 | true | 2022-05-14T01:45:38.947Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Bootstrap 5: Close offcanvas Menu after click anchor links<p>It is about a project created with Bootstrap 5. The problem was that the offcanvas menu stayed o... |
72,237,176 | NextJS API routes on AWS Amplify<p>Apologies if this is a dumb question but where are the API routes in a next JS application deployed to AWS Amplify hosted?</p>
<p>I know that Amplify supports backends, but generally I'm explicitly writing an express server or something. Since the next JS routes are serverless, does t... | <p>You are right, Amplify deploys them as Lambda@Edge functions. <a href="https://github.com/aws-amplify/amplify-hosting/blob/main/FAQ.md#access-lambda-edge-logs" rel="nofollow noreferrer">Source</a>.</p> | NextJS API routes on AWS Amplify | amazon-web-services|next.js|aws-amplify | 0 | 182 | 1 | 73,478,621 | 73,478,621 | 2 | true | 2022-05-14T03:40:53.920Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
NextJS API routes on AWS Amplify<p>Apologies if this is a dumb question but where are the API routes in a next JS application deployed to AWS Amplify hosted?... |
53,442,478 | Jboss clustering<p>I have two jboss servers in x.x.x.a and x.x.x.b servers and I have same application deployed in both of them. They have 2 application urls with start and stop buttons and status message to consume JMS messages. The two servers are clustered and if one application is started the other url is also sho... | <p>Jboss clustering works this way only.</p> | Jboss clustering | java|jboss7.x | 0 | 23 | 1 | 54,104,751 | 54,104,751 | 0 | true | 2018-11-23T07:40:18.323Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Jboss clustering<p>I have two jboss servers in x.x.x.a and x.x.x.b servers and I have same application deployed in both of them. They have 2 application url... |
53,753,862 | Copy shortcut key can not be used with error<p>Xcode > Preferences > Key Bindings </p>
<p><a href="https://i.stack.imgur.com/167y6.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>Copy shortcut key can not be used with xcode, it is an error. Copying is possible with the mouse.</p>
<p>In scenes ... | <p>Resolved by deleting the shortcut key assignment by pressing the delete key while the conflicting run playground was selected.</p> | Copy shortcut key can not be used with error | xcode|macos | 0 | 28 | 1 | 54,125,248 | 54,125,248 | 0 | true | 2018-12-13T01:40:26.013Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Copy shortcut key can not be used with error<p>Xcode > Preferences > Key Bindings </p>
<p><a href="https://i.stack.imgur.com/167y6.png" rel="nofollow norefe... |
53,438,326 | Retrieve IIS Express<p>I have Visual Studio 2017 installed on Windows 10 64 bit. It was all working fine but something has happened to IIS Express 10. Now if I try creating an ASP.NET web project it states Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL)). IIS Express no longer appears to be in the lis... | <p>Thanks to user Lex Li who alerted me to the fact that IIS 8 will not work with Visual Studio 2017 I investigated this again. The link Lex Li provided (<a href="https://www.microsoft.com/en-ca/download/details.aspx?id=48264" rel="nofollow noreferrer">https://www.microsoft.com/en-ca/download/details.aspx?id=48264</a>... | Retrieve IIS Express | visual-studio-2017|iis-express | 0 | 1,049 | 2 | 54,133,792 | 54,133,792 | 0 | true | 2018-11-22T21:46:54.277Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Retrieve IIS Express<p>I have Visual Studio 2017 installed on Windows 10 64 bit. It was all working fine but something has happened to IIS Express 10. Now ... |
53,485,350 | MariaDB Crash Reason<p>I have recently migrated a small data warehouse from a 32-bit windows MySQL 5.5 instance to a much larger MariaDB instance. Overall, the performance improvements have been as expected. However, I am running in to scenarios where the database server restarts and I am not able to identify the bott... | <p>The DB service was being shut down by the Linux OOM killer. Hence no MySQL/MariaDB error log messages are shown. </p>
<p>The following command is helpful to confirm:</p>
<pre><code># dmesg -T | egrep -i 'killed process'
</code></pre> | MariaDB Crash Reason | mariadb|centos7|in-memory-database|database-tuning | 0 | 2,083 | 2 | 54,171,217 | 54,171,217 | 0 | true | 2018-11-26T16:31:11.887Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
MariaDB Crash Reason<p>I have recently migrated a small data warehouse from a 32-bit windows MySQL 5.5 instance to a much larger MariaDB instance. Overall, t... |
53,552,588 | Run a TCP and looped process in python<p>I am trying to build an IoT device and looking forward to build something like this:</p>
<p>Schematic:</p>
<ol>
<li>A python process which runs as a loop to interact with hardware components</li>
<li>A TCP server(Pub-Sub) which takes commands from its clients and pass on to (1... | <p>I solved this using <code>asyncio</code></p>
<p>We can run 2 loops which can be asynchronous, with <code>asyncio.sleep</code> in both the loops so other loop gets its turn to execute.</p>
<p>python docs also has a tcp server example with asyncio, so there that solved my requirement</p> | Run a TCP and looped process in python | python|tcp|twisted | 0 | 43 | 1 | 54,178,503 | 54,178,503 | 0 | true | 2018-11-30T06:46:30.007Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Run a TCP and looped process in python<p>I am trying to build an IoT device and looking forward to build something like this:</p>
<p>Schematic:</p>
<ol>
<l... |
53,618,898 | Modify WPF Window when Submenu opens without closing Submenu<p>I have a <code>Window</code> with a <code>Menu</code> on it. When the <code>Menu</code> is opened, I would like to change the <code>Window</code>'s appearance to look disabled. Simply covering it with a gray <code>Rectangle</code> looks nice. Here is the <c... | <p>I had to go with setting IsHitTestVisible="False" on the Rectangle, even though that makes everything under it clickable. It's a hack, and I would love a better fix.</p> | Modify WPF Window when Submenu opens without closing Submenu | wpf|window|focus|menuitem|submenu | 0 | 44 | 2 | 54,185,423 | 54,185,423 | 0 | true | 2018-12-04T17:59:05.353Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Modify WPF Window when Submenu opens without closing Submenu<p>I have a <code>Window</code> with a <code>Menu</code> on it. When the <code>Menu</code> is ope... |
53,425,781 | Two FKs as one PK in NHibernate-Mapping?<p>My database looks like this</p>
<pre><code> Role Role_AppUser AppUser
------------- ------------- -------------
|Id | <-PK |Id | <-FK |UserId | <-PK
|Name | ... | <p>In the mapping you can use a CompositeId:</p>
<pre><code>public class Role_AppUserMap : ClassMap<Role_AppUser>
{
public Role_AppUserMap()
{
Table("Role_AppUser")
CompositeId()
.KeyProperty(x=>x.RoleId, "Id")
.KeyProperty(x=>x.UserId, "UserId");
}
}
</code></pre> | Two FKs as one PK in NHibernate-Mapping? | c#|nhibernate|hibernate-mapping | 0 | 29 | 1 | 54,195,460 | 54,195,460 | 0 | true | 2018-11-22T07:24:27.317Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Two FKs as one PK in NHibernate-Mapping?<p>My database looks like this</p>
<pre><code> Role Role_AppUser AppUser
--------... |
53,783,319 | eloquent collection - unique field on relationship<p>I have a User model and a Team model, and there can be many users (belongsToMany relatioship) in a Team. What I need now is to extract a list of all users from the teams that the logged in user is a member of. </p>
<p>I have below code currently:</p>
<pre><code>$te... | <p>I partly solved it by using a foreach loop, but would prefer if I could get this data using the eloquent query.</p>
<pre><code>$userArray = array();
foreach ($users as $user) {
if (array($user)) {
foreach ($user as $u) {
$userArray[] = $u['email'];
}
} els... | eloquent collection - unique field on relationship | collections|eloquent|unique | 0 | 32 | 1 | 54,196,032 | 54,196,032 | 0 | true | 2018-12-14T16:14:05.380Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
eloquent collection - unique field on relationship<p>I have a User model and a Team model, and there can be many users (belongsToMany relatioship) in a Team.... |
53,781,871 | How to send error details like as BadRequest<p>I need send rich structured error details on gRPC error.</p>
<p>I think it's maybe like this:</p>
<pre><code>fv = BadRequest.FieldViolation(field="login", description="Name is not unique")
bad_request = BadRequest(field_violations=[fv])
context.abort(StatusCode.INVALID_A... | <p>I got feedback on github issue <a href="https://github.com/grpc/grpc/issues/17601" rel="nofollow noreferrer">https://github.com/grpc/grpc/issues/17601</a></p>
<p>Everything works in version 1.18.0</p> | How to send error details like as BadRequest | grpc|grpc-python | 0 | 513 | 1 | 54,210,837 | 54,210,837 | 0 | true | 2018-12-14T14:44:55.460Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to send error details like as BadRequest<p>I need send rich structured error details on gRPC error.</p>
<p>I think it's maybe like this:</p>
<pre><code... |
53,642,562 | how to fix catalina.properties on accidental alteration of the code?<p>Its a hypothetical scenario.
I am working on spring-boot 3.8.4 . What is the best way to fix, if i unknowingly alter some portion of code of server file ,say : catalina.properties in Tomcat9?</p> | <p>Helpful reference - <a href="https://stackoverflow.com/questions/13196982/catalina-properties-gets-overridden-on-tomcat-restart">catalina-properties-gets-overridden-on-tomcat-restart</a>
<br>
For such hypothetical scenario, always have a backup of original server installation. So, in case of accidental changes in se... | how to fix catalina.properties on accidental alteration of the code? | spring-boot|tomcat9 | 0 | 34 | 1 | 54,235,505 | 54,235,505 | 0 | true | 2018-12-05T23:51:37.247Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
how to fix catalina.properties on accidental alteration of the code?<p>Its a hypothetical scenario.
I am working on spring-boot 3.8.4 . What is the best way ... |
53,518,742 | CodeIgniter SMTP gives 'Read timeout (600s) waiting for data (CMD_DATA_END)'<p>I set up the following code in CodeIgniter to send email with SMTP.</p>
<pre><code>$config['protocol'] = 'smtp';
$config['smtp_host'] = 'send.one.com';
$config['smtp_user'] = '<MYEMAIL>';
$config['smtp_pass'] = '<MYPSSWD>';
$con... | <p>I've had the same problem. After a lot of trial and error I found that adding the following line after initializing the email configuration solved my problem : </p>
<pre><code>$this->email->set_newline("\r\n");
</code></pre>
<p>Hope it helps !</p> | CodeIgniter SMTP gives 'Read timeout (600s) waiting for data (CMD_DATA_END)' | php|codeigniter|email|smtp | 0 | 280 | 1 | 54,302,341 | 54,302,341 | 0 | true | 2018-11-28T11:47:05.073Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
CodeIgniter SMTP gives 'Read timeout (600s) waiting for data (CMD_DATA_END)'<p>I set up the following code in CodeIgniter to send email with SMTP.</p>
<pre>... |
53,731,517 | R survey - twophase function and warnings with multistage designs<p>I want to specify a two-phase design object with stratified three-stage sampling design using the R package <code>survey</code>. When multiple stages are passed to the <code>id</code> argument of the <code>twophase</code> function, I get the following ... | <p>It's a bug. </p>
<p>Using</p>
<pre><code>twophase.design = twophase(id=list(~block,~1),
strata=list(~strat,NULL),
probs=list(~I(P.block*P.house*P.ind, NULL),
subset=~phase2, data=simdata1, method='full')
</code></pre>
<p>will give a good approximation to the intended design -- since no finite population correcti... | R survey - twophase function and warnings with multistage designs | r|survey | 0 | 67 | 1 | 54,316,896 | 54,316,896 | 0 | true | 2018-12-11T20:00:46.650Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
R survey - twophase function and warnings with multistage designs<p>I want to specify a two-phase design object with stratified three-stage sampling design u... |
53,570,640 | Symfony 3.4.18 + FosUserBundle 2.0 + LexikJWT<p>I want to to configure LexikJWT with fosuserbunle 2.0 but i receive with postman this always</p>
<p><a href="https://i.stack.imgur.com/rS7YN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rS7YN.png" alt="enter image description here"></a></p>
<pre><c... | <p>You need to change your</p>
<pre><code>username_parameter: username
password_parameter: password
</code></pre>
<p>to</p>
<pre><code>username_parameter: _username
password_parameter: _password
</code></pre> | Symfony 3.4.18 + FosUserBundle 2.0 + LexikJWT | api|angular6|postman|fosuserbundle|symfony-3.4 | 0 | 68 | 1 | 54,330,284 | 54,330,284 | 0 | true | 2018-12-01T12:13:14.110Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Symfony 3.4.18 + FosUserBundle 2.0 + LexikJWT<p>I want to to configure LexikJWT with fosuserbunle 2.0 but i receive with postman this always</p>
<p><a href=... |
53,571,400 | How do I list only one instance of each comment?<p>I have an admin dashboard that takes the comments from all of the blog posts and lists them so I can manage them easier. The problem is it shows a second instance of comments left as a reply which makes it a bit cluttered. How do I stop it from listing replies twice? T... | <p>After some testing, I was able to list my comments only once by using this in my users_controller:</p>
<pre><code>@comments = Comment.where(commentable_type: "Post")
</code></pre>
<p>Instead of using this:</p>
<pre><code>@comments = Comment.all
</code></pre>
<p>This only listed comments that belonged to a po... | How do I list only one instance of each comment? | ruby-on-rails|ruby | 0 | 74 | 2 | 54,330,537 | 54,330,537 | 0 | true | 2018-12-01T13:46:31.390Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How do I list only one instance of each comment?<p>I have an admin dashboard that takes the comments from all of the blog posts and lists them so I can manag... |
53,417,235 | how to make sure the data imported using sqoop follows the same row order in hive as in mysql table<p>How to make sure the data imported using sqoop follows the same row order in hive as in mysql table?</p>
<p><code>
mysql> select * from customer;
+------+--------+------+--------+
| id | name | age | salary |
... | <p>While importing the tables into the hive using Apache Sqoop, by default it is in the same order but to be double sure, you can do one thing, if your MySQL table has the primary key then create hive table manually with same Schema and primary key and write import statement without --create-hive-table argument.</p>
<... | how to make sure the data imported using sqoop follows the same row order in hive as in mysql table | sqoop | 0 | 38 | 1 | 54,344,151 | 54,344,151 | 0 | true | 2018-11-21T17:06:29.897Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
how to make sure the data imported using sqoop follows the same row order in hive as in mysql table<p>How to make sure the data imported using sqoop follows ... |
53,711,220 | Android BLE discovery issue<p>I'm developing and Android app with Bluetooth but sometimes I have problems with LE devices discovering: usually the discovery callback return me the the devices found but sometimes, stops working and does not return me the devices.</p>
<p>I tested the code (in debug mode) in different de... | <p>I solved my problem by following the suggestions in this link: <a href="https://stackoverflow.com/a/42267678/7006955">https://stackoverflow.com/a/42267678/7006955</a></p>
<p>I add to my code all the code suggested and it works fine also in Android 4</p> | Android BLE discovery issue | java|android|bluetooth|bluetooth-lowenergy | 0 | 1,602 | 2 | 54,373,611 | 54,373,611 | 0 | true | 2018-12-10T18:03:10.100Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Android BLE discovery issue<p>I'm developing and Android app with Bluetooth but sometimes I have problems with LE devices discovering: usually the discovery ... |
53,581,506 | django-simple-history, saving without historical record not working<p>I am a big fan of django-simple-history, but I do not seem to be able to get "save_without_historical_record" to work properly when I use it inside the default save() method of a model.</p>
<p>I have a model such as this</p>
<pre><code>class NzPlas... | <p>I solved the issue by modifying the <code>save_model</code> method in my <code>admin.py</code>. When a new plasmid object that has a map is created, generating two historical records due to the renaming of <code>plasmid_map</code>, I delete the first one, which contains the "wrong" plasmid_map name, and change the h... | django-simple-history, saving without historical record not working | django-simple-history | 0 | 2,065 | 2 | 54,382,873 | 54,382,873 | 0 | true | 2018-12-02T15:06:57.290Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
django-simple-history, saving without historical record not working<p>I am a big fan of django-simple-history, but I do not seem to be able to get "save_with... |
53,746,128 | Why selectable list of items doesn't work in Django?<p>The jdango view returns list of components and the li items contain html code saved in <code>{{ component.html }}</code> variable.</p>
<p>html file:</p>
<pre><code><ol id="app_components">
{% for component in components %}
<li id="{{ component.id }... | <p>Change strategy, changed jQuery UI selectable to sortable <a href="http://jqueryui.com/sortable/" rel="nofollow noreferrer">documentation</a></p> | Why selectable list of items doesn't work in Django? | javascript|django|jquery-ui|jquery-ui-selectable | 0 | 41 | 1 | 54,386,734 | 54,386,734 | 0 | true | 2018-12-12T15:19:18.637Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Why selectable list of items doesn't work in Django?<p>The jdango view returns list of components and the li items contain html code saved in <code>{{ compon... |
53,412,100 | Ionic Firebase ios unable to subscribe to topic<p>I have a Ionic app where in I want to be able to push notifications using Firebase, we have used FCM library for the same.
The notifications work seamlessly on android, however on the iOS I am facing the challenge that the device is not able to subscribe to the topic an... | <p>Presumable it seems that these are warnings, i tried it building using the "Legacy Build System" and the firebase notifications work just fine.</p> | Ionic Firebase ios unable to subscribe to topic | ios|firebase|ionic-framework|firebase-cloud-messaging|cordova-plugin-fcm | 0 | 841 | 1 | 54,510,555 | 54,510,555 | 0 | true | 2018-11-21T12:31:29.027Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Ionic Firebase ios unable to subscribe to topic<p>I have a Ionic app where in I want to be able to push notifications using Firebase, we have used FCM librar... |
53,585,624 | version 3.11 | AWS installation fails due to HTTPS / x509 issues on waiting for control pane<p>Trying to do an openshift 3.11 install with 3 master setup ,2 infra and 2 nodes. I didn't use a LB node since I figured the AWS ELB would take care of that for me.</p>
<p>My current issue is the installation will fail on the... | <p>I know this is an old link but I was running into the same issue with my ELB configured as HTTPS. I changed the listener to TCP and used port 443 for the Load Balancer Port and the Instance Port. For the Health Check, make sure you are using Ping Protocol HTTPS, Ping Port 443 and Ping Path of "/" . Those configura... | version 3.11 | AWS installation fails due to HTTPS / x509 issues on waiting for control pane | amazon-web-services|ssl-certificate|openshift|x509certificate|okd | 0 | 281 | 1 | 54,600,011 | 54,600,011 | 0 | true | 2018-12-02T23:26:52.760Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
version 3.11 | AWS installation fails due to HTTPS / x509 issues on waiting for control pane<p>Trying to do an openshift 3.11 install with 3 master setup ,2 ... |
53,666,490 | LLBLGen Pro- Join Vs prefetch Path<p>I am using LLBLGenPro for my project.I'm curious about what will be more effective way for query i.e join or prefetch path.</p>
<p>I observed that when I am using prefetch path,it actually firing separate queries on database with Scalable resultset where as In case of join ,It is n... | <p>I would say this depends on the relation between the 2 tables. If its 1-1 then a join is probably going to be more efficient from the database point of view (its just one query and no rows are duplicated). Otherwise if you have a 1-m or 1-0..1 relationship then it can be better to do a prefetch. LLBLGen is smart ... | LLBLGen Pro- Join Vs prefetch Path | c#|sql|llblgenpro|llblgen | 0 | 314 | 1 | 54,600,163 | 54,600,163 | 0 | true | 2018-12-07T09:17:12.790Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
LLBLGen Pro- Join Vs prefetch Path<p>I am using LLBLGenPro for my project.I'm curious about what will be more effective way for query i.e join or prefetch pa... |
53,462,350 | boost::iostreams::mapped_file_source::open causes exit code 3 on Windows but works in Ubuntu<p>I'm using <code>mapped_file_source</code> from the <code>boost::iostreams</code> <code>namespace</code> to read from a large file in chunks:</p>
<pre><code>boost::iostreams::mapped_file_source read_bytes(const char *file_pat... | <p>Using <a href="https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B" rel="nofollow noreferrer"><code>MSVC</code></a> the problem can no longer be reproduced now. In general, using <code>Microsoft</code>'s compiler for <code>Windows</code> may be more reliable than the likes of <code>MinGW</code>, especially since ... | boost::iostreams::mapped_file_source::open causes exit code 3 on Windows but works in Ubuntu | c++|windows|boost|mingw|memory-mapped-files | 0 | 323 | 1 | 54,634,194 | 54,634,194 | 0 | true | 2018-11-24T21:04:30.223Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
boost::iostreams::mapped_file_source::open causes exit code 3 on Windows but works in Ubuntu<p>I'm using <code>mapped_file_source</code> from the <code>boost... |
53,375,051 | What is the correct way to stream custom packets using ffmpeg?<p>I want to encode frames from camera using <a href="https://github.com/NVIDIA/NvPipe" rel="nofollow noreferrer">NvPipe</a> and stream them via RTP using FFmpeg. My code produces the following error when I want to decode the stream:</p>
<pre><code>[h264 @ ... | <p>The code above sends no keyframes (or I-frames). The (obvious) solution is to send keyframes by turning the last parameter of <code>NvPipe_Encode()</code> to true. To achieve a certain GOP size <code>gop_size</code>, do something like</p>
<pre><code>NvPipe_Encode(encoder, rgba.data(), width * 4, compressed.data(), ... | What is the correct way to stream custom packets using ffmpeg? | c++|ffmpeg | 0 | 1,309 | 1 | 54,106,804 | 54,106,804 | 1 | true | 2018-11-19T12:51:41.130Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
What is the correct way to stream custom packets using ffmpeg?<p>I want to encode frames from camera using <a href="https://github.com/NVIDIA/NvPipe" rel="no... |
53,778,426 | Circle ci trigger a build on pull request creation or update<p>We are usng circle ci and github.</p>
<p>So i have a remote k8 cluster for staging, on which we have our test suite.</p>
<p>I have a project on github, and id like to deploy and run the tests on the cluster everytime a pull request is created or updated. ... | <p>Not currently possible on CircleCI, they do not expose all the payload from a github.</p>
<p>its on their todo list</p> | Circle ci trigger a build on pull request creation or update | github|github-api|circleci-2.0 | 0 | 314 | 2 | 54,110,013 | 54,110,013 | 1 | true | 2018-12-14T10:59:27.770Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Circle ci trigger a build on pull request creation or update<p>We are usng circle ci and github.</p>
<p>So i have a remote k8 cluster for staging, on which ... |
53,649,158 | updating pymode repository error: server does not allow request<p>I run the following command:</p>
<pre><code> git submodule update --init --recursive
</code></pre>
<p>I got </p>
<pre><code>error: Server does not allow request for unadvertised object 837ecd3d7a8597ab5f28bc83072de68e16470f1e
Fetched in submodule path... | <p>i sovled the problem by deleting the old pymode and reinstall that. </p> | updating pymode repository error: server does not allow request | python-mode | 0 | 831 | 2 | 54,145,239 | 54,145,239 | 1 | true | 2018-12-06T10:21:05.547Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
updating pymode repository error: server does not allow request<p>I run the following command:</p>
<pre><code> git submodule update --init --recursive
</cod... |
53,686,034 | Can/how do microsoft docker containers work with CNG KSPs?<p>I have some windows c++ code that uses CNG to access the Microsoft Software Key Storage Provider:</p>
<p><a href="https://docs.microsoft.com/en-us/windows/desktop/seccertenroll/cng-key-storage-providers#microsoft-software-key-storage-provider" rel="nofollow ... | <blockquote>
<p>Can I do so any still access that provider? O</p>
</blockquote>
<p>Yes, you can still access provider, but state would be completely clear(no internal data was shared between host machine and container)</p>
<blockquote>
<p>Or any provider
You can't guarantee it, especially for third-party CSPs, ... | Can/how do microsoft docker containers work with CNG KSPs? | windows|docker|cng | 0 | 65 | 1 | 54,202,607 | 54,202,607 | 1 | true | 2018-12-08T19:16:41.290Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Can/how do microsoft docker containers work with CNG KSPs?<p>I have some windows c++ code that uses CNG to access the Microsoft Software Key Storage Provider... |
53,533,525 | Can OpenEBS support across AWS regions?<p>Is there a way to use openebs across aws regions if I have a vpn, or vpc peering set up? I have seen that OpenEBS supports across AZs in a region but want to know whether I can take backup across region?</p> | <p>OpenEBS across zone is supported in AWS. You can go through integration section of openebs docs site.
Tried creating the zone using</p>
<pre><code>kops create cluster --name=<cluster_name>.k8s.local --vpc=<vpc_id> --zones=<zone1_name>,<zone2_name>,<zone3_name>
</code></pre>
<p>Post th... | Can OpenEBS support across AWS regions? | openebs | 0 | 51 | 1 | 54,234,911 | 54,234,911 | 1 | true | 2018-11-29T07:04:29.180Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Can OpenEBS support across AWS regions?<p>Is there a way to use openebs across aws regions if I have a vpn, or vpc peering set up? I have seen that OpenEBS s... |
53,383,435 | (Npyscreen) How to implement functions into picking widget?<p>I have an issue with npyscreen application, which implicitly will be able to turning off or rebooting entire LAN (small project for my teacher). I have created picking widget with two test functions in order to check if app works correctly: <a href="https://... | <pre><code>class RatScreen(npyscreen.ActionForm):
def create(self):
# elf.show_atx = 20
self.show_aty = 4
self.add(npyscreen.TitleFixedText, name="Description:", value="Remote Access Tool is small app designed to manage machines in local network")
self.add(npyscreen.TitleFixedText, n... | (Npyscreen) How to implement functions into picking widget? | python|npyscreen | 0 | 581 | 1 | 54,312,090 | 54,312,090 | 1 | true | 2018-11-19T22:16:21.377Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
(Npyscreen) How to implement functions into picking widget?<p>I have an issue with npyscreen application, which implicitly will be able to turning off or reb... |
53,656,028 | How to automatically store only Logon event information from Security log over a long period of time?<p>I have a Windows server that is used by a large number of people and we are looking to upgrade it and move everyone to a new server. </p>
<p>I would like to identify the current users in order to notify them in adva... | <p>Yes, it is possible. You can do that by writing a custom application/service for that. You can use both EventLog class and EventLogWatcher class for achieving it.</p>
<blockquote>
<p>Main Logic: </p>
</blockquote>
<pre><code>string queryString = "<QueryList><Query Id=\"0\" Path=\"Security\">"
... | How to automatically store only Logon event information from Security log over a long period of time? | event-log | 0 | 58 | 1 | 54,363,318 | 54,363,318 | 1 | true | 2018-12-06T16:45:13.987Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to automatically store only Logon event information from Security log over a long period of time?<p>I have a Windows server that is used by a large numbe... |
53,506,945 | Stop Rails server in new AWS Cloud 9 IDE<p>I am just starting to learn Rails in the new AWS Cloud 9 on a Mac and I cannot stop the Rails server. The instructions say to use <code>Control+c</code> but in the Cloud9 terminal with Rails running this just writes:</p>
<pre><code>^[c
</code></pre>
<p>...and then creates a ... | <p>If <kbd>Control</kbd> + <kbd>C</kbd> doesn't do the trick then just close the terminal and that should kill all ongoing processes in that terminal.</p>
<p>You can verify that it killed it by running <code>ps aux | grep "rails"</code> and then checking if there are any entries. If there is one find the process ID an... | Stop Rails server in new AWS Cloud 9 IDE | ruby-on-rails|amazon-web-services|ide|cloud9-ide | 0 | 552 | 1 | 54,480,741 | 54,480,741 | 1 | true | 2018-11-27T19:39:57.593Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Stop Rails server in new AWS Cloud 9 IDE<p>I am just starting to learn Rails in the new AWS Cloud 9 on a Mac and I cannot stop the Rails server. The instruct... |
53,524,019 | Azure dev ops -- Set Visual Studio 2017 (VS2017) as default for cloning project<p><strong>Azure dev ops -- Set Visual Studio 2017 (VS2017) as default for cloning project?</strong></p>
<p>I have multiple versions of Visual Studio installed, and for policy reasons, I need to keep them, at least for a while.</p>
<p>How ... | <p>I think this is determined by what version selector is targeted by the 'vsweb' protocol handler, i.e. it's a setting on your machine.</p>
<p>It seems like when VS2017 installs it doesn't always set the version selector to the 2017 version (which defaults to opening VS2017), rather than an old version.</p>
<p>This ... | Azure dev ops -- Set Visual Studio 2017 (VS2017) as default for cloning project | visual-studio-2017|azure-devops|git-clone|visual-studio-project | 0 | 292 | 1 | 54,534,804 | 54,534,804 | 1 | true | 2018-11-28T16:28:35.147Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Azure dev ops -- Set Visual Studio 2017 (VS2017) as default for cloning project<p><strong>Azure dev ops -- Set Visual Studio 2017 (VS2017) as default for clo... |
44,059,372 | (More) DeclareDesign R Package download problems<p>I asked a <a href="https://stackoverflow.com/questions/42661890/declaredesign-r-package-download-problems">similar question</a> a couple months ago, but the package, website, and code in question have since been updated and the solution I used previously is no longer e... | <p>DeclareDesign is now on CRAN, so you can install via </p>
<pre><code>install.packages("DeclareDesign")
</code></pre> | (More) DeclareDesign R Package download problems | r|installation|declaredesign | 0 | 66 | 2 | 54,548,443 | 54,548,443 | 1 | true | 2017-05-18T23:46:42.623Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
(More) DeclareDesign R Package download problems<p>I asked a <a href="https://stackoverflow.com/questions/42661890/declaredesign-r-package-download-problems"... |
53,786,555 | Concatenating in EL param<p>Using JSP/JSTL, I am iterating over a list of items: </p>
<p><code><c:forEach var="item" items="${list}" varStatus="loop">
</c:forEach>
</code></p>
<p>Within the loop, I would like to retrieve a parameter based on the loop index. I know that to access a parameter (e.g. named "p... | <p>I was able to resolve this by first creating a new variable and then using bracket notation to retrieve the parameter: </p>
<p><code><c:set var="p" value="p${loop.index}"/>
${param[p]}</code></p> | Concatenating in EL param | jsp|jstl|el | 0 | 29 | 1 | 54,561,666 | 54,561,666 | 1 | true | 2018-12-14T20:33:58.627Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Concatenating in EL param<p>Using JSP/JSTL, I am iterating over a list of items: </p>
<p><code><c:forEach var="item" items="${list}" varStatus="loop">... |
53,453,871 | Differentiating http and http2 packets<p>I'm working with packets one by one and need to be able to edit both http and http2 contents. </p>
<p>The question is: is there a way to distinguish the two on a single packet basis?</p>
<p>Edit: For some additional info, the point is to read and edit large pcap files, so i'm ... | <p>On a per-packet basis, no. A single TCP packet could represent any arbitrary part of the stream. You need to capture (at least) the first part of the stream to work out whether it's HTTP or HTTP/2 (or anything else).</p> | Differentiating http and http2 packets | http|packet|http2 | 0 | 37 | 2 | 54,164,842 | 54,164,842 | 2 | true | 2018-11-23T23:31:09.240Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Differentiating http and http2 packets<p>I'm working with packets one by one and need to be able to edit both http and http2 contents. </p>
<p>The question ... |
53,551,233 | Maven Arquillian Junit Test fails<p>I am running <code>arquillian</code> with <code>junit 4.11</code> using <code>maven-surefire-plugin 2.20.1</code>:</p>
<p><strong>ERROR</strong>:</p>
<pre><code>[ERROR] JUnit4Provider.invoke:160->executeTestSet:239->executeWithRerun:275->execute:369 » NoSuchMethod
</code... | <p>Be sure to use junit 4.12:</p>
<pre><code> <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</code></pre> | Maven Arquillian Junit Test fails | java|maven|junit|jboss-arquillian | 0 | 540 | 1 | 54,096,252 | 54,096,252 | 3 | true | 2018-11-30T04:25:36.460Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Maven Arquillian Junit Test fails<p>I am running <code>arquillian</code> with <code>junit 4.11</code> using <code>maven-surefire-plugin 2.20.1</code>:</p>
<... |
53,400,560 | Wordpress - Save Contact Form 7 fields to the database as separate columns<p>I am using Contact Form 7 and <a href="https://wordpress.org/plugins/contact-form-cfdb7/" rel="nofollow noreferrer">Contact Form 7 Database Addon – CFDB7</a> to save values from my form to the database. The database plugin seems to work fine a... | <p>I was able to resolve this using Save Contact Form 7. I have been using it for about a month and have not encountered an issue. </p>
<p><a href="https://wordpress.org/plugins/save-contact-form-7/" rel="nofollow noreferrer">https://wordpress.org/plugins/save-contact-form-7/</a></p>
<p>Edit: It is straightforward, y... | Wordpress - Save Contact Form 7 fields to the database as separate columns | php|mysql|sql|wordpress | 0 | 2,076 | 1 | 54,245,326 | 54,245,326 | 0 | true | 2018-11-20T19:52:16.133Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Wordpress - Save Contact Form 7 fields to the database as separate columns<p>I am using Contact Form 7 and <a href="https://wordpress.org/plugins/contact-for... |
53,538,182 | How do i clear Screen on AGENS command line<p>How do i clear screen on the AGENS Command Line ?</p>
<p>I tried using the following command </p>
<pre><code>cl scr
clear screen
clear
cls
Ctrl + L
</code></pre>
<p>and most i could think of. Can you please help me?</p> | <p>I just found that the code to clear the screen in agens is: </p>
<pre><code>agens=# \! cls
</code></pre> | How do i clear Screen on AGENS command line | agens-graph | 0 | 44 | 2 | 54,624,541 | 54,624,541 | 0 | true | 2018-11-29T11:38:01.637Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How do i clear Screen on AGENS command line<p>How do i clear screen on the AGENS Command Line ?</p>
<p>I tried using the following command </p>
<pre><code>... |
53,623,354 | Need an example of how to do a button click on serenity-js<p>I am really new to serenity-js and Protractor. I followed the '<a href="https://github.com/serenity-js/seed-cucumber/tree/master/features" rel="nofollow noreferrer">https://github.com/serenity-js/seed-cucumber/tree/master/features</a>' to get familiar with se... | <p>A great place to start is to follow <a href="https://serenity-js.org/from-scripts-to-serenity/readme.html" rel="nofollow noreferrer">the official tutorial</a>.</p>
<p>To click on a button you'll need:</p>
<pre class="lang-js prettyprint-override"><code>// an Actor
const actor = Actor.named('Bob').whoCan(BrowseTheW... | Need an example of how to do a button click on serenity-js | serenity-js | 0 | 1,063 | 1 | 54,148,331 | 54,148,331 | 1 | true | 2018-12-05T00:17:20.623Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Need an example of how to do a button click on serenity-js<p>I am really new to serenity-js and Protractor. I followed the '<a href="https://github.com/seren... |
53,720,562 | Algebraic recursion using Sympy<p>I want to obtain the <em>algebraic</em> terms of a polynomial that can be defined recursively and by using SymPy.</p>
<p>As an example using Maple the Hermite polynomials be defined as </p>
<pre><code>H(0,x):=1;
H(1,x):=2*x;
for n from 1 to 6 do
H(n_1,x):= 2*x*H(n,x) - 2*n*H(n-1,... | <p>Like in Maple you can loop, but it seems reasonable to use a function here. You can use standard python functions:</p>
<pre><code>def coefs(x):
m = Matrix([1, 2*x, 0 ,0, 0, 0])
for k in range(3):
m[k+2] = -2*(k+1)*m[k]+2*x*m[k+1]
print(k)
return m
</code></pre>
<p>You can, of course, ju... | Algebraic recursion using Sympy | python|sympy | 0 | 279 | 1 | 54,392,991 | 54,392,991 | 1 | true | 2018-12-11T08:59:00.153Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Algebraic recursion using Sympy<p>I want to obtain the <em>algebraic</em> terms of a polynomial that can be defined recursively and by using SymPy.</p>
<p>A... |
53,528,572 | JPA + Hibernate currentTimestamp() did not match expected type<p>I have the following code that throws <code>java.lang.IllegalArgumentException: Parameter value [org.hibernate.query.criteria.internal.expression.function.CurrentTimestampFunction@30cb223b] did not match expected type [java.util.Date (n/a)]</code></p>
<p... | <p>I found that using this line will make it work.</p>
<pre><code>query.set(updateEntity.get<Timestamp>("deletedOn"), cb.currentTimestamp())
</code></pre> | JPA + Hibernate currentTimestamp() did not match expected type | hibernate|jpa|kotlin|criteria | 0 | 293 | 1 | 54,355,362 | 54,355,362 | 2 | true | 2018-11-28T21:43:11.467Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
JPA + Hibernate currentTimestamp() did not match expected type<p>I have the following code that throws <code>java.lang.IllegalArgumentException: Parameter va... |
53,649,402 | Disable TensorBoard logging on tf.Estimator methods<p>Is there a way disable the automatic TensorBoard logging when using the <code>tf.estimator.Estimator</code> class?</p>
<pre><code># Classifier
classifier = tf.estimator.Estimator(
model_fn=lambda features, labels, mode, params: model(features, labels, mode, par... | <p>Instantiating RunConfig for Estimator with <code>save_summary_steps=None</code> should fix this</p> | Disable TensorBoard logging on tf.Estimator methods | tensorflow|tensorboard|tensorflow-estimator | 0 | 329 | 1 | 54,420,920 | 54,420,920 | 2 | true | 2018-12-06T10:33:07.240Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Disable TensorBoard logging on tf.Estimator methods<p>Is there a way disable the automatic TensorBoard logging when using the <code>tf.estimator.Estimator</c... |
53,518,536 | 10 parameter CRON TASK (IBM Maximo) workdays<p>Can somebody explain me 10* parameter cron task? What I can find on Google only 5* parameter Cron tasks.
Example of Cron task from the system 2d,0,0,14,<em>,</em>,<em>,</em>,<em>,</em>. (Every two days at time 14:00.)
How to get correct cron task only for workdays?</p> | <p>I would have 5 Instances on the Cron Task set to run "Every 1 weeks on day (weekday) at time (whenever)"; this is the fifth option in the Set Schedule dialog. Obviously, the (weekday) would be Monday-Friday over the Instances.</p>
<p>If it's possible to convert the Cron Task to an Escalation, you could have it base... | 10 parameter CRON TASK (IBM Maximo) workdays | cron|task|scheduled-tasks|cron-task|maximo | 0 | 557 | 1 | 54,239,266 | 54,239,266 | 0 | true | 2018-11-28T11:35:45.870Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
10 parameter CRON TASK (IBM Maximo) workdays<p>Can somebody explain me 10* parameter cron task? What I can find on Google only 5* parameter Cron tasks.
Exam... |
53,682,838 | Chat App - Sending multiple simultaneous requests to MongoDB<p>I'm building a chat app and trying to work out the most efficient way to request multiple conversation threads (both private & group) from a MongoDB database.</p>
<p>My current idea is to loop through the user's contacts on the client side and send a '... | <p><strong>TL;DR</strong> I'd stay with the second option.</p>
<p>Since you want your app to load as fast as possible and be responsive, you should avoid requesting big chunks of data which you might even end up not using in the app. I'd fetch the first (latest) 5-10 conversations since those would probably be the one... | Chat App - Sending multiple simultaneous requests to MongoDB | javascript|database|mongodb|rest|chat | 0 | 65 | 1 | 54,244,931 | 54,244,931 | 1 | true | 2018-12-08T13:08:13.040Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
Chat App - Sending multiple simultaneous requests to MongoDB<p>I'm building a chat app and trying to work out the most efficient way to request multiple conv... |
53,385,941 | How to translate SDL signal list to something similar in SysML?<p>This is not so much a programming question as it is a question about modelling. But you could argue that modelling is an integral part of programming.</p>
<p>In SDL it is possible to annotate "communication lines" between blocks (processes, services) wi... | <p>In SysML block element is consists of various compartments, one of such compartments is signal compartment where both input and output signals can be defined. </p>
<p>In a case where you need to define a concrete subset of signals for a purpose of concrete communication case, you need to define an interface block a... | How to translate SDL signal list to something similar in SysML? | sysml | 0 | 72 | 1 | 54,455,236 | 54,455,236 | 1 | true | 2018-11-20T03:48:37.110Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
How to translate SDL signal list to something similar in SysML?<p>This is not so much a programming question as it is a question about modelling. But you cou... |
37,851,798 | python3.5/pandas - rolling mean by week and hour<p>Trying to figure out how to use the rolling mean that takes into consideration the day and hour before computing the statistic.</p>
<p>File looks something like this:</p>
<pre><code> date hour price
1/1/2016 1 a
1/1/2016 2 b
. ... | <p>Take this with a grain of salt as I don't really know what I'm doing, but I think I had this problem myself and here was the best solution I could figure out. I'm sure there is a built-in function for it, but...</p>
<pre><code>#assumes index contains date info (mine had Hour, dow, and a date field)
# and assumes ord... | python3.5/pandas - rolling mean by week and hour | python|pandas | 0 | 556 | 2 | 67,489,965 | 67,489,965 | 0 | true | 2016-06-16T06:50:49.860Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
python3.5/pandas - rolling mean by week and hour<p>Trying to figure out how to use the rolling mean that takes into consideration the day and hour before com... |
38,055,527 | On closing Dialog box the screen flickers due to scrollbar which appears on right.What should I do to hide it?<p><a href="https://i.stack.imgur.com/bLjvn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bLjvn.png" alt="enter image description here"></a></p>
<p><a href="https://i.stack.imgur.com/gH5BT... | <p>The issue no-longer exists in the later versions of UI5</p> | On closing Dialog box the screen flickers due to scrollbar which appears on right.What should I do to hide it? | sapui5 | 0 | 265 | 1 | 59,657,722 | 59,657,722 | 0 | true | 2016-06-27T13:41:03.673Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
On closing Dialog box the screen flickers due to scrollbar which appears on right.What should I do to hide it?<p><a href="https://i.stack.imgur.com/bLjvn.png... |
53,459,010 | pagination with codeigniter not generating values<p>I have been trying to get this done, I want a pagination in my app. what i have now can only count the table rows. but when i click on the link to next batch of data, i receive a error 404.</p>
<p>Here is the code below.
This is my Controller</p>
<pre><code>public... | <p>All I needed was to set the URL Segment to "4" because the URL</p>
<pre><code>$config = array();
$offset = $this->uri->segment(4);
$config['base_url'] = base_url() . 'manager/cplfc/';
$config['total_rows'] = $this->db->count_all('users','attendance');
$config['per_page'] = 1;
$config['uri_segme... | pagination with codeigniter not generating values | php|codeigniter|pagination | 0 | 47 | 2 | 69,534,411 | 69,534,411 | 0 | true | 2018-11-24T14:10:22.837Z | Please answer the following Stackoverflow question on Programming. Answer it like you are a developer answering Stackoverflow questions.
Stackoverflow question:
pagination with codeigniter not generating values<p>I have been trying to get this done, I want a pagination in my app. what i have now can only count the t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.