Tag

Decoder

1 views collected around this technical thread.

Cognitive Technology Team
Cognitive Technology Team
Jul 7, 2024 · Backend Development

Understanding TCP Packet Framing Issues and Netty Decoder Solutions

This article explains the TCP packet fragmentation and aggregation problems, introduces Netty's various decoder mechanisms such as FixedLengthFrameDecoder, LineBasedFrameDecoder, DelimiterBasedFrameDecoder, LengthFieldPrepender, and LengthFieldBasedFrameDecoder, and provides detailed configuration examples and code snippets for implementing robust TCP protocols.

DecoderFramingJava
0 likes · 7 min read
Understanding TCP Packet Framing Issues and Netty Decoder Solutions
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 11, 2024 · Backend Development

Netty Packet Framing: Handling TCP Sticky and Unsticky Packets

This article explains TCP packet fragmentation and aggregation (sticky/unsticky packets), demonstrates the phenomena with examples, and provides detailed solutions using Netty's built‑in decoders such as FixedLengthFrameDecoder, LineBasedFrameDecoder, DelimiterBasedFrameDecoder, and LengthFieldBasedFrameDecoder, including code samples and configuration tips.

DecoderJavaNetty
0 likes · 26 min read
Netty Packet Framing: Handling TCP Sticky and Unsticky Packets
Nightwalker Tech
Nightwalker Tech
Jul 19, 2023 · Artificial Intelligence

Step‑by‑Step Implementation of Transformer Blocks, Attention, Normalization, Feed‑Forward, Encoder and Decoder in PyTorch

This article provides a comprehensive tutorial on building the core components of a Transformer model—including multi‑head attention, layer normalization, feed‑forward networks, encoder and decoder layers—and assembles them into a complete PyTorch implementation, supplemented with explanatory diagrams and runnable code.

AttentionDecoderEncoder
0 likes · 13 min read
Step‑by‑Step Implementation of Transformer Blocks, Attention, Normalization, Feed‑Forward, Encoder and Decoder in PyTorch
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jul 15, 2022 · Mobile Development

Swift JSON Decoding Solutions: Comparison and Custom Implementation

The article surveys common Swift JSON decoding approaches—including manual Unbox, HandyJSON, Sourcery, built-in Codable and BetterCodable—highlights their strengths and weaknesses, then presents a custom NEJSONDecoder that adds default values, key mapping, type compatibility, tolerant error handling, and transformation support, with performance benchmarks.

BetterCodableCodableDecoder
0 likes · 23 min read
Swift JSON Decoding Solutions: Comparison and Custom Implementation
iQIYI Technical Product Team
iQIYI Technical Product Team
Nov 8, 2019 · Artificial Intelligence

FASPell: A Fast, Adaptable, Simple, Powerful Chinese Spell Checker Based on DAE‑Decoder Paradigm

FASPell, a fast and adaptable Chinese spell checker, combines a denoising auto‑encoder with a confidence‑character‑similarity decoder to overcome data scarcity and rigid confusion sets, leveraging unsupervised pre‑training and glyph‑phonetic similarity, delivering simpler architecture, faster inference, and state‑of‑the‑art accuracy for both simplified and traditional Chinese.

AIChinese Spell CheckingDAE
0 likes · 8 min read
FASPell: A Fast, Adaptable, Simple, Powerful Chinese Spell Checker Based on DAE‑Decoder Paradigm