summaryrefslogtreecommitdiffstats
path: root/_log/bumblebee.md
blob: 7962279a07a6afd4f09e4492d688a6a8d407be6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: Web script synthesizer
date: 2025-04-02
layout: post
project: true
thumbnail: thumb_sm.png
---

One year at trading firm; scripts are saturating CPUs, stalling servers.
Forced to restart them.

2025-02: Built a C# WinForms app to record browser sessions and synthesize
better scripts.

<video style="max-width:100%; margin-bottom: 10px" controls="" poster="poster.png">
  <source src="bee.mp4" type="video/mp4">
</video>

JS hooks, WebView2 browser, Scintilla.NET editor emit events. Backend
interprets them and emits Selenium browser automation code.

Two linear lists store events and code—no time for ASTs. Mid-session manual
edits desync lists, block optimizer. Workaround: only edit script after
recording.

2025-03: Shipped first iteration. Began work on key optimization: bypass the
browser, grab data files directly.

2025-04: Abandoned project. Left the firm.