27 September 2013

On war and peace

4028380279_625a1ce97a_n

I’ve heard of MakerBot and the cheap 3D printing movement a few years ago by listening to a FLOSS weekly episode by driving on my daily commute. For me it was far away, costly and not something to think about. But listening to a couple of Dot Net Rocks shows and watching an Elementary episode I came to realize 3D printing may well starting to affect our lives, and it in the next five years it will greatly influence how we live. And not always in positive ways.

The internet was always full of dangerous things, the anarchist cookbook was one of the early examples. People could download it and learn how to make bombs. Want to hack a pay phone, you can find it on the internet. Learn how to pick a lock or steal a car. Find it on the internet. Learn how to torture someone. Internet.

Learn how to make gunpowder. Well on Wiki how you have picture by picture instructions even my six year old can follow. And once again, the internet.

Of course the majority of the people don't do that. Most people are not interested in those stuff. For me I’ve learned how to make a poncho from fleece, how to fix a broken sink and how to roll a cigarette.

I’ve read this article on endgadget. And I was scared. Home made guns. Readily available to everybody, without supervision and control.

I picture kids going to school with weapons, with sharp plastic knives and maces. With crossbows and other stuff they’ve printed on their home printer. Metal detectors would not detect them, well they are made of plastic.

The world just got scarier.

I and the majority of my generation have survived a war. We have witnessed first hand what war and weapons do to people and their lives. Thus I’m really glad I leave in a country where the majority of the population is legally disarmed and the right to bear arms is not in place.

I believe that firearms and lethal weapons have no place in modern society. What would be the use for them? We are not being invaded, or have to defend our selves by murdering war bands or have to survive a zombie apocalypse.

There are dangerous people out there. deranged, sad people with issues. But they are far an few between and you and me know where those people can be found and any sane person knows what to do to avoid them.

When I first heard of mainstream availability of 3d printing I thought “Oh, wow, how cool! Now I can make toys for my boy and Warhammer 40k figurines for me”. Predator Annihilator here a come. A 2000 pt Ultramarine army right at my fingertips. Special terrain, bunkers and all the things we made from scrap before just waiting to be printed and be used.

If I was thinking of making a weapon with a 3d printing I wouldn’t create a gun. A crossbow and darts would actually be better for me or short sword, mace or morning star. And lets go LARPing.

But seriously I wouldn’t do any of those things. I would think I have a weapon, but to use a weapon is to kill a person. I do not need nor whish to kill a person. I don’t really relish going to prison and do not really think about a scenario where I would need to constantly armed.

The place I currently live is filled with rolling hills and valleys which once were diving lines between great empires. In ages past the area around me was filled with fortresses where armies clashed, and maundering parties were common. Byzantines versus the Lombards, the Franchs, the Romans, the French , the Turks , the Germans and the Italians, the Americans. I live in the most peaceful battlefield in the world.

I wish it to remain so. I wish people would not make plastic guns at home. I know people in general can not be trusted with other people lives and safety, that’s why we have so many checks and balances.

I drank coffee today and watched clouds roll bellow me, following the Mirna valley hugging the land and covering bright lights for houses scattered across hills and forests. An artist discussed her new exhibition and people from all over came to see my land. In peace.

22 September 2013

On time

 

image

Time is everything to a software developer. It bounds every aspect of his life. The time to come to work, the time of work and the time after work. But more to the point the time it takes to complete work – concentration – rest cycle, the number of times such a cycle can fit in a work day. The time lost talking to each other, eating, going to the bathroom, phoning, compiling, publishing, reading, searching waiting.

Most do not notice such a thing as time spent per activity, nor the time ill used or lost between meaningful work. Some do, and thus try to leverage it, learn it and thus they try to learn about them selves and their relation to the dimension of time

I’m such a person and I’ve learned a fair share of things in my time as a developer. I’ve learned that time is a feeling and that not all time can be meaningfully spent. That you are bound to have two to three work-concentration-rest cycles a day and that is that. I’ve learned that you can leverage the time between to better your self, watch a presentation or read an article during compile times or listen to podcasts on your way to work.

