SShortSingh.
0
ProgrammingDEV Community ·

Cómo crear un bot de Telegram en Python que solo responda a su propietario

Un bot de Telegram puede servir de mando a distancia para un script o un agente de IA en tu propia máquina, sin app propia ni servidor público. Como cualquiera puede escribirle, el artículo propone un diseño de emparejamiento: un código aleatorio de un solo uso que caduca a los 10 minutos y se vincula al ID numérico del remitente. Para recibir mensajes sin exponer puertos ni certificados se usa long polling con getUpdates, y el autor explica que el timeout HTTP debe superar la espera del long poll. Según sus pruebas locales, este enfoque evita miles de peticiones inútiles frente a un sondeo corto, aunque el error de una línea que disparó las peticiones se presenta como advertencia. El texto incluye una implementación de unas 70 líneas de Python con la biblioteca estándar.

0
ProgrammingDEV Community ·

How to Organize AI Prompts in Text Files and Refine Them Over Time

Rather than leaving useful AI prompts buried in chat history, the article recommends saving a dedicated text file for each recurring task. History is sorted only by time, mixes working and failed versions, and loses refinements, so it works as a record rather than a reusable asset. Each prompt file is suggested to cover its purpose, context, instructions, things to avoid, and an example of good output. The author advises separating context and don'ts from the instructions so fixes are easier to target when results fall short. The piece also compares storage options such as plain files, note-taking apps, AI tool custom instructions and text expanders, suggesting text files as the master copy.

0
ProgrammingDEV Community ·

Retail shop owner teaches himself Python to replace his spreadsheet with small tools

Eric, who ran a small retail shop for eleven years and does not code professionally, introduces himself to the DEV Community. He began by managing cash flow, stock, and pricing in a large spreadsheet that only he understood. Last year he started learning basic Python to organize that workbook and became interested in building small tools that each answer a specific business question. He describes himself as a beginner who relies heavily on lookups, but says the community's supportive tone drew him in. He plans to mostly read and ask questions, and invites others who built tools for small businesses or switched into coding from other trades to share their experiences.

0
ProgrammingDEV Community ·

Building a Tested Docs Site with Thally and Lessons on Modern Developer Experience

The author built the JSON Server Field Guide, a companion site for json-server@1.0.0-beta.15, with a rule that every behavioral claim must be backed by recorded HTTP fixtures rather than assumptions. They chose Thally, a documentation framework built on Next.js 16 with Turbopack, because it is a full App Router application that avoids the limits of proprietary static generators. The write-up covers scaffolding, content modeling, interactive MDX consoles, CI quality checks, and production deployment, along with the engineering obstacles met along the way. Thally's features highlighted include fast hot reloading, built-in AI-readable endpoints, a CLI that audits links and frontmatter, and a file ownership system that protects custom content from upstream overwrites.

0
ProgrammingDEV Community ·

Teams Weigh Automated PR Approvals Against Code Quality and Oversight Risks

Software teams are increasingly adopting automated pull request approval, where AI review tools such as Coderabbit check code and authors can merge their own changes without human sign-off. The article describes this as a workflow shift that speeds up reviews but can let logical errors, architectural drift, and business-logic flaws reach production. It identifies codebase complexity, tool limitations, weak team accountability, accumulated technical debt, and regulatory oversight requirements as factors that shape how well these systems work. It also warns of knowledge silos and a moral hazard in which deadlines push developers to skip quality practices.

0
ProgrammingDEV Community ·

Why Stop-and-Wait ARQ Leaves Fast Links Underused Over Long Distances

Engineers deploying high-speed fiber across continents often find that raising bandwidth from 1 Gbps to 10 Gbps barely improves throughput for single-packet protocols. The article attributes this to propagation delay, the time signals need to cross the physical distance, which dominates over transmission time. In Stop-and-Wait ARQ, the sender pauses after each frame until an acknowledgment returns, so channel utilization is computed as 1/(1+2a), where a is the ratio of propagation to transmission delay. Utilization stays near 100 percent on short local networks but drops toward zero on wide-area and satellite links, and faster bandwidth only increases a and worsens the problem. The article notes that sliding window protocols such as Go-Back-N, Selective Repeat, and TCP pipeline multiple frames to keep high-latency links saturated.

0
ProgrammingDEV Community ·

QA Engineer Reflects on Six AWS Certifications and Lessons in Cloud Engineering

A writer on DEV Community shares reflections after completing six AWS certifications alongside hands-on projects. Coming from a QA and software validation background with Linux and automation experience, they set out to build cloud and DevOps skills. Each certification broadened their perspective, from foundational AWS concepts and architectural trade-off thinking to developer-side integration and operational reliability. The author emphasizes that cloud expertise lies in selecting appropriate services for specific requirements rather than memorizing offerings. The final certifications focused on automation, deployment strategies, and operational excellence.

0
ProgrammingDEV Community ·

Free WooCommerce plugin lets Bangladeshi sellers check courier delivery history by phone number

A developer has released EasyLife Courier Check, a free WordPress.org plugin aimed at WooCommerce stores in Bangladesh that rely on cash on delivery. It shows a customer's total, delivered and returned parcel counts across couriers such as Pathao, Steadfast, RedX, Paperfly and Carrybee, directly within order screens. The plugin requires no API token, supports HPOS, and only performs lookups after the store owner enables the feature in settings. It explicitly warns that a low success rate alone does not indicate fraud and should be combined with other verification steps.

0
ProgrammingDEV Community ·

Tracking Vietnamese news trends with embeddings, HDBSCAN and an LLM

