-2
votes
0answers
33 views

What is the best way of using Java libraries from Python? [on hold]

There are plenty of math and scientific libraries written in Java. I prefer Python for programming though. I have tried Jython but it gets very laborious and convoluted at the moment of distributing ...
-3
votes
0answers
20 views

LDAP for employee asistance control [on hold]

I was thinking a way to control the works hours of a group of employees using something like ldap or any API for login in linux which set in a database, the time of login and if the computer goes to ...
4
votes
3answers
125 views

How do I fix an “emergent” bug?

I'm writing a PDE solver, and I have a bug that only shows up in very large test cases. That is, with small grids the program gives correct answers, but there's a large amount of unaccounted-for error ...
0
votes
2answers
212 views

how to approach pharmacy software project [on hold]

I would like to complete a pharmacy software proof concept. But I have a few questions I do not know. Physician information In order to refill or dispense a new RX the software needs to have access ...
-2
votes
0answers
38 views

a card game of k rounds (0segment tree) [on hold]

I have n cards each has a number.I have n player. now in each round 2 cards x and y are selected and a game is played between the owner of the cards.initially i th player is owner of ith card.if ...
-1
votes
0answers
50 views

Linked Database VS. Web Service [on hold]

I am trying to find the pro's and con's of using a database link vs. web service. I have a coldfusion application with a sql server 2008 database and I need a Ruby on Rails application using ...
-2
votes
0answers
19 views

VB.Net XML Serialization and Saving [on hold]

I created a form containing some textboxes that needs to be serialized into a XML File in VB.net. All ok, since the saving part. I could only get a streamwriter / reader to create a single file wich ...
2
votes
1answer
96 views

How to model a one-mandatory-of-many relationship

I have following class model that I'm quite happy with: A Whole has a special mandatory Part. Furthermore it has a collection of parts, that contains at least the mandatory part, but may contain ...
-1
votes
1answer
46 views

VB.net - Unable to delete/over ride files in Net App environment [on hold]

I have been working on a change release application for some time now. The workflow is as follows: Archive the staging file Archive the current prod file move staging to prod Delete prod file Copy ...
-2
votes
0answers
79 views

Is IT Administration my responsibility as a student Software Developer? [on hold]

I'm a computer science student and I also work at the university I study at. Our department hosts many websites and servers. I was hired here pretty recently, and it seems my position seems to be ...
-4
votes
0answers
55 views

Is there a symbol or character sequence for “as a function of”? [on hold]

I'm looking for a shorter way to write "as a function of", for commit messages and branch names. What's a good alternative? An example is trying to make a phrase like this shorter: "make option X be ...
0
votes
0answers
63 views

GSP Algorithm explanation

I've been trying to implement the GSC algorithm in C++, however I need help with clarifying the definition: http://en.wikipedia.org/wiki/GSP_Algorithm GSP Algorithm makes multiple database ...
51
votes
9answers
11k views

I'm a CS student, and honestly, I don't understand Knuth's books [on hold]

I stumbled upon this quote from Bill Gates: "You should definitely send me a resume if you can read the whole thing." He was talking about The Art of Programming books. So I was pretty curious and ...
2
votes
2answers
76 views

What does neo4j's licensing guide mean?

There are three versions of Neo4j apparently, called Community, Advanced, and Enterprise. Neo4j's Licensing Guide says that Community is GPL3 (which I confirmed from the LICENSE file in the tarball) ...
3
votes
1answer
88 views

Identify algorithm for my resource allocation needs

I'm trying to automate a task and I lack the right vocabulary to look up the correct algorithm. It really feels like a common problem that has likely been solved many times before. All I'm looking ...
0
votes
0answers
98 views

Why Doesn't SMTP Mail Attachment Dispose When Client Does? [migrated]

This is an issue that I recently solved, but was wondering if somebody could help clear this up for me since I don't fully understand what exactly happened. I created a simple smtp email client and ...
-2
votes
0answers
24 views

