3
votes
1answer
32 views

What Is λ-calculus essentially?

I have what I would call a philosophical question about λ-calculus. When you explore λ-calculus you will be surprised to see all the things that you can do there. You can define integers, arithmetic ...
0
votes
0answers
2 views

Data serialization architecture, injection on construction vs. on function call

I am creating a data serialization/deserialization mechanism for essentially a persistent storage object. Due to the variety of systems this mechanism could run on, there needs to be a a variable ...
1
vote
1answer
11 views

database design, how to handle freelancers

The context i'm modeling a database for a small ERP system. However I've recently hit a difficult spot that I'm having a hard time wrapping my head around. The logic of it involves a few special ...
1
vote
2answers
88 views

Architecture to handle service concurrency on resources exposed via REST API

REST API frameworks like Python Eve handle concurrency control via an entity tag. This ensures that several clients which loaded the same resource will not overwrite the changes of each other, because ...
0
votes
0answers
6 views

How do multiple levels of inheritance affect virtual function call overhead in C++?

I am considering using a class hierarchy with more than a single level of inheritance, where virtual member functions form a "chain", for example: struct Base { virtual void foo(); }; struct D1 : ...
7
votes
1answer
897 views

Useful design patterns for working with FragmentManager on Android

When working with fragments, I have been using a class composed of static methods that define actions on fragments. For any given project, I might have a class called FragmentActions, which contains ...
7
votes
3answers
206 views

I get dependency injection, but can someone help me understand the need for an IoC container?

I apologize if this seems like yet another repeat of the question, but every time I find an article regarding the topic, it mostly just talks about what DI is. So, I get DI, but I'm trying to ...
3
votes
2answers
163 views

Best approach for tracking dependent state

Let's pretend I work on a project tracking application. The application is a database backed, server hosted, web application. In this application there are Projects which have many Activities which ...
1
vote
2answers
116 views

Is my understanding of the license for JQuery.xmleditor correct?

Please correct me if I'm wrong, but I recently found myself in a pretty confusing situation and now I am unsure how to continue. I found the jQuery.xmleditor plugin from the UNC libraries and thought ...
0
votes
1answer
64 views

Can I create a type, typedef or using statement that results in a different type if instantiated a second time or more?

