Showing posts with label Computer. Show all posts
Showing posts with label Computer. Show all posts

Tuesday, October 31, 2023

Programming where to start !!

So, you’ve made the choice to start learning how to write code. That's awesome! At first, it might seem a bit confusing. You might wonder where to start or what things you should learn first. The options can feel overwhelming, like standing in front of many different paths and not knowing which one to take. But that's totally normal!



Learning to code is like setting out on a new adventure. It's a journey with many possibilities, just waiting for you to explore. Even if you feel a little lost right now, remember, every expert in coding was once a beginner, just like you. So, you're in good company!

Imagine it's like looking at a map with lots of roads. You’re trying to figure out the right one, but there are so many choices. It's okay if it seems confusing. The important thing is to take that first step.

This journey is a lot like exploring a new place. It might seem vast and a bit scary at first, but it's also incredibly exciting. You get to decide where to go and what to learn along the way. It's all about discovering and having fun while you're doing it.

Let’s start this journey together. In this guide, we’re here to help you find that starting point for your programming adventure. We want to make things easy and clear, like following simple directions on a map. So, you can begin learning and enjoy this fantastic world of programming! 

1. Grasping the Fundamentals

Understanding the core basics of programming is like learning the ABCs before reading a book. It’s the first step to build your coding skills. Start by getting to know the main ideas – like variables, loops, conditional statements, and functions. Think of these as the building blocks for your coding journey.

There are many places you can learn these basics. Websites like Coursera, Udemy, or even free tutorials on YouTube are great. They offer courses made for beginners, so it’s not too hard to understand. These lessons often use games or interactive exercises to help you learn in a fun way. You can practice what you're learning while having a good time.

Take your time with these lessons. It’s okay to go slow and make sure you understand everything. Learning the basics really well will make everything else easier later on. Think of it like learning the rules of a game before you start playing. It might take a bit of time, but it’s super important. So, be patient and enjoy the process!

stay tuned for future posts with detailed list of courses to start with.

2. Choosing Your Path



Once you've gotten a good grip on the basics, it's time to choose your direction in the world of programming.

  • Selecting Your Language: Think about what you want to do with your coding skills. If you’re interested in making websites, you might focus on languages like HTML, CSS, and JavaScript. If you want to work with data or artificial intelligence, Python could be a great choice. There are also languages like Java, C# or C++ which are used in many different kinds of software.
  • Exploring Further Learning: After choosing a direction, you can find more specialized courses or tutorials. Websites like CodecademyKhan Academy, or even official documentation for your chosen language can help. These resources can take you deeper into the language you're learning and show you how to use it for different things.
  • Practice Makes Perfect: As you start learning more, try putting your knowledge into action. You can work on small projects. Build a personal website, create a simple game, or make a program that solves a problem you care about. This is where you really start to understand how to use what you've learned.
  • Joining a Community: There are lots of forums and groups online where people talk about coding. Joining these can help you when you’re stuck or have questions. Platforms like Stack Overflow or Reddit’s programming communities can be great places to learn from others' experiences and share your own.

Remember, every step you take is progress. The most important thing is to keep moving forward, even if it’s just a little bit at a time. Enjoy the journey and the things you create along the way!

3. The Quest Begins

Once you’ve got a good hold on a language and built some projects, consider trying new things. Explore different types of projects or learn a new language. This will broaden your skills and understanding.

  • Open-Source Contribution: Engaging in open-source projects on platforms like GitHub is a great way to learn and collaborate. You can work on real projects with other developers, which is an excellent way to gain practical experience.

  • Staying Updated: Programming is always changing and evolving. Keep an eye on the latest trends and updates. Follow tech blogs, join relevant communities, and explore new tools or frameworks. This will keep your skills fresh and updated.

  • Consistency is Key: Remember, learning to code is a journey, not a race. Be consistent in your practice. Even if it’s just a little bit each day, regular practice can make a big difference in your progress.

  • Reflect and Improve: Take some time to reflect on your work. See where you can improve and what you’ve learned. Mistakes are a natural part of the process. Embrace them as learning opportunities.

  • Celebrate Your Wins: Acknowledge your achievements, no matter how small they seem. Completing a project or solving a problem is a big deal and worth celebrating!

  • Teach and Share: Once you feel more confident, consider sharing your knowledge. Teaching others is a fantastic way to reinforce your own understanding. It could be through blogging, making tutorials, or even helping someone who's just starting out.

Remember, the journey of learning to code is an ongoing adventure. It's not just about reaching an end goal but about the continuous learning and the joy of creating something new. So, stay curious, be persistent, and enjoy the incredible ride through the world of programming!


Tuesday, April 28, 2020

The Chinese 🇨🇳 invented the first binary code ' 0 1 '


The Chinese 🇨🇳 invented the first 

binary code ' 0 1 '



