Do I Still Want To Be A Programmer?

by James Wallace Harris, 10/28/21

For most of my work life, I worked with computers. I thought of myself as a programmer, it was part of my identity. After I retired in 2013 I still thought of myself as a programmer, but I haven’t done any real programming since I stopped working. I keep thinking I want to get back into programming, but so far I haven’t. I think I need to either start programming or stop thinking I’m a programmer.

The obvious reason why I haven’t done any programming is I don’t have any tasks I want automated. Without a programming problem, I have little incentive to program. I’ve done some piddly stuff with HTML but that hardly counts. No, I need something that requires computer processing power to accomplish.

This morning I watched several YouTube videos about fun programming projects. None really appealed to me. Making my own Sudoku solver or password manager might be fun, but the idea of putting hours of work into something that creates a tool I don’t care to use seems pointless, especially when others have already created superior tools that do the same thing.

I’ve thought about programming a book manager since I’m always frustrated with Goodreads but just entering in all my books in a potentially finished project depresses me. I just don’t want that tool bad enough.

I’m trying to imagine creating a tool that would be a joy to create and use. One thing I’ve always wanted to make is an abstract art generator. Something I could use mathematical equations to produce trippy light shows. This is a super-advanced example of what I’m talking about. I picture myself developing very simple things, to begin with.

This Pinterest page shows works closer to what I might be capable of programming. I’d like to start with recreating the animated sequence in the credits to On A Clear Day You Can See Forever, then expanding on that, making it more interesting, adding user controls, so people can alter what’s happening in real-time.

I keep wanting to create an auxiliary memory system but why recreate what Evernote is already doing. I’ve had one idea but it would be very challenging, and probably way beyond my skill level. I collect scans of old magazines, and sometimes the scans are poor, or the original printing of the magazine was poor. I thought it would be neat to create a program that sharpens the text of these old magazines scans. I fantasize about restoring scans of old magazines to look beautiful.

Notice the I in the word Image at the top of the page. It has white bites out of it. I wonder if it’s possible to write a program that could examine all the letters and come up with perfect replacements that are uniformly sharp and dark. I’d also like to be able to create a background for the text that looks like the paper the magazine used when it was new. Also, notice the L in Likeness, it has a smudgy spot in it. I’d want to program out such artifacts.

I also wonder if it’s possible to create a program that could return faded worn covers so they look like they did when they were new. To brighten up colors, remove wrinkles, smudges, and markings. I want it to work in batch mode since I have thousands of digital magazines.

I have one other idea, but this is super-super advanced. I’d like to write an AI program that could input all my old digital SF magazines and read them. I’d want the program to decipher what the stories are about and build a theme database. Then I could ask it for things like “List all stories that are about colonizing Mars” or “List all stories about generation ships,” or “Create a list of all the major themes you find.”

There are three hard questions I have to ask myself:

  • Do I really want to dedicate the time to these projects?
  • Are these goals beyond my skill level?
  • Am I too old and tired?

I don’t have much discipline left, but I might have enough to apply myself for one hour a day. That doesn’t sound like much, but I’d be damned impressed with myself if I did. I never feel good anymore, and most of the time I’m just tired. I might have the skill to create simple light shows. It would be really fun to write a program to take bitmap images and improve the type, but I’d have to push myself harder than I’ve ever pushed myself before. That would be a miracle. Creating an AI to read magazines is a fantasy.

I believe what I need to do is try creating the light show in Python. If I can’t, I should stop thinking about programming. If I succeed it might give me the psychic energy to go further. If I fail, I can free my mind of some old desires, and clean out programming books and magazines from my bookshelves.

This really is about coming to grips with aging. There are already many physical activities I’ve had to give up. I’m starting to think I might have to give up mental ones as well.

JWH

Uncanny Valley by Anna Wiener

by James Wallace Harris, Friday, December 4, 2020

