1
vote
1answer
63 views

When should one create a new py-function rather than tweaking another one?

Me and a co-developer are arguing when it's wise to cast a new function rather than tweaking another one. By tweaking I mean an option or a hidden check in an existing function. The question could be ...
0
votes
0answers
34 views

Distributed computing - web services vs message queues

I Need to decide on the architecture for a distributed computing implementation. In the server, there is a database, which holds many mathematical problems, that need to be solved by crunching ...
0
votes
0answers
25 views

MySQL Database normalization for a user model

I currently have a MySQL Relational Database with a users table with the following attributes: ID (Primary key) Name Username (Unique) Password Email (Unique) Description Profile Picture File Path ...
-2
votes
2answers
72 views

Understanding VB.NET variable scope

What's the difference between this code snippet: Sub Test() Dim i as Integer = 0 Dim q as String = "" While i<10 q=String.Format("Some text {0}", i) Console.WriteLn(q) i=i+1 ...
-3
votes
0answers
53 views

programming help [on hold]

I am a young student in college trying to learn how to code, i was wondering if you guys can give me some tips and maybe some helpful resources that would be greatly appreciated
-2
votes
1answer
57 views

Financial transactions from a programming perspective [on hold]

I'm working on a (personal/informal) project that involves transactions between members of a community. Peers in the network "see" an abstract interface that the platform exposes and they can use it ...
0
votes
0answers
22 views

how to do test driven development for cgi / lua script

I'm new to cgi and just finished writing my test website using cgi / lua for an embedded device. Now I'd like to try writing some scripts to automate the testing of the various functions I have in my ...
-1
votes
0answers
19 views

I should expose Cursor object to the view object to use it? [on hold]

I developed from the Web to Android Development is doing a App, the need to use SQLite and AdapterView. I wanted to write a DAO class to do all the work associated with the database query and populate ...
0
votes
3answers
172 views

Why does an interface extend an interface instead of implementing it?

