#random (2020-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/

2020-01-31

leonyi avatar
leonyi

Good morning! Quick question (hopefully) I found you searching for a way to mask terraform sensitive output and found tmask, which led me to geodesic. I was inspired to use that as an example to create my own base docker image for a GCP based infra environment. What are your recommendations to include tfmask and github-commenter from your repos? How often are they updated in your flow?

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

We have not yet had a chance to update tfmask for terraform 0.12

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

We use the github-commenter everyday. It’s very simple which is why not much activity on the repo.

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

We use the commenter to add a comment to a PR every time it is deployed to an environment

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

We comment on the commit

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Monoliths are the future

Unpopular opinion! Monoliths are the future because the problem people are trying to solve with microservices doesn’t really line up with reality. Just to be honest - and I’ve done this before, gone from microservices to monoliths and back again. Both directions.

2
Chris Fowles avatar
Chris Fowles

I think the main reason we keep having this conversation is that everyone seems to be arguing from the point of view that it’s either monolith OR microservices. It doesn’t need to be this black and white. You can very successfully have both patterns within the same ecosystem.

Monoliths are the future

Unpopular opinion! Monoliths are the future because the problem people are trying to solve with microservices doesn’t really line up with reality. Just to be honest - and I’ve done this before, gone from microservices to monoliths and back again. Both directions.

:100:2
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Kelsey Hightower rocking the boat again… :-)

joshmyers avatar
joshmyers

“We’re gonna break it up and somehow find the engineering discipline we never had in the first place” < too true.

:--1:1
joshmyers avatar
joshmyers

Not sure about the “bad infrastructure” though (what referring to exactly)

Zachary Loeber avatar
Zachary Loeber

MonoService should be the new term we use, or mircolith rather.

:--1:1
Zachary Loeber avatar
Zachary Loeber

containerizing a bunch of crap but still being so tightly interwoven that they could never be deployed individually.

Pierre Humberdroz avatar
Pierre Humberdroz
Just throwing this in here too: <https://twitter.com/sarahmei/status/1090860150712221698?s=21 https://twitter.com/sarahmei/status/1090860150712221698?s=21>

Improvement over consistency is a great mantra

I talk a lot about how you can’t be a great developer without great communication skills, but I don’t think people grok how directly your communication skills are reflected in your codebase. Let me give you an example.

2020-01-30

David avatar
David

Say I converted a typescript from a synchronous (s: string): string to an async (s: string): Promise<string>, and that that function is used hundreds of times in our codebase.

Does anyone have any refactoring tool suggestions I could use to quickly make this change in an automated way?

Maciek Strömich avatar
Maciek Strömich

grep && sed ?

David avatar
David

The big issue is chaining.

Sure, it’s easy to change foo to await foo, but then you also need to update the function that used foo to be async if it wasn’t, and have it return a promise, and then find all references to that function, and make them use await, etc. etc. etc.

Zachary Loeber avatar
Zachary Loeber

Sounds like something for a cleverer person than I to code up an abstract syntax tree find/replace tool for….

2020-01-28

albttx avatar
albttx

Hello guys, i need help with gcp app engine, i don’t find a good channel for that, is there one ?

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

Hrmmmm yea, @albttx we don’t have much chatter for GCP topics (mostly an AWS based team)

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

I’ll create a #gcp channel and we can see where it goes

2020-01-27

Zachary Loeber avatar
Zachary Loeber

I’d be super hard pressed to answer all the questions on this list of devops interview preparation exercises… https://github.com/bregman-arie/devops-exercises/blob/master/README.md

bregman-arie/devops-exercises

Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization - bregman-arie/devops-exercises

:100:3
Zachary Loeber avatar
Zachary Loeber

Heck, I may start working my way through this list anyway. Its an excellent braindump of technologies and patterns worth reviewing.

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

These are great questions

grv avatar

Super helpful, thanks. Great resource to look at when I do step in the job market again

2020-01-26

roth.andy avatar
roth.andy
Death by PowerPoint: the slide that killed seven people — mcdreeamie-musings

We’ve all sat in those presentations. A speaker with a stream of slides full of text, monotonously reading them off as we read along. We’re so used to it we expect it. We accept it. We even consider it ‘learning’. As an educator I push against ‘death by PowerPoint’ and I’m fascinated with how we

1

2020-01-23

roth.andy avatar
roth.andy

@Erik Osterman (Cloud Posse) how have the Timeular cubes that you got been working? I’ve been using the app for free for a while and like it a lot. If you haven’t been having any issues with the cubes like flaky connectivity then I’m thinking I’ll get one.

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

I started setting it up but got derailed.

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

The problem for me is we have a dozen customers with a dozen projects with a dozen tasks

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

the product wasn’t designed for this, so the UI breaks down.

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

It has a simple little selector where I have scroll through 12x12x12 options that are all truncated with ...

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

I don’t think you would have this problem

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

and aside from that it’s pretty nice

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

it has somewhat of an “apple” feel to the product and packaging

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

but some rough edges: the charge the thing is hard. you have to rip off this rubber seal and I damn near pull off my nail in doing so.

2020-01-22

