-1
votes
0answers
16 views

WebAPI to source Location Satellite Images [on hold]

I am developing an ASP.NET web application that calculates a percent score of an algal bloom from a satellite image. I'm looking for a WebAPI that will allow me to access a recent satellite image ...
0
votes
2answers
95 views

Beginner Decorator Pattern Question

I came across this article: http://sourcemaking.com/design_patterns/decorator After reading it, I am having a little bit of difficulty understanding a concept. If you look in the Structure section in ...
-3
votes
0answers
40 views

Social Bookmarking for Programmers? [on hold]

I am a new programmer, really just getting started. I don't know too many people who program around here so I am not sure where to take this question. I will try to express it as a proper question and ...
0
votes
4answers
62 views

What's the best way to handle slightly different exceptions?

My code right now looks something like this: void throw_illegal_part_of_input_exception(char c) {} void throw_invalid_input_length_exception(int position, int length) {} void ...
-3
votes
0answers
64 views

Does a computer science major need any certificates after completing their major? [on hold]

assuming one were to do well academically, and build up their portfolio also during their free time (hobby and such), would a programmer/software engineer need certs, like IT pros do? or is it enough ...
0
votes
1answer
55 views

How to search for patterns on a (game)board?

Assume a gameboard with two kinds of pieces. Let the task be to find a common patterns of pieces, namely the patterns that lead to winning. The problem is general, but the game in question is ...
-3
votes
0answers
41 views

Help On My First Website! [on hold]

This is my first go at things and the webpage looks good on my computer but looks wayyy different on others in terms of alignments. Is there some sort of coding I can do to make the page universal to ...
-1
votes
0answers
52 views

How to approach code review with limited resources [on hold]

I've been given the following task: A company is giving source code for its product (comprising over 1 million lines of C++, Java, with some assembly) for my review. The code will be loaded ...
0
votes
2answers
55 views

How is the best way to work with step by step documentation to software maintenance [on hold]

I'm working on a web project in java and I have a problem with the documentation we are making. The goal is to has step by step how to do some basic stuff for system maintenance, like add fields to a ...
1
vote
1answer
35 views

Clojure NameSpace Design

I am new to Clojure and trying to get a handle on organizing a project's namespaces. I am working on a solver for the knapsack problem. Currently, I have broken the modules into files, but everything ...
0
votes
0answers
73 views

To KISS or not when coding? [duplicate]

I don't consider myself "ninja" but I don't think I'm bad dev either. Anyway, after many years of development I tend to keep it simple more ofthen than before. For small projects there is no need to ...
-4
votes
0answers
25 views

Mobile development experience using Kony? [closed]

I have an opportunity to "level up" at my job in enterprise IT/development by moving from front end/back end web development to a mobile development team which will be developing apps on the Kony ...
4
votes
0answers
55 views

Using advertising with free app is a commercial app? [closed]

I have a simple question: if I publish a free app (iOS, Android, ...) and implements advertising in the app, does it's considered a commercial app? I'm asking this question because I don't know if I ...
1
vote
1answer
31 views

Object Storage where Object Type is variable

From time to time, we come across a problem where we must store an object, but we don't know in advance what kind of object we're going to store. I'm going to give a very simple example. Requirement: ...
1
vote
1answer
72 views

Non-fixed-size Fenwick Tree implementation

I'm planning to implement a non-fixed-size Fenwick tree. That is, a Fenwick tree that allows interleaving range queries with adding/removing elements. All implementations and samples I've seen so far ...
1
vote
1answer
106 views

Using exceptions as regular objects [duplicate]

I have views that handle different errors in my application. For example error 404, 403 and such, giving my errors a more user-friendly presentation. By assumption, they get passed in an exception, so ...
2
votes
1answer
42 views

Peculiar architecture interfacing .NET to AutoCAD out-of-process

I have written a set of classes to interact with AutoCAD from an out-of-process .NET assembly, but it seems like my class architecture and interactions are unusual. I am struggling to find a better ...
0
votes
1answer
57 views

