Reputation
31,266
Next tag badge:
98/100 score
30/20 answers
Badges
4 59 114
Newest
 javascript
Impact
~1.1m people reached

Jan
28
comment File based communication vs Rest or RPC
Using files like that does sound inefficient. Another option, depending on how these machines are connected to each other, might be a database or queue of some sort running on an external server. The upside of a database is it would allow for real-time querying of the machines' state and activity history.
Jan
6
comment How to replace or manipulate the Microsoft Desktop Window Manager (DWM)?
I suspect that's an application that simulates a window manager, running as an additional layer. The youtube video says it runs inside the DWM.
Dec
28
comment Multi tenancy or multi instance?
No, I saw the point, I just don't agree that doing it that way gets you anything other than unnecessary complexity compared to using a single database.
Dec
28
comment Multi tenancy or multi instance?
You can also put it all in one database. If you are storing credentials in a single database, I don't see the point of splitting up the rest of the data.
Dec
23
comment When should you use JNI with native code and when should you just let the JIT handle things?
Can't you start with Java and then move to a native library if you encounter a bottleneck? Also, consider that the JNI is used for more than speed critical code. Its also used for integrating with native libraries for which there might not be a convenient comparable Java library.
Dec
23
comment Rationale for modern languages implement changeable global variables
It could also be that not everyone agrees with the premise.
Dec
23
comment What is it exactly that makes programs platform dependent when they're using cross-platform APIs?
Cross compiling is only easy when someone has done the work to make cross compiling easy... and that's not easy.
Dec
23
comment How can I reduce http request while I have hundreds of images and thousands of users
Can you ship these images with the app, or are we talking about something like profile pictures? Have you looked at re-encoding the images? Is this a problem you are having, or are worried about having?
Dec
8
comment How to store ordered information in a Relational Database
Use option one unless you know for a fact you need something else. One problem programmers new to databases encounter is not understanding that databases are very, very good at this sort of thing. Don't be afraid to put your db to work.
Nov
27
comment Why would I not need an ORM in a functional language like Scala?
You don't need an ORM in any major language.
Nov
18
comment Is client-side validation really all that important, always?
I don't think any programming technique is important always.
Oct
27
comment Are colons ok in a REST API?
Colons are used to separate the port from the URL. whatever.com/widget:123 is telling the browser to open widget at whatever.com's port 123. So no, a colon shouldn't be used there.
Oct
23
comment Kind of Servlet (J2EE) for PHP?
@ChaibiAlaa Unless you have very high traffic, keeping it in the database would be sufficient. Otherwise, you can implement some caching solutions the way some CMS systems do. They generate PHP files with the data, and regenerate them as the data changes.
Oct
23
comment Kind of Servlet (J2EE) for PHP?
You seem to be asking about a configuration file. Make a PHP file and in it assign the variables you need. Then include that file at the top of your application. That's how most open source PHP projects handle it.
Oct
19
comment I've started, but have never completed an application. How does this affect my employability?
It depends... if you have a suitable college degree or coursework, it may not be an issue. If you don't have that, and all you have for evidence that you can write programs is an unfinished application, yes, that can be a problem for you.
Oct
8
comment How far should I abstract my pseudo-database?
@Zak There's no time like the present to learn.
Oct
8
comment How far should I abstract my pseudo-database?
Can't Access make standalone applications?
Sep
23
comment Multi-tenant database design
@Crono no, as I said we did not delete most things so all it would take is toggling the status of the order.
Sep
23
comment Multi-tenant database design
@Crono well, backups are no different. We also offered an export if the customers wanted their data in a usable format (csv, excel, etc). Restoration was never much of an issue. We didn't delete most things, so if someone deleted a building, for example, we'd toggle the deletion flag for it. There was also an import process typically used for bulk import from other systems, but could be used to restore a company's data in an emergency.
Sep
23
comment Multi-tenant database design
I've never seen the advantage of maintaining a separate database per customer like this. All the multi-tenant systems I've worked on kept everything in a single database and used a customer/company id to logically keep the customers' data separate.