SShortSingh.
0
ProgrammingDEV Community ·

LLMOps: Why Shipping AI to Production Is an Operations Problem

A chatbot on Air Canada's website wrongly told a customer he could claim a bereavement discount after travel, contradicting the airline's own policy page. When the airline refused the refund, British Columbia's Civil Resolution Tribunal ruled in February 2024 that the company was responsible for its chatbot's statements and ordered it to pay C$812.02. The article argues that a deployed model is effectively a vendor dependency whose outputs carry the company's liability, so production readiness requires operating it, not just building it. It identifies four metrics to track: p95 latency, error rate, cost per 1,000 requests, and eval pass rate. It presents these as the concrete measures that distinguish a live product from a demo, and frames the piece as the final part of an AI engineering series.

0
ProgrammingDEV Community ·

Developer Builds C++ Monte Carlo Stock Price Simulator Using CMake

A developer has built a stock price simulator written in C++ with CMake as its build system. The project's main purpose is to help the creator gain hands-on experience with both C++ and CMake. The tool forecasts possible future stock prices by starting from the current price and applying random shocks drawn from a normal distribution. The developer is currently adding support for historical stock market data and has shared the code on GitHub, requesting feedback from readers.

0
ProgrammingDEV Community ·

Guide Shows How to Export Instagram Post Comments to CSV Using an API

A developer who builds the SocialHolmes social data API explains why collecting comments from public Instagram posts is difficult, citing login walls, rate limits, frequently changing internal queries, and paginated loading. The article reviews three approaches: the official Instagram Graph API, which only covers accounts connected to the developer's app, do-it-yourself scraping, and paid scraping services. It then walks through a curl workflow that starts a scraping run, polls its status, and reads results in pages of up to 100 comments. A Python script is provided that automates the process and saves the output to a CSV file.

0
ProgrammingDEV Community ·

Developer Shares Free, Local AI Setup Using Ollama as Alternative to Cloud APIs

A DEV Community post argues that cloud AI services charge per token and send user data to remote servers. The author presents Ollama as a way to run language models such as llama3.2 locally on a laptop at no cost. The piece includes setup commands and a short Python example that queries the local model through a simple HTTP request. It also lists several models suited to different tasks, including code, lightweight work, and complex reasoning. The author says they built 45 open-source tools with this approach.

0
ProgrammingDEV Community ·

Why personal knowledge bases should be local-first and built for AI access

Many people collect large amounts of information but scatter it across multiple apps, making it hard to manage over time. The article argues that personal knowledge tools should be local-first, meaning data stays on the user's own device rather than depending solely on a cloud provider. It notes that exporting data from proprietary applications can be cumbersome and can break relationships between documents, creating dependency on a single vendor. Plain-text Markdown files are highlighted as a portable, durable format that other tools and scripts can read and modify. The author also points out that AI agents will need access to this information, making open, accessible formats important.

0
ProgrammingDEV Community ·

Students Build Orquest, an AI Game to Help Explore Career Paths

A team of students created Orquest during the SharkByte Hackathon to help peers discover careers that match their interests. The app uses interactive swipe cards, a bubble explorer, and a catalog of 20 job families and 115 occupations, with Google Gemini providing career guidance. Built with React, Python, and FastAPI, it was deployed using Docker and Render while the team stayed within a $0 budget. The developers faced integration challenges, including a CORS issue and a faulty JSON schema that blocked Gemini requests, before getting the project running publicly. The team plans to expand verified educational pathways and let students save their progress permanently.

0
ProgrammingDEV Community ·

ChunkLoadError After Next.js Deploy Often Traced to CDN Caching Stale HTML

After a Next.js deployment, some visitors may see missing styles or broken interactivity alongside a ChunkLoadError for a JavaScript chunk that no longer exists. The article explains that Next.js uses content-hashed chunk filenames, and the HTML is the only place that records the current names, so cached HTML from before a deploy requests chunks that have been replaced. Caching of HTML can occur accidentally through a CDN rule, a reverse proxy, a hosting panel's cache toggle, or a service worker. Checking response headers such as cf-cache-status and Age can reveal which cache is serving the stale page. Each source requires a different fix, with service workers relevant only if one was deliberately added.

0
ProgrammingDEV Community ·

OpenCV से दस्तावेज़ की फ़ोटो को सीधा और काला-सफ़ेद करने की विधि

