Live data from Hacker News

Viewing profile — cypriss

cypriss

HN member
Joined
Sun, Dec 04, 2011, 7:24 PM UTC
HN karma
109
Public activity
12 items

About cypriss

No profile information was provided.

Recent public activity

  1. comment
    Comment #7630867

    I agree that 'context' and passing this context between middleware is the biggest missing item from the standard http+"pat". This library (Goji) solves it with a map[string]interfa…

  2. comment
    Comment #6897964

    We're talking microseconds here, not milliseconds

  3. comment
    Comment #6897826

    As another commenter mentioned, I learned about Martini midway through writing this. I really like Martini - if it existed a bit earlier, I probably would have just used it and bee…

  4. story
  5. comment
    Comment #6871365

    I believe this is solved with gocraft/web: https://github.com/gocraft/web The middleware would be, per the example there: func (c *YourContext) UserRequired(rw web.ResponseWriter, …

  6. comment
    Comment #5295344

    You're right about the attr_accessible statement not being entirely accurate. Rails 3 does indeed have the concept of contexts. And, we're still on Rails 2.3 :). It also seems like…

  7. comment
    Comment #5295335

    It seems like what you've done there is create two mutations (signup and delete_account) within a single namespace. You can certainly do that with the Mutations gem. What I think y…

  8. comment
    Comment #5295309

    We're using this in Rails 2.3 without Strong Parameters. Mutations whitelist input just like strong parameters do. I don't really see why you would use both, although you certainly…

  9. comment
    Comment #5295070

    That's exactly the analogy I was going for. You don't want your general ruby code to be typed-checked, but it's actually fairly important to make sure your user inputs are checked,…

  10. story
  11. comment
    Comment #3476077

    We use Mailgun at UserVoice.com for incoming mail. Of particular help to us: - All emails are converted to UTF-8 - There's always a 'plain' (text only) version of the email sent to…

  12. comment
    Comment #3322441

    This type of programming is incredibly useful when writing efficient code in low level languages (eg, linear algebra in C). When writing Ruby web apps, though, I haven't found a ne…