Better HN
topnewbestaskshowjobs
Log inSign up

akeefer

1,787 karma · joined Apr 7, 2008 (18y ago) · 360 submissions

I'm a software engineer with Guidewire Software, and I pretty regularly publish articles on our development blog at http://guidewiredevelopment.wordpress.com/

I'm also a co-author of the Gosu programming language:

http://gosu-lang.org/

My e-mail is akeefer at gmail

Submissions

comment 16y ago · link · parent

Sure, but there will always be people who want or need a great site not just a site (or even a pretty good site), and the former will probably always be much harder than the latter and demand some amount of skill no matter how good frameworks get.

comment 16y ago · link · parent

Huh. I've used IntelliJ on Windows for close to 8 years and never noticed any font rendering issues.

comment 16y ago · link · parent

What platform did you use IntelliJ IDEA on? I work with about 100 other (highly opinionated) developers that all use it, and I've never once heard someone complain about the font rendering.

comment 16y ago · link · parent

It'll be interesting to see whether the negative impact of employers trying to stay below 50 FTE employees is offset by the positive impact of people feeling more free to start or join small businesses that don't yet offer health coverage because they don't have to worry about pre-existing conditions when obtaining individual coverage. It's not an obvious calculation either way.

comment 16y ago · link · parent

Preexisting conditions are a huge issue, though; if the insurance companies dig hard enough (which they do) they can find a reason to deny almost anyone a policy. Do you have high blood pressure? High cholesterol? A low-functioning thyroid? Did you see a doctor because you strained your back when you were 19? Does your kid have asthma? No insurance for you!

Insurers have been known to dig in much more once you make serious claims trying to find something you didn't initially disclose to them so that they can invalidate your policy after the fact.

The bottom line is that the personal health care market is a scary, scary place for a very large number of people, not just people with cancer or heart disease. It's one thing to risk not being able to get coverage, or having your coverage taken away, when it's just you; it's an entirely different deal when you have a family to take care of.

If this reform bill is able to really address that concern, it will make it much easier for a lot of people to transition jobs or start off on their own.

comment 16y ago · link · parent

The Eastern District of Texas is particularly notorious for being very favorable to plaintiffs in patent lawsuits (it's even specifically called out in the Wikipedia article on patent trolls), so it's notable that this happened in Texas both because a disproportionately large number of such cases happen there and because Microsoft had previously lost a patent suit in this exact same courtroom.

Perhaps Texas gets unfairly attacked in other areas, but when it comes to patent lawsuits there really is a pretty serious problem there.

comment 16y ago · link · parent

I believe that the law is there to prevent companies from calling ordinary employees "interns" for the sake of getting around minimum wage laws.

comment 16y ago · link · parent

I'm a fan of clearly-delineated lines of argumentation since it's difficult to have a debate if people just talk past each other. It's much more fruitful if you can really pinpoint exactly where it is that you disagree with the other person: if I think "B" is true and you disagree, it's much more useful for me to say, "Well, I think A->B and A, so thus B is true" and then you can say "Well I agree that A->B but think A is false" or "Well I agree A is true, but I don't agree that A->B", and then we can have a much more useful conversation instead of talking past each other.

In the case of the patent issue, there are so many entangled issues that it's often difficult to find the real points of agreement and disagreement.

I'd be interested to see someone actually try to make the argument that more good comes from the current system of software patents than would come from a system with no patents, since from my perspective the balance is pretty negative. On the good side you have inventions/work that wouldn't have happened without patents, the resulting utility created by them both in the form of direct usefulness to end-users and in terms of economic activity they fostered, and the knowledge sharing enabled purely by patents and all its resulting downstream effects.

On the bad side, you have all the inventions and work lost due to patents: all the work not done because of fear of patent litigation, jobs lost due to companies sued of existence by patent trolls, all the resulting loss of utility to end users, and the economic cost of diverting so many resources to patent litigation.

Personally, I would argue that far more is not done or is lost in the software world because of patents than is gained because of them; if you just eliminated all software patents I think you'd see a net gain in worldwide utility rather than a net loss. Copyright and trade secret protections mean that most software activity would still happen (that's what pretty much everyone uses for protection anyway: only big shops have the resources to really use their patent portfolio, and then it's often purely defensive), so the main loss would be in terms of disclosure. What you'd lose in terms of, say, not reading papers on PageRank, you'd more than gain back in terms of startups that don't get shut down and by diverting all that money spent on the legal system to better purposes.

comment 16y ago · link · parent

One particular example doesn't make for a very compelling argument. The vast majority of software patents (probably above 99% of them) are A) never followed up with scientific papers, B) represent nothing that someone else trying to solve the same problem wouldn't come up with, and C) are written so incomprehensibly that no one could ever derive any intellectual value from reading them.

