0
votes
1answer
67 views

New User Registration Logic [on hold]

I am writing up a user registration application in PHP as part of my learning process. I have written up the general rules my code should follow. Please let me know what you guys think of it. Have ...
-3
votes
0answers
86 views

Switch career from Java to big data - confused :/ [on hold]

I need some information to take a decision which matters a lot to me. I know this is a bit lengthy and I request you to read through it. Currently I am working as an application developer with the ...
0
votes
0answers
19 views

Suggestion to Design API Centric Application using Appengine

I have been planning to create an new application. So I was designing the application structure.i know this application will be accessed form multiple devices and the app feature will be increased. ...
-3
votes
0answers
38 views

Data streaming C++ library? [on hold]

I'm looking for a C++ library that implements a C#'s Stream-like interfaces over several common data tasks. So I need data compression, encryption, base64 conversion, file I/O to be implemented as ...
0
votes
1answer
55 views

Looking for a certain datatype if it exists

I'm looking for the kind of a certain datatypes. The main idea of this datatype is to describe a productionline containing several steps. Each step should be represented as a "vertex" containing an ...
-1
votes
0answers
9 views

Automated Testing Tools in Java for desktop application [on hold]

I want to write automated tests on Java for functional testing of windows GUI application written in Delphi7. I did automation testing of web applications (Java + Selenium WebDriver) but never deals ...
1
vote
0answers
88 views

Testing abstract class' behavior

I'm currently refactoring an existing design, which was created without TDD. There is a class hierarchy with one abstract base class and two subclasses. In the original design, these classes were ...
-2
votes
0answers
13 views

jsp page is not displaying in browser after successfull deployment of application in Google app Engine [on hold]

index.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- The HTML 4.01 Transitional DOCTYPE declaration--> <!-- above set at the top of the file will set ...
-2
votes
1answer
130 views

Should I use any Java framework to create a REST API server passing JSONs back and forth? [on hold]

I'm new to Java Servlets and I want to build an application using Tomcat which will basically be a RESTful data management application with no HTML part. So, it will accept GET/POST requests, do some ...
0
votes
1answer
115 views

How to organize HTML and CSS code that will be used by a back-end dev? [on hold]

We have a freelance front-end developer that creates the html, css and images. We don't want him to install the database & server code on his computer to avoid problems. The produced code is used ...
-4
votes
0answers
32 views

Difference between passing arguments by copy/value, reference and assignment [on hold]

What's the difference between those 3 types of arguments passing: 1) by copy/value 2) by reference 3) by assignment Exactly I don't understand the difference between the last two. Reference creates a ...
-2
votes
0answers
23 views

Developing Web Application using Java - Standards [on hold]

Are there any documented standards for developing the Web Applications using java. I want to know how I can go about putting down my idea in a document and translate it into a successfully working ...
1
vote
1answer
91 views

Naming convention for subclasses which extend/inherit baseclasses [on hold]

Zend provide a naming convention for Abstract/Interface classes which states you end these classes with the class type respectively. I am curios how to name my sub-classes which extend/implement ...
0
votes
0answers
36 views

SQL Permissions differ in SSMS and ASP.NET? [migrated]

I have created a schema and user called "WebAPI" which is used by ASP.NET project to get stock levels. So, I have simple stored procedure: SELECT p.ProductCode, SUM( sl.Qty ) AS 'Qty' FROM ...
-4
votes
0answers
121 views

Should I refund a client or not? [on hold]

I agreed to build a project for the client staying oversees. We brushed up few details and divided the work into milestones. I told clearly to the client that the work will be milestone based. I ...
-7
votes
1answer
62 views

How are constructors getting executed in this code snippet? [on hold]

