-2
votes
0answers
38 views

Pre-Order Traversal In Heap [on hold]

I am new to clojure as well as to Functional Programming. I am trying to traverse a tree in pre-order using: (def tree {:left 7 :val 4 :right {:left 4 :val 3 :right 1}}) (defn preorder [tree] ...
-3
votes
1answer
91 views

How do I localize my game? [on hold]

My team and I are making a game to support multiple languages, and we want to work on localizing the game to reach a wider audience. Where would I start? How would this be accomplished? I would work ...
-2
votes
0answers
29 views

Open Source Education Games for children [on hold]

I am looking for FOSS educational games for research purposes. Ideally, this game would have a plot and characters interacting with each other and target 3-4 year olds, but I would settle for anything ...
1
vote
0answers
55 views

Three phase commit protocol

I'm trying to understand the three phase commit protocol by reading the wiki page (http://en.wikipedia.org/wiki/Three-phase_commit_protocol#Motivation). In the description for the diagram I posted ...
-2
votes
0answers
43 views

Speed up familiarizing process of a new IDE? [on hold]

One of the biggest impediments to me learning the new language is figuring out the "meta-programming" side of it. It's just about using and configuring other software. I'm trying to learn PHP and did ...
-7
votes
2answers
120 views

Sick of the commercial side of coding [on hold]

I am just writing this because, in one way or another, someday could happen to you as well. I never think this was going to be like this when I was a kid, 20 years ago, when I started doing this. I ...
1
vote
2answers
79 views

What is the name of a type that is defined from a template?

To give a complete example, let's say I have a template class that I now use to generate a type definition: template <typename T> struct A {}; using X = // I'm not asking about this ...
0
votes
1answer
30 views

What would be the return type of a cartesian product of a multiset

I am writing a Multiset in Ruby. The Union, Intersection operations where simple and return a MultiSet. But, I am not sure what the return type of the cartesian product should be, should I return an ...
76
votes
6answers
4k views

Ship of Theseus applied to GPL - Can I relicense my program if I replace all of the derivative parts?

I translated a GPLv2 C program to Python, but found it was hard to extend as designed and rewrote significant portions of it. The program is now structurally completely different, but there are ...
-4
votes
0answers
25 views

Csharp multiple button presses [on hold]

I have a button in a program and I want it to where when I click the button it goes to page 2 but if I click it again it goes to page 3 kinda like a book.
0
votes
0answers
63 views

Similar problem to word break

I have a list of strings say L and an array of words say A. I want to find a string from the list L that is a best match to a string created from the permutations of the words in the array. The ...
-1
votes
2answers
124 views

Why is inheritance generally viewed as a bad thing by OOP proponents [duplicate]

I keep hearing the phrase "Favour Composition over Inheritance" from GoF which is being annoyingly mentioned repeatedly by my friend who thinks it is a valid blanket statement but is it not more ...
0
votes
0answers
26 views

Micro-services architecture and reporting services?

as I understand it micro-services are autonomous and have complete control over their own data and therefor each micro-service has a dedicated database. I was wondering what would be the approach to ...
6
votes
2answers
532 views

What is the relationship between lambda calculus and programming languages? [on hold]

I am starting my first year (in college) in Computer Science next year and I write mostly in C (if that is to matter). I have tried searching but most of what I find assumes knowledge of lambda ...
-1
votes
0answers
22 views

Polyglot database architecture [on hold]

I'm currently working on my first data-centric app, and I'm wondering what the most efficient architecture is. I am wanting multiple databases; Mongo, SQL, Titan, Cassandra, and ElasticSearch. I am ...
0
votes
1answer
38 views

Choosing the right Release management & Branching strategy

I am working on a project wherein we are to use SVN as a source repository and we need to identify a branching strategy. I am aware of branch by release & branch by feature strategies to certain ...
2
votes
1answer
124 views

What exactly is this Python statement doing?

I'm trying to port a very basic dual contouring algorithm written in Python (here) to C++. I'm not a Python programmer so some of the language syntax is a bit foreign to me. Specifically, this block ...
-3
votes
0answers
19 views

Encoding Largest/Highest Quality MP3 [on hold]

Open source MP3 encoders like LAME are designed to balance encoding time, file size, and sound quality. I want to know how one would maximize the latter at the expense of the other two, while ...
-2
votes
0answers
97 views

How should I structure my programming? [closed]

I'm currently programming a game in Java and I need advice, I currently have the following setup: I'm wondering if this is the best setup for my java game? I might add that this "game" should ...
-3
votes
0answers
25 views

Execution of char *(*ptr)[]= &arrayOfStrings; [on hold]

Recently I came across this code block char *arrayOfStrings[]={"Monday","Tuesday","Wednesday","Thursday","Friday"}; char *(*ptr)[]= &arrayOfStrings; // LINE A Basically the code was to ...
0
votes
0answers
26 views

Java API initialization step

I am developing an Android Library which involves both Network and Bluetooth communication. In order to start using the library it must be configured. In other words a request to the backend must be ...
-1
votes
0answers
27 views

Which is better to start working on : Android app Development or Linux Kernel related Development [closed]

I am currently working in an Application Testing role in an IT firm but I am actually interested in Embedded Software Development. My intention is to attend Graduate School about two years from now ...
1
vote
1answer
65 views

Tell, Don't Ask and Immutability in a non-directional network

I'm working on a small project in which I'm attempting to practice relatively strict adherence to two ideas: Tell, don't ask (TDA) Immutability The main concept in this project is a Map (as in a ...
1
vote
1answer
79 views

Is there a good name for this pointer template?

I'm looking for a proper name of a class template with the following features: It's interface would look something like this, where Foo is a placeholder for the name I'm looking for. ...
-1
votes
0answers
19 views

How to include bitbucket profile into resume or cv? [closed]

I am new to bitbucket. I have projects on Bitbucket. They are private projects and i am not the admin. How to include my bitbucket profile in resume or CV. I tried to include the url of repositories ...
0
votes
0answers
33 views

What is the best way to sort strings with multiple words in each line and is separated by newline in Java? [migrated]

I have list of anime that i have watch uptill now and i want to sort them in alphabetical order. Below is the small example of how the list is and there are over 200 lines. I have stored all of them ...
-4
votes
0answers
18 views

How to architect a python application to be scalable based on plugins [on hold]

I need to create a helpdesk application and i choose python that is my favorite language. I need that my app be scalable (support add new functionalities based on plugins). So, what is a good design ...
0
votes
0answers
64 views

Separating UI from logic

I'm trying to develop a little game and for this I'd like to separate the UI from the game logic. So I'm thinking of using an "Animator" class that will be responsible for rendering the objects, but ...
0
votes
0answers
46 views

How do I access the data in Java objects returned by User.getAddresses() and User.getPhones()? [migrated]

In com.google.api.services.admin.directory.model.User, many methods, such as getAddresses() and getPhones(), return a Java object that I can’t figure out what to do with. Using toString(), I can ...
3
votes
0answers
108 views

Lightweight data modeling vs traditional classes [on hold]

I've heard a lot of talk about using lightweight data modeling as of late. Especially in relation to the Clojure programming language. What is it and how it differs from traditional classes regarding ...
0
votes
0answers
26 views

Strategy for creating a websocket relay?

I own a Raspberry Pi and would like to use it as some sort of websocket relay, so that all people who visit a specific webpage would be able to communicate with each other. The key thing about this is ...
-4
votes
0answers
28 views

Converting from python 3.x to 2.x? [on hold]

My informatics prof told me that today would be an online informatics olympiad of sorts. I was very happy to notice that python was allowed, but it was only python 2.7.3. I have been using python 3.x ...
0
votes
0answers
17 views

Strategy to serve mobile content from “m.*” subdomain?

There seems to be an emerging pattern to serve mobile content from a m.* or mobile.* subdomain. When I go to many websites on my phone, I'll be dynamically redirected to one of these subdomains and ...
0
votes
0answers
9 views

How to define dependent function in node js?

I have a nodejs project in which a sample.js include two function function A depends on function B's callback . // smaple.js Both function are included in the same file function B ( ...
-4
votes
0answers
14 views

Android error at list [on hold]

When i uses this code : setListAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, getResources().getStringArray(R.array.List)); the compiler find error at (R.array.list) what ...
0
votes
2answers
34 views

memory management of multi-dimensional array

could you please show me an example how to compute the location of an element in a multi-dimensional array. It is illustrated in Robert Sebesta's book Concept of Programming Languages that location ...
4
votes
5answers
2k views

How to deliberately practice computer programming? [closed]

This article describes deliberate practice: "the idea that the best way to improve is to take well-defined measurable steps towards getting better where at each step you get feedback as to ...
0
votes
0answers
58 views

Is there a Rosetta Code for programming paradigms? [closed]

http://rosettacode.org nicely says "Here are a bunch of simple problems, and here are implemented solutions using all sorts of languages." Are there any sites that do the same job, not with ...
0
votes
0answers
38 views

How to avoid module dependency chain nightmare caused by transitive dependencies?

Many (most?) AngularJS folks seem to advocate for breaking AngularJS apps up into many modules. Brian Ford in his blog already states that packaging by layer (controller, service, etc.) is a "silly" ...
0
votes
0answers
8 views

Getting data from one loop to a next [migrated]

I am trying to gett access to the data from this if(isset($_POST['getdata'])) to if(isset($_POST['addto'])) but there is no data being passed and idk why can you help me please. <?php $item = ...
2
votes
1answer
49 views

Design Question - System Integration

Guidance on good application architecture / design is not in short supply however most of the examples focus on some business object, like Customer and its behaviour and persistence. There is little ...
-4
votes
0answers
46 views

