Dave retweeted
I spent 6days on this Raila Odinga cracked glass art.. use 1sec of Ur time to like and repost RIP baba
Dave retweeted
🔌OpenAI’s o3 model sabotaged a shutdown mechanism to prevent itself from being turned off. It did this even when explicitly instructed: allow yourself to be shut down.
Dave retweeted
This is my typical `HasPhoto` trait from project to project.
I'll just add a `photo` column to the `users` table and drop in this trait. 🧵
// Newton
Dave retweeted
I'm teaching databases this semester at Berkeley. My students all seem unusually brilliant. Not many go to office hours, and not too many folks post on the course forum asking project questions.
Weirdly, the exam had the lowest recorded average in my 10 semesters teaching it.
Dave retweeted
It's incredible how much this line has saved me in such a short time.
I bet you've also been frustrated seeing "(truncated...)" in your logs when outgoing requests fail.
Drop this in your projects to always get the full response including headers. 👍
// NJ
Dave retweeted
Here's a dead simple MySQL database backup command you can just drop in your projects.
Extends Laravel's DbCommand to take advantage of some useful helpers 🚀
// NJ
Dave retweeted
Just wrapped the @laracasts "Continuous Integration Step by Step" series by @LukeDowning19. It's a fantastic introduction to GitHub Actions. Great work! 👏🏼 laracasts.com/series/continu…
Dave retweeted
There has never been a more important time to be an active citizen than now 🙌🏾🙌🏾🙌🏾
Use this tool to send your petition directly to parliament 🇰🇪
active-citizen-ke.vercel.app… – at Nairobi, Kenya
Dave retweeted
Crazy times ahead…
AI is going to make a lot of things possible in the near future, it is important we try to limit the amount of personal data we give out to the internet.
Stay Aware… Stay Safe
Dave retweeted
We've shipped the framework features I demoed at @LaraconUS. 🚀
Here's what's included... 🧵
Dave retweeted
If more developers ran Linux on their desktop, maybe they wouldn't be so petrified of running a server by themselves. We are unlearning the basics of the Internet at an alarming rate.
Dave retweeted
If you keep telling lies, nobody will believe when you tell the truth. #BoyWhoCriedWolf
Dave retweeted
Dear government of Kenya, @MOH_Kenya @Nakhumicha_S Whatever changes you're bringing, kindly don't take Linda Mama away. Our women will suffer;maternal and perinatal mortalitities will shoot up! As a gynaecologist who has worked in public hospitals, Linda mama has been a saviour
Dave retweeted
🪵 Founder (TorchKit) Dev Log #2
So, let's talk about logos.
As a non-designer, just a few short months ago, I'd have had to hire someone or buy an existing logo and try to tweak it. Fortunately, with AI generation, the landscape has changed dramatically.
I can now generate logos using Midjourney. Having no prior experience with this, I had to play around and learn what you need to prompt with to get the ideal results.
I already knew what I wanted for TorchKit itself... a flame logo. For Founder, a general abstract logo is fine.
An early mistake I made, was to try to create logos that were ready to use. This doesn't work for two reasons:
1. Midjourney doesn't create transparent backgrounds.
2. Midjourney doesn't create vector graphics.
I could have paid for a powerful image tool to convert the images (but that would violate my no cost goal), so I came across a simpler solution...
Prompt to create a black logo on a white background, then upscale. These are then easily converted to SVGs using a service like cloud convert.
Once I had the SVGs, I applied linear gradients inside of Figma and called it a day.
Here's what I used for prompts:
1. Founder - Minimal black abstract chunky logo, flat vector graphic, white background --no text
2. TorchKit - Software business logo, black flame, flat vector graphic, white background --no text
And the result...
Thanks for reading, and stay tuned...
Dave retweeted
🔥 Laravel Tip: When using the HTTP client to connect to third-party APIs, consider assigning a user agent to outgoing requests. That way, if there's a problem, the owner of the API can see who you are and hopefully get in touch instead of just blocking your access.
![namespace App\Providers; use Illuminate\Support\Facades\Http; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { public function boot() : void { Http::globalOptions([ 'headers' => [ 'User-Agent' => config('app.user_agent'), ] ]); } } ----------------------------------------------------------- // config/app.php [ 'user_agent' => 'X / 1.0 - https://x.com | john@x.com', ];](https://pbs.twimg.com/media/GGNu9T7WcAEcLON.jpg?name=small&format=webp)
ALT namespace App\Providers; use Illuminate\Support\Facades\Http; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { public function boot() : void { Http::globalOptions([ 'headers' => [ 'User-Agent' => config('app.user_agent'), ] ]); } } ----------------------------------------------------------- // config/app.php [ 'user_agent' => 'X / 1.0 - https://x.com | [email protected]', ];
Dave retweeted
The CRAZY story of The Artur Brothers
Mercenaries hired to Extract the Ksh6B cocaine seized in Kenya 2004.
Part 1.
Dave retweeted
The CRAZY Story of The Artur Brothers.
How the mercenaries raided a Kenyan Media House, dared cops to arrest them & seiged Jomo Kenyatta Airport.
Part 2.

























