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

2019-01-02

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


“Microsoft has dropped a 40-foot long data-center pod onto the seafloor off the coast from the European Marine Energy Centre in Orkney, north of Scotland.”

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

this sounds like a thought experiment: schrodinger’s cat if a data center pod is on the sea floor loses connectivity…. how do you know if it’s operating or not? if you open it, it will let in the water and fry the computers haha it’s a new form of quantum computing https://en.wikipedia.org/wiki/Schr%C3%B6dinger%27s_cat

Schrödinger's catattachment image

Schrödinger’s cat is a thought experiment, sometimes described as a paradox, devised by Austrian physicist Erwin Schrödinger in 1935. It illustrates what he saw as the problem of the Copenhagen interpretation of quantum mechanics applied to everyday objects. The scenario presents a cat that may be simultaneously both alive and dead, a state known as a quantum superposition, as a result of being linked to a random subatomic event that may or may not occur. The thought experiment is also often featured in theoretical discussions of the interpretations of quantum mechanics. Schrödinger coined the term Verschränkung (entanglement) in the course of developing the thought experiment.

1
Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
Microsoft sinks data centre off Orkneyattachment image

The sea will keep the data centre cool, but the computers onboard will not be repairable if they break down.

2019-01-07

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

WOW

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

took them long enough

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

but I think this is great.

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

that combined with GitHub actions reduces the competitive advantages of GitLab.

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

Now, if they would allow project folders with multiple repos, I’ll be totally content.

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

I hate the flat organization with 300 top-level folders.

1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
SQL is No Excuse to Avoid DevOps - ACM Queue

Using SQL databases is not an impediment to doing DevOps. Automating schema management and a little developer discipline enables more vigorous and repeatable testing, shorter release cycles, and reduced business risk. When you can confidently deploy new releases, you do it more frequently. New features that previously sat unreleased for weeks or months now reach users sooner. Bugs are fixed faster. Security holes are closed sooner. It enables the company to provide better value to customers.

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

If you are facing some opposition in your company while trying to rollout DevOps style workflows, this might be a helpful read. He makes some good arguments.

2019-01-08

Nikola Velkovski avatar
Nikola Velkovski

Morning people, I’ve published a new blog post about docker and data persistence on the host, I hope you’ll find it interesting and helpfull https://cloudlad.io/Docker%20host%20data%20persistence%20pattern

Docker host data persistence pattern

Having fun in the cloud.

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


Q: When a file gets created by the process that runs inside the container, which UID and GID will it get assigned?
A: It will have the UID and GID of the user that is set with the USER instruction in the Dockerfile or 0 (the root user) if the USER instruction is not specified.

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

Ah yes, we’ve had this problem in geodesic for some time

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

i’ve been torn on how to fix it. at first, I fixed it this way

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

but then we had a non-root container and it was a PIA since as a human-operator we cannot run apk add ...

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

(our use-case is a bit unusual though for docker sicne we’re using docker as a thin shell)

2019-01-09

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

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
mumoshu/variant

Task runner for the container era. Containerize bash scripting workflows with dataflows and dependency injection, JSON Schema for inputs validation - mumoshu/variant

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

it’s a “universal cli” interface that is awesome for integration of lots of tools

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
mumoshu/kodedeploy

CodeDeploy for EKS. Parallel and Continuous (re)delivery to multiple EKS clusters. Blue-green deployment “of” EKS clusters. - mumoshu/kodedeploy

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
05:21:40 PM
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

basically, you can now have a consistent interface to your most common workflows

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

while this can be achieved with make (we do it), I like the structure of this more since it supports args

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

in make, we often use environment variables like args (named parameters), e.g. make plan SOMEVAR=somevalue

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

with @mumoshu’s task runner, it would look like kode plan --application=foobar --environment=baz

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

it’s kode because the $0 script is called kode

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

another way to think about this is “executable documentation”

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

it’s documentation of how to use the commands which is so good, it’s executable

4
Gabe avatar

@mrwacky this is pretty cool

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
06:04:06 PM
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

yea, this has got to be a massive failure

rbadillo avatar
rbadillo

Zoom is having an outage FYI

antonbabenko avatar
antonbabenko

variant looks very neat! I like it more than https://github.com/tj/robo which is very similar but less powerful. Good finding, Mr. @Erik Osterman (Cloud Posse)

tj/robo

