0
votes
1answer
162 views

Do iOS frameworks require the same internal versioning as OSX frameworks?

I have been reading through the apple documentation for creating frameworks for OSX and iOS. Reading about the structure of frameworks, I began to wonder if there is really any need to create the ...
0
votes
0answers
2 views

R programming: the return of match() function

I typed in Rstudio and got the returns as follows: > match(c(1,2,3,4),c(1,2,3,4)) [1] 1 2 3 4 > match(c(1,2,3,4),c(1,2,3,5)) [1] 1 2 3 NA > match(c(1,2,3,4),c(1,2,4,5)) [1] 1 2 NA 3 ...
0
votes
0answers
4 views

Scaling a Restful Web Service Hosted in Server

We have deployed a restful web service on a application server ( Apache ). The volume is getting higher and we do want to scale it. We will deploy two more Apache instances on two more machines. Now ...
4
votes
0answers
14 views

How did version control work in the 80s and 90s?

I'm curious to know how programmer teams typically managed their software development back in the 80s and early 90s. Was all the source code simply stored on one machine which everyone worked on, or ...
0
votes
0answers
19 views

Managed / unmanaged mix design

I have a project where I'm mixing managed and unmanaged code, so I decided to make some wrapper functions which takes care of windows (this is the only reason for CLI support actually) and one more ...
5
votes
5answers
7k views

Should I store images in my database or file system in this application? [duplicate]

I'm using ASP.NET MVC 4 and SQL Server 2012. I have no problem going for either of these solutions but I want to know which one would fit better in the particular application I'm creating now. I'm ...
1
vote
1answer
53 views

Structuring projects in a solution for interfaces

I had this idea that I would achieve some good automation and separation of concerns as follows: Define an interface, IDataProvider, in a class in a DataMuncher project that needs to both consume ...
0
votes
0answers
24 views

Best practice to organize libraries on Windows

I have a development folder in which I put libraries and packages like zlib, boost, libpng, etc. However I've since been running into problems using utilities like CMake in which I have to set a ...
0
votes
2answers
20 views

Does the GNU General Public License (GPL) allow release under a different version of the GPL?

I'm currently modifying code released under GPL v2.0, and I'm wondering if the GPL allows release under a different version, say, GPL v3.0 or if it has to remain under the same version as the ...
1
vote
1answer
32 views

pipeline step with two outputs which will be used by different later steps

I am creating a java package which offers an API based on a pipeline pattern. That is I have a series of steps which can be plugged together in any combination provided their inputs match the Output ...
-6
votes
0answers
24 views

Are there “4 horsemen” that indicate a bad job going south? [on hold]

When a romantic relationship is falling apart, people talk about the "4 horsemen" of criticism defense contempt stonewalling A job is more one-sided. A bad manager has power over the employee. ...
0
votes
1answer
65 views

Using PHP to grab an excerpt of contents in a file?

I want to grab a couple of paragraphs of one of my blogs and then contain a link to see more of it on my homepage which will take the user to the page with the whole blog. The way I do it is tedious ...
4
votes
7answers
497 views
+100

Why aren't there more multi natural language programming languages?

Are there any programming languages that are available and extendable in more than one natural language? For instance, an english version with a do..while loop, a Spanish version with a ...
2
votes
2answers
46 views

merge vs rebase pull requests on github

I am actively working on a two person project with very few longstanding feature branches (longest existing branch is 3 weeks). I have spent the afternoon trying to understand merge vs rebase and ...
2
votes
1answer
107 views

Enumerating the primitive recursive functions

How can I enumerate (by expression tree size, for example) all of the primitive recursive functions that map natural numbers to natural numbers in a traditional programming language like C? For ...
0
votes
0answers
7 views

How should an entity that abstracts an external service do its operations?

I'm creating a system using some DDD principles and I'm stuck with a problem. To give a bit more of context on what I'm trying to do, let me first describe what the system is about: The ideia is to ...
1
vote
1answer
35 views

Saving an image in MYSQL vs saving to a folder

