dzakh_dev Profile Banner
Dmitry Zakharov Profile
Dmitry Zakharov

@dzakh_dev

Followers
254
Following
781
Media
154
Statuses
645

ReScript enthusiast at @envio_indexer. Create tools from the future 🧬

Georgia, Batumi
Joined March 2022
Don't wanna be here? Send us removal request.
@dzakh_dev
Dmitry Zakharov
8 days
76/1042 failing Sury tests. Good progress with fixing logic here and there. Soon - time to uncomment and create some more tests... 🫠🫠🫠
0
0
3
@dzakh_dev
Dmitry Zakharov
9 days
Are you ready for @envio_indexer on Solana? I'm going to bring something nice with me. Let's chat at @colosseum or the main @SolanaConf venue. Shipping 🚢🚢🚢
@SolanaConf
Solana Breakpoint 🇦🇪 Abu Dhabi Dec 11-13
9 days
Calling all buildooors! The @colosseum Breakpoint Arena will be the place to put your inspiration to work. Workspace, tech workshops, and a place to meet and network with other builders. https://t.co/ljGAuOttyQ
1
3
12
@rescriptlang
ReScript
13 days
ReScript 12 is here! A major step toward a leaner, faster, simpler toolchain. This release refines the language and embraces ReScript’s own identity. Blog: https://t.co/FVm2utCPFL Notes: https://t.co/1o7sb5hinL Huge thanks to everyone who helped move ReScript forward.
Tweet card summary image
github.com
ReScript’s third major community-led release has arrived! This milestone wraps up a multi-year push to free the compiler from legacy limitations—and it comes loaded with new features and enhancemen...
2
36
123
@dzakh_dev
Dmitry Zakharov
13 days
Christmas sounds like a good goal for a stable release. Still a lot of work, but this will definitely be big 🫡
0
0
0
@dzakh_dev
Dmitry Zakharov
13 days
For the last two weeks, I finally went down from 130 failing tests to 110 out of more than a thousand. Well, there are still some commented out. Refactored SuryError to be a discriminated union last week, and fixed recursive schemas this week. Now working on fixing snapshot tests
1
0
0
@dzakh_dev
Dmitry Zakharov
13 days
But sadly, dreaming is much easier than doing. I had to completely change the internals of Sury, turning it internally into something like a compiler, which knows the type of every value and can use that to create an optimized decoding/encoding logic.
1
0
0
@dzakh_dev
Dmitry Zakharov
13 days
https://t.co/7aspNSgwHN - I didn't lie, the PR is quite old. And I've already shared some of the features it brings, but the main idea is: let fn = S.decoder(S.jsonString, userSchema, S.csv) How, in runtime, you get an ultrafast conversion to whatever you need.
Tweet card summary image
github.com
1
0
0
@dzakh_dev
Dmitry Zakharov
13 days
While it's not too late, I'll follow the advice and talk a little bit about what's going on with Sury. 3 months ago, I started working on a PR with a dream of how your schema can allow you to convert between different data formats seamlessly. 🧵
@ChShersh
Dmitrii Kovanikov
2 years
@lobbyistcrab Good question! First of all, burnout is irreversible. I still feel the consequences of it and I'm afraid they'll stay with me forever. I'm not as passionate about just doing pure tech as I was before. So the first advice is to find something beyond passion that can motivate
1
0
0
@dzakh_dev
Dmitry Zakharov
19 days
Thank you for 400 ⭐ I didn't disappear and didn't abandon the project. Still working on the PR - Sury v11 will be a banger 🫡
@dzakh_dev
Dmitry Zakharov
3 months
I had 2 failing tests... But I gave up trying to fix them with little blood. So there's a lot of blood now 🫠 In the next version of Sury - complete rewrite one more time.
1
0
7
@jonjonclark
jonjon
1 month
coolest part of our docs is the shipper's log. videos recapping features of each release and how to use them effectively. @dzakh_dev cooking with these
0
3
8
@dzakh_dev
Dmitry Zakharov
1 month
A workflow I experimented with at @envio_indexer this week: I have a bug X, create a reproduction test. Works well so far and now in parallel. Agents like this demonstrate how testing/feedback infrastructure becomes more and more important.
0
3
7
@dzakh_dev
Dmitry Zakharov
2 months
Sury 🧡 Hono
@MathurAditya7
Aditya
2 months
Hono OpenAPI v1.1 brings - - Improved support for @EffectTS_ (for all those use Effect fan boys) - Added support for Native Typebox v1 🚀 (So no more typemap stuff, you still can tho if you want) - Added support for Sury validation lib (New) And some minor changes and
0
0
0
@dzakh_dev
Dmitry Zakharov
3 months
Getting closer and closer to my dream from more than 3 years ago when I started working on Sury. And JSON is just the beginning! I want proto, capnp, and more. 166 failing tests until the release 🫡 I'll appreciate a start if you're as excited as I am https://t.co/eQZuBxfKe6
0
1
3
@dzakh_dev
Dmitry Zakharov
3 months
I had 2 failing tests... But I gave up trying to fix them with little blood. So there's a lot of blood now 🫠 In the next version of Sury - complete rewrite one more time.
0
0
0
@dzakh_dev
Dmitry Zakharov
3 months
The changes mentioned above are implemented and will be included in the next alpha release after I finish fixing a few failing tests.
0
0
0
@dzakh_dev
Dmitry Zakharov
3 months
And even though S.parser and others appear to be heavy calls, they use the same caching logic as old functions did. So if you call S.parser multiple times with the same schema, it'll compile the operation only once. What's even more fun - Sury with eval does it faster than Zod.
1
0
0
@dzakh_dev
Dmitry Zakharov
3 months
This is the final decision: I'll completely split the operations API between TypeScript and ReScript. What makes sense for ReScript doesn't make sense for TS and vice versa.
1
0
0
@dzakh_dev
Dmitry Zakharov
3 months
Cooking up some crazy API for TS users. This is what a nice composition is to me. At some point, I should rename Sury from a schema library to a runtime metaprogramming compiler 🤔
@nuqs47ng
nuqs
3 months
The composability of Zod codecs (via pipes) is insanely powerful 🤯 base64 ↔ bytes buffer ↔ JSON ↔ Object ht/ @colinhacks, y'all cooked hard. 🫡
1
0
1
@dzakh_dev
Dmitry Zakharov
3 months
Me coding
@ChShersh
Dmitrii Kovanikov
3 months
This is the most efficient way to pack 17 squares. This is a post about programming, btw.
0
0
1
@dzakh_dev
Dmitry Zakharov
3 months
This doesn't work in TypeScript 🤦‍♂️ S.assertOrThrow(schema)(data)
0
0
0