News for hackers. Stuff that matters.
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by ThomPete on Thursday June 21, 2012 @10:41AM (#4142195)
Great and inspiring piece (I have a 3 year old) but I disagree with this:

And then it occurred to me: the perfect GUI for a child would be simply xmonad (a tiling window manager that can be controlled almost entirely by keyboard and has no need for mouse movements in most cases.

The perfect UI for a child and for all other people unfamiliar with a computer all in all is the touch screen.

The reason why the children have problems with the icons being too small and accidental dragging is because the mouse represents an extra layer of abstraction.

If you think about it your brain goes horisontal to vertical and not even in a one to one relationship.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by kitsune_ on Thursday June 21, 2012 @11:01AM (#4142310)
The perfect UI for what? If you say "computer", I strongly disagree, because a computer is a very general description for a variety of different machines.

Secondly, when we're talking about learning, using a command line will probably (definitely?) stimulate reasoning and abstract thinking, whereas you can emulate the effect of a touch screen with a door bell.

Addendum: Of course, you can emulate a keyboard with an iPad, but then what's the point? You even lose the tactile feedback a keyboard gives you.

I'd go out on a limb and claim that a kid will be better off by using actual water colors instead of a water color app on the iPad. In the same vein I think kids might have more important things to do at the age of three than typing commands into XMonad (not that it hurts if it's not the only thing they do).

In fact there are numerous studies that show the importance of practical and physical experiences for the development of abstract thinking, math etc. during early childhood.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by ThomPete on Thursday June 21, 2012 @11:15AM (#4142374)
Perfect UI compared to what the OP proposed would be the perfect UI.

I am not sure that many kids 2-5 get that much out of the command line. They are still working on building their visual skills, exploring tangibles etc.

I am all for command lines if the kid get it, just think it's rare that they get that much out of it in that young age.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by lukeschlather on Thursday June 21, 2012 @11:40PM (#4145265)
Touch screens are interesting because they build on the sorts of visual skills that we use in daily life. The command line is interesting because it nurtures skills you can't get from wandering around a garden. If I want a child to build their visual skills, I want to get them out in nature, or playing with physical toys, not a touch screen.

A CLI on the other hand is a very good abstract reasoning thing - it's on the same level as teaching a kid to read, or counting. And like reading I think it's a very valuable exercise whether the kid "gets" it or not.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by ThomPete on Friday June 22, 2012 @12:03AM (#4145325)
It's only good for abstract reasoning if you can manipulate it and understand what you are doing. Kids at that age can't manipulate it the way you seem to suggest. They can "only" (if I do X, Y happens). It takes pretty intelligent kids to be able to be creative about that at such a young age.

The iPad on the other hand allows for emulating the reality the kids know and thus allow them to play around and learn abstraction based on where they are mentally.

This is I believe pretty well established.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by MatthewPhillips on Thursday June 21, 2012 @10:56AM (#4142289)
> The perfect UI for a child and for all other people unfamiliar with a computer all in all is the touch screen.

And how does one become familiar with computers if they only live in that world? This is no different than any other professional bringing their kids to the shop/office to learn what daddy does.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by ThomPete on Thursday June 21, 2012 @11:20AM (#4142403)
Most people only live in that world.

I learned to operate the VCR before I learned to operate a computer. One thing does not exclude the other.

We are talking about kids here not computer scientists. If they have it in them they will have no problem switching.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by BrainInAJar on Thursday June 21, 2012 @11:04AM (#4142328)
Except that in this case, it's more like "daddy is a woodworker, so here's some stone tools"
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by timtadh on Thursday June 21, 2012 @11:10AM (#4142350)
What?! it isn't like that at all. I am pretty sure 95% of the programmers on this board use the command line everyday. It isn't "outdated". It is the best tool for a variety of programming related tasks. The average "user" isn't using the commandline today. However, the average "furniture user" doesn't need a set of wood working tools either.
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by pyre on Thursday June 21, 2012 @11:18AM (#4142396)

  > daddy is a woodworker, so here's some stone tools
Are you suggesting that if "daddy is a developer" that he's only using a touch screen for development? Or that development of touch screen apps is all a developer does? I'm confused by this statement.

Edit: Maybe I'm just not reading this right. Did you mean:

  daddy is a woodworker, so here's some stone[-working] tools
or

  daddy is a woodworker, so here's some stone tools [used for
  woodworking]
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by sparkie on Thursday June 21, 2012 @11:07AM (#4142344)
xmonad is more like an ultra precision electronic saw. Difficult for most people to use, but amazing productivity tool to the expert.

Now he just needs to teach them emacs.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by Produce on Thursday June 21, 2012 @12:22PM (#4142737)
In my opinion, save the configuration, XMonad is simpler to use than mouse-based window managers.

You can open and close programs, change their layout, move between and resize them. All with, what, 7 shortcuts?

With mouse-based WM's there's click to focus, click and drag, right click, lots of buttons and icons everywhere and you have to constantly work to make the relevant information visible.

There's a reason why people don't go back after using tiling WM's - they're easier and more efficient to use than their mouse-based counterparts.

Consider that mobile phones use a similar approach by getting rid of the concept of windows and they are, by a long shot, easier for most people to get to grips with. Tiling is a similar concept except that more than one application is visible at the same time. The lack of a window stack helps. Navigating a big physical table covered with pieces of paper (i.e. all applications on the same layer, where the table split into segments - aka desktops) is infinitely easier for a human than a stack of paper (i.e. finding something in a binder or book is more annoying and slower).

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by sparkie on Thursday June 21, 2012 @12:46PM (#4142882)
They are indeed easier to use, but more difficult to learn. Tiling window managers are like giving someone a control system with no labels on the buttons. Users need to consult a manual to know what they're doing - which isn't something people generally like doing.

You don't need a manual to figure out how to use a touchscreen or whatnot though, which is generally why they're preferred by the masses, despite being inferior.

The same thing applies to emacs and vim too - they're capable of mostly everything IDEs do and much more, but it's non-obvious how to do things without taking the time to learn, read, search - something that people are less likely to do with age - but kids don't have a problem learning.

There's other issues like consistency too. With stacking based UIs you have some consistency built in, but you don't necessarily have it with the tiling window manager and minimal UI applications - take for example the difference in keybindings between xmonad and emacs. Another problem is that some apps can "hijack" your WM keybindings.

You can fix those issues by modifying the configs, but that's an even further level of learning that most people have no chance of ever doing.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by Produce on Thursday June 21, 2012 @07:29PM (#4144670)
>but you don't necessarily have it with the tiling window manager and minimal UI applications - take for example the difference in keybindings between xmonad and emacs.

There should be a formalised standard for keyboard based navigation. In fact, two standards might be a better approach - vi-like and emacs-like, since each of them caters to one of the major ways that people think. Having said that, with a little bit of work, you can get most of your daily applications to use vi keybindings (plugins for FF, Thunderbird and Chrome, Vim itself, custom keybindings for the WM, vi-mode for Zsh - in combination they create a programmer's version of Zen).

Thinking about it, I wonder if peoples' preference for these things might come down to their personality type - http://en.wikipedia.org/wiki/Myers-Briggs_Type_Indicator I'm not aware of any studies attempting to draw correlations between these things but, given how predictable people can be, it wouldn't surprise me if they existed.

>You can fix those issues by modifying the configs, but that's an even further level of learning that most people have no chance of ever doing.

When it comes down to it, the current generation of hardcore tiling WM's are experimental prototypes paving the way for the desktops of tomorrow. Just as many aspects of functional programming are seeping into popular languages, so tiling window management is seeping into popular desktops. I don't know about OS X but Windows 7, Gnome and KDE all support dragging a window's titlebar to the left-most or right-most edge of the screen to vertically tile it. It's extremely basic but it's an obvious influence.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by sparkie on Thursday June 21, 2012 @09:30PM (#4145010)
I don't agree that there should be some standard layout - it should be based entirely on the user's preference - so emacs, vi, or whatever you like should be possible. The flaw is that every app decides it's own keybindings, and ignores the preference the user has set for his system.

Rather than a standard, we need a better API abstraction for keybinding, where users can control their keybindings from a single point, and it'll affect all their apps at once. App developers shouldn't tie functionality to specific keys, but to some abstract keys which the user controls.

I use Dvorak layout, but I generally prefer the conventional key locations for common tasks. So for example, cua-mode in emacs, I expect undo/cut/copy/paste to be in the locations of z,x,c,v on qwerty, except they're ;qjk on dvorak. It's awkward to make each app support this configuration - particularly when they all require a different language to configure.

Also, when a user configures his layout, he should be able to specify whether individual applications can override those keybindings or not - apps should request key combinations rather than assume they're available.

---

The personality types is an interesting thought, but I don't think it's really a big deal, because if you can't predict people, you just need to set a trend and make them predictable :p.

The editor wars are really blown out of proportion because of popularity or fashion rather than their technical merits. People are emotionally attached to their tools and aren't interested in the other anyway. I mean, who has the time to learn both emacs and vi enough to compare them objectively anyway? I've not used vi enough to really assess it's capabilities.

Maybe the personality type could give an indicator of a default setting for developers to put in. I'd be surprised if there's no research in this area, considering every desktop developer claims "we're building what users want after conducting usability tests." (I'd like to know who the audience for GNOME's testing was.)

---

I do hope tiling features will make it into desktop systems. Bluetile is an interesting example for gnome integration, although completely broken for gnome3.

Another interesting app is Opera. Their tabs have been based on MDI since day one (mid 90s). It basically has it's own internal WM, which includes some tiling features. (Opera's initial tabs were really tiles before they became the tabs we all know now.)

I think the other desktop environments are a bit slow on the takeup with tiling, and it's perhaps come to a grinding halt with the focus on tablets and touch now. We probably need to start experimenting with introducing touch into our tiling WMs to support heterogeneous inputs rather than exclusively keyboard too.

Probably the biggest joy about tiling WMs is that they're not some fixed system we're forced into using by the trendsetters, but they're more like APIs for developing your own personalized WM in. Until we build some customization abilities that don't require modifying code though, they probably won't become too popular - only minor features leaking into other systems.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by jgoerzen on Thursday June 21, 2012 @11:57AM (#4142617)
I'm saving that for next week. ;-)

(seriously.)

It's really very simple for a child. C-x C-s, C-x C-c, and arrow keys. All they really need to do.

I thought about vim, but I think it would lead to too many confusing situations.

I have a printed "cheat sheet" up there for the boys. It has commands and keyboard shortcuts. They sometimes forget it exists, but at least Jacob can read and follow directions on it without any trouble.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by sparkie on Thursday June 21, 2012 @12:57PM (#4142946)
I would give vim a miss - particularly if they'll be hacking xmonad.hs in the near future - emacs has much better Haskell support (I believe). The same is true for dozens of functional languages. I can't be doing with the confusion of multiple editors, so emacs wins for me purely based on the languages it supports.

I wish I became familiar with emacs a lot earlier. It took me ages to transition from using IDEs because of the steep learning curve.

Oh, and I wish I grew up with a Dvorak keyboard. I was forced to learn it after getting RSI about 8 years ago - but I'm better for it now.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by dfc on Thursday June 21, 2012 @11:55AM (#4142604)
Some stone tools? I take it that your father was not a woodworker...
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by sparkie on Thursday June 21, 2012 @11:02AM (#4142312)
Touch screens are fine if you only want to be a consumer of technology - rather than a creator of it.

You ever tried creating something on the iPad?

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by ceejayoz on Thursday June 21, 2012 @11:32AM (#4142472)
> You ever tried creating something on the iPad?

Have you?

http://madewithpaper.fiftythree.com/

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by pook1e on Thursday June 21, 2012 @12:10PM (#4142671)
Sure, you can create "art" on the iPad, but I don't think that's what he was referring to.
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by Karunamon on Thursday June 21, 2012 @12:46PM (#4142879)
What would he be referring to then? There are many, many terminal emulators out there that let you do work on anything that supports SSH. There are word processors, music creators, just about every PC program has an iPad analog.

The "iPad is a consumption only device" meme needs to die. It's completely, totatally wrong.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by sparkie on Thursday June 21, 2012 @01:05PM (#4143008)
It's not a meme. The core of the problem is the forced sandboxing of apps and lack of any reasonable IPC mechanism built in. The individual apps are great, but the lack of ability to multitask holds you back.

That lack of featurism causes app developers to reinvent lots of basic stuff in their apps to get all the features they want. And sure, that happens on PCs too - but to a far lesser extent.

If you're familiar with the unix philosophy of making apps as filters, making them do one thing, and do it well - you'll understand how productive it can make you - and how there's no chance of reproducing that on a (non jailbroken) iPad.

And yes, I wasn't referring to art, but the software itself. Try creating an iPad app purely on the iPad - I wish you luck.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by jiggy2011 on Thursday June 21, 2012 @04:05PM (#4143940)
I don't think anyone is arguing that it's impossible to create anything worthwhile on an iPad, it is however obvious from the design of the product that whenever there was a conflict between power/features for creators and convenience for consumers that convenience won hands down every time. There's nothing wrong with that, there's clearly a big market for that.

On the other hand , describing the iPad as a good computer for application development because you can SSH to a remote server and run VIM seems a little stretched, by that standard the Nokia that I had in 2002 was a dev machine.

There's a reason that Apple continues to support and develop OSX.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by ekianjo on Thursday June 21, 2012 @11:01PM (#4145190)
The "using your fingertips on a glass screen" meme as the best thing in the world to interact with a computing device has to die, too. Using an iPad to create stuff is just like trying to paint with spaghetti instead of a brush. Of course, you can do it, but it's just not the best way/tool.
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by pook1e on Thursday June 21, 2012 @01:04PM (#4142998)
"Creating technology" is pretty broad. I've never used an iPad for more than a few seconds, so I'm not going to try and decode what he was referring to. I'm fairly certain he wasn't referring to art, though.
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by mibbitier on Thursday June 21, 2012 @10:42AM (#4142207)
> The perfect UI for a child and for all other people unfamiliar with a computer all in all is the touch screen.

Agree. Android phone, or iPad. Amazingly easy for kids to use.

I'm skeptical that teaching kids starting with a command line is always a good approach.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by bitwize on Thursday June 21, 2012 @11:27AM (#4142436)
My first computer interface was a command line. I was five.

  **** CBM BASIC V2 ****
  3583 BYTES FREE
  READY.
I learned that by telling things to the computer (via the keyboard), it would obey commands or remember information. This actually isn't terribly hard for a kid to grasp, though this level of sophistication probably won't work with a kid who's much younger than 5 or 6.
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by hellweaver666 on Thursday June 21, 2012 @10:59AM (#4142302)
Seconded. My son was playing basic educational games on my wife's iPhone from about 8 months. He's nearly two now and uses the iPad without an issue, switching apps, watching shows. He even knows how to open iPlayer and find his favourite BBC kids shows. Never ceases to amaze me.
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by timc3 on Thursday June 21, 2012 @10:47AM (#4142238)
Exactly, when my 2.5 year old uses our iPad, she is actually using it - watching videos, looking at photos.
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by garretruh on Thursday June 21, 2012 @11:10AM (#4142353)
I think the whole reasoning behind exposing his children to the command line first and working from there is to give them a better understanding of the fundamentals before moving on to higher level UI. A window manager is the next logical step (as that's where computing actually went next). I agree, introducing a touch screen at a later point in time makes sense, but I think a window manager is both more practical and fits in the progression he's trying to achieve.
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by ThomPete on Thursday June 21, 2012 @11:26AM (#4142432)
Kids aren't learning abstract fundamentals at that age though. They are mimicking stuff.

My son was two when he could operate the ipad, go to youtube find his movie. That's not because he could read or knew what he was doing, but because he had learned to mimic how I did things.

So the kids might learn the commands and there might be a lot of value in that. But I do not believe that they are actually internalizing and learning fundamentals in any intelectual sense.

Anyway it's kind of a hard subject. I think it's great what the OP is doing but I fear he is reading a little too much into the reaction from the kids. Unless of course they are gifted with a high IQ (which might very well be the case)

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by ethereal on Thursday June 21, 2012 @12:51PM (#4142905)
> Kids aren't learning abstract fundamentals at that age though. They are mimicking stuff.

I have to respectfully disagree with you on this point. A member of my extended family does extensive work with deaf young children (aged six months to six years). Her job is to accelerate their spoken-language development, which has been delayed by virtue of being deaf. She repeatedly makes the point to me that the difference between children with delayed language (e.g. most of those she works with) and a "normal" child is that those with delayed language tend to not understand (or use) abstractions in their speech. They treat each word as if it has a single application or use. Once they understand that each word actually can have multiple applications, their ability to learn new words grows exponentially. Until that point, they are simply mimicking.

That sounds like an abstract fundamental to me, though I am perhaps mistaken. (This is also subject to a counter-argument about the nature/nurture aspect of language, e.g. do we have an inborn understanding of language.)

Also, on a more personal note: by the time I was five, I was experimenting with electrical circuits. A few 1.5V flashlight bulbs, a pair of switches, a few D-cell batteries, and some wire went a long way. I taught myself that you couldn't put lightbulbs after each other and have them light up to the same brightness (e.g. series resistance), but that you could connect them in parallel without any of those effects (these were short-term, so I didn't notice the extra power draw). Likewise for switches -- if they were in parallel, then breaking one was enough to break the entire circuit. Those are brand-new, abstract concepts that I was, as you say, internalizing in an intellectual sense.

And no, I wouldn't have called my IQ particularly high at the time, and I still would not.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by ThomPete on Thursday June 21, 2012 @01:06PM (#4143018)
I don't think what you say contradicts my point and I am in agreement with what you are saying to some extent.

I am not saying there is no understanding going on at all. What I am saying is that when my son uses the iPad or iPhone he does not know what the different things mean (i.e. he can't read that it says Video) he just knows what it do when he presses the icon.

I can't say to him:

"Find the LinkedIn application"

Only if I have done that a couple of times in front of him will he be able to.

With regards to the discussion about language, then yes that is a very complex discusion :)

My own theory is that we are born "pattern recognizing feedback loops" and thus our ability to recognize those patterns and recognize that we recognize them is the foundation of our ability to learn a language. Language is simply an abstraction of our natural ability to do symbolic manipulation.

It's like assembler (our basic symbolic manipulation skills) and the higher level languages (our more developed culturally inherited languages)

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by ehsanu1 on Thursday June 21, 2012 @01:29PM (#4143160)
Eh.. I know 2-year-olds who know how to do things on the iPad that the adults around them don't! It's ridiculous to think kids aren't learning at these early ages - it's when the brain is most plastic after all.

The fundamentals of language are getting pinned down at the same time in their little heads, and children who start training any skill at such an age tend to become proficient at it. I don't see why this can't be the case with computing as well.

Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by ThomPete on Thursday June 21, 2012 @02:39PM (#4143536)
You know. We all know kids that are exceptional. But the exception is not the rule.
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by wtetzner on Thursday June 21, 2012 @01:32PM (#4143181)
Even if all they're doing is mimicking, it might at least be valuable in teaching them not to be scared of using the command line. I know too many people (including developers) that are afraid of the command line, and think it will be "too hard" to use.
Re:I introduced my 5yo and 2yo to startx and xmonad. They’re... by ThomPete on Thursday June 21, 2012 @01:47PM (#4143260)
At that age they are afraid of nothing :)

My son uses the command line. Just not for anything but hammering in random text.