1
vote
2answers
78 views

Pattern for validating rules having different signatures

I have a class in charge of responding to an input event and maybe triggering another event. To decide, it has several rules to check. I'm trying to get away from a class looking like this: public ...
-2
votes
0answers
30 views

Is there a CMS that can be hosted online but is merely a backend for a desktop application? [closed]

All the CMS's I've used and read about are geared toward building websites. I need to make a desktop application that connects to and grabs data and settings from a CMS-backed online source. There ...
0
votes
0answers
25 views

Accessing intermittently available resources with transactions and post-access cleanup in a generalized, functional, composable way

The following psuedo-code illustrates what I'd like to be able to do. Is there a way to accomplish something like this in Scala?: trait IntermittentlyAvailableResource trait ...
-1
votes
0answers
25 views

Are there any good books/articles to understanding the complete development, build, automated test, deployment phases? [closed]

I've primarily been in a role as a developer and am looking to expand my knowledge into the other realms of the development -> deployment process. Are there any articles/books that would help in ...
25
votes
6answers
514 views

As a lone developer, how can I be sure I am learning and doing decent work?

Background: I work in a small (less than 75) person engineering/manufacturing company. I was hired as a developer to work with a single teammate, our purpose being to migrate the company to the modern ...
-2
votes
0answers
35 views

What are the big pros and cons of using Kivy over Java and Java over Kivy? [closed]

I know python very well and would like to use it as a medium of developing, but Java is fine with me too. Things like... (all these are theoretical) worse workflow with kivy? cannot use native ...
2
votes
2answers
104 views

When to use ANTLR and when to use a parsing library

I've always wanted to learn how to write a compiler - I've decided to use ANTLR, and am currently reading through the book (its very good by the way) I'm pretty new to this, so go easy, but the jist ...
-1
votes
0answers
48 views

Where can I find an easy summary of best Python programming practises? [closed]

Where can I find a compact summary of best Python Practises, preferably in poster format or a few pages long? Giving my project group a website is in my eyes not too effective, since I'd like to have ...
0
votes
1answer
47 views

Upgrading inherited 3rd party code with changes [on hold]

I inherited a php project of 3rd party code with a good deal of company-specific customization lumped on top of it. Now I've got to upgrade it and the person who owned the project is the one I've ...
1
vote
0answers
24 views

Use of FindWindow and window handles within a Windows service

I've got a third-party vendor who is installing a series of Windows services to a (Windows 2008 R2) server in my control. Whilst attempting to run each service under its own least-privilege account, ...
-2
votes
0answers
27 views

How to code a Data Scrapper [closed]

I’m a javaScript beginner. For a practice project, I want to create a Page Scraper that will list of all classical musicians, (say from classicalmusic.com), and then have that data returned in a ...
-3
votes
0answers
52 views

What to call “server” software the requires a gui? [closed]

We require a dedicated copy of our desktop application to be running to support a number of tasks. One of these tasks requires a 3rd party active x control that must be in a GUI to function correctly ...
0
votes
0answers
52 views

Use of SAL annotations for C++ [on hold]

Code analysis tool for visual studio is able to detect some kinds of errors statically if you annotate functions with SAL We used it at first in windows driver when code was mostly C code, and where ...
1
vote
0answers
64 views

There are paradigms for owning and passing information. But has any serious thought been given to initializing information, in a generic way? [on hold]

When I write object oriented code, some function has to fetch or generate or tell an object to generate the initial set of information that starts an app. When I write functional code, some imperative ...
2
votes
1answer
172 views

Hidden dependencies - why not?

Hidden dependencies: function __construct($dep_registry){ $this->db = $dep_registry->get('db'); $this->request = $dep_registry->get('request'); ... } Not so hidden: function ...
3
votes
1answer
52 views

Structure project based on platform or design?

I have a medium sized project (~10,000 lines) that runs on Windows and Linux. However it is only specific components of the program that are platform dependent and are located in a folder called ...
0
votes
0answers
52 views

What are the different types of whitespace referred to by Perl? [migrated]

I am trying to find the Java equivalents of the Perl regular expressions not supported by Java. These are, as listed in the Java Documentation: \h A horizontal whitespace \H A non horizontal ...
-3
votes
0answers
8 views

AngularJS $http.get JsonResult [migrated]

I am building a dx-chart inside of an AngularJS file. I would like to use $http.get inside of my ng-controller. Here is the AngularJS file. However, when I try to use $http.get I still display the ...
6
votes
0answers
109 views

Is there a performance benefit to using the method reference syntax instead of lambda syntax in Java 8?

Do method references skip the overhead of the lambda wrapper? Might they in the future? According to the Java Tutorial on Method References: Sometimes... a lambda expression does nothing but ...
-3
votes
0answers
40 views

Mail exchange software [closed]

I need to allow users of my site to write emails to each other, without revealing their email addresses. Here’s an example: user1@gmail.com sends an email to user2-alias@mydomain.com, ...
-1
votes
0answers
22 views

Tools for data modelling [closed]

I am refactoring a one year old web applications. My first few steps to gain a bigger picture is to "draw" all the models I would need or already there. Is there a tool out there which helps me with ...
0
votes
0answers
23 views

