Skip to content

Archive / page 29

All articles

Every practical article from the Nalar archive, newest first.

Software Engineering 15 Sep 2026 7 min read

Generation Counters Reject Stale Async Results

An asynchronous operation can start first and finish last. If every completion writes into the same state slot, completion order becomes state order even when the application intended request order to define authority. This race appears without shared-memory threads. Two network requests, background computations, database queries, or worker messages can overlap through an event loop and return in the opposite order from their initiation. The older result is not necessarily incorrect data. It is stale because a later request has superseded the state transition that originally authorized it.

Tech 15 Sep 2026 6 min read

Flash Wear Leveling Spreads Erase Cycles Across NAND Cells

NAND flash has a finite endurance budget. Programming changes stored charge, but cells cannot simply overwrite arbitrary existing data in place. Pages are programmed inside larger erase blocks, and an erase operation resets a block before its pages can accept fresh programming. That geometry creates an endurance problem. A workload may update the same logical address thousands of times even though the drive contains many other blocks that receive almost no writes. If every logical address stayed permanently tied to one physical location, a small hot region could reach its erase-cycle limit while much of the flash remained lightly used.

Cybersecurity 15 Sep 2026 6 min read

Fetch Metadata Makes Cross-Site Request Context Visible

Fetch Metadata Makes Cross-Site Request Context Visible A server receiving an authenticated HTTP request often sees valid cookies, a plausible path, and a method that the application accepts. Those facts do not reveal whether the request began inside the application’s own page or was triggered by a document on another site. For endpoints that change state, that missing context has long been central to cross-site request forgery defenses. Fetch Metadata request headers expose part of the context already known to the browser. Headers such as Sec-Fetch-Site, Sec-Fetch-Mode, Sec-Fetch-Dest, and Sec-Fetch-User describe relationships and properties surrounding a request. A server can use those signals to reject request patterns that do not belong to its application architecture.

Software Engineering 15 Sep 2026 7 min read

Fencing Tokens Reject Stale Lock Holders

A process acquires a distributed lease, pauses long enough for that lease to expire, then resumes. Another process has already acquired the same lease. At that moment both processes can execute code that was entered under an apparently valid acquisition, even though only the newer owner should retain authority. The lease itself cannot retract instructions from the paused process. Expiration changes coordination state; it does not erase local state, stop a suspended runtime, or cancel an operation already queued elsewhere. This gap is the central limitation of treating a distributed lock as a remote version of an in-process mutex.

Software Engineering 15 Sep 2026 6 min read

Fencing Tokens Reject Stale Lease Holders

A distributed lease can expire while its holder is paused. The holder may later resume with local state that still says it owns the lease, even though another client has acquired a newer lease. If the protected resource accepts commands solely because a client once acquired ownership, both clients can act during the same logical ownership interval. Fencing tokens move part of the ownership check to the resource receiving the mutation. Each successful lease acquisition receives a token greater than every token issued before it. The protected resource records the greatest token it has accepted and rejects operations carrying an older value.

Software Engineering 15 Sep 2026 8 min read

Expect 100-Continue Defers Request Body Transfer

An HTTP/1.1 client can send request headers containing Expect: 100-continue and hold back the request body while the server evaluates those headers. The server can answer with 100 Continue, allowing body transfer to proceed, or send a final response when it can reject the request without receiving the payload. This splits one request into a metadata decision boundary followed, conditionally, by body transmission. The mechanism matters most when a request body is costly to transmit and the server can make a useful decision from request metadata alone. Authentication failure, an unsupported method, or another header-visible rejection can terminate the exchange before those bytes cross the connection. The same split also creates a timing dependency: a client cannot wait forever for an interim response, and servers and intermediaries must preserve the protocol semantics closely enough for progress.

Tech 15 Sep 2026 6 min read

eSIM Profiles Separate Subscriptions from the Chip

A removable SIM combines two ideas that are easy to treat as one: a physical secure component and the carrier subscription data used by that component. Moving the card between compatible phones moves both together. An eSIM changes that relationship. The device contains an eUICC, a secure component designed to hold SIM profiles, while compatible subscription profiles can be provisioned remotely. The hardware stays in the device when a profile is added, disabled, or removed.

Tech 15 Sep 2026 6 min read

EDID Advertises Display Modes to Video Sources

A computer does not usually guess a monitor’s native resolution from the image it sees. The display exposes a small block of capability data called Extended Display Identification Data, or EDID. A video source reads that data and uses it as one input when building the list of resolutions, refresh rates, color formats, and related options offered to the operating system. EDID is descriptive rather than a guarantee that every advertised combination will work through every connection. The source, cable, adapter, dock, receiver, link bandwidth, graphics driver, and display input can impose additional limits.

