Tim Hopper's Avatar

Tim Hopper

@tdhopper.com

machine learning infrastructure at spotify

900
Followers
68
Following
75
Posts
25.04.2023
Joined
Posts Following

Latest posts by Tim Hopper @tdhopper.com

quick new post on what i've gotten out of HN vickiboykis.com/2025/03/17/2...

18.03.2025 00:59 ๐Ÿ‘ 48 ๐Ÿ” 2 ๐Ÿ’ฌ 4 ๐Ÿ“Œ 2
Original post on fedi.simonwillison.net

Anyone know of a recipe that works for getting a "pytest --pdb" debugger REPL up that lets you interactively execute "await ..." statements, similar to "python -m asyncio" ?

The StackOverflow threads about this are all pretty stale, wondering if there's a new option that I've not been able to [โ€ฆ]

14.03.2025 21:16 ๐Ÿ‘ 2 ๐Ÿ” 1 ๐Ÿ’ฌ 4 ๐Ÿ“Œ 0
If someone tells you that coding with LLMs is easy they are (probably unintentionally) misleading you. They may well have stumbled on to patterns that work, but those patterns do not come naturally to everyone.

Iโ€™ve been getting great results out of LLMs for code for over two years now. Hereโ€™s my attempt at transferring some of that experience and intution to you.

Set reasonable expectations
Account for training cut-off dates
Context is king
Ask them for options
Tell them exactly what to do
You have to test what it writes!
Remember itโ€™s a conversation
Use tools that can run the code for you
Vibe-coding is a great way to learn
A detailed example
Be ready for the human to take over
The biggest advantage is speed of development
LLMs amplify existing expertise
Bonus: answering questions about codebases

If someone tells you that coding with LLMs is easy they are (probably unintentionally) misleading you. They may well have stumbled on to patterns that work, but those patterns do not come naturally to everyone. Iโ€™ve been getting great results out of LLMs for code for over two years now. Hereโ€™s my attempt at transferring some of that experience and intution to you. Set reasonable expectations Account for training cut-off dates Context is king Ask them for options Tell them exactly what to do You have to test what it writes! Remember itโ€™s a conversation Use tools that can run the code for you Vibe-coding is a great way to learn A detailed example Be ready for the human to take over The biggest advantage is speed of development LLMs amplify existing expertise Bonus: answering questions about codebases

Here's the table of contents for my lengthy new piece on how I use LLMs to help me write code https://simonwillison.net/2025/Mar/11/using-llms-for-code/

11.03.2025 14:10 ๐Ÿ‘ 48 ๐Ÿ” 18 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 2

Great recs. Adding to my list.

13.03.2025 20:03 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I started using Python 20 years ago, but left and come back to it repeatedly. Every time I picked it back up, the dev experience had swung wildly. Getting caught up, even as an experienced user, was a huge PITA.

I think that's finally going to change with what @tdhopper.com just launched.

13.03.2025 17:23 ๐Ÿ‘ 8 ๐Ÿ” 4 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

If you use the curl method, uv can update itself later which is nice

13.03.2025 00:01 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

If you use python, but you don't use uv yet: why?

12.03.2025 21:01 ๐Ÿ‘ 38 ๐Ÿ” 5 ๐Ÿ’ฌ 40 ๐Ÿ“Œ 0

I decided not to try to pursue this as a print book because the ecosystem is always changing and the scope of the book will grow as I have time to put into it. If there are topics or questions youโ€™d like to see addressed, please let me know.

12.03.2025 23:27 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Python Developer Tooling Handbook

๐Ÿ‘‹๐Ÿป

In the last 10 years, Iโ€™ve had a growing interest in making Python development more effective. Iโ€™ve learned that a lot of teams donโ€™t make the best use of the tooling available to use.

This has culminated with writing an ebook on developer tooling Iโ€™m excited to share with you.

pydevtools.com

12.03.2025 23:27 ๐Ÿ‘ 99 ๐Ÿ” 16 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 3

if your back doesnโ€™t hurt yet, protect it at all costs bsky.app/profile/imlu...

