Software Engineering Stack Exchange Community Digest

Top new questions this week:

How to design a distributed system with an event broker where strong ordering is required?

I was trying to model a fairly simple real world model inside a distributed system and got stuck thinking about timing and order and would appreciate some external view on it. Assuming I have this ...

distributed-system apache-kafka eventual-consistency system-architecture  
user avatar asked by Samuel Score of 3
user avatar answered by Greg Burghardt Score of 10

Multi processing or multi threading for pywinauto?

I am trying to automate an old GUI tool which requires filling in some data from a CSV and selecting appropriate tree item values based on it. I need to do this in multiple instances of the ...

python multithreading gui automation multiprocessing  
user avatar asked by Yashbhatt Score of 2
user avatar answered by Arseni Mourzenko Score of 3

Async-ifying WPF Window.Show()?

I'm working on a WPF application which has many user interactions which start with opening a non model window, allowing some interaction with the window and the rest of the application (think ...

c# wpf async  
user avatar asked by LOul Score of 2
user avatar answered by JonasH Score of 2

Multithreaded Game Server: Single send() or Many send()s for Game List?

I'm developing a multithreaded game server (C/TCP). I need to send a list of 50-100 available games to a console client. Option A: Send 50-100 separate messages, using send() for every single ...

c multithreading server backend kernel  
user avatar asked by dok Score of 2
user avatar answered by Deduplicator Score of 1

How to make the common "organization > project > content" conceptual model handle more subdivisions?

I am working on a system of websites and am back to an age-old problem of how to group the content. In simplest terms, I am wanting to build something like a hierarchical organization of content, ...

data-modeling  
user avatar asked by Lance Pollard Score of 2
user avatar answered by Arseni Mourzenko Score of 3

Greatest hits from previous weeks:

How accurate is "Business logic should be in a service, not in a model"?

Situation Earlier this evening I gave an answer to a question on StackOverflow. The question: Editing of an existing object should be done in repository layer or in service? For example if ...

design-patterns layers  
user avatar asked by Jeroen Vannevel Score of 456
user avatar answered by Aaronaught Score of 454

Are there guidelines on how many parameters a function should accept?

I've noticed a few functions I work with have 6 or more parameters, whereas in most libraries I use it is rare to find a function that takes more than 3. Often a lot of these extra parameters are ...

functions parameters  
user avatar asked by Darth Egregious Score of 177
user avatar answered by Michael K Score of 157

Which hashing algorithm is best for uniqueness and speed?

Which hashing algorithm is best for uniqueness and speed? Example (good) uses include hash dictionaries. I know there are things like SHA-256 and such, but these algorithms are designed to be secure,...

algorithms security performance hashing unique-data  
user avatar asked by Earlz Score of 1667
user avatar answered by Ian Boyd Score of 2946

Service layer vs DAO -- Why both?

I have been working with SpringMVC, Hibernate, and some databases in a java web application example. There are a few different ones that do this, but this Spring 3 and hibernate integration tutorial ...

java web-applications hibernate spring-mvc  
user avatar asked by Jeff Score of 83
user avatar answered by gbjbaanb Score of 72

Do I need to use an interface when only one class will ever implement it?

Isn't the whole point of an interface that multiple classes adhere to a set of rules and implementations?

design-patterns coding-standards interfaces  
user avatar asked by Lamin Sanneh Score of 338
user avatar answered by yannis Score of 247

What's the best way to return an array as a response in a RESTful API?

Assume we have resources like this, book: type: object properties: author: {type: string} isbn: {type: string} title: {type: string} books: type: array items: ...

rest json  
user avatar asked by borncrusader Score of 72

When to favor ASP.NET WebForms over MVC

I know that Microsoft has said ASP.NET MVC is not a replacement for WebForms. And some developers say WebForms is faster to develop on than MVC. But I believe speed of coding comes down to ...

asp.net asp.net-mvc webforms  
user avatar asked by P.Brian.Mackey Score of 195
user avatar answered by Tyanna Score of 107
You're receiving this message because you subscribed to the Software Engineering community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 14 Wall Street, 20th Floor, New York, NY 10005

<3