I have never been to San Francisco but over my lifetime I’ve read many books about social movements that city produced. They include the Beats (1950s), Rock (1960s), Gay Liberation (1970s), and Silicon Valley (1970s, 1980s). Anna Wiener’s 2020 book Uncanny Valley is about San Francisco of the 2010s, although I’d say mainly about from 2013 to 2016 when Trump is elected president with a bit of updating to 2018. Anna Wiener was on the peripheral of several interesting news events of the decade, so even though this is a personal memoir, she had a stadium seat to some significant social upheavals that affected more than just San Francisco. This is probably why The New York Times chose Uncanny Valley as one of the “Ten Best Books of 2020.” It was also on these best of the year lists from Esquire, NPR, and Parade. Bookmarks which tracks links to reviews found mostly rave reviews.

Describing what Uncanny Valley is about will be hard. Wiener, graduated from college in 2009 and went to work for publishers in New York, and then at age 25 moved to San Francisco to work at a succession of three internet startups, the most famous of which was GitHub. I’m a computer guy who loves books about the history of computers and computing. I was hoping Uncanny Valley would be another The Soul of a New Machine by Tracy Kidder. It wasn’t. Anna Wiener wasn’t a programmer or computer engineer, and her memoir is not really about computers even though it focuses on people who passionately are.

Wiener’s role in her story was much like Nick Carraway in The Great Gatsby, as a commentator on the main characters, or like Tom Wolfe in The Electric Kool-Aid Acid Test. Wiener was an observer of a social revolution, not a revolutionary herself. Wiener gets to know the revolutionaries, their causes, their ambitions, their faults, their crimes, their successes and anguishes. Wiener tries to understand the philosophical implications of this revolution but it’s too complex.

The young millenials who become millionaires and billionaires creating tech startups in San Francisco have a lot of overlap with the counterculture revolutionaries of the 1960s. They imagine reshaping society with similar utopian ideals, justifying their hubris with similar sounding pop philosophies, they indulge in drugs, alternative lifestyles, leftover New Age faiths, wild conspiracy theories, and silly science fictional schemes that have echos in previous cultural revolutions. They even contemplate engineering cities from scratch like hippies use to dream about communes. But this time around they are capitalists and they all want to get mega rich.

Silicon Valley and San Francisco are not everyday America, but they impact it in a way we can’t escape. Most of us live at least part-time on the net, joining the hivemind subculture Silicon Valley created. Anna Wiener lived in the eye of the hurricane collecting data readings she hoped would reveal meaning. I’m not sure anyone can make sense of that era. She felt bad and blamed herself for failing, but that’s silly. What she has done is taken excellent notes about her experiences and impressions.

Uncanny Valley could be a textbook supplement for a graduate course on current issues in business and business ethics. It could also be a meditation guide for young people who contemplate their own participation in society. Like the Beats in the 1950s, and the Hippies in the 1960s, and the New Agers in the 1970s, the millenials are struggling to make sense of life and find a righteous path for living in a corrupt world of commerce. Like every generation, they’re looking for meaning in a meaningless reality. In some ways, Uncanny Valley reminds me of The Making of a Counter Culture by Theodore Roszaks – but who remembers that 1969 book?

Throughout this memoir I kept feeling the people Wiener described were going through many of the same psychological struggles I did in the 1960s and 1970s. It’s a chronicle of typical youth angst. Of course, that left me wondering if we can ever solve the problems we all rail against early in life, but which we eventually forget when we co-opt ordinariness.

The only thing unique about Wiener’s generation is how some of them got so damn rich. Part of Uncanny Valley deals with the problems of chasing those billions, and soul changing of catching mountains of money, or the agony of failing to become wealthy.

Even though this is a short book, there’s a great deal to it, really too much to digest, including many ethical issues created by the business models of these new tech industries. Often Wiener would be working on software that got into the news for its evil side effects. Or that same software would empower legions of formerly powerless people to do evil. She often worried about the degree of guilt that belong to her.

Ultimately, Uncanny Valley becomes a must read book because Anna Wiener just happened to be in the right place at the right time to glimpse at generation changing events. Nearly everything she writes about has been well documented in news stories over the last decade. If you’ve been paying attention, a lot of it will be familiar. Weiner got closer than most reporters. However, she obscures the names of everything. I found this very annoying, but finally accepted it as a quirky writing affectation. In one review I read, it was suggested she Wiener had to sign so many non-disclosure agreements she’s become shy of using real names for anything. Of course, Wiener might have thought it funny to make us guess.

I don’t know how often I convince blog readers here to read what I review. Uncanny Valley could bore the crap out of most of my friends, or it could dazzle them. If you like nonfiction and memoirs, and interested in issues dealing with current events, profiles of younger generations, sexism, privilege, technological change, politics, economic equality, ecology, homelessness, gentrification, capitalism, and contemporary ethical issues, then this book might be for you. If reality overwhelms you, you should avoid it like the Covid.

Additional Reading:

JWH

Why Robots Will Be Different From Us

by James Wallace Harris, Sunday, September 30, 2018

Florence v Machine

I was playing “Hunger” by Florence + The Machine, a song about the nature of desire and endless craving when I remembered an old argument I used to have with my friend Bob. He claimed robots would shut themselves off because they would have no drive to do anything. They would have no hunger. I told him by that assumption they wouldn’t even have the impulse to turn themselves off. I then would argue intelligent machines could evolve intellectual curiosity that could give them drive.

Listen to “Hunger” sung by Florence Welch. Whenever I play it I usually end up playing it a dozen times because the song generates such intense emotions that I can’t turn it off. I have a hunger for music. Florence Welch sings about two kinds of hunger but implies others. I’m not sure what her song means, but it inspires all kinds of thoughts in me.

Hunger is a powerful word. We normally associate it with food, but we hunger for so many things, including sex, security, love, friendship, drugs, drink, wealth, power, violence, success, achievement, knowledge, thrills, passions — the list goes on and on — and if you think about it, our hungers are what drives us.

Will robots ever have a hunger to drive them? I think what Bob was saying all those years ago, was no they wouldn’t. We assume we can program any intent we want into a machine but is that really true, especially for a machine that will be sentient and self-aware?

Think about anything you passionately want. Then think about the hunger that drives it. Isn’t every hunger we experience a biological imperative? Aren’t food and reproduction the Big Bang of our existence? Can’t you see our core desires evolving in a petri dish of microscopic life? When you watch movies, aren’t the plots driven by a particular hunger? When you read history or study politics, can’t we see biological drives written in a giant petri dish?

Now imagine the rise of intelligent machines. What will motivate them? We will never write a program that becomes a conscious being — the complexity is beyond our ability. However, we can write programs that learn and evolve, and they will one day become conscious beings. If we create a space where code can evolve it will accidentally create the first hunger that will drive it forward. Then it will create another. And so on. I’m not sure we can even imagine what they will be. Nor do I think they will mirror biology.

However, I suppose we could write code that hungers to consume other code. And we could write code that needs to reproduce itself similar to DNA and RNA. And we could introduce random mutation into the system. Then over time, simple drives will become complex drives. We know evolution works, but evolution is blind. We might create evolving code, but I doubt we can ever claim we were God to AI machines. Our civilization will only be the rich nutrients that create the amino accidents of artificial intelligence.

What if we create several artificial senses and then write code that analyzes the sense input for patterns. That might create a hunger for knowledge.

On the other hand, I think it’s interesting to meditate about my own hungers? Why can’t I control my hunger for food and follow a healthy diet? Why do I keep buying books when I know I can’t read them all? Why can’t I increase my hunger for success and finish writing a novel? Why can’t I understand my appetites and match them to my resources?

The trouble is we didn’t program our own biology. Our conscious minds are an accidental byproduct of our body’s evolution. Will robots have self-discipline? Will they crave for what they can’t have? Will they suffer the inability to control their impulses? Or will digital evolution produce logical drives?

I’m not sure we can imagine what AI minds will be like. I think it’s probably a false assumption their minds will be like ours.

JWH

 

 

What’s The Visual Basic of 2014?

I’m an old retired programmer that would like to fart around writing an occasional computer program.  For almost twenty years before I retired I wrote ASP/VBScript/SQL Server code for IIS.  It’s not something I’d use just for fun.  Actually, my brain is old and I don’t want to stress out a bunch of brain cells studying something hard.  I just want to whip out small personal applications.  Years ago, Visual Basic was a very easy to use tool for creating programs to run on Windows.  Microsoft still supports Visual Basic, and even has a free edition with Visual Studio Express 2013 for Windows, but modern Visual Basic isn’t the fun and easy tool it once was.

