-1
votes
0answers
8 views

Opening Outlook inbox from javascript command, or c# mvc controller?

I need to open outlook inbox when the user clicks a link on my asp mvc site. how do i do this?
0
votes
0answers
5 views

Javascript Clearing Canvas [migrated]

This is the source of my program. I titled it Old School Screen Saver. https://github.com/lindylex/OldSchoolScreenSaver This is it in action. http://mo-de.net/aiar/ In this function: ...
0
votes
0answers
8 views

Client changes contractor halfway through project [migrated]

I have a client who I've been developing a site for. I've spent about a week on the job; it's a small project. After 1 or 2 iterations the client settled on a design he liked, and so the work began. ...
0
votes
1answer
24 views

Line intersection detection algorithm

I'm trying to detect if a line drawn by the user intersects itself. I'm using a line intersection detection algorithm that goes through each waypoint of the line and checks if intersects with any ...
0
votes
1answer
29 views

How to display an inward spiral matrix

Suppose I have the following matrix with values 1-25 as input to my program . The inward spiral should give me the output 13 18 17 12 7 8 9 14 19 24 23 22 21 16 11 6 1 2 3 4 5 10 15 20 25 . What could ...
-1
votes
0answers
19 views

What language/framework is appropriate for solving and graphing a rapidly increasing set of linear equations?

I want to make an application that will graph a set of linear equations where each new equation is defined based on the points where the existing lines intersect. Rough pseudocode: //get all ...
0
votes
0answers
5 views

How to create a recurring REST API get / parse results / publish?

I am web newb - I ask forgiveness because I don't know where to start so Google is only going so far. Project: to make a physical bell ring whenever a jira ticket is "completed" What's involved: ...
0
votes
0answers
4 views

Error while loading shared libraries [migrated]

I'm using a software called GPUOcelot in order to be able to compile a software that I'm programming that uses CUDA. But my computer doesn't have any NVIDIA card, so tha'ts the reason why I am using ...
0
votes
1answer
11 views

Making string a specific amount of numbers

I am very new to programming and I am trying to make a program with a specific amount of numbers gained from the user. An example would be getting 10 numbers from a user with only 10 positive ...
0
votes
0answers
6 views

retrieving character from string.length() , using a FOR statement [migrated]

I am implementing the Luhn algorithm using a for statement and a string. My question is, does "j" get assigned the value of the character at that location of the string(the digit), or does it get ...
1
vote
0answers
94 views

What algorithm is this?

I have some vague recollections from my algorithms courses, but nothing specific comes to mind. let S be a multiset of things we are interested in. As input, we get T, s1, s2, ... sn, all of which ...
0
votes
1answer
31 views

how does test-driven development prevent us from type errors?

I heard (from Robert C. Martin) an assertion that since dynamic languages don't have static typechecking, people should write unit tests to prevent us from type errors. I'm not sure if I'm following ...
-1
votes
0answers
9 views

knapsack problem using greedy [on hold]

I have a code for knapsack problem using greedy but is is not the best optimal option and does not work very well. Can someone give me an optimal idea for this? #include <iostream.h> int o[50]; ...
1
vote
1answer
40 views

Avoiding std::forward and Rvalue References

I recently read the Google C++ Style Guide and especially one part catched my eye. The part about Rvalue References discourages from using std::forward in general and using rvalue references in other ...
2
votes
3answers
80 views

OOP implementation doubts with databases

I was starting a project today and after designing the database structure and how the data would be stored etc, I started the implementation. I am doing this on php, but the language isn't really ...
0
votes
2answers
58 views

How to ensure a new Unit Test is for the correct Test Case?

When writing a unit test for a scenario believed to be already covered, ie, the first run of the test would be green, what is a good guideline to ensure that it is in fact testing the proper test ...
2
votes
1answer
38 views

Advice on new git / deployment workflow

I work with a small team that until recently didn't use source control. I'm working on the layout of our development/deployment workflow with git. I would appreciate and advice or insight you might ...
-2
votes
0answers
19 views

