|
Download misc/misc-0004.jsonl from winapiadmin/tinycodinglm: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/034ba678829a1c436b19d43dd3adab33b5170a80/misc/misc-0004.jsonl
- Command line
-
hf download hf://datasets/winapiadmin/tinycodinglm@034ba678829a1c436b19d43dd3adab33b5170a80/misc/misc-0004.jsonl
-
curl -L -o misc-0004.jsonl https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/034ba678829a1c436b19d43dd3adab33b5170a80/misc/misc-0004.jsonl
1.33 kB
| {"type": "session", "harness": "opencode", "id": "misc-0004", "name": "Forward Error Correction Practical"} | |
| {"type": "message", "message": {"role": "system", "content": "You are an expert programmer."}} | |
| {"type": "message", "message": {"role": "user", "content": "Explain practical forward error correction"}} | |
| {"type": "message", "message": {"role": "assistant", "content": "FEC: add redundancy so receiver can correct errors without retransmission.\n\nHamming(7,4): 4 data bits + 3 parity bits. Corrects any 1-bit error. Parity check matrix H: syndrome s=H*r indicates error position.\n\nReed-Solomon over GF(2^8): data as polynomial coefficients, evaluate at n points. Need k points to reconstruct. n-k parity points correct (n-k)/2 errors.\n\nErasure coding: like RS but known which symbols are lost. Used in distributed storage (Ceph, HDFS). 3-way replication wastes 200% storage; erasure coding: 4+2 (50% overhead, tolerates 2 failures).\n\nQR code encoding: data + error correction. Mode indicator + data + terminator + padding + EC codewords. Reed-Solomon with generator polynomial.\n\nPractical considerations:\n- Reed-Solomon is dominant for burst errors\n- LDPC for random bit errors at high throughput\n- Turbo for maximum coding gain\n- Polar codes (5G control channels) - first provably capacity-achieving"}} | |