Posts
-
Using CDN to improve file uploads
For one of my client projects, I explored different ways to increase upload speeds for large files uploaded from a desktop computer to AWS S3. The desktop computer was located in a different country, halfway around the world, with a throttled/restrictive outbound internet connection to the S3 storage located in the US region. One approach is doing parallel uploads but the focus was on how to get a faster connection.
I discovered 3 ways to architect file uploads to AWS S3:
Read more -
Writing a Git Commit Message
This is a summary of Chris Beams’ post on “How to Write a Git Commit Message” for the purpose of being my quick reference. (As Chris mentions: “This has all been said before” - see his references.)
Guidelines
- Separate subject from body with a blank line
- Limit the subject line to 50 characters, with hard limit at 72
- Capitalize the subject line
- Do not end the subject line with a period
- Use the imperative mood in the subject line
- Wrap the body at 72 characters
- Use the body to explain what and why vs. how
-
ActiveRecord vs Sequel Performance
I ran some benchmarking tests to evaluate the performance difference, if any, between ActiveRecord and Sequel ORM’s - two common ORM’s in the Ruby world. I measured two sets of benchmarks: speed, and memory consumed. In addition, each set was measured against two different databases: SQLite3, and PostgreSQL. The results are summarized below.
Read more -
Cleaning Xcode files
This is a summary from the following articles on recovering disk space from Xcode:
- Xcode users can free up space on your Mac by Ajith Nayak
- How To Recover Disk Space From Xcode by Sascha Holesch
1. Derived Data
Location:
Read more~/Library/Developer/Xcode/DerivedData/
Purpose: Contains data about the projects which includes index, build output, debug/release built targets, and logs. Data can be recreated. -
Hello Universe!
Stay tuned… 😃
Testing the timeago plugin on GitHub Pages
- Original date - 2020-04-13T10:20:00Z
- With timeago filter - 4 years and 9 months ago