The Cerebral Kitchen
  • Home
  • About
  • Music
  • Follow
  • YouTube
  • Vinyl Collection
  • GitHub
  • Thingiverse
  • LinkedIn
  • Search

Programming

Posts about my profession, software development. Also has posts relating to my hobby projects involving code.

Programming

asp-page not working with RazorPages in .NET Core

I had a problem where my Razor Pages were rendering the "asp-page" Helper to the output HTML. It was happening with pages in an Area. It turns out that you need to copy

  • Michael Earls
    Michael Earls
1 min read
Programming

What happened to all the programming posts?

This blog has been lacking content for awhile. The main reason is that last October, I accepted a transfer and promotion within the state government to a new position. I am no longer

  • Michael Earls
    Michael Earls
1 min read
Programming

Dynamic database driven authorization policies in .NET Core 3.0 (Blazor)

Assume we had a requirement to dynamically load our authorization policies from a database. To make things easy, let's make the policies specific to a given resource, or page. Different pages can share

  • Michael Earls
    Michael Earls
9 min read
Programming

Baremetal programming, Assembly Language, and FPGAs

I've been exploring how to program in assembly language lately. It's been a fun experience. I just ordered a Raspberry Pi 4 with 4GB of RAM from Adafruit. It should be here by

  • Michael Earls
    Michael Earls
2 min read
Programming

Getting Started with microservices the sane way. Part 4: Tying it all together with logstash

Tying rabbitMq to logstash and integrating with elasticsearch and kibana

  • Jeff Tyler
5 min read
Programming

Getting Started with microservices the sane way. Part 3: ElasticSearch and Kibana

Set up a basic kibana and elasticsearch docker instance in order to explore the demo data and see how they work.

  • Jeff Tyler
2 min read
Programming

Getting Started with microservices the sane way. Part 2: RabbitMq

Minimal setup for a rabbitMq instance running in a Docker Container.

  • Jeff Tyler
2 min read
Programming

Getting started with Microservices the sane way. Part 1: Introduction

When thinking about microservices you have to think beyond the APIs. Maintaining communication and consistency is where it starts getting complicated.

  • Jeff Tyler
4 min read
Programming

Useful docker and docker-compose commands

Commonly used docker commands that I sometimes take for granted until I forget one of them.

  • Jeff Tyler
1 min read
Programming

Create a simple IRC Bot with .NET Core

I had an urge to write a simple IRC chat bot with .NET core. Why? Just because I could. I wanted a quick project for the night, so I figured out how to

  • Michael Earls
    Michael Earls
3 min read
3D Printing

Simple 3D printed vase code for OpenSCAD

I goofed around with OpenSCAD tonight and came up with a little module that I'm using to create models to be printed in vase mode on my 3D printer. You can find the

  • Michael Earls
    Michael Earls
1 min read
3D Printing

Programming + 3D printing = bliss

I just wrote my first program using OpenSCAD. It's a free tool for writing code that generates 3D models. It's very powerful and I wanted to give it a try. I decided to

  • Michael Earls
    Michael Earls
3 min read
Electronics

Tutoring Day 2 - Python

Today was day 2 of the tutoring session for a coworker's daughter. She's into 3D printing, coding, and electronics, so I volunteered to help her learn the topics. Today, she wanted to start

  • Michael Earls
    Michael Earls
2 min read
Programming

Why we decided to stop using Entity Framework and go back to ADO.NET

While our newest solution is far from architecturally cool, we think it will be easier for the lesser experienced (and new) developers to work with. We are in a market that doesn't have much IT talent.

  • Michael Earls
    Michael Earls
2 min read
Programming

How to fix "Oracle Developer Tools for Visual Studio 2017 is already installed. Please uninstall and try again."

I recently uninstalled Oracle Developer Tools for Visual Studio to try and pinpoint the source of another issue I was having. However, the uninstall failed with the following log (apparently, there was still

  • Michael Earls
    Michael Earls
2 min read
Programming

Is it Intelligent? The Braitenberg Vehicle

Back in 2010, I started reading a book titled Vehicles - Experiments in Synthetic Psychology written by Valentino Braitenberg in 1984. Braitenberg was a cyberneticist and wrote this book as a series of

  • Michael Earls
    Michael Earls
2 min read
Programming

C# Building your own extension methods.

C# has had extension methods since 2007 and with it came LINQ (Language INtegrated Query) and a massive set of extension methods that changed C# development forever. It is a prime candidate for

  • Jeff Tyler
2 min read
Programming

GitHub is not necessarily the best judge of developer skill

I recently read where someone said that GitHub was the place to go to determine a developer's skill level. I have to say that I totally disagree with this statement. It might be

  • Michael Earls
    Michael Earls
2 min read
Programming

How to add Prism Syntax Highlighting to your Ghost blog

I have been using Ghost pro for a few years now as my blogging platform and I love it. However, its lack of code formatting (syntax highlighting) has made it difficult to use

  • Michael Earls
    Michael Earls
2 min read
Art

Staring at a blank canvas

I recently bought painting supplies. The whole works; Brushes, Canvases, Paints. I even bought a new easel. I managed to paint one painting using the intuitive painting technique. However, I keep finding myself

  • Michael Earls
    Michael Earls
1 min read
Programming

Getting your head around ASP.NET MVC(Model-View-Controller) CORE

When I made the switch from Web Forms to MVC a few years back. I thought my head was going to explode. It's loose coupling allows it to do a lot of magic

  • Jeff Tyler
4 min read
Entity Framework

Entity Framework Composable Queries using LinqKit

One of the biggest drawbacks to SQL is the inability to reuse pieces of a query. Technically you can create views but then you wind up joining views to views consuming views and

  • Jeff Tyler
3 min read
Programming

Driving the Max 7219 7-Segment Display Module from ASP.NET Core on the Raspberry Pi

In a previous blog post, I discussed how to create a dotnet core 2.0 WebApi application to run on the Raspberry Pi and trigger an LED. This post will build upon that

  • Michael Earls
    Michael Earls
4 min read
Programming

Is the feedback loop the key to a learning computer?

When I was in my early 20's, I setup my Korg Poly-Six synthesizer so that the audio output fed into a Radio Shack (Realistic) Reverb Machine with the output of that going back

  • Michael Earls
    Michael Earls
1 min read
.NET Core

Running a .NET Core 2.0 WebApi app on the Raspberry Pi (Raspbian)

I wanted to create a web api app that answered calls on my Raspberry Pi. The first step I learned was how to install and configure .NET core 2.0 on the Raspberry

  • Michael Earls
    Michael Earls
3 min read
The Cerebral Kitchen © 2021
Latest Posts Twitter Ghost