SShortSingh.
0
ProgrammingDEV Community ·

Dev Rebuilds CI/CD Pipeline to Eliminate Silent Production Failures on VPS

A developer overhauled their Node.js/TypeScript deployment architecture after discovering a critical blind spot: remote scripts ran without strict error handling, causing GitHub Actions to report pipeline success even when the production application had crashed. The original setup triggered deployments on every merge to the main branch via SSH, git pull, and pm2 restart, with database migrations running before the application build — meaning a TypeScript error could leave the database altered with no new code deployed. Since Prisma lacks native down migrations, reverting such failures required high-risk manual intervention. The redesigned system requires an annotated SemVer tag to trigger any deployment, passing through six sequential gates including tag validation, automated testing with Vitest, a live migration rehearsal on a disposable copy of the production database, and post-deploy smoke tests. The developer has published the full modular GitHub Actions template as an open-source repository for teams managing similar VPS-hosted applications.

0
ProgrammingHacker News ·

How Nietzsche's Philosophy Was Shaped and Misused During World War I

An article in History Today examines the complex relationship between Friedrich Nietzsche's philosophy and the First World War. Nietzsche's ideas, including concepts of power and the rejection of conventional morality, were widely interpreted and often distorted by various factions during the war era. His writings were co-opted by both German nationalists and others to justify wartime ideologies, despite his own views being more nuanced. The piece explores how the conflict both amplified and misrepresented his intellectual legacy. The article raises broader questions about how philosophical ideas can be selectively appropriated during times of political and military upheaval.

0
ProgrammingDEV Community ·

Key App Store Rules Every iOS Developer Must Follow Before Submitting

Publishing an iOS app involves meeting a comprehensive set of Apple guidelines that go beyond simply uploading a build. Developers must have an active Apple Developer Account and use App Store Connect to manage their submissions. Apple evaluates apps across multiple criteria, including functionality, privacy, security, content quality, and usability. Listings must also comply with copyright rules and include accurate metadata. Developers are advised to thoroughly test their apps, verify all privacy details, and ensure the app is fully complete before initiating the review process.

0
ProgrammingDEV Community ·

How to Diagnose 'Connection Refused' vs Silent Timeout Using Layer-by-Layer Evidence

Network failures like 'connection refused' and silent timeouts appear identical during an incident but originate from different layers of the stack, making accurate diagnosis critical. A structured mental model traces the failure path from DNS resolution through IP routing, port availability, network filters, and application response. Each layer can be tested independently using tools like dig, ss, nc, and tcpdump to gather confirming evidence before taking any remediation steps. The same failure modes reappear in Kubernetes environments under different labels, such as misconfigured CoreDNS, empty Service Endpoints, or NetworkPolicy rules silently dropping traffic. Conflating these distinct causes often leads engineers to restart services without addressing the underlying problem.

0
IndiaNDTV ·

Priyanka Gandhi Flags July 20 Police Lathi Charge at Parliamentary Panel, Row Erupts

Congress MP Priyanka Gandhi Vadra raised the issue of a police lathi charge that took place on July 20 at a parliamentary committee meeting. Opposition members contended that the incident warranted the panel's attention as minors were reportedly among those injured. A BJP MP pushed back against the move, disputing its relevance to the committee's jurisdiction. The disagreement quickly escalated into a heated exchange between opposition and ruling party members.

0
IndiaNDTV ·

UN Warns 1 Million Afghan Children Face Life-Threatening Malnutrition

The United Nations has raised alarm over one million Afghan children suffering from life-threatening malnutrition. Afghanistan has faced recurring hunger crises over recent decades, worsened by prolonged civil conflict and political instability. The situation deteriorated sharply after the Taliban returned to power following the withdrawal of US-led forces in 2021. This political transition triggered a severe economic collapse, cutting off vital resources and aid pipelines. The compounding crises have left millions of Afghans, particularly children, acutely vulnerable to food insecurity.

0
ProgrammingDEV Community ·

CS Student Breaks Down Imperative Programming Ahead of College Exam

A computer science student named Thiago wrote a study-focused post explaining the imperative programming paradigm ahead of a Friday exam. Imperative programming is typically the first paradigm taught in college, even if not always identified by that name. It is characterized by step-by-step instructions, use of variables, and continuous state changes during execution, mirroring the imperative mood in natural language. Languages such as C, Perl, and JavaScript are rooted in this paradigm. Thiago illustrated the concept using a C code example to show how command order and state mutation define imperative-style programs.