Error…You don't have Permission to modify Internal Hyper-V network adapter settings required to run the emulator? [on hold]

I am using win 8.1 and visual studio 2013 update 2. Just a beginner to Window Phone, Writing my first program and unable to run the emulator. I had search this error on Google and try all the solution ...
0
votes
1answer
50 views

Weight based mapping algorithm

I am writing automatic assignment of tasks to the users. Every user has a weight (integer) and tasks should be distributed to the users according to their weights. For example I have 10 tasks and User ...
1
vote
1answer
56 views

Use camera to analyze homogeneity

We are working with some screens whose in the production process change their state from a transparent state to a colored state. This colored state is achieved to block light transmittance. In this ...
1
vote
2answers
186 views

Trying to come up with a mapping convention for C# objects

so this is C# but it could apply to any OO language where different sets of objects exist across different layers of an application. We have been trying to come up with a convention within the team ...
3
votes
1answer
40 views

Ways to modularize blocks of code in ASP Classic

I have one huge file.asp with all my reports. I have modularized the page using querystring, so this creates a lot of "virtual pages" with Report #1, Report #2, and so on. I have some blocks of code ...
1
vote
2answers
242 views

How to update a row in database without ID?

I've got a table with the following structure : Col1 | Col2 | Col3 A | B | C A | C | B E | D | C The primary key is (Col1,Col2,Col3). I get the data in another project and ...
0
votes
1answer
274 views

Break from loop, in a loop, a loop? [on hold]

There is a command in many programming languages to exit loop, break. The problem is break doesn't mean to break or damage something, but mean exit a loop. So, how to say, break from a loop (as ...
9
votes
4answers
782 views

Do I need to upgrade log4j to slf4j

We are reviewing our JEE web application for some planned refactoring and one of the suggestions is to replace log4j with logback or slf4j The team is not clear on whether we should do this - because ...
-1
votes
1answer
51 views

converting WKT to GeoJSON [on hold]

I am working on a library to convert Well Known Text into geoJson. For converting WKT representation of a multiPolygon would it be best to find polygons with a regular expression or by parsing the ...
8
votes
2answers
380 views

How can I debug exceptions that are not easily reproducible and only occur in a production environment?

I am working on an issue where the exception only occurs in our production environment. I don't have access to these environments, nor do I know what this exception means. Looking at the error ...
18
votes
4answers
4k views

What is the correct way to handle debug output in Java?

As my current Java projects grow bigger and bigger, I feel a likewise growing need to insert debug output in several points of my code. To enable or disable this feature appropriately, depending on ...
-2
votes
0answers
41 views

AS2 - is it necessary? [on hold]

Is AS2 still relevant? A company I'm trying to retrieve data from only provides their data through AS2. I'm not sure exactly how I'll get that data, but from what I've been told, I just need to tell ...
-1
votes
3answers
85 views

Given known inputs and outputs, can we generate candidate functions that will map the inputs to outputs?

I've run into a problem where I have a set of inputs, as well as a couple known input-output pairs. I am interested in the output, but in order to get that, I need to figure out how the input is used ...
-4
votes
0answers
21 views

How to digitally sign data in android [on hold]

I am sending a string from my Servlet to Android client and i want my Android client to digitally sign that data and send it back to the servlet.How can the Android client digitally sign the data?I ...
45
votes
10answers
6k views

Why is software OS specific?

I'm trying to determine the technical details of why software produced using programming languages for certain operating systems only work with them. It is my understanding that binaries are specific ...
4
votes
5answers
1k views

Is this a good practice or not?

I have a colleague who has come up with a way of 'genericizing' information from a database so that all his web application's drop-down lists can share the same object in his MVC.NET C# code and ...
1
vote
1answer
141 views

What is the simplest archive file format to aim for when writing collections of files?

I've created a PHP-based document management system and hosted it on my Raspberry Pi. I created a "backup" function that zips together all the documents, but it takes too long due to the hardware ...
2
votes
2answers
92 views

