199 points · by kens · 9y ago · 56 comments
It's Smalltalk-76 that uses some strange characters.
The version that made it out of the lab into the wide-world was Smalltalk-80.
edited With help from Paolo Bonzini, Smalltalk-80 syntax for that square root code would be something more qwerty-friendly like:
sqrt
| guess |
(self <= 0.0) ifTrue: [
(self = 0.0)
ifTrue: [^0.0]
ifFalse: [self error: 'sqrt invalid for x < 0.']
].
guess := self timesTwoPower: self exponent // -2.
5 timesRepeat: [guess := (self - (guess*guess)) / (guess*2.0) + guess].
^guess
"I Can Read C++ and Java But I Can’t Read Smalltalk" pdfhttp://carfield.com.hk/document/languages/readingSmalltalk.p...
guess := self timesTwoPower: self exponent // -2.
Also, "user notify:" would become "self error:". Modern Smalltalk actually has complete exception handling, so you could also define an exception class (for example ArgumentOutOfRange) and trap it.Finally, let’s insist that the separators be part of the method name; i.e., let’s require that the name of the method be “rotate by: around:” and let’s get rid of the spaces to get “rotateby:around:” as the name and finally, let’s capitalize internal words just for readability to get “rotateBy:around:”. Then our example could be written
rotateBy: a around: v //This is Smalltalk
This is also what Objective-C / Apple does.
Inspired by Smalltalk-80.
See "A short history of Objective-C"
https://medium.com/chmcore/a-short-history-of-objective-c-af...
The above links run emulators in Javascript and have been used for live demos as well (see https://youtu.be/AnrlSqtpOkw?t=2m29s for a fun one)
Related, for a Javascript based live system check out https://www.lively-kernel.org/ (also created by Dan Ingalls).
The Lively project evolved over time:
- https://www.lively-kernel.org is from the Sun Labs / HPI days (check out the ancient http://sunlabs-kernel.lively-web.org, fully SVG based rendering :D)
- Lively Web: https://lively-web.org A live, programmable wiki (2012-2015)
- Since 2016 we are working on lively.next: https://lively-next.org. lively.next will focus more on the "personal environment" aspect.
You
made
my
DAY!In the end of the video, they show it where the trackpad would be, which makes me think there might be a size issue. They also show it with a regular keyboard and I'm not sure everyone would require one. I do know that people like tactile keyboards but some folks have managed to function without one. So, a model where the touchpad is also the keyboard might be cool.
I touch-type, but maybe the trackpad could also be some sort of secondary display? I could see that coming in handy, perhaps even to display the above mentioned keyboard for this who can't touch-type.
Off-topic: HN is one of the few sites where I regularly click on links in the comments. On most sites, that's not a very productive activity. On HN, it is often interesting and educational.
Actually some of the REPL and debugging features in Mesa/Cedar were done because they wanted to appeal to the Interlisp-D and Smalltalk users, while offering a strong type development environment.
This article was about the '73 Alto implementation though, which preceded the D machines (and preceded my time at PARC by a decade as well). At that time Interlisp was PDP-10 only and had no GUI.
Such as:
- the direct commercialization of that work (by Xerox PARC spin-off ParcPlace Systems) as ObjectWorks and then VisualWorks (now Cincom Smalltalk)
- IBM Smalltalk on mainframe and mini computers http://www-01.ibm.com/support/docview.wss?uid=swg27000344&ai...
- HP Distributed Smalltalk http://www.hpl.hp.com/hpjournal/95apr/apr95a11.pdf
- Gemstone https://gemtalksystems.com/
biotech gene editing ? quantum computers ? artificial intelligence ? Cars ?
Is there someone somewhere discovering the ubiquitous usage of the next decades ? Does computer science still has the potential to bring the same kind of world-changing tools ?
Here's something i'd like to ask AlanKay : at that time, you probably had the feeling that you were working on groundbreaking technologies, but what were the magazines saying ? I'm pretty sure some people were thinking that computers were going to play a role, but was this obvious to everyone ? Did people hesitate between funding CS and, say, flying cars ?
There was a real fear of computers back then, much like the fear of AI today. They worried that the 'big brain' would put people out of work and take over the world. Multiple movies were made where the computer was the antagonist, including the famous 2001: A Space Odyssey.
The first computer I ever touched was called a calculator and I've heard a couple of reasons for this. The official reason was that people expected computers to be big and the HP 9100A wasn't very big by standards of the day. The second, and unofficial reason, was that it came out in the late 1960s, which was at a time when people had a real fear of computers.
If you're curious, I believe the model I used was the 9100B. It supported magnetic strip cards and punch cards to store your algorithm. You'd load it into the memory by swiping the card or inserting the punch card. It would output to a TV and there was a plotter option that functioned pretty much like a modern plotter. There was also a dot-matrix printer included that was like what was on the older POS systems for receipt printing.
Anyhow, they called it a calculator instead of a computer. People had notions of what a computer was supposed to be and this was not that.
At the time, I didn't really appreciate it for what it was. I think my first exposure was in 1971 and it was used almost exclusively in the physics and astronomy labs. It wouldn't be used in the astronomy labs until later, after the observatory was completed and the telescope put in.
This was all at Kents Hill, no apostrophe, if you'd like to learn more about it. It's a boarding prep school located in Central Maine. As I was leaving, we got a mainframe connection to Dartmouth, which was a 'real' computer, though I never played with it.
So, largely people didn't seem to envision much for the future of computing, at least not at the personal level. There were exceptions, some visionaries who saw the potential, but the idea of a personal computer wouldn't really exist until later in the decade. Frankly, nobody saw much use for one. Computers were pretty useless without a great deal of domain knowledge. To use one, you were almost required to know how to program one. Specialty software was the norm and interaction was limited without knowing how to program.
For the most part, games were also limited to hardware specific devices and were console format or, eventually, arcade games that were not general purpose computers. People really didn't have much use for one in their homes and, as mentioned above, there was a real fear of computers.
YouTube has a copy of the HP 9100 promotional video. I can dig it out, if you want. It was pretty remarkable but I wasn't nearly as impressed by it as I should have been. So, I don't really think that the future of computing was obvious to everyone. In fact, I'd say the opposite was true and that it was only obvious to a very limited set of visionaries.
Edited to clean up some verbiage and add a wee bit more information about the 9100.
Edit again. If you have 21 spare minutes and would like to learn about the HP 9100, you can click this link:
https://www.youtube.com/watch?v=Ki1Inux1_wU
(I figure some folks might actually be curious about the tech of the day. That was pretty state-of-the-art back then and far more compute power than most people would be exposed to for the next decade and a half, if not longer.)
If, for some reason, you have further questions, uninvolved@outlook.com is the email address that I hand out in public. I tend to write long posts and replies, so you have been officially warned.
I think you mean WIMP GUIs haven't changed much (and indeed, the WIMP interfaces of the classic Mac, Windows, current Mac, Apollo, Sun all felt very much like the Smalltalk GUI to me).
But I think the tile+touch interface pioneered on the iPhone is indeed a new GUI paradigm which shrugged off the baby-boomer "desktop" metaphor.
These shifts require a change in hardware, as any interface that gets traction with technology T forms a local maximum, which makes it inherently conservative. That suggests that the phone interface is unlikely to change.
What are the elements of the next generation? Looking at the horizon, some subset of voice and AR+gesture, and likely shared experience (note: I don't believe VR offers any affordances for mass UI). So far I have seen nothing viable (including some efforts I've participated in) with these technologies though.
Miller columns are just intuitive for me when browsing a directory structure. I still don't know why Windows hasn't implemented it natively.
Having back and forward buttons on my thumb, with Window's "Folders come first" list sorting makes folder spelunking much simpler for me
More like, it has been shown in numerous research that it was quite good and efficient
Presumably, the way to beat it out is to figure out how to change both to instantiate an entirely different interaction model, and thus naturally a new UI.
Otherwise you can really only commit to incremental improvememts, but nothing particularly interesting.
ie smalltalk's requires an entirely different underlying model to support its in-place editable UI model; it cannot naturally be built (but maybe hacked together) if you try to avoid that shift
Here’s a thing: https://youtu.be/ZFdFyQBlXXU
You can eval JS there.