#random (2018-09)

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/

2018-09-01

antonbabenko avatar
antonbabenko

And, yes, we were blocking exit as sign said

2018-09-05

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
This is not a test: Google Optimize now free — for everyone

Businesses often have one big question for us: How can they better understand their website visitors and deliver more relevant, engaging experiences?

krogebry avatar
krogebry

You were in my hood and didn’t stop by?!?

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

Oh snap! That’s too bad.

1
krogebry avatar
krogebry

Next time.

Matthew avatar
Matthew

https://www.packtpub.com//packt/offers/free-learning

Free tech e-book everyday. Sometimes worth $30-50

Free eBook from Packt: Mastering Docker - Second Editionattachment image

Download a new free programming eBook from Packt every day! Every 24 hours we will offer a new eBook on topics like Python, DevOps, Angular, AWS, C#, C++ and Java. Available to download in PDF, ePub or Mobi. Develop your tech skills and build your knowledge on software development, websites, infrastructure management and IT operations. Claim yours today.

2
Max Moon avatar
Max Moon
10:06:56 PM

Aka “not thinking”

justin.dynamicd avatar
justin.dynamicd

I’m probably more excited by this than I should be:

https://www.hashicorp.com/blog/consul-plus-kubernetes

Announcing HashiCorp Consul + Kubernetes

We’re excited to announce multiple features that deeply integrate HashiCorp Consul with Kubernetes, including an official Helm Chart, automatic syncing of Kubernetes services with Consul (and vice versa), auto-join to join a cluster in Kubernetes, injectors so pods are automatically secured with Connect, and more.

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

that’s cool - so a nice way to bridge two worlds

justin.dynamicd avatar
justin.dynamicd

Yeah, consul agents even easily install on windows so it’s a great way to make a singular SD that can grow into a envoy mesh as things migrate

justin.dynamicd avatar
justin.dynamicd

or even for shops that like to deploy ‘n’ k8s clusters to be able to have a common SD/Mesh framework

2018-09-06

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)


JSON’s license only allows use for good, so when Google dropped their “don’t be evil” slogan they had to build protobuf

2

2018-09-07

Matthew avatar
Matthew

Anyone use Mesosphere DC/OS?

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

looks like nobody here is using it

antonbabenko avatar
antonbabenko

Have a great week-ends! Dive into the week-end - https://www.facebook.com/ODDSbible/videos/679380252428829/

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

Untangle your GitHub Notifications

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

gmail like interface for github notifications

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

maybe i can get to zero?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
03:30:56 AM

2018-09-08

antonbabenko avatar
antonbabenko

I have just tried inbox for the second time and I don’t like UI still.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Inbox, Google’s playground for email innovation, is going bye-byeattachment image

Four years ago, Google took a fresh look at email. With Gmail looking more and more like Inbox, it’s declaring “mission accomplished.”

Igor Rodionov avatar
Igor Rodionov

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

Yea, me too

2018-09-10

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

http://www.jsfuck.com/ (don’t try that at home )

JSFuck - Write any JavaScript with 6 Characters: []()!+attachment image

JSFuck is an esoteric and educational programming style based on the atomic parts of JavaScript. It uses only six different characters to execute code.

2018-09-12

2018-09-14

markmutti avatar
markmutti

A colleague just shared this but during a time where I’m unsubscribing from like everything, I can’t bring myself to register to read the entire article. If someone feels like taking one for the team and posting a brief here, that’d be amazing: https://www.infoworld.com/article/3304282/ci-cd/jenkins-cicd-is-in-trouble-so-its-founder-wants-to-split-it-up.html

Jenkins CI/CD is in trouble, so its founder wants to split it upattachment image

The autonomous nature of the Jenkins community has made it unable to solve some issues, which are becoming more pronounced with the project now more than ten years old

markmutti avatar
markmutti

They’re pretty slick. They’re truncating the article’s content on the backend unlike most. Can’t just element inspect this problem away

2018-09-17

maarten avatar
maarten
A Branch in Time - Tekin Süleyman

In one timeline a quick path to clarity. In the other a long and painful journey trying to understand the obscure intent of a line of code. The only difference between these two realities? The revision history.

This is a talk about writing maintainable code. But rather than the code itself, we’ll see the impact a codebase’s history can have on its maintainability. We’ll explore the differences between a useful history and an unhelpful one, and you’ll learn about the practices, tools and techniques that can make the difference.

