SShortSingh.
0
WorldBBC World ·

Trump Expresses Support for a United Ireland, Surprising Observers

US President Donald Trump made unexpected public comments expressing his desire to see a unified Ireland, catching many observers off guard. The remarks quickly became a major global headline, given their sensitivity around a long-standing and complex political issue. The topic of Irish unification has historically been a divisive subject involving the Republic of Ireland, Northern Ireland, and the United Kingdom. Analysts suggest Trump's comments may have been strategically aimed at an audience in Ireland or among Irish-American communities rather than being a formal policy statement. The remarks have drawn significant attention and are likely to prompt diplomatic discussion on both sides of the Atlantic.

0
WorldBBC World ·

Afghan woman deported from US under 'alien terrorist' law despite no charges

A legal US resident of Afghan origin has been deported from the United States without ever being charged with a crime. Authorities invoked a rarely used 'alien terrorist' legal provision to carry out the removal. The deportation was reportedly based on the woman's family connections to individuals linked to terrorism. This marks the first known use of this particular court mechanism to deport someone under such circumstances. The case has drawn attention to the broad powers authorities hold to remove residents on national security grounds even without criminal prosecution.

0
ProgrammingDEV Community ·

The Universal Frustration of Following Coding Tutorials as a Beginner

A viral post on DEV Community humorously captures a relatable experience shared by beginner programmers worldwide. The scenario depicts a developer carefully following a coding tutorial, only to find their code does not produce the same result as shown. This mismatch between expected and actual output is a common source of frustration among those learning to code. The post resonated widely within the developer community, highlighting the challenges of self-taught programming. It underscores how even simple tutorial-based learning can present unexpected obstacles for newcomers.

0
TechnologyThe Verge ·

Sam Altman rules out OpenAI IPO in 2026, cites safety concerns

OpenAI CEO Sam Altman confirmed in a Fortune interview that the company will not pursue an initial public offering in 2026, calling such a move ill-advised. The wide-ranging 45-minute conversation also touched on AI safety, the Hugging Face hacking incident, and the concept of recursive self-improvement. Altman acknowledged it is 'absolutely' possible to build an AI that surpasses human control, but pledged to take preventive steps, including pausing model training if necessary. He emphasized that certain risks should not be imposed on humanity, signaling a cautious approach to both AI development and corporate expansion.

0
ProgrammingDEV Community ·

Developer builds Rust CLI tool that cuts JS/TS codebase token usage by 83%

A developer has released urai-ecma, an open-source command-line tool written in Rust that compresses JavaScript and TypeScript codebases before they are fed into large language models. The tool uses SWC (Speedy Web Compiler) to parse code into Abstract Syntax Trees, stripping out syntactic noise such as Tailwind CSS class strings and imperative loops while preserving architectural structure. In testing, it reduced a 209,757-token React codebase to roughly 36,000 tokens — an 82.7% reduction — in milliseconds. The project was motivated by the creator's own experience building an agentic Chrome extension, where oversized prompts caused slow inference, rate-limit exhaustion, and model hallucinations. The tool is designed to help developers avoid wasted API costs and attention degradation when using LLMs for codebase-level reasoning tasks.

0
ProgrammingDEV Community ·

How to Build Frontend Interfaces That Work on Slow Networks and Weak Devices

A frontend engineer with experience building products for users on low-end devices and unreliable networks outlines practical design decisions that go beyond standard performance advice. Key techniques include using skeleton screens instead of spinners to improve perceived load time, and implementing optimistic UI updates that roll back gracefully if a server request fails. For transactional actions, the article recommends sending client-generated idempotency keys with requests to prevent duplicate operations during retries on flaky connections. Exponential backoff with added randomness is advised to avoid overwhelming APIs when many clients reconnect simultaneously after a network drop. The piece also distinguishes between offline and slow-connection states, arguing each requires different UI feedback to avoid misleading users.

0
ProgrammingDEV Community ·

Cloudflare Adds Auto-Remediation to CASB Security Tool, Spotlighting Retry Logic Risks

Cloudflare on September 11 introduced automatic remediation policies for its Cloud Access Security Broker (CASB) service, allowing customers to configure security findings to trigger remediation actions, webhooks, or both. The system routes findings through Cloudflare Queues, checks configured policies, and executes remediation jobs via Workflows, which can preserve progress across interruptions and handle rate-limiting. However, Cloudflare's own Queues documentation notes that messages may occasionally be delivered more than once, placing responsibility on developers to handle duplicate actions. This raises a broader concern about idempotency — the engineering principle that retrying the same operation should not produce unintended additional effects, such as duplicate bookings or emails. Developers are advised to define clear retry boundaries around single, identifiable actions and assign stable identifiers before the first attempt to prevent repeated jobs from creating conflicting outcomes.

0
ProgrammingDEV Community ·

Developer Joins Limn Engine, Plans to Document Tech Journey and Share Learnings

A software developer has announced joining Limn Engine, marking a new milestone in their professional journey. The developer views software development as a means of turning ideas into practical products and solving real-world problems. In this new role, they aim to grow through hands-on development, collaboration, and experimentation with emerging technologies. They plan to publicly document their technical experiences, projects, and lessons learned along the way. The developer also expressed a desire to connect with and contribute to the broader tech and developer community.

0
Crypto & Web3CoinDesk ·

Bitcoin Suisse to cut up to 50% of Swiss jobs in overseas cost shift