30.01.2025 13:41 ๐Ÿ‘ 42 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
The Sony A7 iii after 5 years A parent's review of the Sony A7 iii

I wrote a post about my love for my Sony mirrorless camera for photographing my 4 kids

tdhopper.com/blog/sonya7i...

20.01.2025 17:16 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

7-year old wanted to know how far the north pole is, so I asked Siri three times.

1st time โ€œcall momโ€ displayed on my screen and it started calling my *dad*

2nd it said โ€œwhich Joel would you like to callโ€

3rd time it started to show directions to North Pole, AK

19.01.2025 01:33 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Writing a Math Textbook with Claude with Professor Ghrist Dr. Robert Ghrist shares how he used Claude to \

๐Ÿ‘‚๐ŸปI spoke with Dr. Robert Ghrist of the University of Pennsylvania about his recent groundbreaking endeavor to "direct" the creation of a beautiful new linear algebra textbook for AI students in just 55 days using a customized Anthropic Claude project.

tdhopper.com/blog/writing...

18.01.2025 16:59 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Great discussion of my recent post here ๐Ÿ‘‡๐Ÿป

17.01.2025 18:31 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
One Line Command to Launch a Notebook with Pytorch uv is changing how accessible Python is for new users. If you want to try out pytorch in a Jupyter Notebook, you can install uv and then run this single line command: uv run --python 3.12 --with ...

With uv, you can launch a Jupyter Lab instance with Pytorch installed instantly with a single command ๐Ÿคฏ

pydevtools.com/blog/one-lin...

15.01.2025 23:01 ๐Ÿ‘ 7 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 1

Bambu P1S with AMS

04.01.2025 19:59 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

Highly recommend getting a 3D printer because it's the best way to make new parts for your 3D printer

04.01.2025 19:13 ๐Ÿ‘ 16 ๐Ÿ” 2 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Effective Python Developer Tooling in December 2024 I have been writing Python for 14 years next month. When I started, people were still using easy_install to install egg-based packages for Python 2.7 and nobody had heard about Conda yet, much less uv...

In this article, @tdhopper.com shared key principles of Python tooling, common anti-patterns he has observed, best practices & his list of favourite tools from December 2024.

pydevtools.com/blog/effecti...

#python #Programming #SoftwareDevelopment #WebDevelopment #TechNews #OpenSource

03.01.2025 11:21 ๐Ÿ‘ 4 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

    The GPT-4 barrier was comprehensively broken
    Some of those GPT-4 models run on my laptop
    LLM prices crashed, thanks to competition and increased efficiency
    Multimodal vision is common, audio and video are starting to emerge
    Voice and live camera mode are science fiction come to life
    Prompt driven app generation is a commodity already
    Universal access to the best models lasted for just a few short months
    โ€œAgentsโ€ still havenโ€™t really happened yet
    Evals really matter
    Apple Intelligence is bad, Appleโ€™s MLX library is excellent
    The rise of inference-scaling โ€œreasoningโ€ models
    Was the best currently available LLM trained in China for less than $6m?
    The environmental impact got better
    The environmental impact got much, much worse
    The year of slop
    Synthetic training data works great
    LLMs somehow got even harder to use
    Knowledge is incredibly unevenly distributed
    LLMs need better criticism
    Everything tagged โ€œllmsโ€ on my blog in 2024

The GPT-4 barrier was comprehensively broken Some of those GPT-4 models run on my laptop LLM prices crashed, thanks to competition and increased efficiency Multimodal vision is common, audio and video are starting to emerge Voice and live camera mode are science fiction come to life Prompt driven app generation is a commodity already Universal access to the best models lasted for just a few short months โ€œAgentsโ€ still havenโ€™t really happened yet Evals really matter Apple Intelligence is bad, Appleโ€™s MLX library is excellent The rise of inference-scaling โ€œreasoningโ€ models Was the best currently available LLM trained in China for less than $6m? The environmental impact got better The environmental impact got much, much worse The year of slop Synthetic training data works great LLMs somehow got even harder to use Knowledge is incredibly unevenly distributed LLMs need better criticism Everything tagged โ€œllmsโ€ on my blog in 2024

