Skip to content

Instantly share code, notes, and snippets.

View cdeil's full-sized avatar

Christoph Deil cdeil

View GitHub Profile

trackers Package — Python Code Review

PR-01 — Fix ByteTrack no-op when detections.confidence is None

Priority: P0
Size: small
Consensus: Opus + GPT
Files: src/trackers/core/bytetrack/tracker.py, tests under tests/core/

cdeil@kMac test123 % time patrol test --device chrome --target patrol_test/login_test.dart
Error: target file patrol_test/login_test.dart does not exist
patrol test --device chrome --target patrol_test/login_test.dart 0.20s user 0.08s system 55% cpu 0.510 total
cdeil@kMac test123 % mkdir patrol_test
cdeil@kMac test123 % touch patrol_test/login_test.dart
cdeil@kMac test123 % time patrol test --device chrome --target patrol_test/login_test.dart
Unhandled exception:
Error: Failed to read patrol version. Make sure you have patrol dependency in your pubspec.yaml file
#0 throwToolExit (package:patrol_cli/src/base/exceptions.dart:7:3)
#1 CompatibilityChecker.checkVersionsCompatibility.<anonymous closure>.<anonymous closure> (package:patrol_cli/src/compatibility_checker/compatibility_checker.dart:101:17)
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Runner [83564]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/AF113FB9-9946-4379-A8CB-C154569BFF3A/data/Containers/Bundle/Application/E650F580-944C-4136-B654-E1FEF3336DFB/Runner.app/Runner
Identifier: de.stocadro.stocadroai
Version: 1.0.0 (1)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd_sim [79348]

VSCode Copilot Parser - Technical Summary

Implementation notes for the VSCode Copilot chat session parser in agentsview.

What's Implemented

The parser ingests VSCode Copilot chat sessions from local disk, covering:

  • VSCode Stable (~/Library/Application Support/Code/User/)
  • VSCode Insiders (~/Library/Application Support/Code - Insiders/User/)

Count Discrepancies in agentsview UI

The status bar (bottom-left) and analytics dashboard (main area) show different numbers for sessions, messages, and projects. There are three separate causes.

Sessions

  • Status bar: stats.session_count — trigger-maintained counter on INSERT/DELETE on the sessions table. Counts all sessions including empty ones (message_count = 0).
  • Dashboard: SELECT ... FROM sessions WHERE message_count > 0 AND <date/project/agent filters>. Excludes empty sessions and defaults to a 1-year date range (analytics.svelte.ts sets from = daysAgo(365)).
  • Sidebar: Like dashboard but with sidebar-specific filters and no default date range.

Swift Package Manager Support for printing Plugin

I have implemented full Swift Package Manager (SPM) support for the printing package on iOS and macOS, following the official Flutter guidelines and addressing the limitations of mixed-language targets in SPM.

Implementation Details

1. Package.swift Creation

I created printing/ios/Package.swift and printing/macos/Package.swift. These manifests define the library targets and dependencies.

2. Handling Mixed Language Limitations

Swift Package Manager Support for package:printing — Implementation Report

Summary

This report documents the implementation of Swift Package Manager (SPM) support for the printing Flutter plugin, as requested in DavBfr/dart_pdf#1778.

Flutter is migrating from CocoaPods to Swift Package Manager. CocoaPods is now in maintenance mode. This change future-proofs the printing plugin by supporting both SPM and CocoaPods.

What Was Done

Prompt

I'm running into this issue again:

Dart-Code/Dart-Code#5847 microsoft/vscode#284024

Can you please check any relevant logs or state concerning VS Code and try to figure out what happened?

Write a Markdown report with your findings.

import SwiftUI
import YOLO
struct StocadroYOLOView: View {
@State private var inputImage: UIImage = UIImage(named: "bus") ?? UIImage()
@State private var isYoloLoading: Bool = true;
@State private var yoloResult: YOLOResult?
let yolo = YOLO("yolo11n", task: .detect)
name: Integration Tests
on: [pull_request]
jobs:
android-test:
runs-on: ubuntu-latest-8-core
timeout-minutes: 25
steps: