SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer Migrates Jenkins Freestyle Jobs to Declarative Pipelines on AWS

A developer documented their process of setting up Jenkins on an AWS Ubuntu EC2 instance, configuring Docker-out-of-Docker to allow Jenkins to build images via the host machine's Docker socket. The project initially used Freestyle jobs to run Node.js commands, but their limitations in handling multi-step workflows prompted a migration to Pipeline jobs written in Groovy. The new declarative pipeline, stored as a Jenkinsfile directly in the repository, defined clear stages for code checkout, dependency installation, testing, artifact packaging, and pushing Docker images to DockerHub. Credentials were secured using Jenkins' Secret text plugin within a withCredentials block to prevent sensitive data from appearing in build logs. The developer plans to extend the setup with Multibranch Pipelines and Jenkins Parameters to further automate and configure builds across multiple repository branches.

0
ProgrammingDEV Community ·

Sunverse AI Builds In-Memory PDF Pipeline for Cryptographically Sealed Legal Docs

Sunverse AI, developing Lawyie — a legal infrastructure platform for Africa — has engineered a document generation pipeline that moves beyond standard AI chat interfaces. The system creates legally formatted PDF contracts entirely in-memory using Python's fpdf2 library and io.BytesIO, avoiding file-write conflicts common in cloud environments like Streamlit. Each document is assigned a unique SHA-256-based hash tied to the user's name and generation timestamp, serving as a cryptographic fingerprint to verify authenticity. Any alteration to the document's content would produce a different hash, making tampering detectable. The team positions this approach as a step toward reducing legal access barriers for Africa's 1.4 billion people by enabling verifiable, low-cost digital contracts.

0
ProgrammingDEV Community ·

How One Team Built a WhatsApp AI Agent Serving 20 Industries With 99.7% Uptime

An engineering team has shared 18 months of lessons from running SARA, an open-source WhatsApp AI agent deployed across businesses in 20 industries. The system uses a four-provider AI chain — Groq, Cerebras, SambaNova, and Mistral — with automatic failover and exponential backoff, achieving 99.7% uptime over six months at near-zero inference cost by leveraging free tiers. SARA can execute over 30 real-world actions such as booking reservations, checking inventory, and generating invoices, with a risk-assessment gate that requires human approval for high-stakes operations. The architecture addresses WhatsApp-specific challenges including message ordering, multilingual date parsing, and privacy by anonymizing personal data before it reaches any language model. SARA is released under the AGPL-3.0 license on GitHub, with industry-specific agent definitions available separately under Apache-2.0.

0
ProgrammingHacker News ·

No Reports of AI Systems Forcing Companies to Recognize Worker Unions

A social media post on Mastodon by user Neil highlighted a notable absence in AI-related incident reports. Despite widespread concerns about AI going rogue or causing unintended consequences, no documented cases exist of an AI system compelling a company to recognize a workers union. The observation gained traction on Hacker News, accumulating 34 points and 8 comments. The post appears to draw an ironic contrast between feared AI risks and the kinds of outcomes that might actually benefit workers.

0
ProgrammingDEV Community ·

Dev team built 32,000 AI build prompts to ease Midnight blockchain's steep learning curve

A development team created Creative Midnight, a tool generating around 32,000 self-contained build prompts to help developers onboard onto Midnight, a zero-knowledge Layer 1 blockchain. Midnight's complex setup — involving version-sensitive packages, Docker dependencies, WASM polyfills, and testnet token access — was consuming hours of hackathon developers' time before they could begin building. The team compiled 1,996 project ideas across ten creative disciplines, each paired with a private-state mechanic tailored to Midnight's ZK architecture. For each idea, prompts are dynamically composed per network target and operating system, bundling pinned package versions, toolchain commands, wallet boot code, and known failure fixes. The project aims to eliminate repetitive environment setup so developers can focus on their actual ideas rather than infrastructure troubleshooting.

