nikhil.io

On Never Giving Up

Whenever I get discouraged and want to quit something, I remember the words of my then 3 year-old after she puked carrots all over the living room floor: “I’m gonna need more carrots.”

Jessica Valenti

Now write down “You’re gonna need more carrots” on a sticky and look at it from time to time ♥️

“Vertical Hanging Indent” is the One True Indentation Style

With the trailing comma and sorted properties/imports/arguments/whatever. Makes symbols easy to scan from top-to-bottom and looks like this in Python:

from constants import (
    EXIT_CODE_ARTICLE_ROOT_NOT_FOUND,
    EXIT_CODE_NOT_A_GIT_REPOSITORY,
    EXIT_CODE_NOT_AN_ABSOLUTE_PATH,
    MARKDOWN_EXTENSION_CONFIG,
    MARKDOWN_EXTENSIONS,
    MARKDOWN_FILE_EXTENSION,
    MAX_NUMBER_OF_WORKERS,
    PATHS_TO_REMOVE,
)

In which universe are these shittier alternatives considered readable or maintainable?

from constants import (MAX_CHARS_IN_SEARCH_RESULTS,
                       MAX_CHARS_SURROUNDING_SEARCH_HIGHLIGHT,
                       MAX_SEARCH_RESULTS, MIN_CHARS_IN_SEARCH_TERM,
                       SEARCH_INDEX_PATH)

or

from constants import (MAX_CHARS_IN_SEARCH_RESULTS,
                       MAX_CHARS_SURROUNDING_SEARCH_HIGHLIGHT,
                       MAX_SEARCH_RESULTS,
                       MIN_CHARS_IN_SEARCH_TERM,
                       SEARCH_INDEX_PATH)

or

from constants import (
    MAX_CHARS_IN_SEARCH_RESULTS, MAX_CHARS_SURROUNDING_SEARCH_HIGHLIGHT,
    MAX_SEARCH_RESULTS, MIN_CHARS_IN_SEARCH_TERM, SEARCH_INDEX_PATH)

That’s for Python and the modes are from the excellent isort’s docs. I am glad that Prettier does VHI by default (although you have to specify the trailing-comma and object properties are not sorted.)

See also: K&R is the One True Indentation Style

Attorneys general from over 40 states urge Facebook to cancel plans for Instagram for kids

This is for children under 13. Because children over 13 engage with Social Media in very healthy and fruitful ways.

“They are also simply too young to navigate the complexities of what they encounter online, including inappropriate content and online relationships where other users, including predators, can cloak their identities using the anonymity of the internet,” the letter reads.

[…] “Without a doubt, this is a dangerous idea that risks the safety of our children and puts them directly in harm’s way,” New York’s attorney general, Letitia James, said in a statement Monday. “There are too many concerns to let Facebook move forward with this ill-conceived idea, which is why we are calling on the company to abandon its launch of Instagram Kids. We must continue to ensure the health and wellness of our next generation and beyond.”

What AG James fails to understand is that cradle-to-grave engagement greatly enhances Shareholder Value. This is the only thing in the world that matters. Here’s the Plastic Shithead Overlord who runs the sordid business:

“I think helping people stay connected with friends and learn about different content online is broadly positive,” Zuckerberg said. “There are clearly issues that need to be thought through and worked out, including how parents can control the experience of kids, especially of kids under the age of 13 but I think that something like this could be quite helpful for a lot of people.”

And why should Value be affected by the few tens of thousands of children who may not enjoy the the “broadly positive” effects of our product which has issues to be worked out?

You see, Value cannot (and should not) be shackled by the kind of careful research and measured approach that considers a target audience’s well-being. If such research by the so-called-experts establishes that our venture is, indeed, harmful to children, it will (and ought to be) brushed aside against their remonstrations. All Facebook does is “hold a mirror up to society”1 and extract Value from whatever it finds ♥️

A shithouse company run by terrible human beings. But I hear the compensation is… *chef’s kiss*.

  1. I’ve heard this lovely sentiment from quite a few Facebook employees.↩︎

The Sand Octopus

Octopus kaurna lacks chromatophores like other octopuses. So it just burrows instead 😍🐙. It’s the only known octopus to bury itself completely like this.

The process begins with the octopus using its siphon to inject water into the sand, creating quicksand-like conditions which enable burrowing. Then, it uses its arms to burrow into the sand. Two arms will be extended to the surface, creating a ventilation shaft. At the same time, O. kaurna will use mucus to stabilize the shape of the burrow. Finally, the octopus will retract its two arms and push out loose sand with its siphon, creating a mucus-lined, ventilated burrow to rest in.

Octopus kaurna, Wikipedia
Lady Snowblood

Lady Snowblood (1973)

IMDb

Rating: A

The OG “roaring rampage of revenge.” Watched with LD. Endlessly creative and I imagine way ahead of its time. “Oh so that’s what Tarantino was paying homage to.” 🙏

lady snowblood

On Doing Things Right and Doing the Right Thing

There’s a difference between doing things right and doing the right thing. Doing the right thing is wisdom, and effectiveness. Doing things right is efficiency. The curious thing is the righter you do the wrong thing the wronger you become. If you’re doing the wrong thing and you make a mistake and correct it you become wronger. So it’s better to do the right thing wrong than the wrong thing right. Almost every major social problem that confronts us today is a consequence of trying to do the wrong things righter.

Peter Drucker

A Most Horrifying Description of Rabies

by ZeriMasterpeace

Rabies. It’s exceptionally common, but people just don’t run into the animals that carry it often. Skunks especially, and bats.

Let me paint you a picture.

You go camping, and at midday you decide to take a nap in a nice little hammock. While sleeping, a tiny brown bat, in the “rage” stages of infection is fidgeting in broad daylight, uncomfortable, and thirsty (due to the hydrophobia) and you snort, startling him. He goes into attack mode.

Except you’re asleep, and he’s a little brown bat, so weighs around 6 grams. You don’t even feel him land on your bare knee, and he starts to bite. His teeth are tiny. Hardly enough to even break the skin, but he does manage to give you the equivalent of a tiny scrape that goes completely unnoticed.

Rabies does not travel in your blood. In fact, a blood test won’t even tell you if you’ve got it. (Antibody tests may be done, but are useless if you’ve ever been vaccinated.)

You wake up, none the wiser. If you notice anything at the bite site at all, you assume you just lightly scraped it on something.

The bomb has been lit, and your nervous system is the wick. The rabies will multiply along your nervous system, doing virtually no damage, and completely undetectable. You literally have NO symptoms.

It may be four days, it may be a year, but the camping trip is most likely long forgotten. Then one day your back starts to ache… Or maybe you get a slight headache?

At this point, you’re already dead. There is no cure.

(The sole caveat to this is the Milwaukee Protocol, which leaves most patients dead anyway, and the survivors mentally disabled, and is seldom done - see below).

There’s no treatment. It has a 100% kill rate.

Absorb that. Not a single other virus on the planet has a 100% kill rate. Only rabies. And once you’re symptomatic, it’s over. You’re dead.

So what does that look like?

Your headache turns into a fever, and a general feeling of being unwell. You’re fidgety. Uncomfortable. And scared. As the virus that has taken its time getting into your brain finds a vast network of nerve endings, it begins to rapidly reproduce, starting at the base of your brain… Where your “pons” is located. This is the part of the brain that controls communication between the rest of the brain and body, as well as sleep cycles.

Next you become anxious. You still think you have only a mild fever, but suddenly you find yourself becoming scared, even horrified, and it doesn’t occur to you that you don’t know why. This is because the rabies is chewing up your amygdala.

As your cerebellum becomes hot with the virus, you begin to lose muscle coordination, and balance. You think maybe it’s a good idea to go to the doctor now, but assuming a doctor is smart enough to even run the tests necessary in the few days you have left on the planet, odds are they’ll only be able to tell your loved ones what you died of later.

You’re twitchy, shaking, and scared. You have the normal fear of not knowing what’s going on, but with the virus really fucking the amygdala this is amplified a hundred fold. It’s around this time the hydrophobia starts.

You’re horribly thirsty, you just want water. But you can’t drink. Every time you do, your throat clamps shut and you vomit. This has become a legitimate, active fear of water. You’re thirsty, but looking at a glass of water begins to make you gag, and shy back in fear. The contradiction is hard for your hot brain to see at this point. By now, the doctors will have to put you on IVs to keep you hydrated, but even that’s futile. You were dead the second you had a headache.

You begin hearing things, or not hearing at all as your thalamus goes. You taste sounds, you see smells, everything starts feeling like the most horrifying acid trip anyone has ever been on. With your hippocampus long under attack, you’re having trouble remembering things, especially family.

You’re alone, hallucinating, thirsty, confused, and absolutely, undeniably terrified. Everything scares the literal shit out of you at this point. These strange people in lab coats. These strange people standing around your bed crying, who keep trying to get you “drink something” and crying. And it’s only been about a week since that little headache that you’ve completely forgotten. Time means nothing to you anymore. Funny enough, you now know how the bat felt when he bit you.

Eventually, you slip into the “dumb rabies” phase. Your brain has started the process of shutting down. Too much of it has been turned to liquid virus. Your face droops. You drool. You’re all but unaware of what’s around you. A sudden noise or light might startle you, but for the most part, it’s all you can do to just stare at the ground. You haven’t really slept for about 72 hours.

Then you die. Always, you die.

And there’s not one… fucking… thing… anyone can do for you.

Then there’s the question of what to do with your corpse. I mean, sure, burying it is the right thing to do. But the fucking virus can survive in a corpse for years. You could kill every rabid animal on the planet today, and if two years from now, some moist, preserved, rotten hunk of used-to-be brain gets eaten by an animal, it starts all over.

So yeah, rabies scares the shit out of me. And it’s fucking EVERYWHERE. (Source: Spent a lot of time working with rabies. Would still get my vaccinations if I could afford them.)


Each time this gets reposted, there is a TON of misinformation that follows by people who simply don’t know, or have heard “information” from others who were ill informed:

Only x number of people have died in the U.S. in the past x years. Rabies is really rare.

Yes, deaths from rabies are rare in the United States, in the neighborhood of 2-3 per year. This does not mean rabies is rare. The reason that mortality is so rare in the U.S. is due to a very aggressive treatment protocol of all bite cases in the United States: If you are bitten, and you cannot identify the animal that bit you, or the animal were to die shortly after biting you, you will get post exposure treatment. That is the protocol.

Post exposure is very effective (almost 100%) if done before you become symptomatic. It involves a series of immunoglobulin shots - many of which are at the site of the bite - as well as the vaccine given over the span of a month. (Fun fact - if you’re vaccinated for rabies, you may be able to be an immunoglobulin donor!)

It’s not nearly as bad as was rumored when I was a kid. Something about getting shots in the stomach. Nothing like that.

In countries without good treatment protocols rabies is rampant. India alone sees 20,000 deaths from rabies PER YEAR.

The “why did nobody die of rabies in the past if it’s so dangerous?” argument.

There were entire epidemics of rabies in the past, so much so that suicide or murder of those suspected to have rabies were common.

In North America, the first case of human death by rabies wasn’t reported until 1768. This is because Rabies does not appear to be native to North America, and it spread very slowly. So slowly, in fact, that until the mid 1990’s, it was assumed that Canada and Northern New York didn’t have rabies at all. This changed when I was personally one of the first to send in a positive rabies specimen - a raccoon - which helped spawn a cooperative U.S. / Canada rabies bait drop some time between 1995 and 1997 (my memory’s shot).