In Java suppose that I have interface A: public interface A { // foo } I also have interface B: public interface B extends A { // foo + bar } Why does interface B extend interface A ...
-1
votes
0answers
37 views

Where best to begin in Mobile App Development [on hold]

I have been a web platform technologist for years. I now wish to move into mobile app development. What is the best type of training to get started with to develop skills in the area of mobile app ...
0
votes
0answers
43 views

Can human-readable part in FHIR lead to inconsistencies? [on hold]

I've been reading about FHIR and I can't help wondering whether the "human-readable" part can lead to inconsistencies. If a clinician updates email, it will not be updated in the "human-readable" ...
1
vote
2answers
47 views

How to maintain atomicity with a service like pattern

Imagine a route in an MVC web project which handles editing a user of your product. You can do things like change their name, their email, their group, their roles and so forth. This data is put in a ...
0
votes
0answers
25 views

Creating Dynamic Odata Feeds at runtime, c# [on hold]

We have a program that exposes authorized sql tables to the user and allows them to select from the available tables and some fields. The program then returns a file with a bunch of sql statements. ...
1
vote
3answers
45 views

Clarification on Acquire/Release Semantics in multithreaded programming

In an attempt to fundamentally understand any concept, I try to understand the meaning of the words within the context it is being used. Currently, I am trying to fundamentally understand the whole ...
0
votes
0answers
19 views

Factor ignoring variables at runtime [migrated]

I have a facter for use in puppet that should generate a list of specific information but it is a bit hit and miss as to whether it works, even on servers running the exact same version of ruby, ...
-1
votes
0answers
25 views

Rating formula including rating and number of votes [on hold]

Is there any other formulas for rating calculation besides IMDB one? I have 10-stars rating TOP-100 chart, and what in that chart that for example entry with rating 9.6 and 56 number of votes would be ...
-2
votes
1answer
59 views

What do I need to parse sentence for a “simple bot” [on hold]

I am developing a chat bot with Node.Js. I am trying to find efficient way to parsing sentence. what do you think about humanity -> ba bla bla. what do you think about cats ->I love cats ...
0
votes
0answers
4 views

German Characters in VB.net always displaying square box [migrated]

We have a problem with German Characters in VB.net it always displaying square box. We have an oracle database which the application is connected to. There is an existing PHP application that ...
4
votes
2answers
233 views

Why was the AT&T assembly syntax designed this way?

The AT&T assembly syntax, often called the GAS syntax, keeps surprising me. For example, its parameter order: mov $100,%eax /* Destination after source */ This just seems so counter-intuitive! ...
-1
votes
0answers
26 views

Text pasting animation [on hold]

The wavemon tool on my linux machine has an interesting text pasting animation on its 'about' section. It seems that it's scrolling though several characters while pasting them on the screen and stops ...
0
votes
1answer
75 views

Receiving information from another application [on hold]

I am currently attempting to create an AI which can play games, but learns to play rather than using hard-coded instructions. But, this isn't my problem, my problem is telling the AI whether it has ...
-1
votes
1answer
44 views

How to write a web based scheduling service [on hold]

I run an app that needs a scheduler for things such as reminders as well as setting due dates. These schedulings are per user. I'm trying to figure out the theory of how this would work. My concept, ...
1
vote
0answers
16 views

Active Directory Federation for multi tenant application

For AD Federation in a multi-tenant environment- My research so far with Azure, tells me that the onpremise AD needs to be integrated with the cloud AD. Are there any cons/ security concerns with ...
7
votes
9answers
2k views

Big O Question about an algorithm with (n^2 + n) / 2 growth rate

I'm asking this question because I am confused about one aspect regarding big O notation. I am using the book, Data Structures and Abstractions with Java by Frank Carrano. In the chapter on the ...
-1
votes
1answer
42 views

What tools are there to create/generate a full stack dev project? [on hold]

I'm starting to develop a new project and I'm looking for a tool to generate all the needed layers for a full-stack dev project. I'm looking for a hello world generator that provides all the ...
-2
votes
1answer
27 views

TCP/IP Retransmission [on hold]

I'm trying to code a linked-list data management system for tcp retransmission in c. I have the sending and receiving logic set solid. Any help in this regard will be much appreciated. Thank you
0
votes
0answers
16 views

Calling functions in C++ function is of non-class type [migrated]

I am very new to programming, especially in C++, and am trying to build my first project on my own. A budget program. Criticism is welcome. I'm using a constructor in my main file to call my functions ...
0
votes
0answers
94 views

What algorithm to convert an integer to unique non-linear string? [on hold]

What algorithm that can be used to convert a 32-bit integer to a unique non-linear string? For example: 1 -> DGKJUFD21 2 -> IDFMSOF89 3 -> GDSJH83AS and so on.. This is linear string: 1 ...
-1
votes
0answers
55 views

Should I list an old programming job on my resume? [on hold]

I have had a messy career so far as a web developer. This is mostly because I have not focused on any particular technology in depth. I realize now what a big mistake that is. I graduated college in ...
2
votes
5answers
480 views

Do I have to be a hardcore programmmer to succeed? [closed]

I know someone who is a very good programmer with a good software development job and income. However, he spends practically all his time on his computer. Whether it is work or his own projects he is ...
0
votes
0answers
36 views

Manipulating tables with Clojure [closed]

I am trying to manipulate Incanter data tables in Clojure, in a manner similar to R or Python pandas dataframes. The incanter.core library seems to be missing functionality that is mature in Python ...
3
votes
3answers
149 views

How to make complex objects immutable?

The example I'm about to give is for the PHP language, but I think this scenario applies to most languages. Let's say I have an object called Response and I want it to be immutable. Every method ...
2
votes
3answers
107 views

Extended usage of an exception

I'm in the process of building a routing system for learning purposes and have encountered an issue which I think is a bit in the grey area of best practices. Can you guys help me decide if this is ...
-6
votes
0answers
76 views

I am new to programming,recommend books and topics to cover to become a better programmer [closed]

I am 18 and started coding now which I really feel is late,coming to the topic.I just quit my college I am interested in creating bots,forums and website building and even building Android and I phone ...
-1
votes
0answers
52 views

Finding open source to work on, and increasing job competitivness [closed]

I would like to work on an open source project, but it has to increase competitiveness for jobs/freelance work. How do I go about finding such a project? How much work would it require to get ...
0
votes
0answers
39 views

Is it possible to use Protocol Buffers natively for message passing between a Go web service and an Android app?

I want to connect an Android app to a Go web service (I have a small social network in mind) and would like to pass data to and from the web service using Protocol Buffers, since it recently seems to ...
1
vote
1answer
80 views

What is VLA and how it is implemented?

Most languages does support variable length arrays on the heap but I've heard that those can be stored on the stack too. I'm curios what languages support this construct, some examples and how are ...
0
votes
1answer
94 views

Moving from C++ to NodeJS - Working with XML and JSON

I need to make a program to compare several large +100MB XML files, find the difference, and spit out JSON. I have written the comparison code in C++ and it performs great but now when I am getting to ...
-3
votes
0answers
36 views

Algorithm to make sum of elements equal zero [closed]

I want to make sum of elements in this array equal zero array = [[1, 2, 1], [1, 2, 1]] Need sum of columns and rows equal zero array = [[1, -2, 1], [-1, 2, 1]]
-6
votes
0answers
24 views

file delete in windows 8.1 by visual basic express 2013 programming [closed]

I can not delete a file delete in windows 8.1 by visual basic express 2013 programming. I have got this. An unhandled exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll ...
1
vote
1answer
75 views

Run a c++ program under lots of different data maps

I want to run a c++ program to process a lot of data from different xml files and output results. I run the program once per file and potentially have around 50 different files. The trouble is each ...
0
votes
1answer
60 views

How do you name the Visitor implementation? [closed]

I was reading about Visitor pattern and was a little wondering about naming of the methods. Assume we have the implementation of the pattern as follows: public interface Entity{ public void ...
-2
votes
0answers
64 views

How to become Java developer.()() [closed]

HI im very very interested in java. I want to become a java developer. I cant join any institution because of my financial problems. Help me how i can become a java developer and what subjects should ...
2
votes
1answer
46 views

Are there any impediment in the Apache License 2.0 to sell software?

If my project uses a part of the other person protected by the Apache License 2.0 code, I can sell it and keep as open source or there is any impediment to sell? The license itself I think very ...
0
votes
1answer
91 views

Project has become so complex and big that I am lost [closed]

Hello this has never happened with me before . I am making an online shopping android app which has become huge and complex . While developing the code I have followed all the clean naming ...
-2
votes
0answers
43 views

What is the best way to start with Node.JS, Angular.JS 2, and Typescript? [closed]

I think, the most promising web development stack is node+ angular2+ typescript. I have found many tutorials of them separately. But I want to start with them together as a stack. And I also want to ...
0
votes
0answers
31 views

A web server would be considered RPC or Rendevous? [closed]

I'm learning about concurrent programming and the book I'm reading (Concurrent Programming: Principles and Practice by Greg Andrews) mentions RPC (Remote Procedure Call) and Rendevous as the two main ...
-3
votes
1answer
78 views

I want to know how to code graphics in c++ [closed]

It doesn't matter what graphics. Just some that could work for the compiler code blocks 8.1. #include <graphics.h> This graphics.h Sounds good but I don't know how to use it. Help would ...
0
votes
1answer
23 views

JSON schema design for variable response

I am drafting a JSON schema for an API. One of the responses aims to show all the updates to different properties of an given entity. The number of updates may vary from one response to another. For ...
-2
votes
0answers
28 views

What is best as a database system for garnering historical election data? [closed]

For a project in History and Political Science, I am collecting tons of electoral data, including Names of each, Votes cast to each, Turnout, Rejected Ballots... The data spans: - at least 70 years ...

15 30 50 per page