Throwing out counter-examples of "good" software patents doesn't really attack the thrust of the main argument put forward by the anti-software-patent people, which is that almost all software patents are total trash that should never be granted.

I think you can make one of foudarguments here. 1) You can dispute the assertion that almost all software patents granted should have failed the obviousness/novelty test and/or be invalidated by prior art. 2) You can argue that the patent system should be tightened up so that most patents aren't granted, but to still allow certain types of patents (encryption algorithms, whatever else) and then discuss how to classify what sort of patents really are useful. 3) You can admit that but argue that the good done by the "good" patents outweighs the evil done by the "bad" patents. 4) You can argue that you should ditch all software patents entirely because the harm caused by bad patents vastly outweighs the good done by good patents, and that it's too difficult to legally distinguish between the two, so on balance it's better to just disallow them

Again, keep in mind that copyright and trade secret law cover already cover the theft of the software itself, and that plenty of people online talk about what they do and how they do it without any sort of patent protection.

So I'm not sure which argument this article is trying to make (though it's obviously not #4): are you arguing that software patents aren't, on average, total garbage? That standards should be tightened up to allow only a limited subset of what's currently patentable, and that the Google patents fall under that umbrella? Or that the good done by these few patents somehow outweighs all the harm done by all the garbage patents and associated trolling?

It's totally valid to point out that not all patents are a joke, and that some good can come of them, but that in and of itself doesn't really address the real meat of the debate.

comment 16y ago · link · parent

The key reason that works for you, which is the same conclusion I've come to from my personal experience, is rejecting the "unit" part of the unit testing dogma. My personal catchphrase is "test at the highest level of abstraction possible," i.e. test at the largest aggregation of functionality that is still well-defined and that doesn't have a combinatorial explosion that prevents you from testing it thoroughly enough.

To put it another way, test those invariants that are least likely to change in the future. The "the e-mail sending component should properly construct the headers" test is testing an invariant that's unlikely to change. The "the EmailComposer class will call the EmailHeaderConstructor's constructHeader() function" test is testing an invariant that's much more likely to change.

The problem is that many unit testing dogmatists (and the associated books and conferences) encourage people to write lots of tiny little tests for every little piece of everything, and it's those tests that kill you when you're refactoring.

If you have a logical component that consists of 10 different classes that work together, your main set of tests should be at the component level, and those classes should be treated as implementation details that are only unit tested if they themselves are complicated enough that they likely have errors that aren't caught by the larger test suite. If you go crazy and unit test all the interactions between each class within that component, then when you later decide to re-architect parts of it to improve performance or simplify the code or fix bugs or in preparation for new functionality, you end up with a bunch of tests that you have to either fix or delete.

Tests like that end up discouraging refactoring due to the friction they exert, rather than encouraging refactoring the way less-fragile tests do.

comment 16y ago · link · parent

The point of a top-tier university education in CS is much more the theoretical side of things (lambda calculus, graphics theory, np-completeness, algorithms, discrete math, etc.), which most people are less likely or able to pick up on their own. Programming as a skill requires constant practice for years, just like writing, and isn't something you can teach as easily in a 10- or 15-week course.

