SShortSingh.
0
ProgrammingDEV Community ·

Fixing a Slow Database: Work Up the Scaling Ladder Cheapest-First

The article argues that a slow database should be fixed in a deliberate order rather than jumping straight to sharding, which is costly. It recommends first confirming the real cause and adding indexes, then adding a cache such as Memorystore for repeated reads, then using read replicas for read-only traffic. Scaling the instance to a larger machine type comes next, with attention to brief restarts, replica sizing and retry logic. Sharding is reserved for cases where the single primary remains the write bottleneck, and measurement is advised at every step.

0
ProgrammingDEV Community ·

Avatar Metadata Search: Keep Object Storage for Bytes, Catalog for Queries

The article argues that object storage should hold avatar bytes under immutable, addressable keys, while content type, tags, ownership, and moderation state belong in a queryable catalog. Bucket prefix listing suits repair and audit tasks but cannot efficiently evaluate predicates such as type plus tags within a tenant. The author notes that declared Content-Type headers are only hints and should be verified by inspecting the payload with a bounded decoder. A catalog row with explicit ready, pending, and failed states can bridge the lack of atomic commits between database and bucket. The piece also names failure modes such as orphan objects, dangling rows, duplicate retries, and stale current pointers.

0
ProgrammingDEV Community ·

Paperspace alternatives in 2026: Nodus, RunPod and Kaggle compared

A comparison article lists Nodus for training runs that have outgrown a notebook, RunPod for cheap per-second GPU pods, and Kaggle Notebooks as a free option for students. The author notes Nodus lists H100 access at $2.60 per GPU-hour versus $5.95 on Paperspace and restores the latest checkpoint on a replacement machine if one is lost. Paperspace, now part of DigitalOcean, still offers notebooks under its Gradient-branded plans, with free machines that carry six-hour shutdown limits and H100s requiring support approval. The article is written by a Nodus builder, who discloses this and says every competitor claim links to its own pricing page. Prices were checked on November 11, 2026.

0
ProgrammingDEV Community ·

Retrying Tenant-Isolated Thumbnail Uploads: A Storage Decision Record

The article argues that each tenant's thumbnails should be stored under a deterministic, tenant-scoped key, with retries limited to transient failures using exponential backoff. Every attempt of one logical upload should reuse the same idempotency key so retries do not create duplicate artifacts or cross tenant boundaries. The author frames the real cost as operational, covering implementation time, duplicate objects, rate-limit recovery, reconciliation, and tenant attribution rather than per-request pricing. It recommends a private object store and compares S3, Cloudflare R2, Alibaba OSS, and Infrai on the failure boundaries each team must be able to operate. The piece stresses that exactly-once behavior should be designed through idempotent writes and deterministic reconciliation rather than assumed from the network.

0
ProgrammingDEV Community ·

DAC vs AOC vs Optic: How to Choose a Short Server-to-Switch Link

Most data center server-to-switch connections span only a metre or two and can be built with a direct attach copper cable, an active optical cable, or a transceiver paired with a fiber patch cord. All three carry identical data at the same speed but differ in cost, reach, power draw, and how they fail. Passive copper DACs are the cheapest and lowest-power option for runs within a rack, though their reach shrinks at higher speeds and they expose no diagnostic data. AOCs extend reach to tens of metres and are lighter, but they usually offer no light-level monitoring and cannot be repaired in the field. Pluggable optics with fiber cords cost the most for short runs but reach hundreds of metres, report diagnostics at both ends, and allow each component to be replaced independently.

0
IndiaNDTV ·

11 Pakistani Policemen Killed in Ambush in Khyber Pakhtunkhwa, Including a Senior Officer

A police team travelling to the Gumbat Kohat area of Kohat district in Khyber Pakhtunkhwa, Pakistan, was attacked by gunfire. The ambush took place in the Darbokach Jalandhar Banda area, which lies between Kohat and Karak. According to police spokesperson Muhammad Nauman Zeb, 11 policemen were killed, among them a senior officer. The report does not specify the attackers or their motive in the available details.

0
ProgrammingDEV Community ·

Aggregates in DDD: when to use them for reads and when for writes in C# and .NET

The article explains the Aggregate concept in Domain-Driven Design using a food order example, where an Order root owns order items and extras that must stay consistent. It argues that write operations such as adding extras should go through the aggregate root, which enforces business rules like blocking changes once an order is completed. For reads, the author suggests separate endpoints or DTO projections that fetch only the data a screen needs, avoiding loading full object graphs. The piece concludes that aggregate boundaries are defined by consistency rules rather than by how many UI views exist. It also notes that read models can combine data across aggregates within the application's access limits.

0
ProgrammingDEV Community ·

HPE warns of AOS-8 authentication bypass CVE-2026-79868 with CVSS 9.6 severity

HPE advisory HPESBNW05162 describes authentication bypasses in an affected AOS-8 interface that let an unauthenticated adjacent attacker gain administrative access. The flaw carries a CVSS 3.1 score of 9.6, and the exact vulnerable interface has not been publicly disclosed. Affected versions include 8.13.0.0 through 8.13.3.0 and 8.10.0.0 through 8.10.0.23, with fixed releases 8.13.3.1 and 8.10.0.24 or later. The article advises organizations to verify running versions across devices, standby controllers and access points, and to restrict management access from adjacent networks as a compensating and defense-in-depth measure.

0
ProgrammingDEV Community ·

Madrina: A Slack Career Coach Built for Women Software Engineers

