text
stringlengths
70
452k
dataset
stringclasses
2 values
XF + DryIoc: Unable to select single public constructor from implementation type Xamarin.Forms.NavigationPage I just created a XF + Prism + DryIoc project using Prism template in VS2017. I updated an app XF and Prism to latest: XF: <IP_ADDRESS>934 Prism: <IP_ADDRESS>6-pre Without adding any of more code (except fixin...
common-pile/stackexchange_filtered
Is there a name for the un-integrated Lagrangian? The "action" is a functional of fields and their derivatives integrated over a space-time volume. A Lagrangian is just integrated over the space dimensions. But what is the name of the thing to be integrated? e.g. $$S=\int L[\phi](t) dt = \int {\cal L}[\phi](x,y,z,t)dx...
common-pile/stackexchange_filtered
android tabs are too big Rephrasing an old question as suggested by a group of mods. Why are android tabs too big ,specially on a device that small? Eg. http://developer.android.com/resources/tutorials/views/hello-tabwidget.html I am converting a java Swing application to android and tabs are giving me the most troubl...
common-pile/stackexchange_filtered
Omniauth mock up not working in rails rspec. Google Login button not getting clicked After following tutorials from internet of integration test of Google Login in Rails. I came to this. But it's not working. # frozen_string_literal: true require "rails_helper" def stub_omniauth OmniAuth.config.test_mode = true ...
common-pile/stackexchange_filtered
Sharing result response API without state and outside then() var a = getdata() a.then((result) => { console.log(result.data.data); this.setState({ items: result.data.data }); }) console.log(result.data.data); I want to share result.data.data to outside then(). New to React and JS in general so I apologize fo...
common-pile/stackexchange_filtered
Spark never finishes jobs and stages, JobProgressListener crash We have a Spark application that process continuously a lot of incoming jobs. Several jobs are processed in parallel, on multiple threads. During intensive workloads, at some point, we start to have this kind of warnings : 16/12/14 21:04:03 WARN JobProgres...
common-pile/stackexchange_filtered
What is the use case for -M gcc option? gcc's -M option gives makefile compatible list of dependencies. I've tried it on one of my projects *.c files and I got very long list of various system headers: $ gcc -I/home/marko/foo/local/include -I/home/marko/foo/src/misc.git -M src/foo.c | wc -l 65 What is the use case for...
common-pile/stackexchange_filtered
How to find out programmatically if a contact is editable in android In the application I am building I am accessing the contacts of the mobile, but I need to know whether those contacts are editable (like the ones of the google account) or not (like the ones coming from Skype). I haven't found anything related to this...
common-pile/stackexchange_filtered
Can't free linked list This is the struct: typedef struct listeEle { int pos; struct listeEle *next; } ListEle; this is where I create the list: ListEle *mokli(int n){ if(n<=0) { fprintf(stderr, "Falscher Parameter für mokli... Programm beendet."); exit(0); } else { ...
common-pile/stackexchange_filtered
Compression Level Mksquashfs Here I'm trying to create a squashfs filesystem but the resulting image is bigger than the original version and not because I added a file or anything as I only modified some configuration files. What I'm trying to do is modify the existing squashfs filesystem on a live usb and delete some ...
common-pile/stackexchange_filtered
index.html index.php redirection + Internal Server Error I'm using a mac, FTP is with Transmit. I am doing a website for a client on Wordpress. The site is finished but my client wanted to add another page in front of the website so when you click on the URL in Google, you have a page with their logo which you click an...
common-pile/stackexchange_filtered
How do I automatically select the first panel in a declarative dojo wizard? I have created a declarative dojo wizard in dojo 1.5 that is embedded in a dojo dialog like this: <div dojoType="dijit.Dialog" id="genWizardDialog" jsId="genWizardDialog" refreshOnShow="true" preventCache="true" title="Title"> <div dojoType="d...
common-pile/stackexchange_filtered
Is there a known limit to the number of CREATE TABLE I can run in parallel with Cassandra? I'm wondering whether I can have all my clients send a "CREATE TABLE ..." to the same Cassandra cluster at pretty much the same time. Is that expected to work? I can always increase the timeout to make sure that I don't get such ...
common-pile/stackexchange_filtered
Vue.js not being recognised with CDN Hi I am currently learning Vue.js and I have an issue with it, I am calling Vue using a CDN. I have followed instructions but it does not seem to be recognising that Vue exists. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width...
common-pile/stackexchange_filtered
How to find/delete duplicate items in stack The items inside the stack should be unique. Is there a way I can delete the duplicate item inside the stack? And inform the user that his input is already inside the stack? Here is my code: class Node: def __init__(self, key): self.left = None self.right = None s...
common-pile/stackexchange_filtered
I want to display all related posts for a selected tag in WordPress I want to display all the related posts for a selected tag, my purpose is I display all the tag at my posts, if someone clicks on the tag, then it should be re-direct to my tag template tag.php. But I am unable to display all the posts related to the t...
common-pile/stackexchange_filtered
How to make this simple landing page flex box work in all relevant browsers? For hours I have been trying to make a simple landing box banner layout work in all relevant browsers using flexbox, but without luck. In the following there is a sketch of the layout I want to realize. Basically just two boxes for an image an...
common-pile/stackexchange_filtered
What does status "Undisclosed" means for a conference paper I had sent a paper in a reputed conference. The status changed from "Under review" to "Decision pending" to "Undisclosed". What is the meaning of status "Undisclosed" ? Does it indicate something? It indicates that the conference system has a tendency to prov...
common-pile/stackexchange_filtered
Import errors when debugging Python unit tests in VSCode I'm trying to debug a Python unit test inside Visual Studio Code, but am getting an error while importing dependencies at the top of the file: import unittest from scipy.io import loadmat # exception thrown here I get a lengthy exception message: Exception has ...
common-pile/stackexchange_filtered
The strange behavior of let and var in Javascript case 1 var a // ===> undefined let a // ===> SyntaxError: Identifier 'a' has already been declared case 2 a = 1 // ===> 1 var a // ===> undefined let a // ===> undefined Why case 2 does not throw an exception? On my Chrome I get the same syntax error for the bot...
common-pile/stackexchange_filtered
How specify field type for query select when using alias in cakephp? I'm using Cakephp 3.2.7 as a framework and create a query with select alias. $posts = $this->Posts->find() ->select(['id' => 'Posts.id','userid'=>"Posts.user_id"])->toArray(); I want to get id as string not integer (the column type in mysql is int...
common-pile/stackexchange_filtered
NSTimer never fires I've been having problems getting an NSTimer to fire, and I assumed it had to with multi-threading issues. Just to be sure I was creating the timer correctly, I created the following test code and I placed it into my main view controller's initWithNibName. Much to my surprise, it also failed to fire...
common-pile/stackexchange_filtered
How do I get TypeScript Array.map() to return the same as VanillaJS? Within my Angular6 App, I am making Conway's Game of Life. I am trying to generate an n x m two dimensional array of class instances. In vanillaJS, I got this to work as: generateInitialState(bias) { return [...Array(this.rows)] .map((a, i...
common-pile/stackexchange_filtered
Display smiley button at right bottom on Android keyboard I need to show smileys button by default when user input in my EditText. Now keyboard for my EditText looks like: Look at the right bottom, you will see done button. In same time in sms app keyboard looks like: [ At the right bottom displays smiles button. How ...
common-pile/stackexchange_filtered
Why i cant populate the chef's document? I have 3 collections: recipe, chef, and food category. Im trying to populate the chef collection, and I cant; what is the problem? const recipeSchema = new mongoose.Schema({ chef: { type: mongoose.Schema.Types.ObjectId, ref: 'Chef', required: true ...
common-pile/stackexchange_filtered
How to create a tree from multi-parent / children? I am actually running through a problem. I have a Step (a Doctrine Entity) that has a self-referencing Many-To-Many relation. So a Step can have many parents, and many children, building some sort of a tree. The problem is I'm trying to render this tree, like this: I ...
common-pile/stackexchange_filtered
the simplest interface to let subprocess output to both file and stdout/stderr? I want something have similar effect of cmd > >(tee -a {{ out.log }}) 2> >(tee -a {{ err.log }} >&2) in python subporcess without calling tee. Basically write stdout to both stdout and out.log files and write stderr to both stderr and err.l...
common-pile/stackexchange_filtered
MySQL query to SQL-Server I have a mysql query that I have to convert to sql server syntax, I am novice and perhaps someone can help me. Here is my code: SELECT id, nick, mobile, name, description, direction, date, image FROM mytable WHERE number=1 ORDER BY date desc LIMIT 1, 10; Is there some tool to try sql server ...
common-pile/stackexchange_filtered
use of collections to group nested form records - accessing proper index Rails form helpers can call upon a a collection to be used. Class Event has_many :equipments, has_many :equipment_maintenanceitems Class Equipment has_many :maintenanceitems and, as events are created they inherit attributes of maintenanceitems (b...
common-pile/stackexchange_filtered
drop rows with multiple conditions based on multiple column in python I have a dataset (df) as below: I want to drop rows based on condition when SKU is "abc" and packing is "1KG" & "5KG". I have tried using following code: df.drop( df[ (df['SKU'] == "abc") & (df['Packing'] == "10KG") & (df['Packing'] == "5KG") ].inde...
common-pile/stackexchange_filtered
Oracle query monitoring - I have Java Code that contain oracle insert,update,etc statement , while executing java program oracle statement executed . I need to Know what is happing in oracle database. How can I achieve It..? try { sql = "SELECT DISTINCT Enquiry_PrimaryDetailsId\n" + "FROM e...
common-pile/stackexchange_filtered
Is it possible for a genin to become a jonin? In Naruto, by the end of Shippuden (ignoring the epilogue), neither Naruto nor Sasuke had ever passed the chunin exams. Given that the chunin exams seem to be held sporadically (two years between the ones in Naruto Part 1 and the ones being shown in the anime currently), it...
common-pile/stackexchange_filtered
Refresh to display content from Firebase + Angular 4 I created a web app in angular 4 with data read from firebase (via angular fire 2), but on the pages where firebase data is displayed, I have to refresh the page once or twice before the data displays. This is not new data, its existing data. Also when I am writing d...
common-pile/stackexchange_filtered
Copy Activity with stored procedure rounds up decimals I am using an Azure Data Factory to get data from an on prem database to an Azure sql database. I am doing it in 2 steps: Copy to blob Insert into azure using a copy activity that runs a stored procedure. The problem i have is the decimal is rounded up and the de...
common-pile/stackexchange_filtered
Writing an object to the file What I am trying to do is writing a HashMap to a file. The code below correctly when run at once. However when i try to run just writing the object to the file and try to just run reading the written object to file individually it throws the following exception. import java.io.File; import...
common-pile/stackexchange_filtered
How to render the data after the API Call? (Vue.js) So the following template is rendered immediately, and it does not wait for the API call. The solution I found is using v-if in order to keep the elements from rendering until the data is there. This seems counterintuitive to the DRY principle if I have to wrap my e...
common-pile/stackexchange_filtered
Can $\mathbb{R}$ be written as an ascending union of proper additive subgroups? Can the group $\mathbb{R}$ be written as countable ascending union of proper subgroups? (i.e. does there exists a series of proper subgroups $H_1\leq H_2\leq \cdots $ such that $\cup {H_i}=\mathbb{R}$?) You want this to be a countable uni...
common-pile/stackexchange_filtered
Default argument for partial specialization [Clang yes, GCC no] Why does the following compile with clang but not with g++ 4.9 #include <array> template< typename T1, typename T2 , typename T3 = int> struct A; template<typename T, unsigned int N, typename T2, typename T3> struct A< std::array<T,N>, T2, T3 > { in...
common-pile/stackexchange_filtered
How to use input() as a name for object in Python? I'm new to python and I've been trying new things. I made this class: class Student(object): def __init__(self,school,gpa,age): self.school=school; self.gpa=gpa; self.age=age; def stu_info(self): print("School: ",self.school) ...
common-pile/stackexchange_filtered
Regarding static collision resolution between two circles I have some code that resolves the positions of two circles when they collide: float fDist = sqrtf((c2->m_pos.x - c1->m_pos.x) * (c2->m_pos.x - c1->m_pos.x) + (c2->m_pos.y - c1->m_pos.y) * (c2->m_pos.y - c1->m_pos.y)); float fOverlap = 0.5f * (fDist - c1->m_radi...
common-pile/stackexchange_filtered
Logging user activities in applications The problem I'm here to talk about and (ask about of course) is not new. I searched web and stack overflow and I got ideas to many part of this problem (pros and cons) but there is still some part missing in my mind. So I thought it would be a good idea to share in one place (of ...
common-pile/stackexchange_filtered
Why do browsers treat requests in an iframe as cross-site requests as it relates to cookies, but same-site for the request itself? If a run an application containing an iframe on <IP_ADDRESS>:5500 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, i...
common-pile/stackexchange_filtered
Opencsv How to Parse and Process Individual Row? When I parse my csv file of 20k rows using CsvToBeanBuilder my app runs out of memory. So I now want to parse each individual row into my pojo and then process them one by one. Can I do that with CsvToBeanBuilder? The Reading into beans documentation indicates CsvToBea...
common-pile/stackexchange_filtered
reclassify vector data from multiple source data fields (ArcGIS) (ModelBuilder) I am using ArcGIS 10.1 and ModelBuilder. I am not familiar with Python. My question is very similar to ReClassify Vector Data Between Values using ArcGIS Desktop? . However that question is about reclassification using the values from one ...
common-pile/stackexchange_filtered
DataTables Jquery JSON I am new to DataTables/JSON and I am running into a coding issues. The issue is trying to pull data information from one set of object array into another one; if I'm not explaining this correctly, please forgive me. I can currently only pull data from the "courses" objects, but not the "schools"...
common-pile/stackexchange_filtered
libc include guards not respecting source type parameter changes Question If I include time.h, change a "source type parameter" and re-include that header, shouldn't it add in those new definitions? I understand that this is happening due to include guards. My question is: is this a bug in libc? Shouldn't it be able to...
common-pile/stackexchange_filtered
Transcendental proofs vs. Irrational proofs Why are proofs of the transcendence of certain numbers usually harder than irrationality proofs of those same numbers (for example, Lindemann's proof of the transcendence of pi vs. Niven's proof of the irrationality of pi?) Maybe because transcendence is a more complex conce...
common-pile/stackexchange_filtered
Fmdb Select query with variable table name I want to get results from different tables, tables are selected by the user. So, I am using table name as variable but it returns nil query. FMResultSet *query = [db1 executeQuery:@"SELECT Image, Explanation FROM %@ WHERE Image !='empty'" "UNION SELECT Image, Explanation...
common-pile/stackexchange_filtered
Android how to make ok button on dialog not all caps For an alert dialog in Android, how do you make the positive button not have all capital letters. The text is "OK" instead of "Ok". What kind of dialog are you using? Please show your code if you want a proper answer. @Pheonixblade9 Um... I said alert dialog if y...
common-pile/stackexchange_filtered
Vector space isomorphism Let $V$ be the real vector space $\mathbb{R}[X]$ and $M \subset \mathbb{R}$ a set with $d$ elements. Let $$U_2 := \{ f \in \mathbb{R}[X] \mid \deg(f) \leq d − 1\}$$ be a vector space of $V$. Let $\Phi: V\rightarrow Ab(M,\mathbb{R})$ be a linear mapping that is defined by $\Phi (f)(m):=f(m)$. ...
common-pile/stackexchange_filtered
How to set dynamic custom header in i18next-http-backend plugin? i18next-http-backend - Docs I have the following configuration for i18next in react application. My problem is to set dynamic values in header, such as: "accept-lang". According to documentation customHeaders provided for this, but it has no any context a...
common-pile/stackexchange_filtered
Planetarium discussion area after the evening's Centaur presentation ends. Observer: Chiron switching between asteroid and comet classifications makes more sense now - that dual behavior from the same object. Analyst: The orbital instability explains why. Between Jupiter and Neptune, those gravitational tugs constant...
sci-datasets/scilogues
Funds deposited in my bank account. Account closed for suspicious activity. Is this a scam? Here's an interesting story. I lost my job and I needed extra income so when I was looking for a sugar daddy on Instagram, I met a guy. He claims that he is a Business Contractor and is working for UNICEF, currently buildi...
common-pile/stackexchange_filtered
c++ if (DEBUG) ... expected primary-expression before '==' token #define DEBUG 1 void senddata() { ... if (DEBUG==1) { cout << row->Printable () << endl; }; .... } getrow.cc: In function 'void senddata()': getrow.cc:277: error: expected primary-expression before '==' token IMO that code was running s...
common-pile/stackexchange_filtered
$6x + 13 = 7 \pmod{24}$ $6x + 13 = 7 \pmod{24}$ What method can I use to solve this problem? I tried with the method I used here but it won't work because I can't use Euclidean algorithm on this problem. There are $4$ values to check $x=0,1,2,3$ after that it repeats. This is same as $6x\equiv-6\pmod{24}$. It might...
common-pile/stackexchange_filtered
Cascading Tree like Structure in ADF Dynamically? I am need of representing a Cascading Tree Structure on UI of an ADF Application, but there is a catch, The depth of the Tree is unknown, i.e A Root Node has one or multiple nodes which in turn may have mutliple Child nodes. My initial idea of dealing was, creating mu...
common-pile/stackexchange_filtered
Wiring my internet I have Verizon internet service and am currently using wifi. My router is in the basement and my desktop computer is 2 floors and on the other side of the house above it... Worst possible positioning but that's just how things worked out. My wireless currently is extremely unstable so I've decide to ...
common-pile/stackexchange_filtered
Need a check on Latin translation to see whether correct in context with English version I need to ask for a check on the correctness of the Latin translations I have, to see whether they are correct in context with the English phrases I had translated. Animae celare bestias exiguae laxis vestibus illicitus est. This ...
common-pile/stackexchange_filtered
Implementation of an interface which contains a struct I am bit confused about how the typesets in go work. Post Go 1.18, go supports embedding structs inside an interface. For instance, this is perfectly valid go code : type ABCInterface interface { ABC } type ABC struct { A, B, C int } My question is how do ...
common-pile/stackexchange_filtered
C++ Game AI only works in main I have a problem getting the AI to work if I do it in a subclass. Here is my main loop in which I access the player and enemy classes for their move, logic, and show functions. //Logic myPlayer.player_move(); myEnemy.enemy_logic(); //Rendering myPlayer.player_show(...
common-pile/stackexchange_filtered
Error handling in GameState Machine for menus using Singleton Style classes Let me preface by saying I am very new to programming and c++. I have been researching various methods for creating a menu system for a simple game that allows the player to go from one menu(representing a location) to the next and back to crea...
common-pile/stackexchange_filtered
how to synchronize webservice calls in javascript I have a control application - using asp.net webservices. I have a timer which does an asynchronous webservice call every 5 seconds to update the screen.There are also user buttons to refresh parts of the screen, also doing async webservice calls. The issue is my screen...
common-pile/stackexchange_filtered
2D-arrays ND-arrays appear to index differently in numpy As part of a larger project, I need to be able to make an orthogonal "projection" of a scalar-field in each of its N-dimensions. (Effectively I want to take the mean of the data in every dimension except the "dimension of projection"). Below is a simplified (but...
common-pile/stackexchange_filtered
adding arguments to process not working? I got this program written in C# WinForms. im using system.diagnostic to create a CMD process. with that cmd i want some arguments but they are not present or working :S dont know why ?! NOTE: im not sure how to use more than 1 argument, correct me if im wrong :D im trying to r...
common-pile/stackexchange_filtered
react-native-firebase v6 -> TypeError: undefined is not a function near (...'this.firestore.native.collectionGet...') I've been trying to integrate Firebase into my react native app. I created my RN project using react-native init myProjectName and cd ios && pod install I've followed the installation guide from https:...
common-pile/stackexchange_filtered
Inject sleep() into a function of an external process I know how to inject a DLL into a running process and also how to utilize functions used internally by the process e.g. void__stdcall remoteMethod(unsigned short id) { typedef void (__stdcall *pFunctionAddress)(unsigned short); pFunctionAddress pMyFunction = (pFunct...
common-pile/stackexchange_filtered
Parsing "Key" = "Value" pair I'm trying to parse the string in the folowing format using the regex: "Key" = "Value"; The following code is used to extract the "key" and "value": NSString* pattern = @"([\"\"'])(?:(?=(\\\\?))\\2.)*?\\1"; NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:pat...
common-pile/stackexchange_filtered
Image() onLoad not waiting for image to load I've figured out the centering and resizing issues, but I still can't get onLoad to work properly. Anyone have any ideas? I thought onLoad was supposed to wait for the image to be loaded completely before firing the code. As this is right now, it resizes the img for the next...
common-pile/stackexchange_filtered
Generating Weighted Choice of a String I am trying to write a code to generate random numbers of length l each consisting of a letter and its probability selection where the percentages sum to 100. For example : If I give Random(10,[("X",50),("Y",40),("Z",10)]) should give me "yxxzyyxzzx" i.e 10 random numbers in any f...
common-pile/stackexchange_filtered
How do I pass and extract data in googlemaps api in my android app using java? I am new to android development but familiar with java. I want to send a request (containing coordinates of locations) to google maps api for distance matrix and later calculate the sum of distances for each point. The response from api is e...
common-pile/stackexchange_filtered
append textbox value and checkbox value to a string I am having trouble figuring out how to append the values in the text field(exclude empty textboxes and corresponding checkboxes) and all the checked and unchecked values to a string in the order: name|T|F_name|F|F I have this code, I have been trying to figure out ho...
common-pile/stackexchange_filtered
Call a function of PurchaseModel in to another model name SalesModel without loading PurchaseModel into SalesModel Hi Everyone I have a query regarding model of CodeIgniter. I have two model in my project model one is PurchaseModel and model second is SalesModel. In some operation i need a function from PurchaseModel. ...
common-pile/stackexchange_filtered
Cyborg death match: Make your move Found this one in my son's puzzle book. You are a cyborg in a death match with two other cyborgs. All three of you have identical blasters, and one single shot from these blasters will destroy any of you. You have a 33% (read as 1/3) chance of hitting your target per shot. The next cy...
common-pile/stackexchange_filtered
Matlab num2str (A, format) function component-wise? I have a=[0.221354766 315.806415]; I want sth like (same fieldwidth) 0.2214 315.8064 I tried b=num2str(a) % b = % 0.2213548 315.8064 c=num2str(a,'%8.4f') % c = % 0.2214315.8064 d=num2str(a,'%8.7g') %d = %0.221354...
common-pile/stackexchange_filtered
Finishing a proof for commuting matrices $A,B$ implies $p(A)=B$ If $A$ has distinct eigenvalues $\lambda_1,\ldots,\lambda_n$ and there exists $B$ such that $AB=BA$, then there exists a polynomial $p(t)$ with degree at most $n-1$ such that $p(A)=B$. I have an argument, and I'm pretty sure it's almost complete, but it do...
common-pile/stackexchange_filtered
Syllabify English words - kind of You're tasked with writing a program that syllabifies words in a string of text, by separating them with a hyphen. That would be a lot of work, so you want to skip some parts, mainly because you don't want to have a table of the pronunciations required for perfect algorithm. You also w...
common-pile/stackexchange_filtered
Are threading issues for C/C++ "system level programmers" significantly different from those faced by Java programmers? I'm looking for a development job and see that many listings specify that the developers must be versed in multithreading. This appears both for Java job listings, and for C++ listings that involve "s...
common-pile/stackexchange_filtered
Unable to fetch from controller - React/asp.net core Web API When I try to fetch data from the UserController I get returned Html for some reason. It is the index.html file under the React > Public folder. It should be returning the Users from the UserController. I have a React frontend app which I have added ASP.NET C...
common-pile/stackexchange_filtered
Using CrossWalk for making a Call using WebRTC The call is working perfectly fine for the first time. But after that it freezes just before connecting to WebRTC, this is currently happening only on Samsung Galaxy S5 out of my 5 devices that I test upon. Other devices are: Motorola Moto G2 Nexus 5X Samsung Grand Samsun...
common-pile/stackexchange_filtered
Deserialize JSON Object C# with Newtonsoft I need to deserialize the following: {"result":{"success":true,"value":"8cb2237d0679ca88db6464eac60da96345513964"}} to a C# object using Newtonsoft.Json WebClient wc = new WebClient(); var json = wc.DownloadString(url); Worker w = JsonConvert.DeserializeObject<Worker>(json); ...
common-pile/stackexchange_filtered
Can we configure users in Jenkins to only view build history for jobs submitted by them We have 3 users in Jenkins Admin User - Has the complete access of Jenkins Developer - Has complete access to create/edit/view/delete Jobs Tester - Has access to only view/run Jobs We want to build a capability where Developer & T...
common-pile/stackexchange_filtered
Checking from a preemptive evaluation whether a main evaluation is ongoing How can I programmatically check from a preemptive evaluation whether a main evaluation is currently ongoing? I need a function mainEvaluationOngoingQ[] so that Button["Evaluating?", Print@mainEvaluationOngoingQ[], Method -> "Preemptive"] will...
common-pile/stackexchange_filtered
Link with javascript:window.location Any idea how to click a link with the following criteria: <a href="javascript:window.location='/app/exe/add.do?Id=8&val=1&callerURL=details'; I tried several variations to the following examples, but can't seem to get it to work. #$ie.a(:href => "http://app.com/app/exe/add.do?Id=8&...
common-pile/stackexchange_filtered
Copy files if directory does not exist on target Can you copy files (using rsync ideally but any scriptable tool considered) from server A to server B skipping directories that already exist on the target, and any files they contain? Server A FEED --CUSTOMER1 ----feed_12414.xml --CUSTOMER2 ----feed_6583.xml --CUSTOMER3...
common-pile/stackexchange_filtered
Debug Assertion Failed CDialog I have an error in my c++ project. If I clicked "Cancel" or "OK" or "X" buttons program is crashing and display an error like the screenshot. What could be problem? Here is full code ; http://pastebin.com/54DfqrDb void CSettingDlg::OnBnClickedCancel() { CDialog::OnCancel(); } void ...
common-pile/stackexchange_filtered
Angular 6: HttpErrorResponse SyntaxError: Unexpected token s in JSON I am posting a request and I am suppose to receive a 'success' string back as response. I am getting an HttpResponseError with the following information posted in the image below. PurchaseOrderService postPurchaseOrderCustom(purchaseOrderCustom: Pur...
common-pile/stackexchange_filtered
CLion and Qt Framework So I figured out how to get Qt Framework working with CLion, but I don't have Qt Designer in CLion. How can I make a GUI in CLion using Qt Framework? Every tutorial i've seen uses Qt Creator so I cannot get an answer. The only Qt development I've seen (I typically work on backend stuff) outside ...
common-pile/stackexchange_filtered
How to add a character in a string by checking the delimiter? I have a string in my program where in which it need to be altered with another string value before a "/". Source String : qos-tree/output_rate Target String : qos-tree-2/output_rate #include <stdio.h> #include <string.h> void append(char* s, char c) { ...
common-pile/stackexchange_filtered
How to vertically align text Blocks on the left in flutter I am trying to align three Text() on the left side of the page. These texts are inside Padding() blocks and these inside a Column(). Here is how it looks: And here is the code: Column( mainAxisAlignment: MainAxisAlignment.start, mainAxisSize: MainAxisSize....
common-pile/stackexchange_filtered
In Delphi connecting to a database in runtime I'm busy with a project where the database must be embedded in such way that if it should be copied over to any computer you can run it without establishing the connection to the database again. I have tried this : path:=extractFilePath('MEDA_p.exe'); dmMEDA.conMeda.Connect...
common-pile/stackexchange_filtered
Getting OSError: [WinError 6] The handle is invalid im running my function with multiprocessing implementation def assign_task(self, module, command): logging.debug("Assigning task for {0}".format(command._get_module_id())) if self.queue is None: self.queue = JoinableQueue() if self....
common-pile/stackexchange_filtered
Floyd's Algorithm implemented in Python. two dimensional print array I am attempting to print my python program that implements floyds algorithm. n=5 for k in range(n): for j in range(n): for i in range(n): if A[i][k]+A[k][j]<A[i][j]: A[i][j]=A[i][k]+A[k][j] ...
common-pile/stackexchange_filtered
Naming in Security Protocols: Alice, Bob and Eve Among computer scientists and programmers, there's the common habit of naming people in the context of security protocols e.g. Alice, Bob or Eve. Descriptions of more elaborate attack vector sometimes refer to Charlie (as does this XKCD strip), but is there a convention ...
common-pile/stackexchange_filtered
Biotech company boardroom, late afternoon strategy session. **Pharmaceutical Executive**: The genome data keeps surprising us. When we sequenced those thousand fungal species, we found thirty-six thousand biosynthetic gene clusters, but most are completely silent. **Research Director**: That's the paradox we're facin...
sci-datasets/scilogues
C# MVC Localization Issue with Image URLs I need to build a c# MVC portal that is localized. I have the following route defined: routes.MapRoute( name: "DefaultLocalized", url: "{lang}/{controller}/{action}/{id}", constraints: new { lang = @"(\w{2})|(\w{2}-\w{2})" }, // en or en-US defaults: new { control...
common-pile/stackexchange_filtered
How can I escape $.each loop with my data? I'm doing an Json call to retrieve an a list of locations with information details for each location. longitude and latitude are included in this info. I am using Google's distance matrix api to get the distance from coordinates provided as a query in the url. I thought the ...
common-pile/stackexchange_filtered
Load chart from JSON - Change format of JSON array I am using an example of a chart that gets the data from a JSON string. I am calculating the final JSON that the chart is going to use (called data2). The issue is that I cannot use the array (data2) when I build the chart in the javascript section. It works fine as sh...
common-pile/stackexchange_filtered
Decorator or wrapper function to abstract special cases in Python I find myself writing a lot of explicit statements like the following: ...inside a larger loop over i: if i == 0: y = ... # some value specifically for i = 0 x[i] = func(y, z) elif i == iMax: y = ... # some value specifically for i = iMax ...
common-pile/stackexchange_filtered
What is the best way to utilize a beacon for mining I was wondering if anyone uses the beacon for standard branch mining? Its range is just 50 and I'm not sure if it can be used at all, since 50 blocks is too little to cover the whole mine. Do you dig your tunnels in a specific way? I'm no hardcore minecrafter myself,...
common-pile/stackexchange_filtered
Two entry boxes on one zenity command Using zenity i can create an combo box like this zenity --entry --title "Window title" --text "Insert your choice." a b c d e How can i create two combo boxes in one dialog, i tried using the separator command like this zenity --entry --title "Select Flash Drives" --text "Insert y...
common-pile/stackexchange_filtered