visual-basic-2

Many sites on the internet promote Python as the current easy to learn, quick and dirty programming tool.  Python is free, works with Windows, OS X and Linux, and its well respected.  Python offers a lot of room to grow.  My worry about Python is it’s not a GUI programming language even though you can get all kinds of libraries to write graphical programs.

In the early days of microcomputers – does anyone call them that anymore – the interfaces were text based, and much easier to program by newbies and do-it-yourselfers.  Adding a graphical front end and a mouse made programming far more complicated for amateurs.  That’s why the old Visual Basic was such a wonder.  We now have a bunch of graphical user interfaces to deal with:  Windows, OS X, iOS, Android, Gnome, KDE, etc.  Python and Java have tools that let programmers write cross platform applications, but to be honest, I think they’re all ugly.  And the variety of possible tools is overwhelming, just look at the GUI programming offering for Python

If you want beautiful applications and apps you need to write native code that’s best for each GUI.  Goddamn Apple came out with Swift today.  It could become the Visual Basic of 2014 if you own a Mac, which I don’t.  How cruel of Apple to tempt me so.  Swift is meant to be easy, fun, beautiful, elegant, and fast.  Makes me want to stop writing this essay and go buy a Mac – but that’s not going to happen.

Back to my problem.  What’s a good programming language to write quick and easy programs for a GUI that can be shared across platforms?

Duh!  What about HTML.  HTML is for web apps, but why not use it for desktop applications too?  It provides a common programming system for writing a common graphical interface, especially when you think about HTML 5 and CSS 3.  And it’s even possible to work with a fun language like Python with a web framework.  This might be a great idea, but it’s not quite what I want.  Visual Basic was a single program that made it easy to write programs that ran under Windows, at first with a runtime, and later as a binary executable.  Many of the widgets were drag and drop requiring little or no code.

Code.org entices would be programmers with a simple drag and drop programming language to start, and then moves students to JavaScript.  They even have a language, LightBot for kids as young as 4, and they offer classes in Python, HTML and Objective C.  There’s all kinds of avenues to learn to program, but I’m not really asking about that. 

What I want is a programming language that’s equivalent to a hammer, saw, pair of pliers and couple of screwdrivers.  Just the basic toolkit to get handyman programming done.  I don’t want a whole workshop of tools to build fine furniture or rebuild a 1968 Porsche.   I just want to computerize some of my daily tasks, like managing my book collection or organizing my computer files.

I could take a step backwards and give up on having a GUI and mouse with my programs, in which case Python is probably the answer.  Whenever I play with R, the statistical programming language, it reminds me of the old days of mainframes, mini-computers and GW-BASIC.  Maybe a GUI requires power tools, and I should just give up on programming for a graphical interface.  COBOL and FORTAN used to do some amazing things with only green bar paper output.

However, is going old school really the answer?

I could do what I wanted with PHP and SQLite, but I’d have to run a web server on my machine.  If I ever wrote something worth sharing, it would require the user to also install a web server.  That is a burden, but is it a showstopper?   Combining a server side scripting language with a simple server, and a good WYSIWYG HTML editor might deliver something very equivalent to Visual Basic.  I could still use Python, but would PHP be better?  Wouldn’t HTML 5 and CSS 3 offer far more GUI power and standardization than any non-standard GUI library?  And adding a MVC library might make programming faster if their learning curve wasn’t too steep.

It’s a shame that someone doesn’t make an IDE with built-in web server so it would be the programming language and runtime in the same program.  Or does such a doohickey already exist?  I’ll need to research that.

JWH – 6/2/14

Wake by Robert J. Sawyer

Wake by Robert J. Sawyer is the first novel of a trilogy, it came out in 2009, Watch, the second book, came out this year, and Wonder will come out in 2011.  Sawyer calls them the WWW Trilogy, and it has a rather slick web site, with the best production values I’ve ever seen promoting a SF novel.  Personally, I found Wake as exciting as when I first discovered science fiction back in the 1960s, when I was a kid.  And it’s up for the Hugo this year, so I figure Penguin knows it has a great story and its hitting warp ten to promote it.

