2
votes
2answers
44 views

Should I use the repository in the Domain Object or push the Domain Object back to the Service Layer?

I have come from a transaction script world and I am just starting to take a look at DDD. I am unsure of the correct way to integrate a DDD design with database persistence. This is what I have: A ...
2
votes
1answer
87 views

What is a good design approach in .NET for performing a series of checks in background process?

I have a flight planning system in .NET/SQL Server which needs to perform several validation checks. This needs to work on both a windows and a web client. Currently the checks run synchronously but ...
0
votes
1answer
46 views

How can I configure updates in a CMS like WordPress?

I have a CMS built in core PHP. Till now, if a new version is released, it is downloaded to client machine in zipped form. And then client has to manually unzip the folder and copy that to required ...
0
votes
0answers
17 views

ajax request not being called from javascript function in django [migrated]

This is a full flow which has to be taken care here. I am coding in Django/Python/Web Development. I have an html page which has got a dummy button which is triggering all the functions that I want ...
-3
votes
0answers
34 views

How can i solve starvation problem in CPU scheduling (priority scheduling)? [on hold]

I wanna develop the priority scheduling but who have any idea , because i don't know how can i explain my idea. Help me please . Thanx for every thing .
-1
votes
0answers
17 views

How To Change Property Of A Li Item Without Affecting Other Items? [on hold]

I'm cutting css and facing a problem. This is the screenshot of my current menu. And this is what I wish my menu to look like. You can have a look at the code I wrote in this link. My problem ...
3
votes
1answer
108 views

How to create an algorithm for determining Boolean Tautologies

So i am right now exploring some topics in a proof course and it occurred to me to try to create a boolean tautology solver. I would like an algorithm that is more efficient than brute force. Problem ...
0
votes
0answers
50 views

Do I need to do something special to run ECMAScript 6 (JS 2.0) in Chrome? [on hold]

I noticed someone suggesting a ECMAScript6 solution, utilizing the Set object on Code Review, and I can't figure out how to try that out. Even though the latest version of Chrome supposedly supports ...
-1
votes
0answers
29 views

Hi, is posible to create a Python code for Face Recognition(OPENCV), using MySQL as database? [on hold]

i want to create a Face Recognition code, using Python(OPENCV) and store their values on MYSQL database, then with other code, compare both. I don't want in my database, images, only values and ...
1
vote
1answer
75 views

Is there a way to write this fold neater in Haskell?

