2
votes
1answer
36 views

Efficient algorithm for hierarchical traversing? JSON hydration, for example

I'm writing a small library that helps you hydrate JSON data into objects. Given this JSON example: { "date": "1970-01-01 00:00:00", "foobar": "baz", "user": { "name": "foobar", ...
0
votes
0answers
32 views

Emulating `tail` to stream log data via asp.net mvc

In similar fashion to this bit of node.js, I'm interested in streaming the ongoing output of a text log file via ASP.NET MVC. I'm having trouble even thinking how I would implement this using the ...
0
votes
0answers
43 views

Vertical Single Page App libs/patterns?

Lately I've noticed a trend amongst some website homepages to present information in a vertical fashion, forcing the user to scroll down to continue reading the content. As you scroll down, a state ...
0
votes
1answer
50 views

Optimizing instant notifications

Scenario To deliver instant notifications to the client, I'm sending an AJAX request to a PHP page that checks if there are new notifications: if there are, it outputs them, otherwise it sleeps for ...
0
votes
0answers
30 views

Is using synchronization in service layer a bad idea?

I need to implement a mailbox monitor system as a web service. I have follow classes: MailboxMonitor: Contains information such as username, password, pulling interval etc. MailboxMonitorRepository: ...
1
vote
2answers
110 views

Could changing the return type from void to string introduce breaking changes?

This SDK have an interface like this: public interface Contract { void update(..); void action(..); void delete(..); } Now, we need to change it to something like this: public ...
-4
votes
0answers
29 views

Creating a web app that creates websites [closed]

I am creating a web app like squarespace using sf2. I am using AWS as my server. Just like in squarespace, the user will choose a template edit them and if they are happy then they will start the ...
1
vote
1answer
85 views

Accepted Patterns For Base Class with both Static And User-Defined Data Sources

I have a requirement to build a 'base' profile library (in C# - NET 4.5.2) for various different internal (technical) consumers. This profile consists of metadata fields that would be shared by a ...
-1
votes
0answers
31 views

Windows 8.1 on Surface Pro 3 appearing as VM to licensing software [closed]

I have at least two users running Win 8.1 Pro 64-bit on the Surface Pro 3 receive licensing errors because the LM-X license manager thinks they are running on a virtual machine. We do not have this ...
13
votes
2answers
789 views

Is it ok to avoid testing base classes?

I have a base class with a fair amount of "meta programming" to give it the flexibility/abstraction it needs to be rather generic. I do have a lot of subclasses using the common methods in the base ...
1
vote
0answers
22 views

How to keep track of all the goals of a large project? [migrated]

I have a very large library project in-progress involving French linguistics - (it will be) multi-faceted to work with the many aspects of language, including algorithmic inflections/conjugations, ...
0
votes
1answer
34 views

Should I try to read user input for logger data?

Our logger data has gotten a bit out of hand, so I am trying to find ways to trim out unnecessary log information. What I've found is that the programmer who implemented the logs (no longer working ...
-2
votes
0answers
33 views

Enterprise WCF Implementation [closed]

I'm looking for a reference, either a book, or website, where I can gain some knowledge on creating enterprise level web services, specifically WCF. In my searching I haven't found much in relation to ...
-1
votes
0answers
33 views

How to organize a mid-size program with core functions and user-interface? [closed]

many of my programs have a common style: I need to do e.g. some math calculations, like some statistics (so working with real numbers, array, matrices). Plus I need to create a graphical ...
-1
votes
0answers
15 views

Kodi addon with LXML is not parsing properly [closed]

I'm writing a scraper for Kodi, that scrapes a video page, and I'm doing it with LXML, but sometimes(sometimes it works ok), when I call tree.xpath(xpath) it says 'NoneType' object is not callable. ...
0
votes
0answers
35 views

Should I download scripts from a CDN or bundle everything into one script?

I am using jQuery, angular, bootstrap, along with some custom js files. Currently, I have everything bundled into one script. Since, jQuery, angular, and bootstrap are available via CDN, is it ...
0
votes
1answer
34 views

Event sourcing – finding aggegate by different property than ID

Is there any mechanism or best practise for finding aggregates by different property than aggregate ID? I'll try to explain my question on example. There is Cart aggregate (event-sourced) and ...
-1
votes
0answers
28 views

Command for sharing same folder with multiple names [migrated]

I’m currently working on an improvement of our deployment process and I’d really like to automate one of the new steps. Through Windows UI I can share the same folder on the network under multiple ...
0
votes
0answers
63 views

inserting into priority queue. MIT c programming opencourseware [migrated]

Iam currently trying an exercise from the "practical programming in C" from MIT opencourseware. the exercise is on huffman coding. it is lab2 part 2 where Iam having an Issue. Primarily the ...
-3
votes
0answers
28 views

What is the dereferenced in switch block? [closed]

I executed the following code and I got the following errors. RunUnitConvert.java import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import ...
1
vote
0answers
27 views

A way to trace each sqlite query

I've got big and hairy app with sqlite via dbi (from .c) as a backend - plenty of select/insert/update/delete queries. From looking through documentation I did not found a way to log all the queries ...
0
votes
0answers
19 views

When should I create separate projects in JIRA

I've been using JIRA for few months -we are following traditional development methods (no agile/scrum). One of the things that I cannot decide, is when should we create separate projects in JIRA, and ...
0
votes
0answers
33 views

How should I go about making a statistics analyser? [closed]

I'm making a program which should analyse the stats of all soccer premier league players in fantasy football (form, price, fixtures, injuries etc) and using those stats, predict point potential/value ...
-1
votes
0answers
61 views

How to use a href link just like a button? Which can perform some event? [closed]

I need the help in web programming concept. I want to create a link which will perform a login redirection. I want a reader view which will display some information To perform login we have to open ...
-2
votes
0answers
19 views

Accessing sheet in workbook ,Excel 2010 [closed]

I have a workbook1 and a sheet1 in it. In another workbook i need to create macro to access sheet1 of workbook1. How to access the same?
0
votes
3answers
93 views

Implementing a Generic List in Java

In an effort to understand Generics in Java (and how to use them), I am trying to implement a list structure using them but have hit a wall. Scenario: Suppose there is some classes (we'll call them ...
0
votes
0answers
13 views

complex jQuery Selector [migrated]

I'm creating a directive, and i'm having piece of code that cause me lot of issues, i recently think hey i fix it, but it's only when you are on root application... i have a custom tag, let name it ...
0
votes
2answers
143 views

Design Patterns: What design pattern should I use for the following? [duplicate]

I am trying to write an utility which traverses through a list of files and searches for a string in each file. On finding the string in a file, I will add it to a list and display the list. Which ...
-2
votes
0answers
25 views

Error in c++ code -Templates [closed]

I get an error in this following code.where is the error in this following code.and please explain a bit. template<class T1,class T2> T1& MinMax(T1 t1,T2 t2) ...
0
votes
0answers
41 views

Only one case of base class function member executing on derived class object [migrated]

I have a derived class Circle of base class Shape, where each class has its own print, collide, merge, type, etc functions. I instantiate a bunch of Circle objects and put them into a container (its a ...
0
votes
0answers
22 views

Getting confused with some concepts of Racket programming language [on hold]

I use Dr. Racket to learn SICP. After writing some Racket codes, I find that I am getting confused with some concepts from Racket documetation. What I have understood is (maybe it is wrong, so I hope ...
1
vote
1answer
72 views

How to handle design changes for auto_ptr deprecation in C++11?

We are testing a library under C++11 (i.e., -std=c++11). The library uses auto_ptr and this pattern: Foo* GetFoo() { autoptr<Foo> ptr(new Foo); // Initialize Foo ...
2
votes
2answers
113 views

How to avoid god controller classes and keep single responsibility principle?

The task is to make a migrator from Old DB to New DB using OOP Single Responsibility Principle. My problem is how can I make this without making the controller a God Class or breaking the single ...
6
votes
5answers
298 views

How to promote code review as an employee? [on hold]

I have just graduated not long ago and started to work in a startup company for almost a year. I have introduced git to my current company and they are now happy to use it for version control. I feel ...
-1
votes
0answers
17 views

Adding browser automation test into NUnit continuous integration [closed]

My question is about browser automation tools. I would like to be able to create an automation for a bug, then take the generated script for this automation (maybe if i need to change some items ...
2
votes
1answer
128 views

Good Coding practice with respect to interface versus class versus super class

I am currently reading the following tutorial and have gotten up through here http://docs.oracle.com/javase/tutorial/java/concepts/interface.html Maybe I should not be thinking about this question ...
-3
votes
1answer
56 views

How to customize Chromium browser from source code [closed]

Customizing Chromium includes fixing homepage, removing address bar, .etc. Is it possible to modify the source code or using some compiling options to achieve these goals?
3
votes
0answers
56 views

Which is the preferable design for my Gateway?

I'm writing a Gateway class that extracts information from a HTML document. One of the responsibilities of the class is to traverse a table in the document and extract data from its rows. I'm trying ...
1
vote
1answer
49 views

composer is self-described as inspired by npm, so why does it handle sub-dependencies differently? [closed]

As I'm sure anyone reading this knows, the default behavior for npm is to install sub-dependencies within their respective sub-dependency directories themselves (in a new node_modules directory). The ...
2
votes
1answer
181 views

Is there a better algorithm to distribute integer to X integers minimizing their difference?

Is there a better algorithm to distribute values from one source to X destinations minimizing their difference? I have some source integer. I need to know how much of that value I need to distribute ...
-5
votes
0answers
42 views

Windows custom lockscreen program [closed]

I'd like to create a windows application that locks my screen, I want the program to have the same functionality as this program but I want to add functionality to it so I can play custom sounds and ...
3
votes
1answer
76 views

Structuring a Python Project: Need some guidance

I currently am working on a project that involves several discrete components that have some common functionality, and I am in need of some advice. Right now I have a central component responsible ...
0
votes
0answers
38 views

Foreign currency processing

We are looking to expand our e-commerce store to allow customers in countries outside of the United States to shop and see prices specific to their region. The prices are not just straight markups ...
0
votes
0answers
79 views

Is it possible to miss a connection?

I'm writing a simple asynchronous tcp server & client program and I am curious if it's possible that the method "waitForConnections" misses a connection because it's still busy with accepting the ...
-4
votes
0answers
80 views

Javascript entry-level interview [closed]

I like to program and have been in pursuit of a developer career. I have some basic knowledge in most programming languages out there like C++, C#, Java, PHP, Python, etc. I also know HTML/CSS and ...
0
votes
1answer
29 views

Optional text qualifier in CSV file as input to SSIS package

I receive several CSV files each quarter to process through an SSIS package, and the formatting is inconsistent. This quarter, I encountered what I term optional text qualifiers--text qualifer of ...
0
votes
1answer
67 views

How should I re-license the scaffold code for my new application? (it is licensed under MIT)

If you notice the following scaffold starter kit source code is licensed under MIT throughout the code base. Even the configuration file contain a header of MIT licensed by the creator. Assuming, I ...
-2
votes
0answers
27 views

Live feed statistics to website [closed]

I am trying to create a live display of all of my analytics accounts such as Twitter, Facebook, GPlus, Google Analyitics and a few others. The idea is to display all of these on a personal area of a ...
0
votes
1answer
91 views

Is service layer obligatory? [closed]

I am going to implement not big web application and it seems that there are not (or almost not) any business logic in it. Only CRUD operations + some filters + security. So the question is -Is it ok ...
1
vote
1answer
30 views

Serial communications: how to verify that received message is a response to the last request sent?

Imagine the following situation. Two devices (master and slave) communicate with each other using any serial protocol like Modbus or HDLC or custom-made one. Master device sends a request to the ...

15 30 50 per page