Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
Re: Building Rich Domain Models in Rails. Separating Persistence. - http://victorsavkin.com/post...
"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
Re: Building Rich Domain Models in Rails. Separating Persistence. - http://victorsavkin.com/post...
"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
Re: My Workspace - The Hiltmon - http://hiltmon.com/blog...
"Okay. You showed me yours, I'll show you mine: http://christiantietze.de/post... It was fun to do a rather not-so-serious post. Thanks for the "invitation" ;)" - 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
Re: f.lux: F.A.Q. - http://stereopsis.com/flux...
"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
Re: Single Table Inheritance + Hstore = Lovely Combination - http://www.devmynd.com/blog...
"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...
Leaving home pays off! First patch of color I’ve seen outside (at 2° C) this year https://twitter.com/DivineD...
It’s weird that <p class=\“foo\“> actually means <p class=“\“foo\““> and you could possibly declare .\“foo\“ {…} in CSS
Matching CSS selectors in whatever `<%=j render @foo %>` returns as escaped string has to look like: have_selector(’li.\“classname\“’)
Rails RSpec view specs need a few tweaks when dealing with partials in JavaScript templates. — I’m stunned that this sentence means sth.
Weird. I can invoke `reboot` in an interactive SSH session. `ssh root@… reboot` on the other hand says it cannot find the command.
RT @calpasteapp: Finally, the update is ready! Enjoy v1.1 and tell me how it works for you! Get the app at: https://search.itunes.apple.com/WebObje...
http://www.hiltmon.com/blog... „I do not know how Gonny found out about the product“ @hiltmon — funny, same for my app in January :)
RT @ara_p: OK, wow. An animated gif of a white blood cell actually chasing bacteria. Also, SCIENCE!!!1! http://cdn.pbh2.com/wordpre...
RT @go_oh: Turn your GitHub contributions into a song: https://t.co/OmCNv5Ippy #nice via @schaumiii and @seldaek
JSON Lesson: duplicate keys are legal. And weird. https://t.co/cyKvHxCmGA
ScreenHero looks like fun: simultaneously edit files or do pair-programming with two Macs. http://screenhero.com/
weird use case :) /cc @iamslav taking notes at school with @dayoneapp http://twitter.com/iamslav...
I wonder if the upcoming update and a few tweaks of the http://calendarpasteapp.com website will yield different numbers in March.
In the last two weeks or so, sales of @calpasteapp declined a lot. It was hard to hold out for so long not taking action.
Discourse looks nice and very modern compared to phpBB etc. I wonder how using that'll actually feel different. http://www.discourse.org/
Phew. Finished my first iPhone 5 wallpaper ever. Background Pattern by Seb Jachec at http://subtlepatterns.com/blu-str... http://twitter.com/DivineD...
Handy @dayoneapp export script written in Python. I think about setting this up to run once a month. http://nb.nathanamy.org/dayone-...
Aimed at screenwriters, there comes Courier Prime, for free: http://quoteunquoteapps.com/courier...
Can't find out how I increased line-height in nvALT. Any ideas? @ttscoff maybe, if available?
RT @calpasteapp: Included all-day events. They integrate nicely, and the update seems to make progress really fast. Animated preview: http://calendarpasteapp.com/img...
C'mon, how hard can it possibly be to attach an animated Gif or a link to one to a Tweet?
Other ways to read this feed:Feed readerFacebook