Skip to content

Instantly share code, notes, and snippets.

View mycarta's full-sized avatar
💭
Trying to live in the present moment

Matteo Niccoli mycarta

💭
Trying to live in the present moment
View GitHub Profile
@mycarta
mycarta / Agentic extraction API explanation.md
Created January 4, 2026 22:29
Agentic extraction API explanation

Understanding Document Extraction with Landing AI's API

Introduction

In this chapter, we'll walk through a Python script that communicates with a remote API to extract structured data from PDF documents. The script demonstrates a two-stage pipeline: first converting a PDF into machine-friendly markdown, then extracting specific fields from that markdown using a schema-driven approach.

@mycarta
mycarta / Trello tutorial for Alegra Soy.md
Created December 18, 2025 14:39
Trello tutorial for Alegra Soy

Trello Tutorial for Alegria Soy

This guide is designed to help Doris and the Alegria Soy team learn how to use Trello effectively for delegating tasks, keeping everyone on schedule and generating status updates for stakeholders. It covers the essential features of Trello’s free and Premium tiers, explains how to assign and tag work, and shows how to produce high‑level reports using Trello’s advanced views. Throughout the tutorial you will see citations in square brackets (for example, support.atlassian.com). These citations point to the original Atlassian support pages used as sources. If you are using this tutorial outside this environment and the citations do not render, please refer to the Resource links section at the end of this document for clickable URLs.

Recommended video tutorial

If you prefer to start with a visual overview, consider watching **[“How to use Trello – Tutori

@mycarta
mycarta / Drilling problem with Wolfram.md
Last active January 20, 2026 14:08
Drilling problem

Mill's method of induction with ChatGPT and Wolfram plug-in

User prompt: Do you know Mill's methods of induction?

Wolfram GPT: Yes, I am familiar with Mill's methods of induction. These are a set of methods proposed by philosopher John Stuart Mill to identify causal relationships. They are used in inductive reasoning to analyze observations and derive general principles. Mill described five methods in his work A System of Logic:

  1. The Method of Agreement: Identifies a common factor present in all cases where the phenomenon occurs.
  2. The Method of Difference: Identifies a factor that is present when the phenomenon occurs and absent when it does not, under otherwise similar conditions.
  3. The Joint Method of Agreement and Difference: Combines the first two methods to strengthen causal inference.
@mycarta
mycarta / Calculator.py
Last active December 9, 2025 14:17
Naughty calculator
# NB optimized for Python 3
from random import randint
print ('Hello, I am a talking calculator and my name is Jester.')
name = input('What is your name? ')
print ('Hello ' + name.capitalize() + ', nice to meet you!')
while True:
operation = input(name.capitalize() +
', would you like to add or subtract? (enter "a" or "s"; "q" to quit) ')