Such activities seem trivial when taken by them selves but focus on that, those five minutes spent listening to a talk on infoq are five minutes that you are wiser and potentially know more then before, albeit it was five minutes worth and if those minutes pile up during a month or a year how much time did you spent bettering your self instead of reading comic books, facebooks, twitters or other useless information's?

But other than that time is crucial for the activity of software development. The mastering of time by individual contributors which need to give estimates on their work and technical leads who need to coordinate the continuous integration of different modules in order to utilize the full potential of the team and incur no loss in output and productivity to product managers who need to be responsible for the deadline, or at least know what will be realistically produced by when.

When doing the work of a technical lead in charge of leading a team of developers time synchronization is of the up most importance. Imagine for a second a team of four developer plus out valiant imaginary leader. They are building a distributed system which will constructed of two main parts.

The first part is a a server component exposing some kind of fanciful services over the network. That server component is built with the goal of serving many clients build by potentially different organizations in different technologies.

The second part is a client application built to use the services exposed by the server component.

Our valiant leader thinks for a seconds and break the team in two parts. Two developers will work on the server component and two developers will work the client component.

By sheer luck the specification for the server interface is completed and hopefully will not change during development (one can hope at least). The client team is crack A-team of mixed UI design and Software development specialist, who know all there is about human machine interaction, how to draw fancy stuff and all there is about design patterns and software development.

Since they must build the client without the server component to test on they’ve leveraged their design pattern knowledge (with the help of our valiant and heroic technical leader) and they we pushed the server interaction code into their lower most layer and mocked up the input and outputs. Thus the super uber client is build. But alas the server component hit a glitch, it seems more people were needed so while the client is fully built but not tested on a real server the server component is build and tested only up to 30%.

Jeez what now?

Described above is problem of resource allocation and timing. What could be done different? Well a lot of things, the client work could have been started later or the team should not be broken into two separate sections instead each developer or pair could have been given a cross section of client and server functionality thus the client and server parts would be build, tested and rolled at the same time.

In end time is the king that marks each cycle in the life of a software developer. Knowing its rules and limits, its ebbs and cycles it is crucial for a developer to be successful in her career.

20 September 2013

On the life

 

As software engineers our life are subject to forces which are not entirely in our control. The chief are health, family and politics. I will start from the latter and go the former, discussing how a software engineer can mitigate some of their ill effects on her life and career.

Politics is the art of the achievable, of getting things done. I’ve listened to an audio book version of the ‘Prince"’ by my namesake Nicollo Machiavelli. While some may disagree with its context or rebuff it in its entirety on moral grounds alone, I generally find its context true and suitable to any endeavor where you have a hierarchy of people working in environment with limited resources, or any environment where you can find humans. The truth is that in the base of the human nature lies the instinct of self preservation, which is often achieved and perceived to originate from ones advancement above her station in respect to the domination and control her peers. When working in any organization there will always be personal goals, issues, treats originating from people working around you, above you and bellow you.

‘I just want to do my work, and be done”, some may say. And you are obviously right in that life philosophy, but given the fact that out there are people who will benefit by inflicting or just by you incurring a loss of some kind. Thus a wise person should strive to position him self in a prepared state, watchful about what is going on around him, about the goals and positions of the people in his circle. He should align him self with the people who have ambitions in alignment with his own, make useful and not a threat to people above his station and respected and not an obvious impediment to people bellow his station. A wise person would also be aware that each state is only temporary and thus not permanent and that person will always need to be on the lookout for the next situation and have always a backup plan when all things start to fall apart.

In short going to work nine to five and forgetting about work afterward is not a really good strategy any more.

The second ill which may befall a software engineer is family. I’m a family man, my family is my sanctuary, my church and holy ground. I short my family is my life. But often the work we do puts us across the needs and wants of our family members. Our spouses, our fathers and mothers, out girlfriends. This is the truth.

