# All Questions

8 views

### Phrase for “timestamp”-like value that increments every time there is a state change?

Is there a phrase in common use for a counter that is incremented every time the state of an object changes? It's not quite a timestamp and it's not quite a revision but maybe there is a common name ...
7 views

### What would cause Webpack not to compile .js files?

So after installing Webpack via npm, I produced a javascript file and asked Webpack to compile it into "bundle.js" as per the tutorial link below(2): webpack app.js bundle.js It doesn't give any ...
12 views

### a funky interleaved sorting problem

I need your help geeks. ;) Programming language is irrelevant. I'm just trying to come up with a good algorithm for addressing the problem. I have an array of items. Some items have a number on both ...
22 views

### LGPLv2.1 and USB dongle usage [on hold]

Can I legally protect an application that uses a LGPLv2.1-licensed library with an USB dongle? Can I also legally protect this application from hacking (in order to avoid a dongle protection)?
10 views

### How to answer uncertain question during meeting [migrated]

I am going to attend a big meeting after this week and I have to ready some answers which are commonly asked during the meeting. My concern is there are some questions is beyond my knowledge. How am ...
37 views

### Standalone library for error logging?

Background Here is how I currently log any exceptions that occur in my code: Pass each object instance the path to a file where I want all of the logging to happen. Each of the objects have their ...
41 views

### call a non GPL-Program from a GPL program via fork

I downloaded a GPL program, I want to modify this GPL program in order to make it calling a non gpl program (commercial license) via fork+exec. Concerning the input/output data of the non-gpl ...
8 views

### Appropriate Exception Type for Connecting to a Device via COM port

I'm working on creating a C# wrapper library around a native C library that allows me to directly communicate with a particular piece of hardware over a serial (COM) port. Of course, the C library ...
64 views

### How to mount a virtual drive?

I wondered if it is possible to mount a virtual drive (file) with Java. I saw that before in Truecrypt. So is it possible with Java? And how can I achieve that?
35 views

### MIT License Creating a script that is illegal to use [on hold]

Let me be clear on this. We are creating some Open Source scripts to gain more attention on our social media networks. These scripts are not legal to use because they break the Terms of Service of the ...
28 views

### Understanding Android MVP

Lately my team has started considering the implementation of MVP pattern in some of our applications. We followed the several guides and tutorials out there, basically ending up with regular ...
24 views

### Refactor using CTI or create new Entities

I'm currently developing on a rather large e-commerce application that handles multiple different business-fields. Like every e-commerce application we have a Concept called an Order which has one or ...
577 views

### When should I extend a Java core class

My current understanding of Inheritance implementation is that one should only extend a class if an IS-A relation is present. If the parent class can further have more specific child types with ...
17 views

### Data analysis of structured data which is in different form

How can I select tools to help me to solve my scenario? I am looking for suggestions. Scenario I have contact information like email ID, mobile number and some related items in my database tables ...
37 views

### How to improve timeout value dynamically?

I'm working on an application where I want to keep a timeout value computed dynamically using a moving average of say 100 previous response times for service A. This value + some buffer (~3 seconds) ...
68 views

### How to write C for POSIX? [on hold]

If I want to write my C for POSIX, which compiler flags should I comply with? -ansi? -gnu89? Or is it ok with C99? I write a lot of loops this week and I wonder if this is better declaring the ...
42 views

### Implementing redundant GIT backup scheme

I want to push a local repo to multiple remote GIT repositories to achieve redundancy in my backup scheme. So, let's say I plan to use Github and BitBucket to host my repositories. I have two ...
79 views

### Using “partial” type to shorten main class file

Is it a normal practice, or a sign of a bad design? For example I have a function that loads prefabs in a main logic class nearing 200 lines, and I can either move it out into a separate file ...
30 views

### How do I draw an Entity Relationship Diagram in a diagram with different level?

I'm am beginner and doing internship at a company. He asked me to develop a program to supervise their staff working progress. He said the system should have different level of users and the system ...
29 views

### What licenses can I use with closed source software? [duplicate]

I'm writing desktop app, and I know that I need to license it. But every time I search for licenses, I can only find licenses for open source software such as GPL, MIT, or WTFPL to name a few. But I ...
64 views

### Should stories be usable?

I'm new to Agile as a methodology, although I believe a have a basic grasp on its principles. My team is currently building a framework that will support our client's application in the future. As an ...
74 views

### Proper RESTful web service response code usage

Assuming I create a RESTful web service that looks up a user in a database given the id as a parameter. If the user does not exist, should I return a 404 response (because user not found)? Or a 200 ...
49 views

### Data Layer Architecture Help

I need help architecting a data access layer using Entity Framework. Here are the requirements: The database is preexisting, an absolute mess, and it's structure and cannot be altered Entity ...
1k views

### Why isn't C's most basic printing function named print instead of printf? [duplicate]

AFAIK, C does not have a print function. The most basic we can get is printf. So, is there a reason why this function is not simply named print, instead of printf? Note that this question is about ...
45 views

### Efficient Value-Lookup in List of k-Tuples

I've encountered a problem in a personal project that I think could be solved by a particular data structure but I'm not sure what. The problem is as follows: Given a set of k-tuples, provide an ...
28 views

How can an open source license be compatible with a multi-licensing scheme? According to a similar question, the author of a library could potentially change its license. But problems arise when the ...
23 views

### Taking an update with uncommited changes in GIT… no merge conflict?

I have some changes I have made to my GIT repo but have not yet committed. I then took an update and some of the code that was merged overwrote my initial changes that I had not committed yet... Isn't ...
80 views

### Are there other style sheet languages than CSS?

So this came up in a discussion over lunch about how weird the HTML, CSS and JS triangle of web technology is. HTML is a markup language, one of many. Javascript is a programming language, one of ...
23 views

### Is pchart 2.0 free? [on hold]

I am develloping a website of horse racing pronostics and I just wondering if pchart can possibly be free for my case... Basically, I will offer to my customers to pay for getting my pronostics. ...
56 views

### Kindly comment this line of code [on hold]

Code: //lookup the chunk lookup(chunk_t e):elem(e) {;} Kindly comment this line of code. What does it mean? The function and what is it pointing to?? Thanks
153 views

### Should You Improve Code Quality Whilst Working on a Feature Branch

I really like this article about leaving the code/camp site in a nicer state than you found it - it seems like a practical approach in the real world to keep on top of code cleanliness. I also ...
92 views

### Return object or dynamic from a method

I have created string to linq query library for internal company needs. We will use this library for querying over REST mainly, but it could be used in a lot of other different situations. The gist ...
46 views

### Apache 2.0 license without disclosing source

I'm building a software and I want to release it under Apache 2.0 license. Unfortunately, right now, I've no time to put sources codes on public repository like Github or BitBucket. And more, I ...
15 views

### Accessing and using parent class members with super Python [on hold]

The code below is not running and I guess I am a little confused as to how to use parent class members through child class functions. class First(object): #a=b=0 def __init__(self,a,b): ...
129 views

### Ubiquitous language and maturity level in REST API?

According to Richardson Maturity Model there are several levels of maturity in REST approach. http://martinfowler.com/articles/richardsonMaturityModel.html Since DDD uses ubiquitous language, I am ...
38 views

### Java Certification exam materials and objectives [on hold]

Iam preparing for java certification exam using this tutorial site http://www.javaprepare.com/java-questions/ please suggest me some books regarding java certification..
97 views

### Supporting development for older OS

I am maintaining a large portion of legacy code, written in C. This code was initially written to be comiled against Windows 3 for Workgroups, and later a version for NT was created. This legacy ...
60 views

### Setting up Git in a Company with too much data

I just wanted to know what is the best practices for GitLab Server with www data more than 3TB. The GitLab Server is capable to have more than 3TB of data, which has more than 100 projects. But our ...
69 views

### System for scheduling parallel tasks/callbacks

I am looking for a system for building state machines with timed/scheduled transitions, and with events that happen periodically during a given state. I can implement it myself, though I feel like ...
77 views

### small team git workflow

I want to ask if the following workflow is correct! It is referring to a small private team. There is a master branch where no one merges there ( except the maintainer ), a development branch and ...
29 views

### PHP MVC/PAC - Logged In/Admin checks placement

I have set-up a MVC/PAC-like structure for a web application (unsure if it fits any of these design patterns fully). In short it is: Routing in index.php, which selects the controller and method ...
36 views

### Drawing sequence diagram for user-forget-password functionality

I'm trying to draw a sequence diagram of the functionality of user retrieving their password when they forget it and its procedure could be illustrated in this activity diagram. As you can see, ...
22 views

### How do you maintain Requirement Traceability for your projects? [on hold]

In waterfall world, we used to have Traceability Matrix, which was tedious to maintain. In agile world, how do we maintain traceability? Any automation tool recommendation for the same, process ...
51 views

### What is the proper or recommended way to save String[]'s, Array's, ArrayList's and int[]'s to Android?

I've looked up this question many many times but keep seeing different answers, what is the BEST way to save array's? It seems ludicrously infantile that there is no standard or easy way to save ...
29 views

### Writing a programme in Sage/python [on hold]

I am writing this code in sage online worksheet given a tuple say $a=(a_1,a_2,...a_n)$ \phi be an permutation in S_n then \phi(a)= (a_\phi(1),...,a_\phi(n)) I want to count the number of permutation ...
101 views

### Can C#/.NET be used to fully implement a media decoder and player?

One of these days, when talking to a friend about different programming languages and their uses, I mentioned that video players (and codec implementations) are always written in lower-level ...
17 views

### How and where should I put a version number in my Django project?

I'm making a Django project consisting of several apps and I want to use a version number for the whole project, which would be useful for tracking the status of the project between each time it comes ...
104 views

### Does it make sense to use a cursor for complex business logic?

I am dealing with a pretty extensive data set. After a few joins, the foundation table has something like 40 columns. The next 40 columns will all be calculated. I am trying to keep my Java clean of ...