Router Setup for multi-subnet
Vote count: 0 I have the following topology: Home broadband co ection (mostly for TV and wireless devices) Home Office broadband co ection in an adjacent building (mostly wired co ections for servers, workstations and printers) I want each building to use its own co ection, but I want to be able to ...
How to train Haar Classifier for Head Detection
Vote count: 0 I'm developing a Head Detectioning System using Emgu CV. What i want is to detect heads within a frame using a classifier. As an example i want to count the number of heads within like this type of situation. I tried some methods to train classifiers but all of them didn't worked. I wa...
Access dom-repeat inside a dom-if from javascript
Vote count: 0 Is it possible to access a dom-repeat that is present inside a dom-if from javascript. <dom-if if={{someCondition}}> <dom-repeat items={{data}}></dom-repeat> </dom-if> Now i can access the dom-if using this.$.id but how can i access the dom-repeat. asked 41 secs agoa1626 Let's block ad...
Java JNA Native Library Call ClassNotFoundException
Vote count: 0 I want to put a file into the recycle bin in Windows using Java. So that the user is able to restore it. Therefore I use the library JNA from Github (jna-platform-4.2.2.jar) which accesses native Windows functions. My Code: public static boolean moveToTrashBin(File file){ FileUtils fil...
Instantiating angular js controller
Vote count: 0 myApp.js angular.module("myApp" , [subApp1]); //line1 subapp1.js import mycontroller from './mycontroller'; angular.module("subApp1",[]) .config(['$stateProvider','$urlRouteProvider',function($stateProvider,$urlRouteProvider){ $stateProvider.state('home', { url:'/home', templateUrl: '....
NullPointerException - Android
Vote count: -1 infos / I am working with fragments I made a public void method (InitList) which contains an Array (list's data will be stored in a listview) list = new String[] {"txt1", "txt2", .... }; when I call this method in the onCreateView() I get a NullPointerEception asked 1 min agoAnis Vike...
Collapsed Bootstrap navbar on mobile
Vote count: 0 how to fix overflow-y property in .navbar-collapse.in class? Navbar in collapse is on top of the page: and I would like to display it bellow like this In Bootstrap, there is a two properties .navbar-collapse.in { overflow-y: auto; } .collapse.in { display: block; } but it is still on t...
Submitting ajax form displays all php isset statements
Vote count: 0 I'm using following code to send the form through ajax <script> $(document).ready(function(){ $("#update-settings").submit(function(e) { var url = "files/jquery-pages/page_jquery_settings.php"; // the script where you handle the form input. $.ajax({ type: "POST", url: url, data: $("#up...
RF parameters for TI 1310
Vote count: 0 I am new on embedded software and radio, now we working on CC1310 TI MCU with radio transceiver, the frequency is SUB-1GH(433), i want to understand all the parameters of the RF, did there is any reference with explination about all RF parameters in terms of physics? asked 52 secs agoD...
why $(window).scroll() need inside deviceready event handler?
Vote count: 0 I'm writing Cordova project with jQuery Mobile.I have the code to detect user scroll to the bottom.It's work but I don't know why the code need to be placed inside deviceready event handler? Waiting for something get ready? function onDeviceReady() { $(window).scroll(function () { if (...
Java nashorn - Get all bindings from javascrict
Vote count: 0 I created some bindings and passed them to the engine and global scopes Bindings bindings = new SimpleBindings(); bindings.put... scriptEngine.setBindings(bindings, ScriptContext.ENGINE_SCOPE); Bindings bindings1 = new SimpleBindings(); bindings1.put... scriptEngine.setBindings(binding...
C++ code works, but seems very inefficient
Vote count: 0 I'm currently lea ing C++ and got my code to do everything I want it to but it seems as if the code is not very efficient because I basically doubled the code from my output console so it shows up in a text file. If you can, could you explain what I am doing wrong and what would you su...
How to get SVG image group height and with
Vote count: 0 SVG multiple shapes containing i want get the particular g tage image width and height using svg editor(https://github.com/SVG-Edit/svgedit) . Example Image: I want svg_1 width height. Please help any one asked 34 secs agoShanmuga Kumar Let's block ads! (Why?)
Issue with tableview method func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [UITableViewRowAction]?
Vote count: 0 I am using the method func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [UITableViewRowAction]? { let delete = UITableViewRowAction(style: UITableViewRowActionStyle.Default, title: "Delete" , handler: { (action:UITableViewRowAction!, indexPa...
Disable showing cached page on pressing back in browser nodejs
Vote count: 0 In my website when the user logs out and then clicks the back button in browser he sees the last visited page under login, though he can't visit more pages. I want to disable this, like in secured bank websites. How is this done? I am using node.js in back-end. asked 1 min agosachsure ...
Cordova Hosted Web App with Basic Authentication
Vote count: 0 I would like to create a hosted web app in Cordova. However, in my case, the hosted web app is behind a Basic Authentication. How do I make the hosted web app to appear in Cordova client as if it wasn't behind a Basic Auth? Or how do I add the Basic Auth header all requests from Cordov...
configure LDT with torch but 'path' is a nil value
Vote count: 0 I configure my LDT with torch using this tutorial. But when i tried to excute a torch program, it retu s such a error: lua: ./util/BatchLoaderUnk.lua:14: attempt to index global 'path' (a nil value) asked 27 secs agohunter Let's block ads! (Why?)