Some Basic Statistics

I've always been fascinated by the essential statistical algorithms. While there are numerous statistical libraries, the simple measures of central tendency (mean, media, mode, standard deviation) have some interesting features.
Well. Interesting to me.
First, some basics.
def s0( samples ):
    return len(samples) # sum(x**0 for x in samples …
more ...




The Permissions Issue

Why? Why are Enterprise Computers so hard to use? What is it about computers that terrifies corporate IT? They're paying lots of money to have me sit around and wait for mysterious approver folks to decide if I can be given permission to install development tools. (Of course, the real …

more ...

Package Deal for Learning Python

If you're very new to programming in general, Python's a great place to start.
There are many, many tutorials. I won't even try to summarize them. They're generally good. And the more you read, the more you learn.
Moving past the n00bz needs, there are some more advanced books. Here's …
more ...



Stingray 4.4 Update -- the Posix split command applied to COBOL files

Here's an interesting problem. Implement the split command for mainframe COBOL EBCDIC files with their BDW and RDW headers.

The conventional split can't handle COBOL EBCDIC files because they don't have sensible \n line breaks. Translating an EBCDIC file to ASCII is high-risk because COMP and COMP-3 fields will be …

more ...