I am not invoking any constructor. How are they getting executed? I have only called constructor of class C. import java.lang.*; class A{ A(){ System.out.println("INSIDE CLASS A"); ...
20
votes
3answers
1k views

What does HATEOAS offer for discoverability and decoupling besides ability to change your URL structure more or less freely?

Lately I've been reading about Hypermedia as the Engine of Application State (HATEOAS), the constraint that is claimed to make a web API "truly RESTful". It boils down to basically including links ...
-2
votes
0answers
47 views

How to write SOW? [on hold]

From wiki: A statement of work (SOW) is a formal document that captures and defines the work activities, deliverables, and timeline a vendor must execute in performance of specified work for a ...
0
votes
1answer
83 views

Using factory pattern when classes have little in common

I have used Factory pattern where I have multiple classes which does similar sort of work, but I don't want client to worry about class instantiating and return types. So Instantiate the necessary ...
-4
votes
0answers
29 views

Where should I start programming a 3D object file viewer? [on hold]

I'd like to program a 3D object viewer and I'm only familiar with java and c#. Where can I start? Thanks in advance.
-3
votes
0answers
17 views

How do you set the text of a label to an array value on Xcode? [on hold]

I would like to set a value of my array to a label. Array declaration: // // ViewController.h // Cornell Notes // #import <UIKit/UIKit.h> @interface ViewController : UIViewController{ ...
0
votes
1answer
24 views

Rails engine testing - use dummy app or real parent app?

I'm using Rails engines to break up a big app into smaller pieces. The parent app mostly handles users and authentication. In one of my engine tests I want to log in a user before each test. How ...
-1
votes
0answers
16 views

Dependency issues when setting up Heroku Toolbelt in linux [on hold]

I've been trying to setup the Heroku toolbelt on my linux system. When I run the script, I always get a list of dependencies for heroku and foreman that looks like this: Building dependency tree ...
-4
votes
0answers
26 views

how to set color for each item of my arraylist <integer>..PLEASE HELP! [on hold]

int semana; int aux; int aux2=1; Resources resources = getResources(); SpannableStringBuilder builder = new SpannableStringBuilder(); View v = new ...
-2
votes
1answer
27 views

Count word in JTextArea [on hold]

How can I count the words in the JTextArea and how can I print the ans of the int variable containing the word count to another TextArea. import java.awt.BorderLayout; import ...
2
votes
4answers
183 views

Scrum task over estimation

In my current company we're using Scrum with 2 week iterations and a regular planning session. How planning normally works in our company is that we take a predefined , prioritized (by PO before the ...
0
votes
1answer
93 views

Why Num&sizeMinusOne faster than num&(size-1)

I've been told that when I have a hash table of size m and m=2^k, I can use the & operator as num & (size-1) instead of num % size, to fit the hashCode to my table size. I've also been told ...
-1
votes
0answers
15 views

Designing an ordering (ecommerce) system [on hold]

I want to design a very simple order system (ecommerce). Here is the process flow: User select items to buy, make an order and select a payment system. User is taken to the payment system to ...
-1
votes
0answers
42 views

How Do I build a Custom Web Browser Using Webkit? [on hold]

This is my first post, so please bear with me. First, though, let me introduce myself: My name is Jessica and I am 30 years old. :-) I want to build a custom Independent webkit based tabbed web ...
0
votes
0answers
22 views

How to declare two dimensional array accessible from other functions? [migrated]

I have a quick Question: If I want to have a two dimensional array accessible from other functions, should I define it as a static ? and If so, How can I initialize it using other members. Here is ...
3
votes
2answers
158 views

Evaluation order of expressions in Clojure?

I'm currently learning Clojure (my first functional programming language), and I'm curious as to its order of evaluation. Here is an example: (take 10 (cycle [1 2 3])) If the cycle expression was ...
1
vote
1answer
53 views

Is it possible to get probabilities from a support vector machine?

From what I understand, SVM's take a discrete number of x and y values from which to learn from, then when given new x values map it to one y value (category). Is it possible to use SVM's or something ...
-3
votes
0answers
24 views

How to periodically wake and check status in iOS? [on hold]

I want my app to periodically wake and check a status, but burn minimal cycles between wake ups. Is the a Core call for this or an accepted design pattern?
-1
votes
0answers
13 views

code time out at some value of n [on hold]

let us consider following code function [aic_matrix,bic_matrix]=ARMA_model(y,n); %n possible order of each model LOGL = zeros(n,n); %Initialize PQ = zeros(n,n); for p = 1:n for q = 1:p ...
0
votes
0answers
20 views

Compare data in a unknown size input file [migrated]

I'm writing a time sheet calculator program to go with a time clock program I wrote. I've got the inputs coded into arrays, but I'm a bit rusty and can't figure the best way to compare the data. The ...
0
votes
0answers
34 views

How to put sensor into my deployment diagram

I am just working on a project which asked me to draw a deployment diagram, here I am confused about how to put sensor into deployment diagram. Project said, there are 6 buildings has 6 computers to ...
-1
votes
2answers
38 views

Naming convention for classes that represents different versions of the same thing [on hold]

Let's imagine I have an abstract class named ProtocolA that represents the basic operations to work with the protocol A. Such protocol is in version 1, but new revisions are expected in the future. ...
-1
votes
0answers
27 views

How do I set 'makehome' in Javascript as an automatic process instead of a voluntary choice? [migrated]

Instead of using makehome() to create a button for users to change their homepage/startpage, how can I use makehome as an automatic function that is a part of the registration process instead of ...
1
vote
1answer
103 views

How can I create a set of random numbers based on a total and number of objects?

For example with: Total population = 400000 Number of villages = 800 The average population is 500 How can I randomize the amount of people in each village using a specified deviation (eg +-50) so ...
1
vote
4answers
326 views

DRY code, DRY tests?

At some point I had to create some class "Class1" and that class needs a method "method". So I have the following: Class1MethodTest: A total of N tests that check the behavior of Class1.method Class1 ...
0
votes
2answers
49 views

Is byte stuffing required when using a packet field length

I'm involved in a project which involves implementing a binary protocol that will be transmitted over TCP. During our early discussions we have hit a brief snag on deciding whether byte stuffing is ...
-2
votes
0answers
36 views

Mongo DB schema creation

I am creating a chat app. What I will have is A set of users who will chat with customerCare. A company holding different departments. A department holding different agents. Agents from various ...
0
votes
0answers
5 views

Arraylist - Resort Rental [migrated]

When the user enter the id and resort code, how can i search in the arraylist and get the array number that the id and resort code store in? using For-Loop. for(Person pe: guestList) { if ( ...
-1
votes
0answers
40 views

job switch from proramming to testing [on hold]

Need help from IT experts ,I am an softwer developer having an 4yr of experience (java) due to hectic life Iam not able to maintain work life balance , now Iam thiking to switch to Testing field may ...
0
votes
2answers
78 views

How to plan for multi-platform application development [on hold]

In my earlier days of programming, I was using Visual Basic for learning. It taught me many concepts, and I was able to make some cool programs (in my opinion, anyways...). I have expanded my horizon ...
0
votes
0answers
36 views

distribution, release and version

Linux is packaged in a format known as a Linux distribution for desktop and server use. Linux distributions include the Linux kernel, supporting utilities and libraries and usually a large amount of ...
-1
votes
1answer
65 views

Creating open source version of employers software [on hold]

As an open source project in my spare time I am considering writing from scratch a hopefully improved version of software my current employer uses. Some key points. The software is internally used ...
-5
votes
0answers
63 views

Problem with this program? [on hold]

Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city's anniversary, a decision was taken to pave the Square with square ...
1
vote
2answers
118 views

Using the Decorator pattern to add public methods to an object

The Decorator pattern is usually used to extend the functionality of an object by extending one of it's current methods. To illustrate, please consider an object object and a decorator decorator. ...
-2
votes
0answers
21 views

Extracting visual data from a Program for external use [on hold]

I am looking at basically capturing VU Meter data from an audio recording program, preferably the highest resolution possible, and inputting that data into a circuit to power LED's, respectively. I ...

15 30 50 per page