SShortSingh.
0
ProgrammingDEV Community ·

Meteor 3.5 Launches accounts-express to Unify Meteor and Express Authentication

Meteor 3.5 has introduced accounts-express, a new package that connects Express routes to Meteor's existing authentication system. Previously, developers needed custom middleware or separate session logic to use Meteor user credentials within Express endpoints. The package works by reading a Meteor login token from incoming requests and attaching the resolved user ID to req.userId, making it available throughout the Express handler chain. It also ships an authentication-aware fetch client, allowing browser code to automatically include login tokens when calling protected endpoints. This integration is designed to extend Meteor Accounts to HTTP routes without replacing or duplicating the app's existing authentication setup.

0
ProgrammingDEV Community ·

Keycloak CVE-2026-18963: Critical Flaw Allows Full Account Takeover Without Authentication

Red Hat and the Keycloak project patched CVE-2026-18963 on August 19, 2026, a critical vulnerability rated 9.1 on the CVSS scale affecting the password reset flow. The flaw allows an unauthenticated remote attacker to bypass the email token verification step and directly reset the password of any account, including administrator accounts. Any organization running Keycloak with the Forgot Password feature enabled on an internet-facing login page is at risk of complete identity compromise. Fixed versions include upstream Keycloak 26.7.2 and Red Hat builds 26.4.15 and 26.6.6. Organizations unable to patch immediately are advised to disable the Forgot Password option in every realm's login settings as a temporary mitigation.

0
ProgrammingDEV Community ·

How Apache Kafka Rescued a Hyperlocal Delivery Startup From System Collapse

SwiftKart, a fast-growing hyperlocal delivery startup, saw daily orders surge from 4,000 to 40,000 in just two months, overwhelming its Redis-based queue architecture. Backend engineer Arjun and DevOps engineer Meera faced cascading failures including delayed notifications, overflowing queues, duplicate messages, and crashing workers. The core problem was that Redis lacked durability, multi-consumer support, and the ability to replay events, making it unsuitable for high-volume real-time streaming. The company's CTO decided to migrate to Apache Kafka, a distributed, durable, and replayable event log designed to handle millions of events per second. The article serves as both a narrative and a technical walkthrough of why Kafka was chosen, covering its architecture, key concepts, trade-offs, and scenarios where it may not be the right fit.

0
TechnologyThe Verge ·

Apple's Second-Gen AirTag Four-Pack Hits Record Low Price of $79

Apple's second-generation AirTag four-pack is now available at Amazon and Target for $79, down from its original price of $99, marking the bundle's lowest price to date. The discount is notable given that first-generation AirTags took considerably longer to see a comparable price drop. The second-gen AirTag features an upgraded ultra-wideband chip, a louder speaker, and extended Bluetooth range compared to its predecessor, though its exterior design remains unchanged. Buying the four-pack at this price works out cheaper than purchasing individual units, which currently retail at $24 each. Reviewers have noted meaningful improvements in tracking accuracy across different floors compared to the older model.

0
TechnologyThe Verge ·

GoFundMe CEO on how the platform became a stand-in for America's safety net

Tim Cadogan, who became CEO of GoFundMe on March 2, 2020, spoke with The Verge's Decoder podcast about the platform's growing role in American life. Medical expenses are the single largest fundraising category on GoFundMe, a trend Cadogan says holds true across all 20 countries where the platform operates. The 2020 pandemic and wave of political unrest significantly expanded GoFundMe's cultural footprint, making it a go-to resource during major national and global events. As a for-profit company that collects fees and tips, GoFundMe faces tension between its social utility and its obligation to grow as a business. Cadogan discussed how he navigates difficult decisions about which fundraisers the platform will and will not support.

0
ProgrammingDEV Community ·

Why mixing cryptographic proof with heuristics in one 'verified' field is risky

A developer has raised a concern about the widespread misuse of the 'verified' field in codebases, arguing it dangerously conflates two distinct concepts. The first is cryptographic proof, a mathematically certain outcome, while the second is an inferred judgment based on heuristics or scoring models. When both are stored in the same boolean field, downstream code treats probabilistic guesses as hard facts, which can lead to real users being incorrectly blocked or trusted actors being misjudged. The author recommends reserving a single boolean strictly for cryptographically settled outcomes and storing all inferred signals separately as scores or opinion sets. They also flag similar risks with fields like is_bot, is_fraud, and trusted, and are seeking community input on naming conventions that clearly distinguish proven facts from estimates.

0
ProgrammingDEV Community ·

Tiny 11.9M-Parameter Transformer Learns to Generate Web Apps After Simple Data Fixes

A researcher built a small 11.9-million-parameter transformer, trained on 4,176 generated programs, to convert plain-text feature specs into working Python web applications. Despite correct architecture and sufficient training, the model scored zero compilable outputs across five consecutive experiments, which the researcher initially misattributed to insufficient model capacity. The actual cause turned out to be two simple data pipeline flaws: docstrings were tokenised as single atomic tokens bloating the vocabulary to nearly 6,000 entries, and training samples lacked end tokens so the model never learned to stop generating. Fixing both issues — splitting docstrings into words and adding end tokens — reduced vocabulary size from 5,953 to 1,817 entries and immediately lifted compile success from 0 out of 6 to 6 out of 6. The researcher notes that the production tool still uses rule-based compositional synthesis rather than the model, and this post serves as a public retraction of an earlier claim that turned out to be premature.

