Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#### Definition description

Definitions have procedural representation aiming to explain behaviors. Each definition is general. It can be a word or a phrase that represent a broad category or concept rather than a specific instance or entity. For instance, *car*, *list*, *human*, *country* represent *general terms*. *My car*, *your todo list*, *Albert Einstein*, *Poland* are singular instances of these general terms or so called *singular terms*[6]. *DefinIT* does not examine *singular terms*. In an analogy to object oriented programming, *DefinIT* examine definitions or classes, but not instances.
Definition can be a word or a phrase that represent a broad category, concept, or a specific instance/entity. For instance, *car*, *list*, *human*, *country* represent *general terms*. *My car*, *your todo list*, *Albert Einstein*, *Poland* are singular instances of these general terms or so called *singular terms*[6]. *DefinIT* mainly focus on *general terms*, but it does not exclude *singular terms*.

#### DefinIT structure

Expand Down Expand Up @@ -73,7 +73,7 @@ While earlier projects focused on nomenclature within a single field, DefinIT ge

- Learning a new field of knowledge.
- Deepening understanding of a specific topic/term.
- Specifying an unambiguous language that experts in a field use to communicate with each other, improving the quality and clarity of communication.
- Specifying an unambiguous language that experts in a field reference to, improving the quality and clarity of communication.
- Enhancing training or tuning data, or parts of prompts, for LLM-based systems.
- Studying all specialized terms and concepts within a specific book (as a pre-reading exercise).
- Learning all specific terms and concepts within a presentation (to be better prepared for a lecture).
Expand Down
25 changes: 25 additions & 0 deletions presentation/common/generate_qr_code.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import sys

import qrcode

is_web_app = sys.argv[1] == "web" if len(sys.argv) > 1 else False
url_web_app = "https://k4liber.github.io/definit-dsa/"
url_github_repo = "https://github.com/K4liber/definit"
url = url_web_app if is_web_app else url_github_repo
img_name = "web_app_qr_code.png" if is_web_app else "github_repo_qr_code.png"

# Generate the QR code
qr = qrcode.QRCode(
version=1,
error_correction=qrcode.constants.ERROR_CORRECT_L,
box_size=10,
border=4,
)
qr.add_data(url)
qr.make(fit=True)

# Create an image from the QR code
img = qr.make_image(fill_color="black", back_color="white")

# Save the image (e.g., as a PNG)
img.save(img_name)
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/warsaw_python_pizza/img/duolingo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/warsaw_python_pizza/img/explorer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/warsaw_python_pizza/img/leetcode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/warsaw_python_pizza/img/lego.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/warsaw_python_pizza/img/marked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/warsaw_python_pizza/img/modular.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/warsaw_python_pizza/img/robot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/warsaw_python_pizza/img/test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/warsaw_python_pizza/img/why.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/warsaw_python_pizza/img/x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
86 changes: 86 additions & 0 deletions presentation/warsaw_python_pizza/slides_scratch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Knowledge representation for efficient learning and communication

- Author: Jan Bielecki
- Event: Warsaw Python Pizza
- Date: 20260509

# Gamification of a learning process

- Its fun to create games.
- Its fulfilling to make something useful.
- Duolingo as an example of gamification in learning.

# Different learning platforms

- Codecademy
- Leetcode
- Brilliant
- Coursera
- edX
- Khan Academy
- Udacity

- Some of the platforms have a gamification element to enhance the learning experience.

# Let's create the universal platform!

- standards.png

# Basic building block of a knowledge representation

- What is the smallest unit of knowledge that can be checked as "learned" and we can move forward to the next one?

# First principles thinking

- Divide and conquer.

# Definition as the smallest unit of knowledge

- Examples of definitions.
- Literature overview.
-- "First Glossary of Programming Terminology"
-- "IEEE Standard Glossary of Software Engineering Terminology"
-- UML, Internet, Wikipedia ...

# Definition properties

- Key (definition name, field Why? Two same names can exist in different fields.)
- Value (content, dependencies: definitions can rely on other definitions)

# Structure of definitions

- DAG.

# Using Python as a platform for creating and managing knowledge representations

- Strict format for definitions
- Github Copilot helps with the content creation.
- Tests, visualizations.
- Serializers.

# POC - Data Structures and Algorithms (DSA)

- https://k4liber.github.io/definit-dsa/

# Why it exists?

- Efficient learning - by breaking down complex topics into smaller, manageable units.
- DAG structure implies where to start.
-- from the low-level definitions.
-- from the set of descendant definitions of a given definition.
- A living, qualitative and structured glossary for any field of knowledge.
- Improved quality and clarity of training data for machine learning models.

# What is wrong with such approach?

- A lot of effort to create a qualitative knowledge representation.
- Who decides a definition content and dependencies?
- DAG structure is an assumption that all knowledge can be represented in a hierarchical manner.
- "Brain rot" content is more addictive then a well-structured knowledge representation.
- "In theory, there is no difference between theory and practice. But in practice, there is."~Benjamin Brewster
-- The brain learns most effectively through active, deliberate practice, and a static knowledge representation may not provide the necessary engagement and feedback for optimal learning.

# What's next?

- Explore more high-level concepts (uv, compilation, architecture).
- Creating a more engaging learning experience (questions, active and deliberate practice, tasks).
28 changes: 14 additions & 14 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading