Skip to content

Instantly share code, notes, and snippets.

View AlexMikhalev's full-sized avatar

Dr Alexander Mikhalev AlexMikhalev

View GitHub Profile
@AlexMikhalev
AlexMikhalev / test-config.json
Created April 8, 2025 14:07
Test config example
{
"id": "Server",
"global_shortcut": "Ctrl+X",
"roles": {
"Engineer": {
"shortname": "Engineer",
"name": "Engineer",
"relevance_function": "terraphim-graph",
"theme": "lumen",
"kg": {
@AlexMikhalev
AlexMikhalev / fabric_write_essay.md
Created January 2, 2025 17:05
Writing essay using claude opus

fabric -y "https://www.youtube.com/watch?v=JTU8Ha4Jyfc" --stream --pattern write_essay What Language Models Can and Can't Do

In this fascinating interview, AI researcher François Chollet offers his insights on the capabilities and limitations of modern large language models (LLMs). He argues that while LLMs have achieved impressive performance on many benchmarks, this does not necessarily translate to true intelligence.

Chollet makes the key point that intelligence is fundamentally about the ability to handle novelty - to deal with situations you've never seen before and come up with suitable models on the fly. This is something current LLMs struggle with. If you ask them to solve problems that are significantly different from their training data, they will often fail.

The reason, Chollet explains, is that LLMs are essentially just very sophisticated "interpolative databases." They memorize an enormous number of functions and patterns from their training data, and when queried, they retrieve and combine t

@AlexMikhalev
AlexMikhalev / extract-wisdom.md
Created January 2, 2025 16:03
Trying fabric

fabric -y "https://www.youtube.com/watch?v=JTU8Ha4Jyfc" --stream --pattern extract_wisdom SUMMARY: François Chollet discusses intelligence, the limitations of large language models, and his work on measuring intelligence with the Abstraction and Reasoning Corpus (ARC) in an interview with Tim.

IDEAS:

  • Intelligence is the ability to handle novelty and come up with models on the fly.
  • Large language models fail at solving problems significantly different from their training data.
  • The Abstraction Reasoning Corpus (ARC) is designed to be resistant to memorization.
  • Introspection is effective for understanding how the mind handles system 2 thinking.
  • Scale is not all you need in AI; performance increase is orthogonal to intelligence.
@AlexMikhalev
AlexMikhalev / Preferences.sublime-settings
Created January 1, 2025 10:48
Sublime settings Linus
{
"ignored_packages":
[
"LSP-rust-analyzer",
"Rust",
"Solarized Color Scheme",
"SublimeLinter",
"SublimeLinter-flake8",
"Terminus",
"Theme - Spacegray",
@AlexMikhalev
AlexMikhalev / course-design-cards-scss.markdown
Created December 18, 2024 22:53
Course design cards #scss
@AlexMikhalev
AlexMikhalev / create_bucket_s3.sh
Created September 6, 2024 11:33
Create AWS s3 bucket and make it publick
#!/bin/bash
bucket_name="my-unique-name"
aws s3api create-bucket --bucket "${bucket_name}" > /dev/null # 1
aws s3api put-public-access-block --bucket "${bucket_name}" --public-access-block-configuration "BlockPublicPolicy=false" # 2
aws s3api put-bucket-policy --bucket "${bucket_name}" --policy '{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
@AlexMikhalev
AlexMikhalev / Sublime Linux Keymap
Created June 16, 2024 19:50
Sublime Linux keymap for Mac users
[
{ "keys": ["alt+shift+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
{ "keys": ["ctrl+k","ctrl+a"], "command": "select_all" },
{ "keys": ["ctrl+e"], "command": "move_to", "args": {"to": "eol", "extend": false} },
{ "keys": ["ctrl+a"], "command": "move_to", "args": {"to": "bol", "extend": false} },
{ "keys": ["shift+right"], "command": "lsp_symbol_definition",
"args": {"side_by_side": false, "force_group": true, "fallback": false, "group": -1},
"context": [
{"key": "lsp.session_with_capability", "operand": "definitionProvider"},
{"key": "auto_complete_visible", "operand": false}
@AlexMikhalev
AlexMikhalev / config.toml
Created October 15, 2023 16:33
Helix Editor
# Editor Config
theme = "catppuccin_macchiato"
[editor]
scrolloff = 6
mouse = true
middle-click-paste = true
scroll-lines = 3
shell = [ "zsh","-c" ]
line-number = "absolute"
@AlexMikhalev
AlexMikhalev / python_time.py
Created May 11, 2023 14:52
Monitonic time in NS in python
import time
time_ns = time.monotonic_ns()
@AlexMikhalev
AlexMikhalev / sensor.jsonl
Created March 14, 2023 14:19
Synthetic data based on cloud events spec
{"data":"<much wow=\"xml\"/>","device_id":3,"device_type":"accelerometer","id":0,"timestamp":"2017-05-31T04:10:48+0000"}
{"data":{"appinfoA":"abc","appinfoB":123,"appinfoC":true},"device_id":1,"device_type":"temperature","id":1,"timestamp":"2013-07-17T23:18:51+0000"}
{"data":1.5,"device_id":1,"device_type":"flow","id":2,"timestamp":"2013-04-26T07:34:51+0000"}
{"data":"I'm just a string","device_id":3,"device_type":"accelerometer","id":3,"timestamp":"2001-10-01T22:52:57+0000"}
{"data":"eyAieHl6IjogMTIzIH0=","device_id":1,"device_type":"temperature","id":4,"timestamp":"2005-01-01T09:05:50+0000"}
{"data":"<much wow=\"xml\"/>","device_id":1,"device_type":"flow","id":5,"timestamp":"2012-09-08T19:14:16+0000"}
{"data":{"appinfoA":"abc","appinfoB":123,"appinfoC":true},"device_id":3,"device_type":"accelerometer","id":6,"timestamp":"2003-09-26T07:22:09+0000"}
{"data":1.5,"device_id":1,"device_type":"temperature","id":7,"timestamp":"2000-05-11T21:20:53+0000"}
{"data":"I'm just a string","device_id":1,"device_type":"flow