Kai Sassnowski ๐Ÿฅ” Profile Banner
Kai Sassnowski ๐Ÿฅ” Profile
Kai Sassnowski ๐Ÿฅ”

@warsh33p

5,787
Followers
207
Following
729
Media
4,491
Statuses

@mijustin thinks I work at Laravel.

Munich
Joined May 2011
Don't wanna be here? Send us removal request.
Pinned Tweet
@warsh33p
Kai Sassnowski ๐Ÿฅ”
5 months
๐ŸŽ‰ I'm incredibly happy to give you part 1 of my interactive blog post series about rigid body physics. I started working on this almost 7 months ago (!) and it's been an absolute labor of love. You'd make my day by checking it out and sharing it โค๏ธ
16
52
290
@warsh33p
Kai Sassnowski ๐Ÿฅ”
1 year
Open source is such fulfilling work.
Tweet media one
55
398
8K
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
๐ŸดI'm incredibly excited to announce the release of Roach, the complete web scraping toolkit for PHP. I'm super proud of this package and hope that you will find it useful, too! ๐Ÿ—’ Get started here: ๐Ÿ’ปGithub repository:
28
100
712
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
๐Ÿ”ฅ I keep finding these sweet conveniences in Laravelโ€™s HTTP client. For instance, thereโ€™s a `withToken` method to attach the `Authorization` header to a request. So much nice than having to add it manually. ๐Ÿฅฐ
Tweet media one
10
67
587
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
Man, the future for PHP is looking seriously exciting ๐Ÿฅน
21
57
578
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
php is good, likes pls
33
12
541
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
๐ŸคžPosting publicly to hold myself accountable. ๐Ÿ“˜ I'm writing a book on database indexing for developers. Hereโ€™s the initial braindump of all the topics I want to explain in the book. There will be a free web version and a paid PDF. Please RT so I canโ€™t bail out on this. ๐Ÿ˜…
Tweet media one
15
170
474
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
๐Ÿ“˜ Iโ€™m writing a book about database indexing targeted at developers. Itโ€™s like my Laracon talk except better and way more in-depth. ๐Ÿ’ก Check it out if this sounds interesting to you and you want to stay up to date!
17
75
294
@warsh33p
Kai Sassnowski ๐Ÿฅ”
5 years
Laravel + Vue + Tailwind + Inertia.js is officially my dream stack ๐Ÿคฉ
13
23
259
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
I'd like to thank @jeffrey_way (for Laracast), @taylorotwell (for Laravel), @adamwathan (for Tailwindcss) and most recently @reinink (for Inertia.js) for basically all of my career. So, uhh.. thanks guys.
7
17
242
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
๐Ÿ’ก Did you know that thereโ€™s a built-in way of getting all supported time zones in PHP? No need to hard code that stupid array every single time ๐Ÿ˜…
Tweet media one
5
27
235
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
The first chapter of my book on database indexing will be about this basic query: SELECT * FROM orders WHERE order_id = ?; If you think thatโ€™s too simple, think again! Not only does the query time improve by 2 orders of magnitude, thereโ€™s a ton of stuff to learn about indices.
Tweet media one
Tweet media two
9
21
221
@warsh33p
Kai Sassnowski ๐Ÿฅ”
1 year
Please donโ€™t let this become my most liked tweet lmao
13
1
218
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
The Laravel community is *by far* the friendliest and most supportive community I've ever been a part of
9
15
219
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
๐ŸŒŸ Eloquent tip If you need to insert or update a whole bunch of records in a loop, don't use `Model::updateOrCreate`. Instead, use the `DB` facade's `upsert` method to use your database's built-in upsert functionality to do the whole thing in one query!
Tweet media one
13
35
215
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
I always find it weird when people claim that @tailwindcss is difficult to maintain. Maintainability is one of the main benefits in my opinion. I can immediately be productive on every project that uses Tailwind without having to understand its bespoke CSS conventions ๐Ÿ˜
11
11
213
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
๐ŸŽ‰Excited to announce the release of Venture, a package built on top of Laravel jobs to help you manage and run complex workflows in your application. Check it out over at Github: If you RT, you're my favorite person โค๏ธ
Tweet media one
11
78
210
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
I wish every API implemented a simple `/ping` endpoint so I can test if my auth token works. I hate having to look through the docs to find the endpoint that returns the least sensitive or least amount of data to use as a "check", only to then complete discard that data ๐Ÿ™ˆ
8
13
203
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
I think I've figured out a really nice way of dealing with multi-step setup/wizards in Laravel. So dealing with things like persisting state between steps, automatically registering the required routes, etc. I wonder if this is something people might be interested in ๐Ÿค”
42
7
183
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
๐ŸŽ‰ Super proud to announce the release of version 1.0.0 of Roach, the complete web scraping toolkit for PHP. ๐Ÿด The upgrade should be fairly painless, but check out the upgrade guide here: Full release notes here: Partaaaay ๐ŸŽ‰
9
31
182
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Getting reeeeally close to releasing the first tagged version of Roach, the complete web scraping toolkit for PHP ๐Ÿ˜
Tweet media one
6
6
173
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
I fucking love Tailwind, holy shit
15
8
173
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
I cannot stress enough how important consistency is to getting things done. You don't have to work in crazy 14 hour bursts. Chip away at it. Every. Single. Day. Even if it's just two minutes. *Anything* is better than doing nothing. And it really adds up fast.
5
32
164
@warsh33p
Kai Sassnowski ๐Ÿฅ”
1 year
๐ŸŽฅI just published my first ever YouTube video to my channel ๐ŸŽ‰ I worked on it for about 3 1/2 months and I'm super proud of how it turned out. It would make my day if you could check it out (and please the algorithm by commenting ๐Ÿ˜…)โค๏ธ
20
31
158
@warsh33p
Kai Sassnowski ๐Ÿฅ”
1 year
In case you can look past this absolutely unacceptable bug, the project itself is pretty neat in case you want to do some web scraping in PHP:
2
2
149
@warsh33p
Kai Sassnowski ๐Ÿฅ”
9 months
โญ๏ธ Super happy to announce the release of Vueclid, a package to create beautiful, interactive math diagrams using Vue.js Code: Docs:
11
34
147
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
๐Ÿš€ Iโ€™m incredibly excited to announce the release of version 0.1.0 of Arcanist, magical multi-step forms for Laravel ๐Ÿช„ โœ”๏ธAutomatic route registration โœ” Keeping track of state โœ” Form validation โœ” Dependencies between steps โœ” ... and a lot more!
9
35
132
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
โ€žWhy pay $5 a month if I can write a buggy, half-assed version of it in only a couple hundred hours myself?โ€œ โ€” Every developer ever
3
12
127
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
Them: AI is going to take over the world! AI:
Tweet media one
5
8
122
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Guess I can cross "Wrote my own datepicker" off my bucket list...
Tweet media one
6
2
109
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
๐ŸŽ‰I will release Venture later today. A package to manage complex workflows built on top of Laravel jobs. This is by far the coolest thing I've built in a while ๐Ÿ”ฅ
Tweet media one
3
11
109
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
๐Ÿด The Laravel adapter for RoachPHP has been updated to support Laravel 10 ๐ŸŒŸ In case you didn't know, RoachPHP is the complete web scraping toolkit for PHP. Check out the full docs here:
4
16
104
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Reminder to everyone thinking about writing a blog. It doesn't matter if there are already 5000 blogs about the same topic. It might be *your* explanation that finally makes it click for someone.
3
18
104
@warsh33p
Kai Sassnowski ๐Ÿฅ”
9 months
Man, I am so pleased with how this is turning out. It's so easy to make these interactive diagrams now ๐Ÿ˜
4
4
103
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
๐Ÿ”ฅ If youโ€™re using @tailwindcss together with a front-end router (like vue-router) that automatically attaches various โ€œactiveโ€ classes to your links, you can write a plugin so you donโ€™t have to write any custom CSS to style active links.
Tweet media one
0
20
102
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
For me, @inertiajs has been to Javascript what @tailwindcss has been to CSS. Thanks for all the amazing work, @reinink and contributors ๐Ÿ˜
1
7
102
@warsh33p
Kai Sassnowski ๐Ÿฅ”
7 months
@MiniOrchid1 @bookiesnacksize Men will literally put their wives on the terrorist watch list instead of going to therapy
1
4
97
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Weโ€™re looking for an experienced Laravel developer to join us (Remote, Germany only for now)! If you want to work with me on the Laravel application that spawned both Venture and Arcanistโ€”or know someone who doesโ€”shoot me a DM and we can talk!
10
32
95
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
๐Ÿด I love, love, love this feature so much. Scraping an initial URL for the links I actually want to crawl and then scraping each of these URLs using a *different* parsing callback is huge! ๐Ÿ˜ Itโ€™s such a common use case.
Tweet media one
2
5
93
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
I really dislike the Single Responsibility Principle. Not because of what it is trying to teach. But have you ever tried to get two developers to agree on what a โ€œresponsibilityโ€ is?
8
8
87
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Super excited for Arcanist ๐Ÿช„
Tweet media one
8
7
88
@warsh33p
Kai Sassnowski ๐Ÿฅ”
7 months
This is the most dystopian thing Iโ€™ve ever heard. โ€œMaking learning optionalโ€ฆโ€ Motherfucker, learning is like the most fun thing you can do with your brain. Why would I ever want to make that optional?
@duborges
Eduardo Borges
7 months
This is happening way too fast.
Tweet media one
Tweet media two
12
18
116
17
9
78
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
๐Ÿš€ I am extremely excited to announce that Boardy is now live! ๐ŸŽ‰ Boardy lets everyone create beautiful, auto-updating dashboards without writing any code. Thereโ€™s a 10-day trial with no credit card required up front so please go check it out!
10
11
79
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Iโ€™m liking this ๐Ÿ‘€
Tweet media one
Tweet media two
Tweet media three
0
5
80
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
๐Ÿ”ฅ Since Iโ€™m having to deal with a lot of generated markup recently, this small child-selector plugin for Tailwind has been a life saver.
Tweet media one
2
3
79
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
Happy to announce that Iโ€™ll be speaking at @LaraconOnline ! My talk is going to be about using the type system to make impossible states truly impossible
8
5
78
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
I've built a camera controller for Motion Canvas and decided to open source it โค๏ธ
4
8
76
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Almost starting to look like a real product ๐Ÿคซ๐Ÿฅ”
Tweet media one
Tweet media two
Tweet media three
Tweet media four
8
0
72
@warsh33p
Kai Sassnowski ๐Ÿฅ”
8 months
@mattpocockuk Where is your god now?!
Tweet media one
2
0
71
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
Got a new M1 MacBook Pro this week. Now I can finally open that fifth Chrome tab Iโ€™ve always dreamed about ๐Ÿ˜
4
0
69
@warsh33p
Kai Sassnowski ๐Ÿฅ”
9 months
I've been quite sick recently but before that I had been working on a small SVG library to draw math diagrams. It's written in Vue so it's easy to make it interactive. Thinking about packaging it up and throwing it on npm. I really like how clean it looks!
2
4
68
@warsh33p
Kai Sassnowski ๐Ÿฅ”
7 months
I have a hard time viewing someone as a senior developer if theyโ€™ve never worked on a project long enough to where they had to deal with the consequences of their decisions.
6
4
70
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
One thing I immensely appreciate about the Laravel community is everyone being so incredibly supportive of people wanting to build (and oftentimes sell) cool shit. Thereโ€™s (almost) no "how dare you charge money for this" or "why even build this" going on. Love y'all โค๏ธ
4
0
70
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
๐Ÿด Roach is completely framework agnostic. The actual functionality is inside the core package which you could use on its own. Most of the time, you will want to require one of the framework-specific adapters, however. Iโ€™ve already written the Laravel adapter ๐Ÿ˜Ž
Tweet media one
1
7
68
@warsh33p
Kai Sassnowski ๐Ÿฅ”
1 year
@barry_kooij Life goals.. I guess?
0
0
66
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
This is really satisfying ๐Ÿคฉ Thanks everyone who starred the repo โค๏ธ
Tweet media one
2
1
66
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
I friggin love Laravelโ€™s `travel` helpers when writing tests ๐Ÿ˜
Tweet media one
2
8
65
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
You probably donโ€™t need microservices.
8
14
62
@warsh33p
Kai Sassnowski ๐Ÿฅ”
1 year
FullstackEU is probably going to be my last conference for a while. I've been in a really bad spot mentally for the last 4-5 months. I've basically lost my passion to do just about anything. I'll probably stay off Twitter for a while, too. See y'all around ๐Ÿ‘‹
26
1
64
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
I tested positive for COVID this morning which meant I was unable to give my talk at @FullStackEU today ๐Ÿ˜ฅ Really sorry to anyone who was looking forward to it. I spend close to 100 hours preparing this talk and having it all go to shit like this is beyond frustrating ๐Ÿ˜ญ
22
1
63
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
I probably care way too much about this than is healthy but Iโ€™m still super proud of this achievement ๐Ÿ˜Š
Tweet media one
3
0
63
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
๐Ÿฅ” Showing your (private) dashboard on a monitor thatโ€™s hooked up to a random Raspberry Pi in a closet somewhere? No problem, just scan the QR code with your phone to allow this browser to view your dashboard. No need to hook up a keyboard ๐Ÿ˜Ž
Tweet media one
3
2
62
@warsh33p
Kai Sassnowski ๐Ÿฅ”
11 months
My YouTube video on coordinate spaces passed 5000 views. Not crazy numbers compared to the really popular videos. But given it's my first ever video and it's about a really niche topic, I'm super proud of it ๐Ÿ˜Š
5
3
60
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
One thing I really appreciate about @pestphp is how easy it is to quickly stub out a bunch of test scenarios. I often just need to get these ideas out of my head so I don't forget about them ๐Ÿ˜
Tweet media one
3
9
60
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
I sure am glad my talk was scheduled before @calebporzio ๐Ÿ˜…. Tough act to follow ๐Ÿ‘
5
0
59
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
The Roach core package has cracked 800 stars on GitHub ๐Ÿค— Not bad for something that I almost wasnโ€™t even going to publish!
Tweet media one
3
9
59
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
Almost 7 months ago, my brother took is own life. Today would have been his 47th birthday. Cherish your loved ones, everyone. Things can change really quickly. Rest well, big brother. We miss you very much๐Ÿ’”
4
0
58
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Behold! The completely headless datepicker component: (subject to change as my use case changes)
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Guess I can cross "Wrote my own datepicker" off my bucket list...
Tweet media one
6
2
109
6
12
56
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Tailwind %20 CSS
@digitalocean
DigitalOcean
3 years
Make a developer happy in 3 words: ๐Ÿคฉ
1K
55
928
5
1
53
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Behold the power of D I V S (also not the final tagline)
Tweet media one
5
3
56
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
I was today years old when I first had good use case for using service tagging in Laravel.
Tweet media one
1
7
56
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Is it just me or do other people also expect their code to spontaneously implode as soon as other people start using it? ๐Ÿ˜…
10
0
55
@warsh33p
Kai Sassnowski ๐Ÿฅ”
6 years
Here are the slides for my @LaraconEU talk about database indexing: I have also uploaded a dump of the example database I used if you want to play around with it yourself: #LaraconEU
6
7
55
@warsh33p
Kai Sassnowski ๐Ÿฅ”
4 years
by @JhnBrn90 is a friggin' amazing resource about developing packages for Laravel. 100% worth checking out.
0
9
54
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
So close to 1000 stars ๐Ÿคฉ
Tweet media one
2
6
52
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
PHP 8.1 is so freaking nice to use ๐Ÿฅฐ I never knew how much I was missing first-class callables until now.
2
1
55
@warsh33p
Kai Sassnowski ๐Ÿฅ”
6 years
I just set up a webpack config from scratch, AMA.
10
2
52
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Ok, I love this ๐Ÿ˜
Tweet media one
4
6
53
@warsh33p
Kai Sassnowski ๐Ÿฅ”
7 months
This whole PlanetScale thing is a great example of why Iโ€™m always really hesitant about working for a US company. When youโ€™re used to German labor laws, at-will employment seems like something out of a Franz Kafka novel.
5
0
52
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Itโ€™s crazy how much value Iโ€™ve gotten from this simple class. Refresh intervals, cache TTLs, you name it ๐Ÿฅฐ
Tweet media one
4
1
48
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
lmao
Tweet media one
Tweet media two
5
6
46
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Getting there ๐Ÿค—
Tweet media one
3
0
48
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
๐Ÿ‘Œ๐Ÿฅ”
Tweet media one
Tweet media two
Tweet media three
4
2
48
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
@FreyaHolmer is my spirit animal
Tweet media one
1
1
48
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
Also, how the hell did I miss a typo IN THE TITLE OF THE FIRST GOD DAMN SLIDE?!!
15
0
45
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
English speakers will never understand the pain of teenagers starting to default to โ€žSieโ€œ instead of โ€žDuโ€œ when addressing you as you grow older ๐Ÿฅฒ
10
1
47
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
๐Ÿช„Iโ€™m going to showcase Arcanist live on Youtube tomorrow. I will create a couple of multi-step forms from scratch to show how everything works. Let me know if you want to see anything in specific! Drop by tomorrow at 5pm GMT+2!
0
14
46
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
Thanks everyone for listening to my talk! I'm going to publish the slides as soon as I figure out the best way of exporting a Keynote presentation to a PDF or something like that ๐Ÿ˜… #laracon
5
1
45
@warsh33p
Kai Sassnowski ๐Ÿฅ”
11 months
I just learned that you can have reactive styles in a Vue component by using `v-bind` ๐Ÿคฏ
Tweet media one
2
5
45
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Vue 3 is amazing ๐Ÿ˜
5
0
44
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
Anyone interested in web scraping wants to give a shot at a pre-release version of my upcoming package? ๐Ÿ˜‡
22
2
46
@warsh33p
Kai Sassnowski ๐Ÿฅ”
3 years
I wanted to thank everyone who reached out to me, either in private or by replying to my tweet. I do appreciate every single one of your messages, they really do help. Itโ€™ll take while, but Iโ€™m going to be alright. โค๏ธ Please take care of each other.
0
0
45
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
@adamwathan Datepicker. I mean, how hard can it beโ€ฆright?
2
0
41
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
This is what an index range scan looks like in case you ever wondered (I'm sure you did) ๐Ÿ˜‡ My @FullStackEU talk is going to be ๐Ÿ”ฅ
3
4
44
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
I just want to say that @filamentphp is freaking awesome, holy crap! @danjharrin is the maddest of lads!
3
2
42
@warsh33p
Kai Sassnowski ๐Ÿฅ”
2 years
Mom, can we have @aarondfrancis ? No, we have @aarondfrancis at home. @aarondfrancis at home:
Tweet media one
6
0
43