Org Web Adapter

journals/2019_03_26.org

Tuesday, 3/26/2019

ID
f919f1a9-d277-405e-af70-a56efec29d6f

#+BEGIN: clocktable :scope file :maxlevel 2

#+CAPTION: Clock summary at

| Headline | Time | |

|--------------------+--------+------|

| *Total time* | *7:55* | |

|--------------------+--------+------|

| Tuesday, 3/25/2019 | 7:55 | |

| \_ Tasks [9/21] | | 7:55 |

#+END:

Tasks [14/14]

Today's meetings

Town manager applcation review
Team IO standup

DONE Write in personal journal

:LOGBOOK:

CLOCK: -- => 0:19

:END:

DONE Clean up the kitchen

@homecleaningkitchen

:LOGBOOK:

CLOCK: -- => 0:45

:END:

DONE Start sourdough

@homedinnerbread

:LOGBOOK:

CLOCK: -- => 0:20

:END:

DONE Vacation time budget meeting

@townmeetingbudget

SCHEDULED: <2019-03-26 Tue 9:30>

:LOGBOOK:

CLOCK: -- => 1:56

:END:

Decided to put $8000 in the budget at $15/hour to pay a part-time stand in for

either Sue or Karen's job when they take vacation. Discussed the idea of a two

week vacation buy back option at year's end, but Jimmy needs to draft a policy.

DONE Town manager application review meeting

@townmeetingtownmgr

SCHEDULED:

:LOGBOOK:

CLOCK: -- => 1:26

:END:

Narrowed it down to five remote/in-person candidates. David Barrett made some

excellent points given his experience interviewing for many positions like this.

A few folks that stood out to me he had good reasons for excluding, such as

compensation being far too high, or frequent job changes.

DONE Fix caregap measure deletion management command once and for all

@workcaregaps

:LOGBOOK:

CLOCK: -- => 1:05

:END:

Ripped a bunch of stuff out. We now hard delete measure defs, and associated

MeasureDefinitionToAvailableCDS. And we make sure we can't delete non-care gap

programs on accident.

DONE Team I/O standup

@workmeetingstandup

:LOGBOOK:

CLOCK: -- => 1:24

:END:

DONE 3 mile run

@personalexerciserun

:LOGBOOK:

CLOCK: -- => 0:30

:END:

A solid run, pegged just under 8 min per mile. Did a few fartleks on the way out

and back too.

DONE Check maple taps

@hometappingfarm

:LOGBOOK:

CLOCK: -- => 0:10

:END:

DONE FIGmd calculator timeline

@workmeetingfigmd

:LOGBOOK:

CLOCK: -- => 0:45

:END:

+ Need to do test of ripping out JSON files for CMS measures and see what breaks

+ 1.3 ABC router

+ something we can modify in real-time

+ driven from the database

+ provided via an endpoint

+ REAL A/B testing of the endpoint

+ Get something from both calcs and check results

+ If FIGmd goes down or something goes wrong, just switch everything back to capybara

+

DONE Proof sourdough bread

@homedinnerbread

:LOGBOOK:

CLOCK: -- => 0:20

:END:

DONE Clean up the kitchen

@home@workchores

:LOGBOOK:

CLOCK: -- => 0:25

:END:

DONE Investigate issue with sharing API credentais

unbox@workerrors

:LOGBOOK:

CLOCK: -- => 0:57

:END:

https://elationhealth.atlassian.net/browse/SWAT-1323

Took a look at this issue first thing this morning and realized I was missing a

lot of information. There was no error in Sentry that really jumped out at me

and I left a note for Parker to give me a little more info about email addresses

and file names to track it down.

https://graylog.k8s.elationemr.com/messages/graylog_0/48e92ad0-5010-11e9-96c6-fea6b628cf22

#+BEGIN_SRC python

Traceback (most recent call last):

File "/opt/hippo/elation/internal_tool/views.py", line 26, in handle_request_and_errors return self.handle_request_transactional(handler, request, *args, **kwargs)

File "/opt/hippo/elation/util/views.py", line 378, in handle_request_transactional return self.handle_request(handler, request, *args, **kwargs)

File "/opt/hippo/elation/util/views.py", line 356, in handle_request response = self.handle(handler)

File "/opt/hippo/elation/util/views.py", line 241, in handle raw_result = handler(self.request, *self.args, **self.kwargs)

File "/opt/hippo/elation/internal_tool/data_share_views.py", line 85, in post sfile.send_email_with_download_link(recipient_ids=[recipient.id])

File "/opt/hippo/elation/internal_tool/models.py", line 501, in send_email_with_download_link s3_link = self.get_s3_file_url(expires_in=expiration)

File "/opt/hippo/elation/internal_tool/models.py", line 466, in get_s3_file_url key = self.get_s3_key()

File "/opt/hippo/elation/internal_tool/models.py", line 412, in get_s3_key key = s3_util.get_s3_key(search.group("bucket"), search.group("key"))

File "/opt/hippo/elation/util/s3_util.py", line 67, in get_s3_key bucket = conn.get_bucket(bucket_name)

#+END_SRC

DONE Write up developer journal and copy to Confluence

@workjournal

https://elationhealth.atlassian.net/wiki/spaces/~colin.powell/pages/305823777/Work+log

Journal

Trying to figure out a way to use "day pages" in org mode with GTD rather than

agenda mode. For some reason the barrier to get agenda to work consistently

every day is just too high for me, and the systems only work consistency.

---

I was hoping to get all the town manager applicaitons reviewed yesterday but

ended up asleep on the couch after just a little bit of reading from 12 Rules

for Life.

The most interesting takeway from the reading last night was the fact that

domination hierarchies are not unique to humans, but as old as most life on

Earth. Lobsters become submissive when beaten and have higher incidents of

health problems and other miscelaneous physiological changes that are

inescapable. Peterson's suggesting then is to carry yourself better to give

yourself the best chance in a game that you have no choice but to play.

---

Thinking today. I need to do a better job of segementing work I do. Git is a

fantastic illustration of the scope of the problem, where I'll hack on something

without a specific goal, or with too large of a goal. When I finally get to a

place where i can commit something, it's way too late and I've touched a dozen files.

Work log

Had a number of meetings on the docket today, though one of them got cancelled.

When we were missing Arjun and Ed for a Team I/O story session, Andrew made

mention of not having specific stories to discuss but wanting to discuss the

nature of the team and whether things were working if we wanted to try to do

more teamwork together rather than as clearly two teams put under one lead. I

had some thoughts on that, but when Arjun wasn't able to make it, we just

cancelled. That makes sense given what I know of Andrew's schedule. All

meetings, but I hope we get a chance to discuss how we work as a team.

Besides that, I spent the morning working on finally fixing the care gap measure

installation and deletion script. We were still doing a funny scan of on disk or

S3 measure definitions with every migration run. Thinking about it, we're not

going to be adding more on-disk measures for a while, and for everything else it

was just confusing for CO (measures would be deleted when migrations ran, but

not before ... odd) and time consuming for releases and stage deploys.

So I removed that scan on migration run, and then fixed the deletion script to

hard delete measure definitions, but only for configurable quality programs.

That means you can't use the command to delete any measures with files stored on

S3 or disk.

I then turned to focus on the sharedfile problem that Parker opened (SWAT-1323). After

chasing my tail for a while I finally tried sharing credentials using a kube

environment and discovered that wihle it works locally, all kube, stage and prod

environments have the same error. It's a strange one too, involving Boto and a

capital letter in the bucket name. Nevermind that the bucket name comes from

settings and is always some form of 'elation-data-share'

I wasn't able to come up with a solution today so I'll start my day with that tomorrow.