Simple Go / YAML-based task runner for the team. Contribute to tj/robo development by creating an account on GitHub.

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

yes, I also was mulling over using robo for the same reason

2019-01-10

srinivassuryapet avatar
srinivassuryapet

Hi, Can someone give the terraform module to provide IAM access to Cloudwatch

davidvasandani avatar
davidvasandani

@srinivassuryapet probably better to ask in #terraform

2019-01-11

pecigonzalo avatar
pecigonzalo

If anyone wants to take this for a test: https://github.com/pecigonzalo/loro

pecigonzalo/loro

WIP: AWS CloudWatch Logs Tail. Contribute to pecigonzalo/loro development by creating an account on GitHub.

2
pecigonzalo avatar
pecigonzalo

let me know your thoughts

antonbabenko avatar
antonbabenko

@pecigonzalo I’ve used awslogs like this - awslogs get /var/log/syslog ALL --watch to watch logs. It works. What is your tool trying to solve?

1

2019-01-14

pecigonzalo avatar
pecigonzalo

awslogs does not support some of the features, EG: log formatting like -o '[ {{ uniquecolor (print .Stream) }} ] {{ .TimeShort }} - {{ .Event.ecs.cluster }} - {{ .Event.decoded.message }}'

pecigonzalo avatar
pecigonzalo

only log query/filtering, which I intend to support as well

pecigonzalo avatar
pecigonzalo

I also had issues with its time filtering

pecigonzalo avatar
pecigonzalo

It also supports global config files

pecigonzalo avatar
pecigonzalo

$HOME/.loro.yaml to set some defaults, like since and etc

pecigonzalo avatar
pecigonzalo

The idea is to combine what I believe is the best of the 3 linked solutions: https://github.com/segmentio/cwlogs https://github.com/jorgebastida/awslogs https://github.com/mmcquillan/lawsg

segmentio/cwlogs

CLI tool for reading logs from Cloudwatch Logs. Contribute to segmentio/cwlogs development by creating an account on GitHub.

jorgebastida/awslogs

AWS CloudWatch logs for Humans™. Contribute to jorgebastida/awslogs development by creating an account on GitHub.

mmcquillan/lawsg

The AWS Cloudwatch Log Viewer. Contribute to mmcquillan/lawsg development by creating an account on GitHub.

pecigonzalo avatar
pecigonzalo

all great projects, but IMHO all were lacking X or Y so im trying to bring it all together

pecigonzalo avatar
pecigonzalo

loro can also print JSON or raw messages, so you can parse with JQ

joshmyers avatar
joshmyers

Would it not be better to add this missing functionality into one of those tools? Rather than another tool with largely overlapping use cases. I totally get it if this is a learning exercise

pecigonzalo avatar
pecigonzalo

It says on the README why it was not added to cwlogs which is the closes to what im trying to get to

pecigonzalo avatar
pecigonzalo

but if you want me to expand further: lawsg the code structure of lawsg is not great, i would have to basically rewrite the entire tool awslogs code is much better, but I believe A) binary distribution is better for this tool, B) golang is a more powerfull and faster language when dealing with many logs

1
pecigonzalo avatar
pecigonzalo

cwlogs is great, but its supporting segment.io log format and that makes sense and works great, but its not generic enought for many other cases or supporting other log formats

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

I was literally just looking for something like this on friday

pecigonzalo avatar
pecigonzalo

Give it a look, so far I found some cases when --follow stops following new streams

pecigonzalo avatar
pecigonzalo

I think its because i do not discover new streams, ill check tomorrow

pecigonzalo avatar
pecigonzalo

^ that should be fixed now and added non-json messages basic support

2019-01-17

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

New slack logo is ugly

3
antonbabenko avatar
antonbabenko

At first I thought some users uploaded new avatars, which were odd…

zadkiel avatar
zadkiel

Yeah just seen that

maarten avatar
maarten

Anyone know of a cmdline tool around which does this ? Acquires lock from different KV , SQL, Dynamodb / S3 exit 0 when lock is acquired exit 1 when lock is not acquired or timeout

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

@joshmyers has a tool

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
joshmyers/dynolocker

A CLI tool for distributed locks using DynamoDB. Contribute to joshmyers/dynolocker development by creating an account on GitHub.

3
1
maarten avatar
maarten

cool thx

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

I never contemplated the risks of lets encrypt going donw

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Let's talk about open source sustainability - The GitHub Blogattachment image

