Skip to content
File

Blob: references/experience-and-connections.md

Markdown50 lines

Experience and connections

Rachel brings experience from one project into the next. A brief question often assumes that shared technical background. Recognizing it helps identify the interesting uncertainty and avoids making them explain the same foundations again.

WebRTC: go-wish, vue-wish, ESP32, and Composer

go-wish tests publishing media to a WebRTC server and playing it back through the WHIP and WHEP signaling APIs. The Go implementation uses Pion's WebRTC stack; vue-wish implements the browser side. The work includes configuring peer connections, exchanging session descriptions that specify media capabilities, setting up secure transport, and exchanging network-address candidates as they become available. These are the practical integration concerns behind SDP, DTLS/SRTP, and trickle ICE.

That background informed the ESP32 DataChannel question. An ESP32 microcontroller board streamed music and telemetry to browsers and accepted LED controls. WebRTC carried the media; its DataChannel facility was intended to carry application messages alongside it. When an investigation concluded that the embedded SDK could not send through a DataChannel, Rachel asked:

can you investigate how we can use datachannel? i feel like we are missing something

The probe had disabled automatic channel creation without creating a local channel. Adding that call enabled transmission. Rachel later confirmed that their WebRTC experience was the basis of the challenge.

The useful connection is between an established domain model and a surprising local conclusion. Inspect the adapter, initialization, negotiation, and observed peer state before replacing the transport. Start the explanation at what differs in this SDK.

Composer combines live input streams into an output production. Its WebRTC inputs must establish a network path and negotiate compatible media before they can contribute to that output. ICE gathering—the collection of possible network addresses for a connection—was a sensible hypothesis for a failed input. The failed peer actually gathered faster than successful peers, shifting attention to differences in the negotiated media offer. Familiarity helps choose a question; the current evidence supplies the answer.

Networking: t into Specter

t exposed applications running behind a tunnel client through public gateway peers. A request arriving at one gateway could need forwarding through another peer to reach the client, so the network needed discovery, routing, and a way to open streams across different links. Mixed TCP/QUIC connections accommodated environments where cloud firewalls interfered with UDP connectivity. Specter, a later distributed tunneling system, adopted its gateway and began adopting its client.

Specter also distributes key-value data across nodes. Joining or departing nodes can change which node owns a key. Its handler checks whether a routed operation still belongs locally and holds the relevant ownership locks through execution. Membership changes can otherwise invalidate a route between lookup and use.

This background is useful when discussing authority, changing ownership, and stale observations. Explain where a new design keeps a decision valid through its effect. The particular invariant and failure window are a useful starting point for the discussion.

Storage: Dermail, b, and Git readers

Dermail, an email application, used folder-specific indexed ranges and pagination positions to select mail before merging results. The storage service b removed a temporary-file round trip by streaming uploads directly into the destination. These projects provide experience with access paths, dataflow, buffering, and resource lifetimes.

Vaskel, a messaging and media application, extracts thumbnails from uploaded videos kept in remote object storage. A video parser's small nearby reads could each become a separate remote request. Rachel pointed to a reader in git-on-cloudflare, which serves Git repository data from object storage, as a useful analogy. Keeping two small read-ahead buffers reduced remote operations while preserving bounded retained memory. The shared problem was translating fine-grained local reads into economical remote access.

The connection is the shape of the data access. Removing a redundant staging copy and adding useful read-ahead can both improve a system. Follow where bytes move, how often remote work happens, and what remains allocated.

Product work: SlugSurvival and later interfaces

SlugSurvival addressed the practical difficulty of university course enrollment. Course planning, historical offerings, opening notifications, search, and offline use served different moments in that task. The product joined backend mechanisms to decisions a student needed to make.

Later interventions in Bland, a collaborative page editor, and Composer, the live media tool, fit that experience. Moving an editor page in a hierarchy must make the resulting parent clear. Selecting a live media source whose session identifiers change calls for discovery, so the operator can find what is available. Internal bookkeeping such as “revision 4” belongs in the interface only if it helps the operator act.

Discuss capability and interaction together. A richer model can be the simpler product to use.

Hardware: G14 investigation and ESP32

G14Manager implements controls for an ASUS G14 laptop. The supporting investigation traced keyboard and brightness behavior through USB reports, firmware interface information, drivers, and services. Comparing Space with Ctrl+Space helped separate a key code from its modifier field. Distinguishing the driver that exposed the device from a vendor service competing for control explained why one component needed to remain installed while the other interfered.

That experience is relevant to embedded debugging: identify the boundary, vary an input that distinguishes explanations, and observe the device's response. Keep differences between board variants, transports, and APIs explicit.

Use these connections to set the starting point for collaboration. When the current problem adds a new constraint, explain that constraint and its consequences. Ask about the missing fact that changes the decision.