Harry and I went to Boulder Python and heard Brandon Rhodes talk about design patterns. It’s always so delightful to hear one of his talks.
This talk was about putting together a patterns guide (Gang of Four style) that are useful in Python).
Harry was reminded of Russ Olsen’s Design Patterns in Ruby.
I should give them both a read and see how much of the patterns is Python-specific vs general dynamic languages.
I found this awesome tutorial on how to structure a Node CLI app.
Just storing it here for future references.
If you’re using Activerecord Enums, it’s common store the values that represent the enums as integers in the database. If you wanted more guarantees from the database, you’d store the values as SQL enums. However, Rail’s schema dump doesn’t SQL enums very well.
Here are some tradeoffs:
||Not supported (need to use structure.sql)
Here’s a good tutorial on how to use Activerecord Enums for either case.
Harry and I aren’t big gift givers so we were surprised when we received gifts from family and friends.
- Custom made puzzles
- Kenya-made treats from my new team
- Dino costume
- Home-baked cookie
They’re delightful! Thanks!
Harry and I attempted the vegetable wellington recipe from Serious Eats.
Here’s the result:
I’m new to both Kotlin and Android development. Since my upcoming job will focus on building an Android app in Kotlin, I’m going through some tutorials to ease my ramp up.
A lot of Kotlin+Android tutorials assume the reader is already familiar with Android development. Unfortunately, I need a gentler entry.
As someone who’s familiar with web development and knows a little Java, here’s what I found to be helpful:
- Kotlin Koans – Forget about setting up your favorite text editor to run Kotlin, and just dive right in. The online Kotlin playground gives you a taste of the language.
- Codelabs for Android Developer Fundamentals (V2) – I’m not sure how much Google will maintain these codelabs, but for now, they’re a solid introduction. All the sample code and tasks are in Java, but you can easily write everything in Kotlin.
- Keddit — Intro: Learn Kotlin while developing an Android App – This tutorial assumes you’re comfortable with Java and Android development. It gives good advice on how to interface with various libraries.
Other resources I’ve heard are good (but haven’t dug into yet):
- Kotlin in Action – I’ve seen this book mentioned in a lot of places but haven’t had a chance to read it yet.
- Lynda Courses by Chiu-Ki – I met Chiu-Ki at a local Meetup. She’s been mentoring a lot of junior developers in the area. I heard from the junior devs that they found her Lynda courses to be super helpful. I haven’t watched any of the lessons yet, but they seem like a good resource.
I’m still in the early stages of learning and will revise this post once I’m a couple months in.
Got other suggestions? Let me know!
My friend Amina and her organization Bloc are featured on Forbes 30 under 30 2019!
Check them out: