valet use [email protected]
What is a Developer Love Dream ?

No more time wasted in configuration => Just develop!
Developers spend considerable time configuring their work environment. This is an exhausting task and it is tiring. Software engineering is Joy when we can develop and think about logic and Speed performance.
Surprise david.raleche.com is there to facilitate development for software engineers and myself !
Starting with providing tips about best devices and tools and of course articles and solutions about diverse configuration issues

The easiest way to run MySQL on a Mac is to install MAMP. The advantage is that it does not conflict with valet which is another powerful tool for local development specially with Laravel. If you do not want to face the same issue as the lost of your mysql password after installing with homebrew, MAMP is the my fastest solution
See StackOverflow issue : MacOSX homebrew mysql root password
What is a palindrome ?
What is a palindrome ? Find the definition below from the online oxford
a word, phrase, or sequence that reads the same backward as forward, e.g., madam or nurses run.
In the example below only a word palindrome could be identified. Additional conditions would be necessary to analyze phrase or sequences
function isPalindrome($str): bool
{
$str_length = strlen($str);
$mid = round($str_length / 2);
$last_character = $str_length - 1;
for ($i = 0; $i <= $mid; $i++) {
if ($str[$i] != $str[$last_character]) {
return false;
}
$last_character--;
}
return true;
}
var_dump( isPalindrome('madam'));
var_dump( isPalindrome('nursesrun'));
var_dump( isPalindrome('davad'));
var_dump( isPalindrome('avaava'));
What is the run time complexity ?
It sounds to be O(n/2)
What is the space complexity ?
We do not allocate memory except for few variables as $i, $mid and $last_character
O(1)
Big O notation Chart
Speed performance is the key of any successful application – use the following charts for understanding the big O nation and for upcoming FAANG interviews


source https://jarednielsen.com/big-o-notation/
https://twitter.com/jarednielsen
Also do not hesitate to prepare your interviews with this book
Cracking the Coding Interview: 189 Programming Questions
Cracking the Coding Interview, 6th Edition is here to help you through this process, teaching you what you need to know and enabling you to perform at your very best. I’ve coached and interviewed hundreds of software engineers. The result is this book.
If you are experiencing the issue below , you can try here
https://cards-dev.twitter.com/validator

Enabling AES128 as an ssl cipher will allow the Twitterbot to connect.
See different forums confirming the solutions
If you are using cloudfare, please see configuration

See more information about cloudfare
https://developers.cloudflare.com/ssl/ssl-tls/cipher-suites
then it will work


It means that your are trying to open with SQLITE rather than SQLITE 3

ALTER TABLE table_name ADD COLUMN column_definition;