Live data from Hacker News

Viewing profile — arthurschreiber

arthurschreiber

HN member
Joined
Fri, Jul 02, 2010, 12:51 PM UTC
HN karma
77
Public activity
52 items

About arthurschreiber

Staff Software Engineer at GitHub.

Recent public activity

  1. comment
    Comment #28683938

    We could enable the linter in production to silently log problematic queries without actually affecting their execution. If we used separate db users as you're suggesting, any quer…

  2. comment
    Comment #28683636

    As described in the blog post, large paths of our database schema have grown in an organic fashion. These virtual partitions allow us to prepare our database access for splitting o…

  3. comment
    Comment #28682325

    We wrote our own linters that hooked into the `sql.active_record` event emitted by ActiveRecord when a query gets executed. See https://api.rubyonrails.org/classes/ActiveSupport/No…

  4. comment
    Comment #10996201

    Unless I'm mistaken, 97% of (24 hours) = 23.28 hours.

  5. comment
    Comment #7834101

    I really like docopt ( http://docopt.org/ ) which also comes as a CoffeeScript / JavaScript version.

  6. comment
    Comment #5805974

    That's _exactly_ what XSS is about. One possible way to exploit things like this is if I send you a link to a website, that embeds the target page through an iframe with javascript…

  7. comment
    Comment #5358073

    This is similar to how the Rubinius project has been managed for a long time: After your first pull request gets merged, you'll be added to the repository as a committer.

  8. comment
    Comment #4925221

    I also created a very rspec like bdd library, called tclspec: https://github.com/arthurschreiber/tclspec

  9. comment
    Comment #4665533

    I'd even say that the biggest contributor to this difference is the non-blocking nature of Node. Using e.g. EventMachine would probably close the Gap between Node and Ruby even mor…

  10. comment
    Comment #4664417

    Well, that comparison is not exactly fair, is it? While the rails benchmark tries to compare different template engines in the same language, framework, and with blocking IO, you'r…

  11. comment
    Comment #4630385

    I'm confused, is this not what generally is done (and works) in open source development?

  12. comment
    Comment #4608150

    To be honest, I think both styles are good practice, but it totally depends on the context. For example, if I want to describe how the "#admin?" method is working, I'll use describ…

  13. comment
    Comment #4539598

    Well, but Tcl blocks are nothing more than strings that you pass as arguments that then get eval'ed using uplevel. Ruby blocks are "real" language constructs, and are real closures…

  14. comment
    Comment #4500900

    Not having an aluminium bar at the bottom makes it very much look like the Apple Cinema Display, though.

  15. comment
    Comment #4430040

    Hah! Your pull request actually introduces subtle bugs into the diff view. I had already submitted _exactly_ the same change some months ago, and after having it enabled for some t…

  16. comment
    Comment #4429704

    Yes. Just check this model, for example: https://github.com/gitlabhq/gitlabhq/blob/master/app/models/... I'm pretty sure it should have it's attributes protected. Also, prepare to …

  17. comment
    Comment #4429371

    Be sure to take a closer look at the Gitlab source code. The last time I did, they still were vulnerable to exactly the same attacks that were also demonstrated to work on Github s…

  18. comment
    Comment #4317476

    Yes, but enumerators are (in most cases) implemented with Fibers. So you're going to get hit with at least some performance degradation.

  19. comment
    Comment #4194780

    As others have already pointed out, that has nothing to do with MVC, but is more a result of how template engines usually work. E.g. in Rails, by default, due to the fact that you …

  20. comment
    Comment #4030546

    Yes, but their Model layer, in comparison with what ActiveRecord provides you with, is really not that great. One of the main aspects that I really didn't like was that the Model f…

  21. comment
    Comment #3960510

    I'm only guessing, but I'd say with the release of Github for Mac 1.2.

  22. comment
    Comment #3878927

    Same here. That's really creepy. :/

  23. comment
    Comment #3875367

    Wasn't there some actual recruiter offering DDH a senior rails developer position? I'm pretty sure I read about that in DHH's twitter stream some time ago.

  24. comment
    Comment #3806603

    Usually you will have another level of indentation, so class methods shouldn't be that easy to mistake for instance methods.

  25. comment
    Comment #3780206

    How often do you come across the need to type in your password? Personally, I do not have to do that too often, and when I have to it usually makes sense to re-authenticate.