Yury Selivanov @1st1.dev · 17/05/2025📣 if you are at PyCon US come to see my talk 2:30pm Ballroom BC. you will not regret it to say the least... 0110
Yury Selivanov @1st1.dev · 31/12/20242024 was tough but transformative. dropped 15kg, resolved some health and behavioral issues, and finally made progress on guitar—bar chords are happening (i'm still 🚮, i know). 2025 is gonna be a banger—for me and @edgedb.com 🫡, stay tuned. 060
Yury Selivanov @1st1.dev · 18/12/2024Believe me when I say this: it will be absolute 🍌🍌🍌🍌🍌🍌🍌🍌🍌 Join @pablogsal.com and I at PyCon US 2025. 1121
Yury Selivanov @1st1.dev · 13/12/2024Center-aligned code is beautiful, so glad I made the switch. Can somebody help me debug my Python code though? 🙏 3170
Yury Selivanov @1st1.dev · 04/12/2024Which one is more readable, SQL solutions (they are great) or EdgeQL? I'm biased, please help. 👋 (day 4 AoC solution) 121
Yury Selivanov @1st1.dev · 03/12/2024But remember, we just need to find if there's ONE way for a record to satisfy the rules: 100
Yury Selivanov @1st1.dev · 03/12/2024Now the sweet part, time to test every record we prepared against the "good record" requirements: 100
Yury Selivanov @1st1.dev · 03/12/2024Remember, EdgeQL is declarative and functional, so it's not your typical Java code. We need to be a bit creative with this task. Let's expand every "record" into a set of "records" that we'll be trying to lobby through the rules: 100
Yury Selivanov @1st1.dev · 03/12/2024Then we want to just parse the records into arrays of integers -- so much easier to work with! 100
Yury Selivanov @1st1.dev · 03/12/2024Let's break this scary (no so!) query apart. First, split the incoming string into an array of strings/lines and convert it into a set: 100
Yury Selivanov @1st1.dev · 03/12/2024Silly me. Turns our Advent of Code challenges have two parts in them, and who knew, the second part is harder 🙈 I went back and implemented the second part of the second day challenge. This might be interesting to you regardless of EdgeQL, read if you like math or SQL too. 🧵 261
Yury Selivanov @1st1.dev · 03/12/2024Alright, me vs. Advent of Code. Part 1 of today's challenge is super straightforward. Dare I say, EdgeQL solution is actually more concise and elegant than a corresponding Python code. 221
Yury Selivanov @1st1.dev · 24/11/2024Upon further investigation, apparently wrapping a single callback in a lambda expression, significantly increased number of Python objects created and skyrocketed pressure on GC. Any code that used gather() heavily could become significantly slower. This patch fixed it entirely. 190
Yury Selivanov @1st1.dev · 24/11/2024I wrote a rather involved stress microbenchmark and didn't observe any difference. Then @pablogsal.com came and did his thing, uncovering the actual culprit: asyncio.gather() got significantly slower. Something was wrong with 'lambda' functions in it. 150
Yury Selivanov @1st1.dev · 24/11/2024The most recent mind blowing finding was that somehow, our branch made asyncio 25% slower on some benchmarks, which was completely unexpected for me. Here's a link to the PR by the way: github.com/python/cpyth... 140