Posts

Showing posts with the label programming

Everything about Python language

Image
Python used a lot at many things in learning and jobs … 1. Web programming 2. Artificial intelligence programming 3. Data analysis programming 4. Programming simple tools CLI ( command line interface ) 5. Programming IOT ( internet of thing ) 6. Programming of Mobile and Desktop First, you need to learn python fundamental to keep going for the framework You can learn it from here: pythonprogramming Web programming : python used for the backend ( Server side ) not for design and frontend ( client side ) and used the framework to be easy and more organized   Flask microframework: Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. Django Framework : you can build your project and enterprise project Artificial intelligence programming: TensorFlow : An open source machine learning framework for everyone and support from a big company and working with many language R, C++, Python and working for desktop and...

HOW TO BECOME A HACKER!?

Image
1/ Start with Linux: Run a UNIX-like operating systems are the operating systems of the internet, while you can learn to use the internet without understanding UNIX.   For this reason, the hacker culture today is pretty strongly UNIX-centered. There are many types of UNIX-like operating systems, the most popular being Linux, which you can run alongside Microsoft windows on the same machine. 2/ Learn HTML: If you don’t know how to program, learning basic Hypertext mark-up language (HTML) and gradually building proficiency is essential. What you see when you look at a website of pictures, images and design components is all codes using HTML. 3/ Learn the language of Programming: Python is a good “language “to start off with because it’s cleanly designed, well documented, and relatively kind to beginners. Despite being a good first language, it is not just a toy; it is very powerful, flexible, and well-suited for large projects. Java is an alt...

Programming in Java

Image
Programming is mostly all about writing code in High-Level languages like Java, C++, Python & so on. The set of statements written in a text editor like NotePad ++ or Eclipse is called the source code. The thing is that Computers don’t actually understand these High-Level Languages. The only thing they understand is machine code. Machine code, also known as machine language, is the elemental language of computers. It is read by the computer's central processing unit (CPU) and is composed of digital binary numbers. ⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀ A compiler/Interpreter is a tool that translates source code into another language like Machine Code. Each type of CPU uses a different Machine Language (because of their architecture) which means that the same executable file created by the compiler won’t work on different platforms. The real difference between a compiler and an interpreter is how they go about things. The compiler will actually scan the whole program...

arduino for beginners – behind the fundamentals – Part 4

Image
This tutorial is about arduino and we going to learn some basics things together. In this Part we going see what is behind the fundamentals. Sending input from the serial console to the arduino:   To send inputs from the Serial Monitor to the arduino, we need to use the Serial.read() function, and as example we make a Morse code generator take the serial inputs and generate them on light and sound using LED and buzzer. In this experiment we need: -1 LED. -1 Buzzer. -6 Wires. -220 Ohm Resistor. -BreadBoard. -Arduino Uno. And This code: Morse_buzzer_led See The Arduino for Beginners Tutorials

arduino for beginners – Adding Components – Part 3

Image
This tutorial is about arduino and we going to learn some basics things together. In this Part we going add Components. Adding an LED:   -1 LED. -2 Wires. -220 Ohm Resistor. -BreadBoard. -Arduino Uno And This Code:  Led_on This will Turn the LED On for Ever . Fading an LED’s brightness with Pulse Width Modulation (PWM):   In this experiment we going see how to increase and decrease LED’s brightness with PWM, by using analogWrite() function. -1 LED. -2 Wires. -220 Ohm Resistor. -BreadBoard. -Arduino Uno And This Code: Led_pwm   Turn the led on/off using a push button:     In this experiment we going see how to turn on/off the LED using a push button. So we need: -1 LED. -1 Push Button. -6 Wires. -220 Ohm Resistor. -10 Khm  Resistor. -BreadBoard. -Arduino Uno And This code: led_button Fading an LED with PWM based on Potentiometer value:   In this experiment we going see how ...

Let's play with arduino : Building an Autonomous Car Platform

Image
Tthose steps taken from Instructable   What is PiCar? PiCar is an open sourced autonomous car platform. It isn’t autonomous by itself, but you can easily add sensors to control the car with an Arduino or Raspberry Pi. Why use PiCar instead of an RC car? Using PiCar is very similar to using an RC car as a platform. However, PiCar gives you more control and is easier to modify than an RC car. The chassis for the PiCar is 3D printed, and you can easily edit the 3D model to add more space in the car if needed. In addition, all of the parts are either easily available online or can be 3D printed. Who made PiCar? PiCar was designed at Washington University in St. Louis in the lab of Humberto Gonzalez and Silvia Zhang. The car was designed in May of 2017 and was entered into a robotics competition in June. The PiCar came in the top 10 out of 30+ international teams in the Silk Road Robotics Innovations Competition at Xi'an Jiaotong University in Xi...