Friday, October 28, 2022

Getting started: Python Programming Environment

 


You want to know more about Python, then. That is a wise choice for a number of reasons. First off, Python is among the top three most popular languages according to the most recent TIOBE Programming Community Index for March 2021. Python is still firmly in third place while C and Java continue to compete for first and second positions (see April 2020 ratings). Even better news is revealed by the yearly RedMonk Ranking report, which places Python ahead of Java as the second most popular programming language. Python has grown by about 18 to 19 percent over the previous five years. Stack Overflow, Github, and other well-known sites also rate the language among the most popular ones.




Related programmers and software engineers get employment using their capabilities Python's applications in fields like AI and ML are among its enticing features. However, the respectably high pay is helpful. The average Python developer income in the US will be $110,840 per year (or $52.85 per hour), according to Indeed, every year over the past five, the salary has increased by 15%.

Python instruction is available in several locations, including Codeacademy, Udemy, Coursera, GitHub, MIT Open Courseware, and others. However, it's best to have an understanding of how the language is used in a public setting first, such as the hardware that underpins much of the Internet of Things, before learning the structure, grammar, and technique utilised in Python (IoT).

Utilizing Python on the widely available and reasonably priced Raspberry Pi hardware platform is one of the simplest ways to learn how it operates. This platform's excellent introduction to related hardware settings typical of the IoT sector also helps. The Raspberry Pi, which is essentially a Unix device, may be programmed in a wide variety of languages. A Raspberry Pi can execute C, C++, Java, Python, and any other software that is compatible with Linux. The performance of compiled languages like C and C++ is equal to that of interpreted languages like Java, Python, Pearl, and so forth.

However, as Python is probably the most practical, let's stick with it. The fact that Python is supported by a number of top programming environments is a key argument for studying it. To access its hardware pins, internal clocks, and other components, the Raspberry Pi hardware platform offers a wide range of APIs. Here is a course on how to do Python progrming on Raspberry Pi. Python is a simple language for new users to pick up.

Python is a high-level language that has the specifics of the code abstracted away from it. For instance, declaring data types explicitly is not required. The programmer need not explicitly define a variable's type with a "int X" statement, as is necessary in C or C++, if the programmer wants a variable X to be an integer. Because you don't need to explicitly state the type of each variable used, their return values, or the types of their arguments, it is simpler to use and takes up less time. In Python, the interpreter takes care of each of those subtleties.

Furthermore, Python doesn't have any pointers, or at least none that the programmer can access or see. Explicit pointers in C and C++ enable the programmer to do pointer arithmetic. Although it does make Python slightly less efficient than in C and C++, removing pointers in Python makes it simpler to complete a variety of programming tasks. We'll soon discover why.

Classes are provided because Python is an object-oriented programming (OOP) language.OOP will not be used much in this discussion, but it is a useful tool for complex programming jobs.When compared to C or C++, Python is typically a slower language.Python is an interpreted language, not a compiled one, which explains why. A runtime interpreter is used with an interpreted language (like Python) to convert the language's instructions into machine code.When using compiled languages like C and C++, the code is only ever compiled once at runtime, converting it to machine code and producing an executable file. The executable file is then simply run by the Raspberry Pi. On the other hand, every time the code is utilised, a Raspberry Pi must run both the Python programme and its interpreter. Python takes longer to execute than C or C++ due to the interpreter. However, it also makes it simpler for programmers to understand and utilise Python.

Environment for Programming Python may be used in a wide variety of programming environments. An integrated development environment(IDE), is the one with the most complete collection of support tools. Python and numerous more languages are supported by Eclipse, a well-known open-source IDE. From the website of the Python Software Foundation, IDLE is the IDE that is included with Python. It is a download for Python. A cross-platform environment called IDLE is available for Windows, Unix, and macOS. There are various methods for launching IDLE from Python. Instead of using an IDE, Python can instead be used with a text editor. Simply launch your preferred text editor, such as the Raspberry Pi's Pico or Nano, and start writing code. The code can be run by entering "test.py" at the command line after it has been saved. In contrast to the integrated tool suites offered in an IDE, it should be noted that the editor and compiler are both utilised individually. Each method is effective. Just the user's preferences matter. The user is now prepared to write code once the platform is running smoothly!

 

