on-internet

How to Configure CSP Headers: The Web Security Header That Actually Catches Things

$32 $33 Why Developers Care Three reasons to actually deploy CSP: It catches real bugs. I've had CSP reports reveal XSS vulnerabilities that I'd missed - places where user input was being rendered without escaping in a forgotten corner of the app. The browser literally told me "I blocked this script execution, here's why." It's a compliance requirement. PCI DSS, HIPAA, NIST 800-53, and most security audits now expect CSP on any internet-facing app. You'll get dinged for not having one. It slows down attackers. Even a buggy site with a strict CSP is harder to exploit than a buggy site without o

Roll back a bad migration: code and database together

Originally published on gregale.dev. I build Gregale, so read this as a vendor's page. Competitor details come from each vendor's own docs, linked in the post. This post was written with AI assistance. To undo a bad migration, you have to roll back two things: the code and the database. Most platforms roll back only the code; the database is a separate service with its own backups, and putting it back is a manual job. On Gregale, gregale rollback --restore-databases does both in one command. It restores the managed PostgreSQL database to the moment before the release's migration ran, as a new

How to Track AI Search Traffic in GA4 and Search Console

AI search traffic is the visits that reach your site from tools like ChatGPT, Perplexity, Gemini, Copilot and Claude. The volume is small for most sites today, but it grows, and it often converts well. Google Analytics 4 and Search Console can show you a useful part of the picture, if you set them up on purpose. This guide shows how to find that traffic, where the data has gaps, and how to report on it without overselling the numbers. Why AI search traffic is hard to measure Answer engines often give the reader a full answer, so fewer people click. Some tools also strip referrer data, and thei

Paying Rent, Not Tuition for Marriage

On hostel double standards, institutional negligence, and the African woman’s obsession with a "husband’s house. Continue reading on Medium »

The 5-Minute Fix for Laravel's "Target Class Does Not Exist" Error

You add a route, refresh the page, and Laravel answers with a 500 error: Illuminate\Contracts\Container\BindingResolutionException Target class [UserController] does not exist. Your controller file is right there in app/Http/Controllers. You can see it. Laravel says it does not exist. Before you start doubting your installation, read the name inside the square brackets — it is the whole diagnosis, and it takes about ten seconds. The brackets tell you the cause Laravel tried to load exactly the class written between the brackets, and that string is almost never the class you wrote. Compare it w

Building and Testing a Java Application with Gradle and GitHub Actions

As part of my CodeAlpha DevOps Internship, I worked on a project that helped me understand how Java applications can be built, tested, and packaged using Gradle. Before this project, I had been working more with Docker, Terraform, and cloud deployment. This project gave me the opportunity to focus on the application build process and how CI/CD automation can help make it more reliable. The goal was simple: build a Java application, test it, generate a JAR file, and automate the process using GitHub Actions. What I wanted to achieve For this project, I wanted to: Create a simple Java applicatio

