SShortSingh.
0
TechnologyTechCrunch ·

Pinterest tests AI tool that lets users virtually redesign their rooms

Pinterest is piloting a new feature called Restyle that uses artificial intelligence to help users reimagine their living spaces. The tool allows people to visualize changes to furniture, decor, and lighting within photos of their own rooms. Restyle appears designed to bridge the gap between saving inspirational content on the platform and making actual purchases. The feature is currently in a testing phase, signaling Pinterest's continued push to deepen its role in home design and shopping.

0
ProgrammingDEV Community ·

Developer Builds Stateful Mock API After Frustration with Data-Forgetting Sandboxes

A frontend developer grew frustrated while testing a CRUD interface when a popular dummy API returned success responses but failed to persist any submitted data. POST requests returned fake IDs, DELETE calls appeared successful, yet all original data reappeared unchanged after a page refresh. Existing workarounds — such as client-side state, localStorage adapters, or local mock servers — either reset on reload, skip real HTTP behavior, or cannot be easily shared with teammates. Unable to find a tool that retained data across requests without any configuration, the developer built Playground API, a cloud-based sandbox supporting both REST and GraphQL. The tool isolates each session's data in the browser with no credentials or database setup required, allowing created, updated, and deleted records to persist as they would on a real backend.

0
TechnologyThe Verge ·

Apple Refurbished TV 4K Drops Up to $40, Comes With Full One-Year Warranty

Apple is offering its third-generation Apple TV 4K in refurbished condition at discounted prices amid broadly rising hardware costs in 2026. The 64GB model is available for $169, a $30 reduction from its new retail price, while the 128GB Ethernet-enabled model is priced at $209, saving buyers $40. Refurbished units are described as near-new in condition and carry the same one-year warranty as brand-new devices. The Apple TV 4K supports Dolby Vision, HDR10 Plus, Siri, and can serve as a HomeKit hub, with the Ethernet model also supporting the Thread smart home protocol. Originally reviewed at launch in 2022, the device can also function as a gaming console when paired with a Bluetooth controller via Apple Arcade.

0
ProgrammingDEV Community ·

TypeSafe's Jev Model Scores Mid-Pack Chess Elo at $0.0015 Per Game

TypeSafe's Jev is an unconventional AI model that accepts structured inputs with predefined label options and returns probabilistic classifications, rather than generating free-form text. A developer tested Jev on the LLM Chess benchmark by framing each move selection as a Choice query over all legal UCI moves, allowing it to participate in the same evaluation harness used for standard chat models. Jev achieved an Elo rating of approximately 243, placing it near mid-tier reasoning models like o4-mini-medium, while completing games in around 36 seconds at roughly $0.0015 each — far cheaper than its leaderboard neighbors. The model maintained a consistent 50% draw rate against a chess engine across three difficulty levels, with zero illegal moves or protocol failures, highlighting the reliability of its typed, constrained output format. TypeSafe itself does not pursue public benchmarks, so this represents an independent external evaluation showing Jev performs well on tasks involving selection from a fixed list of options.

0
ProgrammingDEV Community ·

How to Build a Reliable Performance Test for Beauty AR Sessions in TypeScript

A Beauty AR proof of concept may perform flawlessly in short demos but fail under real-world sustained usage, making rigorous testing essential before shipping. Effective testing requires running representative effect combinations over extended sessions to detect gradual performance degradation, not just measuring average frame rates. Developers should define test cases based on actual product configurations — such as baseline, common, expensive, and recovery profiles — rather than synthetic stress tests that don't reflect user behavior. Device tiers should be maintained using real-device benchmarks rather than user-agent strings, with an unknown tier defaulting to conservative settings. A TypeScript-based testing framework using a platform-agnostic adapter is recommended to keep SDK-specific calls separate and portable across target platforms.

0
ProgrammingDEV Community ·

BS9 Is an Open-Source Self-Healing Process Manager Built for Bun

A developer has released BS9 (Bun Sentinel 9), an open-source process supervisor and high-availability clustering manager designed specifically for the Bun JavaScript runtime. The tool addresses common production challenges such as zero-downtime reloads, fault tolerance, and cross-platform daemon management that existing tools like PM2 handle poorly for Bun. BS9 uses a Replace-First reload strategy that spins up a new worker, confirms its readiness, drains in-flight requests, and only then shuts down the old process to avoid dropped traffic. It also includes a built-in State Hub with write-ahead logging and compare-and-swap primitives, eliminating the need for an external Redis cluster. A built-in chaos-testing command, verify-ha, lets developers stress-test their applications with simulated crashes and rolling reloads to measure latency and availability.

0
ProgrammingDEV Community ·

Kubernetes Sits Above VMs, Not in Place of Them, Experts Clarify

A common misconception in enterprise IT holds that Kubernetes replaced virtual machines, but the two technologies operate at different architectural layers and are designed to coexist. Kubernetes functions as an application-level control plane, handling workload scheduling, reconciliation, and service discovery, while virtualization continues to manage compute abstraction underneath. The real shift was not a replacement of VMs but a consolidation of fragmented application management responsibilities into a single higher-level system. Before Kubernetes became standard, tasks like application placement and lifecycle management were split across VM tooling, platform scripts, and manual operator decisions. Misunderstanding this distinction can lead organizations to make flawed platform transition decisions, such as focusing on replacing a hypervisor while overlooking the broader operating model that depends on it.

0
WorldBBC World ·

Families of US citizens jailed in China urge Trump to press Xi for releases

