1
vote
4answers
116 views

Track performance numbers

I have a (large) software project in a git repository. There is a benchmark suite that spits out lots of numbers (time per benchmark, allocations done per benchmark) I’d like to track. What is the ...
0
votes
0answers
77 views

Result Object vs. Exceptions [on hold]

Related to this question I posted earlier: Returning results of method on batch list? I stumbled across an interesting idea at: https://www.braintreepayments.com/docs/java/general/result_objects ...
3
votes
2answers
130 views

Program Design clearness vs convenience

I've recently disputed with my colleague about the following situation: I've developed a framework that processes the resources (in java, although its not really important). It goes (simplified, ...
4
votes
3answers
74 views

Returning results of method on batch list?

The title is a bit vague so I'll try to elaborate. I have a function makeFoo(int bar) -> returns Foo or throws Exception. I also have a batch version of this makeFoos(int[] bars) -> ...
0
votes
1answer
54 views

Full signed part of two complement long [closed]

I am reverse engineering a data file (from a synthesizer). It seems that e.g. -1 is written as FF FF FF FF, so in four bytes. while +1 is written as 00 00 01 (--), so only three bytes. Is something ...
-4
votes
0answers
66 views

Has anyone actually benefited from creating profile on Careers 2.0? [closed]

I'm currently in job hunting mode and wonder whether I should create a profile on StackExchange's Careers 2.0 site. My reputation on StockOverflow was deemed enough for me to do so (but I'm no guru). ...
0
votes
2answers
126 views

Is it a good idea for JS objects to draw themselves when the page loads?

So normally I would only use JS to modify the dom after the user interacts with something or some event goes off. This seems right for some reason. But I'm developing a widget based app where widgets ...
6
votes
0answers
66 views

Are “skip deltas” unique to svn?

The good folks who created the SVN version control system use a structure they refer to as "skip deltas" to store the revision history of files internally. A revision is stored as a delta against an ...
0
votes
3answers
114 views

What are the limits of using OS X when it comes to compiling and running CLI-based tools and scripts that were written with Linux in mind?

I run little scientific scripts and C tools on OS X from time to time. For the C tools, I just download the source and compile using the provided Makefile. I usually don't have any problems when using ...
0
votes
0answers
23 views

Using rvalue references to signal function behaviour [duplicate]

I have been using functions accepting rvalue ref signatures to make explicit at call site that the object passed in effectively ceases to exist. This ensures that I don't mistake this function for one ...
3
votes
0answers
130 views

How to best implement K-nearest neighbours in C# for large number of dimensions?

I'm implementing the K-nearest neighbours classification algorithm in C# for a training and testing set of about 20,000 samples and 25 dimensions. There are only two classes, represented by '0' and ...
2
votes
2answers
95 views

What's a good way to make sure that locally serialized data can be deserialized in newer code?

Context: I'm working on an HTML 5 game without persisted state. Every time you refresh the page, you start at the beginning. People are requesting that they can start where they left off if they ...
0
votes
0answers
11 views

Dynamic Data won't display calculated fields; ASP.NET 4.5, Entity Framework 5.0 [migrated]

I'm trying to display calculated fields in my Dynamic Data Entities site. I have generated my EDMX file from an existing database, and have added customizations in a separate file using partial ...
0
votes
3answers
159 views

When to use default access modifier?

I want to understand, from design point of view, in what situations I should use default access modifier, and when I shouldn't. I found this related question, that provides some basic explanations, ...
0
votes
0answers
21 views

Doctrine 2 and Concrete table inheritance

I use Doctrine 2 and I've read some articles on inheritance strategies' mapping with ORM. I've seen three main strategies : "Class table inheritance", "Concrete table inheritance" and "Single table ...
-4
votes
0answers
31 views

Payment processors that work with Angular or other JS fameworks? [closed]

We are trying to figure out a way to send credit card data to a payment processor without being PCI compliant ourselves. Our application is a Single Page Web Application (SPA) based on AngularJS and ...
-4
votes
0answers
64 views

Do all programs have inputs that are externally provided (by the user)? [closed]

For me, this is not true for all programs because there are some programs whose values are already given by the programmer. Also, do we use reserved words in pseudocode? I believe that the answer ...
-4
votes
0answers
44 views

Which MVC framework to pick for my project and why? [closed]

I'm building a reporting application that I expect to deploy in different financial organizations. The choices I have are Java on Play, Django or Ruby on Rails. I have played around with rails and it ...
0
votes
1answer
76 views

Multilayered enterprise application use of JAXB objects

I am asked to refactor and maintain an enterprise application. Normally I'm used to using the MVC design pattern. This time however, I'd like to separate everything into layers (multilayered ...
2
votes
1answer
65 views

How to define item level permissions in a relational database

I need to model a database design to provide item level permissions to users based on the user's role access. I am using asp.net with sql server 2012 I am looking at similar experience on how ...
0
votes
1answer
82 views

Calculate reachability of one point from another

I have an array which stores a set of positive x coordinates in sorted way, say arr={1, 4, 5, 9, 12, 45} etc. And I have a maximum distance k which I can go from one point to another point let ...
6
votes
1answer
215 views

How to manage a relatively large one-man project? [duplicate]

I am basically working on https://github.com/KirisurfProject/ entirely alone. This is around 4000 lines of Go code, plus around 1000 lines of Racket (a Lisp) code for the GUI part; the equivalent in ...
8
votes
1answer
116 views

An algorithm for reconstructing a graph from its shortest path information?

I have some shortest path data for a graph. Can I reconstruct the graph itself from this data? More precisely, I have a boolean (0/1) matrix for each vertex v in graph (V, E). Matrix element [s,d] is ...
0
votes
1answer
68 views

Locking database records

What I have right now: A table with lot of records. About 200 users can select a record according to some rules based on the data in each record. There is a high chance that 2 or more users will ...
-5
votes
1answer
113 views

game unpublished due to copyright issue [closed]

I have made a simple batman puzzle game using some batman posters from the internet. Now there are apps on google play store and windows phone store that also feature these kind of batman pictures and ...
-1
votes
0answers
47 views

Android Set Device DIscoverable (bluetooth) without any dialog [migrated]

How can I set the dialog to be hidden / suppress it to Yes when I try to execute the following code below? discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); ...
-1
votes
1answer
76 views

use of agile and scrum outside the IT industry [closed]

I was trying to explain agile development to an engineering friend and their question that got me reading Why can't the IT industry deliver large, faultless projects quickly as in other industries? ...
27
votes
6answers
4k views

Is reading+modifying existing code better than making your own? [duplicate]

I'm an inexperienced programmer. I have been assigned to develop a Firefox plugin with no prior experience. So I followed the tutorial at MDN. I learned so many things, it's exciting and overwhelming ...
1
vote
2answers
231 views

Is it okay if we use an arbitrary string as UUID?

I found the tutorial of client (android) and server (pc) bluetooth tutorial from here. But my question is about the UUID. Is that okay if we define it randomly without the proper format? Because I ...
0
votes
1answer
66 views

How can I cancel all running mysql queries in a web application?

I am running a web application which has to scan (mysql query on a particular column) a huge MySQL table, which has over 100,000 records. The problem I find that when a user requests another page ...
0
votes
0answers
30 views

Attempting to use redis for express-session for Express v 4.0.0 - Keys * shows an empty list [closed]

I am working on an API which receives HTTP requests and responds with a JSON object. I am looking to provide authentication to save an extra database call to confirm login credentials. I have the ...
-1
votes
0answers
148 views

Picking a language for writing code [closed]

I'm in a situation, which I guess would've been encountered by all professional programmers at some point. For the same of rapid development, I chose to write modules in python. Soon, in our perf ...
-3
votes
0answers
55 views

How to build an application(dash board) to monitor Sybase ase database server by python? If so please share details [closed]

In this moment we are monitoring sybase ASE database server by shell script(cron job) these data we are pushing to other database server what we call is monitoring server.After business hrs we are ...
-2
votes
0answers
96 views

How to convert some paragraph to html codes with using some symbols for each tags [closed]

RESOURCE: web page url: "http://en.wikipedia.org/wiki/Anarchism" Text file equivalent to above url html content (Some part of the content, not fully): '''Anarchism''' is a [[political ...
-3
votes
0answers
19 views

Regular expression(preg_replace) in php [duplicate]

I tried below code for replace some text with regular expression pattern..but i cant get properly: Following scenario: My input 'the is good [[text]] [[link1|text1]] [[link2|text2]] [[text]]' ...
-1
votes
0answers
18 views

I have some generic server side TYPE data that I'm unsure how best to pull into my client app. How can I do this?

There is something I am trying to pull off, but I'm not entirely sure how to best to do. I'm hoping you can provide me some guidance in the matter. For example, let's say we have an app that is a ...
0
votes
1answer
38 views

Persistent storage for Apache Mesos

Recently I've discovered such a thing as a Apache Mesos. It all looks amazingly in all that demos and examples. I could easily imagine how one would run for stateless jobs - that fits to the whole ...
2
votes
2answers
33 views

Storing archived index data

We use RavenDB as our data store for transactional information, and it works well for data that is currently "in use". We also collect audit events as people use our application, where each event ...
1
vote
1answer
107 views

AJAX or web sockets for client-server communication?

I recently took a course on AngularJS, and quite frankly I loved the concepts of a website that fetches json to handle subsequent requests, however I still feel like Javascript is far too slow for ...
2
votes
1answer
149 views

Will this “wireless” syntax for my framework make for good code structure / design?

I'm at the point where I'm getting into the freelance development of some complex web apps, and I would like to develop a light weight framework for my personal use, but I'd like to get some advice ...
0
votes
1answer
56 views

OpenSSL Client model for half duplex communication over socket

I have read in this SO question that OpenSSL socket communication can be only half duplex in a single thread. Assuming what I have read is true, I am wondering if I can apply philosopher's dining ...
-3
votes
0answers
33 views

User Authentication Method [closed]

I want to know what is the best method to authenticate a user and how. I want to create a website for a particular group of People, Students specially who are studying Arts and Who have Graduated in ...
0
votes
0answers
10 views

More idiomatic syntax for 2nd level vector value update

I'm pretty sure there has to be a more idiomatic way of writing this: (defn update-2nd-level-vector [map index value] (assoc map :key1 (assoc (get map :key1) :key2 (-> map (get-in [:key1 ...
-4
votes
0answers
55 views

Using libraries or writing self code [closed]

Many times,in certain programs,we need to use functions like strcmp() and so what is a better habbit as a programmer,including the header file or writing your own strcmp() function?
0
votes
1answer
79 views

Continuations, coroutines, and tail-call optimization

I am trying to learn continuations and use them to implement coroutines in Scheme. I have two procedures (coroutines) a and b, and I switch between them in the following way: ;; c is a continuation. ...
-3
votes
0answers
58 views

College certificates [closed]

I'm in a situation where I can continue studying Java developing by myself or going to college classes and getting a certificate (not a degree). Would this help more than just plain experience, is it ...
0
votes
0answers
71 views

Are [x]Unit really the appropriate tools for running functional/acceptance tests? [closed]

I'm writing functional tests (in PHP, not that it matters much) for a large web application. Writing the tests themselves is relatively easy, the problem I'm facing is: how should I run the tests? ...
1
vote
2answers
117 views

Can a version of Python's shelve module that knows when its entries have been modified be written in any programming language?

shelve is a Python module that makes it easy to persist a Python dictionary to disk (under the right conditions). The documentation for shelve gives this example to demonstrate one of the pitfalls of ...
1
vote
1answer
132 views

How to structure a program into classes [closed]

So after a while of working in programming field I still haven't figured it out how exactly should programs be structured, in a large set I mean. Which I think it's also because of working in an ...
2
votes
1answer
64 views

Testing gap between unit and integration: Integration in the Small, Component, Unit Integration Tests

Over the past few weeks I've been mulling and researching how to fill a gap in our testing methodology. In simplified terms unit tests are too small and traditional integration tests are too big. A ...

15 30 50 per page