SShortSingh.

Programming

0
ProgrammingDEV Community ·

AI-Assisted Consensus Protocol A-agreement Reports Lower Latency in Replicated Systems

Researchers report that AI helped discover A-agreement, a new consensus protocol designed for geo-replicated state machines. In six deployments with five or nine replicas, the protocol reportedly reduced mean latency and outperformed existing state-of-the-art solutions. The work spanned protocol design, correctness reasoning, implementation, and evaluation. Consensus protocols underpin replicated databases and fault-tolerant services, so lower latency without weaker correctness could benefit geographically distributed systems. The source does not detail the AI's exact role, the correctness proofs, or tail-latency results, and independent replication is still pending.

0
ProgrammingDEV Community ·

Developer Builds Lightweight Local-First Finance and Rental App on 256MB Host

A developer built Hishab, a personal finance and rental management app, to combine expense tracking with apartment rent and tenant management in one system. The app is a Vue 3 and Laravel 13 web application packaged as a PWA and Android WebView, designed to work across desktop and mobile devices. Writes are stored in browser IndexedDB first for immediate feedback and then synced to the server in the background using the Web Locks API. It runs on a 256MB shared container using PHP-FPM and SQLite, avoiding heavy infrastructure such as large Docker stacks. The project also supports nested budget categories with recursive rollups and automated daily gzipped database backups with 30-day retention.

0
ProgrammingDEV Community ·

Small Businesses Weigh Passkeys Against Passwords: A Practical Adoption Guide

An article for small business teams argues that passkeys are now practical to adopt, since Apple, Google, Microsoft, and many major services support them. It explains that passwords are vulnerable because they get reused, can be captured by phishing pages, and create ongoing reset and lockout costs. Passkeys use public-key cryptography, with the private key staying on the user's device and the service storing only a public key, which is bound to the site's domain and resists phishing. The piece also notes limitations, including incomplete support in older software, the need for careful account recovery design, and awkwardness with shared logins, and it recommends a gradual, inventory-based migration.

0
ProgrammingDEV Community ·

Bootstrap Resampling Explained: How Sampling With Replacement Estimates Uncertainty

The article explains how the bootstrap method estimates the variability of a sample mean using only one observed sample, by treating that sample as an empirical distribution. Using the small example dataset 2, 3, 4, 4, 7, it shows how drawing five records with replacement produces resamples whose means differ from the original. It stresses that the resampling unit should match the study design, such as resampling complete pairs for correlations or whole groups for clustered data. The author notes that the spread of repeated statistics can estimate standard error, and that reporting the method, seed, and number of replications is essential. The piece also warns that bootstrapping cannot recover groups missing from the original sample and may be unsuitable for extreme-value targets like maxima.

0
ProgrammingDEV Community ·

How to model customs hold deadlines when CBP controls the timing

A customs hold is a decision made by U.S. Customs and Border Protection, which no external system can query, so pipelines should store observable events and derive deadlines instead. Under 19 CFR 151.16(b), presentation for examination occurs only when goods can actually be viewed by an officer, not when a container arrives at the terminal, so presentation timestamps should be set by operator confirmation rather than gate events. CBP has five business days after presentation to release or detain, while a final admissibility determination is due within 30 calendar days, meaning the two windows require different counting rules and a versioned holiday calendar. When CBP detains goods or misses the release window, 19 CFR 151.16(c) requires a notice within five business days, which contains five fields, with the last describing what information could speed the outcome. The author recommends keeping computed deadlines alongside the calendar version that produced them so changes do not silently shift dates.

0
ProgrammingDEV Community ·

Cursor and Harvey lead AI firms' hiring in sales and go-to-market roles, analysis of 2,698 jobs finds

An analysis of 2,698 open jobs across ten AI companies, pulled from their public career boards on 20 October 2026, examines how hiring is split between go-to-market and engineering roles. Using each company's own department labels, 30.1% of the openings fall in go-to-market functions, with Cursor at 67.7% and Harvey at 51.0%, while OpenAI and Anthropic sit in the low 20s despite having the largest boards. Remote hiring is far less common, at 15.4% overall, with ElevenLabs listing 136 remote roles while Scale AI lists none. The author also reports median published salary bands for engineering postings, which are highest at OpenAI. The figures are described as a lower bound, since several customer-facing titles were excluded from the go-to-market count.

0
ProgrammingDEV Community ·

Why AI Slop Is Harder to Detect Than Many Assume