Sylvia Zin, wife of an American scholar imprisoned in China, is appealing to President Trump to raise her husband's case at an upcoming meeting with Chinese leader Xi Jinping. She is one of several family members of US citizens detained in China who are seeking presidential intervention. Trump is scheduled to host Xi next week, presenting what advocates see as a key diplomatic opportunity. The families hope Trump will use the high-level talks to push for the release of their loved ones held in Chinese custody.

0
ProgrammingDEV Community ·

Why Frameworks Are More Than Code: They Encode Decades of Hard-Won Security Lessons

A developer reflecting on 1980s bulletin board systems recalls storing user passwords in plaintext on floppy disks, a practice that exposed serious security flaws over time. Each attempted fix — from substitution ciphers to homegrown transformations — revealed new vulnerabilities, gradually building decades of engineering knowledge around something as seemingly simple as password storage. Modern authentication now encompasses hashing, salts, rate limiting, CSRF protection, session management, and more. The author argues that mature software frameworks do far more than save developers from writing code — they encode institutional memory, embedding hard-learned decisions, discovered edge cases, and patched vulnerabilities. A first-time developer implementing authentication may not know the right questions to ask, but a well-built framework often already has the answers.

0
ProgrammingDEV Community ·

How Tapflow Solved Async Clipboard Sync Between Browser and Mobile Simulators

Tapflow, a browser-based device viewer, faced a two-part clipboard challenge: device clipboards operate asynchronously, and browsers enforce permission checks before a response from the device arrives. For paste, the browser captures the paste event and relays the text to a device agent, which writes it to the simulator's clipboard and triggers a platform-specific paste input — Cmd+V on iOS and KEYCODE_PASTE on Android. For copy, a fixed delay proved unreliable, so Tapflow instead writes a random sentinel value to the device clipboard, waits until it is confirmed visible, then polls for a changed value to confirm the app's copy command actually landed. If the copy fails, the original clipboard content is restored and verified before the device is unblocked for further clipboard operations. An additional browser constraint — Safari rejecting clipboard writes after the original user gesture expires — further shaped the final implementation approach.

0
ProgrammingDEV Community ·

How Valid Markdown Can Hide Costly Arithmetic Errors in Business Documents

A narrative from DEV Community illustrates how Markdown-based invoices can appear visually correct while containing serious calculation errors. In the example, a project manager updates a line-item quantity from 12 to 20 hours but leaves all derived figures — net amount, VAT, gross total, and payment schedule — unchanged. Both Git and the Markdown renderer flag no issues, since neither tool understands that figures should satisfy formulas like Net = Qty × Rate. A reviewer approves the diff without recalculating, because no individual number looks obviously wrong. The piece argues that Markdown's lack of constraint enforcement makes it a structurally fragile format for financial documents, especially in fast-growing small teams where informal processes outlast their original low-stakes context.

0
IndiaTimes of India ·

Three-year-old Noah Woods found dead in Suffolk pond after community search

Three-year-old Noah Woods, a non-verbal boy with partial hearing loss, was found dead in Decoy Pond in Suffolk, England. The child had gone missing, prompting an extensive search involving emergency services, volunteers, and local residents. His body was recovered from the pond following the search operation. Noah's father, Rhys Woods, paid tribute to his son, describing him as the sweetest and most innocent little boy. He also expressed gratitude to all those who participated in the search effort.

0
ProgrammingHacker News ·

Insufficient source material to produce a verified summary

The source article contains no substantive text beyond a job listing URL and a Hacker News thread link. No factual details about the role, company background, hiring scope, or context were provided in the article body. Generating a summary would require fabricating information, which falls outside editorial guidelines. Please provide a fuller article text for accurate reporting.

0
WorldBBC World ·

EU Floats Canada Associate Membership Idea but Offers No Firm Commitment

The European Union has discussed the possibility of granting Canada a form of associate membership, though no formal guarantees have been made. The proposal remains at an early, exploratory stage with no certainty it will progress further. EU officials have offered warm words on the concept but stopped short of any binding commitments. It is also unclear whether the idea could serve as a model for other non-member countries in the future.

0
ProgrammingDEV Community ·

Claude Code Headless Mode Enables Autonomous CI/CD Execution via -p Flag

Claude Code's headless mode allows developers to run AI-assisted coding tasks autonomously without interactive terminal sessions, using the -p flag to pass prompts directly as command-line arguments. This approach is designed for production environments where repeatable, scheduled, or parallel execution is required across multiple repositories or microservices. Key features include output format control (including structured JSON), session persistence options, and the ability to chain results into downstream build steps. Engineering teams can coordinate multiple parallel headless agents using TypeScript and Node's child_process module, with each agent handling errors independently. The shift from interactive to headless execution moves operational responsibility from manual supervision to robust error handling and retry logic within CI/CD pipelines.

0
ProgrammingDEV Community ·

Treat Gemini Structured Output as a Versioned API to Prevent Agent Breakage

When applications rely on structured JSON output from Gemini, that output effectively becomes an API contract, meaning field changes or new enum values can silently break downstream consumers. Developers are advised to embed schema version identifiers directly in persisted output values rather than relying solely on deployment configuration. Google's Gemini SDK supports JSON Schema alongside Zod validation, enabling stricter runtime checks at the application boundary. Structured generation handles syntax and shape validation, but semantic and policy-level checks — such as verifying referenced evidence IDs exist or confirming an action is permitted — remain the application's responsibility. Different validation failures require different handling strategies, and policy violations in particular should be blocked rather than re-prompted until the model produces a compliant answer.

← NewerPage 1317 of 5672Older →