यह लेख बताता है कि स्कैनर ऐप्स फ़ोन की फ़ोटो में काग़ज़ ढूँढकर, उसके कोने तय करके और उसे स्याही व काग़ज़ में बाँटकर कैसे काम करते हैं। लेखक एक काल्पनिक किराया-अनुबंध का पन्ना बनाकर उसकी फ़ोटो खींचते हैं, जिससे सटीक कोने ज्ञात रहें। काग़ज़ को अलग करने के लिए धुंधलापन, Otsu थ्रेशोल्ड और सबसे बड़े कंटूर का उपयोग किया जाता है। approxPolyDP से मिले कोने कुछ पिक्सेल दूर रहते हैं, इसलिए आसपास के किनारों को फ़िट करके उनके प्रतिच्छेदन से बेहतर कोने निकाले जाते हैं। इससे त्रुटि लगभग दो से छह पिक्सेल तक घट जाती है, और फिर पर्सपेक्टिव ट्रांसफ़ॉर्म से पन्ना सीधा किया जाता है।

0
ProgrammingDEV Community ·

Setting Up Ollama with ROCm and Docker on an AMD Ryzen AI Max+ 395 System

Running large language models on the integrated AMD Radeon 8060S requires the operating system, ROCm runtime, container setup, and GPU permissions to function together, since a container can start while inference silently falls back to the CPU. The author documents a setup on an EVO-X2 machine with a Ryzen AI Max+ 395 using Ubuntu, ROCm, Docker, and Open WebUI, along with methods for verifying GPU detection. The notes are drawn from late 2025 and were not fully reproducible because earlier container tags were floating and package versions were not fully recorded. The guide covers Docker and group permission steps, plus a ROCm 7.1.1 installer path that is presented as historical rather than a recommendation to downgrade. Readers are advised to consult AMD's compatibility matrix for supported Ubuntu and kernel combinations before installing.

0
ProgrammingDEV Community ·

How to scrape Workday job postings and avoid the 2,000-job pagination trap

Many large employers, including Nvidia, Salesforce and Adobe, publish openings on Workday, which lacks a documented public API, so most job scrapers skip it. Each Workday careers site loads its listings from a JSON endpoint that can be queried directly, and the guide explains how to build the URL from the tenant, data center and site name. Two common pitfalls can silently break scripts: results stop at 2,000 jobs and then repeat from page one, and the list shows only relative dates, which the detail endpoint can replace with exact ones. The article also covers HTTP error codes that signal missing tenants, wrong site names or restricted access, and recommends limited parallel requests with backoff on rate limits. It presents a commercial scraper as an alternative that handles these issues across several job platforms.

0
ProgrammingDEV Community ·

Cleaning Supplier Product CSVs Before a Shopify Import

A guide explains how to prepare a supplier spreadsheet for Shopify before importing it, covering headers, delimiters, and identifiers. It advises working on a copy of the original file and defining what each row represents before making changes. Identifiers like SKUs and barcodes should be set as text to preserve leading zeros, and duplicate codes should be reviewed rather than deleted automatically. Prices need their decimal and thousands separators interpreted correctly according to the source format and currency. The author demonstrates the process using a synthetic four-product test file run through a local Python conversion tool, noting that no live Shopify import was tested.

0
IndiaTimes of India ·

Gold and silver rise as US-Iran tensions and inflation data loom

Gold and silver prices climbed this week in both domestic and international markets following a period of sharp volatility. Investors are closely watching upcoming inflation readings from major global economies for clues on future interest rate moves. Ongoing tensions between the United States and Iran could also influence bullion prices in the coming week. With Diwali approaching in India, analysts expect market swings may become more pronounced.

0
ProgrammingDEV Community ·

Auditing Gaps in Recurly's Dunning System to Reduce Failed-Payment Churn

The article argues that Recurly's dunning platform, with its automated retries and account updater integrations, handles the core of failed-payment recovery well. It recommends auditing one month of failed renewals and sorting outcomes into platform-recovered, human-recovered, and never-recovered groups. Human interventions often fill gaps in campaign structure, such as answering unanswered questions or offering a pause instead of cancellation. The author advises separating configuration problems, which are fixable settings, from coverage problems, which need an added layer of reading and response alongside the platform, and recommends running the audit quarterly.

0
IndiaTimes of India ·

UK father wins £4m mansion and £250,000 cash prize in Omaze draw

A father from the United Kingdom has won a mansion valued at £4 million along with £250,000 in cash through an Omaze prize draw. He entered the competition by purchasing a ticket for just £30. The win was announced by the charity-linked prize platform Omaze, which runs such draws to raise funds. Details about the timing and the winner's plans were not fully covered in the source material.

0
IndiaTimes of India ·

Bezos Explains Why Few Investors Follow Buffett's Long-Term Strategy

Warren Buffett advocates a long-term investing approach built on patience and compounding returns. Jeff Bezos relayed Buffett's views at the America Business Forum. According to the discussion, many investors find it hard to adopt this kind of strategy. Buffett argues that a longer time horizon gives investors an edge over those chasing quick gains. Both men stress buying strong businesses at sensible prices to achieve sustained growth.

← NewerPage 148 of 7038Older →