Reputation
9,358
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 12 25
Newest
 Talkative
Impact
~431k people reached

1d
answered Why did BASIC use line numbers?
2d
revised Why avoid Java Inheritance “Extends”
Latin correction
Feb
10
comment Why did BASIC use line numbers?
Editing a line? Luxury! The first BASICs I used made you re-type the whole line. Which really sucked when you had to renumber a subroutine.
Feb
3
comment Unit Testing Module-Internal Functions
If you're testing all your external functions, doesn't that imply that they're calling all your internal functions? If not, why are those functions there?
Feb
3
answered Bulk update: return all results or only failures
Feb
2
comment What is the difference expected but not desired behavior and a software bug
That PHP example is a riot.
Jan
27
answered Preparing to remove a tightly coupled service provider out of source code
Jan
26
comment Splitting one class into subclasses to save memory
I believe that @VincentSavard's point was that computers are complex systems with many layers of subsystems, and there are many ways that simple optimizations like yours might be overshadowed by larger concerns. For example, structure padding to align everything on a 64-bit boundary might mean you're only saving (say) three bytes instead of eight. Or your structure might not fit in a single cache line even without the name pointer, so saving eight bytes might not buy you anything anyway.
Jan
21
answered User account model with two or three possible profile
Jan
20
comment Difficult design with multiple associations between two entities
@heapOverflow: Then it sounds like you'll need two associations, public_books and private_books. Use a UNION ALL query to get all books for one author.
Jan
18
comment Unit Testing: Assembler code and different architectures
QEMU can emulate a SPARC V8. Perhaps you could run your SPARC unit tests on an emulator.
Jan
14
comment Junction table related to another junction table
If you're really worried about performance, create your database and add some sample data, then look at the query plans for some representative queries. Since you're joining on primary keys to largely static data (how often are you going to get new hotels and/or services?), I doubt you're going to have any performance issues.
Jan
12
awarded  Talkative
Jan
7
awarded  Excavator
Jan
7
revised Is the “exposer (hack) pattern” a newly identified pattern or does it have another name?
Grammar ("your" --> "you're")
Jan
7
revised Java Heap Allocation Faster than C++
Spelling ("effect" should have been "affect")
Jan
6
comment Designs and practices to guard against erroneous null entries from database
@DanielPryden: At my last job, we had an Architecture Review Board (with a DBA sub-committee) that would review cross-domain technical changes. Very technical, but they only met every two weeks and if you didn't provide enough detail for them they'd defer a decision until you did...at a subsequent meeting. Most non-trivial system changes that didn't consist of adding functionality through new code would routinely take a month or so.
Jan
6
answered Tracking time users spend on my website
Jan
6
comment Designs and practices to guard against erroneous null entries from database
@KilianFoth: I don't think they're contradictory. Data required by OP's process may be unknown at entry time, so it's to be expected that some columns might be null. Those values should be supplied during some upstream process, so by the time they arrive in OP's bailiwick everything is coherent. It sounds like there may be no clear indication that the data is complete, so OP has to deal with the incomplete stuff.
Jan
5
comment Broken Old/Legacy Unit Tests
Good ideas, but OP already said he has no resources to perform any heavy analysis, so unfortunately he won't be able to use them.