Here's my end-of-year review of things we learned out about LLMs in 2024 - we learned a LOT of things simonwillison.net/2024/Dec/31/...

Table of contents:

31.12.2024 18:10 ๐Ÿ‘ 652 ๐Ÿ” 148 ๐Ÿ’ฌ 28 ๐Ÿ“Œ 47
Preview
Annual Accomplishments Some Personal Accomplishments 2024 Survived painful, herniated disc and went through successful surgery Got back to lifting weights after 5 month break due to a herniated disc Down to the fourth belt ...

Updated my annual accomplishments notes

* Survived herniated disc pain and surgery
* Back to weight lifting after 5 month break
* Landed amazing job @ Spotify
* Spoke at 1st conference in 5 years
* Saw 1st total eclipse
* Back to blogging a bit

tdhopper.com/annual-accomplishments/

31.12.2024 15:39 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
a black and white drawing of snoopy laughing with his eyes closed and his mouth open . ALT: a black and white drawing of snoopy laughing with his eyes closed and his mouth open .
31.12.2024 13:11 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I've tried using ๐’œ๐ผ could of times to get started, but that's always led to roadblocks I haven't been able to get past.

Does anyone have a good tutorial for bootstrapping something like this?

30.12.2024 13:55 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I don't know much about modern web applications, but I have a few small projects to do that just require basic account creation and CRUD operations. I've been looking at Cloudflare Pages + Supabase so that I could run them for free and serverless.

30.12.2024 13:55 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
vicki@hermes git:(main*) ๐Ÿ 3.10  % curl -w "@curl-format.txt" -o /dev/null -s "https://api.github.com/repos/veekaybee/viberary"
     time_namelookup:  0.018073s
        time_connect:  0.031290s
     time_appconnect:  0.047484s
    time_pretransfer:  0.047536s
       time_redirect:  0.000000s
  time_starttransfer:  0.131164s
                     ----------
          time_total:  0.131659s

vicki@hermes git:(main*) ๐Ÿ 3.10 % curl -w "@curl-format.txt" -o /dev/null -s "https://api.github.com/repos/veekaybee/viberary" time_namelookup: 0.018073s time_connect: 0.031290s time_appconnect: 0.047484s time_pretransfer: 0.047536s time_redirect: 0.000000s time_starttransfer: 0.131164s ---------- time_total: 0.131659s

today I learned that you can create a special text file to use for logging curl timing details blog.josephscott.org/2011/10/14/t...

29.12.2024 00:05 ๐Ÿ‘ 64 ๐Ÿ” 7 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Babbage's Difference Engine

Babbage's Difference Engine

Etching of Charles Babbage

Etching of Charles Babbage

#TodayinHistory #dataviz #Onthisday #OTD ๐Ÿ“Š
๐ŸŽ‚Dec 26, 1791 Charles Babbage born in London, England ๐Ÿด๓ ง๓ ข๓ ฅ๓ ฎ๓ ง๓ ฟ

1822: Invented a mechanical device for calculating mathematical tables (the Difference Engine) -- the forerunner of computing machines.

26.12.2024 17:58 ๐Ÿ‘ 13 ๐Ÿ” 5 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

Feels like every hotel, airplane, car, new home, etc implemented standard USB ports and literally the same year the entire tech world changed over to USB-C

24.12.2024 16:14 ๐Ÿ‘ 8318 ๐Ÿ” 551 ๐Ÿ’ฌ 268 ๐Ÿ“Œ 58
Post image

๐Ÿฆ‹is this agi?

23.12.2024 18:53 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Amazing! Thanks

23.12.2024 13:33 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
GitHub - RobertCraigie/pyright-python: Python command line wrapper for pyright, a static type checker Python command line wrapper for pyright, a static type checker - RobertCraigie/pyright-python

FYI 'pip install pyright[nodejs]` will install node binaries for you

github.com/RobertCraigi...

23.12.2024 05:29 ๐Ÿ‘ 3 ๐Ÿ” 1 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0