#random (2020-06)

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-06-30

2020-06-24

Karoline Pauls avatar
Karoline Pauls

https://medium.com/python-pandemonium/building-robust-rabbitmq-consumers-with-python-and-kombu-part-1-ccd660d17271

Is there something I can do to stop people from copying and pasting code from this dangerous person? I don’t think there are comments on Medium anymore… The “robust” code collapses when processing takes more than heartbeat interval, which leads to messages being redelivered, which means the longest processing jobs will occur multiple times for the same messages, until they somehow happen to succeed.

Last week I had to fix code which was basically this, copied and pasted. In general case it is impossible to consume from a RabbitMQ queue without a dedicated thread for RabbitMQ communication.

Building Robust RabbitMQ Consumers With Python and Kombu: Part 1

This article is going to cover building a RabbitMQ consumer in Python and Kombu that is capable of ensuring that the connection it…

loren avatar
loren

contact the author?

Building Robust RabbitMQ Consumers With Python and Kombu: Part 1

This article is going to cover building a RabbitMQ consumer in Python and Kombu that is capable of ensuring that the connection it…

loren avatar
loren

it does seem like it would let me comment on that article, also… https://medium.com/p/ccd660d17271/responses/show

Responses – Medium

Responses to a Medium story.

loren avatar
loren

oh haha, i see your comment on there now

Karoline Pauls avatar
Karoline Pauls

I had to create a medium account

Karoline Pauls avatar
Karoline Pauls

medium is the new stackoverflow when it comes to copy-paste

sahil kamboj avatar
sahil kamboj

Hey Guys aws rds (mariadb10.4) root user by default cant give GRANT ALL permission how can we make it do that I need grant all permission

Karoline Pauls avatar
Karoline Pauls

that’s how i feel, except my task is to build a bucket

2020-06-23

Maciek Strömich avatar
Maciek Strömich
Free AWS, Azure, GCP, Kubernetes Architecture Diagram Tool | CloudSkew attachment image

Draw AWS, Azure, GCP, Kubernetes diagrams for free

3

2020-06-22

tomkinson avatar
tomkinson

Does anyone know any similar Slack’s for Database related stuff? Trying to use a database trigger in MongoDB to bump a specific document field into a new document and having some issue but hard to know where to ask besides SO https://stackoverflow.com/q/62518308/7987987

My $or selector in a database trigger match expression doesn't work at the second level of nesting when configuring a database trigger

Update: I use "$match expression" to describe this but I don’t actually use the $match operator. According to the docs, the selector should conform with $match’s syntax, though the $match

rajeshb avatar
rajeshb

Hi All, i am getting below exception when trying to provision EMR from Module https://github.com/cloudposse/terraform-aws-emr-cluster

Error waiting for EMR Cluster state to be "WAITING" or "RUNNING": TERMINATED_WITH_ERRORS: VALIDATION_ERROR: ServiceAccessSecurityGroup is missing ingress rule from EmrManagedMasterSecurityGroup on port 9443

Kindly comment Thanks

cloudposse/terraform-aws-emr-cluster

Terraform module to provision an Elastic MapReduce (EMR) cluster on AWS - cloudposse/terraform-aws-emr-cluster

2020-06-19

Gowiem avatar
Gowiem
The Internet changes: HTTP/3 will not use TCP anymore attachment image

QUIC is the protocol underlying the next version of HTTP

3
maarten avatar
maarten

illuminati confirmed

The Internet changes: HTTP/3 will not use TCP anymore attachment image

QUIC is the protocol underlying the next version of HTTP

1
Gowiem avatar
Gowiem

Haha I just realized this was posted back in 2018. thought it was some new information, but nope. Likely not going to see this for a while.

keen avatar

heh, we did some in-house http-over-udp magic back in ~2010, 2011. I’m sure google did theirs better, we just needed it for a single service - and it was a “if we need this in the future, we’ll invest more in it as we scale up” prototype…

2020-06-17

Karoline Pauls avatar
Karoline Pauls

that feeling when the last couple of days of performance problems are solved by an init container with

DELAY="$(( $RANDOM % 120 ))"
echo "Delaying by $DELAY"
sleep "$DELAY"

to be fair to myself, i don’t know this application very well and it tends to lock up in 2 different databases at least

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

nice trick!

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

i forgot about $RANDOM

Karoline Pauls avatar
Karoline Pauls

