0
votes
0answers
4 views

Qt/QML/C++ Application database connection object visibility

I am working on some Qt/QML/C++ app and I've got myself into some kind of dead end. Namely, this app uses mysql database and here is my questions: Is performance hurt if I instantate new database ...
0
votes
0answers
11 views

How to get that very first programming job? [on hold]

I go to a crappy school, where we spend the first week learning about println and the second week how to create a variable. It feels very ap computer science like. I am about to graduate and I feel ...
0
votes
0answers
6 views

How does Xcode communicate with an iOS device? [migrated]

I can plug in an iOS device and tell Xcode to run my app on that device or stop it. I can have the app paused at any time and use the debugger to debug the running app. How is this all possible? There ...
-1
votes
1answer
37 views

How does not having a college degree affect a programmer's resume? [on hold]

In the medical field, one can't learn things on his own / prove his skills through self-practice obviously because he needs advanced experience before he can be qualified to practice his craft. All ...
3
votes
0answers
21 views

Strategy for OS X and downlevel version of C++11 library?

I think I've found myself in a situation where things are quickly spiraling out of control, and I'd like to get some feedback to select a way to proceed. BACKGROUND I'm working with a library based ...
1
vote
1answer
19 views

Good practice to save the last time user accessed the app

Using a JWT authentication, the user doesn't have to log in each time he uses my app. I would like to save in DB the last time the user used/opened the app. Technically, I have a set of REST API ...
1
vote
2answers
43 views

How do I write a proper messaging protocol?

I need to write a messaging protocol between client and server for a game application. I need to send messages back and forth such as, Player joined a game, player left game, player performed this ...
1
vote
1answer
14 views

Proper use of the GPL when using a library covered by an older version

I have a piece of software that I have been working on for a while now. You can find it here. Since it is now at a stage where it could potentially be useful to other researchers, I decided to cover ...
0
votes
0answers
3 views

NameError on executing 'rails s' [migrated]

I just started this tutorial for Rails. I just created the app and was going to test the default welcome page and this happened: D:\Programming\Rails Projects\simpleCMS>rails server ...
2
votes
0answers
12 views

Misunderstanding about “Evidence Based Scheduling” in estimation tasks

