Skip to content

Archive / page 30

All articles

Every practical article from the Nalar archive, newest first.

Cybersecurity 15 Sep 2026 7 min read

CAA Records Constrain Public Certificate Issuance at the DNS Boundary

CAA Records Constrain Public Certificate Issuance at the DNS Boundary A public certificate can pass every browser check after issuance even if the domain operator never intended to use the certificate authority that created it. The Web PKI has several controls for detecting or responding to bad issuance, but DNS Certification Authority Authorization (CAA) acts earlier: it gives a domain holder a way to state which issuers are permitted to create certificates for a name.

Tech 15 Sep 2026 6 min read

Bluetooth Audio Latency Extends Beyond Codec Delay

Wireless headphones can sound clean yet place a game effect or instrument monitor noticeably behind the action on screen. The codec contributes to that delay, but it is only one stage in a longer path from application audio to the listener. A Bluetooth audio connection has buffers on both sides of the radio link. Audio may also pass through resampling, encoding, packet scheduling, decoding, and the receiver’s playback queue. Each stage can add time, and some stages deliberately hold data to keep playback stable when packet delivery is not perfectly regular.

Tech 15 Sep 2026 5 min read

Audio Sample Rate and Bit Depth Describe Different Limits

Two audio files can carry labels such as 44.1 kHz/16-bit and 96 kHz/24-bit, yet those numbers describe separate parts of the digital signal. A larger value in one field does not compensate for a smaller value in the other, and neither number by itself states the quality of the recording, mix, codec, speakers, or headphones. Sample rate describes how often an analog waveform is represented by discrete measurements over time. Bit depth describes how many numerical amplitude values are available for each sample in linear PCM audio. Keeping those roles separate makes format specifications much easier to interpret.

Software Engineering 15 Sep 2026 6 min read

Atomic Rename Separates Visibility From Crash Durability

A successful rename() can replace an existing pathname without exposing an interval in which that destination name is absent. That visibility property makes rename a common publication boundary for configuration files, checkpoints, manifests, and other file-backed state. It does not, by itself, establish that the replacement survives an abrupt loss of power. The distinction is between namespace atomicity and persistence. Atomic replacement constrains what concurrent observers can see while the system is running. Crash durability concerns which writes and metadata changes are guaranteed to remain after volatile state disappears. Treating those properties as equivalent creates a gap precisely at the failure boundary that atomic replacement is often intended to protect.

Tech 15 Sep 2026 7 min read

ARP Neighbor Cache Reuses Local IP-to-MAC Mappings

Sending an IPv4 packet across an Ethernet network requires two different kinds of addresses. The IP layer selects a next-hop IPv4 address, while the Ethernet frame needs a destination MAC address that identifies the next hop on the local link. Address Resolution Protocol (ARP) connects those two layers. A host can ask which MAC address corresponds to a local IPv4 address, receive a reply, and store the resulting mapping. Keeping that result in a neighbor cache avoids broadcasting the same question before every packet.

Artificial Intelligence 15 Sep 2026 6 min read

Account for Label Smoothing in Classifier Confidence

A classifier trained with one-hot targets is rewarded for moving probability mass toward the labeled class. Cross-entropy keeps decreasing as the model assigns that class a probability closer to one, even after the predicted class is already correct. Label smoothing changes this pressure by assigning a small amount of target mass to the other classes. That change is easy to treat as a minor detail in the loss function. It is not minor when an application consumes the model’s probability values. The smoothed target changes the optimum encouraged by the training objective, so confidence scores from a smoothed model should not be interpreted as if they came from the same objective as ordinary one-hot training.

Artificial Intelligence 15 Sep 2026 5 min read

Account for Hubness in Embedding Retrieval

An embedding index can return the same few items for many unrelated queries. Their similarity scores may look ordinary, and the nearest-neighbor algorithm may be operating correctly. The distortion can come from the geometry of the representation itself: some vectors become neighbors of unusually many other vectors. This effect is commonly called hubness. Hubness matters because nearest-neighbor retrieval is usually interpreted locally. A query asks which stored vectors are closest to it, but the index does not normally expose how often each candidate also appears near other queries. A candidate that repeatedly occupies neighbor lists can receive more retrieval opportunities than its semantic relevance warrants.

Cybersecurity 14 Sep 2026 9 min read

WebAuthn Makes the Site Part of the Authentication Proof