I would say that especially at higher-end universities, there's also an assumption that you'll figure out the programming part on your own. The rather brutal CS 248 class at Stanford, for example, requires you (or at least used to) write a 3D game using OpenGL, while the class itself is solely concerned with graphics theory, techniques, and algorithms: it doesn't cover OpenGL in the least, and the students are expected to learn it, along with whatever other technologies they need to write the game (input, sound, etc.) on their own.

That means that, yes, you can graduate with a BSCS without being a good programmer. You can also get an MS or Ph.D. in CS without being a great programmer. As a general rule, theoretical computer science and programming are very different skills, and knowledge of one aspect does not confer knowledge of the other. From all the interviewing I've done over the years, I think I can safely say that those rules apply to graduates of pretty much any college, not just Stanford.

comment 16y ago · link · parent

Exactly: the incentives are wrong for everyone under an insurance model. Healthier people have an incentive to leave the risk pool and/or only keep catastrophic coverage, increasing premiums for everyone less fortunate. Insurance companies have no incentive to insure anyone who seems like a high risk, i.e. due to a pre-existing or likely-to-emerge condition. Consumers have no incentive to manage their own care expenses or make decisions for themselves, because if they have insurance they're not really paying the full costs. Insurance companies have incentives to deny care whenever possible. Hospitals and doctors have an incentive to charge uninsured people more than insurance companies so that the insurance companies can provide a value-add and because they have to make up for all the care provided to un-/underinsured people who can't pay their bills.

If you believe that a wealthy society like ours has a moral imperative to take care of its poor and sick and elderly, then the insurance model is hopelessly broken. It doesn't mean there's some perfect model out there that has perfectly aligned incentives and no moral hazard, just that this one is probably one of the worse ways to organize things.

If you don't believe that there's any such moral imperative, then that's an entirely different debate.

comment 16y ago · link · parent

The JVM is a great platform if the language in question is relatively close to Java, and you're just layering on higher-level syntax like closures. (Sure, it would be nice if Java supported them, but they're not hard to implement as anonymous inner classes, and to simulate real closing over variables you just need to wrap all captured variables in one-element arrays or other wrapper objects at the declaration side. It's annoying, but it's livable).

The further you move away from the Java typesystem or execution model, the less fun your life will be and the fewer benefits you'll get from the JVM: moving to dynamic typing will cost you a large amount of performance, for example, and you'll have to fight the Java type system a fair amount. I can only imagine what it would mean to do lazy-evaluation in a JVM language.

If it matches what you're trying to do, though, it's really a great platform: the bytecode format is pretty simple and easy to learn, the JVM runs of pretty much any platform you need, and it does a huge amount of optimization for you. If you're doing a statically-typed language and compiling down to Java-like bytecode (as opposed to handling dispatch yourself, as you have to do in a dynamically-typed language), you also basically get debuggers and profilers for free.

It's definitely a little weird, though, that they'd set up the motivation for HLVM as due to the weaknesses of the CLR's cross-platform capabilities, without mentioning the JVM at all, given that the JVM was, in spirit at least, the precursor to the CLR and still the most widely-used higher-level VM and one that works basically everywhere.

comment 16y ago · link · parent

Guidewire Software in San Mateo is still hiring developers (and QA and product managers), primarily on the more senior side at this point. Applications are written in a mix of Java and our C#-ish JVM language called Gosu (open sourcing later this year, we hope), the platform infrastructure is pretty much all Java, and we do a lot of testing and use a lot of agile practices to organize our releases. You can apply from the website (http://www.guidewire.com/about_guidewire/careers_listings), which will go straight to HR, or send me an e-mail (akeefer at guidewire) directly if you'd prefer and I'll answer any questions you have and/or pass along your info the appropriate parties.

comment 16y ago · link · parent