If you read any book about people, or software processes or any topic related the the culture of software engineering you are going to pass by references to “Death march “ projects, long hours and weekends spent working, broken projects and divorces which resulted from those activities. The pressures and the time, of the time, we spend working maniacally in order to reach our deadlines reflect negatively on the needs and goals of those around us. No amount of money or bonuses is going to mitigate that. Maybe you live on a farm and regardless of your work you must spend time working on the family estate (new a guy who had a problem like that) or your wife is fed up being all alone with the children while you do whatever you do. And then meeting your business commitments and your family commitments is going to get really though, and your morale and your performance is going to drop and your private life is going, well down under.

What can a savvy engineer do than? First, you can’t please everybody. You have a limited resource, your time, and two opposing forces. What I’ve found out is that you need to be open at the beginning to both parties about what you can do and what you can’t do. And then be prepared to take blows. Or marry a wife who will not mind you being around so much. Or find a nine to five job.

The third and most important is your health. Your mental and physical health is the most important assent you are having in your career as a software developer. In order to achieve the level of performance and excellence you are able and required to produce you must be mentally and physically fit. Thus you must always leave room for physical exercise and strive to conserve a positive outlook to every situation and prospect. I can’t remember how many time those two thins helped me, and I can remember oh so well how many time one or the other failed me.

Experience is never taught, only learned by doing. Thus read and watch what others have done and experienced. A good documentary I watched five years go showed a year of frenzied development of a team of engineers at Netscape developing the first version the Firefox open source browser. That is a good example of what kind of life we lead.

But all is not dark, and all is not done, for we are human and we make mistake but to be human is to be able to learn and change, to adapt and improve thus we will make our lives better trough knowledge, spiritual advancement and physical toil.

2013-07-26 19.50.14

In the beginning there was the command line

 

In the begging there was the command line, and it was good. Then came the user interface, the mouse and expediency of ease of use. The word was “Don’t let me think” and thus the web was begotten.

And the cometh forth a beast of many heads, or many releases which swarmed into one version, and Google Chrome rose into the world and brought the command line back into the fold.

At first it was the ease of search, ease of address typing, moving and blurring the difference of an url and a query. Now, it was the turn of the information and the knowledge Google brought about your needs, your work, your life. And thus the time of search cometh to the world and the word was good and the masses were fed by the wine of information and food of quick results.

And the devil of engineering said “It shall not be enough, what was before shall come again, the circle of technology and innovation will turn again bringing what was before into the new and bright” and developers brought search to their applications and then it was not enough to have search but commands typed after the url came as orders of the divine and users could use the shell as the address bar and the web page as the console.

Thus in the end there was the command line. And is it was cometh again. Technology turns, what was old becomes anew, rediscovered, dreamed again.

I' am student of technology, servant of engineering and topologist of software. During my travels trough countless projects, books, presentations, frameworks, languages, databases spanning decades now I remember things which once were during the first books I’ve read at the end of the eighties and the nineties and the stuff I read and do now, and often I see old ideas and technologies rediscovered and re-implemented in new spaces.

I’ve read a book about the basics of computer and operating system architectures, how hardware and memory functions and how thing communicate and stood amazed how the same solutions and patterns are copied trough the architectures I’ve done and those I’ve dreamed.

I came to see this as truth about our loved profession. Everything which once was will come again, thus making the study of old systems, old patterns crucial for the future of our advancement. The critical thing which needs to be adopted as practice in our companies and universities and training grounds, and which is known to all old hands who survived several decades of shifting technologies and trend is that regardless that a technology is not used and more, or is redundant that there are core lessons and practices which will prove useful in the problem spaces of now and tomorrow. 

2013-07-07 00.28.31

22 January 2013

Silver bullet

