Home

Easy Original vs GPT

Easy Original vs GPT

Translations: RU

Over the past few months, I have immersed myself in the intriguing world of Generative Pretrained Transformers (GPT) and Large Language Models (LLMs) at large. We have successfully developed an MVP of a corporate knowledge base and a coaching chatbot. Both projects allowed us to gain significant experience in utilizing GPT, an experience I am excited to share with anyone interested in this space.

My close circle is aware of another passion of mine: learning Spanish. I recently discovered a fascinating overlap in my interests, where GPT could aid my language learning journey. I’ve long been aware of an exceptional tool for studying languages - the adapted books based on Ivan Frank’s method.

Justice - 05 - Markets and Morals

Justice - 05 - Markets and Morals

Translations: RU

In the next two lections of JUSTICE you dive into the intriguing debates on military conscription, personal choice, and patriotism. Then explore the ethical dilemmas of surrogacy, consent, and commodification in the riveting. Uncover the limits of government power and the complexities of reproductive technology in these captivating discussions.

I am sharing my mind-map from the lectures as usual:

Download full mind map (PDF)

Summary of the lectures:

Software Engineering at Google - Chapter 2 - How to Work Well on Teams

Software Engineering at Google - Chapter 2 - How to Work Well on Teams

Translations: RU

We are continuing to study an interesting book about Google’s culture and practices:

Chapter 2 covers:

  • Working in isolation vs working in a team.
  • Amount of time that you and your team spend communicating and in interpersonal conflict. How a small investment in understanding personalities and working styles of yourself and others can go a long way toward improving productivity.
  • If you want to work effectively with a team or a large organization, be aware of your preferred working style and that of others.

Here is the book we are studying:

Justice - 04 - John Locke

Justice - 04 - John Locke

Translations: RU

Next two lectures uncover the intricacies of John Locke’s theories on NATURAL RIGHTS and CONSENT. Quite an interesting turn in Philosophy of Justice. However, the problem with John Locke is that borders in his ideas are a bit fuzzy.

I am sharing my mind-map from the lectures as usual:

Download full mind map (PDF)

Summary of the lectures:

Lecture 7. John Locke: Property Rights (NATURAL RIGHTS)

In this lecture, the speaker discusses John Locke’s beliefs on individual rights, which include the natural rights to life, liberty, and property. Locke argues that these rights are inherent to individuals and that the state of nature, a state of liberty, has a law of nature that constrains individuals from violating each other’s natural rights. The lecture also emphasizes the importance of understanding how property fits into Locke’s theory of natural rights. The lecture then transitions to the issue of respecting patents and intellectual property rights in the context of the AIDS crisis in South Africa. The South African government started buying a generic version of the drug produced by an Indian company as the American AIDS drugs were too expensive for most Africans. The US government and pharmaceutical companies sued the South African government, but eventually gave in. The lecture then presents a critique of Locke’s account of private property by Rochelle, who argues that it justifies European cultural norms and the appropriation of land from Native Americans during European settlement. Dan defends Locke, arguing that Locke’s definition of labor-based property rights could apply to Native Americans’ use of the land, even if they did not enclose it with fences. The lecture suggests that Locke’s account of private property remains a controversial topic.

Justice - 03 - Libertarianism

Justice - 03 - Libertarianism

Translations: RU

These “Justice” lectures are covering my favorite topic - Libertarianism.

If I need to define my political views in one word, it would be Libertarianism. HOWEVER, when I am talking with my Libertarian acquaintances, I can call myself a “Pro-states man.” ;-)

For me, it is very clear why Libertarianism is not so popular:

  • most of the people who promote it are fanatics
  • they try to see the world in “black and white” and close their eyes to fundamental problems.

Fundamental problems include:

Justice - 02 - Utilitarianism

Justice - 02 - Utilitarianism

Translations: RU

I continue overviewing lectures about Justice and sharing my mind-maps. This time I’m sharing my mind-map from the lectures on Utilitarianism.

Download full mind map (PDF)

Summary of the lectures:

Lecture 3: Utilitarianism - Jeremy Bentham

In this lecture, the speaker discusses Jeremy Bentham’s version of utilitarianism, which aims to maximize general welfare by balancing pleasure and pain, and the application of utilitarianism in cost-benefit analysis used by companies and governments. The lecture explores the example of a Philip Morris study on smoking in the Czech Republic, which found a net public finance gain of $147 million. The lecturer also discusses the Ford Pinto case, where Ford did a cost-benefit analysis to determine whether it was worth putting a special shield to protect the fuel tank and prevent it from exploding. The lecture also focuses on the contentious issue of putting a dollar value on human life in cost-benefit analysis, and the objections to utilitarianism, particularly the effect on minority groups and the trade-offs of individual rights for the greater good. The example of the shipwreck boy who was eaten is used to illustrate these objections.

Justice - 01 - Moral side of Murder

Justice - 01 - Moral side of Murder

Translations: RU

I have started a repeat of Harvard’s course Justice by Professor Michael J. Sandel. This course is about philosophy and discusses what is good and what is bad, and how these ideas have evolved over time. The course is especially important in today’s world as AI will soon be making decisions about WHO SHOULD LIVE AND WHO SHOULD DIE (being an IT specialist, I am interested in the patterns of falling into the first category, as you may guess ;-)

Software Engineering at Google - Chapter 1 - What is Software Engineering

Software Engineering at Google - Chapter 1 - What is Software Engineering

Translations: RU

Our IT books club has started reading new book - about Software Engineering at Google - processes, culture, and tools that help Google create and maintain high-quality software. First chapter is about Software Engineering in general:

  • What is Software Engineering vs Software Development/Programming?
  • Three principles Google consider:
    • Time and Change
    • Scale and Growth
    • Trade-offs and Costs
  • How these three principles are applied to Software Engineering and how it is different from Software Development/Programming

Interesting opening chapter of the book:

System Design Interview - Chapter 8 - Design a URL Shortener

System Design Interview - Chapter 8 - Design a URL Shortener

Translations: RU

The previous chapters have described the underlying technologies such as consistent hashing, ID generator, and now using these techniques we can develop a URL shortener that can generate 100 million URLs per day.

Design consists of the following elements:

  • API endpoints
  • URL redirecting
  • URL shortening
  • Data model
  • Hash functions: Hash + collision resolution vs Base-62 conversion
  • Additional topics to consider:
    • Rate limiter
    • Web server scaling
    • Database scaling
    • Analytics
    • Availability, consistency, and reliability

These items are disclosed in a very interesting Chapter 8 of the book:

System Design Interview - Chapter 7 - Design a Unique ID Generator in Distributed Systems

System Design Interview - Chapter 7 - Design a Unique ID Generator in Distributed Systems

Translations: RU

Generating unique ID seems to be a simple task, but it is not in a high-load distributed systems!

This topic consists of:

  • Understanding the requirements and why it is a complicated task
  • Possible solutions:
    • Multi-master replication
    • Universally unique identifier (UUID)
    • Ticket server
    • Twitter SNOWFLAKE approach (seems to be the best one!)
  • Details:
    • Timestamp
    • Sequence number
  • Other issues
    • Clock synchronization
    • Section length tuning
    • High availability

These items are disclosed in a very interesting Chapter 7 of the book: