-3
votes
1answer
67 views

What is the best way to protect highly sensitive algorithms in my code?

I develop software for day traders and institutional investors. Some of their algorithms are highly sensitive, but they still want to sell these programs to different customers. The programs ...
2
votes
2answers
113 views

Does this data processing pipeline design need to be so complex?

I have a data processing pipeline with well defined stages and IO boundaries. I can choose a language to suit the needs of this design. It starts with an InputObject. At the end of each stage, ...
-1
votes
1answer
42 views

Qt connection Sql Server (universal connection string)

I am developing a software to connect to sql server. The problem is, ¿i don't know wich sql server is used?, and my question is ¿if exist a universal connection String?. I read many cases and in ...
0
votes
2answers
55 views

Modifying GPL code to link closely with another program

If program B is licensed under GPL, can a programmer modify it to interact with his own proprietary program, A, such that both programs are separate processes, and then only release the modified ...
3
votes
1answer
62 views

Encapsulating mutable objects with special structure in Python

I am writing a library for working with special types of trees, called Foo trees. A Foo tree has very special structure. There some operations, called bar and baz, which only make sense on Foo trees. ...
6
votes
3answers
84 views

REST API design: POST (implicit userId) vs PUT (explicit userId)

For some routes on an API, like GET /news, one would asume the user only wants news that pertains to them, so the userId is implicitly taken from authentication info. However, some of the routes on ...
0
votes
0answers
82 views

Member vs free function [duplicate]

I've read similiar topics and also the following great article: http://www.gotw.ca/publications/mill02.htm I'm still not quite sure how to apply it though. Basically I have a class that is an ...
1
vote
2answers
109 views

Example of writing unit test for a method

I am writing unit tests for an iOS application. I clearly understand the benefits of writing unit tests & TDD, but I am confused about what kind of tests you can write for methods like this; ...
-3
votes
2answers
117 views

JavaScript form validation without clicking submit button [on hold]

I want to validate a form using java script before user clicks the submit button. <form role="form"> <div class="form-group"> <label for="email">*Email ...
0
votes
4answers
100 views

Quit a program in main or in function?

