-1
votes
0answers
10 views

Pausing/Resuming OneDrive syncing with C#

I need some help. I am looking for a way to set a schedule for OneDrive in a program I am developing. This schedule will only allow OneDrive to sync from Midnight(00:00) to 6AM(06:00). The scheduling ...
2
votes
4answers
33 views

Should we define types for everything in C#?

Recently I got into a problem with the readability of my code. I had a function that did an operation and returned a string representing the ID of this operation for future reference (A bit like ...
-3
votes
0answers
10 views

Intellij Student license and Microsoft Dream Pack license [on hold]

I'm a student and I can register Intellij Student Program for registry student license from Intellij. As in license comparison here. I see that: Student license just for Non-commercial only, ...
0
votes
0answers
10 views

Custom serializer or create base class which implements IXmlSerializable?

I am working on a project where I have very specific xml serialization specifications, that is: Some properties are elements, some are attributes Some properties are required others aren't Some ...
-1
votes
0answers
17 views

Error express-yeoman [on hold]

I am back working on "yeoman" and "express" and the truth just want to create a new project with "yeoman" but I get this Over here I leave a picture:
-2
votes
0answers
16 views

Concepts related to higher order functions [on hold]

I am trying to understand higher order functions. I know that they are functions that can take functions as parameters and return functions as results. But I feel there is more to it, for example, I ...
2
votes
2answers
44 views

Algorithms for allocating N balls into M boxes

Every box has at least no balls and at most N balls. Of course the total number of balls in M boxes must equal to N. For each allocation, I calculated a value based on the allocation: ...
-1
votes
1answer
88 views

Should we ignore object-oriented and study functional? [on hold]

I am programming in Haskell. I was wondering since that Functional programming is so perfect, like codes are more concise lesser complexity makes us think more about how program should work ...
-1
votes
1answer
16 views

How to help you client into making better requirements for you? [duplicate]

One of the most difficult and critical part of a project is to get good requirements from your client (internal or otherwise). I understand by 'good requirement' one that is not so high-level that's ...
-1
votes
1answer
16 views

ClickHandler for button = strategy pattern?

If you provide a implementation of a ClickHandler interface to a button (defining some behaviour), is this the strategy design pattern?
-1
votes
0answers
18 views

Java program exit function not working [migrated]

i'm a newbie to java so i decided to create a simple program that prints out even numbers. I tried to make it exit a while loop if you answered no to the question but it just keeps on going. Here's ...
-2
votes
2answers
106 views

Some people told me that finding all prime factors of a number is an unsolvable problem. Is that real? [on hold]

I'm a beginner, so I spent a lot of time trying to solve the 3rd problem on projecteuler.net, which is: "Find the largest prime factor of 600851475143" Now, I imagined it would be more useful if I ...
-3
votes
1answer
37 views

How would I start a website where people can upload pictures that are temporary? [on hold]

Would I need MySQL databases for the links to the pictures that would be stored on Amazon servers? What kind of web security would I need for uploads in order to prevent attacks? Can I scan files ...
-3
votes
0answers
18 views

Add line breaks in emails sent through SendGrid in PHP [on hold]

I am using sendgrid to send emails in my PHP application but when I add a /n it is not adding a new like. My code is $body = "From: $name\n E-Mail: $email\n Message:\n $message"; and I am ...
1
vote
1answer
47 views

How to concurrently write data in Java without locking?

How to implement a multi-threaded program in which each thread needs to write/output some data (in any order of course) but without the locking overhead that is involved with files or a particular ...
0
votes
0answers
10 views

How does GitHub calculates the score to rank search results?

I was looking at GitHub API Documentation and was reading about ranking search results. It's mentioned that GitHub uses a score to sort the results for the best match search. Unless another sort ...
1
vote
1answer
25 views

MVC, pagination, and massive search criteria

I am currently working on a project that has a fairly large search form - the form is 30 or fields or more. Now I can of course map this out for routing by having my application pull the parameters ...
-1
votes
0answers
26 views

Using Ruby for scripting in Objective-C [on hold]

I'm using Xcode 6.3.1 on OS X Yosemite, and I'm trying to use ruby as a scripting language in Objective-C. I've figured out how to load the Ruby framework and evaluate strings using rb_eval_string(), ...
0
votes
0answers
20 views

Difficulty designing my EventHandler class that uses a callback to handle key-presses

I wrote an EventHandler class that takes a std::function<void(char)>, and a std::vector<char> of chars (representing keys). If a key in the vector is pressed, the call-back is executed ...
-2
votes
0answers
25 views

Addition and Subtraction giving incorrect results [migrated]

I made a simple program to add and subtract the given numbers. Let's say the 2 numbers give were 5 and 5. It would print 5 + 5 = 10 and 5 - 5 = 0. Right now I'm not sure what's wrong. I might need a ...
3
votes
2answers
50 views

What characteristics does software have that's easily modified by other developers 6+ months after initial release? [on hold]

One of the measures of maintainable software is its acceptance of changes later on by developers other than the one(s) who wrote it. But what characteristics does software have when it has been in ...
-2
votes
0answers
36 views

How fast I can deliver features? [duplicate]

I have a question regarding Scrum and I would like to get an answer from PO view. When Stakeholder asks how fast you can deliver these features to me? What would be POs answer? Thanks
3
votes
1answer
122 views

Is it necessary anymore to extract logic from API controllers?

I've been working in MVC web frameworks since its they started getting popular with RoR and ASP.NET MVC. I have always been careful to never put "business logic" on my controllers since that couples ...
-3
votes
0answers
13 views

How can my clients send emails to various email lists on my server. [on hold]

I think this question was asked before but I would like to put a twist on what I need my software/website to accomplish. I would like to have a web application created that would process users ...
10
votes
3answers
654 views

Can GPL be implied to a derivative work?

There are three software projects: A, B and C. A is published to anyone and is licensed under GPL. B extends A, is published too, but has no license information or is mistakenly licensed under LGPL. ...
3
votes
2answers
101 views

Is it possible to speed up a hash table by using binary search trees for separate chaining?

I want to implement a Hash Table using Binary Search Trees to reduce the search complexity in the Separate Chaining process from O(n) (using linked list) to O(log n) (using BST). Can this be done, and ...
0
votes
0answers
41 views

Sorting a large number of unknown items with multiple stacks

Here is a problem I'm trying to solve for a personal project. I'm not exactly sure how best to even approach it. Problem: I have a single stack already populated with several thousands of unknown ...
-3
votes
0answers
29 views

What approach to develop a bot player for the Trax game? [on hold]

I have created a fully functional two player game of Trax. It is a Linux console application, written in c++, which saves the current state of the board into a binary file, which in turn can be used ...
0
votes
2answers
84 views

Is studying algorithms important for game development? [on hold]

I am fairly new in the programming world, I have a 1-year experience and I learned by watching online courses, and I made few iOS apps. Now I am moving into game development and I already ...
0
votes
1answer
28 views

What is the usefulness of transactions in a batch (especially a Spring batch)?

I understand what a transaction is in a web application, where you have some groups of database interactions which have to fail or succeed together so the database is always in coherent state. But ...
0
votes
0answers
32 views

Is there a better way to retrieve a ViewModel container starting from a Model?

I'm trying to figure out a more efficient method. To start, I have a viewmodel wrapping around a model. The model itself collectively becomes a tree. We'll call each model a Fragment: public class ...
2
votes
3answers
69 views

MaxHeap-like data structure supporting max AND min, also decrease-key (yes decrease-key)

For the purpose of implementing an optimization algorithm (finding the minimum of a multivariate function) I want to create a data structure that supports the following operations: load from array ...
-2
votes
0answers
59 views

The correct way to use a for loop in an array C++ [migrated]

I'm having some trouble with a homework assignment dealing with Arrays. I have already read all the text from class (which didn't help me at all), looked up several tutorials on arrays, and searched ...
0
votes
2answers
47 views