I have the following small function that uses foldr to find the largest second number of a 2-tuple: listMax :: [(Int,Int)] -> Int listMax = snd . foldr (\(_,freq1) (_,freq2) -> (0,max freq1 ...
-1
votes
1answer
55 views

How to move towards understanding infrastructure? [on hold]

In the long run I would like to have a moderate understanding of all technical aspects of the business. Right now I'm solid with front-end, with mobile, and with some desktop application work and ...
2
votes
4answers
136 views

Technical reasons to prefer coding business logic to support Unicode (when not required)

I have a legacy application in which the UI and business logic are already reasonably well-separated. There is a proposal to separate them even further, turning the core application into a "service" ...
0
votes
0answers
18 views

Why is ArrayList adding null sets when I am adding non-empty sets (HashSets)? [migrated]

Here is the snippit of code that I am using: public List<Set<Set<T>>> allCombos() { List<Set<Set<T>>> allStratified = new ArrayList<>(); int ...
0
votes
0answers
26 views

How to load a dynamic array from file? [on hold]

I'll walk through my program. In C, I created my own array structure. /* dynamic array of type int */ typedef struct _ARRAY_I { int *p_array; int size; } ARRAY_I; In C++, I'm used to ...
0
votes
0answers
11 views

How can I pass floating point numbers as template parameters? [migrated]

I am working on a meta-programming project, and we would like to have the ability to pass floating-point numbers as template arguments. I wasn't sure whether this question would be better suited to ...
0
votes
0answers
17 views

How can you model a finite state machine for web crawling? [on hold]

I want to use a finite-state machine to control a web crawl of a website. However, I am having some trouble abstracting out the different events and states in order to build a FSM. How would you go ...
0
votes
0answers
15 views

What is a good language to do both CSV read/write and XMLHTTP requests? [on hold]

I'm looking for a language to use that has good libraries for reading and writing a CSV and for performing XMLHTTP requests. Right now, I'm looking at Python and Perl as my top choices. I know PHP ...
1
vote
1answer
43 views

Several enum classes that declare constants with the same names

I'm working on a Java library for sorts for Magic: the Gathering. Well, without going into a lot of detail, in the game there are five different colors of magic: white, blue, black, red, and green. ...
7
votes
2answers
938 views

“Proceed if true” vs “stop if false” in if statements [duplicate]

While I was writing a private helper method in Java, I needed to add a check for a precondition that would cause the method to do nothing if not met. The last few lines of the method were just off the ...
0
votes
0answers
17 views

Is there a sweet spot in terms of team size for SOA? [on hold]

It seems like there would be a lot of overhead per team to maintain environments and redundancy. Is there a minimum size of an organization before it makes sense to take on that overhead?
-3
votes
1answer
20 views

Logical grouping of data file rows [on hold]

I am looking for an efficient way to group some values as follows: I have a tab delimited file that has some table data in a structure like: Name LastName SSN SomeID AnotherID Address ...
1
vote
0answers
22 views

SQL scripts in TFS without putting them into solutions?

I am working on adding existing SQL scripts to version control. I have team foundation server 2012 set up with visual studio 2008 and sql server management studio 2008 r2 with the MSSCCI. I am fairly ...
22
votes
10answers
3k views

When I test out the difference in time between shifting and multiplying in C, there is no difference. Why?

I have been taught that shifting in binary is much more efficient than multiplying by 2^k. So I wanted to experiment, and I used the following code to test this out: #include <time.h> #include ...
0
votes
0answers
6 views

How to determine the newly closed file within a continuous audit log rotation? [migrated]

I am attempting to find the best way to determine when the second file (of a matching criteria) is created. The context is an audit log rotation. Given a directory where audit logs are created every ...
2
votes
2answers
115 views

Best practices / reasons for String constants in JavaScript [on hold]

In static languages like Java/C#, I commonly make use of constants for strings or numbers, rather than insert them into the code alone. However, I tend to avoid this practice in JavaScript. More ...
2
votes
3answers
65 views

Database design with “draft” version of data

The database I'm currently building is pretty traditional relational database stuff, but there is one requirement that is not clear to me how model appropriately. There are many business rules which ...
0
votes
1answer
108 views

Implementing IEnumerator without using 'yield return' in c#

I'm new to C# programming, I was experimenting with iterators concept in C#. Here, I'm trying to display all the terms in a list, for that I'm trying different ways to obtain the results. In the below ...
1
vote
3answers
62 views

Handling leaves in tree-based menus

Tl;Dr Given a language with no polymorphism how to you elegantly modify the behavior of a leaf in a tree data structure. Context I'm programming an application in C for a microcontroller and I'm ...
0
votes
1answer
37 views

Class and API Design suggestions [on hold]

I am looking for some good design suggestions for this scenario: I have a tab delimited file that has all the columns and data I need to import into our database. So the data is all there but in a ...
-5
votes
0answers
30 views

In need of a good tutorial or book on how to write an interpreter [on hold]

I'm interested in studying how to implement an interpreter for a programming language. I want to acquire the basic fundamentals. I looked for tutorials online but couldn't find anything that seemed ...
-7
votes
0answers
24 views

Custom User Login Asp.net mVC [on hold]

I created a custom user login using this tutorial. http://www.codeproject.com/Articles/482546/Creating-a-custom-user-login-form-with-NET-Csharp when the user logs in the user is redirected to the ...
-1
votes
0answers
36 views

How can I evaluate a mathematical expression? [on hold]

What's the best or common way to evaluate an arbitrary mathematical expression? E.g. 2 + (4 - 16) × 33.
3
votes
0answers
78 views

Deferred execution of Dispose for IDisposable objects

I'm working on an application that does lots of encryption and decryption in-application and this is probably the number-one bottleneck, so I've been spending some time making performance tweaks to ...
2
votes
1answer
39 views

Why doesn't the HTML\DOM specification allow hyperlinks to set an accept header?

The purpose of the Accept header from the client is to tell the server what kind of data it will accept as a response to its request. We can set this header in asynchronous HTTP calls in Javascript, ...
3
votes
1answer
151 views

How reduce the usage of Magic Strings?

In the application database there is a configuration table with this schema: Table: ReleaseProperty ReleasePropertyID ReleaseID Name Value Currently to retrieve a specific property I pass to the ...
0
votes
0answers
30 views

Web-services REST security clarification

I'm newbie of web services programming and I have some problem to understand how to work authentication/security for REST WS pattern. I had read about OAuth but I haven't understand how it work in ...
3
votes
1answer
55 views

In BDD, going from feature to user story how does it works?

My background is the book BDD in action. How one goes from Feature to Stories? More specifically I would like to understand the following: 1- When does one provide the decomposition into stories? Do ...
0
votes
0answers
40 views

Framework for creating a web-app UI [on hold]

I'm looking for a Front end framework which would make my job easier to do the following things: Creating a web-app like UI. Roughly like this: 1 - Dropdown 2 - Date range selector 3 - Dropdowns ...
2
votes
1answer
50 views

Web Service REST clarification

I'm new to web-service programming, and I'm unsure of a few things. I know that REST web-services can be used to interact with the system like this: to retrieve a user: GET /user?id=1 to retrieve ...
2
votes
1answer
44 views

ASP.NET MVC - Dynamic Views with many similar controls

I have a main View which has several sections and a main dropdown at the top which defines how the rest of the view looks like. All these sections have some data that is visible all the time, and some ...
-7
votes
0answers
27 views

Need Technical and HLD architecture Document [on hold]

we have created one product development & Data Transfer file. Now i want to design a document for WCF service. what we need is to have a WCF Service that First it should do a handshake to ...
3
votes
2answers
106 views

How restrictive are the GPL's linking restrictions really?

To my basic understanding, software licenses only apply when redistributing software. Even if I am wrong about this in general, the GPL states that you need not agree to the GPL in order to receive or ...
-1
votes
0answers
31 views

asynchronous request in spring MVC

i have one scenario. i have one web application in spring and what i need is to display current logged in user.main requirement is achieve this functionality using asynchronous request rather than ...
3
votes
5answers
225 views

Is it useful to keep 'definition' entities in a database vs using an enum?

In a project that I have started working on, the database has a lot of FooDefinition tables which act like an enum. It's a C# project using Entity Framework although that is not central to the ...
2
votes
0answers
435 views

Could the trivium be used to successfully teach programming languages? [on hold]

The trivium is a systematic method of critical thinking for deriving certainty from any information which is comprised of: grammar logic rhetoric Joseph, Sister Miriam (2002). in The Trivium: ...
0
votes
0answers
39 views

Literature on Android and multicore programming [on hold]

I'm having a deep research on the Android OS and I'd like your assistance on something. Now I'm into how can Android efficiently utilize multiple cores. I've seen a lot of articles online on ...
1
vote
1answer
102 views

call complex mathy Fotran from Java

I'm working with a company to productize the work that comes out of a couple research labs. The long (appended at the bottom) and short of it is this: we need to call Fortran from Java on windows. I ...
-2
votes
1answer
122 views

C++ certifications [on hold]

What are the most respectable C++ certifications? How do they relate to each other? For now I am aware only of the CPPGM and Brainbench.
0
votes
1answer
51 views

Need suggestion on database development environment [on hold]

I'm in a process of developing a database application that would serve several (> 20) clients though a local area network. Basically, they should be able to access a client application with a certain ...
-2
votes
0answers
46 views

Will vb.net ever get a toolset for unmanaged memory manipulation? [on hold]

I've written thousands of lines of code in all the major languages, yet vb.net is my favorite by far. IMO it's the fastest language to develop things in because it's easy to read, has a mature ...

15 30 50 per page