Unfortunately, it was too late. Rabies had already crossed into Canada.

There are still however some countries (notably, Australia, where everything ELSE is trying to kill you) that still does not have Rabies.

Lots of people have survived rabies using the Milwaukee Protocol.

False. ONE woman did, and she is still recovering to this day (some 16+ years later). There’s also the possibility that she only survived due to either a genetic immunity, or possibly even was inadvertently “vaccinated” some other way. All other treatments ultimately failed, even the others that were reported as successes eventually succumbed to the virus. Almost all of the attributed “survivors” actually received post-exposure treatment before becoming symptomatic and many of THEM died anyway.

Bats don’t have rabies all that often. This is just a scare tactic.

False. To date, 6% of bats that have been “captured” or come into contact with humans were rabid.. This number is a lot higher when you consider that it equates to one in seventeen bats. If the bat is allowing you to catch/touch it, the odds that there’s a problem are simply too high to ignore.

You have to get the treatment within 72 hours, or it won’t work anyway.

False. The rabies virus travels via nervous system, and can take several years to reach the brain depending on the path it takes. If you’ve been exposed, it’s NEVER too late to get the treatment, and just because you didn’t die in a week does not mean you’re safe. A case of a guy incubating the virus for 8 years.

At least I live in Australia!

No.

Please, please, PLEASE stop posting bad information every time this comes up. Rabies is not something to be shrugged off. And sadly, this kind of misinformation killed a 6 year old just this Sunday. Stop it.

WandaVision

WandaVision (2021)

IMDb

Rating: B+

Wonderful, wonderful stuff with the TV Eras. So creative! Slightly disappointing in how an intriguing and promising Twilight Zone-like plot was resolved via a good old Marvel laser shootout1. Can’t wait to read an analysis of how it was a ‘triumphant exploration of Grief’ (which it really was.)

  1. Or whatever. Energy Beam. Aura Projection. I don’t know.↩︎

On Privatizing Gain and Socializing Loss

Though capitalism has had a longer lease of life than some of us would’ve predicted or that many of our ancestors of the socialist movement did predict or allow, it still produces the fax machine and the microchip and still able to lower its costs and still able to flatten its distribution curve very well. It’s central contradiction remains the same; It produces publicly, it produces socially, it conscripts and it mobilizes and educates whole new work forces of people, it has an enormous transforming liberating effect in that respect but it appropriates privately. The resources and the natural abilities are held in common, the earth belongs to us all. You can’t buy your child a place at a school with better ozone. You can’t pretend that the world is other than what it is which is one and human and natural and in common. Though capitalism must do that because it must make us all work until the point when the social product is to be shared. When suddenly the appropriation is private and suddenly Donald Trump outvotes any congressman you can name and anyone with a vote because of the ownership of capital and its that effect, that annexation of what we all do and must do — the influence of labor and intelligence and creativity on nature; the same air, the same water that we must breathe and drink. That means that we may not have long in which to make this critique of the system sing again and relevant again and incisive again.

Christopher Hitchens, Is Socialism Obsolete? (Recorded in Washington DC on October 11, 1989)

“Hypocrisy is the Vaseline of Political Intercourse”

Somoza called himself “president”. The Sandinistas called him a “dictator”. They called themselves “freedom fighters”. He called them “Commie terrorists”. So they kicked him out then they were in charge. Ronald Reagan called them “Commie oppressors” and he sent in the Contras, whom he called “freedom fighters” and they called “mercenary terrorists.”

So basically, what you’re called depends largely on who’s doing the talking because hypocrisy is the vaseline of political intercourse. They didn’t like what they saw, so they changed it to make it sound better. Just like in these personal ads. It sounds great; but it’s all lies.

Billy Connolly
Operation Odessa

Operation Odessa (2018)

IMDb

Rating: A

A Russian mobster, a Cuban spy and a smooth operator from Miami scheme to sell a Soviet submarine to a Colombian drug cartel for $35 million.

Everything leading up to this sale is crazier than the tagline above. What a ride.

Pages Full of Links to Cool Things

Terra, Gossip’s Web, and Marijn’s Linkroll remind my (oldass) self of a more innocent time when one would ‘surf the internet’, come by a list of links another human being liked, and discover all sorts of strange and wacky handmade things. I think I’m saying I really miss how fun something like Geocities was.

God this is really happening

Update

Blogsurf.io is another blog aggregator managed by a human being.

The Diabetic Racist

Matt Rowan is a family man, a Christian, and a former youth pastor (so we’re off to a fantastic start already). At a high school basketball game, this pillar of the community called children “f****** n******s” for that grave sin of actually kneeling during the national anthem.

On the video, Rowan is heard to refer to the players as “f****** n******.” He added, "I hope Norman gets their ass kicked,” and then "I hope they lose. C’mon Midwest City. They’re gonna kneel like that? Hell no.”

Brian D. King, “Local man apologizes for racist remarks caught on hot mic at basketball game”, Tahlequah Daily Press

Now in what has to be the most shameless excuse for reprehensible behaviour I’ve read to date, he blames his MAGA1 outburst on his blood sugar!

I will state that I suffer Type 1 Diabetes, and during the game, my sugar was spiking. While not excusing my remarks, it is not unusual when my sugar spikes that I become disoriented and often say things that are not appropriate, as well as hurtful. I do not believe that I would have made such horrible statements absent my sugar spiking.

He helpfully adds:

While the comments I made would certainly seem to indicate that I am racist, I am not, I have never considered myself to be racist, and in short cannot explain why I made these comments.

I think most reasonable people would have a simple one-word explanation. And to quote Conservative Hannibal Lecter: “While the body parts in the fridge would certainly seem to indicate that I am a psychopathic murderer, I have never considered myself to be one.”

