#random - January 2019

151 messages

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/

January 2019
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago

“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)
Erik Osterman (Cloud Posse)almost 8 years ago
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
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)almost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
WOW
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
took them long enough
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
but I think this is great.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
that combined with GitHub actions reduces the competitive advantages of GitLab.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Now, if they would allow project folders with multiple repos, I'll be totally content.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
I hate the flat organization with 300 top-level folders.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
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.
Nikola Velkovski
Nikola Velkovskialmost 8 years ago(edited)
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
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago

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)
Erik Osterman (Cloud Posse)almost 8 years ago
Ah yes, we’ve had this problem in geodesic for some time
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
i’ve been torn on how to fix it. at first, I fixed it this way
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
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)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
(our use-case is a bit unusual though for docker sicne we’re using docker as a thin shell)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
---
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
it’s a “universal cli” interface that is awesome for integration of lots of tools
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
erik
erikalmost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
basically, you can now have a consistent interface to your most common workflows
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
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)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
in make, we often use environment variables like args (named parameters), e.g. make plan SOMEVAR=somevalue
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
with @mumoshu’s task runner, it would look like kode plan --application=foobar --environment=baz
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
it’s kode because the $0 script is called kode
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
another way to think about this is “executable documentation”
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
it’s documentation of how to use the commands which is so good, it’s executable 😃
erik
erikalmost 8 years ago
Jan
Janalmost 8 years ago
502 on zoom should url rewrite to boom
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
yea, this has got to be a massive failure
rbadillo
rbadilloalmost 8 years ago
Zoom is having an outage FYI
antonbabenko
antonbabenkoalmost 8 years ago
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)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
yes, I also was mulling over using robo for the same reason
Srinivas
Srinivasalmost 8 years ago
Hi, Can someone give the terraform module to provide IAM access to Cloudwatch
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
If anyone wants to take this for a test: https://github.com/pecigonzalo/loro
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
let me know your thoughts
antonbabenko
antonbabenkoalmost 8 years ago
@Gonzalo Peci 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?
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
awslogs does not support some of the features, EG: log formatting like -o '[ {{ uniquecolor (print .Stream) }} ] {{ .TimeShort }} - {{ .Event.ecs.cluster }} - {{ .Event.decoded.message }}'
Gonzalo Peci
Gonzalo Pecialmost 8 years ago(edited)
only log query/filtering, which I intend to support as well
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
I also had issues with its time filtering
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
It also supports global config files
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
$HOME/.loro.yaml to set some defaults, like since and etc
Gonzalo Peci
Gonzalo Pecialmost 8 years ago(edited)
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
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
all great projects, but IMHO all were lacking X or Y so im trying to bring it all together
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
loro can also print JSON or raw messages, so you can parse with JQ
joshmyers
joshmyersalmost 8 years ago
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
Gonzalo Peci
Gonzalo Pecialmost 8 years ago(edited)
It says on the README why it was not added to cwlogs which is the closes to what im trying to get to
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
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
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
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)
Erik Osterman (Cloud Posse)almost 8 years ago
I was literally just looking for something like this on friday
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
Give it a look, so far I found some cases when --follow stops following new streams
Gonzalo Peci
Gonzalo Pecialmost 8 years ago(edited)
I think its because i do not discover new streams, ill check tomorrow
Gonzalo Peci
Gonzalo Pecialmost 8 years ago(edited)
^ that should be fixed now and added non-json messages basic support
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
New slack logo is ugly
antonbabenko
antonbabenkoalmost 8 years ago
At first I thought some users uploaded new avatars, which were odd…
zadkiel
zadkielalmost 8 years ago
Yeah just seen that
Maarten van der Hoef
Maarten van der Hoefalmost 8 years ago
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)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
@joshmyers has a tool
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Maarten van der Hoef
Maarten van der Hoefalmost 8 years ago
cool thx
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
I never contemplated the risks of lets encrypt going donw
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Hah! first time I’ve seen this:
erik
erikalmost 8 years ago
erik
erikalmost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
congrats @Jan @Maarten van der Hoef @Nikola Velkovski!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
😃
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Jan
Janalmost 8 years ago
hahaha wait what
Jan
Janalmost 8 years ago
I talk too much?
joshmyers
joshmyersalmost 8 years ago
lol, looks like Ansible to me!
Gonzalo Peci
Gonzalo Pecialmost 8 years ago
bashsible
Alexander Tolstikov
Alexander Tolstikovalmost 8 years ago
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? 😃
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
@Alexander Tolstikov totally….. I’m all about productivity hacks.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
ugh timezones suck. Am in New Zealand for a conference and jet lag is kicking my arse.
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
Trying to finish writing a talk I'm giving in about 4 hours..
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
What's the talk on?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
@endofcake is in NZ
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
Talk is essentially talking about how automation shouldn't be the first thing you show junior staff
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
and that they need to understand what the automation is doing behind the scenes
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
I interview people all the time
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
and they'll tell me all about how they use puppet and terraform and so on
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
but when I ask if they can do it manually
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
or understand what it's actually doing for them
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
I get blank looks
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
hahah yea, I know the feeling
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
Like don't me wrong I love writing automation
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
and using it
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
but I want to understand what the hell it's doing
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Yea, i've noticed the same thing
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
I assume every one knows what an HTTP request looks like
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
but then ask them, and they've only ever used curl or some library to wrap it
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
I'll be honest I'm a bit rusty on the specifics of it
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
😃
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
because I haven't needed to do that in quite a while
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
i guess it's just about what point we jump on the rails
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
yep
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
I'd get back in the swing of it pretty quickly tbh
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
it's what I do
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
I get handed things that are on fire
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
and I get to figure out how to extinguish said fire without actually breaking shit further
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
but yeah I planned to write the talk before I came
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
but I got pulled into a DC migration 2 days before I left
Andrew Jeffree
Andrew Jeffreealmost 8 years ago
as the people planning it had done a fantastic job of screwing it all up
Jan
Janalmost 8 years ago
Or just basic subnet math
Jan
Janalmost 8 years ago
I find debugging questions to be great
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Yea those are great
Jan
Janalmost 8 years ago
Mixed with high level architecture questions
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Does anyone have recommendations for “applicant tracking systems” aka ATS?
Nico
Nicoalmost 8 years ago
I've used http://www.greenhouse.io/ in the past,
Nico
Nicoalmost 8 years ago
never used anything else so can't compare but it fulfilled our needs
antonbabenko
antonbabenkoalmost 8 years ago
Sounds like you have a good problem to solve! More applicants than you can handle via emails or in memory. :)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
This looks nice too
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
Maciek Strömich
Maciek Strömichalmost 8 years ago
@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/
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
I never heard of Idera
joshmyers
joshmyersalmost 8 years ago
Me neither
Joe Presley
Joe Presleyalmost 8 years ago(edited)
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)
Erik Osterman (Cloud Posse)almost 8 years ago
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)
Erik Osterman (Cloud Posse)almost 8 years ago
basically ensuring the longevity of the product, but not trying to out do the competition
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
loren
lorenalmost 8 years ago
anyone else catch themselves typing git commands into slack by accident all the time?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
for me it’s always ls
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
ls
Gonzalo Peci
Gonzalo Pecialmost 8 years ago(edited)
I do Ctrl+w and close tabs/windows all the time when trying to delete a word
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Maarten van der Hoef
Maarten van der Hoefalmost 8 years ago
Anyone every worked with https://concourse-ci.org ? Would like to hear opinions.
joshmyers
joshmyersalmost 8 years ago
@Maarten van der Hoef used concourse briefly. Was nice but seemed very tied into CloudFoundry/bosh
joshmyers
joshmyersalmost 8 years ago
Have you looked @ Drone?
Maarten van der Hoef
Maarten van der Hoefalmost 8 years ago
Hi @joshmyers, a potential customer wants to use it, would be part of the assignment.
joshmyers
joshmyersalmost 8 years ago
It is a bit of a learning curve IIRC
Jan
Janalmost 8 years ago

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.
keen
keenalmost 8 years ago
@Maarten van der Hoef 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)