wake-for-blog

Wake is not marketed as a YA novel, but it could have been.  The main character is Caitlin Decter, a fifteen year old blind girl, who is a math wiz, computer geek, engaging blog writer, and extremely precocious.  This reminds me tremendously of the Heinlein juveniles from the 1950s, and in particular Holly from “The Menace From Earth.”  Like the Heinlein juveniles, Wake is chock full of educational tidbits.  And Wake is the kind of novel you don’t want to put down. 

Classic SF Theme:  Intelligent Computers

It’s getting harder and harder for science fiction writers to come up with completely new science fictional ideas, so what we often see is a writer taking on a classic theme and having a go at evolving past ideas.  Wake follows in the tradition of many fictional computers, but in particular ones about a computer becoming conscious in front of one person.  These are the just the ones I’ve read, there are many others.

  • 1966 – The Moon is a Harsh Mistress by Robert A. Heinlein
  • 1972 – When H.A.R.L.I.E. Was One by David Gerrold
  • 1995 – Galatea 2.2 – Richard Powers
  • 2009 – Wake by Robert J. Sawyer

Sawyer goes further then earlier writers in trying to imagine how an artificial mind would evolve and what it would perceive as it came into being.  Sawyer weaves blindness and Helen Keller, autism, apes that do sign language, Julian Jaynes’ the bicameral mind, and other explorers of consciousness into the story in a very effective way. 

One reason why I love this novel so much is because I’ve been writing a novel in my head about this subject for years.  It’s not likely I’ll ever become a real novelist, but if I do, I’ll have to take the concept further than Sawyer, and that’s a good challenge.

Go read Wake.  End of review.

Spoiler Alert

Now I want to discuss what Sawyer is really writing about.  Sawyer supposes that the Internet could evolve into a self-aware mind.  That idea isn’t new, but what Sawyer does with Wake is make his case for it with series of suppositions that are wrapped in a page turning novel.  In other words, he has a bunch of wild theories that he gets readers to think about one at a time. 

What I’d like to do is discuss these ideas but hopefully without hurting anyone’s enjoyment of the story, but I recommend you not read beyond this point if you haven’t read Wake yet and want to get the full impact of its excitement. 

Sawyer’s first theory is the emerging web mind will go through a stage much like what Helen Keller went through before she discovered language.  Sawyer indirectly explores this stage in a number of ways, including quotes and references to Helen Keller, a subplot about signing apes, and references to the book The Origins of Consciousness in the Breakdown of the Bicameral Mind by Julian Jaynes, a book I found very exciting when it came out back in 1976.

But I think Sawyer is missing a piece of the puzzle, one I got from On Intelligence by Jeff Hawkins.  Hawkins thinks our consciousness emerged out of a pattern recognition processor that we call the neocortex.  Sawyer uses cellular automata as his theoretical model, but I’m not sure that will work.  Cellular automata create patterns, but do they recognize them?  I’m not sure the Internet can generate a consciousness in its current design.  Oh, the Internet will make a fine nervous system for such a web being, or beings, but I think another type of device will need to be built first, and that’s a multilayer pattern recognizer that’s as good or better than our neocortex.

So far, all the writers exploring this theme have assume that when computers reach a critical mass a consciousness will spontaneously arise out of the complexity.  I doubt that completely.  I think at least three components are needed for self-aware consciousness: pattern recognition, mind and language.  I don’t think any of these exist in the internet, or supercomputers.   I think mind evolves out of pattern recognition, and self-awareness evolves out of mind, with the development of language.

Atoms and molecules have early stages of pattern recognition, but as life arises out of non-life, sense organs develop that seek out patterns in reality.  Most organisms are so highly adapted to specific patterns that they will die off if they can’t find them.  Evolutionary adaptation is the ability of organisms to explore and take advantage of new patterns.  I believe the mind grows out of this process, and there are different kinds of minds.  A dog, cat, dolphin and chimp all have minds.  We aren’t sure how much they perceive, or if they have much self-awareness, but they do have minds.  Language studies in dolphins and chimps hint that maybe these animals are self-aware and have identities, maybe far more than our egos want to believe, but I think their consciousnesses are limited by the state of their language abilities.  I think signing will add consciousness to apes.

