Short answer: for a B2B marketplace using SMS OTP login, choose a provider boundary that emits the verification evidence your reviewers need. When there are no webhooks, polling can enrich the delivery-status trail, but a delivered receipt must never decide that the seller proved possession. A hosted verification service is the smallest operational surface; owning the code lifecycle gives finer evidence and policy control. Boundary Pick this when Evidence retained Main burden Hosted verification Standard issue and check semantics fit policy Challenge ID, outcome, timestamps, policy version Reconcile external outcomes with the login audit record Application-owned challenge over SMS Reviewers require control of expiry, attempts, or resend lineage Challenge transitions plus a separate delivery trail Secure generation, race handling, throttling, support tools Phishing-resistant primary method with SMS recovery Seller accounts can change payouts or expose sensitive orders Primary-authenticator result and governed recovery events Enrollment, recovery, and account lifecycle The decisive split is small: a delivery system answers what happened to a message, while an authentication system answers whether a presented code is valid for one challenge. Keep those answers separate. Pick hosted verification when its lifecycle already matches the policy you can defend. The application creates a challenge, stores the opaque identifier, and later records the verification result beside its own seller, order-view session, policy version, and correlation ID. Code generation, expiry, and comparison stay behind one boundary. Confirm the documented status model, retention behavior, regional handling, and rate controls before treating those records as compliance evidence. Pick an application-owned challenge when the audit question is more specific: Which policy was active? Did this resend supersede an earlier code? Was denial caused by expiry, an attempt ceiling, or replay? The control is re
Have you ever actually "finished" a traditional software engineering project? You write requirements, design it, build it, test it against a spec, deploy it, and maintain uptime. It's deterministic—same input, same output. "Done" is a real, achievable state. The AI Development Lifecycle (ADLC) turns this upside down. It's probabilistic, it features 7 distinct phases instead of 5, and it operates as a continuous loop. I put together a quick, 4-minute visual whiteboard breakdown speedrunning these phases and explaining why every stage of the lifecycle had to be reinvented, not just renamed: The Reality of Shifting to ADLC: Data Prep Eats Your Budget: Phase 2 (Data Collection and Preparation) quietly consumes roughly 80% of total project effort. Cleaning, labeling, and structuring data multiplies your worst legacy migration script by ten. Pass/Fail vs. Ethical Trade-offs: In standard testing, a test passes or fails. In ADLC evaluation, you are stress-testing for precision, recall, bias, and adversarial robustness. For a cancer screening model, you must favor recall over precision—that's an ethical engineering trade-off, not a checklist. Shadow Deployments: While blue/green rollbacks still exist, AI teams rely heavily on shadow deployments—running a new model silently alongside production traffic before letting it make autonomous decisions. The Missing Phase: ADLC introduces a layer traditional software engineering never had to account for: continuous Governance and Ethics councils checking compliance across every single loop. As engineers, our jobs aren't disappearing under this shift; they are moving from executing a static plan to overseeing a probabilistic system. Let's discuss: How is your team balancing traditional software engineering infrastructure with these shifting AI deployment cycles? Are you using shadow deployments or sticking to rigorous local evaluation pipelines?
Kilo Desktop brings 500+ models, agent planning, live notebook editing, conda environments, and built-in governance into one app. Here's why we built it.
When your automation scripts begin to fail with mysterious TCP resets, or when "headless" browsers are flagged despite perfect fingerprinting, the culprit is rarely the code itself. Instead, the issue often lies in a fundamental misunderstanding of the OSI model. Specifically, the choice between an HTTP proxy (Layer 7) and a SOCKS5 proxy (Layer 5) determines the success of your architectural integrity. This exploration moves beyond the basics of "hiding an IP" and examines why SOCKS5 is the preferred protocol for sophisticated automation, focusing on the surgical precision of Session Layer operations. To understand the superiority of SOCKS5, we must look at the OSI (Open Systems Interconnection) model. Most developers are comfortable at Layer 7 (Application), where HTTP/HTTPS resides. While Layer 7 is convenient, it is also highly opinionated. It parses headers, interprets cookies, and often modifies the data passing through it. SOCKS5 operates at Layer 5, the Session Layer. This is the sweet spot between the raw, unmanaged pulses of the Transport Layer (TCP/UDP) and the heavy, overhead-laden Application Layer. Unlike HTTP proxies, SOCKS5 does not interpret the traffic. It establishes a connection to the server on behalf of the client and then steps out of the way. In automation, this is critical. If you are using non-HTTP protocols—such as WebSockets for real-time data or SMTP for automated alerts—a Layer 7 proxy will simply break. SOCKS5, staying at Layer 5, treats every packet as a payload, regardless of whether it’s a JSON object or a binary stream. Anti-bot systems have become adept at detecting the "signature" of a proxy. HTTP proxies often inject X-Forwarded-For headers or alter the order of headers, signaling to the server that the request is mediated. Because SOCKS5 operates a level below, it maintains the packet’s original structure. For a target server, the session appears to originate natively from the proxy's IP, with zero header contamination. The shor
Robots.txt is one of the smallest files on your site and one of the most misunderstood. It's a plain text file, and a single wrong line can hide your whole site from search engines. Even more often, people expect it to do something it was never built for. Let's sort out what it actually does. Robots.txt controls crawling. That's all. It tells compliant bots which URLs they may or may not request. It lives at the root of a host: https://example.com/robots.txt Each host, protocol and port needs its own file (blog.example.com doesn't inherit from example.com) It's a polite request, not a lock. Reputable crawlers like Googlebot and Bingbot follow it. Malicious bots ignore it It's public. Anyone can read it, so never use it to hide private pages It does not control indexing, and it does not provide security. A robots.txt file is made of groups. Each group starts with a user-agent and is followed by rules. User-agent: * Disallow: /admin/ Allow: /admin/help/ Sitemap: https://example.com/sitemap.xml This names the bot a group applies to. * means all bots Googlebot, Bingbot and other names target specific crawlers A bot follows only the most specific group that matches it. It does not combine that group with the * group That last point trips people up. If you write a Googlebot group, Googlebot ignores the * group completely, so repeat any shared rules inside it. Blocks a path from being crawled. Disallow: /private/ blocks everything under that folder Disallow: / blocks the entire site Disallow: (empty) blocks nothing Makes an exception inside a blocked area. Useful for opening one subfolder inside a blocked directory When rules conflict, Google follows the most specific (longest) match. If it's a tie, the less restrictive rule wins Points crawlers to your XML sitemap. Use a full absolute URL It isn't tied to any user-agent group, so it can sit anywhere in the file You can list more than one Google and Bing support two special characters: * matches any sequence of characters
Self-hosting di agenti, fine-tuning con pochi dati, GRPO e “desensibilizzazione”: un caso che tocca toolchain, sicurezza e costi dell’AI in prodotto. Negli ultimi mesi è diventato difficile ignorare una tensione di fondo: da una parte l’AI “as-a-service” (API, abbonamenti, modelli chiusi, policy e filtri), dall’altra la spinta verso modelli locali e workflow self-hosted, dove i vincoli non sono decisi da un provider ma dal team che sviluppa il prodotto. In questo contesto si inserisce Ajax, un modello presentato come “uncensored” e pensato per alimentare Odysseus, un progetto open source molto popolare che mira a self-hostare workflow di agenti e automazioni basate su LLM. Al di là dei nomi, la storia mette sul tavolo questioni tecniche che impattano direttamente chi fa frontend e prodotto: integrazione di agenti, costi e latenza, controllo dei dati, sicurezza applicativa e conformità. Quando si parla di un “nuovo modello”, spesso non si intende un addestramento full-stack da parametri iniziali. Il pattern più comune oggi è: partire da un foundation model esistente, già competente sul linguaggio; specializzarlo con fine-tuning per un dominio o per un set di strumenti; eventualmente rimuovere/aggirare meccanismi di allineamento (con tutte le conseguenze del caso). Ajax, in questa narrazione, è descritto come basato su un modello di famiglia Qwen (circa 9B parametri), poi adattato alle esigenze di Odysseus. Per chi sviluppa web app, questo è un promemoria utile: se state valutando “un modello vostro”, la domanda giusta non è “possiamo addestrare un LLM?”, ma “possiamo mantenere una pipeline di adattamento e valutazione su un modello base?”. È molto più realistico. Il punto non è solo “libertà ideologica”. Ci sono motivazioni estremamente pratiche: Costi: pagare a token per agenti che fanno tool-calling, pianificazione e tentativi multipli può esplodere rapidamente. Latenza e UX: ogni chiamata in rete, ogni retry, ogni passaggio “agente → tool → agente” impatta il temp
Day 3 of AccessBuild. The API is no longer just a calculator. It has a memory now. What I Built Today Yesterday, the API could only score elements you pasted in manually. Today, it parses real Android UI tree XML, extracts every interactive element, scores it, and saves the result to Supabase. The new /scan endpoint accepts a raw UI tree dump. It walks through every node, classifies each element as button/input/icon/link, checks for accessibility labels, and returns a grade from A to F. Then it writes the audit to the database. The Stack Grew Up Day 1 Day 3 FastAPI FastAPI In-memory only Supabase PostgreSQL Manual element list Android UI tree XML One-off test Persistent, repeatable audits No history /audits/recent endpoint No stats /stats endpoint The First Real Scan I ran the first auto-scan on a test banking login screen. Five interactive elements. Only two had labels. Result: D — 40% accessible Recommendation: "Urgent. Most elements are invisible to screen readers. Immediate fixes required." That's the point. A real banking app with that score would be unusable by blind customers. And now the audit is saved in the database for future reference. What Broke The deploy failed multiple times. First, Render couldn't find the port. Then it couldn't find models.py. Then the build cache held onto old code. Each error taught me something about how Render handles deployments. The fix: update the start command to use $PORT, create the missing files, clear the build cache, and redeploy. Three hours of debugging. Ten minutes of actual feature work. What Works Now /scan — Auto-scan from Android UI tree XML /stats — Aggregate statistics from Supabase /audits/recent — Recent audit history Supabase persistence — Every audit saved Full pipeline: request → parse → score → save → respond What's Next (Day 4) Build a public dashboard showing audited apps and scores Connect real app scanning to my Phone Agent's UI tree output Start scanning Nigerian banking apps for real The Repo 👉 gi
Building a Laravel CRUD API: Menu Categories for Django Developers As a Django developer learning Laravel, one of the first things I wanted to understand was how Laravel handles CRUD APIs. In Django REST Framework, I would normally use a model, serializer, ViewSet, and router. Laravel has similar concepts, but they are organized differently. In this article, I'll build a menu-categories API with: Create The goal is not just to make the endpoint work, but to structure it in a way that is maintainable in a production application. Django vs Laravel Coming from Django, this mapping helped me understand Laravel faster: Django REST Framework Laravel Our MenuCategory Model Suppose we already have the following model: 'boolean', 'sort_order' => 'integer', ]; public function warehouse(): BelongsTo { return $this->belongsTo(Warehouse::class); } public function kitchenSection(): BelongsTo { return $this->belongsTo(KitchenSection::class); } public function menuItems(): HasMany { return $this->hasMany(MenuItem::class); } } An important business rule here is: warehouse_id = NULL means the category can be available to all warehouses. Create the Laravel Files Instead of manually creating everything, Laravel provides Artisan commands. php artisan make:controller Api/MenuCategoryController Our structure becomes: app/ routes/ Validate Create Requests Instead of putting validation inside the controller, Laravel allows us to use Form Requests. StoreMenuCategoryRequest.php: [ 'required', 'string', 'max:255', ], 'warehouse_id' => [ 'nullable', 'integer', 'exists:warehouses,id', ], 'sort_order' => [ 'nullable', 'integer', 'min:0', ], 'kitchen_section_id' => [ 'nullable', 'integer', 'exists:kitchen_sections,id', ], 'is_active' => [ 'sometimes', 'boolean', ], ]; } } This is similar to validation in a Django REST Framework serializer. Validate Update Requests UpdateMenuCategoryRequest.php: [ 'sometimes', 'string', 'max:255', ], 'warehouse_id' => [ 'sometimes', 'nullable', 'integer', 'exists:w
Disclosure: I built the Xiaohongshu Scraper used in this tutorial. It's a paid Actor on Apify (pay per result), and the pricing is listed at the end. Xiaohongshu (小红书), known abroad as RedNote, is where Chinese consumers go to decide what to buy. People post reviews, "what I bought" hauls, travel guides and café lists, and other people save those notes to come back to later. For brand research, product research or a Chinese-language NLP dataset, that's very valuable data. It's also hard to get. The site is in Chinese, logged-out web access is restricted, requests are signed, and there's no public API. This tutorial skips all of that and gets Xiaohongshu data into Python in about 20 lines. A short script that: searches Xiaohongshu for a keyword, loads the results into a pandas DataFrame, ranks notes by saves (collects), pulls the public comments of the top note. You need Python 3.10+ and an Apify account. Copy your API token from Console → Settings → API & Integrations. pip install apify-client pandas export APIFY_TOKEN="your-token-here" The Actor has four modes: search, note, comments and user. We start with search. One tip before you write any code: search in Chinese. "coffee" and "咖啡" return very different results, and the Chinese keyword is what real users type. import os from decimal import Decimal from apify_client import ApifyClient client = ApifyClient(os.environ["APIFY_TOKEN"]) actor = client.actor("clover_folktale/xiaohongshu-scraper") run = actor.call( run_input={ "mode": "search", "keyword": "咖啡", # "coffee" "maxResults": 40, }, max_total_charge_usd=Decimal("0.50"), # hard spending cap for this run ) items = list(client.dataset(run.default_dataset_id).iterate_items()) print(len(items), "notes") maxResults is the total number of items for the whole run, and pagination is handled for you. max_total_charge_usd is a safety net: the run stops once that amount is spent. This uses apify-client 3.x, where call() returns a Run object. On 1.x/2.x, use run["defaultD
OpenCTI Case Creation Flaw CVE-2026-76822: A Permission Model Postmortem Vulnerability overview CVE-2026-76822 is a moderate authorization flaw in OpenCTI, the open-source cyber threat intelligence platform maintained by Filigran. GitHub advisory GHSA-w45v-76pj-xggm scores it 4.3, credits SalusCyber1, and carries the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N. CERT-Bund records it as WID-SEC-2026-3563. The interesting question is how three resolvers ended up outside the permission model. OpenCTI applies two decorators that developers must combine. @auth establishes that the caller holds a session. Capability decorators, referencing permissions such as the settings and knowledge scopes, establish that the caller may perform the action. The case workflow mutations caseIncidentAdd, caseRfiAdd and caseRftAdd carried @auth alone. Their authorization collapsed into authentication. Network vector, low complexity, low privileges, no user interaction. Exploitation needs only a valid session, and a reader account satisfies that requirement. The calls are ordinary GraphQL writes rather than exploit payloads, so nothing in the request stream stands out as hostile. The advisory records integrity loss with confidentiality and availability unaffected. The operational reading is that unauthorized case objects persist in the platform and mix with genuine analyst output. Rebuilding trust in the case queue, incidents, requests for information and requests for takedown, takes an authorship audit rather than a log search. OpenCTI below 7.260701.0 is vulnerable and 7.260701.0 is the fixed release. CERT-Bund lists Linux and UNIX as the affected operating systems. A critical companion advisory, GHSA-2872-rg44-j9gx, describes a sandbox escape in the safeEjs notifier template and is fixed in 7.260811.0. ZoomEye returned 1046 internet-facing instances for app="OpenCTI" and 0 for vul.cve="CVE-2026-76822". The product fingerprint count includes patched and unpatched systems alike and e
This article is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass When we step out into deep backcountry trails or high alpine ridges, the entire premise is to Touch Grass—to escape the constant blue-light fatigue of our smartphones, feel the morning pine mist, and direct our attention to the physical path ahead. However, the wilderness presents severe, non-negotiable hazards: zero-bar cellular blackouts, sudden barometric drops leading to hypothermia, miscalculated sunset deadlines, and lethal foraging lookalikes like Amanita phalloides (Death Cap) masquerading as harmless meadow mushrooms. Outdoor adventurers are stuck in a dangerous paradox: either glued to handheld navigation screens—draining batteries and inviting trail trips—or hiking blind without real-time safety intelligence. I engineered TrailEcho—an open-source, autonomous wilderness audio sentinel designed around a single design philosophy: "The screen must be the shortest part of the adventure." TrailEcho keeps your smartphone tucked safely in your backpack or hip pouch. Using single-ear bone-conduction headphones or wireless earbuds, TrailEcho delivers instant, spoken safety intelligence in 1-2 concise sentences while executing a full-stack offline-first intelligence suite: Google Gemma 2 Multimodal Vision & Forensic Botanical Triage: Hikers can snap a quick specimen photo or speak an observation into their earphones. Gemma 2 examines critical anatomical markers (volva sac, gill attachment, ring annulus, leaf notches) and delivers crisp 1-2 sentence spoken warnings over headphones with a strict "DO NOT CONSUME" safe harbor. TabPFN-Inspired Micro-Climate & Hypothermia Forecaster: Evaluates barometric pressure drops, altitude lapse rates (6.5°C per 1,000m), and wind chill dynamics to project a 6-hour dynamic forward storm and hypothermia trajectory curve. Screen-Free Audio Synthesis (ElevenLabs + Edge Web Speech): Calming, high-fidelity audio cues delivered directly to hiker
🚀 JumpToTech Kubernetes Core Hands-On Lab Objective By the end of this lab, you should understand: Control Plane Worker Nodes Pods Containers Deployment ReplicaSet Self-healing Scaling Labels and selectors StatefulSet Stable Pod identity PersistentVolume (PV) PersistentVolumeClaim (PVC) StorageClass Basic Kubernetes troubleshooting Before creating anything, check the cluster. Run: kubectl cluster-info Then: kubectl get nodes Now: kubectl get nodes -o wide What are these nodes? Nodes are machines participating in the Kubernetes cluster. Application workloads normally run on Worker Nodes. A simplified architecture looks like this: KUBERNETES CLUSTER CONTROL PLANE ┌─────────────────────┐ │ API Server │ │ Scheduler │ │ Controller Manager │ │ etcd │ └──────────┬──────────┘ │ ───────────┼────────── │ ┌───────────┴───────────┐ ↓ ↓ WORKER NODE 1 WORKER NODE 2 ┌────────────┐ ┌────────────┐ │ kubelet │ │ kubelet │ │ Pod │ │ Pod │ │ Container │ │ Container │ └────────────┘ └────────────┘ API Server Receives Kubernetes API requests. For example: kubectl get pods and: kubectl apply -f deployment.yaml communicate with the Kubernetes API. Scheduler Decides which Worker Node should run a newly created unscheduled Pod. Controller Manager Runs controllers that continuously work to make the actual state match the desired state. etcd Stores Kubernetes cluster state. kubelet Runs on each Worker Node and makes sure assigned Pods are running. Create a new directory: mkdir kubernetes-core-lab cd kubernetes-core-lab Create: nano pod.yaml Add: apiVersion: v1 kind: Pod metadata: name: nginx-pod labels: app: nginx spec: containers: - name: nginx image: nginx:1.27 ports: - containerPort: 80 Save the file. Apply it: kubectl apply -f pod.yaml Check: kubectl get pods You should see: NAME READY STATUS RESTARTS AGE nginx-pod 1/1 Running 0 ... Now: kubectl get pods -o wide What additional information do you see? You should see information including: IP NODE The NODE column tells you which Worker Nod
Health is too serious for an AI to pretend to be a doctor. That is why I think health-related AI should start with a more careful role: helping people prepare for care, not diagnosing them, prescribing medication, or replacing emergency services. I built VitaRecall, an AI care-preparation companion that helps patients: prepare questions before an appointment organise notes and care preferences keep track of follow-up tasks continue a conversation without repeating what matters to them VitaRecall is built with Gemini and uses Walrus Memory on mainnet for patient-controlled continuity across new chats, browsers, devices, the web app, and Telegram. A user can share a preference such as: “Use short, plain-language answers and remind me to write down questions for my appointment.” VitaRecall archives that context automatically by default. When the user returns in a fresh conversation, the app searches that user’s own memory namespace, retrieves relevant saved context, and uses it to make the response more helpful. The interface distinguishes a pending save from a confirmed Walrus receipt. Users can review storage receipts, open confirmed blob IDs in Walrus Scan, and pause future saving if they choose. So far, VitaRecall has generated 35 unique confirmed Walrus mainnet blob IDs across its live app records. VitaRecall is not a medical professional, diagnosis tool, prescription service, or emergency service. It is designed to support care preparation and continuity—not make clinical decisions. The current public demo uses fictional information only. A key design goal is making memory useful while giving users a clear view of what is being saved and when it is recalled. Persistent memory changes the usefulness of a chatbot. The challenge is not merely storing text—it is making recall relevant, visible, user-controlled, and safe enough for a sensitive context. I would genuinely value developer feedback: How would you design patient-controlled AI memory? What should a user be
Nvidia-backed Reflection AI unveils Beam, its first open-weight model, which it says rivals GLM-5.2 on reasoning with far less inference compute. Weights are due this month.
As developers, we spend a lot of time debugging code, searching for hidden logic errors, and fixing performance bottlenecks. While web-based AI tools are helpful, copying and pasting codebase files back and forth into browser tabs is tedious and poses privacy concerns for non-public code. To solve this, I built enterprise-fixer — a privacy-first, CLI-driven local AI code auditor and auto-fixer! 🚀 📦 Install via PyPI: pip install enterprise-fixer https://github.com/hirdeshgagan/enterprise-fixer
Short answer: in n8n, you don't give the AI Agent node a spending limit in its prompt. You attach an MCP Client Tool node pointed at a payments server that enforces the limit itself, so the workflow's "pay this invoice" step always resolves to one of three states it didn't decide on its own: allowed, waiting on a person, or blocked. Pink Agentic AI Payments checks each payment an agent requests against per-agent budgets and rules before it executes, and routes the rest to a human. That is what the MCP server is doing underneath the n8n node. Disclosure: I work on Pink Agentic AI Payments at PinkWallet; it's used as the worked example below. This follows Pink's own n8n connect guide, which walks through five steps: Create a sandbox workspace. Open agentic-sandbox.pinkwallet.com, enter a company name, pick a template, and create the workspace. You get back, per the guide, "an admin key for the console and one key per AI agent." Copy an agent key from the workspace page or the console. Add the MCP Client tool to the AI Agent node. The guide's exact instruction: set the endpoint to https://agentic-sandbox.pinkwallet.com/mcp, the server transport to HTTP Streamable, and authentication to Bearer Auth with a credential holding the agent key. Run the workflow. Give the agent the purchase as input; the execution log shows each Pink tool call (pink.check_policy, pink.request_payment, etc.) the same way any other n8n node's output would show. Watch approvals land. Open the sandbox console linked from the workspace page. Requests that cleared, asked a person, or were blocked are all listed there with the rule that decided it. That's the whole integration surface: n8n's AI Agent node calls tools the same way it would call any other MCP server, and the policy decision happens entirely on the other side of that call, not in the agent's instructions. I didn't run n8n itself for this. I verified the same MCP/REST calls the n8n workflow above would make, directly against the live san
Ontology, Gates, and a Human Backstop: Three Defenses for Enterprise AI That Don't Spin Empty 2026-10-05 Enterprise AI usually lands in one of two extremes. One side says: build the ontology and the AI will understand. The other says: an ontology is soft, it cannot hold the line, and what matters is gates plus a human backstop. Each side is only half right. An ontology makes it possible for the AI to get it right. A gate makes it hard for the AI to do the wrong thing on its own. A human backstop keeps a mistake from becoming a disaster. Use the three together, and close the loop: the ontology hands objects and rules to the gate, the gate hands anything out of bounds to a person, and after the person handles it they ask whether a term or a threshold should change. Without that return path, people keep putting out the same fire. The weight shifts with the scene. The short board sets the ceiling. High frequency, low risk, reversible: the ontology and automated gates set the experience and the cost. Low frequency, high risk, irreversible: the gate and the human backstop are what keep you safe. Heavy regulation and heavy responsibility: all three have to be hard. Open questions can tolerate a wrong answer. Data that should not enter the context still has to be stopped. Whether this works is not a question of whether the article is complete. It is whether the three tables can be filled in for one concrete scene. A cell you cannot fill means that question may not be answered, and that action may not be taken. Layer What it handles When it fails Ontology Whether the system understands The answer is fluent, and wrong Gate Whether it may, and whether the figure is the right one It acts at random, exceeds its authority, or does something irreversible Human backstop Who is responsible, and how a mistake is written back The damage cannot be undone, and the same kind of mistake keeps returning Do not ask which layer matters most. Ask which layer is the short board in this scene,
In November 2025, researchers at watchTowr Labs published findings about two popular online formatters — JSONFormatter and CodeBeautify. According to that research, users who used those sites' Save features left shareable copies of their pastes on the services' servers. Both sites also exposed a "Recent Links" page that listed saved items. watchTowr reported collecting 80,000+ saved JSON submissions — about five years of JSONFormatter history and one year of CodeBeautify data, described as 5GB+ of enriched content. After parsing that dataset, they said it included credentials, keys, configuration data, and personally identifiable information. They also planted canary credentials and later observed those canaries being tested, writing that someone else was already scraping the same sources. That research is nearly a year old. Site features and exposure can change. This article does not claim either named site leaks data today. It explains the pattern watchTowr described, how to check any tool yourself, and how Tool Reign's JSON tools behave in our own code. Formatting JSON in the browser can stay local. The risk rises when a tool offers Save or a shareable link that stores your paste on a server. According to watchTowr, those shareable URLs followed predictable patterns, and Recent Links pages made saved entries browsable. Once text sits on someone else's server behind a guessable or listable URL, anyone who finds the link can read it — including automated scrapers. The lesson is general: if a button uploads or persists your paste for later retrieval, treat that paste as public unless you have strong evidence otherwise. You can verify any site in a few minutes. Use harmless test data only — never real secrets. Open the tool in a private/incognito window. Open DevTools → Network. Enable Preserve log. Filter by Fetch/XHR. Paste a unique, harmless string (for example a fake key you invent for this test). Click Format, Beautify, Save, Share, or whatever actions the page
JavaScript hoisting is one of those concepts that looks simple at first but can cause confusing bugs when declarations appear to work before they are written. Understanding what the JavaScript engine does during the creation phase makes these behaviors much easier to predict. Hoisting affects variables, functions, and different declaration types in different ways. In this guide, we will break down the mechanics behind hoisting and use runnable examples to see exactly what happens with var, let, const, function declarations, and the temporal dead zone. Before JavaScript executes your code line by line, the engine prepares the execution environment and registers declarations. This is why a function declaration can often be called before its position in the source code, while a var variable exists before assignment but initially contains undefined. The behavior changes with let and const. Their declarations are also processed during environment creation, but they remain inaccessible from the beginning of the scope until execution reaches their declaration; this period is called the Temporal Dead Zone, or TDZ. Function declarations are fully initialized during the creation phase, which makes them callable before their declaration appears. Function expressions and arrow functions assigned to variables follow the variable declaration rules, so using them before initialization can result in undefined behavior for var or a ReferenceError for let and const. The most useful way to understand hoisting is to stop thinking of JavaScript as physically moving declarations to the top of the file. Instead, think of the engine creating bindings before executing statements, with different declaration types receiving different initialization behavior. console.log("=== JavaScript Hoisting Demonstration ==="); console.log("This example shows how different declarations behave before initialization.\n"); // ------------------------------------------------------------ // 1. Function declara
I build a scraper that reads npm, PyPI and crates.io for a living (side project — package-registry-scraper vue's "latest" was 3.5.43, but 3.6.0-rc.10 — a higher version number, npm install vue. My first assumption was a scraper bug. It wasn't. It's npm working exactly as npm's "latest" isn't computed. It's a label. Every npm package carries a dist-tags object — a small set of names, each one a maintainer-settable latest is just the tag npm's Here's react's full tag set, live, right now: curl -s https://registry.npmjs.org/react | python3 -c " import json,sys d = json.load(sys.stdin) print(d['dist-tags']) " # {'beta': '19.0.0-beta-26f2496093-20240514', 'rc': '19.0.0-rc.1', # 'next': '19.3.0-canary-d5736f09-20260507', 'backport': '19.0.8', # 'latest': '19.3.0', # 'experimental': '0.0.0-experimental-278794d7-20261002', # 'canary': '19.3.0-canary-278794d7-20261002'} Seven independent pointers into one version list. vue runs the same v2-latest tag permanently parked on 2.7.16 for people who dist-tags.latest — which is what I pulled 12 well-known packages to see how common the mismatch actually is. vue had it. I'd have bet on react too, and I'd have lost: its canary 19.3.0-canary-…, and semver ranks a prerelease below the 19.3.0 really is the top. angular, left-pad, node-sass, request, moment, express, lodash, is-odd, is-even and colors matched exactly too. So this isn't registry-wide chaos. It's a specific thing that happens once a package I expected PyPI to have something similar — a latest you could override. pip install black resolves to whatever PEP 440 says is the stable version number, full stop: curl -s https://pypi.org/pypi/black/json | python3 -c " import json,sys d = json.load(sys.stdin) print(d['info']['version']) " # 26.10.0 black has 74 release entries on record, several of them prereleases 21.8b0, 23.1a1, 26.1a1...). None of them can become info.version black, urllib3, Django, pip, numpy) crates.io goes one step further and doesn't even store the concept. Th
What I Built I built a local LLM sentiment analyzer for a friend who needed a simple way to go through a large amount of feedback without having to manually read and categorize everything. The idea was pretty straightforward: upload a CSV containing text such as customer reviews, select the column containing the text, and let the application analyze it for sentiment. The part I wanted to focus on was keeping the data local. Instead of sending potentially private reviews or feedback to an external AI API, the analysis runs on the user's own machine. The basic flow is: Upload CSV → Select text column → Run analysis → View results → Filter/export results Code The complete project is available on GitHub: How I Built It The application is built with Python and Streamlit. For the AI part, I used Ollama to run an open-weight Llama 3.2 model locally. The application uses Scikit-LLM and scikit-ollama to connect the analysis pipeline to the local Ollama server. The basic architecture is: CSV The default model is llama3.2:3b, and the application also supports the smaller llama3.2:1b model. Besides sentiment analysis, I added things that make the tool more useful in practice, such as custom classification labels, optional explanations, filtering, data-quality checks, analysis history using SQLite, and exporting the results. Why Does Open Innovation Matter? This was probably the most important reason I wanted to build this using a local model. When dealing with someone's reviews, feedback, or other text data, sending everything to a third-party AI API isn't always ideal. With Ollama, the model can run locally, so the data doesn't need to leave the user's computer just to get an AI-generated result. It also means there isn't an API bill for every analysis and the application doesn't depend on a single closed AI provider. Another thing I liked about using an open approach is that the model isn't locked into the application. I can change the model that Ollama runs without having to
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend We roomies have a group where we put all our grocery expenses. Then someone has to calculate all or we just export the chat to ChatGPT. / WAExpenseSplitLocalAI WAExpenseSplitLocalAI Split shared grocery spending without pasting your group's money chats into a cloud chatbot Paste a WhatsApp export (and/or freeform lines) → a local open-weight model reads every line → you correct anything in a table → deterministic Python computes who pays whom No API key, no account, no data leaves your laptop. Built with Gemma 4 E2B (Apache 2.0) running locally via Ollama. Originally made for a Hacktoberfest "Build for a Friend" entry: month-end grocery splits for roommates, parsed on-device for privacy. Why local Grocery + money chats reveal food habits, routines, locations, and financial state. Pasting them into an online AI sends all of that to someone else's server. Running the model on your own machine means: Private — traffic never leaves localhost:11434. Free — zero per-parse cost, unlimited re-runs. Offline — works on hostel WiFi or no WiFi after a one-time ~4.3 GB model… View on GitHub The open core is Gemma 4 E2B (gemma4:e2b-it-qat, 4.3 GB quant) running on my own laptop Ollama, with a Streamlit UI and plain Python around it. No API key, no account, localhost:11434. The architecture has one rule: code owns structure, the model owns meaning, Python owns money. Code owns structure. WhatsApp export envelopes ([28/09, 21:30] Name: …) are peeled deterministically before the model ever sees them — so a timestamp can never be mistaken for an amount. (My first version fed raw lines to the model and it solemnly reported expenses of Rs.28 and Rs.29. Those were the dates.) Model owns meaning. One Ollama call per line — I measured that this small model drops lines when batched, so each line gets its own call. It first lists every amount it sees, then returns one item per amount; its own count is checked a
Ran into this building an agent that needed to look at web pages. Every screenshot API is SaaS, which is fine, until you notice the Looked for a self-hostable one. The MCP screenshot servers that exist (Urlbox, Runs with docker compose. The extraction part runs on whatever model you point Honest about where it's weak: no security audit, extraction quality is decent github.com/route1-ai/shotbase The thing I'm unsure about: is "run it yourself so page content stays in your network" actually the useful part here, or do people mostly just want screenshots and I've over-thought it? Genuinely asking — I built this for my own use case and I don't know if it generalizes.
A generated answer is an artifact. A workflow is a set of transitions that determines what the artifact can do next. If those concepts are mixed together, a plausible draft can acquire the same authority as an approved decision. Drawing the states first makes that mistake easier to see. The workflow explanations on Relay App are a useful starting point for this exercise. The homepage places AI extraction, classification, and summarization beside triggers and human review. The independently operated site attributes some illustrations to the original Relay.app archive. This article uses those explanations as design examples; it does not claim that I ran an automation or verified a current integration there. Consider a process that prepares a response to a customer question. A minimal design has received, drafting, awaiting review, approved, and delivered states. Rejected and needs information are useful outcomes too. The review boundary sits between drafting and approval, rather than between delivery and a later apology. The state record should identify the request and the draft version. Approval of version one should not silently authorize version two after the model rewrites it. An implementation can bind the approval to a version identifier or a content digest. That is a proposed engineering technique, not a feature claim about the site. A transition table helps make the design reviewable. Received can become drafting when input validation passes. Drafting becomes awaiting review when an artifact exists. Awaiting review becomes approved only through the designated human action. Delivered should mean that the external operation was confirmed, not merely that a task attempted it. Relay App's building blocks separate app data, AI actions, and requests for approval or more information. That distinction maps well to a state machine. An extraction action owns a proposed set of fields. A validation step owns the decision that those fields satisfy the contract. A reviewer
I had six separate scripts checking different things about my posts, written weeks apart, each with its own idea of what a post is. This week I found the same defect in five of them, so I spent an afternoon collapsing them into one file. The first run reported this: 103 files · 115 errors · 60 warnings Of those 115 errors, 91 were a bug in the script I had just written to consolidate the lesson about that exact bug. I want to walk through that, because the useful part of this exercise turned out not to be the consolidation. The shared defect across the old scripts was that each one read the file as an undifferentiated blob. A markdown post is not a blob. It has a leading HTML comment where I keep private notes, a front matter block of metadata, and a body. Those three regions mean different things and almost no check should look at all three. def slice_post(raw): notes = LEAD_COMMENT.match(raw) notes = notes[0] if notes else "" rest = raw[len(notes):] m = FM.match(rest) front = m.group(1) if m else "" body = rest[m.end():] if m else rest return {"notes": notes, "front": front, "body": body} Every check now receives that dict and names the region it cares about. The em-dash density check reads body, because metadata is not prose and padding the word count with a long description used to move the score. The cover check reads front. Nothing reads notes, which was the entire point. CHECKS = [check_missing_imports, check_untagged_fences, check_notes_not_leaked, check_no_published_flag, check_cover_ratio, check_em_dash_density] check_missing_imports walks each Python block's AST, collects names it reads but never binds, and errors if any of them is a stdlib module. Sixteen percent of my published blocks raise NameError on paste for this reason. check_cover_ratio reads the PNG header and demands exactly 1000x420, because covers are served through fit=cover and anything off-ratio gets center-cropped with no warning. check_no_published_flag warns if front matter claims publi
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend diff-review is a small CLI and git pre-push hook. When you run git push, it grabs the diff, drops the noise (lockfiles, build output, binaries), sends it to an open-weight model through Ollama, and prints up to five short bullets about likely bugs, leftover debug code, and missing tests. Then your push continues. It never blocks a push unless you opt in with --strict. If the model is offline, it prints "review skipped" and moves on. I built it for a friend who is a developer and still getting comfortable with the terminal. He wanted a quick sanity check on his code before pushing, without sending it to a hosted service. I showed it to him, and his feedback was honest: it would be better with a smarter model, and better still with a UI. The terminal-only setup is hard for him right now. I've put that in the "What's next" section below because it's the most useful thing I learned. Code / diff-review diff-review Local CLI and git pre-push hook that reviews your diff using an open-weight model running on your machine. Example diff-review · gemma3:1b via ollama · diff-file · 1 of 1 files · 142 lines - src/api.ts: fetch result is used without checking response.ok - src/api.ts: console.log left in getUser() Why local and open-weight Code never leaves your machine by default (Ollama runs locally). If you use OpenRouter, the diff is sent to that hosted service (see privacy note below). Model is swappable via CLI flags, environment variables, or config; no code changes. Free to run. Small 1B models give shallow reviews and are advisory only - they may miss things and sometimes produce unhelpful output. We also include rule-based checks plus model review (deterministic checks that catch obvious issues without invoking a model), and we honestly note that a 1B model adds little on top of those checks. Quick … View on GitHub TypeScript on Node with zero runtime dependencies. I wrote a PRD and had Ope
A client of mine came to me with a strange problem. The person who keeps their website up to date could still log in. They could still change other parts of the site. But the moment they tried to edit a regular page, the screen went blank except for one line: "This content is blocked. Contact the site owner to fix the issue." When I logged in and tried it myself, I got the same message. The site owner was me, in a sense. Not long before, I had added a new layer of protection to all eight websites I manage. It is a set of instructions every visitor's browser receives, telling it exactly what the page is allowed to load and from where. Done right, it shuts the door on a whole family of attacks where a bad actor sneaks their own code onto your page. Done slightly wrong, it shuts the door on you. That is what happened here. The protection was working perfectly. It was just protecting the site from its own editing screen. A Guest List for Every Page: Each time someone opens one of my sites, their browser gets a short list of approved sources for scripts, images, fonts, and embedded windows. Anything not on the list does not load. The Editor Lives in a Window Inside a Window: Modern page editors show your work inside a small inner window that the editor builds on the fly, right inside your browser. My guest list had no line for that kind of window, so the browser refused to show it. That was the blank screen. One Narrow Exception: I added a single entry allowing those on-the-fly inner windows. Only the page's own code can create one, so an outsider cannot use that opening to slip anything in. Three New Locks While I Was There: I also added three rules that were missing: no old-style plug-in content, no redirecting the page's base address, and a tighter rule on background helpers. The site ended up stricter overall, not looser. The fastest fix would have been to switch the protection off for the whole admin area, the part of the site where the editing happens. That would h
Qwen 3.8 Flash Next on a Single RTX 4090 Cracks the 100 T/s Barrier “A $1,600 graphics card now pushes a 125‑billion‑parameter LLM at 100 trillion tokens per second.” – community lead on the Strata repo The headline sounds like a stunt, but the numbers survive a hard audit. A volunteer team folded the 125 B‑parameter Qwen 3.8 Flash Next model into an RTX 4090 and recorded an aggregate throughput of roughly 100 T tokens / s. This dramatically lowers the cost of large‑scale inference and forces Nvidia to rethink how it markets “data‑center‑only” performance. Below, I break down the engineering tricks, the benchmark outcomes, the cost calculus, and the competitive picture against Nvidia’s newest GPUs. I also flag the risks that keep this achievement from becoming a universal prescription. Most analysts still equate 125‑billion‑parameter inference with multi‑GPU clusters, H100 farms, or purpose‑built ASICs. Those solutions cost tens of thousands of dollars per card and demand sophisticated rack infrastructure. The RTX 4090, a 2022‑era enthusiast board, costs about $1,600 and fits in a desktop case. If a single 4090 can sustain 100 T/s, the per‑token price plummets, opening the door for startups, research labs, and even power users to run state‑of‑the‑art LLMs without a data‑center lease. The community project lives under the Strata GitHub organization. Its contributors followed a three‑step recipe, which can be summarised as follows: Aggressive int4 quantisation – Using the Quantize the Target, Quantize the Drafter (QTD) recipe, both the main model and its lightweight drafter were compressed to a custom int4 weight format. VRAM demand dropped from >30 GB to ≈22 GB, and the KV‑cache was shrunk to int8, saving another 2–3 GB. Speculative decoding pipeline – A 4 B‑parameter drafter runs in FP16, proposes up to three candidate tokens per step, and hands them to the full‑size model for validation. On average, validation consumes 1.2 forward passes per token, delivering a ≈20