1,217 reputation
69
bio website
location
age
visits member for 4 years
seen 15 hours ago

23h
awarded  Yearling
May
13
comment What are the benefits of a device driver when I can access the I/O registers directly?
@smeeb: It'd be more correct to say that the device driver provides an abstraction. Basically, on one side you have the hardware's (device specific) interface, in the middle is the driver that provides the abstraction, and on the other side is the software that uses the abstraction (file systems, networking stack, whatever).
May
11
comment Client wants source code, but it contains a lot of shared code I reuse with other projects
Would it be possible to strip out everything in the library that their application doesn't use, and only sell/give them the minimum they actually need?
Apr
29
comment List comparing techniques for faster performance
@cap7: If one of the lists can contain duplicates (e.g. 6 copies of "Fred" in the long list) then it won't matter. If both lists can contain duplicates (e.g. 6 copies of "Fred" on the long list and 3 copies of "Fred" on the short list) then you'll get duplicated matches. To avoid that the most efficient way is to remove duplicates while sorting (sorting also has a "compare if earlier, equal or later" step where you can discard or mark the entry as "to be skipped later" if equal).
Apr
28
answered List comparing techniques for faster performance
Apr
26
comment Why was the Itanium processor difficult to write a compiler for?
Erm. 80x86 has supported 36-bit physical addressing (or a limit of "not quite 64 GiB of RAM") since the introduction of PAE and PSE36 in about 1995. The problem was very few versions of Windows supported PAE due to device driver incompatibilities (but some did).
Apr
25
comment Polling more recent / active items more frequently
For each post have a list of "things" (people/members?) to notify if/when the post changes; and for each "thing" have a list of posts that have changed. Whenever a post changes, add the notifications to each "thing's" list. Whenever you need to send anything to a "thing", append its list of posts that changed to whatever you're already sending (and set the list to empty). No polling, no delays, no searching through thousands of posts to see what changed, no/minimal extra packets across the network.
Apr
21
comment How to spread awareness for generic programming among team members?
Some people are wise. When they want a cup of coffee they'll make a cup of coffee. Some people are "knowledgeable". When they want a cup of coffee they'll start building a fantastic machine capable of heating, cooling, brewing, carbonating and mixing any kind of beverage; but die of thirst before it's finished.
Apr
11
comment Is directly using Make considered obsolete?
@Darkslash: Once you start considering (hypothetical) alternatives it's like opening floodgates - you end up questioning everything (and end up with ideas like separation of semantics and syntax, and redesigning IDEs and tools and delivery as a set rather than individual pieces of the larger puzzle). More practical is to realise that tools like cmake only treat symptoms and can't cure the root cause/s; which makes it easier to accept the fact that you've got no choice other than to use tools that will probably never be close to "ideal".
Apr
11
answered Is directly using Make considered obsolete?
Mar
31
answered Ethicality of online license checks
Mar
8
answered what are the limits of the client server architecture
Feb
25
comment Is it reasonable to assume that any physical quantity can be represented by a 64-bit integer without overflow or underflow?
The funny thing about virtual addresses is that they're virtual. For example, I can have 1024 processes running where each process has it's own 128 TiB of virtual space, even though I don't have 128 PiB of RAM in my computer.
Feb
25
comment Should a “secret access code” use the same security as a normal password?
Would it matter if you did bcrypt the "secret access code", even if it's not strictly necessary?
Feb
22
comment How to respond to a rude bug report?
If a paid/professional QA tester wrote a rude bug report, have a "stern word" with them about their conduct. Otherwise, whoever wrote the bug report has spent time (finding, downloading, installing and learning your software) and then spent more time (reporting the bug, monitoring follow-ups, etc) just to do "QA tester" work for you. They're paying (with time not money) to improve your product. If they were rude, that's unfortunate, but it's also irrelevant.
Feb
3
comment Is a 1 < 10 comparison less expensive than 1 < 1000000?
For CSS, the overhead of converting text into an integer will depend on the number of digits being converted (where a 6 digit number like 1000000 may be approximately 6 times as expensive as a 1 digit number like 1); and this overhead may be orders of magnitude larger than the overhead of integer comparisons.
Jan
25
comment Looking for a DP algorithm for a specific packing problem
Erm. For the title, it's not obvious that "DP" stands for dynamic programming (or data packing, or dual processor, or double penetration, or any of many other alternative abbreviations).
Jan
17
comment Is my auto-update standard reasonable?
@Supuhstar: I'd also strongly recommend splitting it into 3 or more completely separate projects - one project to define and maintain an (open) specification (e.g. like WC3 does for HTML), one project to implement the "server side" parts of that specification (e.g. like Apache does for HTML), then one or more projects to implement the "client side" parts of that specification (e.g. like Mozilla does for HTML).
Jan
17
revised Is my auto-update standard reasonable?
deleted 4 characters in body
Jan
17
answered Is my auto-update standard reasonable?