Cybersecurity 15 Sep 2026 8 min read

DNSSEC Validation Makes DNS Tampering Detectable at the Resolver

DNSSEC Validation Makes DNS Tampering Detectable at the Resolver A recursive resolver can receive a syntactically valid DNS answer from the network and still have no cryptographic evidence that the answer came from the zone responsible for the name. Transaction identifiers, source-port randomization, and transport controls make blind forgery harder, but they do not turn ordinary DNS records into authenticated data. DNS Security Extensions add that missing property for signed portions of the namespace. Resource-record sets carry signatures, zones publish signing keys, and parent zones can bind child keys into a chain rooted in a configured trust anchor. A validating resolver can then classify data according to cryptographic evidence instead of accepting an answer solely because it arrived through the expected DNS exchange.

Cybersecurity 15 Sep 2026 7 min read

DNSSEC Makes DNS Data Verifiable Across Resolver Boundaries

DNSSEC Makes DNS Data Verifiable Across Resolver Boundaries A recursive resolver can receive a DNS response from the expected network address and still lack cryptographic proof that the record came from the zone owner. Traditional DNS uses transaction matching, delegation structure, and transport behavior to associate replies with queries. Those controls can reject many stray packets, but they do not make returned resource-record data cryptographically verifiable. DNS Security Extensions, commonly called DNSSEC, add signatures and a chain of authenticated delegation to that model. A validating resolver can test whether signed data corresponds to a key authorized through the DNS hierarchy. The result is narrower than encrypted DNS: DNSSEC authenticates DNS data, not the confidentiality of the query path.

Tech 15 Sep 2026 6 min read

DNS TTL Controls Cache Reuse

DNS TTL Controls Cache Reuse DNS resolvers avoid repeating the full lookup process for every request by caching resource records. Each cached record set carries a time to live, or TTL, that limits how long the resolver can normally reuse that data before consulting its source again. A longer TTL can reduce query traffic and make repeated lookups faster. A shorter TTL narrows the period in which cached data can remain in use after an authoritative record changes. The value therefore connects DNS performance with the timing of operational changes.

Cybersecurity 15 Sep 2026 6 min read

DNS Rebinding Turns Hostname Trust Into Network Reach

DNS Rebinding Turns Hostname Trust Into Network Reach A browser tab can keep the same scheme, hostname, and port while the IP address behind that hostname changes. That ordinary property of DNS becomes dangerous when software assumes the address reached by a browser is fixed for the lifetime of an origin. DNS rebinding attacks exploit the gap between two identities. Browser security policy is largely expressed in terms of origins, where a hostname is part of the identity. Network services often reason in terms of addresses and interfaces: loopback, a private subnet, a management VLAN, or another location considered unreachable from the public internet. Rebinding can preserve the browser-visible hostname while steering later connections toward a different network address.

Cybersecurity 15 Sep 2026 5 min read

DNS Rebinding Turns Browser Origin Trust Into a Network Pivot

DNS Rebinding Turns Browser Origin Trust Into a Network Pivot A browser can keep treating a page as belonging to the same web origin even after the hostname behind that origin starts resolving to a different IP address. That separation between origin identity and network destination creates the opening for DNS rebinding. The attacker does not need to convince a local service to initiate an outbound connection. Instead, a page already running in the browser issues requests under an attacker-controlled hostname. If subsequent DNS resolution maps that hostname to a loopback, private, or otherwise locally reachable address, the browser can become a bridge between remote content and a service exposed only to the victim’s network.

Tech 15 Sep 2026 4 min read

DNS Negative Caching Reuses Name Errors

DNS caches are not limited to successful address lookups. A recursive resolver can also retain an authoritative answer that says a requested name does not exist or that a particular record type has no data. This behavior is called negative caching. It prevents repeated requests for the same missing data from reaching authoritative DNS servers on every lookup. Negative answers cover different cases A DNS response can report that an entire domain name does not exist. The NXDOMAIN response code represents this case.

Tech 15 Sep 2026 7 min read

DNS Negative Caching Keeps Failed Lookups Temporary

A DNS lookup does not always return an address or another requested record. An authoritative server can report that a domain name does not exist, or it can report that the name exists but has no record of the requested type. Recursive resolvers can keep these negative answers in cache for a limited period. That behavior reduces repeated traffic for the same failed lookup and prevents authoritative servers from receiving identical questions on every client attempt.

Tech 15 Sep 2026 5 min read

Display Overdrive and Inverse Ghosting