A phishing page can reproduce a login screen with near-perfect visual fidelity. It can copy logos, spacing, prompts, and even the sequence of an identity provider’s screens. With a password, visual imitation can be enough: the secret typed into the counterfeit page is still a valid secret at the real service. WebAuthn changes that exchange by making site identity part of the cryptographic operation. An authenticator does not merely produce a reusable answer after a person approves a prompt. It signs data associated with the relying party and with a browser-mediated ceremony. A credential registered for one relying party is not a general credential that another site can present unchanged.

Cybersecurity 14 Sep 2026 7 min read

WebAuthn Binds Credentials to a Web Origin

A convincing imitation of a login page can reproduce almost every visible detail of the original site. It can copy the logo, typography, form layout, error messages, and even the sequence of prompts. Password authentication gives that imitation a useful target: a secret that a person can type into the wrong origin and an attacker can relay or reuse elsewhere. WebAuthn changes that property. Its credentials are public-key pairs scoped to a relying party, and authentication produces a signed assertion tied to data supplied by the site and context supplied by the browser. The credential is not a reusable string exposed to the page. That difference moves a large part of phishing resistance from visual recognition into protocol enforcement.

Tech 14 Sep 2026 7 min read

Variable Refresh Rate Matches Display Timing to Frame Delivery

A fixed-refresh display updates on a regular clock. At 60 Hz, a new scan begins about every 16.7 milliseconds whether the graphics processor has completed a fresh frame or not. That regular schedule is simple, but rendered frames rarely arrive with perfectly regular timing. Variable refresh rate, commonly shortened to VRR, changes that relationship. Instead of forcing every display refresh to begin at one fixed interval, a compatible display can wait within an allowed timing range and start the next refresh when a completed frame is ready. The result can make changing frame rates look smoother while reducing visible tearing.

Tech 14 Sep 2026 6 min read

USB-C DisplayPort Alt Mode and Video Output

Two laptops can have USB-C ports that look identical while only one can drive a monitor through a simple USB-C-to-DisplayPort cable. The connector shape does not guarantee the signals available behind it. USB-C defines a reversible connector and a system for negotiating several capabilities. DisplayPort Alt Mode is one method that lets compatible equipment use high-speed USB-C lanes for DisplayPort signaling. Video output therefore depends on more than the presence of the port itself.

Tech 14 Sep 2026 6 min read

USB Selective Suspend Powers Down Idle Devices

A USB device can stay connected even when it has nothing useful to do. A fingerprint reader may wait for occasional input, a card reader may sit empty, and an external adapter may spend long periods without transfers. Keeping every attached device fully active during those gaps wastes power and can also keep other parts of the computer busier than necessary. USB selective suspend addresses that idle time. Instead of suspending an entire USB bus as one unit, the operating system can suspend an individual device or port while other devices on the same hub continue operating.

Tech 14 Sep 2026 5 min read

USB Power Delivery PPS Adjusts Charging Voltage in Small Steps

USB-C describes a connector, but the connector alone does not determine charging speed. A phone, charger, and cable have to support a compatible power method before higher charging rates become available. USB Power Delivery, commonly shortened to USB PD, provides a negotiation system for this job. Programmable Power Supply, or PPS, adds a more flexible mode in which a compatible device can request power at adjustable voltage and current levels.

Software Engineering 14 Sep 2026 7 min read

Transactional Outboxes Move Atomicity Into the Database

A service updates an order row and emits an event about that update. If the database commit succeeds but the broker publish fails, durable state says one thing while downstream consumers receive no corresponding message. Reversing the order only moves the gap: a successful publish followed by a failed database transaction exposes an event for state that never committed. The difficulty is not message syntax or retry configuration. It is atomicity across two systems that do not share a transaction. A transactional outbox changes the boundary. The application writes its domain state and a message record into the same database transaction, then a separate relay publishes committed outbox records to the broker.

Artificial Intelligence 14 Sep 2026 7 min read

Trade Activation Memory for Recomputation with Checkpointing

Backpropagation needs intermediate values from the forward pass to compute parameter and input gradients. Keeping every required activation alive until its gradient is calculated can consume substantial device memory, especially as model depth, batch size, or sequence length grows. Activation checkpointing changes which intermediates are retained. Selected boundary tensors remain available, while activations inside a checkpointed region are discarded after the forward pass and produced again when the backward pass reaches that region. The model computes the same conceptual function, but the execution schedule exchanges additional computation for lower activation storage.

Artificial Intelligence 14 Sep 2026 6 min read

Track Model Weights with an Exponential Moving Average

