David Lun 💻 (@mc0de) header
David Lun 💻 (@mc0de) profile picture

⚙️ Laravel Artisan | 🐍 Pythonista

Vilnius, Lithuania
Joined September 2009
Photo by David Lun 💻 (@mc0de)Photo by David Lun 💻 (@mc0de)Photo by David Lun 💻 (@mc0de)Photo by David Lun 💻 (@mc0de)Photo by David Lun 💻 (@mc0de)Photo by David Lun 💻 (@mc0de)Photo by David Lun 💻 (@mc0de)Photo by David Lun 💻 (@mc0de)Photo by David Lun 💻 (@mc0de)Photo by David Lun 💻 (@mc0de)
David Lun 💻 retweeted
Last quarter I rolled out Microsoft Copilot to 4,000 employees. $30 per seat per month. $1.4 million annually. I called it "digital transformation." The board loved that phrase. They approved it in eleven minutes. No one asked what it would actually do. Including me. I told everyone it would "10x productivity." That's not a real number. But it sounds like one. HR asked how we'd measure the 10x. I said we'd "leverage analytics dashboards." They stopped asking. Three months later I checked the usage reports. 47 people had opened it. 12 had used it more than once. One of them was me. I used it to summarize an email I could have read in 30 seconds. It took 45 seconds. Plus the time it took to fix the hallucinations. But I called it a "pilot success." Success means the pilot didn't visibly fail. The CFO asked about ROI. I showed him a graph. The graph went up and to the right. It measured "AI enablement." I made that metric up. He nodded approvingly. We're "AI-enabled" now. I don't know what that means. But it's in our investor deck. A senior developer asked why we didn't use Claude or ChatGPT. I said we needed "enterprise-grade security." He asked what that meant. I said "compliance." He asked which compliance. I said "all of them." He looked skeptical. I scheduled him for a "career development conversation." He stopped asking questions. Microsoft sent a case study team. They wanted to feature us as a success story. I told them we "saved 40,000 hours." I calculated that number by multiplying employees by a number I made up. They didn't verify it. They never do. Now we're on Microsoft's website. "Global enterprise achieves 40,000 hours of productivity gains with Copilot." The CEO shared it on LinkedIn. He got 3,000 likes. He's never used Copilot. None of the executives have. We have an exemption. "Strategic focus requires minimal digital distraction." I wrote that policy. The licenses renew next month. I'm requesting an expansion. 5,000 more seats. We haven't used the first 4,000. But this time we'll "drive adoption." Adoption means mandatory training. Training means a 45-minute webinar no one watches. But completion will be tracked. Completion is a metric. Metrics go in dashboards. Dashboards go in board presentations. Board presentations get me promoted. I'll be SVP by Q3. I still don't know what Copilot does. But I know what it's for. It's for showing we're "investing in AI." Investment means spending. Spending means commitment. Commitment means we're serious about the future. The future is whatever I say it is. As long as the graph goes up and to the right.
5,078
25,142
5,923
169,452
26,382,183
Laravel Tip 🚀 Easily share secure download links without exposing your S3 bucket with the temporaryUrl method. Check how we can generate a temporary URL valid for 10 minutes in a clean and easy way in Laravel with the example TemporaryLink action. 🔥
2
13
132
7,019
David Lun 💻 retweeted
After 6 years @PovilasKorop and @DailyLaravel team is organizing a local meetup! First topic is about @filamentphp by Povilas himself!
6
7
2
118
5,873
David Lun 💻 retweeted
Highlights of what I announced during my @LaraconUS talk yesterday... 🧵
13
96
17
591
87,587
My condolences to anyone who was relying on Joel. He'll be back in four to six weeks.
About to click the download button after hearing @aarondfrancis gush about this on the recent pod. What can go wrong?
42
3
1
364
32,421
David Lun 💻 retweeted
Google destroyed my business They changed the rules And they made the decision on behalf of our users that we were no longer what they were looking for Here's exactly what happened:
137
187
91
1,560
794,166
David Lun 💻 retweeted
Tailwind is the only maintainable way to style websites. 🤷‍♂️
181
189
76
1,985
379,966
That only 20% of developers know what they're doing? 🤷‍♀️
Replying to @scrumtuous
If 80% of IDEs are in dark mode... It probably means something
20
4
84
12,645
David Lun 💻 retweeted
git pull --rebase is the only way
90
80
20
1,252
180,689
David Lun 💻 retweeted
On November 23 of this year, PHP 8.3 is scheduled to be released, bringing with it the much-awaited "json_validate" function. Validating JSON contents is about to get a whole lot better! ❤️‍🔥
6
37
6
293
25,541
⚡️ Database Tip Sometimes you have date ranges in your database and you don't want them to overlap. Two people booking the same hotel room at the same time is a big problem. You can define constraints for your tables that those ranges never overlap! sqlfordevs.com/non-overlappi…
7
28
1
209
19,181
David Lun 💻 retweeted
⚡️ #Laravel devs, your favorite #eloquent find() method also takes an array of ids and gives you back a collection of models. All of these examples execute the exact same query and gives you the exact same result. 👌 Which do you prefer and why?
2
26
95
3,971
Monorepos in Python https://teapawt.org/t.co/VKgCC8wUoP
9
54
10,100
David Lun 💻 retweeted
Congrats to LaravelDaily/laravel-tips, which has grown by 149 stars in the last 7 days and has reached 5.19K stars. Thanks to the contributors: @nerijusdev @mraheelkhan_ @mc0de @RhysLeesDev @a_m_r001 ossinsight.io/analyze/Larave…
2
1
Dear @elonmusk, when someone tries to steal the wheels of your Tesla, it doesn't make them legal owner of the car or of the wheels. Even though they claim both voted in favor of it. Just saying.
Let’s try this then: the will of the people who live in the Donbas & Crimea should decide whether they’re part of Russia or Ukraine
59%Yes
41%No
2,433,392 votes • Final results
2,983
11,664
1,149
105,157
David Lun 💻 retweeted
Next I’m buying Coca-Cola to put the cocaine back in
166,868
572,408
168,447
4,164,826
How to become successful at anything. You don't have to be a genius. Or lucky. Just do something valuable, well enough, for long enough. Most people fail at all three. Especially the third one.
2
14
1
73
David Lun 💻 retweeted
Got a few questions on what you can do with PHP match expressions and why they're awesome 🤙 I made a few examples. Let's go! 👇 🧵
8
110
14
472
David Lun 💻 retweeted
Life gets better as you age, not worse. Unless you're living it badly.
18
1,400
106
19,500
David Lun 💻 retweeted
we're not giving your game review an edit button
25
31
5
1,057