When I'm truly happy at my work I find my self often thinking about the truth behind software development. I keep finding and formulating maxims to describe various states of my art. I like that.
I think myself as a philosopher of software engineering - looking for the truth in a methaphisical world of ideas and shapes.
I like working with people. But I'm not a social person. I prefer a quiet morning camomilla tea with a book in the office caffeteria then being outside and shooting breeze with my colleagues. Thus I find my self at a crossroad when I try to figure out my self in relation to my job.
My job has two dimensions.
One is a dimension of people and emotion, of tought and word, of smell and touch of ideas and egos. A world of chaos and entropy populated with - well, us humans or developers, IT people and managers all struggling like primordial cells to create something greater something in the face of constant enthropy.
The other is a world of clear shapes and vectors and models and pure crystalline tought. A world of boxes, layers hexagons and numerical formulas given shape inside our collective hallucinations, out matrix, of the systems we are trying to build, to document to give shape.
What am I? What do I actually do.
Nothing.
I just talk to people all day. I write documents all day. I draw diagrams all day. I write code all day. I dream stuff all day. I'm Ada Lovelace's son. A software engineer.
The truth is that I'm not really sure what I am. I think I'm searching for the truth. A unique way of developing software, the ultimate architecture - our silver bullet.
Brooks said that there are not silver bullets, there is not a perfect solution which will work for every project. I know that. I belive that. But still I carry withing me a germ which tells me to keep looking, to keep working on the perfect ultimate architecture.The perfect way of constructing software.
With people.
Software is all about people. In order to build the perfect architecture I need people. At least I need my self. And I'm not perfect. I go hungry.I get sloppy. I forget. I make mistake. I swallow the shame of dirty code and make out stories of better futures to hide out my mistakes from the dream of perfect ideas I constantly have.
Code is dirty. C-O-D-E is a four letter world. Code is not perfect, code is limited. You cannot represent the metaphysical with words and numbers. You can only try and fail. It is why so many of us quickly forget our past projects and greedily go to our next adventure. Next time will be better. But it never is.
I keep missing something in this mix of juices and ideas that we call software engineering. A deep idea, a connecting string. The ultimate truth.
A silver bullet. The all god spark which will give meaning too all there is and ever will be. From the first loop that counts time written ages ago to the modern fast growing, ultra delivering  systems of modern ages. Did developers of old knew something we didn't. Was software better in those days, more pure or was it always the same low level struggle from near emptiness to almost complacent skillfulness.
Code is like love, it is like work. A four letter word. It catches you and carries you unaware, you want it, you need it, you dream it and then you want nothing more then to run from it like the yesterdays girlfriend you are ashamed to wake up beside in the morning.
But like the proverbial secure bond of a known partner we come back to it and try to fail building perfect hallucinations of perfects forms with stone age tools and human minds.
What about God? Is he mad at us for dreaming new worlds, trying be like him. Like a Creator? Maybe we are just cursed, never destined to succeed. Always trying, always failing our sweet silver bullet always around the next corner. Oh, how I search for it so.


25 December 2012

A merry Christmas to you all!

 

We woke up at eight. It was a warm Christmas morning. Nice and cozy, a proper morning.

The city of Pula was covered in a light, calm fog. It was warm for December and it was quiet. Sven and Tijana had breakfast before me.

As I was eating my milk and cookies they started dancing around the room. My family loves to dance. The five year old jumped and swirled all around cradled in my wife's secure hands.

My wife was a dancer in her youth and it still shows in her elegant and delicate movements.

The most important part of the morning is down stairs. A real, living, Christmas tree with all the blinking lights, crystals balls and presents for all.

The entire extended household grouped together and we shared presents. Then my mother in law , who I love dearly, ushered us outside the house to make do by our selves on the oh, so warm, streets of Pula until lunch was so well and ready.

We went to the city. The streets were empty. The church of St. Antun was completely covered in fog. We only saw a glimmer of its tall white tower. Our car raced down the Omladinska street in a really gentle slope. The town was empty, there were not many people on its streets.

We found a parking spot near the Istrian National Theatre and the proceeded on a slow walk from the town market, trough the golden gate and Sergijevci street towards the old Roman forum and my loved temple of August in the historical center of Pula.