Tuesday, February 22, 2022

The power of been ALONE


 

Hi everyone, I'll be talking about the power of being alone. 

This is straight out of my dairy so it can be little creepy, so bear with it.

So what does that entail? 

I grew up as a single child until my peace breaker was born (8 years age gap). It's actually one of my favorite things to do. If anything, the past couple of years I had to learn how to be with more people and enjoy socializing and not just working or doing spending time on my own projects all the time. So it definitely was a skill of me learning this in reverse. I think it's really important in our lives to embrace being alone and to learn how to enjoy it and kind of milk it for all the good things that we can. 

And at the end of the day, we are, ultimately and perhaps slightly ironically, all alone together in this world.

First of all being alone allows you to be a lot more picky on what you're spending your time with and who you are spending your time with. If you enjoy being alone, then when you are given the opportunity to go to an event or to meet up with people you're going to be a little pickier because you really enjoy being by yourself and working on whatever you love. 

I think when people have a fear of being alone with themselves and they constantly surround themselves with people that can be a sign of something else that they need to deal with in some way and look there's nothing wrong with wanting to spend time with lots of people and creating wonderful memories together. I love doing that, but I also know that I need a certain amount of time alone to actually get all the stuff that I need to get done done and because when you're alone, it also allows you to process thoughts, emotions and feelings and maybe traumas from the past.

And that's kind of something I've also found really valuable, especially the past six months is when I am alone just walking around or doing chores in my room that suddenly popped into my head of like Oh my God this thing that happened to me, actually happened because of all these other triggers are like all these other circumstances that happened in my life that I had not processed properly. 

So I think that's another really good point of why you should be alone more, because it forces your brain to kind of suddenly push things to the forefront that you would otherwise repressed because you're distracted with things around you instead or being with people etc. 

And I don't think you need to feel necessarily inspired to be creative. I think if anything, inspiration or being creative takes practice you just need self-discipline to sit down and be like OK, I'm going to work on this now….Start and that is another great reason for being alone, especially if the art you create or the science or math or whatever that you create requires being alone or requires teamwork, that's a different story. But at least for me, a lot of my work takes place alone and I know at the end of the day it's not about I wasn't feeling creative or not it's more just like “did I have the self-discipline? And do I sit down and tell myself to do work and start another thing?”. Another thing about being alone is that you often rediscover or just discover new hobbies or new skills that you had or ones that you had in the past and I think during COVID we've actually seen a huge rise in crafting, DIY ing and making things with your hands or cooking whatever that may be. Because we've all felt a need to do something 

There was some study and I need to quote it but unfortunate i am not able to find the link of that but in that I read about just like people, happiness in general going up when you're doing things with your hands which honestly just makes so much sense, and I personally fallen to flow sort of very wonderful meditative state when I'm just taking old electronics part with my hands or crafting or sketching making things or coming up with cool ideas and drawing them out. 

I think when your left to your own devices, not technical devices or electronic devices, when you put those away and you're truly left with your own devices and your brain, you're going to start coming up with ideas coming up with new interests that you may have, or discovering hobbies or things you really enjoy doing. 

So spend time find hobbies with your hands and enjoy that power of being alone. 

The last point I want to make, which I did kind of bring up in the beginning, is that ultimately we are all alone together in this world. And that you need to learn to be there for yourself and not always to rely on other people. 

At the end of the day you need to be able to save yourself. You cannot rely for someone, or you know tch , a knight in shining armor riding on a horse. 

You know horses are good thing. 

A knight in shining armor to come and save you, you have to be your own Knight. 

You have to come save yourself, rescue yourself from whatever you're facing and push forth. And I think that's also, just part of Adulting in general that I have discovered over the past couple of years is that you need to do things yourself, or else they're just not going to get done and you need to be OK with it just being yourself sometimes, and that's a really scary thing for a lot of people to process. 

So if anything in 2022, at least with how things are going right now learn to spend some time with yourself and really be OK with that. And not just OK, but enjoy it anyways. 

Thank you so much for reading this till the end. 

