19 December 2024

Original post on defending the purity of the English language

 

Path: gmdzi!unido!mcsun!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!news-server.csri.toronto.edu!utgpu!watserv1!maytag!watdragon!watyew!jdnicoll
From: jdnic...@watyew.uwaterloo.ca (Brian or James)
Newsgroups: rec.arts.sf-lovers
Subject: The King's English
Message-ID: <1990May15.155309.8892@watdragon.waterloo.edu>
Date: 15 May 90 15:53:09 GMT
References: <9005111639.AA25393@rutgers.edu> <8052@paperboy.OSF.ORG> <4126@thebes.Thalatta.COM> <1990May15.083934.2532@Neon.Stanford.EDU>
Sender: dae...@watdragon.waterloo.edu (Owner of Many System Processes)
Organization: University of Waterloo
Lines: 11
Posted: Tue May 15 16:53:09 1990


 The problem with defending the purity of the English language
is that English is about as pure as a cribhouse whore. We don't
just borrow words; on occasion, English has pursued other languages
down alleyways to beat them unconscious and riffle their pockets for 
new vocabulary. I have a friend who has a wonderful tirade about
the incorrectness of trying to 
	1: Map Latin grammar onto English 
  He's an English teacher, BTW. I don't think he's likely to win
mass coverts, alas.
					JDN     

Formerly at this Google Groups link to their Usenet archives, but it seems to be broken.

Faux Pas

The problem with defending the purity of the English language is that English is about as pure as a cribhouse whore. We don't just borrow words; on occasion, English has pursued other languages down alleyways to beat them unconscious and riffle their pockets for new vocabulary.

JDN

		"Faux Pas"

        English comes
        on little fox paws.

        It sits looking
        over German and French
        on silent haunches
        and then mugs them.

			-- Apologies to Carl Sandburg

16 September 2024

Microsoft isn't doing much QA on their new-user experience.



Microsoft isn't doing much QA on their new-user experience.

29 October 2023

This is too good not to share (Enterprise Cobolscript).

 Saved from my old blog c/o the Internet Archive:


"Enterprise COBOL supports Java™-based object-oriented syntax to facilitate the interoperation of COBOL and Java programs."

This is just too good not to share
DATA DIVISION.
  WORKING-STORAGE SECTION.
    01 CURR-ARG-COUNT PIC 9(9) BINARY VALUE ZERO.
  LINKAGE SECTION.
    01 ARG-COUNT PIC 9(9)BINARY.
    01 ARG-LENGTH-LIST.
       05 ARG-LENGTH-ADDR POINTER OCCURS 1 TO 99999 DEPENDING ON CURR-ARG-COUNT.
    01 ARG-LIST.
       05 ARG-ADDR POINTER OCCURS 1 TO 99999 DEPENDING ON CURR-ARG-COUNT.
    01 ARG-LENGTH PIC 9(9) BINARY.
    01 ARG PIC X(65536).
PROCEDURE DIVISION USING ARG-COUNT ARG-LENGTH-LIST ARG-LIST.
That's Enterprise COBOL for main(int ac, char *av[]). But you ain't seen nothin' yet... you thought ADD ONE TO COBOL GIVING COBOL was a joke:
CBL DLL,THREAD,PGMNAME(LONGMIXED)
IDENTIFICATION   DIVISION.
CLASS-ID.
  ACCOUNT  INHERITS  BASE.
*
ENVIRONMENT   DIVISION.
  CONFIGURATION   SECTION.
    REPOSITORY.
      CLASS   BASE     IS  "java.lang.OBJECT"
      CLASS   ACCOUNT  IS  "Account".
*
IDENTIFICATION   DIVISION.
  FACTORY.
    DATA   DIVISION.
      WORKING-STORAGE   SECTION.
        01   NUMBER-OF-ACCOUNTS  PIC  9(6)  VALUE  ZERO.