Tekin Suleyman is a freelance consultant who’s been shipping Ruby code for over a decade. He’s worked with teams, large and small. He also runs the North West Ruby User Group in Manchester.

2018-09-18

Matthew avatar
Matthew

Anyone ever have troubles with ECR images behaving differently that on your local machine? Image works on my local machine, did a force rebuild even and then when uploaded to ECR and deployed the container dies with errors.. Literally can’t make sense of why the image uploaded wouldn’t behave exactly the same

Matthew avatar
Matthew

I’ve never had this problem with DockerHub and we are exploring into ECR and i’m uncertain why it’s behaving in such a way

andrey.a.devyatkin avatar
andrey.a.devyatkin

try specifying image sha to get exact version… just to make sure that you are running exactly the same version

andrey.a.devyatkin avatar
andrey.a.devyatkin

hold on - will give an example

Matthew avatar
Matthew

Appreciate you

andrey.a.devyatkin avatar
andrey.a.devyatkin

at least Dockerfiles allows you to specify something like that

docker.io/busybox@sha256:817a12c32a39bbe394944ba49de563e085f1d3c5266eb8e9723256bc4448680
andrey.a.devyatkin avatar
andrey.a.devyatkin

so you might try do docker run and specify sha to get exact version

andrey.a.devyatkin avatar
andrey.a.devyatkin

I haven’t tried it with run command though - only with dockerfile

andrey.a.devyatkin avatar
andrey.a.devyatkin

but still worth a try

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

@Matthew also, if your image uses any config or env vars, make sure they are ok inside the container - the problem might be not in the image, but in the settings/config

andrey.a.devyatkin avatar
andrey.a.devyatkin

i’m dropping off now - its late in my time zone. But please post what it was

2018-09-19

antonbabenko avatar
antonbabenko

Does this really belong to #random ?

maarten avatar
maarten

You want more fun stuff @antonbabenko ?

antonbabenko avatar
antonbabenko

Yes, please

maarten avatar
maarten

Ok

1
Max Moon avatar
Max Moon

lol

antonbabenko avatar
antonbabenko

LOL

Matthew avatar
Matthew

Does anyone use AWS ECR?

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

we have a few modules that use it

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
cloudposse/terraform-aws-ecs-web-app

Terraform module that implements a web app on ECS and supports autoscaling, CI/CD, monitoring, ALB integration, and much more. - cloudposse/terraform-aws-ecs-web-app

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
cloudposse/terraform-aws-jenkins

Terraform module to build Docker image with Jenkins, save it to an ECR repo, and deploy to Elastic Beanstalk running Docker stack - cloudposse/terraform-aws-jenkins

Matthew avatar
Matthew

I’ve literally never had this issue before, docker image built on my local machine gets uploaded to ECR and when i deploy that image, it comes across corrupt with the exact same configuration and it makes 0 sense. It appears my image being uploaded is corrupt and i’ve been troubleshooting for hours

Matthew avatar
Matthew
07:45:01 PM
Matthew avatar
Matthew

Doesn’t get thrown when i build locally, did a full docker system prune -a as well so it is built from scratch

Matthew avatar
Matthew

I usually use DockerHub and not ECR so what i’m thinking is my image being uploaded is dropping half the image or getting corrupt somehow

Max Moon avatar
Max Moon

Hrm, I used ECR exclusively for about 8 months and never ran into an issue of that sort

1
Matthew avatar
Matthew

& troubleshooting is tough because that exact same Dockerfile gets built locally and works as designed and this image worked 3 days ago.

Max Moon avatar
Max Moon

Does the issue appear when you push to DockerHub?

Matthew avatar
Matthew
07:47:22 PM
Matthew avatar
Matthew

I also hit this error yesterday with ECR and did absolutely nothing but re-push today and it worked properly

Matthew avatar
Matthew

I have not tried this image with DockerHub just yet because i’m building an EKS cluster and would like to use ECR for simplicity

Matthew avatar
Matthew

ECR was very smooth and working very well for me just 1 week ago, then today my image just isn’t deploying properly even has a smaller image size and I can’t make sense of it. Deleted the entire repository and have pushed through plugins as well as manually uploaded

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

This error Class 'Phar' not found in /usr/local/bin/composer:23 sounds like missing Linux libraries

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
PHP: Class 'Phar' not found

I try to use the Silex framework as base for my web application. However, if I try to include the *.phar archive, PHP throws the following error: Fatal error: Class ‘Phar’ not found in /var/www/