I think the analogy there is pretty inaccurate: businesses do cut back on services they offer when their revenue decreases. If business A loses half their revenue, it's probably because they've lost half their customers, meaning they're now only providing half the services. In the worst case, they go out of business and no longer provide any services at all.

If a city government loses half their revenue, though, they're still expected to provide exactly the same services to the same number of people as before, and everyone cries bloody murder when services are cut, assuming that there must be something else to cut instead.

Logically, the analogy doesn't add up.

I totally agree that the incentives for government to be capital-efficient are very difficult to align properly, but I just don't buy the comparison to how a business is run.

comment 16y ago · link · parent

It's an important life skill to learn to differentiate between when you need a decision and when you need the right decision. Applying the wrong strategy to either situation tends to work out poorly.

comment 16y ago · link · parent

Let's take it as a given that the iPad and like devices won't kill normal computers any time soon, if ever, so those of us who know we want to tinker will have a place to do it.

The question, then, is if one is designing a mass-market computing device, is the ability to tinker with it going to produce enough good in the world to offset all the misery it causes to other people? For every person that saves ten hours using VBA to program their spreadsheet, how many other people lose hours because they get a virus or install incompatible programs or corrupt some obscure system file?

In other words: you're 100% correct that there will be negative consequences, but don't forget that there will be positive consequences as well. It's a judgment call as to which side you think weighs more heavily and where the overall balance will be. Yes, you lose something important and valuable when you lose the ability to tinker. Yes, the world would be better if you could have that AND not have people frustrated and crippled by their technology. But no one has figured out how to do both yet.

I think it's fair to say that you have to make the choice, and you can't have it both ways. And given that choice, my personal accounting tells me that we gain a lot more by removing the frustration than we lose by removing the power. While we lose something, I think we gain a lot more, and I don't see any way to gain it without giving something up.

comment 16y ago · link · parent

I don't think the opportunity is lost, it's just that none of the big companies are taking advantage of it. Honestly, I think that's because they think it's too hard. Microsoft and Apple have been trying for decades at this point to make a computer that's open, easy to use for everyone, never crashes, etc. The open source community has been trying too. I don't see anyone as having succeeded there. It's not for lacking of wanting to succeed, or for a lack of trying, it's just a really hard problem, and by locking things down they can create things that work much more predictably and reliably.

