Apple M1 Dual Monitor Setup

It has been a LONG time since I posted last – truth be told, I haven’t done anything technical since the last post, really. I got super into the election coverage and have been focused on that. Now that it looks to be winding down – I won’t get into my politics here and now (maybe at some point) – I thought I would post about something new that I recently got.

HTC Evo 4G
First, a little perspective I had recently decided to move to the PC and Android. I had been using Apple Computers and the iPhone for a very long time. The last android phone I can remember having was HTC EVO 4G. Image by Christian Lo CC.

I probably did this about a month or so after my last post, so that wasn’t more than three or four months ago now. Long story short. I am back on an iPhone and back on the Macintosh for my daily drivers. My foray into Android left me missing the refinement of iOS, and the move into Windows (though I use windows every day for my job and I have a gaming rig that runs windows) left me really missing the integration that the Apple ecosystem provides.

Continue reading “Apple M1 Dual Monitor Setup”

Geeking Out with Linux and Other Updates

It has been a while since I have written anything for this site. I haven’t stopped working on the Atari, The Ben Eater 6502 project, or anything else. I have just been busy with lots of it and haven’t found anything compelling to write.

Atari Roots
On the Atari front, I have worked my way through the book: Atari Roots. This book was an excellent primer into the Atari system’s assembly language and understanding a bit about how it differs from typical 6502 programming. The book gives a pretty good overview of beginning assembly programming and Atari Memory mapping – but it will take more books and more study to master this topic (or even come close).

Continue reading “Geeking Out with Linux and Other Updates”

Ben Eater 6502 Update

As I mentioned in my last post, I have been working on the Ben Eater 6502 kit. I finally got the space to set up a proper workbench and have been hacking on it daily for the last week or so. This post is describing what I have done so far.

I’ve had a blast putting it together. If you aren’t very familiar with the kit/video series, you should definitely check it out.

BE 6502 Implementation

Continue reading “Ben Eater 6502 Update”

Atari 8 Bit

Quite a lot has happened since my last post. The world has gone into utter craziness with the global pandemic. I got the kit I mentioned in my previous post, more on that in a bit. And I have gone full bore Atari 8 bit crazy!

The pandemic has kept me working from home, mostly, and I’ve been busy with that. So not a lot of time to work on much. My youngest son moved out of my house, so I’ve been spending time doing a minor rehab in his bedroom, so hopefully, by next week, it will become my new office. I have also bought and set up a ton of old Atari 8 bit equipment (more than I should have really).

Atari

Continue reading “Atari 8 Bit”

6502 And Other news

It’s been a while

SQL Server
Hi internet, though I expect very few of my posts get much traffic – in any case if you are here, hello! It’s been quite a while since I have posted. My work has been a little crazy, and I’ve been working more in SQL Server versus Python for the last few weeks. So I haven’t had a lot to write here about that.

World of Warcraft
Additionally, I have recently started playing WoW again – big mistake. The addiction is back, but maybe finally waining a bit. I started playing it in mid-December (about the time of my last post – no coincidence there). My new little Hunter finally hit level 120, and I’m just idling around now doing world quests and such. So hopefully, I am starting to back away from that.

Continue reading “6502 And Other news”

A Python Function to Describe another Function

Noob Alert

Updated: 12/14/2019

what were you thinking?
It turns out that I wasn’t aware of a nifty little built in function to do something very similar when I wrote this article. I wanted to update this post to provide details on that.

If you use the built-in help function you will get very similar results to my function below. It is nearly always smarter to use a built in vs build your own so I would suggest doing this instead of what I metnion below. That said I’ll leave this up for reference to the individual attributes which might be useful in other applications

Continue reading “A Python Function to Describe another Function”

Generating a Dictionary Value Summary

Generate a Simple Dictionary Value Summary

Today’s post will be a short post – on something I recently needed to do for a project at work. My program assigned orders to a particular disposition. The domain of the problem isn’t really relevant – but I used a dictionary with the unique order number as the key and one of several values could be the value.

I wanted to post a message, once the process had completed, to inform me of the outcome summary. How many orders got disposition A, B, C and so on.

Continue reading “Generating a Dictionary Value Summary”

Closures and Decorators

Closures and Decorators in Python

This article will attempt to explain the related concepts of Closures and Decorators in the Python program language. It is essential to understand that functions, like literally everything else in Python, are, in fact, objects. As such, they can be passed to other functions as arguments. This fact opens up some interesting possibilities (such as the concept of closures and decorators).

It is critical to have a handle on closures to understand decorators, so we will start there.

Continue reading “Closures and Decorators”

Lambdas

Objectives Of This Post

Continuing my Python Series (see my first post here and second one here), I went through how to use List, Set and Dictionary Comprehensions, in Python, to replace loops that generate collections of items. In this post, we will explore Lambdas.

What Are Lambdas?

A Lambda Function is a concise way to define a limited anonymous function in Python. Here is an example of an identity function as a standard python function, and then the same function expressed as a Lambda function.

Continue reading “Lambdas”