Letters to the editor may be sent via email to cujed@cmp.com, or via the postal service to Letters to the Editor, C/C++ Users Journal, 1601 W. 23rd St., Ste 200, Lawrence, KS 66046-2700.
Correction: In the June 2002 issue of CUJ, Michael Collison's email address was not included in his article "Retargeting the GNU C Compiler." The author may be reached at collison@isisinc.net. ap
[Editors Note: my April Editors Forum on QuirkSort drew many letters, much more interesting than what I wrote. Here are a few; in some cases followed by the authors response when they found out it was an April Fools joke. cda]
Mr. Allison,
Just yesterday, I received and performed my standard ritual with CUJ. I get it in the mail, flip to the table of contents to see if any articles grab my interest, make a mental note of them, and then flip the page and read the editorial. I have done this for the 5+ years that I have been reading CUJ, and I always love the candor I find in the editorials. By my recollection, you have been the author of this editorial freeform for almost a year now. (Congratulations, by the way.) Anyway, I have never before been motivated to write based on any editorial, but yours from this month really caught my interest!
I did quite a bit of work modifying the Grahams Algorithm of the QuickSort back in college in an attempt to solve the Euclidean TSP (Traveling Salesperson Problem). I had some mild success solving special case sets of points in polynomial time, more specifically, those occurring on a convex hull. Without rambling on too much longer, the reason I had any success at all was due to the way in which the algorithm itself operated over the set of values. The result of the QuirkSort you posted astonished me and, more over, put my curiosity into overdrive to understand the actual function behind the algorithm. I wonder if it is applicable to any similar degree. If you could provide me with any links or references to that algorithm I would greatly appreciate it. If you are at all interested in my results, Id be happy to share them with you, but I understand computational geometry seems to be a subject that is dry even to most software engineers. I guess Ill always be a lowly computer scientist at heart. And long live the algorithm!! :)
Thanks for the work you have done on CUJ over the years. It is a wonderful journal and a fine example of the way that arcane knowledge can be injected into a digestible medium for useful consumption.
Best Regards,
Ross Barker
Please dont be offended when I tell you that QuirkSort was an April Fools joke! But I would be happy to look at any of your work, if you can wait until summer to expect a response. (Im quite swamped during the school year.) Very nice to hear from you.
Ahh...Touché!!!
With it still being March, I never gave any consideration to the fact that I was reading the April issue. Well placed! Too bad those values arent real though. What a great example of how expectation can impede upon scientific rigor!
I truly do enjoy your editorials. Keep up the good work, and Ill have to remember to read each one a bit more cautiously in the future.
Best Regards,
Ross BarkerChuck,
Shame on you for tantalizing your readers about the QuirkSort but leaving us without any place for further info. A mental image of large slobbering dogs with studded collars looking a piece of steak comes to mind.
Could you tell me where you ran across it?
Clinton James
Chuck,
Any chance you could give out a hint on where to find this new sorting algorithm mentioned in the April 2002 CUJ? There was not enough room on the page to explain it, but Id have to say that the number of comparisons is so significant that you should at least point us to the information! Or is this one of those April things? If it is, check out Model Railroader for a far superior April fools joke: modeling old railroad roadbed thats been turned into bike paths.
Dave Rector
Chuck,
I read your editorial in CUJ where you mentioned the QuirkSort routine you had come across. My interest was piqued by the short description and the results that you described. I was wondering if you could share your source where you found the description of that algorithm. I would very much appreciate it.
Thanks,
John Pelly
Im afraid that was an April Fools joke. Sorry to disappoint you! cda
Thats cold. Real cold. =)
Hi Chuck Allison,
Can you please give me a reference to QuirkSort? I could not find many references to it. Any code examples?
Thanks.
Regards,
Sourabh Satish
Hello. Im afraid that QuirkSort was something I made up as an April Fools joke. Sorry!
But to your surprise there is something called quirksort:
<www.cs.nyu.edu/~yap/classes/basic/01s/hw/midterm/mids-01.ps>.
Sourabh Satish
Chuck,
I suppose a quirky sort of function that would give a result of 123,456,789 would be the first_of_april_sort? :)
Jay Kint
Chuck,
Andrew Wiles cannot do it a second time! So please post the code to QuirkSort ASAP.
Stephen Fermat Muires
Andrew Wiles solved Fermats Last Theorem in 1993. cda
Dear Sir,
I received today my copy of the April 2002 issue of the CUJ. I find the journal very interesting and also very useful in my programming work. I read your editors forum with great interest. In particular, I was quite amazed by the performance of the sorting algorithm that you named QuirkSort. Is it possible for you to indicate where I can find more information about that algorithm?
Thank you for you collaboration.
Best regards
Rene Girard
Im sorry, but that was an April Fools Joke.
You really got me there!! That was an excellent April Fools Joke. You made me laugh out loud.
I would like to mention that I am a subscriber to CUJ. I find the journal to be the best of its kind on the market. I am really learning a lot from it. Many thanks for all the excellent work done by you and your colleagues at CUJ.
Best regards
Rene Girard
Chuck,
I just read about the QuirkSort in Aprils CUJ. I am very intrigued by this new sorting algorithm. Can you please provide pointers to where I can find more information about it?
Thanks
Bernhard Tschirren
Dont I feel like an idiot now :)
[Editors Note: and the following letter from Astute Reader Mark Wilson was the first to come in. cda]
Sir,
I regret to inform you that my mentor, the great Dr. April I. Fermat, discovered your algorithm years ago, using an abacus and an hourglass.
Mark Wilson
Dear Mr. Allison,
Regarding your reply to Ashley Williams in the April issue of CUJ, the compiler I use on a daily basis, gcc, does indeed issue warnings for initializer lists which are reordered to match the order of class members. It seems to do a pretty good job on warnings, overall.
Christopher Creutzig
Thats very good to know. Thanks for writing. cda
CUJ,
The C++ Experts Forum (<www.cuj.com/experts>, kept by CUJ, is a precious and valuable work an indispensable initiative from the experts in C++ that will be certainly useful to those who teach at schools, for independent developers and consultants, and for all the great C++ community around the world. Lets keep C++ active and let people take notice from an initiative like this one!
Fabio Gaviao
We couldnt agree more! Thanks, Fabio! cda