Atlassian Bamboo package from multiple repositories

We're currently developing a server/client application. The server is a maven Java EE project. The client interfaces are in HTML5. We use Stateless REST interfaces to communicate with each other. As ...
0
votes
1answer
89 views

Is Erlang really an actor model language?

I was reading this article: http://www.doc.ic.ac.uk/~nd/surprise_97/journal/vol2/pjm2/ And it mentions that: ...in the actor model even an integer is represented as an actor... Wikipedia ...
3
votes
3answers
71 views

Approach to designing a workflow web app that contains some automation

I have been tasked with creating a web application which will provide end-users with a self help workflow, asking them questions and skipping to another part of the workflow depending upon the ...
26
votes
5answers
3k views

Dynamic Code Evaluation in Java - Clever or Sloppy?

I am trying to create a flexible ACL framework in Java for my application. Many ACL frameworks are built on a whitelist of rules, where a rule is in the form of owner:action:resource. For example, ...
1
vote
0answers
22 views

Can't get path-dependent types to work in scala enumerations [migrated]

I'm trying to spin my head around the path-dependent types in Scala's enums while making a Reads/Writes for Play2. Here is the code I have so far, it works, but with an asInstanceOf: implicit def ...
0
votes
1answer
57 views

FP: Capturing the characteristics of a process which blocks, causes side-effects, and may fail

I have a driver function modifyFile that interacts with many sources in the outside world (e.g. HTTP, filesystem). Let's say the code is as such: def downloadFile(from: String, to: String): Try[Unit] ...
-3
votes
0answers
56 views

Creating a simple Window program [closed]

so I am new to programming I am using mainly the console do program.And since I am a beginner I was wondering how can I make a simple window program with Text?I am sorry for my newbie question but I ...
-2
votes
1answer
67 views

Why does Golang expect a right bracket in the middle of a for loop? [closed]

When I try and run my Go test file, I get some errors. This is the test file: package rb_database import ( "system" "testing" "time" ) func TestGetBinContentsResult(t *testing.T) { ...
1
vote
1answer
35 views

DataThread class that doesn't extend Thread, poor naming?

I created a DataThread class that doesn't extend a Thread, but has one as a member variable. Favor composition over inheritance, is a rule that I heard of, but I am thinking that the name of the ...
-2
votes
0answers
35 views

Get from object or use variable [closed]

Which one is better //somewhere here i have Test test = new Test(); object String name = "default"; if(test.getName() != null) name = test.getName(); or String name = "default"; String ...
0
votes
0answers
34 views

what is the relationship between CORBA, JMS and MDB?

In the context of my previous fuzzy question on microservices, please help me break down the terminology involved in these technologies: CORBA JMS MDB Utilizing JNDI, I believe it's possible to do ...
0
votes
3answers
329 views

Who should write the Technical Design Document? The BA or the Developer? [closed]

I work as a Snr. BA in a large Manufacturing company and I've just implemented a new Requirements Management Process. We have a large range of internal developers who in the past have never been ...
-6
votes
1answer
66 views

in c programming i need custom atoi code [closed]

i want to subtract two 64 bit hex numbers(in c programming), 0x0000888888888888 -1st hex value - 0x00000000839DDB7A -2nd hex value = 0x0000888804EAAD0E =(need the above result in hex) The 1st ...
0
votes
2answers
39 views

Examples of operating systems capable of serving http-requests that does not support direct slash for directory separator

My php framework uses DIRECORY_SEPARATOR constant instead of /. Can there be any other options for a directory separator?
-2
votes
1answer
50 views

Any error will ocurr in this statement? ((a)*(b)) [closed]

#define Product (a,b) ((a)*(b)) I assume "a" and "b" is an integer or a real number. Here are the errors I could think off If the programmer for some reason and apply string or ...
0
votes
1answer
46 views

Any good data structure to perform efficient lookup and modification operations about what are the shapes containing the current cursor position

I think I'm facing a pretty common issue but cannot remember which solution is the most suitable one. Let's put it that way: I can, in a, certain, given, language get some events anytime the user is ...
1
vote
2answers
77 views

Is storing data that rarely changes in-memory a good candidate for a singleton/cache?

I have a class called DataPoint that is defined like the following. Currently, it goes through each property on an object and based on the DataPoint, it does some formatting like padding, trimming, ...
-1
votes
1answer
31 views

What's the best way to implement a real time show board to show results from concurrent result producers in Java?

I'm making a load test tool that launches multiple thread to simulate load on the target server. Each thread executes a predefined set of commands in the structure of TestSuite - TestCase- TestStep ...
3
votes
3answers
129 views

Development Time: sql in UI code vs domain model with datamapper

First, sorry for my English guys. Currently this is my first programming job. I am labeled as the most incompetent programmer in my company that's because they measure the performance and ...
-1
votes
0answers
19 views

WebAPI to source Location Satellite Images [closed]

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? [closed]

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
63 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
65 views

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

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! [closed]

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
vote
0answers
74 views

How to approach code review with limited resources

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

15 30 50 per page