No word has been issued as far as repercussions for the Hulbert employee.

In Rowan’s statement, he said he believed the microphone to be off, but “that is no excuse; such comments should have never been uttered.”

Like almost all this-is-really-not-who-I-am people, he’s only sorry he got caught.

  1. One guess as to whom Mr. Rowan voted for.↩︎

Real Programmers Don’t Use PASCAL

by Ed Post, Copyright (c) 1982

Back in the good old days – the “Golden Era” of computers, it was easy to separate the men from the boys (sometimes called “Real Men” and “Quiche Eaters” in the literature). During this period, the Real Men were the ones that understood computer programming, and the Quiche Eaters were the ones that didn’t. A real computer programmer said things like “DO 10 I=1,10” and “ABEND” (they actually talked in capital letters, you understand), and the rest of the world said things like “computers are too complicated for me” and “I can’t relate to computers – they’re so impersonal”. (A previous work [1] points out that Real Men don’t “relate” to anything, and aren’t afraid of being impersonal.)

But, as usual, times change. We are faced today with a world in which little old ladies can get computerized microwave ovens, 12 year old kids can blow Real Men out of the water playing Asteroids and Pac-Man, and anyone can buy and even understand their very own Personal Computer. The Real Programmer is in danger of becoming extinct, of being replaced by high-school students with TRASH-80s!

There is a clear need to point out the differences between the typical high-school junior Pac-Man player and a Real Programmer. Understanding these differences will give these kids something to aspire to – a role model, a Father Figure. It will also help employers of Real Programmers to realize why it would be a mistake to replace the Real Programmers on their staff with 12 year old Pac-Man players (at a considerable salary savings).

LANGUAGES

The easiest way to tell a Real Programmer from the crowd is by the programming language he (or she) uses. Real Programmers use FORTRAN. Quiche Eaters use PASCAL. Nicklaus Wirth, the designer of PASCAL, was once asked, “How do you pronounce your name?”. He replied “You can either call me by name, pronouncing it ‘Veert’, or call me by value, ‘Worth’.” One can tell immediately from this comment that Nicklaus Wirth is a Quiche Eater. The only parameter passing mechanism endorsed by Real Programmers is call-by-value-return, as implemented in the IBM/370 FORTRAN G and H compilers. Real programmers don’t need abstract concepts to get their jobs done: they are perfectly happy with a keypunch, a FORTRAN IV compiler, and a beer.

  • Real Programmers do List Processing in FORTRAN.
  • Real Programmers do String Manipulation in FORTRAN.
  • Real Programmers do Accounting (if they do it at all) in FORTRAN.
  • Real Programmers do Artificial Intelligence programs in FORTRAN.

If you can’t do it in FORTRAN, do it in assembly language. If you can’t do it in assembly language, it isn’t worth doing.

STRUCTURED PROGRAMMING

Computer science academicians have gotten into the “structured programming” rut over the past several years. They claim that programs are more easily understood if the programmer uses some special language constructs and techniques. They don’t all agree on exactly which constructs, of course, and the examples they use to show their particular point of view invariably fit on a single page of some obscure journal or another – clearly not enough of an example to convince anyone. When I got out of school, I thought I was the best programmer in the world. I could write an unbeatable tic-tac-toe program, use five different computer languages, and create 1000 line programs that WORKED. (Really!) Then I got out into the Real World. My first task in the Real World was to read and understand a 200,000 line FORTRAN program, then speed it up by a factor of two. Any Real Programmer will tell you that all the Structured Coding in the world won’t help you solve a problem like that – it takes actual talent. Some quick observations on Real Programmers and Structured Programming:

  • Real Programmers aren’t afraid to use GOTOs.
  • Real Programmers can write five page long DO loops without getting confused.
  • Real Programmers enjoy Arithmetic IF statements because they make the code more interesting.
  • Real Programmers write self-modifying code, especially if it saves them 20 nanoseconds in the middle of a tight loop.
  • Programmers don’t need comments: the code is obvious.
  • Since FORTRAN doesn’t have a structured IF, REPEAT … UNTIL, or CASE statement, Real Programmers don’t have to worry about not using them. Besides, they can be simulated when necessary using assigned GOTOs.

Data structures have also gotten a lot of press lately. Abstract Data Types, Structures, Pointers, Lists, and Strings have become popular in certain circles. Wirth (the above-mentioned Quiche Eater) actually wrote an entire book [2] contending that you could write a program based on data structures, instead of the other way around. As all Real Programmers know, the only useful data structure is the array. Strings, lists, structures, sets – these are all special cases of arrays and and can be treated that way just as easily without messing up your programing language with all sorts of complications. The worst thing about fancy data types is that you have to declare them, and Real Programming Languages, as we all know, have implicit typing based on the first letter of the (six character) variable name.

OPERATING SYSTEMS

What kind of operating system is used by a Real Programmer? CP/M? God forbid – CP/M, after all, is basically a toy operating system. Even little old ladies and grade school students can understand and use CP/M.

Unix is a lot more complicated of course – the typical Unix hacker never can remember what the PRINT command is called this week – but when it gets right down to it, Unix is a glorified video game. People don’t do Serious Work on Unix systems: they send jokes around the world on USENET and write adventure games and research papers.

No, your Real Programmer uses OS/370. A good programmer can find and understand the description of the IJK305I error he just got in his JCL manual. A great programmer can write JCL without referring to the manual at all. A truly outstanding programmer can find bugs buried in a 6 megabyte core dump without using a hex calculator. (I have actually seen this done.)

OS/370 is a truly remarkable operating system. It’s possible to destroy days of work with a single misplaced space, so alertness in the programming staff is encouraged. The best way to approach the system is through a keypunch. Some people claim there is a Time Sharing system that runs on OS/370, but after careful study I have come to the conclusion that they are mistaken.

