Posts

Showing posts with the label spectrum

I, Robot

"Gloria had a grip about the robot’s neck that would have asphyxiated any creature but one of metal and was prattling nonsense in a half-hysterical frenzy. Robbie’s chrome-steel arms (capable of bending a bar of steel two inches in diameter into a pretzel) wound about the little girl gently and lovingly, and his eyes glowed a deep, deep red." - If you didn't recognize the narrative, it is from Gloria & Robbie's reunion from the touching ending of Isaac's "I, Robot" first story. If you read "Robbie" before, you are probably, by now, recollecting what actually preceded this very moment of two persons getting together in this happy ending of the most famous Asimov short story. But if you never did, I am encouraging you to do so; if nothing else, then for the simple reason that even though it was written some eighty years ago, the premise is still fresh and valid, just like it was published yesterday.


The word 'robot' was actually coined a couple of decades before 'Robbie' by the Čapek brothers, Karel and Josef, and was first used in Karel's play 'Rossumovi Univerzální Roboti' (Rossum's Universal Robots). Although robots in this play were more androids and cyborgs, in fictitious literature they were not fully mechanical, AI-type automated inventions but rather sort of technologically augmented humans or created biological organisms. Nevertheless, the word stands to this day with its root in all Slavic languages, Serbian included. I remember my grandmother often using the word 'rabota' ('robota' in Czech), which, even though not in use in the official Serbian language, is actually the only possible way to represent the hard work or labor in just one word.

In sci-fi literature and motion pictures, not all robots are equipped with artificial intelligence, emotion chips, and sophisticated technology and created to look exactly like we do. Many of them are made just to do hard work, like in the original Isaac's or Karel's stories, but even though they all have one thing in common. Their own personality. Something that makes the robot unique and has properties only living organisms have. Believe it or not, if you have a vivid imagination or perception of the details of your own surroundings, personality is something even ordinary items can own. Not long ago, when my son was at the appropriate three-year-old age, I bought for him a large helium balloon to play with indoors. At the end of the meter or so of string, I hung a couple of iron rings to weigh just enough for the balloon to float freely in the air. It was fun playing with it, of course, but even more fun was just monitoring what it did on its own. Due to invisible drafts and air circulation in our flat and slight differences in pressure and temperature in different rooms, it was obvious that our 'Balloon Boy', as we called it, never wanted to stay still for a long time, and after a while I noticed that it particularly liked the kitchen. No matter where you floated it initially—in the living room, dining room, or hallway—after a couple of hours it drifted away to its favorite spot and stayed there put. And to do so, it had to pass through several corners and doors and avoid solid items and furniture. Now you tell me, how was our Balloon Boy different from any other home pet? It had a name, it required constant attention (instead of feeding, in this case, adjusting weights to compensate for helium lost), it also had its own favorite spot in the flat, it loved to play and drift, it was cool, and it... well, eventually died. From my point of view, Balloon Boy was no different than any living pet, and with all of his regular activities, 'he' earned his own personality. Not a big one, for sure, but personality-wise it was.


Robbie was designed to serve as a nursemaid, but in the end, from one young girl's perspective, it was a perfect pet or Balloon Boy substitute. He didn't talk but was able to mimic all the personality necessary to be an ideal companion for eight-year-old Gloria. And he was a great listener, something parents nowadays rarely have time or patience to do for their children on a daily basis. Robbie was also the first robot in Isaac's "I, Robot" masterpiece and surely one of the first generations of robots. With later stories and the overall sci-fi genre, within robotics and cybernetics naturally comes artificial intelligence. In this realm, my favorite robot in the entire expanse of science fiction is Commander Data from "Star Trek: The Next Generation". He has it all and was as fully functionally self-aware as anyone else in the franchise. But we are far away from such achievement. I mean, creating artificial software design to mimic human beings within the current stage of hardware and software is very much possible. Computers are fast enough to process very detailed responses from the surrounding environment. Sensing tools are also mature enough to visually and audibly acquire all the data for a hypothetical humanoid robot to deal with and to be very close to passing the Turing test. Simply put, I am convinced that very soon we will have artificial Facebook contacts you can add to your friend lists and communicate with in the usual manner and never know that they are not really humans. To be perfectly honest, I will not be surprised if they already exist today and use social networks as a perfect beta testing ground.

However, what is still behind rapid development in computer science is power and mechanics. These days Boston Dynamics' Atlas's new upgrade is going viral, and if you haven't already seen what it can do, please take a couple of minutes to watch the above video. It is amazing what they achieved in only a couple of years of development from the first 'Petman' bipedal robot initially constructed for testing chemical protection suits. Still, even though walking and handling simple labor is vastly improved, motion and sophistication are yet to explode in some sort of technical breakthrough that would allow continuous operation without the need to recharge often and, of course, to have more human-like motion abilities and be able to do various actions, from as sensitive as operating smartphones to as bulky as carrying heavy sacks and boxes. And at the same time, to look like one of the chess players from the above photo. Or both of them. Until then, there will be no fear of some futuristic robot uprising in Boston Dynamics, especially against those test people from the Atlas video.


To conclude this post without mentioning industrial robots would not be really fair. They have been among us for years and doing their job with great perfection. Honestly, one of the 'always on' TV channels playing in our living room is 'Discovery Science', and I simply can't get enough of those shows "How It's Made" and "How Do They Do It?" especially with all those automated industrial lines with heavy usage of robots and machines. Cybernetics is one great engineering, and it literally expanded exponentially with microcontrollers and industrial software. With a little regret of missing the opportunity to pursue a career in robotics, I remember those couple occasions in school when I participated in a competition in building a controllable circuit board with the Sinclair ZX Spectrum, an amazing one of the first home computers I owned for years back in the eighties. It had an extension connector, designed for accessories, with 8 pins fully controllable with its famous PEEK & POKE commands. I used it to programmatically control electronic relays capable of controlling the flow of heavy electronic AC current.

