SShortSingh.
0
ProgrammingDEV Community ·

Developer Publishes WIP Cookbook for DDD and Typelevel Stack in Scala 3

A developer has released a work-in-progress book titled 'Scala 3 Domain Design & Typelevel Stack Cookbook', currently 40% complete. The book aims to teach Domain-Driven Design principles in Scala 3 while providing practical recipes for working with the Typelevel ecosystem, including cats, cats-effect, fs2, and http4s. It was created in response to the author's frustration with the complexity and sparse documentation of the Typelevel stack for intermediate developers. The book is available on Leanpub, where readers can access a few chapters for free.

0
ProgrammingHacker News ·

Almanac (YC S26) Launches AI Assistant That Builds a Living Knowledge Base for Your Company

Almanac, a Y Combinator S26 startup founded by Kushagra, Rohan, and Divit, has launched an AI assistant that connects to a company's tools and accounts to build a continuously updated knowledge base. The product integrates with services like Gmail, Google Calendar, Granola, and PostHog via one-click OAuth, then organizes pulled data into personal and shared company wikis. These wikis serve as a pre-compiled memory layer for an underlying Hermes agent, enabling context-aware responses without manual setup. Unlike session-bound AI tools, Almanac supports long-horizon tasks by maintaining ongoing project context across days, and can proactively suggest or draft work autonomously. The founders, who previously built AI knowledge-layer products for Harvard and NASA, developed the concept from a capstone thesis and were motivated by their own frustrations setting up AI agents for internal use.

0
TechnologyArs Technica ·

Google Maps briefly renames Lake Ontario to Lake America ahead of US government

Google Maps renamed Lake Ontario to 'Lake America' on Saturday, moving faster than official US government mapping agencies in implementing the change. The renaming appears tied to a broader push to update geographic labels on American maps. US government maps had not yet reflected the change at the time of the update. The swift alteration by Google highlights the platform's ability to rapidly modify geographic data at scale. The move has drawn attention given the significance of renaming a major internationally recognized body of water.

0
Crypto & Web3CoinDesk ·

Kalshi issues lifetime ban to ex-Congressman George Santos for market manipulation

Prediction market platform Kalshi has permanently banned former U.S. Congressman George Santos, marking the platform's first-ever lifetime ban. Santos was removed due to market manipulation, according to the company. The move is part of broader efforts by the prediction market industry to demonstrate accountability and self-regulation. Kalshi's decision signals a firm stance against misconduct as the sector seeks to build credibility with regulators and the public.

0
SportsESPNcricinfo ·

Maphaka confident to lead South Africa pace attack in Rabada's absence

Young South African fast bowler Kwena Maphaka has expressed confidence in his ability to step up as a lead pacer for the Proteas. Maphaka pointed to his prior experience leading bowling attacks at multiple levels, including with the Lions franchise and the South Africa under-19 side. The 20-year-old also noted that he has spent enough time in the senior Proteas setup to feel prepared for the added responsibility. His readiness comes as South Africa face the prospect of managing without their premier fast bowler Kagiso Rabada.

0
TechnologyThe Verge ·

Sony WH-1000XM5 Headphones Drop to $198 at Amazon and Best Buy

Sony is offering a Labor Day discount on its WH-1000XM5 over-ear headphones, cutting the price to $198 at both Amazon and Best Buy. This marks a $50 reduction from the typical selling price of around $250, matching the low seen during Prime Day 2026 in late June. Unlike that earlier deal, no Amazon Prime membership is required to access the discount. Originally priced at $399.99 when launched in 2022, the XM5 remain competitive despite the newer XM6 model released in 2025. The sale is part of Sony's week-long Labor Day promotional event.

0
WorldBBC World ·

Met Museum cancels John Galliano exhibition amid antisemitism backlash

The Metropolitan Museum of Art in New York has cancelled a planned exhibition featuring British fashion designer John Galliano. The decision came after significant public backlash directed at the institution. Critics objected to the museum honouring Galliano, who was convicted in 2011 for making antisemitic remarks. The controversy reignited debate over whether cultural institutions should platform figures with histories of hate speech.

0
ProgrammingDEV Community ·

Why Good Research Creates More Questions Than It Answers

A product developer writing on DEV Community shares how their understanding of research fundamentally shifted while building a data-driven product. Initially assuming that gathering data would straightforwardly lead to final answers, they found that each answer typically surfaced a deeper, more precise question. Drawing a parallel to software debugging, the author argues that real investigation is iterative — answers refine the question rather than conclude the inquiry. They also note that having access to more data does not automatically translate into clarity or actionable direction. The key insight is that reframing a question mid-investigation is a sign of progress, not failure.

