0
votes
0answers
4 views

Is it bad to store data in JSON form or should I use mySQL?

I've been building an application and the whole thing is built around a simple data storage system. Create an array. Convert it into JSON. Add <?php die() at the beginning to prevent access. ...
0
votes
1answer
7 views

Bounded contexts should contain just domain code?

In Domain-Driven Design there's the idea of bounded context which is basically a way to stablish a boundary within which a certain model is valid as far as I understood. I've found this idea very ...
-4
votes
0answers
6 views

Session issue in codeigniter with subdomain [on hold]

Session issue in codeigniter I used codeigniter 3.0 to develop dynamic subdomain website. I checked the database and noticed a new session was being created on every page load.
2
votes
1answer
20 views

Introducing Pull Requests for a 2 person team - merge my own requests?

I'm introducing git to a junior team member (a co-op). They are comfortable now with the basics of adding, committing, pushing and pulling. Now I want to introduce them to pull requests and ...
-1
votes
0answers
5 views

Inserting images from MySQL to listview in vb.net

I am having a stuck. I'd like to insert all images from MySQL table to listview in vb.net, but i don't really know how. I'm using a blob for my images. I've already looked up for that on google but i ...
2
votes
3answers
83 views

Train domain specialists in programming, or train developers in the domain? [on hold]

As software developers, we are often told that our job is not to write code, but rather, it is solving problems in a given domain, with code as our tool of choice. This strikes me as the cause of a ...
0
votes
0answers
6 views

Best practice for documenting ports/hardware for embedded project?

I've recently taken an interest in embedded development and am wondering how most people document their projects. For example: Each pin on PORTE is wired to an LED and is aliased as LEDPORT. ...
1
vote
2answers
26 views

Portable (No)SQL-database, pure XML or something else?

I'm currently planning out a desktop-application that is used to organize stuff. I want to open source it on one point and I want to use and embrace open standards for everything. There is just one ...
1
vote
1answer
15 views

Regex backtracking on simple pattern

I've got this code in Mathematica that fetches the left or right side of an equation by turning it into pure text then textually getting rid of the other side through regex. I've isolated the faulty ...
-1
votes
0answers
14 views

Method passing integer value not responding for java GUI

I am doing two separate program, one is call MyNoteCenter and the other one is call SocketServer In MyNoteCenter, there consist of this portion of program if(e.getSource()== btn2) { ...
-1
votes
2answers
34 views

Integer conversion with Console.ReadLine()

To read a integer form keyboard I will use: int number = Convert.ToInt32(Console.ReadLine()); But why won't this work? int number = (int) Console.ReadLine();
0
votes
3answers
67 views

C# — Is there a key/key lookup table type provided in .NET?

It seems like a pretty straightforward thing to add, but I just want to be sure .NET doesn't already provide one and save me from adding unnecessary code: I need a lookup table (like a Dictionary) ...
0
votes
1answer
21 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 ...
-1
votes
0answers
21 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 ...
-2
votes
1answer
51 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
32 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
2answers
31 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
54 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 ...
2
votes
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
14 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 ...
-6
votes
1answer
33 views

How to be Quiet And Communicate in programming team [on hold]

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 ...
-1
votes
0answers
34 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 ...
4
votes
3answers
113 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 ...
-3
votes
0answers
19 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 ...
-4
votes
0answers
17 views

Calender recurrence logic with daily/weekly/mothly patterns [on hold]

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

Student Attendance Database - Circular reference [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
121 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
75 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
32 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
32 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
19 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
0answers
30 views

Python: How to translate code from 1.5.2 [on hold]

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
42 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
43 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
83 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 ...
35
votes
7answers
2k 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
51 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
9 views

Best Way to join reactjs and cakephp without v8js or nodejs? [on hold]

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 ...

15 30 50 per page