Is there an advantage to either method and/or a risk to either? Looking to upload JPG or PNG files only with a size limit of ~3mb with reduction done before insertion.
1
vote
3answers
81 views

Do methods Merge and Join make sense for a path class?

I'm writing a path class which currently has a method called Combine which works like the .NET Path.Combine. If an argument is an absolute path (roughly because it begins with \), then it replaces ...
2
votes
1answer
85 views

Process for TFS task handoff between users?

If I have a story with multiple tasks for different users, is there a good process flow when a task is dependent on previous tasks to ensure subsequent assigned users are aware that they now have a ...
1
vote
0answers
27 views

Design API for placing orders with differing parameters

Our customer wants to unify his ordering system, so that all of his end-customers can use one single website to place orders. The planned site will use web services to place the order in one of ...
-5
votes
1answer
45 views

How to release software along with a commercial product, without revealing source code(C++)? [on hold]

I want to provide closed source software along with a commercial product. I wish to not reveal the complete source code to the customer. My software is written in C++. I intend the customer to write ...
117
votes
5answers
45k views

Choosing between Single or multiple projects in a git repository?

In a git environment, where we have modularized most projects, we're facing the one project per repository or multiple projects per repository design issue. Let's consider a modularized project: ...
1
vote
3answers
137 views

How to best encapsulate features in software design?

I like domain driven design, and onion design. However I would really like my features to be encapsulated. If i check out some legacy code and I need to investigate some specific feature the best ...
-4
votes
0answers
27 views

Software Architecture(first level decomposition - restaurant system) [on hold]

I am supposed to create a first level decomposition for a given system with assigned responsibilities and interfaces. I must document and motivate the assumptions,alternatives and decisions. So my ...
0
votes
1answer
223 views

Laravel Algorithm for taxi app

I am trying to write a backend for a taxi service (university assignment) and I am stuck on the algorithm. whenever a new client posts a request, all the taxi drivers nearby get an email notification ...
-4
votes
0answers
33 views

How many ways to get a fixed number that is the sum of three numbers? [on hold]

Let's say you want to find out how many ways there is to make the number 5 using three numbers, which are added together. These are some of the ways: 005 => 0 + 0 + 5 = 5 122 => 1 + 2 + 2 = 5 ...
0
votes
3answers
3k views

Parsing excel data in Java before saving it to database

I'm working on some project where I have to make a database to store data which is currently kept in Excel files, so I have to do some changes before writing the data into the database. I'm going to ...
5
votes
1answer
227 views

Can I use dynamic packages in Delphi if I plan to build my application for cross platform usage?

Now I'm thinking about the architecture of my program. I plan to provide access not only for Desktop usage, but for mobile platforms as well. I want to create a bpl package as separate file. That is ...
-2
votes
1answer
53 views

Consistency of Undefined behavior

If there's a bug that triggers undefined behavior in a piece of code, is the undefined behavior consistent each time running it? and changes each time compiling it? For example if you had some C code ...
0
votes
0answers
39 views

In large code bases is it inevitable for the overarching design to be unknown? [on hold]

Case: Someone is working with a large code base (upwards of 600000 lines of code) that was designed and implemented by a team of which noone is currently working on the project. Furthermore, because ...
12
votes
7answers
5k views

Generating random math expression

I have this idea running around in my head, to generate and evaluate random mathematical expressions. So, I decided to give it a shot and elaborate an algorithm, before coding it to test it. Example: ...
-5
votes
0answers
10 views

Java project - need to pull data from website [on hold]

I'm doing a (personal) project that can help me increase my exposure in Java programming. I've been using Java to develop small programs for problems my friend gets from his university course over the ...
-6
votes
0answers
17 views

How do I write a reddit bot which will post stuff on a daily base? [on hold]

I want to program a bot for reddit. Where do I start? I need to solve following things (in pyhton): Log in with an account. Post comments on threads in a special subreddit. On a Daily base. For the ...
10
votes
4answers
1k views

