Categories
Technical

High 5 Games – Innovation

I had fun innovating directly with the facebook team at Menlo Park ! These many travels between high5games office located at the time in the world trade center 59th floor in New York and Facebook headquarter in Menlo Park were not lost ! Many years later our work still speaks volume ! Customer Experience was paramount in our unstoppable success !

Facebook API

Facebook Api, Facebook Payment, Facebook Authentication

Categories
Technical

Amazon Principles

— This is great for other companies to be inspired —

Leadership Principles

We use our Leadership Principles every day, whether we’re discussing ideas for new projects or deciding on the best approach to solving a problem. It is just one of the things that makes Amazon peculiar.

Customer Obsession

Leaders start with the customer and work backwards. They work vigorously to earn and keep customer trust. Although leaders pay attention to competitors, they obsess over customers.

Ownership

Leaders are owners. They think long term and don’t sacrifice long-term value for short-term results. They act on behalf of the entire company, beyond just their own team. They never say “that’s not my job.”

Invent and Simplify

Leaders expect and require innovation and invention from their teams and always find ways to simplify. They are externally aware, look for new ideas from everywhere, and are not limited by “not invented here.” As we do new things, we accept that we may be misunderstood for long periods of time.

Are Right, A Lot

Leaders are right a lot. They have strong judgment and good instincts. They seek diverse perspectives and work to disconfirm their beliefs.

Learn and Be Curious

Leaders are never done learning and always seek to improve themselves. They are curious about new possibilities and act to explore them.

Hire and Develop the Best

Leaders raise the performance bar with every hire and promotion. They recognize exceptional talent, and willingly move them throughout the organization. Leaders develop leaders and take seriously their role in coaching others. We work on behalf of our people to invent mechanisms for development like Career Choice.

Insist on the Highest Standards

Leaders have relentlessly high standards — many people may think these standards are unreasonably high. Leaders are continually raising the bar and drive their teams to deliver high quality products, services, and processes. Leaders ensure that defects do not get sent down the line and that problems are fixed so they stay fixed.

Think Big

Thinking small is a self-fulfilling prophecy. Leaders create and communicate a bold direction that inspires results. They think differently and look around corners for ways to serve customers.

Bias for Action

Speed matters in business. Many decisions and actions are reversible and do not need extensive study. We value calculated risk taking. 

Frugality

Accomplish more with less. Constraints breed resourcefulness, self-sufficiency, and invention. There are no extra points for growing headcount, budget size, or fixed expense.

Earn Trust

Leaders listen attentively, speak candidly, and treat others respectfully. They are vocally self-critical, even when doing so is awkward or embarrassing. Leaders do not believe their or their team’s body odor smells of perfume. They benchmark themselves and their teams against the best.

Dive Deep

Leaders operate at all levels, stay connected to the details, audit frequently, and are skeptical when metrics and anecdote differ. No task is beneath them.

Have Backbone; Disagree and Commit

Leaders are obligated to respectfully challenge decisions when they disagree, even when doing so is uncomfortable or exhausting. Leaders have conviction and are tenacious. They do not compromise for the sake of social cohesion. Once a decision is determined, they commit wholly.

Deliver Results

Leaders focus on the key inputs for their business and deliver them with the right quality and in a timely fashion. Despite setbacks, they rise to the occasion and never settle.

Categories
Book Study Recommendation Books

What’s New in PHP 8 ?

Union types

public function foo(Foo|Bar $input): int|float;

The nullsafe operator

$dateAsString = $startDate ? $startDate->asDateTimeString() : null;

$dateAsString = $booking->getStartDate()?->asDateTimeString();

New mixed type

function bar(): ?mixed {}

Throw expression

$triggerError = fn () => throw new MyError();

$foo = $bar[‘offset’] ?? throw new OffsetDoesNotExist(‘offset’);

READ -> https://stitcher.io/blog/new-in-php-8

Categories
Book Study Recommendation Books

Amazing Article ! Why I quit my job !

Amazing article wrote by https://twitter.com/brendt_gd

https://stitcher.io/blog/dont-get-stuck

Categories
API

What HTTP status response code should I use if the request is missing a required parameter?

The 422 (Unprocessable Entity) status code means the server understands the content type of the request entity (hence a 415(Unsupported Media Type) status code is inappropriate), and the syntax of the request entity is correct (thus a 400 (Bad Request) status code is inappropriate) but was unable to process the contained instructions. For example, this error condition may occur if an XML request body contains well-formed (i.e., syntactically correct), but semantically erroneous, XML instructions.

https://stackoverflow.com/questions/3050518/what-http-status-response-code-should-i-use-if-the-request-is-missing-a-required

Categories
Laravel

How to send email via Laravel ?

Create Mailgun account

https://app.mailgun.com/app/dashboard

Update .env

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailgun.org
MAIL_PORT=587
MAIL_USERNAME=XXXXXXXXXXXXXXXXXXXXX
MAIL_PASSWORD=XXXXXXXXXXXXXXXXXXXXX

Clear Cache

php artisan config:cache

Categories
Laravel Technical

Flash Messaging With Vue

EPISODE 29 RUN TIME 13:59 • Apr 25th, 2017

https://laracasts.com/series/lets-build-a-forum-with-laravel/episodes/29

One of the most important topic a full stack developer should know. This topic will help you to quickly provide quick feedback to your customer within your application

https://forum.raleche.com

Categories
Book Study Recommendation Business alignment with IT

Stop Promoting Incompetent Leaders

There are too many incompetent men in leadership positions — in large part because businesses tend to promote people on the basis of charisma, confidence, and even narcissism. Instead, companies should be putting people in charge who demonstrate competence, humility, and integrity. If you’re responsible for assessing leadership candidates, you should work on your ability to distinguish between confidence and competence. Remember that overconfidence is a natural result of privilege, which is often linked to gender. Fortunately, you can use scientifically valid assessments to measure the traits you want (or don’t want) in your leaders. You can ask company leaders, including emerging leaders, to take self-assessments, and then measure their responses against their leadership style, performance, and effectiveness. The resulting data will help identify patterns that characterize good and bad leaders at your company. Of course, this practice will take time and effort, and many organizations won’t want to invest those resources. But vetting candidates for leadership roles will pay dividends down the line.

How to Spot an Incompetent Leader,” by Tomas Chamorro-Premuzic

Categories
Laravel

Laravel redirect with message

Redirecting With Flashed Session Data

Redirecting to a new URL and flashing data to the session are usually done at the same time. Typically, this is done after successfully performing an action when you flash a success message to the session. For convenience, you may create a RedirectResponse instance and flash data to the session in a single, fluent method chain:

Route::post('user/profile', function () {
    // Update the user's profile...

    return redirect('dashboard')->with('status', 'Profile updated!');
});

After the user is redirected, you may display the flashed message from the session. For example, using Blade syntax:

@if (session('status'))
    <div class="alert alert-success">
        {{ session('status') }}
    </div>
Categories
Laravel

Laravel Generate Authentication Page

It is very easy to generate authentication page with laravel. All you have to do is to execute the following commands

composer require laravel/ui 
php artisan ui vue --auth

And you will find all the view blade files within this directory

resources/views/auth
Laravel Authentication page
Laravel Authentication page composer require laravel/ui php artisan ui vue –auth