Author: rudy

  • Alice Technical Journal

    Homework System: Upload Queue, Video Processing, Copy/Clone, and UX Simplification Context Alice is a Laravel + Inertia + React application for academic management.This journal documents a sequence of production changes and bug fixes related to Homework, focusing on Customers, Teachers, and Admins. The goal of these changes was: 1. Customers > Homework: Progress & Proof Upload 1.1 Progress Tracking…

  • Egis Technical Journal

    Closing Binance Positions, Phantom Shorts, and Budget Drift Context I’m building Egis, a private trading system (Laravel 12 + Inertia + React) with multiple exchanges: The system has a shared internal positions table used for: Each exchange may also have exchange-specific tables (e.g. paper_positions). 1. The Initial Symptom After closing a LONG position on Binance: This SHORT was not real. It existed…

  • Egis Technical Journal

    Date: 23/01/2026Topic: Binance Futures Integration (Open, Sync, Close Position) 1. Goal of the Day Integrate real Binance USDⓈ-M Futures trading into Egis so that: Key principle throughout the day: Binance is the source of market truth.Egis is the source of accounting truth.Frontend is display-only. 2. Exchange Architecture (Confirmed Working) Adapter-based design This allowed adding Binance without touching bot/order logic. 3.…

  • Alice Technical Journal — Homework Progress, Media Stability & Debugging

    1) Customers > Homework Detail — Link Progress Error Debugging Action 2) Customers > Homework Detail — Video Upload Stability Action 3) Customers > Homework Detail — Video Upload UX Fixes (Confirmed) 4) Admin > Academic > Homework — SQL Error Fix Action 5) Teacher Controller Runtime Error Fix Action 6) Admin > Academic >…

  • Alice Technical Journal — Customers Homework & Admin Review Enhancements

    1) Customers > Homework Detail — Media Upload & Processing Flow 2) Customers > Homework Detail — Skill Progress Logic 3) Customers > Homework Detail — Admin Comments Visibility 4) Admin > Academic > Homework Detail — Proof & Review Improvements 5) Admin Proof Video Playback — Processing Fallback 6) Admin > Insights > Media…

  • Egis – Technical Journal (Day 1)

    1. Project Intent & Philosophy Egis is a private, mobile-first trading system designed around discipline, clarity, and safety. Core principles: The system prioritizes correct structure over speed or feature volume. 2. Stack & Environment Backend Frontend Critical Safety Rule 3. Authentication & Roles Access Model Roles There are only two roles: Admin Definition Example: [email protected]

  • Technical Journal — Customers Homework: Link-level Progress Tracking

    AreaCustomers > Homework Detail ChangeAdded link-level progress tracking inside each skill so parents can track partial completion across sessions. Details Data Model Rules Technical Journal — Customers Homework: Auto Skill Completion AreaCustomers > Homework Detail ChangeRemoved manual “Đánh dấu hoàn thành” button. New Behavior Backend Impact Technical Journal — Customers Homework: Video Upload Flow Redesign…

  • Alice Technical Journey

    Technical Journal — Multi-Teacher Task Completion AreaAdmin > Academic > Tasks ChangeRedesigned task completion logic to support multiple teachers per task. Implementation Notes Business Logic UI Updates Technical Journal — Student Photo Upload (Admin) AreaAdmin > Academic > Students ChangeAdded ability for Admin to upload and manage a photo for each student. Implementation Notes Stored…

  • Alice – Technical Journal (Reconstruction Notes)

    0. Core Philosophy & System Principles Product mindset Stack 1. Roles & Layout Strategy Roles Layouts 2. Academic > Homework (Core System) Homework Structure Skill Rules Progress Model 3. Homework Creation & Management Admin > Academic > Homework 4. Teacher > Homework Teacher > Homework = Hub Two entry points: (No teacher assignment logic –…

  • Alice App – Technical Journal Series

    Journal 01 – System Overview & Philosophy Alice is a school management system built with Laravel + Inertia + React, designed with three primary roles: Core principles Journal 02 – Authentication & Roles Roles Customer (Parent) auth Reasoning: Parents are lazy, non-technical, and mobile-first.Reduce friction to the absolute minimum. Journal 03 – Customer Layout & UX Customer…