Skip to content

Archive / page 70

All articles

Every practical article from the Nalar archive, newest first.

Tech 05 Sep 2026 9 min read

Why LED Lights Can Flicker or Form Bands on Camera

An LED lamp can look perfectly steady to your eyes yet appear to pulse in a phone video. A photo taken indoors may show dark horizontal bands that were not visible in the room. Pointing a camera at an LED sign or display can make the effect even more obvious. This usually does not mean the camera or light is broken. The camera is recording changes in brightness that your eyes may not notice, and the timing of the camera’s exposure can turn those changes into visible flicker or bands.

Tech 05 Sep 2026 9 min read

Why File Copy Speed Can Change During a Transfer

Copy a large folder to an external drive and the speed may begin high, fall sharply, recover, and then change again. Sometimes the progress window even shows a speed that looks impossible for the device involved. This can make a healthy drive seem unreliable or a fast connection seem slower than expected. The key is that a file copy is not one continuous action at one fixed rate. Data passes through several stages, and the operating system may temporarily hold some of it in fast memory before slower storage finishes the work. The source, destination, connection, file sizes, and other activity on the device can all become the limiting factor at different moments.

Tech 05 Sep 2026 8 min read

Why Bluetooth Headphones Can Sound Worse When You Use the Microphone

Bluetooth headphones can sound clear and spacious while you listen to music, then suddenly sound narrower or less detailed when you join a call, start voice chat, or enable the headset microphone. The headphones have not necessarily developed a fault. In many cases, the Bluetooth connection has changed how it carries audio. The reason is easiest to understand by separating two jobs: sending good-quality audio to the headphones and sending microphone audio back to the phone or computer at the same time. Traditional Bluetooth audio handles those jobs using different operating profiles, and the profile designed for two-way conversation has different capabilities from the one commonly used for music.

Tech 05 Sep 2026 9 min read

Why Bluetooth Audio Has Delay and Why Video Often Stays in Sync

Bluetooth headphones can sound perfectly clear and still feel slightly late. You may press pause and hear the sound continue for a moment, watch a game react before you hear the effect, or notice that a musical instrument app feels disconnected from your touch. Yet the same headphones may look correctly synchronized while you watch a film. That is not a contradiction. Bluetooth audio takes time to prepare, transmit, buffer, and play, while many video systems can hide part of that delay by holding the picture back to match the sound.

Tech 05 Sep 2026 9 min read

Why a Power Bank Does Not Deliver Its Full Rated Capacity to Your Phone

A 10,000 mAh power bank might seem as though it should recharge a phone with a 5,000 mAh battery exactly twice. In real use, it usually cannot. That does not automatically mean the power bank is defective or that its capacity rating is false. The apparent mismatch comes from comparing two battery capacities without accounting for voltage, energy conversion, and the power consumed while charging. A power bank stores energy in its internal battery, converts that energy into a form the phone can accept, and the phone converts it again as it charges its own battery. Each stage has limits and losses.

Tech 05 Sep 2026 9 min read

What Spatial Audio Does and Why It Can Sound More Immersive

A pair of headphones has only two earpieces, yet some films and games can make a sound seem to come from in front of you, behind you, or somewhere above you. Features labelled spatial audio, 3D audio, or virtual surround are designed to create that impression. The useful idea is simpler than the names suggest: spatial audio tries to reproduce some of the clues your hearing normally uses to locate real sounds. It does not literally place a speaker behind your head. Instead, the playback system changes the sound reaching your ears so your brain can interpret it as coming from a particular direction.

Tech 05 Sep 2026 7 min read

What Screen Color Temperature Changes and Why Warmer Displays Look Different

A white page on a phone or laptop does not always look equally white. In one setting it may appear slightly blue; after an evening display feature turns on, the same page may look yellow or amber. The content has not changed. The display has changed the balance of light it uses to reproduce that content. This is usually described as a change in color temperature. Understanding the idea helps explain warm display modes, why photographs can suddenly look different, and why a screen can seem strange for a few minutes after a setting changes.

Tech 05 Sep 2026 7 min read

What Screen Brightness Nits Mean in Everyday Use

A phone, laptop, or monitor may be advertised with a screen brightness of 500, 1,000, or even more nits. The larger number looks easy to compare, but it does not mean the display will run at that brightness all the time or that it will automatically look better in every situation. A nit is a unit used to describe luminance: how much visible light comes from a surface in a particular direction. For everyday display comparisons, the useful mental model is simpler: more nits means the screen is capable of producing more light per unit of visible area under the stated test conditions.