Will Sargent (eero) avatar
Will Sargent (eero)

https://structurizr.com/ does a pretty good job

Structurizr

Visualise, document and explore your software architecture with Structurizr

Will Sargent (eero) avatar
Will Sargent (eero)
Free flowchart, mind map, and checklist software—DrakonHub

DrakonHub: free online software for flowcharts, mind maps, and checklists with support for collaboration and mobile devices

2020-01-21

Zachary Loeber avatar
Zachary Loeber

@Chris Fowles Honestly, the platform isn’t so bad on that front. I like that the wiki is just a repo as well (git push origin wikiMaster)

Zachary Loeber avatar
Zachary Loeber

didn’t realize mermaid support was there, is that recent?

Chris Fowles avatar
Chris Fowles

yeh i think so, i hadn’t seen it before

Zachary Loeber avatar
Zachary Loeber

I’d been using Typora locally for mermaid diagram editing live (though VSCode has a live previewer extension that rocks as well)

Zachary Loeber avatar
Zachary Loeber

How badly am I getting declarative-itus if I no longer wish to make visio diagrams by hand anymore?

Chris Fowles avatar
Chris Fowles

i don’t mind making diagrams by hand in visio - i hate maintaining them though

2020-01-19

Chris Fowles avatar
Chris Fowles

after spending some time trying to find a decent documentation platform for a team that doesn’t have confluence and doesn’t want to spend money i’ve been pleasantly surprised by the wiki capabilities in azure devops

:--1:2
Chris Fowles avatar
Chris Fowles

markdown and git support, as well as a couple of handy functions such as auto formatting tables and mermaid diagram support

2020-01-16

David avatar
David

Just finished a ~40 minute meltdown after updating a prod frontend and noticing the prod site did not work in the same way as the dev/staging versions I had updated no problem.

Turns out the application code is expected to work differently in prod than in dev/staging, with a redirect thrown in on the root domain. And that app code was changed without my knowledge.

There’s no question here, just a quick vent after a very stressful morning where I though I took down our prod homepage.

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

Yes, that sounds frustrating! Have you guys resolved what to do in the future to avoid this situation?

2020-01-15

Zachary Loeber avatar
Zachary Loeber

is anyone here actually implementing gitops in their environments? I’m starting to look at it and doubling our repo count is going to be a hard sell.

Zachary Loeber avatar
Zachary Loeber

One other item I’m having generic difficulties with is pipeline as code. Frankly, I’ve got quite a lot of it as I love it. But I keep struggling with developers not allowing me to change it after initial deployment.

Zachary Loeber avatar
Zachary Loeber

I’ve been able to get around this by using a remote git repo of pipeline code as a library of sorts

Zachary Loeber avatar
Zachary Loeber

but I keep thinking I should create a separate protected release/pipeline branch on the repos so I can put separate PR/branch policies in place. Is that some kind of antipattern? It feels like it may be so I’m doubting myself on that one pretty strongly..

Pierre Humberdroz avatar
Pierre Humberdroz

We are doing it kinda. Maybe if you can make it to today’s office hours we can talk about it @Zachary Loeber? Otherwise I will prepare a longer answer here.

Zachary Loeber avatar
Zachary Loeber

I’ll be there, just don’t want to dominate the conversation with my issues

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
NieDzejkob/cursedfs

Make a disk image formatted with both ext2 and FAT at once - NieDzejkob/cursedfs

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

Lol, “nerdsniped” - haven’t heard that before

2020-01-14

maarten avatar
maarten
Scientists create first ever ‘living robots’ attachment image

‘They’re neither a traditional robot nor a known species of animal,’ says creator. ‘It’s a new class of artifact: a living, programmable organism’

2020-01-13

roth.andy avatar
roth.andy
Kessel Run: a "Day in the Life" at a DoD Software Factory attachment image

The Kessel Run team gives us a glimpse of what life is like in a modern software development organization in DoD. Successful change management, and modern software practices such as DevSecOps and Extreme Programming, are critical capabilities that enable Kessel Run to continuously delivery value to the Warfighter. Kessel Run team members (e.g., special projects director, release engineer, product manager, lab director, engineering practice lead, software engineer) discuss their culture, work environment and software practices such as pair programming, test driven development, and CI/CD through their software pipeline.Kessel Run transformed a legacy system program that did not deliver capability for nearly a decade, into a modern organization that delivers war-winning capabilities to the fight every 12 hours.&nbsp; This involved scaling change and growing from a 20-person experiment – to an organization of over 700 people that has inspired change across DoD.&nbsp; The efforts of the Kessel Run team, past and present, were recognized with the new 2019 Software Innovation Team Award from the Under Secretary of Defense for Acquisition and Sustainment and the General Larry O. Spencer Innovation Award from Air Force Chief of Staff.&nbsp;&nbsp;

roth.andy avatar
roth.andy

The others are JIDO (Army) and Platform One (also Air Force)

Kessel Run: a "Day in the Life" at a DoD Software Factory attachment image

