0
votes
0answers
3 views

Can I sell a website to another client which I have all ready sold to a client?

Apologies if this is not the right place to ask this question. Basically, I had made a website for one of my clients and the site is live. But this client only paid half of the amount and now is ...
9
votes
6answers
1k views

Is machine language always binary?

I know absolutely nothing in low-level stuff, so this will be a very newbie question. Please excuse my ignorance. Is machine language - the series of numbers to that tell the physical computer ...
0
votes
0answers
3 views

Implementing TDD for existing code

I've just been learning Unit Testing and I'm trying to understand how I could incorporate it with a project with existing code. Say I wanted to write tests for a specific class in that project, but ...
6
votes
8answers
812 views

Would a “downcast if block” be a reasonable language feature?

Consider the following "if cast": class A { public void f1() { ... } } class B : A { public void f2() { ... } } A a = foo(); // might return A or B if ( a is B ) { // Inside block, ...
16
votes
6answers
11k views

How to prepare for the GRE Computer Science Subject Test?

How do I prepare for the GRE Computer Science subject test? Are there any standard text books I should follow? I want to score as competitively as possible. What are some good references? Is there ...
0
votes
0answers
11 views

How to go about saving a Snippet / Block of Code - C#

I am currently learning C#, I am pretty proficient in Java. A project I have been working on for a while is basically an application that lets you input code "Snippets" or blocks of frequently used ...
0
votes
0answers
6 views

What should I write in aspirations in appraisal form?

I have recently joined a new office and they have provided me an appraisal form to fill it.There is text area for aspirations.I dont have any idea to what to fill in the that field.Can any body please ...
0
votes
0answers
5 views

Making ZooKeeper (and also Paxos systems) more available

Running ZooKeeper with 2 nodes does not make sense, because if either a goes down b goes down there's a network partition between a and b happens, ZooKeeper will declare business hours to be ...
4
votes
2answers
108 views

Kerberos web authentication

I'v developed an internal singe-page web-app (unix, apache & postgresql) protected by a simple login page. Currently, the users have their own login role with a password. This is starting to get ...
-2
votes
0answers
36 views

Java: What exactly to do with it [on hold]

I'm currently a Freshman (soon to be Sophomore) in High School. I started programming about 3 years ago and I've really only gotten as far as learning HTML, CSS, JavaScript, basic PHP, and basic SQL. ...
0
votes
1answer
70 views

Browser security and payments

I've been finding a lot of blog posts claiming JS encryption is unsafe, here's a couple of detailed ones: http://www.matasano.com/articles/javascript-cryptography/ ...
1
vote
1answer
78 views

How do you write good software while learning a language?

Quick background: I'm in an advanced C++ course for a study abroad program. The problem is that I don't have any background in C++. I have a modest C background, but I'm starting to think I have ...
2
votes
1answer
14 views

REST object with resources

I am designing a HTTP-based REST API. Let's say I have an entity called Entity that has a bunch of properties. Some of its properties are files. Let's say Entity has following properties: name: ...
12
votes
11answers
864 views

How useful is UML if you are a developer working alone in a project

How useful is UML if you are a developer working alone in a project?
0
votes
2answers
68 views

Making server logic independent of client interaction

I'm trying to make a realtime multiplayer web-game in node.js with express framework and socket.io library. But I can't seem to make my server-side logic independent of client interactions. I want ...
1
vote
3answers
60 views

Responding to app feature requests I'm not going to implement

I'm a new app developer and after like 20 downloads of my app (free and ad-free) I already got two feature requests, and I'm not going to implement either. Should I respond to these feature requests ...
0
votes
2answers
67 views

what is the javascript internal data structure?

Consider a basic js object: var obj={x:1,y:'2'}; Is this stored internally as a hashtable or does js use a different mechanism for key value pairs? If they are hash tables does anyone know how they ...
3
votes
6answers
304 views

MVC shared model different required fields on different type

