C/C++ program to run Linux commands
Vote count: 0 Tech Gurus, I have a requirement to run Linux commands through C/C++ program. The program should take an argument and should retu the value that is given by the Linux command. I tried searching through the available data and couldn't find anything matching to my need. Given that I do n...
I need help on my programming 1305 homework
Vote count: 0 I'm doing an assignment where i have to write the pseudocode for an application that allows one to enter the number of minutes used on a cell phone and displays the phone bill. The calls cost 10 cents per minute plus 6% tax. My question is: what are all the variables or objects for the...
Dijkstra with negative weights
Vote count: 0 I'm trying to find an example of a directed graph with negative weights (no negative cycles) such that ru ing dijksra on it will produce wrong results for all the vertices in the graph (except to the source node). It isn't very hard to find an example to a graph where some of the resul...
Tomcat server setting with Intellij
Vote count: 0 I searched about how to set Tomcat as my project's server but still haven't figured out so let me ask you why. I have Tomcat but get error message which say "the selected directory is not a valid Tomcat home" could you tell me why I get this message?enter image description here Thanks ...
Wrong annotation text location on basemap
Vote count: 0 I try to a otate sampling position name on each scatter sample location based on mercator projection. I used sampling position as a otation location with map projection coordinate. But placed a otation location is wrong position on map. Ex. When I a otate some position in pacific ocean...
virtuemart add product summary to order history view
Vote count: 0 Basically I'm trying to add product name and custom field in the order history view. Looking in the viewsorderstmpldetails_items.php I can see that order_item_name; ?> shows the product name coming from the orderdetails array in viewsordersview.html.php here it calls the model function...
Pass data from a button in reused custom cell
Vote count: 0 I'm having trouble passing data from a custom cell by a user tapping a button in that custom cell. I sometimes get the wrong cells data since the cell is being reused. I was wondering if there was a full proof way to always get the right cell data to its button in each cell no matter w...
React + Bootstrap + Redux value not working in form
Vote count: 0 I'm defining a form in React with Bootstrap and Redux with the following code: import React from 'react'; import { FormGroup, ControlLabel, FormControl, HelpBlock, Button } from 'react-bootstrap'; import { co ect } from 'react-redux'; import './actions'; const _c = component => co ect(...
Using an old GPU and PHYSX processor benefits?
Vote count: 0 My desktop has a NVIDIA GeForce GTX 745 with 4GB DDR3 and I plan on upgrading to an NVIDIA GeForce GTX 1070 with 8GB DDR3, I have read mixed reviews online and it seems as though too slow of a dedicated PHYSX dedicated graphics card would actually decrease your frame rate. Seeing as th...
Activity still being destroyed when keyboard is shown even though I've configured the activity to handle that configuration change
Vote count: 0 I don't want my activity to be destroyed when the keyboard pops up or goes away, so I added the appropriate xml attributes in the android manifest; namely, android:configChanges="keyboard|keyboardHidden. In the android documentation it says: you can declare that your activity handles t...
Rails link_to Last Scaffold Item
Vote count: 0 I'm working on a lea ing platform that at this stage has users, an admin, and 'feeds' (pages with lea ing content). I would like to create a link that would take users to the newest feed created by the admin. In the console, I could locate this record with 'feed.last'. Here are the rou...
Jenkins: Can I assign a specific port to a test run?
Vote count: 0 I know this is a newb question but, along with a few other tasks, setting up Jenkins has been thrown into my lap and now I'm scrambling. I'm brand spanking new to Jenkins btw. Writing tests in Visual Studio / C# and using the TFS plugin to move the tests over to an AWS virtual box wher...
How to select a radio value using espresso web
Vote count: 0 In my Android project, I have a webview. HTML source has 2 radio buttons. Using Espresso Web, I want to choose one of these 2. How do I do that? For eg: <input type="radio" value="City A" name="Location" id="Location"> <input type="radio" value="City B" name="Location" id="Location"> T...
PHP Session not being saved
Vote count: 0 I have a rather strange problem; there are three pages which are using this cookie - one sets $_SESSION = 0 (as another Stack article suggested my issue might be related to PHP having difficulties with timings so 'pre-creating' the session, then writing to it might help), another file ...
WQL-Statement to check an application's event log
Vote count: 0 I would like to analyze the event log of a special windows application (Windows 7 Enterprise, 64Bit). I need a special event which is logged some seconds ago. Here is my VBScript code, which produces a completely wrong result (wrong number of events): strComputer = "." ' Dieser Compute...