Tech 05 Sep 2026 7 min read

What Haptic Feedback Does on Your Phone

Tap a key on an on-screen keyboard and you may feel a tiny pulse. Press and hold an icon and the phone may answer with a firmer bump. A call can produce a repeating vibration strong enough to notice in a pocket. These sensations are all examples of haptic feedback: physical feedback produced by the device for your sense of touch. Haptics can make a touchscreen feel more responsive even though the glass itself does not move like a mechanical button. They can also communicate events without relying entirely on sound or sight.

Tech 05 Sep 2026 7 min read

What Camera Megapixels Mean and Why More Is Not Always More Detail

A phone with a 50-megapixel camera sounds as though it should produce more detailed photos than one with a 12-megapixel camera. Sometimes it can. But the megapixel number by itself does not tell you how sharp, clean, or natural the finished picture will look. The reason is simple: megapixels describe how many picture elements an image contains, not how well the camera captured the information in those elements. The lens, image sensor, light, focus, movement, exposure, and software processing all affect how much useful detail reaches the final photo.

Linux 05 Sep 2026 11 min read

Wake Linux Event Loops from Other Threads with eventfd

A file-descriptor event loop can wait efficiently for sockets, pipes, timers, and other kernel objects. A common problem appears when work originates somewhere that is not already represented by a file descriptor: another thread changes shared state and needs the loop to wake immediately. Polling shared state on a timer adds latency or wastes wakeups. A condition variable can wake a thread, but it cannot be placed directly in the same poll() or epoll wait set as a socket. A pipe can bridge the two models, but using a pipe only as a wakeup signal means maintaining a read end, a write end, and byte-buffer semantics that the application may not actually need.

Cybersecurity 05 Sep 2026 11 min read

Verify Build Provenance Before Trusting Artifacts

A release artifact can have the expected filename, version, and download location without being the artifact your release process was supposed to produce. A compromised publishing account, an unexpected build path, or a mistake in release automation can put different bytes in front of users while everything around those bytes still looks familiar. Checking an artifact’s hash helps answer whether the bytes changed relative to a known hash. It does not, by itself, answer where that hash came from or whether those bytes were built from the intended source by an approved build process.

Cybersecurity 05 Sep 2026 11 min read

Verify Artifacts Before Running Them

Downloading software is often treated as the end of a trust decision: the file came from the expected page, so the next step is to run it. That shortcut is risky. A release archive, installer, container image, or build tool can be corrupted in transit or storage, replaced at a distribution point, or fetched from an unexpected source while keeping a plausible filename. Running the wrong bytes can turn a distribution failure into code execution inside a developer workstation, build system, or production environment. The defensive goal is therefore not merely to obtain an artifact. It is to establish that the bytes you received are the bytes an accepted publisher intended you to use.

Artificial Intelligence 05 Sep 2026 10 min read

Use Mixup to Regularize Neural Network Classifiers

A neural network can fit its training examples very well while learning decision boundaries that behave poorly between them. Ordinary augmentation helps by creating plausible variations of individual examples, but there is another useful idea: train the model on points that lie between pairs of examples. Mixup does this by interpolating both the inputs and their targets. If one image is labeled cat and another is labeled dog, mixup can create a synthetic input that is partly each image and a target that is partly each class. The model is then trained to produce a correspondingly mixed prediction.

Cybersecurity 05 Sep 2026 10 min read

Use Honeytokens to Detect Credential Misuse

Many security alerts begin with ordinary activity: a login, an API request, or a secret being read. The difficult question is whether that activity is legitimate. A real credential may be used by several expected systems, so a single use often provides weak evidence of compromise. A honeytoken changes that problem by creating an identity or credential that has no legitimate operational use. If something tries to use it, the event is unusual by design and can produce a high-signal alert.

Artificial Intelligence 05 Sep 2026 12 min read

Use Early Exits for Adaptive Neural Network Inference

A conventional neural network uses the same depth for every input. An obvious example and a difficult edge case both pass through all layers before the model returns a prediction. That fixed computation is simple to operate, but it can waste work when intermediate representations are already sufficient for some inputs. Early-exit inference makes computation adaptive. The model attaches prediction heads to intermediate layers. At each head, an exit policy decides whether the current prediction is reliable enough to return or whether the input should continue through deeper layers. Easy inputs can therefore use less computation while difficult inputs retain access to the full network.