I have a model called Car and depending on what type of Car the user select the view is presented differently. For example the user selects from a grid of different cars and depending if it is a Volvo ...
1
vote
1answer
47 views

Advantages and disadvantages of making one DB per customer [duplicate]

I'm starting to design a web application, and I'm evaluating some decisions regarding the general structure of it. My use case is as follows: I plan to have multiple customers on a single server. ...
0
votes
0answers
10 views

Spring bean injection into a hibernate validator constraint

I have a controller method like listed below whose argument is annotated with @Valid to validate PasswordChange object using a Hibernate validator @Constraint. Both PasswordChange and a sample ...
0
votes
0answers
6 views

Maintain froneEnd code in django application [on hold]

I will be soon be working on a Django application. I will be handling all the front-end code. I am new to MVX patterns and still learning. I am good with its concepts but havn't really made anything ...
1
vote
1answer
69 views

Why do some people use double octothorpes for comments? [on hold]

In Python (and I suppose other languages) you start a commented line with an octothorpe* (#). However, some people (and a few Python IDEs) put two octothorpes when you comment out entire sections with ...
-2
votes
0answers
13 views

How to calculate positions and randoms in scene. SpriteKit [on hold]

So here is a code : static inline CGFloat randomInRange(CGFloat low, CGFloat high) { CGFloat value = arc4random_uniform(UINT32_MAX) / (CGFloat)UINT32_MAX; return value * (high - low) +low; } ...
-2
votes
0answers
19 views

Scheme Advice, ways to improve

I'm gonna create a Student Information System with Laravel and MySQL. My two current planned tables are: enrollees & enrollees_detail enrollee id -> int last_name ...
2
votes
2answers
86 views

Security concern regarding web service

I'm currently working on a pet project with two of my buddies. This web service will basic functionality such as Login/Password Modification/Registration etc. All of us are comfortable with jQuery ...
0
votes
7answers
3k views

Performance analysis of C++ programs [closed]

How can I measure the performance of my C++ programs using C++? Specific metrics I want to measure are: Memory used (space) Duration taken (time)
2
votes
2answers
79 views

Why must essential mutable derived data have an inverse function?

I was reading the paper Out of the Tar Pit authored by Ben Moseley and Peter Marks when I came across the following section on page 25 regarding essential mutable derived data: Essential Derived ...
0
votes
3answers
62 views

what are the things to take in consideration when designing a database that likely will be distributed after some time? [on hold]

We are small start-up now, we don't have a DBA. if our project succeed, it will have a lot of data that will likely need to be distributed over several machines. So we want to make that step easier, ...
0
votes
1answer
28 views

DATABASE design for storing specifications? [on hold]

I am creating , a site like gsmarena , can any one help me with database design to store mobile specifications like here "http://www.gsmarena.com/asus_padfone_infinity_lite-6120.php" as user can add ...
-3
votes
0answers
95 views

Ages between 18-24, if statement [migrated]

I'm a beginner and I'm doing all the Java exercises on programmingbydoing. I get errors in my code cause I don't know what "symbol" or structure I'm supposed to be using. else if ( age == 18 || 19 || ...
1
vote
1answer
61 views

How to name filename parameter to make clear it should contain full path? [on hold]

I'm seeking vital naming of string filename parameter in parameter list used in various methods where filename with full path is expected. In many cases also UNC path can be actually supplied as full ...
4
votes
1answer
653 views

What's the current best practice for C multithreading?

I've been a Java (and PHP) developer for most of my life, but will need to use C for my next project. I remember some basic stuff we did back in school with fork, pthread, semaphores, etc. but I'm not ...
0
votes
0answers
17 views

DDD / Optimizing a specific service belonging to a specific bounded context regarding hardware

Well known is the split of a whole application into several bounded contexts to emerge an Ubiquitous language. while practicing Domain-Driven Design. In general, 1 bounded context = 1 archive file ...
0
votes
2answers
40 views

Multi-Branch Retail System,how to control items quantity for various branches? [on hold]

Currently I am developing Multi-Branch Retail software. All branches have the same set of items. However, each one has its own stock quantity. I will explain my problem in example: Lets say i have 2 ...
-2
votes
0answers
43 views

How to start searching for job abroad [on hold]

Sorry if this is too OT, not sure on which StackExchange site to post it on. I want to start searching for a job abroad, specifically in the UK (me being from Romania). I'm a Java EE programmer. I ...
1
vote
2answers
66 views

What goes within the Architecture Overview of a Design Specification?

I have designed an management system for a medical practice and I am writing the design specification and I am kind of stumped by what to write for a section. It asks for me to write about the ...
0
votes
0answers
18 views

Specific class to pass a bundle of data from my Model to Controller or a simple Collection?

I am doing an Invoice application implementing MVC pattern design in Java. One of the features my application has to have is showing all info about a Customer: Personal data, Calls, Invoices, ...
2
votes
1answer
173 views

How to process large files in NetLogo?

I am running into problems in NetLogo with large *.csv / *.txt files. The documents can consist of about 1 million data sets and I need to read them (to eventually create a diagram based on the ...
0
votes
1answer
71 views

Estimed number of tries

Problem: The Oscar Committee wants to decide which person should get the best actor award among the given N actors.For that they decided to use a random function random_bit() which returns either 0 ...
9
votes
5answers
1k views

Do compiler-writers actually need to 'understand' machine code?

Might be kind of an odd question. A guy writing a C++ compiler (or whatever non-VM language): Does he need to be able to read/write raw machine language? How does that work? EDIT: I am specifically ...
-3
votes
0answers
29 views

which language will help me do this task [on hold]

i am looking for a language TO COMPARE ARRIVAL AND DEPARTURE TIME FROM THIS WEBPAGE the output of my program should give me time difference between the arrival and departure of trains. which is ...
0
votes
0answers
13 views

How to protect and reduce delphi ex5 executable files size? [on hold]

I'm developing a Delphi windows service and this is my first Delphi project i ever had, it works very well it has more than 20 methods and uses quit large number of libraries. I'm a php developer. ...
0
votes
0answers
15 views

CUDA Loop Question - Worthy of Unwinding?

It's a known fact that branching is bad for CUDA. The question I have is a little more specific. I have a (static) loop. Static here means that it follows the exact same path every time, and executes ...
0
votes
0answers
14 views

ListView scrolling issue in JavaFX2 [migrated]

I'm developing a application which has a ListView which contains items which needs complex cell layouts. The cells are in variable heights and some of the cells tends to be larger than the view port ...
0
votes
1answer
49 views

Splitting and hiding headers in a static library

I am writing a static library for C/C++ (personal project). As my headers became rather large, I thought that splitting my headers would be a good idea. Right now a header looks like this: ...
-2
votes
0answers
13 views

Get changed file names from QFileSystemWatcher directoryChanged event [on hold]

How can i get changed file names or paths from QFileSystemWatcher directorychanged Signal
0
votes
1answer
63 views

Java Singleton fields implementation

I have singleton in Java and I have realized, that I could make its fields static and it would work same way as regular instance fields. Would there be a performance / optimization difference? If ...
0
votes
3answers
185 views

What is “using namespace” pollution?

I was looking at the google coding guide [here] and they do not recommend that one use the using namespace ornamespace:function` - if I did not misinterpret it. Does this apply to std as well? ...
-1
votes
0answers
35 views

LEGAL - Using screennames in copyright notices [on hold]

I would prefer to keep my real name private, so I use the name john01dav on the internet. I need to put a copyright notice on a fourm software I am making, I am wondering if I can use the name ...
1
vote
2answers
163 views

Frontend vs Backend data handling

Firstly I would like an answer from an experienced person (not a one man band), someone whom has worked in a medium/large team and had to battle with this burning question before. The problem: I am ...

15 30 50 per page