Skip to content

Instantly share code, notes, and snippets.

carving my own path

Kemal Ahmed goatandsheep

carving my own path
View GitHub Profile
View aws-web-analytics.html
View gender_submission.csv
PassengerId Survived
892 0
893 1
894 0
895 0
896 1
897 0
898 1
899 0
900 1

What I learned in a month as a manager

Two months ago, I was working on a project that felt completely mismanaged and didn't meet the expectations. The project had an extremely tight deadline and we were using new technologies we'd never used before.

Plans were constantly changing and it felt extremely hard to keep up. It seemed like there was a lot of broken telephone. Re-delegation of tasks encouraged there to be more than 5 managers of the project making for an issue of "bubbling concerns" where concerns needed to be raised to multiple people and missing one could be catastrophic. I was exempted from meetings with decision-making including some that were only held in person, missing key details.

Our team of 2 had high expectations, but were still split into 2 teams of 1 to distrubute our efforts across multiple platforms, one of which we'd never used before. PTO also happened to coincide with the last weeks of the project for many key members.

A designer joined the mix late in the game and views were

View kinesisAnalytics.js
Auth.currentCredentials().then(creds => {
Analytics.autoTrack('pageView', {
// REQUIRED, turn on/off the auto tracking
enable: true,
// OPTIONAL, the event name, by default is 'pageView'
eventName: 'pageView',
// OPTIONAL, the attributes of the event, you can either pass an object or a function
// which allows you to define dynamic attributes
// attributes: {
// attr: 'attr'
LANG=C sed 's/,/\\,/g' input.dat > input.dat
LANG=C sed 's/::/,/g' input2.dat > output.csv
  1. Respect Recipients' Time: This is the fundamental rule. As the message sender, the onus is on YOU to minimize the time your email will take to process. Even if it means taking more time at your end before sending.

  2. Short or Slow is not Rude: Let's mutually agree to cut each other some slack. Given the email load we're all facing, it's OK if replies take a while coming and if they don't give detailed responses to all your questions. No one wants to come over as brusque, so please don't take it personally. We just want our lives back!

  3. Celebrate Clarity: Start with a subject line that clearly labels the topic, and maybe includes a status category [Info], [Action], [Time Sens] [Low Priority]. Use crisp, muddle-free sentences. If the email has to be longer than five sentences, make sure the first provides the basic reason for writing. Avoid strange fonts and colors.

  4. Quash Open-Ended Questions: It is asking a lot to send someone an email with four long paragraphs of turgid text foll

View filterforms.js
* es6
function filterForms(target) {
const formData = (new FormData(target)).entries()
let filtered = {}
for (let pair of formData) {
// filtered[pair[0]] = pair[1].trim()
View form.js
render() {
return html`
<form id="form-${this._ref}" @submit="${this._login}">
<input type="text" name="username">
View auth_appsync_subscription_response_wrong.vtl
## Do not do this
#if(${context.identity.username} != ${context.result.parentId})
View auth_appsync_subscription_request_operation.vtl
"version" : "2017-02-28",
"operation" : "Scan",
"limit" : 1,
"filter" : {
"expression": "#filt = :val",
"expressionNames" : {
"#filt" : "parentId"
"expressionValues" : {