Yuval Datner (@Datnerr) header
Yuval Datner (@Datnerr) profile picture

I like to code Specifically in @EffectTS_

Joined April 2012
Photo by Yuval Datner (@Datnerr)Photo by Yuval Datner (@Datnerr)Photo by Yuval Datner (@Datnerr)Photo by Yuval Datner (@Datnerr)Photo by Yuval Datner (@Datnerr)Photo by Yuval Datner (@Datnerr)Photo by Yuval Datner (@Datnerr)Photo by Yuval Datner (@Datnerr)Photo by Yuval Datner (@Datnerr)Photo by Yuval Datner (@Datnerr)
Yuval Datner retweeted
Replying to @thdxr @jessfraz
I'd just like to interject for a moment. What you're referring to as your "custom TypeScript dialect," is in fact, Effect-TS, or as I've recently taken to calling it, Effect plus TypeScript. Effect-TS is not a programming language unto itself, but rather another free component of a fully functioning ecosystem made useful by Kit Langton's type utilities, effect runtime and vital system components comprising a full typed system as defined by functional programming principles. Many TypeScript developers run a modified version of the Effect-TS ecosystem every day, without realizing it. Through a peculiar turn of events, the version of Effect which is widely used today is often called "my custom dialect," and many of its users are not aware that it is basically Kit Langton's Effect-TS, developed by the same creator who also built OpenCode. There really is an Effect-TS, and these people are using it, but they're calling it something unreadable and pretending it's their own invention. Effect-TS is the runtime: the system that handles your effects and manages side effects in your TypeScript code. The runtime is an essential part of a functional system, but useless by itself; it can only function in the context of a complete typed ecosystem. Effect-TS is normally used in combination with TypeScript: the whole system is basically TypeScript with Effect added, or Effect/TypeScript. All the so-called "custom dialects" are really just distributions of Effect-TS.
8
13
1
233
15,852
I am not joking in the least, this is optimal. once @thefubhy opened my eyes, everything else seemed dirty
You’re unable to view this Post because this account owner limits who can view their Posts. Learn more
167
Yuval Datner retweeted
When it comes to interruption, just "killing a process" is not enough, especially when it is just a task within a larger process. Interruption should be another "code path" - if you interrupt a database query, the connection should be returned to the pool and so on.
Replying to @saltyAom
Also the “Effect fix this” is really annoying Yes but also no Effect is a nice abstraction but still it’s JavaScript AFAIK, Effect make your code split into small “tasks” that are connected together and check between each if it should continue I think I make it very clear that you can’t stop ongoing Promise and NOT check between each promises if it should the next promise should run Which is an entirely different thing Orchestrate multiple functions and check for stop between each is not equal to stop the process entirely similar to “kill the process”
1
3
1
37
5,685
Ah yes, a shill for Big Tanner @tannerlinsley your schemes won't work on me
> makes videos about Next "Wow theo, clearly a paid shill" > makes videos about Tanstack Start "Wow theo, clearly a paid shill"
1
5
2,672
Yuval Datner retweeted
sounds fake but I'm starting a company with my nemesis Colin P. Zod and our first hire is @AndaristRake and our first product is now in beta
6
5
2
72
7,156
Future looks bright with more and more libraries and frameworks supporting Effect natively
Replying to @pyrons_ @EffectTS_
yes, we are already building a native Effect driver
4
5
147
13,153
"why you should join us we will overwork you to the bone" what? ☠️
why you should join @mintlify we have 1 engineer per 1M monthly active users
113
I don't think devtool companies realize how dependent their biz model is on collective developer behavior For example, if we all decided to stop writing bugs, @Sentry would probably go out of business
16
3
138
10,067
12k 🌟
2
8
1
81
15,281
I am 100% serious, I have and will continue to disqualify applicants that show an interest in using these.
what backend framework are you currently using?
78
Yuval Datner retweeted
who's coming to the effect ts meetup @ warp office tonight? 👀
3
2
25
4,794
I don't use "for", "in" or "of" loops, I write walruses.forEach(w => condition ? w.frobnicate() : w.transmogrify()); And if the compiler doesn't optimize that shit I kill myself
34
72
4
2,544
189,745
it's all fun and games until the Arabic numerals in question are ٠, ١, ٢, ٣, ٤, ٥, ٦, ٧, ٨, ٩
BREAKING: Zohran Mamdani to require all New York elementary school students to learn Arabic numerals.
658
All the "200 OK - Error" enjoyers seething in the replies never implemented proper error handling or used the browser cache and it shows
PLEASE don’t do this especially when your API is supposed to be RESTful. In REST, the HTTP status is what determines if there’s an error. 2xx - Good 4xx - User fault 5xx - Our fault. I’ve seen you’ve mentioned @supabase does this. Last I checked Supabase is a BaaS not a standards committee. If your API uses REST and you want a structured response that can transfer across teams, use JSON:API jsonapi.org/
1
107
It is all but final, I will be starting my nomad journey in the next couple weeks. First stop, Italy. @MichaelArnaldi , you better warm up that grill
1
8
660
Taking a model that's built to consume and produce natural language and forcing it to take and return traditional machine-optimized formats is at best a POC what a better mechanism would look like. Stop trying to extend the life of that practice, it's regarded.
60
ah yes, cloudflare is small poop and bun is big glowy stick 👍
React SSR on a Linux x64 hetzner machine Bun v1.3.1: 131,112 requests per second CF Workers: 21,878 requests per second
1
134
insane. (in an evil way.)
📢Introducing ArkRegex📢 a drop in replacement for new RegExp() with types ⬇️
1
124
dirty secret of mine: I've never installed pagerduty or any other similar pagers
name a better feeling, i’ll wait
1
1
342
The Effect team will be at the Munich TypeScript Meetup tonight! Don't miss Sebastian Lorenz @thefubhy presenting End-to-end Effect – and come say hi if you're around! meetup.com/munich-typescript…
1
3
1
28
5,126