SShortSingh.
0
ProgrammingDEV Community ·

Docker Swarm Rejects Task Despite 0.01% Memory Use — Reservations Are Why

A developer discovered that Docker Swarm refused to schedule a new service due to 'insufficient resources,' even though the existing service was consuming only 480 KiB of memory on a 5.772 GiB node. The confusion stemmed from the difference between runtime memory usage and scheduler reservations: Swarm makes placement decisions based on declared --reserve-memory values, not actual consumption. In the test setup, Service A held a 3.463 GiB reservation (60% of node memory), and adding Service B with a 50% reservation pushed the combined total to roughly 6.349 GiB — exceeding node capacity. Reducing Service B's reservation from 50% to 20% brought the combined total to 4.617 GiB, and Swarm immediately scheduled the task successfully. The experiment highlights that --reserve-memory controls scheduling eligibility, while --limit-memory is the correct flag for enforcing actual runtime memory caps.

0
IndiaTimes of India ·

How a 2001 Hamburg defeat helped Federer build the mental edge for Grand Slam glory

Roger Federer suffered a painful defeat in Hamburg in 2001 that proved to be a turning point in his career. Rather than letting the loss derail him, Federer used it as motivation to develop greater emotional control on the court. Just weeks later, he channelled his composure to defeat Pete Sampras at Wimbledon, signalling a significant shift in his mental approach. This psychological growth ultimately laid the foundation for his first Grand Slam title in 2003. The episode highlights how self-regulation, not just physical skill, was central to Federer's rise as one of tennis's all-time greats.

0
ProgrammingDEV Community ·

Developer builds 59 privacy-first browser tools in vanilla JS with zero dependencies

A developer has publicly launched Antigravity Tools, a collection of 59 free, browser-based utilities built entirely in vanilla JavaScript with no external dependencies, backend servers, or analytics. The project was motivated by privacy concerns with popular online tools, such as JWT decoders and regex testers, which can log or transmit user data to remote servers. All operations run locally in the browser using native APIs including Web Crypto, Canvas, Web Audio, and IndexedDB. The toolkit covers a wide range of developer needs, including JWT inspection, RSA key generation, JSON formatting, cURL conversion, regex testing, and AI prompt utilities. The tools are available at antigravitytools.app and require no installation, npm packages, or build tools.

0
ProgrammingHacker News ·

Developer Works on Emulating France's Mitra-15 Minicomputer in SIMH

