|
How to make your browser use your email programAs I was tinkering with my wretched bloggery, I added an email button so my nonexistent audience could comment and complain. But when I clicked it, the stupid thing would always bring up the appalling Microsoft Outlook Express. Does this complaint afflict you? The web included effusive commentary, intricate cunning schemes, all useless. ... This is apparently one of these things where you have to be stupid-enough; to change to Eudora, for instance,
I mean, presumably you have to have installed Eudora so it appears in the “e-mail”list — although I don’t think I even installed it on this w98 machine — and it was still there.
|
|
XP Control-CapsLock SwitchBut now let’s get to the really important stuff: How do you switch the left control key with the caps-lock key in XP? All us old-time programmers love to do this, so our ancient “WordStar”-style editors will continue to work (I just went over and successfully ran my hacked-up ancient WordStar on a file in XP!).... For W9x, there’s a
“keyremap” utility — which
happily installs in XP, has absolutely no effect, and won’t
uninstall (but of course I persuaded it, by deleting the files). ...
No, children, XP is so advanced you can’t do that. ... However
there
is some registry mumbo jumbo which worked here once on my machine and
will surely Friday, May 2, 2003 11:07 am But then again, the free PC Magazine utility TradeKeys (google for it, or www.pcmag.com?) might do the trick, and much easier too. Seemed to work on w98 and XP — but not w95! |
My Own Private Dr Dobbs Letters Page!Print publications have come upon hard times, particularly computer mags, and Dr. Dobbs is no exception — they’ve come on such hard times, they can’t afford a letters page! ... I, on the other hand, have derived immense enjoyment over the years shooting-off cranky letters to the editor, particularly to technical magazines. So to satisfy these mutual unmet needs, I inaugurate my own private Dr Dobbs letter to the editor section.... A Single Letter on the Letters PageWell as it turned-out, this was the only Dobbs’ letter-to-the-editor I felt moved to document, I can’t imagine why, but the subject turned-out to have a surprise ending.... And Then Again....In the 11/07 issue, the editor explained how vicious fascist Republican capitalists were responsible for Wikipedia vandalism — “we know now why university professors don’t encourage its use as a valid bibliographic source” — and it occurred to me, perhaps they want to encourage us to go their pitiful web “presence”? ... I mean, it’s obviously inflammatory as well as stupid, and the normal reason for doing this — I mean aside from the pitiful progressive cri de coeur — is to stir-up debate, controversy, response. ... But no; it’s just the poor editor’s brain flying to pieces; there’s no prominent box or something with their web page or anything.... Application Responsiveness by Joe Duffy (Dobbs 10/06)ARTICLE SUMMARY Microsoft “program manager on the CLR team” contends that “generally speaking, any data- or compute-intensive tasks should be done on a separate thread, even if that incurs overhead for worker synchronization”. The article does not discuss the typical order-of-magnitude increase in debugging difficulties that attends multiple thread use. CRANKY LETTER 1. If you are doing compute-intensive tasks, one
obvious way to avoid slowdown is not
to use an
interpreted environment like 2. In Delphi, there’s “Application.ProcessMessages”
which
one
can call now and then so the user can click a cancel button and/or see
the progress bar update etc.; I assume That is, programming
magazines and environment vendors may find it fun and profitable to
cook-up
reasons
for more threads, but the practice is still unsavory and, in many
typical suggested cases — i.e., Obviously there are occasions for multitasking — operating systems, say — but I have yet to be convinced that the execution of these kind of activities in complicated object-oriented environments is much of an improvement over simpler C-language constructs — or assembly language, for that matter. — Monday, September 25, 2006 3:34 pm P.S.
(10/4/06) Apparently I have been parroting John Ousterhout’s 1996
(!)
Usenix
presentation Why
Threads are a Bad Idea (for most purposes). ... Of course,
that was before computer scientists discovered There, I feel so much better. ... Although perhaps it’s fortunate I’m the only one who reads this site.... All Is Revealed!But loyal readers of these pages will be gratified to know there probably is a reason for Microsoft’s strange desires, also revealing the puerility of my imaginary response. Which is that Moore’s Law is feeling poorly, and the only way the software industry — Microsoft, approximately — can get back on top is to multi-process the heck out of stuff! ... But it’s hard to multi-process with a single thread, hence the friendly monopoly’s advice as above. See,
one
of the reasons we were going to learn to love + LINQBut then again, Microsoft might be able to multi-task your single-threaded program if you happened to write it in SQL. ... And I very much suspect this is the plot behind the newly-introduced LINQ feature, where you can stuff SQL-like statements right into your C# scripts — which I must say, struck me as odder than the usual Microsoft standard when I first learned of its approach. ... But as explained in Parallel LINQ: Running Queries on Multi-Core Processors, p 70, MSDN Mag, 10/07, any day now those queries’ll easily run in parallel you lucky scripters, and perhaps ameliorate the Moore’s-lawless pokiness of your C# and VB code — and so all is revealed! ... It appears the approximate plan today is to enhance/convert the cavorting CLR languages into declarative-type SQL-like things, and the many processors in your box will race away with the logic and all will be for the best.... |
Parallel
Extensions
to the |
.NET + C++ & Visual Studio 2005: What’s Up? Among other tantalizing treasures,
Microsoft’s Nishant Sivakumar has written a lovely book “C++/CLI In Action” all about Visual Studio 2005 and C++, and how it can help you resurrect tired old C/C++ code, especially the tired old MFC variety. ... I must admit I thought the book was about interoperating managed and unmanaged C++. ... But as I got within shouting distance of the end, I noticed that he hadn’t shown me what I had innocently imagined to be the piece de resistance: a winforms application that worked with unmanaged C++. ... As I finally realized, that would be because You
may wonder how I can make such an assertion after the thoughtful
Sivakumar
wrote an entire book about
How to Compile Unmanaged Code with Windows Forms and CrashI
wrote
a Macintosh program IPW
that is mostly C++ code + Xcode
Objective-C++
for the Mac
GUI; the plot was to
perform a similar underhanded
trick with
... Casual googling suggests that the _CrtIsValidHeapPointer assertion failure is something that just happens when the code is rotting in the darkness but no one really knows why.... ... And please
understand, VS2005 can compile average C++ programs to 80x86 binary
executables just as good as it ever did; indeed there’s a
command-line
version of IPW that is
compiled that way. ...
The magic and mystery department is the combination
of A
Managed C++/.NET Program |