Optimizer updates can move model parameters back and forth even when the broader trajectory changes more gradually. An exponential moving average, or EMA, keeps a second parameter state that follows those updates with smoothing. The trainable model still receives ordinary optimizer updates; the EMA state is a derived copy used separately, often for evaluation or export. The mechanism is compact, but its behavior depends on decay, update frequency, initialization, and which state is actually saved or evaluated.

Cybersecurity 14 Sep 2026 8 min read

TLS Early Data Trades Latency for Replay Risk

A client reconnects to a service it visited recently and sends an HTTP request before the new TLS handshake has finished. The request can reach application processing sooner than traffic sent after handshake completion. That small latency gain is attractive at scale, but it changes a property applications often take for granted: a protected request is not automatically a fresh request. TLS 1.3 calls this feature early data, commonly described as 0-RTT data. It is available only in suitable resumed sessions, not on an initial connection with no prior session state. The client uses information associated with a previous connection to protect data sent immediately. The server can accept that data before the new handshake completes.

Artificial Intelligence 14 Sep 2026 5 min read

Tie Input Embeddings to the Output Projection

A language model can contain two large matrices indexed by the same vocabulary: one maps token IDs into embedding vectors, while another maps hidden states into vocabulary logits. Weight tying makes those roles share parameters instead of maintaining two independent matrices. The change is compact in code, but it affects parameter counting, gradient flow, dimensional constraints, checkpoint handling, and any component that assumes the input and output weights are separate.

Tech 14 Sep 2026 6 min read

Thermal Throttling Cuts Chip Speed as Heat Rises

A processor can feel fast during a short task and then slow during a long render, game, compile, or benchmark. One common cause is thermal throttling: automatic control that reduces chip activity as temperature approaches a configured limit. The mechanism protects the processor and surrounding hardware while keeping the system operating. It also means that advertised peak clock speeds do not describe sustained performance in every enclosure, workload, or ambient temperature.

Tech 14 Sep 2026 6 min read

TCP Keepalive Probes Detect Dead Idle Connections

A TCP connection can remain established even when no application data is moving. That is useful for database sessions, remote shells, messaging links, and other services that may stay quiet for long periods. Silence also creates an awkward case. A peer can lose power, move to another network, or disappear behind a failed path without sending a TCP FIN or RST. The other endpoint may retain an established connection because it has received no packet proving that the path is gone.

Tech 14 Sep 2026 6 min read

TCP Fast Open Sends Data During Connection Setup

A conventional TCP connection separates setup from application traffic. The client sends a SYN, the server replies with SYN-ACK, and the client completes the three-way handshake with an ACK. Application data normally follows after that exchange has established the connection. For short transactions, that setup time can be a meaningful part of the total delay. A request may contain only a few hundred bytes, yet it still waits for a network round trip before the server can receive it through the established connection.

Cybersecurity 14 Sep 2026 6 min read

Subresource Integrity Pins Browser Dependencies to Expected Bytes

Subresource Integrity Pins Browser Dependencies to Expected Bytes A production page can contain no application-side injection flaw and still execute hostile JavaScript if a trusted external asset changes underneath it. The script URL may be correct, TLS may be valid, and the browser may have reached the intended host. None of those facts establish that the returned file is the exact artifact the site operator approved. Subresource Integrity, commonly shortened to SRI, adds that missing assertion for selected browser-loaded scripts and stylesheets. An integrity attribute carries one or more cryptographic digest values. After fetching the resource, the browser computes the digest of the representation used for the integrity check and refuses to apply or execute it when no supported digest matches.

Tech 14 Sep 2026 5 min read

SSD TRIM Marks Unused Blocks Before New Writes

Deleting a file changes filesystem metadata, but a solid-state drive cannot infer from that metadata alone which stored pages no longer contain useful data. Without an extra signal, the drive may continue treating those pages as valid even after the operating system has released their logical addresses. TRIM provides that signal. It lets the operating system tell the SSD that selected logical block addresses no longer hold data that must be preserved. The controller can then treat the corresponding flash pages as disposable during later maintenance and write preparation.

Tech 14 Sep 2026 6 min read

SSD TRIM Marks Deleted Blocks for Reuse

Deleting a file and erasing data from flash memory are separate events on a solid-state drive. A file system can mark storage as free without immediately forcing the SSD to erase the corresponding flash cells. TRIM connects those two layers. It lets the operating system tell the drive that selected logical block addresses no longer contain data the system needs to preserve. File deletion changes the host view first A file system keeps metadata that maps files to logical storage locations. When a file is deleted, the file system can release those locations for later use. From the operating system’s perspective, the space becomes available quickly.