I don't think the OLPC is a counter-example; it solves some issues in virtue of having a standardized hardware platform, and they've tried to do away with the file system (which sort of works and sort of doesn't), but I don't think they've completely solved all the other problems around versioning and installation and removal and viruses and third-party devices that need their own drivers, etc. I don't know a ton about it, so it's entirely possible there's something else innovative there that I'm missing. I also would argue that they haven't done it in a device that an average consumer would really want. They done all sorts of innovative things that I think are great, but I don't think they've solved those fundamental issues in a general way.

As for the moral obligation standpoint . . . I haven't read Zittrain's book, so I can't fully debate that argument. From my perspective, roughly, you have a moral obligation not to do X if doing X infringes on someone else's rights without their consent. So to say it's unethical to create a device like the iPad you'd have to argue that people who don't buy the iPad are directly harmed by it somehow, and that just seems like a tough argument to make. I think the effect of something like the iPad on the future of computers, the internet, society as a whole, etc. is so hard to predict that I don't think you can fairly say that someone or some company has a moral obligation one way or the other. Maybe those devices will open up computing to people that currently couldn't use those devices, making their lives better. Maybe it will enable doctors to carry around a tablet that helps them avoid mistakes, saving lives. Maybe it will help small-time developers make more money selling their software. Or maybe it will kill innovation and put us at the mercy of an increasingly-paranoid government and law-enforcement community or put our information and privacy firmly in the hands of large corporations. It's so hard to say which way things will go that I just don't think you can say it's unethical.

comment 16y ago · link · parent

Apple, at least, claims they don't make much money there. Per their latest quarterly call: "iTunes and App Store are still running 'a bit over break-even.' We’re investing a lot in these stores – that’s where the revenue is going." http://www.techcrunch.com/2010/01/25/apple-q1-2010-results/

comment 16y ago · link · parent

I think it's perfectly clear why they're doing this: because they think it provides a better consumer experience. That, in turn, is what translates into more money and more sales. (I believe they said on their conference call earlier this week that don't make much off their cut of app sales).

The iPhone and iPad are not computers: they're extensible consumer electronics devices. The iPhone sells so well precisely because it just works, and it's really hard to screw it up relative to a computer. How is creating a consumer electronics device evil? Because people want it to be a computer? Because it'll somehow erode the market for full-fledged computers? Because they're attracting developers to their closed system? How is this any more evil than Nintendo or Sony or Microsoft making their game consoles relatively closed systems?

We should all keep in mind that computers as such are a usability and maintenance disaster for 95% of the population who has no idea how to deal with viruses, install or remove software, resolve crashes or incompatibilities, or even navigate a file system so they don't lose their documents.

Maybe I'm too cynical about computers and give Apple too much of the benefit of the doubt, but their devices are good precisely because they exert so much end-to-end control, and computers are broken for so many people precisely because they're so open.

comment 16y ago · link · parent

To put it in a different context, a lot of people (myself included, and I'm a hardcore techy) prefer to play video games on consoles rather than PCs so as to avoid dealing with all these headaches. You want to just put the game in, press play, and it works, without dealing with device drivers and hardware incompatibilities and software version conflicts.

The fact that the model is now being extended to things like web browsing and e-mail isn't necessarily a bad thing for 90%+ of the population who just want a device that always works (and always works the same way). It's turning functions formerly reserved for a computer proper and moving into the closed-off-but-much-more-straightforward consumer electronics space.

comment 16y ago · link · parent

I'm guessing their target market for the iPad won't really care too much about that; plenty of non-technical laptop users already have enough trouble installing/uninstalling software, so something like the app store that makes it easy to find and install stuff, and safe to do so, is probably actually a win for those people.

comment 16y ago · link · parent

$499 for the base model makes it a whole lot more attractive than the $800-$1000 a lot of us were expecting . . .

comment 16y ago · link · parent

One primary difference is that libraries have real scarcity; they only have so many copies of any given book, only so many books in total, and a limited timeframe for borrowing. That's most important for new releases, where the number of people who want to read the book far outweighs the number of copies the library might have. It also holds to a lesser extent for people who want to read books the library is less likely to have (for example, if you have a favorite author, your local library might not have all their books), and for reference books, where you don't want to be constrained to a particular timeframe.

If libraries had unlimited copies of all books in print and you could borrow them instantly whenever you needed them, most of the main motivations for buying books would disappear, and the book publishing industry would operate very differently than it does today (whether or not that would be better, by providing more access to information, or worse, by removing the incentive to create, is open for debate).

So while in some sense downloading a book and getting it from the library might feel the same, in that you're reading the book without having to pay for it, the reality is different because all of those constraints have been removed.

As with things like music and movies, the primary problem here is that the physical medium imposed real constraints that are a big part of how and why the current business model for publishing has functioned. Just because it's possible to remove those constraints doesn't mean it's necessarily the ethical or pragmatic thing to do.

For the case of libraries, I think it's very much up in the air what the future will look like. You could imagine imposing the same constraints on digital copies via DRM, or imposing those contraints only for new releases, or charging for digital access but leaving physical access as free, or simply moving to some sort compulsory licensing model. But I don't think that digital equivalent exists yet, and I think it'll be a long, difficult road to ironing those questions out.

comment 16y ago · link · parent

It just happened to my wife this weekend: she'd written a review of her trainer that showed up at the time, but at some point in the last few months it disappeared from the trainer's page, even though it still appears within her profile. She updated the review and it then appeared to her when viewing her trainer's profile, but it didn't show up if she logged out or when logged in from my account.

Simply deciding not to show reviews you've written and/or randomly taking them down after they've been up? Sketchy. Showing those reviews to you so you think they're there even though no one else can see them? Ultra-sketchy.

comment 16y ago · link · parent

I would then argue that REST and XML-RPC fit in different niches and solve different problems, even if there's some substantial overlap between them, so people like the OP that argue that REST completely obviates the need for XML-RPC is missing the point.

Human exploration of a loosely-defined API is great for certain use cases, but doesn't provide the hard API contract and level of tooling that is what lead to the adoption of SOAP in the first place. So people like the OP that whine that people don't get it, and insinuates that everyone who uses XML-RPC instead of SOAP is some sort of unenlightened idiot, aren't making a compelling case if they just ignore the whole reason why SOAP is popular.

comment 16y ago · link · parent

I'm not much of a fan of the bloat that SOAP has acquired, but to me the point of something XML-based isn't so much the transport side but instead the API-publishing side. The point of a WSDL or similar descriptor is to define what's available: what methods you can call, what types of data they take, and what sorts of data they return. Generally, you can query the server for the WSDL in addition to actually executing the calls. To me that's the primary advantage, and the reason why a lot of clients prefer SOAP (or some other XML-RPC approach): it's because it provides a clear, published API that you can hand off to someone and have them program against, and there are tools for basically every language that can interpret that API. For statically-typed languages, those tools can also help make sure that your calls are at least syntactically valid, i.e. you're not making calls to methods that don't exist, or passing Strings in for integer parameters, or referencing fields off the result object that aren't there, etc. That might not seem like a big deal, but when you're calling a totally unfamiliar API, it can help you get up to speed much faster, and when you have clients that rely on that API, it really helps everyone's peace of mind when they can be 100% sure that API isn't changing on them.

I'm not aware of an similar, standardized, machine-readable equivalent for REST service documentation, though I'd certainly love to know about it if there is one.

comment 16y ago · link · parent

Keep in mind that it's not just because of the studios: it's also because of the various TV networks that the studios have signed exclusive re-broadcast deals with. That's why Netflix sublicensed the Starz's rebroadcast rights, and why those movies rotate in and out of being available to play on demand (since the rebroadcast rights are all windowed to specific periods of time, with different broadcasters getting the rights at different points in time).

So it's all a very complicated problem. Movies that already have the rebroadcast rights sold off would be tough without the sort of cross-licensing Netflix does with Starz; the studios don't really have further control until those deals expire, since they're legally-binding, exclusive contracts. Rentals don't conflict with those exclusive rights, which is why the studios can license Amazon or iTunes to offer the movies for a fee, but can't license Netflix to stream them.

What they could do is to stop doing those sorts of exclusive deals, but those deals bring in a fair amount of money, so someone like Netflix would need to pony up enough cash on their end to make up for the loss of revenue that would come with either the total loss of those broadcast deals or with the loss of exclusivity on those broadcast deals. But I'm sure that even renegotiating non-exclusive contracts to use in the future deals with existing broadcasters would take a pretty long time once they've decided to do it; those sorts of legal maneuverings take a long time.

So certainly the studios could start trying to do something about it, but it's not a simple problem that they could just change their minds about and make go away instantly.

comment 16y ago · link · parent

I totally agree . . . I really don't pay any attention to DVD for-sale dates, and only pay attention to the date it's available according to my Netflix queue. It's already the case that the time from theatrical release to DVD seems to vary pretty widely and arbitrarily between films, so an extra 28 day delay wouldn't register on my radar in the slightest. If I hadn't read about this deal, I never would have noticed any sort of delay.

comment 16y ago · link · parent

Compiling our JVM language (Gosu) down to bytecode. It's slow going; the bytecode side isn't hard, but the language has been evolving for 7 years or so and has all sorts of obscure edge cases, as well as some looseness in the semantics that has to be tightened up in bytecode, so getting every little detail right so all the existing code still runs 100% correctly is difficult. We're still hoping for an initial open source release some time between probably June and September.
1
567
12