text
stringlengths
70
452k
dataset
stringclasses
2 values
Duplicate symbol '_hasListeners' react native I'm currently working on a project that requires both BLE and iWatch integration but for some reason when I install libraries to do both, I get this error duplicate symbol '_hasListeners' in: /Users/wilcox/Library/Developer/Xcode/DerivedData/project-id/Build/Products/Debu...
common-pile/stackexchange_filtered
How to set Acks=all in properties file spring boot I want to set acks=all property for my producer in my spring cloud stream kafka application. I had tried like this : spring.cloud.stream.kafka.binder.requiredAcks=all and spring.cloud.stream.kafka.streams.binder.configuration=all and spring.cloud.stream.kafka.stream...
common-pile/stackexchange_filtered
Can I transit through Germany with an unused Schengen visa issued by Spain? I am a Indian citizen, traveling to Mexico via Frankfurt (from Mumbai) with a multiple-entry Spanish Schengen visa. (The return journey would be Mexico-Munich-Mumbai.) As per official Mexican Visa authorities (link doesn't work anymore, but her...
common-pile/stackexchange_filtered
Zend setRawHeader I have IndexController. I need to set raw header in indexAction. I try to make function indexAction(){ $this->getResponse()->setRawHeader('HTTP/1.1 404 Not Found'); } But I see in Google chrome status 200 OK. How set raw header? To set a 404, use: $this->getResponse()->setHttpResponseCode(404) ...
common-pile/stackexchange_filtered
Connecting to SQL Server LocalDB in Delphi I have a .mdf database file, I want to connect to this file with ADOConnection and SQL Server LocalDB as provider My connection string looks like this : Data Source=(localdb)\v11.0;Integrated Security=SSPI;AttachDbFileName="MyMDFFileAddress"; But when I try to connect, this e...
common-pile/stackexchange_filtered
How Android renders layouts I am wondering, in Android, when you specify setContentView(R.layout.some_layout); thing to note from docs: This view is placed directly into the activity's view hierarchy in which way Android renders all views in R.layout.some_layout? How does Android calculate all the dimensions of view...
common-pile/stackexchange_filtered
Matching biblatex in two machines I have a latex document that I have to compile in two different computers throughout the day. In one of them I have Arch Linux and the other one I have Linux Mint. So the packages are different since Arch is much more up-to-date. The problem comes when doing the references. I was using...
common-pile/stackexchange_filtered
Excel: how to remove leading characters of a string with a function? I have a text column in Excel full of hexademical values like this: 0000000000000c10 00000000000036f0 00000000000274da 00000000000379e0 Which function can help me strip the leading 0's up until the first non-0 character? Desired output: c10 36f0 274d...
common-pile/stackexchange_filtered
ggplot spatial data and ggsave unique id's in a for loop I have a dataset with watersheds across 3 provinces. Each watershed has a corresponding shapefile, and score from 0 to 1 for ecosystem disruption under 3 rcp (climate projection models). Here is the head of my dataframe: ws rcp ecodisrup ...
common-pile/stackexchange_filtered
Android Aidl Compile Error: couldn't find import for class (I know there're multiple questions on stackoverflow and elsewhere (like google group) about adding parcelable for NetworkInfo but this is not about that.) My work is under $(AOSP_ROOT)/device/ and involves multiple aidl files. one of it is like, package com.ex...
common-pile/stackexchange_filtered
How can i change calender view code from d3 v3 to v5? I'm having a trouble with when i want to change calendar view code (https://github.com/mohans-ca/d3js-heatmap) in d3 from v3 to v5. I changed some parts in code like d3.timeFormat, d3.scaleLinear but there are also some missing points. In version3 the code which i c...
common-pile/stackexchange_filtered
Macro to remove ASCII code Any idea if there is a Excel macro to remove ASCII code such as & #148; and so on. There is a function like CLEAN for non-printable characters to do it? please clarify your question. Do you want to remove all #148 characters from cell, entire worksheet / workbook? Please also share what ha...
common-pile/stackexchange_filtered
Win7 shortcut targets not changing I have Win7 installed on an HDD (C drive) that has all my stuff on it. Recently I bought an SSD (E drive) and today I have been migrating things over. I changed the registries so that C is my default installation drive using this guide. My problem is that some of my desktop shortcut's...
common-pile/stackexchange_filtered
How to model a one-to-one relationship in JPA when the "parent" table has a composite PK? While there is plenty of information around on how to model, in JPA (2), a one-to-one relationship OR an entity having a natural key, I haven't been able to find a clear / simple answer to how to model the situation where we have ...
common-pile/stackexchange_filtered
How to send file in Android with Asmack+Openfire? could you please send me the code to send file using Asmack + openfire. I tried, but I am getting error like error code="503" type="cancel. Please, help me. i did all as you said, still its not working. Ok check this http://stackoverflow.com/questions/21721605/asmack-...
common-pile/stackexchange_filtered
Kii not working on unity android build I want to use Kii(Cloud) as backend for my Unity Android game. Everything works fine on my computer. I added some users, a few global buckets and used queries to filter information from them. The problems start when I try to start the .apk on my phone. The app itself starts, but...
common-pile/stackexchange_filtered
How to get max values for each unique value in a different column in Google Sheets? I have two columns, the first column (A) has names and the second column (B) has values. A B apple 10 orange 12 orange 14 apple 8 Is there a way to get only rows with unique names from A AND max values from B? So the r...
common-pile/stackexchange_filtered
Create Superuser who can access more than one Schema in oracle 11G I have two Schema Schema-1 and Schema-2. I want to create one super User Who can access both Schema(Schema-1 and Schema-2). I want to create a user with command in oracle 11g. It is possible? See https://stackoverflow.com/questions/9447492/how-to-creat...
common-pile/stackexchange_filtered
Spring Security - No visible WebSecurityExpressionHandler instance could be found in the application context I am having trouble displaying a logout link in a JSP page only if the user is authenticated. Here is the exception I have at this line of the JSP page: <sec:authorize access="isAuthenticated()"> Exception: Sta...
common-pile/stackexchange_filtered
How to send iMessage on AppleScript? I want to send an iMessage using AppleScript, and Python. Code is compiling, but no messages are being sent. script = """tell application "Messages" send "TEST TEXT" to buddy "1xxxxxxx" of service<EMAIL_ADDRESS> end tell""" def script_run(script): applescript.run(script) script...
common-pile/stackexchange_filtered
Does MySQL view always do full table scan? I'm trying to optimize a query which uses a view in MySQL 5.1. It seems that even if I select 1 column from the view it always does a full table scan. Is that the expected behaviour? The view is just a SELECT "All Columns From These Tables - NOT *" for the tables I have specif...
common-pile/stackexchange_filtered
How to stop auto complete in Visual Studio 2013 C# I'm having trouble with the auto completion in Visual Studio (C#), because it keeps completing stuff I dont want it to. For example if I do int x = z; Then when I press z it suggests "DivideByZeroException", and if i press ; then it chooses this completion. I only want...
common-pile/stackexchange_filtered
AddForce changes behavior based on location I'm trying to make an enemy jump toward its target to attack using AddForce, but just how much force is added seems to depend greatly on where in the scene the entities are (see video). What could the issue be? void Start(){ ani = GetComponent<Animation>(); agent = Ge...
common-pile/stackexchange_filtered
remove all anchors except it's contents? I found that sometimes this code returns NotFoundError: An attempt was made to reference a Node in a context where it does not exist. $('a').replaceWith(function() { return $.text([this]); }); Is it complaining about a case when the anchor does not have any text node? perha...
common-pile/stackexchange_filtered
Disable double at(@) sign in exim How do I disable double at sign in message-ID? because of the double at, my e-mails are entering recipients spam folder: 001d01d2d093$7154f9d0$53feed70$ @ USER @ domain.tld in the log, I see the above message header, and the mail-tester.com, notes this issue "Message-ID contains mu...
common-pile/stackexchange_filtered
React useEffect repeats an action several times I have a form with next fields: A drop-down list that allows to choose a branch + A city that is automatically selected according to the branch selected. A calendar component that allows to select a date + A details about the date that automatically displays, such as whe...
common-pile/stackexchange_filtered
Error related to scriptDatabaseOptions when generating scwdp using Azure Toolkit Sitecore Azure Toolkit 2.7.0 and 2.8.0 Trying to convert a module package into an scwdp package using the following command: $package = "C:\temp\MyModulePackage.zip" ConvertTo-SCModuleWebDeployPackage -Path $package -Destination $destinat...
common-pile/stackexchange_filtered
D3 SVG Tree Graph with different symbols for nodes So, I want to render different symbols for node points on a tree graph. Which isn't too bad, I have the following code that can do that: nodeEnter.append("path") .attr("d", d3.svg.symbol() .type(function(d) { if (d.type == "cross") { return "cross"; } else if (d.type =...
common-pile/stackexchange_filtered
Custom project template with xcode 4.5 I have been searching for topics related to custom project template creation with xcode 4.5. None have been appropriate and concise. Firstly I cant locate the default templates folder with xcode 4.5 and OS X 10.8 (guess it is hidden by default) and secondly , the steps to create a...
common-pile/stackexchange_filtered
ios - simulator started opening in horizontal view. How to get it to go back to default portrait view? I have a strange thing that recently happened. The simulator keeps starting in horizontal view. Is there a setting to make it start in portrait view? I keep digging around for that setting but can't seem to locate it....
common-pile/stackexchange_filtered
How to modify the links that appear on Asset Publisher portlet? The requirement is as follows, When a new web content(corresponding to a particular structure, say A) is published, it should automatically get updated on the Asset Publisher portlet (default functionality of Asset Publisher). By default the Title of the w...
common-pile/stackexchange_filtered
How to use properly my unique LAMBA formula instead of a copied down formula? I try to use a MAKEARRAY/LAMBA so I don't have to use a copied down formula but I struggle. In the example below I try to retreive an array of country in H2:H corresponding to dishes G2:G. Good to know : Columns (Countries) B2:E2 may extend, ...
common-pile/stackexchange_filtered
pandas.Series inducing KeyError in pyplot.hist I generate a Dataframe. I pull a Series of floats out of it, and plot it in a histogram. Works fine. But when I generate a sub-series of that data, using either of the two descriptions: u83 = results['Wilks'][results['Weight Class'] == 83] u83 = results[results['Weight C...
common-pile/stackexchange_filtered
What's the prediction algorithm behind websites like farecast.com (bing travel)? I think everything is in the title of the question: What's the prediction algorithm behind farecast.com (bing travel) ? The website : http://www.bing.com/travel/ originally named http://farecast.com before it was bought buy bing is a websi...
common-pile/stackexchange_filtered
Google Analytics Dynamic event value. What's wrong with this code? Any suggestions as to why this dynamic value will not report report in GA? To start: I have created a way to split the URL parameters up so that I can insert the value from the URL that I want into the Google Analytics event onclick tracking. This is a...
common-pile/stackexchange_filtered
Configure maven-surefire-report-plugin to read from multiple source directories I have configured surefire to use different output directories based on CPU count: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <forkCount>3C</forkCount>...
common-pile/stackexchange_filtered
iOS - singleton is not working as supposed in delegate Currently I'm working on an app that uses four protocols for communication between classes. Three are working fine, but one is still not working. I've set it up same as the others but the delegate is always losing its ID. I'm quite new to Objective-C so I can't get...
common-pile/stackexchange_filtered
how to change value of html element by classname using javascript Here is the code i am using to change value of html element *** <a class="classname" href="Vtech.com"> This text to be chnage</a> <script type="text/javascript"> document.getElementsByClassName("classname")[0].innerHTML = "aaaaaaqwerty"; </script> how...
common-pile/stackexchange_filtered
Merge or Concat Dataframes using Pandas Simplified. I have 2 dataframes that I would like to merge/concatenate/join together into one using the following scenario as framework. df1 looks like C1 C2 C3 0<PHONE_NUMBER>.0<PHONE_NUMBER>.0 YQHDK 1<PHONE_NUMBER>.0<PHONE_NUMBER>.0 YQHJW ...
common-pile/stackexchange_filtered
window.gapi.auth2.getAuthInstance().signIn doesn't send callback in Safari We embedded Google OAuth button inside iframe. When user loads a page with this iframe, clicks Google button from that iframe, window.gapi.auth2.getAuthInstance().signIn fires and new window appears. User enters email, password and submits form....
common-pile/stackexchange_filtered
How to block access to all VSTS accounts except our work VSTS account My company want to get VSTS. But they do not want users to be able to access their personal VSTS accounts at work. They are concerned that users will upload source code to their personal VSTS accounts and download it at home. Or worse, they are worri...
common-pile/stackexchange_filtered
Longest path in a graph with special property I have a special graph in which I have two types of edges only, say one with type 0 and one with type 1. Now I have to find a longest path in the graph such that it starts with a vertex then follows as many type 0 edges as it can and then again start with a vertex and follo...
common-pile/stackexchange_filtered
Delete newly added files when shelving them When shelving a set of changes, I uncheck "Preserve pending changes locally". The changed files revert to their previous version, but the newly added files remain in my project directory. To keep working on the application without these new changes, I then have to manually de...
common-pile/stackexchange_filtered
How to pass javascript prompt value to a view Is there a way to pass a js popup value directly to a python/django view, or is necessary to capture this value with a javascript function and then do an ajax call? For example: <form> <input type="text" name="name"/> <input type="submit" id="submit"/> </form> <scr...
common-pile/stackexchange_filtered
Simple yet so hard: Jquery and scroll Okay, so I am trying to do a couple of things: Create a list with an id and underlying paragraphs Assign text that is found in the DOM to each of the list paragraphs Assign an id to some of the h2 paragraphs the DOM use that id to automatically scroll down the page(yes i know t...
common-pile/stackexchange_filtered
How to create a log of each function which was called while my server was running? for debugging purposes How can I create a log of each function that was called while my server was running, for debugging purposes? I am trying to understand and debug the source code of a node library (specifically y-websocket). I am ru...
common-pile/stackexchange_filtered
Update statement not working within Cursor & While block I am trying to execute an Update statement on a table. This statement is placed within Cursor and While block. I have checked in debugger and the values are coming into the statements and variable, still the update is not putting values into the table fields. Ple...
common-pile/stackexchange_filtered
Json data not well formated error json data not binding into table controller code $http( { method: 'post', url: 'Service.asmx/WPGetDS', data: $.param({ as_sql: "select * from testtab", strConKey: "Etech" }), dataType: 'json', ...
common-pile/stackexchange_filtered
How do I get the name of a subclass when annotating the method of a parent? I wrote a method decorator to log some information about a class. It mostly works as expected but has one issue. I want it to log the name of the effectively running class, but it logs the name of the abstract parent class. Here is the decorato...
common-pile/stackexchange_filtered
systemd start service after another one stopped issue I have 2 services that i need to start. First service has download jobs required for second service. First service [Unit] Description=First After=network.target Second service [Unit] Description=Second After=First Problem is they both start at the same time, i ne...
common-pile/stackexchange_filtered
Modifying rewrite rules in subfolder when RewriteBase / is enforced I'm trying to add watermark to images on my site. It worked for me on my local test PC, but on the hosting, they enforce RewriteBase / which seems to complicate things a bit. .htaccess placed in /images/stories/virtuemart/product/ folder does work a...
common-pile/stackexchange_filtered
activemq start suppresses stdout/stderr when using AMQ 5.6 and starting the broker using ./activemq start...where does the stdout/stderr go? I expected it to show up in the /data/activemq.log file, but it doesn't...is there are way around this with a tweak to the log4j or JavaServiceWrapper config perhaps? When I sta...
common-pile/stackexchange_filtered
Scheme in the header: logo , slogan, image, etc, Should I use containers or not? I want to create a schema like this: I'm wondering if it is better create a div container for logo and slogan or not.. I'm wondering also if it is better create a div container for telephone icon, phone1, phone2 and facebook button or no...
common-pile/stackexchange_filtered
Use Companion object in kotlin android is a good practice? I have ever used Java to programming in android, but a few weeks ago I started to learn kotlin, when I use Java I tried to use object oriented approach and use the less possible static objects or instances, so when I see some materials in internet about some im...
common-pile/stackexchange_filtered
MongoDb direct client connections I have a c# client application which connects directly to a Mongodb server with the 10gen c# driver. In terms of pure number of connections that can be held is it sensible to have clients connect directly to the db? Could too many clients swamp the db and crash it? is it more sensible ...
common-pile/stackexchange_filtered
How std::shared_ptr is deallocated? When does memory deallocation occur in the code below? #include <memory> int main() { auto p = std::make_shared<int>(5); std::weak_ptr<int> wp = p; p = nullptr; return wp.lock() == nullptr ? 0 : 1; } As follows from this post std::make_shared performs...
common-pile/stackexchange_filtered
TFS PowerTools Proxy Authentication Required HTTP code 407 Am behind a corporate proxy server and when attempting to use TFS Power Tools 2015 to view history or indeed any operation from the explorer extension I get a "HTTP code 407: Proxy Authorization Required" when connecting to Visual Studio Team Services online @ ...
common-pile/stackexchange_filtered
Why is only one of my two modals showing? I have two modals on the same page. One of them shows just fine. The second one, however, doesn't show. Only the dark "opacity" screen shows, but not the modal itself. I've read other posts and nothing seems to work for me. Here's my codepen <script src="https://cdnjs.cloudf...
common-pile/stackexchange_filtered
Nginx - Proxy subdirectory to remote server I have two servers (server1 and server2) listening for the same domain name. Let's say www.example.com. server1 acts as the main one, where the domain itself is pointed to. What I'm trying to do is proxy all requests to a specific subdirectory on server1 to server2 This is my...
common-pile/stackexchange_filtered
How to get to Release web.config file How do I get to release web.config ? I am using Visual Studio 2012 and I cannot seem to find how to get to it. Right click on your web.config file, click "add config transforms" to create the configuration transformations for each of your solution configuration. Then to preview th...
common-pile/stackexchange_filtered
How to concatenate fields using lightning:dataTable? I would like to combine the Account Name and Industry fields and display the values. Can someone please help? component.set('v.mycolumns', [ {label: 'Account Name', fieldName: 'Name', type: 'text'}, {label: 'Industry', fieldName: 'Industry...
common-pile/stackexchange_filtered
Understanding function pointer declaration I have to describe the following code: char *(**f[][]) (); I understand the "char *" at the beginning and the "()" at the end: It's a function which doesn't have arguments and returns a pointer to char. But what does " ( * * f [ ][ ] ) " mean? Can anyone help me please?...
common-pile/stackexchange_filtered
Custom theme typography in mat-toolbar I'm theming my app defining colors and typography. But it's not working for the heading in my app header component based on mat-toolbar. My theme is overridden by default theme css rules for .mat-toolbar h1. index.html <html> ... <body class="mat-typography"> ...
common-pile/stackexchange_filtered
Show that $\alpha^2 + \alpha - 1$ is a zero divisor in $R$ Studying for my algebra exam and looking through old exam exercises I came across the following problem Let $f = X^4 + 1$, $g = X^2 + X - 1 \in \mathbb{F}_3[X]$ and $\alpha = X + \langle f \rangle \in \mathbb{F}_3[X]/\langle f \rangle$. a) Find a polynomial $h ...
common-pile/stackexchange_filtered
Integer Literals in WebAssembly Binary I am using this demo to understand how WebAssembly text format is compiled into binary. One thing I don't understand is the integer literals used in i32.const and i64.const. For instance, the code for i32.const -1 is as follows: 0000024: 41 ;...
common-pile/stackexchange_filtered
How to get the list of applications suitable for routing from the user’s device? Is there any way to check if user has a certain app (google.maps, yandex.maps or native maps) on his/her device to make a list of apps suitable for routing? No you cant do this! Imagine this would be possible: Apps could use this informat...
common-pile/stackexchange_filtered
Cluster reconciliation in the event of node loss I have a cluster of 3 nodes that I'd like to recover fast after a single node loss. By recovering I mean that I resume communication with my service after a reasonable amount of time (preferably configurable). Following are various details: k8s version: Client Version: v...
common-pile/stackexchange_filtered
Identify consecutive occurances and merge two data farmes This question relates to one posted earlier. I have 2 data.frames that I would like to merge. The two data.frames have different sizes (eg. dim (df1) =16533, 580 and dim(df2) = 2820 , 675`). The records were made on different days by different person/group of ...
common-pile/stackexchange_filtered
Scala: default value in case class constructor doesn't work I'm creating a case class with default-valued constructor: abstract class Interaction extends Action case class Visit(val url: String)(val timer: Boolean = false) extends Interaction But I cannot create any of its instance without using all of its parameters,...
common-pile/stackexchange_filtered
Query is taking lot of time... how to fix it? I have a table in my SQL Server database that has 6 columns as below CREATE TABLE Table1 ( VersionID int NOT NULL, EventNum int NOT NULL, LossLevelID int NOT NULL, PerspCode char(2) NOT NULL, Loss float NOT NULL ) Here first 4 columns are the composite ...
common-pile/stackexchange_filtered
Is there a way to determine whether a representation of a finite group is faithful? I want to determine whether a representation of a finite group is faithful from the character table. Is there a such general way or specific way for finite group of small order? Thank you for your answer. I understand the answer you re...
common-pile/stackexchange_filtered
How to set up a plotting loop correctly? im still a rookie struggling with the set up of a plotting loop (*.png files). "opening device failed". Honestly, I don't know how to handle that. My approach: names =list(Pic1,Pic2,Pic3,Pic4,Pic5,Pic6,Pic7,Pic8,Pic9,P10) for (i in 1:10){ mypath <- file.path("C:","Users",pas...
common-pile/stackexchange_filtered
How can I use `pgffor` to iterate through a database of keys and properly retrieve them I would like to create a command that stores a database. I then want to iterate over the database and print out the results to the document. This MWE shows two different approaches I've taken. But neither works. \documentclass{ar...
common-pile/stackexchange_filtered
SyntaxError for Flask apscheduler I am trying to launch a Flask App on AWS EC2 and I am trying to use flask-apscheduler to enable background threading. However, when importing the library, my code breaks. /etc/httpd/logs/error_log: mod_wsgi (pid=29266): Target WSGI script '/var/www/html/flaskapp/flaskapp.wsgi' canno...
common-pile/stackexchange_filtered
Should my flatmate remove her pets? I am living in a shared house in the NI, UK with five people. One of my flatmates has eight pet rats in her room for three months now. Me and the rest of my flatmates have concluded that our health is in risk. According to my contract and the rest of my flatmates contract, no pets ar...
common-pile/stackexchange_filtered
CodeMirror - Check if cursor is at end of line I set readonly lines in my editor this way: editor.on('beforeChange', function(cm, change) { if (~readOnlyLines.indexOf(change.from.line)) { change.cancel(); } } Where readOnlyLines is an array containing numbers of the lines to be readonly. The problem is...
common-pile/stackexchange_filtered
WinSock Send Multiple Request & Shutdown Issue I need to send multiple request (command) to server at port 55005. My first request get process successfully & I received out put also. But for second request it gives error (WSAESHUTDOWN - Error 10058). After first request I call shutdown(ConnectSocket, SD_SEND); Th...
common-pile/stackexchange_filtered
Error while writing Live Transcribing Phone Calls using Twilio Media Streams and Google Speech-to-Text We referred this link - twilio.com/blog/live-transcribing-phone-calls-using-twilio-media-streams-and-google-speech-text. in which the below mentioned part of the code gives us the error, //Create Stream to the Googl...
common-pile/stackexchange_filtered
I need some help formatting a file in an organized way I'm writing a program to update, delete and list all tools from a hardware store in a file. I'm able to update and list all the tools in the file but they are in a very unorganized format on the screen. Here is my code to output. Could someone give me an idea on ho...
common-pile/stackexchange_filtered
Visual Studio 2010 Code Coverage - Cannot find the back up file, created by instrumentation utility I am trying to run code coverage in VS 2010 and I am running into the following error. No coverage information is generated. Code coverage in-place instrumentation: Cannot fully backup the binary 'MyProject.dll'. Cannot...
common-pile/stackexchange_filtered
Binding TabItem Visibility I'm trying to have my TabItem Collapsed or Hidden. I've tried many solutions and none have worked. The Tab Item still remains If I may get some guidance please. one solution I've Tried <TabItem > <TabItem.Header> <StackPanel Visibility="Collapsed"> <TextBlock Text="Tran...
common-pile/stackexchange_filtered
How to design an architecture of a system as described by Uncle Bob? As per the "Software Architecture" explained by Uncle Bob, your architecture should be able to defer the framework and DB related decisions as much as possible. Consider an example of a Payroll system to be developed in Java. I assume that the core ap...
common-pile/stackexchange_filtered
Run multiple instances of gtkmm applications under linux I'm working on a c++ project that uses gtkmm libraries, each application is assigned an application ID during startup, this is required by Gtk::Application. because of that I'm not able to run second instance. How can I achieve the goal to run more instances? Yo...
common-pile/stackexchange_filtered
ffmpeg converting m4s to mp4 I'm working on DASH, trying to optimize QoE for the end user. I had a video and encoded it using ffmpeg into different bitrates and everything is fine, and the video is playable using dash. What I want is to combine the received segments from the users into one m4s and convert that m4s to m...
common-pile/stackexchange_filtered
Autofac: creating nested scopes per instance on-the-fly I would like to implement an application-wide container and a (nested) one for each project created by the user. I looked into Owned<T>, but then - as far as I could figure it out - my internal collection of projects would have to be <Owned<Project>> which I do no...
common-pile/stackexchange_filtered
Ajax Forms with rails 4, :remote => true and JQuery - What are the Best Practices? I'm building a multi-part form with ajax in Rails 4, and I'd like to know if I'm doing this the correct way. Here's the strategy I've used so far. My controller is called ajaxform. At the top of my ajaxform_controller.rb, inside the cla...
common-pile/stackexchange_filtered
framework opencv2 missing module I created foo.framework including opencv2.framework with Embed Without Signing option. I can't used foo.framework in other project, because opencv2 missing module error enter image description here opencv2.framework is included module folder enter image description here but foo.framewor...
common-pile/stackexchange_filtered
Why do we need the event StreamSocketListener.ConnectionReceived when we use SocketActivityTrigger? StreamSocketListener is used in UWP Apps to make the App act like a Server, i.e. listen on a network port and respond when it receives a connection on that port. Thus, we assign a handler to the event ConnectionReceived ...
common-pile/stackexchange_filtered
Is a macroscopic pair where I observe one of them quantum entanglement? Of what little I know/understand about quantum entanglement can somebody confirm if the following experiment is a good analogy to quantum entanglement of pair of particles? PS: please don't laugh as this could be very very lame! I take an orange an...
common-pile/stackexchange_filtered
Parameter not valid when I retrieve image from database I want to retrieve an image from my database, but when application is running, I always get an error parameter not valid This is my code: void showPic() { konek.Open(); SqlCommand Show = new SqlCommand("Select Image from [Akun] where Username = '" + us...
common-pile/stackexchange_filtered
Is it possible to write Visual Studio 2010 macros in C#? Possible Duplicate: C# for writing macros in Visual Studio? Is there a way to write Visual Studio 2010 macros in C#? If not, any idea when this will be possible? http://stackoverflow.com/questions/1441944/c-for-writing-macros-in-visual-studio
common-pile/stackexchange_filtered
how to get value from another table I have the following query select sub1_s, IIf(([sub1_s]<15)," /math","") AS sub1_end And the following table (subject_minmum) english_m | math_m | scince_m | 12 | 15 | 10 | I changed the select command to get the value 15 like this sel...
common-pile/stackexchange_filtered
Is there a tool to obfuscate my transactions history by funneling it through a bunch of addresses I control? I occasionally gift ETH to friends and family and I'd like a bit of financial privacy after gifting them. I understand this method is not fool proof to find out the source of funds, but at least it defeats nosy ...
common-pile/stackexchange_filtered
How often does Ginter restock? Near Galaxy Hall, the merchant Ginter occasionally sells a random item at a fixed price. After buying an item, I can't buy from him again until he restocks with a different item. How often does Ginter restock his items? Will he restock with a different item if I don't buy his current item...
common-pile/stackexchange_filtered
Can't insert in a table or create a table in MySQL using Python I have a arduino uno and temp36. I read the sensor value from the arduino serial Monitor with Python. It works!! But I can't insert in a created MySQL Table using Python and I don't know why. I have no error or warning. import serial import time import M...
common-pile/stackexchange_filtered
Multiple Rails ORM We have a Rails 3 application with a PostgreSQL database (with ~10 tables) mapped by activerecord. Everything's working fine. However, we could also like to use: a MongoDB database in order to store images (probably with mongoid gem). a Neo4j database (probably with neo4j-rails gem) instead of Post...
common-pile/stackexchange_filtered
Distinction of del pezzo surfaces and weak del pezzo surfaces I am a bit confused about the definition of weak del pezzo surface. Can someone give an example that what kind of weak del pezzo surface is not a del pezzo surface? A surface $S$ is del Pezzo if $-K_S$ is ample. It is weak del Pezzo if $-K_S$ is nef and big...
common-pile/stackexchange_filtered
Connect to azure services (blob storage/servicebus) via a VPN We are planning to connect to azure servicebus and blob storage from multiple sites. Is it possible to connect to them through a VPN instead of directly over the Internet to improve the security of the connection? If it's possible can anyone advise how? Yes...
common-pile/stackexchange_filtered
WWF service - how do I make a service to be asyncronous? I want to create a service which receives a request from the client, adds the request to a database and than calls another WWF service ASYNCRONOUS which does some time consuming job withthe data from the database. How do I make a service to be asincronous in Wind...
common-pile/stackexchange_filtered
SAS: Print to Log AND View Live Log Window Simultaneously I understand that PROC PRINTTO LOG="C:TEMP\SAS LOG.TXT" outputs the entire contents of a SAS program log, but this also essentially leaves the log window blank while the program is running and I am unable to view the 'live' progress of the SAS program so to spea...
common-pile/stackexchange_filtered