Andrey (@xorik_dev) profile picture

Backend developer. Learn some frontend and typescript

Berlin, Germany
Joined May 2021
Photo by Andrey (@xorik_dev)Photo by Andrey (@xorik_dev)Photo by Andrey (@xorik_dev)Photo by Andrey (@xorik_dev)Photo by Andrey (@xorik_dev)Photo by Andrey (@xorik_dev)Photo by Andrey (@xorik_dev)Photo by Andrey (@xorik_dev)Photo by Andrey (@xorik_dev)Photo by Andrey (@xorik_dev)
Sign me up
You're offered $1 million, but you can never use React/React Native again. Do you accept?
43
62
10
1,490
204,956
5 days to unsubscribe. Are you nuts?
1
Andrey retweeted
Generics in PHP #1: The basics. This is the first of a four-part mini series on generics in PHP: what they are, how you can use them today, and what's possible in the future. Enjoy: youtube.com/watch?v=c8hQ1fWU…
5
21
2
95
Hey @posva Why do I need to put store ID twice, when I use an interface for my store? 🤔 defineStore<'ID', Interface>('ID', {}) #vue #vuejs #pinia
1
2
Why @tailwindcss don't support classes like "w-21" in jit mode, and I need to memorize their grid? I know that I can use "w-[84rem]", but really? I know about @windi_css but it has serious issues with daisyui.com/
New daisyUI theme generator is out 🪄 daisyui.com/theme-generator/
3
8
1
66
Okay, I finally tried @caddyserver Never going to back to nginx for my PHP projects.
1
4
24
Sure. we can release it today.
17
74
33
1,743
Another point why it's bad, is context separation. Authorization and blog logic should not know about each other. Also updating framework could potentially break this code, which is bad for long term projects.
Three reasons why dependency injection is better than service location: - There's a decreased chance of runtime errors - The code is less obfuscated to the outside - It decreases cognitive load
I still don't understand, why I should create a function, that return refs, and not export refs directly. Anyone can answer? #vuejs #vue
Replying to @vuejs
✨New: Composables Guide - how to extract, organize, and reuse code with Composition API: vuejs.org/guide/reusability/…
Andrey retweeted
Last week, we launched the brand new vuejs.org. Here's a thread highlighting some of the new / updated features: 👇🧵
25
94
9
407
Hi @phpstorm PHPStorm is often not responsive/slow or freezes after the last update 2021.2.4 on M1 Macbook. Intel macs seems fine. Is it known issue or something new?
3
2
Hi. Anyone have good recommendations about writing CV? I've always wanted to fit everything to one page and throw small projects, but in this case I have time gaps. In other hand I don't want to put too small stuff and spend half day, remembering what I did 8 years ago.
1
I've just speed up our behat tests from 12 to 6 minutes, by replacing bcrypt passwords with cost 11 to 4 (which is 128 times faster).
1
2
Hi! So here's my mini research about PHP static analysis tools for a small project 👇 I've set the strictest levels on both tools and added Symfony and ORM plugins. #PHP #Symfony #psalm #phpstan
1
4
- @phpstan is much faster, but requires extra work (adding @return for arrays/iterators). - @psalmphp is smarter, but way slower. I noticed even on pretty small project. - I've checked only tip of the iceberg. Both tools has much more features under the hood.
1
Small update: My query builder code was incorrect. Also @OndrejMirtes pointed that I can configure the doctrine plugin to infer query builder expression and it works without weird extra variable! No more warnings now and this code is 100% typed!