Code Review vs. Pair Programming TCP vs UDP
course in an ideal world it would be best to have both Code Review (CR) and Pair Programming (PP).
brutal reality, however, there is usually no time to do so because their performance is associated with delusion wasting time.
Fortunately, mature organizations, we find the time for such "luxuries" they need to understand - especially when the expansion team of "young, talented, promising". Then
defultowo choice is normally to CR.
What we can see during the CR? Certainly
:
- a large part of the rules
Clean Code - the level of reasonableness tests
- very general compliance with the adopted architectural style
- with greater involvement may be part of the rules GRASP or SOLID .
\u0026lt;dygresja>
As for the basic principles of Clean Code it would appear that they are intuitive. That everyone in first year of educational programming (whether in a primary or is in college) understand that the short method identifiers and samoopisujące - GOOD, vice versa - BAD.
It turns out that, however, necessarily. In your free time you look at yourself and colleagues from the team for the domination of one of two types of intelligence: verbal and algorithmic.
recommend Excellent article Andrew Szczodraka " A programmer-writer and developer-constructor ... "
says emphatically including Greg Young "somewhere" in his 6.5 hour video .
general moral is: important to properly assign a natural ability of developers to the relevant parts of the system.
general difference is, that the developers of the dominant verbal intelligence ensure a form of expression. Their attitude - and even predisposition - determine the elegant style, clarity and simplicity (within the meaning of verbal simplicity). A possibility of an elegant and simple expression of intent is for them a tool for verifying the correctness of the idea (not verified formal but more intuitive). Algorithms are not their strong point, rather, patterns, general principles and forms of architecture, archetypes. They are unfortunately a morbid tendency to create frameworks to give a framework for thoughts.
The developers of the dominant intelligence algorithmic feel well in the complex tangle restrictions do not care about style and form - these are negligible for them. At the level of performance of the algorithm counts. Their strengths are more libraries than frameworks.
addition, a dozen years in the head with a hammer tapping on the lessons / classes in mathematics where the good name of the function f is or g , the good name of the variable is x, y, k, l, m, n and the best jobs are those without context and no content - strengthen the natural habits.
\u0026lt;/ digression>
I hope to pinch a bit of psychology to throw new light the basic principles of Clean Code - which as an enthusiast of good models of verbal person, I agree entirely. However, other people must also understand and can not always be clean-Nazi.
In addition, many of the basic principles of clean code can be checked automatically.
However, as the test design? To check the reasonableness of the concept of a solution? To check the business model?
/ / disregard here the organizations, where artifacts any, come "from above" to wklepania.
also assume that the verification of design metrics from the machine is like evaluating the image by histogram;)
Thus, in order to check the class issues during CR, the verifier must reproduce almost all the mental work of the person who reviewed the code spawned. In other words we have a dual mental effort!
What if it actually will bear (ie, check to see something more than the length of variable names and methods) and it turns out that the whole concept is flawed and had to rewrite it?
Can rewrite, or maybe finish the CR statement: "Next time try to be more"?
Since we invest time the other person (usually the "stronger") in the creation of the code, you may want to do it at first. So that this person was involved in the development of the concept of a solution and not only checked the length of the method;)
is the big chance:
- hatching a better solution, model, concept
- eliminating the need to rewrite
- clean code is a by-product - expert usually can not write otherwise than purely - shit just go slow or even impossible to think
Therefore, better practice beforehand Pair Programming (model driver and remote control), rather than belatedly count lines in the methods and to check whether the variables are called common sense dictates that P
In other words: with the limited man-hoursy to invest, get a better return from the PP.
I hope that the archaic words used in the last paragraph gave their fasting suffered, the festive nature;)
//========================= ==============
The psychology of learning, mentoring is considered the most effective learning technique. Simply, we the people in the vast majority learn by imitation - at least on the first levels of competence (see the Dreyfus model ).
Saturday, April 23, 2011
Tuesday, April 19, 2011
Kates Playground Face Book
Today is about communication ...
First, a bit of theory:
- protocol TCP - client-server communication in which the client acknowledge receipt of the package
- protocol UDP - sending data without flow control and retransmission; faster than TCP due to the omission of "fuss" associated of whether the customer has received and "understood".
Referring to the previous one, reflective post:
during a recent conference, a very good friend - a stage name lburdz - has done me a favor by providing invaluable fidbeku following:
During the presentation is not about emptying the fastest (actually better in this context, the word will defecation) UDP stream buffers. You have to treat people (the audience) as the other end of the TCP stream.
//==============================
kind of simple, but as a breakthrough for me! It may still be useful to someone ...
Friday, April 15, 2011
Price Of Oscar Buffet
Postcard from holiday
behind the 10-day "Holiday", from which it would like to share experiences.
Last 10 days had passed me on:
- 4 developers conference
- Conference
33rd Degree - training on Distributed CqRS DDD and led by Greg Young
During both excellent conference, one can observe some trends were clear.
Although the conferences are technical in nature, are very popular are the soft issues. He wrote about it Martin Fowler in his in the first article about the conference trends.
General voices of the world are such that technical details one can explore the house, and during the conference, we have access to expertise not available in the literature of our industry. Pleased that keep up with the latest trends - I'm curious your opinion on this subject .
Another observation is a clear trend of Americans - but an excellent form of substantive content as simple as it places the vulgarity of grazing (eg, tricks of pilgrimage in the hello world-class applications;).
conducted during the 33rd degree, together with colleagues from ssepp panel discussion on vocations in our industry. As a profession but still too much focus the bitterness, instead of acting in the direction of crystallization of the profession.
three-day training, however, Greg was even more intense in terms of mental (social well - we rented for 5 days together with Greg apartment:)
Greg presented many technical details of his approach to architecture and modeling CqRS DDD. We also broadened the horizons of presenting the system architecture that supports hundreds of thousands of transactions per second!
is only one conclusion: the world of relational databases, common frameworks and platforms and standard layers is highly restrictive. To deal with the problem on a scale of thousands per second, you need to deny everything that constitutes our knowledge base!
climate of the training was not to describe. Over thirty people from home and abroad operating common level of abstraction, fechtujących software engineering techniques with masterful grace. Without a compromise on quality - just take this class problem can not be otherwise ...
for this great lead from a wide range of competence. Starting from the details of the compiler through the paradigms of programming, design patterns and architectural knowledge all the classics and the latest achievements in software engineering, project management methodologies, creating the image of architecture as a product of negotiation techniques to the overall scholarship of up to neural networks, genetic algorithms, policies, etc, etc.
Kudos Greg.
//==============================
call this time of holidays, because I'm the type of observer ( perceiving ) seeker. That is why I appreciate the constant stimulation of new ideas and discussions with people wnoszącymi something to the case, more than lying on the plaży.
Patrząc z boku ciężko uwierzyć jak ktoś kto siedzi kilka godzin na konferencji/szkoleniu w bezruchu może przezywać ultra-intensywne doznania poznawcze:)))
behind the 10-day "Holiday", from which it would like to share experiences.
Last 10 days had passed me on:
- 4 developers conference
- Conference
33rd Degree - training on Distributed CqRS DDD and led by Greg Young
During both excellent conference, one can observe some trends were clear.
Although the conferences are technical in nature, are very popular are the soft issues. He wrote about it Martin Fowler in his in the first article about the conference trends.
General voices of the world are such that technical details one can explore the house, and during the conference, we have access to expertise not available in the literature of our industry. Pleased that keep up with the latest trends - I'm curious your opinion on this subject .
Another observation is a clear trend of Americans - but an excellent form of substantive content as simple as it places the vulgarity of grazing (eg, tricks of pilgrimage in the hello world-class applications;).
conducted during the 33rd degree, together with colleagues from ssepp panel discussion on vocations in our industry. As a profession but still too much focus the bitterness, instead of acting in the direction of crystallization of the profession.
three-day training, however, Greg was even more intense in terms of mental (social well - we rented for 5 days together with Greg apartment:)
Greg presented many technical details of his approach to architecture and modeling CqRS DDD. We also broadened the horizons of presenting the system architecture that supports hundreds of thousands of transactions per second!
is only one conclusion: the world of relational databases, common frameworks and platforms and standard layers is highly restrictive. To deal with the problem on a scale of thousands per second, you need to deny everything that constitutes our knowledge base!
climate of the training was not to describe. Over thirty people from home and abroad operating common level of abstraction, fechtujących software engineering techniques with masterful grace. Without a compromise on quality - just take this class problem can not be otherwise ...
for this great lead from a wide range of competence. Starting from the details of the compiler through the paradigms of programming, design patterns and architectural knowledge all the classics and the latest achievements in software engineering, project management methodologies, creating the image of architecture as a product of negotiation techniques to the overall scholarship of up to neural networks, genetic algorithms, policies, etc, etc.
Kudos Greg.
//==============================
call this time of holidays, because I'm the type of observer ( perceiving ) seeker. That is why I appreciate the constant stimulation of new ideas and discussions with people wnoszącymi something to the case, more than lying on the plaży.
Patrząc z boku ciężko uwierzyć jak ktoś kto siedzi kilka godzin na konferencji/szkoleniu w bezruchu może przezywać ultra-intensywne doznania poznawcze:)))
Poem About Friend With Background
In Bulgaria even know the car parking Sienkiewicz
Publisher 'Trud' placed Quo Vadis Henryk Sienkiewicz on your list 500 items of literature, which they believe should have. Amazing that after 115 years of writing the novel, is still attractive to readers. I have no idea how many times this book was resumed, but there are definitely a big number. What's even more interesting, Quo Vadis translations into Bulgarian were made over the years by several translators. Translate first issue is unknown, then struggled with the book yet: B. Йорданов, Ст. Мавродиев, Л. Стоянов, Н. Розева, Г. Ковачев-Бpилл, A. Генчева-Зографова. The latest translation of was released in 2011 in the collector, hard cover. You made it Евгения Манолова. 'Trud' in publishing is to offer more items Sienkiewicz, whose work includes of the world's classics.
few months ago I had an interesting chat with parking in the city of Plovdiv. When I realized that we were Polish, he began to tell how many years ago he came across in the library ' Volodyovski' , later claimed also read the other parts ' Trilogy' . He said that these books are fantastic that, after they took a terrible desire to go to Polish. A man with a big acquisition, and told how wonderful revival in Warsaw. I told him that now is probably even better than before, because creating new buildings and old ones are renovated. To the question when he was in Warsaw, very saddened. It turned out that Warsaw familiar with the story a friend who was there. He himself had never been able to realize his dream because he had family responsibilities and was not simply afford such a trip. And now it is on such travel is too old. When he said that he had tears in his eyes moved.
now know where the title of this post. Of course it is an exaggeration, but not so large.
Publisher 'Trud' placed Quo Vadis Henryk Sienkiewicz on your list 500 items of literature, which they believe should have. Amazing that after 115 years of writing the novel, is still attractive to readers. I have no idea how many times this book was resumed, but there are definitely a big number. What's even more interesting, Quo Vadis translations into Bulgarian were made over the years by several translators. Translate first issue is unknown, then struggled with the book yet: B. Йорданов, Ст. Мавродиев, Л. Стоянов, Н. Розева, Г. Ковачев-Бpилл, A. Генчева-Зографова. The latest translation of was released in 2011 in the collector, hard cover. You made it Евгения Манолова. 'Trud' in publishing is to offer more items Sienkiewicz, whose work includes of the world's classics. few months ago I had an interesting chat with parking in the city of Plovdiv. When I realized that we were Polish, he began to tell how many years ago he came across in the library ' Volodyovski' , later claimed
now know where the title of this post. Of course it is an exaggeration, but not so large.
Thursday, April 14, 2011
Tuesday, April 12, 2011
Driving And Leg Injuries
Dr. Marko Markov in Katyn
spoke yesterday evening with my dad, who told me some curiosity associated with Bulgaria, hearing Recently in one of the Polish television. Namely, it was a person in Dr. Marko Markov, who participated in World War II in the work of an international commission investigating the Katyn massacre. Wiki immediately dopowiedziała me the rest of the information. We highly recommend come into view this entry.
spoke yesterday evening with my dad, who told me some curiosity associated with Bulgaria, hearing Recently in one of the Polish television. Namely, it was a person in Dr. Marko Markov, who participated in World War II in the work of an international commission investigating the Katyn massacre. Wiki immediately dopowiedziała me the rest of the information. We highly recommend come into view this entry.
Monday, April 11, 2011
Saturday, April 9, 2011
Brown Skin Which Color Clothes
Electricity prices in Bulgaria, the Bulgarian holiday
costs of electricity production in Bulgaria confirms the long-known truth that the taking of power in nuclear power plants is the most economically viable. After considering all the costs and plus profit producer price of electricity sold to wholesale customers are as follows:
average citizen buys from EON Energy after 8.7 stotinki per 1 kWh, plus pay for the VAT of 20%, giving a final price stotinki 10.44, or 5.35 cents, or 0.22 zloty per 1 kWh.
As you can see neither the use of wind or the sun is not currently economically viable. And what I write? Since Bulgaria now takes a strong argument about the future of the Bulgarian energy sector. Deputy Prime Minister along with his party and parliamentary allies (right) wants to build a nuclear power plant. Mr. President and his political background (Left) is opposed to building a second nuclear power plant. President to torpedo the project proposes a national referendum. Fukushima and Chernobyl, of course, serve as a threatening warning. It's fun when you define the issues important to the country, even more fun when the topic of discussion in public debate. Even if sometimes it is a sharp debate, and so it is a healthy sign of democracy. Unanimity media for many citizens would be unbearable.
costs of electricity production in Bulgaria confirms the long-known truth that the taking of power in nuclear power plants is the most economically viable. After considering all the costs and plus profit producer price of electricity sold to wholesale customers are as follows:
| TYPE POWER | BGN | EURO | PLN |
| Nuclear Power Plant | 0.045 | 0.023 | 0.092 |
| large coal-fired power | 0.066 | 0.038 | 0.135 |
| small gym with a capacity of 10MW | 0.113 | 0.058 | 0.240 |
| wind farm | 0.189 | 0.097 | 0.388 |
| Solar Panel | 0.760 | 0.390 | 1.560 |
average citizen buys from EON Energy after 8.7 stotinki per 1 kWh, plus pay for the VAT of 20%, giving a final price stotinki 10.44, or 5.35 cents, or 0.22 zloty per 1 kWh.
As you can see neither the use of wind or the sun is not currently economically viable. And what I write? Since Bulgaria now takes a strong argument about the future of the Bulgarian energy sector. Deputy Prime Minister along with his party and parliamentary allies (right) wants to build a nuclear power plant. Mr. President and his political background (Left) is opposed to building a second nuclear power plant. President to torpedo the project proposes a national referendum. Fukushima and Chernobyl, of course, serve as a threatening warning. It's fun when you define the issues important to the country, even more fun when the topic of discussion in public debate. Even if sometimes it is a sharp debate, and so it is a healthy sign of democracy. Unanimity media for many citizens would be unbearable.
Thursday, April 7, 2011
Members.milena-velba.de
sea
ACCOMMODATION IN BULGARIA:
slowly approaching the summer, time to decide where to go for a holiday. For those living in Bulgaria 'obvious self-evident' is the Black Sea:) Because close, because as far as cheap, because the water is clean and very warm (in August of temperatures reaching 31 degrees!). The surroundings are nice. Such environmental conditions also attract many foreign tourists who willingly come to Bulgaria, and later returned there repeatedly.
Why Bulgaria?
Sea in Bulgaria is beautiful. There are great resorts with aquaparkami, luxury hotels and numerous attractions (links to images will be at the end).
are also on the Black Sea area as yet untouched. You can ride a bicycle, walk, or hire a quad bike. With any luck, there is a chance to see living in the wild dolphins. And if not at liberty, in the Dolphinarium in Varna ;-). Are you sure you meet the wild horses. Why the turtle? At night you can see crabs facing sand or rocks.
Cruises, diving, underwater hunting spear. (Hunting under water, please do not shoot absolutely dolphins! You can go to sit for it. By the way only humans, apes, dolphins and elephants are self-conscious as a man. They pass the so-called Mirror test. Respect the dolphins!)
can pass the banana, go for a boat or a motorboat. Pirate ships or are available. Water skiing? Paraglider? Such interest is also a hit, but not everywhere.
Even in smaller towns will be the carousel, or even a small amusement park. Not to mention great food. Delicious fruit, abundant selection of fish, baked in ceramic dishes of meat or vegetables, grilled dishes - delicious. Maybe stuffed peppers, even a meatless version, with white cheese, egg and dill. Yum, yum. For this very delicious Bulgarian wine. I have these fantastic flavors of well-know and remember, and basically I have constant access to them, and yet it comes up to me salivate as I write this now. I must stop now to say, just write a few words about the prices. Prices in Sofia as:) There is a rip-off. Compared to prices in the UK but a bit cheaper. And it's inexpensive when compared to the prices of the proverbial fish on the Polish coast.
HOW TO GET TO BULGARIA?
option for adventurers and globetrotters:
to Sofia can be reached by bus or train Polish. You can also buy a ticket for the low cost airlines. Sometimes it can be flown Sofia and return to the Polish zloty for 350-450 per person. Lot also sometimes has a nice offer. Buses from Sofia to the seaside run frequently, some even commute to the same piece of the Bulgarian south coast. You can instantly search for a service to Varna and Burgas. Fly the charter flights.
Drivers:
recommend way through Hungary and Serbia. From Budapest to Sofia is 800 km to overcome. With more than 600 km of motorways. Complimentary 10 hours with stops, some coffee and children play on playgrounds is a very real time of travel. From Sofia, a need 5 more hours to get to Bourgas.
In Hungary, the roads are very good on the highway need to buy a vignette. For passenger cars is the cheapest 4-day vignette and costs about 16 zlotys (1170 HUF on 04/07/2011). You can ride for 4 days at will ;-) At the station we have to say - négy Napos matrica (pronounced - nidź naposz matrica) , then we give the proof of registration indicate the registration number of finger and say - Kocsit registráció champagne (pronounced - koczit registracjo same ). Data are entered into the car computer system. On the highway cameras automatically check whether the car has taken out a sticker. Nothing is glued on the glass, the proof of purchase of vignettes is a receipt, you must keep it. After the motorways moving cars catching those who do not pay - usually busy with subtitles Matrica Kontroll or police Rendőrség . fuels are expensive, gas is available in large, well-known stations. On the highway is allowed to 130km / h in towns 50km/hi better comply with this restriction. But outside the villages is the police in various strange places and controls the speed. Unless it is on the highway, then the speed is controlled by the camera system. You may be surprised at how tight downhill bends with speed.
eventual accommodation in Hungary we are looking at motelikach called Panzió. On motorways they will not be. In the vicinity of Szeged, Budapest or nay. Szeged is located just behind the border with Serbia, we will head for Belgrade.
Serbia:
fuel cheaper than in Hungary, the highway is paid at the turnstiles. In total, the passenger car you have to pay around 24 euros if I remember correctly. They spend the rest in euros, no problem. On the motorway limit is 120km / h. Police often lurks under bridges and at conferences. You can see them from afar, can be safely released. A very dense network of stations on the highway, which will be 10-15 km a station. I recommend OMV, have playgrounds, excellent coffee, good and cheap as food, clean toilets. It will be several of them on the road. Tea gets in Serbia honey, do not ask for sugar, as someone has, then maybe, but the staff is surprised. Needless to say that he wants to black tea (czeren wireless), or else get a herbal tea.
Driving through Serbia is a pleasure. Quickly and very efficiently! After passing through Hungary and Serbia will reach us very unpleasant truth about the roads in Poland. Just a note: Serbia is not in the Union, must have a passport . There is no attempt to run over the ID card. Green card will also be checked!
Bulgaria:
In Bulgaria, the exchange rate is constant. You'll get 1 Euro 1,94-1,96 leva. Replace the currency in any bank, but that if it takes a long time, because I always, regardless of the sum of the identity of the seller excel. Offices are convenient. Euro can not be paid unless the border, where you need to buy a vignette. It will not be expensive. One-year is about $ 120. You could buy a 7-day is much cheaper, or monthly. Vignettes are available at each station. They are glued on the glass. Fuel cheaper than in Poland, with getting the gas no problem (0.65 euros for gas, E95 is 2 times more expensive. 1.25euro/litr ON). Fuel price uniform throughout Bulgaria, it makes no sense to look for cheaper stations in smaller towns. Refuel only in well-known stations are well equipped (especially my favorite stations OMV). They have a playground for children, good coffee and the possibility of low-cost lunch. For this free Internet access through Wi-Fi. Well fall some other companies - Shell, BP, Lukoil, Eko.
from the border with Serbia is close to Sofia. At the entrance to Sofia immediately head for Varna or Burgas. This way we enter the ring road and will be easily heart bypass. Inadvertent entry into the city will be trouble in the city there are not many signposts will be very hard to get out of town zakorkowanego. Highway to the seaside is good. In 4-5 hours can be reached from Sofia to Bourgas, including a break for ice cream at McDonalds. Warning not to park in Bulgaria, in illegal places. Come spider - tow truck-mounted crane. Increase for auto wheels, finished loading the truck and the car hits the car park. There will be no trace after it, no cards, nothing. Often take a car if there's downtime What we paid in the parks. Recovery from such a car parking space will cost a lot of time, money and nerves.
Adventurers can go in the dark, looking for accommodation on the spot.
In small towns on the sea already at the entrance to the village, people sit on chairs with offers of accommodation. Standards vary, generally decent. There are good deals, for 2 bed room in 3 star guest house with air conditioning and internet, you can pay 30 leva (15 euros). For 60 leva, you can have a room apart swimming pool and gym available to, and complimentary breakfast. At private houses could be even cheaper (a friend told about passenger rooms 2 for 15 leva). Over the past year was a huge investment boom in Bulgaria. Along the coast were built mass of hotels, golf hotels and guesthouses. Some stand empty or are for sale. Is determined to oversupply of beds in relation to volunteers.
If anyone wants to have peace of mind, does not like the hassles, surprises and possibly wykłócania the owners can take out travel while still in Poland. Travel agencies have a very reasonable offer. On-site provide care for its residents, and for this fine entertainment. Several friends of people benefited from the tender office and showed a great degree of satisfaction after a holiday in Bulgaria.
And here a link to the photos from the vicinity of the famous Golden Sands - from luxury hotels, night clubs, casinos. Sam just do not like a piston, I prefer the more severe climates, but if someone likes and wants lukusu, in Bulgaria will not disappoint:)
Okay, I am here to finish my note, and I just wanted to show some of his photos. The first presents a playground for the Bulgarian stations. Others have been done on the Bulgarian seaside, mostly below the Burgas. In the pictures show mostly rocky beaches with little available land. Normally, nice sandy beaches is also not lacking. Best beaches are too wild, but it is hard to find them and let them remain so ;-)
remnant seek information on their own. I wish you successful wakacji.
Subscribe to:
Comments (Atom)