PROGRAMMING TOOLS

What kind of tools does a Real Programmer use? In theory, a Real Programmer could run his programs by keying them into the front panel of the computer. Back in the days when computers had front panels, this was actually done occasionally. Your typical Real Programmer knew the entire bootstrap loader by memory in hex, and toggled it in whenever it got destroyed by his program. (Back then, memory was memory – it didn’t go away when the power went off. Today, memory either forgets things when you don’t want it to, or remembers things long after they’re better forgotten.) Legend has it that Seymour Cray, inventor of the Cray I supercomputer and most of Control Data’s computers, actually toggled the first operating system for the CDC7600 in on the front panel from memory when it was first powered on. Seymour, needless to say, is a Real Programmer.

One of my favorite Real Programmers was a systems programmer for Texas Instruments. One day, he got a long distance call from a user whose system had crashed in the middle of some important work. Jim was able to repair the damage over the phone, getting the user to toggle in disk I/O instructions at the front panel, repairing system tables in hex, reading register contents back over the phone. The moral of this story: while a Real Programmer usually includes a keypunch and lineprinter in his toolkit, he can get along with just a front panel and a telephone in emergencies.

In some companies, text editing no longer consists of ten engineers standing in line to use an 029 keypunch. In fact, the building I work in doesn’t contain a single keypunch. The Real Programmer in this situation has to do his work with a text editor program. Most systems supply several text editors to select from, and the Real Programmer must be careful to pick one that reflects his personal style. Many people believe that the best text editors in the world were written at Xerox Palo Alto Research Center for use on their Alto and Dorado computers [3]. Unfortunately, no Real Programmer would ever use a computer whose operating system is called SmallTalk, and would certainly not talk to the computer with a mouse.

Some of the concepts in these Xerox editors have been incorporated into editors running on more reasonably named operating systems. EMACS and VI are probably the most well known of this class of editors. The problem with these editors is that Real Programmers consider “what you see is what you get” to be just as bad a concept in text editors as it is in women. No, the Real Programmer wants a “you asked for it, you got it” text editor – complicated, cryptic, powerful, unforgiving, dangerous. TECO, to be precise.

It has been observed that a TECO command sequence more closely resembles transmission line noise than readable text [4]. One of the more entertaining games to play with TECO is to type your name in as a command line and try to guess what it does. Just about any possible typing error while talking with TECO will probably destroy your program, or even worse – introduce subtle and mysterious bugs in a once working subroutine.

For this reason, Real Programmers are reluctant to actually edit a program that is close to working. They find it much easier to just patch the binary object code directly, using a wonderful program called SUPERZAP (or its equivalent on non-IBM machines). This works so well that many working programs on IBM systems bear no relation to the original FORTRAN code. In many cases, the original source code is no longer available. When it comes time to fix a program like this, no manager would even think of sending anything less than a Real Programmer to do the job – no Quiche Eating structured programmer would even know where to start. This is called “job security”.

Some programming tools NOT used by Real Programmers:

  • FORTRAN preprocessors like MORTRAN and RATFOR. The Cuisinarts of programming – great for making Quiche. See comments above on structured programming.
  • Source language debuggers. Real Programmers can read core dumps.
  • Compilers with array bounds checking. They stifle creativity, destroy most of the interesting uses for EQUIVALENCE, and make it impossible to modify the operating system code with negative subscripts. Worst of all, bounds checking is inefficient.
  • Source code maintainance systems. A Real Programmer keeps his code locked up in a card file, because it implies that its owner cannot leave his important programs unguarded [5].

THE REAL PROGRAMMER AT WORK

Where does the typical Real Programmer work? What kind of programs are worthy of the efforts of so talented an individual? You can be sure that no real Programmer would be caught dead writing accounts-receivable programs in COBOL, or sorting mailing lists for People magazine. A Real Programmer wants tasks of earth-shaking importance (literally!):

  • Real Programmers work for Los Alamos National Laboratory, writing atomic bomb simulations to run on Cray I supercomputers.
  • Real Programmers work for the National Security Agency, decoding Russian transmissions.
  • It was largely due to the efforts of thousands of Real Programmers working for NASA that our boys got to the moon and back before the cosmonauts.
  • The computers in the Space Shuttle were programmed by Real Programmers.
  • Programmers are at work for Boeing designing the operating systems for cruise missiles.

Some of the most awesome Real Programmers of all work at the Jet Propulsion Laboratory in California. Many of them know the entire operating system of the Pioneer and Voyager spacecraft by heart. With a combination of large ground-based FORTRAN programs and small spacecraft-based assembly language programs, they can to do incredible feats of navigation and improvisation, such as hitting ten-kilometer wide windows at Saturn after six years in space, and repairing or bypassing damaged sensor platforms, radios, and batteries. Allegedly, one Real Programmer managed to tuck a pattern-matching program into a few hundred bytes of unused memory in a Voyager spacecraft that searched for, located, and photographed a new moon of Jupiter.

One plan for the upcoming Galileo spacecraft mission is to use a gravity assist trajectory past Mars on the way to Jupiter. This trajectory passes within 80 +/- 3 kilometers of the surface of Mars. Nobody is going to trust a PASCAL program (or PASCAL programmer) for navigation to these tolerances.

As you can tell, many of the world’s Real Programmers work for the U.S. Government, mainly the Defense Department. This is as it should be. Recently, however, a black cloud has formed on the Real Programmer horizon.

It seems that some highly placed Quiche Eaters at the Defense Department decided that all Defense programs should be written in some grand unified language called “ADA” (registered trademark, DoD). For a while, it seemed that ADA was destined to become a language that went against all the precepts of Real Programming – a language with structure, a language with data types, strong typing, and semicolons. In short, a language designed to cripple the creativity of the typical Real Programmer. Fortunately, the language adopted by DoD has enough interesting features to make it approachable: it’s incredibly complex, includes methods for messing with the operating system and rearranging memory, and Edsgar Dijkstra doesn’t like it [6]. (Dijkstra, as I’m sure you know, was the author of “GoTos Considered Harmful” – a landmark work in programming methodology, applauded by Pascal Programmers and Quiche Eaters alike.) Besides, the determined Real Programmer can write FORTRAN programs in any language.

The real programmer might compromise his principles and work on something slightly more trivial than the destruction of life as we know it, providing there’s enough money in it. There are several Real Programmers building video games at Atari, for example. (But not playing them. A Real Programmer knows how to beat the machine every time: no challange in that.) Everyone working at LucasFilm is a Real Programmer. (It would be crazy to turn down the money of 50 million Star Wars fans.) The proportion of Real Programmers in Computer Graphics is somewhat lower than the norm, mostly because nobody has found a use for Computer Graphics yet. On the other hand, all Computer Graphics is done in FORTRAN, so there are a fair number people doing Graphics in order to avoid having to write COBOL programs.

THE REAL PROGRAMMER AT PLAY

Generally, the Real Programmer plays the same way he works – with computers. He is constantly amazed that his employer actually pays him to do what he would be doing for fun anyway, although he is careful not to express this opinion out loud. Occasionally, the Real Programmer does step out of the office for a breath of fresh air and a beer or two. Some tips on recognizing real programmers away from the computer room:

  • At a party, the Real Programmers are the ones in the corner talking about operating system security and how to get around it.
  • At a football game, the Real Programmer is the one comparing the plays against his simulations printed on 11 by 14 fanfold paper.
  • At the beach, the Real Programmer is the one drawing flowcharts in the sand.
  • A Real Programmer goes to a disco to watch the light show.
  • At a funeral, the Real Programmer is the one saying “Poor George. And he almost had the sort routine working before the coronary.”
  • In a grocery store, the Real Programmer is the one who insists on running the cans past the laser checkout scanner himself, because he never could trust keypunch operators to get it right the first time.

THE REAL PROGRAMMER’S NATURAL HABITAT

What sort of environment does the Real Programmer function best in? This is an important question for the managers of Real Programmers. Considering the amount of money it costs to keep one on the staff, it’s best to put him (or her) in an environment where he can get his work done.

The typical Real Programmer lives in front of a computer terminal. Surrounding this terminal are:

  • Listings of all programs the Real Programmer has ever worked on, piled in roughly chronological order on every flat surface in the office.
  • Some half-dozen or so partly filled cups of cold coffee. Occasionally, there will be cigarette butts floating in the coffee. In some cases, the cups will contain Orange Crush.
  • Unless he is very good, there will be copies of the OS JCL manual and the Principles of Operation open to some particularly interesting pages.
  • Taped to the wall is a line-printer Snoopy calender for the year 1969.
  • Strewn about the floor are several wrappers for peanut butter filled cheese bars (the type that are made stale at the bakery so they can’t get any worse while waiting in the vending machine).
  • Hiding in the top left-hand drawer of the desk is a stash of double stuff Oreos for special occasions.
  • Underneath the Oreos is a flow-charting template, left there by the previous occupant of the office. (Real Programmers write programs, not documentation. Leave that to the maintainence people.)

The Real Programmer is capable of working 30, 40, even 50 hours at a stretch, under intense pressure. In fact, he prefers it that way. Bad response time doesn’t bother the Real Programmer – it gives him a chance to catch a little sleep between compiles. If there is not enough schedule pressure on the Real Programmer, he tends to make things more challenging by working on some small but interesting part of the problem for the first nine weeks, then finishing the rest in the last week, in two or three 50-hour marathons. This not only inpresses his manager, who was despairing of ever getting the project done on time, but creates a convenient excuse for not doing the documentation. In general:

  • No Real Programmer works 9 to 5. (Unless it’s 9 in the evening to 5 in the morning.)
  • Real Programmers don’t wear neckties.
  • Real Programmers don’t wear high heeled shoes.
  • Real Programmers arrive at work in time for lunch. [9]
  • A Real Programmer might or might not know his wife’s name. He does, however, know the entire ASCII (or EBCDIC) code table.
  • Real Programmers don’t know how to cook. Grocery stores aren’t often open at 3 a.m., so they survive on Twinkies and coffee.

THE FUTURE

What of the future? It is a matter of some concern to Real Programmers that the latest generation of computer programmers are not being brought up with the same outlook on life as their elders. Many of them have never seen a computer with a front panel. Hardly anyone graduating from school these days can do hex arithmetic without a calculator. College graduates these days are soft – protected from the realities of programming by source level debuggers, text editors that count parentheses, and user friendly operating systems. Worst of all, some of these alleged computer scientists manage to get degrees without ever learning FORTRAN! Are we destined to become an industry of Unix hackers and Pascal programmers?

On the contrary. From my experience, I can only report that the future is bright for Real Programmers everywhere. Neither OS/370 nor FORTRAN show any signs of dying out, despite all the efforts of Pascal programmers the world over. Even more subtle tricks, like adding structured coding constructs to FORTRAN have failed. Oh sure, some computer vendors have come out with FORTRAN 77 compilers, but every one of them has a way of converting itself back into a FORTRAN 66 compiler at the drop of an option card – to compile DO loops like God meant them to be.

Even Unix might not be as bad on Real Programmers as it once was. The latest release of Unix has the potential of an operating system worthy of any Real Programmer. It has two different and subtly incompatible user interfaces, an arcane and complicated terminal driver, virtual memory. If you ignore the fact that it’s structured, even C programming can be appreciated by the Real Programmer: after all, there’s no type checking, variable names are seven (ten? eight?) characters long, and the added bonus of the Pointer data type is thrown in. It’s like having the best parts of FORTRAN and assembly language in one place. (Not to mention some of the more creative uses for #define.)

No, the future isn’t all that bad. Why, in the past few years, the popular press has even commented on the bright new crop of computer nerds and hackers ([7] and [8]) leaving places like Stanford and M.I.T. for the Real World. From all evidence, the spirit of Real Programming lives on in these young men and women. As long as there are ill-defined goals, bizarre bugs, and unrealistic schedules, there will be Real Programmers willing to jump in and Solve The Problem, saving the documentation for later. Long live FORTRAN!

ACKNOWLEGEMENT

I would like to thank Jan E., Dave S., Rich G., Rich E. for their help in characterizing the Real Programmer, Heather B. for the illustration, Kathy E. for putting up with it, and atd!avsdS:mark for the initial inspriration.

REFERENCES

  1. Feirstein, B., Real Men Don’t Eat Quiche, New York, Pocket Books, 1982.
  2. Wirth, N., Algorithms + Datastructures = Programs, Prentice Hall, 1976.
  3. Xerox PARC editors . . .
  4. Finseth, C., Theory and Practice of Text Editors - or - a Cookbook for an EMACS, B.S. Thesis, MIT/LCS/TM-165, Massachusetts Institute of Technology, May 1980.
  5. Weinberg, G., The Psychology of Computer Programming, New York, Van Nostrabd Reinhold, 1971, page 110.
  6. Dijkstra, E., On the GREEN Language Submitted to the DoD, Sigplan notices, Volume 3, Number 10, October 1978.
  7. Rose, Frank, Joy of Hacking, Science 82, Volume 3, Number 9, November 1982, pages 58 - 66.
  8. The Hacker Papers, Psychology Today, August 1980.
  9. Datamation, July, 1983, pp. 263-265.
Taboo

Taboo (2017)

IMDb

Rating: B+

Saw with LD. Eight-episode miniseries, with Season 2 in the works. Could’ve been at least two episodes shorter. Trippy, wonderful cinematography, just unbelievable production quality, and backed by (yet another) amazing score by Max Richter.

Especially great if you, like me, are a fan of Tom Hardy. His character growl-mumbles his way through Regency-era London as a traumatized 5-D Chess-playing badass with a vendetta who takes on the East India Company and the Crown, and who may or may not have supernatural powers that allow him to commune with the dead.

And when I say “growl-mumbles”…

My favorite character was Brace (😭😭😭), played to perfection by David Hayman.

“The primary directive of a government is to serve and protect its citizens. The primary directive of a corporation is to make a buck. When you give the duties of the former to the latter, failure ensues.”

by @absurdistwords

::Deadly pandemic rages::

Texas: “Let’s mismanage energy so thoroughly that our citizens are compelled to congregate en masse in heating centers designed to keep warm air and breath inside.” Here’s the problem with deregulation and privatization of public services.

The primary directive of a government is to serve and protect its citizens

The primary directive of a corporation is to make a buck.

When you give the duties of the former to the latter, failure ensues. Conservatives like to talk about running governments like businesses.

This is meant to drum up images of high corporate efficiency.

But a government that runs like a corporation is a failed government. A corporation, tasked with generating both higher profit and greater consumer satisfaction will work towards satisfaction ONLY insofar as it doesn’t impede higher profits.

If it’s one or the other, it will choose profit

This is a corporation doing what it is supposed to do. Theoretically the government’s choice should be the opposite.

It should work toward caring for people primarily, and if it is capable of recouping or exceeding its own costs then great.

But if public safety is at risk, money should be a secondary concern at best. In short, the govt model is “We’ll take care of you at any cost”

while the corporate model is “We’ll take care of you as long as it doesn’t cost us too much”

It’s clear why it’s dangerous to mix up these mandates.

Cause then people freeze to death over profit. It is understandable why government frequently needs to enlist corporations to provide specialized needs that the government can’t reasonably specialize in.

But that’s different than just ceding the whole thing to corporations and providing minimal regulation and oversight. It makes sense for instance that the government, without the equipment and resources to develop and mass produce vaccines, leans on corporations that already have the capacity.

But you don’t replace the Department of Health with Pfizer. Corporations are hostile to the things that citizens need from government:

  • Job security
  • Health care
  • Living wages
  • Civil rights
  • Equal access

They are hostile because those things impede maximizing profit. This is the reason that some of the most employee-benficial employment environments are within government.

All those equity-increasing initiatives that corporations have to be arm-twisted to adopt, like anti-discrimination policies, government just has to do.
If someone promises they’re gonna run a State like a business, they’re saying that they will prioritize making money over the needs of the citizenry.

They are saying they will reconstruct government to cut every corner, pinch every penny and deprive people of costly services
Texas decided that corporations should be responsible for civic infrastructure and now people are literally freezing to death in their homes…

The poor people of course.

The rich people are fine. Because they have money and that’s how capitalism works.

Just not government. A big piece of the failure to properly upgrade and protect critical energy equipment from extreme weather was that nobody wanted to take on a costly rehab that might jeopardize their competition with other companies and lose money and market share. So when the choice was between

  • “Ensure that citizens are safe, powered and warm”
  • And “Make sure Company X doesn’t beat us”

Guess which won?

So now we have a state which is not only shamefully and woefully unprepared for the kind of extreme weather that their own denial of climate change ensures will only increase…

But whose only option now is to rely on a stopgap that accelerates a deadly pandemic. IF as discussed earlier, a government needs to rely on corporations to fill gaps in critical public resources, then it’s IMPERATIVE that those corporations be compelled to operate under the governmental mandate and not the corporate one.

Which is why strong regulation is key.

The Collatz Conjecture in TypeScript’s Types

The argument here being that, since the ‘general form’ of the conjecture is undecidable, TypeScript’s type system is undecidable. How does one even think of doing these things?

I love Typescript, but it isn’t nearly ambitious enough. It would be vastly improved with an --extremelyStrict flag enforcing that your Typescript code is free of side-effects; that is – no Javascript code is generated at all. Real programmers do all of their computation within the type system. Otherwise, they can’t be sure their program will work in production and should be duly fired.

Mad Lad. Via HN. (Cached)

I’m not sure why YouTube’s Omniscient Algorithms recommended this video but I did not learn a damn thing about “After-Dinner Drinks” from the star of this pretentious watch and signet ring ad.

A guide to elegant post-dinner debauchery from Mr Wei Koh, watch aficionado, Style Council member and founder of The Rake Magazine, in partnership with IWC Schaffhausen.

The ‘guide’ in a nutshell: “Drink whatever you want, with whomever you like, talking about anything you’d want to, on any day of the week, until any time that works for you. I’m rich. Buy this watch.”

I’m mostly mad at myself for finishing it.

On a Program’s Scope

“Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can.” Coined by Jamie Zawinski (who called it the “Law of Software Envelopment”) to express his belief that all truly useful programs experience pressure to evolve into toolkits and application platforms (the mailer thing, he says, is just a side effect of that). It is commonly cited, though with widely varying degrees of accuracy.

Zawinski’s Law

The Chrome Dino

Here’s a fairly recent (Dec 2018) interview with the creators of chrome://dino. It was called Project Bolan (which I had to look up), had 270M games played every month1, with most users coming “from markets with unreliable or expensive mobile data, like India, Brazil, Mexico, or Indonesia” and took quite a bit of development to work on all platforms.

We built it to max out at approximately 17 million years, the same amount of time that the T-rex was alive on Earth… but we feel like your spacebar may not be the same afterwards.

  1. I suppose they know this thanks to the “I agree to everything” button one clicks while installing Chrome…↩︎

We Ought to Live in a Society, not an Economy

by BaldKnobber123

It’s important to state though, particularly since our current economic structure has pushed that “there is no such thing as society”.

That might sound insane, but it is not hyperbolic. In 1987, Margaret Thatcher, Prime Minister of the UK, said that “There is no such thing as society. There is [a] living tapestry of men and women and people and the beauty of that tapestry and the quality of our lives will depend upon how much each of us is prepared to take responsibility for ourselves and each of us prepared to turn round and help by our own efforts those who are unfortunate.”

It was supposed to be on the people: they look to themselves, they help their family and their neighbor. Aid is individualized, then can be reciprocated. But, at the same time as “individuals” were supposed to be stepping up, Thatcher’s policies were stepping on them, especially the most vulnerable. This all making it harder to even look to oneself. Is it on the child to look to oneself? The child whose development was stunted by environmental pollution exacerbated by a history of systemic factors?

That has become one of Thatcher’s most famous quotes, this rejection of society in favor of individualism, a backbone of ideology that drove her move towards deregulating the British economy, towards privatizing the British services, towards turning the commons to the few, towards “tough to swallow” austerity measures. Meanwhile, today, Republicans meet with Biden to “compromise” by proposing relief 1/3 the size of the Democrats proposal (which is arguably lower than needed as is). The ever fading in, fading out, debt concerns rising again. Austerity does not work, but it is slow to die. An idea slow to die, but fast to kill.

Is it any surprise then that Thatcher turned on unions as well? They are not individuals, they are society, they are collectives. That she would work to disband the unions in the name of “economic growth”. A “growth” that she handed to the individuals - no not those individuals that needs it, but those at the top. Inequality took off in the 1980s under Thatcher, much like it did in the US under her buddy Ronald Reagan. No surprise. They both used economic theory crafted by the same bundle of Neoliberal economists: Friedman, Stigler, Hayek, Buchanan, etc: https://en.wikipedia.org/wiki/Masters_of_the_Universe_(book)

A week after Thatcher won, Milton Friedman sent a letter to her saying “The battle has now begun. We must win.” Friedman would be an adviser to both Thatcher and Reagan, pushing his economic view of “freeing the individual”. Out of the tax cuts, the deregulation, the privatization, there was to arise the “free” market. A market that was never free up to that point, and has not been free since. Just transformed. What “individual” was freed?

Since then, there has only been a growth in the Precariat - a social class formed by people suffering from precarity, which means existing without predictability or security, affecting material or psychological welfare.

The promise didn’t deliver, except to those that knew they would be made richer. They all knew the rich would get richer. That’s why the basis was “trickle down”. Sure they would get rich, but it would eventually come down. It didn’t. Even in Thatcher’s own terms of “saving the economy”, it did not deliver..

Now, we are dealing with the fallout of that, the precarity of a society that denies itself. The failings of which, whether in Brexit or in Trump, were made material.

“The Water’s So Great That It Won Awards”

Was discussing water quality in Des Moines with DL. Told her that our city couldn’t hold a candle to Ames, that their water was the “cleanest around.” Wanted to prove this but couldn’t find the 2014 viral hit “Hooray for Ames” video anywhere on the internet. GN, blessed datahoarder that he is, luckily had a copy ❤️🚰

Whatever. 🤘 Go Hawks 🤘

On A Good Burrito

I remember the very first burrito I had in the Mission District in San Francisco. My friend warned me that it would be “around the size of your forearm” and that, if I tried to finish it in a single sitting, I would be an idiot. It was, I did, I am 🙏

i do not fuck with any burrito without heft. if your shit is convenient and portable, take it elsewhere. i want a burrito that is burdensome. unwieldy. when i raise it to my mouth, i should feel the weight of the mistake i am about to make. no child should be able to eat this.

if your burrito doesn’t make me hate myself both physically and spiritually, what’s the point? grow up. don’t waste my time.

@mnateshyamalan