5
votes
2answers
293 views

Does distributing non-GPLd assets with a GPL application violate the license?

This is somewhat related to my other question, but is actually different. I would like to license a Windows Phone application under the GPL. All other Windows Phone Marketplace issues aside (I'll ask ...
0
votes
0answers
122 views

git repo structure with post-receive hook

I plan to use git/gitolite to provide managed read/write access for approximately 30 developers and project managers to a shared SAN with the following file structure: base/ clients/ clientA/ ...
0
votes
0answers
55 views

Correct name for expression tree merging

Suppose some n-ary tree, representing some expression: A and (B and (C or D)) or (B and (C or E)) A / \ B B / \ / \ C D C E And consider ...
0
votes
6answers
147 views

How to express what do do when error occurs in a user story?

How do you express what to do when error occurs in a user story? Should the response to what happen on errors be in a task of the original user story, or should I create another user story that is ...
15
votes
3answers
1k views

does haskell have dependent types?

I know Haskell already has the ability to parametrise a type over another type (similar to template programming in C++), but I'm wondering whether Haskell can also parametrise a type over values – ...
-8
votes
0answers
33 views

I want to convert the entered avlue to other units but i am getting my output of all units as 0.0. Plz help me . Here is my code - [on hold]

package course.example.bighacalc; import android.support.v7.app.ActionBarActivity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; ...
1
vote
0answers
20 views

Recommend an approach to decouple Product and Access code constructs, in order to simplify Product testing

I have some code that tightly couples Product specific code and Product-Access code. I am not sure how to untangle it. So for example, for testing Product, I have to mock up Access objects. And ...
1
vote
3answers
93 views

memory management of multi-dimensional array

Could you please show me an example how to compute the location of an element in a multi-dimensional array. It is illustrated in Robert Sebesta's book Concept of Programming Languages that location ...
-5
votes
0answers
13 views

Problems while implementing RTMPT server [on hold]

I'm working on the RTMPT server. Seems, that all done correctly, tcpdump's logs shows no difference with Red5. Flash Flowplayer successfully passes handshake, creates and starts stream, initializes ...
8
votes
2answers
288 views

Why can't the Scala compiler give pattern matching warning for nonsealed classes/traits?

If I use an unsealed trait or abstract class in Scala and then use pattern matching, I wonder, does the compiler not know at compile time for this particular patternmatch what possible implementations ...
-3
votes
0answers
99 views

How to use my holidays productively? [on hold]

I currently work in Financial IT after having graduated a year ago. Whilst at university I felt like I was starting to learn concepts of how to structure a program 'well' and focus on analysis, ...
1
vote
1answer
79 views

How do I Create Automated UI test code for application developed using Domain-Driven-Design with very little concrete UI requirements?

We are developing an application using Domain-Driven-Design(DDD). We have to come up with Automated UI Test code. The customer has used 3rd-party GUI Administration template ...
2
votes
1answer
163 views

How can I encrypt or remove readability of source code before publishing it?

I am working on a collaborative project, for which I have to submit source code, which will be used/embedded in the main repository for re-compilation. Is there any way, I can encrypt the source code ...
0
votes
1answer
27 views

Is Exploratory testing Context Driven testing?

I do not think so, yet many sources say it is. As I understand it: Context-driven testing means that when planning testing on our project, I choose the methods, practices, etc. in order to fit the ...
-2
votes
0answers
23 views

Django Multiple Databases Fallback to Master if Slave is down [on hold]

I have master - slave replication setup for MySQL db backend for Django. Currently I am reading and writing for Master DB only, but my dashboards are quite query intensive. I was searching for an ...
0
votes
1answer
53 views

Calculating physical address given only an offset for my process

Learning about virtual memory with an program assignment. Currently this is what I have: Main memory has 60 bytes and virtual memory another 60 bytes. The size of a frame/page is 10 bytes. So there ...
-2
votes
0answers
28 views

How can I protect my add-in application from cracked versions of ArcMap [on hold]

I want to allow only licensed ArcMap to use my Add-in application, and/or prevent a cracked version of ArcMap from using that add-in application.EsriLicenseStatus Constant can't control if the version ...
1
vote
2answers
133 views

What's the etiquette on looking at the other person's email when pair programming? [on hold]

To me - if you're pair programming - then you don't open your email, or you decide you're cool with the other person looking at it. I've worked with a person who looks away, and expects you not to ...
-2
votes
0answers
31 views

Find the number of increasing Sequence of length K

Let we are giving a Array we have to find the number of increasing sequence of length K. 1 2 3 1 1 For the first window of [1, 2, 3], there are 3 non-decreasing subranges so the answer is 3. For ...
3
votes
2answers
2k views

looking for a short explanation of fuzzy logic

I got the idea that basics of fuzzy logic is not that hard to grasp. And I got the feeling that someone might explain it to me in like 30 minutes. I understand neural networks and am able to re-create ...
0
votes
0answers
11 views

Hosted sharepoint 365 howto design a transaction table with a multiple sell/purchase option

I've got a design question with Sharepoint 365 (hosted at Microsoft). Preferable without adding custom code, or with minimal custom coding. My background I'm a developer who works in a small machinery ...
14
votes
9answers
2k views

Is it good practice to inherit from generic types?

Is it better to use List<string> in type annotations or StringList where StringList class StringList : List<String> { /* no further code!*/ } I ran into several of these in Irony.
-3
votes
0answers
56 views

Material on advanced C++ features [on hold]

I'm an experienced C programmer currently working on learning C++. Since I'm mainly interested in its advanced features I was looking for the following. Is there any tutorial or similar out there that ...
1
vote
1answer
35 views

Java Unit testing multiple test cases in one test

Is it good practice to have multiple test cases in one test or should I always create one test for single test case in every situation even if it is redundant? Why?
0
votes
1answer
62 views

Periodically polling an API, are there alternatives?

I'm currently working on a service that is supposed to aggregate data from a number of APIs, unify the data, and offer it through another API to the users. I had a couple of ideas for solving this, ...
-4
votes
0answers
32 views

Any birdview article about Web development with Java? [on hold]

I am new to Java Web development. And I am tasked to create a prototype with Java and related technologies in a short time. So I am looking for some birdview article about the Web development ...
2
votes
4answers
88 views

REST-full design: recommended approach for fetching related entities

Suppose I have two entities author and post, were every post has an author. There exists a REST call to get a paginated list of posts: GET /posts?page={page} a REST call to get a list of authors: ...
0
votes
1answer
159 views

Where and how to reference composite MVP components?

I am learning about the MVP (Model-View-Presenter) Passive View flavour of MVC. I intend to expose events from view interfaces rather than using the observer pattern to remove explicit coupling with ...
18
votes
6answers
2k views

How to turn truth table into smallest possible if / else block

How can I take a truth table and turn it into a compacted if block? For instance, let's say I have this truth table where A and B are conditions and x, y and z are possible actions: A B | x y z ...
-4
votes
0answers
29 views

Wordpress site prevent acces wp-admin of live [on hold]

I have a wordpress site on my production server now the point is i want to stop the user to access the admin panel of the production server www.live.com/wp-admin And to change or access the admin ...
0
votes
0answers
17 views

Is having a parent controller to manage a set of tabbed sections an anti-pattern for an angular application?

A lot of times, I have long forms that I divide into multiple tabbed sections. Each section is managed by it's own controller and there is a parent controller that manages the whole view. I use ...
4
votes
3answers
229 views

Batching immutable object changes?

With immutable models, what would be the best way to batch several changes? For example, let's have a Book that is immutable. I need to change both title and year. I could change one by one, but that ...
7
votes
1answer
6k views

What have my fellow Delphi programmers done to make Eclipse/Java more like Delphi?

I am a veteran Delphi programmer working on my first real Android app. I am using Eclipse and Java as my development environment. The thing I miss the most of course is Delphi's VCL components and ...
8
votes
3answers
838 views

Reason for placing function type and method name on different lines in C

I just started at a company and one of the style comments at my first code review was that the return type and method name should be on different lines. For example, this void foo() { } should be ...
2
votes
2answers
125 views

OpenGL vs OpenCV for beginner

I am a freshman college student currently learning C++ programming. I am good at math and physics, so I am looking to specialize in 2D/3D graphics with OpenGL. My question is about the differences ...
-3
votes
1answer
64 views

How common are use SDLC methodologies in real life? [on hold]

My instructor told us that some programmers are not using SDLC methodologies for making a system. Because in our project, we used one of the methodologies. If we do not use one of them, maybe our ...
23
votes
2answers
5k views

How to improve upon Bloch's Builder Pattern, to make it more appropriate for use in highly-extendable classes

I have been greatly influenced by Joshua Bloch's Effective Java book (2nd edition), probably more so than with any programming book I've read. In particular, his Builder Pattern (item 2) has had the ...
0
votes
3answers
39 views

Standard practice to publish and source-control a single file?

I often want to publish some useful standalone script - e.g., a matlab script which converts flac files into wav files. If it were a big project I would immediately place it in Github, however it ...
-1
votes
0answers
16 views

Web Service To Upload Data And Expose As API [on hold]

Is there a SAAS solution that'll let me upload my data and expose that data via an API. My data is mostly simple; 90% of it can be represented by a CSV. There are some 1-Many, Many-1, 1-1, and ...
6
votes
2answers
579 views
+100

Does laziness yield more race conditions?

I recently ran into a race condition while accessing a configuration setting. After examining what I could of the code, I came to the conclusion that the Configuration class' laziness1 was the source ...
0
votes
1answer
73 views

Interface inherits from interface without specifying new member

Is it some kind of bad design to have something like this: public interface IFooStream { long Length { get; } long Position {get; set;} //... } public interface ...
1
vote
2answers
144 views

Live search/filter as you type in client approach

As an exercise for myself to practice my JavaScript "skills" I'm trying to write a client-side filter. It should be able to filter "content blocks" as the user types. By "content block", I mean a ...
4
votes
3answers
638 views

Looking for parallel programming problem [on hold]

I am trying to come up with a problem that is easily solvable in a parallel manner and that requires communication between threads for a test. I also am trying to avoid problems that require require ...
1
vote
2answers
101 views

Separate methods or single method with if statement?

I'm working on a .NET application and I'm wondering if I should use separate methods to handle the click events of two different buttons. They essentially do the same thing, just on different objects ...
2
votes
1answer
602 views

How to translate SQL query into REST API requests?

Let's say I have a machine-readable description (such as in WADL, Swagger or RAML) of a REST API that provides interface to a database. My users submit queries about underlying database in form of ...
0
votes
1answer
65 views

AJAX - What exactly does that encompass?

So I see on a lot of people's resumes they list AJAX in their technologies (or programming languages - and I recognize that it is not a language). To me, AJAX seems like such a small concept to be ...
6
votes
3answers
1k views

Is it OK to partially change a collection with PUT or DELETE?

I have a collection of products in a product group e.g.: product-groups/123/products If I need to add to the collection, is it OK that I pass only some products with PUT? If I need to delete some ...
26
votes
7answers
4k views

Is there any algorithm pattern to protect any content in the web to ensure I am the first one who created it?

A few years ago there was this hacker (don't remember who he was) that full disclosed a vulnerability in a given system, but to make sure nobody took credit for that, he created some kind of PGP key. ...
-3
votes
0answers
65 views

How to keep legal rights when hired to make a program [on hold]

I have been hired to make an iOS application where I will be given a set amount of money for completing different stages of development. I want to keep the rights to the code, however, so I can use ...
1
vote
1answer
231 views

Designing the bridge between REST layer to service layer

I am working on a project and would like to expose some REST services. The technologies used are RestEasy, EJB and JPA/Hibernate. I have structured my app so that there is a clear delimitation ...

15 30 50 per page