Gulp serve gives no reaction in Yeoman Gulp Angular
Vote count: 0 I am new to Yeoman and Gulp. Could someone please suggest a solution to the problem below: enter image description here Tried a lot of searching but none helped. I am using Windows 7 64-bit. If you think that I am using a bad generator, could anyone please suggest the best yeoman gener...
Using tf() function in MATLAB
Vote count: 0 I'm trying to input this transfer function in matlab, but I can't figure out how because it has both positive and negative exponents. If I do H = tf([1],[1 1 1 1],0.1,'variable','z^-1') I almost get it, but I can't figure out how to add the positive z to the bottom. I'm trying to use t...
WPF WebBrowser Search Filter
Vote count: 0 I need to embed a minimalistic file explorer into my WPF UserControl. This control must accept a directory and display each file under that directory along with its associated icon, as well as facilitate user interaction. The WebBrowser serves this purpose quite well, but I can't seem ...
GoogleMaps Marker issue when using the query parameter
Vote count: 0 I have a web application with coordinates for a single location, i want to display the map with a marker to this location using a lightbox dialog. Everything was OK regarding the map initialization and displaying in the Lightbox dialog. But when generating a url for google maps locatio...
programming and practice chapter 6
Vote count: 0 #include "std_lib_facilities" class Token { public: char kind; // what kind of token double value; // for numbers: a value Token(char ch) // make a Token from a char :kind(ch), value(0) { } Token(char ch, double val) // make a Token from a char and a double :kind(ch), value(val) { } };...
Corrupt Valgrind?
Vote count: 0 I have the following simple program: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <pthread.h> #include <assert.h> #include <er o.h> #define handle_error_en(en, msg) {do { er o = en; perror(msg); exit(EXIT_FAILURE); } while (0);} #define status_check(stat) ((stat ...
Php pdo select row using database row id
Vote count: 0 Previously am using mysql to loop on users data getting the table row by rws[0], now that i change to pdo i still need to use this rws[0] get each row instead of using the row name like this $id = $rws->id; in pdo how can i make this work in pdo? OLD MYSQL <?php include('co .php'); $sq...
Group reportviewer and numeration
Vote count: 0 I have two drawbacks. The first is to group a few rows in my report. This report design http://i.stack.imgur.com/tiqfc.png And this is the result when I generate the report. http://i.stack.imgur.com/XdMsm.png Here we need to do the way that the two rows are repeated grouping. The other...
Table output to Word-2011 from Rstudio using knit
Vote count: 0 Trying to simply generate report ready tables JFT or monthly frequency summary tables in Word-2011 from Rstudio using knit from OSX. The archives suggest various solutions, such as HTML and asis, pandoc ( How to present a nice looking frequency table from R in MS Word), etc. All fail. ...
(PHP) Why is this while loop an infinite loop?
Vote count: 0 Can you please help me understand why this while loop repeats at 1 infinitely? What I'm trying to do it make a function that calls itself and prints out every number that is passed into is via the parameter. <?php function least($num) { echo $num . '<br>'; $num -= 1; while ($num > 0) {...
Writing a batch file to uninstall "psiphon"
Vote count: 0 There is a program that I am currently trying to write a batch uninstaller for. In this case I would normally uninstall using WMIC, however the program is not listed under "wmic product get name | sort". I can tell that it is making registry entries, so I know if the program is on the ...
How to fix code that returns undefined
Vote count: 0 I have this code: const liked_users = promises[1]; const disliked_users = promises[0]; if (liked_users.length > 0 || disliked_users.length > 0){ for(var i = 0; i < liked_users.length; i++){ for(var j = 0; j < disliked_users.length; j++){ for(var k = 0; k < _USERS.length; k++){ if(_USER...
My function on VBA does give some false negative output
Vote count: 0 recently I wrote a code in order to check the Social Insurance Number issued in Germany. I have 3 outputs, su ame, dob and the given Social Insurance Number. Between 3rd and 8th digits it consists of date month and last two years of birth. however, in some cases, it does retu false neg...
Spring RestTemplate post object not not sending in request?
Vote count: 0 I am consuming a web service using RestTemplate and my POST request is as follows. RestTemplate requestTemplate = new RestTemplate(); MappingJackson2HttpMessageConverter jsonHttpMessageConverter = new MappingJackson2HttpMessageConverter(); jsonHttpMessageConverter.getObjectMapper().con...
Sample C# code to read real time MIDI notes in
Vote count: 0 I'm at the start of a small project to capture MIDI notes in real time as played on an attached keyboard. I can process existing MIDI files but am looking to generate my data on the fly. In my estimation (and hope), my requirement is quite basic and I really only want to capture note i...