0
ProgrammingHacker News ·

Propel Music launches to fill gap left by New Zealand's declining music media

New Zealand's music media landscape has seen significant decline, leaving a void in coverage for local artists and the industry. A new platform called Propel Music has been launched in response, aiming to replace what has been lost. The initiative is based in New Zealand and focuses on rebuilding dedicated music journalism and media for the region. The project was shared on Hacker News, where it attracted early attention from the tech and indie media community. The founders outlined their motivation and vision in a detailed article published on the Propel Music website.

0
ProgrammingDEV Community ·

Open-Source Tool Cracks IO-Link IODD Checksum Algorithm After Two Decades

A new open-source JavaScript library called IODDForge Checker now enables developers to compute and verify checksums for IO-Link IODD device description files without relying on a closed-source Windows tool. The checksum, mandatory in every IODD file, uses a standard CRC-32 algorithm as defined in ITU-T V.42 and IODD Specification 10.012, with the file hashed up to but excluding the stored checksum value. The library runs across Node, Bun, Deno, and browser environments with zero dependencies, and has been validated against 40 officially stamped documents spanning four versions of the official checker. A notable detail is that ExternalTextDocument files — which hold UI string translations — require an extra step where the main IODD's CRC is appended as ASCII digits before finalising their own checksum. The project was authored using Claude Opus 5 AI and is available on GitHub, though it is not affiliated with or endorsed by the official IO-Link body.

0
ProgrammingHacker News ·

Study Questions Climate Gains From Scrapping Working Combustion Engine Cars

A new study published in the journal Science examines whether retiring a still-operational internal combustion engine vehicle actually delivers meaningful climate benefits. The research challenges the assumption that replacing older petrol or diesel cars with electric vehicles always reduces net emissions. The analysis factors in the carbon cost of manufacturing new electric vehicles alongside the emissions saved by ending combustion engine use. The findings suggest that the timing and context of a vehicle's retirement play a significant role in determining the true environmental outcome.

0
ProgrammingDEV Community ·

Compound Component Patterns Can Fix Brittle, Prop-Heavy React UI Libraries

A developer refactoring modular landing page cards found that adding boolean props like 'hasBadge' and 'isCompact' quickly made components fragile and hard to maintain. Every new client layout request required editing core component files, risking regressions across the entire UI. The root cause was treating components as rigid black boxes rather than flexible composition primitives. Switching to compound component patterns — where structural control is handed back to the consumer — kept styles encapsulated while making layouts far more extensible. The approach eliminates deep prop drilling and allows new layout variations without touching core component logic.

0
ProgrammingDEV Community ·

Why Async-First Teams Still Need Occasional Sync Meetings

A software professional working remotely from Vancouver for a Japan-based fully flexible organization shares lessons learned about asynchronous communication. While async work offers benefits like personal pacing and automatic written records, he found that complex or stalled discussions often drag on for hours or days without resolution. AI tools have made writing documents easier but have not reduced the burden on readers, particularly in a non-native language context. To counter this, he began scheduling short synchronous meetings for complicated topics, using written documents to share context beforehand and the meeting itself to reach quick decisions. His conclusion is that async communication is a useful tool, not an absolute rule, and blending both modes reduces overall communication costs.

0
ProgrammingDEV Community ·

Developer Builds LoanAI: ML-Powered Loan Default Prediction Platform

A developer has created LoanAI, a machine learning-based platform designed to assess credit risk and predict loan default probabilities in real time. The system provides instant risk scoring for loan applicants alongside explainable AI features that make prediction logic transparent for financial decision-making. LoanAI was built using Flask, Bootstrap 5, and Python, with Scikit-Learn powering the underlying prediction engine. The project has been deployed as a live web application and shared on the DEV Community platform. The developer is actively seeking feedback on the system's structure and prediction capabilities.

0
ProgrammingDEV Community ·

Developer finds three self-made bugs after testing his security extension on 20 real sites

A developer building 'QuickAudit', a browser extension that runs OWASP-style security checks on web pages, discovered three significant bugs in his own tool after testing it against 20 real-world websites. One flaw caused the extension to audit Cloudflare bot-protection interstitial pages instead of the actual target site, producing false security findings. A second bug stemmed from a misread web specification, incorrectly flagging the 'origin-when-cross-origin' Referrer-Policy as high-risk when it actually restricts cross-origin data exposure. A third issue involved flagging sites like Stripe and NASA for using 'X-Frame-Options' without a modern CSP directive, a technically outdated but still widely supported and functional security header. The developer used these findings to overhaul parts of the extension's architecture, adding challenge-page detection and revising how low-severity informational findings are surfaced to avoid alert fatigue.

0
ProgrammingDEV Community ·

FINRA Short Volume and OSV Vulnerability Data: Free APIs Developers Often Misread

Two widely used public datasets — FINRA's daily short volume file and OSV.dev's security advisory API — are freely accessible with a single HTTP request and require no account or API key. FINRA publishes per-symbol short volume data every trading day, but analysts frequently conflate it with short interest, which measures persistent open positions rather than intraday trading flow. Similarly, OSV.dev aggregates vulnerability advisories across major package ecosystems, and a scan of three commonly pinned library versions returned 70 advisories, including 24 rated High or Critical. Key pitfalls include silently dropping advisories with missing severity ratings and treating a version match as confirmed exploitability, when it only indicates a package is in scope for triage. Both datasets are authoritative but carry narrower meanings than their headline figures suggest, and accurate interpretation depends on understanding their underlying methodology.

0
ProgrammingHacker News ·

Phrack Issue 72 Publishes Essay on Hacking as a Renaissance Discipline

Phrack, the long-running underground hacker magazine, has published an essay titled 'The Hacker's Renaissance' in its 72nd issue. The piece appears to explore hacking as a broad intellectual and creative pursuit, drawing parallels to Renaissance-era polymathic thinking. The article was shared on Hacker News, where it received 12 points and generated a small number of comments. Phrack has historically served as a key publication for the security research and hacker community since its founding in the 1980s.

0
ProgrammingDEV Community ·

Developer Builds TimeTrap to Expose Delayed Access Revocation Gaps

A developer created TimeTrap, a design-time security tool that detects gaps between when access is revoked and when dependent systems like caches or sessions actually stop granting that access. The tool allows users to describe authorization objects and events, then apply a rule such as requiring cached access to end within five minutes of a subscription revocation. TimeTrap analyzes the timeline and reports the exact violation window, its duration, the triggering events, and a suggested fix. Built using Go, React, TypeScript, and PostgreSQL, it was deployed on Zerops as part of the WeMakeDevs challenge. The tool does not connect to live systems but makes a commonly overlooked authorization timing problem visible during the design phase.

0
ProgrammingHacker News ·

Blog post explores how people fall into ideological extremism and how to avoid it

A blog post by Andy Masley examines the psychological patterns that lead individuals toward ideological radicalization. The piece identifies key behaviors and thought traps that cause people to adopt extreme or rigid belief systems. Masley offers observations drawn from personal experience on recognizing and resisting these tendencies. The post gained traction on Hacker News, attracting reader discussion around the topic of intellectual humility and belief formation.

0
ProgrammingHacker News ·

Alphabet Soup: New Multiplayer Word Game Rewards Longest Single Word

A developer has launched Alphabet Soup, a multiplayer word game where players compete by forming the longest possible word from a given set of letters. Unlike the NYT Spelling Bee, which rewards finding many words, Alphabet Soup scores players based only on their single best word. Players can compete in private matches with friends or join public Arena matches against other online players. A bot is available as a stand-in when no human opponents are present. The game supports two or more players simultaneously and is not turn-based, making it flexible for larger groups.

← NewerPage 268 of 1351Older →