Adam Young’s Web Log

The Notebook of a Programmer Climber Musician Ex-Soldier

Adam Young’s Web Log

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • About
  • Climbing and Hiking
    • Decordoba Museum
    • Foot placement in crack climbing
    • Hiking Journal 2020
    • Routes Climbed

Category Archives: IofC

Dependency Injection in Java

Posted on November 6, 2020 by Adam Young
Reply

You might be thinking that this is a long solved problem. I think I have something a little bit different.

This is very similar to the C++ based one that I wrote long ago.

Continue reading →
Posted in IofC, Java, Software | Leave a reply

Dependency Injection in Python applied to Ossipee

Posted on March 17, 2016 by Adam Young
2

I reworked my OpenStack API based cluster builder Ossipee last weekend. It makes heavy use of dependency resolution now, and breaks apart the super-base class into properly scoped components.
Continue reading →

Posted in IofC, Openstack, Python | 2 Replies

Parameter Names in Java 8

Posted on May 9, 2014 by Adam Young
2

There is a killer feature in Java 8, and it is not Lambdas.

Continue reading →
Posted in IofC, Java, Software | 2 Replies

Array of Parameter Names in Java

Posted on April 8, 2012 by Adam Young
3

My last post suggested an extension to the Java language that I think will be quite helpful. Until such a feature exists, we can fake it by using annotations.
Continue reading →

Posted in IofC, Java, Software | 3 Replies

Parameter Names in Java

Posted on April 5, 2012 by Adam Young
2

There is a very small feature that could be added to Java in order to improve it significantly: Add names to the Parameter object in the Reflection API.
Continue reading →

Posted in IofC, Java | 2 Replies

Dependency Injection in Python

Posted on March 14, 2012 by Adam Young
2

Object oriented design principals are not language specific. While there is variation from language to language on details of implementations, and some techniques are not appropariate to all languages, for the most part, good design is good design.
Continue reading →

Posted in IofC, Python, Software | 2 Replies

Issue with Declarative Object Definition

Posted on March 15, 2011 by Adam Young
Reply

The FreeIPA UI approach attempts to use a  Domain Specific languages for UI definition.  While I like how it has emerged thus far, I don’t feel we are yet where we need it to be.

Continue reading →

Posted in IofC, Software | Leave a reply

