1
vote
1answer
107 views

Resetting vs. re-sending forgotten passwords

When a user forgets their password, is it better practice to reset the password and email that to the user or just to email the current password to the user's email address.
0
votes
1answer
41 views

Getters with data conversion in Java VOs

I am working on a standard Spring application where DAO layer returns entities to service layer and service layer returns VOs to other services and controllers. In a certain scenario, we have a VO ...
3
votes
3answers
122 views

How to determine if set of ordered coordinates form a simple curve?

I hope it is the right place to ask this. I wasn't sure if it belongs to Stack Overflow or Computer Science. Eventually this seemed more suitable. Anyway, some background first: A closed curve, is ...
-1
votes
0answers
21 views

Hybrid Mobile Application or Web with native containers? [closed]

I want to build a taxi application that will run on both IOS and Android platforms. The enduser must be capable to: Order a taxi. Review his/her stats (how many orders has he/she done, money spent, ...
0
votes
2answers
72 views

How should an API or server respond when a device connects with a different account than it is bound to?

In my system we have users accounts and user devices. Rules: A user can have only one user account. Each user can have many devices. A device can be bound to only one user account. Upon initial ...
-4
votes
1answer
86 views

Should I remove logging statements on production? [closed]

I have a bunch of console.log statements in my AngularJS app. Should those be removed for production? Are there potential issues from leaving them on?
-5
votes
0answers
25 views

Generate a dynamic dropdown and embed a php code [closed]

I want to create a drop down dynamically and display a data in to drop down from database. and when click on product from drop down I want show two textbox.
-1
votes
0answers
19 views

Weird Override and implementation [migrated]

I am currently programming an android app, but I have a problem. I want to use GreenDroid for my project but while compiling the compliler give me an error : The return type is incompatible with ...
3
votes
1answer
85 views

How to store data that is recorded with different frequency?

I'm writing a metallurgical web application, that must store data (electrical parameters) recorded at different frequencies. For example: six parameters recorded with frequency of one measure per ...
2
votes
1answer
113 views

Call method in a disposable object at the beginning of a “using” statement

When we use the lock statement, it is essentially doing a Monitor.Enter at the beginning of the locking block and a Monitor.Exit at the end of the block. This process is automatically handled by the ...
3
votes
2answers
115 views

Domain object model: query by id vs object

Let assume I have two simple model classes: Product and Brand It is obvious I have a query method in Product class like this Product product = Product.findById(123); What if, I want to query ...
-2
votes
1answer
47 views

Copying desired bits from variables [closed]

What's the best way to copy desired bits from char, int or any other variables? I want to see all possible and the most efficient techniques for this purpose. I have for example 16bit variable 0000 ...
0
votes
0answers
26 views

Why does my c++ code run fine on Windows 7 but crashes on Windows 8? [migrated]

Ok, I added the following code to a mod menu for a game and everything works fine for me in Windows 7. But when I send it to my friend on Windows 8, he tries to select a button (which calls the ...
2
votes
1answer
54 views

Making use of constant data

My team is working on an android app. A co-worker and I have different ideas on how to load constant data. To clarify, the data we are going to use are 100 × (n × 〈integer-integer pair〉) where 10 ...
-1
votes
0answers
25 views

algorithm to find lowest-weighted sub graph [closed]

It's a question I read it in a book but I couldn't solve it. Give an algorithm to find the lowest-weighted sub graph that maybe its edge weights lower than zero. algorithm should be in O(E logV)
-1
votes
0answers
13 views

Defining build logic [closed]

I have been tasked with switching a legacy multiple part project from Ant to Gradle. The overall project itself is not very complicated, just admin and client java projects with a common project with ...
0
votes
3answers
168 views

The coding monkey dilemma - any practical advice or strategies? [on hold]

I saw this question on UXSE but thought it might be interesting to see what the response it on stackoverflow or programming SE: A quotation from an interview with a practitioner with a technical ...
-2
votes
0answers
28 views

Setting up Visual Studio for 2013 for Angular.js and Node.js development [closed]

I want to start development with Node.js for my server side logic and AngularJS for my client side logic. I want to develop in my favorite IDE: Visual Studio 2013. However, I can't find any ...
-1
votes
1answer
39 views

angularjs events for launching modals

I want to be able to launch modal windows from different parts of my angular application for viewing or editing content without changing states/url. My current approach is to create a module for each ...
-3
votes
0answers
26 views

How are server emulators for web games made? [closed]

I hope this is the right place for this type of question. Anyway, I have an idea of how windows application games are emulated, but I'm more interested in how emulators for browser based MMOs are ...
2
votes
1answer
66 views

What's the correct commit message in a multi-project repository

Somewhere else there was a discussion on putting several projects in one large repository. My question is, how does a good commit message look in those type of repos? I usually prepend each commit ...
-5
votes
1answer
38 views

What is the problem domain for my project? I need help [closed]

I am documenting for my school project, but I am not sure what is problem domain in my case. I am simulating an ATM for my project. In this project, my idea is to use motion sensors instead of using ...
-7
votes
0answers
50 views

Is python supposed to run stand alone? [closed]

I am trying to make a stand alone application. after I wrote a program, I want it to be a stand alone program. But it seems that that's not quite easy. are all other programing language like this? or ...
-7
votes
0answers
27 views

design of web service based on database [closed]

my lecturer wants me to make a web service design of my final test. but i don't understand what his meaning. i know he didn't want me to show the architecture of web service, he wanted the web service ...
-3
votes
0answers
24 views

How to launch browser from Java WS and log on page by SSO?

I have an Java Web Start application which communicate with J2EE server application (JBoss). User is logging in (login & password) and after that doing some operations. Now I would like to add a ...
-2
votes
0answers
15 views

Open Source web based plugin or tool for content/resume/document management and efficient search for a Website/Software [closed]

I am novice to web-development and web tools. I need to create a website which will have a lot of documents similar to resume. I will need to be able to perform efficient search from the documents ...
0
votes
1answer
36 views

API authentication with a single ID

A typical API authentication usually rely on a pair of API ID + SECRET, my question is: if the API ID is unique and randomly generated and is considered strong enough (e.g. SHA512), why a SECRET is ...
-6
votes
0answers
36 views

Prolog splitting lists [closed]

Consider the following logic program to split a list into two lists. split([],[],[]). split([X],[X],[]). split([X,Y|L],[X|M],[Y|N]) :- split(L,M,N). Draw the SLD-resolution tree for the query: :- ...
-3
votes
0answers
20 views

Good code resource to learning database interaction [closed]

I am currently working on project with MySQL database and I am looking for good practices to working with database in Python. The next problem I have is that I want to start with unit testing ...
8
votes
4answers
452 views

Is Visitor Pattern valid in this scenario?

The goal of my task is to design a small system which can run scheduled recurring tasks. A recurring task is something like "send an email to administrator every hour from 8:00 am to 5:00 pm, Monday ...
-4
votes
0answers
73 views

How can I convince the city to stamp an official seal into my journey book? [closed]

This question about when to call oneself a Senior Software Engineer contains a fantastic answer by one user which suggests bringing back the term 'Journeyman' into Software Engineering. This got me ...
-3
votes
1answer
35 views

Will adding Swift to my Objective-C project slow down my app or IDE?

I have been working on an iOS app in Objective-C for a few months now, and I'd like to try out Swift. Both languages can be used alongside each other via a briding header. Right now my project is ...
-4
votes
0answers
19 views

server-config.wsdd file is not generated [closed]

I am developing simple Web Service App using Axis1.x. So when my server is started it shows in mid- Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd ...
-3
votes
0answers
17 views

Mvc manage context and reusable components [closed]

I'm trying to create for a Web App an MVC Architecture with a Hierarchical Router. The goal is manage all the business logic and views with a clear pattern. Let me do some example: Route index ...
0
votes
0answers
27 views

Handling server failure using serialization

In my program, there is a central server, and I want to store its state. I'm using serialization for this, I am serializing the data after every 2,3 seconds. So that whenever server fails, it can come ...
2
votes
2answers
117 views

What happens if some server side GPLv2 code is leaked? [closed]

So, I know that if you use GPLv2 code in some server side code, you do not need to release that code (as long as you're not distributing it, of course :). However, let's assume that you accidentally ...
-3
votes
0answers
60 views

What sorts of web technologies does Disney use? [closed]

I'm interested at some point working for Disney. I'm currently a web developer at an ad agency and working with HTML, CSS, JS/JQuery, PHP, Drupal, Wordpress and some minimal Joomla. I do have a ...
-5
votes
0answers
22 views

Python programming - Output issue between each function call [migrated]

def displayChar(d): if d.isalpha(): print(d, "is a str") elif a.isdigit(): if 'float' in str(type(eval(d))): print(d, "is a float") else: ...
-2
votes
0answers
23 views

Persist and sync custom sorting information [closed]

Assume a task app like asana with multiple client apps and the data must be synced across multiple systems. I have a list of 'tasks' and they can be custom sorted. What is the optimum way for me to ...
-6
votes
0answers
58 views

Drawing shapes with JavaScript [closed]

A javascript program. I don't want or can't use images. I want to represent countries. I'd like to know if there's somewhere a database, with countries shape coodinate, that you could use to draw ...
1
vote
0answers
44 views

How to expose the domain model as options to drive the view behavior

First off, I'm not thrilled with the title, so I'm open to suggestions there. Here's my question: I'm designing a simple application that takes input from a user and produces an output document. ...
2
votes
2answers
97 views

Blocking function call with asynchronous content

I am sure that this is a common design pattern, but I seem to have a blind-spot. I have a requirement that the function call from Application to Service be blocking, but service needs to do ...
6
votes
3answers
152 views

What is the functional programming answer to type-based invariants?

I am aware that the concept of invariants exists across multiple programming paradigms. For example, loop invariants are relevant in OO, functional and procedural programming. However, one very ...
0
votes
1answer
27 views

CentOS/RedHat devtoolset license implications

Can I use the RedHat devtoolset to build non-GPL-ed software? Do I have to mind any caveats? From my understanding, the devtoolset knows the limitations of the standard libraries shipped with older ...
2
votes
1answer
59 views

Selecting members to add to a github project [closed]

My team recently added a software project to github. We are getting requests from some of the users that they would like to become part of the team. What would be a good way to choose whom to add ?
-2
votes
0answers
35 views

Is there a book on mentoring junior developers? [closed]

I can't find any books on how to mentor junior developers. I can find lots of articles, but no books. I know that recommending books is too opinion-based, and maybe this question falls into that ...
10
votes
2answers
388 views

Why store flags/enums in a database as strings instead of integers?

I've been browsing SQL dumps of some famous CMSes, including Drupal 7, Wordpress (some quite very old version), and some custom application based on Python. All of these dumps contained data with ...
-5
votes
0answers
23 views

Regading Jenkins TFS automation [closed]

Could you please send me the doc ,like a step by step procedure for TFS msbuild projectsol. build and publishing. Thanks.
5
votes
2answers
100 views

What is a reasonable level of detail for a style guide? [closed]

We are developing embedded software for an automotive product in ANSI-C in a large team. Yesterday, in our regular code review, we had a general discussion about the style of our code. We have a ...
13
votes
7answers
447 views

When NOT to use virtual destructors?

I believed I searched many times about virtual destructors, most mention the purpose of virtual destructors, and why you need virtual destructors. Also I think in most cases destructors need to be ...

15 30 50 per page