How to make a positive first impression

  1. Try to remember people’s names and repeatedly mention their names throughout the conversations
  2. When responding to any questions, try to elaborate, do not answer yes or no
  3. Try to find common ground – common topics (hobby, similar academic background, family activities, related work experiences)

Sapiens

Big Bang – the moment when the matter, energy time and space came together 13.5 billion years ago.

Humans evolved in East Africa about 2.5 million years ago from an earlier genus of apes.

Our closest living relatives include chimpanzees, gorillas and orang-utans.

From about 2 million years ago until around 10.000 years ago the worlds was home to several human species.

Use of fire – 800.000 years ago, it changed the human biology.

The rise of Home sapiens, the last human species, – most of scientists agree that by 150.000 years ago East Africa was populated by Sapiens that looked just like us.

The interbreeding theory and the Replacement Theory.

The biological relatedness of Sapiens, Neanderthals and Denisovans: they were not completely different species.

There is a possibility that Home Sapiens drove the other human species to extinction because they were more proficient hunters and gatherers thanks to better technology  and superior social skills. Also, for Sapiens they were too familiar to ignore but too different to tolerate.

Home Sapiens conquered the world thanks above all to the unique language.

Les bonnes manières – bien se comporter

Ne faites jamais quoi que ce soit avant que votre hote ne le fasse en premier

Avant de commencer à manger on attend la maitresse/maitre de maison et on ne se jette pas sur la nourriture.

Utilisez s`il vous plait, merci et excusez-moi.

Ne mettez pas les coudes sur la table, ne faites pas de grands gestes et ne parlez pas la bouche pleine.

 

Stoicism

The best guides: Seneca and Marcus Aurelius.  Their teachings are sobering but consoling. Feel heroic and defiant in the face of our many troubles.

Stoicism can help with the following problems:

  • Anxiety – Stoics propose to courageously come on terms with the very worst possibilities. We will cope no matter what it will happen.
  • Fury – angry is caused by an incorrect picture of existence, the collision of hope and reality. In order to be happy expect far less from life. Reach a state where simply nothing could suddenly disturb your peace of mind.
  • Paranoia -Don’t wonder why it happened to you. It may neither be your nor anyone else’s fault.
  • Loss of perspective – Contemplation of the heavans. Nothing that happens to us is of any consequence whatsoever from the cosmic perspective.

Plato’s philosophy

How to make people more fulfilled?

  • Think harder – bring clarity and order to your mind, don’t follow the popular ideas about love, fame and money
  • Love more wisely – love is a kind of education. Love should be two people growing together and helping each other. You need to get together with a person that have the virtues you don’t have. Enter relationships  less combative  and commit to help your partner to become a better version of himself
  • The importance of beauty – Almost everyone likes beautiful things because they are seen like a part of « the good ». Art. Censorship of the arts. The artists must use the power of the art wisely.
  • Changing society
    • new heroes, models for everyones’ good development
    • censorship – avoid dangerous preachers
    • better education – next generation should be brought by people more qualified than their own parents.

Project management process

The planning and organization of a company’s resources in order to move a specific task toward completion = project management process

  1. Planning
  2. Organizing
  3. Controlling
  4. Implementing
  5. Leading

The project’s goals should be tied to the business strategy.

What is a project: a temporary group activity designed to produce a unique result.

A project has:

  • beginning time
  • ending time
  • defined scope
  • assigned resources

 

Interests and skills

Interests – things you want to learn about or activities you like

Skills – abilities natural or learned to do things well

  • functional skills – things you do, strengths you have from birth.
  • subject skills – things you know, your expertise
  • personal trait skills – ways you act, ways you handle yourself and interact with the world

The mix of these three kinds of skills makes you unique.

 

7 steps you need to do when you are searching for a job

  1. Identify your skills and areas of interests
  2. Create a professional profile (add information about education, past work experience, special trainings, hobbies and interests)
  3. Read and understand a job description
  4. Application – Resume – a written document of one’s employment, education and skills
  5. Application – Cover letter – introduce the job seeker, show qualifications and formally apply for a job
  6. Networking – a way to introduce yourself to future employers
  7. Interview – demonstrate how you are qualified for the job

Interfaces fundamentals – notes

An interface is a group of public members that defines a contract. It is a group of related functions that can belong to a class or struct. In order to fulfil the contract you must supply implementations for all of the interface members. The compiler will enforce the implementation.

An abstract class can contain members with different access modifiers. Interfaces contain only public members and only properties, methods, events and indexers. Constructors and destructors are specific to a particular class, they don’t belong in a general contract.

Abstract class biggest strength is that it can contain implementation code that is shared among all of child classes but its biggest disadvantage is that it can inherit only one base class.

Interface biggest strength is that you can use any number of interfaces but there is no shared code implementation, it contains only definitions.

Updating an interface – Adding or removing members will break implementation or break usage. You can use inheritance to add an interface.

Interface explicit implementation – when two methods have the same name and parameters but the return type is different.

 Program to an abstraction (interface) rather than a concrete type (class).

Using interfaces makes the code maintainable, extensible and easily testable. When using an interface you don’t need to care about the implementation details.

The repository pattern – mediates between the domain and data mapping layers using a collection like interfaces for accessing domain objects. It separates the application from the data storage technology.

Interface Segregation Principle – the I in SOLID. Clients should not depend upon methods that they do not use. Interfaces belong to clients, not hierarchies. Granular interfaces that include only the members that a particular function needs.

Example: the class List<T>. It implements Ienumerable<T> for iterating over a collection, data bind to a list control,use linq,  ICollection<T> for adding and removing items in the  collection, counting and clearing it, IList<T> for more control.

Dependency injection – the goal is to create loosely coupled code by making something else responsible for dependent objects. Patterns: Constructor Injection, Property Injection, Method Injection, Service Locator. Use a Dependency Injection Container.

Mocking – Provide behaviour  for the methods we plan to use. Use a Mockup Framework.

Object Oriented Programming fundamentals – notes

Object != Class
A class provides the definition of the object type. It defines properties and actions.
An object is an instance of a class
The object variable is the variable that references the object result of the instantiation. It holds the state of the object. It retains the values of its properties.
Objects only exits at runtime.

A class – a cookie cutter
An object = a cookie made by the cookie cutter

Business object, entity

A business object is a class specifically defined for solving a business problem
An entity is anything from the real world that is significant enough to be represented as a class in the application

OOP
Object Oriented Programming is  an approach to build applications by focusing on objects that interact cleanly with one another in a way that is flexible, natural, well-crafted and testable.

In order to build to solve a real problem

Identify classes
Separate responsibilities
Establish relationships
Leverage reuse

The 4 pilons of OOP

Abstraction is a concept, a way to think: define appropriate classes by focusing on what is important for a purpose. Appropriate abstractions depends on the requirements of the application.

Cohesion
Collaboration – « uses a » – one class uses another class. Example, orderRepository uses the Order class to display the order or to serialise