How do I recreate this Access Control/Group/ whatever methodology in OO/MVC

I am looking at trying to rewrite an application that is mostly procedural to an MVC/OO approach in order to teach myself a deeper understanding of both. BUT, I am having some conceptual issues with ...
-7
votes
0answers
26 views

i'm having a problem related to dll version conflict in inheriting the form [on hold]

I'm having the problem related to inheritance of the form and while adding or referring the dll, it give me error of conflict of dll of same name. can anyone guide me
0
votes
1answer
62 views

Single page app permissions represented through RESTful APIs

I'm trying to figure out the right way to handle permissions in a single page app that talks directly to several RESTful APIs, that implement HATEOAS. As an example: "As a user of my application I ...
-2
votes
0answers
25 views

Looking for an event/data/cron-triggered tasks workflow automation framework [on hold]

I'm looking for a framework / project that can automate configurable task flows when a particular trigger is activated, or some data becomes available. Something in the spirit of If This Then That / ...
1
vote
1answer
70 views

Even distribution through a chain of resources

I'm working on an algorithm which routes tasks through a chain of distributed resources based on a hash (or random number). For example, say you have 10 gateways into a service which distribute tasks ...
1
vote
5answers
187 views

Coupling business logic with class definitions

Perhaps it is my scripting background, but my perspective is that the purpose of an object should be to contain data. Classes are necessary in that they provide templates and standard ways to classify ...
2
votes
1answer
81 views

Where to put format validation in a CQRS “stylish” domain model?

It feels right to put format validation inside the domain objects (VOs or entities) because it is the natural place for high cohesion and the domain knows best what every domain ...
-4
votes
6answers
2k views

Is having two conditions in an IF statement faster than having two separate IF statements?

I just wonder if having two conditions in an IF statement executes faster than having it separated into two like these: Single Statement, two conditions if ( (conditionA == true) && ...
0
votes
3answers
425 views

How to approach multiple page form with just one save option

The screen shot shows the magento product upload page. The left nav allows you to switch to different options for the product. Basically each option in the left nav appears as a different page. ...
0
votes
4answers
3k views

finding the time complexity of the following program

I need to find the time complexity in terms of Big Oh notation for the following program which computes the factorial of a given number: The program goes like this: public int fact(int n){ if (n ...
4
votes
3answers
477 views

What is a helper? Is it a design pattern? Is it an algorithm? [on hold]

Maybe a little tongue-in-cheek, but as I can't find this answer anywhere through Google, so to ensure Programmers Stackexchange has the answer: What is a helper? I see the name being used everywhere ...
0
votes
1answer
155 views

Best practice for storing information from a php script for future use

My employer uses forms to help people search for products. The product lists can change from time to time and the forms need to be updated again. The product information can be accessed through a ...
24
votes
6answers
9k views

When to Use workflow engines?

I've worked in past on some of the workflow engines as programmer but never had a clarity on why we chose the work-flow engines in first place. And as programmer I know that there are at least 100 ...
-2
votes
0answers
45 views

Following up Codecademy [on hold]

What are some good free online resources for learning CSS and html, past the beginner level? Everything I have seen so far online that is more advanced isn't free. Any suggestions?
-1
votes
0answers
42 views

What should I take out from my Programming internship? [on hold]

I couldn't find good answers to this question on Google: I just got advertisements for internship agencies. I was recently asked by my employer at my CS internship, what would I like to take from my ...
-2
votes
0answers
48 views

Python code to find unique combinations of factors of a number [on hold]

I have the below code which prints the unique combination of factors of a given number. But I does not give the desired output. The code is a s follows: #Print the factors list for the given number ...
1
vote
1answer
154 views

Graph data structures and journal format for mini-IDE

Background: I am writing a small/partial IDE. Code is internally converted/parsed into a graph data structure (for fast navigation, syntax-check etc). Functionality to undo/redo (also between ...

15 30 50 per page