I have some queries that I use all the time (like get rows only of some specific type, or count something etc.). I'd like to organize them somehow (better then I currently do).
Currently I have them ...

readers. I'm a guy relatively new to programming (I mainly code really basic HTML and fool around with Linux environments) and have something I'd really like to do.
Say, for example, that I have an ...

Booleans are often used to model domain specific dichotomies. The most common example I can think of is the success or failure of an operation. It seems to me that a boolean must be interpreted in the ...

I have the following class, this class like many rely one parameters coming in as a pair.
Originally for convenience, I set them as params Object[] values and check if there is an even number of them ...

Let's say there is a utility class that provides some common static methods used everywhere in your code by many other classes.
How would you design your unit tests for the consumers of the utility ...

I have a new idea, which I think in a way would work well, I have been working as a Java Developer since past few years, I also have a good knowledge on design patterns and data structures which are ...

I am currently trying to figure out SOLID. So Dependency inversion means that any two classes should communicate via interfaces, not directly. E.g. if class A has a method, that expects a pointer to ...

We are talking about implementing a system that easily generates sales reports for our salesemployees. We want to create a webapplication with one or maybe more textarea's to gather the inputdata from ...

I am planning to design a module from my project which is having let User login securely and keep the session alive securely on a machine accepted by user as frequently used machine. I have identified ...

I am very new to software architecture.I am developing an iPhone app.
I have read that iOS follows MVC architecture, but one of my previous projects had busies logic layer, helper folder too in its ...

I hope this question is allowed here, if not please delete or move!
Last year a colleague mentioned the 'Two Generals' thought experiment to me which has stuck in my mind ever since, especially as I ...

If I have parts of code that need to mutate the underlying data structure but then others that consume, not mutate the structure, is it good practice to create a wrapper which does not expose mutation ...

I am looking for a way to design my application. Suppose you had a car drawing thing. Car has multiple parts.Some are going to be visible some are not.For example battery should be drawn. So someone ...

I am about to start work on a new project, and I am looking for some advice on what approach I should take in terms of what kind of project it should be.
Basic overview of requirements
The system is ...

I'm wondering if the following use of typedefs is any good practice, or if there are any downsides to it.
Basically I have alot of "data"-structs, which are intended to be used in (globally unique) ...

I came across Event Sourcing design and I would like to use in an application where a REST client is needed (RESTful to be precise). However I fail to connect these together as REST is quite CRUD-like ...

This is something I have wondered, it has been a while since I have seen anything you can download which has to connect to license server in order to monetize a piece of software (and the last time I ...

I want to import some data from various locations and pump it into MongoDb and some cloud services.
The data starts off as JSON, I read that JSON, create some objects in mongo, go to the next level ...

I'm writing a device Software in which the device must handle much data. Therefore it has a database, either on NV-Ram (Non-volatile memory) or a SD-Card.
Due there's a DB which I can use, I also use ...

I'm facing a project in which presumably large datasets will be interactively visualized client-side. These datasets' sizes vary, both in number of rows and number of columns. The visualizations and ...