What's your question?

Question Bump Latest Questions

Jhero23
  • 1
  • 1

There are good or poor public display of affection among women. PDA is a hot theme in relationships , particularly between new couples, where they might have had a relationship earlier when something was somewhere and they are now in ...Read more

There are good or poor public display of affection among women. PDA is a hot theme in relationships , particularly between new couples, where they might have had a relationship earlier when something was somewhere and they are now in this new relationship and maybe public affection shows display more than the other person wants or maybe you don’t display enough for them maybe. PDA is sometimes referred to or public affection shows. This is a conversation to have with your significant other so they don’t feel unpleasant and when you’re out in public, kiss or hold your hands, or whatever.

It’s going to depend on the experience of an individual, the culture, and even on religion. Here we talk about the person with whom you are with, not the people around you. The way in which a person has been treated in terms of public display of affection will probably affect his or her ideas on public affairs.

Public showings of affection are therefore inherently good or inherently bad, depending on the preference of the two people. If a couple think that holding their hands in public is not appropriate, then it’s not only for them, but in many parts of the globe, public displays of affection are not only appropriate, but admired.

Why Do many Women like Public Display of Affection

  1. They are not afraid to display your love to everybody out there and that’s not to say you should take it far and do inappropriate things.
  2. It gives them a sense of full belonging of their men
  3. It gives them the confidence that you are not ashamed to be seen with them in the public cuddling around
  4. They use it to make a statement to their fellow friends that they are taken and every other woman or lady should back off

As I’ve said, there’s no inherently good or bad thing, it’s up to what you both think is right, but you’re always going to get people who get offended by your public displays of affection when you’re out and about in the world , for example, when you’re walking through the park and someone is looking at you and you’re kissing your significant other if they don’t want to see it, considering it should be b.

It might be inappropriate especially for kids, you don’t want to do all kinds of wild things out in public that you really should do behind closed doors like sexual acts.

Read less
Jay
  • 2
  • 2

Does it seem difficult to connect AKAI MPK MINI to your IOS device ? then this tutorial will help you do just that no matter the difficulty. I have covered all the error scenarios in this ...Read more

Does it seem difficult to connect AKAI MPK MINI to your IOS device ? then this tutorial will help you do just that no matter the difficulty. I have covered all the error scenarios in this post. Once you have your IOS device; iPhone or iPad,  get the right accessory as described in this video and you are all good to go. There are two types of USB 3.0 connector, the one with the charging port and the other is without. Never waste a moment of inspiration, once you are inspired musically, just bring out your midi controller and connect them. Keep creating.

So there you have it, this is all what you need to be on the go in terms of mobile production, your iPhone and the AKAI MPK MINI midi controller. I always advocate for starting small and starting with what you have and this is a good way to start with what you have making music so that you don’t always need your laptop or the MacBook every time when you are inspired.

Read less
Jhero23
  • 0
  • 0

Let’s talk about the salary scheme and tax brackets that you earn in Canada and what comes into your pockets after all the deductions, it’s basically the expectations vs. reality of what the earning looks like ...Read more

Let’s talk about the salary scheme and tax brackets that you earn in Canada and what comes into your pockets after all the deductions, it’s basically the expectations vs. reality of what the earning looks like and I’ll be using a particular amount so that it’s relatable to know the breakdown of how the deductions are and what to expect as the net income which is what goes into your pocket after all the deductions have been made. This is something everyone should be aware of and if you’re going to immigrate to Canada, this should not catch you by surprise when you start working.

Tax brackets

So I’ll be using the benchmark of $20 per hour. Also, there’s something called tax brackets. This is different with different provinces, which means that the tax bracket for Manitoba is different from that of Ontario. What this means is that if one is living in Manitoba and the person is earning $36,000 per annum there is a percentage that is deducted from the individual’s salary (which is the tax bracket). If the person moves to Ontario and still earns the same amount, the tax bracket of Ontario will be used

I’ll be using Manitoba’s salary and tax bracket as illustration in this article. Manitoba has three tax brackets combined with the federal; the first tax bracket is 10.8%. This implies that if you are earning from $0 – $32,670 per annum, 10.8% will be deducted and if your gained an increase in salary and you earn $70,000, automatically your tax bracket will be increased  to 12.75% and a further increase of salary about $70k, attracts a tax bracket of 17.4%. This is the provincial tax bracket scheme.

The Federal Tax Bracket

