HNHacker News
TopNewBestAskShowJobs

wandernotlost

119 karma · joined August 6, 2011

submissionscomments
wandernotlost··on How We Knew It Was Time to Leave the Cloud
It sounds like they didn't design for the cloud and are now experiencing the consequences. The cloud has different tradeoffs and performance characteristics from a datacenter. If you plan for that, it's great. Your software will be antifragile as a result. If you assume the characteristics of a datacenter, you're likely to run into problems.
wandernotlost··on Tesla Tests Self-Driving Functions with Secret Updates to Its Customers’ Cars
Thank you for the substantive summary. These click-bait headlines make me want to tune out entirely.
wandernotlost··on Agile is not a Fucking Noun
This is a bit overly simplistic. There are lots of bad ways to develop software, and a few good ways. Placing yourself in a vacuum with "good people" who insist on starting from scratch without learning from the failures and successes of others who came before them is not one of the good ways.

For the record, neither is dogmatic adherence to a methodology, but that can be useful as a learning exercise.

wandernotlost··on Code reviews aren’t just for catching bugs
Thanks for your comments!

> I don't see how "promiscuous pairing" helps with most of them.

Maybe you should try it! The "promiscuous" part transfers context and knowledge around more quickly, and gives more opportunities, earlier in the process, to respond to feedback from a wider variety of perspectives. Two people might come to the same conclusion that another, joining a couple of hours later and without following the same mental path, would find crazy. It's generally pretty easy to change direction after a couple of hours.

> Pairing by definition slows down all work on code(you have 1 person working instead of two).

"Work on code" is not all that's involved in shipping product. In my experience, pairing produces less/simpler/better code that more directly addresses intended business value and cuts off unproductive paths more quickly than other methods. I much much much prefer cranking out less of the right code than producing tons of "perfect" code that solves the wrong problem (slightly hyperbolic, but you get the point, and it totally happens all the time). It's worth mentioning that what I'm talking about is pairing done well, by people who have learned how to do it well. It's absolutely possible to do a shit job pairing, as with anything else.

>* They tend to encourage focus on abstract code polishing without proportionality or relation to the value of the code. >This is an issue with the priorities of the people doing the code review, and thus applies just as much to pairing.

This is true to a certain degree, but good pairing typically involves thousands of little tradeoff decisions and discussions about how to solve problems. A code review can't reproduce the richness of all of that communication, so it necessarily emphasizes code in the abstract over deep consideration of the tradeoffs involved in the solution to a problem.

> I have no idea how pairing is possibly different from code review in [the case of superficial improvements.]

When I'm sitting down with someone to solve a problem and we explore a path for a few minutes, then I can step back and say, "wait, based on what we've just done, I think we're thinking about this whole thing in the wrong way, what about this other thing," it's easy to turn around and explore a totally different approach. When somebody has sunk an entire day into solving a problem, polishing the code to impress their coworkers, and responding to code review comments, it's extremely difficult to say, "hey, I think we're thinking about this the wrong way, what about this other thing?" I've experienced this problem nearly every time I've participated in code reviews and rarely during pairing. (To that point, pairing is such a better dynamic for this type of exchange. A code review has an oppositional nature, while with pairing, you're literally on the same side of the problem, sitting together to find a solution. The dynamic of questioning the path/approach starts off in a much more natural/friendly/collaborative place.)

> so the most egregious problem with code reviews is the people that do them might have wrong priorities

I think it goes beyond that. As mentioned above, the structure of code reviews (vs. pairing) favors certain types of feedback over others, and makes the feedback that I believe to be most valuable very difficult to give, socially, and too late to be really valuable.

>A benefit of pairing that I can see over code reviews is when you get feedback - instant, real-time in pairing vs late in code reviews.

Yes! Exactly. And from what I've seen, this makes an enormous amount of difference.

I don't agree with you about the time differences, especially when considering the full cycle of delivery. It's a notoriously difficult thing to measure effectively and/or prove, so...it's one of those things you have to experience first hand (in an environment where it's done well...there are plenty where it's not) to really buy into perhaps.

It's also true that some people just want to work solo. I'm motivated by producing the best possible product and generating the best possible outcomes, and pairing is the best way I've encountered to do that, so...in general, I'd prefer not to work with those people when they're steadfastly opposed to trying collaborative work. At the same time, I've found that most people who give it a shot with a good pair who has some patience, empathy, and skill, end up loving it. Even folks who generally work alone.