Suppose I have a class that evaluates some computationally intensive function: class Value { private: int eval() { mCached = ExpensiveOperation(); return mCached; } static int ...
-4
votes
1answer
22 views

What should I do [on hold]

Hi I am new to coding and going to study computer engineering but I don't know what language to go for or what software to use does anyone have an idea Can someone please help me
15
votes
5answers
2k views

IOC Containers break OOP Principles

What is the purpose of IOC Containers? The combined reasons for it can be simplified to the following: When using OOP/SOLID Development principles, Dependency Injection gets messy. Either you have ...
3
votes
2answers
42 views

Storing a pointer to an argument passed by (non-const) reference

When designing an interface for passing objects which are meant to be stored for later use and which should not be 'null', I am always a bit uncertain if the argument should be passed by reference or ...
138
votes
10answers
12k views

Is my work on a developer test being taken advantage of?

I am looking for a job and have applied to a number of positions. One employer responded. I had a pretty lengthy phone interview (perhaps an hour +) and they then set me up with a developer test. I ...
0
votes
2answers
63 views

How to get other programmers to collaborate

I've got a project on which I have developed some source code extensive enough that it compiles to an application, but would like other developers to contribute to help me improve the code and make ...
-1
votes
3answers
856 views

Why is aggregation function bad idea for RESTful? [on hold]

As title: Why is aggregation function bad idea for RESTful? Although I know CRUD is good for RESTful. For example, the resource is 'employee', and client needs to retrive sum of total 'salary' of all ...
0
votes
0answers
27 views

Language to implement GNU toolchain type pipelines? [on hold]

I have some quick and dirty pipelines implemented as bash scripts that : consume a stream of data from a socket using CURL do some regexp matching and reformating (grep | awk | grep -v | sed | ... ) ...
12
votes
9answers
1k views

Should failing unit tests that we're not going to fix be removed? [duplicate]

My coworker likes to see all of our unit tests pass (as would anyone) and he argues that some of the failing tests of a system he wrote are unnecessary "noise" since they all involve the validity of ...
2
votes
0answers
31 views

Angular UI's $StateProvider

I was thinking of using Angular UI, and specifically its $StateProvider, which makes it easy to create nested views, in my next application. Until now, I have been using vanilla Angular's ngInclude ...
-1
votes
0answers
54 views

What does “hardcore C programming” really mean? [on hold]

I've seen the term "Hardcore C programmer/programming" used by some programmers specialized in C. Searching online didn't yield any definitions what this adjective really means and how the term varies ...
1
vote
1answer
155 views

UML Receptions and AcceptEventActions

What shall be the relationship between the receptions of a class (was classifier before Aadaam correction) and the AcceptEventActions in the activity describing the behavior of its instances? I ...
1
vote
1answer
26 views

Python property best practices

Is there any situation where it makes sense to define a python property, where getting (not setting) it would raise an exception? I don't think this ever happens for fields in classes, hence the ...
0
votes
1answer
66 views

when using dependency injection, should I always pass an interface

When using depending injection, you generally pass everything around as an interface (perhaps with the exception of primitives and strings). That allows you to easily chance the behavior, without ...
0
votes
1answer
223 views

Application use on website

Is there a good way to run a C# application on clientside in lieu of JavaScript? I have done some front end work with JavaScript and backend C# for web developing at an old job, but I am interested in ...
1
vote
0answers
63 views

How do I write my BLL to make it re-usable?

Most of it was written 4-5 years ago. Our teams long term objectives are to use Entity Framework. Though we aren't gonna do it right away as our deadlines aren't allowing us to do so. Now we have our ...
0
votes
0answers
10 views

Is selection in Taligent MVP assumed to be a Selection Model?

By reading the traditional Taligent paper, I can't find a definite answer to what they mean by Selection. The selection could be just a set of indices referring to entries in the Model, so that a ...
-4
votes
0answers
27 views

Working knowledge of HTML, CSS, JavaScript, C# and SQL Server [on hold]

What does it mean if a employer asks if you have working knowledge of HTML, CSS, JavaScript, C# and SQL Server?
0
votes
1answer
74 views

Is this instance of mixing FP and OOP a good design?

I had a strange-feeling pattern come up in some code I was writing. In a project with user accounts, there was a lot of code that needed to do common things such as creating accounts, deleting them, ...
3
votes
3answers
3k views

Customer wants to modify the .properties files packaged in our WAR file

I have a customer who wants the ability to modify the .properties files packaged in the web applications WAR file so that they have the control to modify environments at settings. They will be ...
1
vote
1answer
178 views

Is this caution in Android API documentation an indication of suboptimal design?

The content below is from the Android developer site: According to the phrase it is expecting the developer to store this info in his head. Shouldn't this be simple if they kept only ...
0
votes
1answer
24 views

Strategy for storing mixed value and reference types without boxing

I'm looking for a way to store a large quantity of individual data values, with the following constraints. Assume that the types are bool, int32, double, decimal, string and blob (byte array). The ...
0
votes
0answers
18 views

What makes a parser GLR one?

Or in other words -- what features (from user perspective) a parser have to have to be GLR parser? It has to be LR, quite obviously, but when it comes to G -- is it sufficient that parses let the ...
2
votes
3answers
200 views

Should I put my company in the footer of the site of a client? [on hold]

I am a web developer and I am wondering if I should put my company's name in the footer of my client's websites. I am doing this since I began and never had anyone asking if I would remove it. So I ...
2
votes
0answers
18 views

Mono: C call into managed with COM Interop

I am trying to design a managed library to implement -what appear to be- unmanaged VST3 plugins. The VST3 plugin interface is a C/C++ interface based interface that are compatible with COM ...
117
votes
17answers
21k views

Why are part-time jobs in programming an anomaly?

I've recently quit my full time developing job at mega-corp, and I decided that I'll look for a part time job. Since then I've talked to half a dozen potential employers, and every one of them had the ...
0
votes
0answers
48 views

The finer points of HMVC

I'm new to HMVC and whilst tutorials are great about dealing with the overall details of keeping modules separate and only letting controllers communicate, they aren't so great at explaining the ...
0
votes
2answers
46 views

How does Google manage their Google Images SSL certificate?

When an SSL certificate is installed on a website, but the page also calls content from another website without an SSL certificate, the SSL certificate icon will turn grey instead of green: instead ...
21
votes
4answers
3k views

Do stored procedures violate three-tier separation?

Some colleagues of mine have told me that having business logic in stored procedures in the database violates the three-tier separation, since the database belongs to the data layer whereas stored ...
0
votes
2answers
101 views

Is this a pattern: stand-alone classes

Having recently discovered python, I attempted to write a simple logger. Data is read from a device, processes, displayed and stored on disc. Those different tasks belong to different modules, of ...
10
votes
11answers
754 views

When, if ever, can code standards be ignored? [on hold]

My company has decided to use stored procedures for everything dealing with the database (because they didn't know of any other way besides raw SQL), and as the saying goes "When in Rome..." so I try ...
-4
votes
0answers
26 views

Developing a calendar app in Swift [on hold]

I am looking to develop a calendar app in Swift as a learning experience and I have no prior knowledge of Obj-C. However, all the frameworks seem to be in Obj-C and I am wondering what would be the ...
1
vote
2answers
443 views

Correct way to inject dependencies in Business logic service?

Currently the structure of my application is as below Web App --> WCF Service (just a facade) --> Business Logic Services --> Repository -> Entity Framework Datacontext Now each of my Business logic ...
5
votes
3answers
588 views

How to unit test code that downloads a file from a github repo

This is my solution's structure: Storage.csproj > FileDownloader.cs > GitHubProvider.cs (implements IStorageProvider) > IStorageProvider.cs Storage.Test.csproj > ...
0
votes
1answer
94 views

Are CRUD operations intended to be used with collections?

CRUD operations, by definition are... interfaces that permit users to create, remove, modify or retrieve data Implementations of CRUD interfaces can come in various shapes and sometimes they are ...
51
votes
10answers
15k views

Why has C prevailed over Pascal?

My understanding is that in the 1980s, and perhaps in the 1990s too, Pascal and C were pretty much head-to-head as production languages. Is the ultimate demise of Pascal only due to Borland's neglect ...
-2
votes
0answers
29 views

Accessing XML from web service

I have a Winforms application (C#) that queries an external web service (3rd party) to retrieve data from them. The url they supplied me with is a WSDL. I have added the web service as a web ...
-3
votes
0answers
73 views

How to find out how many instructions per second modern CPUs can process? [on hold]

How to find out how many instructions per second modern smart phone CPUs can process? Particularly I'm curious about ARMv8-A of Apple and Quad-core Krait 400 of Google Nexus 5. Wiki says that AP-101 ...
0
votes
1answer
51 views

LDAP users synchronization [on hold]

I'm looking for a way to synchronize a users database between a piece of software and a ldap directory. Currently I'm thinking of three possibilities to keep the track of a specific user : Guid : it ...
0
votes
1answer
33 views

Real time middleware system: Direct DB access vs REST API access

I'm developing a complex environment which involves a web application, a mobile app and a real time middleware system which accesses the DB for on-site tag readings. Currently, the web application ...
8
votes
7answers
1k views

How well should a fresh graduate know a language? [on hold]

I am CS student and have just few months before I graduate. I can write programs, but use pretty many manuals in the process. It's almost 50% writing/50% reading (maybe even more reading). What I want ...

15 30 50 per page