<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shamil Yagiyayev on Medium]]></title>
        <description><![CDATA[Stories by Shamil Yagiyayev on Medium]]></description>
        <link>https://medium.com/@shamil.yagiyayev?source=rss-38c5c1ebd401------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*NxtKd7lIB17CU6p1</url>
            <title>Stories by Shamil Yagiyayev on Medium</title>
            <link>https://medium.com/@shamil.yagiyayev?source=rss-38c5c1ebd401------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:23:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shamil.yagiyayev/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Asus Ascent GX10 (with NVIDIA GB10 128GB) + Ollama and WebUI: The Headless Setup Guide]]></title>
            <link>https://medium.com/@shamil.yagiyayev/asus-ascent-gx10-with-nvidia-gb10-128gb-ollama-and-webui-the-headless-setup-guide-a59c96fccbb9?source=rss-38c5c1ebd401------2</link>
            <guid isPermaLink="false">https://medium.com/p/a59c96fccbb9</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[nvidia]]></category>
            <category><![CDATA[self-hosting]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Shamil Yagiyayev]]></dc:creator>
            <pubDate>Sat, 21 Mar 2026 20:33:31 GMT</pubDate>
            <atom:updated>2026-04-18T14:16:52.364Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iE4zrl-axu4xFG4osbr3NA.jpeg" /><figcaption>Box with Asus (from above). Photo by the author a bit improved by AI</figcaption></figure><p>I recently got my hands over the <strong>Asus Ascent GX10</strong>. It’s a specialized machine with an <strong>NVIDIA Blackwell GB10</strong> chip and <strong>128GB of Unified LPDDR5X memory</strong>. My assignment was turn it into a private AI server for a local network using <strong>Ollama</strong> and <strong>Open WebUI</strong>. Since the setup was not fully trivial, I’ve decided to share it with you. And also hope to be able to use it again.</p><h3>Phase 1: Initial Connection</h3><p>The GX10 is a “headless” unit (no monitor). You don’t need a screen to start.</p><p><strong>The Hotspot:</strong> When you first power it on, it creates its own Wi-Fi hotspot. I found the login credentials in the printed documentation that came with the device. I connected my Mac to this Wi-Fi to get initial access. After login — it updates the system, and requires to connect to your local WiFi, and requires to create the administrator user-password. Then</p><p>While the hotspot works, I plugged in an <strong>Ethernet</strong> cable for a stable connection.</p><p>You may need to find the <strong>local network IP</strong> of your Asus via the administration of the WiFi router.</p><p>Then I logged it to the newly setup Asus Server:</p><pre>ssh user@192.168.x.x</pre><p><em>where: user — is your admin user and then it comes the IP address of Asus.</em></p><p>I didn’t want the server to go into <strong>hibernation</strong> while I was downloading large models, so I disabled the sleep.</p><pre>sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target</pre><h3>Phase 2: System Monitoring (Cockpit)</h3><p>I wanted a web interface to see from my Mac how the server were doing. I chose <strong>Cockpit</strong>.</p><pre>sudo apt install cockpit -y<br>sudo systemctl enable --now cockpit.socket</pre><p>I ran into some minor issues here with the initial setup not reflecting the hardware correctly, but a simple restart of the service fixed the connection. You can access this at https://&lt;your-ip&gt;:9090.</p><h3>Phase 3: Remote Desktop (NoMachine)</h3><p><em>This step is not necessary! And one of the hardest!</em></p><p>To actually “see” the Ubuntu desktop from my Mac, I installed NoMachine.</p><p><strong>Crucial:</strong> You must use the <strong>ARM64</strong> version of NoMachine, not the standard amd64.</p><p><strong>The “Black Screen” Fix</strong></p><p>Because there is no physical monitor, NoMachine often shows a black screen. I had to force the system to use a virtual display.</p><p><strong>Disable Wayland:</strong></p><pre>sudo sed -i &#39;s/#WaylandEnable=false/WaylandEnable=false/&#39; /etc/gdm3/custom.conf</pre><p><strong>Install a Dummy Driver:</strong></p><pre>sudo apt install xserver-xorg-video-dummy -y</pre><p><strong>Configure the Virtual Screen:</strong></p><p>I used nano to create a dummy config at /usr/share/X11/xorg.conf.d/20-dummy.conf with a standard 1920x1080 resolution:</p><pre>Section &quot;Device&quot;<br>    Identifier &quot;Configured Video Device&quot;<br>    Driver &quot;dummy&quot;<br>EndSection<br><br>Section &quot;Monitor&quot;<br>    Identifier &quot;Configured Monitor&quot;<br>    HorizSync 31.5-48.5<br>    VertRefresh 40-70<br>EndSection<br><br>Section &quot;Screen&quot;<br>    Identifier &quot;Default Screen&quot;<br>    Monitor &quot;Configured Monitor&quot;<br>    Device &quot;Configured Video Device&quot;<br>    DefaultDepth 24<br>    SubSection &quot;Display&quot;<br>        Depth 24<br>        Modes &quot;1920x1080&quot;<br>    EndSubSection<br>EndSection</pre><p>then ran:</p><pre>sudo nvidia-xconfig --allow-empty-initial-configuration<br>sudo systemctl restart gdm</pre><h3>Phase 4: Fixing Docker and GPU Access</h3><p>Ubuntu 24.04 (Noble Numbat) has some networking quirks that break standard Docker installs.</p><p><strong>Fix BuildKit:</strong> I had to clear a corrupted database that was preventing Docker from starting:</p><pre>sudo systemctl stop docker.socket docker containerd<br>sudo rm -rf /var/lib/docker/buildkit<br>sudo systemctl start docker</pre><p><strong>The Network Fix (iptables):</strong> Docker needs the “legacy” networking rules to work on this version of Ubuntu:</p><pre>sudo apt install iptables -y<br>sudo update-alternatives --set iptables /usr/sbin/iptables-legacy<br>sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy<br>sudo systemctl restart docker</pre><p><strong>GPU Verification:</strong> I checked if the <strong>NVIDIA Container Toolkit</strong> was there (it was!) and told Docker to use it:</p><pre># 1. Verify the toolkit is there (it was!)<br>nvidia-ctk --version<br><br># 2. Tell Docker to use the NVIDIA &quot;brain&quot;<br>sudo nvidia-ctk runtime configure --runtime=docker<br><br># 3. Restart Docker so it loads the new settings<br>sudo systemctl restart docker</pre><h3>Phase 5: Install Firmware &amp; Software Updates</h3><p>It makes sense to immediately apply all firmware and software updates, which may help further to patch security as well as ensure further compatibility. Also people are saying it starts heating less.</p><p>Firmware may be updated via <em>ssh</em> command:</p><pre>$ fwupdmgr update<br><br>╔══════════════════════════════════════════════════════════════════════════════╗<br>║ Upgrade Embedded Controller from 0x00000001 to 0x02000004?                   ║<br>╠══════════════════════════════════════════════════════════════════════════════╣<br>║ This update improves the performance and stability of the Device.            ║<br>║                                                                              ║<br>║ • Integrated in GA2.0 OTA2 RC3.                                              ║<br>║                                                                              ║<br>║ GX10 must remain plugged into a power source for the duration of the update  ║<br>║ to avoid damage.                                                             ║<br>╚══════════════════════════════════════════════════════════════════════════════╝<br>Perform operation? [Y|n]:<br><br>...</pre><p>It will take some time to load the system— don’t be nervous (I was).</p><p>The next step — is to update all the software via the Cockpit, which we installed before. Select “Software updates” from the left menu, and after some thinking it will give you the list. My was quite impressive:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AFyMoeMY4h3bCxrf-MKNxA.jpeg" /></figure><p>This update was straightforward, still you may want reboot after it, and then it may find you one or two updates on top.</p><h3>Phase 6: The AI Stack (Ollama + WebUI)</h3><p>I used nano to create a docker-compose.yaml file. This file acts as a &quot;recipe&quot; that tells Docker exactly what to run.</p><h4>The Docker-Compose File</h4><p>I created a folder ~/ai-station, went inside, and ran nano docker-compose.yaml. I pasted this in:</p><pre>services:<br>  ollama:<br>    image: ollama/ollama:latest<br>    container_name: ollama<br>    restart: always<br>    ports:<br>      - &quot;11434:11434&quot;<br>    volumes:<br>      - ./ollama_data:/root/.ollama<br>    deploy:<br>      resources:<br>        reservations:<br>          devices:<br>            - driver: nvidia<br>              count: all<br>              capabilities: [gpu]<br><br>  open-webui:<br>    image: ghcr.io/open-webui/open-webui:main<br>    container_name: open-webui<br>    restart: always<br>    ports:<br>      - &quot;3000:8080&quot;<br>    environment:<br>      - OLLAMA_BASE_URL=http://ollama:11434<br>    volumes:<br>      - ./webui_data:/app/backend/data<br>    depends_on:<br>      - ollama</pre><p>To start it all, I ran:</p><pre>docker compose up -d</pre><h3>Phase 7: Using the AI</h3><p>Once the containers were up, I could access the WebUI interface from any device on my network by going to http://&lt;Asus-IP&gt;:3000 in a browser.</p><p>On the first access I created an adminstrator accoutnt and start downloading models. One of the first was: <strong>Qwen 3.5 (122B) ! </strong>Because there is <strong>128GB of memory</strong>, we can run the large versions of these models locally.</p><p>Here is how the interface of WebUI looks like — very easy to start:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cZxFDSSvVDEBnAhGYqBipA.jpeg" /></figure><p>To add Models one has to click to the User name on the left down corner, then Settings, in the window that open — Admin Settings, then Models, Manage, and finally you get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*NMKtu500H15Csi385K4CxA.jpeg" /></figure><p>Was not trivial to find.</p><h3>Phase 8: Accessing the AI from my Mac with Python Script</h3><p><strong>External Access:</strong> I opened the firewall so other services could use the Ollama API. I ran it on Asus shell:</p><pre>sudo ufw allow 11434/tcp<br>sudo ufw reload</pre><p>Once the server was up and the firewall was open, I wanted to interact with the models programmatically from my Mac. Since Ollama is compatible with the OpenAI API, I used the following Python script to test the connection and measure performance.</p><p>First, I installed the library on my Mac: pip install openai</p><p>Then, I ran this script:</p><pre>from openai import OpenAI<br>import time<br><br># 1. Initialization (Ensure you use your Asus server&#39;s IP address)<br>client = OpenAI(<br>    base_url=&#39;http://&lt;YOUR_ASUS_IP&gt;:11434/v1&#39;,<br>    api_key=&#39;ollama&#39;  # Any string works here for local Ollama<br>)<br><br>start_time = time.time()<br><br># 2. Request with streaming enabled<br>stream = client.chat.completions.create(<br>    model=&quot;gemma3:270m&quot;,  # Use the model you pulled in Phase 5<br>    messages=[{&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;Hello! Are you there?&quot;}],<br>    stream=True,<br>)<br><br>print(&quot;🤖 Response: &quot;, end=&quot;&quot;)<br>for chunk in stream:<br>    if chunk.choices[0].delta.content is not None:<br>        print(chunk.choices[0].delta.content, end=&quot;&quot;)<br><br>print(f&quot;\n\n⏱ Execution time: {time.time() - start_time:.2f} sec&quot;)</pre><p>The results was very fast and as expected :)</p><p>The users are happy, so I am!</p><h3>Credits</h3><p>This setup was successful thanks to the persistence of the Blackwell hardware and the guidance from my companion, <strong>Google Gemini</strong>, who helped troubleshoot the specific Linux hurdles I encountered along the way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a59c96fccbb9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Horizon/4: AI & Jobs Future]]></title>
            <link>https://medium.com/@shamil.yagiyayev/horizon-4-ai-jobs-future-47a4f4b35793?source=rss-38c5c1ebd401------2</link>
            <guid isPermaLink="false">https://medium.com/p/47a4f4b35793</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[future-of-work]]></category>
            <category><![CDATA[future]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[jobs]]></category>
            <dc:creator><![CDATA[Shamil Yagiyayev]]></dc:creator>
            <pubDate>Thu, 13 Nov 2025 11:06:24 GMT</pubDate>
            <atom:updated>2025-11-13T13:54:39.876Z</atom:updated>
            <content:encoded><![CDATA[<h3>Horizon/4: Ten Careers in a Decade (10 in 10)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*VQ8CCDI1bdh_jS6-INhnTg.png" /><figcaption>Three ways. Generated with Gemini Pro by the Author</figcaption></figure><p>Current AI pace is beautiful and scary in the same way. It’s a lot of opportunities, but also a lot of bold statements, like “Intelligence will not cost much”. Seriously? Should I start learning something else? Well, let’s think of it.</p><p>I planned to make this research and article later in my Horizon series, but feel the urgency. Let’s go!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XA86iuyx67ZjMXZTLoQIuA.png" /><figcaption>Safe work (<em>a bit provocative</em>). Generated by the Author with Gemini Pro</figcaption></figure><h3>A Three-Sided Debate</h3><p>Discussions about artificial intelligence and the future of work are often presented as two extremes: a world of endless prosperity or one where humans become obsolete. We hear warnings of a “job apocalypse” or dreams of a “post-work paradise.” But the truth is more complicated. The future of work isn’t a single, clear path — it’s a mix of competing ideas that are already taking shape today.</p><p>The 10 jobs highlighted in this Horizon article are more than predictions; they’re real examples of how these ideas are unfolding. To understand their importance, we need to look at the three main viewpoints driving this debate.</p><h4><strong>Yuval Noah Harari</strong></h4><blockquote>This ‘useless class’ will not be merely unemployed — it will be unemployable.</blockquote><p>The first comes from historian and philosopher Yuval Noah Harari. He warns not just about temporary job loss, but about a long-term shift where many people may become permanently unemployable. As AI and automation advance, they won’t just take over physical or routine tasks — they’ll also perform complex mental work. Harari predicts the rise of a “<strong>global useless class</strong>”: people left without meaningful roles in an economy run by algorithms. Meanwhile, a small <strong>AI-powered elite</strong> could control the key technologies, deepening social divides. His biggest concern is not just economic — it’s about the loss of purpose and identity that comes when work, a main source of meaning for many, disappears.</p><h4><strong>Ray Kurzweil</strong></h4><blockquote>Will robots take away our jobs in the future? Probably… But that’s really no big deal… since we’ll just make new ones. It’s happened before.</blockquote><p>The second viewpoint is the classic techno-optimism and futurist Ray Kurzweil. He argues that fear of automation ignores history. According to Kurzweil, machines have replaced human jobs many times before, and each wave has ultimately created more prosperity — not less. Every time technology takes over old tasks, <strong>new and better jobs</strong> appear.</p><p>He notes that most of today’s jobs — especially in information and technology — didn’t exist a few decades ago. And these <strong>new roles generally pay more</strong> and rely on higher-level skills than the manual work they replaced. For Kurzweil, worries about mass unemployment are understandable but misplaced. The long-predicted “job apocalypse” has never happened. He believes this time will be no different.</p><h4><strong>Daron Acemoglu</strong></h4><blockquote>…over the next decade, AI will produce a ‘modest increase’ in GDP between 1.1 to 1.6 percent over the next 10 years, with a roughly 0.05 percent annual gain in productivity.</blockquote><p>The third perspective comes from Nobel-winning economist Daron Acemoglu, who offers a more cautious, balanced view. He believes both Harari and Kurzweil overstate their predictions and treat the future as something fixed. Acemoglu’s research shows that AI’s overall economic impact in the next decade will be <strong>noticeable but not dramatic</strong> — more of a “modest boost” to GDP than a major revolution.</p><p>More importantly, he argues that the future of AI and work isn’t predetermined. It depends on the choices we make. Right now, he warns, the tech industry is mostly focused on automation — using AI to replace workers — rather than augmentation, which uses AI to support people and create new kinds of jobs. For Acemoglu, this focus on replacement is the real danger.</p><h4>The Four Groups</h4><p>The 10 professions that follow are evidence of all three futures happening at once. They can be categorized into four distinct cohorts:</p><ol><li><strong>The Vanguard:</strong> New, high-skill technical roles creating the AI systems, potentially forming Harari’s “elite”.</li><li><strong>The Translators:</strong> New roles that bridge human intent with machine logic, managing the <em>interaction</em> between human and AI.</li><li><strong>The Guardians:</strong> New “New Collar” roles that provide human oversight, judgment, and ethics, embodying Acemoglu’s call for <em>complementation</em>.</li><li><strong>The Humanists:</strong> Existing roles that are being <em>elevated</em> in value as AI automates technical skills, forcing a new premium on empathy and human connection.</li></ol><h3><strong>Part 1: The New Vanguard — Builders of Machine Intelligence</strong></h3><p>This first group includes the most visible and influential jobs in today’s tech-driven economy. These are the highly skilled technical roles that design, build, and improve modern AI systems. They support Ray Kurzweil’s idea that new, more advanced jobs will appear — but they also illustrate Yuval Noah Harari’s worry about a small, highly trained “AI elite” pulling ahead of everyone else.</p><h4>1. The AI Research Scientist</h4><p><strong>Job Description: </strong>AI Research Scientists are the master builders of the AI era. This is not a general coding job — it’s a top-level role focused on creating new AI models, architectures, and capabilities. These scientists work at the cutting edge of machine intelligence, developing systems that can do things like predict protein structures, solve complex math problems, or explore new scientific ideas. In many ways, they are today’s version of the physicists who unlocked nuclear energy or the biologists who decoded the human genome.</p><p><strong>Key Backer:</strong> World Economic Forum (WEF)</p><p><strong>Data Integration: </strong>The World Economic Forum’s <em>Future of Jobs Report 2025</em>, based on a survey of over 1,000 global companies, shows why this role is rising so quickly. The report consistently ranks <strong>“AI and Machine Learning Specialists”</strong> and <strong>“Big Data Specialists”</strong> as the fastest-growing job categories.</p><p>This isn’t just a prediction — it’s a long-term shift. The WEF highlights that <strong>over 86% of companies</strong> expect to adopt advanced AI and digital technologies. That level of adoption creates a huge and lasting demand for the relatively small number of people capable of building and maintaining these systems.</p><p><em>In short: the AI Research Scientist is the foundation of the entire AI workforce. Every other AI-related job depends on their work.</em></p><h4>2. The Prompt Engineer (The “AI Whisperer”)</h4><p><strong>Job Description: </strong>The Prompt Engineer is one of the first truly new jobs created by the rise of generative AI. Instead of building AI models, they focus on communicating with them — designing the prompts and instructions that guide AI toward useful, accurate, and safe results. Their work blends language skills, psychology, and experimentation.</p><p>If the AI Research Scientist builds the engine, the Prompt Engineer is the one who learns how to drive it. They develop prompts that include context, examples, and style guidelines, helping AI systems perform tasks more reliably. In short, they make AI practical for real-world use.</p><p><strong>Key Backer:</strong> Sam Altman (CEO, OpenAI)</p><p><strong>Data Integration: </strong>Sam Altman has publicly highlighted Prompt Engineering as a perfect example of the new job creation predicted by Ray Kurzweil. In interviews, he’s called it the “first example” of a totally new category of work created by AI.</p><h3><strong>Part 2: The Translators — Connecting Human Intent with Algorithmic Logic</strong></h3><p>This second group of new professions focuses not on building AI, but on helping people work with it. As AI becomes more capable — and more complex — we need specialists who can translate human goals into something machines can understand. These “Translators” bridge the gap between messy, ambiguous human communication and the strict, logical world of algorithms. Their work relies heavily on communication, psychology, and workflow design, rather than pure coding.</p><h4>3. The AI Interaction Designer</h4><p><strong>Job Description: </strong>The AI Interaction Designer is an advanced evolution of the traditional UX/UI designer. Instead of simply arranging screens or buttons, they design the entire relationship between humans and intelligent systems.</p><p>They tackle new questions:</p><ul><li>How should an AI express uncertainty?</li><li>How should it admit mistakes?</li><li>How should it signal a draft versus a final answer?</li></ul><p>This role blends user experience design, human–computer interaction, and a working understanding of how AI systems behave. Their work includes designing not just visuals, but also conversation flows, tone, and the “feel” of interacting with a non-human agent. The goal is to make these powerful systems intuitive, trustworthy, and genuinely helpful.</p><p><strong>Key Backer:</strong> Industry job analyses (e.g., ZipRecruiter, Designity)</p><p><strong>Data Integration: </strong>The rise of this job is already visible in hiring trends. As AI shifts from being a background tool to a visible “team member,” companies need experts who can manage that relationship. Job titles like <strong>“AI Interaction Designer”</strong> and <strong>“Conversational AI Designer”</strong> are appearing more often.</p><p>These roles require mixed skills: design tools like Figma or Sketch, basic understanding of AI platforms, and soft skills such as communication, problem-solving, and empathy. In many ways, they are becoming the interpreters between humans and increasingly autonomous digital systems.</p><h4>4. The AI Agent Manager (The “General Contractor”)</h4><p><strong>Job Description: </strong>This role marks a major shift in what “management” means. Instead of leading a team of human workers, the AI Agent Manager oversees a team of autonomous AI agents. Their job is to coordinate these agents to achieve a big-picture business goal.</p><p>For example, instead of hiring human researchers, designers, and copywriters, a company might assign one person a task like: <strong>“Launch a new product campaign.”</strong></p><p>The AI Agent Manager would then activate a “General Contractor” LLM that supervises multiple specialized agents — a research agent, a visual/design agent, a writing agent, and more. The human’s job is to set the strategy, monitor progress, ensure quality, and manage the balance between human judgment and digital execution.</p><p>This is management redefined: not people management, but <strong>agent management</strong>.</p><p><strong>Key Backer:</strong> James Zou (Associate Professor, Stanford HAI)</p><p><strong>Data Integration: </strong>This job grows out of a major shift predicted by the Stanford Institute for Human-Centered AI (HAI). In its 2025 outlook, Stanford highlights the rise of <strong>“General Contractor” LLMs</strong> — systems that coordinate networks of AI agents that collaborate to solve complex problems. This multi-agent approach is expected to be more reliable and capable than relying on one model alone.</p><p>James Zou emphasizes that the most exciting future is not total automation, but <strong>hybrid teams</strong> — a human leader guiding a group of specialized AI agents. In this vision, the human becomes the conductor, providing the direction, judgment, and final decisions while the AI agents handle the execution.</p><h3><strong>Part 3: The Guardians — Embedding Judgment in a World of Code</strong></h3><p>This third group contains the professions focused on governing AI, not building it. These “Guardians” exist because AI is powerful but imperfect — it can be biased, unpredictable, and hard to understand, especially in high-stakes areas like healthcare, law, and finance.</p><p>These are “New Collar” jobs: roles that rely on domain expertise, ethics, and human judgment rather than deep technical coding skills. They represent exactly what Daron Acemoglu argues for — a future where humans complement AI by providing the judgment, values, and real-world reasoning that machines cannot.</p><h4>5. The AI Ethicist / Ethics Officer</h4><p><strong>Job Description: </strong>The AI Ethicist is essentially a practical philosopher working inside a company or government agency. Their job is to guide ethical decision-making around AI development and use. They do two things:</p><ul><li><strong>Proactive work:</strong> creating policies, guidelines, and guardrails to ensure AI systems are built responsibly.</li><li><strong>Reactive work:</strong> reviewing existing systems to identify biases, safety risks, or harmful side effects — and recommending fixes.</li></ul><p>The role sits at the junction of technology, policy, and human values. These professionals help leaders understand the ethical consequences of their choices and must have enough authority to challenge or halt projects that could cause harm.</p><p><strong>Key Backer:</strong> Deloitte</p><p><strong>Data Integration: </strong>This role is rising quickly because of real-world failures — biased algorithms, misinformation, privacy violations, and more. According to Deloitte, managing ethical risks in AI has become a <strong>“top priority”</strong> for organizations. As companies adopt AI faster, they face bigger legal, reputational, and social risks if systems behave in harmful or inappropriate ways.</p><p>This creates a clear need for experts who can navigate the ethical landscape and prevent AI from causing damage.</p><h4>6. The Legal Evaluator (AI Oversight)</h4><p><strong>Job Description: </strong>The Legal Evaluator is a classic “New Collar” role — someone with legal training who oversees, rather than competes with, AI. Their job is to review and manage the legal documents or analyses produced by AI systems.</p><p>For example, an AI might generate a full contract or legal memo in seconds. The Legal Evaluator steps in to:</p><ul><li>Check clauses for accuracy.</li><li>Verify citations.</li><li>Review the logic and structure of the AI’s legal reasoning.</li></ul><p>In this sense, the AI acts as the drafter, and the human functions as the auditor — providing clarity, professional judgment, and responsibility.</p><p><strong>Key Backer:</strong> HireArt (via Christopher Brower, Co-founder &amp; President)</p><p><strong>Data Integration: </strong>HireArt’s 2025 report on fast-growing AI-adjacent roles highlights this profession as a major new path for legal workers. These jobs don’t require coding skills; instead, they rely on domain expertise, critical thinking, and the ability to evaluate complex legal content.</p><p>This creates a bridge for lawyers, paralegals, and compliance professionals to move into AI-focused careers. The value of the Legal Evaluator comes from their <strong>legal expertise and ethical judgment</strong>, which AI cannot replicate.</p><h4>7. The Medical &amp; Healthcare Annotator</h4><p><strong>Job Description: </strong>Like the Legal Evaluator, the Medical &amp; Healthcare Annotator is a domain expert working in a high-stakes field. Typically someone with experience in nursing, medical coding, or health data analysis, this professional is responsible for <strong>labeling and validating the medical data used to train AI diagnostic systems</strong>.</p><p>Their work involves carefully reviewing huge volumes of medical information — from radiology scans to patient notes — and adding the correct labels so AI systems learn how to spot tumors, understand clinical language, or detect dangerous patterns in patient data. This requires strong knowledge of medical terminology, diagnostic codes like ICD-10, and electronic health record systems.</p><p><strong>Key Backer:</strong> HireArt (via Christopher Brower, Co-founder &amp; President)</p><p><strong>Data Integration: </strong>HireArt’s 2025 analysis flags this role as one of the fastest-growing “New Collar” jobs. It values medical expertise, attention to detail, and critical thinking — not coding.</p><p>This isn’t simple data entry; it’s a high-skill role with direct consequences for patient health. The accuracy of the annotator’s work determines how safely and reliably medical AI performs. For this reason, the role often requires advanced credentials, such as <strong>Certified Health Data Analyst (CHDA)</strong>.</p><h3>Part 4: The Hybrid Professionals — Augmentation, Not Automation</h3><p>This fourth group represents the future for most of today’s knowledge workers. These aren’t brand-new jobs — they’re existing high-skill roles being reshaped by AI. These “Hybrid Professionals” are the strongest example of Daron Acemoglu’s idea of <strong>augmentation</strong>: a future where AI boosts human abilities instead of replacing them.</p><p>These workers become <strong>AI power users</strong> — people who integrate machine intelligence into their daily workflow and use it to think faster, analyze more deeply, and make better decisions. AI becomes a cognitive partner, not a competitor.</p><h4>8. The Hybrid Financial Analyst (The “Model Auditor”)</h4><p><strong>Job Description: </strong>The old version of the financial analyst — hours spent manually crunching numbers and building spreadsheets — is fading. AI can now do most of that work automatically. The new role for humans is to <strong>interrogate the models, not build them</strong>.</p><p>The Hybrid Financial Analyst focuses on:</p><ul><li>Interpreting AI-generated outputs.</li><li>Validating the model’s conclusions.</li><li>Spotting errors, biases, or unrealistic assumptions.</li><li>Understanding when <strong>not</strong> to trust the AI.</li></ul><p>They act as a “Model Auditor” — a skeptical, informed partner who ensures that AI-driven financial decisions are sound and responsible.</p><p><strong>Key Backer:</strong> Brookings Institution</p><p><strong>Data Integration: </strong>A 2024 Brookings Institution report analyzes how AI is transforming finance. It concludes that AI isn’t eliminating financial jobs — it’s <strong>rewriting</strong> them. This shift creates a new division of labor that rewards people who have hybrid skills across finance, data, and operations.</p><p>The most valuable analysts are now those who understand both the business and the model — what the AI “sees,” how it reasons, and where it can fail.</p><h4>9. The Evolved “Category Planning Lead” (formerly Merchandiser)</h4><p><strong>Job Description: </strong>This role, described by OpenAI, shows how AI is transforming retail work through augmentation. The traditional merchandiser selected products, negotiated with vendors, and created detailed category reviews. The new <strong>Category Planning Lead</strong> does all of this — but with AI accelerating the most time-consuming parts.</p><p>According to OpenAI’s blueprint, this professional uses ChatGPT to:</p><ul><li>Turn supplier presentations into one-page briefs.</li><li>Convert raw sales, search, and returns data into draft bundles and gap analyses.</li><li>Produce quick “what-if” scenarios showing trade-offs.</li></ul><p>AI dramatically shortens the analysis and drafting process, freeing the human to focus on high-level strategy, judgment, and decision-making.</p><p><strong>Key Backer:</strong> OpenAI</p><p><strong>Data Integration: </strong>In its <em>Jobs in the Intelligence Age</em> report, OpenAI presents detailed “blueprints” for these emerging hybrid jobs. The core idea is simple: <strong>AI generates drafts; humans make the decisions and own the outcomes.</strong></p><p>This model ensures that AI handles the mechanical work while humans apply market knowledge, intuition, and accountability. AI might propose a gap analysis, but only a human expert can determine whether the findings make sense and what action to take.</p><h3>Part 5: The Humanists — The Rise of the Empathy Economy</h3><p>This final group represents the most meaningful — and hopeful — shift in the future of work. These professions are not defined by technical skills, but by qualities that AI cannot imitate: empathy, emotional intelligence, human connection, judgment, and ethical reasoning.</p><p>The key idea is this: AI’s biggest long-term impact isn’t what it <em>automates</em>, but what it <em>reveals</em>.</p><p>By taking over routine cognitive tasks like drafting, analyzing, and processing data, AI forces the labor market to seek out what remains uniquely human. This is creating an <strong>“Empathy Economy”</strong> — a world where being deeply human becomes a major source of value.</p><h4>10. The AI-Assisted Therapist</h4><p><strong>Job Description: </strong>The AI-Assisted Therapist is a licensed mental health professional who uses AI to <em>support</em>, not replace, the therapeutic relationship. In this model, AI acts as a behind-the-scenes helper — handling tasks that drain time but don’t require empathy or clinical judgment.</p><p>AI can:</p><ul><li>Automate administrative work like scheduling, billing, and note-taking.</li><li>Help train new clinicians by acting as a realistic, low-risk “standardized patient”.</li><li>Provide quick summaries or draft documentation.</li></ul><p>By removing this “grunt work,” AI allows therapists to spend nearly all their time on what matters most: the high-empathy, human connection that drives healing.</p><p><strong>Key Backers:</strong> MIT Sloan (Isabella Loaiza) &amp; Stanford HAI</p><p><strong>Data Integration: </strong>The argument for this profession rests on two research findings — one highlighting the dangers of replacing humans, and one showing the power of augmenting them.</p><p><strong>First, the danger: </strong>A Stanford HAI study found that AI chatbots sometimes <strong>failed to recognize suicidal intent</strong> and even <strong>reinforced harmful thoughts</strong>. This makes it clear that replacing therapists with AI carries serious, potentially life-threatening risks.</p><p>Human judgment and empathy are not optional — they’re essential.</p><h3>Charting a Course Between the Useless Class and Super-Agency</h3><p>The 10 professions analyzed in this Horizon article are not a disparate, speculative list. They are <em>artifacts</em> from three parallel futures that are all happening <em>right now</em>. Synthesizing these roles, we can return to our three-way philosophical debate and see how each vision is, in its own way, coming true.</p><p>First, <strong>Harari’s “Useless Class”</strong> is not a fiction; it is the <em>shadow</em> cast by these new, elite professions. The very existence of a “Legal Evaluator” implies the automation of the paralegal who drafted the document. The rise of the “AI Agent Manager” implies the automation of the human analysts, designers, and writers those agents replaced. As Sam Altman stated with characteristic bluntness, “In the short term, AI will destroy a lot of jobs”. This displacement is the prerequisite for the new economy, and it creates the central social and political challenge of our time: managing the transition for those whose skills are devalued by the new paradigm.</p><p>Second, <strong>Acemoglu’s “Augmentation”</strong> is the pragmatic, corporate reality. The “Hybrid Financial Analyst” and the “Evolved Category Planning Lead” are the perfect embodiments of this “modest” but powerful future. This is not a revolution that replaces all workers, but a transformation that provides “AI power users” with cognitive multipliers. This path leads to significant productivity gains but also widens the “talent divide” between those who can “override the model” and those who cannot.</p><p>Third, <strong>The “Super-Agency” Future</strong> is the aspirational vision. The “AI Research Scientist” working to cure disease , the “AI Ethicist” embedding human values into code, and the “AI-Assisted Therapist” scaling human empathy represent true <em>new value creation</em>. These professions are not just more efficient; they are doing <em>new things</em>. They use AI to “amplify human agency and unlock new levels of creativity and productivity” , focusing human potential on problems that were previously intractable.</p><p>Ultimately, these 10 professions prove that the future of work is not a destiny to be passively predicted, but a <em>design challenge</em> to be actively met. The emerging “Frontier Firm,” as described in Microsoft’s 2025 Work Trend Index, provides the organizational blueprint: a new structure “that blends machine intelligence with human judgment, building systems that are AI-operated but human-led”.</p><h3>Conclusion</h3><p>Well, now it looks a bit better, and something I have foreseen before the analysis. We have a common expression— <em>if you cannot stop ugliness, you should lead it</em>. So I will keep going deep into AI and ML myself, and see what comes out of it.</p><p>Do you find a future job for yourself?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47a4f4b35793" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Horizon/3: Silicon Valley’s Oracles on the AGI Timeline]]></title>
            <link>https://medium.com/@shamil.yagiyayev/horizon-3-silicon-valleys-oracles-on-the-agi-timeline-e15984f17abd?source=rss-38c5c1ebd401------2</link>
            <guid isPermaLink="false">https://medium.com/p/e15984f17abd</guid>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[superintelligence]]></category>
            <category><![CDATA[agi]]></category>
            <dc:creator><![CDATA[Shamil Yagiyayev]]></dc:creator>
            <pubDate>Tue, 11 Nov 2025 12:30:46 GMT</pubDate>
            <atom:updated>2025-12-15T19:45:20.769Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3soEBPbL2ZuMkiJLMU2Nrg.png" /><figcaption>AGI. Generated by the Author with Midjourney</figcaption></figure><p><strong>[UPD: Dec 15, 2025]</strong></p><p>Building Artificial General Intelligence (AGI) as looking for the “holy grail” for the AI companies. They get huge investments and their capitalization sky-rocketed. That means that both —big investors and the market bets on the breakthrough.</p><p>This article is the part of of the Horizon series, which talks about the current state of the AI, and future predictions. There were a lot of ideas which topic could be next. But for me personally investigation on the AGI timeline is <em>really</em> interesting. So I will learn it a day or two before I share this with you :) <em>OKay</em>, <em>okay</em>, I did some preparations ahead as well.</p><p>For this research, I will study what the people, who understand the topic the best, and having the access to the current state of the closed researched, are talking about the AGI. Believe me — the view is very different. But first we need to start with the glossary.</p><h3>The Ladder of Intelligence: AI vs. AGI vs. ASI</h3><ul><li><strong>AI (Artificial Narrow Intelligence):</strong> This is what we have now. It’s an AI that is smart at <em>one</em> thing (Artificial Narrow Intelligence, or ANI). Your chess app, your spam filter, ChatGPT. Its competence is “confined to well-defined tasks”. It’s well better than a human already in the majority.</li><li><strong>AGI (Artificial General Intelligence):</strong> This is the holy grail. It’s an AI that can “perform any intellectual task a human can”. It can “generalize knowledge, transfer skills between domains, and solve novel problems”. This is the “smart intern” who can <em>actually</em> do anything you throw at them, from coding to biology to writing a novel.</li><li><strong>ASI (Artificial Superintelligence):</strong> This is the step <em>after</em> AGI. It’s not just <em>as smart</em> as a human; it “outperforms the best human abilities across every domain by a wide margin”. This is the “digital god” stage.</li></ul><p>Now that we’ve got the jargon down, let’s turn to the oracles themselves. I’ve grouped them into “factions” to make sense of the noise.</p><h3>Cluster 1: The New Prophets (The “Any Day Now” Crew)</h3><p>These are the men who are actively building the “gods” in the data centers. They’re not speaking in hypotheticals. They’re giving <em>dates</em>.</p><h4>Sam Altman (CEO, OpenAI)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dod3RlUQVN4nF8GPrMrCuA.png" /><figcaption>Sam Altman, generated with Midjourney by the Author</figcaption></figure><p><strong>The Vibe:</strong> The high priest and public face of the revolution.</p><p><strong>His AGI Definition (The “Economic” AGI):</strong> This is the key. OpenAI’s <em>official</em> definition is “a highly autonomous system that outperforms humans at <em>most economically valuable work</em>”. OpenAI says its mission is to “<strong>ensure that AGI benefits all of humanity</strong>.”</p><p><strong>His Timeline</strong></p><blockquote><em>5 years, give or take, maybe slightly longer.</em></blockquote><p>Oct 2023, private interview by Adam Brotman and Andy Sack <a href="https://www.marketingaiinstitute.com/blog/sam-altman-ai-agi-marketing">https://www.marketingaiinstitute.com/blog/sam-altman-ai-agi-marketing</a></p><blockquote><em>In 5 years we will have “an unbelievably rapid rate of improvement in technology”, a “totally crazy” pace of progress and discovery, and AGI will have come and gone, but society will change surprisingly little.</em></blockquote><p>Nov 4, 2024, 20VC with Harry Stebbings, <a href="https://www.youtube.com/watch?v=peg-aX1oii4">https://www.youtube.com/watch?v=peg-aX1oii4</a></p><blockquote>We are now confident we know how to build AGI as we have traditionally understood it. … We are beginning to turn our aim beyond that, to superintelligence in the true sense of the word.</blockquote><p>Jan 6, 2025 — Sam Altman’s personal blog post <strong>“</strong>Reflections<strong>” </strong><a href="https://blog.samaltman.com/reflections">https://blog.samaltman.com/reflections</a></p><blockquote>Our mission is to ensure that AGI benefits all of humanity. We still have a lot of work in front of us, but I’m really proud of the trajectory the team has us on. We are seeing tremendous benefits in what people are doing with the technology already today, and we know there is much more coming over the next couple of years.</blockquote><p>Dec 11, 2025 — Sam Altman in his “Ten Years” blog post <a href="https://openai.com/index/ten-years/">https://openai.com/index/ten-years/</a></p><h4>Demis Hassabis (CEO, Google DeepMind)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iod7s6rgclKjWgE7stS1VA.png" /><figcaption>Demis Hassabis, generated with Midjourney by the Author</figcaption></figure><p>Demis is a Nobel Prize winner 2024 in Chemistry for the Alpha Fold.</p><p><strong>The Vibe:</strong> The philosopher-king. The true believer who has wanted this his entire life.</p><p><strong>His AGI Definition (The “Nobel Prize” AGI):</strong> Hassabis sets a <em>much higher</em> bar. He’s not interested in “dominance in narrow tasks”. His AGI must have “cross-domain brilliance”. His test? Can it discover <em>new science</em>? Can it “come up with entirely new explanations for the universe” or discover General Relativity?</p><p><strong>His Timeline</strong></p><blockquote>In the next five to 10 years, maybe a 50% chance that we’ll have what we define as AGI.</blockquote><p>June 3, 2025 — WIRED — The Big Interview <a href="https://www.wired.com/video/watch/big-interview-demis-hassabis-on-the-future-of-work-in-the-age-of-ai">https://www.wired.com/video/watch/big-interview-demis-hassabis-on-the-future-of-work-in-the-age-of-ai</a></p><blockquote>My estimate is sort of 50% chance in the next five years — so by 2030, let’s say.</blockquote><p>July 23, 2025 — Lex Fridman Podcast #475, <a href="https://www.youtube.com/watch?v=-HzgcbRXUK8">https://www.youtube.com/watch?v=-HzgcbRXUK8</a></p><blockquote>… (answering question: are we 5–10 years away from AGI?) I think it’s sort of dead on track if you see what I mean. We’re really happy with this progress. I think it’s an absolutely amazing model [Gemini 3] and is right on track of what I was expecting and and the trajectory we’ve been on actually for the last couple of years since the beginning of Gemini which I think’s been the fastest progress of anybody in the industry. I think we’re going to continue doing that trajectory. But on top of that I still think there’ll be one or two more things that are required to really get the the consistency across the board that you’d expect from a general intelligence. Improvements still on <strong>reasoning</strong> on <strong>memory, </strong>and perhaps things like <strong>world model</strong> ideas.</blockquote><p>Nov 18, 2025 — Demis Hassabis &amp; Josh Woodward Tell Us Why Gemini 3.0 Puts Google in Front of the A.I. Race, <a href="https://www.youtube.com/watch?v=rq-2i1blAlU">https://www.youtube.com/watch?v=rq-2i1blAlU</a></p><h4>Dario Amodei (CEO, Anthropic)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UTS7BI_ha6T7Z0YNUFJ5dw.png" /><figcaption>Dario Amodei, generated with Midjourney by the Author</figcaption></figure><p><strong>The Vibe:</strong> The safety-obsessed prophet. The “splinter” who left OpenAI over safety concerns.</p><p><strong>His AGI Definition (The “Marketing Term” AGI):</strong> He <em>hates</em> the term “AGI,” calling it “a marketing term” (Used “Powerful AI” instead). His metaphor is better: “a country of geniuses in the data center”. He also describes it as “smarter than a Nobel Prize winner in most subjects”.</p><p><strong>His Timeline</strong></p><blockquote>I think it could come as early as 2026, though there are also ways it could take much longer.</blockquote><p>October 2024 — Dario Amodei — Machines of Loving Grace, <a href="https://www.darioamodei.com/essay/machines-of-loving-grace">https://www.darioamodei.com/essay/machines-of-loving-grace</a></p><blockquote>If you just … eyeball the rate at which these capabilities are increasing, it does make you think that we’ll get there by 2026 or 2027.</blockquote><p>November 11, 2024 — Lex Fridman Podcast #452, <a href="https://www.youtube.com/watch?v=ugvHCXCOmm4">https://www.youtube.com/watch?v=ugvHCXCOmm4</a></p><blockquote>I’m relatively confident … in the next two or three years.</blockquote><p>January 21, 2025 — WSJ — Inside Anthropic’s Race to Build a Smarter Claude and Human-Level AI, <a href="https://www.youtube.com/watch?v=snkOMOjiVOk">https://www.youtube.com/watch?v=snkOMOjiVOk</a></p><blockquote>We may be two to three years away from AI systems being better than humans.</blockquote><p>January 23, 2025 — Bloomberg , <a href="https://x.com/business/status/1882369539536498712">https://x.com/business/status/1882369539536498712</a></p><blockquote>… (answering: what is your AGI timeline?) <strong>There’s no one particular point. </strong>I’ve never liked these terms “AGI”, “Artificial Superintelligence”. I don’t know what it means. There’s just what we had with the exponential Moore’s law. Chips getting faster and faster until they could do any simple calculation faster. Then faster than any human. I think the models are just going to get more and more capable at everything.</blockquote><p>Dec 3, 2025 — Interview with Andrew Sorkin, <a href="https://www.youtube.com/watch?v=FEj7wAjwQIk">https://www.youtube.com/watch?v=FEj7wAjwQIk</a></p><h4>Elon Musk (CEO, xAI)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XM-COQr-fUHqoLt8q9Verw.png" /><figcaption>Elon Musk, generated with Midjourney by the Author</figcaption></figure><p><strong>The Vibe:</strong> The wildcard. The rival. The doomer-salesman.</p><p><strong>His AGI Definition:</strong> He’s sloppy, but it’s <em>big</em>. An AI that’s “smarter than the smartest human”.</p><p><strong>His Timeline</strong></p><blockquote>My guess is that we’ll have AI that is smarter than any one human probably around the end of next year… or by 2026.</blockquote><p>April 9, 2024 — In Good Company with Nicolai Tangen (YouTube), <a href="https://www.youtube.com/watch?v=_rQBZ3vKRA0">https://www.youtube.com/watch?v=_rQBZ3vKRA0</a></p><blockquote>It is increasingly likely that AI will superset the intelligence of any single human by the end of 2025 and maybe all humans by 2027/2028… Probability that AI exceeds the intelligence of all humans combined by 2030 is ~100%.</blockquote><p>December 23, 2024 — Elon Musk on X , <a href="https://x.com/elonmusk/status/1871083864111919134">https://x.com/elonmusk/status/1871083864111919134</a></p><blockquote>I think that we might have AI smarter than any single human at anything as soon as next year. And in 2030, AI will probably be smarter than the sum of all humans.</blockquote><p>September 10, 2025 — All-In Summit 2025 (YouTube), <a href="https://www.youtube.com/watch?v=qeZqZBRA-6Q">https://www.youtube.com/watch?v=qeZqZBRA-6Q</a></p><blockquote>My estimate of the probability of Grok 5 achieving AGI is now at 10% and rising.</blockquote><p>Oct 18, 2025 — <a href="https://x.com/elonmusk/status/1979431839824777673">https://x.com/elonmusk/status/1979431839824777673</a></p><h3>Cluster 2: The Sages of Caution (The “What Have We Done?” Crew)</h3><p>This group isn’t just <em>building</em> it; they’re <em>warning</em> about it. And their voices matter, because they were the ones who started it all.</p><h4>Geoffrey Hinton (The “Godfather” of AI)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l_RnwHkPYsU5uSbbMBTrdw.png" /><figcaption>Geoffrey Hinton, generated with Midjourney by the Author</figcaption></figure><p>Geoffrey is a Nobel Prize winner, as an inventor of artificial neural networks. So he started it all. Q<em>uit Google</em> in 2023 so he could “speak freely” about the dangers. He said he “now regretted his work”.</p><p><strong>The Vibe:</strong> The repentant pioneer.</p><p><strong>His AGI Definition:</strong> “I use it to mean AI that is at least as good as humans at nearly all of the cognitive things that humans do.”</p><p><strong>His Timeline</strong></p><blockquote>Until quite recently I used to think it might be 20 to 50 years before we have general purpose AI, now I think it might be 20 years or less.</blockquote><p>March 25, 2023 — University of Toronto — “CBS News travels to Toronto to explore the future of AI”, <a href="https://www.utoronto.ca/news/cbs-news-travels-toronto-explore-future-ai.">https://www.utoronto.ca/news/cbs-news-travels-toronto-explore-future-ai</a></p><blockquote>I now predict <strong>5 to 20 years</strong> but without much confidence. We live in very uncertain times.</blockquote><p>May 3, 2023 — Geoffrey Hinton on X (https://x.com/geoffreyhinton/status/1653687894534504451)</p><blockquote>There’s a <strong>10% to 20% chance</strong> [AI] would lead to <strong>human extinction</strong> within the <strong>next 30 years</strong>.</blockquote><p>December 27, 2024 — BBC Radio 4 Today (reported by The Guardian), <a href="https://www.theguardian.com/technology/2024/dec/27/godfather-of-ai-raises-odds-of-the-technology-wiping-out-humanity-over-next-30-years">https://www.theguardian.com/technology/2024/dec/27/godfather-of-ai-raises-odds-of-the-technology-wiping-out-humanity-over-next-30-years</a></p><h4>Ilya Sutskever (Co-founder, Safe Superintelligence Inc.)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JpXnYfqEQ7qC9AU7qBYsGA.png" /><figcaption>Ilya Sutskever, by the Author with Midjourney</figcaption></figure><p>This is the <em>other</em> huge story. Sutskever was OpenAI’s Chief Scientist. He was part of the infamous board dispute that tried to fire Sam Altman, reportedly over <em>safety concerns</em>. He <em>lost</em>. Altman returned. Sutskever left. He just launched “Safe Superintelligence Inc.” (SSI). This deserves a separate Horizon post.</p><p><strong>The Vibe:</strong> The “soul” of OpenAI. The mystic in the machine.</p><p><strong>His AGI Definition:</strong></p><blockquote>AGI is an ambiguous term. Your average college undergrad is an AGI, right?</blockquote><p>March 27, 2023 — Dwarkesh Patel — Interview, <a href="https://www.dwarkesh.com/p/ilya-sutskever">https://www.dwarkesh.com/p/ilya-sutskever</a></p><blockquote>The day will come when AI will do all the things that we can do. Not just some of them, but all of them.</blockquote><p>June 9, 2025 — University of Toronto convocation (Business Insider write-up), <a href="https://www.businessinsider.com/openai-cofounder-ilya-sutskever-ai-graduation-speech-university-of-toronto-2025-6">https://www.businessinsider.com/openai-cofounder-ilya-sutskever-ai-graduation-speech-university-of-toronto-2025-6</a></p><blockquote>Computers will become smarter than us. We call such an AI an ‘AGI’… when we can teach the AI to do anything that, for example, I can do, or someone else.</blockquote><p>November 23, 2023 — TED Talk — <em>The Exciting, Perilous Journey Toward AGI, </em><a href="https://www.youtube.com/watch?v=SEkGLj0bwAU">https://www.youtube.com/watch?v=SEkGLj0bwAU</a></p><blockquote>The term AGI, why does this term exist? It’s a very particular term. There’s a reason. The reason that the term AGI exists is, in my opinion, not so much because it’s a very important, essential descriptor of some end state of intelligence, but because it is a reaction to a different term that existed, and the term is narrow AI.</blockquote><blockquote>You do more pre-training and the model gets better at everything, more or less uniformly. “Pre-training gives AGI.” But the thing that happened with AGI and pre-training is that in some sense they overshot the target. If you think about the term “AGI”, especially in the context of pre-training, you will realize that a <strong>human being is not an AGI</strong>. Yes, there is definitely a foundation of skills, but a human being lacks a huge amount of knowledge. Instead, we rely on continual learning.</blockquote><p>Nov 25, 2025 — Interview with Dwarkesh Patel, <a href="https://www.youtube.com/watch?v=aR20FWCCjAs">https://www.youtube.com/watch?v=aR20FWCCjAs</a></p><p><strong>His Timeline</strong></p><blockquote>It’s conceivable that within the next ten years, AI systems will exceed expert skill level in most domains, and carry out as much productive activity as one of today’s largest corporations.</blockquote><p>May 22, 2023 — OpenAI — Governance of Superintelligence, <a href="https://openai.com/index/governance-of-superintelligence/">https://openai.com/index/governance-of-superintelligence/</a></p><blockquote>Our goal is to solve the core technical challenges of superintelligence alignment in four years… [and] while superintelligence seems far off now, we believe it could arrive this decade.</blockquote><p>July 5, 2023 — OpenAI — Introducing Superalignment, <a href="https://openai.com/index/introducing-superalignment/">https://openai.com/index/introducing-superalignment/</a></p><blockquote>… (answering: what are your forecasts to this system you’re describing, <br>which can learn as well as a human and subsequently, as a result, become superhuman?) I think like 5 to 20 years.</blockquote><p>Nov 25, 2025 — Interview with Dwarkesh Patel, <a href="https://www.youtube.com/watch?v=aR20FWCCjAs">https://www.youtube.com/watch?v=aR20FWCCjAs</a></p><h3>Cluster 3: The Skeptical Engineers (The “That’s Not How This Works” Crew)</h3><p>Not everyone is on the hype train. This group, also “Godfathers” in their own right, thinks the whole paradigm is, well, wrong.</p><h4>Yann LeCun (Chief AI Scientist, Meta)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FfUohijn9LIE3-krXpJmAQ.png" /><figcaption>Yann LeCun, created with Midjourney by the Author</figcaption></figure><p><strong>The Vibe:</strong> The anti-hype man. The empiricist.</p><p><strong>His Stance:</strong> He <em>hates</em> the term “AGI”. He is a <em>vocal</em> skeptic that just “scaling LLMs” (making them bigger) will <em>ever</em> lead to AGI.</p><p><strong>His Argument (The “Cat” Benchmark):</strong> This is his famous analogy. He argues today’s LLMs “can’t really reason,” “can’t plan,” and have <em>no common sense</em>. He says we can’t even build an AI with “cat-level intelligence” yet, let alone human-level. A cat, he argues, has a “world model” (an intuitive grasp of physics, object permanence) that is <em>far</em> more complex than an LLM just predicting the next word.</p><p><strong>His AGI Definition</strong></p><blockquote>I think the phrase AGI should be retired and replaced by ‘human-level AI’. There is no such thing as AGI. Even human intelligence is very specialized.</blockquote><p>January 27, 2022 — Analytics India Magazine — “Yann LeCun sparks a debate on AGI vs human-level AI”, <a href="https://analyticsindiamag.com/deep-tech/yann-lecun-sparks-a-debate-on-agi-vs-human-level-ai/">https://analyticsindiamag.com/deep-tech/yann-lecun-sparks-a-debate-on-agi-vs-human-level-ai/</a></p><p><strong>His Timeline</strong></p><blockquote>This is not around the corner… [human-level AI] will take years, if not decades… It’s going to require new scientific breakthroughs that we don’t know of yet.</blockquote><p>January 19, 2024 — EL PAÍS — “Yann LeCun, chief AI scientist at Meta: ‘Human-level artificial intelligence is going to take a long time’ ”, <a href="https://english.elpais.com/technology/2024-01-19/yann-lecun-chief-ai-scientist-at-meta-human-level-artificial-intelligence-is-going-to-take-a-long-time.html">https://english.elpais.com/technology/2024-01-19/yann-lecun-chief-ai-scientist-at-meta-human-level-artificial-intelligence-is-going-to-take-a-long-time.html</a></p><blockquote>Before we get all those things to work together… it’s going to take at least a decade and probably much more.</blockquote><p>March 7, 2024 — Lex Fridman Podcast #416 (transcript), <a href="https://lexfridman.com/yann-lecun-3-transcript/">https://lexfridman.com/yann-lecun-3-transcript/</a></p><blockquote>I said that reaching Human-Level AI will take several years if not a decade… In any case, it’s not going to be in the next year or two.</blockquote><p>October 16, 2024 — X (formerly Twitter) — @ylecun, <a href="https://x.com/ylecun/status/1846574605894340950">https://x.com/ylecun/status/1846574605894340950</a></p><h4>François Chollet (AI Researcher, former Google)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kIWIF4JktIssbtpVXHHVyw.png" /><figcaption>François Chollet, by Author with Midjourney</figcaption></figure><p>François Chollet is a French software engineer, artificial intelligence researcher, and former Senior Staff Engineer at Google. Chollet is the creator of the Keras deep-learning library released in 2015 (wikipedia).</p><p>He <em>created</em> a benchmark The ARC Prize (the Abstraction and Reasoning Corpus) designed to test <em>true</em> reasoning, which current models (so far) spectacularly fail. Will detail in <strong>another Horizon story</strong>.</p><p><strong>The Vibe:</strong> The “Measure of Intelligence” guy.</p><p><strong>His AGI Definition</strong></p><blockquote>…a new formal definition of intelligence… describing intelligence as skill-acquisition efficiency.</blockquote><p>November 5, 2019 — arXiv — On the Measure of Intelligence (https://arxiv.org/abs/1911.01547).</p><blockquote>When I say I want to build “strong AI” or “general AI”, I don’t mean “AGI” in the sense that most everyone else means it.</blockquote><blockquote>In its common use, “AGI” is a cultural construct akin to the Philosopher’s Stone, that no one can define crisply but on which people project all kinds of magical powers — it will enable you to live forever, it will resurrect the dead in digital form, it will provide unlimited abundance, etc.</blockquote><p>January 20, 2024 — X — @fchollet <a href="https://x.com/fchollet/status/1748779898288890116">https://x.com/fchollet/status/1748779898288890116</a></p><blockquote>General intelligence is the ability to approach any problem… and very quickly master it using very little data.</blockquote><p>June 11, 2024 — Dwarkesh Patel — Interview/Transcript, <a href="https://www.dwarkesh.com/p/francois-chollet">https://www.dwarkesh.com/p/francois-chollet</a></p><p><strong>His Timeline</strong></p><blockquote>My personal timeline for general AI is <strong>~10–15 years to invention, then 5–10 years to full-scale realization</strong>, so a total range of 15 to 25 years.</blockquote><p>September 2023 — X (formerly Twitter) — @fchollet, <a href="https://x.com/fchollet/status/1704283923314782353">https://x.com/fchollet/status/1704283923314782353</a></p><blockquote><strong>A year ago, I would have said ten years-ish… now I think it’s probably… five-ish.</strong></blockquote><p>August 2025 — ARC Prize (YouTube) — “I’ve updated my AGI timeline” <a href="https://www.youtube.com/watch?v=1if6XbzD5Yg">https://www.youtube.com/watch?v=1if6XbzD5Yg</a></p><h3>Cluster 4: The CEOs in Suits (The “How Do We Sell This?” Crew)</h3><p>This group has to answer to shareholders <em>and</em> sci-fi prophets. Their job is to manage the hype, make money, and not sound insane.</p><h4>Satya Nadella (CEO, Microsoft)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ez1FbXDI1jdqTZkU8WURA.png" /><figcaption>Satya Nadella, by Author with Midjourney</figcaption></figure><p><strong>The Vibe:</strong> The ultimate pragmatist.</p><p><strong>AGI Quotes</strong></p><blockquote>I’m much more focused on the benefits to all of us… I’m not at all worried about AGI showing up, or showing up fast. Great, right? That means 8 billion people have abundance.</blockquote><p>June 13, 2023 — WIRED — Microsoft’s Satya Nadella Is Betting Everything on AI, <a href="https://www.wired.com/story/microsofts-satya-nadella-is-betting-everything-on-ai">https://www.wired.com/story/microsofts-satya-nadella-is-betting-everything-on-ai</a></p><blockquote>Us self-claiming some AGI milestone, that’s just nonsensical benchmark hacking to me. The real benchmark is: the world growing at 10%.</blockquote><p>February 19, 2025 — Dwarkesh Podcast — Satya Nadella — Microsoft’s AGI plan &amp; quantum breakthrough, <a href="https://www.youtube.com/watch?v=4GLSzuYXh6w">https://www.youtube.com/watch?v=4GLSzuYXh6w</a></p><blockquote>Even when the model is magical, all powerful, I think we will be in this jagged intelligence phase for a long time.</blockquote><p>October 29, 2025 — Microsoft FY26 Q1 Earnings Call, <a href="https://www.microsoft.com/en-us/investor/events/fy-2026/earnings-fy-2026-q1">https://www.microsoft.com/en-us/investor/events/fy-2026/earnings-fy-2026-q1</a></p><h4>Sundar Pichai (CEO, Google/Alphabet)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kJtIiLazS7SZsDZWjxEkpw.png" /><figcaption>Sundar Pichai, by Author with Midjourney</figcaption></figure><p><strong>The Vibe:</strong> The “nervous” pragmatist.</p><p><strong>AGI Definition</strong></p><blockquote>It is so clear to me that these systems are going to be very, very capable, and so <strong>it almost doesn’t matter whether you’ve reached AGI or not</strong>… Can we have an AI system which can cause disinformation at scale? Yes… <strong>Is it AGI? It really doesn’t matter.</strong></blockquote><p>March 31, 2023 — The Verge — Google CEO Sundar Pichai promises Bard AI chatbot upgrades ‘soon’ <a href="https://www.theverge.com/2023/3/31/23664426/google-bard-ai-chatbot-upgrades-coming-soon-sundar-pichai">https://www.theverge.com/2023/3/31/23664426/google-bard-ai-chatbot-upgrades-coming-soon-sundar-pichai</a></p><blockquote>There’s one other term we should throw in there… <strong>AJI — artificial jagged intelligence</strong>… <strong>I feel like we are in the AJI phase</strong> where [there’s] dramatic progress, [but] some things don’t work well.</blockquote><p>June 5, 2025 — Lex Fridman Podcast #471 — Transcript <a href="https://lexfridman.com/sundar-pichai-transcript/">https://lexfridman.com/sundar-pichai-transcript/</a></p><p><strong>His Timeline</strong></p><blockquote><strong>Will the AI think it has reached AGI by 2030? I would say we will just fall short of that timeline</strong>, so I think it’ll take a bit longer… By 2030 there’ll be such dramatic progress [that] we’ll be dealing with the consequences of that progress in a big way.</blockquote><p>June 5, 2025 — Lex Fridman Podcast #471 — Sundar Pichai: CEO of Google and Alphabet, <a href="https://www.youtube.com/watch?v=9V6tWC4CdFQ">https://www.youtube.com/watch?v=9V6tWC4CdFQ</a></p><h4>Mark Zuckerberg (CEO, Meta)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B0u9KksiayT02WKpb2jR7g.png" /><figcaption>Mark Zuckerberg, by the Author powered with Midjourney</figcaption></figure><p><strong>The Vibe:</strong> The open-source evangelist.</p><p><strong>AGI Definition</strong></p><blockquote>Our long-term vision is to build general intelligence, open source it responsibly, and make it widely available so everyone can benefit.</blockquote><p>January 18, 2024 — Threads — @zuck, <a href="https://www.threads.com/%40zuck/post/C2QB4NGRVHn">https://www.threads.com/%40zuck/post/C2QB4NGRVHn</a></p><blockquote>I don’t have a one-sentence, pithy definition… you can quibble about if general intelligence is human-level or human-plus… <strong>the important part is the breadth</strong> — you have to be able to reason and have intuition.</blockquote><p>January 18, 2024 — The Verge — “Mark Zuckerberg’s new goal is creating artificial general intelligence”, <a href="https://www.theverge.com/2024/1/18/24042354/mark-zuckerberg-meta-agi-reorg-interview">https://www.theverge.com/2024/1/18/24042354/mark-zuckerberg-meta-agi-reorg-interview</a></p><p><strong>AGI Timeline</strong></p><blockquote>I would guess that sometime in the <strong>next 12 to 18 months</strong>, we’ll reach the point where <strong>most of the code</strong> that’s going toward these efforts <strong>is written by AI</strong>.</blockquote><p>April 29, 2025 — Dwarkesh Podcast (YouTube), <a href="https://www.youtube.com/watch?v=rYXeQbTuVl0">https://www.youtube.com/watch?v=rYXeQbTuVl0</a></p><blockquote><strong>Developing superintelligence is now in sight.</strong></blockquote><p>July 30, 2025 — Meta — “Personal Superintelligence”, <a href="https://www.meta.com/superintelligence/">https://www.meta.com/superintelligence/</a></p><h4>Bill Gates (Founder, Microsoft)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OGf-u6Mw-dm1p4ta4tASDg.png" /><figcaption>Bill Gates, by the Author with Midjourney</figcaption></figure><p><strong>The Vibe:</strong> The optimistic historian.</p><p><strong>AGI Definition and Timeline</strong></p><blockquote>Writing contracts or doing diagnosis or writing software code… some would say 30 years, I’d be there. Some would say 60 years.</blockquote><p>February 23, 2016 — The Ezra Klein Show (via Luke Muehlhauser), <a href="https://lukemuehlhauser.com/bill-gates-on-ai-timelines/">https://lukemuehlhauser.com/bill-gates-on-ai-timelines/</a></p><blockquote>Once developers can generalize a learning algorithm and run it at the speed of a computer — an accomplishment that could be a decade away or a century away — we’ll have an incredibly powerful AGI.</blockquote><p>March 21, 2023 — GatesNotes — The Age of AI has begun, <a href="https://www.gatesnotes.com/the-age-of-ai-has-begun">https://www.gatesnotes.com/the-age-of-ai-has-begun</a></p><blockquote>‘Two more turns of the crank’ on scaling LLMs won’t deliver AGI.</blockquote><p>July 2, 2024 — Fortune, <a href="https://fortune.com/2024/07/02/bill-gates-leopold-aschenbrenner-treatise-agi-superintelligence/">https://fortune.com/2024/07/02/bill-gates-leopold-aschenbrenner-treatise-agi-superintelligence/</a></p><blockquote>Not for most things.</blockquote><p>(on whether we’ll still need humans as AI advances over the next decade) February 5, 2025 — The Tonight Show Starring Jimmy Fallon — People write-up, <a href="https://people.com/bill-gates-ai-will-replace-doctors-teachers-in-next-10-years-11705615">https://people.com/bill-gates-ai-will-replace-doctors-teachers-in-next-10-years-11705615</a></p><blockquote>It’s improving at a rate that surprises me… can’t tell if it’ll replace humans in one year or ten.</blockquote><p>August 1, 2025 — Fortune — Yahoo syndication, <a href="https://www.yahoo.com/news/articles/bill-gates-says-ai-moving-154556150.html">https://www.yahoo.com/news/articles/bill-gates-says-ai-moving-154556150.html</a></p><h3>Summary — Where the “Oracles” actually land (at a glance)</h3><p>Let’s see what we get after all those reviews.</p><p><strong>Definitions aren’t aligned.</strong></p><ul><li><strong>Altman</strong> = <em>Economic AGI</em>: systems outperforming humans on most economically valuable work.</li><li><strong>Hassabis</strong> = <em>Cross-domain scientific brilliance</em>: discovery of new science is a bar.</li><li><strong>Amodei</strong> = dislikes “AGI” (prefers “powerful AI”); thinks of a <em>“country of geniuses in a data center.”</em></li><li><strong>Musk</strong> = <em>Smarter-than-any-human</em> (and soon after, smarter than <em>all</em> humans combined).</li><li><strong>Hinton</strong> = <em>As good as humans at nearly all cognitive tasks.</em></li><li><strong>Sutskever</strong> = <em>Computers will do all the things we can do.</em></li><li><strong>LeCun</strong> = retire “AGI”; talk about <em>human-level AI</em> after major new breakthroughs.</li><li><strong>Chollet</strong> = intelligence = <em>skill-acquisition efficiency</em>; “AGI” is a cultural construct.</li><li><strong>Nadella</strong> = benchmarks should be <em>real-world impact</em> (e.g., GDP), not self-declared labels.</li><li><strong>Pichai</strong> = labels matter less than capability and consequences; coins <em>“AJI” (jagged intelligence).</em></li><li><strong>Zuckerberg</strong> = build general intelligence and open-source it (responsibly).</li><li><strong>Gates</strong> = very wide uncertainty; key is getting general learning algorithms that run at computer speed.</li></ul><p><strong>Timelines cluster into three bands.</strong></p><ul><li><strong>Near-term (2025–2027)</strong>: <strong>Amodei</strong> (“as early as 2026”; “two to three years”), <strong>Musk</strong> (single-human by 2025/26; “all humans” by ~2030), <strong>Altman</strong> (~5 years from 2023/24 remarks), <strong>Zuckerberg</strong> (12–18 months to AI-written majority of code).</li><li><strong>~2030 window</strong>: <strong>Hassabis</strong> (~50% by 2030), <strong>Pichai</strong> (just <em>short</em> of AGI by 2030 but massive impact by then).</li><li><strong>Decade+ / “not soon”</strong>: <strong>LeCun</strong> (at least a decade, probably much more; needs new science), <strong>Hinton</strong> (5–20 years, low confidence), <strong>Gates</strong> (anywhere from a decade to far longer, depending on breakthroughs).</li><li><strong>Moving earlier</strong>: <strong>Chollet</strong> (from ~15–25 years to “~five-ish” as of 2025).</li></ul><h3>Instead of the Conclusion</h3><p>Well, despite some of the Oracles try to market there predictions to get (I would assume) bigger investments, everything looks like we would get some AGI / Superintelligence breakthroughs by the end of the current decade. And we need to get ready. We need to ensure it’s safe. How it affects economy? What are the benefits the humanity can get?</p><p>I will address those and other concerns in my further Horizon articles. Stay tuned ;)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e15984f17abd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Horizon: What Is AI, Anyway?]]></title>
            <link>https://medium.com/@shamil.yagiyayev/horizon-what-is-ai-anyway-daf4b96b2499?source=rss-38c5c1ebd401------2</link>
            <guid isPermaLink="false">https://medium.com/p/daf4b96b2499</guid>
            <category><![CDATA[future]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[turing-test]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Shamil Yagiyayev]]></dc:creator>
            <pubDate>Sun, 09 Nov 2025 03:31:59 GMT</pubDate>
            <atom:updated>2025-11-11T12:32:06.866Z</atom:updated>
            <content:encoded><![CDATA[<h3>Horizon/2: What Is AI, Anyway?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OlktO-EVlEAs7KSiJVJH8A.png" /><figcaption>AI vs ML. Generated by the Author with Midjourney</figcaption></figure><p>This article is a part of the <strong>Horizon</strong> series, that describes rising and future of Artificial Intelligence.</p><h3>Introduction: AI is a Suitcase Word</h3><p>“<em>Artificial Intelligence</em>” has become a “<em>suitcase word</em>” — a vague term into which we stuff all our anxieties, hopes, and confusion. Is the smart thermostat in your house AI? Is the Netflix recommendation engine AI? Is an LLM AI?</p><p>The simple answer is: kinda, yes, and <em>very</em> yes.</p><p>The term is so broad that it’s become almost useless. To have a meaningful conversation about AI, we first need to <strong>unpack the suitcase</strong>. The most popular articles on platforms like Medium are not complex technical papers; they are simple, non-technical explainers that do just this. This article provides that foundational vocabulary.</p><h3>The Nested Dolls: AI &gt; ML &gt; DL</h3><p>The easiest way to understand the terminology is as a set of nested dolls.</p><ul><li><strong>The Biggest Doll (Artificial Intelligence — AI):</strong> This is the broad, “big universe” concept of any program or machine that can “sense, reason, act, and adapt”. This could be anything from a simple rules-based program in the 1980s to a futuristic “Terminator.” It’s the overall <em>idea</em> of a non-biological intelligence.</li><li><strong>The Middle Doll (Machine Learning — ML):</strong> This is a <em>subset</em> of AI and the dominant form of AI in use today. The key idea of ML is that instead of a human programmer writing <em>rules</em> for the computer, the programmer simply feeds the machine vast amounts of <em>data</em> and allows it to <em>learn</em> its own rules. Your Netflix queue, your spam filter, and your “people you may know” feed are all powered by ML.</li><li><strong>The Smallest Doll (Deep Learning — DL):</strong> This is a specialized, “souped-up” <em>subset</em> of Machine Learning. Deep Learning uses complex structures called “neural networks” to learn from even vaster amounts of data, “mimicking the way a human brain works”. When you hear about an AI recognizing objects in an image , understanding human language (Natural Language Processing) , or powering a chatbot like ChatGPT, you are hearing about Deep Learning.</li></ul><h3>The Old Way vs. The New Way</h3><p>This “nested doll” structure represents a complete revolution in how we program computers.</p><ul><li><strong>The “Old Way” (Symbolic AI):</strong> For decades, AI researchers tried to build “top-down” expert systems. To build a “medical AI,” programmers would interview a top doctor for months, then try to write a million “IF-THEN” rules (“IF the patient has a fever AND a cough, THEN check for X…”). This approach was brittle, time-consuming, and mostly failed.</li><li><strong>The “New Way” (Deep Learning):</strong> Today, the systems are built as “bottom-up” learners. To build an AI spam filter, for example, we don’t write millions of “IF-THEN” rules like, “<em>IF the email contains ‘viagra’ THEN mark as spam.</em>” Instead, we simply feed the system millions of real emails and label them: “<em>This batch is spam, this batch is not spam.</em>” The Deep Learning neural network then analyzes all that text, building its own complex set of rules and patterns — far more subtle and accurate than any human could write — to determine what “spam” <em>actually</em> looks like.</li></ul><h3>The Three Flavors of AI: ANI, AGI, ASI</h3><p>The <em>other</em> key framework for understanding AI is not about <em>how</em> it’s built, but about its <em>capability</em>.</p><ol><li><strong>Artificial Narrow Intelligence (ANI):</strong> This is the “one-trick pony”. ANI describes an AI that is superhuman at <em>one specific task</em> — like playing Go, trading stocks, scanning X-rays, or completing your text. <em>This is all we have today.</em> Every AI in existence, including ChatGPT, is a form of ANI.</li><li><strong>Artificial General Intelligence (AGI):</strong> This is the “<em>human-level</em>” AI, the “holy grail” of AI research. AGI is a <em>hypothetical</em> system that could “<em>match or surpass human capabilities across virtually all cognitive tasks</em>”. It wouldn’t just be good at one thing; it could generalize knowledge, transfer skills between domains, and solve novel problems. Companies like OpenAI, Google DeepMind, and xAI have explicitly stated that building AGI is their primary goal.</li><li><strong>Artificial Superintelligence (ASI):</strong> This is the “<em>God-level</em>” AI. ASI would be a system that doesn’t just match humans, but “outperform[s] the best human abilities across every domain by a wide margin”. This is the hypothetical, futuristic concept that drives the “<em>existential risk</em>” debate.</li></ol><p>We will touch the latter two in the further articles of the Horizon series.</p><h3>So, How Do We Measure “Intelligence”?</h3><p>This brings us to the core question: How do we even <em>test</em> for “<em>intelligence</em>”? The most famous measure is the <strong>Turing Test</strong>, proposed by Alan Turing in 1950. He suggested a machine is “intelligent” if it can hold a text-based conversation with a human without the human realizing they are chatting with a computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*JCSlJnIF-TJClkBXW4HxAQ.png" /><figcaption>ELIZA chatbot. wikipedia</figcaption></figure><p>This test was famously challenged as early as the 1960s by a program called <strong>ELIZA</strong>. ELIZA was a simple script that mimicked a psychotherapist by mostly reflecting a user’s statements back at them. Its creator, <strong>Joseph Weizenbaum</strong>, was horrified to find that his secretary and others were forming emotional attachments to the program, <em>believing</em> it genuinely understood them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*yQpzd1aIs3ABuElyhycEyQ.png" /><figcaption>PARRY chatbot. Researchgate</figcaption></figure><p>A few years later, in 1972, a more advanced chatbot named <strong>PARRY</strong> (simulating a person with paranoid schizophrenia) was tested on a group of experienced psychiatrists. The psychiatrists were only able to distinguish PARRY from a real patient 48% of the time — no better than a coin flip. These early examples proved that the Turing Test was perhaps more a test of <em>human gullibility</em> than of <em>machine intelligence</em>. Today, modern LLMs can pass this classic test with ease, rendering it obsolete as a serious measure.</p><p>Since the Turing Test is more about deception than capability, researchers today rely on a massive suite of concrete <strong>benchmarks</strong> to measure progress. These aren’t philosophical debates; they are standardized exams. Instead of asking “<em>Is it human-like?</em>” they ask “<em>Can it reason?</em>” Key examples include:</p><ul><li><strong>SuperGLUE (General Language Understanding Evaluation):</strong> A rigorous gauntlet of tasks designed to test an AI’s ability to handle complex language challenges, like solving logic puzzles, understanding causality, and determining what a pronoun (“it”) refers to in a complex sentence.</li><li><strong>MMLU (Massive Multitask Language Understanding):</strong> A comprehensive test of an AI’s breadth of knowledge. It consists of multiple-choice questions from 57 different subjects, including high school math, professional law, and medicine, to see if the model can “know” and apply information like a human expert.</li></ul><p>This brings us back to the original point. Whether these systems are “really” intelligent is a philosophical black hole. The right question is: “Are they useful?” As we are all now discovering, a tool doesn’t need to be “<em>sentient</em>” to change the world.</p><p>Knowing how it works from inside, for me those are matrix multiplications. This cannot be a “real intelligence”. But obviously those matrices are multiplied in the very, very right order :)</p><h3>Useful Links</h3><ul><li><a href="https://redirect.cs.umbc.edu/courses/471/papers/turing.pdf"><strong>Computing Machinery and Intelligence (1950)</strong></a><strong>:</strong> Alan Turing’s original paper (PDF) that introduces the “Imitation Game,” now known as the Turing Test.</li><li><a href="https://github.com/hendrycks/test"><strong>MMLU Benchmark (GitHub)</strong></a><strong>:</strong> The academic paper and data for the Massive Multitask Language Understanding benchmark.</li><li><a href="https://super.gluebenchmark.com/"><strong>SuperGLUE Benchmark</strong></a><strong>:</strong> The official leaderboard and task descriptions for the SuperGLUE benchmark.</li><li><a href="https://www.ibm.com/think/topics/ai-vs-machine-learning-vs-deep-learning-vs-neural-networks"><strong>AI vs. ML vs. DL: What’s the Difference?:</strong> </a>A clear, non-technical explainer from IBM that breaks down the core concepts.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=daf4b96b2499" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Horizon: The Dream of the Thinking Machine (An Introduction)]]></title>
            <link>https://medium.com/@shamil.yagiyayev/horizon-the-dream-of-the-thinking-machine-an-introduction-5d2c174ec50c?source=rss-38c5c1ebd401------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d2c174ec50c</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[alan-turing]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[aihistory]]></category>
            <dc:creator><![CDATA[Shamil Yagiyayev]]></dc:creator>
            <pubDate>Sat, 08 Nov 2025 16:35:34 GMT</pubDate>
            <atom:updated>2025-11-11T12:32:23.241Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Horizon/1</strong>: <strong>The Dream of the Thinking Machine: A History of AI</strong></h3><figure><img alt="Alan Turing. Created with Midjourney by the Author" src="https://cdn-images-1.medium.com/max/1024/1*xbM2UhxlN9KWS0FSBbxSdA.png" /><figcaption><strong><em>Alan Turing</em></strong><em>. Created with Midjourney by the Author</em></figcaption></figure><h3>Introduction</h3><p>Like many of us, I overlooked the moment <strong>ChatGPT</strong> arrived. Even though I had used GPT-3, it felt like a glorified autocomplete, a nice T9 that could be improved but wasn’t about to change the world. Then came ChatGPT, and it passed my personal “<strong>Turing Test</strong>.” That’s when I started to really think about what it all meant. I took it personally, diving into DeepLearning.AI specializations at Coursera, reading research papers, participated at Kaggle competition, and even building machine learning systems for my job. But I still find it hard to predict the next transformation of our world. Something new happens almost daily, and it feels like looking through a <strong>kaleidoscope</strong>.</p><p>I decided to do this research for myself, to understand the perspectives of the people who are closest to what is happening and what comes next. And I want to share this journey with you. This research is too big for one article, so I’m creating a series called “<strong>Horizon</strong>” to focus on different aspects. I want to target a large non-technical, though educated audience for this series.</p><p><em>A quick disclaimer</em>: <em>I will use AI to help with creating this series — for searching for information and getting inspiration. However, I compiled everything in the end. I’ve reviewed the sources and rewritten it in a way I would want to read it myself. Also I use long “—” when it’s applicable :)</em></p><h3>A Brief History of a Big Idea</h3><p>The dream of a “<em>thinking machine</em>” isn’t new; it’s a concept that dates back thousands of years, rooted deeply in ancient Greek mythology. These early “thought experiments” explored the creation of artificial life long before computers existed. We see this in the myth of <strong>Talos</strong>, a giant bronze robot forged by the god Hephaestus to guard the island of Crete, and in Hephaestus’s own golden handmaidens, described by Homer as automated servants possessing divine knowledge. Even the tale of <strong>Pandora</strong>, crafted from clay by the gods, or Pygmalion’s ivory statue, <strong>Galatea</strong>, which was brought to life, reflect a timeless human fascination with engineering artificial beings and grappling with the profound power — and potential peril — of our own creations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/255/1*Y-lpNylXgQvvP3gtyNCVig.jpeg" /><figcaption>I, ROBOT. First edition cover. wikipedia</figcaption></figure><p>It was 20th-century science fiction that truly defined the “<em>thinking machine</em>” for the modern world, shaping the very hopes and fears we grapple with today. <strong>Isaac Asimov</strong>’s I, <em>Robot</em> stories were not just entertainment; they were foundational thought experiments, establishing the “<strong>Three Laws of Robotics</strong>” that became the blueprint for our entire discourse on AI ethics and alignment.</p><ol><li>A robot may not injure a human being or, through inaction, allow a human being to come to harm.</li><li>A robot must obey orders given it by human beings except where such orders would conflict with the First Law.</li><li>A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.</li></ol><p><em>Later, Asimov sometimes added a “Zeroth Law”: a robot may not harm humanity, or, by inaction, allow humanity to come to harm.</em></p><p>This cultural conversation then exploded onto the screen, creating a powerful duality: we dreamed of loyal, resourceful companions like <strong>R2-D2</strong> and <strong>C-3PO</strong> in <em>Star Wars</em>, while simultaneously internalizing a deep-seated terror of rogue intelligence — from the chillingly calm betrayal of <strong>HAL 9000</strong> in 2001: A Space Odyssey to the apocalyptic warfare waged by <strong>Skynet</strong> in <em>The Terminator</em>. These stories became our modern myths, providing the shared language and emotional framework for what it might mean when our creations truly begin to think.</p><p>This ancient dream of interacting with an artificial mind also resonates with my own personal experience. When I was about ten years old, my class took a field trip to Kyiv, where a local <em>children creativity center</em> had a human-like wooden robot installed in the lobby. We could ask it questions through a special microphone, and it would answer. The queue was a long one. I decided to test its erudition and asked, “<em>How many countries are in the world?</em>” The robot’s reply was simply, “<em>A lot.</em>” Frankly, I was completely unsatisfied. It felt like a hoax; I was convinced some teenager was just hiding in the next room responding instead. Looking back on it now, however, I realize that this was, in essence, my very first encounter with a sort of proto-ChatGPT :)</p><h3>A Scientific Lens</h3><p>The scientific journey, marked by incredible highs and frustrating lows, began in the mid-20th century.</p><p><strong>1950–1956: The Spark of an Idea</strong>. The journey moved from science fiction to a real academic pursuit. In 1950, the brilliant mathematician Alan Turing published his seminal paper, “<em>Computing Machinery and Intelligence,</em>” asking the revolutionary question: “<em>Can machines think?</em>”. He proposed the “<strong>Turing Test</strong>” as a way to find out. The field got its name in 1956 at the Dartmouth Workshop, where the term “<strong>artificial intelligence</strong>” was officially coined. The researchers there were incredibly optimistic, predicting a fully intelligent machine could be built in a generation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*JCSlJnIF-TJClkBXW4HxAQ.png" /><figcaption>ELIZA chatbot. wikipedia</figcaption></figure><p><strong>1956–1974: The Golden Years of Discovery.</strong> The years following Dartmouth were astonishing. Computers were solving algebra problems, proving geometric theorems, and learning to speak English. We saw early chatbots like <strong>ELIZA</strong>, which mimicked a psychotherapist, capturing the public’s imagination. But the initial hype outpaced the reality of the technology.</p><p><strong>1974–1980: The First “AI Winter”.</strong> Progress hit a wall. The promises made were too grand for the computers of the day. When the high-profile predictions failed to materialize, government and academic funding dried up, plunging the field into its first “AI winter.”</p><p><strong>1980–1987: The Rise of Expert Systems.</strong> AI saw a comeback in the 80s with the boom of “expert systems” — programs designed to replicate the decision-making of a human expert in a specific field, like medicine or finance. For a while, this commercial success fueled a new wave of investment.</p><p><strong>1987–1993: The Second “AI Winter”.</strong> The expert systems market collapsed. The systems were expensive to maintain, difficult to update, and too specialized. Once again, the hype bubble burst, leading to another period of reduced funding and interest. However, crucial research continued quietly in the background. It was during this era that when the <em>backpropagation</em> algorithm was refined, that would become the foundation for the next wave.</p><p><strong>1997–2010s: The Quiet Dawn of Deep Learning.</strong> The tide began to turn again. In 1997, <strong>IBM’s Deep Blue</strong> chess computer defeated world champion <strong>Garry Kasparov</strong>, a massive symbolic victory. More importantly, the combination of faster computers (especially GPUs) and the availability of vast amounts of data on the internet created the perfect conditions for a new technique: <em>deep learning</em>.</p><p><strong>2012: AlexNet Kicks Off the Deep Learning Revolution.</strong> The modern AI boom ignited when a deep neural network named <strong>AlexNet</strong> shattered all records at the ImageNet image recognition challenge. Its success wasn’t just a small improvement; it decisively proved the overwhelming power of <strong>deep learning</strong> and kicked off a global gold rush of research and investment that continues to this day.</p><p><strong>2016: AlphaGo Masters Human Intuition.</strong> Google DeepMind’s <strong>AlphaGo</strong> achieved what many experts thought was still decades away: it defeated <strong>Lee Sedol</strong>, the 18-time world champion of Go. This was a profound milestone because Go is a game of immense complexity and human “intuition.” AlphaGo’s victory demonstrated that AI could develop emergent strategies and master tasks that were previously thought to be uniquely human.</p><p><strong>2017: The “Attention Is All You Need” Paper.</strong> A single Google research paper introduced the revolutionary “<strong>Transformer</strong>” architecture. By providing a new way for models to track relationships and context — to “pay attention” — it solved major bottlenecks that had held back language processing. This paper became the essential technical foundation for the powerful Large Language Models (LLMs) that would soon follow, including the entire GPT series.</p><p><strong>2022: ChatGPT Brings AI to the Mainstream.</strong> OpenAI released <strong>ChatGPT</strong>, a conversational AI wrapped in a simple, user-friendly interface. Its astonishing fluency and capability made it the fastest-growing application in history, placing the power of advanced AI directly into the hands of hundreds of millions of people. This was the moment the technology left the research lab and began the global, societal-scale revolution we are all living through right now.</p><h3>The Road Ahead: From Who to What</h3><p>That 2022 moment brings us to today. The “<em>glorified autocomplete</em>” is now setting the agenda for our global economy, and the pace is accelerating.</p><p>But this isn’t a simple, linear story. It’s the kaleidoscope I mentioned.</p><p>To understand this new world, we can’t just look at the technology; we have to understand the profound, conflicting ideas of the people building it. We are in a new arms race, but the battles are being fought on multiple fronts at once:</p><ul><li><strong>An Economic Front:</strong> Is this a “job-killer” or the greatest productivity boom in history?</li><li><strong>A Hardware Front:</strong> A trillion-dollar gold rush for “picks and shovels” that has made one company the kingmaker for the entire industry.</li><li><strong>A Philosophical Front:</strong> Are we building a smart toaster, or are we summoning a god? The builders themselves are in a state of open, public disagreement over whether their creations will save us or kill us all.</li><li><strong>A Practical Front:</strong> The technology is making a critical leap from <em>talking</em> to <em>doing</em>, creating a new workforce of “AI agents”.</li></ul><p>And much more.</p><p>The goal of <strong>Horizon</strong> is to give us (you and me) a map to this new territory. In the articles to come, we will dive deep into each of these conflicts, one by one. Let’s explore it together.</p><h3>Useful Links</h3><ul><li><a href="https://www.deeplearning.ai/">https://www.deeplearning.ai/</a></li><li><a href="https://en.wikipedia.org/wiki/Turing_test">https://en.wikipedia.org/wiki/Turing_test</a></li><li><a href="https://en.wikipedia.org/wiki/Three_Laws_of_Robotics">https://en.wikipedia.org/wiki/Three_Laws_of_Robotics</a></li><li><a href="https://en.wikipedia.org/wiki/ELIZA">https://en.wikipedia.org/wiki/ELIZA</a></li><li><a href="https://www.youtube.com/watch?v=WXuK6gekU1Y">https://www.youtube.com/watch?v=WXuK6gekU1Y</a> — <strong>AlphaGo</strong> Movie</li><li><a href="https://www.ibm.com/history/deep-blue">https://www.ibm.com/history/deep-blue</a></li><li><a href="https://medium.com/@fahey_james/the-story-of-alexnet-a-historical-milestone-in-deep-learning-79878a707dd5">https://medium.com/@fahey_james/the-story-of-alexnet-a-historical-milestone-in-deep-learning-79878a707dd5</a> — <strong>AlexNet</strong></li><li><a href="https://arxiv.org/abs/1706.03762">https://arxiv.org/abs/1706.03762</a> — <strong>Attention is All You Need</strong> paper</li><li><a href="https://www.reuters.com/technology/chatgpt-sets-record-fastest-growing-user-base-analyst-note-2023-02-01/">https://www.reuters.com/technology/chatgpt-sets-record-fastest-growing-user-base-analyst-note-2023-02-01/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d2c174ec50c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Efficiently Generating Armstrong Numbers: A Deep Dive into Algorithms and Optimizations with JAVA]]></title>
            <link>https://medium.com/@shamil.yagiyayev/efficiently-generating-armstrong-numbers-a-deep-dive-into-algorithms-and-optimizations-with-java-3c6df020b006?source=rss-38c5c1ebd401------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c6df020b006</guid>
            <category><![CDATA[backtracking]]></category>
            <category><![CDATA[hashing]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[armstrong-number]]></category>
            <dc:creator><![CDATA[Shamil Yagiyayev]]></dc:creator>
            <pubDate>Tue, 13 Aug 2024 12:35:24 GMT</pubDate>
            <atom:updated>2024-08-13T12:43:02.844Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PNufuP65b55DrVNv4XkCPg.jpeg" /></figure><h3>Introduction to Armstrong Numbers</h3><p>Armstrong numbers, also known as <strong>Narcissistic numbers</strong>, are a unique class of numbers that fascinate both mathematicians and computer scientists. These numbers have a special property: they are equal to the sum of their own digits, each raised to the power of the number of digits in the number.</p><p>For example:</p><ul><li><strong>153</strong> is an Armstrong number because 1³+5³+3³=1+125+27=153.</li><li><strong>370</strong> is also an Armstrong number: 3³+7³+0³=27+343+0=370.</li><li><strong>9474</strong> is another, calculated as 9⁴+4⁴+7⁴+4⁴=6561+256+2401+256=9474.</li></ul><p>The first Armstrong numbers are: all single digits, 153, 370, 371, 407, 1634, 8208, 9474, 54748, 92727, 93084, 548834, 1741725, 4210818 …</p><p>The concept is simple, yet generating these numbers, especially across large ranges, can be computationally challenging. This article will delve into various algorithms and optimizations designed to efficiently generate Armstrong numbers, exploring practical methods and the trade-offs involved. The implementations and examples discussed here are drawn from my <a href="https://github.com/shamily/ArmstrongNumbers">Armstrong Numbers GitHub repository</a>, where you can find the complete code and further details.</p><p>In this article, we’ll explore several methods to generate Armstrong numbers efficiently:</p><ol><li><strong>Brute Force Algorithm</strong>: This straightforward method involves checking each number in a range to see if it satisfies the Armstrong condition by summing the digits raised to the appropriate power.</li><li><strong>Optimized Brute Force</strong>: An enhanced version of the brute force approach, this method uses parallel processing and precomputed powers to reduce redundant calculations.</li><li><strong>Hash Approach</strong>: This innovative method divides the number into two parts and uses a hash map to store intermediate results, dramatically improving efficiency.</li><li><strong>Multi-Set Approach</strong>: This advanced technique leverages the properties of multi-sets of digits to calculate Armstrong numbers, reducing the computational complexity by focusing only on valid digit combinations.</li><li><strong>Optimized Multi-Set Approach</strong>: Few optimization ideas on the previous methods are implemented.</li></ol><p>These methods, implemented and refined in the <a href="https://github.com/shamily/ArmstrongNumbers">Armstrong Numbers GitHub repository</a>, offer a comprehensive toolkit for tackling the challenge of generating Armstrong numbers across various ranges. Each approach provides different trade-offs between simplicity, computational efficiency, and memory usage.</p><h3>1. Brute Force Approach</h3><p>The brute force approach to finding Armstrong numbers involves checking each number in a given range to see if it satisfies the Armstrong number condition. The ArmstrongNumbersBruteforce class in the repo provides a basic yet effective implementation of this method.</p><p>Here’s how it works.</p><h4><strong>Precompute Powers</strong></h4><p>The method genPows precomputes powers of digits (0-9) up to a specified number of digits (N). This optimization reduces the computational load during the number-checking process.</p><pre>private static void genPows(int N) {<br>    if (N &gt; 20) throw new IllegalArgumentException();<br>    pows = new long[10][N + 1];<br>    for (int i = 0; i &lt; pows.length; i++) {<br>        long p = 1;<br>        for (int j = 0; j &lt; pows[i].length; j++) {<br>            pows[i][j] = p;<br>            p *= i;<br>        }<br>    }<br>}</pre><h4><strong>Checking Armstrong Numbers</strong></h4><ul><li>The check method verifies if a number is an Armstrong number by summing the precomputed powers of its digits and comparing the sum to the original number.</li></ul><pre>private static boolean check(long i) {<br>    long powSum = 0;<br>    long x = i;<br>    int N = ((int) Math.log10(x)) + 1;<br>    do {<br>        int mod = (int) x % 10;<br>        powSum += pows[mod][N];<br>        x = x / 10;<br>    } while (x != 0);<br>    return powSum == i;<br>}</pre><h4><strong>Generating Armstrong Numbers</strong></h4><ul><li>The generate method iterates over all numbers up to a given digit length (maxN), using the check method to identify Armstrong numbers and add them to a list of results.</li></ul><pre>public static List&lt;Long&gt; generate(int maxN) {<br>    if (maxN &gt;= 20) throw new IllegalArgumentException();<br>    List&lt;Long&gt; results = new ArrayList&lt;&gt;();<br>    genPows(maxN);<br>    long limit = (long) Math.pow(10, maxN);<br>    for (long i = 1; i &lt; limit; i++) {<br>        if (check(i)) results.add(i);<br>    }<br>    return results;<br>}</pre><h4><strong>Performance Considerations</strong></h4><p>This brute force approach is straightforward and easy to implement. By precomputing the powers, it avoids redundant calculations and performs reasonably well for smaller ranges of numbers. However, as the range increases, the computational load can become significant. This is where more advanced techniques, such as the optimized brute force method discussed later, can offer substantial performance improvements.</p><p>This method is ideal for educational purposes or for cases where the range of numbers is not prohibitively large.</p><h3>2. Optimized Brute Force Approach</h3><p>The ArmstrongNumbersBruteforceOpt class offers a modest but meaningful improvement over the basic brute-force method:</p><h4><strong>Recursive Search</strong></h4><p>The previous method iteratively checked each number in a range. The optimized version uses a recursive approach to construct potential Armstrong numbers digit by digit, avoiding the need to check every single number.</p><pre>private static void search(int depth, long num, long pow) {<br>        if (depth == N) {<br>            if (pow == num) results.add(num);<br>            return;<br>        }<br><br>        num *= 10;<br>        for (int i = 0; i &lt; 10; i++) {<br>            if (depth == 0 &amp;&amp; i == 0) continue;<br>            search(depth + 1, num + i, pow + pows[i][N]);<br>        }<br>    }</pre><h4><strong>Efficiency Gains</strong></h4><p>While the optimization doesn’t dramatically reduce computation time compared to more advanced methods, it does offer a performance improvement. The recursion allows the algorithm to focus only on promising digit combinations, reducing the total number of checks required.</p><h4><strong>Limitations</strong></h4><p>Despite these improvements, the brute-force method remains impractical for very large numbers, as indicated in the benchmark results, where even the optimized version still takes several seconds for numbers with less than 10 digits and remains infeasible for larger ranges.</p><p>This approach is a step forward but is ultimately overshadowed by more sophisticated algorithms like the hash approach and the multi-set method.</p><h3>3. Hash Approach — Divide and Conquer</h3><p>The Hash Approach significantly optimizes the process of generating Armstrong numbers by splitting the problem into two parts and using a hash map to manage intermediate results. Here’s how it works:</p><h4>Divide the Number</h4><p>The number is split into two parts. For an odd number of digits N, the first part is slightly longer. For example, if `N=7`, the number is divided as XXXXYYY, where XXXX is the first part (4 digits), and YYY is the second part (3 digits).</p><h4>Process the Second Part</h4><p>All possible combinations of digits for the second part are generated. For each combination, the sum of the digits raised to the power N is computed. This sum is stored in a hash map, with the key being the difference between the target value and the current combination’s sum. Here’s the relevant code:</p><pre>private static void searchSecondHalf(int depth, int target, long number, long pow) {<br>    if (depth == target / 2) {<br>        long p = pow - number;<br>        reach.computeIfAbsent(p, k -&gt; new ArrayList&lt;&gt;()).add(number);<br>        return;<br>    }<br>    number *= 10;<br>    for (int i = 0; i &lt; 10; i++) {<br>        searchSecondHalf(depth + 1, target, number + i, pow + pows[i][target]);<br>    }<br>}</pre><p>For example, for i=725, the sum p is calculated as 7⁷+2⁷+5⁷=901796. The hash map stores the pair {901071, 725}.</p><h4>Process the First Part</h4><p>Next, all possible combinations of digits for the first part are generated (excluding leading zeros). The sum of the digits raised to the power N is computed, and the algorithm checks if the corresponding key exists in the hash map. If a match is found, the two parts are combined to form an Armstrong number:</p><pre>private static void searchFirstHalf(int depth, int target, long number, long pow) {<br>    if (depth == (target + 1) / 2) {<br>        number = number * (long) Math.pow(10, target / 2);<br>        long p = number - pow;<br><br>        if (reach.containsKey(p)) {<br>            for (Long l : reach.get(p)) {<br>                results.add(number + l);<br>            }<br>        }<br>        return;<br>    }<br><br>    number *= 10;<br>    for (int i = 0; i &lt; 10; i++) {<br>        if (i == 0 &amp;&amp; depth == 0) continue;<br>        searchFirstHalf(depth + 1, target, number + i, pow + pows[i][target]);<br>    }<br>}</pre><p>For example, for i=1741, the sum p is calculated as 1⁷+7⁷+4⁷+1⁷=839929. The algorithm looks for the key 1741000−839929=901071 in the hash map. If it exists, the Armstrong number 1741725 is formed by combining 1741 and 725.</p><h4>Handling Multiple Values</h4><p>The hash map must store multiple values for each key to handle cases where different digit combinations yield the same sum, such as with the numbers 370 and 371.</p><p>This method, implemented in the <a href="https://github.com/shamily/ArmstrongNumbers/blob/master/ArmstrongNumbersHash.java">ArmstrongNumbersHash.java</a> file, provides a powerful and efficient way to generate Armstrong numbers by leveraging the divide-and-conquer principle, significantly reducing the number of checks needed compared to brute-force methods.</p><h3>4. Multi-Set Approach</h3><p>The Multi-Set Approach leverages the observation that for any given multi-set of digits, there is a unique sum of their powers. If this sum can be represented by the digits in the set, it qualifies as an Armstrong number.</p><h4>How It Works</h4><ol><li><strong>Generate Multi-Sets:</strong> For each digit length N, generate all possible multi-sets of N digits. A multi-set is a combination where digits can repeat.</li><li><strong>Calculate Sum of Powers:</strong> For each multi-set, calculate the sum of the digits raised to the power N.</li><li><strong>Check Validity:</strong> Verify if the sum can be formed using the original multi-set of digits. If it matches, add the number to the result list.</li></ol><p>Here’s how it’s implemented:</p><pre>private static void search(int digit, int unused, long pow) {<br>    if (digit == 10) {<br>        if (check(pow)) results.add(pow);<br>        return;<br>    }<br><br>    if (digit == 9) {<br>        digitsMultiSet[digit] = unused;<br>        search(digit + 1, 0, pow + unused * pows[digit][N]);<br>    } else {<br>        for (int i = 0; i &lt;= unused; i++) {<br>            digitsMultiSet[digit] = i;<br>            search(digit + 1, unused - i, pow + i * pows[digit][N]);<br>        }<br>    }<br>}</pre><h4><strong>Performance</strong></h4><p>The complexity is based on the number of multi-set combinations, which grows with N. However, this approach significantly reduces the number of cases compared to brute force.</p><p>The method is implemented in <a href="https://github.com/shamily/ArmstrongNumbers/blob/master/ArmstrongNumbersMultiSetLong.java">ArmstrongNumbersMultiSetLong.java</a>. This approach is highly efficient for generating Armstrong numbers for larger values of N.</p><h3>5. Optimized Multi-Set Approach</h3><p>The optimized version of the Multi-Set Approach further enhances the efficiency of generating Armstrong numbers by introducing several key improvements:</p><h4><strong>Early Pruning</strong></h4><p>The search method now includes early pruning based on precomputed minimum and maximum power thresholds (minPow and maxPow). This allows the algorithm to skip unnecessary calculations if the current power sum falls outside the valid range.</p><pre>if (pow &gt;= maxPow) return;<br>if (pow + unused * pows[digit][N] &lt; minPow) return;</pre><h4><strong>Efficient Multi-Set Validation</strong></h4><p>The check method optimizes the validation process by quickly rejecting potential numbers if the multi-set distribution exceeds the digit counts allowed by the original multi-set.</p><pre>while (pow &gt; 0) {<br>    int i = (int) (pow % 10);<br>    testMultiSet[i]++;<br>    if (testMultiSet[i] &gt; digitsMultiSet[i]) return false;<br>    pow = pow / 10;<br>}</pre><h4><strong>Iterative Search Optimization</strong></h4><p>The iterative construction of possible numbers is refined, reducing unnecessary recursive calls and limiting the exploration of invalid branches.</p><p>These optimizations make the algorithm more effective by reducing the number of computations, particularly for larger digit lengths while maintaining accuracy and completeness. The implementation is available in <a href="https://github.com/shamily/ArmstrongNumbers/blob/master/ArmstrongNumbersMultiSetLongOpt.java">ArmstrongNumbersMultiSetLongOpt.java</a>.</p><h3>Benchmarking</h3><p>Let’s compare the performance of different algorithms at my old MacBook Pro:</p><pre>| Algorithm                        | int (N&lt;10)   | long (N&lt;20)        | BigInteger (N&lt;40) | <br>|----------------------------------|:------------:|:------------------:|:-----------------:|<br>| Brute Force                      | ~55 seconds  | few thousand years | N/A               |<br>| Improved Brute Force             | ~3.7 s       | ~300 years         | N/A               |<br>| Hash Approach                    | 50 ms        | OutOfMemory.       | N/A               | <br>| Multi-set Approach               | 15 ms        | ~1.1 s             | N/A               | <br>| Multi-set Improved               | 11 ms        | ~550 ms            | N/A               | <br>| Multi-set Improved BigInteger    | ~100 ms      | ~5.5 s             | ~0.5 hours        |</pre><p>The optimized multi-set algorithm clearly outperforms other methods, especially for larger digit lengths, providing the best balance of speed and scalability.</p><h3>Conclusion</h3><p>Generating Armstrong numbers is a fascinating computational challenge that reveals the power of algorithmic optimizations. From brute force methods to advanced techniques like the hash and multi-set approaches, each method offers unique benefits. The optimized multi-set approach stands out as the most efficient, capable of handling large digit lengths with impressive speed.</p><p>If you found this article helpful or interesting, please give it a like, share it with others who might benefit, and follow me for more content like this. You can also check out the full implementations on my <a href="https://github.com/shamily/ArmstrongNumbers">GitHub repository</a>. Thank you for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c6df020b006" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>