HNHacker News
TopNewBestAskShowJobs

rpwilcox

390 karma · joined February 20, 2011

Python, Ruby, Objective-C, C++ hacker/consultant.

http://www.flavors.me/rwilcox has links to my twitter (@rwilcox), github (/rwilcox).

submissionscomments
rpwilcox··on Show HN: Vagrantfile for every language – Looking for contributors
Kind of neat, from the Simplest Thing That Could Possibly Work perspective.

(Sometimes all you need is five lines of shell script to provision something, vs a full blown provisioning system and all the scaffolding that implies)

rpwilcox··on How McKinsey does work-life balance – Quartz
TL;DR: Since 2012 McKinsey has a program where you can take 5-10 weeks UNPAID off between projects (once per year). They also talk about "team norm" before a project. There are also part time posts available.

13% of the workforce make use of these new balance changes.

rpwilcox··on Wing Commander III is now free
Was wishing for the Mac version to be free, but then remembered the Mac version is probably 68K (instruction set).

But still, had so much fun playing this on my 68030 back in the day (just before Apple made the 68K to PowerPC transition...)

rpwilcox··on Goals Gone Wild: Systematic Side Effects of Over-Prescribing Goal Setting (2009)
I really wish this was taught more in business school: that metrics/productivity is subject to the Observer Effect (http://en.wikipedia.org/wiki/Observer_effect_%28physics%29) too: that the act of observing for metrics will change the underlaying system.

If underperforming on your metrics will cause some pain, humans in general want to avoid pain, and you ARE employing smart people who are paid to solve problems and do analysis ... well, duh some metrics gaming will happen: people avoiding pain.

Probably this will have an opposite affect than what the measurer wanted: people hording things/information/output specifically to improve their metrics, people working around the metrics (outside the managed systems), or essentially spamming the system ("oh you found a bug in my you're reviewing? Can you file a new bug on this?... so my closed bug count for the week goes up...")

rpwilcox··on A decent way to change your desktop image
Thank you!

For the past couple of years I've been using Kuvva.com to do this: in addition to having a nice selection of wallpapers their Mac app also correctly keeps the wallpaper the same on all monitors/spaces.

But with this gem I can use my own desktop pictures and still have consistent images across virtual and physical screens!

rpwilcox··on What are common mistakes that new or inexperienced managers make?
How common is 600% turnover in management?

I know turnover in engineering is usually high (if people are moving around every 18 months to 2 years)... but 600%?

rpwilcox··on Coda 2.5 and the Mac App Store
Wait... WTH is Panic Sync?
rpwilcox··on Show HN: HeapSort – Jobs for Full Stack Software Engineers
It'll be interesting to see what, if any gradients emerge.

Technically the "generic OSS based web" stack starts at debugging Linux kernel code (and sys admin coughDevOpscough), up through the OSI layer (with particular stops at the application(?)/HTTP-serving layer (and supporting code! aka: breaking out C to write a faster Rails router) and then again at the WebKit/Blink rendering engines, plus v8/JavascriptCore-whatever-Safari-names it, through CSS (Safari's CSS JIT work anyone?) through behaviors of said implementations. Plus add a stack of project management, requirements analysis, business analyst, and product design/UX.

To make this problem worse that's just one of many stacks. The native app development stack. The good boys and girls doing work with custom hardware (robotics, waldos etc) with realtime hardware requirements for example. A "generic MS based stack" which behaves similar in parts with very noticeable differences in places. Etc.

How-some-ever I suspect most, if not all of your employers will be looking for some sliver of the "full stack". Like the employer I mentioned earlier, whose definition of full stack is "Mostly Server-side Python but you should be OK at simple HTML/JS/CSS too". Or the new startups looking for people who can "write Javascript on the serverside too!"

rpwilcox··on Show HN: HeapSort – Jobs for Full Stack Software Engineers
What kind of filter will be in place to be assured that these are full stack jobs?

For example, for the Bradford and Galt Consulting Python/Django job... "some Javascript". This does not scream "full stack" job to me, "some Javascript". What do they use for DevOps? Will I get to write C or Go? Unless they use the SomeJavascriptMVC.js framework, I'm guessing their JS is... mostly trivial. To say nothing of DevSales or project management responsibilities.

rpwilcox··on Startup Uses Eggs to Poach Employees from Facebook, Google
Hmm. Seems like a technique with a very low success rate: out of 1,000 applicants they hired 2? So what's that, a .2% success rate?

Seems like there has to be techniques with better success rate than that...

rpwilcox··on Smarter Rails Seeding with Sprig
It looks like using Rails test fixtures (reborn) to create seed data. Which is an OK win I guess, and having it separated out by environment (implicitly mentioned in the article) is nice.. but I don't see how much of a win this is over instantiating fixtures or FactoryGirl.create in your seeds.rb file.

Yes, there are tons of problems with using db/seeds.rb for anything serious. I'm not sure that Sprig will handle my issues much better than I currently do myself.

For the record, my desired behaviors for a seed data solution are:

1. environmental separation (which Sprig has). Developers have different needs for seed data as QA does, as does the staging server, as does production. Developers want an easy default dev@myco.com user with a simple password, but you don't want that in production.

2. If I rerun my seed solution (perhaps because I added some more seed data) it shouldn't duplicate records (or throw errors because it's trying to create the second user with the same email address)

3. Handle bootstrap data I need in my app (example: I want a list of US states, and every environment should get this. To reiterate my second point, I should be able to add to this bootstrap data without getting two copies of "California" in my US state list).

It's sad that no real solution exists to handle all three of these needs. Some projects I've been on have gotten this close, but that was years ago and things have changed.

(If Sprig does have these things, then that's the selling point, not seed data as fixtures which the article emphasized)

I'm also not sure about using fixture like things in Sprig. I give it 6 months before most users remember why many people in the Rails community moved to a Factory pattern for (test) data construction long ago.

However, I am happy that a relatively well known Rails consultancy is released 1.0 of a seed gem. Hopefully the name recognition / noise will lead developers to the gem and I'll be a better solution with many more eyes.

rpwilcox··on Spek – A Specification Framework
Disagree, there's a lot of ambiguity in English that makes for bad specifications.

Example: take even the word "tomorrow". Does tomorrow mean at midnight tonight, or tomorrow morning? Does it mean 24 hours from now, or does it mean a far future time? Does "tomorrow" include weekends or holidays? In what timezone is this happening?

The Beach Boy's song: "Will you love me tomorrow?": Is that asking if the singers love will still have the same feelings about them tomorrow (less than 24 hours from now), or is the singer asking if their love will still adore them many years from now, (when they're 64, for example, to pick another oldey).

Which is of course why civilians think developers are pedantic, and of course we are, because to implement specifications on Turning machines we need to answer these slightly outrageous questions. "Turn on the sprinkling system tomorrow" is a trivial specification for a human, but not so for computers.

Tomorrow is just the example that comes to mind, there are thousands of other words whose meanings are vague. This is why creating specifications for computers, from "civilian English" is hard.

rpwilcox··on How Adobe Got Rid of Traditional Performance Reviews
Yup. And after getting dinged once or twice in a review, metrics get gamed consciously or unconsciously. The mind tends to avoid pain.

If management lays down some metric like "higher velocity by 20%" or "20% more bugs closed", don't be surprised when they get it and it turns out to not really be effective. (From imperceptible Story Point Inflation to 20% more technical debt, or bugs mysteriously skipping the bug tracking system...)

rpwilcox··on Testing Rake Tasks with RSpec
Kind of neat.

What I like to do with rake tests and/or delayed jobs is write the actual business logic in some other file / module: a module in lib/, a DCI style class, whatever. Then the delayed job / rake task just calls that code.

So your rake / Delayed Job interface is one, maybe two lines. And the body of your code lives somewhere easily testable with standard unit tests without having to mock out Rake (and/or forcing your asnyc queue mechanism to be synchronous for testing).

rpwilcox··on ObjClean
I like Appcode's formatting tools, and could configure it how I like. (I'm only picky about one or two things stylistically, and one or two things that affect code generation: what Appcode does when it generates an @property for me, for example).

I haven't tried sharing these styles across the team who uses AppCode. I'd really like to be able to share styles across IDEs: if some of the team uses XCode they could use the style I've defined. But I don't see a way to share these cross-tool either.

Even Uncrustify integration (export?) for Appcode would be nice, but it's missing. Heck, I'd even like Uncrustify in AppCode, but haven't found a plugin for it.

rpwilcox··on Ask HN: Why do you use AppCode for iOS development?
I've been using Appcode exclusively for the last week, working in a greenfield app.

Up until now I've used Appcode here and there for things, but this is the first time I've used it for, well, a work-week straight.

I've used many versions of Xcode (and I date back from the Project Builder era, so I have those experiences too). But I haven't used XCode 5 much.

AppCode is nice in that it's full of handy suggestions. "Do you want to create an @class for this class name you typed in a header file that I don't know about yet?". "Do you want to import a header for this class in this .m file?", that kind of thing. Which I find is very helpful.

Appcode also has some really good refactoring tools, but I think Xcode 5 has some of those tools now itself. I've been using Appcode's Extract Method refactoring tool every day or so as I need.

There are a few things that get me - in particular new behaviors in Appcode 2.5.3 around semicolon/brace stuff that I haven't figured out how Appcode is trying to help me yet. But I've not written much code today.

Appcode is annoying that you need both XCode and Appcode up most of the time, because you'll need to make a change in a storyboard or something. (Greenfield app, storyboards are fine for now). I look forward to the new view builder, and am just waiting the day it can edit storyboards.

The debugger in Appcode feels subpar, compared to the debugger in Xcode, but that might be how I use it. I tend to evaluate a lot of expressions in LLDB and Appcode seems to have an autocomplete bug. But there does seem to be power if you dig into Appcode's debugging - evaluating code I select in the editor, which I've seen but only used once.

The other bad thing about Appcode is that it's pretty bloated. I don't want/need HTML things in my Objective-C editor. And frack me if I can find where a specific keybinding or preference setting is.

But, after using Appcode full time for a week I probably won't go back to Xcode 5. Appcode helps me write better quality code faster and takes care of the dumb housekeeping ("I know I need to import the header file for this class I'm using, but I'm working on something here" doesn't happen: I see an Appcode warning, hit option-return, it gets automatically added for me without me breaking stride).

