Episodes

David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
Ruby Rogues Panelist
David Kimura PRO said about 2 months ago on Easy Infrastructure :
If you need other services like Sidekiq, ElasticSearch or anything else, you would be able to add the appropriate services in the docker-compose files. Yes, the DB, redis and other services (outside of the app services) should go on the managed services. This would provide a certain level of backups appropriately. 

It's also not ideal that the postgres, redis, etc are dockerized (whether it is in the docker swarm or kubernetes) since the service could become unhealthy and reboot at any point in time. Since these aren't redundant services, it could bring down the application unexpectedly while they're being restarted.

If you wanted to use managed services, you could still use the docker swarm and portainer. You'd need to pass the environment variables through to the app services which can be done through portainer or some other mechanism.

David Kimura PRO said about 2 months ago on Easy Infrastructure :
I like Kubernetes, but I think it adds a lot of knowledge requirement in the creation of the yaml files, config and server maintenance that Docker Swarm doesn't have. For hobby projects and in general, many may not want to get too deep into the infrastructure side of things that would otherwise be unavoidable with Kubernetes.

David Kimura PRO said 17 days ago on Record Audio to Active Storage :
  Jeremy Bray I just set this up again and it seemed to work in a Rails 7 application. The only changes that I had to make from the show notes was

# Terminal
yarn add @rails/activestorage

# application.js
import * as ActiveStorage from "@rails/activestorage"
ActiveStorage.start()

Is there something that you're experiencing different?

David Kimura PRO said 8 days ago on Ubuntu Desktop :
  pitosalas My daily driver is macOS. This is where I do most of my development and all of my screencasting. In the video, I was downloading the ARM64 version because I am on an Apple Silicon machine (which is arm64 based). Typically, most people who'd install Ubuntu as their primary operating system will be on an Intel or AMD chip which means that they can do the normal download link and wouldn't have to go into the "Other Platforms" like I had to. For the purposes of the episode, I was virtualizing Ubuntu via Parallels Desktop. I was planning on using the older Dell notebook that I had done with the Windows 10 episode, but decided against that since I was getting artifacts in the video due to the HDMI Out -> HDMI In of my setup.

David Kimura PRO said 1 day ago on Slim Select with Stimulus :
  rafal.siepak You may want to try and put the css imports in the CSS file. For example, using bootstrap with css-bundling, if I put the @use in the top of the file, it works.

@use "slim-select/dist/slimselect.css";
@import 'bootstrap/scss/bootstrap';
@import 'bootstrap-icons/font/bootstrap-icons';
@import 'drifting_ruby';