PHP ADLdap - security considerations when moving from intranet to internet [on hold]

I have an application developed using PHP. Authentication is handled via our intranet using the ADLdap library. I've been asked to make this application public facing. It currently runs on a CentOS ...
7
votes
0answers
73 views

Haskell build and artifact environment similar to Maven

I used to be a Java developer for a long time, but recently, I joined a Haskell team. In the java world, if you have a large project, with several teams working on it, a common approach is to use an ...
-6
votes
2answers
58 views

Why C=A.append('1') doesn't work in Python

A=['1'] C=A.append('1') print C Why is the above code return None but not ['1', '1'] in Python ?
-4
votes
0answers
21 views

CKEDITOR and angular version conflict [on hold]

I am trying to embed ng-ckeditor in my angular app. However, I kept on getting an error message stating the module could not be instantiated. While I am sure I have injected ngCkeditor to angular's ...
0
votes
0answers
43 views

Extension of native prototypes, good or bad practice?

Today I stumbled upon this page on the Mozilla Developer Network. In it, not only it is stated that it's a bad practice to extend native prototypes, but also that there is only one exception to this, ...
0
votes
0answers
39 views

Calculate the time remaining until a subscription [migrated]

I have a subscription that can be subscribed to every month, every two months or every 3 months. That's represented as a subscription_frequency of 1, 2 or 3. I then have a month_joined property (1 ...
0
votes
1answer
116 views

How/Why do we design “Data abstraction” and “Abstract Data Type”?

I learnt that Data abstraction is a barrier between "representation" and "use". I learnt that Abstract Data Type is some collection of selectors and constructors, together with some behaviour ...
2
votes
2answers
174 views

Can a Java Boolean be used for ternary logic?

I'm trying to make a basic cache of a boolean value, and I did it like such: private Boolean _valueCache = null; private boolean getValue() { try { if (_valueCache == null) { // if cache ...
0
votes
0answers
46 views

SQL: GROUP BY where a column is unique [migrated]

So I have this one giant table e.g. PROD_IDGEOG_IDTIME_IDVALUE1 1      MT     JAN    100    ...
-4
votes
0answers
39 views

What aspects do a programmer and language designer/implementer need to know about the syntax and semantics of the language? [on hold]

Do language designer, language implementer, and programmer of a programming language care about different aspects of the syntax and semantics of the language? What aspects of the syntax of the ...
-2
votes
0answers
21 views

Is it possible to build a heavily personalized handrwiting recognition system delivering services through the cloud? [on hold]

0 down vote favorite I plan on getting a team and building a Handwriting recognition software delivering solutions through the cloud for .say enterprise needs , I am not an expert in image processing ...
-3
votes
0answers
19 views

a free light and fast DICOM C/C++ tool [on hold]

I am looking for a free (free for be integrated in commercial product) licensed, light weight and fast DICOM tool, so that I can read the information (pixel intensity, header....) from DICOM file. ...
0
votes
2answers
49 views

Version number for a pre release software that will be the second major release

If we have an app that is not finished already, but we release it, we use a version number like 0.x.x and when it is finished it will be published as 1.0.0. Now the app's latest version is 1.2.6 and ...
-1
votes
0answers
17 views

How to determine cut-off/threshold value for logistic regression using cross validation

I am wondering how to implement cross validation for logistic regression. The issue arises when you do not have a (predetermined) fixed cutoff value to binarize the regressor results. In general the ...
6
votes
1answer
294 views

What is the purpose of Code analysis and when do I need to use it?

I heard about Visual Studio's Code analysis but never used one. I've read MSDN, but still don't understand the real use of Code analysis. Isn't it the same as StyleCop? Somewhere, FxCop was also ...
2
votes
4answers
48 views

Design: How to handle user permissions across a system

My team is currently working on a massive refactor of a medium-sized application in PHP. We are doing our best to refactor our code on a module (Orders, Users, Products) basis. The issue that I am ...
-6
votes
0answers
42 views

Programming languages: syntax and semantics, with design and implementation and with paradigms [on hold]

Since a semantics of a programming language maps its syntax to its model of computation, is implementating a programming language mostly (if not all) about its semantics? Is designing a programming ...
-3
votes
0answers
11 views

How can i create contact button,like Archive button shown in SuiteCRM outlook plugin [on hold]

i want to add a contact button,like Archive button shown in SuiteCRM outlook plugin,and also i want to add an action for the contact button,so that on click of the contact button the current selected ...
0
votes
0answers
16 views

Android: Different interpretation of sp/dp on different devices?

I have a design problem with the app I'm working on, and I'd like some more general/conceptual advice rather than actual coding advice. I noticed that objects I size in sp/dp look very different on ...
-1
votes
0answers
19 views

Object Oriented Design Principles [on hold]

This may not be the right place, but can anyone point me towards a source of information as to why one would choose a way of implementing a piece of functionality? For example, why you would use a ...
0
votes
1answer
35 views

Linux deployment environment including local and AD users

My current situation: company with AD infrastructure at least 3 considered linux application servers SLES11 no AD logins for linux on each exists one local user every developer uses this user to ...
0
votes
0answers
21 views

python: area mapping using trigonometric circle

I have a car controlled by a raspberry pi, I would like to create maps to each place it visits. The solution I came up with is simple. Lets say you tell the car to go forward and then after 5 minutes ...
0
votes
1answer
65 views

Big graph traversal with OOP

I'm trying to solve a algorithmic contest's problem. I have a matrix 2000x2000. I want to represent it as graph and traverse it with BFS/DFS. I have time limits on app running (2s). Simple vertices ...
-2
votes
0answers
62 views

How to deal with utilities with same name but behave differently between Unix and Linux? [migrated]

For some reason, I chose Macbook as my computer to managing remote Linux servers. Sometimes I will encounter troubles with those utilities which have the same name but behave differently between ...
0
votes
1answer
64 views

Agile: QA without dedicated test resource

I'm currently working in a small internal software development team of four people. Having had a lot of success with Agile in the past (which none of my colleagues have used before), I'm keen to try ...
0
votes
0answers
32 views

Are there any good techniques or libraries for extracting English-like text from unknown file formats [on hold]

My goal is to extract the English-like text from an unknown file format. The files consist of random data (Mixed alpha numerics and other characters) which contains blocks of English text. I want to ...
-1
votes
0answers
15 views

C++ curl library for RTMP

In the curl website it is said that it's library supports RTMP, but at the examples it doesn't appear. I also tried to google it but I only found that curl uses RTMPDump to handle this. Any idea of ...
0
votes
1answer
19 views

Why isn't the addremove recommended by default in Mercurial?

This is perhaps a question of strategy more than anything else. I am new to version control and I guess I should count myself lucky to have relatively more mature systems like Mercurial and Git at my ...
1
vote
2answers
63 views

How to organize code which converts from one type to another

If I have a DateRange class, and I want to translate a DateRange into SQL (e.g. some_col >= '2015-3-5' AND some_col <= '2015-3-5'), where should I put the method that does the translating? ...
0
votes
2answers
73 views

What naming convention should you use for data objects solely meant for parameters

This is my pseudocode for DAL: CusOrderDTO GetCustomerOrder(DateTime OrderDate, string customerCode) CusOrderDTO orderSet = new CusOrderDTO() * query data from database, populate CusOrderDTO ...
-1
votes
0answers
18 views

Asserting similarity based off likes

I need a way to basically check if one person is similar to another, based on what they like. So if I log onto this website, then just jot down a few things I like, the service will go out and check ...
19
votes
0answers
2k views

How to help a junior developer that refuses help? [migrated]

In my team, I am the person with the most experience. We lack a strict junior/medior/senior split so we are all equals. I have been involved with this project from the start and because of that I have ...
-2
votes
0answers
20 views

running c++ code with GSL functions

I have installed GSL in my computer in to the directory /usr/local/gsl-1.16 and tried to run a test code from GSL website. The code is at ...

15 30 50 per page