| bio | website | |
|---|---|---|
| location | Mid-Atlantic NorthAm | |
| age | 51 | |
| visits | member for | 2 years, 8 months |
| seen | 11 hours ago | |
| stats | profile views | 204 |
Software by day, hardware by night, beer on the weekends.
|
Nov 7 |
comment |
Inter-process and inter-thread data sharing These are both good solutions, I just wanted to throw out a caveat that neither of them scale very well. However, both in-process data sharing and shared memory are much faster than most "scalable" alternatives (message queues or databases). |
|
Nov 7 |
answered | Sharing Large Database Backup Among Team |
|
Nov 7 |
comment |
Dealing with curly brace soup I'm not sure if it's the default formatter or something in ReSharper, but when I used to use C# we had an option set that reformatted the code as part of the check-in. That way you could format the code however you wanted while you were working with it, but it would be reformatted to "project standard" on check-in. I think the only real formatting standard we had was to use spaces instead of tabs. |
|
Nov 7 |
comment |
Should we ever delete data in a database? Just to be pedantic, you should never store a password anywhere. You store the (one-way) encrypted result. If someone forgets their password, you generate a new one for them. There should be NO WAY to "recover" a password, because if you can do it, so can somebody else. |
|
Nov 7 |
comment |
How should I implement a command processing application? The problem with most parser generators is that their artifacts are static, and don't lend themselves easily to extension. I think OP would be better served with something more like a rules engine, where the "rules" (keywords and syntax) are stored in a flexible data structure and evaluated after each input. |
|
Nov 7 |
comment |
Should we ever delete data in a database? That's what I was saying, systems need to be designed with some kind of expiration indicator. In the absence of these indicators (which is the case with a lot of companies), there's no way to identify which records can be safely deleted. |
|
Nov 6 |
answered | Does comparison operand order affect speed? |
|
Nov 5 |
answered | Why do browsers leak memory? |
|
Nov 5 |
comment |
Why do old programming languages continue to be revised? No, I meant the languages are still in active use, and they're used by people who want to take advantage of the latest techniques. I don't think anyone's going to be adding multithreading support to ALGOL because (AFAIK) it's not being actively used. FORTRAN and COBOL, though, are still used to develop new systems, so their language specs are updated periodically to incorporate new techniques and technologies. |
|
Nov 2 |
answered | How to better integrate a unix development environment into Windows |
|
Nov 2 |
comment |
Is there a way to add unique items to an array without doing a ton of comparisons? When you do a binary search, you determine where the element should go. Either it's there and the element is a duplicate or it isn't, in which case it should be inserted into the current position in the list (either before or after the element in the current position). |
|
Nov 1 |
answered | Type of AI to tackle this problem? |
|
Nov 1 |
answered | Why do old programming languages continue to be revised? |
|
Nov 1 |
answered | Is there a way to add unique items to an array without doing a ton of comparisons? |
|
Oct 26 |
comment |
What is the best practice for when to check if something needs to be done? "incredibly high function call overhead" is a good description of a web service call. |
|
Oct 23 |
comment |
Generic rule parser for RPG board game rules - how to do it? @burzum: What about having your interface generate the lua scripts? |
|
Oct 23 |
answered | MVC Can the model know ANYTHING about the view? |
|
Oct 22 |
answered | Why JSP over Servlets for view? |
|
Oct 18 |
comment |
Why to use web services instead of direct access to a relational database for an android app? Another advantage is it allows you to add a cache, either client-side or server-side (or both, for different purposes). |
|
Oct 18 |
answered | Why are Java servers so scarce and costly? |