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
26 views

Rating formula including rating and number of votes [closed]

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
60 views

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

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
237 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 [closed]

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 [closed]

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
45 views

How to write a web based scheduling service [closed]

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 ...
9
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? [closed]

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 [closed]

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? [closed]

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? [closed]

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
485 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
150 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
111 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
81 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
95 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
37 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
76 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
65 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
93 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
44 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
82 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
24 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 ...
3
votes
2answers
81 views

What do I need for a database server for Mobile-Apps? [closed]

I'm struggling getting my head around writing a server for a mobile app. The app is quite simple and would manly rely on geographic data and some other basic stuff liker users etc. nothing special ...
0
votes
1answer
61 views

How to make absolute jumps relative?

Given I have x86 assembly code disassembled into a list of structures that fully describe it (opcode, regs, imm etc.). How can I now programmatically turn absolute jumps to relative jumps? Basically ...
-1
votes
0answers
54 views

AI in programming [closed]

I would love to learn something about artificial intelligence used in programming. Is it used nowdays or is it some kind of sci-fi. I heard something about phenotropic and intentional programming, ...
-1
votes
0answers
33 views

Virtual embedded system [closed]

I want to learn Linux Embedded System programming. But right now I can't afford buying embedded hardware like Raspberry pi. I just want to know is there any virtual embedded system that I can try for ...
1
vote
2answers
83 views

Split one big class on sub-classes

I have a generic question and I don't understand how create what I want. I writing a basic program they can access to one database an do some SQL request, etc. But at the moment I have one big class ...
4
votes
2answers
149 views

Why is it bad to have one mechanism for inheritance and subtyping?

It is quite well-known that (class) inheritance and subtyping (sometimes called interface inheritance) are different things: inheritance is a mechanism for sharing code, while subtyping is a ...
1
vote
2answers
71 views

TDD'ing an external interface

In order to create a very testable codebase, I abstracted away a certain external dependency. To be precise, this dependency is actually implemented by a vendor SDK and it communicates directly with a ...
-2
votes
0answers
22 views

What factors influence the choice to use Actionscript or Javascript in Adobe Air apps? [closed]

From what I understand, I can choose either: Flash/ActionScript or HTML/JavaScript I used to know ActionScript for games, and I want to learn Javascript for my websites, so I can add some ...
-6
votes
0answers
50 views

C and Java Programmar [closed]

I am currently pursuing computer science in college. 1)I want to be a professional C and Java J2SE Developer...(not only a programmar)...so that I can develop system softwares,customize linux shell ...
-1
votes
0answers
20 views

Im having trouble using the time package [migrated]

whenever I use the time package, I get this error: Traceback (most recent call last): File "C:\Python34\2015\intrest calculator.py", line 53, in time.sleep(1) AttributeError: 'float' object ...
-3
votes
0answers
16 views

STM32VLDiscovery - SPI read and display of data [closed]

I am quite new to STM32 programming. But i need it for my project. I am going to transfer data from an accelerometer to STM32VLdiscovery board via SPI. Now I have the code written and uploaded ...

15 30 50 per page