wandernotlost··on Code reviews aren’t just for catching bugs
I do consulting, so I work with a lot of different teams of various sizes and configurations. The best teams tend to pair close to 100% of the time and generally have 4-10 developers. Fewer than that makes it difficult to swap around, mix perspective, and keep things fresh, and more than that starts to introduce more complications in planning and coordinating work streams and sharing context.
wandernotlost··on Code reviews aren’t just for catching bugs
While I value many of the same things as the author, I've found code reviews to be far inferior in every respect to pairing (especially promiscuous pairing (google it)), and to have negative effects in several important ways:

  * They delay integration.
  * They tend to encourage focus on abstract code polishing without proportionality or relation to the value of the code.
  * They favor superficial improvements, while increasing the costs sunk into paths that may be deeply flawed. (They facilitate late code-structural feedback, but not early directional/problem-analytical feedback.)
  * They often discourage more collaborative work and therefore quicker and richer feedback, by their presence as a substitute for pairing.
  * They create impediments to work moving quickly to completion.
Of these, the most egregious is the distraction from value. Teams that are spending a lot of time and energy talking about code quality (which is absolutely important, but not primary...the best teams I've seen maintain a high level of quality and talk about tradeoffs involved in delivering value at high quality) are often neglecting communication about where value lies and how to deliver it most efficiently.

[edited for formatting]

wandernotlost··on Squash your commits
This obsession with "clean" history seems to me nothing short of insanity. Source control has one job: to record the history of code in order to be aid in figuring out what happened when things go wrong. If everything always went well, we'd just have great merge tools and throw away the history.

I can understand a desire to filter out stages of a project by different levels of review (I just ran the build and tests passed so I committed vs a bunch of people reviewed it so I merged), but that people solve that by deleting or rewriting history to be something different from what actually happened is just nuts.

Is it just that git makes it easier to change history than to add metadata for filtering? Why have we not seen presentation tools to solve this problem rather than what seems like a ubiquitous readiness to alter and throw away the messy but accurate facts about what happened?

wandernotlost··on Why can't you repair an iPhone?
Seems pretty reasonable that a phone with contents protected by a fingerprint sensor would have measures to prevent tampering with the fingerprint sensor.
wandernotlost··on What Working at Facebook Has Taught Me About Design Critique
This is an amusingly familiar argument. As a consultant, I see so many companies–small startups and big companies alike–wasting weeks and months of time on wasteful work because of this strong bias against "wasting time" to coordinate their efforts. They're avoiding dealing with communication problems within their teams and reflecting on their work, or, as in this case, stopping to critically think and exchange ideas about a project as it's underway. All things that can avoid team-weeks of effort spent moving in the wrong direction or delivering a shoddy product because the scope of consideration was overly narrow.

Protocols such as this make it possible for groups of people to come together productively and shape a collective effort by reconciling multiple perspectives. The kind of discipline outlined here is what separates companies limited by the natural interaction dynamics of a few personalities and those that overcome those dynamics to combine the best of the talents of all the contributors.

If anything, these things can be more important for a tiny, lean startup, as you have less runway to charge down paths that aren't optimal than a big company with an established product.

wandernotlost··on To Raise Productivity, Let More Employees Work from Home (2014)
I'm surprised by the ridiculously broad conclusion (headline) based on the narrow conditions of the experiment and how little emphasis was placed on the factors that lead to success. It's no surprise that work that's extremely limited in scope and may actually benefit from limited collaboration could benefit from remote work.

As a simple example, working on the wrong thing for a few hours can easily have a negative effect on real productivity over the long term. "Amount of stuff produced" is therefore a terrible measure for that type of work, where collaborating continuously can help to cut off unproductive paths at their root.

I don't think there's anything here to suggest that similar results would transfer to more creative work such as software development.

wandernotlost··on Amazon: The Everything Company
So basically, Amazon is making new businesses so efficient, they're putting old businesses out of business. So if you're an old business, you should avoid using Amazon's tech to be more like a new business, because...Amazon might someday compete with you and put you out of business? Somehow this does not seem like sound business decision making.
wandernotlost··on One New York LLC law is hurting small businesses
As someone who has been living in NYC and is currently considering what state in which to register an LLC, I feel like the sub-$1000 difference filing in NYC would make to my registration is barely a factor. If you're trying to do business in NYC, this is not a significant amount of money.
wandernotlost··on When to propose a relationship to your Anonymous Visitor
Please devote all this mathematical brilliance to measuring the folks like me who NEVER RETURN TO YOUR SITE because proposing a relationship on my first anonymous visit means you're creepy and I will never invite you back into my life. I suspect that's more difficult to measure.
wandernotlost··on Why are you still building consumer apps? Enterprise pays 4x more
Because I'm not solely motivated by money.
wandernotlost··on Craigslist, LinkedIn, Netflix, and others don't owe us anything.
Please point to the part of my comment where I said I got nothing in return. I'm not sure what makes you think that customers can't demand things of those they do business with. There's always a potential new competitor, and I can always choose to take my business elsewhere. Also, who's saying I've upped my price? This all started because of narrowing of restrictions on APIs, not people suddenly demanding APIs where none existed.
wandernotlost··on Craigslist, LinkedIn, Netflix, and others don't owe us anything.
All the mentioned companies form at least part of their business on data collected from their users. Not products or sevices formed of raw material. Even Netflix depends on its users' data heavily in order to run its recommendation system. So to expect that they allow the public, in the form of other companies providing other services based on said data, is not so unreasonable at all.

As a provider of data from which these companies make their profits, I believe it is entirely reasonable to demand that they make those data accessible to other services I'd like to use. Sadly the trend of the Internet has been away from open systems and toward siloed, proprietary data stores.

wandernotlost··on SIM Cards Must Die
Ironically, the SIM card is exactly the technology that enables the scenario the author describes, and it exists today (maybe not so much in the US).

"Select from this list to send your payment information to an unknown carrier" is not exactly a realistic scenario. Instead, you have an agreement with an organization (let's call it "your carrier") who handles your payment information/billing, then that organization makes arrangements with other carriers to allow you to roam on their networks. The SIM is your account identifier, and most (GSM) phones allow you to select among available networks. Anyone who has used their GSM phone abroad has probably experienced this.

The only thing preventing the scenario he describes from being more common today is the reality of capital expenditure required to build a network and the consolidation of carriers (aka botched deregulation), making it uncommon in the US to have any real choice.

wandernotlost··on Hacked: commit to rails master on GitHub
This is basic security, folks: never drive your application from stuff that comes over the wire (or any untrusted channel). Passing a params array directly to update_attributes is a fundamentally flawed approach for this reason. Instead, inspect incoming data for exactly what you expect to be there. By doing this, malformed input will either fail or be ignored without exposing a security vulnerability.

It should be obvious that you can't anticipate every potential attack vector at design time. Therefore, a well-designed system is one for which, when expected or normal conditions are not met, the resulting action is nothing or error, not an unexpected action.

This principle is also known as fail-safe: http://en.wikipedia.org/wiki/Fail-safe

wandernotlost··on Why Facebook's 'Frictionless Sharing' violates HTTP
Let's stop for a moment and consider how the web actually works. Your browser sends an HTTP GET request for a page. The response for this page contains HTML and JavaScript. The browser then executes the JavaScript, often making other requests (GET and/or POST) in order to do its work. In the case of most Facebook operations (I haven't looked at this one specifically), JavaScript executed by your browser makes these requests on your behalf to communicate with and display information from Facebook. Google Analytics works this way too, making additional requests to a different server from the page you directly requested.

Unless the website in question has a back channel directly to Facebook, through which it communicates information about the GET requests you've made, the initial GET request has nothing to do with the data sent to Facebook. Furthermore, because of browser security limitations, this back-channel approach is not always even possible, since the original site does not typically know your Facebook ID (this may not be true for some sites with which Facebook has special partnerships, e.g. Yelp and TripAdvisor). Only requests made to facebook.com would have the cookie information that identifies you.

In summary, the HTTP GET request you make to fetch a web page has nothing to do with the information sent to Facebook, and HTTP's recommendations about GET requests have nothing at all to do with these other requests.

Also, people have been senselessly abusing HTTP for years.

← PreviousPage 2 of 2