Rystraum - rystraum.com - TBCF
General Information:
Latest News:
Nested forms with polymorphic association in Active Admin/Formtastic 27 Aug 2013 | 01:00 pm
I spent nearly the whole day making this work. Given models: Invoice, has_many :items Item belongs_to :itemizable, polymorphic: true Domain & Service has_many :items, as: :itemizable The problem ...
The key to happiness: a good bed, nice chair and healthy food 27 Aug 2013 | 01:14 am
If you want to spend on yourself, here’s what I suggest you spend on: A good bed, nice chair and healthy food. (Ha! I bet you didn’t see that coming!) This image would explain everything. Mmm. Pie....
Motivation and Decision-making 20 Aug 2013 | 11:06 am
I like reading about psychology. Especially psychology related to motivation and decision-making. Here are some links that I find myself visiting time and again. Some of them, I can relate with (to s...
Obligatory Birthday Post — 24 of ??? 18 Aug 2013 | 11:11 pm
It was more of a birthday weekend, more than anything. I did not have any plans whatsoever. All I knew was that I was pretty tired because of the week that just ended. I’d like to thank everyone who...
The Un-fun game of eRepublik 12 Aug 2013 | 10:39 pm
I play Erepublik and have been playing consistently for quite some time now. Okay, playing is probably an overstatement. It’s more accurately described as I’ve-been-logging-in-and-clicking-around-10-...
Opportunity Cost 5 Aug 2013 | 07:58 am
One of my favorite micro-economic concepts is opportunity cost. Simply put, if I have a limited resource, the total cost of spending that resource on something is the face value plus all the foregone...
The Problem with MLM 31 Jul 2013 | 08:20 pm
Disclaimer: As with any generalizations, what I’m about to say may not be applicable to every possible case there is. It just means that these things happened to a lot of people often enough that it p...
Technical Business Co-founder 30 Jul 2013 | 12:42 am
I code. I pitch. I manage systems. I help structure deals. I fix networks. I negotiate. I write tests. I manage projects. I manage scope creep. I document. I’m primarily a technical person, but I un...
Hello world! 22 Jun 2013 | 12:41 am
I was supposed to make a backup. I was supposed to transfer my hosting from my original host to my own account (I run a sorta hosting business). “I’ll get around to it”, that’s what I said. Then fin...
Messing around with notify-send 13 Feb 2013 | 04:11 pm
I’m doing a python script that does a bunch of things and notifies the user of what’s happening via notify-send. I’m using the script indicated here as a function: import dbus def notify(message, time...