An article argues that the term 'AI slop' is more slippery than it appears, since people often use it to mean anything they dislike rather than a clearly defined category. It notes that AI-generated text once had recognizable traits like stiff, formulaic phrasing, but modern language models can now mimic casual, professional, and personal writing styles convincingly. The author points out that generic, predictable writing predates generative AI, so surface features such as polished grammar or repetitive structure are weak evidence of machine authorship. The piece suggests that judgments about quality and authenticity are shaped by personal opinion and familiarity as much as by objective signals. It concludes that identifying AI content reliably requires looking beyond style to how we define quality and understanding.

0
ProgrammingDEV Community ·

Ollama keep_alive on loaded model can stall requests for other models

With OLLAMA_MAX_LOADED_MODELS set to 1, a request for an unloaded model prompts Ollama to schedule the currently loaded model for eviction once it goes idle. If a request for the loaded model arrives during this wait and includes keep_alive, that value overrides the pending unload, so the loaded model stays in memory for the full keep_alive period. Tests on Ollama 0.40.8 with CPU-only inference showed the second model responding in about 9 seconds without keep_alive but not within 150 seconds with keep_alive set to 30 minutes. The server reports no error and /api/ps looks healthy, and the relevant scheduler messages appear only at debug level. The issue is tracked upstream as ollama/ollama#19182, with a proposed fix in #19190.

0
ProgrammingDEV Community ·

Parallel coding agents can collide on one repo; kitchen habits offer a fix

Running several Claude Code or Codex sessions on the same repository often leads one agent to overwrite another's fixes, even though neither acted incorrectly. The article proposes borrowing three restaurant-kitchen practices: giving each session its own git worktree and branch, so conflicting edits surface as readable merges. It also suggests a shared claims.md file where each agent registers its task under a file lock to prevent duplicate work. Claims carry timestamps so that stale ones from crashed or closed sessions can be reclaimed after a set period. The author notes these rules live in instruction files that agents can skip, and that the approach works best for a solo developer, becoming harder to manage across several people and machines.

0
ProgrammingDEV Community ·

LazyDesk: A Privacy-First Local AI Workspace for Focused Productivity

A developer has built LazyDesk (SlothAgent AI), a minimalist, local-first workspace for intentional productivity, submitted to the Hacktoberfest Open-Source AI Challenge. The app combines a glassmorphism dashboard with focus timers, task and note managers, and an optional AI chat assistant powered by open-weight models run through Ollama. All tasks, notes, and preferences are stored in the browser's localStorage, so personal data stays on the user's device. The project runs with a simple Python server and requires no npm installation or external cloud subscriptions. Its creator says the single workspace reduces context switching across separate timer, planning, note, and AI apps.

0
ProgrammingDEV Community ·

Computer Science Graduate Builds Career in SEO and Content Strategy

A computer science graduate describes how a technical degree led them into SEO and content strategy rather than software engineering. In 2015 they co-founded TechLookBD, which they ran alongside their work for about five years. Their undergraduate project, Autometify, was a touch-based home automation controller. They also held a senior executive role at AjkerDeal.com and an SEO analyst position at Web Integrator Ltd, a US-based agency that went remote in 2019. They now lead SEO strategy at TechLookBD and mentor SEO learners at Prayogik.com, arguing that the degree gave them a grounding in how websites work.

0
ProgrammingDEV Community ·

AI 에이전트 개발 문서를 관리하는 방법 가이드

이 가이드는 AI 에이전트를 위한 문서를 코드와 함께 레포 안에서 버전 관리하고, 유효 기간과 적용 범위에 따라 계층으로 나누라고 권한다. 에이전트는 세션마다 기억이 초기화되므로 레포에 명시된 내용만 사실로 다루도록 설계해야 한다. 상시 규칙은 CLAUDE.md에 짧게 적고 상세 내용은 docs 폴더에 두어 필요할 때만 읽게 한다. 요구사항이 바뀌면 코드보다 스펙 문서를 먼저 수정하고, 기술 결정은 ADR로 기록해 추가만 하는 방식을 따른다. 반복되는 실수는 문서 한 줄보다 테스트, 린트 규칙, Hook 같은 기계적 장치로 막는 것이 권장된다.

0
ProgrammingDEV Community ·

A Simple Habit for Tracking Money Lent to Friends Without Awkward Follow-Ups

Informal loans between friends are often never recorded, and the resulting mismatched memories can strain relationships more than the money itself. The article argues that writing down each loan immediately, including the person, amount, date, purpose, and expected repayment date, acts as a fair safeguard for both sides. It also recommends logging debts you owe to keep the arrangement balanced. Because individual loans tend to form patterns that memory cannot reliably track, the author suggests choosing a method, such as a notes app or spreadsheet, that fits your everyday habits. Taking about fifteen seconds at the time of the transaction is presented as far easier than awkwardly chasing repayment months later.

