Posts

Install flutter - the easy to follow steps

Image
What is this document for? This document will provide you simple step by step guide to run any flutter project locally and see your changes take effect immediately while you're editing. Installation.Download and install android studio, We will not use android studio but it will install all needed SDK and environment variables we may need.Install XCode, This step is optional, you will need it only if you intend to run on the iPhone.Install flutter by following the guidelines of your OS, As a brief, you can follow the Install flutter section below.Install VSCode. Install Flutter.Linux
Download the SDK.Execute the following commands.mkdir ~/development cd~/development tar xf ~/Downloads/flutter_linux_v1.2.1-stable.tar.xz # execute the next command or append it to your .bashrc to avoid the need of executing it againexport PATH="$PATH:~/development/flutter/bin" flutter doctor # provide us the output of this command when something is not going okay with you MacOSDownload the SD…

Chatbots and self injury messages

Image
Some of the people who face some frustration or depression usually use their smartphones to try to get rid of negative energy.

They start surfing facebook pointless, maybe they open youtube and seek for anything interesting.

Some people actually talk to chatbots, we have Siri and okay google as famous and popular examples.

The question is: Are those chatbots prepared to deal with them if they are willing to hurt themselves?

I tried them with some messages and here is the response.

I'm depressed Ok-Google acted so horrible and said (I'm sorry to hear that), No advice or further questions to see if it's a real or deep depression that may be worse if the person didn't act on it.

To be honest, I had a hint that I can ask Ok-Google to cheer me up and the conversation can continue and I may find some joy.

But, I hope if it was more caring and aware of how dangerous this may be.

Siri: I'm sorry to hear that. I'm here if you want to talk.

Well, is it better?

Adding &q…

Teaching programming to children can be evil

Image
Teaching programming to children can be evil sometimes, why?

Before I start telling, this article is written to warn parents from being fooled by scammers.
Not always an intentional scamming, to be honest.
Also, this article is for developers who are interested in creating an open-source material for teaching basic computer concepts for children. Okay, not only developers.
teachers, artists and movie makers all can collaborate.
Anyone else isn't meant to continue reading unless they are just interested.
Some Stories I'll start by telling some stories.
I was a mentor in an event called Nasa space apps challenge - Ismailia, Some teams were children competing against the teams made of youth and senior college students.
One of the judges was my mentor one day(His name is Kareem),  we were heading to Cairo in his car after the event and all of us were just describing how amazing those children are.
Kareem: When the children went up to the stage I told organizers to wait a minute bec…

Why GitHub?

Image
In my Article: Why you should learn version control, I described why I think every developer should learn git and use a website similar to GitHub. I also provided some getting started material.

In A Walk through GitHub Article, I described how people should Interact in GitHub.

But why GitHub? What can I get from this community?

Work with experts
Your PRs are going to be reviewed by other experts who read books, took courses and got certified. They will leave comments for you, I work as a part-time mentor and I know how much students pay just to afford experienced mentors who will leave comments for them.
Get some reputation
In meetups, when people talk about how revolutionary is the Bitcoin, some people will happily announce that they are Bitcoin holders or miners.
How many will announce with confidence that they are contributors? Can you imagine yourself in this situation? 
The most revolutionary and famous open-source software products are in GitHub, You are very welcome to contrib…

How people get scammed?

Image
In the past few months, I was tracking some rogue thieves and their online activities.
I found that most of them depend on greed, naiveness and impatience of people. In this article, I want to tell you some things that you have to suspect once you notice one of them. Please note that this is not a complete list, stay aware and watch out because many people out there need your money no matter how they will get it. Too good to be true when an offer is too good, ask yourself why not everyone else making use of it? why not everyone is happy? why life sucks? One-side win When someone gives you an offer, he is probably advertising his product, getting rid of old unmatched trades so that he can get money for more successful trades or even he is drunk and he got a baby so that he can’t see what is he doing. All of these can be chances for you, also you can easily detect such cases. But when someone gives you an offer and you can’t see what he is gaining you have to suspect, invisible goals ca…

A walk through GitHub

In this Article [link] I described why I think every developer should learn git and GitHub.

Many fresh graduates and juniors contacted me asking about guides on how they should deal with GitHub and how to interact.
Here, I will walk through some live examples and show my opinion about how good developer should deal with the open source community.
I'm assuming you know about git and GitHub.
Opening issues. When you have a problem with a project, you submit a ticket (aka issue), you should clearly describe the issue and spend few seconds searching if it was reported before (If yes, go ahead and join the discussion). Opening a ticket can be for: Asking for a feature.Asking how to contribute (If you want and the README file doesn't have enough information).Reporting a bug.Complaining about the leak of documentation.Complaining about the absence of some code quality tools. This list isn't final and I'll add more if I got suggestions. generally, you got the idea, it's ca…

Servo Based CNC machine

Image
This is an article about my graduation project, We worked in insufficient resources (money and time), No perfect work should be expected here.

Team
A post shared by Ammar Atef (@ammar.atef45) on Jul 12, 2017 at 5:21pm PDT Idea The idea is to build a CNC with servo motors instead of steppers, Servo CNC's can be better than stepper or vice versa depending on the many parameters, But the idea of the project is to test if we can control and model it from scratch.
Result This playlist has 12 videos of tests we made to get some results, some are successful, and some aren't.

Book You can download the book from here[link], I think everything is well described, You can always contact me for more explanation.