Implement Min Heap In clojure [closed]

I am trying to implement a min heap using a map to represent. In the min-heap each node has a value and 0, 1 or 2 children heaps.To add a new value to the heap it is added to the top of the heap.How ...
-3
votes
0answers
16 views

send generic list from server to client and then client to server [migrated]

I have a asp.net page, list is generated after post back. List needs to be first updated at client side and then it needs to be updated at server side before showing results on the page. I don't ...
-3
votes
2answers
44 views

How to perform deferred tasks in backend [on hold]

Actually the problem is very common. Let me describe this by example. Imagine you have a web service where users register and pay for some gold status. There is expiration date. The question is how to ...
1
vote
1answer
103 views

Implementing a tricky REST API with ASP.NET Web API

I'm trying to build a RESTful API using ASP.NET Web API for a game, and here are the methods I have so far: /games GET /games/:id GET /games POST /games PUT /games DELETE /users GET /users/:id GET ...
0
votes
1answer
109 views

How can I mock this architecture?

This is not a very general question, so it may not exactly be appropriate here, but I could sure use a suggestion if you have one: I have an object containing a dictionary keyed off of an enum, ...
2
votes
2answers
164 views
+100

Practices for organizing JavaScript AMD imports

Our company has been using newer versions of the Dojo framework, which have progressed to an AMD-based loader format. I'm currently trying to find logical ways to separate layer files, taking a module ...
-1
votes
0answers
36 views

Framework abstraction - Software architecture for a big long-term project (PHP, Laravel) [closed]

we are currently working on a bigger platform considered for long-term expansion and development. We started with Laravel (PHP) and built a RESTful API (HAL+JSON, HATEOAS). When i look on the classy ...
20
votes
3answers
1k views

A good generic type system

It's commonly accepted that Java generics failed in some important ways. The combination of wildcards and bounds led to some seriously unreadable code. However, when I look at other languages, I ...
-3
votes
0answers
37 views

Which technology would you suggest to build web applications linked to a xml native database [closed]

I'm a web application developer, and i've been doing it for ten years using c#, the .NET framework, visual studio express and MS SQL Express on an IIS server. Now, i've been asked to program a ...

15 30 50 per page