I read the Spolsky blog the post with title "Evidence based scheduling" (http://www.joelonsoftware.com/items/2007/10/26.html) but I don't understand the mechanism to predict and estimate ...
-5
votes
1answer
29 views

How to be Quiet And Communicate in programming team

Be Quiet in work is necessary specially in programming team But Communicate is necessary too How you communicate with your team with respect to quietly office? Absolutely you know that then you start ...
0
votes
0answers
18 views

How to send a string value from client side to server side?

I am developing a client server program which consist of combo box for user selection in client program. After the client make his choice, the download button will send the request to my server ...
2
votes
1answer
64 views

When did Undefined Behavior in C jump the causality barrier

Some hyper-modern C compilers will infer that if a program will invoke Undefined Behavior when given certain inputs, such inputs will never be received. Consequently, any code which would be ...
-1
votes
0answers
14 views

Pygame for Intel processor

I downloaded Python 3.4 64 bit IDE and pygame but whenever I tried installing pygame it would say "Not supported on Intel". So are there version of pygame available for Intel processor or are there ...
0
votes
0answers
8 views

Why does Service can't access the @Value in SpringMVC? [migrated]

I have access the file.properties by @Value and <context:property-placeholder location="classpath:file.properties"/> in Controller: @Controller public class SomeController{ @Value("${name}") ...
2
votes
1answer
22 views

Abstract/encapsulating session superglobal usage inside common accessor class

I am in the process of removing direct dependencies from an existing project. I have now come to removing the direct use of $_SESSION inside scripts. This is to make the same scripts available for an ...
-3
votes
0answers
15 views

Calender recurrence logic with daily/weekly/mothly patterns

I'm working on a Webapplication, which stores the data of Fueling system in a periodical manner. i have fuel table in my Sql server DB, which normally stores the fueling details. ...
1
vote
1answer
24 views

Time attendance module design

I am working on time attendance module and I managed to read the data from the timing machine in the following format: Id CheckIn Type Status 0000142 5/15/2015 6:00 PM 2 OK ...
0
votes
0answers
12 views

Open source license to prevent publishing Android application with modified name or package

I've written an Android application and I want to publish it as a FOSS application, however, I want to restrict others from publishing it in Android markets (e.g. Play Store) with only changing the ...
-1
votes
0answers
38 views

Student Attendance Database [on hold]

I would like to store student attendance in table where I have created two attendance_master and attendance_detail tables. Similarly I have enrolled_master and enrolled_detail tables where students ...
1
vote
2answers
115 views

Why Java does not have a framework like Rails? [on hold]

I am a Ruby on Rails developer and I like its simplicity and rapidness. On the other hand we need to use Java for some projects that we develop for our clients. My question is why (pure) Java does ...
4
votes
1answer
70 views

A real-world use case for triple dispatch

A few times in my career I've encountered design problems that couldn't be elegantly solved with single dispatch and required double dispatch (which I implemented using visitors). However, I've never ...
1
vote
0answers
27 views

Refactoring to avoid circular references

I'm working on an ASP.NET MVC solution that has two projects, WebUI and DAL. WebUI references DAL. DAL has the repository and context, while WebUI contains Authentication and Authorization classes. ...
1
vote
0answers
28 views

Expert advice needed for a NoSql Database

At our company, I have been given the task to develop a Mobile Application (iOS, Android and in the future, maybe Windows). Given those devices, it's likely that we'll have a high number of ...
-2
votes
0answers
17 views

RESTful web service in Jersey

Im creating a RESTful web service through Jersey. I followed the guide http://javapapers.com/java/restful-web-services-with-java-jax-rs-using-jersey I created the web service as mentioned in the ...
-2
votes
0answers
21 views

Beginner Programmer: Mac XCode Errors [on hold]

I'm a totally new programer (just started yesterday), and I was working through the c plus plus manual here: http://www.cplusplus.com/files/tutorial.pdf and it works fine. However, when I tried to ...
-3
votes
1answer
25 views

Python: How to translate code from 1.5.2

So today I went to my local library because I decided to take my journey with python a step further. Naturally, I logged on to the library's intranet and searched for "Python programming language", ...
-3
votes
0answers
19 views

Segment sieve of Eratosthenes code [on hold]

I got this code to print prime number between m and n and while doing its dry run ,i observed that even if prime is not set to be 1 for composite 4 it gives same result int main(int argc, char** ...
0
votes
1answer
43 views

Why are Strings in StringPool considered insecure?

Passwords are recommended to be stored in char[] instead of String, as Strings are stored in StringPool. Read more here As per this question Strings in StringPool are not available directly. To ...
2
votes
1answer
24 views

Use application while it is installing

I was installing the Office 2016 Preview yesterday (link for anyone who's interested) and noticed that you can actually use the Office applications provided before the installation is complete. When ...
1
vote
0answers
40 views

If the externally callable interface of a class is called its API, what is “what can be overridden” called?

It's about what the class gives access to through inheritance. It has a three letter abbreviation but not API. I've seen this before but can't remember at the moment. The term is usually used in ...
-3
votes
0answers
15 views

Microsoft SAPI 5.4 SDK [on hold]

Okay, so while I was on MSDN looking into the Microsoft Speech SDK. I came across documentation for SAPI 5.3/5.4. In the documentation in the tutorials section I noticed that it referenced "C:\Program ...
3
votes
0answers
42 views

What is the correct place to put checking of conditions in this use case?

Here is the situation: I have a database and a class that is basically a representation of a set of fields of different tables in it. Let's call it Message. "Message" does not know of the database ...
2
votes
2answers
78 views

Javascript Password Security

I'm extremely new to javascript (so I know there's already a thread here), but I couldn't understand how to implement it. My code is pretty much identical: <script language="javascript"> ...
4
votes
0answers
63 views

What happens if dependency repository is deleted on GitHub? [migrated]

I own a GitHub repository, A. Repository B is another open-source project, which is owned by someone else. Repository A depends on repository B (repository B is a submodule of A). If the owner of ...
25
votes
4answers
1k views

How to make a large codebase easier to understand for new programmers

Suppose that I am developing a relatively large project. I have already documented all my classes and functions with Doxygen, however, I had an idea to put a "programmer's notes" on each source code ...
1
vote
2answers
50 views

Avoid data manipulation by user

I have a C# program (could be any programming language) that saves data to a file on a memory (hard disk, USB drive, etc.). The program uses this data for monitoring its operation time, but it could ...
-1
votes
0answers
30 views

As a software developer, what are some good resources to know what is new in technology and development? [on hold]

What are some good resources that software architects and developers use to keep themselves abreast of the new tools, technologies , frameworks etc? Example how did the early adopters of NoSQL ...
-2
votes
0answers
8 views

Best Way to join reactjs and cakephp without v8js or nodejs?

Hello i have some experience using cakephp but i really don't like the way the ui is handled, so i look at reactjs from facebook (Called as the View of MVC) and it looks like an standard good to ...
-4
votes
0answers
32 views

Best resources for beginning front end development? [on hold]

My husband is interested in learning how to code. He is currently getting a degree in Psychology and isn't sure if he'll find a good career out of it so is considering being a developer as a fallback. ...
0
votes
2answers
90 views

Nuts and Bolts Programming

This may only be my personal impression, but lately, it seems, I see a lot more online questions about how to use stacks and libraries than about how to actually program. It is just me, or does there ...
-1
votes
0answers
24 views

What is the best way to install Django app on a client's PC? [on hold]

I am a beginner developer. I have made a basic Inventory Management application in Django for a small shop. They have one PC and would just like access to the app offline. I was thinking of installing ...
5
votes
3answers
128 views

Should I make my own exceptions, or co-opt similar exceptions for slightly non-standard purposes?

This is a general design question, but I'm focusing on C# and .NET because those are the languages I'm working with right now. Should I create my own, new exception classes, or co-opt existing ...
3
votes
1answer
68 views

Why does Objective-C store objects on the heap instead of on the stack?

I have a basic understanding of what a "stack" and "heap" are. You use a stack to store items in memory that should be read and/or removed in a last-in-first-read/removed manner. To steal another ...
1
vote
0answers
19 views

Securing a private API used by an iOS App

I have an app that uses an API server and I do not want to have anything other than it to be able to use that API. I know this isn't totally possible, but I want to do what I can. I don't think my ...
2
votes
2answers
113 views

How to avoid compiling downtime

So, I'm used to developing in interpreted languages. I have been hired on to work in C#. I am familiar with compilation and can use it, however being able to work with interpreted languages has gotten ...
0
votes
2answers
55 views

How to better define SRP and “wholesome” objects? [duplicate]

Assume you have a class. It can really be any class that defines a domain concept like an employee, a product on an e-commerce site, or a car. One of those examples that are oldies but goodies. ...
-1
votes
0answers
23 views

Developing Native IOS applications. Xamarin or IOS SDK? [on hold]

I'm in the process of doing more IOS development and I'm only interested in using native development sdks more specifically IOS SDK or Xamarin. My question is what are your preferences and why? I'm ...
0
votes
1answer
43 views

Is Glassfish Or TomEE better than plain Java Web Container? [on hold]

I am trying to migrate my plain Apache Tomcat 7.0 Server to Glassfish or TomEE, but I'm hesitating to decide because I'm afraid it can cause a performance impact. In plain Apache Tomcat I can ...
0
votes
0answers
27 views

EF “Code First” and Object/Relational Impedance

I'm trying to learn more about the current orthodoxy with respect to ASP.NET MVC application design, and I stumbled upon something that confuses me, relating to the choice among database design ...

15 30 50 per page