4,107 karma · joined Feb 17, 2010 (16y ago) · 1,490 submissions
https://coderescue.com
comment 13y ago · link · parent
And, oops, you can't RESERVE an Economy Plus row when you buy a ticket, you need to upgrade later, and then one might not be available. I've even paid the upgrade and had them refund it when they overbooked the Economy Plus section. And since the normal seats are too small, that's just miserable.
So yes, a decrease in comfort has caused me to boycott an airline. But maybe they just want shorter people anyway since they'll weigh less.
comment 13y ago · link · parent
There's no question that you need to be aware of the state of the world. The position of a pen isn't an interface; the pen itself isn't modal. The "interface" to a pan is its handle. The "tuning" of an instrument isn't an interface; the strings are (the mode of a synth makes it modal, certainly, but I'll get to that).
There are some interfaces that are easily mapped by humans, though. The forward/reverse setting in a car is one of them. I don't doubt that many accidents have been caused by that modal interface, but it's still better than any other interface for that task than any other I can think of. You don't WANT the user to be able to just start driving backward without going through a specific (non-normal-driving) action to put the car into that mode.
The keyboard example is the same: A modal interface that makes sense. You have limited resources there: Most musicians can't afford to have a separate keyboard for every sound they want a synth to make.
Even Photoshop is a "necessary" kind of modal interface, because Photoshop isn't representing a user doing a single task: Photoshop is a simulation of dozens of potential "brushes" or effects, and it's far more economical to use the same interface (the left mouse button) to control them all.
It's all about cognitive mapping: A good UI for a stove has the controls arranged in the same physical orientation as the burners. Four burners in a square? Four controls in a square. No instructions necessary (to anyone with even a rudimentary idea of how stoves work).
comment 13y ago · link · parent
I don't get the "repeat count" functionality that I know comes for free in vim, but at the same time, I rarely know HOW many lines I need to apply a macro to, and so just letting key-repeat take over until I'm almost done works for me. There are also times when the macro works on blocks of text, but there are occasional line breaks that would break the macro, and repeating until I get to a line break, skipping it, and then proceeding is easy.
When I AM in vim and I need to, for example, delete some large number of lines, I find myself trying to guess how many lines, but guess on the small size. Then I guess again, until I get close enough to see the exact number.
I probably should use "visual" mode more often for that particular task, but the point is that being able to repeat a macro an exact number of times is (for me) LESS useful than just being able to use key-repeat at 10/second until the task is done.
comment 13y ago · link · parent
But he does say that.
There are two possible conclusions:
1. Despite all the evidence to the contrary, he is in fact an idiot.
2. I'm quoting him out of context. I took classes from him at UCSD. Maybe I didn't understand him. But maybe I did.
3. You don't know enough about his philosophy to understand what he means, but he really, really does mean that. Not "in context," but always.
Now despite my respect for him, I think he does gloss over the power user UI when he says that. He has an entire book on how bad the Unix command line is, and yet there are some things I wouldn't want to use a GUI for. But I'm not a typical user; probably very few people on HN are.
Think about the "Principle of Least Astonishment," though. [1] The more things that work as you expect, the better an API or language is, right? The same should be true of an editor.
I know that in vim you can reuse your knowledge in many ways, but it's all restricted to the vim environment. You can hack that environment onto a command line; maybe even hack it into Firefox text entry boxes. But there are dozens of apps that won't have that ability, and you'll be handicapped in all of them. And there are millions of people who know how to use CUA keyboard shortcuts, and for them the PLA says to have the basic controls use CUA standards.
[1] https://en.wikipedia.org/wiki/Principle_of_least_astonishmen...
comment 13y ago · link · parent
Off the top of my head, though my depth of knowledge of Emacs is almost more shallow than that of vim:
1. Discoverability. I had to reverse engineer Emacs' basic key commands, due to a complete lack of documentation on the first system I encountered an Emacs clone on; I was able to do it, but I have a considerably higher IQ than 120, thank you.
2. Key combinations are somewhat random. Some have mnemonics; most don't. Saying "change the keybindings, then!" is beyond the point; I'm talking about the editor UI as a new user would learn it, and by definition a new user doesn't know what keys things "should" be assigned to.
3. LISP, the write-only language. There's a reason the 1950s-designed language hasn't ever caught on. PG forgive me. Languages like Lua grant you 95% of the power of LISP, but are much more readable. And the last 5% is part of the cause of the readability problems of LISP.
4. Sometimes a mouse IS the right answer for some tasks. In an editor, this is MOSTLY not true, but when it is true, it's powerful.
5. Modern standard keybindings DO EXIST, and neither are supported by vim or Emacs out of the box. Ctrl-ZXCV, for example, will be expected by 99% of users to do the standard things. (If someone reading this is so Unix-centric they don't know: Undo/Cut/Copy/Paste.) Shift-arrows for selecting text. Shift-Control-Arrows for selecting word-at-a-time. Etc. Both Emacs and vim are (nominally) terminal-based, and you can't GET those key combos over a terminal.
6. Two-key combos that AREN'T shift keys for important commands (M-w). 'nuff said.
>Also, when we talk about "measurably, objectively terrible" interfaces, were the measurements made by researchers whose test subjects all had 120+ IQs? Those would be the only measurements that interest me.
I already commented on my own IQ, and I find it to be an irrelevant comment. A better UI tends to be better for any IQ. Do you really want to be using your IQ to decode your UI, or would you rather not have to think about it and instead think about the problem at hand?
I'm not talking about a dumbed-down, feature-poor UI. There are very few features anyone can point to in vim or Emacs that I haven't seen, typically way more easily accessible, in modern editors with decent UIs (I don't know of any with a really good UI, but most are better than their ancient ancestors, though I haven't done a complete survey recently, and so I should again).
And remember, I already said this is mostly irrelevant if you already have learned vim or Emacs. You've put in the time, and suffered the pain of their steep learning curves. You're past the hard parts. Enjoy your editors; I'm not trying to get you to change what you use.
To be honest, I'm not really interested in debating particulars. I'm sure you'll find SOMETHING to pick at in the list above; I know you CAN use cua-mode to get some basic standard control keys. But when a new user starts with Emacs, will they know to enable cua-mode?
The killer for me is that LISP just makes my eyes bleed. I've used it (in college) to create research apps, but I never liked it.
comment 13y ago · link · parent
As I mention in this other comment [1], vim and Emacs hardly have a corner on the macro market.
:norm looks powerful, yes. But when I want to do something like that, I create a regex search that matches what I want and then record a macro that includes the "search next" key. Not quite as nice, because I have to keep hitting the "play macro" key, but gets me 95% of the way there.
More complex (or numerous) transforms just become a script that I run on the file. But that's an extremely rare operation for me. For me it comes down to the fact that saving the 5 minutes to set up that script, once a year when I need something that complicated, would take a crazy long time to amortize over the three years it would take me to become that good at vim.
comment 13y ago · link · parent
Every single "modern editor" I'm talking about is scriptable, and they're scriptable in languages that are easier to code in than vimscript (which is infamously awful) or Lisp. Some are even scriptable in positively awesome languages.
Not sure what "modern editor" you're talking about. See:
Notepad++:
http://sourceforge.net/p/notepad-plus/discussion/1290590
Visual Studio: You can record a macro and get code that you can then edit, adding loops and logic and such, and then play back the macro. Or you can extend it in an arbitrary way:
http://msdn.microsoft.com/en-us/vstudio/ff718165.aspx
Visual Slickedit: Half of the app is written in its own custom C-like scripting language. Similar to Visual Studio, you can record a macro and edit the resulting source code, so you don't have to guess how to start creating a script.
TextAdept: Scriptable in Lua.
TextMate: "Plug-able Through Your Favorite Scripting Language"
Sublime Text: "Sublime Text has a powerful, Python based plugin API. Along with the API, it comes with a built in Python console to interactively experiment in real time." -- This one I haven't used, so I can't be CERTAIN that you can write-and-use scripts immediately and trivially, but it certainly sounds like it.
NEdit: "NEdit is extensible through a C-like macro language"
https://en.wikipedia.org/wiki/NEdit
SCIte: "In addition, the Lua programming language is embedded in SciTE, allowing the user further customization. One can write Lua scripts that have access to the contents of the buffer and the Scintilla API."
https://en.wikipedia.org/wiki/SciTE
I've been clicking on random ones in the WikiPedia article on text editors [1], and except for the editors that "come with the OS" (Notepad, etc.), every one I checked had scripting. I actually clicked on SciTE to give a counter-example, since SciTE is mostly a proof-of-concept for the Scintilla editor library.
I would have to say, given the ubiquity of scripting languages in editors, that you haven't LOOKED for scripting in other editors. Which is FINE, but You Do Not Know Of What You Speak (TM).
Even if you can point to some that don't have scripting, it doesn't matter. Plenty do, and scripting is important to me as well. The crucial thing for me is the ability to quickly record and play back a macro; I wouldn't use any editor long term without that feature.
You really can't win this argument. I've traded blows with many extremely experienced vim users, and for every transform that's easier in vim than in another editor, I can come up with three more transforms easier in one or more editors I know. And the real win of using a modern editor is that the core keys (arrows, shift-arrow to select, control-arrow to jump by word, etc.) also work in thousands of other GUI apps, so you don't have to mode shift to be reasonably productive in a Firefox text box, for example.
comment 13y ago · link · parent
Yes, it was that obvious.
But there are piles of UI design research studies that show modal interfaces are, in fact, bad.
Objectively bad. Measurably bad.
I get sick of the vim apologists who try to claim that vim has a good UI. It is objectively, measurably, terrible.
Granted, once you've learned it, you can be amazingly productive. But the power of a program is completely orthogonal to how good of a UI design it has; the latter pretty much has to include discoverability. In the words of one of the current foremost user interface design experts, a "good user interface shouldn't require instructions." (-- Donald Norman)
I use vim when I'm doing editing on terminals. I'm not a vim expert, and I don't intend to ever become one. It's far more efficient to get my file locally and edit it in my flashy GUI editor if I have to do serious development on it, than it would be to become that level of expert at vim.
And I'm basing this on the many stories I've heard, written by vim experts, about how much work it is to get good at vim.
Continue to use vim, by all means; you've climbed the hill and you know it, so it will be more productive for you than anything I could point you at to compare it to.
But please, please stop trying to claim it has a "good" user interface. Both vim and Emacs have interfaces designed before any serious work was done on human interface design, and like the microwaves and VCRs designed back then, their interfaces are measurably, objectively terrible.
Modern editors can do 99% of what a 3+ year expert in vim can do, but you can get to that 99% in a month or less. Just because you had to spend three years of your life to get to your current level of productivity doesn't mean you should haze new developers the same way.
comment 13y ago · link · parent
I would claim to be a 2+ programmer myself. You don't need to believe me, of course, but based on your descriptions of the various ranks, I believe I would qualify. And yes, I do want to get into a position where I'm mentoring junior developers, but so far it's been sufficient too just handle all the programming myself.
Writing all the code for both the client and the server gets old after a while, though, even if it means that everything works really well, even on low-end commodity hardware. So yes, I think I will be following your suggestion and hiring a junior developer soon. At least if my Kickstarter (not yet live) funds.
comment 13y ago · link · parent
>is total loser thinking. No, actually.
When I finally quit my employee-day-job, I told them I'd do more work for them as a consultant. At 2x my previous hourly rate. They said yes, and I've gotten that rate several times since then as well from unrelated companies.
>a half-decent programmer is worth $500k+ easily
I would argue about what "half-decent" means, but generally think you're right that $500k for a good programmer would be a reasonable value. And by good I mean close to the 10x-25x end of the spectrum. [1]
I would describe someone in the 2-5x range as "half-decent" myself, and someone in that range is probably worth closer to $160k/year, tops. Someone at the top end of the productivity scale is faster, yes, but also produces better code, can debug that code more quickly, and can solve some problems that a "half-decent" programmer will simply never complete adequately.
[1] http://www.devtopics.com/programmer-productivity-the-tenfini...
comment 13y ago · link · parent
Android developer here: I would have to say a mix of permission types would be best. Sometimes a feature of an app is crucial to its design (or, to be blunt, to its monetization).
A few things -- using the camera on the phone, accessing the address book, sending text messages, maybe a few others -- would be great to request as "optional permissions," or even better, "runtime-granted permissions," so that an app that only 5% of the time needs that permission could ask for it LATER instead of making everyone who installs the app agree to using a permission that they may not want the app to have.
As it stands, you'd have to break your app up into several different downloads in order to have optional features. Not impossible, but neither is it a good user experience.
comment 13y ago · link · parent
On a related note, changing the amount of RAM seems to only change the amount of RAM, not any of the other numbers. I guess that's their point, but I would rather they just SAY that than make me try a bunch of options to show that RAM doesn't matter. :|
comment 13y ago · link · parent
>I agree with your point in that it was an invective, pithy statement, but the big government categorization wasn't unfounded.
It may take a lot of money to have a social safety net, but we spend a crazy amount on the military, too.
When Republicans say they don't want "big government", it really is entirely a code phrase for the social safety net. Ask any Republican whether trimming $300 billion from the Pentagon's budget would be a good idea, and (except for a few Libertarians) you'll get a resounding no way, with vague references to national security. Despite the fact that the US spends more on the military than all other countries combined.
So no, the "big government" accusation is entirely unfounded. It's all about what they want to spend billions of dollars on, not whether they want to spend it.
comment 13y ago · link · parent
For much greater detail about why Democrats and Republicans think they way they do, read what the cognitive scientist George Lakoff has to say.[1] By the end things like "We respect life!" but "We want the death penalty!" on the same platform actually make sense.
comment 13y ago · link · parent
Even the most strident FP advocates I know who are real game developers say that they wouldn't even consider using a strictly functional language for game development. IO-heavy apps in general seem like they're not a good use of functional languages.
Different programming paradigms suit different problem domains. It's not complicated interactions that would make it harder to understand for a human; it's that when you try to use a language for something that it isn't well suited for, it can be hard to figure out what the program does or how it works.
The objective isn't to write the most clever code, or even the code that's easiest to reason about, but the code that works and is easy to understand.
comment 13y ago · link · parent
If you're implying that "easier to reason about" for a compiler is equivalent to "easier to reason about" for humans, I think that's a fallacy.
Where functional programming fails is in performing tasks that are predominantly imperative; say, anything involving real-time behavior, like games or animation. And by "fails" I mean that an imperative language is easier for humans to follow when it maps more directly to the problem at hand.
comment 13y ago · link · parent
My last gig had me working 30-35 hours a week reliably. And I made way more than EA was offering.
>This was in large part, though, because that was a high priority for me and I moved off game teams and onto shared tech stuff because it was less high-pressure, even though that wasn't ideal for my career.
The one time I worked for a big company (well, a studio owned by Activision -- the studio itself wasn't that big) I did tools as well, similarly to avoid working in the critical path of a game Gold Master release.
That was the worst fit for me of any job I've ever had. Not because it was tools, but for more complex reasons...mostly, I guess, because the tasks they assigned me didn't play to my strengths.
comment 13y ago · link · parent
The sad truth is that I feel like a lot of things that go on are either not worthy of writing about, or they involve some kind of sensitive negotiation or relationship that I shouldn't post about. At the end of the day I end up paralyzed by these fears and fail to post anything.
But you can find the rather rusty company blog here [1], or my personal blog here [2]. The latter has a bit more activity because it has my Pinboard stream on the side, and I try to post a comment with most links.
In general, though, no, I don't really blog as well as I should. Yet, anyway. Kickstarter may change things for me.
comment 13y ago · link · parent
> This is pretty spot-on.
I've studiously avoided working for EA (they almost had me once, but I said no when they pulled a bait-and-switch on the project that convinced me to interview to begin with), but I've been in the industry for 20+ years, mostly working for smaller companies or doing consulting.
I think that while most people (historically) have worked for big companies, that there's a new trend (Kickstarter/crowdfunding) that is making it possible for indie developers to compete, and more importantly, to make a reasonable income while they develop the game.
Granted, a lot of game Kickstarters fail, but then a lot of the people who put them on are not as qualified as they need to be to impress the public.
>I honestly don't believe this will significantly change. I compare the game industry to the music industry.
EXACTLY! And Kickstarter is democratizing the music industry as well! Heck, throw in the movie industry -- there were 17 Kickstarter-backed films at Sundance this year [1], and musicians are using Kickstarter (and digital distribution in general) to get away from the awful music labels that almost universally eat up their profits.
The biggest problem in games/music/movies is typically that you have to make them before you can sell them. All three industries are really hit-driven. If they don't strike the right chord when the product is released, then any money invested in production is lost. So the investors get very conservative about what they'll make, and the general quality goes down as they try to reduce costs in stupid ways (80+ hours a week etc.).
Crowdfunding turns this idea around completely, in that you can invest a small amount of time and money in trying to prove that your idea has legs, and if it does, then the product can be made with the money put in by your fans. If it doesn't, then you either fix your idea or start from scratch with the next idea.
And if none of your ideas work, then it's off to a different industry. The public has spoken.
I'm a game developer with a family and a social life. It can be done. [2]
[1] http://www.kickstarter.com/blog/kickstarter-funded-films-hea...
[2] I have yet myself to "hit the jackpot" with anything I've made; some of my time is spent doing consulting (I'm a programmer), where I make enough money to pay for the time I spend trying to make games. My burn rate is low (even with a family) in part because I left the Bay Area because this is what I want to do, and in order to do it I can't have a huge mortgage that forces me to have a day job that I can't quit. It's all about deciding what your priorities are and then acting on them.
comment 13y ago · link · parent
I was an awesome developer at 22, and I'm a much more awesome developer at 45. I'm a bit more methodical now -- I could crank out (crappy) code really quickly when I was 22, and now it might take me twice as long to get things running but when they're running they're mostly DONE, solid, and reasonably documented. Also, at this point I tend to work ~30-40 hours a week instead of 60+, which could be why it takes me longer. ;)
Just saying that it's not really a "young person's game" to be a "rock star", unless you mean the "being underpaid" part, which I certainly was for years compared to my relative contribution almost everywhere I've worked. (I'm also not claiming to be famous, except for in one particular niche, but that's another story...)
But OP sounds like he was never an awesome developer, so yes, I agree that enterprise is likely the place for him to look.
comment 13y ago · link · parent
I agree though that the loss of power (and lack of backup power) to the pumping stations was probably the biggest problem. I remember hearing that a number of people saved the private high school "CPS" from burning down using the water in the pool to keep the fire at bay; I'm not clear how they did this, though (if fire fighters were involved, I'd imagine they would be able to use their trucks to pump the water, but the story as I heard it was a bunch of teachers and/or students fighting the fires back). So yes, if you've got water, it's easier to fight a fire.
comment 13y ago · link · parent
Remember the Oakland Hills Fire? A direct result of complete incompetence of the Oakland fire department.
Hundreds of homes burned in Oakland. Barely any in Berkeley. (For those not familiar with local geography, driving along the ridge it's almost impossible to tell when you've left Oakland an entered Berkeley; the fire certainly wouldn't have been able to tell the difference.)
You could see the line of destroyed homes right up to the Berkeley border, where the Berkeley FD was able to stop its progress.
Oakland had completely broken infrastructure: Fire took out power, which then prevented any pumping stations to get water up the hill. Oakland had refused to update their fire hose connectors to a standard size, so the Berkeley fire trucks wouldn't work in Oakland even if the water were pumping, and other area trucks (probably a dozen cities sent help) were similarly useless. Trucks FULL OF WATER sat unused at the base of the hills because of lack of communication.
And the ENTIRE FIRE happened because the fire chief violated the department's policy: A brush fire they'd put out the night before the BIG fire was what flared up and caused the tragedy. This was a windy season, and their policy states that any such brush fires should be monitored for 24 hours after they've been put out to ensure that they don't flare up again, because of the dangers of fire when the winds are that bad. Story had it that the fire chief (a crony appointment of a useless mayor) told the crew to come home because it was Saturday night.
So if Oakland Fire is actually good now, it's certainly improved from utterly incompetent. Granted the loss of life wasn't bad considering the size of the fire (7 people died, if memory serves), but my sister lost a good friend to the fire, and therefore to Oakland Fire's incompetence. So maybe I'm a bit prejudiced.
Regardless, that die is cast, and I've left California entirely for the time being.
comment 13y ago · link · parent
It's too bad, because I loved living there.