SShortSingh.
0
ProgrammingDEV Community ·

China Requires Two-Step Compliance Process Before Public Generative AI Launch

China's Cyberspace Administration, along with six other central departments, issued the Interim Measures for the Management of Generative AI Services in July 2023, which took effect in August 2023. The rules apply to any generative AI service offering text, image, audio, or video content to the public within mainland China, with exemptions for internal tools and services not targeting domestic users. Providers whose services carry public opinion attributes or social mobilisation capability face an additional two-stage obligation: a security self-assessment submitted to cyberspace and public security authorities, followed by a separate algorithm filing through the CAC's online system. Regulators treat most public-facing generative AI platforms as falling within the scope of these attributes, making the dual requirement broadly applicable in practice. Experts caution that the two steps are sequential and interdependent, and that providers should seek dedicated Chinese legal counsel before launching any service in the market.

0
ProgrammingDEV Community ·

How to Estimate LLM Costs Before Running Batch Content Moderation at Scale

Moderating high-volume user content in e-commerce hiring workflows requires cost forecasting before batch LLM jobs begin, not just after. A two-pass pipeline is recommended: a narrow classifier first labels submissions as allow, review, or block, while uncertain or high-impact cases are routed to human reviewers. Token counting before submission and asynchronous batch processing for backlog content help control costs, especially since risk profiles vary significantly across tenants by submission volume. A practical evaluation approach involves running 1,000 representative candidate submissions across tenants, comparing synchronous and batch processing on metrics like actual token usage, retry counts, and false negatives. A lightweight Python estimator can make cost assumptions explicit and tenant-specific, though it must be calibrated against the production tokenizer for accurate accounting.

0
ProgrammingDEV Community ·

China's AI Content Labelling Rules Take Effect September 2025

China's Cyberspace Administration, alongside three other ministries, issued the Measures for Labelling of AI-Generated Synthetic Content on 14 March 2025, with the rules coming into force on 1 September 2025. The regulations require two distinct labels for AI-generated content: a visible mark for human viewers and an embedded metadata mark readable by machines. Obligations are shared across content generators, distribution platforms, app stores, and users, meaning no single party bears sole responsibility. A companion national technical standard, GB 45438-2025, specifies the required metadata fields, file formats, and encoding methods. The new measures build on earlier Chinese regulations covering deep synthesis, generative AI services, and algorithmic recommendations, adding greater specificity to labelling duties previously stated in broader terms.

0
ProgrammingDEV Community ·

AI Models Learn to Predict Chemical Reaction Products Using SMILES Sequences

Researchers have developed AI approaches to forward reaction prediction, which determines what products emerge from given reactants and reagents. Two main methods are used: sequence-to-sequence models that treat reaction SMILES strings as a translation problem, and graph-based models that predict which chemical bonds change during a reaction. Philippe Schwaller and colleagues introduced the Molecular Transformer in 2019, demonstrating that token probability scores can help prioritize predictions requiring expert review. A key challenge is atom-mapping — correctly tracking where each atom ends up — since models scored only on product strings may learn pattern matching rather than true chemical transformations. Inconsistent handling of reactants versus agents across datasets also makes published benchmark accuracies difficult to compare directly.

0
ProgrammingDEV Community ·

How Random Color Sweeps Help Developers Catch Hidden UI Bugs Early

A frontend debugging technique involves replacing all UI colors — text, backgrounds, borders, and SVG fills — with randomly generated values to expose hidden rendering bugs. The method acts as a visual fuzz tester, surfacing issues such as hardcoded hex values, stale state leaking between renders, and CSS specificity conflicts. To keep results reproducible, developers are advised to seed the random number generator and store the seed value alongside captured screenshots for regression testing. The workflow is run in CI pipelines and restricted to opt-in routes, deliberately excluding sensitive screens like billing or authentication. While the approach is effective at catching contrast failures and theme provider blind spots, teams must manage growing snapshot diffs and enforce structured rules to keep results actionable.

0
TechnologyArs Technica ·

ShieldFont Aims to Poison AI Training Data While Keeping Pages Readable