Recent Posts

  • Homelab OpenShift 4 on Baremetal: Part 1
  • Jamulus Latency on Fedora 33
  • Getting SweetHome3D To Run on Fedora 33
  • Moving things around in OpenStack
  • Adding an IP address to a Bridge
  • Uniforms
  • Content Based Access Control in Messaging
  • Standing Desk
  • Musical Midi Accompaniment: First Tune
  • Musical Midi Accompaniment: Understanding the Format
  • Keystone and Cassandra: Parity with SQL
  • Dependency Injection in Java
  • Hidden Tuples
  • Long Refactoring: Completing the Iterator
  • Long Refactoring: Streamline the Algorithm
  • Long Refactoring: Introduce Iterator
  • Long Refactoring: Extract Method
  • Long Refactoring: Extract Helpers
  • Long Refactoring: pep8
  • Long Refactoring: Extract Read
  • Long Refactoring: First New Unit Test
  • Long Refactoring: Call a Unit Test
  • Long Refactoring: Symbolic Constants
  • Long Refactoring: Testing
  • A Long Refactoring: Introduction
  • Adding Nodes to Ironic
  • Running Cassandra on Fedora 32
  • Running Ironic Standalone on RHEL
  • Introduction to Ironic
  • Recovering Audio off an Old Tape Using Audacity
  • Home Gym
  • When to play notes out of the Key
  • Altered chords
  • DHCP Lease Design
  • Interpreting DHCP packets
  • hexdump one byte decimal display
  • Extract Function Refactoring using inline functions.
  • Swinging eighth notes via articulation
  • Podman login to a secured registry
  • Dealing with reused Serial Numbers for CAs
  • Running git and gitweb in a container with Fedora
  • Enabling Write access to git-http-backend
  • Git Via HTTP on Fedora
  • Running a Container Registry Behind Apache HTTPD
  • Syncing and Serving Yum Repos on RHEL 8
  • Exposing PXE Media as a local Yum Repo
  • CalcMan
  • Talking to FreeIPA with python-requests
  • Backpacker Guitar Hanger
  • Practice Aid
  • Network Policy to Explicitly Allow access from all Namespaces
  • Testing OpenShift Network Policy
  • Deploying a Minimalistic Flask Application to OpenShift
  • 18 Triadic Permutations
  • Decisions when playing Chromatic Triadic patterns
  • I know JACK!
  • Simplifying the network
  • Home Network setup for OpenShift
  • An Ansible Approach to Registering RHEL Systems
  • PXE Lessons learned
  • We Used to Know Changes
  • PXE Installing RHEL 8 on old hardware with a driver disk
  • PXE Boot different OS images
  • I’m (not) Here in Facebook
  • Already Met
  • PXE and Kickstart: repos
  • PXE Setup: Debugging Kickstart
  • PXE Setup Part the First
  • Getting off Facebook.
  • Current Reading
  • Reflections on “Empire City”
  • The Bird Run
  • Mount Chocorua
  • Updating a Minecraft Mod, Part Two: Exploding Anvils
  • Updating a Minecraft Mod: Part One
  • Refactoring in Ansible: extract Variable
  • Type in the Sample Code
  • Harmony and the Harmonic Series
  • Create a host and get a keytab from the CLI
  • Protecting a Service in OpenShift using Kerberos
  • 8 Tone scale for that strange chord in Take The A-Train
  • Using mod_auth_gssapi via Podman
  • kinit with a service keytab
  • Kerberos Secured Web Call from a Podman container
  • Running HTTPD as an ordinary user using Podman
  • Building (and running) a custom HTTPD container image
  • Shift on Stack: api_port failure
  • Self Service Speedbumps
  • On the Passing of Neal Peart
  • Running the TripleO Keystone Container in OpenShift
  • Official TripleO Keystone Images
  • keystone-db-init in OpenShift
  • When to B Sharp
  • Running as keystone
  • oc new-app
  • Reading keystone.conf in a container
  • From Double Harmonic to Octotonic
  • 8 Tone scales #1: Lots of Half Steps
  • Benefits of Saxophone
  • Containers from first principals
  • Building an OpenShift LDAP URL from FreeIPA
  • Copying files into a container at run time
  • Injecting a Host Entry in podman-run
  • Injecting Parameters into container image
  • Running MariaDB from Podman
  • Let’s Buildah Keystoneconfig
  • From WebUI to CLI: OCP Templates
  • From WebUI to CLI: MariaDB in OpenShift
  • Running the MariaDB Client on OpenShift
  • Red Hat IdM as an LDAP Identity Provider in OpenShift Container Platform 4
  • Deleting Trunks in OpenStack before Deleting Ports
  • Something to think about during Jazz Improvisation
  • Chi Running Inspired Cadence
  • Test Scorecards
  • Package Management Domain Model
  • Successful OpenShift 4.1 Disconnected install
  • Using nmcli to set nameservers
  • Synchronizing Keystones Via the API
  • Convert Docker Image Output to an HTML Table
  • Building the Kolla Keystone Container
  • Accessing C Arrays of String from Rust
  • Iterating through an FFI API in Rust
  • Reading Linux groups via the Rust Foreign Function Interface
  • Extract Method Refactoring in Rust
  • Ansible and FreeIPA Part 2
  • Ansible and FreeIPA Part-1
  • Your Own, Personal, Ansible
  • Azure: from Portal to Ansible: part 2
  • Azure: from Portal to Ansible: part 1
  • TripleO Networks from Simplest to Not-So-Simple
  • Remotely Provisioning a Virtual Machine using Ansible and Libvirt
  • G#
  • PXE in a VM for Baremetal
  • Mapping Network Ports from Physical to Logical
  • Updated Home Network Setup
  • Launching a VM From the virt-install command line interface
  • Manually Adding SSH Keys to a Cloud Image
  • Scoped and Unscoped access policy in OpenStack
  • Whatever shall we do with a half bag of mushy apples?
  • Creating a Self Trust In Keystone
  • Imagining Go With Alternate Boards
  • Converting a RHEL Workstation to a Server
  • Running software collections maven from a script
  • Networking Acronyms
  • Maven With Software Collections
  • Creating a Job in Ansible Tower via the REST API
  • Using an Ansible Tower Inventory from Command Line Ansible
  • Using the OpenStack inventory helper for Ansible
  • Resetting the Configuration of a SRX220
  • Physical Home Cluster Setup
  • Optimizing R: Replace data.frame with parallel vectors
  • Dealing with Time Wasters
  • Testing if a patch has test coverage
  • Building QGo on RHEL 7.5
  • Converting policy.yaml to a list of dictionaries
  • Running OpenStack components on RHEL with Software Collections
  • A Git Style change management for a Database driven app.
  • Requirements for an OpenStack Access Control Policy Management Tool
  • Command line VPN connection
  • Passwordless access to System libvirt on Fedora 28
  • Tracking Quota
  • Minicom to a Juniper SRX-220
  • Comparing Keystone and Istio RBAC
  • Comparing Istio and Keystone Middleware
  • Recursive DNS and FreeIPA
  • Home made Matzo
  • Ansible, Azure, and Managed Disks
  • Launching Custom Image VMs on Azure With Ansible
  • Generating a list of URL patterns for OpenStack services.
  • Managing CloudForms’ Certificates with certmonger
  • Generating a Callgraph for Keystone
  • Inspecting Keystone Routes
  • Enable Logging for root Certmonger
  • OpenStack Role Assignment Inheritance for CloudForms
  • Java on Port 443
  • Java and Certmonger Continued
  • Certmonger, SELinux and Keystores in random locations
  • Java and Certmonger
  • Virtualization Setup for RH CSA study
  • Deleting an image on RDO
  • Keystonerc for RDO cloud
  • Matching Create and Teardown in an Ansible Role
  • Deploying an image on OpenStack that is bigger than the available flavors.
  • Freeing up a Volume from a Nova server that errored
  • Creating an Ansible Inventory file using Jinja templating
  • Getting Shade for the Ansible OpenStack modules
  • Notes from Jim Peckham’s wrestling camp.
  • Using JSON home on a Keystone server
  • Picking the Right Hammer for the Job
  • Tracing a Tempest Failure in Keystone
  • CloudForms’ Domains Import and Export
  • On Password Management: Firefox Yes, Chrome No
  • todo.txt done
  • Different CloudForms Catalogs for Different Groups
  • Getting a Virtual Machine’s IP Address from virsh
  • In Satellite server, Organization != Organization_ID
  • Deliberate Elevation of Privileges
  • A minor addition for todo.txt
  • Solutions Architect
  • SE Linux for CentOS Part 3
  • SE Linux for CentOS Continued
  • SELinux for Kubevirt on Centos
  • Deploying Kubevirt on Origin Master
  • Running OpenShift Origin built from source
  • Customizing the KubeVirt Manifests
  • Docker without sudo on Centos 7
  • Bonding two Ethernet devices
  • Enabling an Ethernet connection on Centos7
  • What is minishift ssh anyway?
  • Adding External IPs for Minishift
  • Jury Duty
  • Redeploying just virt-controller for Kubevirt development
  • Running Kubevirt functional tests in Gogland
  • Running virt-controller locally
  • Constructor Dependency Injection in Go
  • Manually Deploying Kubevirt on OpenShift Origin
  • Upstream First…or Second?
  • Creating a privileged container in OpenShift
  • Querying Policy Rules in OpenShift using jq
  • Merging Kubernetes client configs at run time
  • Merging two Kubernetes client configurations
  • Getting started with helm on OpenShift
  • Exploring OpenShift RBAC
  • Fixing Bug 96869
  • OpenShift Origin Default Auth
  • Installing OpenShift Origin via Ansible on Fedora 25
  • Why Quotas are Hard
  • Using the OPTIONS Verb for RBAC
  • Installing R Packages in Fedora as a user
  • Mapping from iSCSI session to device.
  • Installing and Running Ansible on Fedora 25
  • Barely Functional Keystone Deployment with Docker
  • Connecting to MariaDB with a network configuration Docker
  • Running GUI Applications in a container with SELinux
  • Reimagining the Saxophone
  • Running SAS University Edition on Fedora 25
  • Exploring long JSON files with jq
  • A Ray in a Minecraft Mod
  • Keystone Development Bootstrap with Service Catalog
  • Keystone development server on Fedora 25
  • JSON Home Tests and Keystone API changes
  • Understanding the Election in Terms of the game Go.
  • Showing Code
  • Keystone Domains are Projects
  • Circles in Minecraft?
  • Minecraft X Y Z
  • Securing the Cyrus SASL Sample Server and Client with Kerberos
  • Running the Cyrus SASL Sample Server and Client
  • Translating Between RHOS and upstream releases Redux
  • Importing a Public SSH Key
Proudly powered by WordPress