scalability software-architecture

Probabilistic Behaviour can Sometimes Replace State at Scale

28 Jun 2021   You can sometimes forgo keeping state for an application if you are operating at scale and you can afford some innacuracies.

Read More ›

aws ec2 ebs

AWS Examples: Change EC2 Instance Type without Losing Data

26 Jun 2021   You can change the instance type for an EC2 instance by detaching the base volume (where the OS is installed), then re-attaching it to another instance (of the desired type) and then copying files manually on demand.

Read More ›

ubuntu

Assign Command to Keyboard Shortcut on Ubuntu

30 May 2021   Assign hotkeys and keyboard shortcuts to commonly used terminal commands on Ubuntu

Read More ›

aws-cloudwatch boto

Set up Heartbeat Monitoring on AWS Cloudwatch with Boto: Example

30 May 2021   How to create a heartbeat check on AWS Cloudwatch, so that you get notified if some event has NOT happened in the last minute/hour/days etc

Read More ›

python pandas

Pandas Dataframe Examples: Styling Cells and Conditional Formatting

09 May 2021   Some examples on how to highlight and style cells in pandas dataframes when some criteria is met. Useful for analytics and presenting data.

Read More ›

python regex

Python Regular Expressions: Lookahead and lookbehind examples

09 May 2021   Examples for how and when to use lookaheads and lookbehinds in python regular expressions. These are ways to create matches that depend on what came before or what came after the pattern you want to match.

Read More ›

nlp preprocessing python

Normalize Text for Natural Language Processing Tasks: Reference and Examples

02 May 2021   A couple of common preprocessing tasks you need in order to be able to use raw text in NLP tools.

Read More ›

Bash examples: redirecting output, error, input, etc

25 Apr 2021   Examples on how to redirect the ouutput of commands and scripts to files, STDOUT, STDERR, etc.

Read More ›

git

Git-LFS: Reference and Examples

11 Apr 2021   Common tasks and examples related to using Github's LFS (Large File Storage) functionality

Read More ›

project-review sequence-learning generative-models

Project Review: Generating Article Titles from Keywords

31 Mar 2021   Another project summary, this time for a client who needed an API-accessible ML system to generate text to be used as article titles, given a keyword as input.

Read More ›