2,035 karma · joined November 23, 2008
Obviously, it trips beginners up.
And it encourages committing stuff that may never have coexisted in the working tree - and thus have never been tested together.
The index is one of the key components in git, but it doesn't really have a name or label in the UI. Say that it was called "index"; then the current "git diff" would be equivalent to "git diff index", and the current "git diff --cached" to "git diff index..HEAD". Less special cases to remember. IMHO, of course.
The same way "git checkout index foo.c" would fetch foo.c from the index (I don't even remember the magic incantation for doing that now). Etc.
Also, I still think that using the index should be optional: "git diff" should default to "git diff HEAD", "git commit" should default to the current "git commit -a", etc.
"git checkout" tries to do too much. It creates and switches to branches, and copies blobs from the repository to the working tree. The first form is reasonably safe, and bails out without --force if you do something stupid, the second does not. At least for me, the only way to learn the difference is the hard way.
The branch-switching should probably be done by "git branch" instead, and the fetching of blobs by "git reset" (which sometimes already does this, but with very confusing options; I never remember the difference between --soft, --mixed, --hard, --mixed and whatever).
That's only a couple of changes that could have been made a long time ago. Now it is definitely too late. Even if the git UI could be made smaller and more logical (with a huge amount of work), it's not worth pissing off pretty much every git user out there...
I think it's because git's data model is so minimal and elegant, and the UI is anything but.
For me, it's not so much that the UI is quite bad (which it is), but that it could have been brilliant.
Translation: Obscurity envelops truth (according to Virgil).
I suppose it is half anecdote, half antidote, which must be highly useful. Or is it maybe an ante-anecdote, an amusing story in advance (a.k.a. prophecy)?
Not surprisingly, such a useful word is in widespread use, apparently. 33,200 uses to be exact, according to Google. But no clear definition, according to antecdotal evidence.
It probably should.
"In 1910 Lars Magnus Ericsson installed a telephone in his car, although this was not a radio telephone. While travelling across the country, he would stop at a place where telephone lines were accessible and using a pair of long electric wires he could connect to the national telephone network."
Or perhaps this, ever so slightly more practical, one: http://www.ronpatrickstuff.com
When I was about 5, I predicted the iPhone.
Well not exactly the iPhone, but I made a lot of drawings of a device with phone, computer with touchscreen, music player, etc., in roughly the iPhone form factor. Since I am very old, mobile phones at the time were back-breakingly huge, and I had not ever seen a touchscreen.
My "design" was a bit different, though. I though it would look cool to carry the device like a giant Dick Tracy-ish watch. And it needed a very small cassette-tape memory for the computer (that was the only kind I had seen).
I also made a lot of drawings of cars with jet motors. That particular vision has not worked out very well. Yet.
Just opening that page causes Safari to hang for quite a while, and memory use to shoot up from ~40M to ~670M. That's not even close to being acceptable.
That strikes me as truth. And a very inconvenient one at that.
It's like puberty for countries.
This is my experience:
* English. Being Swedish, we started with English in 3rd grade, and continued for years. But I suspect that ubiquitous American series and films on Swedish television were way more important than the formal education.
* German. Three years in school, totally wasted. I managed to learn a whole lot of words, and still remember some grammatical rules, but I could not speak German even if my life depended on it.
* French. After university, I decided to take a stab at French. I came up with my own model, that basically consisted in keeping a French novel in my left hand, and a translation in the right.
That worked a lot better than the formal education in German: after a while I could read pretty much anything in French. Unfortunately my method doesn't help at all with speaking and understanding the French. So now I can read Proust, but have trouble ordering a beer in the darned language. I wouldn't recommend that method.
* Spanish. I decided to try another homegrown method with Spanish, basically focusing on listening alone. I listened to Spanish podcasts, radio and TV as much as I could, but not always very actively.
With a little help from some Spanish speaking friends, I am now quite fluent. And it turns out that learning to read Spanish is quite easy, if you already know most of the words by ear. So going from spoken language to written works, but not the other way around (at least not for me).
So, for me, formal language education has indeed largely been a waste of time. But it doesn't have to be. If I could come up with two methods better that the school's, the teachers ought to be able to at least do the same.
"Short words are the best and old words when short are best of all," as Winston Churchill would have it.
So porting from another language is now forbidden? Or is it unoriginal code that is banned?
Either way, the sheer craziness is astounding.
"I suspect his motivation was not so much to understand the world as it was to find new ideas to explain. The act of discovery was not complete for him until he had taught it to someone else."
A Swedish person like me most of the time have no trouble at all understanding spoken Norwegian, and reading both bokmål and nynorsk is quite easy. Spoken Danish requires some effort and getting used to, but it is still quite possible to have a conversation.
Icelandic is a different story, of course. Thankfully, though, the Icelandic speak English rather well...
I guess this must be because Apple doesn't allow Adobe access to its proprietary, hardware based empty loop optimizations...
It's like that tribe in South America somewhere that didn't have words for colors, except in expressions as "colored like the sun" etc.
http://www.google.com/gwt/x?u=news.ycombinator.com
Fast, simple and ugly as hell...
http://googlemobile.blogspot.com/2009/12/android-dogfood-die...
http://deimos3.apple.com/WebObjects/Core.woa/Browse/mit.edu....