A developer has published a work-in-progress project on GitHub aimed at emulating the French CII Mitra-15 minicomputer using the SIMH simulator framework. The Mitra-15 was a minicomputer produced by the French company CII (Compagnie Internationale pour l'Informatique) in the 1970s. The project is currently incomplete and actively under development. The repository was shared on Hacker News, where it received limited early engagement with a small number of points and comments.

0
TechnologyTechCrunch ·

Australian Police Arrest Two Suspects Linked to TeamPCP Hacks on Tech Firms

Australian law enforcement has arrested two individuals in connection with a series of cyberattacks carried out by a group known as TeamPCP. The attacks targeted several prominent technology companies, including AI firms Mercor and OpenAI, among others. The breaches exploited vulnerabilities in widely used open source software that these companies depended on. The wave of attacks occurred earlier in 2024, prompting an investigation that ultimately led to the arrests. Authorities have not yet disclosed the identities of the suspects or the specific charges they face.

0
TechnologyTechCrunch ·

Google to impose stricter memory limits on Android apps amid AI hardware crunch

Google is introducing new restrictions on memory usage for Android applications. The move comes as AI data centers are driving hardware shortages, putting pressure on available memory components. This situation could result in budget and lower-cost smartphones shipping with reduced memory capacity. The new limits are intended to manage how apps consume memory on devices that may have less to offer in the near future.

0
ProgrammingDEV Community ·

Getting Started with FreeBSD: Login, Root Access, and Package Management

A practical guide for FreeBSD newcomers covers three core concepts: initial login, privilege escalation, and software management using the pkg tool. Users are advised to log in with a standard account and elevate to root only when needed, using the 'su -' command, which loads the full root environment. Only users belonging to the 'wheel' group are permitted to switch to root on FreeBSD, a security measure that must be configured during installation. The pkg package manager handles software installation, updates, and removal, and initializes automatically the first time it is invoked after a fresh install. Common pkg commands mirror familiar Linux tools like apt, making the transition easier for users coming from Debian or Ubuntu systems.

0
IndiaTimes of India ·

Macklin Celebrini emerges as top captain candidate for San Jose Sharks

Macklin Celebrini, 20, is being considered as a future captain of the San Jose Sharks based on his strong early performances in the NHL. The young forward has already demonstrated composure on major international and league stages. If appointed, Celebrini would join an elite group of players who earned captaincy at a young age, including Connor McDavid and Sidney Crosby. His on-ice play and leadership qualities are driving discussions around the role within the organization.

0
TechnologyThe Verge ·

Meta's $17.1B Kids Safety Settlement Comes With a Push to Regulate Rivals

Meta has reached a settlement with 47 US states and several districts and territories over child safety concerns on its platforms. The deal could cost the company up to $17.1 billion and require changes to its apps. Rather than staying quiet, Meta is using the moment to publicly pressure competitors like TikTok and YouTube to adopt similar protections. The company published an open letter, also placed as a full-page ad in major newspapers, arguing that new industry-wide standards cannot work if rivals do not follow suit. Critics may see the move as Meta attempting to reframe its legal setback as a broader push for platform accountability.

0
ProgrammingHacker News ·

Software Engineering at Its Core Is the Art of Managing Complexity

A discussion on Hacker News highlights the view that managing complexity is the fundamental challenge in software engineering. The article, published on hack8s.com, argues that this principle remains central to the discipline. The post received 6 points on Hacker News at the time of aggregation. No community comments had been posted yet, suggesting the discussion was still in its early stages.

0
TechnologyArs Technica ·

Ancient traders brought Central American cacao to Georgia 1,000 years ago

Archaeological evidence reveals that cacao from Central America was traded to what is now the state of Georgia roughly 1,000 years ago. Researchers identified traces of cacao residue in artifacts recovered from a site in the region, pointing to long-distance trade networks. The finding suggests that pre-Columbian societies maintained extensive commercial or cultural connections across vast distances. This discovery sheds new light on the sophistication of ancient trade routes linking Mesoamerica with communities in the southeastern United States.

0
ProgrammingDEV Community ·

Kvant library unifies state management across URL params, cookies, and localStorage

A new JavaScript library called kvantjs aims to eliminate repetitive boilerplate code that developers write when handling state across URL search params, cookies, localStorage, and sessionStorage. Each of these browser storage mechanisms has its own untyped API, forcing teams to manually handle JSON parsing, input validation, default values, and cross-tab sync on every project. Kvantjs replaces this scattered logic with a single type-safe API using a Zod-flavored schema builder, allowing developers to read and write state with a familiar useState-like hook. The library supports React, Next.js, Vue, Vue Router, and Nuxt, and automatically removes URL params when values match their defaults to keep URLs clean. It can be installed via npm and provides framework-specific adapters alongside hooks for storage and cookie management.

0
WorldBBC World ·

UN Gaza Envoy Warns Israeli Strikes and Hamas Actions Risk Ceasefire Collapse

UN Special Coordinator Nickolay Mladenov has spoken out against both Israeli military strikes and Hamas actions in Gaza. He cautioned that a breakdown of the ceasefire reached in October could mark a critical and irreversible turning point for the region. Mladenov described such a collapse as 'a point of no return,' signaling deep concern over the fragile peace. His remarks reflect growing international anxiety over escalating tensions between Israeli forces and Hamas in the Gaza Strip.

0
ProgrammingHacker News ·

RestoredDrill: Open-Source Tool to Verify PostgreSQL Backup Restores

A developer has released RestoredDrill, an open-source tool designed to verify that PostgreSQL database backups can actually be restored successfully. The project was shared on Hacker News under the 'Show HN' category, which highlights community-built tools and projects. RestoredDrill addresses a common risk in database management where backups exist but are never tested for recoverability. The tool is hosted on GitHub under the account of developer Ahmad Piran. At the time of sharing, the post had received 6 points and 3 comments from the Hacker News community.

0
ProgrammingDEV Community ·

Zhipu AI Releases GLM 5.3 Flash: Frontier-Level AI at a Fraction of Rival Costs

Chinese AI firm Zhipu AI (Z.ai) publicly revealed and open-sourced its GLM 5.3 Flash model on 26 August 2026, after it had spent a week atop OpenRouter and OpenCode leaderboards under the anonymous name ox-alpha. The model is a 320-billion-parameter mixture-of-experts architecture with roughly 18 billion active parameters per token, supporting text, image, and video inputs. Z.ai says it achieves a 3x reduction in attention compute and a 4.44x reduction in KV cache size compared to GLM 5.3, making large-context inference significantly cheaper. Independent benchmarker Artificial Analysis scores it at 57.5 on its intelligence index — nearly level with Claude Opus 4.8's 57.3 — while its promotional API pricing sits at roughly 1/70th of Opus 4.8's input cost. The weights are released under an MIT licence, and Z.ai confirmed the anonymous pre-launch testing was conducted on Chinese AI chips using a custom SGLang-based inference stack.

← NewerPage 530 of 3751Older →