text
stringlengths
70
452k
dataset
stringclasses
2 values
R trouble with enconding writing content to file I'm getting trouble with encoding writing content to file. It's a very simple case, and it's getting my head around for a few days. I've an R file named teste.R with the following code: teste <- function(fileContent, fileName) { fileConn<-file(fileName) writeLines(fi...
common-pile/stackexchange_filtered
Flow chart / Tree chart In Angular 8 I am trying to draw a chart/virtualization of the following. It is like a tree and flow chart concept mixed together. When the "add new" button is click, the line suppose to connect between the previous node and the parent node. Is there a library I can leverage on for Angular 8. Is...
common-pile/stackexchange_filtered
Concatenate multiple launchpad repositories I want to download many addresses at once with bzr branch, i tried several things, but nothing seems to be working. Tried a file.sh with this kind of structure: sudo bzr branch lp:~jmarquez/openerp-tecvemar/tcv_bank_deposit lp:~jmarquez/openerp- tecvemar/initial_stock lp:~...
common-pile/stackexchange_filtered
Hibernate OneToMany MySQLIntegrityConstraintViolationException: Duplicate entry I have two java hibernate entities: @Entity public class Match_soccer extends Match{ @Id @GeneratedValue(strategy=GenerationType.AUTO) private int mid; ... And other one: @Entity public class Algo { @Id @Generated...
common-pile/stackexchange_filtered
strange output from g_print I get the following error when I compile my code: file.h: In function 'add_new_set': file.h:7:53: warning: format not a string literal and no format arguments [-Wformat-security] g_print (gtk_entry_get_text ((GtkEntry *)((struct data *) callback_params)->entry)); here's my code: struct da...
common-pile/stackexchange_filtered
Move outlook item to archive I have a C# program (actually it's just a C# library that is being used by NUnit) that I wish to modify slightly which is based off of this article: How to Programmatically move items in outlook. I'm currently faced with a folder that has bout 3500 messages all around 350kb and is taking FO...
common-pile/stackexchange_filtered
Compute $\frac{d}{dx(t)}\int_0^Tx(\tau)^TAx(\tau)d\tau$ I need to compute: $$ \frac{d}{dx(t)}\int_0^Tx(\tau)^TAx(\tau)d\tau, $$ where $t\in (0,T)$, $A\in\mathbb R^{n\times n}$ and $x\in\mathbb R^n$. Using Leibniz differentiation under an integral sign, I have: $$ \frac{d}{dx(t)}\int_0^Tx(\tau)^TAx(\tau)d\tau = \int_0^T...
common-pile/stackexchange_filtered
Daily audit of logins with OSX I would like to have a daily report of logins with OS X Snow Leopard. Is there a simple app to do that? (or command-line utility) You may be able to use the last command line utility.
common-pile/stackexchange_filtered
CMake: How to Set Administrator Privileges and Fix Linking Errors with C++20 I am a complete CMake newbe and I am currently trying out SDL2 with CMake and CPP version 20. I always wondered how do I require Administrator when executing the Application. I searched through Stackoverflow and found a possible solution: SET_...
common-pile/stackexchange_filtered
Angular make reducer from an Array I understand that for count an array in Angular with rxjs I use reduce, for example if I want count : [{id: 1, items: [10, 20, 30]}] I use the following code: const item = from([{id: 1, items: [10, 20, 30]}]); item.pipe( map(actions => actions.items), mergeAll(), reduce((acc, ...
common-pile/stackexchange_filtered
best way to jQuery tree traversal? I got the following code: <table border=1> <tbody> <tr> <td>issue</td> <td><a class="issueDrawer" href="#">view</a></td> <td>description</td> </tr> <tr class="issueDrawer" style="display: none;"><td colspan="100%">boom!</td></tr> <tr> <td>issu...
common-pile/stackexchange_filtered
ASP .NET Core 2.0, SignalR I have a SignlaR server in ASP .NET Core 2.0 application hosted in Windows AZURE: public class Chat : Hub { public Task Send(string message) { return Clients.All.InvokeAsync("Send", message); } } I also have client in Javascript: <script src="scripts/signalr-client.min.js...
common-pile/stackexchange_filtered
ROLLUP Function; Replace NULL with 'Total' w/ Column data type INT not VARCHAR I'm having some problems replacing my ROLLUP NULL with a string value because my column data type is an Integer. SELECT CASE WHEN GROUPING(Column1) = 1 THEN 'Total' ELSE Column1 END Column1, SUM(Column2) AS MySum FROM MyTable GROUP BY Colum...
common-pile/stackexchange_filtered
Component not updating after action is dispatched - react-redux I'm using react-native and am having an issue where my action is being dispatched and the reducer is modifying the state, however my component is not re-rendering. My reducer is using the spread operator to create a new object. It looks like mapStateToPr...
common-pile/stackexchange_filtered
What material is good for Atiyah-Singer index theorem I want to ask what materials or books can I use to learn the proof of Atiyah-Singer index theorem? I hope such material contains enough preliminaries and background instead of proving the theorem directly. See Roadmap to study Atiyah-Singer index theorem
common-pile/stackexchange_filtered
Javascript .match with regex I'm trying to get the information between this url( and this ). There can be other things before and after that, like this: background:url(images/backgrounds/bg_menu.jpg) center center no-repeat; background-size:cover I came up with this /(?=u)(?=r)(?=l)(?=\().*(?=\))/ but it is not workin...
common-pile/stackexchange_filtered
Php forward request as is including post data and uploaded files I’m trying to incrementally create a new version of an old api built with php. What I’m trying to do is Check if router can handle request -case no: redirects request to old api (old api in another server on local network) Challenges I have is I want t...
common-pile/stackexchange_filtered
Pitch Calculation Error via Autocorrelation Method Aim : Pitch Calculation Issue : The calculated pitch does not match the expected one. For instance, the output is approx. 'D3', however the expected output is 'C5'. Source Sound : https://freewavesamples.com/1980s-casio-celesta-c5 Source Code library("tuneR") librar...
common-pile/stackexchange_filtered
Can I call a controller from a view in different assemblies using Castle Windsor without adding references? Here is my scenario: I have a master project (MVC4) with models views and controllers. I have another project that was developed by another team. The second (sub) project (MVC4) has models, views and controllers ...
common-pile/stackexchange_filtered
Java recursive backtracking problem Having some trouble with this recursive backtracking problem: "Write a method partitionable that accepts a list of integers as a parameter and uses recursive backtracking to discover whether the list can be partitioned into two sub-lists of equal sum. Your method should return true i...
common-pile/stackexchange_filtered
Output array so it can be used as value for data attribute I have an array in PHP that I am looping through to get content. When echoed, the results of my array variable $myArray looks like the below Array( [0] => ABC [1] => DEF [2] => GHI [3] => JKL ) Array( [0] => MNO [1] => 123A [2] => 123B [3] ...
common-pile/stackexchange_filtered
Quarkus IBM MQ integration on z/OS I understand from this discussion that the IBM MQ integration native image building scenario is covered by AMQP Connector. So far, so good. However, I have a question about the following scenario in which AMQP Connector doesn't seem a viable solution; in fact we have to integrate with...
common-pile/stackexchange_filtered
What does Lord Shiva mean by saying that in Shaiva traditions Gurus are three? In KulArnava Tantram's 13th chapter, Lord Shiva discusses about Guru and its signs in great details. In that context he says the following verse: Shaive Gurutrayam Proktam Vaishnave Gurupanchakam | VedashAshtreshu Sataso Gururekah KulAgame ...
common-pile/stackexchange_filtered
Why won't gulp run through MSBuild in Develop configuration? I have a project which uses a gulpfile.js, and have set it to run gulp before build: <Target Name="GulpBuildDevelop" BeforeTargets="BeforeBuild" Condition="'$(Configuration)'=='Develop'"> <Exec Command="npm install gulp" /> <Exec Command="gulp...
common-pile/stackexchange_filtered
Resolve network interface for a given IP address in Java I want to know in advance what network interface will be used for a given IP address X. I could do that by browsing the result of java.net.NetworkInterface.getNetworkInterfaces() and checking X against the IP address and subnet mask of each InterfaceAddress retur...
common-pile/stackexchange_filtered
Enable authenticator manually Currently my client authenticates request only on case of 401 response: this.client.authenticator(new okhttp3.Authenticator() { public Request authenticate(Route route, Response response) throws IOException { String credentials = authenticator.getCredentials(); if (crede...
common-pile/stackexchange_filtered
Change the size of the gutter of an MDC layout grid using a SASS Mixin I'm attempting to change the size of the gutter of an MDC Material Components web layout grid using a SASS Mixin and failing! At present I'm using: .mdc-layout-grid-cell { @include mdc-layout-grid-cell('desktop', 3, 60px); } I can see the ...
common-pile/stackexchange_filtered
Marquee text in Android How can I use marquee text in an android application? Also, have a look at http://stackoverflow.com/questions/1827751/is-there-a-way-to-make-ellipsize-marquee-always-scroll Try alwaysMarqueeTextView stackoverflow.com/a/28806003/3496570 and forget about setSelection This answer can help you an...
common-pile/stackexchange_filtered
Finding Install path of a program I am new to C# and I have made a simple Windows Forms Application that basically updates the persons files for a game. They have to manually move and delete certain folders just to change version every time. I have successfully accomplished this. However before I start giving it out I ...
common-pile/stackexchange_filtered
jQuery: onclick method for every buttons with id starting with I have a set of buttons with ids "del1", "del2", and so on. I'm trying to make an onclick function that fires when any of those buttons are clicked on. So basically replace: $(document).on('click', '#del1', function(e) { alert("For button1"); }); $(doc...
common-pile/stackexchange_filtered
Error when trying to install drivers for TP-LINK AC600 T2U Hi thanks to anybody who try to answer my question, I only just started using Ubuntu about a month ago so it might just be a rookie mistake I am running Ubuntu 17.04 When trying to install drives for this device I got the error Makefile:405: recipe for target '...
common-pile/stackexchange_filtered
Mysql Service Won't Start I have mysql running on linux environment under centos distributed and cPanel/WHM control panel i track the mysql log and i got 130914 6:49:08 [Note] Plugin 'FEDERATED' is disabled. 130914 6:49:08 [ERROR] No paths allowed for shared library 130914 6:49:08 [Warning] Couldn't load plugin nam...
common-pile/stackexchange_filtered
How to choose posts from array of categories but not in other array of categories? Here's what I am trying to achieve: I have a post that is in category A,B,C,D. I want to show posts included in category A, but I don't want to show posts included in category C. So if I run the query I want this post that is in A,B,C,D ...
common-pile/stackexchange_filtered
How to write a jQuery plugin compatible with Webpack Encore I've a small, custom jQuery plugin: (function ($) { $.StandardForm = function (element) { // ... }; $.StandardForm.prototype = { submit: function(onDone, onError, always) { // ... $.ajax...
common-pile/stackexchange_filtered
Clone/Duplicate EC2 Windows Instance I have a Windows Server 2008 EC2 instance hosting SQL Server 2008 named DB-01. I'm looking to clone this DB-01 instance so my team can work on the cloned DB-01 (DB-01-CLN) and existing DB-01 instances side by side. I restored an AMI of DB-01 and assigned a different IP. The issue im...
common-pile/stackexchange_filtered
How to Center a Splash Screen I'm converting an app from the iPhone to the iPad. The splash screen picture is the right size but when I enter the app after about half a second the picture goes from being perfectly sized to having the bottom and right areas out of screen and white areas above and to the left of the pict...
common-pile/stackexchange_filtered
BRST cohomology and vanishing cycles Consider the $\mathbb{C}$-variety $\mathbb{A}^{1}$, equipped with the potential (ie global function) $P:=\frac{z^{n+1}}{n+1}$. We can form the twisted de Rham complex $H_{dR}(\mathbb{A}^{1},P)$ which by definition is the complex of forms on $\mathbb{A}^{1}$ equipped with the differe...
common-pile/stackexchange_filtered
align contents to bottom of div without using position:absolute hey there is there a way i can align the contents of a div tag to the bottom without using position:absolute. almost all other solutions on the internet uses position:absolute and/or vertical-align:bottom, but is there a way to do this without using positi...
common-pile/stackexchange_filtered
Why is there nothing between those two words? None of them, not a single one of them, tried to do it. Why is there nothing between "none of them" and "not a single one of them"? They are simply connected by a comma and I don't know how that is possible. Please help. It's alright, it's really alright, but I will le...
common-pile/stackexchange_filtered
Getting text from a node I have a piece of HTML like this: <a href="/something"> Title <span>Author</span> </a> I got a WebElement that matches this HTML. How can I extract only "Title" from it? Method .getText() returns "Title\nAuthor"... You can't do this in the WebDriver API, you have to do it in your cod...
common-pile/stackexchange_filtered
How does the following motion [[ apply? I'm trying to get a hang of how [[ and ]] works. According to the docs, it goes to the next/prev section: A section begins after a form-feed () in the first column and at each of a set of section macros, specified by the pairs of characters in the 'sections' option. The def...
common-pile/stackexchange_filtered
Recursive piecewise function in SymPy and summing over a list/array of coefficients For lack of a Latex editor, here is a picture of a piecewise function that I wish to plot using Sympy. I want to pass in two arrays of the coefficients and a value for x, then evaluate it and plot the function. (Edit : there are exactly...
common-pile/stackexchange_filtered
Passing Methods in Java I'm trying to accomplish passing a method in Java. Here is the birds-eye-view of what I'm trying to do as a dummy example: public final class A { private String value; public A(String value) { this.value = value; } public final Object bind(Function<String, String> func) { this....
common-pile/stackexchange_filtered
how to find missing number in a row in ms access I have the below series: REF NO AI951 AI952 AI953 AI954 AI955 AI956 AI957 AI958 AI959 AI960 AI961 AI962 AI963 AI965 AI966 AI967 AI968 AI970 AI971 AI972 In above column series, AI964 and AI969 are missing. To find those missing numbers in a row sequence in Access, what i...
common-pile/stackexchange_filtered
How do I make Fastlane Deliver work for tvOS? Upload to iTunesConnect fails with the following error: "Invalid Provisioning Profile. This provisioning profile is not compatible with iOS apps." +-----------------------+---------------------------------------+ | deliver 2.26.1 Summary ...
common-pile/stackexchange_filtered
Where is the offset of the Y register from the call/stack frame in avr-gcc coming from? On the avr-gcc website (https://gcc.gnu.org/wiki/avr-gcc#Frame_Layout) it says that the frame pointer (Y register) is off by one byte so Y+1 points to the bottom of the frame. However when I compiled a test C function to an assembly...
common-pile/stackexchange_filtered
Python xlrd fails on reading dates to create CSV only in SOME cases I've created a XLS2CSV function using xlrd and I do not know exactly what column may be used for dates in the .xls input file. The following code is working almost ok, but in some cases (and not always the same rows "fails" if you run it many times wit...
common-pile/stackexchange_filtered
A Suitable Mission — The Professor's Revenge Summer Klerance turned in her term assignment for this challenge. Her professor was miffed (but also amused) when he overheard a disgruntled classmate of Summer's saying she got her answers by simulation rather than by the probabilistic methods covered in the course. Summer ...
common-pile/stackexchange_filtered
How to use primitive restart function I am trying to make terrain mesh, and for now got something like this: GL.PushMatrix(); GL.Begin(BeginMode.TriangleStrip); for (int i = 0; i < 6; i++) { for (int j = 0; j < 6; j++) { GL.Vertex2(0 + 50 * j, 0 + 50 * i); GL.Ver...
common-pile/stackexchange_filtered
E.cancel loop in Visual basic I am making an server control application ( simple with some buttons to start/stop the server ) And when the user wants to close the application there will be prompted an confirm box. Private Sub Form1_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing Dim...
common-pile/stackexchange_filtered
Syntax for QspinBox connection For QPushButton named "pushButtonShow" we can create a slot with this syntax and we do not need to explicitly create the connect expression void on_pushButtonShow_clicked(); what would be the similar syntax for QSpinBox When designing Qt Widget forms I recommend you to use Qt Form edit...
common-pile/stackexchange_filtered
Can I default all my strings to C# 6.0 interpolated string concatenation? I find myself using the C# 6.0 interpolated string concatenation style $"Hello {name} {lastName}!" very often in my code. I understand that when this was introduced, it required a separate syntax to not break any previous strings containing the ...
common-pile/stackexchange_filtered
Added to Rails app on Heroku. How to setup database in local environment? I was recently added to a Rails application via Heroku. I'm able to clone the app to my local machine using: heroku git:clone -a appname However, I have issues running local tests and other tasks related to not having a local database. The produ...
common-pile/stackexchange_filtered
Facebook APP How to specify permissions? I've been reading the documentation which at a point says "This dialog will request all permissions specified in the User & Friend Permissions section of your app's settings." However I cannot find the User & Friend Permissions section to specify my required permissions. I'm us...
common-pile/stackexchange_filtered
Detect user logged on a computer using Java web app I want to develop an Java application that can detect the user logged on a Windows Domain. These credentials are going to be used to logging on the Java application running on Tomcat. How can I do this? I want to know the remote user accessing my web app. This user is...
common-pile/stackexchange_filtered
Keras GRU model predicts only [-0., -0., -0., -0., -0.] I'm trying to predict 5 periodic prices of cryptocurrency based on previous 50 inputs. >>> X_train.shape, X_test.shape, Y_train.shape, Y_test.shape ((291314, 50, 8), (72829, 50, 8), (291314, 5), (72829, 5)) Here I have 50 previous samples x 8 features as input sa...
common-pile/stackexchange_filtered
Diagonal entries are zero, others are $1$. Find the determinant. $\det\begin{vmatrix} 0 & \cdots & 1& 1 & 1 \\ \vdots & \ddots & \vdots & \vdots & \vdots \\ 1 & \cdots & 1 & 1 & 0 \end{vmatrix}=?$ Attempt: First I tried to use linearity property of the determinants such that $$\det\binom{ v+ku }{ w }=\det\binom{v }{ ...
common-pile/stackexchange_filtered
update a document in mongoDB using JAVA I'm just starting to learn mongoDB using JAVA. I have the the following document in mongo { "_id": { "$oid": "513fa587c5d0cf174eb9b1f8" }, "suitename": "test_suite_name", "testname": "test_name]", "milestones": [ { "milestone_id": 45 } ] } I have a compound k...
common-pile/stackexchange_filtered
Is the Azure Put Blob operation atomic? The documentation for Azure's Put Blob REST API operation tells us that it is possible to upload a block blob up to 64 MB with a single request. I'm wondering whether such an operation is atomic. In particular I need to know whether the following assumptions are true or false. I...
common-pile/stackexchange_filtered
Pass variables into Thread on the go? I'm not sure if I'm just missing something here, but is it possible to pass a variable into a running Thread in java? The variables may change and may need to be resent into the same thread. Any tutorials on the matter or examples would be great. http://stackoverflow.com/questions...
common-pile/stackexchange_filtered
How can I add photo and details to vCard using JavaScript? I want to add an image and more details to the contact vcard using JS. it's like a business page when people see the page they can save my contact through id="save-btn", And I want to add more than Name, phone, email. The code working fine, but I don't know how...
common-pile/stackexchange_filtered
Supporting, cheering and motivating them + is/are Siblings are an important part of our lives and I believe supporting, cheering, directing and motivating them is/are also important. Booking, canceling and rebooking flights does/do not take much time. Should I use is/does or are/do in these sentences? According to ...
common-pile/stackexchange_filtered
Customization of a Stepper component (Nebular / Angular) I'd like to know if there's anyway I'm able to customize the scss/html template of a Nebular Stepper component. I found out that you can customize some of the scss using Nebular Custom theming but I need to change things that don't have theme variables, like the ...
common-pile/stackexchange_filtered
Multi Join Select Let's take table with name Items and columns: Item,Seller,Price,Date. Now I need to such selector: for any item we need to select minimum Price in some Date interval which was suggested by Seller,if there is more than 1 Date,give only Later) and if on that date are more than 1 seller,show all. I wrote...
common-pile/stackexchange_filtered
Run time error 1004, cannot complete operation I use VBA to copy one table's content and paste into another table. The codes that I use are: Sub Get_Original_OutPutDataTable() Application.DisplayAlerts = False Worksheets("Input&Map").Activate Range("InitialMap").Select Selection.Delete Worksheets("O...
common-pile/stackexchange_filtered
setting a cookie for img or background img url - images are on a differentDomain How do you set a cookie or a certain header for requests like: <img src="differentDomain"/> or .className{ background: url(differentDomain); } When I set cookie for my domain and the url of the images are same domain the header is set wi...
common-pile/stackexchange_filtered
how to use org.kohsuke.github library to get details about a given commit It is possible to get details about a certain commit by providing its commit hash to the github REST api V3 found in here here How do I obtain the same from org.kohsuke.github java api found in this link? I have written following program, but hav...
common-pile/stackexchange_filtered
Best way to calculate the fundamental matrix of an absorbing Markov Chain? I have a very large absorbing Markov chain (scales to problem size -- from 10 states to millions) that is very sparse (most states can react to only 4 or 5 other states). I need to calculate one row of the fundamental matrix of this chain (the a...
common-pile/stackexchange_filtered
Calling conventions in LLVM IR LLVM allows call instructions and defines to specify a calling convention. Does the IR itself already need to adhere to the specified convention? For example when using ccc, I believe that the return value would need to fit in the 64-bit eax on my OS/architecture. Am I allowed to write LL...
common-pile/stackexchange_filtered
I want to continue to play music even if after press button HOME in iphone? I want to continue to play music even if after user presses button HOME on the iPhone. Can you help me? Possible duplicate of http://stackoverflow.com/questions/7619794/play-music-in-background-in-iphone-using-avaudioplayer I read it. But I n...
common-pile/stackexchange_filtered
Compactness of a set with respect to different spaces. Let $X$ be a topological space. $E\subseteq X$. Suppose $E$ is compact with respect to $X$, namely for every open covering $\{U_i\}_{i\in I}$ with respect to $X$ (I mean such open covering can exceed $E$, that is $E\subsetneq U_i$) of $E$, there exists $\{U_i\}_{i\...
common-pile/stackexchange_filtered
Extract data from string with regex I have s string like this "Country": "FRANCE", "PostalCode": "01, 02, 03" When I use this regex: "(.*)": "(.*)" The system return me only one match with 2 groups MATCH 1 1. [1-32] `Country": "FRANCE", "PostalCode` 2. [36-70] `01, 02, 03` What I do wrong ? I would like to get an...
common-pile/stackexchange_filtered
Interpreting pull parser error message I am seeing the following error message in my tomcat logs. I'm not sure what it means. Can someone help with interpretation: org.xmlpull.v1.XmlPullParserException: entity reference names can not start with character ' ' (position: START_TAG seen ...</DID><TOKEN>d & ... @1:8134...
common-pile/stackexchange_filtered
Why is identity map on a separable Hilbert space not compact? False proof. Why is identity map on a separable Hilbert space not compact? False proof. Let $e_n$ be the orthonormal basis. Then the projection map onto $H$ is defined by $\sum(x,e_k)e_k$. What is stopping us from taking a finite part of this series. This gi...
common-pile/stackexchange_filtered
How to convert date/time field to date value I am displaying date field on a Lightning component. The Type of that field is Date/Time. But I want to display only date part on the component. code used v.quote.SubmitDate__c -->This code is present on the component. Quote is the Object on Salesforce What is the problem...
common-pile/stackexchange_filtered
ListView equivalent using jQuery I am transitioning a WPF application to the Web using ASP.Net MVC and jQuery. In my WPF application I have a ListView containing thumbnails and captions that looks like this: I need to display something similar in my web-based application. Requirements: User must be able to select ite...
common-pile/stackexchange_filtered
Limit of products $$\lim_{n\to \infty}{\sqrt[n]{\left(1+\frac{1}{n}\right)\left(1+\frac{2}{n} \right)...\left(1+\frac{n}{n} \right )}}$$ I thought this was linked to Riemann sums, yet I could not construct one. $$L = \lim_{n \rightarrow \infty} \left(\prod_{i=1}^{n}\left(1+\frac{i}{n}\right)\right)^{1/n}$$ $$L = \lim...
common-pile/stackexchange_filtered
In what order are the rules handled in the Linux Firewall Module in webmin? If I'm not mistaken it's top to bottom correct? And the catch-all default action at the end is to just drop any packets that don't match the rules above. Should I be logging the dropped packets as well as the last rule if this is the case? ...
common-pile/stackexchange_filtered
Line count using map reduce I have couple thousand files drop to a directory from other people each day, each files is around 400MB to 1GB big. I want to count the total number of lines in the directory. I was planning to do map reduce like the following Mapper public static class LineMapper extends Mapper<Obje...
common-pile/stackexchange_filtered
thin server with GoDaddy ssl - access from osx I have a thin server that i run with a certificate from GoDaddy and a private key i created before. I also have a file "gd_bundle.crt" that's probably required for access from osx (or iphones). thin only accepts my certificate and private key but i don't know how to give i...
common-pile/stackexchange_filtered
String Comparison not working in Java Here is my code : Why is the if ((rs.getString("order_status")) != ordstat) not working? String sql = "select order_id, order_dt, order_status, prod_name from orders where user_id = '"+user+"'"; try{ s = con.createStatement(); rs = s.executeQuery(sql); String ordstat = "Pending"; %...
common-pile/stackexchange_filtered
Magento not showing admin panel after extension installation I have installed the extension. But after installation it is not showing admin panel. Below is my error & warning log which is coming on zopim Live chat integration using magento. 2016-01-12T05:36:06+00:00 ERR (3): Warning: include(): Failed opening '/var/www...
common-pile/stackexchange_filtered
Are the Java 10 copyOf factory methods suitable for defensive copies in constructors When implementing an immutable class that has an aggregate initialized by a Collection given to the constructor, the constructor must make a defensive copy of the Collection, to prevent the caller subsequently mutating the aggregate. B...
common-pile/stackexchange_filtered
Mobile menu scroll disables/enables only once https://jonathanrace77.github.io/ Ok, so I have my mobile menu set to disable the page scrolling once it's activated by changing the body, overflow-y to hidden / scroll: let lockScroll = () => { if ($("body").css("overflow-y", 'scroll')) { $('body').css('overflow-y', ...
common-pile/stackexchange_filtered
Fabric env.roledefs not acting as expected On the fabric website, this example is given: from fabric.api import env env.roledefs = { 'web': { 'hosts': ['www1', 'www2', 'www3'], 'foo': 'bar' }, 'dns': { 'hosts': ['ns1', 'ns2'], 'foo': 'baz' } } As far as I can tell from ...
common-pile/stackexchange_filtered
AngularJS orderby sorts number and dates treating them as string I need to develop a table in angular js to show a third party data (and hence data cannot be changed). Data to be shown is completely dynamic in that number or sequence of columns can change anytime. The value to be displayed may be a number or a string ...
common-pile/stackexchange_filtered
Creating child controllers I'm not sure if I'm thinking about my problem incorrectly, but basically here it is: I have a pen and paper gaming site I've built in PHP that I'm converting to Angular. I have one particular set of pages (for character sheets, displaying and editing) that are hit, then based on URL parameter...
common-pile/stackexchange_filtered
Multi UI thread in WP8? I want to control some UI elements by a thread and the others by different thread in WP8. Is there any way to make Muulti UI thread like this? Help me. I'm guessing that you probably don't want that, you just think you need it to solve some problem, what you probably want is just to marshal a r...
common-pile/stackexchange_filtered
Which homotopy 2-types are H-spaces? Let $X$ be a connected CW-complex with $\pi_k(X)$ trivial for $k >2$. Is it known under which circumstances $X$ is an $H$-group? I have been able only to deduce the necessary condition that $\pi_1(X)$ has to be abelian and act trivially on $\pi_2(X)$. Furthermore, if the necessary c...
common-pile/stackexchange_filtered
What are the options for delivering Flash video? I'd like a concise introduction to the different options. From Wikipedia Embedded in an SWF file using the Flash authoring tool (supported in Flash Player 6 and later). The entire file must be transferred before playback can begin. Changing the video requires rebuildi...
common-pile/stackexchange_filtered
Regarding memory leaks and correct object management (Android / Java) What is the correct way to handle objects within Android (Java)? What I mean is, lets say I have a Splashscreen class and then I create an object from this class. Something like: SplashScreen mySplash = new SplashScreen(); I then, within my onCreat...
common-pile/stackexchange_filtered
Static Classes, Good or Bad? I have read something's, about static classes, mostly about that static classes are "evil" in Java, and I was wondering what does the Static calss actually do? What are the applications to it Unity C#, and C# in general? why are they "evil" in Java exactly? It depends on the use. Everythi...
common-pile/stackexchange_filtered
Firefox (multiple versions) aligns div to the right Given the following CSS: body { font-family: Corbel, Calibri, Verdana, Helvetica, sans-serif; font-size: 9pt;' } .heb { font-family: Bwhebb; } .heb, .eng { font-size: 25pt; cursor: pointer; display:none; } .slideshow, .cardface, .card { wid...
common-pile/stackexchange_filtered
Is there differering mathematical notation for indirect vs direct causes in proofs? I know that in logical notation, causes can be notated with $\to$. It could be useful to differentiate between indirect and direct causes in a proof. For example if A directly causes B and B directly causes C, then A indirectly causes C...
common-pile/stackexchange_filtered
Why is my Graphql project throwing Error: field type must be Output Type but got: undefined Github Repo I am fetching data from this espn endpoint I am also brand new to GraphQL and am not super familiar with fetching nested information. In the above github repo, I'm currently working in on the "schema1.js" file and wh...
common-pile/stackexchange_filtered
What Strange Place am I in? As I sat there, a woman in black asked me if I had decided yet. I told her I hadn't, but she gave me a glass anyway. Later, she came again. This time I had decided. So, she went and got something from the man in white and brought it to me. When I was finished, I wasn't allowed to go until I ...
common-pile/stackexchange_filtered
SonarQube JSP Analysis shows false positive "Potential XSS in JSP" Using SonarQube for static code analysis of our web application, I recently activate the JSP plugin, too. The analysis raised issues complaining about unescaped expressions, a correct issue description for the original code: <!DOCTYPE html> <html la...
common-pile/stackexchange_filtered
Visual Studio Error on Source Control I tried to upgrade Visual Studio 2010 solution to a 2013/2015 version by manually editing the solution file and replacing Microsoft Visual Studio Solution File, Format Version 11.00 # Visual Studio 2010 to #Visual Studio 2015 Since then , I am unable to open the solution in VS 2...
common-pile/stackexchange_filtered
When align the neutron's magnetic dipole moment, does moving neutron radiates? Was performed an experiment in the past, where neutrons pass a magnetic field and their magnetic dipole moment get aligned? Was measured an electromagnetic radiation during the experiment? The neutron's magnetic moment is about $50\rm\,neV/...
common-pile/stackexchange_filtered
Use different images for different devices/resolutions like how you use the tilde (~) to differentiate between iPhones and iPads? This answer explains how to label assets such that you can use the same filename in code (e.g., "Button.png"), and Xcode automagically chooses the right image based on whether the device is ...
common-pile/stackexchange_filtered