text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Cannot get the HTML value of a dd element with jQuery
Please help, I cannot get the html value of a dd element.
This is my code:
<table id="tabla_costo">
<h2>
Costo de Producción
</h2>
<dl>
<dt>Codigo></dt>
<dd class="code">
</dd>
<dt>Codigo Secunda... | common-pile/stackexchange_filtered |
C# When checking if user exists System.NullReferenceException in mysql
I've implemented the following code multiple times, but this time it gives me the error
System.NullReferenceException: The object reference was not set to an object instance
Here is the code:
bool userExists = false;
string existCheck = "SEL... | common-pile/stackexchange_filtered |
Distinguishing taps on UITableViewCell in general from taps on its accessory button in particular
I would like to implement a UITableViewController that works in a similar fashion to the Episodes (under the My Podcasts) view in the iOS 7 Podcasts app in that its cells should perform one segue if I tap on the (left part... | common-pile/stackexchange_filtered |
FTP "Too many parameters for command 'synchronize'" with WinSCP
Trying to automate FTP through the WinSCP script:
option block abort
option confirm off
open ftp://[link to cloud server here]
synchronize local (path to local files) /Qty Update
exit
Session starts and connects but then I get
Too many parameters for co... | common-pile/stackexchange_filtered |
How to merge two JSON Objects into one in php?
How to merge two json objects into one ? both the json objects have similar structure
I have tried using below code , but its now working
<?php
$requestUrl="http://www.reddit.com/r/deals.json?limit=10&t=hour";
$requestUrl1="http://www.reddit.com/r/redditdeals.json?limit=... | common-pile/stackexchange_filtered |
Automatic scheduled backup of website (/var/www and MySQL dump)
I've been trying to set up a scheduled backup for my server but i can't seem to get it working. I need to copy the contents of /var/www into a compressed file (tar?) in a folder in my home directory every 24 hours. I also want to perform a dump of all mysq... | common-pile/stackexchange_filtered |
php merge class variables instead of replacing them
i have multiple php classes
// a Base class
abstract class Base_Page {
protected static $config = array(
'status' => 'int',
);
}
// an inheriting class
class Page extends Base_Page{
protected static $config = array(
'title' => 'varchar',
'de... | common-pile/stackexchange_filtered |
PHP preg_replace number to two parts
I need to split number with length 5 (example "11111") into two parts with space like "111 11".
What am I missing in my code?
$zip = "11111";
$res = preg_replace('/^\d{3}[ ]?\d{2}/', '$0 $2', $zip);
echo $zip; // returns 11111
echo $res; // returns 11111
Thank you very much
T... | common-pile/stackexchange_filtered |
Using multiple CTE with Blaze Persistence and H2
I am trying to implement a search that considers two different entities. These entities (Article, Story) have two fields in common:
id
status_changed_at
Due to their differences, I map the user's search request to javax.persistence.Predicate per entity.
For each of the... | common-pile/stackexchange_filtered |
If $R$ is $\Sigma_n$ and $(x,y)\in A\iff (\forall z < y) R(x,y,z)$, then $A$ is $\Sigma_n$
Suppose $R\in \Sigma_n$ and $A$ is defined by $$(x,y)\in A\iff (\forall z < y) R(x,y,z)$$
The claim is that $A\in \Sigma_n$.
I've been trying to prove this by just expanding the expression:
We know that there is a computable $S\s... | common-pile/stackexchange_filtered |
Why does the value of a pointer change after passing it to a function that does not modify the pointer?
The pointer in main(), ptrTop, is initialized to point to int topDeck = 1. Every time I run the program, the value of the (I think) dereferenced pointer changes to a different number. I believe that the problem lies ... | common-pile/stackexchange_filtered |
Right to Left text writing support in windows phone 7?
I m building an application for Arabic and in this i want that i should write text from right to left in textbox but i can see only the option to align the text to left or right.
How can i get this feature?
Right-to-Left text support is only available in the Windo... | common-pile/stackexchange_filtered |
Avoid that all workers get re-spawned at the same time
I am running uwsgi with the parameter max-requests=15000 so that each worker gets recycled after processing 15K requests. Also in order to avoid that more than one worker gets recycled at once if they reach the maximum number of requests at the same time, I used ma... | common-pile/stackexchange_filtered |
Lumen: $user is null inside Policy
I am trying to validate if a user exists inside a Policy in Lumen.
This is my Controller function:
public function create(Request $request)
{
$rules = array(
'content' => 'required|string',
);
$user = $request->user();
$this->validate($request, $rules);
$... | common-pile/stackexchange_filtered |
Sharepoint 2010 2 columns showing up in list from a content type
I have a content type with about 20 fields
Everything was fine until I added a hyperlink field called "MySite". When I get to the list instance and add a new item -> low and behold there are 2 "MySite" hyperlink fields instead of just one.
I'm using a co... | common-pile/stackexchange_filtered |
Where is the varnish configuration file?
I have just installed varnish and its ready to serve web pages.
Problem is that we are hitting open files limit.
We have already set ulimit to varnish user.
We want to find a file where we can write this configuration:
# Maximum number of open files
NFILES=131072
# Locked sha... | common-pile/stackexchange_filtered |
Not able to change WordPress admin email. Someone added another admin credentials
I am having huge mess with my WordPress admin email where someone somehow added another admin user credentials and overwrite my admin email. screenshot attached below,
I tried to replace this email with a plugin but upon success when i r... | common-pile/stackexchange_filtered |
missing parenthesis error in javascript
I am using this function:
function sel_test(e) {
//alert(e.length-1);
var splitdata = e.split("d");
var newstr = e.substring(0,e.length-1);
dropcall = 1;
nodes = newstr.split(';');
o = 0;
if (nodes[0] == '1') o = nodes.shift();
for (i=0;i<nodes.length;i++) {
... | common-pile/stackexchange_filtered |
Oracle Sibling Structure
I have a structure that I store equal records in a database table. You can think that these records are siblings. For example I have two records in this table; 1=2 and 1=3. And I need a query that will return all siblings of a given record. Let me give an example;
This is my table with two colu... | common-pile/stackexchange_filtered |
Is it true that the CIA or the police has used mediums for remote viewing and clairvoyance while seeking missing persons?
This site claims that:
Modern examples of clairvoyance are well known among mediums. Remote Viewing and clairvoyance have been used by the CIA and by the police when seeking missing persons
Is thi... | common-pile/stackexchange_filtered |
Rediscovering an idea - tell or hide?
I discovered an idea independently. I searched previously and found no prior work. Today, I discovered prior work completely by accident. The field's in STEM, and I'm in US.
Can I still take full credit if I just say I discovered it independently? Or should I lie and say I've never... | common-pile/stackexchange_filtered |
Why isn't any value being pushed to the 'res' string?
Its a program to add two binary numbers stored in strings and storing the result in a string.
This is my code :
#include <iostream>
#include <string>
#include <stack>
using namespace std;
int main()
{
string a = "11", b = "1";
int i, j, carry = 0;
strin... | common-pile/stackexchange_filtered |
Can a tag be created for motorola moto 360?
I've made two questions related to the moto 360 but I do not have enough rep to create a tag. So if anyone could modify the question to add the tag would be great.
Question 1
Question 2
It looks like Shog9 took care of this, so you should be set now.
Status completed!
Sho... | common-pile/stackexchange_filtered |
Split file into multiple according to variable content
I want to split file according to it's content.
My dummy file looks like that:
info info info cat
info info info cow
info info info dog
info info info dinosaur
info info info bat
$4 words starts with different letters (C,D,... | common-pile/stackexchange_filtered |
parsing json from onClick event
In my app I have two views that parse json from my website and it works great. The last issue i have is where i am entering a number in an edit text box and attaching it to my URL to add the user to the database. That works but when that event is launched I want to parse that json. Right... | common-pile/stackexchange_filtered |
Communication among server application and Android app
I want to write an Android app that is able to communicate with an application on a server pc, using java sockets.
I have created few classes that implement the Serializable interface, in order to send them through socket as protocol.
The problem is that I have to ... | common-pile/stackexchange_filtered |
python int object not subscriptable
I've got the following code:
import random
random.seed(57)
c = {}
for key in l:
this is using two numbers from the value of dictionary -l- as a range for the random no
pos = random in range(l[1[0]], l[1[1]])
c["l[0]"] = pos
return c
When I run the doctest in CMD it tells m... | common-pile/stackexchange_filtered |
EF Core Update Foreign Key in Disconnected Scenario
I have a model class in my Blazor Server project as follows
public class TestModel
{
public Client Client { get; set; }
... other value types follow etc.
}
My Client class is defined as below:
public class Client
{
public string ClientID { get; set; }
... | common-pile/stackexchange_filtered |
geo nodes Start/Stop Attribute
Hello i want to make a geo node setup where we define a Start and End frame and get an attribute value which starts from 0 at start frame then stop at certain value let's say 10 and just a few frames before End frame start coming down from 10 to 0
i tried making this with simulation node... | common-pile/stackexchange_filtered |
xna zoom using mouse scroll wheel
How do i zoom using the mouse scroll wheel, i got try this
if (currentMouseState.ScrollWheelValue < originalMouseState.ScrollWheelValue)
{
cameraPosition += new Vector3(0, -1, 0);
UpdateViewMatrix();
currentMouseState.ScrollWheelValue... | common-pile/stackexchange_filtered |
Paypal OAuth login example doesn't work as expected
I'm following this interactive login example from Paypal's site.
public ActionResult PaypalResponse(string scope, string code)
{
Dictionary<string, string> configurationMap = new Dictionary<string, string>();
configurationMap.Add("mode", "sandbox... | common-pile/stackexchange_filtered |
Does sentry optimize duplicated breadcrumbs for different events?
I have a Java application with log4j2. IFAIK all the logs are considered to be breadcrumbs. Let's say maxBreadcrumbs=100, my application logged two errors in a row.
Will Sentry log4j2 appender send two separate events with 100 Breadcrumbs each? 99 of the... | common-pile/stackexchange_filtered |
Centering a form horizontally and vertically
I have looked for a solution to this for around half a day. I am just starting web design and I need to center a form horizontally and vertically. Right now it is in the top left-hand corner. Please do not mind the bad code I am going to tidy it up soon.
form {
dis... | common-pile/stackexchange_filtered |
How to correctly iterate over childs in slot and interact with them?
I want to create a component in Vue like the Ribbon component in Microsoft Office applications. (This: https://en.wikipedia.org/wiki/Ribbon_%28computing%29)
The usage of the component in templates should be like putting components in components.
Like ... | common-pile/stackexchange_filtered |
get content of an iframe in angular
I can display the result of a RSS in iframe, I would like to read the content.
But cannot figure out how to select the text in the iframe.
here is the plunker
http://plnkr.co/edit/ykLVns30qnRR6wx8lu8d?p=preview
selecting by tags like below will not work.
angular.element('#iframeID');... | common-pile/stackexchange_filtered |
How can I find out if my question is already answered on Stack Exchange Chemistry?
On the "How to ask good questions" help page, it says to search on the Stack Exchange Chemistry site to see if someone already has asked my question. It also says to mention related questions that did not fully answer my question to avo... | common-pile/stackexchange_filtered |
java programme trouble get next note in piano programme
i need some help with a project i am working on, i need to make a piano programme that store the keys pressed on a gui of a piano in an arraylist then when a play button is pressed i need it to play back the tune made. the code i have is here; any help would be ap... | common-pile/stackexchange_filtered |
Drupal menu items and blog entries disappeared for anonymous users
I've been struggling with a problem now for a few hour and I cannot find any answers or anyone with the same problem -
Some menu items are missing on my site www.namhost.com (Drupal 6.22) and when viewing the blog it shows "No blog entries have been cre... | common-pile/stackexchange_filtered |
Single line if statement in Swift
How would one convert the following to Swift from Objective-C?
if (myVar) return;
Swift does not use parentheses around the conditional, however the following code gives an error.
if myVar return
Unlike Objective C, braces are mandatory while using if statements in Swift. The reas... | common-pile/stackexchange_filtered |
How can I intercept and filter all frames coming out of SteamVR?
I'm trying to investigate the effect of certain image operations on how VR scenes are perceived. To do this, I'd like to run an off-the-shelf SteamVR application, capture the frames as they come out of the compositor, run a shader or compute kernel on the... | common-pile/stackexchange_filtered |
Override max page width when viewing websites in Opera
I would like to specify a fixed/maximal page width for some pages I frequently visit with Opera. Or maybe just an option I can activate that limits the maximum width for a certain tab.
Wikipedia is a good example of this as it always fits the content of entries to ... | common-pile/stackexchange_filtered |
How to convert multiple dataframe columns (of same type) into a single list or series
Suppose have pandas dataframe of the form
col0 col1 col2 col3
---------------------
a0 a1 a2 a3
b0 b1 None None
c0 c1 c2 c3
Would like to be able to get a list or pandas Series of some specified selection of these col... | common-pile/stackexchange_filtered |
Public Key VS Wallet Address - What is the difference?
I am seeing a lot of contradictory information on why we now use Wallet Addresses rather than Public Keys.
Some say that due to additional level of hashing (double hashing), Wallet addresses are harder to crack, making them virtually quantum computing resistant.
B... | common-pile/stackexchange_filtered |
Why is electron temperature above ambient/casing temperature in an LED?
Why is electron temperature above ambient/casing temperature in an LED? I seem to remember a system of electrons has massive energy even at absolute zero because of the Pauli exclusion principle forcing them to occupy higher energy levels. Does the... | common-pile/stackexchange_filtered |
Putting table name as a reference for the purpose of cell values validation
I want to validate cell values with the help of the simple list. But it turns out that it's difficult to extend this list without necessity of updating validation source range every time new value is added as shown on the picture.
My question... | common-pile/stackexchange_filtered |
Sum of i.i.d. random variables is a Markov process
Let $\{Y_j\}_1^\infty$ be i.i.d. real random variables on a common probability space.
$\forall n\in\mathbb{N}$, define $X_n = x_0 + \sum_{j=1}^nY_j$, where $x_0$ is a constant. Also define $X_0=x_0$.
Let $\mathcal{F}_n=\mathcal{F}_n^Y$ be the natural filtation of the... | common-pile/stackexchange_filtered |
Return multiple objects from an object in javascript map
I am trying to de-structure an array of object and create sub objects from it
I have an array an object like
const data = [
{
"id": 1,
"locationone": "California, United States",
"idtwo": 2,
"locationtwo": "... | common-pile/stackexchange_filtered |
Two Different ways to create custom elements in Polymer
I am new to Polymer. I have seen that there are two ways to create a custom element in Polymer(v2.0).
One is
<script>
Polymer({
is: 'custom-element',
properties: {...},
....
});
</script>
The other one is
<script>
class C... | common-pile/stackexchange_filtered |
SQL orders without a record with an item_category of 'b' or 'd'
This is a data quality query. I want to see if there are any orders without a record with an item_category of 'b' or 'd'.
An order consists of many records. It is fine to have records with other item categories as long as within the order there is at least... | common-pile/stackexchange_filtered |
FTP Server gives Error for uploading files with name of file in Chinese, Russian,Japanese text C#
I am facing an wiered error while uploading files to FTP server, The problem is only with files having file names in Russian,Chinese, Japanese, Portugese texts. On the other hand files with their file names in English text... | common-pile/stackexchange_filtered |
jQuery UI Dialog - Cannot see the closeText
I'm trying to make a simple Dialog - no title just the word 'Close' and the X in the top right hand corner. My text etc. will then go underneath.
However I fiddle with it I can't ever get the closeText attribute to display - I can see it in FireBug but it either doesn't appe... | common-pile/stackexchange_filtered |
What does the linux "mkdir bin lib lib/NAME test" command translate into in Windows?
I am working on a Ruby tutorial and it is having set up projects using the listed command.
It is not quite clear to me what they are exactly doing with that command.
Are they making a path bin/lib/lib/NAME/test? The '/' is throwing me... | common-pile/stackexchange_filtered |
Using C with assembly on windows
I am trying to compile and link a simple c and assembly program together.
The assembly program should simply return a value of 10 back to the c
program and the c program should output it to the screen.
I have two files 1) main.c
#include <stdio.h>
extern int my_asm();
int main(int argc... | common-pile/stackexchange_filtered |
Asymptotic formula of a definite double integral
Define for all $n\in\mathbb{N}$, a definite double integral, $$I_n= \int_{0}^{1}\int_{0}^{1}\left(\frac{x^2(1-x)y^2(1-y)}{1+x^2 y^2}\right)^n\frac{\cos((2n+1)\tan^{-1}(xy))}{\sqrt{1+x^2y^2}}\ dxdy$$
I need asymptotic formula of $I_n$ as $n\to\infty$
Firstly we see that... | common-pile/stackexchange_filtered |
Attomic Vector Error when calling nl@simdesign_lhs using nlrx package
I am attempting to use the nlrx package in R with hopes of integrating optimization to my netlogo model.
I have written the following code to test a simple run, however when executing the following line nl@simdesign <- simdesign_lhs(nl=nl), I get an ... | common-pile/stackexchange_filtered |
Random Forest has almost perfect training AUC compared to other models
I'm working on a 2-class classification problem with very unbalanced class size (95% vs. 5%). The overall data size is 500k+ and I did a 70%-30% train test split. So far I have tried the following models (all sklearn):
Logistic regression: train AU... | common-pile/stackexchange_filtered |
Can this cabinet piece be repaired?
I had damp and mold develop behind kitchen cabinets.
The mold penetrated all over a backboard and I got rid of it. Then there is this bottom surface. You can see it’s all gone black. The positioning suggests it’s part of the damp damage.
Is this mold or something else?
Is ther... | common-pile/stackexchange_filtered |
Getting the increment count based on the properties
I need to increase the count based on the property boolean which relies in two different objects or more
const response = {
address_details: {
is_completed: true
},
contact_details: {
home_details: {
is_done_and_verified: true
}
}
}
const ... | common-pile/stackexchange_filtered |
Cannot create an object of type 'AjaxControlToolkit.Sanitizer.SanitizerProvider'
I wanna use the HtmlEditorExtender from newest ajaxToolkit.
I have installed it and have configured it correctly in the web.config
<configSections>
<sectionGroup name="system.web">
<section name="sanitizer" requirePermission="fal... | common-pile/stackexchange_filtered |
Binary serial adder - VHDL
I'm trying to design a 32bit binary serial adder in VHDL, using a structural description. The adder should make use of a full adder and a d-latch. The way I see it is:
Full adder:
architecture Behavioral of FullAdder is
begin
s <= (x xor y) xor cin;
cout <= (x and y) or (y and cin) or (x and... | common-pile/stackexchange_filtered |
Efficient writing to a Compact Flash in python
I'm writing a gui to do perform a glorified 'dd'.
I could just subprocess to 'dd' but I thought I might as well use python's open()/read()/write() if I can as it'll let me display progress much more easily.
Prompted by this link here I have:
input = open('filename.img', 'r... | common-pile/stackexchange_filtered |
What are the castling & e.p. conventions, and how are they used?
Castling & en passant are often called "conditional moves". In the chess problem world, we frequently hear about the castling & e.p. conventions. What are these exactly, and how are they used? Particularly what does one do if there are multiple conditiona... | common-pile/stackexchange_filtered |
Sage quadratic regression -- numbers too large?
I am trying to do a (quadratic) regression using Sage and the largest point I have is of this order of magnitude: (xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx... | common-pile/stackexchange_filtered |
NSTextView Inserting character twice on handling textDidChange
I have intercepted the textDidChange event of an NSTextView in an effort to detect the beginning and end of an escaped statement. The trouble is it seems when I actually try to do anything the typed character is inserted twice.
For example
. becomes ..
{ ... | common-pile/stackexchange_filtered |
Infragistics Excel Import Loadoptions
there are two Errors came up on the Load-Method for loading Excel-Sheets through Infragistics Components.
First:
The specified stream or file does not contain a valid workbook.
Parametername: fileName
This ist because the Excel-Workbook is corrupt. But how can I load the Workbook... | common-pile/stackexchange_filtered |
Easiest way to delete rows with a column value matching value in separate file list?
I have two files, file1 is a csv with several hundred rows and 12 columns, file2 is a list with several hundred values.
What is the easiest way to compare each value from file1, col(0) to each value in file 2, then delete the file1 row... | common-pile/stackexchange_filtered |
Jquery datepicker is behind div
I have used this datepicker for quite awhile in this specific code.
I made some HTML changes and AJAX calls, and now when im clicking on the input field i dont see the datepicker. seems like it added it to the DOM, if I use Firebug i can see its in the right place but it is not visible (... | common-pile/stackexchange_filtered |
Only by using cons car cdr
How do I get elements from 2nd to 7th from a list, using only the following three functions:
cons
car
cdr
Example;
> (two-to-seven (list 8 9 5 1 0 3 6 2 4))
> (9 5 1 0 3 6)
Thanks.
Can you give an example of the output?
> (define (t2s xs)
(cons (car (cdr xs)) (cons (car (cdr (cdr xs)... | common-pile/stackexchange_filtered |
drupal gridview drop down menu - showing all menu and sub menus under one parent
I would like to show drop down menus in gridview format. ideally it should show all sub menus and sub sub menues under one parrent. any module which can service this purpose?
I think, the Megamenu module is more useful. Demo is here.
He... | common-pile/stackexchange_filtered |
How to keep class' members untouched if it contains a field with an annotation in proguard
How do I configure proguard/R8 to keep all the fields and methods of a class if the class contains an annotated field?
I have a class
public class MyDocument {
@DocumentId
private String foo;
private String bar;
public ... | common-pile/stackexchange_filtered |
Probability density function with large mu and sigma values?
I am using the following function :
pd=makedist('normal',mu,sigma);
y = pdf(pd,speed)
The size of mu and sigma is 50x1 and X size is 3000x1. passing one value of mu,sigma and speed at a time, I am getting the output. But how I can pass all these values at ... | common-pile/stackexchange_filtered |
Is not only gcc itself installation enough to build c language in my windows machine?
I'm not sure what the meaning of installing a compiler(say, gcc) is.
I have an windows machine and will install cygwin.
cygwin has many packages and i installed gcc-related-packages.
But wait, gcc is just a compiler and is not includi... | common-pile/stackexchange_filtered |
Makefile share a target by overriding build variable
I have a makefile, a part of which which looks like this:
.PHONY: all
all: master dispatcher
.PHONY: master
master: BUILDTARGET=master
master: buildbin ## Builds master
.PHONY: dispatcher
dispatcher: BUILDTARGET=dispatcher
dispatcher: buildbin ## Builds dispa... | common-pile/stackexchange_filtered |
SwapExactTokensForTokensSupportingFeeOnTransferTokens gives error in smart contract
I would like to call SwapExactTokensForTokensSupportingFeeOnTransferTokens in my contract to swap tokens with a transfer fee, however, the transaction reverts with an error. I have enough balance in the contract when calling the functio... | common-pile/stackexchange_filtered |
If string meets a pattern then edit R
I have a large list of data. I want to edit it according to some pattern recognition.
For example:
if I have a letter then I want to print that letter and some additional characters after.
If I have some numbers I want to print the numbers and some additional characters after.
If ... | common-pile/stackexchange_filtered |
Are there any hooks that alter the 404 logic?
Provided you have a 404 page defined in your theme, Wordpress will display a 404 page if "tag" is defined in $wp_query->query_vars, and there are no posts matching that tag.
I'm writing a plugin that displays some information on each page, in addition to posts. I'd like to ... | common-pile/stackexchange_filtered |
Is there a name for a person who has 2-3 citizenships?
Is there a name for a person who has 2 or 3 citizenships?
It should be an adjective or noun that can describe this person.
By intuition, I guess that if there is, for the one who has 2 citizenships the name should start with the prefix "bi-…", while for the one ... | common-pile/stackexchange_filtered |
How to get the first element value of the splitted array
How to get the first element value of the splitted array
var supplierpofileselection = $("[id$='_SelectedTabIdsHiddenField']").val();
var arr = supplierpofileselection.split(';');
var arrfirst = arr.first();
alert (arrfirst);
List is random.
You need to use ind... | common-pile/stackexchange_filtered |
Jar Within a jar Classloading and method execution
I have some minor issue with class loading. I have a jar say abc.jar and under that jar there is another jar called libs/cde.jar. I had written a a class in that jar that used the cde.jar. I packaged the abc.jar correct and inspected that the dependent jar was correctl... | common-pile/stackexchange_filtered |
Finding the longest path between two nodes in a bidirectional unweighted graph
I'm looking for an algorithm to find the longest path between two nodes in a bidirectional, unweighted, cyclic graph.
The path must not have repeated vertices (otherwise the path would be infinite of course).
Would someone point me a to a go... | common-pile/stackexchange_filtered |
Showing that a sequence is Cauchy w.r.t. $d(x, y) = \left|e^{x} - e^{y}\right|$
I am trying to demonstrate that a metric space $X$ is not complete with the metric $d(x, y) = \left|e^x - e^y\right|$. To this end I am first trying to show that a sequence $x_n = \frac{1}{n}$ is Cauchy w.r.t. the said metric. My current me... | common-pile/stackexchange_filtered |
Custom form not taking over as default
I am on SharePoint 2010 and when I edit a form for a custom list on the site (from the Edit Form button under the list pane) I can edit the form and publish it but it does not take over as the default form for that list type. The form can be viewed under Form Web parts and appears... | common-pile/stackexchange_filtered |
Cantor's diagonal argument and ZF
Cantor's diagonalization construction, on a certain view, furnishes functions
$$d_X:{\rm Injections}(X,P(X))\rightarrow P(X)$$
that satisfy $\forall X\forall i\ \ d_X(i)\not\in i(X)$
In ZF, can one prove the existence of such functions with the added requirement
that $d_X(i)$ actual... | common-pile/stackexchange_filtered |
Why doesn't youtube have a Download button?
Youtube has all the buttons viz Upload, Browse, Subscribe, etc. but it doesn't come with an inbuilt 'Download' button. Viewers have to use third party software to download the videos from Youtube. I wonder why.
Clearly, they do not want (to make it easy for) users to downloa... | common-pile/stackexchange_filtered |
MYSQL Multiple Column SUM
I have this query below:
SELECT a.`reg_no`, b.`personnel_name`,
SUM(IF(month(a.`start_time`) = 1, ROUND(a.`act_hours`),0)) as 'Jan',
SUM(IF(month(a.`start_time`) = 2, ROUND(a.`act_hours`),0)) as 'Feb',
SUM(IF(month(a.`start_time`) = 3, ROUND(a.`act_hours`),0)) as 'Mar',
SUM(IF(month(a... | common-pile/stackexchange_filtered |
spring cloud stream app image-viewer for kafka not found
I was trying to implement the example given in the blog (found here) for real time object detection using spring cloud data flow but could not download / find the image-viewer sink app as mentioned in the blog which super imposes the image with object detection d... | common-pile/stackexchange_filtered |
Composer/Laravel: Not update specific folder inside vendor
I have installed laravel latest version ..In my application i have used barryvdh/laravel-dompdf package. And i made some font changes in the pdf packages..
Now my problem is while giving composer update this "barryvdh/laravel-dompdf" do not get update ..It shou... | common-pile/stackexchange_filtered |
3D Convolution with Intel MKL
I have written a C/C++ code which uses Intel MKL to compute the 3D convolution of an array which has about 300×200×200 elements. I want to apply a kernel which is either 3×3×3 or 5×5×5. Both the 3D input array and the kernel have real values.
This 3D array is stored as a 1D array of type ... | common-pile/stackexchange_filtered |
Quick way to create an "optionalized" type from another type?
If I have this type Thing:
type Thing = {
prop1: string,
prop2: number,
// etc
}
is there a quick way to create OptionalThing?
type OptionalThing = {
prop1?: string,
prop2?: number,
// etc?
}
I'd use this, say, for utility functions to create ... | common-pile/stackexchange_filtered |
Access Google Sheet with service account in Java
I am currently working on an app that connects with google sheets through OAuth client Id, I was wondering if there's a way to do same thing using service account ?
If you are a Google Workspace administrator then yes, you will be able to use domain wide delegation in o... | common-pile/stackexchange_filtered |
Datatables page loading issue
I am using datatables v1.10.11 and Jquery v 2.2.0
One of the features of datatables allows for the 'hiding' of columns using the following columns.visible API option.
<script type = "text/javascript">
$(document).ready(function() {
//Hide the first column with columnDefs:
$('#ex... | common-pile/stackexchange_filtered |
How to skip to next line in an ofstream object in c++
I'm trying to make a hash program that makes hashes for you. I know it's been done before but I'm trying to recreate it. The problem I'm having is that I'm trying to add logs for each hash and output it to a "DataLog.txt" file. So far it's going Great! The only prob... | common-pile/stackexchange_filtered |
How to parse JSON in Java
I have the following JSON text. How can I parse it to get the values of pageName, pagePic, post_id, etc.?
{
"pageInfo": {
"pageName": "abc",
"pagePic": "http://example.com/content.jpg"
},
"posts": [
{
"post_id": "123456789012_123456789012",
"actor_id": "1234567890... | common-pile/stackexchange_filtered |
RAID Controller Compatibility HP ProLiant DL360 G5/6 for DL380 G5
I'm sorry if this question is kind of stupid, but I wonder...
Is it possible to use the RAID Controller from a DL360 G5/G6 for a DL380 G5?
You see, we have several decommissioned DL360 G5/G6 lying around, and one DL380 G5. The DL380 we want to repurpose... | common-pile/stackexchange_filtered |
Save the customised completion
I would like to save my customised completion (user> customise completion) so that every time I close and re-open texmaker, I don't have to redefine it. How can I do that ?
Thanks in advance,
The user completion entries are automatically saved in the texmaker.ini file when Texmaker is ... | common-pile/stackexchange_filtered |
PHPFox Form Labels
I have been studying phpfox, particularly the registration form. I am trying to remove the labels and add a placeholder within the input field. However, I have not been able to remove the labels. Editing the files within template/default/block/register/* seem to have no effect either.
Would someone b... | common-pile/stackexchange_filtered |
Spring Boot add property to new thread from Main on creation
I have a spring boot webapp that receives a http request. I the make a number of further http calls in parallel on separate threads.
This is working fine, and I've implemented a custom Executor to configure my thread pool.
However, I have a property in the ma... | common-pile/stackexchange_filtered |
Configuration of the Windows Explorer Layout keyboard shortcuts
Configuration of the Windows Explorer Layout keyboard shortcuts
How can you control the keyboard shortcuts for the Explorer Layout?
On my old PC, the shortcuts were of the format ... Ctrl + Alt + number, e.g. Ctrl + Alt + 5 changes the Layout to "List", Ct... | common-pile/stackexchange_filtered |
gdal_translate grib2 to xyz producing unexpected lat/lon centroid
I am finding unexpected lat/lon values in an output CSV file after converting grib2 to XYZ in gdal_translate. The grib2 file can be found here on Google Drive in case anyone wants to look at the data.
I am using gdal_translate to output a CSV file using ... | common-pile/stackexchange_filtered |
Anacron fails to open folder cron.daily / cron.weekly
Recently I switched from user-specific anacrontab ( using -t ) to the global-one. Now each day anacron drops me a message (email to root) that it failed to open the cron.daily folder:
Subject: Anacron job 'cron.daily' on myComputer
Message: run-parts: failed to open... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.