A new tool called ShieldFont has emerged as a countermeasure against AI web scrapers that harvest online content for training data. The font is designed to feed corrupted or misleading data to AI systems while remaining fully legible to human readers. It represents a growing effort by web publishers and developers to protect their content from unauthorized AI data collection. Unlike blocking methods that can disrupt user experience, ShieldFont works invisibly in the background, targeting the scraping process itself.

0
ProgrammingHacker News ·

Developer Argues Structured Process Can Substitute for Intrinsic Motivation

A blog post by Ben Godfrey on his personal site explores the relationship between process and motivation in productive work. The author suggests that having a defined process can act as a stand-in when intrinsic motivation is lacking. The piece appears aimed at developers or knowledge workers who struggle with inconsistent drive or focus. It proposes that relying on structured routines may help individuals maintain output regardless of their motivational state. The post was shared on Hacker News, where it received minimal early engagement.

0
ProgrammingDEV Community ·

California SB 942 Requires AI Firms to Build Free Public Content Detection Tools

California's SB 942, the AI Transparency Act, was enacted in 2024 and applies to generative AI providers with over one million monthly users accessible in the state. Beyond requiring watermarking disclosures, the law mandates that covered companies build and operate a free, publicly accessible tool allowing anyone to check whether a given file was created or altered by that provider's system. The tool must accept uploaded content, return a confidence-based likelihood assessment rather than a simple yes-or-no result, and expose its functionality via an API for third-party integration. When a disclosure is detected, the tool must output system provenance data — including the provider's name, system version, and creation timestamp — but is explicitly prohibited from revealing the identity of the individual user who generated the content. The threshold definition of 'monthly visitors or users' differs from standard active-account metrics, meaning some providers may unknowingly qualify, and legal counsel is advised to determine applicability.

0
ProgrammingDEV Community ·

California's SB 1001 Bans Bot Deception in Transactions, Not All Bot Use

California's Bolstering Online Transparency Act (SB 1001), in effect since July 2019, is widely misunderstood as requiring all chatbots to identify themselves as automated. In reality, the law only prohibits using a bot with intent to deceive another person specifically to drive a commercial transaction or influence an election vote. A bot that makes no attempt to pass as human falls outside the statute's reach, even if it never explicitly announces its automated nature. The law defines a bot as an automated online account where most or all activity is not driven by a human, a definition shaped around social media that fits other digital tools imperfectly. Operators can avoid liability through a safe-harbour disclosure provision, but many harmful bot behaviours — such as fake grassroots campaigns or non-transactional impersonation — remain outside this law's scope entirely.

0
ProgrammingDEV Community ·

Three Hard Lessons From Actually Building a Production Site With Claude

A development team used Anthropic's Claude not just as a chatbot but as an active collaborator in engineering tasks including bug fixes, feature development, and internal tooling for their own website. They found that AI tools must verify outputs rather than assume correctness, citing a CSS breakpoint bug that only became apparent through live browser inspection. A silent image corruption incident taught them that process discipline — such as moving binary files via shell commands and checking file sizes — matters as much as the AI model's raw capability. The team concluded that AI performs best on obscure, unglamorous technical problems rather than polished demos, and that real lessons only emerge from shipping production work rather than reading about AI in the abstract.

0
ProgrammingDEV Community ·

OpenAI Launches Gated Cyber AI Model as Meta Releases Open-Weight Muse Glimmer

During the week of August 5–12, 2026, OpenAI released GPT-5.6-Cyber, a purpose-built cybersecurity model restricted to vetted defenders through its Daybreak Red approval program, priced at $12.50 per million input tokens and $75 per million output tokens. The model is designed to reduce refusals during legitimate security tasks such as vulnerability research and penetration testing, but requires separate provisioning and will mandate hardware security keys from September 1. In contrast, Meta released Muse Glimmer on August 10, a 30-billion-parameter open-weight model under the Apache 2.0 license that can run on a single consumer GPU with 24GB of memory. The week also saw Cloudflare launch Kitesurf, an agent-first browser built on Workers using V8 isolates and claiming significantly lower CPU and memory usage than Chromium. Broader industry signals included a finalized stateless MCP specification and reports that 2027 DRAM and HBM capacity is largely sold out, with buyers receiving only 60–70 percent of requested volumes.

0
ProgrammingDEV Community ·

How to Convert Relational Database Tables Into Graph Neural Network Inputs

Developers building graph neural networks often start with relational data spread across tables, requiring a structured conversion process. The core rule is straightforward: tables with primary keys referenced by others become node types, while tables that link two keys become edge types. A critical and often silent bug involves node ID remapping, since graph libraries require contiguous integers starting from zero, not raw database keys like UUIDs or gapped auto-increments. High-cardinality categorical columns such as region should remain node features rather than separate node types, as promoting them creates hub nodes that blur distinct entity representations. Dangling foreign keys must also be pruned before conversion, as they can cause phantom nodes or crashes without clear error messages.

0
ProgrammingDEV Community ·

Why AI Models Drift From British to American Spelling in Long Outputs

AI language models often start following British spelling instructions correctly but gradually revert to American spelling as a response grows longer. This happens because each word is generated based on the full context, and American spelling dominates most technical training data, slowly outweighing the original instruction. The drift is self-reinforcing: once an American spelling appears, the probability of further American spellings increases. Technical content such as code, CSS properties, and API names is almost exclusively American by convention, pulling surrounding prose along with it. Reliable fixes require deterministic post-processing rules targeting specific spelling pattern classes, rather than simply repeating or emphasising the original instruction.

0
ProgrammingDEV Community ·

Brazil's AI Bill Clears Senate but Remains Far From Becoming Law

Brazil's PL 2338/2023, a comprehensive AI regulation bill, was introduced in the Federal Senate in May 2023 and approved by the Senate plenary on 10 December 2024. The bill has since been sent to the Chamber of Deputies, where a special committee is examining it, meaning it has not yet been enacted into law. The legislation proposes a risk-tiered framework banning high-risk AI uses like social scoring and biometric manipulation, while imposing governance and oversight obligations on other high-risk applications. If the Chamber of Deputies amends the bill, it must return to the Senate before proceeding to the President for approval or veto. Widespread reporting has incorrectly treated the Senate's approval as final passage, but the bill's text and legal status remain subject to significant change.

0
IndiaNDTV ·

Karoline Leavitt to Leave White House Press Secretary Role End of Month

US President Donald Trump announced on Wednesday that White House Press Secretary Karoline Leavitt will be stepping down from her role. Leavitt cited her desire to spend more time with her young children and family as the reason for her departure. Her exit is scheduled to take effect at the end of the month. Trump praised her contributions and indicated she would continue to serve as one of his top outside advisors following her resignation.

0
TechnologyArs Technica ·

Supply-chain attack on AI package exposes credentials of 2,500 users

A supply-chain attack targeting a compromised AI software package has resulted in a significant data breach. Terabytes of credential data were scraped and exfiltrated from approximately 2,500 affected users. The attack exploited the software supply chain, meaning malicious code was embedded within a trusted package used by developers. The scale of the leak highlights growing security risks associated with third-party AI tools and dependencies.

0
IndiaTimes of India ·

Supreme Court orders CBI probe into Chhattisgarh custodial death case

The Supreme Court has ordered a CBI investigation into a custodial death that occurred in Chhattisgarh. The court found that both the state administration and police had deliberately attempted to conceal facts surrounding the incident. Judges described the conduct of authorities as a calculated cover-up intended to mislead the court. The order reflects the Supreme Court's serious concern over institutional accountability in cases involving deaths in police custody.

0
ProgrammingDEV Community ·

GitLab CE Ships Without a Runner: Why Your CI/CD Pipelines Stay Pending

GitLab Community Edition does not include GitLab Runner by default, meaning pipelines will remain in a pending state indefinitely after installation without throwing any errors. The application and its runner are two separate components, but many users assume they are bundled together, likely because GitLab.com provides shared runners automatically. Administrators can confirm the absence of runners by visiting Admin Area → CI/CD → Runners or running a command-line check on the GitLab server. To execute pipelines, users must separately install and register a runner — options include self-hosting on a spare machine, deploying via Kubernetes, or renting runners from a third-party provider. Each approach carries trade-offs around cost, maintenance, and data residency that teams should evaluate based on their infrastructure and compliance requirements.

← NewerPage 25 of 2481Older →