I hope you enjoyed this blog. 

I also encourage talking out loud to yourself when you are alone, since you have conversations or if it's like too tiring, just talk to yourself in your head. 

I don't know if I sound crazy, but sometimes the best conversations you can have are with yourself. Let me just say that anyways, thank you so much for reading. 

My name is Alankrit Sharma. 

I should have said it at the beginning but you can find me on Twitter @Tirk_nala. I will see you next time, bye. 

 

 

Friday, February 11, 2022

Hijab, Women and Choices

 

"They say life is a sum of all your choices, if you want a different life, make a different choice."

These are nice quotes, but they do not always measure up to real life because in real life many choices are forced like what women wear. A lot of us have the freedom to pick what we want. A lot of us do not one piece of clothing that best sums up the debate on choice is the hijab. It's perhaps the most controversial piece of clothing in modern times. It is imposed on many women. 

It is freely adopted by some, some wear it all the time, some only when they pray. Some wear it as a symbol of cultural identity somewhere it because it's the norm in their family. 

But is the hijab mandated by Islam or is it a product of political Islam? 

Is it a symbol of devotion or is it a symbol of oppression? 

These are controversial but frequently asked questions, and it is important to unveil the answers. 

Let's start by understanding what the hijab really is. 

The word appears at least eight times in the Quran. Each reference denotes a barrier, a partition or a curtain. The concept is spiritual, not sartorial. 

The hijab is simply a concept that emphasizes on decency and modesty in the interaction with the opposite sex. A concept that is applicable to both men and women. The general idea behind it is that all Muslims should behave modestly dressed decently, cover their private parts, and avoid sexual exploration irrespective of their gender. Yeah, but the vast majority of Muslims believe that these rules apply only to women. This misunderstanding, or should I say ignorance, largely stems from patriarchy. 

Look around in religious texts and history books you'll only find interpretations, rules, and laws dictated by individuals who always happen to be male scholars, clerics, priests, intellectuals, all men projecting themselves as custodians of Islamic values and guardians of female modesty. Most of them have cherry picked Islamic versus to suit their narrative. That said, literature on the hijab is much more dense and diverse. 

full article

There are some scholars who say that it's not at the core of the Islamic faith, not a part of the Sharialaw, not obligatory like the five pillars of Islam, and that wearing a hijab is just a personal choice. Their argument is that if the hijab were meant to be obligatory it would have been clearly commanded, not phrased in the way it is in the Quran. 


Over the years we've seen both sides of this debate influence politics. 

 

Reza Shah Pehlvi

 

In laws in 1936 Iran ruler Reza Shah Pehlvi issued a decree banning all veils. Women who still chose to wear it were beaten and had their scarves torn.

In 1979 the Islamic Revolution took place in Iran, and the hijab was made compulsory and women who did not wear it were beaten and detained. 

 

 

Mustafa Kemal Ataturk
A similar story played out in Turkey in 1924. Turkeys leader Mustafa Kemal Ataturk banned headscarves in public institutions. 

Recep Tayyip Erdogan

In 2013, the current Turkish President Recep Tayyip Erdogan lifted the ban, matched the outrage of secular Turkish citizens.
 

 

 

 

 

 

 


This cycle of veiling and unveiling has played out in several parts of the world. The hijab itself has evolved into different forms. There is no uniform style of what it looks like, there's Kemar which covers the head, neck and shoulders. There's the burka which covers the entire body. There's Niqab which covers only the face. There's the Chawder which covers the full body, revealing only the eyes. And then there's head scarf that covers the hair and neck. For most of the world, the headscarf represents the hijab. And for most Muslims it has become a commodity, something that depends on one's nationality, social status, economic status, religious belief, or the lack of it. 

I have some figures to show you in 2014 a survey was conducted by the Pew Research Center in seven Muslim majority countries. The question was should women be allowed to choose their own clothing?

Thing in Tunisia, 57% of the respondents said yes. In Egypt, 52% said yes, Turkey, 46% said yes. 32% in Lebanon, 63% in Saudi Arabia, 44% in Iraq and 24% in Pakistan. These figures are indicative of the kind of societies that exist in these countries. 

In 2015, a poll was conducted. In Iran, the respondents were split based on the level of their education and where they stood on the Human Development Index, the question was should the hijab be voluntary or mandatory? 51% of those with the university degree said it should be voluntary. In contrast, 61% of those without higher education supported an obligatory hijab policy. In terms of Human Development Index those from less developed areas supported a mandatory hijab, those in relatively well off sections not so much the point here is that education and environment has a lot to do with how the hijab is viewed and practiced. 

In some societies, women have to wear it simply because the people around them insist on it. Any debater position is labeled as blasphemy, and play down as western influence, so women are forced to comply. 

Now these arguments are further backed with foolish arguments where women without the hijab compared to exposed meat, coverless candies and pearls without shells. Not only is that offensive, it is UNACCEPTABLE. But then, which society does not have religious sexist? And bigotry just one aspect of the hijab story. 

The another aspect has to do with integration hijab are seen as a statement of identity many western countries view it as a symbol of parallel societies as a barrier that increases cultural separation. They believe that if Muslims are settling in their country, they must live like them, they must look like them, accept their dress code and their culture. There are also security concerns when your face is covered it's difficult to identify you, and many westerners feel that this puts them at risk and they're just not comfortable with it.  

The result is this, at least 12 European nations have banned the hijab in one form or the other. France, Belgium, the Netherlands, Austria and Switzerland have a complete ban on all types of hijab. Germany, Spain, Italy, Denmark, Latvia, Bosnia and Herzegovina have limited prohibitions in some places all these countries believe the hijab has no place in a modern world. 

Critics call it Islamophobia. 

They point at increasing hate crimes against women who wear the hijab in public in London, Berlin, Paris, Vienna. There have been numerous xenophobic attacks on women. Where hijab has been pulled off and their heads carved stone, and this too must be called out. Most Muslim women in the Western world today say they're making the choice to wear the hijab freely to embrace their ethnic identity, to build cultural solidarity and as a means of resistance to popular standards of feminine beauty. 

 And this has led to some high profile fashion houses promoting the hijab. GAP 2018 back to school campaign featured a girl wearing the hijab. 

Nike sells the Nike Pro women hijab.

But this is where things get complicated. You see for thousands and thousands of women the hijab is not a choice. It is forced on them. It is used to threaten them with divine punishment, sometimes to simply subvert them. Women who do not wear the hijab are banned from holding certain positions. Some women have even been killed for not wearing it, they've been murdered by complete strangers, beaten to death by their own parents. They've been shot dead by Islamist terrorists. All I'm saying is that in a large part of the world the hijab is a piece of clothing that is being used to apply group pressure, tool to shackle thousands of women and every time we call the hijab a choice, we run the risk of further perpetuating this oppression to further fuel a social narrative that completely absorbs men of sexually harassing women and puts the burden on the victim to protect herself by covering up. 

In 2017, Iranian women decided to challenge this narrative. They threw off their hijab. There were unprecedented demonstrations. The Iranian regime carried out a harsh crackdown more than 40 women were arrested, hefty fines were imposed. The movement died down and this is the kind of bullying Iranian women now have to deal with on a daily basis. 

Watch this. 

You wear it, you're attacked. 

You do not wear it. 

You're attacked, you oppose it. 

You're called blasphemous. 

You ban it. 

You're called Islamophobic. 

Why can't we just let women be? 

In this religious, cultural and political war over the hijab, it is the women who suffer. Take the religious implication away and the hijab is just a piece of cloth. It's a choice if you do not care much about the repercussions. If a woman feels that her public identity shaped by the hijab have a nuanced debate or just let her be. And if she's informed enough and does not want to wear it, then let her be.

This is possible, but it's not suitable because from religious clothing to abortions to traveling alone, to staying out late at night to having male friends and to choosing their life partners, the world thinks it is their business to decide what women should do. NO it's not

To sum up, the Indian constitution has given the right to practice any religion which means one can wear any clothes according to their religion, but at the same time the individual should also respect the code of conduct of certain place.

Getting started: Python Programming Environment

  You want to know more about Python, then. That is a wise choice for a number of reasons. First off, Python is among the top three most...