Skip to content
Episode from the podcast Machine Learning Guide
MLG 024 Tech Stack artwork

Episode

MLG 024 Tech Stack

Released Saturday, October 7th 2017 1 hr 1 min

Show notes

About this episode

Try a walking desk to stay healthy while you study or work! Notes and resources at  ocdevel.com/mlg/24  Hardware Desktop if you're stationary, as you'll get the best performance bang-for-buck and improved longevity; laptop if you're mobile. Desktops. Build your own PC, better value than pre-built. See PC Part Picker, make sure to use an Nvidia graphics card. Generally shoot for 2nd-best of CPUs/GPUs. Eg, RTX 4070 currently (2024-01); better value-to-price than 4080+. For laptops, see this post (updated). OS / Software Use Linux (I prefer Ubuntu), or Windows, WSL2, and Docker. See mla/12 for details. Programming Tech Stack Deep-learning frameworks. You'll use both TF & PT eventually, so don't get hung up. mlg/9 for details. Tensorflow (and/or Keras) PyTorch (and/or Lightning) Shallow-learning / utilities: ScikitLearn, Pandas, Numpy Cloud-hosting: AWS / GCP / Azure. mla/13 for details. Episode Summary The episode discusses setting up a tech stack tailored for machine learning, emphasizing the necessity of choosing a primary programming language and framework, which, in this case, are Python and TensorFlow. The decision is supported by the ongoing popularity and community support for these tools. This preference is further influenced by the necessity for GPU optimization, which TensorFlow provides, allowing for enhanced performance through utilizing Nvidia's CUDA technology. A notable change in the landscape is the decline of certain deep learning frameworks such as Theano, and the rise of competitors like PyTorch, which is gaining traction due to its ease of use in comparison to TensorFlow. The author emphasizes the importance of selecting frameworks with robust community support and resources, highlighting TensorFlow's lead in the market in this respect. For hardware, the suggestion is a custom-built PC with a powerful Nvidia GPU, such as the 1080 TI, running Ubuntu Linux for best compatibility. However, for those who favor cloud services, Amazon Web Servi...

More from Machine Learning Guide

All episodes

MLA 030 AI and Programming Jobs in 2026

31 min

AI and programming jobs in 2026: unemployment held and software postings are recovering, but entry-level hiring narrowed and the growth went senior. Why cheap code made specs, verification and domain knowledge scarce, where AI jobs grew, and what to learn and show. Links Notes and resources at ocdevel.com/mlg/mla-30 Join the free MLG group: listen to my other AI shows, ask me questions, and talk with other listeners Will AI replace programmers? Not in aggregate so far. US unemployment was 4.1% in October 2026, in a 4.1–4.3% range since March. What changed is who gets hired. Stanford's Canaries in the Coal Mine (August 2026, ADP payroll data through June) puts 22–25 year olds in the most AI-exposed occupations 19% below less-exposed peers, up from 15% a year earlier. The gap comes from reduced hiring, not layoffs, concentrates where AI automates the task, and holds when tech firms and computer occupations are excluded. The authors call it descriptive, not causal. Are software jobs coming back? Postings are, at the senior end. Indeed's software development index (Feb 2020 = 100): ~234 (Mar 2022) → ~61 (May 2025) → ~81 (Nov 2026) That's +24% year over year and still 19% below pre-pandemic, while all postings are about 4% above. 71% of the 2025–26 increase came from senior roles and 37% from AI-titled jobs. Is it harder to get a first job in software? Yes. In Q1 2026, Indeed classed 69% of software postings as senior and 4.5% as entry-level. SignalFire puts new-grad hiring at 12 big tech companies down about 65% from 2019. In the New York Fed's 2024 data by major: Recent grads Unemployment Underemployment Early-career median pay Computer engineering 7.8% 15.8% $90,000 Computer science 7.0% 19.1% $87,000 All majors 4.2% 39.4% $58,000 How many layoffs are because of AI? About a fifth of announced US cuts in 2026: 121,401 through October, per Challenger, Gray & Christmas. AI led as a stated reason through the summer, then fell to 1,265 in October. Total cuts are do...

