Under the Twilight, one Bandra evening.
Sunday evening in the Park, Continue reading on Medium »
Juros simples vs. compostos em JavaScript: a diferença que o tempo faz
A diferença entre juros simples e compostos parece pequena no primeiro mês — e enorme depois de um ano. Neste artigo, implemento os dois em JavaScript puro e confiro os números com a calculadora do JeitoBR. As fórmulas Juros simples: o juro incide sempre sobre o valor inicial. Montante = P × (1 + i × n). Juros compostos: o juro incide sobre o montante acumulado. Montante = P × (1 + i)ⁿ. Com aporte mensal, o simples soma o aporte sem render, e o composto rende cada aporte pelo tempo restante. function calcularJuros(principal, taxaMensal, meses, aporte = 0) { const i = taxaMensal / 100; const si
What Is a Token in AI? I Ran the Same 71 Tasks on Three Models
A token is the unit a language model reads, writes and bills in. I gave the same 71 tasks to three Claude models. The mid-size one got 57 of 63 right for about half the price of the largest, which got 58. In this test the model choice moved the bill far more than trimming the context did. A token is the unit a language model reads, writes and bills in. I gave the same 71 tasks to three Claude models and counted every token. The largest model got 58 of 63 checkable tasks right. The mid-size one got 57 at about half the cost. The smallest got 48. That choice moved the cost far more than disconne
How to Build Daily Rewards Deals and Bonus Reward Points That Users Cannot Game
Daily rewards are one of the oldest retention tricks in apps: open the app, claim something, come back tomorrow. They are also easy to get wrong. Users find ways to claim twice, streaks break because of time zones, and the "deal of the day" quietly costs more than it earns. Here is a practical way to build daily rewards deals and bonus reward points that hold up in production. 1. Define the day on the server, in the user's time zone A "day" is not midnight UTC. Store each user's time zone and compute the reward day on the server: -- reward_day is a DATE in the user's local time zone SELECT (no
The Hidden Cost of Perfect AI Content
Your Mind Going Stale Continue reading on The Shortform »
Color Contrast: 5 Accessibility Mistakes Developers Make
Low contrast text is the most common accessibility failure on the web. Here is how to avoid it. 1. Trusting your own eyes Your monitor, brightness and eyesight are not your users'. Measure the ratio instead of guessing. 2. Wrong thresholds WCAG AA needs 4.5:1 for normal text and 3:1 for large text (18pt, or 14pt bold). AAA needs 7:1 and 4.5:1. 3. Forgetting UI components Borders of inputs, icons and focus rings also need 3:1 against their background. 4. Light gray placeholder text Placeholders are text too. The default light gray on white often fails. 5. Contrast on images and gradients Text o
20 System Design Interview Follow-Up Questions That Can Destroy a Perfect Architecture
Most candidates prepare for the initial design question. The difficult part begins when the interviewer starts changing the requirements. Continue reading on Engineering Under Pressure »
Why I built OpenKeito, a free EMT simulator of power systems for people and AI
I have released OpenKeito (Keito, 系統 = "power system" in Japanese), a program that computes the instantaneous values of a power system. This kind of simulation, also called EMT (electromagnetic transient) simulation, computes the waveforms of voltages and currents with small time steps. It is what you use to study fault currents, the inrush current of a transformer, or how the controls of an inverter respond. This article first explains why I built it, and then what it does, how to use it and how it is checked. Repository: https://github.com/yutanakamurajp/OpenKeito Version: v0.11.0 License: A
Capping open positions per EA in MQL5 without the same tick race
"Never hold more than three positions" sounds like a one line rule. In practice many EAs break it, usually on fast days when two signals arrive close together. The naive version Most implementations loop over PositionsTotal(), count positions with the EA's magic number, and allow a new order if the count is below the limit. That works until two orders are sent before the first one appears in the position list. On a market order this window is short, but with a slow server, a requote or an order that fills in parts, the EA can send a second order while the first is still pending, and both pass
10 Tugas Programmer Selain Menulis Sintaks ( Era AI )
Sekitar 2–3 tahun lalu, ketika AI belum berkembang seperti sekarang, pekerjaan seorang programmer bisa dibilang cukup berat. Continue reading on Medium »
Your CI Pipeline Failed. Don't Blame the Code Just Yet.
We've all been there. You push a change, open your pull request, and wait for the CI pipeline to finish. A few minutes later, the notification arrives. Pipeline Failed. You open the execution logs, scroll through a few lines, and there it is: exit status 1 Not particularly helpful, is it? Your first instinct is probably to check the code. Maybe a test failed. Maybe a dependency changed. Maybe something broke in the latest commit. But here's the thing: not every pipeline failure is a code problem. The same error, completely different problems While experimenting with Harness CI, I deliberately
yolowhtml 0.1.3: When Rules Stop Working, Extract Statistically
yolowhtml is the HTML engine extracted from PageSift: a zero-copy arena HTML5 parser (yolowhtml-dom) plus a main-content and Markdown engine (yolowhtml), both pure Rust, both #![forbid(unsafe_code)], MIT licensed. Version 0.1.3, released this week, changes how it decides what the main content of a page is — from hand-written rules to a small statistical model. This post is about why, and what the numbers say. The problem: rule-based extraction has a ceiling Every extractor built on heuristics knows this loop. A page shape breaks the rules — the body is split across sibling containers, a "relat
OpenAI and Cisco Launch Shirudo: New AI-Powered Cybersecurity Tool Protects Linux Servers From…
Published: November 25, 2026 Category: Artificial Intelligence | Cybersecurity | Linux | Open Source Technology: Shirudo | eBPF | AI… Continue reading on Medium »
10 Coding Interview Patterns You Should Recognize Within the First 5 Minutes
How experienced software engineers can identify the right algorithm before wasting half the interview implementing the wrong one. Continue reading on Engineering Under Pressure »
SQL from Beginner to Advanced: A Practical Roadmap with Examples
The queries every data professional should master, level by level, using one simple example database Continue reading on Medium »
Some Failures Are Uncommon
You Have To Look Into The Bigger Picture Continue reading on Medium »
Five High-Retention Operational Painkillers Hidden Inside Compliance, Cloud & E-Commerce Teams…
Most solo developers spend months building features that customers rarely click because they confuse interface complexity with financial… Continue reading on Medium »
15 System Design Trade-Offs Every Senior Software Engineer Should Be Able to Explain
The architectural decisions that reveal whether you understand distributed systems or have simply memorized their components. Continue reading on Engineering Under Pressure »
The 20 LeetCode Problems I Would Solve If I Had Only 14 Days Before an Interview
A focused coding interview preparation roadmap for software engineers who cannot spend six months solving algorithms.* Continue reading on Engineering Under Pressure »
Azure DevOps Crash Course (Part 7): Docker, Azure Container Registry and Container Deployments
The first time someone explained Docker to me, they said: "It is like shipping your laptop to production, but only the parts that matter." I laughed, but it stuck with me. Our Todo API currently runs on App Service with the .NET runtime that Azure provides. That works great. But sometimes you want full control over exactly what runs: the OS packages, the .NET version, everything. That is where containers come in. In Part 6 we sorted out configuration and secrets. Today we: Write a Dockerfile for the Todo API Build the image in Azure Pipelines Push it to Azure Container Registry (ACR) Run the c
TONIGHT, SOMEWHERE
TONIGHT, SOMEWHERE Somewhere tonight a curtain is going up. Find out what’s on and go be part of the audience. Continue reading on Medium »
How to Audit a Blog Archive When You Don’t Know How the Content Was Written
Audit your blog archive with practical steps to verify claims, investigate AI concerns, improve weak articles, and decide what to update or remove. A new content manager inherits a blog with hundreds of published articles. Some have clear bylines and source notes; others arrived through agencies or contributors who no longer work with the business. The writing varies, references are inconsistent, and nobody can confidently explain how every article was produced. Reviewing the archive requires more than guessing which passages might have involved AI. The practical goal is to determine which pag
แอป Claude Artifact สำหรับทีม: แชร์เครื่องมือเดียวให้ทุกคนใช้งาน
Claude artifact apps สำหรับทีม: ติดตั้ง artifact เป็นแอป แชร์ให้ทั้งทีม และคุมสิทธิ์ก่อนเปิดการเข้าถึงเต็มรูปแบบ Claude artifact apps สำหรับทีมคือ artifact ที่ติดตั้งเป็นแอปบน Mac หรือ Windows ผ่านฟีเจอร์ "Install as app" ซึ่งเป็นฟีเจอร์เบต้าใน Claude for Mac และ Windows แต่ละแอปมีหน้าต่างของตัวเอง ใช้ Claude และ connector ของคุณได้ และอัปเดตให้ทุกคนพร้อมกันเมื่อ artifact มีการเปลี่ยนแปลง แพ็กเกจ Team เปิดฟีเจอร์นี้เป็นค่าเริ่มต้น โดยปิดการเข้าถึงคอมพิวเตอร์เต็มรูปแบบไว้ เริ่มใช้ฟรีบนเว็บ รายละเอียดสุดท้ายนี้ส่งผลต่อทุกอย่างในคู่มือนี้ การแชร์เครื่องมือให้ทีมใช้กันนั้นทำได้ง่าย แต่ระดับสิทธิ์ท
10 System Design Interview Questions About Databases That Senior Engineers Get Wrong
From database sharding and transaction isolation to replication lag, indexing, and the architectural decisions that determine whether a… Continue reading on Beyond Localhost »
Calculando o salário líquido em JavaScript: INSS progressivo e IRRF 2026
O salário líquido é o valor que realmente cai na conta depois dos descontos obrigatórios: o INSS (progressivo, por faixas) e o IRRF (sobre a base após o INSS). Neste artigo, implemento o cálculo em JavaScript puro, com a tabela do INSS 2026 e a regra do IRRF — e confiro o resultado com a calculadora do JeitoBR. A tabela progressiva do INSS 2026 O INSS não usa uma alíquota única: cada faixa do salário paga a sua alíquota, e o desconto é a soma das faixas. O teto de contribuição em 2026 é de R$ 8.475,55. const INSS_TETO = 8475.55; const INSS_FAIXAS = [ [1621.00, 0.075], // até R$ 1.621,00 → 7,5%
How Kiro's property tests caught a bug we never thought of — building FrontDesk for Kiroween 2026
Written as part of the Kiroween 2026 hackathon. FrontDesk is a booking template for local service shops, built with Kiro. One template, two live apps — FixIt Auto (auto repair) and BrightSmile Dental — each with its own dashboard, plus a self-serve kit so any shop owner can spin up their own page in minutes. The problem is embarrassingly ordinary Small shops lose bookings to missed calls. The owner is under a car or with a patient; the phone rings, nobody answers, the customer books elsewhere. FrontDesk gives the shop a booking page and an AI receptionist that texts missed callers back, so a m
Huawei Found Guilty on 10 of 12 Counts in US Fraud and Trade Secrets Trial
A Brooklyn jury has found Huawei guilty on 10 of 12 counts, including bank fraud, wire fraud, conspiracy to steal trade secrets… Continue reading on Medium »
Designing a Rewards Store: How Cashback Wallets, Points and Gift Card Redemption Fit Together
Most rewards products start simple: "give users some cashback". Within a few months the team is dealing with points that expire, vouchers that run out of stock, partial redemptions and users asking where their money went. The difference between a rewards program people trust and one they abandon is mostly in how the wallet and the rewards store are designed. Here is a practical way to structure it. 1. One ledger, several balances Keep a single append only ledger table and derive every balance from it. Each row has a user, an amount, a currency type and a reason: type meaning cashback real mone
Claude Artifacts as Desktop Apps & GPT-6.2 Healthcare Variants: Where Does the Browser Tab Fit Now?
Two small shipping signals caught my eye over the last 24 hours, and together they point to a quiet shift in how AI tools leave the chat window. First, Anthropic's desktop client on macOS and Windows now lets users install Artifacts directly as standalone desktop apps—complete with connector access, menu bar residency, and native desktop notifications. Instead of reopening a long chat thread to run a small tracker or formatter, the generated UI gets promoted into an OS-level utility. Second, OpenAI's platform and APIs just surfaced domain-specific model variants: gpt-6.2-sol-healthcare and gpt