Category: Other

This is why I can’t be a mentor

Not everyone can be a mentor or a teacher, some of us have this naturally, some don’t have it at all, am from those who don’t have it at all.

There are many reasons, why I can’t be a mentor, and why I can’t be a mentor, one of the main reasons is my temper, I can get angry fast, and most of the people will found my hard words as an insult to them as if I don’t appreciate the work they do or even the experience they have, so lets me tell you for example what I can’t understand nor able to work with.

1- If you are going to tell me that you are a developer, let’s say a Mac user who use Mac to develop iOS apps, I can’t accept from you that you don’t know how to use the terminal, or at least you don’t know the most common command line commands.

2- If you told me that you are a Laravel Developer, but you don’t know what is the Collections class, nor how to use or what functionality it has.

3- If you told me that you are a PHP developer, but you can’t setup Vagrant on your computer.

4- If you told me that you are an old Mac user, but you don’t know how to deal with the Terminal, nor how to solve permission denied error.

So yes, at this point, I’ll start to shout and start with the sentence are you a developer?

I can’t help it, if you are a developer, then you should respect this word, and try to be good at it. Most of those who called developers out there have earned this title by working hard on learning so you are not an exception.

Filed under: Other

How to claim your Bitcoin cash

 

Alert! Please be careful and do more research before doing anything. You are doing those steps on own risk.
The fork is now finished, am not going to talk about it, if you need more info please search the internet.

Now for those who are using electrum this is what I have found about how you can claim your Free Bitcoin Cash, and am summarize it:

  1. Export your private keys.
  2. Move your fund to a new wallet.
  3. Wait until the fund is confirmed in the new wallet.
  4. Find a new wallet which supports Bitcoin Cash ( the options is listed here https://www.bitcoincash.org/ ).
  5. Import your keys.

Mostly this is the process, I didn’t try it so if you are going to do it, be careful and do more research.

If you have any advice you want to share or even an experience you would like to share, am more than happy to hear it, just contact me or comment below.

Filed under: Business, Other

There is no shame of asking questions

So, as a programmer do you feel ashamed of asking questions? and let us say that you are new to programming, do you care about that?

The most important thing that I have found over the past few days is that newcomers to programming feel scared of how the community will react to them when you ask a question, a stupid question or even any question. So why we don’t make it simple, why we always laugh on each and every question we got?

Maybe am so lucky to not feel ashamed of asking questions, even if I found out the solution by myself or even I found out that the approach that I have taken was not correct, and sometimes the APPS that am using caused it. And this is something that happened to me in the past two days, I was pulling my hair from not being able to work with Lumen via PUT request, and I was angry talking about it, pinging everyone and even complained about it on twitter, to find out finally that Postman was not sending the correct header. and before anyone jumps and says that I should write tests, that’s what I was doing, I wrote tests and they failed too when I tried $this->pull function that comes with Lumen Test case class, which caused a lot of running around and trying it and even try to debug each and every call I made to the API, and I finally fixed it by creating an ajax call $this->ajax with the type PUT to the same API endpoint.

To find out later that the problem mostly comes from Postman, and for some magical reason, even my tests started to pass.

I even got some funny reactions from some people on the IRC, someone even started to argue with me that Laravel IRC channel is not for Lumen questions and that Lumen codebase is not related to Laravel .. etc, another one didn’t want to help because I didn’t answer his question, why am using Lumen, or I think it was what I was trying to do, even though I have answered his question, trying to use PUT requests to update database record.

Now let us imagine that a new programmer was asking those questions, and everyone mocked him, do you think he will feel confident? and he will keep asking questions and learn? if we got him to think that asking questions is a shame and you should already know the answers. It’s already a hard thing for a new programmer, they already have a hard time following us all, and try to figure out how they can learn new things, as each day we have a new thing. Trust me I do have a problem following up all those new trends.

So let’s make it easier and start to enhance our communication skills, no need to mock someone just because you are better than him, or because you are a core contributor to the project, we are all human. and based on what I know no one was ever born fully educated.

 

Filed under: Other, Personal

What am doing and Why am not blogging that much

Okay, so basically I have few Ideas which I want to work on, some have been already in my head just needed the time, some just got into my head, so for sure I’ll work with what I already have.

So far I have got the domains, I do know where am going to host them :cough: Scaleway :cough:, and I already contacted one of the companies and got their permission to use their logo. But now am in the phase where I need to design the website and do all the HTML before I move on to the main part, and to accomplish this am going to start learning Sketchapp, HTML part is not the issue, designing the site & having the nice layout is.

So my first project which am going to work on, is not going to be a startup nor has any business relation, but it will be technical and the plan is to release it for free but with the ability for anyone to donate if they like using bitcoin, and yes am ready to take e-money not regular money, for many reasons I don’t think this post is the one which I’ll talk about it.

Wish me luck everyone, and I hope to see you joining the project once I lunch it.

Filed under: Business, Nginx, Other, Video

Why to use Vagrant or Docker for development?

Few years ago, I was introduced to Vagrant and for me it was the most elegant tools I ever used, at the end it ended up the most annoying argument I ever hear all the time ” It works on my computer “, at that my team at the company used to use MAMP (yes they all use MAC so we are all have the same OS but different versions), and when I did introduced Vagrant they really liked the idea, especially that it was so easy to have your environment up and running in just few hours (based on your internet connection and what tools you will have to download).

Now things got more better, so I created a Vagrant file which we all used and share, it was based on Vaprobash and everything went so simple after that, we never heard that annoying phrase anymore, we all now have the same environment (despite the fact that I always update & upgrade my installed image, and I cant guarantee that everyone else does that), and the benefit was way more than what we though, now if we are working for a Node.js project, you can just grab a Vagrant file or image for it, if we are working on PHP the choices are open and we have no limit.

Continue reading

Filed under: Code, docker, Other, PHP