-2
votes
0answers
11 views

Mysql fulltext match character limit [migrated]

I'm using following query to select most relevant 10 keywords for an article. I use this weird approach because there are 50 million keywords in the table. It's slow but it works good enough for my ...
0
votes
2answers
152 views

Java card game design decision

I am making an application for a card game, with a standard 52-deck playing card. For now, I am writing a solitaire game with for learning purposes. I've had some experience making platformers and ...
-1
votes
1answer
73 views

What should my approach be to tagging 10 million articles based on relatedness? [closed]

I have 50 million tags and 10 million articles in mysql db. I want to tag each article with 5 related tags. Tags have 1 to 6 words. Mostly there are 3 words in a tag. I think most accurate and ...
-3
votes
0answers
36 views

Can i use WildFly, SwitchYard, Riftsaw, Overlord (apiman), ActiveMq, Camel, CXF, Karaf, Drools , JBoss Developer Studio Standalone for FREE [closed]

http://www.jboss.org/products/fsw/community/ The [Red Hat JBoss Fuse Service Works] is a Paid product of JBOSS, its composed of the following [Free ?] products: [WildFly], [SwitchYard], ...
-3
votes
0answers
84 views

Real-world examples of failed businesses because of technical debt [closed]

At the company I work for, we're trying to prepare some information on the dangers of technical debt. As real-world cases generally work the best to convince others, I'd like to know about ...
0
votes
1answer
37 views

How to design method that returns a compact representation of sourcecode

Let's say we have a class that stores some textlike content like sourcecode as a string. We want the class to be able to not only show the sourcecode itself but also a more compact representation. My ...
0
votes
2answers
49 views

VCS - Better way to change location than pushing to branch?

I work from multiple locations quite frequently, and there's times (16:59 on a Friday for example) when I need to leave quickly with potentially unstable code. Right now I tend to commit and push the ...
-2
votes
1answer
73 views

how to discover what is inside an API that has poor documentation [closed]

I am working with this API from Streeteasy.com - http://streeteasy.com/api/info and the documentation is rather sparse. I need to find out what naming convention they use for each neighborhood in ...
0
votes
0answers
37 views

What is the difference between a single version of the truth and a single source of the truth when dealing with data?

According to Wikipedia a single version of the truth is described as "is a technical concept describing the data warehousing ideal of having either a single centralised database, or at least a ...
7
votes
4answers
823 views

Is there something as a bug-free application? [duplicate]

We are developing an application that goes through many testers before reaching our client. Finally, when it reaches the client, they find some more bugs and report to us, and this has become a ...
4
votes
3answers
228 views

Why use arg type `class Object` instead of `Comparable[]`?

In the code below, I believe it would look more appropriate to make the method argument be of type Comparable[] instead of Object[]. The first reason it would be more appropriate is that one can be ...
-1
votes
1answer
88 views

Resources for learning more about programming languages [closed]

What are some good resources for learning more about programming languages for someone who already has a CS degree? I'm a recent graduate having some interviews. Sometimes they ask me what technical ...
0
votes
1answer
79 views

Missing `$` like operators in Haskell

Below I've produced what I believe to be a summary of the standard $ like operators for various classes in Haskell. There's some gaps however. Following the applicative pattern, you would think those ...
2
votes
2answers
466 views

Isn't there a chicken-and-egg issue since GCC is written in C++ itself?

Since 4.8 release, the C++ compiler GCC (the G++ part of it) is written not in C anymore, but in C++ itself. I have a hypothetical question on this. I wonder how to compile the C++ code of GCC on a ...
1
vote
1answer
133 views

Modern OOP vs Alan Kays OOP [closed]

I've recently come to discover there's actually a strong amount of criticism towards what people refer to as "modern OOP" - often comparing it to either functional programming or Alan Kays' OOP. ...
2
votes
1answer
204 views

C# OOP Class Usage [duplicate]

I am just being picky and really wanted some of my code to look, feel, and be used a specific way but am not sure if its possible. I have a class I created that can be used like this ...
1
vote
2answers
54 views

Confusion about associations in UML class diagram

