-1
votes
0answers
16 views

Server side web? [on hold]

I want to create a website. I know html5 and css. I am still learning JavaScript. I found that these are used for client side, and now I have found that there is also server side which also needs ...
0
votes
0answers
12 views

Software or method for tracing variable use in code with graphical documentation?

So I'm reverse engineering some contractor C++ code that was not documented. It was written by engineers/scientists, and I'm not a full time programmer myself either. I have already "started from ...
0
votes
0answers
8 views

I have data how do I choose which files go within my test, cross validation and training sets?

I have data stored in a file structure as replicated below. I am using the data for a text classification system for each general category, and within each category I have different sources for my ...
0
votes
1answer
21 views

What is calendar time and execution time in terms of reliability testing?

What is calendar time and execution time in terms of reliability testing? My book is talking about the Musa Okumoto model and says that it uses calendar time and execution time. However googling and ...
-2
votes
0answers
24 views

Where to create objects and how to make them communicate with each other

I'm pretty new to OOP and need some help. I read quite a lot tutorials and watched some youtube videos but most stuff is about a small problem and quite out of the context. My problem is the ...
1
vote
0answers
19 views

When to use def in Groovy?

I have been developing in Groovy for a little while now and I'm wondering how often I should be using the dynamic casting def? A co-worker of mine believes we should use it always as it helps Groovy ...
4
votes
1answer
56 views

named arguments replaces the builder pattern

