Member Avatar
Hi, for my final thesis I choose to elaborate about fuzzing. When I will defending my thesis I should have some results, some bugs. I would like to test some unix program but I need to choose carefully. I need the probability of finding a bug to be the greatest. …
by d8m9 13 in Linux and Unix ()
Member Avatar
angular .module('abc') .factory('dashboard', dashboard); function dashboard($http, notifier) { var service = { getAllMasterJobsNames: getAllMasterJobsNames }; return service; function getAllMasterJobsNames(request) { return $http.post('/JSONServices/JSONCampusManagementService.svc/GetAllMasterJobsNames', request).then( function (response) { if (angular.isUndefined(response.data) || (angular.isDefined(response.data.IsException) && response.data .IsException)) { notifier.error('Error fetching the Active Events : ' + JSON.stringify(response)); } return response; }, function (response) { …
by Bchandaria in Web Development ()
Member Avatar
fstream file; file.open("PasswordGenFile.dat",ios::out); In writing into a .dat file what does the following line mean? file.write((char *) this, sizeof(PasswordGenerator)); And how can i convert this bit of code if i want to write it into a .txt file?
by nuller in Software Development ()
Member Avatar
Hi guys, I had a test the other day and missed a question out because it confused the hell out of me. I dont know if it was a badly written question or just me. Heres the program below: public static class Mailing { public static void SendTestEmail() { List<Person> …
by ogsirus in Software Development ()
Member Avatar
HI, I am writing unit test cases for silver light view model. When i am trying to mock edmx context, i am getting errors as in the screen shot. Please suggest how to solve the issue. ![9559cdb1d93cc91198a358bac62eeca5](/attachments/large/2/9559cdb1d93cc91198a358bac62eeca5.png "9559cdb1d93cc91198a358bac62eeca5") Thanks kvk
by k.vijayakumar -6 in Software Development ()
Member Avatar
Heya! Okay, so I was able to register without using javascript. I am able to update my profile without javascript. I can login without javascript, and even send private messages without javascript. I can definitely make posts without javascript. Somewhat puzzlingly, I'm unable to *respond* to posts without javascript, which …
by spaghetti_code in DaniWeb Community Feedback ()
Member Avatar
hlo, i have a code in php with different functions. i want to test that functionality with php code. plz tell me how this automated test code would be written? individually i had test these functions but there is a requirement of a single code with which all the functions …
by annyangel in Web Development ()
Member Avatar
Hey guys I had an assignment to recursively write the Towers of Hanoi then test it. I did not have too much of an issue getting the program written But I am not sure what the book means by test the efficiency do they want the number of moves my …
by MrHardRock in Software Development ()
Member Avatar
I was writing unit tests for half year or more at my work, hoping that I do good job. But the problem is I rarely see the benefit of them. So I don't understand, why it is good. Many of the test functions look like this - they test model …
by SPeed_FANat1c 3 in Web Development ()
Member Avatar
Greetings fellow, I have a website and I would like to get the first "wave" of users for beta testing. The question is: where can I post an invitations to the site's beta testing? Perhaps there are specialized services or something like that? Thanks in advance!
by RedOctober_CZ in Digital Marketing ()
Member Avatar
The media, online and off, has been full of scare stories about the 'biggest Internet attack ever' and how a distributed denial of service (DDoS) campaign aimed against anti-spam outfit Spamhaus peaked at an attack volume of 300 Gbps (the highest ever recorded by those who record such things) was …
by happygeek 1,655 in Information Security ()
Member Avatar
Hello, I am trying to implement the repository pattern with my tests so that I can save and review all test information at a later point. So far I have a shell of what I need to do but as of now I am stuck on where to go from …
by compulove in Software Development ()
Member Avatar
I wrote out a test for a Complex class on python but I'm getting an error. Here's what I have: class Complex: def __init__(self, real=0, imaginary=0): self._r=real self._i=imaginary def __add__ (self, other): return Complex((self._r + other._r), (self._i + other._i)) def __sub__ (self, other): return Complex((self._r - other._r), (self._i - other._i)) …
by dp121307 in Software Development ()
Member Avatar
Hello, I was wondering if there is a way to display formatting in a richtextbox eg. If i put **test** the word "test" would be i bold (only the word "test" and the rest would stay the normal). or if i put `test` the word "test" would be i size …
by joshl_1995 22 in Software Development ()
Member Avatar
Ok, so I'm working from a book called Agile Web Developement with Rails 4th Edition. I got up to page 83 where they have us running tests to ensure proper validation of our code up to this point. So I have checked and rechecked to make sure my code is …
by Dante2 6 in Web Development ()
Member Avatar
my pc w/intel p4, 3.00 Ghz, 3Gb ram, 60 Gb Hhd(not proven to be running, yet), no O/S yet, formatted HD wiped with sys mechanic, tryn to boot from cd rom (windows oem XP pro sp3), turn on screen imm says " Intel Boot Agent FE v 4.1.10 PXE-E61:Media test …
by moshea2008 in Hardware ()
Member Avatar
Hi All, not the usual, "how can you help me" thread, but a heads-up on a templating engine I've been using for a while called RainTPL. A few users have posted threads of late asking about templates. I thought I'd give this one a plug, especially as Federico (the author) …
by diafol 3,065 in Web Development ()
Member Avatar
Maybe it's just me, but I like taking online typing tests, ever since those Mavis Beacon days nearly 20 years ago. Gosh that makes me feel old, but I do turn 30 in three hours :-P In any case ... I wrote a typing test script. Check it out http://www.daniweb.com/typing/test
by Dani 1,442 in DaniWeb Community Feedback ()
Member Avatar
Hi, I'm new to junit. I want to create test cases for if condition,loops. do we have any guidelines to write test cases for if conditions.Can any1 explain with an example. Thanks in advance. Lavanya
by Lavanya1312 in Software Development ()
Member Avatar
Hey! **Im here to ask for Your advice.** For a school project we choosed to create a android application that uses a database. As we are thrid year studens we have some experiance. But it is not as notable. We have **seen some**: **Access SQL** only on acess. How to …
by m1n1m3 in Mobile Development ()
Member Avatar
I initialize the selenium like [CODE]public void setUp() throws Exception { setUp("http://localhost/", "*firefox"); } [/CODE] and I write my test in the method like [CODE]public void testUntitled() throws Exception { boo(); foo(); }[/CODE] But it gives error like [CODE]java.lang.RuntimeException: Could not start Selenium session: Failed to start new browser session: …
by noktasizvirgul in Software Development ()
Member Avatar
hi I am interested to make a website wherein student can answer queries in MCQ format--- The requirements go like this 1. Bank PO EXAM 2. EXAM HAS 4 MODULES 3. EACH MODULE HAS MIN. 2-4 SUB-MODULES Ex English Module has 4 sub- modules.Each of them requires a different set …
by paraaggandhi in Software Development ()
Member Avatar
A way to measure internet speed through javascript is given here ... [Click Here](http://jsfiddle.net/yahavbr/tEFpC/2/) for it, it uses a big image to download and then divides the time taken by the size of the image ....! Is it possible to measure the speed using a video streaming website like Youtube …
by apanimesh061 in Web Development ()
Member Avatar
I want to test some graphics work I am doing with the Utah Teapot model. The issue is that all the data I can find on it uses bezier patches (which I have no clue how to render) does anybody know how I could get the data in a form …
by Labdabeta 182 in Software Development ()
Member Avatar
Hi! I'm working with a huge software system with a lot of people being involved in the coding through many years. I'm noticing more and more that there is a lot of bad code, especially get methods here and there with huge side effects, which you totally not expect. So …
by SasseMan 49 in Software Development ()
Member Avatar
Hey all! I was thinking about how to make a program, in which you write some c++ code and program tests that code with given examples. For example you input following code in that program: [CODE]#include <iostream> using namespace std; int main() { int a, b; cin >> a >> …
by SoapyCro 1 in Software Development ()
Member Avatar
hi, I have two class say class A and class B. Now the methods in class B are used only by class A. When I checked class B, I found that few methods are static and few methods are internal. Can you sugest me is it fine ? Or since …
by surajrai in Software Development ()
Member Avatar
GUIdancer 3.2, the latest version of flagship automated GUI testing tool from Bredex, now "officially" supports Windows 7 and Vista, and includes additional enhancements to its library of pre-built test actions. It began shipping on Nov. 3. Before you decide that US$5785 is too much to pay for an automated …
by EddieC in Software Development ()
Member Avatar
Is this a viable BIGENDIAN test: [CODE]int tmpvaluethatwillneverreallybeused=1; bool bigendian=(*(char*)(&tmpvaluethatwillneverreallybeused)==1); void myFunction() { if (bigendian) { //do big endian specific code } else { //do little-endian specific code } }[/CODE]
by Labdabeta 182 in Software Development ()
Member Avatar
[CODE] #include <iostream> #include<stdio.h> #include<string.h> using namespace std; int main() { // cout << "Hello world!" << endl; int t,i,j,a,flag; char str[1000001]; cin>>t; while(t--) { a=1; scanf("%s",str); for(i=0;i<=strlen(str);i++) {flag=0; if(!isdigit(str[i])) {flag=0; for(j=i-1;isdigit(str[j]);j--) { if(str[j]!='0') { flag++; a*=str[j]-'0'; //cout<<"flag"<<flag<<" "<<a<<"A"<<endl; break; } } if(flag==0) { a=0;break; } } while(a>9) { if((a%10)!=0) …
by swissknife007 3 in Software Development ()