What happens to database design process when ORM tools are used?

I have learned about database design, including normalization during my undergraduate course. When we have to model a database for a system, we can start with an ER model and then convert it to the ...
-4
votes
0answers
31 views

Inserting file_path into database using Codeigniter [closed]

I am new to Codeigniter, so having some confusing on this proccess: I have a form field where user can upload any jpg|png|gif file ,the uploaded file is successfully sent to a uploads directory and a ...
0
votes
0answers
14 views

Is the ProtectedData class still an acceptable method to store passwords? [migrated]

I'm writing a piece of software which will have to store a users password to allow authentication with a 3rd Party service. Unfortunately, this service currently requires the use of a password rather ...
2
votes
1answer
301 views

How should I handle database failures in a web application? [duplicate]

I'm developing a simple RESTful API using Go's Goji framework (although this question is language-agnostic), in which parameters from the URL are queried against a PostgreSQL database. Here's how it ...
-2
votes
0answers
40 views

Java Web Framework for Functional Reactive Programming [closed]

Given Java intricate relationship with web applications it appears to have shaped the design applied to how developers create web based applications. From Java 1 through Java 7 from around 1999 the ...
1
vote
3answers
130 views

Are project naming conventions more important than language naming conventions? [on hold]

I'm working on a project with a senior developer and he doesn't really abide by the naming conventions of the language that we're using. The project is in Go and he uses underscores for everything. ...
6
votes
3answers
199 views

Implementing common logic in base class

Background In the documentation of a project I'm working on I came across the following sentence which immediately triggered an alarm for me: when having several concrete classes that inherits ...
2
votes
2answers
147 views

Is Red Star OS released under the GPL?

According to Wikipedia, Red Star OS is is a North Korean Linux-based operating system Does that mean it's covered by the GPL, or are there exceptions?
2
votes
3answers
126 views

Unit Testing and dependencies

I'm just learning how to do proper unit testing, and a lot of resources make reference to using explicit dependencies, ie dependencies that are passed into the constructor, to allow for easy ...
1
vote
1answer
70 views

Is it possible to layer filesystems on top of each other? [on hold]

I recently encountered s3fs. It is a FUSE that stores everything in an s3 bucket. I don't know the details but I presume it handles network latency either by being very slow or by trying to cache ...
-4
votes
0answers
43 views

SWIFT: How does this block of code work? [closed]