The Kessel Run team gives us a glimpse of what life is like in a modern software development organization in DoD. Successful change management, and modern software practices such as DevSecOps and Extreme Programming, are critical capabilities that enable Kessel Run to continuously delivery value to the Warfighter. Kessel Run team members (e.g., special projects director, release engineer, product manager, lab director, engineering practice lead, software engineer) discuss their culture, work environment and software practices such as pair programming, test driven development, and CI/CD through their software pipeline.Kessel Run transformed a legacy system program that did not deliver capability for nearly a decade, into a modern organization that delivers war-winning capabilities to the fight every 12 hours.&nbsp; This involved scaling change and growing from a 20-person experiment – to an organization of over 700 people that has inspired change across DoD.&nbsp; The efforts of the Kessel Run team, past and present, were recognized with the new 2019 Software Innovation Team Award from the Under Secretary of Defense for Acquisition and Sustainment and the General Larry O. Spencer Innovation Award from Air Force Chief of Staff.&nbsp;&nbsp;

Pierre Humberdroz avatar
Pierre Humberdroz

what is a cATO?

roth.andy avatar
roth.andy

It’s the process for giving an application permission onto a military network

matthew.king avatar
matthew.king

I know this is 8 days later, but we’re hiring for this project in Boston. Actively looking for numerous positions to fill

2020-01-11

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Why Google Stores Billions of Lines of Code in a Single Repository attachment image

Google’s monolithic repository provides a common source of truth for tens of thousands of developers around the world.

:--1:2

2020-01-10

Zachary Loeber avatar
Zachary Loeber

2 most underrated kubernetes tools: krew (plugin manager adding kubectl commands you never knew you needed). jx (jenkins-x) - Even if you don’t use this for pipelining apps it has so many freaking features and tooling (like spitting out terraform for a new cluster in different cloud providers) that its hard not to like.

Zachary Loeber avatar
Zachary Loeber

happy friday all

joshmyers avatar
joshmyers

spitting out terraform for a new cluster in different cloud providers

Zachary Loeber avatar
Zachary Loeber

Actually, it seems like it only creates the terraform for gke ATM, how sad (and that’s what I get for making assumptions).

joshmyers avatar
joshmyers

Def not using that TF for my prod CI, thanks.

Pierre Humberdroz avatar
Pierre Humberdroz
Share your best iPhone Night mode photos attachment image

Apple is starting the new year by celebrating more captivating ways to shoot on iPhone with an all new Night mode photo challenge.

2020-01-09

rohit avatar
rohit

Any suggestions about code coverage tools ?

roth.andy avatar
roth.andy

Sonarqube

rohit avatar
rohit

thanks

rohit avatar
rohit

I heard that sonarqube is pretty complex to setup

rohit avatar
rohit

Nice

rohit avatar
rohit

Thanks

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Talk write-up: "How to build a PaaS for 1500 engineers"

This article is based on a presentation I gave as part ofAdevintaTalks in Barcelona on November 2019.I’m experimenting with this format: I went through the s…

2020-01-08

Zachary Loeber avatar
Zachary Loeber

For those looking to up their git game: https://git-man-page-generator.lokaltog.net/

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

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

lololol the evil part of me wants to feed that to git newbies

Zachary Loeber avatar
Zachary Loeber

I was thinking the exact same thing. Copy/paste the output and ask why they don’t know abou the ‘git-lick-ref’ git subcommand already….

SlackBot avatar
SlackBot
08:32:28 PM

This message was deleted.

Joe Presley avatar
Joe Presley

I try to only click on links sent by random people but that article set me straight.

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

lol

2020-01-06

maarten avatar
maarten

Ricky Gervais:

“…You say you’re woke but the companies you work for…Apple, Amazon, Disney…if ISIS started a streaming service you’d call your agent, wouldn’t you…”

#GoldenGlobes

FULL MONOLOGUE

2020-01-05

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
0x4447/0x4447_product_s3_email

A serverless email server on AWS using S3 and SES - 0x4447/0x4447_product_s3_email

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

Pretty neat implementation that stores all email on s3 and uses plus addressing for folders

2020-01-03

Zachary Loeber avatar
Zachary Loeber

if it doesn’t do helmfiles its dead to me

2
2
Zachary Loeber avatar
Zachary Loeber

(j/k, I heard of it but haven’t tinkered yet)

Pierre Humberdroz avatar
Pierre Humberdroz

I just like the automated update of stuff.. so it will check if there is a new version and just update.

2020-01-02

Pierre Humberdroz avatar
Pierre Humberdroz
oceanicsdotio/bathysphere

Marine spatiotemporal data and analytics API. Contribute to oceanicsdotio/bathysphere development by creating an account on GitHub.

Pierre Humberdroz avatar
Pierre Humberdroz
oceanicsdotio/bathysphere

Marine spatiotemporal data and analytics API. Contribute to oceanicsdotio/bathysphere development by creating an account on GitHub.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
party_parrot3
Pierre Humberdroz avatar
Pierre Humberdroz

Has someone used Keel before? It seems to be a nice tool to manage Helm Deployments as well. https://keel.sh/

Keel

Kubernetes Operator to automate Helm, DaemonSet, StatefulSet & Deployment updates

    keyboard_arrow_up