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 17y ago · link · parent

Their thesis, that it increases cravings in certain ways, is reasonable. The implication that people behave like rats with absolutely no ability to reflect upon or control those cravings, however, is not.

I'm also one of those people that lost weight (a small amount in my case, but I didn't have that much to lose) by switching to drinking diet soda. It allowed me to satisfy a certain type of craving (to drink something with taste other than water and to satisfy some need for something sweet) without adding calories to my diet; it's possible it instilled other cravings in me for sweet things, but I've found those far easier to ignore.

Not all cravings/desires/impulses are created equally.

comment 17y ago · link · parent

That's basically what's happened to my company (the lawsuit is still ongoing).

comment 17y ago · link · parent

But you might want to leave open the possibility that designer could be female (and despite what old-school official grammar books might say, in 2009 I don't think it's acceptable to use "he" for a gender-neutral pronoun, and "they" is much less awkward than "he/she")

comment 17y ago · link · parent

Of course . . . you can also use a flat rock to hammer in nails when framing a house, but a framing hammer might be a better idea. Doesn't mean it can't be done, though, especially if you're really good with rocks and already have them lying around, whereas you'd have to go to the hardware store just to buy the framing hammer.

My point was not "language X can't do project type Y," but rather that the things that put a language in the sweet spot for certain types of projects kind of inevitably pull it out of the sweet spot for other types of projects. I.e. it really is always about trade-offs. Sometimes the mere fact that you know how to use a given language is enough of a win to outweigh any potential benefits of switching to another language.

comment 17y ago · link · parent

The best languages for writing quick-and-dirty 15-minute scripts are never going to be the best languages for million-line, mission-critical applications, the best languages for embedded programming are not going to be the best languages for web programming, and the best languages for beginners are not going to be the best languages for more advanced programmers.

So perhaps programmers sometimes give up too quickly and could do better on all those fronts, but it's not some limitation of the real world that forces the tradeoff: it's the fact that different decisions regarding things like syntax or the type system do have a real impact on the suitability of the language for different purposes, and you can't be all things to all people there. Sometimes you want a very loose language that doesn't get in your way; sometimes you want a very strict language that ensures correctness; sometimes you want a language that lets you manipulate things close to the metal; sometimes you want a very simple language that's easy to learn because it doesn't have too many concepts; sometimes you want a very advanced language that gives you lots of different ways to solve problems.

No language can or should be all things to all people.

comment 17y ago · link · parent

I think the point is less about competitive advantages, and more that time is never irrelevant. What you want to maximize is, as it were, the area under the curve on the time-value graph. That means delivering a reasonable amount of value as soon as you can is going to be a better strategy than delivering no value for a longer time while you try to perfect things, then eventually delivering more value.

And since it's always a moving target, getting something that works "well enough" and then moving on to the next thing will always keep you ahead of people polishing their gleaming cube of perfection for ever more marginal returns.

comment 17y ago · link · parent

The most difficult part here is probably around integrations. As you point out, piggy-backing on some existing system is one way to make that easier, but it makes it hard to replace core parts of the system, and it makes the SaaS model far less attractive. I think it's a great idea where it can work, but you're not going to replace the SAP/Oracle deployments themselves that way, or the legacy mainframes.

comment 17y ago · link · parent

I work in enterprise software, and we have a fairly traditional sales and pricing model from what I know (a fair one, but nothing ground-breaking, aside from the fact that most of our licenses are yearly instead of perpetual). There are two things to consider.

First of all, as soon as you price as SaaS, you're seen as a cost center to be minimized, and you'll be able to charge far less even though you're providing a more valuable service by both developing the software AND running the IT. So ironically, it costs you more, and you can charge less for it. That just seems to be the way people evaluate these sorts of things: someone that would pay $500k per year for the license would probably balk at $500/user for 1000 users. Think of it as akin the app store effect: people are conditioned to SaaS being (relatively) cheap, but are used to enterprise software being expensive, so just like people expect iPhone apps to be irrationally cheap, they expect SaaS to somehow be cheaper for them than just buying the stuff.

Secondly, the software license is a small, small portion of their actual TCO of the software. A big company laying out $1 million a year for a software license might be spending 10x that in total to implement and integrate the system, do any necessary data extractions and transformations, train up new users, buy new hardware, etc.

I think about the best you can hope for is an enterprise vendor that delivers software that actually works and that doesn't price gouge you for doing it.