How floating-point numbers are stored (and why 0.1 isn't exact)

Disclosure: this post was written with AI assistance and checked by the FlashKit team. Open any console and type 0.1 + 0.2. You get 0.30000000000000004. This is not a bug in Python, JavaScript or your browser. It is what happens when a number with a repeating binary expansion is squeezed into a fixed number of bits. Once you can read the bits of a float by hand, the "surprise" stops being one. This post does that for two numbers: 5.75, which is stored exactly, and 0.1, which is not. Three fields in 32 or 64 bits IEEE 754 stores a float as three fields: a sign bit, an exponent and a mantissa (a

Audit the JSON-LD on your site with Python

JSON-LD, in this context, is the block of structured data inside a <script type="application/ld+json"> tag that tells search engines what a page describes: a product, an event, an organisation. Validators like the Rich Results Test check one URL at a time. That's fine during development, but it doesn't tell you what's happening across fifty templates six months after launch, when plugins have updated and content has changed. This post builds a small Python script that fetches a list of URLs, extracts every JSON-LD block, and flags the problems that most often creep in after launch: blocks that

Building AshuTeacher: An AI Voice Blackboard, Exam Paper Solver & Thesis Studio for 24+ Languages

Every student and researcher deserves a patient, visual, multilingual tutor—without expensive monthly subscriptions. That's why I built AshuTeacher — an installable Progressive Web App (PWA) and Android app that turns any topic, uploaded PDF, or homework photo into a live, voice-narrated blackboard lesson. What Makes It Different Interactive AI Voice Blackboard (24+ Languages): Instead of static chat bubbles, AshuTeacher writes step-by-step explanations and LaTeX math derivations onto a live blackboard synchronized with voice narration across English, Hindi, Odia, Bengali, Tamil, Telugu, Spani

Building AI infra while trying not to go broke on token bills

Hey everyone! Finally stopped lurking and made an account here. Lately, I’ve been deep in the rabbit hole of LLM inference routing—specifically trying to figure out how indie hackers and small teams can test all the new November drops (GPT-6.2, Gemini 4, Qwen4) without watching their API bills skyrocket overnight. One pattern I keep seeing while helping devs wire up OpenAI-compatible endpoints: 80% of production prompts don't actually need a $40/M-token reasoning beast. Simply splitting traffic between fast open-weight models (like DeepSeek, Qwen, or GLM) and frontier models changes the unit e

Reel to Reality

When we see in today’s ongoing world where everyone, almost everyone is dealing with feelings like loneliness and the will power… Continue reading on Medium »

How money actually moves in a bank-plus-crypto app

Some newer finance apps try to be two things at once: a normal bank account and a crypto wallet. You can get your salary in, save, spend with a card and hold a bit of crypto, all in one place. From the outside it looks simple. Behind the screen, your money takes a short journey every time it moves, and each step of that journey works a little differently. I worked on the backend (the part of the app you never see) of one of these apps. This post walks through that journey slowly, one step at a time. You don't need to know anything about crypto to follow it. In short: every dollar that enters t

Why Modern Apps Are Becoming More Annoying

You open an app to do one small thing. Before you can finish, it wants an account, permission to send notifications, a subscription, and a rating. Then an update moves the button you came to use. None of these requests looks enormous in a product meeting. Each has an owner, a target, and a reasonable-sounding justification. Together, they can turn a useful tool into a negotiation. That is a useful starting point for understanding why modern apps feel more annoying. The problem often emerges when a user's single task has to compete with several business goals inside the same interface. Software

Tuning gcware Log Priority in GBase 8a to Cut Disk I/O

In the China-domestically developed GBase 8a MPP database from GBASE, the gcware component handles cluster management, and its log records INFO messages by default. Under complex workloads that can produce very large log files. This post shows how to change the log priority with a parameter so unnecessary output — and the disk I/O behind it — goes away. The parameter applies to the corosync service in V8 and the gcware service in V9. Restart gcware after changing it. Why INFO logs pile up Each connection that logs in and runs SQL requests an internal session ID (register session); on exit, inc

MAD-SHOW Layout System: Complete Guide to Pixel Mapping and Fixture Positioning

In lighting control software, layout is the foundation of all lighting effects. Without accurate layout, effects cannot be precisely projected onto the corresponding fixtures. This article provides a systematic explanation of the MAD-SHOW layout system, covering interface navigation, pixel mapping, fixture library management, drawing operations, and the complete lighting layout workflow. This demonstration is based on the v3.0.9 interface; subsequent versions have inherited and expanded the relevant functionality. MAD-SHOW Layout System — Key Information Layout methods: Fixture library additio

Make your AI website look less AI: a cleanup pass for the 8 tells

Before you re-prompt the whole page, remove the giveaways. Most of them are one-line fixes. You built a landing page in Lovable, Bolt, Cursor or Claude. It works. It's responsive. And anyone who has spent a week on Product Hunt can tell in two seconds that an AI made it. That's not because AI-built pages are bad. It's because they all share the same defaults, and those defaults have become recognizable. The good news: you don't need to start over. Most of the "AI look" comes from a short list of tells, and you can remove them one at a time with small, specific prompts. Here's the pass I run on

The Best Person in Your Team to Do AI-Driven Development Is... Your QA?

AI coding tools have changed what's scarce on a software team. Writing code used to be the slow part. Now a model can produce a plausible feature in minutes. What's still slow is knowing whether that feature is right. That's the QA's home turf, which is why I think your QA engineer may be the best-placed person on your team to lead AI-driven development. The bottleneck moved AI is very good at producing code that looks correct. It compiles, it follows the conventions, it comes with confident explanations. It can also be subtly wrong in ways that only show up at the edges: the empty list, the t

When We Become What Others Believe We Are

On prejudice, human choices, and the fine line between reclaiming control over who we are and surrendering it to others. Continue reading on Medium »

Benchmarking marginal and cliff sales accelerators to the cent

A $3,000 deal takes credited period sales from $9,000 to $12,000. With a 5% base rate and an 8% accelerator at $10,000, it posts $210.00 under marginal tiers or $510.00 under a retroactive period cliff. Both outcomes show 120.00% attainment against a $10,000 quota. Calculate the change in earned commission Under marginal tiers, the first $1,000 of the deal earns 5%, and the next $2,000 earns 8%. Under the retroactive cliff, reaching the threshold reprices every credited cent of the period at 8%. The posting is the after-sale entitlement less the before-sale entitlement. Checkpoint Marginal Ret

Older stories