Swiss crypto firm Bitcoin Suisse has announced plans to eliminate up to half of its Switzerland-based workforce as part of a cost-reduction strategy. The company is relocating operations abroad to lower expenses. As part of this restructuring, Bitcoin Suisse is shutting down its Copenhagen IT office. The firm will retain its Bratislava presence and establish a new operational hub in Vietnam.

0
ProgrammingDEV Community ·

Cuban Developer Builds Homegrown Social Network to Bypass Connectivity Barriers

Frank, a developer based in Havana, Cuba, has built Boniatillo, a microblogging social network designed specifically for Cuban internet conditions. The platform addresses local challenges such as slow mobile connections, expensive data costs, and the absence of international payment gateways like Stripe or PayPal. Boniatillo supports text posts, images, short videos, and polls, while enabling creators to earn money through tips and paid subscriptions via Transfermóvil, Cuba's national payment system. Built entirely in vanilla PHP 8.3 without any framework, the platform aggressively optimizes media — compressing images by up to 99% and capping 15-second videos at around 300 KB. Since launching, Boniatillo has attracted over 150 registered users and is growing at roughly three to four new users per day.

0
ProgrammingDEV Community ·

Developer Launches Personal Portfolio Site After Iterative Design and Rebuilding

A developer named Farid Teymouri has launched his personal portfolio website at faridteymouri.com after an extended process of coding, learning, and redesigning. The site was intentionally built to go beyond a basic profile page, aiming to showcase projects, technical experiences, case studies, and ongoing learning. Teymouri describes software development as a continuous journey and views the portfolio as a space to document that path over time. He has indicated plans to keep improving the site and adding more projects along with the stories behind them.

0
ProgrammingDEV Community ·

Vectorless RAG Uses Document Structure Instead of Embeddings for Smarter Retrieval

Traditional Retrieval-Augmented Generation (RAG) splits documents into chunks, converts them into vector embeddings, and retrieves the most semantically similar chunk to answer a query. However, this approach has known limitations, including fragmented context from chunking, semantic similarity not always equating to relevance, and opaque retrieval that lacks traceability. Vectorless RAG addresses these issues by treating a document as a structured hierarchy — similar to a table of contents — rather than a flat collection of chunks. An LLM navigates this document tree using reasoning to identify the most relevant section, enabling answers to be traced back to their exact source. The two approaches are not mutually exclusive; depending on the use case and data type, traditional vector search and Vectorless RAG can be used together.

0
IndiaTimes of India ·

Restored 1912 Tugboat Turned Floating Home Lists for $1M in Sausalito

A Bay Area couple purchased a neglected 1912 tugboat for just $8,000 in 1982 and spent over four decades transforming it into a livable floating home in Sausalito. The historic vessel has now been listed on the real estate market for $1 million. The asking price reflects an $800,000 reduction from its previous listing, making it a significantly more accessible offer for prospective buyers. The converted tugboat represents a rare opportunity to own a piece of maritime history as a functional residence.

0
ProgrammingDEV Community ·

Material Foundation Package Brings Adaptive Layouts to Flutter Apps Across Devices

A lightweight Flutter package called Material Foundation helps developers build interfaces that adapt across mobile, tablet, and desktop screen sizes. The package provides two key widgets — DynamicLayoutBuilder and DynamicScaffold — which select appropriate layouts based on available screen width. It uses Flutter's LayoutBuilder constraints, switching between mobile, tablet, and desktop compositions at customizable breakpoints of 740px and 1200px. Developers supply separate widget bodies for each screen size, keeping adaptive logic cleanly separated from layout details. The package is available via GitHub and integrates into standard Flutter projects through pubspec.yaml.

0
ProgrammingDEV Community ·

Seven Infrastructure Patterns That Keep AI Apps Running at Scale

Software developer Maneshwar, building an AI code review tool called LiveReview, outlines seven architectural patterns critical to running AI applications under heavy user load. The core argument is that a well-tuned AI model means little if the surrounding infrastructure cannot handle thousands of simultaneous requests. Key patterns discussed include deploying an API gateway to manage incoming traffic, applying admission control to cap not just request counts but also token usage and concurrent model calls, and using caching to avoid redundant retrieval and embedding work for repeated queries. The article distinguishes between an API gateway, which governs user traffic into the app, and a model gateway, which manages outbound calls to providers like OpenAI or Anthropic. It emphasizes that production failures at scale typically stem from infrastructure bottlenecks rather than model quality, making these engineering patterns essential for any AI product moving beyond demo stage.

0
ProgrammingDEV Community ·

Why Your .NET App Silently Fails: The TCP Port Exhaustion Trap

ASP.NET Core applications can suffer mysterious outbound API failures even when CPU, memory, and database metrics appear normal, with the root cause hidden at the TCP layer. Each new HttpClient instance created per request opens a fresh TCP connection requiring a unique local port, and closing connections does not immediately free those ports due to TCP's TIME_WAIT state. Under high traffic, an application can exhaust the finite pool of available outbound ports, triggering SocketException errors that disappear temporarily after a restart. Microsoft explicitly warns against creating and disposing HttpClient instances per request, recommending instead that developers reuse HttpClient or use IHttpClientFactory to share connection pools. Understanding this TCP lifecycle explains why the pattern is dangerous and helps developers recognize the same failure even across different technologies or frameworks.

← NewerPage 1156 of 5241Older →