text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Vapor server error
I am running a vapor server on Ubuntu (16.04.2 TLS) and keep getting this error:
**Server error: accept(Socket failed with code 11 ("Resource temporarily unavailable") [acceptFailed])**
However, running exactly the same server on OS X, I don't get the error.
Do I have to do anything different on Ubu... | common-pile/stackexchange_filtered |
Who owns the copyright on a Siri recording?
If I record my own work using Siri, i.e. original texts, phrases, sentences, etc. who owns the copyright on those recordings?
Would it be the same as when using a DAW to record my own music?
More generally, it is the same as using any tool to create material in fixed form, w... | common-pile/stackexchange_filtered |
Is 'pserve' inappropriate to serve my Pyramid app for production use behind nginx?
I get the impression, though it's not explicitly stated anywhere, that using pserve on my Pyramid app when it's deployed to production is not the best idea. I don't know that it deals with concurrency, for example -- and I suspect it doe... | common-pile/stackexchange_filtered |
Transport Rule Logical And for Exchange 2010
Good Afternoon,
I have exhausted my googling and best-guess ideas, so I hope someone here has an idea of whether this is possible or not.
I am using Exchange Server 2010 (vanilla) in a test environment and trying to create a Hub Transport Rule using the Exchange Management ... | common-pile/stackexchange_filtered |
Aws Lambda: Deploy a python function with numpy dependency
Installed numpy on my project folder using pip install numpy -t <project dir> command. I can see numpy and numpy-1.12.1.dist-info in the project directory. But when I zip the directory and run it on Lambda I get Unable to import module 'handler': Missing requir... | common-pile/stackexchange_filtered |
Crostini Built-In Camera Support?
I was trying to get my built-in camera working on my chromebook for my linux vm. I saw that there was a usb device that I could connect to linux which was "HP Wide Vision HD Camera". I assume this is the built-In camera that came on the chromebook. When I enable it, it comes up as a us... | common-pile/stackexchange_filtered |
Deserializing XML with RestSharp
I'm trying out RestSharp for a WP7 project. Having some trouble deserializing some XML with RestSharp. The object is null. Here's some of the relevant XML:
<?xml version="1.0" encoding="utf-8"?>
<api_response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001... | common-pile/stackexchange_filtered |
Using TcpClient on websocket receive data get \0\0\0\0
I have establish a connection with a websocket , i want to receive message from it. Following is my code for receiving message from the websocket.
//mClient is my TCP connection
byte[] bytes;
NetworkStream netStream;
string returndata;
while(true)
{
b... | common-pile/stackexchange_filtered |
How to exclude instances of the EC2 inventory in Ansible?
We have an Ansible server using EC2 dynamic inventory:
https://github.com/ansible/ansible/blob/devel/contrib/inventory/ec2.py
https://github.com/ansible/ansible/blob/devel/contrib/inventory/ec2.ini
However, with the number of instances we have, running ./ec2.p... | common-pile/stackexchange_filtered |
Subquery with join statement
I don't understand why it doesn't allow me join inside a subquery.
Please consider the following section of code:
SELECT c.num_id
FROM (
SELECT *
FROM staff_salary as a
FULL JOIN staff_profile as b
ON a.num_id = b.num_id
) as c
I'm receiving the error:
The column 'n... | common-pile/stackexchange_filtered |
How to mask/hide URL with Nginx Proxy Manager?
First of all, thanks in advance for taking some of your time to read this.
I would like to get some help.
I'm using Nginx Proxy Manager Proxy Hosts option to convert this: http://<IP_ADDRESS>:3001/status/monitor into this https://status.com/status/monitor
It works fine.
Bu... | common-pile/stackexchange_filtered |
Is it possible to get referenced element ie. this.$ref inside dateClick function in fullCalendar?
I am using vuejs for this project. In FullCalendar(v5.3.0), I've been trying to get the timeGridDay when a particular date is clicked in month view (default view) with the selected date being the day to be shown.
I used re... | common-pile/stackexchange_filtered |
Extracting data from Arduino MultiWii Flight Controller
I am new to the world of Arduinos but have a new project going with a MultiWii Flight controller. With the MultiWii comes a software for showing all data that is measured from the sensors (acceleration, velocity, roll, pitch, etc) which is nice but I would like to... | common-pile/stackexchange_filtered |
Need a script that continues to refresh a page even when user leaves Browser in Android or phone screen goes blank
I have use:
$page = $_SERVER['PHP_SELF'];
$sec = "3";
header("Refresh: $sec; url=$page");
and
<script>
setTimeout(function(){
window.location.reload(1);
}, 5000);
</script>
to refresh my page on an ... | common-pile/stackexchange_filtered |
Implement two or more instances simultaneously in haskell
I have defined following class in Haskell:
class SearchList searchEntity where
searchList :: [ArtifactTree] -> searchEntity -> [Artifact]
I have two equal implementations of this class for different entities:
instance SearchList Version where
searchLi... | common-pile/stackexchange_filtered |
Just making sure: the set of strict local maxima (maxima points, not maxima values) of a continuous function $f: ℝ^n \to ℝ$ is countable, right?
I'm looking at these previous threads
Does there exist a continuous function from [0,1] to R that has uncountably many local maxima?
Countability of local maxima on continuous... | common-pile/stackexchange_filtered |
How do we avoid crashes in async calls that reference cocos2d-iphone (2.0.0) UI classes?
In my iOS game with cocos2d-iphone 2.0.0, I have a layer that pops up a sprite that asks the user to buy an in app purchase with a button for the user to click to buy (menuItemBuyButton). When user clicks on this buy button, three ... | common-pile/stackexchange_filtered |
player.mute() not working in YouTube API with playlist
I want to mute a video after it plays for 9 seconds. I tested various things including cuePlaylist and other stuff.
Following is the code -
<div id="topplayer" align="center"></div>
<script>
jQuery(document).ready(function( $ ) {
var done = false;
var tag... | common-pile/stackexchange_filtered |
Suppose that $a$ and $b$ belong to a field of order $8$ and that $a^2 + ab + b^2 =0$ then $a=0$ and $b=0$ .
Suppose that $a$ and $b$ belong to a field of order $8$ and $a^2 + ab + b^2 =0$. Then $a=0$ and $b=0$. Do the same when the field has order $2^n$ with $n$ odd?
If one of the term is zero, i.e. let $b=0$ then $a... | common-pile/stackexchange_filtered |
Linter error when using let and const for values within an array
I've got an array as such below
const [day, month, year] = dateSegments.map(segment => ((segment.length === 1) ? `0${segment}` : `${segment}`))
This is all well and good until 'year' gets reassigned in an if statement further down. 'Day' and 'month' rema... | common-pile/stackexchange_filtered |
How do you get inheritance working within JavaScript?
I want constructor Paper to inherit constructor View. I've read that there needs to be a temporary constructor new F(), but the parent is modified along with the child class prototype in my code:
function View() {};
function Paper() {};
View.prototype = {
locat... | common-pile/stackexchange_filtered |
How to get SQL-like HAVING and GROUP BY for PHP arrays?
Is there a PHP code snippet or a built in array function that would do kind of like what a sql statement with having and group by does? That is removing the dups and counting the occurrences and giving you back an array that you can use for reporting/debugging pur... | common-pile/stackexchange_filtered |
How to get a context in a function?
I need to get a context for my Navigator push, i have this Navigator on my function _navigate. I try something like _navigate(BuildContext context) but i got an error like "type (BuildContext) => dynamic is not a subtype of type() => void. It's the first context of Navigator.push i d... | common-pile/stackexchange_filtered |
Three tangent circles and they are tangent to a line
Let $c_1$, $c_2$ and $c_3$ three external tangent circles. Their centers are $O_1$, etc. The three circles are tangent to a single line $r$. The problem is to prove that $O_1O_2O_3$ is a triangle with an obtuse angle.
Tries: I have tried Euclidean geometry, analytica... | common-pile/stackexchange_filtered |
Accusative and genitive constructions - interchangeability; usage of "of" in genitive
Would it be acceptable to replace the emphasized (genitive) construction in the following sentence
"The photographer Terry Richardson, after being accused in one documentary of sexual assault of female models, continued to work for ma... | common-pile/stackexchange_filtered |
Oracle DB SQL - check if at least one dataset exists for each month
I have a large table where a full tablescan on my server takes around 2 minutes (150 mio datasets).
The table holds sales transactions for respective days of the year. It is indexed by date.
I am looking for an efficient way to get the info for each mo... | common-pile/stackexchange_filtered |
What, if any, asymptotic arguments are used in moving between various statements of the central limit theorem?
What, if any, asymptotic arguments are used in moving between the various statements of the central limit theorem (e.g. in terms of sample means compared with standardised sample means)?
Context.
My question i... | common-pile/stackexchange_filtered |
Firefox cross structure with 3-D transform
I have made a pen By-pyramid structure
using pseudo elements.
it working well in chrome but in Firefox
at both top and bottom, there is a cross like structure.
I don't know how to remove this.
can any one help me to get rid of this problem.
I don't see the issue in Firefox ... | common-pile/stackexchange_filtered |
How can I set that Alt-TAB to switch windows only on the current workspace?
How can I set Alt-TAB shortcut to switch only between current workspace windows (not all windows on all workspaces) used Unity in 11.10?
I set a plugin for it in compiz manager, but it could not solve my problem. Thx!
I don'ẗ understand the qu... | common-pile/stackexchange_filtered |
get the EPSG code from openlayers 3 layer
This is my OSM layer in openlayers 3.9.0.
var layer = new ol.layer.Tile({
source: new ol.source.OSM(
{
attributions: [
new ol.Attribution({
html: 'All maps © ' +
'<a href="http://www.opencyclemap.org/">OpenCycleMap... | common-pile/stackexchange_filtered |
Ext JS: Load single database entry into model
I'm trying to create a model with a single database entry, instead of creating a store for just one row... doesn't make sense. Anyway, I can create the model by using the static load method, but the URL for my model's proxy is dynamic, so that's not an option, as I want to... | common-pile/stackexchange_filtered |
Pointer to reference: changing the orignal value
I have a vector of People object stored somewhere
std::vector<People> people;
Now I find some special people and get their reference, then get their pointer and store in a vector:
std::vector<People*> newlist;
The way I get this list:
People& specialPeople = getSomeSpe... | common-pile/stackexchange_filtered |
Autolayout works fine on iOS 8, but doesn't behave well on iOS 6 and 7 (I'm using XCode 6.2)
I'm using autolayout to correctly lay out some views inside a UICollectionViewCell. It works fine with iOS 8, but when I try to run it on iOS 7 or iOS 6, the cells appearance varies widely everytime they are laid out (sometimes... | common-pile/stackexchange_filtered |
How to change default browser search in google chrome to actually google chrome?
I am using GoogleChore as a browser, but a few days ago I noticed that if I open new tab in search line I see Yahoo icon
and if I try to search something it open yahoo search instead of google search. I went to settings in the right up co... | common-pile/stackexchange_filtered |
How do I download an app from another country?
I have a Samsung Galaxy S4 Mini and when I go to download certain apps and it will not let me because 'it is not available in my country', however other people within my country have these certain apps and I am confused.
I've just added the google-play-store tag to your q... | common-pile/stackexchange_filtered |
Resampling multiple data columns from minutes to hours in matlab
I got a big data set of minutly data with multiple columns that needs to be converted from minutes to hours.
I am new to matlab and tried
data_minute = rand(data); % synthetic data
data_hour = mean(reshape(data_minute, 60, []))
which only gives me the... | common-pile/stackexchange_filtered |
405 error when using wcf with json and ajax
I am trying to build a WCF service that accepts and returns data in json format and use it in ajax calls. The problem I am having is that when I attempt to call the WCF-service from javascript I get an 405 (Method Not Allowed) error. It seems that the web page calls options ... | common-pile/stackexchange_filtered |
How to open a static file in views.py
I have a little issue with opening a csv file in my views.py
Have tried the following 2 things:
Open the file while it is in the same directory.
Open the file from my static folder.
None worked, the framework django is new for me.
The code i have right know is a easy one :):
from... | common-pile/stackexchange_filtered |
File management iPad app
I am looking for some free File management iPad app. It should be an offline file viewing app, with features to open common file types and also extract zip or rar files.
It should be exactly like Filer app, if u have used that, but without any file limitation..
Please suggest.
GoodReader may w... | common-pile/stackexchange_filtered |
Uniqueness of finite measures that agree on $\mathcal{H} \subset \mathbb{N}$
Defining
$$A_k = \{k, 2k, 3k, ...\}$$
for each $k \in \mathbb{N}$, and
$$\mathcal{H} = \emptyset \text{ } \cup \{A_k : k \in \mathbb{N} \}$$
I have been able to show that
$\mathcal{H}$ is closed under finite intersections
$\sigma(\mathcal{H})... | common-pile/stackexchange_filtered |
Set default header in Nodejs request module
I need a default header to be attached for every API calls happening in my node js. For example TRACE-ID i'll pass it to backend and based on this id i can search my logs easily.
you are sending trace-id from client?
You should use some middleware like express-pass-id to cr... | common-pile/stackexchange_filtered |
Can't delete Anchorfree HSS VPN Adapter created by Hotspot Shield
After uninstalling Hotspot Shield, it's adapter "Anchorfree HSS VPN Adapter" didn't get deleted. And the delete option is grayed and unclickable so I am unable to manually delete it. Although it's not causing any problem, I would still like to delete it.... | common-pile/stackexchange_filtered |
Eeeek! I have too many hats and can't decide which one to wear!
I am loving the new Winter Bash, but I have too many hats! I can't decide which one to wear!
Eeeek! What do I do? How do I choose which hat to wear!?
I should mention to downvoters that Josh's Socks is my sockpuppet :-)
Needs more "Eeeek!"
FTFY @JoshCasw... | common-pile/stackexchange_filtered |
Calling a Powershell script with multi params from ASP.NET using Process.Start()
I've been trying to call a Powershell script with multi params from an C# ASP.NET file in the following way.
string exe = @"C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Powershell.exe";
string template = @"-File {0} -macList{1} -version {2} ... | common-pile/stackexchange_filtered |
Physical significance of Don't cares in Digital Logic design
In many Digital functions we come across don't care conditions where we use don't cares to minimize functions.
What is the significance of these don't cares in real world scenario where we actually implement the functions using logic gates?
The don't cares g... | common-pile/stackexchange_filtered |
How do implement back Link in JSP page?
I use a 'backlink' parameter to keep the last link (which can be dynamic) and include the link in the back button href on the next jsp page. What is the better solution for this?.'referer' tag is not possible cause the "back" page is not always the immediate last page. Also Histo... | common-pile/stackexchange_filtered |
How to forward user credentials through a public API to a credential protected API
The setup is the following:
Public API
Entry point for users of a public website.
Endpoints are all public and reachable without credentials
Handles easy request (country completion etc.) itself, all other requests are forward to the Bu... | common-pile/stackexchange_filtered |
Get the 3rd largest time value in SQL Server 2018
I want to get the 1st, 2nd, 3rd,...largest value of Time in SQL Server 2018's table.
In my code when I get the 3rd largest, if my month condition is 5, it returns correct value. But if my month condition is 4, it returns the max time value not my expected time value ( 3... | common-pile/stackexchange_filtered |
Proving $\lim_{x\to1} f(x)=f(1)$ where $f(x)=\frac{3x+1}{x^2-4x-5}$
I got stuck on the following problem
I have to prove that $f(x)=\frac{3x+1}{x^2-4x-5}$ is continuous at the point $x_0=1$.
What I've got:
First I consider that I don't want the denominator to be zero so I fix $|x-1|<1$. The denominator is always negati... | common-pile/stackexchange_filtered |
Questions like these are "too localized" to be of any good to anyone at large!
The question in particular is extremely localized and has no value to anyone else as a whole.
Match first occurrence of semicolon in string, only if not preceded by '--'
This just makes SO look like the internet's dumping ground of I don't w... | common-pile/stackexchange_filtered |
VM abortin error in android
When i move from one activity to another activity, it closes before open...
I got this error in my logcat
12-03 22:32:12.024: W/dalvikvm(885): JNI WARNING: jarray 0x4052e4a8 points to non-array object (Ljava/lang/String;)
12-03 22:32:12.035: I/dalvikvm(885): "WebViewCoreThread" prio=5 tid=11... | common-pile/stackexchange_filtered |
The Androidphone cannot Detected our NFC tag
I have two kinds of tags, one is NXP and the other is mine. The two tags write the same nDef data, which can be correctly detected by the IOS mobile phone and realize the NFC function of the tag. However, the Android mobile phone can only detect the nDef data on the NXP tag,... | common-pile/stackexchange_filtered |
How to disable a mouse scroll in Avalonia CalendarDatePicker?
I need to disable the mouse scroll functionality of the CalendarDatePicker. So far, I have not found anywhere how I can do this.
<CalendarDatePicker FontWeight="SemiBold" DisplayDateStart="{Binding
Source={x:Static sys:DateTime.Now}, Str... | common-pile/stackexchange_filtered |
Certification test error on supported API test
I have an error from the certification test and I can't seem to resolve it. Errors found are:
• This API is not supported for this application type -
Api=System.Security.Cryptography.Aes. Module=MSCORLIB.
File=System.Core.dll.
• This API is not supported for this appl... | common-pile/stackexchange_filtered |
SimpleDateFormat Failing in Android
I was able to fix this, but I am wondering if I can get a good explanation for why this was broken.
I created a utility function to handle my date conversions with the database for an android application. This code failed the second time it was accessed:
public class Util {
privat... | common-pile/stackexchange_filtered |
Flutter iOS Facebook Limited Login Bad Signature
Package version used:
flutter_facebook_auth: ^7.0.0
firebase_core: ^2.24.2
firebase_auth: ^4.15.2
FBSDKLoginKit (17.0.2) //pod
I have tested recently with our app and can't login with Facebook and upon debugging, I've seen this error
Unhandled Exception: [firebase_auth/... | common-pile/stackexchange_filtered |
Resize width on upload and keep the height ratio proportional
I'm using the following system drawing code to resize images on Upload. The problem is that landscape or portrait images get distorted cause the sytem drawing is making them square. Is it possible to resize the width only and keep the height proportional? an... | common-pile/stackexchange_filtered |
IndexError: list index out of range but the card is starting with zero index
I am trying to scrape one web using python. Here are my code:
import selenium
from selenium import webdriver
import time
from bs4 import BeautifulSoup
import sys # using for command Line argument
from selenium.webdriver.chrome.options import ... | common-pile/stackexchange_filtered |
org.apache.xml.security.c14n.CanonicalizationException: Element listFunctions has a relative namespace: xmlns="xxx_xxx_listFunctions"
I am new to Axis2 and webservices. I have a axis2 web services. Things run fine when ws-security is turned off. When ws-security is turned on, I get the following exception in the server... | common-pile/stackexchange_filtered |
"Soft" internal vs public API boundary with warnings rather than link errors
I'm looking for a way to introduce a formal public API into a program (PostgreSQL) that presently lacks any formal boundary between extension-accessible interfaces and those for internal use only.
It has a few headers that say they're for inte... | common-pile/stackexchange_filtered |
Trigger a popup alert message using checkbox
I am trying to display a pop-up alert with a message on the uncheck of checkbox. I am using Standard controller and need to implement this functionality on the Contact Page Layout. I have a custom checkbox field: Customer__c (default unchecked).
What my requirement is that ... | common-pile/stackexchange_filtered |
Global variable in django changing on its own
My code is as below:
f=0
def load(request):
global f
if f == 0:
login
f=f+1
else:
some commands
the function load is called several times.so every time the function is called value of 'f' will be set to zero?
no it will remain to the ... | common-pile/stackexchange_filtered |
Iterating over maps in List and matching value in Dart
please help with code to print value of key c by comparing key value of a and b
the output should be 29
int a = 3;
int b = 6;
List nums = [
{'a': 1, 'b': 6, 'c': 9},
{'a': 1, 'b': 7, 'c': 10},
{'a': 3, 'b': 8, 'c': 19},
{'a': 3, 'b': 6, 'c': 29},
{'a': 2... | common-pile/stackexchange_filtered |
How can I mint new token from ink smart contract calling pallet-balances function?
How can I mint a new native token (not a custom token) from the ink smart contract calling one of the functions from pallet-balances pallet?
Generally native tokens are only minted on genesis or through consensus, but I suppose you coul... | common-pile/stackexchange_filtered |
My getcookie code does not work on iphones
I am driving crazy. My get function cookie code dose not work on iphones and iphones only it works fine with android and computers
can someone say this code below wont work ?
function getCookie(name) {
const value = `; ${document.cookie}`;
const parts = value.split(`; ${na... | common-pile/stackexchange_filtered |
Why am I leaking memory here (depth first search) c++?
int Solver::negamax(Position* pos,int alpha,int beta, int color, int depth ) {
if(depth==0 || is_final(pos)){
return evaluate(pos);
}
else{
vector < Position* > moves = generate_moves(pos->get_board());
vector < Position* >::iterator move;
int... | common-pile/stackexchange_filtered |
Adding datasource in weblogic 12c
Is there a way to add datasource using xml file in weblogic instead of adding it manually through console.
Something like this:
<Resource name="DS_WFMT_DATA" auth="Container"
type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@<... | common-pile/stackexchange_filtered |
iOS Enterprise distribution warning message
I have an iOS application that I am distributing using the enterprise distribution method (posting the IPA file to a website). When a user installs the application there is a warning message that reads:
Are you sure you want to open the application "Application Name" from D... | common-pile/stackexchange_filtered |
ALL the restricted function, variable and expression of PHP?
I want to know where can I find ALL the restricted function, variable and reserved expression of PHP?
Thanks
In the PHP Manual:
http://php.net/manual/en/reserved.php
If I understood your question correctly.
@Shehi, sorry :D and I even had to fill out a cap... | common-pile/stackexchange_filtered |
Ecto.Schema differences between nilify_all, nothing, and delete_all?
I am defining a schema for my user and role models in Phoenix app. Role has_many users and user belongs_to a role. It seems like there are 3 different on_delete: options: nilify_all, nothing(default), and delete_all.
When I look at Ecto.Schema page, ... | common-pile/stackexchange_filtered |
Select last 30 days rows from MARA using SSIS
I'm trying to select rows for last date change = 30 days.
I tried LAEDA = ( sy-datum -30 ) in where clause, but it always generated error.I connect to sap Abap database.
The message error:
[EIS-Material 1] Error: ERPConnect.ERPException: Error while
receiving function r... | common-pile/stackexchange_filtered |
Mountain Spring Inquiry
Details:
Would it be possible to have a mountain spring that only flows occasionally, perhaps only for a few days, following moderate rainfall?
The spring water would feed into an otherwise stagnant lake, causing it to overflow and allowing the water to flow into several streams and rivers furth... | common-pile/stackexchange_filtered |
How to apply String functions in Advancedatagrid itemRenderer
Is it possible to get right of "~" char in advance datagrid column ? I've tried itemRenderer property but no success. For example, I want to remove all repeated occurrence of "102.Dangerous Flora" and just to keep right of "~".
ArrayCollection is set as data... | common-pile/stackexchange_filtered |
How can I parser a pcap file and read only some specific bits in python from the byte information in the pcap file?
+---------+---------------+----------+
09:28:21,957,743 ETHER
|0 |e8|b1|fc|14|91|73|58|ac|78|e3|a7|7f|08|00|45|48|00|54|50|81|00|00|79|11|04|9b|0a|04|17|aa|0a|42|c0|45|00|89|00|89|00|40|36|f9|d8|50|85... | common-pile/stackexchange_filtered |
How to resolve Angular 7 "Error trying to diff ... Only arrays and iterables are allowed" error?
I'm using Angular 7. I'm having trouble rendering data stored in my model. I have this in my src/app/app.component.ts file
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.c... | common-pile/stackexchange_filtered |
Recursion in a while loop in javascript
I try to output randomly some numbers from an array of possible values.
The problem that I have is with the recursion, so that my function checking if the number generated randomly was already used before starts again if the number was already used (and is not in the array of pos... | common-pile/stackexchange_filtered |
How to get form parameters in request filter
I'm trying to get the form parameters of a request in a request filter:
@Override
public ContainerRequest filter(final ContainerRequest request) {
final Form formParameters = request.getFormParameters();
//logic
return request;
}
However, the form always seem... | common-pile/stackexchange_filtered |
Webview android submit form
I just started using Android Studio (few hours ago).
I created a html form on a web site and i load it via webview.
But the submit button doesn't do anything. Form method is POST.
i tried using javascript function to submit form but it didnt work (it works in browser).
HTML Form:
<form name=... | common-pile/stackexchange_filtered |
Check whether the required field is not empty
I want to check whether the required field is empty or not.
I used the code below.
$(":input").each(function() {
if($(this).data('label')=='required')
{
if($(this).val() === "")
alert("Empty Fields!!");
}
});
But it was alert more than one t... | common-pile/stackexchange_filtered |
Tooltip for dropdown not shown when deployed to Websphere, but is shown when deployed to Tomcat
Adding dropdown list tag in my xhtml page and using title attribute trying to display the tooltip value.
The tooltip option is working fine when I deploy the application in Tomcat where as the samething is not working in wep... | common-pile/stackexchange_filtered |
extern "C" in framework .h works in a project but not works in other
I am facing some weird issue in XCode workspace. I neither have much experience in Objective-C nor in C/C++. I mostly work with Unity3D/C#.
Nowadays I am trying to create few native plugins for the iOS game, for the same I have created few Cocoa touch... | common-pile/stackexchange_filtered |
What is the difference between pub/static/ vs /var/view_preprocessed/pub/static files and what should be right permission?
Magento 2.4.4 served files from pub/static/ directory and /var/view_preprocessed/pub/static directory but what is the difference in both path and what will be the idle permission in both cases.
| common-pile/stackexchange_filtered |
Jenkins reverse proxy
Background:
My company has Jenkins instance installed in Apache Tomcat behind the corporate firewall hosted on a CentOS box. say Box-A.
Port: 8080
Another Linux box, say Box-B is avialable and its clean. No Jenkins instance and no tomcat or Apache.
Requirement:
Is it possible to use the Box-B as t... | common-pile/stackexchange_filtered |
Generators of an ideal in a polynomial ring
This question has me stumped and I would appreciate any help you can offer!
Suppose that $I$ is an ideal of a polynomial ring $R[X]$, that $g$ is a monic element of $I$ and that ${\rm deg}(g) = n$. Put $P_n = \{f ∈ R[X]| {\rm deg} (f) \leq n − 1\}$. Prove that $I$ is generate... | common-pile/stackexchange_filtered |
best practice to avoid static fields
I've already read some questions about the disadvantages of static variables (for example why are static variables considered evil, but i find some difficulties in choosing the best solution to avoid to use them.
In my simple chess application, for example, i have an abstract class,... | common-pile/stackexchange_filtered |
How to create playlist for jplayer using xml
How to create playlist for jplayer using xml file and also i can dynamically add new items through ajax call.
SOLUTION 1
You can use the following code as the starting point:
$(document).ready(function(){
var cssSelector = { jPlayer: "#jquery_jplayer_1", cssSelectorAnc... | common-pile/stackexchange_filtered |
How to make = work like + in breqn?
I want to write chains of equations like ugly formula = expanded = moving things around = simplified = nice formula and to have linebreaks in space-efficient places regardless of margin size and the number of columns. I feel like the formulas shouldn't be broken up so that the reader... | common-pile/stackexchange_filtered |
Long click also triggers regular click
Possible Duplicate:
Android: Why does long click also trigger a normal click?
Duplicate of Android: Why does long click also trigger a normal click? and LongClick event also triggers Click event, but those don't contain a solution to my problem.
My OnLongClickListener returns t... | common-pile/stackexchange_filtered |
Trailing forward slash in react-router routes
I am using react-router v3.0.0 with react v15.1.0. I have the following route setup:
ReactDom.render(<Provider store={store}>
<Router history={BrowserHistory}>
<Route path='shop' component={App}>
<IndexRoute component={Shop} />
<Route pat... | common-pile/stackexchange_filtered |
Why Firestore "projects.databases.documents.list" also includes document fields?
In Firestore there is a principle of creating small documents and big collections. However this doesn't make seanse if we use Firestore using it's REST API, because listing collection also prints content of all documents within it. This do... | common-pile/stackexchange_filtered |
Combine canvas and layout?
Presumably it must be quite common to desire a screen in which
there are graphical elements (for which you may like to use a canvas) and widgets/buttons on the same screen. But everything I've looked at so far gives examples of either screens full of widgets OR whole screen canvases. Can som... | common-pile/stackexchange_filtered |
Run time exception when using Bloomberg BLPSubscribe in VBA/Excel
I get a random run-time error when trying to get back 4 fields for a list of stocks. Call fails for random stocks and changing the fields subscribed to has not made a difference.
This is the detailed error text:
Run-time error '-2147467259 (80004005) #N... | common-pile/stackexchange_filtered |
Bash Script not executed
I have this little bash script :
#!/bin/bash
PATH1="/home/user100/files"
CMD1=$(find . -type f -iname "*.sh" -exec rm -fr {} +;)
cd $PATH1
$CMD1
If I run one by one the commands they are all executed successfully, if I run the script it just does nothing at all.
Any help or idea wou... | common-pile/stackexchange_filtered |
How to mount volume without using docker
In order to mount a directory to a container i used bind mounts https://docs.docker.com/storage/bind-mounts/
Now i'm trying to find a way to replace $docker run -v command.
If you are using kubernetes as that is there in your tag. You can mount a volume as hostpath.
In Pod spec... | common-pile/stackexchange_filtered |
Getting tweets of a specific user with public metrics
I've been trying to get a specific users last tweets and the public metrics of it. In playgrounds i can easily get it but when i use tweepy i can't get public metrics.
import tweepy
auth = tweepy.OAuth2BearerHandler("token")
api = tweepy.API(auth)
client = tweepy.Cl... | common-pile/stackexchange_filtered |
How to print the index of the songs as well as their names?
I am building an AI assistant and I want to add an option to it that it could play the music that I choose by name and it only plays that specific song.
import os
music_dir = "C:\\Users\\Mahdi\\Downloads\\Music"
songs = os.listdir(music_dir)
input1 = input("En... | common-pile/stackexchange_filtered |
How to use jquery in node.js?
I use node.js, Firebase Functions.
I try to implement a very simple function (in functions/index.js) that use POST method to get response from third party website:
exports.haveData = functions.https.onCall((data, context) => {
var $ = require('jquery');
$.ajax(
{
... | common-pile/stackexchange_filtered |
Retrieve Azure AppInsights Live Metrics through API
There is an one year old question How can I retrieve through an API *Live Metrics* of Microsoft Application Insights about is it possible to pull LiveMetrics data that appInsights generate for the application trough some API
Right now i don't see anything live related... | common-pile/stackexchange_filtered |
How to facilitate inter-species communication with math?
Mathematics is considered to be the language of the universe since it is the most fundamental type of logic (in physics anyway) and therefore the best way of expressing the universe (which is a physical environment). From this it is safe to assume that any civili... | common-pile/stackexchange_filtered |
How can I have the docker-healthcheck run outside of the container?
I may be a bit confused, but what I want to do is have a healthceck that runs outside the container, for instance on the host. I'm not sure why docker itself can't do the curling to the container, to decide if it is healthy.
healthcheck:
test: ["... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.