0
votes
0answers
9 views

Monthly billing updated daily

I'm currently working on handling a subscription payment with a monthly flat rate of say $34.90/month and an extra 10$/sub-user/month. Since we don't want to prevent users to add sub-users until the ...
0
votes
0answers
9 views

I just want to clarify things about the behavior of Session in Asp.Net MVC

The reason why I asked this is because I want to know the basic principles about the behavior of a Session object. I'm working with session variables right now and I understand that it has a major ...
0
votes
0answers
14 views

What should my user object know?

I have an architecture problem/doubt and I'd like some insight on this. Context : We're in a mobile app that solely relies on webservice calls to be used. There can only be one user logged in at any ...
0
votes
0answers
5 views

API calls as Server-to-Server or Client-To-Server?

I've been developing an iOS app for the best part of the year. It should also include fetching Tweets and Facebook posts for certain sites using the Twitter and Graph API respectively. I have set it ...
1
vote
0answers
29 views

Can I use write a null value into a file? Turbo C++

OK So I've been trying to create a manual database in C++. I have a structure called node, which has all necessary datatypes. struct node { int x; char y[100]; float A; }; now, I want the user to ...
0
votes
0answers
39 views

How to standardize a software?

I'm a developer and I'm working on a new DMS ( Document management System ) that I want to commercialize. In the world of DMS, there are those standards : ISO 2709:1996 Information and ...
-1
votes
0answers
27 views

Microservice architecture with legacy systems

We've implemented a microservice architecture with a few of our systems that includes passing change events across a service bus. However we still have a lot of big legacy systems that require ...
-4
votes
0answers
25 views

Someone could optimize following algo to run without expire maximum execution time [on hold]

Let smpf(n) be the smallest prime factor of n. smpf(91)=7 because 91=7×13 and smpf(45)=3 because 45=3×3×5. Let S(n) be the sum of smpf(i) for 2 ≤ i ≤ n. E.g. S(100)=1257. Find S(1012) mod 109. Here ...
-3
votes
1answer
34 views

Convert Python script to .exe?

I've done some researching, but all I know is that I have Python 3.4, Windows, and the desire to run python programs on computers without python installed. In my searches, I found out about pip, but I ...
-3
votes
0answers
13 views

Running a flash drive from x:\sources cmd [on hold]

I have the following problem. I had Windows 8 installed on my Mac (through boot camp) and have now decided to update it to 10). Basically, I did this in Windows itself and not through boot camp. After ...
0
votes
0answers
13 views

When to use trait components, objects, package objects in Scala

When I am adding dependencies in Scala, I tend to use mixin trait components for those that are inherit to the class itself. For example, DaoGenerator extends Generator However, for trait components ...
-6
votes
0answers
21 views

How can I hook Unity to browser? [on hold]

I am trying to hook a unity game to my browser. Any idea on how to do this? I am trying to hook it to a game on the browser so it can run my modified server. I have all the files and it works ...
2
votes
1answer
69 views

When to use generics in interface design

I have some interfaces that I intend third-parties to implement in the future, and I provide a base implementation myself. I'll only be using a couple to show the example. Currently, they are defined ...
1
vote
1answer
71 views

Does an asynchronous queue make sense?

I have my first C# TCP server and client running, and I want to now manage clients further. When a client connects, they can find a random game lobby to join, but first they must be put in the queue. ...
0
votes
0answers
32 views

Checking for null pointers or allowing a math library to segfault?

I've been going through the GNU GSL design document and came across this interesting line in the Test suites section: N.B. Don't bother to test for null pointers -- it's sufficient for the library ...
2
votes
1answer
45 views

Fix a leaky abstraction (type checking)

I have a method that accepts an interface and does type checking on the parameter, and depending upon the type a decision is made to either send an email or an alert public void ...
-1
votes
0answers
53 views

Agile - How many daily standups are excessive? [on hold]