Major events are typically covered by many outlets under different headlines, which makes it hard to see the full picture from individual articles. A developer built a system called Tin tức hôm nay có gì? that reads about 95 Vietnamese RSS feeds, groups articles on the same subject into topics, and tracks how each topic's momentum changes over time. The pipeline runs in stages: ingesting and deduplicating articles, embedding their text into vectors, clustering them with HDBSCAN, updating each topic's lifecycle, and using an LLM to label and explain it. The service is written in TypeScript on Bun, stores its data in SQLite, and runs more often during peak news hours. The author chose HDBSCAN because it finds the number of clusters automatically and leaves unrelated one-off stories unassigned, which suits noisy news data.

0
TechnologyThe Verge ·

Blue Origin Delays Next New Glenn Launch to January 2027

Blue Origin now plans its next New Glenn rocket launch for January 2027, according to a memo from CEO Dave Limp reported by CNBC and the Financial Times. The delay follows a May explosion at the company's launchpad that damaged the New Glenn facility before a planned flight carrying Amazon Leo satellites. Founder Jeff Bezos had previously said in October that the company was aiming for a December launch. The revised window is about ten days later than Blue Origin's earlier target, CNBC reports.

0
ProgrammingDEV Community ·

Explainer Covers Tokenization, Context Windows and Embeddings for Amazon Bedrock

A DEV Community article offers an introduction to core generative AI concepts relevant to Amazon Bedrock. It explains tokenization as the process of splitting text into tokens such as words, subwords, or characters, which models use to process language. The piece describes the context window as the maximum number of tokens a model can handle at once, determining how much prior text it can consider. It also covers embeddings, numerical vector representations that capture meaning and relationships between words, supporting tasks like semantic search and recommendations.

0
ProgrammingDEV Community ·

Refmade's Desktop App Went 17 Days Without Git, Leaving Source Across Machines

The developer behind Refmade, a desktop app that shows Claude Code and Codex sessions running on a computer, discovered on October 7 that the project had never been stored in Git. Work began on September 20 and included every installer published up to version 0.3.2, all kept only as a folder on a laptop. The gap went unnoticed because the folder was never treated as a repository, and deployments were pushed directly from local files via the Vercel CLI. Source code was split between two Macs, and recovering the latest version required extracting files from a packaged Electron build. The first Git commit was made on October 7, and the experimental work from the second machine was merged into the main tree on October 8.

0
TechnologyArs Technica ·

BMW upgrades i7 flagship EV with bigger battery and new infotainment for 2027

BMW has refreshed its flagship electric sedan, the i7, with its latest electric drivetrain and infotainment technology. The updated model is the 2027 i7 60 xDrive, which Ars Technica evaluated during a test drive. The changes center on an improved battery and newer in-car software and display systems. The update keeps the i7 positioned as BMW's premium all-electric sedan.

0
IndiaNDTV ·

Israeli President to Name Sunday Who Will Attempt to Form New Government

Israeli President Isaac Herzog has said he will reveal on Sunday which politician he will charge with trying to form a new government. The decision follows a round of post-election consultations he held with leaders of all parties. Under Israel's system, the president selects a candidate to attempt building a governing coalition after an election. The announcement is expected to set the next phase of coalition negotiations.

0
ProgrammingHacker News ·

Microsoft Paint Flaw CVE-2026-83844 Allows Remote Code Execution

A remote code execution vulnerability in Microsoft Paint has been published in the CVE database under identifier CVE-2026-83844. The entry is linked from a Hacker News discussion that drew 34 points and 13 comments. The source material provided does not include details on affected versions, exploitation conditions, or whether a patch is available. Readers are directed to the official CVE record for the technical specifics.

0
ProgrammingHacker News ·

Newsom Commutes Death Sentences for All 548 California Death Row Inmates

California Governor Gavin Newsom has commuted the death sentences of all 548 people currently on the state's death row. The action was reported by the BBC, which links to the full story. The source material available provides only the headline and link, so the specific legal mechanism, timing, and stated reasons for the decision are not detailed here. The commutations would replace the death sentences with other penalties, though the exact terms are not described in the available text. Readers are directed to the original BBC article for the complete account.

0
IndiaTimes of India ·

Pennsylvania Couple Wins Dispute Over Maintenance of 130-Year-Old Public Steps

A couple from Jim Thorpe, Pennsylvania, sued their borough over who is responsible for maintaining public steps. They contended that the borough had long been responsible for upkeep of the steps, which have been in use for more than 130 years. The Commonwealth Court upheld a lower court ruling affirming the borough's obligation to maintain them. The decision relied in part on historical records documenting the borough's repairs and maintenance work over the years.

0
IndiaTimes of India ·

Psychology Explains Why Avoiding Familiar Faces in Public Isn't Always Social Anxiety

Many people deliberately avoid eye contact with familiar faces in public to sidestep unexpected conversations. Such avoidance can be driven by ordinary factors like being rushed or distracted. Some individuals, however, avoid direct visual contact because they experience social anxiety. The article notes that planned meet-ups differ from chance encounters in the kind of interaction people anticipate. The piece highlights that this behavior has multiple possible explanations rather than a single cause.

0
ProgrammingGitHub Blog ·

GitHub Unveils New Git Storage Architecture for Concurrent Agent Pushes

GitHub has introduced a new Git storage architecture designed to let thousands of agents push to a single repository simultaneously. The announcement, published on The GitHub Blog, explains the mechanics behind the system. The source text available is brief, so specific technical details about the design are not described here. The post provides a fuller explanation of how the architecture operates.

← NewerPage 570 of 7358Older →