well, not fully, I’m in the process of adding net.ipv4.tcp_keepalive_time sysctls and friends, which requires adding arguments to kubelets all because devs won’t send heartbeats

Karoline Pauls avatar
Karoline Pauls

also all of that is only partially helpful

Maciek Strömich avatar
Maciek Strömich
Introducing AWS Snowcone – A Small, Lightweight, Rugged, Secure Edge Computing, Edge Storage, and Data Transfer Device | Amazon Web Services attachment image

Last month I published my AWS Snowball Edge Update and told you about the latest updates to Snowball Edge, including faster storage-optimized devices with more memory & vCPUs, the AWS OpsHub for Snow Family GUI-based management tool, IAM for Snowball Edge, and Snowball Edge Support for AWS Systems Manager. AWS Snowcone Today I would like […]

2020-06-13

Maciek Strömich avatar
Maciek Strömich
HSBC moves from 65 relational databases into one global MongoDB database attachment image

HSBC Bank is one of the world’s leading financial institutions. It is simplifying its data model by running its applications on MongoDB.

Andrey Nazarov avatar
Andrey Nazarov
HSBC moves from 65 relational databases into one global MongoDB database attachment image

HSBC Bank is one of the world’s leading financial institutions. It is simplifying its data model by running its applications on MongoDB.

2020-06-11

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
You need a wiki - Create a wiki with Google Docs attachment image

Turn your Google docs into a wiki

:--1:4
2
keen avatar

countdown for when google buys them, breaks and abandons the project, and eventually shuts it down starts now!

You need a wiki - Create a wiki with Google Docs attachment image

Turn your Google docs into a wiki

keen avatar

sadly no friendly URLs still…

:--1:1
keen avatar

but this could maybe finally make google drive something useful

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

good catch

2020-06-09

2020-06-08

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
The Impending Doom of Expiring Root CAs and Legacy Clients attachment image

Regular readers will know that I’m very active in the CA / PKI space and even deliver a 2-day advanced training course on the topic. Over the last year or so I’ve been watching as a potentially big problem has been rolling in over the horizon and just the other day

Jonathan Parker avatar
Jonathan Parker

So how to update the root CAs on the Tesla roadster https://www.whereisroadster.com/

Where is Starman? Track Elon Musk's Tesla Roadster in Space! · Where is Starman? attachment image

Current location of Elon Musk’s cherry red Tesla Roadster and Starman launched by SpaceX on the Falcon Heavy maiden flight

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

Lol

jedineeper avatar
jedineeper

Just need to launch a repeater in a faster orbit so it can wirelessly update.

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

Coming to a device near you!

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

Another way of looking at this is the built-in obsolesce of IOT devices that are not updated

2020-06-06

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

Wow Cloudflare runs Nomad

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
How we use HashiCorp Nomad attachment image

A walkthrough on how we are improving the reliability of our management services running in each data center by using Nomad for dynamic task scheduling.

2020-06-04

maarten avatar
maarten
03:07:55 PM
5
keen avatar

3rd party code review ftw

keen avatar

compliance

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

Lol

PePe avatar
Terraform v0.13.0 beta program · Issue #25016 · hashicorp/terraform

We just launched Terraform 0.13.0 beta 1! We need your help, and want to hear from you. You can download beta 1 on releases.hashicorp.com. We're expecting to ship beta 2 on June 17th. I'll …

1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
hashicorp/terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is an open source tool that codifies APIs into declarative configuration files that can be shared amon…

2020-06-03

Zachary Loeber avatar
Zachary Loeber

This is what it feels like to troubleshoot complex helm charts….

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

hahahah right?

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

tweak, redeploy, crashloop

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

tweak, redeploy, crashloop

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

tweak, redeploy, crashloop

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

tweak, redeploy, crashloop

Zachary Loeber avatar
Zachary Loeber

I even yell like he does when it fails over and over again… “GAH!”, “ARRRGGGHHH”

Zachary Loeber avatar
Zachary Loeber

Then when it finally works and the stars align … I throw my keyboard across the room!

:--1:1

2020-06-02

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
:--1:3
Alex Siegman avatar
Alex Siegman

That guy was banged up by the end, dang.

James Woolfenden avatar
James Woolfenden

Painfully determined, but Darwins monkeys can do it once, i want see him land it twice so its no fluke.

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

Just a reminder of what it takes to become successful

Chris Fowles avatar
Chris Fowles

… or what it takes to become concussed.

1
    keyboard_arrow_up