android -application is not running on android 6
◷
تاریخ انتشار: 1395/3/16 | ساعت: 18:31
Vote count: 0 I've a problem with installing my application on android 6 . In my gradle , I've these codes : android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "persiandesigners.jahad.ir.book_jahad" minSdkVersion 8 targetSdkVersion 23 versionCode 1 versionName "1...
future spec custom elements
◷
تاریخ انتشار: 1395/3/16 | ساعت: 18:31
Vote count: 0 I want to make a desktop app with electronjs. For this I wanted to use custom elements.(not Polymer) But here is a note that the spec will be rewritten: https://developer.mozilla.org/en-US/docs/Web/Web_Components/Custom_Elements/Custom_Elements_with_Classes Spec for Custom Elements wil...
Sort circles into rows and columns in Java
◷
تاریخ انتشار: 1395/3/16 | ساعت: 18:31
Vote count: -1 I am developing an android app with opencv and I have convert c++ code to java about finded hough circles in java. I find c++ code and convert limited. this lines find and fill lists : vector<vector<Vec3f> > bubble; vector<pair<double,int> > row; for(int i=0;i<circles.size();i++){ boo...
Setting a default value on settings form return null in Octobercms
◷
تاریخ انتشار: 1395/3/16 | ساعت: 17:29
Vote count: 0 I create a little plugin for the OctoberCMS but now dealing with a problem of setting a default value for a settings form. I used database storage for my plugin settings (Backend -> Settings tab -> My Plugin tab) which works , quite good, except I ca ot set default values. I have a fie...
How to design a responsive form with vertical-aligned fields without knowing the max width of the labels?
◷
تاریخ انتشار: 1395/3/16 | ساعت: 17:29
Vote count: 0 I have to design a form similar to this one: The form you see has been designed using a table design: each label and each input field is contained in a <td>, the brown separators (e.g. "picture") are <tr> having only one ("colspa ed") cell . I want to make this form responsive, what I ...
Deleting item from cart session. Laravel
◷
تاریخ انتشار: 1395/3/16 | ساعت: 17:29
Vote count: 0 When I add products to my cart through session I want to be able to delete them from my cart one by one. How I'm supposed to do that ? This is my CartController public function add(Request $request, $id) { $product_from_db = Product::find($id); $product = []; $product['id'] = $id; $pro...
Can't we run main method inside enum?
◷
تاریخ انتشار: 1395/3/16 | ساعت: 16:02
Vote count: 0 I had seen a video where, main() can be run with in an enum. I am trying to do the same but it's not working. Here is my code public enum EnumMain { ABC, XYZ; public static void main(String[] args) { System.out.print("MIAN"); } } Output (The code compiles fine)Error: Could not find or ...
error deploying dns in kubernetes
◷
تاریخ انتشار: 1395/3/16 | ساعت: 16:02
Vote count: 0 when I run sudo ./deployAddons.sh under kube etes/cluster/ubuntu I get the following: replicationcontroller "kube-dns-v14" created The Service "kube-dns" is invalid. spec.clusterIP: Invalid value: "192.168.3.10": provided IP is not in the valid range Where to set this?(which file) and ...
Predicting class attribute of a data set by class attribute of another data set
◷
تاریخ انتشار: 1395/3/16 | ساعت: 16:02
Vote count: 0 I'm have two data sets, training and test, I'm making a model on training set and then I want to apply it on test data, what I want is to iterate over the rows of training set and pick the most occurred class and match it with test dataset class attribute to check if my prediction was ...
trouble connecting with thingspeak
◷
تاریخ انتشار: 1395/3/16 | ساعت: 15:00
Vote count: 0 Hi I am having trouble co ecting a simple temp,humidity,dew point logger to Thingspeak, this code was working (I thought it was anyway) put this project down for a couple of weeks now having problems. when I run it I get the following Traceback (most recent call last): File "DHH-test5....
How to specify alias on YamlMember in YamlDotNet?
◷
تاریخ انتشار: 1395/3/16 | ساعت: 15:00
Vote count: 0 I need to deserialize the following YAML to my custom type. YamlAlias attribute seems to be obsolete, so I replaced it with YamlMember. It fails on deserializing the following YAML with the below exception: host: properties: mem_size: 2048 MB YamlDotNet.Core.YamlException : (Line: 21, ...
json get value of child in a dynamic parent
◷
تاریخ انتشار: 1395/3/16 | ساعت: 15:00
Vote count: 0 Using PHP. How would I get clanAbbrev from a dynamic parent where it also contains "team" : "2"? I don't need to get it from every player, I just need to search it until I find the first player on Team 2. All players on team 2 are in the same "clan" and that is all I am trying to do is...
C: declare type in
◷
تاریخ انتشار: 1395/3/16 | ساعت: 13:59
Vote count: -2 I have a code that uses complex number. When I declare variable,"x", which is a complex number with size of double, should I declare as: complex double x; or double complex x; ? does it make any difference? Have anyone has experience on compilers not understanding either of them? aske...
Cannot use LocalDB on other PC after installing my s/w on other PC
◷
تاریخ انتشار: 1395/3/16 | ساعت: 13:59
Vote count: 0 I have created a quiz application in c# . I have created a local db. when i give a command on my PC sqllocal info it shows my db . It works fine on same PC. but when i install my application I get following error: But when I run same application on other pc it gives me error See the en...
Umbraco logged in user id
◷
تاریخ انتشار: 1395/3/16 | ساعت: 13:59
Vote count: 0 I'd like to show the user id of the currently logged in user : I can get their name // logged in? var wrapper = new HttpContextWrapper(HttpContext.Current); var ticket = wrapper.GetUmbracoAuthTicket(); isLoggedIn = 0; sessionId = ""; if (ticket!=null){ if(ticket.GetRemainingAuthSeconds...
How do I create a text link with a drop down menu in Bootstrap?
◷
تاریخ انتشار: 1395/3/16 | ساعت: 11:30
Vote count: 0 I tried, <div class = "btn-group" style="display:inline;"> <a class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="fa fa-star-o" aria-hidden="true"></span> Rate </a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> </ul> </di...
react native how to pass closeDrawer() to renderNavigationView component?
◷
تاریخ انتشار: 1395/3/16 | ساعت: 11:30
Vote count: 0 Basically, I have a component Called DrawerLayout, and DrawerContent which contains the contents of the Drawer. Here is what the render() in DrawerLayout retu s: <DrawerLayoutAndroid ref='navigation' drawerWidth={300} renderNavigationView={() => <DrawerContent />} > <DefaultRenderer na...
Error in sending post request in release mode C#
◷
تاریخ انتشار: 1395/3/16 | ساعت: 11:30
Vote count: 0 I used Microsoft.aspNet.WebApi.Client to send request to server in my project (output is dll). In debug mode all methods (Get, Post) work well. But if i run client in release mode I've got response 500 inte al error.!! Here is code: HttpResponseMessage response = client.PostAsJsonAsync...
Hadoop: java.net.ConnectException: Connection refused
◷
تاریخ انتشار: 1395/3/16 | ساعت: 10:00
Vote count: 0 Hello I have been trying to follow this tutorial: http://www.tutorialspoint.com/apache_flume/fetching_twitter_data.htm for a very long time now and I am absolutely stuck at Step 3: Create a Directory in HDFS. I have ran start-dfs.sh and start-ya .sh and both seem to have worked correct...
Filter results based on ignored property values
◷
تاریخ انتشار: 1395/3/16 | ساعت: 10:00
Vote count: 0 Is it possible for Realm to filter results based on ignored property values? E.g. realm.objects(Object).filter("ignoredProperty == false") asked 3 mins agoken Let's block ads! (Why?)