For the federal tax bracket,

  • 15% for the first $46,000,
  • 20.5% for those who earn $60k – $93k per annum
  • 26% is deducted from those who earn between $93k – $144k
  • 29% is deducted from those who earn between $144k – $205k
  • 33% is deducted from those who earn about $205k

but I don’t want to dwell on the tax bracket so much although it has an effect on how much will be deducted from the salary, but I’ll be dwelling so much on the main salary so that you can understand what to expect at the end of the month.

Using a base amount which is $20 per hour, it’s very rare for a new immigrants to get a salary or to get a job that pays about $20.00 per hour but it’s not impossible. There are a  group of people who earn as much as that and more but most immigrants won’t because of their backgrounds so you have to start from the bottom and walk your way up.

Therefore most immigrants start with a minimum wage, some start with $15 per hour while others start with 17, 18 or 19  and it increases as you progress. If you are lucky to earn $20 per hour, your tax bracket is 32.8%. This gives you $3,000 per month and $36,000 per annum. So let’s break it down, automatically you’re earning $150 per day and in Canada, the way people get their salaries is different. Some companies pay weekly, some pay bi-weekly, others pay monthly but the majority of companies paid bi-weekly. So if you are paid bi-weekly, you’ll be getting $1500 for $20/hour.

Deductions

Now for $1500 bi-weekly, if your company has a union, you’ll be required to pay union dues $20 and this is deducted from your salary, now that’s $1480, this amount is the taxable income. The federal tax will be $131.83, and the provincial tax will be $114.07 so automatically $245.30 will be taken out from the balance $1480 and what you get is $1,235.

More deductions are still made, another deduction is called CPP (Canada Pension Plan). Everybody has to contribute to Canada Pension Plan because it is a compulsory deduction.

This will take $69.63, another deduction called EI will take $24. At the end of the day, from $1500, after $359.23 has been deducted all together, you’ll then get  $1140.77, so the real monthly pay is $2281.54

This amount is what is used to pay for bills like rent, phone bills, insurance, day care, cars bills and the higher you earn, the higher the tax, so it eventually looks like you’re working hard and not much is coming in. What are your thoughts about the salary and the tax brackets in Canada

Read less
Jhero23
  • 0
  • 0

