GEezers unite! It’s Not TEh SEnility, It’s TEh Keyboard!Or, as we scientists put it, the “scan rate key transposition issue” (but be sure to see further crackpot theories below). I am indebted to CPU magazine, 8/09 page 36, where someone mentioned it in a review. ... He will get a visit from the PC omerta police any morning now no doubt; but I did find a single mention on the web which, predictably, was in a thread where an Austin company “Das Keyboard” admitted they had this problem — i.e. a potential advertiser confessed, so it’s OK. ... But all the links to other articles were broken. And it’s so sad; I’ve been writing keyboard scan routines half my life, in assembly language — and yet, when I make these keyboard errors I would blame myself, violating my own sacred principle: always blame the equipment first no matter how unlikely! ... For Goodness’ sake, Owen!... Anyway, our advanced personal computer keyboards have, for many years, attained the “N-key” rollover level of enlightenment, which basically means you can type another key without lifting your finger from the current key. This is essential for double-key thingeys like shift, control etc., but without it we’d also have to type everything v-e-r-y s-l-o-w-l-y. ... So the deal is, if you type fast-enough — and everyone knows one of the effects of geezer senility is to increase typing speed — when the keyboard software shows-up to check what’s up, it might see two key-down states where there were none before — but it won’t know which was first. ... So, apparently, it reports them in left-to-right order. ... Ha ha ha ha ha!
As some guy on the internet outlined it, a fast 120 words-per-minute typist would be 600 characters-per-minute more-or-less, which is 100 milliseconds per character. But such speedy typing is undoubtedly “bursty”, so the 100 ms is entirely too close to the purported 4 ms scan rate, and a burst during certain familiar operations — typing “the”, releasing the caps after the first letter (caps release is a key event like any other) — could easily happen faster than the nominal 4 milliseconds. And it was reported that USB keyboards scan at 10 ms. ... And of course, because of the iron law of speak-no-evil in technical reporting, it’s entirely possible these time periods wander all over the place depending on wackiness of operating system, hardware, etc. ... So there you have it! ... And I was once a really fast typist; I grew-up with the little computers, and also operated many bizarre typesetting machines at incredible speeds. ... Obviously in my geezerhood I’m simply reverting, the way geezers do, and typing really fast again! ... So it’s not the geezer, it’s the cruddy technology! ... I am so relieved....
|
Whither the Delphi Database Components of Yesteryear?Wed 4/29/15 9:59 am. As my beloved Delphi Rapid Application Development environment stumbles into the sunset, my investigations into databi have led to a depressing conclusion: the pride of Delphi, the wonder of the programming world, the Delphi database components — they were, at worst, a scam and, more commonly, an impediment. This is shocking, because Delphi had two major advantages over Visual Basic:
The one overriding reason for this was SQL. For a brilliant programmer like me, the SQL language was easier than the components. SQL was one of these market-leveling trends, like universal hardware standards (only an idiot would buy a PC today with proprietary hardware — i.e., a Macintosh), and ever-spreading software standards (XML, FOSS). ... For some years it hasn’t made sense, at least for a programmer, to learn any proprietary database scheme, no matter how user friendly, when learning a little SQL will inevitably pay-off better. Even in the mad forward-rushing era of NOSQL, the SQL language is often available as a crutch for the weak.... The fog of commerce left an innocent victim class, the non-programmer who was supposed to be able to use Delphi anyway. ... To such a one, the components seem easier than a frightening technical thing like SQL. But even for these, I would suggest the SQL pay-off is still better than wasting time with the EZ components — and the proof is in the pudding: databi’re more important than ever, but Delphi sadly fades away even as I type. InklingsI had an inkling of these disturbing insights while writing my first database program in 2002. I did use a single Delphi component, but it was the non-visual Tquery, which provides an SQL interface to Delphi’s Borland Database Engine (BDE) (antique; Borland disowned it years ago). ... All I did with it was stuff in SQL statements I concocted. The application didn’t need visual presentation — but even if it had, I’m pretty sure SQL + non-database visual components like TStringGrid would’ve been easier, compared to deciphering the intricate relationships between the visual database components. I’m pretty sure, because later I saw such a thing in the demo for the excellent DirectMySQLObjects. No doubt the talented creator of this package knows his stuff, but however you slice it, reading through his source and seeing what he did is still easier than using the visual database components. How’d it happen, anyways?Well it’s not really a tale of greed, sorrow, and tragedy. ... No, in those distant days when Delphi came among us — 1995 or so; I started with it in ’96 — microcomputer databi were still cryptic cranky things, and Borland’s components were easier to use than trying in Delphi — or any language, for that matter — to communicate with the database directly. ... If I had been doomed to deal with databi then, I might’ve slogged my way through the components, and thought them good. ... Indeed, there were many such once, and on the web you could find them celebrating master-detail and other obscure mysteries they’ve conquered in hard-won contests. ... So for them, it wasn’t a scam. But for quite a while now, it hasn’t been like that, and those in these later times beguiled into the Delphi databi components were not well-served by whatever brought them there; usually some pitiful magazine, all of which have gone themselves to the eternal bit bucket.... It is doneSo it’s over; SQL rules them all — until it falls-over in its turn — and I will never, apparently, know the inner secrets of the Delphi visual database components. ... Please understand, the other Delphi visual components are still perfectly useful, and as far as I can tell, it’s still easier to write Windows programs in Delphi (or obsolete Linux programs in Kylix for that matter) than with any other approach, which is no doubt why Delphi remains so wildly successful.... |
... I’ve lived in a parallel universe during these golden years, first in a sort-of average imaginary microcomputer company (Ithaca InterSystems) like those imaginary cities/states that used to appear in 30s movies, and then I was just an industry drudge, far removed from the microcomputer ferment. ... My standard vocational emotion for those days was spite, as these lunatics released strange menacing broken products, in between occasional bright spots. ... But now, when the jig is up — Bill’s noblesse oblige is an apparent effort to help keep Borland afloat, and Bill’s showing a little mileage himself, and for that matter the whole incident’s already in the distant past — and I confess I already miss it. ... I miss the endless industry convulsions — which, in the end, it turns-out practically nobody cared about, since apparently the Bengladeshi can do all this stuff without a yearly Comdex explosion (which indeed did disappear shortly after I wrote this!) — I never actually went to any you understand — the silly puffery, the wretched little products in their colorful boxes — which, nevertheless, I yearned-for and would buy and use and then complain-about bitterly.... The Enemy MIA... As I totter down the years, I’ve noticed that while I miss missing friends, in a way missing enemies is even worse; there is no door that closes so firmly as when I run into some awful obnoxious cretin of my formative years, now a mere shadow, a few heart attacks or other dangerous disorders closer to (or beyond) the grave. ... It just takes all the fun out of things.... — the
nostalgic programmer |
You Will Use Microsoft Security Essentials or Windows Defender or whatever it’s called this weekSo I wouldn’t swear it works or not, but after all it’s obviously more likely than the tattered all-but-criminal competition. ... And I at least must face my doom: it’s free, and it kind-of works, and this is probably the end of virus $oftware. ... I assume Microsoft did it because they had to — I had to google for the product, i.e. it wasn’t installed by default or promoted, so the swarming anti-trust/EU blowflies didn’t attack, but I presume Microsoft felt legal exposure without supplying some way to defend against the virii hordes that wasn’t the typical scammy commercial Anti-Virus (AV) offering — certain kinds of OEM clients, i.e. giant corporations, probably demanded it.... Anyway, MSE’s all I’ve been using for a few years, and it is such a relief from those free and pay commercial anti-virus programs.... —
the endlessly disappointed but nevertheless-amused programmer Mon 2/23/15. And those with the despised-but-inevitable Windows 8 got it with the thing, except it’s called “Windows Defender”.... 6/18. It’s probably something it’s doing that makes VLC stutter ’n’ glitch, ’cause it stops when I arrive at the keyboard to give my pitiful computer attention, when the security scanning might hide itself. Usux™ stold the schedule setting for it and buried it in a not totally unmarked grave at “Control Panel > Security and Maintenance > Maintenance > Change maintenance settings” as per this dubious source, q.v.... Malwarebytes Incompatibility4/10/18. They don’t work together. My beloved windows 10 system has of course slowed to a crawl as Usux™ tries to force its cowering herds to use Windows apps or something even stupider, but Malwarebytes just made it twice as slow. This of course is because they’re both doing “realtime” protection. I can disable Usux™ Defender’s, but it whines piteously, and re-enables at the next boot. Disabling malwarebytes’ is easier/more reliable, & it only whines a little at every reboot. Which I’m hoping’ll stop when the 15-day trial runs out. Because malwarebytes is still a wonderful free explicit scan check, when you’re deeply suspicions of you don’t know what. ... I actually communicated with malwarebytes tech support once, about an antique XP system. The “support” was the usual scam: they would neither affirm or deny that MB worked with XP ever, and had many laborious things I could do that, indeed, made me go away. So I won’t bother them about Windows 10. Googling just turns-up stuff in 2017 and MB ads. It’s kind-of startling that they have nothing to say about running in Windows 10, but such is life is the fast techlane. ... & then a day or so later, I uninstalled malwarebytes, after I found my poor lenovo win10 desktop frozen in the night. And now everything runs much faster! The old hitting-the-head-with-a-brick trick; so nice when it stops.... How to Whitelist in Windows Defender or whatever it’s called this weekI got malwarebytes because I was pretty sure you could whitelist programs in it. Eventually I googled “windows defender whitelist” and got a wonderful page which explained everything with the usual startling clarity of Usux™. So at Tue 4/10/18 9:58 am, it was something like
You can turn off Usux™ real-time protection somewhere around “Virus & threat protection” there, and listen to it whimper. So excluding a program I wrote didn’t seem to help much; everything still takes forever — as compared to all the non Win8/Win10 systems including a 10-year-old Lenovo Windows 7 desktop. ... But, after a reboot or two, the exclusion worked good, and now my beloved ancient program springs to life without a 30’’ hesitation. It’s so nice I’m doing it to the other machines, even in Windows 7. ... I must reiterate how wonderful it is to just run a program, without Usux™ scrunching up its little tiny innocent forehead, trying to decide whether it’s really OK. The program’s a pitiful ancient Delphi thing which I use constantly to copy files around my vast computer herd, and it is so cranky and barnacle-encrusted I keep it away from the light of the internet. ... I wrote it, it looks like starting around 2002; and now it breathes free, once again.... |
|
Usux™, Why We Hate You: Windows Malware 8 InstallationWe interrupt my usual mindless whining to bring you this special now-historic message. You probably can’t buy a windows 8 computer @ 6/18, but just in case: DO NOT!!! PURCHASE A COMPUTER WITH WINDOWS 8. Not only did the giant stupid corporation attempt to stick it down our throats — mostly unsuccessfully, excluding idiots like myself and presumably some innocent demented pilgrims — but they’re finished with it now! THEY’RE NOT GOING TO FIX IT! They’re going to devote all their attention to WINDOWS 10, in a desperate attempt to get someone to buy the c--p they insist on flogging. So broken things, like the winhlp32 mindless catastrophe I just went through, won’t be fixed! ... Because now they want you to upgrade, to Windows 10, and they’ll use their usual technique, which is let the current c--p rot in the wind! ... The free sometimes compulsory Windows 10 upgrade is supposedly over by 9/16, but I carefully inspect every “upgrade” Usux™ emits to my Win7 systems — Usux™’s Win10 desperation was perfectly obvious, and of course they were so desperate only because they want to help us. ... Actually Win10 has gotten detectably better in my recent experience and in a year or two probably won’t be worse than a midly annoying software virus (i.e., like McAfee security software), but last I looked you can still buy windows 7 machines and whenever I am in such a position, so I will do, until I can’t. Perhaps by then the Win10 compulsory upgrade mechanism will be so broken it can be resisted.... So below is my by-now ancient whining about windows 8, which I leave here for a while ’cause of the tips ’n’ tricks at least which at any rate I might need to remember. ...The Thing Itself 2/17. I actually spent more than 2 minutes on a windows 10 system for the first time, and it is indeed noticeably worse than the windows 7 systems I run around the laboratory:
But then it was all cured when I logged-in again, which is good, ’cause the crashing made annoying “dinging” noises and when I killed my clever program, the little taskbar’d stay hidden, forever. Until logout/login. So all’s OK and everything works ’jes great! .... So saddle-up, OS cowboys; Windows 10’s ur gal!.... Ancient Windows 8 WhiningI bought another computer, as we all must someday, and it came with Windows 8. And Usux™ tried to force me to give them an email address and desperately tried to join-me-up with some anonymous undescribed borg-collective mediocrity. There was no “next” or “exit”. So I entered the default c--p, something like (of course the screen cannot be recalled) “someone@somewhere.com”, “password”. Whereupon the pitiful Usux™ robot troll told me that “password” had been used too often, and to protect me from grievous harm they were locking that nasty thing down! ...
I mean couldn’t
they
pay some consultant a million dollars to tell them But my super 8.1 Windows did boot up into the normal old desktop instead of the ridiculous loathsome touchy “charm” junk; I gather that’s the towering achievement of the 8.1 upgrade. ... Now I’ll search the web for the beloved “My Computer” — only to find out it’s been purged, awaiting the return of the King with Windows 10; but most of its scintillating right-click features are hiding with the “Control Panel” on the menu I get when I right-click the stupid modérne-windowish icon in the lower left-hand corner, on the who-ever-knew-what-it’s-called bottom-of-screen now-by-special flight-of-programmers-from-the-coast transparent bar. And I suppose it’s not Usux™’s fault, but McAfee made the usual embarrassing scene when I uninstalled it, finally claiming my computer would be overrun with virii the instant I clicked that button — and I didn’t even know “Windows Defender” aka MSE comes with windows 8! ... And speaking of Usux™’s innocence, some people get upset about all the trash the OEM installs on new computers, but I find it kind of comforting to go through the tedious item-by-item uninstalls; it’s sort-of a new-machine checkout — will it continue working that long? — and I’ve got to wait a while anyway for Usux™ to do its inevitable 5 million updates anyway before charging forward. ... The “Acer Portal” did hang-up uninstalling, always such a comforting indication of real careful s/w development, but the sovereign cure reboot seemed to fix it.... WinhelplessBut Usux™ definitely was responsible for my usual failure to get hold of Winhelp the first two or 17 tries; apparently I was supposed to google for “windows 8.1 winhelp” not just that ol’ tired “windows 8 winhelp”. They’re totally different! ... Windows 8.1 is the operating system that starts with the real desktop, not the icky-poo paw paw charmy kiddie whatever that idiotic thing with the blobs is, which you can still get at any time by clicking the Usux™ logo (and perhaps always if you’re so foolish as to purchase a touch screen-equipped laptop), but I can right-click the logo and select “desktop” to get the more-or-less working thing back — or, it turns-out, just click the stupid logo again. ... And we all want Winhelp of course the better to run antique aka “working” programs. ... And then just for fun some Usux™ idiot broke the whole thing.... Startup Programs? Why’d you want to do that?!?!And for today’s tip ’n’ trick, apparently Win 8 decided the wittle user wuser luser shouldn’t make those nasty startup thingeys, so this guy tells you how. It’s not pretty, but then it never was; basically you have to create the shortcut somewhere, in the Wunnerful Winders File Manager of course, and then somehow locate a startup folder and copy it there. But I’ve got my trusty OwenShow up and running and can leap tall file-explorer windows in a single bound. Fat Borders... And the ridiculous new super-thick kiddie balloon tire fat window borders? Googling “thick windows 8 borders” gets stuff including the usual RegEdit necromancy which I did indeed execute, but my first hit was the extravagantly-advertised “http://www.howtogeek.com/130138/how-to-change-the-window-border-size-in-windows-8/” which is obviously malware, although I’m sure they’d deny everything, as they always do. The necromancy incidentally is, in “HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics”, set “BorderWidth=0” and “PaddedBorderWidth=0” which will utterly crush the stupid fat borders. However I experimented and settled on -30; the 0 values make the borders disappear, and all but impossible to drag with a stupid laptop track pad gadget. Virtual ISOs... And once I had an ISO mounter (sung to “Can You Spare a Dime?”), “MagicDisc”, but it would not go in win8, since Usux™ has safely locked-down all the driver installations so only their rich corporate friends can flog that stuff. With the exception of the kindly German who gives it away in the open source WinCDemu. ... But after endless delving, I discovered Win8 has its own ISO mounter! Just right-click in (file) Explorer on something.ISO, and click “mount” on the context menu. Installing WinCDemu adds another context menu item, something like “mount and select drive” which might be nice, but for almost everyone the built-in’ll be adequate. I mean, Explorer proceeds to open the ISO for you.... Further Tips ’n’ Tricks ’n’ Twitches ...A week or so and the whirling dust in Owenlabs settles down, and I feel I’ve beaten the thing down a little.... For the latest look in non-shimmery stupid transparent taskbars, OpaqueTaskbar is your site. Seems to work, but it requires a resident program to do it every time Win8 starts, because Usux™ loves that shimmery sick-making transparency so much. But only in the taskbar. I.e., the crack windows team forgot when they expurgated Aero™ from the rest of the litter, for that clean new “simple” look....
Fri 11/20/15 10:10 am: Whoa! Screen-grab is back! A version something like “Screen Grabber Installer 16027.zip” worked in my wretched win8 system! I am so joyous. I mean, previous failures might’ve been cockpit error, although I was so annoyed at the Usux™ Snippit that I doubt it, but whatever, this one installed, and worked, twice! Greenshot: A+But then the screen grabber installation on an antique Win7 laptop stopped working! So for your continued screen shotting joy, I can recommend the open-source greenshot, which steals your print-screen key to do its magic — except when it can’t, probably because of the stupid laptop’s function-key vandalism, and then greenshot’s reconfigureability is a little limited, but I finally settled on “alt-End” which seemed to work. And the thing’s a little verbose, but still, it’s free! ... & so that takes care of my precious win7 needs for this week; I suspect a malwarebytes upf--k did screen-grabbed in. ... As for the glorious ever-changing windows 10, eventually I beat it down a bit, but as the weary years wandered on into the Time of the Plague, Usux™ just couldn’t stop themselves and, at least on a recent copy of win10, were engaging in the usual featureitising of their dumb c--p, and so I installed greenshot @ 4/20, and actually once I got its icon on the task bar, I could configure it up nicely, and make it go for control-PrnScrn only....
|