This is to help my future self.
startx won’t load after updating Debian. I’ll often get no error messages in the logs, or the unhelpful message
failed to set IOPL for I/O (which is a red herring). There are many reasons why
startx might fail, so this issue is particularly difficult to search for.
I usually ask Harry for help.
Here’s what we did this time:
- Boot into recovery mode
- reinstall Gnome
Maybe this will help me next time.
I’m so ready for Oregon Trail.
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: