SShortSingh.

Programming

0
ProgrammingDEV Community ·

AI-Generated Websites Accused of Looking Cheap and Identical, Like 90s Word Art

Frontend developers and designers are drawing comparisons between today's AI-generated websites and the low-effort Word Art aesthetic of the 1990s, arguing that users instinctively recognise AI designs as generic and cheap. A 2025 study found that over 80% of AI-generated websites share nearly identical underlying structures, as these tools largely replicate existing internet trends rather than producing original work. Tools like Framer's Wireframer can produce responsive layouts in under 60 seconds, but critics say the results look assembled from outdated SaaS design templates. Industry observers argue that AI primarily threatens the mid-tier template market, not skilled designers, since strategic thinking, branding, and SEO remain beyond its current capabilities. Agencies also warn that rebuilding poorly performing AI-generated sites often ends up costing more than hiring an experienced designer from the outset.

0
ProgrammingDEV Community ·

How a 1994 Compression Algorithm Became the Backbone of LLM Tokenization

Modern large language models rely on a tokenization method rooted in Byte Pair Encoding (BPE), a data-compression algorithm originally developed by programmer Philip Gage in 1994. Tokenization is the process of breaking text into smaller units called tokens before a model processes them, and the way this split occurs affects input length, inference cost, vocabulary size, and multilingual performance. BPE works by repeatedly merging the most frequently co-occurring byte sequences in a training corpus, striking a balance between character-level and word-level approaches. Unlike word tokenizers, BPE can handle rare or invented words by decomposing them into known sub-units, without requiring an infinitely large vocabulary. The algorithm gained widespread adoption in neural machine translation before becoming central to tokenizers used in models like GPT-2 and its successors.

0
ProgrammingDEV Community ·

HexaLayered Architecture Gets AI-Enforced Rules via Claude Code Integration

A developer has extended the HexaLayered Architecture project by integrating it with Claude Code, an AI coding assistant, to automatically enforce architectural rules rather than relying on manual code reviews. A new configuration directory containing a 'constitution.md' file defines strict, testable rules about class visibility and layer boundaries within Spring Boot projects. A shell script runs on every file write and exits with an error code if any architectural violation is detected, sending feedback directly to the AI model in real time. The toolkit also introduces a Spec Driven Development flow with commands that guide planning and class placement before any code is written. The setup can be copied to a new project with a single command, and a bootstrap process automatically detects the base package, build tool, and test configuration.

0
ProgrammingDEV Community ·

A Developer's Guide to Choosing the Right PDF Splitting Strategy

Splitting a PDF into multiple output files becomes complex at scale, requiring engineers to think carefully about how page ranges map to output containers. The PDF format stores pages as a tree of indirect objects, meaning logical page order can differ from raw file index, which naive splitting tools often mishandle. Engineers can rely on three core strategies: fixed-size partitioning for predictable batches, boundary-driven partitioning for documents with structural markers, and selector-driven partitioning using a manifest file for audit or legal work. A practical rule of thumb is to use fixed or boundary-based splits when input data changes but rules stay constant, and manifest-driven splits when the mapping itself varies per batch. Documenting the page-to-file mapping explicitly before processing is recommended to avoid hard-to-trace errors in output validation.

0
ProgrammingDEV Community ·

Developer fixes false-stale alerts by replacing byte pins with key-based anchors

A software team maintained a code citation register where rows turned 'stale' whenever their referenced bytes changed, but legitimate actions like adding a new layer were triggering nine false alarms at once. The tempting fix — repinning to refresh the hash — was ruled out because it would launder real staleness into green alongside false positives, making the tool unreliable. Investigating the root cause revealed that the affected rows only needed to confirm a declaration existed and was findable, not track its exact byte contents, which three separate parsers already validated. The team introduced a new 'key anchor' type that checks for the presence of a named key rather than byte-level content, eliminating positional drift and making the repin command irrelevant for those rows. Ten rows migrated to the new anchor type while 124 retained byte pins, and the test suite expanded from 74 to 101 arms to ensure both anchor types behave correctly under real changes.

0
ProgrammingDEV Community ·

TryHackMe Metasploit Payload Generation Room: Key Answers and Walkthrough

A writeup for TryHackMe's Metasploit Payload Generation room covers core concepts including stageless versus staged payloads, where stageless payloads are self-contained and require no secondary download. The guide walks through msfvenom commands for generating Windows and Linux payloads, covering flags for output format, bad character exclusion, and executable template injection. It also explains configuring a universal listener using the exploit/multi/handler module, with ExitOnSession disabled to maintain multiple sessions. The capstone task involves uploading a reverse shell via an SMB share, then using Meterpreter to dump NTLM hashes and retrieve a flag from the Administrator's Documents folder.

0
ProgrammingHacker News ·

Linux Zoom Client Found Silently Reading All X11 Clipboard Contents

The Linux version of the Zoom desktop client has been observed proactively reading everything written to the X11 clipboard, even when the application is not in active use. This behavior was flagged by Simon Tatham, a well-known developer, who shared his findings on the Mastodon platform. The clipboard on X11 works differently from other systems, potentially making such passive monitoring easier to implement. This raises significant privacy concerns, as sensitive data copied by users could be accessed by the Zoom process without their knowledge or consent. The issue was discussed on Hacker News, drawing attention from the developer community.

0
ProgrammingDEV Community ·

Developer finds 374 of 412 privacy scan hits traced to one repeated line of build tooling

A developer running a pre-publication privacy scan on a code repository flagged 412 hits across 16 files, initially suggesting widespread issues requiring extensive review. Closer analysis revealed 374 of those hits were the same single line — a build tool emitting an absolute home directory path — repeated across 208 logged control runs. Rather than resetting the append-only log to hide the leak, the developer chose to exclude the private log from publication and start a fresh public log using a relative path token, preserving the integrity of both records. The generator was fixed to emit a repo-relative token instead of an absolute path, resolving the root cause with one code change. The incident highlighted that build tools and test harnesses, unlike application code, are rarely reviewed for what they write into permanent logs.

0
ProgrammingDEV Community ·

Laid-Off Automotive Software Architect Reflects on Career Shift and Industry Decline

A software architect with nearly a decade of experience in the automotive embedded systems industry was laid off by end of 2025 as part of company-wide redundancies. Rather than aggressively job-hunting, he used the time to revisit foundational hardware platforms and explore new technical skills at his own pace. He found that his background in C-heavy embedded development made transitioning to desktop or systems C++ roles difficult due to a lack of formal commercial experience in that area. Observing peers accept steep pay cuts or search fruitlessly for openings, he concluded that the traditional automotive software market is unlikely to recover and that the broader software engineering job market is shrinking. He now plans to pursue a hybrid livelihood combining handyman work, freelancing, and small local technical projects, having stepped away from the conventional IT career path.

0
ProgrammingDEV Community ·

How AWS Lambda Can Generate 1 Million AI Briefings for $48 Using Serverless Batch Processing

A serverless architecture using AWS Lambda, Step Functions, and open-source AI models can generate one million personalized AI briefings for approximately $48, compared to roughly $10,000 using managed APIs like OpenAI or Anthropic. The approach packages a quantized Meta Llama 3.2 3B model inside Docker containers deployed to AWS Lambda, enabling CPU-based inference entirely within the function — eliminating third-party API rate limits and network latency. Up to 10,000 Lambda functions run concurrently, each processing batches of user data sourced from an S3-hosted file containing personalized context such as reading history and preferences. Output is streamed through Kinesis Data Firehose and converted into Parquet format via AWS Glue before Amazon SES delivers the briefings to users at a scheduled time. The Scatter-Gather pattern, orchestrated by AWS Step Functions' Distributed Map state, makes this high-volume batch workload feasible while scaling infrastructure costs down by an estimated 99%.

0
ProgrammingDEV Community ·

Developer Builds AI Tool to Extract Tech Stacks from YouTube Tutorials Accurately

A developer built VidScope, an AI-powered tool designed to identify and extract technology stacks mentioned in YouTube programming tutorials. The tool was created out of frustration with manually pausing and rewinding videos to note frameworks, libraries, and hosting providers. Unlike standard AI summarizers, VidScope is built around strict extraction rather than interpretation, only surfacing tool names that appear verbatim or near-verbatim in the video transcript to prevent hallucinated results. The pipeline pulls or transcribes video captions, chunks long content, and resolves each extracted tool name to its official documentation link automatically. Key engineering challenges included handling ambiguous tool names, filtering non-tool terms, deduplicating repeated references, and merging extraction state across chunks from lengthy videos.

0
ProgrammingDEV Community ·

Reproducible AI Benchmarks Require Frozen Dataset, Oracle, and Metrics Bundle

A coding-agent benchmark score is meaningless unless the dataset, oracle, metrics, and environment are locked together as a single versioned bundle before any evaluation runs. Publishing a success rate without these frozen components is comparable to reporting a race time without confirming the distance or the position of the finish line. The proposed framework organizes tasks into a structured directory, each with a stable identifier, a frozen prompt, fixture files, and an oracle definition. A manifest file hashes every component that could affect scoring, and this manifest must be generated before any agent process begins to prevent post-hoc oracle changes. The harness presented is a reproducibility scaffold for future benchmarks, not a record of a completed evaluation.

0
ProgrammingDEV Community ·

Developer Builds Browser Game Collection to Kill Time at Work

A developer has created TapWhenBored, a small collection of browser-based casual games designed for quick breaks. One of its featured games, Marble Nostalgia, is a digital take on the classic marble solitaire board game where players must eliminate marbles by jumping over them. The goal is to leave just one marble remaining on the board, a feat no player has achieved so far. The developer has set up a leaderboard to track player progress toward that milestone. The project includes several other casual games beyond Marble Nostalgia and is open for anyone to try.

0
ProgrammingDEV Community ·

Hardcoded Zero in Append-Only Log Silently Masqueraded as Real Measurement

A developer discovered that a log entry reading 'OK_ATOMS atoms=0 top=0 bot=0' was never a real measurement — it was a string literal written as a placeholder while the actual counter was still being built. Because zero is a legitimate result in real runs, the hardcoded line was indistinguishable from genuine output, allowing it to pass unnoticed through parsers and downstream systems. The append-only nature of the log meant the false record could not be deleted, requiring a superseding entry to correct it. The author argues that any log line resembling a measurement must actually originate from one, and suggests using an unambiguous error or a non-numeric sentinel value like 'reason=census_not_wired' as a placeholder instead. A simple audit — checking for log print statements whose numeric fields are literals rather than variables — can help identify lines that will never reflect real changes in underlying data.

0
ProgrammingDEV Community ·

Beginner's Guide to Building Your First ASP.NET Web Service

A new tutorial on DEV Community walks beginners through setting up their first ASP.NET web service using .NET 10 and either Visual Studio or JetBrains Rider. The guide starts by stripping down the default project template to a minimal configuration, keeping only the core application builder setup. It then introduces Scalar, a lightweight API testing tool added via a NuGet package, to replace the default weather forecast boilerplate. Developers are shown how to register Scalar in the development pipeline and write a basic GET endpoint that returns 'Hello World'. The tutorial is the first in a series that will later cover controllers, dependency injection, databases, and clean architecture.

0
ProgrammingDEV Community ·

How to Dual-Boot Linux Mint 22.3 Cinnamon Alongside Windows 11

A step-by-step guide outlines how to install Linux Mint 22.3 Cinnamon edition on a Windows 11 machine while keeping Secure Boot and BitLocker enabled. The process begins with downloading Linux Mint and the Rufus tool to flash the OS onto a USB drive. Users must then create a dedicated disk partition via Windows Disk Management before rebooting into the boot menu to launch the Linux Mint installer. During installation, the guide recommends manually allocating the free partition by splitting it into separate root and home directories. Following these steps allows users to run both operating systems on the same device without disabling key Windows security features.

0
ProgrammingDEV Community ·

A 201 response alone does not verify a completed payment workflow, dev warns

A developer behind the API workspace tool Lucidra has highlighted a common gap in integration testing: receiving a 201 Created response only confirms resource creation, not the completion of the underlying payment process. To properly validate a payment workflow, tests must also verify that a matching webhook event arrived with the correct payload and that the resource eventually reached its final state. The article demonstrates this with a self-contained Node.js script that requires no external accounts or dependencies, deliberately introducing edge cases such as out-of-order events and delayed state updates. A key technical insight shared is that the webhook listener must be started before the API request is sent, so that fast-arriving callbacks are buffered rather than missed. Running the example with a missing webhook flag causes the test to exit with an error, proving that a 201 response alone is insufficient to confirm a successful payment flow.

0
ProgrammingDEV Community ·

Developer Builds AST-Based Scorer to Grade Python Retry Loop Safety

A developer created a static code analysis tool called a 'hygiene scorer' that reads Python source files and grades retry loop implementations for safety properties. The scorer walks the abstract syntax tree (AST) and awards points for features like attempt caps, wall-clock timeouts, backoff, jitter, and idempotency keys, while penalizing unbounded loops. The motivation was to address a common pattern in agent and automation code where retry loops lack hard stop conditions, potentially causing runaway processes. The tool was built and tested using a free AI model accessed via MonkeyCode, with outputs validated against fixture files rather than trusted outright. The author argues that verifying whether a loop can terminate is a more practical engineering concern than evaluating an AI model's reasoning quality.

0
ProgrammingDEV Community ·

The Shifting Definition of AI: Why 'AGI' Means Different Things to Different People

A commentary piece on DEV Community raises a foundational question about artificial intelligence: what the term actually means, as industry leaders like Dario Amodei and Sam Altman publicly discuss slowing AI development. The author points out that the definition of 'AI' has historically shifted whenever machines mastered a specific task — chess engines, calculators, and spam filters were once considered intelligent, then quietly reclassified as mere computation. Terms like AGI, ASI, and 'reasoning models' are frequently used interchangeably despite representing fundamentally different concepts, from economic productivity to human-like learning to self-awareness. The piece argues that unlike physics, intelligence lacks a settled, measurable definition, making timelines such as 'AGI in five years' difficult to evaluate without first agreeing on what the target actually is. The author concludes that recent calls to slow AI development signal meaningful progress, but may also reflect the same recurring cycle of hype and redefinition that has defined the field for decades.

0
ProgrammingDEV Community ·

Researcher Routes Home Traffic Through Chosen ISP Upstream Without Router Access

A developer conducted a self-described Computer Science experiment to determine whether an end user can influence which upstream provider carries their internet traffic, without accessing the ISP's routers. By studying BGP Best Path Selection, they identified that AS-PATH length and Local Preference are the key factors an ISP uses to choose between upstream providers. The researcher used bgp.tools to confirm their ISP had two upstreams — TransTeleCom (Russia) and RETN Limited (UK) — then searched for a VPS hosted on a subnet routed through RETN's infrastructure. After selecting an EDIS Global server in Tallinn, Estonia, and routing traffic through a VPN tunnel, the researcher used the Trippy tool to monitor packet paths during a 15 GB Steam download. The route remained entirely stable through RETN throughout the test, partially confirming that targeted upstream selection is achievable by ordinary users through careful VPS and VPN configuration.

← NewerPage 1555 of 3479Older →