MLA 029 Is OpenClaw Safe? Uses and Alternatives

32 min

OpenClaw in 2026 is safe for read-only jobs on its own machine and accounts, not as a full-access assistant logged in as you. What it's for, how to harden it and vet skills, what it costs, and the alternatives: Hermes Agent, Gemini Spark and OpenAI's dots. Links Notes and resources at ocdevel.com/mlg/mla-29 Join the free MLG group: listen to my other AI shows, ask me questions, and talk with other listeners What is OpenClaw? An open-source, self-hosted personal agent: an always-on agent loop (MLA 28) that you message from a chat app, with access to your files, shell, browser and accounts. Peter Steinberger started it in November 2025. After he joined OpenAI in February 2026, it moved to the OpenClaw Foundation, a US 501(c)(3) that keeps it MIT licensed. The software is free; you pay for the model and the server. Is OpenClaw safe? Safe enough for read-only jobs on a machine and accounts that belong to the agent; not safe with full access to your own computer and accounts. The 2026 record: Tens of thousands of instances exposed to the internet (Censys counted 63,070 live at the end of March). A one-click remote code execution bug that stole the gateway token (January) and a pairing-token-to-admin escalation (March); about 720 advisories by November, 14 critical. Malicious ClawHub skills: 341 found by Koi Security in February (ClawHavoc), then 575+ reported by Acronis, both delivering stealers through fake "prerequisites". 2.0's shared sessions are not a security boundary, secrets aren't encrypted at rest, and sandboxing is off by default. Injection can't be patched: the prompt-injection docs report adaptive attackers beating defenses over 80% of the time. OpenClaw security best practices Where it runs: a dedicated VPS or spare box, gateway on loopback, reached over Tailscale or SSH, auth token always set. In Docker the container binds to the network, and the tool sandbox is opt-in. Identity: its own OS user, mailbox, calendar, browser profile and capped API keys...

MLA 028 How to Build an AI Agent in 2026

33 min

An AI agent is a model running tools in a loop toward a goal, and you build one in order: one call, then tools, the loop and evals. Also: frameworks, MCP vs A2A, memory, multi-agent patterns, prompt injection and cost. Links Notes and resources at ocdevel.com/mlg/mla-28 Join the free MLG group: listen to my other AI shows, ask me questions, and talk with other listeners What is an AI agent? A model running tools in a loop toward a goal: model + tools + loop + stop condition (done, turn cap, budget cap, or a human). In a workflow your code decides the next step; in an agent the model does. Coding agents specifically: MLA 22 to MLA 24. AI agent vs workflow If you can write the steps down, build a workflow. The patterns from Anthropic's Building Effective Agents: prompt chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer. Errors compound: at 95% per step, a 20-step task succeeds about 36% of the time. 0.95 ^ 20 ≈ 0.36 How to build an AI agent One model call against ~20 realistic inputs. If it works, stop. Add tools: name, description, argument schema. Your code runs each call and can refuse. Add the loop, with turn and spend caps. Add a verifier the agent must pass, and an eval suite. Tool rules: few task-sized tools, namespaced names, readable values over IDs, capped output, descriptions written like a new hire's brief. API first, then page structure, screenshots last. AI agent frameworks Simple or learning: write the loop. Operates a computer or codebase: Claude Agent SDK. Light handoffs between agents: OpenAI Agents SDK. Durable runs with human approval: LangGraph. Google or Microsoft stack: ADK or Microsoft Agent Framework. No code: n8n's AI Agent node, Zapier Agents. OpenAI's Agent Builder shuts down November 30, 2026. MCP vs A2A MCP connects an agent to tools; A2A connects agents across organizations. Both sit in the Linux Foundation's Agentic AI Foundation. The 2026-07-28 MCP revision is stateless (no handshake or session), moves...

MLA 027 AI Voice, Music and Media Pipelines

32 min