0
ProgrammingDEV Community ·

Developer builds Chrome extension ScrollFlow to auto-scroll and record full web pages

A developer created ScrollFlow, a Chrome extension that automates page scrolling while recording the screen, addressing limitations of both static screenshots and manual screen recordings. The tool operates entirely on the user's device, with no page content sent to remote servers, and finished video files download locally. ScrollFlow offers two recording modes: live capture, which films the actual tab including animations and dynamic content, and Cinema mode, which pans a virtual camera over a static full-page image for controlled, clean recordings. The extension tackles challenges such as lazy-loaded content, collapsing banners, scroll-snap libraries, and infinite feeds that can cause auto-scroll to misjudge page length. The developer acknowledges the tool does not work perfectly on every website, as keeping a dynamic document, the browser's capture pipeline, and the video encoder in sync remains a difficult technical problem.

0
IndiaNDTV ·

Trump Condemns Iran's Execution of Protesters Amid Global Criticism

Former US President Donald Trump has criticized Iran over its execution of protesters, calling it a humanitarian crisis of epic proportions. His remarks come after more than 30 countries signed a joint letter this month condemning Iran's use of the death penalty against demonstrators. The letter described the executions in the strongest terms and called for an end to the practice. Notably, the United States did not sign the joint letter, as capital punishment remains legal in the country.

0
TechnologyTechCrunch ·

Gamma Acquires Accel-Backed Design Startup Lica

Presentation software company Gamma has acquired Lica, a design startup that had backing from venture firm Accel. The deal brings Lica's co-founders into Gamma's organization, where they will join a newly formed research team. Financial terms of the acquisition were not disclosed. The move signals Gamma's intent to strengthen its research and design capabilities through the talent and expertise of the Lica team.

0
ProgrammingDEV Community ·

How Supabase Structures Its Auth Schema: Users, Identities, and Sessions

Supabase stores all authentication data in a dedicated auth schema, separate from the public schema where application tables reside. Each user has a single row in auth.users, one or more rows in auth.identities reflecting each login provider used, and potentially multiple active rows in auth.sessions representing different devices or tabs. Refresh tokens are stored separately in auth.refresh_tokens, backing each session with long-lived credentials alongside revocation and reuse-detection logic. The auth schema is managed internally by GoTrue, Supabase's auth service, meaning developers should read from it via the client or Admin API rather than writing to it directly. Understanding these four core tables and their foreign-key relationships is key to querying user activity and safely linking auth data to application profile tables.

0
ProgrammingDEV Community ·

Developer builds tool to fake GTA VI Discord status while awaiting game's release

A developer frustrated with waiting for GTA VI has created a free, open-source Windows utility called GTA VI Presence Studio that tricks Discord into displaying a simulated GTA VI gaming session. The tool offers two modes: a native detection method using a renamed executable added to Discord's Registered Games, and a custom Rich Presence mode that requires a free Discord Application ID. The custom mode enables advanced display options such as character switching between Jason and Lucia. Built in C# using WinForms, the project is publicly available on GitHub. The developer has shared it on DEV Community and is actively seeking user feedback on the UI and setup experience.

0
SpaceNASA ·

NASA's Menon and ESA's Adenot Complete 6-Hour Spacewalk Outside ISS

NASA astronaut Anil Menon and ESA astronaut Sophie Adenot conducted a spacewalk outside the International Space Station on August 18, 2026. The outing lasted six hours and 23 minutes, with both serving as Expedition 75 flight engineers. The two worked together on external station tasks, including the partial installation of a high-speed system. The spacewalk represents continued international collaboration between NASA and the European Space Agency aboard the ISS.

0
WorldBBC World ·

Pennsylvania measles deaths raise alarm as US cases hit post-elimination high

Two unvaccinated individuals in Pennsylvania have died from measles, marking a serious public health development in the United States. The deaths come as measles cases across the country have reached their highest levels since the disease was declared eliminated in the US. Health officials attribute the surge to declining vaccination rates among the population. The situation has prompted renewed concern among public health authorities about the risks of reduced immunization coverage.

0
IndiaNDTV ·

Nursing Students Clash With Police in Patna Over Exam Irregularities

A large group of nursing students gathered outside a university campus in Patna to press their demands over alleged exam irregularities. The protest turned tense as students clashed with police at the scene. The confrontation was captured on camera, drawing public attention to the students' grievances. The students had assembled to demand action regarding the examination-related concerns at their institution.

← NewerPage 313 of 3422Older →