#random (2022-01)

Non-work banter and water cooler conversation

A place for non-work-related flimflam, faffing, hodge-podge or jibber-jabber you’d prefer to keep out of more focused work-related channels.

Archive: https://archive.sweetops.com/random/

2022-01-05

2022-01-09

Ryan avatar

http://Spacelift.io is launching a podcast in the upcoming weeks.

missionCTRL is a monthly event for DevOps Engineers. We invite DevOps and technical influencers to present and share knowledge.

The show will have a healthy mix of technical deep-dives (like Tier’s Service Registry talk) and other topics beneficial to the community (getting started in DevOps, managing mental health and stress as an engineer).

Would anyone in this group be interested in participating? If so, please send me a DM.

The most flexible CI/CD for Infrastructure as Code | Spaceliftattachment image

Spacelift is the CI/CD for infrastructure-as-code and policy as code. It enables collaboration, automates manual work and compliance, and lets teams customize and automate their workflows.

2
Ryan avatar

Thank you for the incredible response for individuals that have reached out to sign up to participate as a guest on our upcoming podcast missionCTRL! Our sign up page is live. https://vh2q7l1thkr.typeform.com/missionCTRL

missionCTRL is a podcast (and sometimes livestream) series for DevOps Engineers.

The line up of guests is world class featuring a healthy mix of technical deep-dives and other topics beneficial to the community (getting started in DevOps, managing mental health and stress as an engineer).

Subscribe to the missionCTRL podcast!attachment image

missionCTRL is a podcast (and sometimes livestream) series for DevOps Engineers.

2022-01-13

managedkaos avatar
managedkaos

If you want to waste 15 minutes thinking about the tools you use, check out this report generator from MS: https://devopsworkflowgenerator.research.microsoft.com/

After a survey, it gives you a C-suite level report with minimal info. The tools are listed next to each step but having the logos as well would have been a nice touch.

DevOps Workflow Generatorattachment image

The DevOps Workflow Generator is a tool that helps you plan, design, and visualize your DevOps toolchain and workflow to optimize your development and operations processes.

1
rms1000watt avatar
rms1000watt

Is there a channel for shameless plugs of your own software or products? Well, anyways, here it goes

I created a micro SaaS product: a Free, No-Auth, HTTP/Websocket Pubsub Service: https://www.plz.chat

plz.chat

No-Auth, Free, Hosted HTTPS/WSS Pubsub Service

cool-doge4
Jim Park avatar
Jim Park

Great idea! Curious what you use on the backend?

plz.chat

No-Auth, Free, Hosted HTTPS/WSS Pubsub Service

rms1000watt avatar
rms1000watt

(don’t hate me )

TBH, i’m trying to keep that undercovers since that’s kinda the secret sauce

1
Wédney Yuri avatar
Wédney Yuri

No problem

I bet you built something on top of python 3.

Wédney Yuri avatar
Wédney Yuri

Maybe asincio + websockets library? https://websockets.readthedocs.io/en/stable/

websockets

licence version pyversions wheel tests docs websockets is a library for building WebSocket servers and clients in Python with a focus on correctness, simplicity, robustness, and performance. Built …

Jim Park avatar
Jim Park

I’d love to see a comparison of performance between various implementations, Go channels, elixir channels, something in rust…

1
Zachary Loeber avatar
Zachary Loeber

NATs?

Zachary Loeber avatar
Zachary Loeber

https://github.com/nats-io <– better context for my last obtuse statement

NATS - The Cloud Native Messaging Systemattachment image

NATS is a simple, secure and performant communications system for digital systems, services and devices. - NATS - The Cloud Native Messaging System

rms1000watt avatar
rms1000watt

you guys all rock. Yea, performance is going to be junk since it’s just running on a t4g.micro instance

rms1000watt avatar
rms1000watt

just wanted to see if anyone would use the api for anything.. https://go.plz.chat

rms1000watt avatar
rms1000watt

if people like it, i’ll scale up, but would rather not throw money out the window for nothing

2022-01-14

MrAtheist avatar
MrAtheist

Throwing this out there to see if anyone knows of a slack group for mailgun, trying to reach a human being as their email support is next to useless… it’s the classics of taking your money and ghosting you… ish

Zachary Loeber avatar
Zachary Loeber

Did you try emailing them? Har Har Har

1

2022-01-17

Zachary Loeber avatar
Zachary Loeber

https://www.youtube.com/watch?v=t973XElM_kI <– Ever have days just like this?

1

2022-01-20

2022-01-21

zadkiel avatar
zadkiel
GitHub - casey/just: :robot_face: Just a command runnerattachment image

Just a command runner. Contribute to casey/just development by creating an account on GitHub.

2
zadkiel avatar
zadkiel

I think I fell in love

GitHub - casey/just: :robot_face: Just a command runnerattachment image

Just a command runner. Contribute to casey/just development by creating an account on GitHub.

zadkiel avatar
zadkiel

Finally, a looking-good make alternative

2022-01-27

Mohammed Yahya avatar
Mohammed Yahya
6
3
2
bradym avatar
6
ikar avatar

can’t believe nobody posted here before: https://github.com/torvalds/linux/tree/8bcab0346d4fcf21b97046eb44db8cf37ddd6da0?s=09 commit message: delete linux because it sucks

GitHub - torvalds/linux at 8bcab0346d4fcf21b97046eb44db8cf37ddd6da0attachment image

Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.

1
steenhoven avatar
steenhoven