Write Once - Use Many for server return values?

Well, I was wondering how I could do this or how this is done. Having a server that accepts HTTP Requests and maintains a database for a mobile app, it is supposed to provide data for Android and iOS ...
0
votes
1answer
67 views

Haskell types for functions

I don't understand the answer to this question: Q: Can Haskell find a type for the function selfapply defined by: selfapply f = f f A: The function selfapply is not typeable in the simple system of ...
0
votes
0answers
32 views

Class Interfaces with Multiple Classes and Dependency Injection

NOTE ON QUESTION TITLE: I did not really even know how to phrase the title so if someone can edit and make it more articulate I would really appreciate it. QUESTION: Basically, what I'm trying to do ...
1
vote
0answers
37 views

How would I prevent assemblies that have been digitally signed from being called by unsigned assemblies?

Lets say I have an application with a few dlls to go along with it. The user installs the application, all of the assemblies installed on the computer are digitally signed with a certificate from a ...
1
vote
0answers
96 views

Have any C compilers ever *defined* `unsigned short x=-3; x*=x;` to yield anything other than 9

In a C implementation where int can hold all values of type unsigned short, standard integer promotion rules dictate that given the code: unsigned short x=(USHORT_MAX+1)-3; // Or just -3 x*=x; a ...
3
votes
3answers
116 views

