Laueist
laueist.bsky.social
Laueist
@laueist.bsky.social
Senior Software Developer for full stack web applications – 10+ yrs in web dev, focus on Laravel and Vue
Leetcode two sum in Rust: I feel trolled. Local demo works. Why doesn't it return before exceeding the length?
December 11, 2025 at 9:29 PM
Small Rust project: Remind me of a random alias I defined.
Maybe I'll add spaced repetition, and then I'll be ready to go to town with aliases.
December 5, 2025 at 9:18 PM
It just occured to me that I can avoid boilerplate in Laravel tests when I disable database constraints:

public function test_create()
{
DB::statement('SET FOREIGN_KEY_CHECKS=0;');
Project::create(['customer_id' => 12345]);
$this->assertSame(12345, Project::sole()->customer_id);
}
October 28, 2024 at 11:47 AM