B, about 3 seconds. time.sleep(1) blocks the event loop, so the three tasks run one after another. Swap it for await asyncio.sleep(1) and they can wait together: about 1 second. async def doesn't make blocking code non-blocking 🙂
Quick Python quiz 🐍 About how many seconds does this take?
A) 1
B) 3
C) Depends how much faith you have in asyncio 🙏
Answer in the replies later. No running it first :)
New post: FastAPI tests that don't rot. Swap dependencies, roll back every test, and the TestClient lifespan gotcha. Tested on FastAPI 0.162. https://t.co/2jWhXttDk7
New post: Django migrations that don't take your site down. db_default, batched backfills, the 3-step NOT NULL, and why you never rename a column in one deploy. Tested on Django 5.2. https://t.co/lEQGF1Gs7D
The model can sketch the furniture. Python can make the shopping list 🪵 A few rows and csv.writer are enough to export parts, quantities and materials. I'd still check the measurements before buying wood. Or sitting on the result 😅
Claude Code can design furniture part by part and then give you a bill of materials to order each part and put it together yourself
And way cheaper than big interior brands sell you their furniture
Furnishing my house I discovered how absolutely insane prices are for the most basic cheap materials put together with a fancy brand tied to it
One shop had a sofa for $30,000 😂
I think with Opus 5.5 and other models easily operating 3d programs like Blender and FreeCAD (both free) it makes more sense to cut out the middle man and go straight to suppliers and design and build your own furniture
Which in a way makes customers more powerful (they can get exactly what they want and usually for cheaper without the markup)
Anyway @theannalux designed this table from scratch, she's not a furniture designer, not a coder, she just had an idea of a style and worked with Claude Code in the terminal (far superior to the app I will keep saying this)
If you design your own furniture and buy the raw materials directly, you can save 85% compared to premium brands like Poliform
That means the $30,000 sofa becomes $4,500! And the $8,000 dinner table becomes just $1,200!
You can see where the idea comes from that AI will make everything 5x to 20x cheaper, and it's already starting!
An agent calling an API doesn't get a free pass on security 😅 I still want secrets out of source, untrusted input checked, and the smallest permissions the job needs. Especially when the input is something another agent found.
If I need one API endpoint, I don't also need a React app, a monorepo and a weekend 😅 FastAPI can start with: from fastapi import FastAPI; app = FastAPI(). Add a route, then add complexity when there's an actual reason.
Lo peor de la IA es esto. Siempre el mismo stack por defecto: Next.js, React, Tailwind y PostgreSQL.
Y son tecnologías que me gustan, eh. Pero me da pena pensar que se van a perpetuar y será difícil que nazcan nuevas y mejores alternativas en el futuro.
Before indexing 47,000 videos, a tiny Python quiz 😅 What does this print? A) Error B) ['a', 'b', 'c'] C) ['a', 'b', 'a', 'c']. Answer in the replies later. No running it first :)
Earlier this week Tristan published his top YouTube channels:
https://t.co/NZ3UCNo6cT
Which looked excellent so clearly I had to turn it into TristanTube:
https://t.co/l0KyW1WdNH
47K super nerdy videos +TV mode for laid back watching. (One-shotted with Claude Code in 3 minutes)
More tokens doesn't have to mean a bigger bill. Ramp's late-summer data, reported by TechCrunch, is a nice reminder. I still want budgets, smaller models where they work, and less irrelevant context. The goal is useful work, not a token high score 😅
AI usage keeps climbing, but spending has stalled. Price cuts and smarter cost controls among the biggest spenders could challenge investor assumptions about AI hypergrowth.
https://t.co/unPWCeaKGW
DeepMind's RSA-1024 research isn't 'all encryption is broken'. The results target legacy keys; modern RSA-2048+ isn't threatened by these attacks. Here's the toy arithmetic in Python. Tiny primes, no padding, absolutely not production crypto 😅
We’re sharing new research demonstrating how AI agents can accelerate the science of stress-testing encryption.
Guided by humans, our models uncovered two major weaknesses in legacy 1024-bit RSA cryptosystems.
Our VP Science @Pushmeet explains more ↓ https://t.co/SqNkBbkih2
Python has a memory too. Sometimes one I didn't ask for 😅 What does the second call print? A) [2] B) [1, 2] C) Error. Answer in the replies later. No running it first :)
Memory is what allows Claude to learn from experience. In a new Engineering Blog post, we share how “dreaming” helps Claude organize what it’s learned, correct its mistakes, and find what it needs more easily the next time. https://t.co/uUEN4bNkr9
Revolut reports roughly 90% lower coding inference costs after making self-hosted GLM the default. Claude and Codex didn't vanish. I like the boring takeaway: match the model to the task, then check the result. Not every job needs the Ferrari 😅
Revolut pasa de Claude Code o Codex y pone a 2.000 ingenieros a trabajar con GLM 5.3: su factura de IA es ahora diez veces menor https://t.co/X0lu4BY3op
Before I blame the model, I want to know what's in the dataset 😅 Three pandas checks: missing values, suspicious ranges, and categories that only look identical. What's the weirdest value you've found?
If your app renders EPS with Pillow + Ghostscript, check your version. Pillow 2.6.0-12.3.0 has a filename argument-injection flaw; 13.0.0 fixes it. Code execution needs extra attacker control. I'd patch before the next upload 🐍
A filename alone can make Pillow run commands on a server with Ghostscript installed. The EPS file itself can be harmless.
Pillow 13.0.0 fixes it, plus JPEG and TIFF bugs.
Stopgaps if you can't upgrade yet, from The Hacker News:
https://t.co/CZ0TPhGOUi
The cheapest RAM upgrade in Python might be deleting two brackets 😅 Same sum, no list of 10 million squares sitting in memory. I still benchmark speed separately: less memory doesn't automatically mean faster.
6,817 findings in 24 hours, according to Vercel. I still want the boring checks too. In Python's sqlite3: bind values, don't build SQL with f-strings. Tiny change. Very different result. 🙃
In just 24 hours 🤯
✓ 𝟲,𝟴𝟭𝟳 vulnerabilities identified
✓ 𝟱𝟴𝟬 critical or high
✓ 𝟭,𝟰𝟭𝟭 already patched by Agent
Vercel Security Reviews are 100% free until Nov 10
Four AI-booked Uber rides in Halloween week. Four 😅 I don't need an agent to replace every app. I want it to take the messy, boring work off my plate. What would you actually hand over?
@Anthony_K81@svpino Both, but queue first. A PR takes minutes to generate, then it waits for me to read it. Quality only shows up once I actually review it.
Numbers from @svpino's video:
• +2,450% lines of code
• +240% commits
• +30% releases
AI writes at the speed of light. Code review moves at human speed on a Tuesday.
The bottleneck was never typing. It's reading, testing and deciding what ships 🙃 https://t.co/jtn8rhOc2j
We haven’t figured out how to scale from producing stuff to shipping stuff:
• 2,450% increase in lines of code
• 240% increase in commits
• but only 30% increase in releases
This video is really cool:
https://t.co/Oi1reBDNL8
b) False. 0.1 and 0.2 aren't exact binary floats, so their sum is 0.30000000000000004. For approximate comparison: math.isclose(0.1 + 0.2, 0.3) returns True. Your calculator was just being polite 😂