--------------------- ---------------------- | FLIGHT | | STEWARD | --------------------- ---------------------- | Arrival time | | Steward ID | | ...
1
vote
0answers
19 views

Keeping Track of Calculation Dependencies [migrated]

Suppose I have a set of calculations: x = x() y = y(x()) z = z(y(), x()) I would like to create a Python class to implement these calculations, being mindful of the dependencies and caching results ...
1
vote
2answers
146 views

How do I tell my boss that their custom cms is terribly inefficient? [closed]

I started a new job about 2 months ago now with the job title of 'Programmer'. The web dev company I work for had made their own custom CMS and use it for all their sites. Conceptually, the idea is ...
-1
votes
0answers
20 views

Best way to aproach creating an MRP [closed]

Ive been ask if I could create an MRP (Material requirements planning) program, from what I have read its seems like a complex program manager, I've been working on it for a couple of days now, and ...
0
votes
1answer
69 views

Relational Database with XML

I want to create a Metadata server in which I can store different Metadata from different file types. There are existing standard tags in Exif or IPTC-Core Metadata which I can input as columns in the ...
0
votes
2answers
84 views

Porting an algorithm implementation licensed under GNU GPL v3

I'm working on a JavaScript port of a red-black tree implementation in Java from the book Algorithms 4th Edition, by Sedgewick and Wayne. I believe that my JavaScript port qualifies as a derivative ...
0
votes
1answer
41 views

What would be the best sort to use on a something with sorted “chunks”?

Imagine a sorted deck of N cards that has been cut K times by moving X cards from the top to the bottom (X is a different / random amount each time, X is always < N) - what would be the best way to ...
3
votes
2answers
73 views

Using Prolog to implement authorization rules

I'm working on a user management "pseudoframework" in PHP, and I'm trying to implement fine-grained rule-based authorization. I'm using a combination of SQL and condition-checking functions written ...
-3
votes
0answers
61 views

Designpatterns that are actually antipatterns or controversial discussed as antipatterns [closed]

Sometimes it happens that you think it is a good idea to use a specific and maybe even praised designpattern when writing some sourcecode. And then, while you are relaxed browsing some developer ...
-3
votes
0answers
79 views

What is the use of Runnable r = new Runnable(); [closed]

I have seen this used but I don't know why it is used. Shouldn't the main method be the entrance point in an application?...
5
votes
1answer
106 views

How do you unit-test code using graphs?

I am writing (recursive) code that is navigating a dependency graph looks for cycles or contradictions in the dependencies. However, I am not sure how to approach unit testing this. The problem is ...
0
votes
0answers
18 views

Actors in a sequential protocol handshake

I am new to actors and trying to implement a very sequential protocol handshake (over websockets). This is in Scala/Akka. It goes something like this: HTTPs connection is established then upgraded ...
0
votes
1answer
47 views

Why do objects created with no assignment not generate a syntax error in Python?

While working on a Python project, I realized that during my editing I had left a string floating around in the middle of my code and it didn't generate an error. For example, these few lines execute ...
6
votes
4answers
944 views

Is it allowed to embed an LGPL command-line tool?

I want to sell a closed-application that depends upon a certain command line tool. Am I allowed to distribute my software including this command line tool? For example, as a separate binary ...
3
votes
0answers
38 views

How to model Aggregate Roots for this music event system?

Let's say I am modeling a music event system. I have: music events listing events (the items in a lineup) - a listing event has acts (the artists playing in an item in the lineup - these can be ...
-2
votes
0answers
20 views

Maths quiz software [closed]

I'm interested in making a maths -like quiz game for my final year psychology university project. I'm after an easy software that would enable incorporate sound in the background and also be able to ...
0
votes
0answers
59 views

Design of a datamodel in a OO way

I'm looking for some advice how to design a datamodel in OO way (C++ in special). My problem: The user input in runtime is a 1D matrix A = (a0,...,an). The program creates - on the basis of A - ...
2
votes
1answer
143 views

Matching algorithms in context of data quality problems