0
ScienceWIRED ·

Kalshi Bans George Santos for Life, Fines Him Over $71,000

Former US Representative George Santos has received a lifetime ban from Kalshi, marking the prediction market platform's first-ever such penalty. The ban was accompanied by a fine exceeding $71,000 levied against Santos. The sanctions stem from allegations that Santos attempted to manipulate Kalshi's prediction market. Kalshi's decision represents a significant enforcement action by the platform against a high-profile user.

0
ProgrammingDEV Community ·

How Engineers Partitioned a Billion-Row Logistics Table in Production

A backend engineering team at a nationwide logistics platform faced severe database performance issues after their core tracking events table surpassed one billion rows, rendering traditional indexing ineffective. The table logged every parcel scan and status change, growing continuously as tens of thousands of orders were processed daily. The team implemented range-based table partitioning in PostgreSQL, splitting data into monthly partitions keyed on a timestamp column to enable partition pruning — allowing the database to skip irrelevant date ranges entirely. A critical constraint they encountered was that the partition key must be included in the primary key, which broke ORM assumptions and complicated foreign key relationships. The engineers emphasized that the real trigger for partitioning should be access pattern alignment, not table size alone — nearly all their queries were already scoped to specific date ranges, making the approach a natural fit.

0
ProgrammingDEV Community ·

How a Logistics Platform Partitioned a Billion-Row Database Table in Production

A nationwide logistics platform faced severe database performance issues after its core tracking events table surpassed one billion rows, rendering traditional indexing solutions ineffective. The table recorded every parcel scan and status change, growing continuously as tens of thousands of orders were processed daily. Engineers implemented range-based table partitioning in PostgreSQL, splitting data into monthly partitions by timestamp so queries could skip irrelevant date ranges through a mechanism called partition pruning. The approach required restructuring the primary key to include the partition column, which created compatibility challenges with foreign keys and ORM frameworks that assume single-column primary keys. The key takeaway was that partitioning decisions should be driven by query access patterns rather than table size alone, and that queries must include the partition key to avoid scanning all partitions simultaneously.

0
ProgrammingDEV Community ·

How a Healthcare Platform Cut Regression Testing from 2.5 Weeks to One Day

A healthcare platform was spending two and a half weeks on each regression pass, with smoke testing alone consuming seven days. The common instinct to automate everything proved to be the wrong starting point, as automating a bloated, outdated test suite only creates a faster version of the same inefficient process. The real problem was that most time was lost not in test execution but in preparation, environment setup, queue time, failure investigation, and reporting. The team eventually reduced regression lead time to a single day while improving coverage from 50% to 90% by cutting redundant tests, tiering suites by risk level, and shifting validations to lower, faster layers like APIs instead of the UI. Automation played a role, but the bigger gains came from rethinking what to test, where to test it, and when to run each suite.

0
ProgrammingDEV Community ·

n8n Custom Node Credential Test Fails Due to Internal Loader Bug, Fix Available

Developers building custom n8n nodes have long encountered a 'No testing function found for this credential' error when clicking the Test button in the UI, even with credentialTest correctly defined. The root cause lies in n8n's LoadNodesAndCredentials.ts, where the loader checks supportedNodes but generates nodesToTestWith, meaning the credential-to-test linkage silently breaks for custom and community nodes. The bug, tracked as n8n-io/n8n#8188 and originally reported on Stack Overflow, continues to affect users on versions as recent as 1.94 despite an earlier official fix. The recommended solution is to move the test logic directly onto the credential class as an ICredentialTestRequest object, eliminating any dependency on the node-side credentialTest method. This self-contained approach works regardless of whether the node is symlinked into ~/.n8n/custom or installed as a packaged module.

0
ProgrammingDEV Community ·

Missing reportWebVitals export silently breaks LCP tracking in Next.js production

Next.js only collects Core Web Vitals such as LCP in production when the app explicitly exports a reportWebVitals function (Pages Router) or uses the useReportWebVitals hook (App Router). Without this export, no metrics are forwarded to analytics services like Vercel's dashboard or Google Analytics, leaving the data columns blank. The issue goes unnoticed in development because the dev overlay injects its own logger, masking the missing pipeline. Next.js internally checks for the export after the production bundle is built, meaning hot-module replacement in dev mode cannot reveal the problem. The fix requires adding or correcting the reportWebVitals export in pages/_app.js and rebuilding the application — there is no next.config.js flag to enable this behaviour.

← NewerPage 666 of 4082Older →