Do you contribute to open source software (OSS)? If you’re interested in sharing your perspective, please consider filling out the form at the bottom of this post. Hello, my name is Devon! I just joined

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

Hah! first time I’ve seen this:

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
04:24:23 AM
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
04:24:33 AM
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

congrats @Jan @maarten @Nikola Velkovski!

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

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
wagoodman/bashful

Use a yaml file to stitch together commands and bash snippits and run them with a bit of style. Why? Because your bash script should be quiet and shy-like (…and not such a loud mouth). - wagood…

2019-01-18

Jan avatar

hahaha wait what

Jan avatar

I talk too much?

joshmyers avatar
joshmyers

lol, looks like Ansible to me!

pecigonzalo avatar
pecigonzalo

bashsible

troll2

2019-01-21

tolstikov avatar
tolstikov

I’m using https://checkvist.com as a personal TODO management solution

please share how you do it on your side! (I’m sure that there are a lot of smart solutions)

@Erik Osterman (Cloud Posse) probably “productivity” channel is needed?

Checkvist: Keyboard-centric outliner and task manager

With Checkvist you can create and share online outlines, project plans, online checklists, and task lists. Very keyboard friendly, with code, Markdown, and OPML support.

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

@tolstikov totally….. I’m all about productivity hacks.

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

ugh timezones suck. Am in New Zealand for a conference and jet lag is kicking my arse.

Andrew Jeffree avatar
Andrew Jeffree

Trying to finish writing a talk I’m giving in about 4 hours..

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

What’s the talk on?

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

@endofcake is in NZ

endofcake avatar
endofcake

Yup I’m in NZ, it’s a beautiful summer here. Didn’t go to LinuxConf as I’ve got my share of conferences for a wee while;)

Andrew Jeffree avatar
Andrew Jeffree

Talk is essentially talking about how automation shouldn’t be the first thing you show junior staff

siep6l avatar

Excellent topic, I very much look forward to circulating it!

Andrew Jeffree avatar
Andrew Jeffree

and that they need to understand what the automation is doing behind the scenes

Andrew Jeffree avatar
Andrew Jeffree

I interview people all the time

Andrew Jeffree avatar
Andrew Jeffree

and they’ll tell me all about how they use puppet and terraform and so on

Andrew Jeffree avatar
Andrew Jeffree

but when I ask if they can do it manually

Andrew Jeffree avatar
Andrew Jeffree

or understand what it’s actually doing for them

Andrew Jeffree avatar
Andrew Jeffree

I get blank looks

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

hahah yea, I know the feeling

Andrew Jeffree avatar
Andrew Jeffree

Like don’t me wrong I love writing automation

Andrew Jeffree avatar
Andrew Jeffree

and using it

Andrew Jeffree avatar
Andrew Jeffree

but I want to understand what the hell it’s doing

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

Yea, i’ve noticed the same thing

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

I assume every one knows what an HTTP request looks like

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

but then ask them, and they’ve only ever used curl or some library to wrap it

Jan avatar

I ask people to dump the memory of a running process to stdout

Andrew Jeffree avatar
Andrew Jeffree

I’ll be honest I’m a bit rusty on the specifics of it

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

Andrew Jeffree avatar
Andrew Jeffree

because I haven’t needed to do that in quite a while

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

i guess it’s just about what point we jump on the rails

Andrew Jeffree avatar
Andrew Jeffree

yep

Andrew Jeffree avatar
Andrew Jeffree

I’d get back in the swing of it pretty quickly tbh

Andrew Jeffree avatar
Andrew Jeffree

it’s what I do

Andrew Jeffree avatar
Andrew Jeffree

I get handed things that are on fire

Andrew Jeffree avatar
Andrew Jeffree

and I get to figure out how to extinguish said fire without actually breaking shit further

Andrew Jeffree avatar
Andrew Jeffree

but yeah I planned to write the talk before I came

Andrew Jeffree avatar
Andrew Jeffree

but I got pulled into a DC migration 2 days before I left

Andrew Jeffree avatar
Andrew Jeffree

as the people planning it had done a fantastic job of screwing it all up

Jan avatar

Or just basic subnet math

Jan avatar

I find debugging questions to be great

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

Yea those are great

Jan avatar

Mixed with high level architecture questions

2019-01-22

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

Does anyone have recommendations for “applicant tracking systems” aka ATS?

Lukasz German avatar
Lukasz German