I work for an organization that has lots of databases containing person information. The data quality is poor. One case was a surname I found like this (this is the worst-case scenario): Mark ...
5
votes
2answers
157 views

How to avoid “type dispatchers” when working with SOLID

I've realized that since I've been more and more strict about the SOLID principles, my code tends to consist of more pure data objects and a lot of "operator" classes which seems to go against ...
-4
votes
0answers
23 views

Best PaaS for Spring MVC app [closed]

currently I develop a Spring MVC app(with REST API services) with MongoDB. It is running locally, but I have to deploy it on PaaS platform. Which one will be the best for this? I'm looking for ...
-5
votes
0answers
62 views

how to scan a document using client side scanner in asp.net Web application [closed]

I'm using Asp.net web application (C# language). Want to Scan a document from clicking a button in web application (i.e. Browser). I already tried Twain tools But I need any other way to scan a image ...
1
vote
2answers
196 views

Why all consider UAT a validation activity? It contradicts the original idea

Virtually any book dealing with software testing mentions that user acceptance testing (UAT) is an ultimate validation activity, often quoting Boehms informal definition: "Validation: Are building the ...
1
vote
1answer
155 views

Is it OK for an interface to only communicate half of how something should work?

I have a service where certain other services can report their status to. By status I don't mean whether they are running or not, but whether they have received data. The point is that other services ...
0
votes
0answers
23 views

Best approach for managing users that are defined inside the active directory , inside my custom application

I want to start a new asp.net mvc5 Personal Appraisals web project. Now I will have a module inside the system for managing users, and adding info such as primary role, secondary role , main skills , ...
0
votes
0answers
40 views

Looking for a simple BackOffice data management solution in .Net [closed]

I am looking for a good framework / solution to (quickly) build a simple BackOffice application that manages application data. In our current situation the application data will be accessed mainly ...
0
votes
0answers
73 views

What is the best way to remember a successful execution over several program calls?

I'm working on a build process, that is called manually over the command line. To check if it exited unsuccessfully during the build I want to set a lock file (symbolic link) and remove it on ...
2
votes
2answers
107 views

Design pattern for composition workflows

Please bear with me as I find this tricky to articulate exactly what I am after (probably not a good sign..). I have several services set up which can be combined in a particular order to create ...
0
votes
0answers
43 views

All pair algorithm implementation [closed]

I need to know how to implement all pair algorithm in java... i am newbie for this kind of algorithm implementation .kindly help me with some suggestion. I have to generate possible test cases for ...
3
votes
2answers
156 views

Do compilers attach the Garbage Collector to the final executable?

Since the Garbage Collector is part of the language implementation (not OS, etc.), does the compiler has to attach the GC to the final executable? Or is it like a dependency that has to be already ...
0
votes
2answers
73 views

Productivity using .Net WPF for large ERP (LOB) desktop applicatons ~1500 forms\dialogs [closed]

I am wondering if WPF will fit in my case: We want to refactor an old legacy application written in a 4GL language with about 1500 forms\dialogs. We want to do that in .Net (desktop application), now ...
2
votes
1answer
76 views

Suitable software development method/model for R&D Projects

For Research and Development (R&D) project, what type of software development method / model more applicable/suitable? For example, my recent R&D project has several parameters: Requirement ...
0
votes
0answers
77 views

RGB => HSL => hue range name conversion algorithm off by positive 60 degrees [migrated]

Background For practice (in ruby) I am implementing some color conversion algorithms. I have attempted to convert pseudocode avilable on EasyRGB.com to Ruby. The conversion seems to be working fine. ...
-1
votes
0answers
10 views

Compare a string by giving two possibilities for each character in Swift [migrated]

I need to compare a string by giving two possibilities for each character in the string in an (if) statement eg: let str = "2 3 1 2" if str == "(1||2) (2||3) (1||2) (1||2)" { //Do Something } I ...
-2
votes
0answers
55 views

What adjective describes coding style of PHP (or Java, Javascript?) [closed]

In Python, code is generally called "Pythonic" if it properly uses the easily readable and writable features of the language - for-in loops, list comprehensions, etc. What adjective can you use to ...

15 30 50 per page