comment 17y ago · link · parent

We (i.e. Guidewire Software) are pretty much always hiring good software engineers, product managers, and QA engineers.

http://www.guidewire.com/about_guidewire/careers_listings

Of course, we build software for insurance companies, which isn't exactly the sexiest industry in the world, but we're a good company with a solid business (we write software that people pay real, actual money for), a lot of smart people to work with, some fairly cool (at least we think so) internal technology, and a solid devotion to both being a good place to work and to always trying to find ways to work better. Most of the coding work is in Java and our in-house (hopefully open sourced within the next 6 months or so) scripting language. We're located in San Mateo (mid-peninsula in the Bay Area).

If you're interested in applying or want to talk about the company or our technology or anything, feel free to e-mail me directly at akeefer@guidewire.com

comment 17y ago · link · parent

It's a bit random, but: if you're not already in good shape (and many of us hacker types aren't coming out of high school), find where the gym is and learn what to do there, and go three times a week.

College is one of the first chances where you A) generally have free access to a decent gym, B) have enough control over your own time to set a workout schedule, and C) you're generally old enough that working out will actually do something for you.

Getting in good shape will have a positive impact on your energy level, but more importantly it does wonders for your self-confidence and self-image.

comment 17y ago · link · parent

Academic work on subjects like sorting tends to focus more on things like big-O runtimes and less on implementation details that lead to reducing the various constants that big-O simplifies out, or that arise from real-world data patterns rather than totally randomized or idealized data.

comment 17y ago · link · parent

I think Jeff is exaggerating a bit with his phrasing, but I think there's an important point there: humility is always important, and it's the only way you ever improve. As soon as you start being really satisfied with your own work, you stop trying to improve it, and that's a dangerous point to be at. Most of the best programmers I know personally are all highly self-critical about their work.

I also think it's important for one's job satisfaction and enjoyment of life that you take pride in your work and can be proud of your accomplishments, and I think it's important to be able to juxtapose that level of satisfaction with a constant drive to improve (I actually blogged about that topic a couple of months ago http://guidewiredevelopment.wordpress.com/2009/05/07/it-can-...)

It's also far too easy to assume that everything written by everyone else is crap simply because it doesn't map to how you would solve the problem, and while some of it certainly is crap, it's important to be charitable in your analysis there. Becoming better means being open to learning from other people's ways of doing things, and being a good teammate means giving your coworkers the benefit of the doubt and assuming that if something doesn't make sense to you or seems ugly, perhaps it's because the problem is more complicated than you thought, or perhaps they had to inherit some ugly legacy code, or perhaps the problem domain just wasn't well understood at the time the code was first written.

comment 17y ago · link · parent

The first principle you mention is, more or less, Kant's idea of the categorical imperative (http://en.wikipedia.org/wiki/Categorical_imperative)

Perhaps not the end-all be-all of moral reasoning, but certainly very influential (and there's a mammoth body of analysis and discussion around it), and personally I find that it's always a worthwhile perspective to consider.

comment 17y ago · link · parent

There's nothing like a totally contrived example to prove absolutely nothing about the efficacy of any given methodology or programming paradigm.

comment 17y ago · link · parent

It could be practically anything; sometimes it's a little less pretty, sometimes it's a lot less pretty, sometimes a few little parts of the UI don't work as intended (maybe changing field X doesn't update field Y like it should, maybe button Z doesn't do what it should when you click it), and sometimes it just starts throwing exceptions like crazy and completely blows up. CSS is kind of sort of standardized, so you sort of have some hope there that all standards compliant browsers (not that any of them really are 100% compliant) will render the page about the same way, but once you get into Javascript land the myth of standardization quickly disappears, and multi-browser support becomes a never-ending nightmare.

Unfortunately, you don't know which of those end results you're going to get until you actually try the thing out, and the answer could be wildly different on different pages of your app.

It's still generally poor form to straight up disable a particular browser unless you know for a fact that it doesn't work properly (generally in the sense of you-can't-use-the-site, not things-look-kind-of-funny), but perhaps in this case they did in fact know that their app didn't work with Opera.

comment 17y ago · link · parent

What would those metrics be, though? Pretty much every metric anyone has ever come up with to "measure" software development has been worthless, and it doesn't look like that trend is going to be broken soon. It's like trying to apply metrics to writing a novel. After a certain point, if something doesn't work you have to accept that maybe it's just a bad idea, and I think we're well past that point with software development and metrics.

About the only useful metrics I know of are all end-state sorts of things: bug counts and regression rates, number of satisfied users versus dissatisfied users, number of successful implementation projects versus failed implementations, and whether you can generate real revenue or business value. As soon as you start trying to look at things like number of lines of code, "function points" implemented, coupling metrics, test coverage metrics, etc. it tends to start distorting your development efforts, and the harder you push on formalisms and hard metrics the worse it gets. Pretty much any metric in software is really a way to get at some unmeasurable underlying thing like "quality" or "rate of progress," but they're always easily gamed. It's like standardized tests and education: the more you push on "accountability" and standardized test scores, the more teachers teach strictly to the test, and the less the kids actually learn. Similarly, of the best ways to destroy a software project is to guide the development based on metrics.

I think you get much better results if you approach software as a design process, which is inherently unpredictable and non-repeatable, instead of as a manufacturing process where predictability and repeatability are the desired goals. As much as the word "agile" has come to be almost meaningless these days, that's really the original insight behind it: on a fundamental level, software development is an unpredictable, non-repeatable design process, and so the best you can do is to expect that to happen and build in ways to deal with that, rather than instead trying to exert more control.

comment 17y ago · link · parent

. . . except that doesn't get you a modifiable list, it just wraps a List interface around the array that's implicitly created by the var-arg, so it's a trick you have to be careful with.

Personally I often end up writing little helpers like: List<T> list(T... args) { return new ArrayList<T>(Arrays.asList(args)) } usually in test code. A built-in List and Map-initialization syntax is really something every decent programming language ought to have.

comment 17y ago · link · parent

Reading that article, one thing that stood out is how the game industry was so focused on such a young market segment: they talk about kids and trying to get them to spend their allowance money. It's interesting how much the gaming demographic has expanded in the years since the mid-nineties.

comment 17y ago · link · parent

I'd say the critical question really isn't around speed of an interpreter, since if you care about speed you're using something like a JIT compilation model to actual machine code anyway. A more important question, if you want the VM to become more widely useful, is to make the instruction set easy to compile to.

A big advantage of a stack-based architecture (in my experience) is that it's simpler to write a compiler for because you don't have to worry about register allocation. My compiler writing experience is a bit limited (I've done some work targeting the JVM, and some very limited MIPS assembly coding), but I've found that not having to track register state is a very helpful simplification.

comment 17y ago · link · parent

Well, the example they give includes the words Ruby, DHH, active, record, rspec, mongrel, jruby, and rubinius as the potential dictionary, and they close the post with "The Ruby community is nothing if not persistent, creative and intelligent — so show us what you’ve got!" So I'm kind of assuming the contest is aimed at the Ruby community.

comment 17y ago · link · parent

I might suggest that there's some irony in suggesting that one use Ruby to write an algorithm that's going to basically be 100% compute bound . . . seems like this contest is a classic example of exactly the sort of problem where you do, in fact, care about raw language performance.

comment 17y ago · link · parent

And how exactly would that help? As the article points out, even if everyone were an organ donor that wouldn't significantly impact the massive waiting list. It's also the case that people who are receiving the organs probably aren't the best candidates for organ donation anyway.

comment 17y ago · link · parent

Does anyone know where something like profit sharing falls on the reward continuum? It's still a "bonus" in effect, but it's a shared bonus if done right with no per-person computation and thus no individual component to cause people to distort their behavior or worry about unfairness. On the other hand, it can still easily become an expected thing. On the other other hand, it seems like a reasonable way to reward people for helping create a successful company. I've read writeups of studies around bonuses, but they're always around much more targeted per-individual bonuses instead of something approximating a profit share approach.

comment 17y ago · link · parent

I wasn't one of the ones who upvoted or downvoted you, but just because you asked . . . while abstractions around your data-handling code are always a good idea, on some level they always leak. (For example, see the classic post http://blogs.tedneward.com/2006/06/26/The+Vietnam+Of+Compute... describing how ORM, one of the most common approaches to encapsulating data-handling code, tends to fail).

Most of your code is data-handling code on some fundamental level, so it's pretty inevitable that it's going to matter to your application how that data is stored and what sorts of operations you can do on it, and that's especially true if you care about performance (which you generally always do after some level). So even if you have a nice abstraction of your query layer, the kinds of questions you can ask the database efficiently depend heavily on the underlying storage mechanism, and so your application logic has to be built so it only asks the right kinds of questions.

Even abstracting away the differences between, say, Oracle and MS SQLServer and MySQL is difficult enough, because of the different capabilities and performance characteristics. When you do that, you basically end up coding to the lowest common denominator, which can often limit what your applications does.

Trying to come up with an abstraction that can encapsulate the difference between a row- versus column-oriented database, or between a relational database and some other kind of storage, is pretty much a losing proposition: they're too fundamentally different in terms of what kind of data you can store, how you can store it, how you can query it, what kinds of transactional guarantees you get, and what operations are fast and which ones are slow.

So you really do kind of have to take your best shot at it, choose an approach, and if you choose wrong and have to change, it's just going to hurt. A lot. Good encapsulation and abstraction will ease some of the pain, but it's more like drinking whiskey before your leg gets sawed off than it is like general anesthesia.

comment 17y ago · link · parent

I would contend that the point of the RFP process is to make it harder to rig. That doesn't mean that the vendors themselves don't try to influence the RFP such that it makes them look better, or that the people issuing the RFP don't do that themselves. But it's overly cynical and a misunderstanding of where the RFP process came from to say it's there to rig the process: it's there because the bidding process has been "rigged" since time immemorial, and it's an attempt to make things more transparent and harder to rig. It's certainly not totally successful at that, but it's unfortunately often better than the other sorts of processes people use for major contracts (like no-bid contracts, handshake deals, etc.).

comment 17y ago · link · parent

Keep in mind that, especially for government agencies, part of the goal of the RFP process is to avoid any question of descrimination by making the decision criteria as "objective" and explicit as possible by making it possible to compare vendors along the same set of criteria.

I agree that it's hellish (we fill out RFPs for claims and policy systems . . . thankfully we and not I), but it's not an easy problem to solve either. If you don't standardize responses somehow, such that every bid is ad hoc and difficult to compare to every other bid, it becomes very hard to defend yourself against accusations of partiality (and, naturally, much easier to actually discriminate).

So yes . . . for both the government and private industry, the RFP serves as a CYA mechanism so you can say "we made the decision based on these factors right here" instead of "we made the decision because we just kind of liked this proposal better." But it's also an anti-favoritism, anti-discrimination mechanism, and it's hard to do that without some sort of standardization, which in turn pretty quickly leads to hellish, absurd RFPs.

comment 17y ago · link · parent

TDD is one approach, and like most approaches when it comes to creative acts (writing, painting, whatever), different approaches are a fit for different people.

Tests are crucial to maintaining quality over the long term and to preserving your ability to refactor and change the code. How you arrive at those tests (test-first, test-last, test-randomly) is much more a matter of personal taste. Part of maturing as a programmer is learning what works best for you.

comment 17y ago · link · parent

The flip side of that question, though, is how often you add in abstractions that you either never use or to code that you don't really need to change. Planning for the future, as it were, is only a win if the amount of time you save when you guess right is larger than the amount of time you pay when you guess wrong and do unnecessary work (or make things more complicated than necessary, thus slowing down all related work, etc.).

I'm all for properly refactoring code, but there's something to be said for the fact that trying to guess what you'll need in the future usually equals guessing wrong, unless "the future" is really close in time (i.e. a week or two away). Personally I've had plenty of those "glad I abstracted it this way" or even "I wish I'd abstracted it initially" moments, but also plenty of the "wow, good thing I didn't sink too much time into this 4 months ago because I would have never guessed I'd need to change it this way" moments too.

comment 17y ago · link · parent

The phenomenon that people tend to adapt to their material circumstances is generally referred to as "the hedonic treadmill."

http://en.wikipedia.org/wiki/Hedonic_treadmill

comment 17y ago · link · parent

One problem with that approach in the enterprise is that most of that $100k+ software is stuff that takes a long time to customize and integrate; there's just no low-cost way to try something out.

More peripheral services like instant messaging or collaboration tools are easier to do that with. Something like a CRM system is probably harder due to the volume of data you'd need to port and the large change in how people do their work, re-training required, etc. Something even more core like supply-chain management or an accounting system is even harder to try-before-you-buy, and the penalty for trying something that doesn't work is way, way higher. In order to get to the point where you know if it's going to fail or not, you have to take some big risks and sink in a huge amount of time and money.

1
89101112