A moving object on an LCD can leave a soft trail even when the display is running at a high refresh rate. The panel may be receiving new frames quickly while individual pixels still need time to move from one brightness or color level to another. Many monitors use overdrive to shorten those transitions. The technique can make motion look clearer, but a stronger setting is not automatically better. If the drive is too aggressive for a particular transition, a pixel can pass beyond its intended level before settling. The resulting artifact is commonly called inverse ghosting or overshoot.

Artificial Intelligence 15 Sep 2026 6 min read

Control Length Bias in Beam Search Scoring

Beam search compares multiple partial outputs while autoregressive generation advances token by token. A common scoring rule adds token log probabilities along each candidate sequence. That rule is mathematically consistent with sequence probability, but it also creates a structural preference that developers can miss: extending a sequence normally makes its accumulated log score smaller. This matters whenever candidates of different lengths compete. A decoder can rank a short completed sequence above a longer candidate even when the longer candidate is more useful for the application. Length normalization and length penalties modify that ranking, but they also change the objective being optimized.

Cybersecurity 15 Sep 2026 8 min read

Content Security Policy Makes Script Authority Explicit

Content Security Policy Makes Script Authority Explicit A browser does not distinguish between JavaScript that a development team intended to ship and JavaScript that arrived through an injection flaw. Once script markup becomes part of a document and passes the browser’s normal parsing rules, it can execute with the authority of that origin. Escaping and contextual output encoding remain primary defenses against injection, but a single missed boundary can still turn untrusted text into active code.

Software Engineering 15 Sep 2026 7 min read

Connection Pools Turn Session State Into Shared State

A database connection pool reuses physical sessions across many logical borrowers. That reuse changes the lifetime of session-scoped state. A setting applied by one request can outlive the request itself because returning a connection to the pool usually ends only the borrower’s access to that connection, not the database session behind it. This distinction matters whenever application code changes properties that belong to the session rather than to a single statement or transaction. Transaction isolation, read-only mode, schema selection, session variables, advisory locks, temporary objects, prepared statements, and database-specific configuration can all have lifetimes that differ from the lexical scope of application code.

Artificial Intelligence 15 Sep 2026 6 min read

Clip Gradient Norms With Clear Scope

Gradient norm clipping changes an optimizer update only when the measured gradient norm exceeds a chosen threshold. The operation sounds local, but its behavior depends on a broader implementation choice: which gradients participate in the norm. Two training loops can use the same threshold and optimizer yet produce different updates because they clip different parameter groups or clip at different points in the update cycle. That makes clipping scope part of the optimization definition, not just a guard against unusually large gradients.

Tech 15 Sep 2026 5 min read

Chroma Subsampling and Desktop Text Clarity

A television can show films cleanly yet make small colored text from a connected computer look soft or fringed. Resolution may be correct, scaling may be set properly, and the panel can still lose fine color detail before the image reaches the screen. One possible cause is chroma subsampling. Digital video can represent brightness detail separately from color-difference detail, then store or transmit the color portion at a lower spatial resolution. That trade is often hard to notice in photographic or moving video, but computer interfaces contain sharp colored edges that can expose it quickly.

Cybersecurity 15 Sep 2026 7 min read

Certificate Transparency Turns Misissuance Into Public Evidence

Certificate Transparency Turns Misissuance Into Public Evidence A certificate authority can validate a request correctly according to its own process and still produce a certificate that a domain operator never expected. The Web PKI cannot make every issuance decision infallible, so Certificate Transparency adds a different property: public TLS certificate issuance can be recorded in logs that independent parties can inspect and audit. That distinction is central to the mechanism. Certificate Transparency does not decide whether an applicant is authorized to control a domain. It does not replace certificate validation, revocation, or DNS CAA policy. Its role is to make issuance observable and to make the log’s own history cryptographically auditable.

Cybersecurity 15 Sep 2026 7 min read

Certificate Transparency Makes Public TLS Issuance Auditable

Certificate Transparency Makes Public TLS Issuance Auditable A publicly trusted TLS certificate can be technically valid and still be a serious security problem. A certificate authority may issue for the wrong domain after an account compromise, validation failure, or operational error. The certificate can carry a valid signature, chain to a trusted root, and satisfy ordinary hostname checks. From the browser’s perspective, those properties alone do not reveal that the domain operator never expected the certificate to exist.

Tech 15 Sep 2026 5 min read

Camera Rolling Shutter and Sensor Readout

A fast pan can make a straight lamp post appear tilted. A spinning propeller can look curved or split into strange shapes. These effects can occur even when every individual pixel is working correctly. The cause is often rolling shutter, a timing effect created as an image sensor reads a frame over a finite interval. Many CMOS camera sensors do not capture and read every row at precisely the same instant. Instead, exposure timing progresses across the sensor, commonly row by row. If the scene changes during that interval, different parts of the frame represent slightly different moments.