Ready Player One


After reading Ready Player One by Ernest Cline, it is possible to make a reflection about the dystopian world that the author presents.

The truth is that I agree with that OASIS became a prison for humanity, people spent too much time immersed in the simulator to forget their problems, instead of seeking a solution to help them get out of the situation where they were. I think it is interesting to imagine an alternate reality where you can escape for a while of the world in which we live, however, we must never forget that all this is fiction and thus could never happen.

I believe that OASIS may have certain advantages, but there are other systems that can replace some of the modes of interaction that it provides, for example, file sharing, video conferencing, online education, video games, 3D simulation, etc. exist separately in our reality, so personally I think we could do without such technology. Currently, social networks are the closest technology to OASIS, in regard to interactional, however I think they have not yet reached the same point, that is, we often see that they are used as a means of communication or sharing creative content among people.

I also think that worlds like OASIS, where you can have a second life, affect physical relationships. The indifference to the world, as they preferred to interact and live in OASIS, coupled with problems outside (such as the energy crisis that had affected all) became increasingly difficult to find a solution to improve reality.

The invention of dystopian worlds in literature is nothing new, the difference lies in the way that authors present them and the goal that they want to have of the book. For example, in Nineteen Eighty-Four, is pretended to make a political-social criticism; in Hunger Games, Suzanne Collins talks about extreme poverty, hunger, oppression and the consequences of war, so in each book, we read different ways of imagining post apocalyptic worlds.

Finally, today there are already many of the elements described and if we are not aware of the effects of our actions on the planet, then surely we could get to the future posed by the book. Technology develops faster and faster and proof of something like OASIS was Second Life (not with the same characteristics, but the main idea).

WarGames


Last Thursday I had the opportunity to see the film Wars game, released in 1983, the movie was directed by John Badham and starring Matthew Broderick, Ally Sheedy and John Wood.

Although I had never seen it, I met the film thanks to the book of the course "Ready Player One", Ernest Cline (the author) refers to the movie many times and it is part of the challenge of the First Gate, where Wade Watts acts the rol of Matthew Broderick.

The story talks about David Lightman, a young boy who is very interested in computers, after searching a game, he infiltrates a military system and accesses a program which is a simulation of a war game (hence the origin of the name). David executes the simulation, believing that it is a computer game, and breaks out a series of military conflicts. Everyone in the Defense Department believes that simulation is an attack by the Soviet Union and therefore that World War II is near.

Although the film may be little credible for the time in which we are, I can say it looks pretty good for that time and shows the beginnings of Artificial Intelligence and operation of computers.

The result that shows "Joshua" at the end of having learned to play Tic Tac Toe, very surprised me. The moral lesson that provides for the war strategy show the future capacity of computers and the scope of Artificial Intelligence, as they would not be limited to closed results (white or black). Computers could get to think like humans do, where we have a wide variety of answers to a problem, we interpret the results and thus choose the best action.

I highly recommend the film, in order to be able to see the evolution that has been in the technology and how it progresses very quickly. I think it would be interesting to see the film today, I think that obviously an adaptation of the plot would be necessary, because AI is not new for us and there are a variety of simulators that help us everyday.

However, although in the movie, we see that militaries have a blind confidence in the decisions generated by the computer, the film is able to raise a number of moral/ethical conflicts that may result from use of Artificial Intelligence. Today is nothing new that computers can learn from their mistakes, however one might wonder if someday the computers could come to have the same capacity and discern responsibly and ethically.

Microservices

The article by James Lewis and Martin Fowler talks about Microservices. This concept is described as an architectural style whose approach to develop an application as a set of small services. The difference is that the monolithic application is all developed in one piece.

I think it is a good idea, because applications that are built in one piece requires a lot of time for maintenance and makes complicated debugging, which could delay delivery of any project and increase its cost.

The authors mention that the services are divided according to business capabilities, thus also remain the boundaries between the different teams. Also, microservices behave independently within our application, so if we require any change in this service, others will not be affected.

The idea of separating different components in an application is not new, however, microservices (so I understand) have a number of features that make them a more viable option for a project.

Despite there are many multinational companies using this approach has not yet been enough time to issue a value judgment. However I think this type of architecture can have many more advantages than just divide into components. It is much more sophisticated and useful for large projects. Such applications are designed to be fault tolerant, so they are more reliable.

In conclusion, Microservice architecture uses services to componentize and is usually organized around business capabilities; focuses on products instead of projects; has smart end points but not-so-smart info flow mechanisms; uses decentralized governance as well as decentralized data management; is designed to accommodate service interruptions; and, last but not least, is an evolutionary model.

As well as any new technology, this architecture requires a skillful team able to face the complexity of the network that is created between the microservices.

The 4+1 View Model

So oft in methodological wars,
The disputants, I ween,
Rail on in utter ignorance
Of what each other mean,
And prate about an Enterprise
Not one of them has seen.

This week I had the opportunity to watch two videos and read an article, the latter explained by analogy the relationship between the first two videos. I will begin by explaining briefly each of the videos and then I will comment the article and its relationship with the software architecture.

The first video titled "Six Blind Men" is based on the popular folklore story of India, which talks about how a group of people can have different views about something or a particular situation.

