text
stringlengths
70
452k
dataset
stringclasses
2 values
Asp.Net app in VS2017 using Crystal Reports error 'Invalid Subreport Name' I have been given a legacy ASP.Net application written in vs2005 with CR 8. I am currently running vs2017 and CR 13.0.22. The application interacts with a lot of different data and shows multiple reports and I was asked to modify 1 of them that ...
common-pile/stackexchange_filtered
In World War 1, why were the Australian and Canadian troops so good? I'm reading a book about the first world war, and makes it clear that the Canadian and Australian troops made quite a name for themselves. They acquitted themselves very well in many of the actions they participated in (within reason), and were regard...
common-pile/stackexchange_filtered
Researcher: The protein unfolding traces we're getting show significant scatter between experimental sessions. Even with the same polyprotein construct, the force values drift by 20-30 piconewtons. Consultant: That's the calibration demon rearing its head again. Each time you mount a new cantilever, you're introducing...
sci-datasets/scilogues
How to create managerID lookup hashtable I've had success in the past creating hash tables for looking up an exact match for one ID in a CSV, when looking it up on in another CSV, but what I'm trying to do must be very different? I have 1 CSV with everyone getting a unique LoginID and then a PositionID. Then in another...
common-pile/stackexchange_filtered
setup ssh private/public keys I have done the following: ssh-keygen Then put the contents of the id_rsa.pub into the remote ~/.ssh/authorized_keys file. I thought that should do it. But it still prompts for a password. Not the id_rsa password...I did a ssh-add which that is all set but the computer password (remote pa...
common-pile/stackexchange_filtered
Compiler flagging error for using array size variable This simple piece of code for some reason is causing the compiler to show an error: #include <iostream> using namespace std; int main() { size_t c_string_length{15}; auto* selection{new char[c_string_length]{"Biggie Smalls"}}; for(size_t i{};i<c_string_length;i++) ...
common-pile/stackexchange_filtered
How do I get a reference to the current project in an Eclipse plugin? I'm creating an editor for Eclipse. Right now the editor fires up with the user creates a new file with the appropriate extension. My question is, how can I get a reference to the project in which the file resides? For example, say I have a workspace...
common-pile/stackexchange_filtered
Mealy and Moore implementations in verilog Can any one tell what are the differences between these implementations in verilog/VHDl? I mean how does Mealy and Moore Synthesize into circuits in detail ? Any links would prove useful too. I am quite familiar to this Thank you But is this the way it implements ?? Please ...
common-pile/stackexchange_filtered
how to write fixedlength file to CSV file with bean io with all values come in diffent columns of a record This code is able to write data to csv file but the only problem is the data is getting written in single column only. I want the data to come in different column. I am new to bean io and not able to figure it out...
common-pile/stackexchange_filtered
Expanding the Hyper-Parameter Search Grid in Caret I was wondering if there was a way to expand the hyper-parameter search within caret package or with slight modification. For example, evtree can currently only take alpha in caret but the evtree.control can take many more arguments. I doubt that I can just pass it thr...
common-pile/stackexchange_filtered
Effect of a magnetic field on cathode rays in a cathode ray tube My question is regarding the direction in which cathode rays bend in a magnetic field. My book states that : When only electric field is applied, the electrons deviate from their path and hit the cathode ray tube at point A. Similarly when only magne...
common-pile/stackexchange_filtered
How can I download Bath 800 dataset? how I can find valid link for download BATH800 dataset? "This dataset is a collection of eye images" I tried to find the download link through the references given in different articles. But these links have problems and do not work. I am not aware of the BATH800 dataset. There are...
common-pile/stackexchange_filtered
When is complete-class scope really useful in default arguments, default member initializers and exception specification? The standard says that default arguments, class member default initializers and method exception specifications should be parsed in a complete-class context; that is, the class should be regarded as...
common-pile/stackexchange_filtered
Altair: Can't facet layered plots I read in the documentation that I can facet a multi-layer plot, but somehow the data are lumped together in output plot, and repeated in all facets. I can facet each layer with no problem, here is an example with the cars dataset: import altair as alt from altair import datum from veg...
common-pile/stackexchange_filtered
jsp image display_ keep getting 0x0 size I saved image files to src/main/webapp/resources/upload ,insert the absolute path of the image file to database and display the file by using absolute path like this: <td><img src="${content_view.bFilePath}" alt="" style="width:30px;height:30px;" /></td> it displays image fi...
common-pile/stackexchange_filtered
Android Media Recorder start failed exception I am having problem with media recorder in android. I am recording an audio which works well with LG P500 but the same code is not working on Samsung GT - S5360. I am getting error as start failed -22. This is the code I am using: final MediaRecorder recorder = new MediaRe...
common-pile/stackexchange_filtered
Can we make NFC NDEF card password protect after writing that card in react native I'm using react-native-nfc-manager package for reading and writing NFC card from my app, i want to write my card from my app no other app can change data. I have gone through multiple apps from playstore one of which is NFC tools in that...
common-pile/stackexchange_filtered
Doing a mocha and chai unit testing for node js that need to query from dynamodb Hi I am new to AWS dynamdoDB and mocha chai unit testing. I wanted to create a node js unit testing with mocha and chai. In my test.js i need to get expected outcome from AWS dynamoDB. However i not sure how to do it. in my test.js var ...
common-pile/stackexchange_filtered
Bootstrap Tabs displaying stacked rather than inline Bootstrap Tabs displaying stacked rather than inline. What I want (taken from Bootstrap Website): What I get (notice the tabs 'Tenants' and 'Landlords' are stacked): Bootstrap Code (taken from website): My code: <ul class="nav nab-tabs" role="tablist"> <li role=...
common-pile/stackexchange_filtered
Sharing variables between applescript and bash script in same script Is it possible, in a bash script, to have a variable, but also allow applescript (with osascript) to use that variable? Sure. You can use bash variables like normal: x=5 osascript -e "display alert \"$x\"" Helped me fix a script that had: osascript...
common-pile/stackexchange_filtered
Display column name with max value between several columns I have data I have collect from a form. And have "pivoted" the data so it looks like this: COUNTY | denver | seattle | new_york | dallas | san fran -----------+---------+-----------+----------+----------+--------- ada | 3 | 14 | 0 ...
common-pile/stackexchange_filtered
Create Iterator from array with AMPHP I have an array in php: $array = [1,2,3]; When I do: while(yield $array->advance()) I get Call to a member function advance() on array How do I turn my array into an iterator? You mean for/foreach? It seems you have lots of unfinished previous questions. Are you not getting the...
common-pile/stackexchange_filtered
About the definition of complex multiplication Some people say that the complex product is the way it is to respect the distributive law of multiplication. However, the distributive law acts in the whole number, like: $$(a+b)(c+d) = ac + ad + bc + bd$$ The multiplication for complex numbers would be something in the fo...
common-pile/stackexchange_filtered
gmake function / ifneq/else/endif I am trying to create a function that will determine if a directory exist, and if it does, add a target to the all list. but something is wrong. Here is the Makefile code snippet: define buildMQ $(info **** Checking to see if the MQ series directory exist *****) ...
common-pile/stackexchange_filtered
Date Math for Google Apps Script for User Submitted Dates I created a Google Form to collect user input, including the expiration date of a contract. I need to create a reminder date (6 months before the expiration date) in a new column of the gsheets that is linked to the form. Using the Event Object namedValues, I ex...
common-pile/stackexchange_filtered
Starting a Junior Security Consultsnt job soon I’ve just graduated university in information security and applied for various jobs. I really wanted to get a role as a junior pen testers but was told it was difficult without any experiance. Obviously I have done a full 3 year course but to me it felt fairly basic. Anyho...
common-pile/stackexchange_filtered
How has Hell been described in the Vedas and Upanishads? How has Hell been described in the Vedas and Upanishads? Whether Hell has mental torture or physical torture? Nice question . Lets await for the answers @Archit First, there are no permanent hells in Hinduism. All hells are temporary, there are no deeds which l...
common-pile/stackexchange_filtered
Mınt Gas Fee Problem We have started the Mint sale of our new collection on Ethereum, but we cannot solve the gas fee problem. There is an unbelievably high gas fee. What should we do? Did we do something wrong in the Contract? There's nothing you can do. It depends how busy the network is and when lots of NFT drops h...
common-pile/stackexchange_filtered
Breaking down a date into segments Possible Duplicate: Simplest way to parse a Date in Javascript I understand how do get the data and break it down into it's segments, i.e. alert( ( new Date ).getDate() ); and alert( ( new Date ).getFullYear() ); alert( ( new Date ).getFullMonth() ); etc etc. But how do I do the ...
common-pile/stackexchange_filtered
Receiving unexpected server calls In adobe analytics I try to implement link tracking for all links can be found in a page using this: $(document).on('click', 'a', function() { s.tl(this, 'e', 'external', null, 'navigate'); return false; }); Try to test it using a page like this What happens when you call...
common-pile/stackexchange_filtered
How can i know when recharts chart is ready (lines already appear and animation ended)? I want to copy a chart to the clipboard. I'm doing it by converting the chart to a canvas using html2canvas npm package. Is there any event I can listen to that will indicate that the lines in the chart are already drawn and i can s...
common-pile/stackexchange_filtered
Matplotlib margins/padding when using limits I'm trying to set xlimits and keep the margins. In a simplified code, the dataset contains 50 values. When plotting the whole data set, it is fine. However, I only want to plot values 20-40. The plot starts and ends without having any margins. How do I plot values 20-40 bu...
common-pile/stackexchange_filtered
C Programming Basics Why does the code given below Prints b on the Screen? #include<stdio.h> main() { float a = 5.6; if(a == 5.6) { printf("a"); } else { printf("b"); } } You can not compare with floating numbers in this way. It is not a good idea to compare floats for...
common-pile/stackexchange_filtered
Soft-deleted object from parent model not accessible in my child model My user is allowed do delete some of the resources he has created himself but when he is destroying a resource, there is is problem because I have a model that called resourcequantity that depend on the resource model and I don't want to create a de...
common-pile/stackexchange_filtered
How to fix image quality on PHP (GD)? I have been trying to solve the border-image problem for many days, but I still can't come to a decision.. I really need your help! I have code: $image = imagecreatefromjpeg('https://vignette4.wikia.nocookie.net/matrix/images/1/1f/Monica_Bellucci_Dolce_and_Gabbana.jpg/revision/late...
common-pile/stackexchange_filtered
Axis in a multidimensional NumPy array I have not understood the difference between axis in a multidimensional array in NumPy. Can you explain to me? In particular, I would like to know where are axis0, axis1 and axis2 in a NumPy tridimensional array. And why? I'm just posting this here to link these two questions. Th...
common-pile/stackexchange_filtered
$B \in \mathcal{B}(M) \Leftrightarrow (rB+x) \in \mathcal{B}(N)$ Let $M$ be a $d$-dimensional manifold in $\mathbb{R}^p$ and let $r>0, x \in \mathbb{R}^p$. Then $N:=rM+x$ is also a $d$-dimensional manifold in $\mathbb{R^p}$. I want to show that for $B \subseteq M \mathcal{}\\B \in \mathcal{B}(M) \Leftrightarrow (rB+x)...
common-pile/stackexchange_filtered
How to extract eBooks from google play I've uploaded a lot of ePub files to google play books, assuming I would be able to download them again at any time. I now have a new computer and would like to access them, but Google doesn't seem to allow downloads of eBooks previously uploaded, which seems odd to me. Since ther...
common-pile/stackexchange_filtered
Creating a custom function to create individuals using DEAP I am using DEAP to resolve a problem using a genetic algorithm. I need to create a custom function to generate the individuals. This function checks the values inside in order to append 0 or 1. Now I'm trying to register this function on the toolbox. The funct...
common-pile/stackexchange_filtered
Installing Shairport on Raspberry Pi running Arch Linux ARM I am having trouble building Shairport on a Raspberry Pi (ARM architecture). I run makepkg -s and get the following result Makefile:2: config.mk does not exist, configuring. sh ./configure Configuring Shairport OpenSSL or its dev package not found Required pac...
common-pile/stackexchange_filtered
Parsing Multiple XML Docs from a Continuous Stream with NSXMLParser My iPhone App is socket based and receives a continuous, non-delimited stream of XML documents one after the other in which I intend to parse with the event-based NSXMLParser. Example: 2 documents one after the other <?xml version='1.0' encoding='UTF-8...
common-pile/stackexchange_filtered
what how to get a node from an xml document using xslt I am not familiar with xml. I have an xml document structured like below: <?xml version="1.0" encoding="UTF-8"?> <a:b xmlns="something"> <a:c> <d> <e> <item>item1</item> <item>item1</item> <item>item1</item> </e> </d>...
common-pile/stackexchange_filtered
Removing a user account in Windows 8 Pro I just installed Windows 8 Pro on my PC, and I accidentally made two user accounts, one local and one connected online. I want to remove the local one, but I don't know how to do it. I searched the "change PC settings" panel, but I found nothing there. Where I can do this? Comm...
common-pile/stackexchange_filtered
go to other section in same page in angularjs ui.router environment First, I want to achieve go to sections on the same page. Traditionally I can do this by: <a href="#about">about</a> <a name="about"></a> This approach is not work because my page implement ui router, when I defined href="#about", it detect as otherw...
common-pile/stackexchange_filtered
Stream Spliterator error after concat Java When attempting to create an iterator from a Stream that was concatenated from two previous streams, I get a NoSuchElementException, as the iterator doesn't recognise that the Stream has elements due to some problems with the Spliterator. The concatenated Stream seems to have ...
common-pile/stackexchange_filtered
Android studio, Bluestacks Installation failed due to: 'closed' I am trying to build an android app using bluestacks (my phone died) Android studio can see the emulator in the devices list but when i try to run my app, android studio throws this error: Installation did not succeed. The application could not be installe...
common-pile/stackexchange_filtered
QComboBox stylesheet left margin without side-effects I would like to add a 5px left margin outside a QComboBox. How to do it in such a way that combobox height and the appearance of the dropdown button would remain untouched? Without any margins: QComboBox#commandComboBox { } it looks like this: After adding a left...
common-pile/stackexchange_filtered
Counting the number of lines of code that have been commented out I use CLOC to count blank lines, comment lines, and physical lines of source code in many programming languages: However, in some projects, a fair amount of comment lines are in fact lines of codes that have been commented, e.g. in: static void findSy...
common-pile/stackexchange_filtered
Is “every cat is identical to some mammal” logically equivalent to “every non-mammal is identical to some non-cat”? a stands for every e stands for some n stands for negation R stands for relation Addition stands for disjunction Multiplication stands for conjunction C stands for cat R stands for is identical to M stan...
common-pile/stackexchange_filtered
Url Rewrite to new url <rule name="WC2018" stopProcessing="true"> <match url="^product/sb/sales.htm" /> <action type="Rewrite" url="product/sb/market/sales.htm" /> </rule> Above is the url rewrite that i do, the original link is product/sb/sales.htm I need to rewrite it to product/sb/market/sales.htm ...
common-pile/stackexchange_filtered
Data is not flowing down to prop I am having an issue getting data to flow down to my props to where when component rendered, the props are not displaying. This is the container that contains my RecipeList Component *---Note: I am getting my data asynchronously from a api btw * import { postRecipes } from '../actions/p...
common-pile/stackexchange_filtered
Given a Voronoi diagram created in $\mathcal{O}(n)$, is it possible to find the closest pair of points in $\mathcal{O}(n)$? So given a set of points n there is a Voronoi-diagram given which was created in $\mathcal{O}(n)$. Now is it possible to find the closest pair of points of this set in $\mathcal{O}(n)$? I know th...
common-pile/stackexchange_filtered
pdf.js: PDF file from servlet which requires a variable I am using pdf.js to view PDF files in my GWT application. I've implemented the viewer exactly as the product of a build operation as described on the readme. When I use the viewer with a static pdf, this works fine. When I supply the link to a servlet that serves...
common-pile/stackexchange_filtered
Function for reading of the JPEG DCT coefficients by python import jpeglib im = jpeglib.read_dct("golet.jpeg") Luminance = im.Y print(Luminance) I need to print luminance i get this error: TypeError: DCTJPEG.init() got an unexpected keyword argument 'path' note: my image in the same folder of this code I try to get or ...
common-pile/stackexchange_filtered
Handeling Dictionary of lists using Python I have a single dictionary that contains four keys each key representing a file name and the values is nested lists as can be seen below: {'file1': [[['1', '909238', '.', 'G', 'C', '131', '.', 'DP=11;VDB=3.108943e02;RPB=3.171491e-01;AF1=0.5;AC1=1;DP4=4,1,3,3;MQ=50;FQ=104;PV4=0...
common-pile/stackexchange_filtered
What is correct way to use "Habe ich" and "Ich habe"? please help me with this I am waaay to much confused about this and this is apparently way too easy Maybe this helps: https://en.wikipedia.org/wiki/V2_word_order “Habe ich” Its used in questions that are about you in your perspectiv or as a (elliptical) answer. It...
common-pile/stackexchange_filtered
How to detect and predict sensor faults and failures (for weather stations to be specific)? Need help. Especially those knowledgeable in weather systems/meteorology. Best approach in detecting and predicting faulty weather sensors and their failures based on their readings alone? I'm doing a project regarding detection...
common-pile/stackexchange_filtered
Cron Job SQL Check New User This is more of a is it possible question rather then a technical question. I've got a tender asking if its possible to check a old user database and if there's new users then add it to the new Joomla User database table. I thought the best way would be to use a cron job but I don't underst...
common-pile/stackexchange_filtered
how to update the badge value during application loading? In my application i need to show the badge value depending on the cart items count and i had implemented the below lines in the view controller which i am getting the data using json and the badge value was not loading whenever the view controller was displayed ...
common-pile/stackexchange_filtered
When is $T$-Alg monoidal closed? Given a category $\mathcal{V}$ and a monad $(T,\eta,\mu)$, what would be the sufficient conditions on $\mathcal{V}$ and $T$, for the category of $T$ algebras to be monoidal closed? (I'm pretty sure that Kock proved that, if $T$ has strength and is commutative, then $T$-alg is closed; c...
common-pile/stackexchange_filtered
EntityFieldQuery condition How can i ommit an condition in Entity Field Query if variable do not exist, for example ->fieldCondition('field_filter_color', 'tid', $filter_color) Recieves in $filter_color one term id. But there are situations where $filter_color is not present, so i would like to do: if $filter_color is...
common-pile/stackexchange_filtered
How to calculate the world position of pixels in an HLSL script? I want to make a simple ray marching loop in the fragment shader. I think the main issue is that I'm not giving the correct world position input. Here is my current attempt: Shader"SDF"{ Properties{ _MainTex ("Texture", 2D) = "white" {} } SubShader{ Pass{...
common-pile/stackexchange_filtered
Xpath selector not working in IE but working fine in Chrome and Firefox I am using following xpath to click on element using JSExecutor in Selenium webdriver. This works fine in Firefox and chrome but does not work in IE. Any idea to make this work? After lot of trial and error I have made this work in FF and chrome an...
common-pile/stackexchange_filtered
What's the meaning of "push through"? (Could you please explain it in the text below?) The main text is: People who wear exercise watches become trapped in a cycle of escalation. 10000 steps may have been the gold standard last week, but this week it's 11000. Next week, 12000 ... That trend can't continue forever, but ...
common-pile/stackexchange_filtered
Retrieve taxonomy terms from ContentItem in Orchard I'trying to retrieve the full list of taxonomy terms from a ContentItem doing something like this: var product = Services.ContentManager.Get<ContentItem>(33); foreach (var term in product.TermsPart.Terms.Where(x => x.Field == "MyIndex")) { ... } Can someone help...
common-pile/stackexchange_filtered
How does C treat struct assignment Suppose I have a struct like that: typedef struct { char *str; int len; } INS; And an array of that struct. INS *ins[N] = { &item, &item, ... } When i try to access its elements, not as pointer, but as struct itself, all the fields are copied to a temporary local place? for ...
common-pile/stackexchange_filtered
How can i remove unused iCloud keys from entitlements using ionic config.xml or an azure DevOps task? i'm having this error when trying to archive my xcode project on azure devops. error: exportArchive: exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of {Development, Production}, but no val...
common-pile/stackexchange_filtered
call static void How do I call my function? public static void dial(Activity call) { Intent intent = new Intent(Intent.ACTION_DIAL); call.startActivity(intent); } Obviously not with: dial(); /*Something should be within the brackets*/ Try to pass this as argument (provided you start from an Activity of co...
common-pile/stackexchange_filtered
How to access the native android scrollview listener from nativescript angular? Iam working android and ios application using nativescript application,I was created the customised scrollview with extending android.widget.ScrollView in nativescript angular and i had listeners inside the scrollview.I want to set my custo...
common-pile/stackexchange_filtered
Taking a ScreenShot of SurfaceView with Camera Preview in it I am trying to Implement a Functionality that includes taking Pictures While Recording Video. That's the reason i have concluded to use the Screenshot approach of SurfaceView. However, when i try to take the Screen Shot of SurfaceView. I am always getting a B...
common-pile/stackexchange_filtered
Iterators and iterables I was reading a book about python (beginning python, from novice to prefessional, 3rd edition) and noticed the following sentence which has confused me considering that I am a beginner "in many cases you would put the iter method in another object which you would use in the for loop, that would ...
common-pile/stackexchange_filtered
guice servlet is not a singleton something awful is happening i have 2 servlets in my project - one of them simply has a post method and is responsible for handling file uploads. i recently added the other one - it has a get and a post method. here is the 2nd servlet code @Singleton @WebServlet("/Medical_Web") public ...
common-pile/stackexchange_filtered
How to customize make:auth in laravel 5.4? make:auth generated register page accepts name,email,password . i would like to add additional fields dateofbirth,address. How can i add more fields? Override the default register() method in RegisterController. If you don't see any register() method, create a new one and wri...
common-pile/stackexchange_filtered
Data binding in b-card title How can I data bind a data in the the title of a b-card in bootstrap-vue <b-card header="{{month}}} test runs" header-tag="header"> Currently this is what I have and I got an error What error? Have you tried :header="month"? I want to combine the month data and "test runs" text Try ...
common-pile/stackexchange_filtered
Selecting single attribute of elements from a list object based on another Hashset's element I have a list object type of some class, class person { public string id { get; set; } public string regid { get; set; } public string name { get; set; } } List<person> pr = new List<person>(); pr.Add(new person { ...
common-pile/stackexchange_filtered
How to get push notification on/off status programmatically to send it to my webserver? I have implemented push notification in my app sucessfully using GCM. I Am using my dotnet webserver to send push message to my app vai GCM Server. I have stored GCM Registered Id in database on my server. Now I want to check that i...
common-pile/stackexchange_filtered
Why is the Chinese Room argument such a big deal? I've been re-reading the Wikipedia article on the Chinese Room argument and I'm... actually quite unimpressed by it. It seems to me to be largely a semantic issue involving the conflation of various meanings of the word "understand". Of course, since people have been ar...
common-pile/stackexchange_filtered
Problem in understanding the proof of "every nonempty set of natural numbers has a smallest member". I was reading Real Analysis by Royden and Fitzpatrick; there the authors introduced the theorem Theorem 1: Every non-empty set of natural numbers has a smallest member. Then Proof: Let $E$ be a non-empty set of natur...
common-pile/stackexchange_filtered
Checkbox's isChecked getting NullPointerException I have an activity with 6 fragments(Swipe disabled). For each fragment I have 2 button( next and previous) which move to 1 fragment next and previous perfectly. I have 2 checkboxes which I need to check if they are checked or not before migrating to next activity. But I...
common-pile/stackexchange_filtered
Rstudio will not knit Rstudio will not knit. I have been using it for a few weeks in a course. When I try to knit it executes until it comes to some code and it stops. The code is ggplot(data = gss, aes(x = year, fill = degree)) + geom_bar() The message is could not find function "ggplot" This happens with ot...
common-pile/stackexchange_filtered
Two-point Green for Free Dirac Fields I am trying to compute the $2$-point Green function $\tau_2(x,y)$ for free Dirac fields. The corresponding formula for $\tau_2(x,y)$ is given by $$\tau_2(x,y) = -\frac{\delta^2}{\delta\eta_x \delta \bar{\eta}_y} \, Z_0[\eta_w, \bar{\eta}_z],$$ where $Z_0$ is the generating function...
common-pile/stackexchange_filtered
hibernate - How to get select within a select using Criteria I have the following mysql statement SELECT * FROM (SELECT * FROM NINJA ORDER BY NAME LIMIT 0,5) AS TABLE ORDER BY NAME DESC. I don't know how am I gonna convert it into hibernate criteria. The reason Im doing this kind of select statement is to get the firs...
common-pile/stackexchange_filtered
how do I calculate the Roche limit for a body that is only partially fluid? I want to calculate the Roche limit for the Earth/Moon system. The general equation given is: $$d = C \cdot r_p \cdot (\rho_p / \rho_s)^{1/3}$$ where $d$ is the roche limit, $r_p$ is the radius of the primary (Earth), $\rho_p$ and $\rho_s$ are ...
common-pile/stackexchange_filtered
Problem reading a file containing decimals Im having a problem trying to figure out why my file is returning 0's instead of the numbers inside the file, here is the code I did in C++ on reading a file: #include <cstdlib> #include <iostream> #include <fstream> #include <string> using namespace std; ...
common-pile/stackexchange_filtered
Support different versions of a third-party library for different OS how to support to vendor libraries. Apart from file changes, and APIs, the new version is 64 bit whereas the old is 32 bit What's the best design and implementation effort to support two version of a library. Lets call them Lib_v1, and Lib_v2. We wan...
common-pile/stackexchange_filtered
Segmentation Fault Before function is even called When I try executing this code, the code crashes before the cout statement in print_array even executes. I have no clue why ! However, if I comment out the call to mergesort in the main function, the print_array executes fine. #include<iostream> using namespace std; voi...
common-pile/stackexchange_filtered
Voice recording in 8000hz,16bit,mono wav format is possiple in html5 HI I want to creating web application for voice recording i need to capture voice in 8000hz,16bit,mono and pcm wav format it's possiple in html? HTML alone, no. You will need some JavaScript as well. @DJDavid98 Did You refer any javascript?
common-pile/stackexchange_filtered
error: The argument type 'Color' can't be assigned to the parameter type 'MaterialColor'? primaryColor: const Color(0xff090C22), colorScheme: ColorScheme.fromSwatch( primarySwatch: Color(0xff090C22), ), ), I want that specific color to change the appbar color and to be the primary colo...
common-pile/stackexchange_filtered
Unable to fetch item using getitem method I was trying to access item using getitem method from SOAP service. Sitecore.Data.Items.Item item = Sitecore.context.Database.GetItem(<ID>) But Item is null. I tried to fetch using Id and path also. And checked the connection strings as well. Does the SOAP service need to have...
common-pile/stackexchange_filtered
Running a Query that returns the first instance of each ID sorted alphabetically by another column I know this may sound a little confusing, but basically I have a query returning a set of "Cluster Names" and "IDs". I want to have the query only select one row for each ID, based on the "Cluster Name", sorted alphabetic...
common-pile/stackexchange_filtered
Statistical model of a website I know that HMMs can be used to construct statistical models of text. Thus, we can generate text according to this model, and compute the likelihood of a text sample under the model. What tools are used to construct statistical models of websites or webpages? Basically, it means things li...
common-pile/stackexchange_filtered
Iterate through List from Controller to View Ok. so I have this controller that retrieves the user password. Function ViewUsers(ByVal users As Users) As ViewResult Dim pwordList = New List(Of String)() Dim passdecList = New List(Of String)() Dim pwordQuery = From pword In db.UsersDB ...
common-pile/stackexchange_filtered
Existing Seaborn jointplot add to scatter plot part only Is there a way to create a Seaborn Jointplot and then add additional data to the scatter plot part, but not the distributions? Example below creates df and Jointplot on df. Then I would like to add df2 onto the scatter plot only, and still have it show in the leg...
common-pile/stackexchange_filtered
Systems of equations in ConTeXt In LaTeX+amsmath, I can say \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \left\{ \begin{aligned} px-y-4&=0\\ 2x-2y-6m&=0 \end{aligned} \right. \end{equation*} \end{document} to get an aligned system of equations with a brace on...
common-pile/stackexchange_filtered
How to paint only DataGridView's cell background not its content? i need to paint only background of DataGridView cell not its Content.But while i'm doing painting it paint its content too.Please help me out. My code goes like this. private void Daywisegrid_CellPainting(object sender, DataGridViewCellPaintingEventArgs...
common-pile/stackexchange_filtered
How to fix the ElementNotVisibleException in Edge browser using Selenium? I am currently testing a GWT web application similar to MS Paint and the problem which I am facing is that my test case passes on the browsers like Chrome, Firefox, and IE but sadly, it fails in the Microsoft Edge browser. I am unable to find out...
common-pile/stackexchange_filtered
Trouble installing Kinetic on Ubuntu 16.04 I've followed these instructions exactly: http://wiki.ros.org/kinetic/Installation/Ubuntu I've tried changing the Download from: setting in Software & Updates from Main Server to Server for United States. If I use Main Server, I get an unmet dependencies error and ros-kineti...
common-pile/stackexchange_filtered
Find the tangent plane for $\sqrt{1-x^2-y^2}$ at $(\frac{1}{2},\frac{1}{2},\frac{1}{\sqrt{2}})$ Find a function whose graph is the tangent plane to the graph at the indicated point. Sketch the graph of the function and the tangent plane near th epoint of tangency. Tangent plane formula: $$z = f(a,b)+(x-a)\frac{\partial...
common-pile/stackexchange_filtered
How to split the multiple json objects present in a json array in Apache NiFi? Example Input is below: I need to split JSON objects present in a JSON array into individual JSON files using Apache NiFi and publish it to a Kafka Topic. There are multiple JSON objects present in the below array [ { "stops": "1 St...
common-pile/stackexchange_filtered
Proof of the Compactness Theorem for propositional logic by topological compactness I'm reading Russ's proof of the compactness theorem, wherein we suppose $\Gamma = \{\phi_1, \phi_2,...\}$ is a set of propositional sentences with all of the propositional variables chosen from $V = \{p_1,p_2,...\}$. We identify $2^V$ ...
common-pile/stackexchange_filtered