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 16y ago · link · parent
I get that CPS doesn't always do the best job, and plenty of the people that work there are on a power trip and got into social work because they like telling other people what to do. The world would certainly be a better place if they were able to do their job better and if some of their officers were more courteous.
But as you probably know, working for CPS is an incredibly difficult job. It's very demanding on your time, it's immensely stressful emotionally, everyone hates you, and it can put you in physical danger (you often have to be accompanied by a police officer). Unsurprisingly, in many places they have trouble finding enough qualified applications to fill the necessary positions. I know that I sure as hell wouldn't want to do that job.
I guess I just get tired of the vitriol directed their direction as if the world would be a better place if CPS wasn't around, or as if they intentionally make life hard on people just because, or as if they're somehow more lenient on poor people. Your additional comment there is, in my experience, pretty wildly off-base: my wife is a social worker who works with plenty of poor clients who have had children taken away and never managed to get them back because they're unable to support them financially or have ongoing drug or alcohol problems. The kids are put in group or foster homes basically permanently, not sent back to their parents. And it's not like the "poor crackheads," as you so respectfully put it, don't care: they care just as much as anyone else does.
What I'd like to see is some more level-headed analysis of what the "false positive" or "false negative" rates are. For every family innocently harrassed, how many families are quickly cleared of any wrongdoing and how many children are removed from abusive situations? It makes a big difference if 60% of the claims CPS investigates result in putting an innocent family through hell or if 1% of the investigations do.
Again . . . would the world be better if CPS was able to do a better job? Sure. Would the world be a better place if we reverted back to treating children like property with no rights and allowing parents complete free rein over their children? No.
comment 16y ago · link · parent
comment 16y ago · link · parent
One reason a lot of enterprise software gets bloated is that, in order for the market to be viable, it's hard to just target a single niche, so you end up with a superset of features so that you can sell the same market to customers with different requirements.
Even in the best case, though, system specialization can be a knife-edge that cuts both ways. Many of our customers, for example, are in a trouble precisely because they have way, way too many one-off systems. They have this system over here that does just workers comp claims, and another system for handling personal auto claims, and another system for tracking notes, and an entirely different system for first notice of less entry versus for actually handling claims, and then most of their commercial business is in yet another system, except for some specialty lines that are elsehwere. Then they have five different policy administration systems, and a couple of billing systems, and each of those talks to a different document production system . . . it's a total nightmare.
So sometimes the choice is between having 3 complex systems or 25 purpose-built systems and a total integration and user training nightmare, and both options suck.
Basically, as soon as you have a bunch of data that you need to do a ton of different things with, you're left with two bad choices: you can create one really complex application that tries to do everything, or you can create a bunch of smaller applications and end up with a bunch of complicated integrations. Fundamentally, as soon as you have complex data that you have to do a bunch of stuff with, you're going to be in trouble no matter what you do.
comment 16y ago · link · parent
1) The developers often aren't the users either, which instantly makes things far more difficult. My company builds insurance applications; it would be 10x easier (if not more) for me to write an e-mail application with a good user experience than for me to write a policy administration system with a good user experience because I'm not an agent or underwriter. With consumer software, development or collaboration tools, and a lot of small business software, the developer might actually have to/want to use their own stuff. For most enterprise software, that's rarely the case.
2) As has been pointed out already, a lot of enterprise software is complex. It's hard enough to get everything to work, let alone to have a really nice, slick UI. There are often endless numbers of non-optional corner cases to handle. If you're really unlucky, the process in question will be subject to lots of government regulations you have to abide by; if you're even unluckier, those regulations will vary by state (not to mention by country). It's hard to make something that complex user-friendly.
3) In addition to complication, there's the issue of surface area, which is somewhat orthogonal. It's much easier to polish a web application with 20 different screens that to polish one with 2000, no matter how simple those 2000 are; you often don't have the resources to devote huge amounts of attention to detail on an application with that kind of surface area.
4) Enterprises themselves are difficult to sell to. Extremely difficult. It's largely a self-inflicted wound, but it results in an increased barrier to entry in that market, which increases the cost of actually selling into that market, which leaves fewer resources for development (relatively speaking).
5) Enterprise systems often need to integrate to a bunch of other enterprise systems. Any way you spin that, it's difficult and time consuming to do that, which sucks up more resources.
6) Most enterprise solutions involve a lot of vendor lock-in. That's partially due to the storage of large amounts of highly critical data, partially due to general risk-aversion at most companies (since such changes, if they're botched, can be disastrous), and partially due to the integration work mentioned above. The cost of switching tends to be very, very high.
7) Everyone wants to be a unique snowflake. For core business processes many companies consider their process to be a competitive advantage; at the very least, it's a core part of their business. As a result, enterprise software often has to be customizable so it fits with what data the customer captures and how they do business. That dramatically ups the complexity factor and makes polishing things much harder.
8) Because of all those factors, enterprise markets have a high barrier to entry. The complexity of the products means that you need a decent amount of funding to even begin to enter the market, and the sales difficulties suck up more money and make it difficult to establish a consistent revenue stream. The relatively small market sizes combine with that to turn many of the markets into winner-takes-all sorts of games. As a result, you end up with two classes of companies: new entrants and incumbents. The new entrants don't have the resources to really polish their stuff; they're struggling to build stuff that's functionally complete, actually works, and to sell it without running out of money. They can't afford to chop their footprint in half in order to make sure it's really slick, or to spend twice as much on development. The incumbents, on the other hand, often have no incentive to not suck. They tend to have high levels of lock-in and they know their competitors have huge barriers to entry, so the competitive pressure to be good isn't there.
9) The most talented developers and designers often simply won't work on enterprise software. You're working on something you wouldn't use and have no personal connection to, and no one you know can use or see your work. At least in the valley, if you tell people you build enterprise software, people often react like they feel sorry for you, or like you're some sort of idiot-leper who simply isn't good enough to get a job building cool consumer stuff. Ask awesome developers if they want to work on a database, a social networking site, or a claims processing system, and I think we all know which option will come in third place.
10) Those are all reasons why commercial enterprise software written by software companies sucks. A lot of enterprise software, however, is written in-house. If a company that can amortize their costs across dozens or hundreds of customers has a hard time doing it, you can imagine what happens when one company attempts to build things themselves. They really don't have the resources or expertise to product anything thoroughly polished most of the time. And the hiring problem there is even worse: most good developers would rather work at a software shop than in the IT department of some massive company.
comment 16y ago · link · parent
On the dead simple end where you just want essentially a blog with ads, it's easy. On the not-so-simple end, where you want to build an application you can charge money for, the app store model is very straightforward. You don't have to make any decisions about servers or hosts, do any sysadmin work, worry about traffic spikes and scalability, and your cash outlays (aside from development time) are all upfront and totally predictable. Similarly, payment processing is already there and handled for you. And lastly, you don't have to worry about SEO or distribution channels because you don't have a choice in the matter.
It's easier to put up a web page somewhere than to build an app for the app store . . . but for a large number of people building an app for the app store is much simpler than putting up a web application. And that, I think, is a big reason why the app store exploded.
comment 16y ago · link · parent
It would be like encouraging people to eat more when they go to an all-you-can-eat buffet by giving them doggy bags to take home as much as they want, on the theory that then they're more likely to come back. If you're losing money on those people you don't really want them to come back.
It's obviously an open question as to exactly what their costs per user are for light versus heavy users of data, but I'm going to infer from their recent actions that they've decided that at the moment supporting heavy users of data isn't such a great business to be in.
comment 16y ago · link · parent
"Cuba began expropriating land and private property under the auspices of the Agrarian Reform law of May 1959. Cuban lawyer Mario Lazo writes that farms of any size could be and were seized by the government. Land, businesses, and companies owned by upper and middle class Cubans were also nationalized, including the plantations owned by Fidel Castro's family. By the end of 1960, the revolutionary government had nationalized more than 25 billion dollars worth of private property owned by Cubans."
The angry Cuban ex-patriots are generally from that middle or upper class that had their property nationalized.
comment 16y ago · link · parent
comment 16y ago · link · parent
Also, when you're hiring, you're getting a skewed picture of the overall programming population. Suppose (to make the math easy) that there are 100,000 programmers in the world, 90% of which are employed. So that leaves 10,000 programmers in the candidate pool. Most of the top 20% of those will be able to get a job from a referral and not go through a "normal" hiring process, so if you're screening resumes you're now down to the next 80%. But that's the bottom 80% of the 10% that's looking for a job. Of those, some are competent people between jobs or looking for a change, but a lot of them are just in the bottom 10% of the overall skill level, are basically unhirable, and are semi-permanently on the job market because of that.
To make another simplification, if you and I both screen 100 resumes in the same area, there's a reasonable chance that the 10 best candidates we see are different since they go off the market so quickly, but that the 10 worst candidates we see are the same, since they stay on the market. And unfortunately, some of those totally unhirable people have good-looking resumes.
comment 16y ago · link · parent
I often encounter the assumption that all "good" programmers start early in life and/or that all "good" programmers have an innate drive to build things and that's why they got into programming in the first place. (I think the two assumptions are related). And while it's true that many good programmers meet those two criteria (probably the majority), they're not universally true.
There are other reasons to love programming besides just the end result; I myself was drawn to it because I'm fascinated by the intellectual challenge of taming and organizing complexity, and of the way program construction can be seen as a series of rapidly-evaluated scientific hypotheses (i.e. "I think I can do X this way" and a short while later, relative to pretty much any other discipline. you have confirmation or rejection of that hypothesis).
I did, however, leave school with a bit of a complex precisely because I don't fit the traditional grew-up-tinkering-with-computers mold for software engineers. I thought that all those other people must be better than me, or be lightyears ahead of my skillset, or that because I came to the profession differently I must be somehow inferior or have a lower ceiling on my abilities. It took me a couple of years of programming professionally to realize that wasn't the case and to be confident in my abilities.
Anyone with the right set of cognitive skills can do fine in a college CS program regardless of their background, and anyone who has the skills to make it through a college CS program and who enjoys what they're doing will do fine as a professional programmer if they're willing to keep learning, regardless of their prior background. (And I don't mean to imply a CS program is by any means the only way to go, merely that someone with no prior background who goes through such a program will likely be fine.)
comment 16y ago · link · parent
I believe that the contention of the police is that perhaps the facts aren't all public. They want to know exactly what exchanges too place between Gizmodo and Hogan (or whoever Hogan's go-between was), and I think that's reasonable. Did they ask where the phone came from? Did they ask if attempts had been made to return it? Do the dates of those correspondences match up with the stories both sides are telling? Etc.
comment 16y ago · link · parent
How many extra apps do you think that move would make people buy: 2? 5? So you think they'd cripple performance and lose hundreds of thousands of sales so that they can get people to spend an extra $20 or so at the app store, of which they'll get all of $6? If they wanted your extra $6 that badly they'd just up the price on the device.
I just don't understand this constant assumption that every decision Apple makes is anti-competitive and designed to achieve lockin. Isn't it way more rational to assume that they want to make the device as good as possible because they make money by selling devices, and that their decisions are primarily driven by that motive?
comment 16y ago · link · parent
comment 16y ago · link · parent
There are two different use cases here: lambdas (which may be true closures) and user-defined control constructs. In the first case, I'd argue that you want the declaration semantics to be as close as possible to a normal function definition. You should be defining a function, so return returns from that function, and break/continue statements can't have targets outside the function. For control constructs, you want the code to appear as if its inline, so you want non-local return semantics. I.e. you want it to behave as if it's not actually in a separate function at all.
So I think those are two different constructs, and things get confusing when you conflate the two. At the very least if you want to have those two constructs, make them look different enough that users don't confuse them. Java was going to go the wrong way there on their initial closure proposal (the => versus ==> thing) and make things that look like lambdas behave like in-line statements. Ruby kind of goes the other way and makes everything look like a bunch of statements within the body of something else in contexts (like the reduce() method) where what you really want or would expect is a lambda. If I write "return x + y" in the body of my argument to reduce(), I expect that to be the value of the reducer function, not to exit the function that was calling reduce(). But at least in Ruby a block is always a block and always has the same semantics, even if those semantics seem inappropriate for many use cases.
But again, it's personal taste as to which of those, or both, you want to add to a language. In my personal opinion user-defined control statements aren't all that useful and you can fill most of the needs with language-defined control constructs. But it's a tradeoff the language designer has to make, and there's no one right path.
comment 16y ago · link · parent
Unfortunately, it can also result in some serious confusion on the part of a programmer that wants to think of them as lambdas. Java was originally going to do something similar and have two types of lambdas in 1.7, one using => and the other using ==> to indicate the non-local return semantics, and I think it would have confused a ton of people.
If you have a filter that takes a predicate function, for example, you might naively do (excuse my incredibly-rusty-and-thus-totally-syntatically-mangled-Ruby):
some_list.filter() |x| do if (x.foo) return true else return false end
In this case, you'll end up returning from the outer function, NOT just returning a true/false value for filtering. To do that, you have to just do:
some_list.filter() |x| do if (x.foo) true else false end
And rely on the way that things you might otherwise think of as statements are expression values in Ruby. But what if my predicate function is really complicated, and I want to end the block early? Um . . . too bad. Better put that in its own function and call that function from your block.
I'm sure that in practice those aren't major issues for people used to Ruby idioms and behavior, but from someone new to Ruby they can really trip you up.
comment 16y ago · link · parent
It seems like it adds in a lot of potential confusion and diverges from any other closure/lambda implementation in any other language without adding much value.
comment 16y ago · link · parent
Clearly, though, the fact that the app store is already flooded with low-quality applications is indicative of the fact that Apple hasn't been doing that, which makes that justification seem totally bogus: if they really cared about low-quality applications, they could have done something about it long ago without restricting cross-compilation techniques. And if they wanted to put a stop to it now, they could still do it without restricting cross-compilation.
So to extend your analogy: if you want to weed the garden, then pull the weeds already. No need to have this strange level of indirection that will result in removing only a small number of the weeds while also eliminating plenty of flowers.
comment 16y ago · link · parent
Currently the Method object in Java always does dynamic dispatch for instance methods and static invocation for static methods, and there's no way to do mimic invokespecial via it.
comment 16y ago · link · parent
So it certainly doesn't look like they're going out of their way to play nice with browser or OS developers, or that they're trying to open up the actual implementation: the program seems more geared towards getting Adobe's software onto devices, getting hardware acceleration from chipsets, and getting content providers and developers to deliver content in their formats.
comment 16y ago · link · parent
comment 16y ago · link · parent
So let's not just focus on the theoretical-hacker-kid-who-will-now-never-learn-to-program, because they're not the only type of person affected by these devices. Are many people's days just a tiny bit happier because they have their iPhone? Yes. (And many people's days are happier because they have a phone that is much better than it would have been had the iPhone never happened). And that should matter too.
comment 16y ago · link · parent
See grellas's excellent summary from a few days ago:
http://news.ycombinator.com/item?id=1221387
As absurd as it seems, laws like this don't come out of nowhere just to make people's lives complicated and miserable: the SEC registration requirements are there to prevent scam artists (of which the 20th century that saw rise to these laws saw plenty), and the accredited investor regulations are a way to clarify the exemptions to those requirements.
comment 16y ago · link · parent
Once you have to handle anything workflow-ish or manage any sort of business process, or any time you have to handle integration to arbitrary external systems, it's very difficult to make anything that doesn't suck. The "right" thing becomes very fuzzy, and there's no one purpose or problem you can use as your rightness criterion, so it all becomes very fuzzy. Things then get worse when some standards committee tries to please everyone, or when business users insist that they want everything to work exactly the way it used to just, you know, with a computer know. And since there's no easy criterion against which to judge the solution, it's an easy slope down towards even more suck.
comment 16y ago · link · parent
The only 100% reliable method of patent lawsuit control is software development abstinence . . .
comment 16y ago · link · parent