Skip to content

Instantly share code, notes, and snippets.

View object's full-sized avatar

Vagif Abilov object

View GitHub Profile
@object
object / av1-overlapping-bitrates-transcript.md
Created September 22, 2026 19:36
AV1 overlapping bitrate session transcript

Session transcript — AV1 overlapping bitrate bug

Date: 2026-09-22 Working directory: C:\Projects\NRK\distribution-oddjob Branch: bugfix/overlap-av1-bitrate @ df5879cd2 Model: Claude Opus 5 (1M context), via Claude Code

Reconstructed from the session context. User and assistant messages are verbatim. Tool calls are listed in order with their outputs abridged where long — elisions are marked […]. Long file reads are summarised as the range read rather than reproduced.

@object
object / av1-overlapping-bitrates-summary.md
Created September 22, 2026 19:35
AV1 Overlapping bitrate session summary

Debug session: AV1 retranscoding with overlapping bitrate

Date: 2026-09-22 Branch: bugfix/overlap-av1-bitrate Base commit: df5879cd2 (fix error in test, correct smil content)

The task

A failing test existed in tests/IsolatedTests/PsTests.fs:

@object
object / quartz4-upgrade.md‎
Created September 17, 2026 15:36
Akka.Quartz.Actor upgrade prompt
## Introduction
The scope of work is to upgrade projects in this solution so they refence Quartz.NET 4.0 instead of 3.x.
Quartz 4.0 Release notes: https://www.quartz-scheduler.net/posts/2026-09-03-quartznet-4.0-released.html
## Requirements
- Support for .NET Standard and .NET Framework is discontinued. All projects support only .NET 10.
- File Directory.Build.props contain PropertyGroup that defines NetFrameworkTestVersion, NetStandardLibVersion and NetTestVersion. They will all need to be replaced with a single entry NetFrameworkTestVersion that is set to net10.0.
- xunit should be upgraded to xunit.v3.
- Referenced NuGet packages should also be updated with latest compatible versions (no pre-release).
@object
object / StatefulCounterActor.fs
Last active March 25, 2026 08:06
Counter actor (stateful)
let counterActor (mailbox: Actor<_>) =
let rec loop lastTime countTotal countMigrated countFailed =
actor {
let! event = mailbox.Receive()
let countTotal = countTotal+1
return!
match event with
| Increment.Total currentId ->
if countTotal % 1000 = 0 then
// Omitted debug print to console
@object
object / AdventOfCode2025.Day05.fsx
Last active December 5, 2025 06:25
AdventOfCode2025.Day05.fsx
#time "on"
open System
open System.IO
let input =
File.ReadAllLines(__SOURCE_DIRECTORY__ + "/../data/input05.txt")
|> Seq.toList
let ids = input |> List.skipWhile(fun line -> line <> "") |> List.tail |> List.map Int64.Parse
@object
object / AdventOfCode2025.Day04.py
Created December 4, 2025 05:50
AdventOfCode2025.Day04.py
import pyperclip
input = pyperclip.paste().splitlines()
# Part One
grid = {}
for r in range(len(input)):
for c in range(len(input[r])):
grid[(int(r),int(c))] = input[r][c]
@object
object / AdventOfCode2025.Day02.fsx
Created December 2, 2025 07:40
AdventOfCode2025.Day02.fsx
#time "on"
open System
open System.IO
let input =
File.ReadAllText(__SOURCE_DIRECTORY__ + "/../data/input02.txt")
let ranges =
input.Split(',')
@object
object / AdventOfCode2025.Day01.fsx
Last active December 2, 2025 07:40
AdventOfCode2025.Day01.fsx
#time "on"
open System
open System.IO
let input =
File.ReadAllLines(__SOURCE_DIRECTORY__ + "/../data/input01.txt")
|> Seq.toList
@object
object / AdventOfCode2024.Day14.py
Last active December 14, 2024 14:22
Advent of Code 2024, day 14
import re
with open("./data/input14.txt") as inputFile:
input = inputFile.read().splitlines()
init = []
for line in input:
m = re.findall(r'p=(-?\d+),(-?\d+) v=(-?\d+),(-?\d+)', line)
p = (int(m[0][0]), int(m[0][1]))
@object
object / AdventOfCode2024.Day13.py
Created December 13, 2024 07:11
Advent of Code 2024, day 13
from itertools import groupby
import re
with open("./data/input13.txt") as inputFile:
input = inputFile.read().splitlines()
groups = [list(sub) for is_empty, sub in groupby(input, key = lambda x: x == '') if not is_empty]
machines = []
for group in groups: