"Good to know you consider this being kind of a hack, too. I wonder what a proper solution looks like. I'd like to see some (pseudo) sample code to illustrate your preferences, maybe as a Gist, since markup is prohibited in the comments?"
- Christian Tietze
"I'm worried about your Associations example and would like you to show I got this wrong :) It this part: def add_item attrs wrap association(:items).new(attrs) end The Entity implicitly knows that it's persistable. If it wasn't persistence-aware, `add_item` could simply create and push an Item onto a stack/set/erray. (Side question for production: should it really call `new` in `add_item`?) Using `wrap(association(:items).new(attrs))` or the even worse `repository.create_item(self, attrs)` crosses boundaries between your domain or business model and your persistency layer all too often. The latter shows nicely that Repository has to pose as a wrapper to domain object (read: 'entity') creation in another domain object. Do you have more elaborate ways to not cross the bordes there, too? I attached a first sketch with less border crossing to show what I'd prefer."
- Christian Tietze
"I can totally relate to that. Not doing Crossfit here in Germany myself (it's still not very popular), I got a different perspective on overcoming obstacles thanks to weightlifting and strength training in general. But the most disrupting experience still is the cardio sessions every day, when I have to get rid of nausea and tiredness for up to 10mins during interval training. Intervals training takes a lot of willpower but always relieves me for the day."
- Christian Tietze
"Flux took at least 30min too long to switch to "night". Daylight savings time messing around with the app, perhaps? Flux' timing was better before DST kicked in :) (Bielefeld, Germany @ 52.0364,8.49988, 8:10pm)"
- Christian Tietze
"I'm going to decide soon how I'm going to handle a typical STI case in my application. Yet I hear more often than not people complaining about serialized JSON or whatever data columns because on huge tables they're going to get slow. Any experience how this'll scale and fetching performs?"
- Christian Tietze
Cool http://tlk.io is a really slick-looking and easy web chat. Now I only need people I want to real-time chat with :) /cc @tlkio
"What's Wrong With Morality" - I don't like that article: not going anywhere, offering vague, commonplace advise. http://www.psychologytoday.com/blog...