In 1789 Gottfried Leibniz published a paper announcing his invention of the binary code. Twenty-four year later, after a Jesuit in Beijing sent him illustrations of the Chinese trigram and hexagrams, Leibniz published a second paper crediting the Chinese with inventing the first binary code.
The explanation for Leibniz’s remarkable claim had to await the advent of the digital revolution in the 20th century. In the 1920s, the so-called father of the information age, Claude Shannon, realized the binary code was ideal for the design of electronic circuits, the precursors to electronic chips. He used the binary number 1 to mean positive (on, an electric current) and the binary number 0 to mean negative (off, no electrical current).
Moreover, Shannon realized we can assign “arbitrary” values to the binary code. A string of binary numbers can represent data, sound, still and moving images, or any symbol. If we agree on the given attributes, he reasoned, it becomes a standard. One of the first such standards was the ASCII code for computer keyboards. The binary number for the capital letter A is 01000001.
The Chinese binary code also uses “arbitrary” attributes. The whole and broken lines, equivalent to 1 and 0, denote positive and negative, as well as a wide range of other generic concepts that can be classified as either positive or negative: day-night, male-female, growth-decay, etc. The trigram and hexagram, combinations of whole and broken lines, are “gradations” of these two generic values in discrete, binary steps.
The ancient Chinese conceived the binary code after realizing that nature itself is a binary phenomenon, a constant interaction between mutually dependent opposites — growth-decay, advancing-retreating, ruler-ruled, action-inaction, etc. All aspects of Chinese civilization, from Confucianism to martial arts and health to aesthetics, were based on harmonizing binary opposites.
In the 1940s, Leibniz’s claim came full circle. The scientist Norbert Wiener developed cybernetics, the basis for the automatic pilot and many other computerized systems. Cybernetics is derived from the Greek word meaning “steersman.”
The cybernetic logic in autopilots “steers” an aircraft to its programmed destination. It does so by navigating between various binary parameters — left-right, high-low, fast-slow — to fly the shortest route from A to B. If side-winds take the aircraft off course, the autopilot takes corrective action to restore the “golden mean” between the binary boundaries set by the navigator.
Finding the golden mean between binary opposites is also at the heart of the I Ching, the ancient “manual” to the Chinese binary system. China’s rulers routinely consulted the I Ching to set the course for the ship of state. And people consult the I Ching before making key decisions by weighing a sequence of binary choices.
No doubt the binary world view of the Chinese will reveal itself in the next (very) big thing in the computer sciences, artificial intelligence. And like the AI community elsewhere, the Chinese will face one of the biggest challenges confronting AI today — harmonizing analog and binary. The binary roots of Chinese culture have been obscured by recent modernization, but they are not lost. Having grown for 3,000 years, they permeate the subconscious of all people raised in a Confucian environment.
Source : here 

Monday, January 13, 2020

Programmation Linéaire 1 - Résolution Graphique Algorithme + Exemple avec Solution

Plin - Methode Graphique

Programmation Linéaire 1 - Résolution Graphique
Algorithme + Exemple avec Solution




Serie TD+Solution(L3 promo 19/20 Univ de Biskra)





Des Cours Plin

Tuesday, October 15, 2019

How to become a better programmer and developer? 6 steps and tips to become




Evolution is a must for everyone, to develop yourself and your skills and everything you do is to be taken into account every time you decide to practice something or take on a new hobby, in any case you are required to develop, we do not want to offer our customers and the people we deal with products from 2004, while today we are in 2017 we see and deal with a lot of new developments, when your knowledge is old and already far behind , then evolution is not an option, but an obligation to accomplish in your daily tasks.





So, in this "developmental" topic, we will give you our dear reader 8 practical steps and tips, we advise you to work hard, because it will save you both the trouble and hardship you spend in the world of programming to finally discover the validity of these tips, as they say, work smart, Not hard, be smart and work with the following tips:



- Learn the Techniques - Not the tools :


Programming languages, custom programs and so on are just the tools that evolve every day, that learning Java today is good, but who knows, maybe tomorrow there will be nothing called Java, and the time you spent on learning Java will be gone like that and you will have to spend double the time in learning the new programming language, you do not learn programming tools, but learn its techniques.

Learn the foundations of its foundation, pioneers and employers pay programmers who know a lot of programming languages, and you are required to learn as much as possible, but do not learn the programming language, but learn the basics.

However the language of programming changes, the foundation remains the foundation, focus on the structures of the language , learn it , apply it in a range of programming languages, learn more and more about lots and lots so you know everything about everything.


- Remind yourself that you still have a lot to learn :

Every time you learn something new, and think that by learning that technology or that programming language, the world will stop under your feet waiting for you to show them your skills in that programming language or the like , or think that that skill will last forever and that those who did not learn it are regretful, then you need a reality check.

when you reach that point and start thinking this way, always remind yourself: "Stop, I did not learn anything, I still have a mountain of things to learn and the world is ever changing ever developing so is the knowledge the technology, so I have got to keep learning and learning got to keep being thirsty for information ".

the first step you take towards learning, is to realize your complete ignorance of something, Invest in learning, science is not annihilated, it has existed from time immemorial, do not stop learning, and always remind yourself that you have to keep learning It doesn't matter what you learn, whether it will benefit you in your career or study, whether it's a new or old programming language, a language that is used or not, but add it to the list of things you've learned, and always remember, to learn techniques, not tools.


- Running code is not the end - it is only the beginning :


Yes, and finally ... run the code, wonderful, maybe now the program and my code is completed, and I made a masterpiece now worth to present to everyone and share it on  Github or Codepen and ask others about my masterpiece, you have the right to boast as you want no one will blame you, but you did not make anything, your masterpiece is only the end of the beginning, you made something good?

 Nice, start developing it now, add new features, make it something matchless, distinguish it from others, add your creativity to it, and when you finish doing it and find that you are finally done and that all the codes work fine and in good harmony, remember again You are still at the beginning.

Roll up your sleeves again, and take advantage of the techniques you have learned to develop your masterpiece little by little, do not stop if the code runs, stop when the customer tells you that you made something unprecedented, only then can you stop working on that project, and start again in another new project


 ... life of programmers …



- Read codes - read a lot a lot of codes : 

  "Talk is cheap, Show me your code"   - Linus Torvald (Founder of Linux)
Let me guess a little, maybe you master the C # programming language, well let me tell you how I learned it, mostly I went to YouTube, then I wrote "a full course to learn the programming language C #" it then showed you a lot of videos concerning C# you choose one of them, and then start watching videos until you are able to create a good and powerful desktop program in this language.

However, have you ever tried to read projects programmed with C #? Projects that are abundant on Github and other sites as well, maybe when you read this paragraph now and see that you have never read a software project created by other people, you will then go to download an open source project and open it to find that the project was written in C # language really, but did not understand and Not one code, you didn’t understand what that one code specific role in the project was. Then you say to yourself damn it, did I really master the C #?


You see the problem, if you do not read the code of others, it will difficult for you to develop yourself in your personal field.

Because other people list a set of techniques and code that you may not find anyone to offer you in their courses and formations, it is only the result of the moment, when you program something and remember that you have to add a service in your code, a service you did not read in The software course, you are moving towards sites that provide you with software solutions included in your project, projects and ready codes include many such codes, so reading them will improve your competence as a developer and programmer.


 - Talk to developers and programmers (Network) :

It would be much better to talk to them than on the web world, but because of the lack of these programmers, even talking to them in the web world is not a bad idea.

Talking to a group of programmers and developers will let you acquire a whole bunch of useful things. Firstly getting to know their opinions and their programming techniques, getting to know the software market and what's new in the world of programming, you may not get all of these things from sitting in front of your computer and browsing different sites, but the best thing in conversing with developers, is to get personal experiences, get quotes for people who may have been walking the same path today but found a dead end.

 In this case, you don’t have to follow the same path, but it is enough to benefit from their experiences to go on a different path, and best of all to also share with them your questions and inquiries to find a satisfactory answer.



- Everyone should know how to program a computer - Because it teaches how to think :

Maybe Steve Jobs did good by saying these words, but they are not completely true in my eyes.

 yes you have the right to learn programming, you have the right to learn how to write your first code, but not only because it will teach you how to think, but because it will become your life style, it will become an area (a field) that you love to the core, areas that you will develop and improve and offer the best in it, become the king of kings in it, learn and do not stop, and master and do not leave.

 for these reasons you have to learn programming, thinking can be gained by many Of things, even before creating something called programming, man was thinking, if not so how the existence of computer or programming even come to life, so don't learn programming for one or two reasons, but rather for a variety of reasons.

Programming is a perfect world, a very logical world, and a wonderful world with distinction.

And if you want to be a skilled developer and programmer, then we advise you to follow these previous steps by heart and mind, and with time to discover more useful tips and steps why not, and to work with it in the future.

Friday, May 17, 2019

Compiler & Interpreter

Compiler & Interpreter

Compilers and interpreters are used to convert the code of high level language into machine language. The high level program is known as source program and the corresponding machine level program is known as object program. Although both compilers and interpreters perform the same task but there is a difference in their working


Compiler

          A compiler searches all the errors of a program and lists them. If the program is error free then it converts the code of program into machine code and then the program can be executed by separate commands.

Interpreter

         An interpreter checks the errors of a program statement by statement. After checking one statement, it converts that statement into machine code and then executes that  statement. The process continues until the last statement of program occurs.


Static & Dynamic Linking

C Program’s Life Cycle !!

C Program’s Life Cycle !!



What are C libraries?

Pre-compiled functions that come with the C compiler.
The functions are grouped in different packages called libraries.
To use functions included in a library, include the header file specified for that library in your program.
Exemples:
#include <math.h>
#include <conio.h>
#include <stdio.h>



Monday, March 18, 2019

The Difference Between Block And In-line Element !!


The Difference Between Block And In-line Element !!

We have many markup to use like <br> add line (break line) or <p> separator a piece of text for other but there is difference between them not in the using  but in the function to use :
  so you might have noticed that we have two different ways in HTML of breaking our text into multiple lines
we have < br > empty element and <p> element which is an not empty element

so <p> create a little invisible box around the text .this box called a block and block are heavily involved in how the browser lays out text on the screen
the block has height and width and it also have margin above and below and that's what provide the space around the paragraph this <p> element we called a block and <br> we called in-line element like <em> <mark> <a>(the hypertext element )
it can seem bit abstract trying to imagine these invisible box that the browser constructs around the element.