Later we progressed towards the harbor where a new citizen only riva was being constructed. The city was so calm that we stopped at the ACI Marina for a cup of coffee. We watched sea gulls and other sea birds glade slowly into the calm harbor waters, catch fish and eat it.

It was wonderful.

WP_002817

On our right we saw the church of St. Antun hiding behind the magnificent roman coliseum. On our left we saw the Mayer villas a set of high end apartment buildings built before the second world war by the Trapp family portrayed in the famous Hollywood film “The sound of Music”.

As a piece of trivia some members of that family are buried in the Naval cemetery of Pula.

WP_002822

The return trip to our car was beautiful. We met several family friends and talked to them and the we went to the Verudela peninsula were an ice skating court was set. There my loving son Sven took his feet for the first time to the ice helped by my wife as I filmed and photographed the events.

WP_002832

20 December 2012

Croats at work



Aleksandar walked down the old roman street. Renaissance buildings loomed around him filled with shops and dolceries. The street was filled with people both native and foreign to this old city from Greek myth. 
Aleksandar was too busy to notice what was going on all around him. The street was named Sergijevci. A noble important family which stuck with the first Roman emperor and helped him defeat Cleopatra and Marc Anthony in the naval battle of Actium.
Behind him the Golden door of the Sergiai family welcomed more people in the streets ancient womb.
The unemployment office was glass building set between the social security office and a computer shop. Aleksandar paused there to look at open positions posted on its crystal walls and read those focused on software development. Behind him children laughed and played in a playground filled with centuries old roman stone sarcophagi.
A men approached him from behind. He was older, thin, neatly dressed in an official sort of way. He stood beside him and studied the same open position as him , that of a lowly developer in one of many small software companies located in Pula.
“I think I’m going to go to work outside the country”, said the man.
Bored Aleksandar said, “Why, what is wrong here?”
“It is hard to find proper work, the money is not so great for us and people out there know how to work and pay a man. I have a friend who is a foreigner and his lives here, he is married to a local girl and he says ..”
“.. that he is shocked and surprised at out mentarly, how our government works, how people work and where he comes from is completely different and better and we are yet to achieve that level of perfection.”, Alesandar finished for him.
Aleksandar was irritated by the old man, he heard the same spiel many times and something always chaffed him about that. Now he finally got it in a flash of inspiration.
“Oh, yes. That’s exactly that”, said the surprised old man. “I mean isn’t he right?”
“Of course he is right. He properly should be.”, said Aleksandar. “He comes from an another country, from another language, another history , another culture and another set of genes. But what is wrong is that we automatically assume that we are ‘wrong’ and he is ‘right’!”.
The old man looked at him quizzically and asked. “What do you mean?”.
“Why are we under developed, what is wrong with us and our system?”, asked Aleksander and then continued. “We are ten years from a war, the world is in a recession and we are struggling. But people are generally content, people try and learn to work and improve them selves. The law protects workers rights and we are covered for health insurance. Each of us speaks several languages per default . I speak three of them not including my own. I’m well versed in culture, history and sciences. And I’m a highly qualified software engineer not under qualified work monkey.”
“But surely you do not forget the problems out system has with long waits and byzantine bureaucracy?”, asked the man irked.
“No! But every country has problems with its system and everybody struggles in some way and then everybody chimes theirs is better. All, except us.”, said Aleksander. “My point is that we are not the ugly step child of Europe. We are not worse then everybody else. Out engineers are talented, work hard and work long hours and go to great lengths to satisfy the client. The clients I worked with were all satisfied with out work.”
“Well then I see I have your options set”, said the old man. “I bid you good bye then. I have trip to prepare.”
With that the old man tipped his head, turned and walked in the direction of the old austro hungarian ship yard.
“Bye.” , said Aleksandar.
He stood there a few moments. People passing around him. Some searching for work, searching for a better future and others going on their way to their place of business. There were a lot of lawyers offices and local official buildings in the area.
Aleksandar shrugged and turned around In the opposite direction the old man left towards the forum of the city to glance to the temple of August and rest his thoughts on the city Julius Cesar built.