When should I use mock objects?

I've read a lot of things about TDD but I still have doubts. For example, I have these class diagrams: It's a simple example, just to learn about TDD and mock objects. Which test should I write ...
2
votes
1answer
391 views

Grouping algorithm

We've developed an algorithm that depending on the check-in time of some workers and their living place, calculates the way to group them into some vehicles and the route which must be followed by the ...
1
vote
3answers
127 views

Nicest way to map RGB colors from HTML to LED

I have attached a RGB LED to a color picker on a webpage and have hit the obvious problem that though the LED is 8-bit like HTML the color rendering is very different so with the more subtle shades ...
1
vote
1answer
263 views

Loading dynamic CSS based on user

I want to provide different UI theme based on user who logged in. For that I have came up with following 2 options: Create separate files for all themes duplicating all the common CSS. This way I ...
1
vote
1answer
168 views

Should arguments always be passed to an Action in a MVC controller?

I have a number of controllers that take a 'site' as a parameter within their actions, like so: [AuthoriseSite] public ActionResult Index(string site) { var model = ...
-2
votes
0answers
12 views

Setting PATH environment variable on OS X and finding file locations [on hold]

I'm starting to learn Elixer with the Phoenix Framework. Setting up a HelloPhoenix project was easy, I have everything installed like Node, Erlang, Phoenix, Elixer, PostgreSQL, Hex etc. Now I want to ...
-6
votes
0answers
21 views

All subsets of a given set of N words

This is the task: Write a recursive program, which prints all subsets of a given set of N words. Example input: words = {'test', 'rock', 'fun'} Example output: (), (test), (rock), (fun), (test ...
94
votes
10answers
39k views

Should images be stored in a git repository?

For a distributed team that uses Git and Github as version control, should images also be stored in the git repository? For the most part, the images won't be changed. The folder containing them will ...
1
vote
0answers
10 views

Splitting the application into two different hosting providers

Due to cost I am currently thinking of using AWS for scalable hosting of the node.js backend of the application that would be nice to have monitoring,load balancing and all the goodies of the AWS ...
0
votes
2answers
29 views

PSD to HTML/CSS limitations when using Twitter Bootstrap

How do companies deal with limitations and constraints of Twitter Bootstrap after choosing to use it in a particular project? Web designers are no longer free to design Web pages. They need only to ...
0
votes
1answer
47 views

What's a good balance between learning and making things? [on hold]

I'm a professional software developer with several years of experience. I like what, consider technology to be my main hobby and spend a lot of free time on it. In the last 5-6 years most of my time ...
-2
votes
0answers
15 views

How can I estimate weibull parameter in R?

I have quantal response data with sampling test. Before sampling test decide sample size and sampling points. This data is test with '75' sample size and '20'sampling points. years fail ...
4
votes
3answers
520 views

Are there standard style guides for PHP?

I've been working in a very small team for PHP development and we've been using an ad-hoc, "Invented Here" style guide. Now that our team and codebase is growing, we would like to use a more ...
1
vote
1answer
34 views

In Ada, is there a way to make an enumeration type act like a modulus type — to wrap to 0 after the last of it's range?

I am re-writing an encryption/compression library and it seems like it is getting to be a lot of processing per bytes processed. I would prefer to use an enumeration type when choosing which of ...
7
votes
3answers
2k views

How to create and publish a useful Java library

I've recently worked on a Java class that generates permutations per list of objects. In any case, I would like to have this library offered to the public, so I have several questions: Most ...
2
votes
2answers
87 views

For Python programming and being Pythonic, why “never is often better than *right* now”?

In the Zen of Python, I can understand most parts of it, except: Now is better than never. Although never is often better than *right* now So I think doing it now or getting results now is better ...
2
votes
1answer
27 views

Scaling websocket client connections (not server) to multiple servers

I wrote a Slack bot which must connect to Slack teams through websocket connections. Since the bot might be used by thousands of team, I will eventually need to distribute the teams across multiple ...

15 30 50 per page