A hiring manager explains they do 3 daily standups in their agile development environment. I have no background in agile/scrum, but that seems excessive (and micro-managery). Is it?
1
vote
2answers
90 views

Strategy to avoid running out of memory in memory intensive application

My C# .NET application has to read lots of files with electrical readings. There are several calculation to be done and output files need to be generated. Due to the nature of the input it would be ...
2
votes
1answer
14 views

User Inputs: Bounding Box, best practice?

I am creating a function in matlab that takes in two lat/long coordinates (opposite corners of a rectangle) and returns information about data in the region. How do I group my inputs? e.g. ...
1
vote
0answers
27 views

Could Java import C++ classes from a library using JNA or JNI?

In past, I used JNI to access some winapi functions, however winapi is C and therefore just procedural. Now my plan is different and I need to know whether I'm going in the right direction. What I ...
0
votes
0answers
4 views

Songkick widget not showing in expandable sections used in tumblr posts

I'm using expandable sections inside tumblr posts as shown here by Deepak Kamat and they work fine with text, videos, etc. I'm also using the Songkick widgets in tumblr posts and they work fine too. ...
2
votes
2answers
71 views

Bug-testing a gigantic program, how to proceed?

Hi guys I'm currently bug-testing a program at my university for a couple of professors. The program can generate several different reports with information about the state's public transportation ...
0
votes
0answers
31 views

Relational or NoSQL Database Design

Disclaimer: I also posted this question on Database Administrators, because I was not sure which was the most appropriate. This database holds assembly instructions data for shipbuilding, later ...
-3
votes
1answer
30 views

Simple addition program [on hold]

