1,787 karma · joined Apr 7, 2008 (18y ago) · 360 submissions
I'm also a co-author of the Gosu programming language:
http://gosu-lang.org/
My e-mail is akeefer at gmail
comment 17y ago · link · parent
comment 17y ago · link · parent
'tis a hard problem.
comment 17y ago · link · parent
You can view that as just the reality of how the economics work out, or you can view that as fundamentally unfair that people essentially get kicked while they're already down.
comment 17y ago · link · parent
In fact, I'd say that the most common mistake I've seen/heard about is often people focusing way, way too much on their personal stake and control, thus crippling the ability of the business to expand.
comment 17y ago · link · parent
If a business has to cut jobs, that affects that business and those people, and if the business dies as a result of that revenue shortage or from those job cuts, it's pretty localized.
Can you really do the same thing with police officers or the fire department? Or with the DMV? Or social services, which people need more of during a recession, not less? Do you really just cut the fire department in half? Or expect everyone therein to take a 50% pay cut? So you cut salaries or freeze them, you cut back staffing as much as you reasonably can, etc. But there's a real lower bound on how much you can cut, and you can't just say, "Well, we have 50% less money this quarter, so we'll just have 50% as many policy officers."
I'm not saying I have any answers to those questions, or that government budgeting practices are ideal or rational (I live in CA, so if you want to talk about messed up budgeting . . .). But you also have to realize that it's a very, very different problem space, and the government fundamentally isn't in a position to absorb sudden, huge drops in revenue the way a business or individual has to just by cutting back on spending.
comment 17y ago · link · parent
comment 17y ago · link · parent
If we're talking purely about direct social programs like welfare or housing vouchers or medicaid, then homeless people will definitely receive more benefits than they pay in taxes, and people earning $30k year will almost certainly not.
If instead you include all that other stuff like defense and highway spending and assume everyone receives a roughly equal share of those benefits then the argument becomes pointless; the average person pays less than 1/300 millionth of the overall tax revenue but receives 1/300 millionth of the benefits.
comment 17y ago · link · parent
I was also basically saying that the whole "your argument is so ludicrous I won't dignify it with a response" thing was a cop-out. Just assuming they must receive more in social services than they pay in taxes, without any attempt to quantify either number, doesn't make for a compelling argument.
comment 17y ago · link · parent
A lot of people conveniently forget about sales tax (and potentially other sorts of government fees, like vehicle registration fees) when saying "poor people don't pay taxes." Sales tax is an incredibly regressive form of taxation, as are gasoline taxes, cigarette taxes, etc.
comment 17y ago · link · parent
Of course, health is something that people have some amount of control over, but exactly how much is obviously a big open question. Unsurprisingly, people who are on the "winning" side of the lottery (be it health, talent, or success in things like sports and business) tend to under-estimate how much luck has to do with it, over-estimate their own contribution, and thus also over-estimate how much someone else's actions have to do with their "loss" in that lottery.
comment 17y ago · link · parent
comment 17y ago · link · parent
comment 17y ago · link · parent
We've been working on generating JVM bytecode for our in-house language, which does support a less-restricted version of closures, and we work around that by wrapping closed variables in one-element arrays, though you have to do for both the initial declaration and on every reference to that variable, even outside the closure, which gets really annoying when the closed variable is something passed onto the stack as a function argument, and probably in other cases I'm not thinking about right now. It's definitely workable, it's just messy and incurs more overhead than is ideal.
comment 17y ago · link · parent
Just because some people manage to make it work doesn't mean it's not hugely discriminatory.
The thing that really galls me is that most of the time the companies that do this sort of thing are perfectly capable of paying their interns, at least well enough for them to eat and pay rent, they just choose not to because they can get away with it; there are enough college students trying to get a foot in the door and who have other support systems.
comment 17y ago · link · parent
One thing I've always liked about my profession is that we tend not to do that in the software industry, which I think makes it more egalitarian and at least helps open up opportunities to people who actually do need to get paid for the summer. It's disappointing to see a reversal in that trend.
comment 17y ago · link · parent
The downside is that you'll get a comparatively lower valuation for the same amount of funding, meaning the founders will retain less of the company, but that company will probably have a higher probability of being worth something significant. So as a founder, it's still a net win.
comment 17y ago · link · parent
http://research.microsoft.com/en-us/um/people/abegel/papers/...
I also know that they sponsored research by the Stanford CS department where they gave pairs and individuals the same programming task (completable in an afternoon), but I have no idea what the results of that were or if they were ever published.
My personal experience is pretty analogous to other people's: it causes you to work more slowly and carefully, it's good for knowledge transfer, and some people are better suited for it (personality-wise) than others. I find it most effective when avoiding errors or technical debt is imperative or when you want to transfer knowledge, and not as useful otherwise.
I've also noticed that my perceived productivity is lower when pairing than it actually is; I'm so used to cranking by myself that slowing down so someone else can talk with me about what to do, or being the "navigator" and not coding at all, makes me feel like I'm not getting anything done. In reality, though, I'm actually getting a fairly decent amount done, and more importantly we're probably avoiding mistakes or blind alleys that would have cost me time in the long run. That makes it hard to measure the real productivity difference: if two people had coded by themselves for 8 hours, more "work" would have been done than if those two people paired for 8 hours, but how much of that would have been wrong, or unnecessary, or overly-complicated, or introduced more technical debt?
It's the sort of skill that takes work, and that gets easier as you do it, so I'd encourage you to try it out. As with any new way of working, it'll be awkward at first and then get easier, and I think it's worth at least learning so that in the future you'll be able to judge for yourself when you feel like pairing will be most useful and when you're better off flying solo.
comment 17y ago · link · parent
My point is that people who wouldn't balk at spending that kind of money on something else that they may or may not like/use will freak out about an iPhone app that costs that much, and I really don't think there's any rational reason for it: it has nothing to do with uncertainty or expected value, but rather people have just been conditioned to expect that apps are free or $0.99 because the app store is flooded with those apps (just like people expect web-apps to be free just because lots of other web-apps are free), and that's a shame since it makes it that much harder for all the developers that are working on making great applications.
comment 17y ago · link · parent
comment 17y ago · link · parent
It definitely still requires good product managers, but again the idea is that no matter how good the spec or whatever is you'll still always have questions, and it's better to just build that fact into the process and get people used to asking questions rather than having people make assumptions. And the best way I've seen to make sure that the PM has the answer to those questions is the estimation session, since if the PM doesn't know what they want well enough to answer the questions quickly as you develop, you'll find that out in the estimation session before anyone is tasked with working on the feature. That at least largely avoids the situation where a developer starts working on something and finds out the PM really didn't have a great idea of what they wanted after all, or that it's technically infeasible, which (in my experience) is just a really bad situation to be in.
The story approach still presents endless ways to screw up, but it's far better than any other approach we've tried over the last 7 or so years.
comment 17y ago · link · parent
The theory there is that written documents will always be out of date, incomplete, stale, and open to multiple interpretations, so we might as well just accept that the face-to-face communication is infinitely higher bandwidth and will have to happen anyway and not waste the time trying to write it all down up front.
So if the PM needs to spec for their own edification, that's fine: do whatever works for you. But I, as the developer, will trust the PM themselves as the source of truth as to what the feature should do, and it's the PM's job to know what they want well enough to answer my questions real-time as I'm building.
296.
Empirical studies show test driven development improves quality(infoq.com ↗)
1 points · by akeefer · 17y ago · discuss
comment 17y ago · link · parent
The problem with pretty much any kind of framework, ORM or not, is that eventually it becomes bloated by being flexible enough to meet the requirements of thousands of different developers, meaning that any given one of them only ever uses a small percentage of the overall functional footprint. Keeping things simple yet powerful is definitely the hardest part about it all, especially given that different users have vastly different opinions about what's simple or what power they need.
comment 17y ago · link · parent
In our case we have a config file because A) it makes it easier to abstract the schema across different databases and B) we have extra metadata in there above and beyond just the schema information.
comment 17y ago · link · parent
We do still use explicit version numbering for version triggers (our name for migrations), since it's just too hard if the numbers aren't meaningful. If you just used a checksum, how would you know if A248B5FC comes before or after 3F56EB2? It's a little easier if you can say "the DB is at version 23, and the latest is version 26, so we need to run these three triggers." The database stores both the metadata checksum as a hash and a version number; if the hash changes without the version number changing, we at least know that's an error and can detect it. Certain types of changes (like adding a nullable column) we handle automatically by diffing the current schema against the actual DB schema, while anything more complicated (and anything that touches the data) requires an explicit trigger.
Since we build deployed enterprise software that gets upgraded on the scale of years, not days or weeks, we also follow the course of using triggers only on production databases. It's still not really a perfect solution for all sorts of reasons I could go into, but it's interesting that we ended up pretty close to what he's proposing.
comment 17y ago · link · parent
Sure, in any field you can screw up in such a way that it hurts you in the future by damaging your reputation or annoying your customers, or make bad technical investments that turn out to cost you. But in engineering disciplines, doing your core activity (engineering) poorly can hurt your ability to keep doing your core activity (engineering) in the future.
If you're in sales and you cut corners with one client, it doesn't make your phone calls take longer. If you're in a restaurant and you cook things too fast or cut corners on ingredients, it doesn't make your future cooking take longer. If you're a doctor and you're too hasty and mis-diagnose a patient, it doesn't make your future surgeries and checkups take longer. But in software, if you're too hasty adding feature A, it does make your future features take longer to develop. And that's because in software, your future features are built on the previous ones, whereas with sales, cooking, or medicine the duration of any given prospect/customer/patient is relatively short-lived and finite.
That's my best theory as to why it's so hard for non-engineers to understand.