Artificial Intelligence 05 Sep 2026 9 min read

Use Class-Weighted Loss for Imbalanced Classification

A classifier trained on imbalanced data can achieve a low average loss while learning the minority class poorly. If 99% of training examples belong to one class, errors on the remaining 1% contribute relatively little to an unweighted objective simply because they occur less often. Class-weighted loss changes that training signal. Instead of treating every example’s loss equally, it gives examples from selected classes more influence on parameter updates. This is useful when class frequency and the importance of learning each class are badly misaligned.

Cybersecurity 05 Sep 2026 7 min read

Use a Pepper to Limit Offline Password Cracking

A strong password-hashing function protects stored passwords by making each password guess deliberately expensive. A unique salt ensures that equal passwords do not produce reusable precomputed results. But if an attacker steals the entire password database, the salts are normally there too. The attacker can still test guesses offline without contacting the application. A pepper adds a different kind of barrier: a secret value used when deriving or protecting password verifiers, but stored separately from the password database. If an attacker obtains only the database and not the pepper, the stolen hashes are less useful for offline guessing.

Cybersecurity 05 Sep 2026 10 min read

Treat Email Address Changes as Account-Control Changes

Changing an email address can look like an ordinary profile edit. In many applications, however, email is also a login identifier, a password-recovery destination, a security-notification channel, or all three. Replacing it can therefore change who is able to recover or control the account. If a stolen session is enough to replace the email address immediately, an attacker who temporarily controls that session may be able to redirect later recovery messages and make the legitimate user’s recovery path harder. If the application trusts the new address before proving that the user controls it, a typing mistake can create a similar lockout without any attacker.

Artificial Intelligence 05 Sep 2026 9 min read

Tie Input and Output Embeddings in Language Models

A language model needs token representations in two places. At the input, it converts token IDs into vectors. At the output, it converts a hidden vector into one score for every token in the vocabulary. A straightforward design gives these two operations separate parameter matrices, even though both matrices associate vocabulary items with vectors. Weight tying removes that duplication by using the same matrix for both roles. The model looks up input embeddings from the matrix and later uses its transpose to produce output logits. This can remove a large block of parameters, but it also couples two parts of the model that would otherwise learn independently.

Cybersecurity 05 Sep 2026 9 min read

Throttle Login Attempts Without Making Lockout a Weapon

A login endpoint must accept failed passwords. That necessary behavior also gives an attacker a place to make repeated guesses or test credentials stolen from another service. If attempts are effectively unlimited, automation turns each individual login failure into part of a much larger search. A tempting response is to lock an account after a small number of failures. That slows guessing against the account, but it creates another problem: anyone who knows the username may be able to trigger the lockout. A control intended to protect authentication can become a denial-of-service mechanism against legitimate users.

Cybersecurity 05 Sep 2026 9 min read

Store Passwords for Offline Attack Resistance

A login system needs to recognize a password later, but it does not need to recover the original password. That distinction should shape how passwords are stored. If an application stores plaintext passwords, reversible encrypted passwords, or fast general-purpose hashes, a database disclosure can turn into a much larger authentication problem. An attacker who obtains password verifiers can make guesses on their own hardware, without sending each attempt through the application’s login endpoint. Online rate limits no longer control that work.

Artificial Intelligence 05 Sep 2026 10 min read

Stop Neural Network Training with Early Stopping

Neural network training does not automatically become more useful because it runs for more epochs. Training loss can continue falling while performance on unseen data stops improving or begins to deteriorate. That creates a practical question: when should training stop? A fixed epoch count is easy to configure, but it cannot know whether a particular run converged early or still needs more optimization. Early stopping answers this by monitoring performance on validation data during training. When the chosen validation metric stops improving for long enough, training ends. Used carefully, it can reduce wasted computation and limit unnecessary overfitting while preserving the checkpoint that performed best on validation data.

Tech 05 Sep 2026 8 min read

Stereo vs Mono Audio: What the Difference Means When Listening

Put on headphones and play a stereo recording, and one sound may seem to come from the left while another sits toward the right. Switch the same device to mono audio and that left-right separation can disappear. The difference is not simply that stereo sounds better and mono sounds worse. Mono and stereo describe how audio channels are used. A channel is a separate audio signal. Mono uses one channel for the program, while stereo uses two channels, conventionally called left and right.