SShortSingh.

Programming

0
ProgrammingDEV Community ·

Log Collector & Dashboard for Elixir.

A Simple Log Collector for Elixir I’ve just released a small log collection stack for Elixir applications. The idea is simple: store application logs in ClickHouse and provide a lightweight dashboard to search and inspect them. The collector is built with clickhouse_ex_logger, which sends Elixir logs directly to ClickHouse. The dashboard is available in logger_dashboard. It’s designed for developers who want something simpler than a full observability stack when they mainly need to collect, search, filter, and inspect application logs.

0
ProgrammingDEV Community ·

Flatten SF: qué es el ruteo multiobjetivo y cómo funciona

Flatten SF calcula, dentro del navegador y sobre 160.000 tramos de calle de San Francisco, la ruta a pie o en bici que evita las cuestas más empinadas de la ciudad. Lo logra combinando datos de elevación lidar de 1 metro del programa 3D Elevation del USGS con el grafo de calles de Overture y OpenStreetMap, resolviendo lo que en teoría de grafos se llama ruteo multiobjetivo, es decir, encontrar en vez de una sola ruta óptima el conjunto completo de rutas que compiten entre distancia y ascenso. Flatten SF calcula rutas pareto-óptimas entre distancia y ascenso sobre 160.000 tramos de calle de San

0
ProgrammingDEV Community ·

Two things nobody was watching

First published on openspec-ui.dev. OpenSpec Workbench's whole pitch is watching an agent while it works. Two A working directory is removed in two steps: git forgets it, then whatever That is not a hypothetical. A shell from an already-archived change, a-change-knows-its-stage, sat under the worktree root from one day to the packages/extension/.vscode-test, which the extension's own test run had Two things had kept that retry from happening. The rule for "is this ours The fix changes what "ours" means: a shell named after a change this .git of its own, is cleared whatever is inside Checked li

0
ProgrammingDEV Community ·

Build an Admin Dashboard in React

An admin dashboard is mostly three things: a row of numbers that matter, a chart that shows the trend, and a table of recent activity. In this tutorial we build all three with oks-ui and arrange them in a layout that works from phone to desktop. import { Card } from "oks-ui/card"; import "oks-ui/card.css"; import { Stat } from "oks-ui/stat"; import "oks-ui/stat.css"; import { Chart } from "oks-ui/chart"; import "oks-ui/chart.css"; import { Table, type TableColumn } from "oks-ui/table"; import "oks-ui/table.css"; import { Chip } from "oks-ui/chip"; import "oks-ui/chip.css"; The hardest part of

0
ProgrammingDEV Community ·

彻底放弃MicroFeed了

Github因为我发的一些比基尼的图片直接给我删库了,其实用的也不是GitHub的图床了还是被废了。虽然GitHub/GitLab注册很简单,但对这些第三方代码平台有点烦了。 SaaS全托管的最后考虑Mataroa Blog,主要是导出导入很方便,完全支持Markdown,最重要的是可以邮件发博文。不过跟Hatena一样,每次新起一行都需要留一行空行,否则文字都会挤在一起,WordPress跟Blogger没这方面问题。 我已经试过了各种博客系统: Jekyll/Hugo/VitePress/Gmeek/SkunkHTML/MDXpress,多数都是GitHub + CloudFlare Page,有些是GitHub,多数更新都比较麻烦,Gmeek还算简单。 昨天到今天想试一下只用CloudFlare弄一个简单的MicroFeed,但设置了半天也没成功。 考虑了很久,打断自己用Obsidian + Share.Note.Sx 做一个目录页,从Mataroa Blog/Bear Blog/WriteFreely第三方实例/Hatena Blog/PageCord里面选择1-2个做备份用。只要本地保存Markdown文件,博客平台就只是一个空壳罢了,需要展示的时候导入一下即可。 昨天其实还试了发多图到Nostr,结果账号他站的图床的链接跟帖子最后都消失了,这也证明了自由是有边界的,掌控

0
ProgrammingDEV Community ·

Install an SSH Public Key on a Server from Linux, macOS, or Windows

Password prompts on every SSH connection get old quickly. Public-key authentication fixes that, but first the server needs your public key in the right place. On Linux, ssh-copy-id handles the common case. On macOS and Windows, you may need to install or use an alternative. You need a key pair and a way to log in to the server already, such as a password or another working key.

0
ProgrammingDEV Community ·

Build-Time, End to End - From federation.config to remoteEntry.json

Part 3 of an 8-part series on Native Federation v4 for enterprise architecture teams. New to the series? Start with Part 1: The Mental Model, Revisited. In Part 2, we mapped the four layers of Native Federation v4 and saw that one file, remoteEntry.json, connects the build to the browser. This article zooms in on the build side and answers three questions: What do you write in federation.config.mjs, and what does each setting mean?

0
ProgrammingDEV Community ·

111 and 2049: RPC and NFS Endpoints in an Internet-Facing Population

111 and 2049: RPC and NFS Endpoints in an Internet-Facing Population Services that were never meant to leave the data centre Some protocols exist to make a private network work. Portmapper and NFS are the clearest examples: they assume a trusted network, they historically relied on host-based access control rather than authentication, and they have no business being reachable from the internet. Measurement shows how far that assumption holds. Queried on 25 September 2026 through the ZoomEye SDK: port="1521" is not part of this set, but a set of direct service and port probes was executed at th

0
ProgrammingDEV Community ·

700 Skills, 0 Governance: The Missing Layer in Agent Skill Stacks

Today's GitHub Trending surfaced a pattern that's been building for weeks: agent capabilities are stacking up at an accelerating rate, but the governance layer isn't keeping up. Three repos tell the story: calesthio/OpenMontage — 700+ agent skill and production-knowledge files, 12 production pipelines, 100+ tools. A full agentic video production system. msitarzewski/agency-agents — A complete AI agency: frontend wizards, Reddit community ninjas, whimsy injectors, reality checkers. Each agent is a specialized expert with personality and deliverables.

0
ProgrammingDEV Community ·

HyperShift CVE-2026-101919 — CVSS 8.8 Tenant Isolation Bypass via Kubeconfig Passthrough

An authenticated tenant with basic namespace permissions can break out to the host control plane in OpenShift clusters running Multicluster Engine with HyperShift. CVE-2026-101919 (CVSS 3.1 8.8, Red Hat: Important) is an improper input validation flaw in the hypershift-rhel9-operator. The ReconcileCredentials function copies a user-provided kubeconfig Secret verbatim into the privileged control plane namespace: // illustrative — simplified from source No exec-provider stripping, no AuthProvider validation, no InsecureSkipTLSVerify guard. A tenant embeds a malicious exec plugin in their kubecon

0
ProgrammingDEV Community ·

Node.js Feature Flag Rollouts: Stable Bucketing for 10% Notification Releases

Short answer: store the rollout percentage in the flag system, but make the release decision in the request path with a deterministic hash of an immutable user or account ID. For a property-management notification service, that means the same tenant stays on the same delivery path while a 10% release is evaluated; otherwise, users switch cohorts between requests and the delivery-failure signal becomes noise. The least complex useful design is one percentage, one documented hash rule, and one SLO guardrail. Do not call a random-number generator on every request. Do not start with an experiment

0
ProgrammingDEV Community ·

Traefik or Caddy? Choose a Reverse Proxy by How You Deploy

Adding a service behind a reverse proxy should be routine. But the workflow changes depending on whether routes live in one proxy config or are discovered from your containers. That distinction is often more useful than trying to pick a universal winner between Traefik and Caddy. A good starting point: Caddy is often simpler when you have a small, fairly stable list of sites. Traefik is often a better fit when Docker services change frequently and you want routing to follow container metadata.

0
ProgrammingDEV Community ·

Filter tcpdump by IP: Hosts, Direction, Subnets, and Ports

When a packet capture is full of traffic you don't care about, narrow it with a capture filter. For an IP address, the key distinction is whether you want traffic in both directions, only packets from the address, or only packets going to it. sudo tcpdump -nn -i eth0 'host 192.0.2.25' This captures packets where 192.0.2.25 is either the source or destination. Replace the example address and interface with the ones relevant to your system. An IP filter only sees packets that reach the interface you selected.

0
ProgrammingDEV Community ·

Overcoming LLM Knowledge Gap: Balancing AI Tool Use with Advanced Local Model Understanding

Introduction: The Rise of LLMs and Their Impact The integration of Large Language Models (LLMs) into professional workflows has sparked a critical debate: Is advanced knowledge of local LLMs essential for leveraging AI tools effectively? This question resonates across industries as LLMs become the backbone of automation, decision-making, and innovation. While the complexity of LLM technology and its rapid evolution might suggest that deep expertise is mandatory, the reality is more nuanced. Many users, like the individual in our case study, rely on pre-configured AI tools that streamline tasks

0
ProgrammingDEV Community ·

NotePilot AI: Turn Your Notes into Summaries, Quizzes, and Flashcards

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend. I built NotePilot AI, a web application that helps students study more efficiently by turning their notes into useful study materials. Students often spend a lot of time revising lengthy notes and preparing questions or flashcards manually. NotePilot AI makes this process easier by providing three features: AI Summarization: Convert lengthy notes into concise summaries. Quiz Generation: Generate quizzes from study material to help students test their understanding.

0
ProgrammingDEV Community ·

[query-inspector] A Claude Code skill for extracting and tuning SQL/ORM queries

query-inspector is a Claude Code skill that extracts the SQL/ORM queries from your project's source, then diagnoses and tunes missing indexes / N+1 problems / anti-patterns. Queries that run fine until the data piles up. N+1 problems that sail through code review. The real SQL your ORM generates, invisible in the code. It catches all of this right before you commit, not after it reaches production.

0
ProgrammingDEV Community ·

Why I Stopped Self-Hosting AI Models (And You Probably Should Too)

I spent three months and roughly $500 on GPU hardware trying to prove a point. That point was that I could run my own AI models, free from the shackles of API pricing and vendor lock-in. I was wrong, and the journey was both humbling and expensive. This isn't just a "cloud good, self-host bad" tirade. There are legitimate reasons to self-host—privacy, data sovereignty, or just the sheer nerdery of building your own inference rig.

0
ProgrammingDEV Community ·

Wirelist: cards, divided lists and grids for Laravel and Livewire

A list of cases, tasks or properties is not a table, as each record reads as a card, and forcing it into columns leaves gaps and odd widths. Wirelist draws those lists. Records as divided rows, separate cards or a grid, each one opening its record, with a row actions menu, load more and the 11 themes of the wire* family. It is built on Wiretables, so tables and lists share their look and sit together on one screen. It requires Wiretables, which Composer installs with it.

← NewerPage 628 of 3149Older →