The AI media pipeline: ElevenLabs v4 or Gemini for voice, licensed music over Suno, ComfyUI once a job repeats, and fal or Replicate queues for APIs. Also voice-cloning law, upscaling, captions, loudness targets, and EU and YouTube labeling rules. Links Notes and resources at ocdevel.com/mlg/mla-27 Join the free MLG group: listen to my other AI shows, ask me questions, and talk with other listeners The AI media pipeline script → narration → images and clips (MLA 25, MLA 26) → music and sound effects → edit → upscale → captions → loudness → export → label and upload Best AI voice generator ElevenLabs Eleven v4 tops the Artificial Analysis speech arena; Gemini 3.8 Flash TTS ranks sixth at about a fifth of the price per character. It scores stock voices on short clips: shortlist there, then test your own long script. Delivery quality: Eleven v4. Cost: Gemini 3.8 Flash TTS. Open weights, license first: Fish Audio Drama 3 (community license), Breeze TTS 2 and Voxtral TTS (non-commercial weights), Kokoro and Qwen3-TTS (Apache 2.0). Chatterbox has been unmaintained since August 2026. AI voice cloning: how, and when it's legal Record 20 to 30 seconds of clean solo speech. Clone only your own voice or one whose owner signed consent naming the use. Laws: Tennessee's ELVIS Act (it also reaches tools), California and New York replica rules. The federal NO FAKES Act cleared Senate Judiciary in June 2026 and awaits a floor vote. Suno vs Udio vs licensed AI music Udio has had no downloads since its October 2025 Universal settlement. Suno's download rules: none on Free, 20 a month on Pro, 60 on Premier, with commercial rights while subscribed; Universal and Sony sued over its v6 model in September 2026. Licensed alternatives: Eleven Music, Google's Lyria 3.5 (SynthID-watermarked), and open-weight Stable Audio 3 and ACE-Step 1.5. What is ComfyUI? A node graph that runs open image, video and audio models and, through Partner Nodes, hosted ones. Learn it when a multi-step job r...

MLA 026 Best AI Video Generators in 2026

30 min

AI video generation in 2026 has no single winner: Gemini Omni, Wan 3, Seedance 2.5 and MiniMax H3 models are near-tied, Kling 4 leads on control, and Sora is gone. It also covers Runway as a multi-model host, image-to-video, consistency, editing, avatars, cost per minute and free options. Links Notes and resources at ocdevel.com/mlg/mla-26 Join the free MLG group: listen to my other AI shows, ask me questions, and talk with other listeners What happened to Sora OpenAI closed the Sora app on April 26, 2026 and the API on September 24, 2026. Its deprecation page lists "no one-to-one replacement." The closest match is Gemini Omni Flash. Best AI video generator No single model wins. The top ten of the Artificial Analysis text-to-video arena sit within about 40 Elo points, close to a 55/45 split, and Arena orders them differently. Pick by job: Start from text, or edit afterward: Gemini Omni Flash (3–15 s clips, 3–10 s on Flow's free tier, up to six reference images) or Wan 3.0 (closed weights, 30 s takes, accepts documents). Start from a still: Seedance 2.5, first on image-to-video. Seedance 2.0 is in CapCut. Long directed takes: Kling 4.0: 30 s, 10 keyframes, 15 references. Cheap volume: HeyGen Video 1, built on MiniMax H3. A presenter talking for minutes: an avatar tool such as HeyGen Avatar V. Then test the shortlist on three of your own shots and compare cost per kept take. Runway vs Veo vs Kling Veo 3.1's preview API closed October 22, 2026, and Flow retires Veo 3.1 Fast and Quality on December 5. Runway's Gen-4.5 is no longer near the top, but the Runway API resells Veo, Kling 3 and 4, Seedance 2 and 2.5, Wan 3, H3 Max and Omni (Omni at Google's price). Use one host to switch models; go direct for the newest features or volume pricing. Image to video vs text to video Start from an image when the look must be exact, because the first frame is the strongest condition. Prompt only the motion and camera. Making the still: MLA 25. How to prompt an AI video shot...

This podcast, its content and its artwork are not owned by, affiliated with, or endorsed by Castquire.

Up next

  1. Nothing queued. Use + Queue on any episode to line it up.

0:00 0:00