text
stringlengths
70
452k
dataset
stringclasses
2 values
Best Practice: DataBound with loop vs RowDataBound If you want to perform an operation on every row of a GridView, you typically would use RowDataBound. But alternatively you could also use DataBound and loop through every row there. Other than saving the foreach line of code in RowDataBound, is there any advantage/dis...
common-pile/stackexchange_filtered
NSPersistentCloudKitContainer migration with custom NSEntityMigrationPolicy Recently, I have made quite extensive changes to my schema and need to migrate my CoreData + CloudKit model to a new version. The changes require me to use a custom NSEntityMigrationPolicy because I have a rather complex mapping between some ol...
common-pile/stackexchange_filtered
How can I upload a PDF file into database using online database using php I followed a tutorial and the code below is for inserting images in database. I want to upload a PDF file instead of an image. With the code I don't know what to change in order to insert a PDF file into database. I found another tutorial with lo...
common-pile/stackexchange_filtered
Android app with multiple windows I am writing a android app with multiple windows (screens). While reading tutorials I see them suggesting to use one Activity per screen. It there a alternative where i can use only one Activity but different layouts (xml files)? Do I have to use one Activity (one xml per activity) whe...
common-pile/stackexchange_filtered
Why not differentiate vector fields with the smooth structure of the tangent bundle? I've been studying the covariant derivative recently and ran into a couple issues with its introduction and motivation. Specifically, right now I am curious as to why we cannot simply differentiate vector fields using the smooth struct...
common-pile/stackexchange_filtered
visual studio attach to process not working I am trying to debug my production website using the code on my local system. I am using VS2010, and tried all sorts of things still didn't work. I tried using VS Development Server, and tried using IIS still didn't work. When I attach the process debugger starts but break po...
common-pile/stackexchange_filtered
Sony Vaio - Black Screen on Debian Install I have a Sony Vaio VGN-C2S laptop. It currently has Windows 7 installed on it, but I would like to install Debian. I downloaded the Debian 8 CD 1 image, burned it onto a CD, installed a new, blank hard drive in my computer (I need to keep my Windows documents / files for the m...
common-pile/stackexchange_filtered
Difference between jsforce bulk api options I'm using jsforce to access salesforce using the bulk api. It has two ways of updating and deleting records. One is using the normal bulk api which means creating a job and batches: var job = conn.bulk.createJob("Account", "delete"); var batch = job.createBatch(); var account...
common-pile/stackexchange_filtered
Black voodoo of NumPy Einsum I got some working code using einsum function. But as einsum is currently still like black voodoo for me. I was wondering, what this code actually is doing and if it can be somehow optimized using np.dot My data looks likes this n, p, q = 40000, 8, 4 a = np.random.rand(n, p, q) b = np.rando...
common-pile/stackexchange_filtered
What exactly were the formal charges against Paul? Acts 25:27 For I [Festus] think it is unreasonable to send a prisoner on to Rome without specifying the charges against him [Paul]." What was the nature of these charges? Religious? Seditious? The charges must have been serious enough for Festus to send the prisoner ...
common-pile/stackexchange_filtered
Is there a way to read in files with a path that's relative to the repo and not contingent on where that file is saved on your computer? I know this seems like such an obvious question but I haven't been able to find the answer to it anywhere. Whenever I'm reading in a CSV file (or any other type of file), I always nee...
common-pile/stackexchange_filtered
how to fetch data from mongodb and display it in a table using node js? I'm having trouble figuring out how can I retrieve data in mongodb and fetch it in an html/ejs file. in html/ejs file there is one button where if the user click it, it will display all data in database collection mongodb. I found some questions si...
common-pile/stackexchange_filtered
SFTP Multiple Async Downloads using Tamir.Sharpssh I am working on a tool to download files from SFTP, 2 at a time. I am using Tamir.Sharpssh to connect to the SFTP, and I thought it would be do-able by using async and await. When I run the program, it finishes with no errors but I am not seeing any files downloaded. B...
common-pile/stackexchange_filtered
Adobe Analytics 2.0 API endpoint to get report suite events, props, and evars I'm having a hard time finding a way in the 2.0 API that I can get a list of Evars, Props and Events for a given report suite. The 1.4 version has the reportSuite.getEvents() endpoint and similar for Evars and Props. Please let me know if th...
common-pile/stackexchange_filtered
Prove:$|x-1|+|x-2|+|x-3|+\cdots+|x-n|\geq n-1$ Prove:$|x-1|+|x-2|+|x-3|+\cdots+|x-n|\geq n-1$ example1: $|x-1|+|x-2|\geq 1$ my solution:(substitution) $x-1=t,x-2=t-1,|t|+|t-1|\geq 1,|t-1|\geq 1-|t|,$ square, $t^2-2t+1\geq 1-2|t|+t^2,\text{Since} -t\leq -|t|,$ so proved. question1 : Is my proof right? Alternatives? on...
common-pile/stackexchange_filtered
.NET Oracle SQL Command not executing I have a function that yanks a CLOB column from an Oracle DB that stores rtf strings. public static string GetRTFNoteParsed(string limsNoteNum, string radioEnv) { var rtfNote = ""; string oradb = GetDBconfig(radioEnv); OracleConnection conn = new OracleConnection(oradb)...
common-pile/stackexchange_filtered
Why is there no Java compiler on Android? I'm not an Android developer but I do other stuff. I just rooted my phone so I was playing around with a shell and I was trying to compile some C packages and realized there is no C compiler, OK. Surely there must be Java right? Tried it and I can't get a java or javac command ...
common-pile/stackexchange_filtered
Spy using chai on exported function I have this situation: user.js: var a = function() { function b() { return 5 } } module.exports = a How can I spy the function b()? In my test.js file I have something like this: let us = require('../user) chai.spy.on(us, 'b', returns => 3); But this doesn't work....
common-pile/stackexchange_filtered
Role name in association relationship From the UML bible, about role: Role: A role name explains how an object participates in the relationship. Each object needs to hold a reference to the associated object or objects. The reference is held in an attribute value within the object. When there is only one associatio...
common-pile/stackexchange_filtered
How to display large table in twig with symfony? I have an entity with 3,000 records, and when I render my index.html.twig that information takes about 35 seconds to display the datatable. My question here is, how can I perform the rendering of the table? I have looked around but no luck! Please help me. Thanks, Contr...
common-pile/stackexchange_filtered
Words for "to encourage": alentar, animar, fomentar In English, "to encourage" seems to have at least two uses: to suggest that someone should do something (e.g. "He encouraged me to find a new guitar teacher.") to give confidence or hope to someone (e.g. "In a rough time of life, he was always there to encourage me w...
common-pile/stackexchange_filtered
Booting process takes too long if I let usb drive pluged I have a new PC (Intel NUC) since 3 months. I have installed Ubuntu 18/04 LTS. boot time used to be short (20 seconds) but since 15 days (approx) boot time takes 3 to 4 minutes. I have noticed that this happened when my USB is plugged. But since the beginning my...
common-pile/stackexchange_filtered
What army do I need to attack a Wilderness in Dragons of Atlantis? I decided to be sensible and scout a level 9 Wilderness before attacking it and found out it had at least 5000 Stenches: What size of army from my side would I need to defeat them and how can I estimate what army I'll be up against in the future? Any s...
common-pile/stackexchange_filtered
Assertion failure when deleting array I'm using following code: int main () { wchar_t *serial = new wchar_t[1]; wchar_t *user = new wchar_t[1]; size_t strLen; do { wprintf (L"Username (between 4 and 30 characters): "); wscanf (L"%ls", user); } while ((strLen = wcslen (user)) < 4 || ...
common-pile/stackexchange_filtered
Causality: Models, Reasoning, and Inference: Notation Question Concerning Graphoids $\newcommand{\ci}{\!\perp\!\!\!\perp\!}$On page 11 of the book in the title, Pearl introduces the Dawid notation for conditional independence: $(X\ci Y|Z)_P$ if and only if $P(x|y,z)=P(x|z)$ for all values $x,y,z$ such that $P(y,z)>0.$ ...
common-pile/stackexchange_filtered
Can I submit form on timeout even if required fields are not filled I was wondering if it is possible to submit a form after a certain period of time (e.g. 2 minutes) even if not all the required fields are filled out, as I would like all the data entered by that fixed period of time to be submitted. Currently, althoug...
common-pile/stackexchange_filtered
Python requests and JavaScript I'm trying to login to a German bank account to get account statements automatically. I am doing this with Kenneth Reitz' excellent requests library. I can do GET and POST requests. Everything works fine. But if I try to login (via POST request) the site says it wants JavaScript turned on...
common-pile/stackexchange_filtered
interactive large plot with vaex I am using python 3.8 on Windows 10; trying to make a plot with about 700M points in it, sound wave analysis. Here: Interactive large plot with ~20 million sample points and gigabytes of data Vaex was highly recommended. I am trying to use examples from the Vaex tutorial but the graph d...
common-pile/stackexchange_filtered
Fill every other row based on a non-empty cell? The first column in my spreadsheet comprises empty and non-empty cells. I'd like to take the first non-empty cell AND the immediate empty cells underneath it and fill their rows white. I then want to take the next non-empty cell and the immediate empty cells underneath it...
common-pile/stackexchange_filtered
Is it true that the Bennington College endowment is low because they declined donations to maintain academic independence? Some (possibly dubious) college Q&A web sites (e.g. this one) make the claim that Bennington has a paltry endowment of $3.5 million, the result of a historical philosophy - now recognized by its o...
common-pile/stackexchange_filtered
how does temperature influence spray paint usage? I've got 3 pieces of plywood, all 120x30x1 cm, that I want to spray paint matte black. Ideally, I will be doing this outside next weekend. The weather should be a high of around 10C, partly cloudy, bit of a breeze. Will working at around 5C ambient influence my spray pa...
common-pile/stackexchange_filtered
Comparing two functions with same trend Let $f$ and $g$ are two given functions with same trend. What I mean by same trend is following: $$\forall x_1, x_2 \quad f(x_1) \leq f(x_2) \implies g(x_1) \leq g(x_2)$$ essentially, the above equation says that if $x_1$ and $x_2$ are two points such that $f(x_2)$ is greater tha...
common-pile/stackexchange_filtered
Is V's lair based in a real place? When Evey wakes up in V's home, he tells her she has to stay with him because otherwise she could give away the location of his lair. She counters that she has no idea where they are, and he says the following: You know it's underground. You know the color of the stone. That would be...
common-pile/stackexchange_filtered
Can artists file for plagiarism if their art is used in AI models to make AI art, given that there is proof they're the authors of their work? (I am an IT student writing a report proposing using blockchain technology to attribute "art" files, used in AI models, to their authors. I know next to nothing about copyright ...
common-pile/stackexchange_filtered
Auto Synchronization of Entity Bean Could you please solve my tiny problem. I have an entity bean name ABC which is created from database and table name in abc. The entity bean is generated properly through tools that I have used but now what happened I have added few more column to t...
common-pile/stackexchange_filtered
Grabbing a specific url from a webpage with re and requests import requests, re r = requests.get('example.com') p = re.compile('\d') print(p.match(str(r.text))) This always prints None, even though r.text definitely contains numbers, but print(p.match('12345')) works. What do I need to do to r.text to make it readab...
common-pile/stackexchange_filtered
What's the shortcut to go to a class' method in Eclipse on a Mac? Say I have this class, with a simple method. public class Constant { ... public static int onePlusOne() { return 2; } ... } Then in another class, I do the following: public class Calculator { ... public int calculate() ...
common-pile/stackexchange_filtered
Invalid Command for o365 spo login CLI I am setting Azure DevOps pipleline for my SharePoint framework project and followed below steps, https://social.technet.microsoft.com/wiki/contents/articles/52777.sharepoint-framework-how-to-implement-cicd.aspx?Sort=MostUseful&PageIndex=1 Everything was working and all of a sudde...
common-pile/stackexchange_filtered
Need formula to determine # of membership visits remaining based on past check-ins I need an excel formula to give me X. X = # of remaining visits. For example, membership level includes 8 visits a month. When the user has 2 visits left, I want to send them an email. Data I'm collecting includes dates of previous check...
common-pile/stackexchange_filtered
Can this be automated Black screen during software installation? During certain software installation, windows display screen can go black or flickers black screen but installation succeeds; to check black screen during installation came up with the following, does this look correct or can this be improved? import time...
common-pile/stackexchange_filtered
nginx with nginx communication using http2 without ssl I've nginx-proxy and nginx-server docker containers. client browser < > nginx-proxy is http2 and 443 via proxy_pass. nginx-proxy < > nginx-server is http1 and I'd like to move it to http2 but without SSL - since they are both on same server, I don't see benefit of ...
common-pile/stackexchange_filtered
Starting TortoiseMerge with Console I want to see what changes were made in a resvision compared to the previous one. At the moment I am doing it by opening my local Repo and selecting show log. There I click the option "Compare with previous revision" and it starts TortoiseMerge with the correct files. For example: I ...
common-pile/stackexchange_filtered
Differentiability in the hyperbolic plane i have this question: Let $\mathbb{H}^2$ be the hyperbolic plane and $u:\mathbb{H}^2\rightarrow \mathbb{R}$ be a function. I would like to understand (the definition or an explanation) what does it mean?: "$u$ is differentiable almost everywhere with respect to the Borel meas...
common-pile/stackexchange_filtered
Effect size in LaTeX I want to make this symbol (specifically the ' after the c) but I cannot find it: In math mode, a ' places a superscripted prime on the variable. Likewise, ^prime will do so, as well. Welcome to the site. So, $H_0:c'3=0$ would be recommended. If eliminating the space about the colon were impor...
common-pile/stackexchange_filtered
Apex replay debugger cannot replay debug log from Browser application I try using Apex Replay Debugger. I have successfully setup them all. With a log that's generated from Apex unit test, I can debug it in VS code. I can use breakpoints to pause the replaying. However, when I do somethings on my org via browser, captu...
common-pile/stackexchange_filtered
How can I switch a running website to PWA Is there a way to switch a running website to PWA (without reloading the website)? This option is available on my browsers. For example, on Chrome: Now I was wondering if there was a way for me to do this programmatically? Thanks is your website written as a PWA? you can't ju...
common-pile/stackexchange_filtered
Datastore Remote API Through Local Application I'm basically just trying to access the Remote API of an app I threw up onto the datastore. I can access it just fine through the shell but can't within a local application script. I've tried this: from google.appengine.ext.remote_api import remote_api_stub import getpass ...
common-pile/stackexchange_filtered
Babel: "The keyword 'await' is reserved (53:24)" We're using async/await for our Meteor project. This syntax is everywhere in our resolvers.js. Everything has been working fine until we've upgraded to Node 6.7. Now it shows this error every time we try to build it: "The keyword 'await' is reserved (53:24)" Does anyon...
common-pile/stackexchange_filtered
Datepicker problem using tabs (Tabwidget) The datepicker runs without problem. But if the datepicker is under tabwidget, it failed. Anyone has experience on that ??? and how to solve it ?? public class TestActivity extends Activity implements OnClickListener{ @Override public void onCreate(Bundle savedInstance...
common-pile/stackexchange_filtered
XDocument.save() doesn't work I'm using visual studio 2015 to make a application for windows desktop. I try to open insert an element and save the document but when I use the fonction .Save(), it doesn't save the file here is my code String filePath = "person.xml"; if (File.Exists(filePath)) { XDocument collection...
common-pile/stackexchange_filtered
Special characters decoded in my textarea (using an edit in place jQuery plugin) I'm trying tu use Jeditable to edit inline some content put in textareas. So, I call the script files: <script src="js/jquery.jeditable.js"></script> <script src="js/jquery.jeditable.autogrow.js"></script> <script src="js/jquery.autogrow.j...
common-pile/stackexchange_filtered
multiple select query for the same tables with union Using below query i want to find out the top number of students from each catagory(SC,ST,OBC,etc) on plus2percentage basis. eg i want top 3 students from SC catagory, top 2 from ST and Top3 from OBC. But i also want the top 5 from the open catagory, which include all...
common-pile/stackexchange_filtered
Access video.js runtime properties in safari I am trying to print runtime properties of Video.js player in safari but hlsproperty is not coming. I am getting error saying hls is not defined. player.html <body> <script src="http://vjs.zencdn.net/5.6.0/video.js"></script> <script src="videojs.hls.min.js"></scrip...
common-pile/stackexchange_filtered
Drop shadow in ios How to drop an object shadow in iOS? My object is UIImageView and i want to drop an elliptical shadow.Please refer image for reference. Why not using another image with almost transparent black ellipse? Your object? How object oriented of you. What have you tried so far? @Leo Natan Red rectangle...
common-pile/stackexchange_filtered
Ubuntu 18.04 USB 3 flash being seen as a USB 2 my system doesn't seem to recognize my USB 3.0 flash. It instead claims to be a 2.0. Any help would be appreciated! My usb flash is Kingston 16GB DataTraveler Micro 3.1 I have ubuntu 18.04.02 LTS with Kernel 5.0.10-050010-generic. I added iommu=soft to GRUB_CMDLINE_LINUX_D...
common-pile/stackexchange_filtered
What are the rationale of people speaking/teaching Esperanto? According to Wikipedia, Esperanto's goal was: to create an easy-to-learn and politically neutral language that would foster peace and international understanding between people with different regional and/or national languages.) How would a new languag...
common-pile/stackexchange_filtered
Authorization Failed for Deployed Chatbot I am having difficulty with a chatbot that I developed which works fine locally but after it was deployed to dev.botframework.com it does not appear to work. My code is below and it breaks at the line... await Conversation.SendAsync(activity, () => new MyBot.AppServices.Servi...
common-pile/stackexchange_filtered
Given multiple columns, insert a value at a particular position in Excel Previously, I thought reducing my original problem to a simpler one would help, and thus I asked this question: Given two columns, Insert a value at a specific position in excel Turns out, my original problem is still unsolved. So here is the situ...
common-pile/stackexchange_filtered
vb.net Sort 2 Column in datagridview in ascending i am already aware about how to sort the datagridview but only in one column. DataGridView1.Sort(DataGridView1.Columns(0), System.ComponentModel.ListSortDirection.Ascending) let say i have this two column of score and time first score = 50 and time = 0:2:500(...
common-pile/stackexchange_filtered
Would a function (with no arguments) calling itself indefinitely cause a memory error in JavaScript? Consider the following block of pseudo-code: async function someFunction(){ if (condition is met){ ... ... ... someFunction(); } else{ ... ... ... ...
common-pile/stackexchange_filtered
ASP.NET: variable that can be accessed by entire site I am new to ASP .NET, I am trying to setup a website in Visual Studio with C#. My background is in PHP. In that language, if I want a variable to be accessible by every page, simply put it in a include file. Is there anything similar to C# and ASP .NET? There is...
common-pile/stackexchange_filtered
An algebraic version of the implicit function theorem for integers $ \def \x {\boldsymbol x} \def \a {\boldsymbol a} \def \Z {\mathbb Z} $ The famous version of the implicit function theorem (IFT) starts with the assumption of continuous differentiability on the conditions and ends with claiming the same for the soluti...
common-pile/stackexchange_filtered
Can't find uninitialised value (valgrind) So I'm making a queue list and I'm trying to get rid of memory leaks and uninitialised values. But when running with valgrind I keep getting Conditional jump or move depends on uninitialised value(s). I tried to debug the code and find the error but I can't. Here is the code I'...
common-pile/stackexchange_filtered
How to stop ActiveMQ 's 'Queue' to stop receiving messages Is it possible to stop a specific Queue of ActiveMQ after it has consumed say 100 messages for 5sec and after 5sec again it will restart and start receiving messages ? ActiveMQ has some flow control but mostly on memory constraints. Try using some router softw...
common-pile/stackexchange_filtered
Difference between Svelte REPL and local output TL;DR: Online REPL (Svelte 1.9.1) works, but local is broken. The question: what am I doing wrong, locally? The following code works in this REPL: {{grades}}<br> {{#each guesses as guess, i}} {{#each guess as slot}} {{slot}} {{/each}} = ...
common-pile/stackexchange_filtered
Moodle Dates When User Completed Course I am trying to get the dates for when a user has last completed the course, I have the following working SQL but its giving the wrong dates. I have dates for all modules, but know they are wrong as there a couple of months old, and I know 1 course was completed yesterday. SELECT ...
common-pile/stackexchange_filtered
how to store image in database using laravel 5.3 by passing data with ajax in controller? I've create one form which is given below html code: <form method="post" class="inline" id="upload_form" enctype="multipart/form-data"> <input style="margin-top:0px;" type="file" name="data1" id="file1" class="btn btn-blo...
common-pile/stackexchange_filtered
Transposing complex DataFrame in Pandas/Python I have a pandas DataFrame composed of a list of objects and then 4 lists of 12 values for each object. It has the general form: I would like to transpose the dataframe and have hierarchical indices ('Name', 'names of 4 lists'). The general form of this would look like I ...
common-pile/stackexchange_filtered
What's the probability of measuring outcomes give measurement observable $M$ and state $\rho$ when $\mathrm{Tr}\!\:(\!\!\;M\rho)$ is a complex value? I'm studying the measurement in quantum computation. It's known that the trace is related to the expectation value and the probability of getting certain outcomes. Howeve...
common-pile/stackexchange_filtered
Show that limit of sequence exists with the help of subsequence. Let $(x_n)^\infty_{n=1}$ be a sequence of real numbers. Suppose that there is a real number $L$ such that $$L=\lim_{n\to\infty}x_{3n-1}=\lim_{n\to\infty}x_{3n+1}=\lim_{n\to\infty}x_{3n}$$ Show that $\lim_{n\to\infty}x_n$ exists and equals to $L$. I dont ...
common-pile/stackexchange_filtered
Symbol timing recovery: Polyphase vs piecewise linear interpolation A symbol timing recovery scheme shown below has been successfully implemented in C++. Different TEDs (Mueller & Mueller, Early-Late, Maximum Likelihood, Gardner, Zero-Crossing, etc) are included in the implementation. I use a cubic interpolator I found...
common-pile/stackexchange_filtered
Powershell copying specific files from source directory, excluding several folders, but then recursive with wildcard for files Here is my current script and it works fine. Not efficient running same code twice but I don't know how to combine the wildcards... anyway on to the bigger issue. The below code searches throug...
common-pile/stackexchange_filtered
Inverse Gamma Distribution with Newton's method I want to generate Gamma random variables using the inverse transform method. For this purpose I want to derive the inverse of the CDF of Gamma using the Newton's method. This method may be not so efficient. But can anyone help with finding some references? or explain it ...
common-pile/stackexchange_filtered
How to implement the concept of cellular automata in python I am fairly new at python (and programming in general, just started 2 months ago). I have been tasked with creating a program that takes a users starting string (i.e. "11001100") and prints each generation based off a set of rules. It then stops when it repeat...
common-pile/stackexchange_filtered
How can I solve the post installation error for gatsby in windows? I am using Windows operating system and I installed gatsby cli by using the following command: npm i -g gatsby-cli After installation, I tried running the following command in order to start with new project in gatsby gatsby new gatsbyBootcamp https://g...
common-pile/stackexchange_filtered
Error on creating new Cordova2.2/android/phonegap project via cmd Hi I'm trying my best to setup phonegap/cordova 2.2 and get the following error when running "create" C:\cordova-2.2.0\incubator-cordova-android\bin>create Missing one of the following: JDK: http://java.oracle.com Android SDK: http://developer.android.co...
common-pile/stackexchange_filtered
Android Amazon S3 Uploading Crash I'm trying to figure out what is the cause of this crash when uploading on Amazon S3 bucket. Log is: Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.amazonaws.mobileconnectors.s3.transferutility.TransferService$NetworkInfoReceiver.isNetwo...
common-pile/stackexchange_filtered
How to request data from Firestore defensively with Flutter Since Firestore is a NoSQL database and has no strict type rules and defined document structures, I think about handling corrupt data in my Flutter app. In case you wonder why I want to request defensively, even when it is no third-party API -> I can think of ...
common-pile/stackexchange_filtered
RestSharp & Framework configuration in SSIS So I started with VS2017, SQL 2017. Created a script task which by default is .Net 4.5, and installed RestSharp. Error.RestSharp needs 4.5.2, so I changed my framework in VSTA and hey-presto, everything installed, built and saved. Now, close VSTA, close the script task, then...
common-pile/stackexchange_filtered
NavigationDrawer hint animation (like Google Currents) I am looking for a way to give the users a hint that the navigation drawer exists. I like the way that Google Currents hints that there is a next page, it just slides in the next page a few pixels and then removes it. What is the best way to accomplish such an ani...
common-pile/stackexchange_filtered
How to populate object property with value generated by Mysql Trigger in MyBatis Insert I can't get the value back from function. It does an insert on a table and must return a number. The data is insert correctly, but the number returned is always null. Mysql create table driver_order ( id int(11) unsigned NOT NULL ...
common-pile/stackexchange_filtered
Does Microsoft IoT Central send data through an Azure IoT Hub...? I am just reading up on the new IoT Central, currently in preview. Our customers seldom let their devices connect to cloud by themselves, but are rather connected to some kind of management system that in turn connects to Azure. We however consider using...
common-pile/stackexchange_filtered
How I can set text to canvas circle I used this question and I create shape like this and but now I don't know how I can set text to each circle in just first time click? (like tic tac toe) In the answer you got here, just replace the alert(); part with context.fillText("text",x,y); where the x and y are the coordin...
common-pile/stackexchange_filtered
error MSB6006: "codesign" exited with code 1 while build on appcenter I am using xamarin forms for application development. I am using appcenter for taking build for iOS and android also. When i am trying to take build on iOS, i am getting the following error on appcenter: /Library/Frameworks/Mono.framework/External/xb...
common-pile/stackexchange_filtered
What does putting multiple col-size-# in a class do in bootstrap? For example, what would: <div class="row"> <div class="col-xs-12 col-xs-10"> </div> </div> ...do? How would that be different from: <div class="row"> <div class="col-xs-12"> </div> </div> That isn't the intended usage. The xs prefix st...
common-pile/stackexchange_filtered
How to correctly set a target for a time series based model? I need help determining the best way to go about creating the target variable for a machine learning model that is trading a financial instrument (stocks, foreign currencies, crpyto, etc). Below is some sample data to help with answering the question. Time...
common-pile/stackexchange_filtered
DPI in Retina iPad app design I don't know if this belongs in StackOverflow or some other SE site, but here goes. I have a PSD design I have an iOS development team turning into a Retina iPad app. However, this design is made in the default 72 dpi. The development team is now saying the design should be 264 dpi (same a...
common-pile/stackexchange_filtered
Using CONTAINS with variables sql Ok so I am trying to reference one variable with another in SQL. X= a,b,c,d (x is a string variable with a list of things in it) Y= b ( Y is a string variable that may or may not have a vaue that appears in X) I tried this: Case when Y in (X) then 1 else 0 end as aa But i...
common-pile/stackexchange_filtered
Need help understanding the difference between <T> and <?> in Java What is the difference between List<T> and List<?> ? I found this type of code when I was going through java doc but couldn't understand the difference. I have actually answered this exact question extensively here http://stackoverflow.com/questions/3...
common-pile/stackexchange_filtered
Make d3.pack use more width I'm using d3.pack because I'm using bubble chart. However, I'm using it as a wordcloud. How can I make this use more of the width and don't make it that tall? Here is a jsfiddle In the code I have width: 600px; height: 1500px; on the #cloud element. This makes it kind of clumsy. Otherwise, h...
common-pile/stackexchange_filtered
How to make my jquery code simple? I want to change the li text of the ul,so I write my code like these: $("#ul li:first").text("0"); $("#ul li:eq(1)").text("1"); $("#ul li:last").text("2"); I think that I can get the jquery object firstly,so that I do not need to visit the ul three times,so I write like these,b...
common-pile/stackexchange_filtered
Is there a point to configure SNAT source address in NAT gateway? Let's say, that one has following network topology: NAT gateway linux-router has a following SNAT rule in place: Chain POSTROUTING (policy ACCEPT) target prot opt source destination SNAT all -- <IP_ADDRESS> an...
common-pile/stackexchange_filtered
File Show (pdf ) ASP.NET i want to show an exciting file from my db into the details page and i have this problem that the file saved as a long path like this : D:\Projects\asp\Portail_Candida\Portail_Candida\CandidatCvs\ayman_jarmoune_cv_fr.pdf and when i wanna see it it doesn't shows, the only way that shows that it...
common-pile/stackexchange_filtered
Headless services with selector does not get endpoint on GKE I created some pods and a headless service. The headless service has a selector and I am expecting the endpoint to get the IP of the Pod that matches the selector. However the endpoint remains empty $ kubectl get pods -lservice=front-end NAME ...
common-pile/stackexchange_filtered
FreeBSD Mysql 2003 - Can't connect to MySQL server on 'localhost' (10061) MySQL is running, verified by service mysql-server status. Here is my config file (/etc/my.cnf): [mysqld] user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock port = 3306 basedir = /usr datadir = /var/lib/mysql ...
common-pile/stackexchange_filtered
Python function takes N positional parameters but M were given I am trying to call a function in the following manner: for TestCase in sys.argv[1:]: TestTree = ET.parse(TestCase) Root = TestTree.getroot() inputFile = Root[0].text start_server(inputFile) def start_server (inputFile): server_process...
common-pile/stackexchange_filtered
Switching to Evernote from Emacs I have been using Emacs in orgmode with Dropbox for organising many of my files and I am thinking of switching to Evernote. I would beinterested to hear if anyone else has made the switch and to hear about their experiences before I make a decision. I am about to do the same and would ...
common-pile/stackexchange_filtered
Get Pathway From PHP Upload I have looked around for a solution and have found several of the same brand, but I can't seem to get an exact solution. I want the image to display, which, in some sense works-partly. It uploads, but no image is displayed. What is the meaning of this? Here is my PHP code: <?php echo <<<_...
common-pile/stackexchange_filtered
Firestore get() method code is executing at the very end of the function Below is my firestore code. you see the get method is executing at the very end of the function. Even though it is declared in the starting. I am frustrating. if it is executing at the end then what is the use of this. I don't know why firestore p...
common-pile/stackexchange_filtered
Do MP3's encoded by iTunes contain my email address, and how can I remove it? I heard that when you rip an Audio CD to MP3 with iTunes it hides your email address (or some other identifying information) in the MP3. Is this true? Is there any way to remove this identifying information? Huh?! Don't think so. Check your ...
common-pile/stackexchange_filtered