Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ryanbrunner
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
107 ms
·
1171.
▲
by
ryanbrunner
15y ago
I don't think even the most hardcore TDD zealots would come anywhere close to claiming that testing is a silver bullet. There will always be cases where you didn't think of a particular edge case, or when some environment-based issue makes
1172.
▲
by
ryanbrunner
15y ago
I could see it. Personal e-mail is very unlikely to hit a spam filter, but I've noticed it's very easy for legitimate notification e-mails that I expect and want to get to hit the spam filter. Just taking a look at my junk mail folder in Ou
1173.
▲
by
ryanbrunner
15y ago
Still, I think it's unrealistic to expect GitHub to parse through all of their logs. First, it would be non-trivial to detect the malicious behaviour in the first place, and secondly, keeping logs that go back multiple years is certainly no
1174.
▲
by
ryanbrunner
15y ago
Especially ironic considering the thing that sparked this whole discussion was a vunerability on GitHub , of all places. If the developers at GitHub are lumped in with the uneducated "novices", who exactly are the experts?
1175.
▲
by
ryanbrunner
15y ago
If someone made a mitre saw that didn't have a guard over the blade, and people were getting their fingers cut off, I'd absolutely blame the tool.
1176.
▲
by
ryanbrunner
15y ago
Pretty much every tutorial I can find on using controllers in Rails uses mass assignment, and the majority of them (including the beginners guide on guides.rubyonrails.org) don't mention attr_accessible or the security risk in allowing unre
1177.
▲
by
ryanbrunner
15y ago
On top of that, Rails sometimes seems like it goes out of it's way to make attr_accessible a pain to use. I know more than once on my team someone has spent more than a few minutes trying to figure out why a model wasn't updating before the
1178.
▲
by
ryanbrunner
15y ago
The problem is, the fact that you don't use mass assignment is by far the exception rather than the rule. Every notable Rails tutorial uses mass assignment. Every person using InheritedResources is using mass assignment. GitHub is using mas
1179.
▲
by
ryanbrunner
15y ago
I could be wrong, but I think what you're seeing is industry jargon more than a slight on software engineers. In movies and theatre, the "creative team" refers to designers, directors, writers, etc. "Technicians" like camera operators, CGI
1180.
▲
by
ryanbrunner
15y ago
Maybe I'm confused - I've always seen the brogrammer thing as firmly tongue-in-cheek, dripping in irony, and primarily poking fun at "bro" culture. Have I got it completely wrong, or is this one of those things where a meme peaks in popular
1181.
▲
by
ryanbrunner
15y ago
It's fairly clear that the author was referring to the default configuration that JSLint ships with. Keep in mind that the original recommendation from the author JSLint was: “There is one reliable, objective metric of JavaScript code quali
1182.
▲
by
ryanbrunner
15y ago
Utilizing branches heavily does not imply that you shouldn't have a single mainline branch that branches are merged down to often. In fact, it's incredibly difficult to do continuous integration and deployment effectively without branching.
1183.
▲
by
ryanbrunner
15y ago
This is probably my number one criticism of most "REST" APIs out there - they are horribly non self-documenting, and the effort required to make them self-documenting is really fairly trivial: 1. Ensure that you have a URI to the resource i
1184.
▲
by
ryanbrunner
15y ago
I like the idea of having a standardized way of dealing with actions (I run into this quite often when dealing with resources that are state machines), but I'm flabbergasted as to why something like a 'sum' action must be sent with a POST v
1185.
▲
by
ryanbrunner
15y ago
Agreed. I was really hoping that the document would get into some best practices around the structure of the JSON objects themselves, particularly in regards to self-documenting, such as: 1. Requiring that the root of the application or dom
1186.
▲
by
ryanbrunner
15y ago
Myspace was a bit of a copycat site of the really early guys like Sixdegrees and Friendster. It was certainly the first to get serious uptake though.
1187.
▲
by
ryanbrunner
15y ago
They've actually moved from a read-only to an ephemeral file system with Cedar. You can write to your hearts content, but can't really rely on the files being there. In most cases where you'd want to write files, you really should be using
1188.
▲
Persisting has_many associations on a Rails service with Backbone Collections
(influitive.com)
2 points
by
ryanbrunner
15y ago
|
0 comments
1189.
▲
by
ryanbrunner
15y ago
This has been getting better. The platform-specific knowledge necessary to get a Heroku app running on Cedar is pretty much limited to knowing you need to put "heroku run" in front of your rake tasks or command line utilities, and perhaps 3
1190.
▲
by
ryanbrunner
15y ago
The article seems to be more about how Open Source changed Microsoft than how Microsoft changed open source. I do think Microsoft is doing many things that should be viewed as admirable around open source - they've opened up portions of the
1191.
▲
by
ryanbrunner
15y ago
I agree with you completely that it's entirely unproven whether or not the TSA has been effective for catching terrorists. I also agree that it's a wasteful system that should be seriously reformed into something that is actually effective.
1192.
▲
by
ryanbrunner
15y ago
While I agree that the "security theatre" that the TSA provides is largely useless, I don't think this is really an accurate statement. It's entirely possible that TSA screening prevented someone getting on a plane with a weapon of some sor
1193.
▲
by
ryanbrunner
15y ago
Even though I signed up and am going to try my best to do something with this, I do agree. If you're targeting different languages / frameworks / etc, it seems like even something simple like doing a code kata in a brand new language is a
1194.
▲
by
ryanbrunner
16y ago
Rails doesn't have it's own JS library. It initially used only the prototype library (which exists outside of Rails), but with Rails 3 any javascript supplied by Rails was made library agnostic. RJS is a rails specific thing, but it's more