From c83e31d28ac751fb1bd1495f204af705c5cb9995 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:26:52 +0330 Subject: [PATCH] Import source: global/global-data Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- global/global-data.js | 278 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 278 insertions(+) create mode 100644 global/global-data.js diff --git a/global/global-data.js b/global/global-data.js new file mode 100644 index 0000000..38947cc --- /dev/null +++ b/global/global-data.js @@ -0,0 +1,278 @@ +import { ART_EN1_CONTENT } from './article-contents-en-1.js'; +import { ART_EN2_CONTENT } from './article-contents-en-2.js'; +import { ART_EN3_CONTENT } from './article-contents-en-3.js'; +import { ART_EN4_CONTENT } from './article-contents-en-4.js'; +import { ART_EN5_CONTENT } from './article-contents-en-5.js'; +import { ART_EN6_CONTENT } from './article-contents-en-6.js'; +import { ART_EN7_CONTENT } from './article-contents-en-7.js'; +import { ART_EN8_CONTENT } from './article-contents-en-8.js'; +import { ART_EN9_CONTENT } from './article-contents-en-9.js'; +import { ART_EN10_CONTENT } from './article-contents-en-10.js'; + +export const authors = [ + { + id: 'a1', + name: 'Arsam Sabbagh', + slug: 'arsam-sabbagh', + username: 'arsam-sabbagh', + role: 'Editor-in-Chief', + specialty: 'AI Infrastructure & Software Engineering', + bio: 'Arsam covers AI infrastructure, developer tooling, and software systems at Teknav. He focuses on the engineering decisions that shape how AI is built and deployed at scale — from training data quality to inference cost to agentic architectures.', + expertise: ['AI Engineering', 'Software Architecture', 'Data Infrastructure', 'Developer Tools'], + initials: 'AS', + color: '#0F6B73', + verifiedExpert: true, + articleCount: 52, + joinedDate: '2025-01-01', + social: { twitter: 'https://x.com/teknavir', linkedin: 'https://linkedin.com/company/teknav', github: '#' }, + }, + { + id: 'a2', + name: 'Ahmadreza Mahjoub', + slug: 'ahmadreza-mahjoub', + username: 'ahmadreza-mahjoub', + role: 'Security Editor', + specialty: 'Cybersecurity & AI Security', + bio: 'Ahmadreza covers cybersecurity, AI security, and the legal landscape around technology risk. His writing focuses on threat analysis, vulnerability disclosure, and the intersection of AI capability with security policy.', + expertise: ['AI Security', 'Supply Chain Security', 'Legal Tech', 'Cryptography'], + initials: 'AM', + color: '#2F8F6B', + verifiedExpert: true, + articleCount: 10, + joinedDate: '2025-03-01', + social: { twitter: 'https://x.com/teknavir', linkedin: 'https://linkedin.com/company/teknav', github: '#' }, + }, +]; + +export const categories = [ + { id: 'ai', name: 'AI Engineering', color: '#0F6B73', description: 'Production AI systems, agents, RAG, inference, and model infrastructure.' }, + { id: 'security', name: 'Security', color: '#2F8F6B', description: 'AI security, supply chain risk, cryptography, and vulnerability analysis.' }, + { id: 'software', name: 'Software Architecture', color: '#0F6B73', description: 'System design, developer tools, frameworks, and engineering decisions.' }, + { id: 'hardware', name: 'Hardware & Compute', color: '#5F6B6D', description: 'GPUs, custom chips, edge computing, and local AI compute.' }, + { id: 'data', name: 'Data Infrastructure', color: '#D49A2A', description: 'Data quality, vector search, pipelines, and analytics.' }, + { id: 'policy', name: 'AI Policy', color: '#C76D4A', description: 'Regulation, geopolitics, liability, and governance of AI systems.' }, + { id: 'research', name: 'Research Notes', color: '#5F6B6D', description: 'Frontier science, mathematics, and AI in academic discovery.' }, +]; + +export const articles = [ + { + id: 'en1', + slug: 'clean-data-ai-success', + title: 'Clean Data Is the Real AI Moat: Why Model Quality Starts Before Training', + subtitle: 'The shift from model-centric to data-centric AI — and what it means for teams building production systems', + category: 'ai', + author: 'a1', + date: 'June 3, 2026', + dateEn: '2026-06-03', + readTime: 12, + photo: '/images/articles/ai-clean-data.jpg', + metaTitle: 'Clean Data and AI Success: The Data-Centric AI Guide', + metaDescription: 'Why clean, well-structured training data matters more than model architecture. A technical guide to data-centric AI for production teams.', + tags: ['data quality', 'training data', 'data-centric AI', 'MLOps'], + diagram: 'pipeline', + persianSlug: 'ai-clean-data', + persianUrl: 'https://www.teknav.ir/article/ai-clean-data', + content: ART_EN1_CONTENT, + }, + { + id: 'en2', + slug: 'custom-ai-chips-architecture-guide', + title: 'Beyond the GPU: How Custom AI Silicon Is Reshaping Inference Economics', + subtitle: 'A technical breakdown of TPUs, NPUs, and purpose-built inference chips — and when they beat general-purpose GPUs', + category: 'hardware', + author: 'a1', + date: 'June 4, 2026', + dateEn: '2026-06-04', + readTime: 13, + photo: '/images/articles/custom-ai-chip.jpg', + metaTitle: 'Custom AI Chips vs GPUs: Architecture and Inference Cost Guide', + metaDescription: 'How TPUs, NPUs, and custom AI silicon work, when they outperform GPUs, and what this means for AI infrastructure costs in 2026.', + tags: ['AI hardware', 'TPU', 'NPU', 'inference', 'GPU'], + diagram: 'chip', + persianSlug: 'custom-ai-chips', + persianUrl: 'https://www.teknav.ir/article/custom-ai-chips', + content: ART_EN2_CONTENT, + }, + { + id: 'en3', + slug: 'software-supply-chain-security-guide', + title: 'Software Supply Chain Security: The Attack Surface Hidden in Your Dependencies', + subtitle: 'How SolarWinds, XZ Utils, and npm package attacks changed the threat model — and what defensive engineering looks like now', + category: 'security', + author: 'a2', + date: 'June 4, 2026', + dateEn: '2026-06-04', + readTime: 11, + photo: '/images/articles/software-supply-chain.jpg', + metaTitle: 'Software Supply Chain Security: A Technical Guide for Engineering Teams', + metaDescription: 'How supply chain attacks work, real-world cases from SolarWinds to XZ Utils, and the defensive engineering practices that reduce risk.', + tags: ['supply chain security', 'SBOM', 'dependency security', 'DevSecOps'], + diagram: 'cyber', + persianSlug: 'software-supply-chain', + persianUrl: 'https://www.teknav.ir/article/software-supply-chain', + content: ART_EN3_CONTENT, + }, + { + id: 'en4', + slug: 'small-language-models-production-guide', + title: 'Small Language Models Are Winning in Production: Here\'s Why', + subtitle: 'When SLMs outperform LLMs on cost, latency, and privacy — a practical evaluation framework for choosing the right model size', + category: 'ai', + author: 'a1', + date: 'June 5, 2026', + dateEn: '2026-06-05', + readTime: 10, + photo: '/images/articles/small-llms.jpg', + metaTitle: 'Small Language Models (SLMs) vs LLMs: When Smaller Models Win', + metaDescription: 'A practical guide to when small language models outperform LLMs in production — on cost, latency, accuracy, and data privacy.', + tags: ['SLM', 'LLM', 'model selection', 'AI inference', 'on-device AI'], + diagram: 'neural', + persianSlug: 'small-llms', + persianUrl: 'https://www.teknav.ir/article/small-llms', + content: ART_EN4_CONTENT, + }, + { + id: 'en5', + slug: 'vibe-coding-production-failures', + title: 'Vibe Coding in Production: A Post-Mortem', + subtitle: 'Why AI-generated code without structure collapses under real-world load — and what engineering discipline still prevents that', + category: 'software', + author: 'a1', + date: 'June 5, 2026', + dateEn: '2026-06-05', + readTime: 11, + photo: '/images/articles/agentic-ai-production-2026.jpg', + metaTitle: 'Vibe Coding Fails in Production: Post-Mortem Analysis', + metaDescription: 'Real post-mortem from vibe coding failures in production. What goes wrong when AI-generated code lacks structure, testing, and review.', + tags: ['vibe coding', 'AI code generation', 'production failures', 'software engineering'], + diagram: 'arch', + persianSlug: 'vibe-coding-production-failures', + persianUrl: 'https://www.teknav.ir/article/vibe-coding-production-failures', + content: ART_EN5_CONTENT, + }, + { + id: 'en6', + slug: 'openclaw-self-hosted-agent-architecture', + title: 'OpenClaw\'s Architecture: How a Self-Hosted AI Agent Framework Reached 145K Stars', + subtitle: 'Inside the technical decisions that make OpenClaw deployable on a VPS — and why self-hosting AI agents is becoming the default for security-conscious teams', + category: 'software', + author: 'a1', + date: 'June 6, 2026', + dateEn: '2026-06-06', + readTime: 13, + photo: '/images/articles/openclaw-architecture.jpg', + metaTitle: 'OpenClaw Self-Hosted AI Agent Architecture Explained', + metaDescription: 'How OpenClaw\'s self-hosted AI agent architecture works, why it reached 145K GitHub stars, and how to evaluate it for production use.', + tags: ['AI agents', 'self-hosted', 'OpenClaw', 'open source AI'], + diagram: 'arch', + persianSlug: 'openclaw-self-hosted-architecture', + persianUrl: 'https://www.teknav.ir/article/openclaw-self-hosted-architecture', + content: ART_EN6_CONTENT, + }, + { + id: 'en7', + slug: 'ai-ceo-personal-liability-legal-analysis', + title: 'Piercing the AI Corporate Veil: Florida\'s Push for CEO Personal Liability', + subtitle: 'How product liability law is being adapted to hold AI executives personally accountable — and what this precedent means for the industry', + category: 'policy', + author: 'a2', + date: 'June 6, 2026', + dateEn: '2026-06-06', + readTime: 10, + photo: '/images/articles/ai-legal-liability.jpg', + metaTitle: 'AI CEO Personal Liability: Florida Lawsuit Analysis', + metaDescription: 'Florida\'s lawsuit to pierce the corporate veil in AI product liability cases. Legal analysis of what CEO personal liability means for AI companies.', + tags: ['AI liability', 'product liability', 'AI law', 'corporate law'], + diagram: 'legal', + persianSlug: 'florida-openai-ceo-personal-liability', + persianUrl: 'https://www.teknav.ir/article/florida-openai-ceo-personal-liability', + content: ART_EN7_CONTENT, + }, + { + id: 'en8', + slug: 'ladybird-browser-rust-memory-safety', + title: 'Ladybird\'s Rust Mandate: What It Means When a Browser Bets on Memory Safety', + subtitle: 'The independent browser project\'s decision to require Rust for all new code — and why the browser industry is converging on memory-safe languages', + category: 'software', + author: 'a1', + date: 'June 7, 2026', + dateEn: '2026-06-07', + readTime: 10, + photo: '/images/articles/ladybird-rust-memory-safety.jpg', + metaTitle: 'Ladybird Browser Rust Mandate: Memory Safety in Practice', + metaDescription: 'Why Ladybird requires Rust for all new browser code, how memory safety prevents real vulnerabilities, and what this signals for C++ in systems software.', + tags: ['Rust', 'memory safety', 'Ladybird', 'browser security', 'systems programming'], + diagram: 'arch', + persianSlug: 'ladybird-rust-mandate-memory-safety', + persianUrl: 'https://www.teknav.ir/article/ladybird-rust-mandate-memory-safety', + content: ART_EN8_CONTENT, + }, + { + id: 'en9', + slug: 'ai-disproves-erdos-unit-distance-conjecture', + title: 'AI Disproves an 80-Year Math Conjecture: Inside the Erdős Unit Distance Proof', + subtitle: 'How Gemini Deep Think produced a 125-page proof that human mathematicians missed — and what it reveals about AI as a scientific collaborator', + category: 'research', + author: 'a1', + date: 'June 7, 2026', + dateEn: '2026-06-07', + readTime: 12, + photo: '/images/articles/erdos-unit-distance-conjecture-disproved-photo-1.jpg', + metaTitle: 'AI Disproves Erdős Unit Distance Conjecture: Full Analysis', + metaDescription: 'Gemini Deep Think disproved the Erdős unit distance conjecture after 80 years. A technical breakdown of the proof, the AI methodology, and what it means for mathematics.', + tags: ['AI in mathematics', 'Erdős conjecture', 'Gemini', 'AI discovery', 'graph theory'], + diagram: 'math', + persianSlug: 'erdos-unit-distance-conjecture-disproved', + persianUrl: 'https://www.teknav.ir/article/erdos-unit-distance-conjecture-disproved', + content: ART_EN9_CONTENT, + }, + { + id: 'en10', + slug: 'github-copilot-token-billing-guide', + title: 'GitHub Copilot\'s Token Billing: What Every Developer Needs to Know', + subtitle: 'How per-token pricing changes the economics of AI-assisted coding — and practical strategies to control your bill', + category: 'software', + author: 'a1', + date: 'June 8, 2026', + dateEn: '2026-06-08', + readTime: 10, + photo: '/images/articles/copilot-token-billing.jpg', + metaTitle: 'GitHub Copilot Token Billing: Developer Cost Guide 2026', + metaDescription: 'How GitHub Copilot\'s token-based billing works, why your bill jumped, and practical techniques to reduce AI coding costs without losing productivity.', + tags: ['GitHub Copilot', 'AI billing', 'developer tools', 'token pricing'], + diagram: 'billing', + persianSlug: 'copilot-token-billing-2026', + persianUrl: 'https://www.teknav.ir/article/copilot-token-billing-2026', + content: ART_EN10_CONTENT, + }, +]; + +export function getArticleBySlug(slug) { + return articles.find(a => a.slug === slug) || null; +} + +export function getAuthorById(id) { + return authors.find(a => a.id === id) || null; +} + +export function getAuthorBySlug(slug) { + return authors.find(a => a.slug === slug) || null; +} + +export function getArticlesByCategory(cat) { + return articles.filter(a => a.category === cat); +} + +export function getArticlesByAuthor(authorId) { + return articles.filter(a => a.author === authorId); +} + +export const siteConfig = { + name: 'Teknav', + tagline: 'Deep technology analysis for builders', + url: 'https://www.teknavglobal.com', + persianUrl: 'https://www.teknav.ir', + description: 'Teknav publishes deep technical analysis on AI engineering, security, software architecture, and emerging compute — written for engineers, researchers, and technical founders.', + twitterHandle: '@teknavir', + ogImage: '/images/og/default.jpg', +};