I inherited a project recently written in laravel 5.8 to be precise, at this time, laravel has moved on to version 7, but my main issue here is how to setup flutterwave webhook (A very efficient ...Read more

I inherited a project recently written in laravel 5.8 to be precise, at this time, laravel has moved on to version 7, but my main issue here is how to setup flutterwave webhook (A very efficient Nigerian payment gateway) to work in this project, the previous developer had started work on it. After many attempts and reaching out to the rave team.

I’ll be sharing a step-by-step process of how to do that successfully, from the A-Z. Before now a laravel package had been created for this purpose, its called kingflamez/laravelrave or check the official docs. Follow the steps to get the rave package into your laravel project.

First, create a controller in laravel and call it RaveController with this command

php artisan make:controller RaveController

If you correctly setup your flutterwave composer package, you should have the file rave.php in your config folder in laravel i.e. config/rave.php. Also your environment variables ( .env file) need to be setup correctly too as this

RAVE_PUBLIC_KEY=FLWPUBK_TEST-xxxxxxx
RAVE_SECRET_KEY=FLWSECK_TEST-XXXXXXX
RAVE_TITLE="Name of your Company"
RAVE_ENVIRONMENT="test/live --(choose anyone)"
RAVE_LOGO="link to the rave logo"
RAVE_PREFIX="rave"
RAVE_SECRET_HASH='your secret hash string'

Once all these are setup properly, let’s proceed to the rave controller that you have created. Assume that you have a TransactionHistory model and thus a table in your database names transactionhistory.

First, rave looks for the initialize method, therefore, you should generate your transaction reference in this method before sending to the webhook. Generate a prefix, this is provided by the rave package, and save all the created objects to the database like the code below

<?php

namespace App\Http\Controllers;

use App\TransactionHistory;
use App\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Rave;

class RaveController extends Controller
{

/**
* Initialize Rave payment process
* @return void
*/
public function initialize()
{
request()->validate([
'phone' => 'sometimes|required|min:11|starts_with:0',
'category' => 'sometimes|required|string',
'product_id' => 'sometimes|required|integer',
'amount' => 'sometimes|required|integer',
], ['phone.starts_with' => ' :attribute number must begin with 0. e.g 070123456789', 'amount.integer' => ' :attribute number must be a number']);

$prefix = config()->get('rave.prefix');
$transactionPrefix = $prefix . '_';
request()->request->add(['user_id' => auth()->user()->id]);
request()->request->add(['ref' => uniqid($transactionPrefix)]);

TransactionHistory::create(request()->all());

Rave::initialize(route('callback'));
}

/**
* Obtain Rave callback information
* @return void
*/

public function callback()
{
$res_json = json_decode(request()->request->get('resp'));
$txref = $res_json->data->data->txRef;
$data = Rave::verifyTransaction($txref);
$chargeResponsecode = $data->data->chargecode;
$transaction = TransactionHistory::where('ref', $txref)->first();
if (($chargeResponsecode == "00" || $chargeResponsecode == "0")) {
$user = User::whereId($transaction->user_id)->first();
$referred_by = '';
$transaction->update([
'status' => 'paid',
]);
return redirect()->route('home')->withSuccess('Wallet top-up successful.');
} else {
return redirect()->route('home')->withErrors(['Something went wrong.']);
}
}
}

You can write the webhook function just before the callback function. The web-hook automatically runs as a background service, you don’t get to see how it happens except you use a logger which is also provided by laravel.

Also, for the webhook to work, your RAVE_SECRET_HASH=’your secret hash string’ in your .env file must be the same as on your rave dashboard — (go to settings on your dashboard, and click the webhooks tab.

Your url should look like this; https://yourdomainname/rave/receive

webhook image from flutterwave dashboard
public function webhook(){
$data = Rave::receiveWebhook();
$txref = $data['txRef'];
if ($data['status'] == 'successful') {
   $transaction = TransactionHistory::where('ref', $txref)-     >first();
   $user = User::whereId($transaction->user_id)->first();
   //give your user value here
   $transaction->update([
     'flwref' => $data['flwRef'],
     'type' => $data['event.type'],
   ]);
 }
}

Bypassing csrf

Also, we need to update the VerifyCsrfToken.php file to exempt the POST call of the webhook from using the CSRF which is the custom behaviour of all POST method calls in laravel. Head on to app/Http/VerifyCsrfToken.php and add the following code

protected $except = [ 'rave/callback', 'rave/receive', ];

Routes

Finally, we need to create a route of this to work. In the routes/web.php file , add this

Route::post(‘/pay’, ‘RaveController@initialize’)->name(‘pay’); Route::get(‘/rave/callback’, ‘RaveController@callback’)->name(‘callback’);

And that’s all….., you’re done.

Let’s talk about the errors you might encounter.

I had an issue first with the package, because my project is version 5.8, all I needed to do was:

php artisan vendor:publish --provider="KingFlamez\Rave\RaveServiceProvider"

but it didn’t work as expected. (well, after solving this, it will make you a senior developer)When this happens to you, try to clear cache, OR delete the vendor folder and re-install OR use these commands

php artisan cache:clear
php artisan config:clear

These two commands are very important. Lastly check the function called receiveWebhook in the Rave.php file inside the kingflamez/laravelrave/src located in your vendor folder to see if it is the same with the one the official docs on event-webhook has. GOODLUCK

If you need a developer to help you integrate flutterwave to receive payment on your site, you can reach out to Pianistprogrammer on whatsapp +2347030507502 or jeremiahabimbola0@gmail.com

Read less
Adv
Kenny
  • 2
  • 2

Someone might realize the need to come out of a toxic relationship as it has no good end-story. Relationship is a time consuming institution that drains a large chunk of our mental and emotional space whenever it doesn’t go right. As ...Read more

Someone might realize the need to come out of a toxic relationship as it has no good end-story.

Relationship is a time consuming institution that drains a large chunk of our mental and emotional space whenever it doesn’t go right. As soon as you notice a red flag in your relationship, I believe it is the perfect time to take to your heels, except you can miraculously change the hand of time, if at all you can.

With that said, there are certain steps to take to yank yourself out of a toxic relationship, if you really want to

  1. Seek counsel: People in toxic relationship are advised to take counsel from friends, family, professionals and permit me to say, love doctors if need warrants. It could get difficult to think straight trying to get out of the relationship. You, need rehabilitation because the process takes time and you need supportive friends and family around you all through the process.
  2. Express your feelings: When trying to exit a toxic relationship, you need to express your feelings in every possible way. Do not keep too mute. Endeavour to express the way you feel to the person you’re in a toxic relationship with, hoping they would take it lightly and reasonably with you.
  3. Make a firm decision: After you must have expressed your feelings, the next thing is to make a concrete decision whether or not the relationship can be salvaged. If you see the need to fight for the relationship, then go ahead, if otherwise, kindly talk a beach walk-away from the relationship.
  4. Surround yourself with positivity: Whatever your decisions are, you need to back them up with a strong  positive vibe. Ensure you stay positive at all instance. Do not rule out on love totally.
  5. Stick with your decision:  As said earlier, do not back out on your decision. Hold firm to it for as long as you deem fit. It is normal that you miss the person you left; we are humans not robots and we have a mind. However, you need to remember that the decision you took was for good, so stick to it and resist the urge to go back to your toxic relationship.

It is better to leave a relationship when you notice the red flags or see the handwritings on the wall, than to continue bearing the emotional stress and assaults. One of such causes is a distance relationship

Read less
Kenny
  • 1
  • 1

A long distance relationship could work if both parties are willing to make it work. With the advent of technology, long distance relationship has become more successful than otherwise. Gone are the days where you write your loved ones by ...Read more

A long distance relationship could work if both parties are willing to make it work.

With the advent of technology, long distance relationship has become more successful than otherwise. Gone are the days where you write your loved ones by mail and they do not get them until four to five days. Loving is much more easier with technology. Really speaking, a long distance relationship is not bound for failure after all. Following some blue prints can help you achieve this goal.

  1. Do not rely solely on technology: As much as you can Skype call, zoom call, Whatsapp call your loved ones, you still need to have a token that would remind you of your loved one at all times. A token could be in the form of clothes, stationeries, photo portrait, you know the rest.
  2. Focus on quality conversation: Long distance relationship folks do not have all day to talk about trivial matters that have no headways in the relationship, unlike a physical relationship where you could ask your partner flimsy questions like “why did you not put on the clothes I bought for you” and others.
  3. Let the boring details become the connecting dots: You should have full idea of what your partner’s day would look like, what their interests are, and as a result, should talk about it. Truth comes out of small details of discussion, most times. Do not think “this is a boring topic to discuss” thrash everything out with words.
  4. Know the difference between “checking in” and “checking up on”: It is no crime to want to know how your partner is doing, want to hear their voices or text them a question when it comes to your mind. You should not police them because you’re far away and allow the thoughts of infidelity blindfold you. Just take it easy and gradually.

Above all, learn to trust your partner, do not show signs of doubt in their actions, it could lead to something nasty.

Read less
Adv
Kenny
  • 1
  • 1

There is nothing as important to a business person as getting potential clients to patronize his/her products and/or services.  To reach potential clients, brainstorming is essential, with an effective and efficient marketing strategy. It takes a lot of commitment, time ...Read more

There is nothing as important to a business person as getting potential clients to patronize his/her products and/or services.  To reach potential clients, brainstorming is essential, with an effective and efficient marketing strategy. It takes a lot of commitment, time and patience to achieve this goal. You will need to spend enormous time understanding your target audience/customers and their customary habits to fully understand how best to reach them.

However, there are certain simple steps to help you reach potential clients and turn them into real clients

  1.  Create Advertisements: This is one of the best ways to get the attention of  potential clients. Google and Facebook offer a cheap ads platform which can boost your patronage.
  2. Smart Social Media: It is one thing to be always on social media, it is another to have a social media presence. Use your social media platforms, not only to promote your brand or product and services, but also to answer possible questions within the jurisdiction of problem solution.
  3. Respond to emails, calls and notifications: So many people in business do not have time to respond or reply their unread notifications for reasons best known to them. If you want to boost your sales and know where your potential clients are, you need to be always be ready to provide answer to everyone’s questions.
  4. Connect with the right influencers: Identify group of people who are successful in your line of business and try to follow their activities. There are a lot of things you stand to learn from them.
  5. Post relevant contents: You cannot claim to be a fashion designer and a large chunk of your post are on mobile phones or food. It does not connect. Ensure you always update your audience on intriguing information in your business. That’s how best to reach them
  6. Research your competitors and find out who their customers are: This might look like an investigation, regardless, it is tailored to knowing who your potential clients might be and meeting their needs.

If you follow these steps, you can turn your potential clients into real clients

Read less