*   ...
*
  OBJECT.
    DATA   DIVISION.
      WORKING-STORAGE   SECTION.
        01   ACCOUNTNUMBER   PIC  9(6).
        01   ACCOUNTBALANCE  PIC  S9(9)  VALUE  ZERO.
*
    PROCEDURE   DIVISION.
*
      IDENTIFICATION   DIVISION.
        METHOD-ID.   "getBalance".
      DATA   DIVISION.
         LINKAGE   SECTION.
           01   OUTBALANCE  PIC  S9(9)  BINARY.
 *
      PROCEDURE   DIVISION  RETURNING  OUTBALANCE.
         MOVE   ACCOUNTBALANCE  TO  OUTBALANCE.
      END METHOD "getBalance".
* ...
*
  END   OBJECT.
*
END CLASS ACCOUNT.


05 January 2019

Windows 10 "invalid value for registry" opening image file

Googling for this message gets you lots of closed threads in Microsoft's forums with solutions that didn't work for me, usually involving registry edits or powershell commands.

So, I'm posting something here in the hope that someone else will be helped when they search for it.

At some point, some Windows update in the past year (posting in January 2019) removed or broke the "photos" app. I don't use it explicitly, so I never noticed that it was gone.

Reinstalling it from the Windows app store fixed the problem completely.

02 December 2016

Horrible Hacks

A confession inspired by this article... here's one of my horrible hacks.

I once ran out of space for buffers in a program on the PDP-11, so I re-used some of the stack space above main()s entry for extra scratch space, and then made sure main() never returned. There was a bunch of memory (over a kilobyte!) at the top of stack containing the environment and command line arguments, so that was space I didn't need once I started. So long as I scanned them and stashed anything of value before I needed to use the space, anyway.

But later it turned out I needed the environment back when I wanted to run another program so the first thing I did was write() the environment to a file, and then when I called anything I read() that file back into place between the fork() and exec().
 
So, what horrible hacks are you guiltily proud of?
 

28 November 2016

Clinton is not pushing for an audit

A rare post, and a rarer topical one without any snark or attempts at humor.

Hillary Clinton and her team is NOT 'pushing for', 'supporting', or otherwise taking part in the effort to have any states electoral results audited and/or recounted.

They are going to participate in any recounts that occur, and they pretty much have to simply because their opponents are going to be involved. But to claim that this means they're part of the push for recounts is at the best misplaced enthusiasm.

And yet a lot of sites, including the Guardian and even Snopes, are talking about Clinton's sudden reversal, based on this post by Marc Elias on Medium.

The post starts out by rejecting the necessity of a special effort to recount these states, and repeats that, good and hard, with details as to why it's not necessary, for several paragraphs. Then it finally makes the most lukewarm announcement possible that now that a recount has been initiated they will participate, and if a recount happens in the other states, they will participate there as well.

Because we had not uncovered any actionable evidence of hacking or outside attempts to alter the voting technology, we had not planned to exercise this option ourselves, but now that a recount has been initiated in Wisconsin, we intend to participate in order to ensure the process proceeds in a manner that is fair to all sides. If Jill Stein follows through as she has promised and pursues recounts in Pennsylvania and Michigan, we will take the same approach in those states as well. We do so fully aware that the number of votes separating Donald Trump and Hillary Clinton in the closest of these states — Michigan — well exceeds the largest margin ever overcome in a recount. But regardless of the potential to change the outcome in any of the states, we feel it is important, on principle, to ensure our campaign is legally represented in any court proceedings and represented on the ground in order to monitor the recount process itself.

That's all. Participation, if and when recounts occur, to cover their legal behinds.

What does this participation entail?

According to the New York Times, this won't involve any material support, but be limited to paying for the presence of their lawyers to monitor the process.

This is basically the minimum level of engagement they could possibly take. This is hardly a reversal. It is not support for Jill Stein's efforts. It is not endorsement nor is it pushing for the recount.

Now... they may take a stronger position on the recount in the future, but as of the morning of the 28th of November, 2016 this is as far as they have gone.