@Erik Osterman (Cloud Posse) here is a complete solution: https://www.traffit.com/en/ Friend of mine is a CEO, so I know they are doing great job.

TRAFFIT

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

thanks!

Nico avatar

I’ve used http://www.greenhouse.io/ in the past,

Homeattachment image

Greenhouse’s applicant tracking system and recruiting software is designed to help you find better candidates and improve your entire recruiting process.

Nico avatar

never used anything else so can’t compare but it fulfilled our needs

antonbabenko avatar
antonbabenko

Sounds like you have a good problem to solve! More applicants than you can handle via emails or in memory. :)

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

Yes so many people have reached out but I don’t have a good way to keep them on file. Want to solve that!

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Hire by Google: applicant tracking system & recruiting softwareattachment image

The applicant tracking system and recruiting software by Google that helps you hire more qualified candidates faster, and seamlessly integrates with Gmail, Google Calendar and other G Suite apps.

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

This looks nice too

2019-01-23

Nikola Velkovski avatar
Nikola Velkovski
Maciek Strömich avatar
Maciek Strömich

@Erik Osterman (Cloud Posse) not a software recommendation but rather a framework to build hiring process which we use since some time is https://www.amazon.com/Essential-Guide-Hiring-Getting-Hired/dp/0988957418/

joshmyers avatar
joshmyers
Travis CI joins the Idera family

When we started working on a Continuous Integration solution back in 2011, it was hard to imagine what Travis CI would become. Years later, we’re still continuously working to make our community an…

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

I never heard of Idera

joshmyers avatar
joshmyers

Me neither

Joe Presley avatar
Joe Presley

I wonder if they’re gearing up to compete more fully with GitlabCI and potentially with whatever integrations Microsoft adds to GitHub

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

From other comments on HN, sounds more like Idera is about buying up SaaS products with a large base of legacy users, but not necessarily innovating.

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

basically ensuring the longevity of the product, but not trying to out do the competition

2019-01-24

Nikola Velkovski avatar
Nikola Velkovski
auchenberg/vscode-browser-preview

A real browser preview inside your editor that you can debug. - auchenberg/vscode-browser-preview

2019-01-25

2019-01-26

loren avatar

anyone else catch themselves typing git commands into slack by accident all the time?

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

~for me it’s always ls~

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

ls

4

2019-01-27

pecigonzalo avatar
pecigonzalo

I do Ctrl+w and close tabs/windows all the time when trying to delete a word

2019-01-28

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
The ".ro" Gold Rush | Viorel Sfetea

“In a gold rush, you can mine for gold or you can sell pickaxes”

1

2019-01-29

maarten avatar
maarten

Anyone every worked with https://concourse-ci.org ? Would like to hear opinions.

Jan avatar
Podman v1.0.0 Released

Podman Release 1.0.0 Podman has gone 1.0! Our original goal with Podman was to provide a fully-featured debugging experience for CRI-O, but it has become so much more. Podman 1.0.0 is a fully-featured container engine. It provides a Docker-compatible command line to ease the transition from other container engines. Most Podman commands can be run as a regular user, without requiring additional privileges. Furthermore, all of this is accomplished without a daemon!

1

2019-01-30

joshmyers avatar
joshmyers

@maarten used concourse briefly. Was nice but seemed very tied into CloudFoundry/bosh

joshmyers avatar
joshmyers

Have you looked @ Drone?

maarten avatar
maarten

Hi @joshmyers, a potential customer wants to use it, would be part of the assignment.

joshmyers avatar
joshmyers

It is a bit of a learning curve IIRC

Jan avatar
What is the difference between USA and USB ?
....
..
.
One connects to all of your devices and accesses the data, the other is a hardware standard.
3
2
keen avatar

@maarten re concourse - I spent some time POCing it mid 2017. in general it didnt fit my idea of good. from skimming my notes (I apparently didnt keep a copy of the ticket where I summarized this for a client…): scaling (auto or otherwise) is a significant challenge (perhaps easier if your a bosh shop). secrets management is nonexistent. yml configs don’t ship and branch etc with the code (ala circle, travis, most of shippable, etc), you actively push them to the concourse server. docker support inside a project seemed painful (no native support) (ie, if you wanted to build a container then use it in your build flow, that was less than sane to achieve)

3
maarten avatar
maarten

Thanks, doesn’t sound I want to work with this if I have the option.

    keyboard_arrow_up