Skip to content

Instantly share code, notes, and snippets.

import os
import re
import gradio as gr
import sys
import argparse
import json
import time
import hashlib
import base64
import logging

Directory Structure: α7RV

  • 1 My Menu/
    • 1 My Menu Setting/
      • 1 Add Item/

        Add Item Adds an item that can be selected in My Menu.

      • 2 Sort Item/ > Sort Item

Directory Structure: α7RV

  • 1 My Menu/
    • 1 My Menu Setting/
      • 1 Add Item/
      • 2 Sort Item/
      • 3 Delete Item/
      • 4 Delete Page/
      • 5 Delete All/
  • 6 Display From My Menu/
@pydemo
pydemo / chat.md
Created September 20, 2024 14:40
Question Answer
21. What are dbt exposures, and why are they useful? dbt exposures link data models to the end-user's BI tools or reports, providing visibility into how the data is used and ensuring that transformations are aligned with business goals.
22. How do you handle schema changes in dbt? Schema changes are managed by updating the SQL models and schema.yml files. For complex changes, you can use versioning or migration scripts to avoid breaking downstream dependencies.
@pydemo
pydemo / chat.md
Created September 20, 2024 14:39
Question Answer
11. What are dbt seeds, and how do you use them? dbt seeds are CSV files stored in your dbt project that can be loaded into your data warehouse as tables. You use the dbt seed command to populate the warehouse with this data.
12. Explain incremental models in dbt and when to use them. Incremental models only update new or changed data since the last run. They are used to handle large datasets efficiently, reducing load times and compute costs.
@pydemo
pydemo / chat.md
Created September 20, 2024 14:36
Question Answer
1. What is dbt, and how does it work? dbt (data build tool) is used for transforming data in a data warehouse. It works by enabling analysts and engineers to write transformations in SQL and execute them as part of a scheduled workflow.
2. Explain the difference between dbt models, seeds, and snapshots. Models are SQL queries stored in files that transform raw data. Seeds are CSV files loaded into the data warehouse as tables. Snapshots capture data state at a point in time for historical analysis
  1. 1998: Car Bombing
  2. 1999: Moscow Apartment Bombing
  3. 1999: Attempted Strangling with a Tie by Aleksandr Pechurov
  4. 2000: Poisoned Watermelon Incident in Germany
  5. 2002: Theater Hostage Crisis in Moscow
  6. 2002: Poisoning at KGB Restaurant in Moscow
  7. 2002: Cherkizovo Poisoning Attempt
  8. 2002: Azerbaijan Plot
  9. 2002: Mailed Letter Bomb
  10. 2004: Youth Forum Poisoning in St. Petersburg
  1. 1999: Moscow Apartment Bombing
  2. 1999: Attempted Strangling with a Tie by Aleksandr Pechurov
  3. 1998: Car Bombing
  4. 2000: Poisoned Watermelon Incident in Germany
  5. 2002: Theater Hostage Crisis in Moscow
  6. 2002: Poisoning at KGB Restaurant in Moscow
  7. 2002: Cherkizovo Poisoning Attempt
  8. 2002: Azerbaijan Plot
  9. 2002: Mailed Letter Bomb
  10. 2004: Youth Forum Poisoning in St. Petersburg
Name Incident/Role Year
Aleksandr Pechurov Attempted to strangle Putin with his tie 1999
Umar Ismoilov Swedish citizen arrested for plotting to blow up Putin's plane 2010
Nikolay Kalistratov Accused of plotting to assassinate Putin during the Sochi Olympics 2014
Zakhary Calcutt Arrested in Scotland for planning to shoot Putin during the LNG summit 2018
Efrem Lukatsky Suspect in the Cherkizovo poisoning attempt 2002
Alexander Litvinenko KGB defector poisoned in London; suspected connection to Putin 2006
Mikhail Kasyanov Ex-Prime Minister, mentioned in context of false reports of assassination attempts N/A
Feature Meta’s Llama 3.1 70B Mistral Large 2 128B
Launch Date July 23, 2024 Not prominently documented
Parameter Size 70 billion 128 billion
Context Window