derek o'connor (@pdoconno) profile picture
Joined May 2009
Photo by derek o'connor (@pdoconno)Photo by derek o'connor (@pdoconno)
derek o'connor retweeted
I am teaching a new PhD short course on financial macroeconomics at @Stockholm_Uni covering the financial accelerator, macro-banking, and heterogeneous banks. All materials: rustamjamilov.com/teaching All code: github.com/rustamjamilov/EC3…
5
65
4
379
12,949
derek o'connor retweeted
Recursion can feel confusing when you first learn about it in Python. To help you out, @balawc27 teaches you how recursive functions work and when recursion makes more sense than iteration. You'll also learn how to work with nested data, traverse trees, use memoization, and avoid recursion limits. freecodecamp.org/news/recurs…
6
26
257
16,442
derek o'connor retweeted
Which AI coding agent fits the job: one in your IDE, in your terminal, on pull requests, or in the cloud? The Exploring AI Coding Agent Workflows video course shows how the four work and when to pick each. realpython.com/courses/explo…
2
2
1
8
1,754
derek o'connor retweeted
Want to become a Data Analyst? Start with IBM's Data Analyst Professional Certificate! Learn the essential skills needed to begin your career in Data Analytics. This professional certificate covers: Python for Data Analysis Excel and Spreadsheets SQL and Databases Data Visualization IBM Cognos Analytics Data Cleaning and Preparation Exploratory Data Analysis (EDA) Data Analytics Projects What makes it valuable? You get hands-on experience with real-world datasets, practical assignments, and projects that help build a strong data analytics portfolio. A great learning resource for beginners and aspiring data analysts. Explore the certificate: clcoding.com/2023/10/ibm-dat…
2
27
189
14,282
derek o'connor retweeted
I just released 90 free, open source skills that teach AI assistants to take notes properly. It's something that's been annoying me for a while. You hand an assistant a lecture, a recipe, or a meeting, and you get back the same old tidy list of bullets every time. These skills fix that. Each one teaches a single job the way an expert would do it. There's one for Cornell notes that actually puts questions in the cue column, which I find most assistants get wrong. The meeting notes one won't turn "we should probably look into that" into a decision no one made. The recipe one keeps the "until the edges go golden" bits instead of flattening everything into "bake 20 min." And there are some for niche stuff too, like birding logs, music practice, and D&D session notes. And none of them makes anything up. If your source didn't say it, it gets marked [?] for you to fill in. Here's why I made them. A year ago I wrote on my blog that the habit of writing things down matters more than the software. Then I wrote every day, hit a few hundred more notes, and ended up building my own notes app because hey I'd been wrong. I build with AI all day, and the faster I go, the more I need to write. It just felt backwards that the AI was writing the worst notes. 90 skills in 4 collections: - note-taking methods - notes for your hobbies - everyday notes - writing They work with Claude, Codex, Cursor, Copilot, Gemini CLI, and more. npx skills add scratchpad-sh/skills Of course they work with any notes app, or none at all, since everything comes out as plain Markdown.
18
5
1
25
1,792
Quick Python technical screening warmup for Data Science & AI candidates—trace the nested conditional scope without running the code in an IDE. One wrong turn in the indentation blocks locks you out. What is the exact output character printed by this script? xitter.cf/PythonDvz/status/21141…
The ultimate test for your Python indentation and nested logic skills. If you think you're a true software engineer, you should be able to solve this in under 10 seconds without a compiler. Take a close look at the values of a, b, and c, trace the conditional execution path, and remember that code blocks are strictly defined by their indentation levels in Python. One wrong turn and you're locked out of the network. What is the exact Wi-Fi password written on this board? Drop your answer and trace logic below. Let's see who gets it right first!
3
6
1,744
derek o'connor retweeted
Free Resource: Bayes’ Rule with Python — A Tutorial Introduction to Bayesian Analysis Want to understand Bayesian statistics and implement it using Python? This free PDF is a useful resource for learning how probability and data can help us make better decisions. What you can learn: Bayes’ Rule and conditional probability Fundamentals of Bayesian analysis Updating probabilities using new evidence Applying statistical concepts with Python Building a foundation for data science and machine learning Whether you're learning statistics, exploring data science, or improving your Python skills, this resource is worth checking out. Read the free resource here: clcoding.com/2026/08/bayes-r…
1
31
1
205
12,706
derek o'connor retweeted
Google's Jeff Dean just dropped the best 1-hour lecture on AI engineering: from basics to Graphs 1:45 - LLM from scratch 17:22 - how to use AI models 30:03 - prompt engineering 52:35 - one human coordinating 100 agents 1:02:40 - where the coordination actually lives 27 years of building AI at Google, compressed into one hour Prompts → Agents → Loops → Graphs most people will stop at the prompt engineering chapter and call it progress he spends the last twenty minutes on the part that is still true next year same model, same tokens, completely different week watch it today the full guide on graph engineering is below, save it while it is still early ↓
8
106
1
557
58,910
derek o'connor retweeted
STOP WASTING HOURS TRYING TO FIGURE OUT WHAT TO LEARN IN AI. I put together one practical roadmap with videos, GitHub repos, guides, books, research papers, and courses. VIDEOS: 1. LLM Introduction — youtube.com/watch?v=zjkBMFhN… 2. LLMs from Scratch — youtube.com/watch?v=9vM4p9NN… 3. Agentic AI Overview (Stanford) — youtube.com/watch?v=kJLiOGle… 4. Building & Evaluating Agents — youtube.com/watch?v=d5EltXhb… 5. Building Effective Agents — youtube.com/watch?v=D7_ipDqh… 6. Building Agents with MCP — youtube.com/watch?v=kQmXtrmQ… 7. Building an Agent from Scratch — youtube.com/watch?v=xzXdLRUy… 8. Philo Agents — youtube.com/playlist?list=PL… GITHUB REPOS: 1. GenAI Agents — github.com/nirdiamant/GenAI_… 2. Microsoft AI Agents for Beginners — github.com/microsoft/ai-agen… 3. Prompt Engineering Guide — github.com/dair-ai/Prompt-En… 4. Hands-On Large Language Models — github.com/HandsOnLLM/Hands-… 5. GenAI Agents — github.com/NirDiamant/GenAI_… 6. Made with ML — github.com/GokuMohandas/Made… 7. Hands-On AI Engineering — github.com/Sumanth077/Hands-… 8. Awesome Generative AI Guide — github.com/aishwaryanr/aweso… 9. Designing Machine Learning Systems — github.com/chiphuyen/dmls-bo… 10. Machine Learning for Beginners — github.com/microsoft/ML-For-… 11. LLM Course — github.com/mlabonne/llm-cour… GUIDES: 1. Google's Agent Whitepaper — kaggle.com/whitepaper-agents 2. Google's Agent Companion — kaggle.com/whitepaper-agent-… 3. Building Effective Agents by Anthropic — anthropic.com/engineering/bu… 4. Claude Code Agentic Coding Practices — code.claude.com/docs/en/best… 5. OpenAI's Practical Guide to Building Agents — cdn.openai.com/business-guid… BOOKS: 1. Understanding Deep Learning — udlbook.github.io/udlbook/ 2. Building an LLM from Scratch — manning.com/books/build-a-la… 3. The LLM Engineering Handbook — oreilly.com/library/view/llm… 4. AI Agents: The Definitive Guide — oreilly.com/library/view/ai-… 5. Building Applications with AI Agents — oreilly.com/library/view/bui… 6. AI Agents with MCP — oreilly.com/library/view/ai-… 7. AI Engineering — oreilly.com/library/view/ai-… RESEARCH PAPERS: 1. ReAct — arxiv.org/abs/2210.03629 2. Generative Agents — arxiv.org/abs/2304.03442 3. Toolformer — proceedings.neurips.cc/paper… 4. Chain-of-Thought Prompting — arxiv.org/pdf/2201.11903 COURSES: 1. Hugging Face Agent Course — huggingface.co/learn/agents-… 2. MCP with Anthropic — deeplearning.ai/courses/mcp-… 3. Building Vector Databases with Pinecone — deeplearning.ai/courses/buil… 4. Vector Databases: Embeddings to Apps — deeplearning.ai/courses/vect… 5. Agent Memory — deeplearning.ai/courses/llms… No endless searching. No information overload. Just resources you can actually use. 🔖 Your future AI skill set will come from consistent building, experimenting, and learning. Repost so someone else can find this roadmap, and pls consider following @amisha_explains for more content around AI, Beauty, and businesses.
39
588
12
2,056
141,873
derek o'connor retweeted
🐍 Python Term of the Day: SOLID principles (Computer Science Glossary) A set of five object-oriented design principles that keep code easier to understand, extend, and maintain by reducing coupling between its parts. realpython.com/ref/computer-…
1
3
11
4,770
derek o'connor retweeted
🧪 Did you know you can access the Periodic Table using Python? Instead of memorizing every element, let Python look up the information for you! 🐍 Install the library: pip install periodictable For example: Atomic No: 29 → Copper (Cu) → Atomic mass: 63.546 → Density: 8.96 You can also try 11 → Sodium, 30 → Zinc, or 101 → Mendelevium. 💡 A great example of how Python can connect programming with science.
14
130
15,905
derek o'connor retweeted
sorry for the radio silence folks - got sucked into extreme LLM psychosis. but i can confidently say we have crossed over into a new age of AI Engineering and we are never, ever, looking back. this isnt even EVERYTHING i did with Astra but i'll append more reports as I publish them on LS!
We spent >20B tokens throwing @openai's Astra at every AI Engineering task we could think of, beyond cute Blender demos and fun games. latent.space/p/astra Here's everything Astra can do, and do so at <$6 an hour (serious): - choose and train models - label data (both helping you label and then using your labels for active learning) - keep pipelines saturated - instrument and read logs - deploy and debug entire systems in one shot - fan out and command and eval subagents (including agents running other models) - keep coherence over billions of tokens of a single agent thread. more to come on @swyx's coverage of the Fable- and Astra-class of 2026!
269
68
21
1,112
275,479
derek o'connor retweeted
A simple visualization workflow: Load Data → Explore Data → Choose the Right Plot → Create Visualization → Customize → Analyze Patterns → Save/Share Quick guide: 📌 Relationship → Scatter 📌 Trend → Line 📌 Category comparison → Bar 📌 Category counts → Count 📌 Distribution → Histogram/KDE 📌 Spread & outliers → Box 📌 Correlation → Heatmap plt.savefig("my_plot.png", dpi=300) Seaborn makes statistical visualization concise, readable, and powerful. 🚀 Bookmark this thread for your next Python project. 🐍 Follow @clcoding
1
2
1,784
derek o'connor retweeted
Want to quickly inspect correlations between numerical variables? corr = df.select_dtypes("number").corr() sns.heatmap( corr, annot=True, fmt=".2f" ) Darker/lighter shades help you spot strong and weak relationships at a glance.
1
1
3
1,857
derek o'connor retweeted
Stop memorizing Seaborn functions one by one. Here’s a complete Seaborn visualization cheat sheet covering the most useful plots for Python Data Science & Data Analysis. 🐍📊 Save this thread. You’ll want it later. 👇
2
24
1
145
21,576
derek o'connor retweeted
Guide to NumPy: 2nd Edition (Free PDF) Detailed Explanation: clcoding.com/2026/07/guide-t…
2
74
1
366
24,883
derek o'connor retweeted
🐍 Regex in Python looks complicated… until you understand these 10 patterns. Regular Expressions let you describe a text pattern instead of checking every character manually. You can use Regex to: • Search • Match • Extract • Replace • Validate text Here’s a beginner-friendly Regex guide 👇🧵
6
65
1
353
22,084
derek o'connor retweeted
Three cheers for Intel and their support of Linux! I got to work with some of their engineers on the initial compatibility work for Omarchy with the Dell XPS because @MichaelDell opened the channel and @SpencerGBull carried the signal. Just great people, great CPUs 👏
Today, Linux celebrates its 35th anniversary and the remarkable journey of one of the most influential technologies in computing history. In 1991, a young Finnish developer named Linus Torvalds purchased his first PC, powered by an Intel 386 processor. After spending time learning x86 assembly language, Linus shared publicly that he was developing a free operating system as a hobby, marking the beginning of Linux. The history of Intel and Linux runs deep, and we've had the privilege of watching it grow from a humble passion project into the world's largest open-source OS. Together with the Linux community, we've helped drive innovation across everything from PCs and data centers to cloud, edge, and AI.
19
61
1
1,668
61,040
derek o'connor retweeted
Enrol free in UNIC's online Blockchain and Digital Assets MOOC and build foundational knowledge in Web3, wallets, DeFi, stablecoins, policy and tokenisation through the free Introductory Track.

467
510
15
3,397
30,222,973
derek o'connor retweeted
A Chinese developer just explained the shift from Loop Engineering to Graph Engineering better than anyone. most people are still building agents the way that's about to be obsolete. > why single-agent loops break and go "goal blind" > the 4 parts of a graph: nodes, edges, state, policy > 3 topologies that run everything: diamond, supervisor, pipeline > Anthropic's 5 official workflow patterns the punchline: it's not how many agents you run. it's the determinism you build with verifiers, code fallbacks, and reality anchors. I broke the same architecture down with Kimi K3. Full A-Z guide below.
97
1,328
72
9,301
2,749,718