Live data from Hacker News

Viewing profile — stefano_c

stefano_c

HN member
Joined
Mon, Feb 29, 2016, 10:51 PM UTC
HN karma
50
Public activity
11 items

About stefano_c

No profile information was provided.

Recent public activity

  1. comment
    Comment #37953432

    The "Variance of slice types" paragraph is confusing as hell. The type Tree implements interface Barker, after all. To me it looks like this is more about what I call "accidental i…

  2. comment
    Comment #35685880

    The irony is that in a normal Rails app workloads are already split by default (requests and background jobs are handled by different processes that share the same codebase).

  3. comment
    Comment #33967211

    I've been writing Ruby for 20+ years and "unless" (the whole language, actually) immediately clicked for me when I first learned it. That said, I only use it in 2 cases: * as a tra…

  4. comment
    Comment #33953471

    I wish I could upvote comments more than once on HN :-)

  5. comment
    Comment #33947944

    > - There are no booleans in the language! Conditionals can still succeed or fail, but failure is defined as returning zero values and success is defined as returning one or more v…

  6. comment
    Comment #33729999

    > How about scheduling a daily summary email? Daily reports? Forgive me if I'm wrong (I don't know Phoenix that well), but don't you need some external library like Exq do perform …

  7. comment
    Comment #31189645

    Yep, you're perfectly right of course. My "solution" was mainly to address the problem "how can I return a String from a const function"... the answer is that you don't have to :-)…

  8. comment
    Comment #31172770

    One possible solution in Rust could be: enum Value { Fizz, Buzz, FizzBuzz, Number(usize), } impl std::fmt::Display for Value { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fm…

  9. comment
    Comment #27219236

    > There are no tags, or labels, no other folders or any other buckets of organization. Actually there are labels (and what's the difference between a tag and a label?) > [...] ther…

  10. comment
    Comment #23868694

    What would you suggest for replacing e.g. `u8 as usize`?

  11. comment
    Comment #11199377

    > The thing that DHH is failing to mention is that Monoliths work great when your application looks something like Basecamp. The thing that people fail to grasp is that (almost) ev…