In regards to the code below: func checkCollisions() { var hitCats: [SKSpriteNode] = [] enumerateChildNodesWithName("cat") { node, _ in let cat = node as SKSpriteNode ...
-2
votes
0answers
94 views

Time to Train people with no coding experience [closed]

I am graduating from college in May. I plan on returning back home to Tanzania. I plan on hiring four people(Quick Efficient learners) and train them to work with me on an application in Java ...
-3
votes
0answers
28 views

Multiple URLmapping using annotation not working in servlets [closed]

I am using an annotation like this : @WebServlet("/Document/*") and trying to redirect using sendRedirect response.sendRedirect("Document/manpreet121FECF23A-D4D2-E411-BEC4-FCDD55FFFFFF"); I get ...
2
votes
1answer
47 views

What belongs in an HTTP request header vs the request body?

I'm working on a set of web services for a mobile client, and the requirements call for a unique device id to be included with all requests, to be stored in certain requests, and used to filter ...
1
vote
1answer
59 views

What is a simple, correct and secure way of executing code stored in database?, that is also sandboxed

Webhooks can be a very powerful thing when you try to automate or integrate software, however, handling their deployment in a controlled environment can suck in terms of security and deployment alone. ...
-3
votes
0answers
96 views

How much programming should I know at the age of 17? [closed]

I love programming, I will study computer science in college, I am a junior in high school right now. I want to work for big IT companies such as Facebook, Google, Dropbox, Apple.. I want to have a ...
-2
votes
0answers
37 views

MinGW and MSVC version [closed]

Why do library providers offer several different binaries for the same library? Example (MinGW and MSVC): http://wkhtmltopdf.org/downloads.html
-2
votes
0answers
42 views

How do Airline booking sites collect data from various airlines? [closed]

Do they sync their data periodically? What kind of technical terms apply for search in such cases?
0
votes
2answers
110 views

Why not using questions in TDD tests descriptions [on hold]

I've been a (small) while (ten months more or less) doing TDD for my own applications, trying to improve my skills following this workflow. Thus I am comfortable writing tests, stubbing, mocking, etc. ...
0
votes
1answer
47 views

Test logic with external data [duplicate]

I have a site programmed in PHP where I make more call to external server that return me big xml of data. For each record of the xml I have to make other external call to get other data. So my ...
1
vote
1answer
66 views

How would a one man team benefit from a continous integration setup? [duplicate]

I am a one man team. I develop an in house database, and the web interface. My current workflow is code on my development machine. Test. Push to a central git server. Log into the production server ...
-4
votes
0answers
137 views

PHP vs Python. Which is best for me and my situation? [closed]

As a beginner programmer, should I learn PHP or Python? I know this has been beaten to death but I would like opinions based on my specific situation. Programming Background - I am a complete newbie ...
0
votes
2answers
95 views

Objects or primitives as arguments

I have come across the term "garbage disposal" and now I'm worried about using up too much memory. Apparently (correct me if I'm wrong) every time an object is created, memory is reserved for it, and ...
2
votes
1answer
178 views

When designing a data structure, should I implement very inefficient operations for convenience?

(I've added the .NET tags because the data structures are for .NET, and this question should be considered in the context of the conventions for that platform.) I'm writing a library of immutable and ...
0
votes
3answers
133 views

Understanding Bob Martin's Closed For Modification Explanation

“Closed for modification.” Extending the behavior of a module does not result in changes to the source or binary code of the module. The binary executable version of the module, whether in a ...
0
votes
1answer
54 views

Create a Winforms Flowchart Control when performance matters: Set of controls / Handle everything manually (painting, user interactions, etc.) [on hold]

I am currently trying to create a Flowchart / Diagram Control (e.g. NShape) and I am struggling about what to use to manage the primitives (rectangle, rounded rectangle, square, circle, arrows, etc) ...
2
votes
2answers
73 views

Is it OK for an MVC view to request data from other sources than just the model?

I'm working in ASP.NET MVC, but this question is pretty much applicable to any MVC framework (and maybe even others). In a typical MVC application a request arrives at the controller, which then ...
2
votes
0answers
115 views

Testing a method that reads from standard input and outputs to standard output [migrated]

I have a method which reads lines from standard input and outputs them to standard output. In a JUnit test, how can I have it send standard input to the method and how can it make assertions about the ...
-2
votes
0answers
39 views

Searching for a way to accelerate code exploration by mapping line number ranges to namespace/class/method names [closed]

TL;DR: I want some tool that can (on a per-line basis) generate a "semantic" context for use when I am doing code-grepping. For instance I use ack, and before I used that, I used grep -R. But these ...
-5
votes
0answers
29 views

C++ template error [closed]

I keep getting this error when I make my program. I have no idea why. Any help is appreciated! g++ -g -Wall main.cpp -o lab10 main.cpp: In function ‘int main()’: main.cpp:22:29: error: no matching ...
0
votes
1answer
81 views

Multiple method calls in the constructor and dependency injection

I was asked to refactor some almost ureadable spaghetti code into object-oriented architecture. I have some doubts regarding a class that I designed. Here is the class' skeleton: require_once ...
2
votes
2answers
136 views

Abstract classes and constants

I have two classes that share a lot of code and are conceptually variations on a common class. So I want an abstract class that contains all their common code and then they can each inherit from it ...
-2
votes
0answers
25 views

Python pandas and matplotlib or MySQL? [closed]

Pandas is a great Python library that provides easy-to-use data structures and data analysis tools. I have been using it to aggregate, and analyze daily weather observation data which I get from an ...

15 30 50 per page