After, the second video "4+1 View into Software Architecture" talks about this model view, which aims to see the system from the point of view of all stakeholders, thus we have 4 models that represent the Logical View, Development View, Process View and Physical View. Each view includes a series of UML diagrams that facilitate the graphical explanation of the system. Among the stakeholders we have the end users, programmers, systems engineers and the project manager.
It is at this point where we wonder what means +1 in the model name, the +1 illustrates how the system behaves under different scenarios, ie, it describes the interaction of objects and processes with each other and with the end user. For practical purposes, it can be used as a prototype test in order to verify the consistency of the system.

The most interesting comes with the article, which was published in 2010 and was written by Grady Booch, the author mixes the popular story of India with the model view used in software architecture.
I really liked the article because we must be aware that each of the stakeholders of the project will see the system from different angles and therefore, the architect must be able to meet the needs of each and build a model that allows you to display the system completely.

Although it reads easy, I think that the architect should try to empathize with the stakeholders to correctly understand customer requirements and in turn, the developers are be able to capture the customer's idea and finally the system can be used without problems.

References

Grady Booch, "The Elephant and the Blind Programmers", IEEE Software, vol.27, no. 6, pp. 88, 87, November/December 2010, doi:10.1109/MS.2010.149

SOLID principles

After reading the section written by Edward Guinness, from the book "Programming Ace the Interview: 160 Questions and Answers for Success" I realize that most of them are very intuitive and not so difficult to understand.

For those who do not know the subject of which I will talk about, SOLID is an acronym that stands for five principles of object-oriented programming and design. These principles are:
  • Single Responsibility Principle
  • Open/Closed Principle
  • Liskov Substitution Principle
  • Interface Segregation Principle
  • Dependency Inversion Principle
In short, each principle aims to avoid dependence between system components. To achieve this purpose, the classes must have a single function, the code must be open to be extended, but closed to modification, you should opt for the composition rather than inheritance and not add functionality that in the future may be irrelevant .

Despite I never had heard about these principles, when we use an object-oriented approach, from an early stage as programmer we learn to write code that can be reusable, maintainable, understandable, etc. I agree with the author that can often be difficult to know how we should apply each of these principles, since projects are often complex. However, I think if you start with a good overall system design, planning can be organized and therefore avoid common mistakes that can cause the project fail.

The SOLID principles are applied at the time of encoding, however, initially they have to be seen from the perspective of analysis and design.

It isn’t hard to see why some programmers develop superstitions about the systems they maintain.

It is interesting to see how the preceding sentence applies many times in our projects, since most of them lack a proper analysis and our code is held with tweezers, ie is too fragile to changes.

In conclusion, I found it very educational to read the subject, because it is always good to practice tips that can be useful to us and work cleaner and orderly manner. And how the author says about what to do when we do not know something, you must rely on experience and common sense.

Software Craftsmanship

In this new blog post, I will talk about the episode of the podcast with "Uncle Bob" Bob Martin. The host Markus discussed with him the topic agile software development and software craftsmanship.

According to what I have read in past documents, a software architect has the task of be the guide of the team, so he has the necessary experience to know what will be built, besides that, no only he is dedicated to write code, but also who cares about the whole process it involves.

It is interesting to hear that when future engineers graduate from schools face projects unknown. They must get rid of the idea that in a project his only task is to codify, since in reality, involves many more steps ranging from analysis, design until the full development with which you can get an overview of the system.

It is also important to understand that to maintain a high market value, then we must produce things that have value. I think this has much to do with the way that the product is structured and how was the process of development to reach the end of it. However, there are many problems in the industry, since decisions are taken separately, where for one hand there is a team of programmers and on the other hand, there are those who take the decisions or are the project leaders.

I found very attractive the idea with which describes the software craftmanship, where the less experienced people learn from those who have worked for many years in the industry. The most experienced people share their knowledge and skills in order to create a community that is fully connected and can grow together, into a community of professionals.

I totally agree with Bob Martin's approach, and I think as programmers must constantly be learning because of new trends that emerge every day, so it is important to create a community that is mutually supportive. Also, the idea should not only focus on writing code, but also that the whole team must know the process so that all decisions made do not affect the final result.

In conclusion, what I understand about the software craftmanship is to unify the concept where the programmer is rigid, analyst and scientist with the concept of apprentices in ancient times.

Is Design Dead?

The article by Martin Fowler talks about the advantages of Extreme Programming over other development methodologies of Software Engineering. Many years ago there were methods in which there was not possibility of making changes to the projects quickly and cheaply, however in recent years we have been able to see that software is constructed so that it can be easy to add functionality without having to invest much time and money.

Among the practices of Extreme Programming exists the philosophy that you should not add add complexity that isn't needed for the current stories, that is, if extra functionality is useless in the future is better to leave the project simple. Unlike the building area in software development there is a key difference between the architects, designers and programmers.

A programmer learns to design and builds software that can be scalable in the future, in this way, when they become the architects of the projects they have the skills and experience needed to guide the team, because they have a wide vision of the problem to solve.

I agree with the article, and I think that design is not dead, but it has evolved. I think we can take the best of each development methodologies, so that we can have better strategies to solve a problem or planning a project.

As I said in last blog entries, we live in a time of changes and we need to be ready to deliver applications and useful projects for people, which means that changes are inevitable and we must be ready for them without having to waste time adding functionality and fixing bugs.

Finally I think when you talk about Extreme Programming it does not mean that you do not have defined stages (such as design, coding, etc.) but its aim is to do that the code be simple, efficient and scalable.

 
Software Design and Architecture Blog Design by Ipietoon