I can't figure out why my program won't return the sum of the numbers I input it just returns "sum=" import java.util.Scanner; public class Integers2 { public static void main(String[] args) { ...
-3
votes
0answers
60 views

How to compress and send 36,864,000 numbers per second over a network? [on hold]

You have a 3D mesh made up of 307,200 vertices. Or to put it in programming terms, you have an array with 307,200 entries whereas each entry is an object containing the properties id, x, y and z, each ...
2
votes
0answers
22 views

How do I Balance Multiple Service Contracts with Duplicate Structures

My current task requires me to use a set of web service calls to a 3rd party vendor in order to retrieve and update information. The objects used in these calls - namely the response from a get and ...
-5
votes
0answers
30 views

Meaning of LoopBack(Strongloop) licence [on hold]

I use LoopBack to build a software as Community Subscriber. Licence: https://strongloop.com/license/ Can I sell that software? Do I need to give the source code of my software away? Is anyone ...
-3
votes
0answers
40 views

Longer version of sort array [on hold]

I have an array of structs. struct Item { let textLabel : NSDate let detailTextLabel : NSDate } I sorted them with the following code: myArray.sort{$0.textLabel.compare($1.textLabel) == ...
1
vote
0answers
29 views

Decoupled architecture in Android

I am building an app for Android that will have multiple data sources depending on who is using it. N-tier architecture with a repository pattern seems like the right way to go about this but I am ...
-8
votes
0answers
33 views

can i write a software (windows application) and make it work on another windows application [on hold]

can i write a software (windows application) and make it work on another windows application. i mean i have a system (windows application) it has a shell command line. and i want to write ...
1
vote
2answers
121 views

How do I prevent people from abusing my endpoint that accepts files?

So I have a Django app hosted on Heroku that has an endpoint which accepts image uploads. The images are saved to my AWS bucket, which is charged to me. Right now, I am able to upload images by making ...
1
vote
1answer
66 views

Haskell: Is it possible to convert a Num to a Float?

I need to be able to convert generic numbers (instances of Num) to a Float. I searched Hoogle for a function with the signature Num n => n -> Float, but I couldn't find any such functions ...
1
vote
0answers
11 views

Azure ServiceBus Queue: Consumer Application

I am running a .net MVC4 web application. I want to be able to hit an action on a controller, create an email and send it to my service bus queue to be processed (sent). What are my options as far ...
1
vote
0answers
58 views

How Should I Design Models With Deep Relationship Structures?

I am designing a web application in ASP.NET MVC, which uses ADO.NET for the database access. In the past, I generally have put together a series of classes each of which, maps to one table in a ...
-4
votes
0answers
40 views

Psychological pricing algorithm [on hold]

I want to create a library (class in library) that will calculate psychological price for any positive price. Are there some algorithms that I can use to achieve my goal? Are there already existing ...
0
votes
3answers
201 views

Why does databases use text? [on hold]

This might be a little dumb question but why do we save text in the db instead of something smaller? Couldn't there be some other way to store data in the db like in a serialized form, and then have ...
-5
votes
0answers
16 views

zlib module not giving constant results [on hold]

zlib compress function not giving constant results.some times it gave the correct compression and when we transfer over the network the data received properly.But sometimes the data transferred over ...
2
votes
3answers
78 views

How to simplify structure of a monitoring software that uses the Observer pattern?

I am working on a project where I have to monitor the status of an elevator. So far, my design looks like this: We are using a third party library to read and monitor real-time values from the ...
-3
votes
0answers
24 views

Use google news RSS feeds in free application [on hold]

We're building a free Universal RSS Reader for Windows Store. We'd like to include a "Smart Tags" feature where users input their desired keywords and the application shows RSS feeds from ...
-3
votes
1answer
70 views

How much should earn a developer for a freelance job? [on hold]

I am a software engineer with 5 years of experience. I am starting to work as freelance for some jobs extra, and I don't have so much clear how much should be my price per hour. I work as Java ...
1
vote
1answer
102 views

How does Java's Scanner (System.in) input's buffering actually work?

Over the last days, I've being reading questions as the one that follows: "Why is my input code not working?" I myself had a couple times problems getting the input working right... as far as good, i ...
-3
votes
0answers
79 views

How to Calculate result of two Pictures [on hold]

Here is the one picture I want to fill out character of this picture After correctly fill out character of this picture the result is shown Now problem is the here how can I compare of this two ...
0
votes
0answers
91 views

Does a static class have to be nested?

I have this problem: "Create a static class in java. This static class must be separate from the class that contain the main function." Is this possible? I thought java only supported nested static ...
3
votes
2answers
261 views

What to do with my unit tests when refactoring code to a new class

I hope I can make a clear question... I've simplified my code example for this question, I hope it still makes sense. public class PersonComponent { public bool IsQualified(Person person) { ...
0
votes
0answers
95 views

Ways to present a project to programmers [on hold]

Am about to start a certain project with 3 or 4 developers. What is a suitable way to communicate the course of the project to them? I expect the solution to be a software maybe? or a way of ...
0
votes
0answers
45 views

ASP.NET synchronous commands handlers

A question about DDD, for validating a Proof Of Concept. Let's say we have a webpage that triggers a Domain Event. For instance, updating the status of a client after an interaction occurred on that ...
-1
votes
0answers
27 views

how to organize android activities to be related? [on hold]

I'm working alone on android Project , and this is my first complete android project , and there are many activities and more parts are related for each activity , I write each part (which is related ...
5
votes
2answers
1k views

Why do we need an instance of the Scanner Class to get an Input on Java?

Java is object oriented, but, why do we need to create an object from the Scanner Class to get input? Couldn't next() methods, for example, just be Static? C looks to me pretty simpler as you just ...
1
vote
1answer
104 views

Why do Haskell and Scheme use singly-linked lists?

A doubly linked list has minimal overhead (just another pointer per cell), and allows you to append to both ends and go back and forth and generally have a lot of fun.
-2
votes
0answers
19 views

Stripping one set of arrays and replacing quotes [on hold]

How could I take: s = [[0,0,0,0],[0,0,0,1]] and change it to: s = ["0,0,0,0","0,0,0,1"] Don't really mind how elegant it is.

15 30 50 per page