@chas@tty0.social
@chas@tty0.social avatar

chas

@chas@tty0.social

ENG Manager | Expert SW Engineer @ Activision | Homesteader | Woodworker

I do indie game development in my free time.

Golang and Python by day, bandsaw and handplane by night. Opinions are my own and I'm not a point of contact for my org.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

chas, to random
@chas@tty0.social avatar

Is there an #author or #writer community here? I've been using threads for that as it has a very active one

Mastodon is so broad and the federated model means I've basically only ever seen tech content since that's what I'm connected to

chas,
@chas@tty0.social avatar

@elysegrasso would you happen to have any server recommendations for the general authorship/reader/book community? I'm thinking of creating a profile for my writing pseudonym

I'm not a fan of long lists of rules - mostly because I don't like being told not to do things I wasn't already not going to do (or being told to do things I was already going to do 😂)

chas, to gamedev
@chas@tty0.social avatar
chas, to unity
@chas@tty0.social avatar

The industry response to has made me feel better about my own response as a nobody hobbyist.

chas, to random
@chas@tty0.social avatar
chas, to random
@chas@tty0.social avatar

@paintedsky I thought you might be a good person to ask - is there anywhere with reading/examples of some advanced topics in Godot for things like event manager/dispatchers, how to structure things in godot for QOL in scripts, scripts talking to one another, asset management, etc type stuff. I am really bad at this "hello world" thing

chas, to godot
@chas@tty0.social avatar
chas, to Amazon
@chas@tty0.social avatar
chas, to godot
@chas@tty0.social avatar

So I started writing a new addon library - a pooling audio manager that is bus-aware, supports a new AudioAsset (so you can request a player for a recognized library sound from the audio manager), will have a dual-track music manager to support music transitions (and as a stretch goal support dynamic music). A few of these have already been implemented, and a few of them are goals still.

I threw together a test application including VU meters!

chas, to godot
@chas@tty0.social avatar

Spent some time today (about 6 hours) integrating into our project and building out a decent dialog window (complete with a custom shader for a silhouetted scanlined dialog portrait)

I'm rather pleased with the result, and it's another step towards having an alpha build.

Next: draw the rest of the owl

video/mp4

chas, to random
@chas@tty0.social avatar

windows hands down has the single worst CLI experience in the whole world. You cannot tell me any different. After 20 years on linux CLI trying to do anything on windows as a horrifically painful process that goes against convention, against its OWN conventions, and is simply not intended for human use, or any use for that matter

chas, to golang
@chas@tty0.social avatar

Continuing my USB adventure. I am successfully "reading" from the device I'm playing with, after finding some variable alternates on the configured interface. I'm not getting any data, at any packet size. Assume this is because I have to tell the device to start sending data with a control request, however I can't get any to work. I even tried GET_STATUS which should be all zeros, but that gives me a libusb pipe error. The device is old, so USB1.1 spec is likely. reverse eng with 0 docs

chas,
@chas@tty0.social avatar

@synlogic yeah, 0xFFD8 is the start of a jpeg/jffif file. and then there are other jpeg encodings. However the dump I got had no 0xFFD9 indicating file end.

I need to back up and rewrite what I have to make it cleaner to take the next steps.

I can toggle the red/recording LED off and on now, so I am definitely making progress.

chas,
@chas@tty0.social avatar

@feld @synlogic at least the one I have (SLEH-00030) is an older one, first generation model and it only has a jpeg/video/audio

feld, to random
@feld@bikeshed.party avatar

@antranigv

This basically provides an API to jails, so I wonder how hard it would be to make it work with terraform. Could get a lot of renewed jail interest with that

https://github.com/illuria/jailerctl

chas,
@chas@tty0.social avatar

@antranigv @feld I had written this entire profile system that would manage provider/provisioner (like aws+ansible for testing etc) that could probably be pretty easily adapted/rewritten for the concept of remotes + jails

chas,
@chas@tty0.social avatar

@antranigv @feld I'd possibly tinker on a lib and tf provider if I had a bit more time right now, but I'm already attempting a herculean lift at work (ever change architecture, language, infrastructure, and have to do it in a few months?)

chas,
@chas@tty0.social avatar

@antranigv @feld that said, it's always tempting

chas,
@chas@tty0.social avatar

@feld @antranigv I'd take a swing at it but don't have any freebsd ready to go, it would be hours of authorship just to bootstrap it, and I've already gotta prep a codebase for my team's consumption before tuesday 😂

It's not a "I'm going to throw this together in a weekend" thing

chas,
@chas@tty0.social avatar

@antranigv @feld this actually dredges up memories of a project I started called Hobo. I was building a manager for dev/test environments meant to replace Vagrant - basically one CLI tool that let you manage projects across your system. It used a light file db (bbolt) to store environments and you could interact with them anywhere (like standup another project to reference it from your current project without moving around)

I bet you I could reuse large portions of that abandoned project

chas,
@chas@tty0.social avatar

@feld @antranigv hi, I've written terraform providers before. By and large the two heaviest lifts are: defining the data model and managing the tf data <-> api data relationship, and defining/maintaining state against the remote

In short what you'd need is:

  1. jailer API client in go
  2. tf provider using API client and mangling the data to tf Schema
  3. tf provider would need configurable against dynamic backends (since jailer isn't one big public API)

non trivial but non impossible

chas,
@chas@tty0.social avatar

@antranigv @feld for a terraform provider there would have to be a go client, given tf is written in go.

but I mean otherwise, no lol

I could write a vastly, vastly superior CLI interface to that shell script in go tho (hell, even a TUI)

chas,
@chas@tty0.social avatar

@feld @antranigv I could write the go client API for jailer pretty quickly tho if I set up a freebsd system to test against

chas,
@chas@tty0.social avatar

@antranigv @feld portability isn't that big of a deal too when you can just matrix your builds in github actions and attach them to releases xD

https://github.com/asciifaceman/line/blob/main/.github/workflows/release-build.yml

if you made a jailer go API lib (just pure comms) it would be easy to import and write a frontend for it (TUI or just fancy table prints etc like you did in bash)

tbh stuff like this always ends up useful to someone

I don't touch bsd often so I don't know the ecosystem or who the target audience for jailer is

chas,
@chas@tty0.social avatar

@antranigv @feld I'm not knocking your shell either, I still write a lot of bash and Make

ultimately it would come down to what you want anyways? you know?

I only jumped on this because go professional and saw terraform providers mentioned hahaha

chas, to random
@chas@tty0.social avatar

ok, hear me out

start a new church with similar branding as Turning Point

but call it Sounding Point

iykyk

chas, to random
@chas@tty0.social avatar

Consider doing this to improve your security posture

apt install ufw
ufw default deny incoming
ufw default deny outgoing
ufw enable

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • tacticalgear
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • lostlight
  • All magazines