Viewing profile — arthurschreiber
arthurschreiber
HN member- Joined
- Fri, Jul 02, 2010, 12:51 PM UTC
- HN karma
- 77
- Public activity
- 52 items
- HN profile
- View on Hacker News ↗
About arthurschreiber
Recent public activity
-
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…
-
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…
-
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…
-
comment
Comment #10996201
Unless I'm mistaken, 97% of (24 hours) = 23.28 hours.
-
comment
Comment #7834101
I really like docopt ( http://docopt.org/ ) which also comes as a CoffeeScript / JavaScript version.
-
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…
-
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.
-
comment
Comment #4925221
I also created a very rspec like bdd library, called tclspec: https://github.com/arthurschreiber/tclspec
-
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…
-
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…
-
comment
Comment #4630385
I'm confused, is this not what generally is done (and works) in open source development?
-
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…
-
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…
-
comment
Comment #4500900
Not having an aluminium bar at the bottom makes it very much look like the Apple Cinema Display, though.
-
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…
-
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 …
-
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…
-
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.
-
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 …
-
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…
-
comment
Comment #3960510
I'm only guessing, but I'd say with the release of Github for Mac 1.2.
-
comment
Comment #3878927
Same here. That's really creepy. :/
-
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.
-
comment
Comment #3806603
Usually you will have another level of indentation, so class methods shouldn't be that easy to mistake for instance methods.
-
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.