Triggering action when back in ionic framework
Vote count: 0 There are two ways of back to previous state in mobile device using ionic framework, which is via ion-nav-back-button and the device back button itself. What function should i call should i need to trigger an action before back to previous state when clicking ion-nav-back-button and pr...
Theano CNN on CPU: AbstractConv2d Theano optimization failed
Vote count: 0 I'm trying to train a CNN for object detection in images with the cifar10 dataset for a seminar at my university but I get the following Error: AssertionError: AbstractConv2d Theano optimization failed: there is no implementation available supporting the requested options. Did you excl...
fast way to populate controls on windows form
Vote count: 0 I need 5000 controls on Panel for sits and let user choose their own sit(s). I've tried Paint event and also created UserControl Sit. . Paint was faster. . UserControl has sweet and useful events and Properties I need, MouseEnter, MouseLeave, Size, BackColor... but adding them on Panel...
video ads for ios app
Vote count: 0 We are working on a small ios game (still in progress), for monetization so far we've played around with iAd ba er and insterstitial ads and it works great (we get some fake ad content that we can display where we want). However now we want to integrate video streaming ads into the app...
Autoincrement column in Google forms
Vote count: 0 I am trying to implement a simple auto-increment column in Google Forms. This column should be able to retain its value if I delete the row above it in google sheet. So it should not be based on a formula in the sheet. I have searched on google for a number of hours and tried google fo...
Single Scss file for Foundation 6
Vote count: 0 The foundation framework for sites is great but there are lot of steps to start especially for a person who writes server side code. We need the following: a. Single Scss file with all the code in it in the defined order with all the variables in it. I don't want to mention the include...
Handle error 500 in prod environment -symfony
Vote count: 0 Hi I trying to handle error 500 in symfony 2 and display nice error page in prod eviorment (on local server now with setENV=prod) - I have the 500error.html.twig located in resource/twigBundle/exception but this is the result: (How can I hide the php error block ) asked 1 min agouser31...
how to use matrix of three variables in for loop
Vote count: 0 firstly i was used matrix s(n x n) where n x n is the size of data in the following code A = yarbb(data,x) coordinates=data; Av=[coordinates; fliplr(coordinates)]; linindices = sub2ind(size(s), Av(:, 1), Av(:, 2))'; remain=setdiff(1:numel(s), linindices); sim=s(remain); . . auc= (ndash...
Couldn't export osm file
Vote count: 0 When I try to export osm file from open street map of bangkok area, link direct to newpage prompts this message: This site can’t be reached The webpage at http://api.openstreetmap.org/api/0.6/map?bbox=100.4006,13.6093,100.8167,13.8441 might be temporarily down or it may have moved perm...
Link a permalink in an RDF SKOS concept
Vote count: 0 I have created a SKOS concept. This is working fine. Now I want to pimp my concept with some additional informations and implement an link to to VIAF authority ID, http://viaf.org/viaf/136631587 <skos:Concept rdf:about="localhost/Hollywood"> <skos:prefLabel>Hollywood</skos:prefLabel> <...
Is Wiring Together Free Tiers Possible?
Vote count: 0 Several hosting platforms exist that offer a free tier and a back end features. Examples include Google App Engine, Heroku, and AWS. Are there any technical reasons why one could not have one platform act as a load balancer and host while also directing "over-flow" traffic to other pla...
How to get XML data from https url in Android
Vote count: 0 I want to get XML data from the web server https://ruralfire.qld.gov.au/bushfirealert/bushfireAlert.xml However, I can't do it because my codes always have an error "javax.net.ssl.SSLHandshakeException: Co ection closed by peer". And my InputStream is always null, so I can't do anythin...
C# LINQ - How to group array of string with UNION?
Vote count: 0 I have a two dimensional array of string, called Words[ ][ ] Words[0][0] = compare [0][1] = view Words[1][0] = search [1][1] = gather Words[2][0] = input [2][1] = put Words[3][0] = specify [3][1] = direct Words[4][0] = select [4][1] = take Words[5][0] = take [5][1] = retu Words[6][0] =...
NoSuchToken exception for StringTokenizer.nextToken()
Vote count: 0 When I try to run the code: import java.io.*; import java.util.*; class dothis { public static void main (String [] args) throws IOException { BufferedReader f = new BufferedReader(new FileReader("ride.in")); PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter("ride.out...
Filling missing value in group
Vote count: 0 I have data frame where some of the values are missing A 1 A NA A NA B NA B 2 B NA C NA C NA C NA How can I fill in groups where I have data? asked 3 mins agoUpsideDownRide Let's block ads! (Why?)
Spicing Up Native Circular Plot Using ggplot2
Vote count: 1 I have some angle data from an animal behavior study that I would like to plot for publication using ggplot2. What follows is my current workflow with some example data and how it would look using the generic plot function. ### Create two data frames of random Cartesian coordinates ###...
Issue playing slow-mo AVAsset in AVPlayer
Vote count: 0 I'm trying to play an slow motion video (filmed by the user's iPhone) in an AVPlayer. I am retrieving the AVAsset with a request on a PHAsset from a picker: [manager requestAVAssetForVideo:PHAsset options:videoRequestOptions resultHandler:^(AVAsset * avasset, AVAudioMix * audioMix, NSD...