Matthew avatar
Matthew

Yes but the sad thing is, is the image has those dependencies just when it’s deployed they are lost and dropped

Matthew avatar
Matthew

When i build the exact same image locally it works

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

where do you build the image before pushing to ECR?

Matthew avatar
Matthew

I’ve tried manually pushing as recommended by ECR and i’ve also deployed using a Drone.io plugin

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

are you using :latest or a specific release tag?

Matthew avatar
Matthew

This exact same image worked 3 days ago but today doesn’t and it really makes me nervous because i’m trying to get things ready for production and all of a sudden the most random behavior ever occurs

Matthew avatar
Matthew

specific release tag

Matthew avatar
Matthew

:develop

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

heh

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

no, like semver

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

can you share your kubernetes deployment/pod spec?

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

have you set the ImagePullPolicy to always?

Matthew avatar
Matthew

Yes let me get that for you

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

lets move to #kubernetes

Max Moon avatar
Max Moon

markmutti avatar
markmutti
David Patterson Says It’s Time for New Computer Architectures and Software Languagesattachment image

Moore’s Law is over, ushering in a golden age for computer architecture, says RISC pioneer

mrwacky avatar
mrwacky

Looks like Captain Picard to me

David Patterson Says It’s Time for New Computer Architectures and Software Languagesattachment image

Moore’s Law is over, ushering in a golden age for computer architecture, says RISC pioneer

markmutti avatar
markmutti
That's because Moore's Law really is over, he says: "We are now a factor of 15 behind where we should be if Moore's Law were still operative. We are in the post–Moore's Law era."

This means, Patterson told engineers attending the 2018 @Scale Conference held in San Jose last week, that "we're at the end of the performance scaling that we are used to. When performance doubled every 18 months, people would throw out their desktop computers that were working fine because a friend's new computer was so much faster."

But last year, he said, "single program performance only grew 3 percent, so it's doubling every 20 years. If you are just sitting there waiting for chips to get faster, you are going to have to wait a long time."
rms1000watt avatar
rms1000watt

This is why Golang was invented.. they had similar sentiments and realized a new language was needed

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


We are in the post–Moore’s Law era.

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

interesting notion

markmutti avatar
markmutti

@Erik Osterman (Cloud Posse) Yeah, that line caught me off-guard

2018-09-20

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
01:05:41 PM
4
markmutti avatar
markmutti

This is not funny.

2018-09-21

justin.dynamicd avatar
justin.dynamicd

packer + windows = good ansible + windows = great packer + ansible + windows = nasty crap

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

why is that @justin.dynamicd ?

justin.dynamicd avatar
justin.dynamicd

Mostly the Ansible provisioner for packer is just poor. It works by invoking a custom ansible driver that creates a local proxy to send all packer commands through which causes all sorts of connection reliability problems. I ended up just using shell-local instead :/

justin.dynamicd avatar
justin.dynamicd

It’s s nightmare to troubleshoot when the inventory is constantly spewing out that it’s talking to 127.0.0.1 so it’s up to you to remember if that task is actually local or if it’s proxied to the host.

justin.dynamicd avatar
justin.dynamicd

But it’s what the client wants, so gosh darn it I find a way to make it work

2
justin.dynamicd avatar
justin.dynamicd

so instead I’m now running powershell on the host that generates an inventory file based on settings as queried, then i download the finished file and run a local ansible-playbook referencing it.

2018-09-24

maarten avatar
maarten
08:32:26 AM
5

2018-09-25

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
03:07:33 AM
5
1
loren avatar
bliki: MonolithFirstattachment image

Going directly to a microservices architecture is risky, so consider building a monolithic system first. Split to microservices when, and if, you need it.

2018-09-26

johncblandii avatar
johncblandii

LOL. the accuracy.

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

is kubernetes the shim we need to get to mainstream #serverless by 2020?

1

2018-09-27

Matthew avatar
Matthew
02:54:19 PM

“Home datacenter. A 3-node Raspberry Pi cluster running kubernetes, and a dedicated Pi with a connected 433 mHz receiver for talking to some temperature sensors around the house.!” – thought this was a pretty cool setup so thought i’d share haha

Ryan Ryke avatar
Ryan Ryke

thats good shit

markmutti avatar
markmutti

@Matthew Good find. Very cool stuff

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

”Kubernetes the Hard(ware) Way”

2
    keyboard_arrow_up