Dave (@SmoDav) header
Dave (@SmoDav) profile picture

Husband | Dad | Full Stack Developer | Laravel Artisan | Designer #privacy #infosec #php #security

Nairobi, Kenya
Joined December 2010
Photo by Dave (@SmoDav)Photo by Dave (@SmoDav)Photo by Dave (@SmoDav)Photo by Dave (@SmoDav)Photo by Dave (@SmoDav)Photo by Dave (@SmoDav)Photo by Dave (@SmoDav)Photo by Dave (@SmoDav)Photo by Dave (@SmoDav)Photo by Dave (@SmoDav)
I spent 6days on this Raila Odinga cracked glass art.. use 1sec of Ur time to like and repost RIP baba
387
4,802
359
14,514
2,215,931
🔌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.
503
2,161
1,528
9,934
6,116,037
Replying to @AbsaKenya
@AbsaKenya I see some people have started some phishing tactics.
2
57
People are not sleeping
9
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
5
24
248
12,845
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.
1,173
5,308
857
116,188
10,254,504
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
17
34
3
322
34,551
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
7
36
1
266
13,634
Hello @Safaricom_Care, the MPesa for business site doesn't offer non-individual applications anymore, must someone visit the safaricom shops?
1
1
48
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
283
3,696
206
4,612
324,168
Why has @Safaricom_Care decided that we should always have double NAT? Why is it that no one from your support team is able to bridge these huawei routers??
31
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
4
176
13
609
38,253
We've shipped the framework features I demoed at @LaraconUS. 🚀 Here's what's included... 🧵
38
181
26
973
105,404
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.
268
719
158
6,310
436,452
If you keep telling lies, nobody will believe when you tell the truth. #BoyWhoCriedWolf
1
30
Replying to @akoskm
Are you this old?
2
1
4
224
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
206
1,059
62
4,427
236,546
🪵 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...
1
805