nottombrown
Many other readers were confused by this so we'll update the formatting to say "target completion" to make this more clear.
As Zenefits Stumbles, Gusto Goes Head-On by Selling Insurance
https://www.dropbox.com/s/7xizuaap0lbjt0k/Screenshot%202016-...
Fake Meetings for People with Too Many Real Meetings
extension Optional {
func try<U>(f: (T) -> U) -> Optional<U> {
if let unwrapped = self {
return f(unwrapped)
} else {
return nil
}
}
}
You can see how to use it in this gist:In ruby, you choose whether to signal and you choose whether to guard. Here are some ruby examples that may be more clear:
Does not signal
user = User.find_by_favorite_dinosaur("Dromiceiomimus")
Does not guard def print_favorite_dinosaur(user)
p "User's favorite dinosaur is #{user.dino})"
end
Signals and guards def print_favorite_dinosaur(user)
if user
p "User's favorite dinosaur is #{user.dino})"
else
p "No user. (Let's assume she likes T-rexs)"
end
end
possible_user = User.find_by_favorite_dinosaur("Dromiceiomimus")
print_favorite_dinosaur(possible_user) def try(*a, &b)
if a.empty? && block_given?
yield self
else
public_send(*a, &b) if respond_to?(a.first)
end
end
https://github.com/rails/rails/blob/d68419a88e424e588c2d8dec...Should be easy to do the same in swift. Let me take a stab at it.
Swift for Rubyists: Optionals
Grouper (YC W12) is hiring a rubyist in NYC
Hey HN, We’re looking for an experienced rubyist to join us. This would be a two-pronged role focused on both building product and crunching data to improve our matching process.Who are you?- You have 3+ years with Ruby on Rails- You’re comfortable hosting a brown bag tech talk.- You’re a fearless explorer - If there’s something you don’t know how to do, you’ll figure out the lowest cost path...
Grouper (YC W12) is hiring a front-end engineer in NYC
Hey HN,We’re looking for an experienced front-end dev to join us. You’ll work with us to build a javascript app for our members to use while out on Groupers.Who are you?- You have 3+ years of experience building rich client applications with Backbone, Ember, Angular etc.- Deep understanding of HTML, CSS, and JavaScript, and their client-side performance implications- You’re comfortable hosting...
Grouper (YC W12) is hiring a front-end engineer in NYC
Hey HN,We’re looking for an experienced front-end dev to join us. You’ll work with us to build a mobile-optimized javascript app for our members to use while out on Groupers.Who are you?- You have 3+ years of experience building rich client applications with Backbone, Ember, Angular etc.- Deep understanding of HTML, CSS, and JavaScript, and their client-side performance implications- You’re...
Passionate front-end dev? Grouper is hiring in NYC
Hey HN,We’re looking for an experienced front-end dev to join us. You’ll work with us to build a mobile-optimized javascript app for our members to use while out on Groupers.Who are you?- You have 3+ years of experience building rich client applications with Backbone, Ember, Angular etc.- Deep understanding of HTML, CSS, and JavaScript, and their client-side performance implications- You’re...
Grouper is hiring a lead designer in NYC
Hey HN,We're hiring a designer to help us design the perfect night out with friends. You'll be responsible for working with the product team in NYC to define the look and feel of Grouper.These are some of our favorite designs http://dribbble.com/grouperA good candidate should:- Be able to speak about the tradeoffs in your own designs- Have a copy of Steve Krug's "Don't Make Me Think"- Have a...
Rails – The Missing Parts – Policies
Grouper is hiring a Ruby tech lead
We’re opening an SF engineering office and are looking for an experienced rubyist to lead the charge. You'll be responsible for running a small team working on product and matching algorithms.Who are you?- You have 6+ years of professional development experience, including 2+ years of Rails in production.- Significant experience recruiting, mentoring & managing other engineers- You’re a...
Grouper is Hiring a Backbone/Coffeescript Contractor in NYC
Hey HN, We're looking for a contractor to work with us to clean up an existing single-page backbone app.The tool in question is an admin-facing task management system. Imagine a collaborative gmail for emails and texts. To prevent conflicts, when an admin opens a message, all other viewers of the message are shown that it is claimed.The tool should be fairly simple, but as it's grown, it's...
Want to build a team? Grouper is hiring a VP of Engineering in SF
Hey HN,We’re opening an SF engineering office and are looking for an experienced rubyist to lead the charge. You'll be responsible for running a team working on product and matching algorithms.Who are you?- You have 7+ years of professional development experience, including 3+ years of Rails in production.- Significant experience recruiting, mentoring & managing other engineers- You’re a...
Interested in remote? Grouper is hiring Rubyists
Hey HN, We’re looking for experienced rubyists to join us. This would be a two-pronged role focused on both building product and crunching data to improve our matching process.Who are you?- You have 3+ years of experience building things with rails in production.- If you're remote, you've done it before. You know how to keep work-life separation and over-communicate.- You’re a fearless explorer...
Rubyist interested in ML? Grouper is hiring
Hey HN, We’re looking for an experienced rubyist to join us. This would be a role focused on both building product and crunching data to improve our matching process.Who are we?We’re a tiny team based in NYC working to engineer the perfect night out with friends. What goes into that? So far we’ve built out matching algorithms, logistics optimizations, customer service AI, and a real-time...
Help us end loneliness – Grouper is hiring a Rubyist
Hey HN, We’re looking for an experienced rubyist to join us. If you have strong opinions on ActiveSupport::Concern and aren't afraid to patch a gem, drop me a note.Who are we?We’re a tiny team working to engineer the perfect night out with friends. What goes into that? So far we’ve built out matching algorithms, logistics optimizations, customer service AI, and a real-time collaborative email...