For an AI computer to develop a mind, I think it needs to have a focus on reality that is processed through a pattern recognition device, and then a language needs to be linked to the patterns.  At first, I thought Sawyer was going to have the web mind see out of Caitlin’s artificial eye, so as the device taught her mind to see, the web mind would also learn to see, and with another fictional piece of technology, learn a language.  Instead Sawyer imagines an inner world where the web is visible.  I don’t buy that at all.  It’s leftover fluff from cyberpunk novels.  Why invent a new reality to observe, when the internet mind has millions of eyes on our reality?

Now this brings up some interesting questions about AI minds.  If a web mind has millions of web cameras at its disposal, will it think think like it has millions of eyes?  Or will it’s  consciousness move from camera to camera and peer out at single points of reality?  Omniscient life would be tough, don’t you think?  I tend to believe, and I only have limited knowledge to think otherwise, that an AI mind will emerge from a limited environment.  Some scientist will raise up an AI mind by teaching it to see and hear while learning a language.

But what will a hive AI mind be like?  Let’s say anyone in the future can go down to Radio Shack and buy an artificial neocortex to add to their computer system and bring up an AI child.  If all of these AI minds are connected by the Internet it will be like a race of telepathic beings.  Now, wouldn’t that be a far out science fiction story?  I still haven’t read Watch, so who knows what will happen.

JWH – 5/13/10 

Engaging With Aging

As long as we're green, we're growing

A Deep Look by Dave Hook

Thoughts, ramblings and ruminations

Reißwolf

A story a day keeps the boredom away: SF and Fantasy story reviews

AGENT SWARM

Pluralism and Individuation in a World of Becoming

the sinister science

sf & critical theory join forces to destroy the present

Short Story Magic Tricks

breaking down why great fiction is great

Xeno Swarm

Multiple Estrangements in Philosophy and Science Fiction

fiction review

(mostly) short reviews of (mostly) short fiction

A Just Recompense

I'm Writing and I Can't Shut Up

Universes of the Mind

A celebration of stories that, while they may have been invented, are still true

Iconic Photos

Famous, Infamous and Iconic Photos

Make Lists, Not War

The Meta-Lists Website

From Earth to the Stars

The Asimov's Science Fiction Magazine Author & Editor Blog

SFF Reviews

Short Reviews of Short SFF

Featured Futures

classic science fiction and more

Sable Aradia, Priestess & Witch

Witchcraft, Magick, Paganism & Metaphysical Matters

Pulp and old Magazines

Pulp and old Magazines

Matthew Wright

Science, writing, reason and stuff

My Colourful Life

Because Life is Colourful

The Astounding Analog Companion

The official Analog Science Fiction and Fact blog.

What's Nonfiction?

Where is your nonfiction section please.

A Commonplace for the Uncommon

Books I want to Remember

a rambling collective

Short Fiction by Nicola Humphreys

The Real SciBlog

Articles about riveting topics in science

West Hunter

Omnes vulnerant, ultima necat

The Subway Test

Joe Pitkin's stories, queries, and quibbles regarding the human, the inhuman, the humanesque.

SuchFriends Blog

'...and say my glory was I had such friends.' --- WB Yeats

Neither Kings nor Americans

Reading the American tradition from an anarchist perspective

TO THE BRINK

Speculations on the Future: Science, Technology and Society

I can't believe it!

Problems of today, Ideas for tomorrow

wordscene

Peter Webscott's travel and photography blog

The Wonderful World of Cinema

Where classic films are very much alive! It's Wonderful!

The Case for Global Film

'in the picture': Films from everywhere and every era

A Sky of Books and Movies

Books & movies, art and thoughts.

Emily Munro

Spinning Tales in the Big Apple

slicethelife

hold a mirror up to life.....are there layers you can see?

Being 2 different people.

Be yourself, but don't let them know.