Skip to content

Instantly share code, notes, and snippets.

import pandas as pd
import numpy as np
import glob
import re
def readfile(file_name):
"""Read a newline delimited file.
"""
return open(file_name, encoding='utf8').read().split('\n')

Caching

Overview

  • Drupal is extremely IO intensive. UN uses Redis in a nonpersistent configuration.

  • What caching does drupal need (what modules / libraries exist for caching)? Currently they are using Redis. Opcache and memcache are other options.

  • Recommend: OPcache + Redis (TODO: does Drupal support preloading?)

@roblesch
roblesch / forwardingservice.md
Last active October 22, 2019 01:21
Telemetry Forwarding Investigation
@roblesch
roblesch / appgateway.md
Last active October 18, 2019 14:00
Azure Application Gateway Investigation

IP Whitelisting for AppInsights API [investigation]

Need: publically available static IP to send telemetry to. Traffic sent to this IP needs to be routed to Application Insights data collection endpoint

  • If we are limited to 1 IP for outgoing traffic, we can setup signalling and telemetry behind the same static IP using app gateway; app gateway may not support all constraints of signalling

AppInsights Endpoint Protocol

Endpoint Protocol Overview

@roblesch
roblesch / fizzyo-lit-review.md
Last active October 16, 2019 19:21
Fizzyo Lit Review

Lit Review

Cystic fibrosis survival: the changing epidemiology

Purpose of review

Tracking patient outcomes using cystic fibrosis (CF) national data registries, we have seen a dramatic improvement in patient survival. As there are multiple ways to measure survival, it is important for readers to understand these different metrics in order to clearly translate this information to patients and their families. The aims of this review were to describe measures of survival and to review the recent literature

@roblesch
roblesch / vsb-fault-detection.md
Last active December 13, 2020 07:39
VSB Power Line Fault Detection Notes