SShortSingh.

Programming

0
ProgrammingDEV Community ·

We Trusted the Tool Descriptions. That Was the Bug.

Notes from a product team on putting an MCP trust boundary around a frontend/ops agent: allowlists, approval gates, and a gate on the read path. Our first MCP integration felt like magic. We had an agent that could look at a failing preview deploy, check feature flag state, read the related issue, and tell you what was wrong. Every capability came from an MCP server, and the agent discovered tools by reading their names and descriptions. That discovery step is the whole point of MCP, and it was also where we got careless.

0
ProgrammingDEV Community ·

How to Block Time Logging on Specific Work Types in Jira Cloud (Using Workflow Properties)

How to Block Time Logging on Specific Work Types in Jira Cloud (Using Workflow Properties) Your organisation uses Tempo Timesheets and needs to prevent users from logging time against certain Jira issue types — like Risk, Assumption, or any work type that exists for tracking purposes only. There’s no toggle for this in Tempo. But there’s a workflow property that does exactly what you need, and it takes five minutes once you know where to look. You have issue types in Jira Cloud that exist purely for tracking — risks, assumptions, dependencies, decisions, whatever your framework calls them. Nob

0
ProgrammingDEV Community ·

Redis says the key is gone. The memory comes back 22 seconds later.

A key with a TTL stops existing the moment that TTL passes. GET returns nil, EXISTS returns 0, and as far as anything your application can observe, the key is gone. What I wanted to know was when the memory comes back, because those are not the same event and I had never seen anybody put a number on the gap. The answer, on an idle server with five million keys expiring together, is a little under twenty-three seconds. For most of that time Redis is holding several hundred megabytes for data that every client already agrees does not exist.

0
ProgrammingDEV Community ·

Why a Numaflow watermark wouldn’t move

I started looking into issue #3645 in Numaflow, a Kubernetes-native stream processing platform, because of a workaround that seemed odd. The pipeline was still processing messages. The vertices were healthy, and there were no errors in the logs. But pipeline_processing_lag kept growing, first for hours and then for days. The accumulator vertex’s watermark wasn’t The reporter, th0ger, was using Numaflow 1.8.3 with Python SDK 0.14.0.

0
ProgrammingDEV Community ·

Sending form submissions to Slack, Discord, Airtable and Notion

Every integration below has one setup mistake that returns success and delivers nothing. Here is each one, how to spot it, and the webhook payload I ended up designing around them. I build a form builder, Seagit Forms, and most of the support questions I get aren't about forms at all. They're about a response that should have landed in Slack or Notion and didn't, while every dashboard said it worked. After wiring up nine destinations, I noticed a pattern.

0
ProgrammingDEV Community ·

Why You Should Stop Base64 Encoding SVGs in CSS (And What to Use Instead)

If you've built any modern frontend project, chances are you've dropped an SVG directly into your stylesheet as a Base64 string: /* The classic 2 AM solution */ .icon { background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEyIDJMMiA3bDEwIDUgMTAtNS0xMC01eiIvPjwvc3ZnPg=='); } It works, it eliminates an extra HTTP request, and the icon renders. But down the line, this habit almost always comes back to bite you. Here is why Base64 encoding in CSS is an anti-pattern, and what modern frontend developers should b

0
ProgrammingDEV Community ·

Small SaaS App Logging Service — Structured JSON for Logistics Cohorts

TL;DR: For a small logistics SaaS, start with server-side structured JSON logs when the immediate job is comparing cost attribution across tenant experiment cohorts. The least complex workable system puts the cohort, attribution rule, outcome, and trace identifiers in each event, makes those events searchable, and pages through a separately operated poller. Infrai fits this narrow scope when keeping one REST contract under one key while the vendor behind a capability changes is valuable; it does not replace tracing, native alert routing, or privacy export tooling. The page should say which coh

0
ProgrammingDEV Community ·

The hottest new hangout for middle schoolers is NPR’s comment section?

From Comment Sections to Dichoptic VR: Building Amblyotube for Kids Who Need a Better View I first saw the article on a Tuesday morning, coffee cooling on the desk, the glow of the monitor the only light in the room. TechCrunch had written about middle‑schoolers turning NPR’s Spotify comment threads into a secret clubhouse — kids swapping memes, inside jokes, and half‑formed theories in a margin nobody else looked at. Zero onboarding, zero identity checks, just a peripheral UI element they claimed as their own. It struck me because I’d spent the last year staring at a different margin: the spl

0
ProgrammingDEV Community ·

Creating a Data-Driven Forest Monitoring Architecture from LiDAR, Sensors, and Remote Sensing

Forest monitoring is becoming a data-integration problem. A typical monitoring program might use satellite imagery, LiDAR data, IoT sensors, field observations, weather reports, and various machine learning models. Each of these sources provide a different set of information, how to combine them comes with an interesting set of constraints. It's not a matter of getting data. It's a matter of using heterogeneous environmental data to create something useful to people who need to study or manage the forest.

0
ProgrammingDEV Community ·

Kiro Crew + Discord: Running My Agent From My Phone

I've been working on coding projects in my terminal and my IDE for years, (shoutout to CodeBlocks for my C++ fans!) but as agents continue to make the case for streamlined task management in our development cycles, one thing that I found frustrating was the moment I had to step away, close the terminal or lost network access my tasks would stop or stall dead in their tracks. A task is running, a review is halfway done, and then I decide I want to grab a coffee at the office and I'm on my phone in line with no way to check in on any of it. So when Kiro Crew went open source and launched on Augu

0
ProgrammingDEV Community ·

Client Boundaries Without the Guilt Trip: A Practical Availability Policy for Freelancers

Client Boundaries Without the Guilt Trip: A Practical Availability Policy for Freelancers Sunday evening. A client pings: “Quick favor?” It is not evil. It is also not automatically your job to answer in the next ten minutes. If you freelance—or you work as a virtual assistant—availability and scope are two of the easiest places for quiet resentment to grow. Not because clients are villains, but because expectations lived only in your head.

0
ProgrammingDEV Community ·

FrameFlip48: four models, one frame switch, two kinds of failure

This is a submission for the Kaggle Benchmarking Challenge. FrameFlip48 measures whether a model tracks the translation frame in a short robot-motion program. Each of 24 matched pairs has identical numbers and commands. One prompt says ACTIVE_FRAME = LOCAL; its counterpart says ACTIVE_FRAME = WORLD. Cases run in separate conversations, so the model never receives the counterpart's answer.

← NewerPage 707 of 3156Older →