wtf? So confused right now.

GitHub - torvalds/linux at 8bcab0346d4fcf21b97046eb44db8cf37ddd6da0attachment image

Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.

ikar avatar

don’t worry, not the master branch. You can check the link in the README in the link above to know more

steenhoven avatar
steenhoven

Sure, but still wonder why this commit exists.

ikar avatar

to show that you shouldn’t fully trust github? https://news.ycombinator.com/item?id=24976138

loren avatar

i mean, like anything, validate your sources, right? like, just cuz this email says it is from Amazon, what evidence is it and my email client presenting where i would trust that is true?

ikar avatar

don’t trust anyone, except yourself. And maybe your future self

loren avatar

my future and past selves are pretty suspect

1
Yonatan Koren avatar
Yonatan Koren

Amazing

2022-01-28

sheldonh avatar
sheldonh

@Erik Osterman (Cloud Posse) Go magic cli stuff…. What’s the latest on how ya’ll are doing with converting from build-harness or such to your Go based cli? Been working on a lot with Mage (Make alternative in Go) and remember Cloudposse was doing some rewrite/rebuild in Go.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

There’s no initiative to replace the build harness

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

What you might be thinking of is atmos

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

We are looking to reintroduce basic workflows in atmos, but not to compete with full fledged task runners like gotask, mage, variant

sheldonh avatar
sheldonh

Got you. So what are you using for stuff beyond basic run commands? Bash scripting in make or something else now?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Spacelift :-)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Basically it’s a policy based approach rather than a scripted approach

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

The policy is if A changed then B is affected so replan B

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

That way it works more like a graph

sheldonh avatar
sheldonh

That’s cool for workflows. I’m talking about all the stuff in between.

Like a team member clones a repo, and they need terraform, linters, Go, etc, and then they need to run sets of tasks before merging back up.

I’m curious if you are continuing with build-harness as the way to wrap up tooling for team members. Also curious if run all the same tests (that you can) locally before github actions gets involved, or you offload stuff to github actions instead for running checks. No rush, just wondering. I want to do a write-up some type as a lot of this in between CI/Dev experience isn’t written about much and it’s pretty impactful depending on the complexity (esp at an enterprise company)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)


I’m curious if you are continuing with build-harness as the way to wrap up tooling for team members.
It was really only for us to simply CI/CD of our OSS terraform infra

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Hi. Did anybody try Earthly? https://github.com/earthly/earthly

sheldonh avatar
sheldonh

Yes I have! It’s pretty cool. I tried it a bit at home. They have a fantastic tech blog too.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)


Like a team member clones a repo, and they need terraform, linters, Go, etc, and then they need to run sets of tasks before merging back up.
Yes, this is true… this is something we’re using build-harness for

sheldonh avatar
sheldonh

Cool! As I’ve been working in the Go ecosystem I’m lucky as most tools are cross platform. I am using Mage and with the magetools repo I created now most of the generic things I want on github or any project is a 1 line import.

mage init i think is sorta like your build harness init.

1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

We aren’t adding too much to it today. I think build-harness is due for a refactor.

sheldonh avatar
sheldonh

I’m a big fan of Mage having tried so many things so if you like writing in Go, I’d love to show you sometime what I’ve been doing with it.

My favorite part recently is that instead of running install/setup, I’ve begun having each task that calls a tool, lets say Goreleaser, do this stuff https://pkg.go.dev/github.com/sheldonhull/[email protected]/pkg/req

So basically like this task, if the go binary can’t be found and fully qualfiied, the task itself attempts to install it automatically. So you could type mage go:fmt and even if tools are missing it self sets up.

https://github.com/sheldonhull/magetools/blob/5c8f7f500e37f0569bc2999166a150458d6e7d44/gotools/gotools.go#L152-L158

I’m beginning to like this approach vs require all tooling and stuff be setup prior.

req package - github.com/sheldonhull/magetools/pkg/req - pkg.go.dev

Package req provides methods to resolve Go oriented tooling paths, and if not found attempts to install on demand.

magetools/gotools.go at 5c8f7f500e37f0569bc2999166a150458d6e7d44 · sheldonhull/magetools

General tooling helpers for simplifying cross repository automation using Mage - magetools/gotools.go at 5c8f7f500e37f0569bc2999166a150458d6e7d44 · sheldonhull/magetools

sheldonh avatar
sheldonh

My favorite part about this is that moving to CI (for me Azure Pipelines) then is as simple as:

                  - bash: |
                       mage pulumi:up ${{ parameters.PROJECT}} ${{ parameters.ENVIRONMENT }}
                    displayName: mage pulumi:up ${{ parameters.ENVIRONMENT }} ${{ parameters.ENVIRONMENT }}
                    timeoutInMinutes: 5
                    env:
                      PULUMI_ACCESS_TOKEN: $(PULUMI_ACCESS_TOKEN)
                      MAGEFILE_HASHFAST: 1
sheldonh avatar
sheldonh

For me being able to iterate locally first and then just reuse the same work instead of relying on more plugins is super cool.

I need to reinvestigate your build-harness to examine the docker stuff. I wrap up some tools in docker, but need to decide if I want docker to be a true dependency. In that case I could wrap up more non-go tools (the hard ones) in docker run commands. I did this for the azure-cli but haven’t tried to extend, mostly relying on asdf instead. I did look at env-cli which was super cool, but didn’t seem as widely used or active as I wanted before I dived in.

2022-01-30

    keyboard_arrow_up