<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>a place for my hobbies and exploits</description><title>Jason Wells</title><generator>Tumblr (3.0; @flipstock)</generator><link>http://blog.flipstock.net/</link><item><title>chrisbowler:

This made me laugh, but I was surprised by the...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lbrzejtJtz1qz9w2bo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://log.chrisbowler.com/post/1552443676/designers-vs-developers"&gt;chrisbowler&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://sixrevisions.com/infographics/web-designers-vs-web-developers-infographic/"&gt;This&lt;/a&gt; made me laugh, but I was surprised by the salary differences.&lt;/p&gt;
&lt;p&gt;[ via &lt;a href="http://twitter.com/behoff/status/3084357568823296"&gt;@behoff&lt;/a&gt; ]&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://blog.flipstock.net/post/1554266821</link><guid>http://blog.flipstock.net/post/1554266821</guid><pubDate>Fri, 12 Nov 2010 12:44:38 -0700</pubDate></item><item><title>"Friends should be simple and deep, not complex and superficial."</title><description>“Friends should be simple and deep, not complex and superficial.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Mr. Rogers&lt;/em&gt;</description><link>http://blog.flipstock.net/post/1111076189</link><guid>http://blog.flipstock.net/post/1111076189</guid><pubDate>Sun, 12 Sep 2010 14:02:01 -0600</pubDate></item><item><title>A Lesser Photographer: The Photo Bubble</title><description>&lt;a href="http://www.alesserphotographer.com/post/773244524/the-photo-bubble"&gt;A Lesser Photographer: The Photo Bubble&lt;/a&gt;: &lt;blockquote&gt;
&lt;p&gt;Bubbles are usually reserved for complex products that most regular people own, and, now, more and more regular people are carrying powerful cameras (their phones) in their pockets wherever they go. The thing I’ve noticed is that they’re doing so without regard to the specs. They want a good picture (a result). That’s it. They exist comfortably outside the bubble, almost unaware the bubble exists.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I couldn’t agree more. Tech blogs and news sites however, are increasingly living inside these bubbles. I have made a concerted effort as of late to move myself out of these bubbles and into a world where I have essential tools that perform well.&lt;/p&gt;
&lt;p&gt;Update: Here are two places, other than A Lesser Photographer, that have helped to inspire me in that direction recently:&lt;/p&gt;
&lt;p&gt;&lt;a title="Minimal Mac" target="_self" href="http://minimalmac.com/"&gt;Minimal Mac&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a title="Chris Bowler" target="_self" href="http://chrisbowler.com/"&gt;Chris Bowler&lt;/a&gt;&lt;/p&gt;</description><link>http://blog.flipstock.net/post/773525051</link><guid>http://blog.flipstock.net/post/773525051</guid><pubDate>Mon, 05 Jul 2010 12:09:15 -0600</pubDate><category>essential</category><category>photography</category><category>minimal</category></item><item><title>"You can spend tons on fancy equipment, but if you’ve got nothing to say…well, you’ve got nothing to..."</title><description>“You can spend tons on fancy equipment, but if you’ve got nothing to say…well, you’ve got nothing to say.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://37signals.com/rework/"&gt;REWORK&lt;/a&gt; (via &lt;a href="http://www.alesserphotographer.com/"&gt;alesserphotographer&lt;/a&gt;)&lt;/em&gt;</description><link>http://blog.flipstock.net/post/593988781</link><guid>http://blog.flipstock.net/post/593988781</guid><pubDate>Wed, 12 May 2010 20:08:39 -0600</pubDate></item><item><title>"So much complexity in software comes from trying to make one thing do two things."</title><description>“So much complexity in software comes from trying to make one thing do two things.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://37signals.com/svn/posts/2316-so-much-complexity-in-software-comes-from"&gt;Insight by Ryan at 37signals&lt;/a&gt; (via &lt;a title="minimalmac" href="http://minimalmac.com/post/574302966/so-much-complexity-in-software-comes-from-trying"&gt;minimalmac&lt;/a&gt;)&lt;br/&gt;Echos the same sentiments as 37signals’ book &lt;a href="http://www.37signals.com/rework"&gt;Rework&lt;/a&gt;. An excellent read I just finished. I highly recommend it.&lt;/em&gt;</description><link>http://blog.flipstock.net/post/579723722</link><guid>http://blog.flipstock.net/post/579723722</guid><pubDate>Fri, 07 May 2010 16:34:00 -0600</pubDate><category>truth</category><category>quote</category></item><item><title>Hibernate OneToMany Annotations</title><description>&lt;p&gt;As it was hard for me to find a clear example of a OneToMany join using Hibernate annotations in Java the other day, I decided to write this up.&lt;/p&gt;
&lt;p&gt;This is an example of a unidirectional OneToMany join in Java using Hibernate. The JoinColumn name is a foreign key in the Message table. This will allow access to the Set of the messages that have been sent to the particular user. It automatically joins on the primary key of the User table.&lt;/p&gt;
&lt;pre&gt;@Entity

@Table(name = "user")

public class User {

    @Id

    @GeneratedValue

    private Integer user_id;

    private String first_name;

    private String last_name;

    private String user_name;



    @OneToMany(cascade = CascadeType.ALL)

    @JoinColumn(name="to_user")

    private Set&amp;lt;Message&amp;gt; messagesTo;

}&lt;/pre&gt;
&lt;p&gt;This is the Message class that corresponds with the User class. The join is on the to_user column which is shown using a column annotation to specify a different name in the database. The join however will give a set of complete Message objects and not just the column joined.&lt;/p&gt;
&lt;pre&gt;@Entity

@Table(name = "message")

public class Message {

    @Id

    @GeneratedValue

    private Integer message_id;

    @Column(name = "from_user")

    private Integer from;

    @Column(name = "to_user")

    private Integer to;

    @Column(name = "message_text")

    private String message;

    @Column(name = "date_sent")

    private Date date;

}&lt;/pre&gt;
&lt;p&gt;With this join you can name use a generic getMessagesTo() function that would allow you to easily retrieve the Set of all the messages sent to a particular user. The process can be easily repeated to retrieve the messages sent from a user as well.&lt;/p&gt;
&lt;p&gt;It is important to note that this join is a unidirectional relationship. It does not provide for retrieving a User from an instance of Message.&lt;/p&gt;</description><link>http://blog.flipstock.net/post/16604371937</link><guid>http://blog.flipstock.net/post/16604371937</guid><pubDate>Wed, 15 Jul 2009 20:34:00 -0600</pubDate><category>development</category></item></channel></rss>