Now, even though industrial robots are already ready to go to another planet (and a couple of them have already been sent to Mars and successfully did or still do their jobs), androids are still not on the horizon. Should I dare to predict the first commercial humanoid robot on the market? Let me put it this way: the human body contains 200+ bones, 600+ skeletal muscles, and more than 300 joints. When we reach a scientific breakthrough in using artificial muscles and power systems able to operate a vast number of joint and bone movements, it will not be long before we see the first Robbies in hardware stores.

Image credits:
http://www.templates.com/blog/robots-people-striking-3d-perspective/
http://www.blutsbrueder-design.com/
http://dailyinbox.com/next-decades-manufacturing/

Computer Life - First 30 Years

Ah yes, the year of 1981. 30 years ago. It was a time when the first commercial home computers arrived in stores worldwide. More or less. Importantly, that particular year I entered my teenage years, and I always wondered what would happen if home computers arrived a couple of years later and avoided my teen days, allowing me to have a different childhood with different options for life later. Would I be a different person with a different career today? Probably. I remember I was on the edge by choosing my professional career and was ready to go for science, most likely in physics or astronomy, as those two fascinated me at the time the most. They still influence me a lot, probably because of the same reasons computers hooked me - they are so mysterious and provide endless pleasurable time unlocking nature.

Sinclair ZX Spectrum

But no, computers arrived just the same year when I turned 13 years old, when I was the most emotionally disturbed by various hormones and other chemicals suddenly released in a young boy's body, and I was hooked big time. They were so attractive, so mysterious, so colorful, so enigmatic, so... new. I instantly learned BASIC and dived into the world of zeros and ones. And the video games... They were so addictive, solving puzzles, killing aliens, eating dots and ghosts—you name it. I still remember that year when I was on summer holiday in Greece with my parents, waiting every day in line to take my couple of minutes in front of a big video console, driving a giant ladybug throughout a maze, avoiding some villainous insects... After 30 years now, here I am, still playing with computers, only now for money, writing (sometimes pretty complex) software applications on a daily basis, having learned so far maybe around 15 programming languages with all their variations, still playing video games, now with my son, only now the ladybug evolved into a bigger angry bird, but in a nutshell, nothing dramatically changed over the years. But compared to other careers, being a software developer is a good thing. At least for me, as computers provide a constant hunger for learning new stuff, they are changing every day, and in the days full of programming hours, I feel like I am making a real contribution to the world. Not the big one, but surely the feeling is right.

There was a trap in the software career back in the time when I was younger. I was thinking of joining some big companies, going abroad, and working on more significant projects in the field of developing operating systems or programming languages themselves... But I decided that this was not for me. This was a path where I would be just a small bolt in the giant industry, and that would require big sacrifices. If I did that, I would definitively have to stop with other activities and hobbies and would have much less family time, and I knew for sure that if I didn't have all that, I would be no good and would probably sink into a small cubicle or, even worse, evolve into a boss-type of person that I never liked and would never be good at.

Personal Computer i286

So 30 years of computer evolution passed in a flash of the eye, and from my first home computer Sinclair ZX Spectrum, to today's PC, what's really changed maybe the most is best self-described by simple comparison in their subsystems: CPU speed was at 3.5 MHz compared to my current HP 8710w laptop with a dual processor running on 2.5 GHz. The ZX had 16kB of ROM and 16kB of RAM memory, and I remember I had its ROM printed on paper in full Z80s assembly language. Comparing that, HP has its own 4GB capacity, and printing its OS would be similar to printing the complete DNA sequence of mine. The display was 32x24 characters with some color limitations, while I am looking right now at a 24" monitor in HD resolution. ZX didn't have any hard disk extended memory, just a simple way of recording software on an outside tape recorder where all zeros and ones were represented with its own sound. What is similar to nowadays' internet I remember that some radio stations were broadcasting Spectrum's programs live in the air. We were recording them on magnetic tapes and then loading them into memory. This great ZX Spectrum time of my teenager years lasted for maybe 4 years when the first PC computers appeared with their floppy disks and small hard drives. My parents took two car trips to Munich (around 1000km) back in 1988 just to complete our first home PC286. ZX served for many more years as a developing system in our lab, where my parents and I created a couple of industrial controllers based on Zilog's Z80 8-bit CPU. For almost a decade, this little CPU and ZX Spectrum carried a serious business within industrial means. Amazing what was possible to be done in just a couple of kilobytes of free space.

With today's update of the post I am including a link to the full ZX Spectrum emulator written entirely in JavaScript. Please find it within Qaop/JS HTML5 ZX Spectrum emulator with tons of games you can run from Torinak game page.

Sinclair ZX Spectrum - Jumping Jack

To conclude with some wisdom everybody knows today, 30 years of working in the IT business was really dynamic and enjoyable, and now when I look at thousands or tens of thousands or even more lines of code behind me, it makes me a little proud. Sometimes, when I start some application I made years ago, I simply can't believe it is my work, and for some I don't even remember the story behind, and even the programming language is a bit unfamiliar after years of its extinction.

Sinclair ZX Spectrum JavaScript emulator
http://torinak.com/qaop

Sinclair ZX Spectrum
http://www.nvg.ntnu.no/sinclair/computers/zxspectrum/zxspectrum.htm
http://en.wikipedia.org/wiki/ZX_Spectrum

Peek & Poke
http://www.peekpoke.hr/en

HP 8710w:
http://www.notebookreview.com/default.asp?newsID=3864