Click here to Skip to main content
15,921,276 members
Home / Discussions / Article Writing
   

Article Writing

 
AnswerRe: how to implement offline functionality Pin
Luis Alonso Ramos22-Mar-06 17:59
Luis Alonso Ramos22-Mar-06 17:59 
QuestionHow can you redirect a registry call to a file instead Pin
Mccrech12-Mar-06 10:13
Mccrech12-Mar-06 10:13 
QuestionNeed Articles in Design Pin
Elite200009-Mar-06 15:45
Elite200009-Mar-06 15:45 
AnswerRe: Need Articles in Design Pin
HimaBindu Vejella11-Mar-06 0:56
HimaBindu Vejella11-Mar-06 0:56 
QuestionApplication server [How can i make applications like PHP/ASP?] Pin
jignesh_vasoya8-Mar-06 1:36
jignesh_vasoya8-Mar-06 1:36 
AnswerRe: Application server [How can i make applications like PHP/ASP?] Pin
dixanta16-Mar-06 20:37
professionaldixanta16-Mar-06 20:37 
QuestionCanon CR2 detail Pin
Ansh17-Mar-06 23:57
Ansh17-Mar-06 23:57 
QuestionUniversal Units Pin
NatLang7-Mar-06 23:47
NatLang7-Mar-06 23:47 
Assuming there's merit in this, I think it would make an excellent article for someone with the know-how.

Let's say you are writing a recipe program that can be used by people in various countries who use differing units of measurement. Converting gallons to liters or fahrenheit to celsius on the fly for displaying a recipe is easy enough that it's probably not worth worrying about performance, but what if someone wants to export a list of 100,000 recipes for someone using other units of measurement? With several ingredients and temperatures in each recipe, that results in a lot of conversions, and performance can become an issue. (The recipe list is just the first example that came to mind... There could be other situations with billions of such conversions.)

I wonder if there is a way to pre-calculate a generic unit of, e.g., weight, which can then be used to extremely quickly find ounces, pounds, grams, troy ounces, grains, etc. without resorting to floating-point division, etc.

I imagine this would fall under the umbrella of NP-complete problems, but since we're only dealing with a limited number of units it seems like it should be possible to find an optimal unit without waiting for a trillion years. Smile | :) Can this be done or has it been done? Or am I on the wrong track here?

AnswerRe: Universal Units Pin
toxcct8-Mar-06 0:18
toxcct8-Mar-06 0:18 
QuestionSystem Tray Pin
Bond OO74-Mar-06 19:52
Bond OO74-Mar-06 19:52 
AnswerRe: System Tray Pin
toxcct5-Mar-06 23:06
toxcct5-Mar-06 23:06 
QuestionCom object to create a named pipe and use it Pin
Ted Toal2-Mar-06 11:52
Ted Toal2-Mar-06 11:52 
QuestionShell namespace extension for named pipes Pin
Ted Toal2-Mar-06 11:51
Ted Toal2-Mar-06 11:51 
QuestionReading data Samples from sound card Pin
t4ure4n2-Mar-06 6:28
t4ure4n2-Mar-06 6:28 
AnswerRe: Reading data Samples from sound card Pin
Blake Miller24-Mar-06 11:01
Blake Miller24-Mar-06 11:01 
GeneralRe: Reading data Samples from sound card Pin
t4ure4n24-Mar-06 11:51
t4ure4n24-Mar-06 11:51 
QuestionSoftware "Printer" Pin
lfrequency1-Mar-06 13:31
lfrequency1-Mar-06 13:31 
AnswerRe: Software "Printer" Pin
Michael Dunn1-Mar-06 14:11
sitebuilderMichael Dunn1-Mar-06 14:11 
GeneralRe: Software "Printer" Pin
lfrequency1-Mar-06 19:03
lfrequency1-Mar-06 19:03 
GeneralRe: Software "Printer" Pin
Michael Dunn2-Mar-06 20:11
sitebuilderMichael Dunn2-Mar-06 20:11 
QuestionEnterprise Library for VS2005 Express Edition Pin
Woo Mun Foong26-Feb-06 17:26
Woo Mun Foong26-Feb-06 17:26 
Questionconvert rpt file to graph......... Pin
rvgopal8525-Feb-06 9:01
rvgopal8525-Feb-06 9:01 
QuestionReading Barcode From Scanner Pin
subai24-Feb-06 21:50
subai24-Feb-06 21:50 
AnswerRe: Reading Barcode From Scanner Pin
Vivi Chellappa25-Feb-06 0:31
professionalVivi Chellappa25-Feb-06 0:31 
GeneralRe: Reading Barcode From Scanner Pin
subai4-Mar-06 0:38
subai4-Mar-06 0:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.