Lets say I have a void method/function to check the arguments of the program: void check(int argc, String argv){ //some irrelevant code } In this function I have some checks to validate the ...
-4
votes
0answers
32 views

Operating Systems Programming Project : (Bus) Inter Pprocess Communication [on hold]

I have a project in operating system programming (Lunix) using c language , may anyone help me , please , This is the project description : implement a new inter-process communication method called ...
-1
votes
0answers
43 views

Coinvault / Bitcrypto ransomware idea [on hold]

So I got affected by this ransomware called bitcrypto , it looks similar to coinvault . It claims to have encrypted most of my data . Although there's not much I can try to break its AES 256 bit ...
69
votes
7answers
6k views

Short circuit evaluation, is it bad practice?

Something that I've known for a while but never considered is that in most languages it is possible to give priority to operators in an if statement based on their order. I often use this as a way to ...
22
votes
1answer
2k views

Why does C++ not have a “pure” keyword for virtual functions?

I have always wondered why we code virtual void MyFunction() = 0; and not pure virtual void MyFunction(); Is there a reference for the basis of this decision?
2
votes
2answers
156 views

return a object without returning the reference

i'm having some trouble with returning objects and lists of objects. To problem is I want to return a object in my example an developer but I don't want to give the reference. What's the best ...
-2
votes
0answers
39 views

Power8 or ARM or Intel server platform for long-term investment protection? [on hold]

Which server platform do You consider such as the best solution for long-term investment protection ? Some people can say "The future is unknowable" and can cancel this question ... But some ...
1
vote
1answer
43 views

Advice on architecture (WCF / MVC)

First of all, the basics. N-tier application: presentation, business layer, database. It is an old .NET 2.0 (WSE + WinForms) application, a bit more tightly coupled than I'd like, and the requirement ...
0
votes
0answers
46 views

GIS Design Patterns

I am looking to implement a GIS based application for climatological purposes. I have looked at these two papers as a template for structuring my data objects - ...
-1
votes
2answers
97 views

Hardware for a team of programmers (iOS / Android / Web developers) [on hold]

My question is not directly connected to the art of programming but about setting good working conditions for a team of developers, and I hope I can have some feedback here. I am looking for ...
1
vote
0answers
29 views

Using AngularJS to develop easy to implement modules for customers, wondering if this is a good way to implement this functionality?

Where I'm working, we currently have quite a few clients, both using Wordpress and custom site solutions that require our data to be sent via JSON to their site where they can then display it without ...
2
votes
1answer
75 views

How to design a serverside heartbeat with nodejs?

I would post this on http://stackoverflow.com/, but figured I am not looking for code, just an idea how to accomplish this. I have a gameserver that interacts with nodejs and uses the websocket ...
-1
votes
0answers
41 views

What are the right terminologies for website UI elements? [on hold]

This must be a very rudimentary question. I recently need to do some test work on some websites, and i am having trouble describing UI element in website not knowing what are the proper term to use. ...
-1
votes
2answers
198 views

which one is recommended object-oriented design? [on hold]

I made simple object-oriented prgram, and think about design. I wonder which one of belows is recommended object-oriented design. Most left side class is "Main" class. Black arrow means they are "Has ...
3
votes
1answer
56 views

Is FormsAuthentication obsolete? [on hold]

I am creating a website using ASP.NET MVC 5. I want to know if it is still OK to authenticate user using FormsAuthentication? Did Microsoft release any technology to replace FormsAuthentication?
-1
votes
0answers
61 views

Algorithms to find probable lines given a set of dots? [on hold]

I'm looking for ideas on how to approach the problem of connecting dots to form lines. Each line can have an arbitrary number of dots in it, with the dots being no more than a certain distance away ...
-3
votes
0answers
19 views

Microsoft.Reporting.WinForms VS2013 Missing [closed]

I've found several answers to this - Most involve running the REPORT VIEWER 2012 RUNTIME from https://www.microsoft.com/en-us/download/confirmation.aspx?id=35747 Been there done that. Doesn't show ...
2
votes
1answer
40 views

What's the best practise for storing web server credentials for your web app deployment?

I was looking at the Oracle documentation for the weblogic maven plugin. In it, they store the weblogic user name and password for accessing in the pom.xml. Just wondering, isn't this a terrible ...
1
vote
0answers
73 views

Software paradigms: prove that sum and sum1 are equal

Here are given two functions that calculate the sum of elements in a list. The proof should be done using induction. The hypothesis is: sum(as) = sum1(as, 0) def sum( as : List [ Int ] ) : Int = as ...
-1
votes
1answer
36 views

What technical caveats exist using EXT file system on Windows that programmers should be aware of? [on hold]

Every year I search for progress in mounting my Linux EXT (ext2,ext3,ext4) volumes on Windows. This isn't looking for those tools, I already know of things like Ext2Fsd - though if you know if ...
2
votes
1answer
57 views

HTTP API Versioning and Need to Introduce Breaking Changes to All Supported Versions

I am developing an HTTP application and deploying this by versioning it against the semantic versioning patterns/techniques/whatever they are. In order not to break existing clients and allow the ...
5
votes
3answers
205 views

When should I use C#'s implicit type conversion operator?

In C#, we can overload the implicit conversion operator like this (example from MSDN): struct Digit { /* ... */ public static implicit operator byte(Digit d) // implicit digit to byte ...
1
vote
0answers
45 views

Knowing when a SQL table is done updating before Querying

I am using a self hosted windows service WEB API as the layer between my Windows 8 App and a SQL Server Database because Windows 8 apps can't directly connect to SQL server like win forms or pretty ...
0
votes
1answer
53 views

how can the presenter or view interact with the model in the MVP pattern?

I'm learning the MV* patterns. MVP in this case. I'm trying to refactor an old android application into the MVP pattern to make things less tightly coupled, but I'm struggling one one concept. I know ...
1
vote
0answers
21 views

Proper usages of rooms/namespaces when making a News Feed with socket.io

I am working on making a News Feed for a piece of software that will have data posted to different hierarchical levels within the software. For example, the software will support multiple ...
4
votes
5answers
429 views

Is it okay to go against all-caps naming for enums to make their String representation simpler?

Several times I've seen people use title-case or even all lower-case naming for enum constants, for example: enum Color { red, yellow, green; } This makes working with their string form ...
0
votes
2answers
193 views

Getting help in StackOverflow: How often is too often? [on hold]

I recently got a job working with Ruby on Rails, and having never done Ruby as well as web oriented development, I am having quite a bit of trouble with a few concepts and getting stuck quite often on ...
-2
votes
0answers
21 views

Restricting file types when uploading to my server [migrated]

i'm currently working on a project for an IT class i'm teaching, so i've set up this page on my website where students can upload html files, so they can see what the final result is. How exactly ...
0
votes
1answer
49 views

Using Websocket for a multiple-page website

Is using Websocket (in particular, in a Java, SpringMVC webapp, with the Spring Websocket support libs, but the question probably applies to any language) for a multiple-page website a bad idea ? ...
0
votes
1answer
96 views

Non-licensed source code later becomes licensed

Last year, I created a derived work from published source code that was distributed unlicensed on a blog. Recently, I went back to the blog and noticed it was now licensed under CC BY-SA 3.0. Is my ...
-2
votes
0answers
24 views

ASP.NET: Testing performance and memory Usage [closed]

I am developing a website that have to be prepared for supporing a lot of concurrent users, so i need to test that. I would like to see what happen with the CPU consuming, Memory Usage, etc, when ...
-6
votes
0answers
64 views

getting square root(without using Math.sqrt function) using iteration loop or recursion [closed]

This is a problem mentioned in one of exercises in Think Java book. The problem is to get a square root of a number that has been input. ...
-3
votes
0answers
15 views

Coding app launcher for osx [closed]

I recently installed Google Chrome's App Launcher on my Macbook Pro with Yosemite 10.10.3. I really like how this looks and functions and I was looking into developing my own app launcher and was ...
1
vote
2answers
33 views

Using a masterID in sql to merge different item types

I am designing tables in sql for a small ticketing system. One of the demands is that a user/agent can post a ticket to either a department or an agent. Now if I have a child parent table where each ...
-4
votes
0answers
88 views

Now that I understand Object Oriented Programming, how do I persist objects? [closed]

I have spent much time learning Object Oriented Programming and I'm ready to begin development on a small project. I am using Python and OrientDB with the pyOrient binary driver. (also with an ...
-3
votes
0answers
26 views

How to transfer signed integers with libusb? [closed]

I want to communicate with an arduino and sent integers it. I code this program in C++. I initialy used bulk_transfer(), but it sends only 1 byte char data. I want to send signed integers. The ...
3
votes
3answers
192 views

Is this a good method to create class hierarchies?

Is it a good design to store the type of the object in the base class as an enum? For example, consider the following hierarchy Expr --Unary --Binary --Const ----Int ----Float How to represent the ...
0
votes
1answer
31 views

UML diagram for attributes that can have two different types

I have been to an interview for a financial programming job, and I could not answer to one question for sure. I thought about it again, but I really cannot find a good answer. They asked me to design ...
99
votes
11answers
10k views

Where should my team start with becoming “modern”? [on hold]

I'm a relatively new developer, fresh from college. While in college and during subsequent job-seeking, I realized that there were a lot of "modern" software development methodologies that my ...
-1
votes
1answer
40 views

SPARC and Assembly [closed]

I'm currently self teaching myself programming and became familiar with Python, Java and C and I'm confused as to what are the differences between Assembly and SPARC Assembly and whether or not I ...
0
votes
1answer
61 views

Do Temporary tables have any form of index in SQL?

Consider a simple query like this: SELECT * FROM DATA JOIN ( SELECT * FROM DATA )TEMPORARY_DATA ON TEMPORARY_DATA.DATA_IDN = DATA.DATA_IDN What is the performance of this? Is it O(n2) because ...

15 30 50 per page