When using a language that supports named and optional arguments, does the builder pattern no longer have a practical use? Builder: new Builder(requiredA, ...
2
votes
6answers
212 views

Structuring Procedural vs OO code

I have spent the vast majority of my programming career using Java and very OO based C++. I am really interested in learning to think more procedurally, so I have been starting to do some practice ...
0
votes
0answers
36 views

C#/.NET multithreaded application design

The application to be designed serves as a bridge between two different systems. One natively speaks TCP (RS232 actually, but there's a COM->ETH server in the line of communication) - the other one is ...
1
vote
0answers
27 views

Why go uses Marshal and Unmarshal for the json encode/decode functions?

Go uses Marshal and Unmarshal to encode/decode json. Any idea why encode/decode is not used? It seems more common to me.
-4
votes
0answers
52 views

What is polymorphism, explained simply? [duplicate]

I know this is a duplicate question and a little "soft" but I have not liked any of the other explanations out there and would like to hear a simple response that does not generalize so much as to be ...
2
votes
1answer
27 views

Partial or full changelog for release

When releasing a new version of a program is it better to include the full changelog since the beginning of the project or just the part since the last release? I know that the release notes would ...
3
votes
1answer
26 views

Should I omit database and server communication (after initial response)?

I have a project that I'm working on where a user uploads a big file which gets parsed by the backend, and then returns the data back in a friendlier format. Now I'm wondering whether I actually need ...
0
votes
0answers
10 views

terminology: subject matter of a system

When a system is implemented, specifically to aid/assist/or manipulate a singular entity, what would the correct terminology for the entity? My example of this is an automated-growing system ...
0
votes
0answers
22 views

How can attributes/annotations be illustrated on a UML class diagram?

Many programming languages offer a way to annotate types. For instance, in .NET this can be achieved by deriving a custom attribute class from System.Attribute and then annotating another type with ...
1
vote
2answers
102 views

Automatic builders/chain setters for Java?

Consider that code: FancyClass c = new FancyClass(); s.setParameter(value); s.setParameter2(value2); //a lot of parameters It is really naive, so we can use a builder pattern: FancyClass c = new ...
9
votes
3answers
856 views

How to monitor a long-running program programmatically

What I've currently got can be summed up with this pseudo code: public static void Main(string[] args) { var listOfObjects = Database.GetObjectsToUploadToOnlineService(); ...
0
votes
0answers
49 views

C# async method on Windows Phone 8.1 (Nokia Lumia 920)

I am trying to better understand Windows Phone 8.1 app development and thought it might be smart to start with a sensor application. So, using examples from around the web, I was able to figure out ...
0
votes
0answers
31 views

Unit testing : verifying calls : is it a good practice for non-logic code? [duplicate]

I'm currently working on a Java project where many of our services simply call adapters, with no particular business logic. In the most extreme cases, the code of the service is simply return ...
-2
votes
0answers
48 views

why a statement is non deterministic on windows? [on hold]

I execute just a simple statement and every time i get different values. I was expecting that if the statement is the same the execution time will be the same. What is the things which cause this ...
0
votes
2answers
119 views

Is there a approximate string comparison function which is odd like mathematical functions are odd?

I say odd like a mathematical function, a mathematical function is odd if f(-x) = -f(x) I understand that comparing two strings may seem to have little to do with this, because the arguments cannot ...
-2
votes
0answers
17 views

Saving output from loop matlab [on hold]

I am trying to save the result of this loop into a matrix with the standard technique where I name a matrix in the loop. But it doesn't seem to be working here. There seems to be a problem with ...
2
votes
1answer
103 views

Alternatives to #if when polymorphism doesn't seem possible

There are couple of places where #if seems to give you abilities that polymorphism doesn't: Conditionally specifying base class When a section contains code that is not recognised by a compiler on ...
0
votes
0answers
29 views

React and simple UI state

I'm starting to playing around with React and have a basic question regarding state. I understand that in React state should only contain data which may change and cannot be computed from elsewhere, ...
-2
votes
0answers
11 views

my Vimrc disabled the copy/paste action using mouse right click [migrated]

Am using an open source .vimrc file from https://github.com/amix/vimrc/blob/master/vimrcs/basic.vim, but it is screwing up my default mouse right click copy paste actions. Whenever I do a right click, ...
-1
votes
0answers
14 views

MSMQ Issue related to HQ database [on hold]

I am newbie with the clustered HQ we are using now. I am a support in a retail store. We are encountering transaction datas not uploaded in HQ database. We isolated the issues and probably determined ...
0
votes
0answers
7 views

NodeJS Tool to control request / response flux

I m actually facing a problem with my NodeJS api with a "Cant send headers after they are sent", in a special case. To bypass this and to check a bit deeper inside nodejs, I wanted to know if there ...
0
votes
0answers
35 views

Compare names and the use of Levenshtein's algorithm

I need to cross names from two lists. What is the best away to compare the names? As you may expect, in one list we can have the complete name, on the other just the first and last. Besides that, ...
-1
votes
0answers
15 views

Retransmission logic [on hold]

I've implemented a buffer for TCP retransmission but I can't seem to get on a solid logic for monitoring the sequence number and acknowledgment of the sent packet. Can someone help me make an ...
0
votes
3answers
130 views

Does it really need to convert decimal,string, etc to binary?

I'm very new to programming. Just read some articles about algorithm for converting a decimal or string to binary. But,according to what I know, computers hold these data in binary form. So why don't ...
-4
votes
0answers
138 views

60 questions to ask the next employer [on hold]

I have written down a mind map with approximately 60 questions I wish I would ask the next exployer. Most of these questions are yes/no. What mistakes can you identify in the current mindmap - in ...
-1
votes
0answers
19 views

Passing Textbox value to Crystal Report Parameter c#

Could someone please help with my problem. I already have the codes for this but I can't seem to combine the two. Legend: dt1 = Dataset; crpt = Crystal Report File This is my code for loading the ...
1
vote
0answers
57 views

Were Java and Flash necessary pre-cursors to JavaScript and HTML5? [on hold]

Java appeared in the Netscape browser in 1995, with Javascript and Flash very soon after (I think). Java and Flash allowed programmers to add rich interactions to otherwise static sites, which can now ...
-2
votes
1answer
46 views

how integer type can handle text stream (getchar()) in C? [on hold]

While going through C programming by Ritchie and kernighan, I came across the following code. #include<stdio.h> int main() { int t; t = getchar(); while ((t=getchar()) != EOF) { ...
-1
votes
0answers
37 views

Using WiFi USB dongles to send non-WiFi data wirelessley in Java [on hold]

I'm currently trying to figure out what a good solution to make a peer to peer network. I need to stay away from existing peer to peer technologies such as ad hoc and develop my own. The equipment I ...
-2
votes
2answers
88 views

Is this a good game plan to become a fluent Java developer? [on hold]

I am an efficient person, and I am trying to find the best method of becoming a great Java developer. Here's what I'm thinking: First, learn syntax and Object Oriented concepts. Practice it, and ...
-2
votes
0answers
12 views

Reduction on array in FORTRAN [migrated]

I'm trying to parallelize a module in my FORTRAN code using OpenMP and I'm running into some issues with threads overwriting updated values in the array. Obviously my first instinct was to do a ...
1
vote
1answer
60 views

How to count sort comparison

When it is said that this sort has M number of comparisons what does it mean? As an example: procedure bubbleSort( A : list of sortable items ) n = length(A) repeat swapped = false ...
0
votes
2answers
82 views

Can someone else copyright my wordpress plugin if I don't own any copyright for it?

Assuming I have a plugin hosted on wordpress.org, can someone else just take my plugin and copyright it? Can they take the name of my plugin and copyright or trademark it (assuming I do not have it ...
0
votes
1answer
43 views

Average number of comparison for sort algorithms

I need to write different sort algorithms such as bubbleSort insertionSort selectionSort quickSort mergeSort And measure how many average comparison does each one for N number (averaging between ...
1
vote
0answers
52 views

Is the behaviour of floating-point arithmetic defined by the c++ standard?

I started writing this as a SO question but I think it's better suited here. While I'm happy for simply an answer I'm also fond of the "Teach a Man to Fish" phylosophy so I'm happy for people to point ...
0
votes
0answers
37 views

Microservices - remove unnecessary boilerplate?

My thoughts: microservices are becoming popular for distributed architecture java is (for now) a main course in enterprise applications JEE stack too How to reduce a boilerplate (including Maven ...
0
votes
1answer
80 views

Java front-end, PHP/MySQL back end methodology

I have been basically out of the programming world for about 10 years, with only a bit of dabbling here and there with small Java utilities and one large Access database I wrote for someone, and some ...
-1
votes
0answers
49 views

Are there any programming languages that lack a warning feature when doing an explicit type cast? [on hold]

As far as I can tell: Java, C#, Javascript, C++ do. I am assuming most modern languages give you something like: "possible loss of precision" or something. Anyone with a specific instance, this is ...
0
votes
0answers
25 views

Why does the EF query plan cache eviction algorithm reduce the cache to its cleanup trigger size, causing a perpetual cleanup?

The cache eviction algorithm for query plan caching in Entity Framework is described in section 3.2.2 as this: Once the cache contains a set number of entries (800), we start a timer that ...
1
vote
2answers
52 views

Passing context around AST nodes

I have various objects inside my AST, such as IfBlock, FunctionBlock, LogicExpression, etc. All of those objects share a context, which is basically a hashmap with some variables. It's a very simple ...
0
votes
1answer
52 views

Open Source Licensing and Intellectual Property Rights [on hold]

Is it possible for a developer to lose rights to work on a self-created, open-source-licensed project after an outside company, developer, or organization copyrights (or takes some other legal action ...
-2
votes
0answers
17 views

Streaming Audio on a Website? [on hold]

I'm interested in streaming a looping ambient track on my website. This would be similar to sites like Coffitivity, wherein a user clicks a button and gets to hear coffee shop background noise playing ...
0
votes
1answer
97 views

How do I design a Javascript Object to not use any public properties?

I have been playing with the Object creation outlined by Douglas Crockford in his new talk "The Better Parts" function constructor(spec){ var that = otherConstructor(spec), member, ...
1
vote
1answer
33 views

Keeping client side model and server side in sync in SPAs

Since SPAs have most of their domain logic client side, how do you keep your domain model in sync with the back end? For example, let's say I have a .NET WebAPI web service that uses the Entity ...

15 30 50 per page