0
ProgrammingDEV Community ·

Structured Meeting Notes and Same-Day Recaps Drive Follow-Through

Many teams take meeting notes but few actually use them, and the gap comes down to how the notes are organized. The recommended format lists decisions in one sentence each, actions with an owner and deadline, and open questions with an assigned owner, while skipping a transcript of who said what. Recaps sent the same day are far more likely to be read than those sent days later, so they should also be kept short enough to read on a phone. Starting each meeting by reviewing the previous meeting's action items reinforces accountability. The article also notes that AI note-takers can generate recaps automatically, provided a person verifies decisions and owners before distribution.

0
ProgrammingDEV Community ·

Developer builds Windows gauge estimating Claude Code usage limits from local logs

A developer who uses Claude Code heavily created a small Windows gauge that shows an estimate of remaining usage in the corner of the screen. The tool reads the append-only session logs Claude Code already writes, counting input, output and cache-creation tokens while excluding cache reads, which would distort the estimate. Because plan limits are unpublished and change over time, it learns a limit from past 'limit reached' messages or from the user's busiest recent window, and projects when the user may run out. The same approach is said to work with Codex, Gemini CLI and Antigravity logs, while Cursor only offers an activity estimate. The tool is an unofficial, independent product not affiliated with Anthropic, is sold after a 7-day free trial, and its author has asked for feedback on the estimation method.

0
ProgrammingDEV Community ·

Ollama silently drops tool calls to functions missing from the tools list

When a model served by Ollama calls a function absent from the request's tools list, the call is discarded and the reply comes back empty, with no content and no tool_calls. The response still reports generated tokens through eval_count, showing the model produced output that was thrown away. In tests on Ollama 0.40.8 with qwen3:0.6b, eight of eight replies were empty when the needed tool was left out, while adding it to the list produced the expected call every time. The behavior stems from Ollama's generic, template-based tool parser, which affects models without a dedicated parser, including qwen3. The suggested workaround is for clients to list every tool the model might call, and the issue is tracked upstream as ollama/ollama#19187.

0
ProgrammingDEV Community ·

Docker graphdriver store mislabels zstd image layers as gzip on push

Docker daemons using the graphdriver image store, including Docker 28 and upgraded Docker 29 installs, relabel zstd-compressed layers as gzip when pushing an image they pulled. The layer data itself is reused unchanged, so the push succeeds and docker run still works, since Docker detects compression from the bytes rather than the label. Tools that trust the label, such as BuildKit building FROM the relabelled image with forced zstd compression, fail with a missing compression blob error. Without forced compression the build succeeds but carries the incorrect gzip labels into the new image. The problem was reproduced on Docker 29.9.1 and 29.9.2, while the containerd image store labels the same layers correctly, and it is tracked upstream in moby/moby#53999 and moby/buildkit#7308.

0
ProgrammingDEV Community ·

Mediation Analysis Explained: How Indirect Effects Reveal Research Mechanisms

Researchers often want to know not just whether two variables are related, but how one influences the other. Mediation analysis tests whether an intermediate variable, or mediator, helps explain that link, using an example in which social media marketing may affect purchase intention through brand awareness. The approach relies on two paths: the effect of the independent variable on the mediator, and the effect of the mediator on the outcome, whose product gives the indirect effect. Because the indirect effect's sampling distribution is often non-normal, researchers typically use bootstrap confidence intervals to assess its uncertainty. The guide also cautions that finding an indirect effect does not by itself establish causation, which depends on research design and assumptions.

0
ProgrammingHacker News ·

OpenAI Releases Official Command-Line Interface on GitHub

OpenAI has published a command-line interface tool in a public GitHub repository, according to a Hacker News post. The post gained 15 points and drew six comments from the community. The source material provides only the repository link and engagement metrics, so details about the tool's features, capabilities, and release date are not confirmed here. Readers interested in its functionality should consult the GitHub repository directly.

0
ProgrammingDEV Community ·

Guide Shows How to Pull SEC EDGAR Filings as JSON Without a Custom Scraper

A developer tutorial explains how to retrieve SEC EDGAR filing data in structured JSON form for alerts, compliance checks, and equity research. It notes that EDGAR's endpoints are anonymous and require no API key, but that requests must include a declared User-Agent and stay under 10 requests per second. The article presents steadfetch/sec-edgar-monitor, an Apify Actor that wraps these endpoints and accepts filters by company CIK, form type, date range, or full-text query. Sample code in curl, Node.js, and Python is provided, along with an example filing record showing fields such as accession number, form type, and filing date. Pricing for the Actor is listed at 5.00 USD per 1,000 filings.

← NewerPage 150 of 2956Older →