rpwilcox··on GTFO of my menu bar
The scenario sucks, and I really do like apps that give you the option (display in the Dock or display in the menu bar).

There is Bartender (http://www.macbartender.com/), which lets you shove all your non-critical menu bar items into a second menu bar like thing that you can hide away. So, while I have 18?? some odd status item apps running right now, by default I only really see the 6 or 7 most critical ones.

Bartender doesn't work with all status menu items, notably Chrome's notification status menu (maybe it's changed in the month or so since I last checked)... but Bartender "solves" the "GTFO out of menu bar" problem.

rpwilcox··on My experience hiring a developer on Elance to build my first iPhone app
> The only quibble I could have is that almost everyone understands what "Quality" is yet it requires education and experience to understand "Scope"

I would say that's a feature, not a bug ;)

Everyone "knows" what quality is so nobody wants to cut it. The client expects a deliverable with a (mostly) bug free deliverable, and the developer expects to be able to try to create a codebase with as little technical debt as possible.

There are certainly situations where quality is cut (technical debt that you might avoid if you had more time, the customer deciding to skip beta testing), but as a developer I can't say, "You want this cheap and tomorrow, so we as a team are going to ship a buggy app". Because the first thing the client does when they give the app like that a spin? Come back to the developer with a bug list a mile long and say the current quality is unacceptable.

So then it's not the project management triangle of, "You take two sides, I'll take one". ;)

But if, as a developer, I say, "You want this cheap, and tomorrow, which means this thing needs to have two of these things you want, not all 10. Help me choose the most important things here." Which is a hard conversation (nobody wants to kill their darlings) but you can quantify scope (estimate and prioritize the work).

We certainly know a lot about quality from Deming, Juran, and Pirsig, but the margin is too small, and the night too short, to put this conversation in that scope.

rpwilcox··on Ask HN: Best CLI time-tracking software?
There's a Rubygem for Harvest that provides a nice CLI interface for harvest.

gem install hcl

I haven't used it in a few years, so I don't know how well it works in Ruby 1.9.x / Ruby 2.0, but it was pretty nice.

rpwilcox··on My experience hiring a developer on Elance to build my first iPhone app
> Price, Quality, Time

Please don't use those terms. There are better ones: Price, Scope (size) and Time.

The problem with the phrasing "Price, Quality, Time" is that nobody wants to sacrifice on quality. Everyone wants a app that doesn't crash -- the client, the end users, and the developer. Yes, yes, technical debt is a quality concern, but as long as the app runs the client doesn't care in the moment that there's copy/pasted code everywhere and future changes will be "interesting". It's hard to sell "but if I take an extra half day to make this change future improvements will be easier", at least not in tight projects.

But Scope, scope can start negotiation with clients. "Ok, you do know this new control you want will probably take something like 10 hours to write, do you really want it or can you make do with a default one?"

If a client drops a fixed bid project on me with a dictated time deadline, sure as anything I'm going to take control of the scope side of the project triangle.

rpwilcox··on Don't use CoffeeScript
The great thing about there being so many Javascript transpilers these days is that you can pick the right language to suit your needs.

Really want / need Google Closure / the latest ECMAScript stuff? ClojureScript supports these things pretty well.

Really like Ruby (or Python) but find yourself in Javascript land? Coffeescript is right for you.

There's some interesting buzz around getting Coffescript more Google Closure compliant, which is probably the better way to go (assuming your targeting front end JS, not Node).

But yes, there are certainly places where Coffeescript generates a crap-ton of code, where if you can pinpoint your Javascript runtime (like in Node's case) you could do more, better, and faster.

rpwilcox··on Readers offer tales of Silicon Valley's ageism
> Plus, I don't understand the contradiction that exists in startups-- they claim they want "great engineers", but they also want cheap engineers, and they also want young engineers.

This reminds me of the project management triangle: do you want it cheap, fast or good? ;-)

rpwilcox··on A Wretched Google Interview Experience
> Is this something that may be unique to the bay area though?

Yes. In the NYC/DC tech scene usually available engineers are snapped up in half a week, tops.

Not in those scenes myself, but have seen/heard enough stories.

rpwilcox··on On the Phenomenon of Bullshit Jobs
> The reason we don't work less is because we clearly want (and can have) more stuff than we had in the 1930's

I wouldn't blame entirely blame consumerism for why we won't work less.

A lot of things have gone up drastically in price in the '30s: higher education (which "everyone" is encouraged to get, from "every" adult figure in their life, from about 6th grade on. Wasn't like that in the '30s); housing; medicine.

In the '30s my great uncle was given a house as a wedding present. His siblings also got houses when they got married. Can you imagine something like that today? Gifting your children something that, in today's age, costs $100,000 (and sometimes 2x-3x more)?!

Of course we buy more things, and I know my grandparents didn't spend money on a smartphone every 2 years or have a $100/month cable bill. But blowing $2K on a TV is a drop in the bucket when you have a $200K mortgage (aka: debt).

I'm willing/able to live cheaply, and buy less things, but my creditors (the big three, above) want their bills paid. So I can't "just" work half time at the code factory and get paid 50% less, because I have debts the like which people in the '30s would have no idea about.

("You mean going to the doctor could be 1-2 months worth of take home pay, even with this 'insurance' that costs 10% of your take home pay??")

rpwilcox··on Leap Motion: Amazing, Revolutionary, Useless
Fascinating. What's annoying about computer/video based sign instructions is the lack of feedback. "Did I get this sign right or do I just think I have it right?"

If MotionSavvy can notify me when I get it wrong, very nice!

rpwilcox··on A simple GUI to set up virtual machines for PHP development
Ok, this is awesome. A neat GUI interface over generating both Vagrantfiles and Puppet manifests by hand?! So nice.

Slick UI + the fact that it generates this standard DevOps setup (Vagrant + Puppet) instead of trying to reinvent that particular wheel... so cool.

rpwilcox··on How to Work Remotely and Still Be the Best
Author here.

Sounds like App Trajectory (by ThoughtBot) may fit the bill. It has discussions, and these discussions can have many related issues. Each issue gets an estimate, agile story point style, and App Trajetory computes your velocity (and pushes too big issues off an iteration!) so you can see how a two week detour will affect timeline.

It worked really well for me on a project.

It also does multiple projects, although I don't think it will give an agregate view over all your projects ("this week I have these two items due for project x, an these 3 for project Y")

rpwilcox··on How to Work Remotely and Still Be the Best
Author here.

> One tool that the OP doesn't mention, but should be a > staple among companies of all sizes: Google Hangouts. You > can make a permanent hangout

It's interesting to see the potential evolution beyond just text chat for remote teams.

I've never used a permanent video Hangout (although Hangout's new group chat features might work well). I'm excited to try out sqwiggle.com - similar result, but it just takes a still picture of you every few seconds: same effect, less bandwidth/worries about leaking your music to your coworkers 1,000 miles away.

rpwilcox··on What is a Full Stack developer? (2012)
> Understanding of the business is again outside of the definition of a full stack developer

Like all of these aspects you don't need to be a full blown business analyst, but a full stack developer does need to understand the business to translate business rules into application behavior/logic. Ideally this full stack developer can also understand the problem domain and app code well enough to collaborate with management / business when they try to introduce rules that would contradict other behaviors of the app or the current app architecture. And, doing this for enough time, you should start to internalize the business rules.

AKA: Behavior Driven Development.

rpwilcox··on How to work remotely as a software developer
I suggest you alter your assumptions of how many hours you can get in a day. If your monthly budget depends on you billing 8 hours a day, 20 days a month you are setting yourself up to be disappointed.

I know that, by in large, I can bill a 30 hour week, assuming I have a full time project. Between not billing for restroom or mental health breaks, random trips to Fry's for a new hard drive, etc... those tasks can eat up your calendar.

When I have little client work on the radar I assume I'll be able to get 20 billable hours a week in- the rest of the week is eaten up with Buisness development, meeting with new clients, estimating projects etc.

← PreviousPage 2 of 7Next →