0
votes
0answers
13 views

Train domain specialists in programming, or train developers in the domain?

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
2 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. ...
0
votes
0answers
8 views

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

So, this is more of a discussion and I know these are not really liked here, but I do need your expertise and wanted to try my luck. If this gets removed I've to ask again on another platform, but ...
1
vote
1answer
14 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 ...
0
votes
0answers
10 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) { ...
-2
votes
2answers
22 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
52 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
16 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
19 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
44 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
30 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
27 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
49 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
13 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
32 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
29 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
102 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 ...
-2
votes
0answers
18 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
25 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
45 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
118 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
72 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
31 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
29 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
18 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
27 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
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
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
80 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 ...
30
votes
7answers
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
9 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
130 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 ...

15 30 50 per page