0
ProgrammingDEV Community ·

DevRel Veteran's Game-Based Booth Trick Drove 10% Sign-Up Rate at Conferences

A developer relations professional with 11 years of experience shares a booth engagement strategy tested across roughly 20 events over three years. The approach involved instrumenting a retro-style side-scrolling video game with monitoring software to collect real-time gameplay and system metrics. Attendees were invited to play the game at the booth while a live dashboard displayed all the captured statistics in the company's observability portal. The interactive setup naturally drew crowds, sparked product conversations, and consistently converted around 10% of event attendees into software sign-ups. The technique proved scalable, delivering approximately 30 sign-ups at a 300-person event and around 300 at a 3,000-person conference.

0
ProgrammingDEV Community ·

API-Based Email Templates Beat In-Repo Setup for Node.js Transactional Flows

For Node.js logistics portals handling welcome or password-reset emails, using provider-owned templates via an email API is generally more efficient than storing templates in the application repository. Provider-managed templates reduce the content shipped with each service release, though they move a critical artifact outside the standard code-review process. Before selecting a vendor, developers should verify custom-domain setup, DKIM authentication, suppression handling, and a delivery-event model suited to short-lived reset tokens. Capacity planning remains essential even at low volumes, as a surge in reset requests during an outage can overwhelm polling loops or exhaust API quotas at the worst possible moment. Repository ownership is only recommended when localization, multi-channel coordination, or strict version control requirements make application-level template management necessary.

0
WorldBBC World ·

Israel threatens forceful response to incendiary kites from Gaza

Israel has warned it will respond forcefully to kites being flown from Gaza into Israeli border communities. Hamas has attributed the kite launches to children in Gaza, distancing the militant group from direct responsibility. The kites have reportedly been found in Israeli communities near the Gaza border in recent days. The incident has heightened tensions between Israel and Gaza amid an already volatile situation along the border.

0
IndiaTimes of India ·

Kerala's Kaziah Liz Mejo, 19, crowned Miss Universe India 2026 in Jaipur

Kaziah Liz Mejo, a 19-year-old law student and model from Mavelikkara, Kerala, has been crowned Miss Universe India 2026. The competition took place in Jaipur, and Mejo emerged as the winner from the field of contestants. Having grown up in Abu Dhabi, she brings a diverse background that includes academics, classical dance, music, and acting. She will now go on to represent India at the 75th Miss Universe pageant, scheduled to be held in Puerto Rico in November.

0
ProgrammingDEV Community ·

How to Safely Edit Bash History File Across Multiple Open Sessions

Bash stores command history both in the file ~/.bash_history and separately in each running session's memory, which can cause edits to be overwritten if multiple terminals are open. To edit safely, users should first run 'history -a' in every open session to flush unsaved entries to the file, then disable history recording with 'set +o history' in each. After editing the file with any preferred text editor, each session's in-memory history must be cleared with 'history -c' and reloaded from the updated file using 'history -r'. Finally, history recording is re-enabled with 'set -o history' across all sessions. The guide also cautions against using 'history -w' in multi-session environments, as it overwrites the history file with only the current session's entries, risking loss of history from other sessions.

0
ProgrammingDEV Community ·

CSS Grid vs Flexbox: When to Use Each for Web Layouts

CSS Flexbox and CSS Grid are both layout tools in web development, but they serve different purposes. Flexbox is a one-dimensional model, best suited for aligning items along a single row or column. CSS Grid is a two-dimensional system that controls both rows and columns simultaneously, making it ideal for full-page structures and card galleries. Attempting to use Flexbox for two-dimensional layouts often leads to inconsistent row lengths and spacing hacks. Combining both tools — Grid for overall page structure and Flexbox for component-level alignment — produces cleaner, more predictable responsive designs.

0
ProgrammingDEV Community ·

Prompt injection evaded Google's Model Armor, but strict output schema blocked it anyway

Developers building Okimera, a multi-agent maritime sanctions compliance system, discovered that Google's Model Armor prompt-injection filter failed to flag a hidden instruction embedded in a realistic business document, even at its most sensitive detection threshold. The injected text, written to resemble a legitimate commercial clause rather than a typical jailbreak command, went undetected in two languages, while a conventionally worded jailbreak was caught by the same configuration. The team attributed the miss to a fundamental limitation of general-purpose classifiers, which are trained on assistant-style attacks and struggle to identify malicious instructions that blend into domain-specific language. However, the injection caused no harm because the document-reading agent was designed to return only a strictly typed data object with no free-text fields, leaving the malicious instruction no channel through which to travel. The developers concluded that structural output constraints, not probabilistic filters, should bear the primary security burden in agentic systems that process adversarially controlled documents.

← NewerPage 158 of 3207Older →