How to open a desktop application through browser without a Java applet?

We run a cloud-based medical software, and a very important part of the program is bridging to an imaging software straight from our website, passing information through command line arguments. We ...
0
votes
0answers
46 views

Distribute software without license [duplicate]

I wrote a small tool for a game which I now want to present and distribute in the games official forum. Since a few days I'm thinking about which license I should use to distribute my program. I ...
-7
votes
0answers
32 views

Name this software development process [on hold]

A product manager prioritizes tasks/projects that are crucial to the business, such as deadlines, contractual obligations, or things that the business just deems important. In and around getting ...
-2
votes
0answers
25 views

View site with custom style sheet [on hold]

There is a website I like to visit on my mobile phone, but it isn't very well optimised. How would I go about forcing the site to use a custom style sheet I created? I would prefer it as an Android ...
5
votes
4answers
601 views

How to add a property to an object you can't change?

Let's say that I'm using a library and I would like to add a property that doesn't exist to an existing class. In this case, I'd like to add Color as a property of Fruit. namespace Library { ...
2
votes
2answers
55 views

GPL - do you need to provide the sourcecode for the dependencies?

Let's say there is a software that is build on basis of a GPL v2 licensed software. This software is being distributed in binary form. GPL requires that the source code and build instructions are made ...
-1
votes
1answer
27 views

Best practices in managing nuget repositories [on hold]

I've been involved in a project using Visual Studio 2012 that has multiple solutions and multiple projects. In most cases, one solution will have to refer to the library build in a different project. ...
-2
votes
1answer
23 views

Algorithm to generate parallel path inside polygon

A path is defined as a list of 2D points (x,y) (and may be open or closed). Given a path p, what is an algorithm which generates a path p' which is "inside" p and at constant offset to p i.e. each ...
0
votes
1answer
54 views

PHP - How to structure this application

Sorry if the title is leading.. I'm looking for advice for the following system I am implementing: The system is to provide quotes for customers, this is then exported to PDF and emailed to the ...
2
votes
2answers
67 views

Agile Scrum - Importance of requirement gathering and documentation and suggestions to improve

We are using agile scrum methodologies for developing and maintaining a product. Since we are a product company, we do not work with customer directly on day to day basis, but instead communicate with ...
2
votes
1answer
30 views

Upload files from mobile device to Amazon S3 architecture

I have an iOS app that communicates to a REST API I developed. I am using Amazon S3 for storage of image and audio files. Right now I am able to upload/download the files directly from the mobile app ...
-2
votes
0answers
47 views

Skills and knowlege of a medior and senior webdeveloper [on hold]

Which skills does a developer has to have before he can call himself a medior developer? And how big has to be his knowledge? And when is a developer a senior developer?

15 30 50 per page