After the Grace Hopper Celebration was cancelled 14 days before it opened, the author built Madrina, a career coach that lives in Slack, during Anthropic's Code with Claude: Women in AI Hackathon. The tool is designed for women software engineers who often stall after hiring, citing limited advancement and being handed non-promotable "glue work." Madrina offers features such as a level-gap dashboard, weekly focus checks, drafted manager notes, promo-ready win logging, and a brag doc export. The demo uses a fictional engineer, Ana Rivera, and Madrina never sends messages on a user's behalf. The project also includes an MCP connector so users can check their progress outside Slack.

0
ProgrammingDEV Community ·

How to erase unwanted objects from photos for free, and where AI tools fall short

Removing an unwanted object from a photo used to take a long time with manual cloning, but AI erasers now do it in seconds. These tools work by masking the object and generating plausible new pixels from the surrounding area, rather than revealing what was hidden. The guide recommends using the largest original file, masking slightly wider than the object including shadows, and removing one item at a time. Results are strongest on simple backgrounds like sky or water, and weaker on patterns, straight lines, faces, and readable text. The author also cautions against using such edits to hide real defects in evidence or property photos, since that becomes misleading.

0
ProgrammingDEV Community ·

InboxPrecheck scores email copy for spam-filter risks before you send

A developer built InboxPrecheck, a tool where users paste an email's subject and body to receive a scored pre-check of spam-trigger phrasing, formatting risks, and CAN-SPAM structural gaps. The scoring relies on countable rules, such as exclamation mark density, link-to-word ratio, and missing unsubscribe or address details, rather than a model guessing intent. The report includes specific findings, a checklist of fixes ordered by impact, and a reminder that a clean score is a reason to revise rather than a guarantee of inbox placement. The tool cannot assess sender reputation, SPF, DKIM, or DMARC authentication, or engagement history, which often matter more than copy. Its creator notes that the output is heuristic decision-support and that compliance questions should be confirmed with counsel.

0
ProgrammingDEV Community ·

Self-hosted SSH honeypot logs 24,000 sessions in five days, mostly from one bot

A developer ran an SSH honeypot posing as an unprotected Linux server, with no real system behind it and all outbound connections blocked. In its first five days it recorded 24,218 sessions from 683 addresses, and about 88% came from a single bot family using 18 addresses that appeared to be inventorying accessible machines. A different group using 291 addresses was seen replacing the .ssh authorized_keys file to install its own key, which would survive a password change. Bots also uploaded 22 files, 17 of them Linux binaries, several resembling the XMRig cryptocurrency miner, which were examined as data but never executed. The setup also includes a tarpit that stalls attackers' connections, with the author reporting over 2,000 hours of attacker time wasted a week after launch.

0
ProgrammingDEV Community ·

Storefront Domain Setup Separates Managed and Customer-Controlled DNS Permissions

The article argues that e-commerce platforms should establish whether they can access a merchant's DNS zone before offering any write action during storefront domain onboarding. It recommends two explicit paths: platform-managed zones, where the console can write and read back records, and customer-managed zones, where the console shows records to copy and requires verification. A customer's copied entry or 'Done' click is not treated as evidence that published DNS matches the request. The piece also advises bounding verification polling, budgeting read and write operations, and deciding who owns the queue of unfinished changes before adding automation.

0
ProgrammingHacker News ·

False Smoke Alarm Nearly Floods Jane Street's Only NYC Datacenter

A blog post by Michael Bacarella describes an incident in which a false smoke alarm nearly led to flooding at Jane Street's only datacenter in New York City. The account was shared on Hacker News, where it drew attention from readers. The article itself provides the details of how the alarm was triggered and how the situation was handled. No additional confirmation of the event from other sources is included in the available material.

0
IndiaTimes of India ·

Meghan Trainor and Daryl Sabara list Encino mansion for nearly $18 million

Singer Meghan Trainor and actor Daryl Sabara have put their Encino, California home on the market at $17.995 million. They bought the property about two years ago from producer Zedd for $17.125 million. The estate previously belonged to Joe Jonas and Sophie Turner, adding to its celebrity history. Features highlighted include a recording studio and a private gym. Whether the couple will reach their asking price remains uncertain.

0
IndiaTimes of India ·

Pacific Garbage Patch Microplastics May Be Shifting Ocean Color, Satellites Show

A satellite study suggests that microplastics concentrated in the Great Pacific Garbage Patch could be altering the color of the ocean's surface. The shift appears as a subtle blue-green tint that satellites have been picking up over the past two decades. Researchers examined how these plastic particles scatter and absorb light and compared those effects with natural materials in the water. The authors note that direct optical measurements taken from within the patch will be needed to confirm the findings. The work underscores that keeping microplastics out of the oceans in the first place is essential to limiting their broader impact.

0
WorldBBC World ·

Indonesia's vice president resigns as ruling alliance shows signs of strain

Indonesia's vice president has resigned, a move that comes as the ruling coalition appears to be splitting apart. The development places additional pressure on President Prabowo at a politically unsettled moment. Prabowo is reportedly facing a widening rift with his predecessor, former president Joko Widodo. The resignation has drawn attention to fractures within the governing alliance that had seemed more unified in recent times. Further details on the timing and stated reasons were not provided in the source text.

0
IndiaTimes of India ·

Canadian retiree waits days to check ticket, then learns he won $50 million

Shaun Ryan, a resident of Dalhousie, New Brunswick, has won the $50 million Lotto Max jackpot. He chose to hold off on validating his ticket for several days to enjoy the anticipation. When he finally checked his numbers, he confirmed the win. Ryan says he plans to use the money to help his large family and to pay for his wife's long-held travel plans now that she has retired from teaching.

← NewerPage 295 of 7337Older →