When contributing packages to conda-forge, Grayskull can make your life much easier.
Grayskull generates recipes for Python packages hosted on PyPI.
As the introduction for Grayskull reads; “The main goal of this project is to generate concise recipes for conda-forge.”
In this tutorial we learn how to contribute a Python package to the conda-forge channel using Grayskull to generate the recipe.
Let us get started.
conda install -c conda-forge grayskull
In my previous blog I wrote about the Outreachy application process and my experience during the contribution period.
A lot has happened since then. For one; I got selected. (Yippie!)
And second; the internship has already begun. Week one completed today.
Outreachy encourages its interns to write a blog every two weeks. I plan on to write one every week. This week’s blog is going to be about me, my core values and my motivation behind applying at Outreachy.
Last year my initial application at Outreachy was rejected because I had submitted it on the last day.
I had invested quiet some time in writing the essay answers and felt a bit dejected that the folks at Outreachy hadn’t even reviewed my application.
That year, reported Outreachy, there was an “overwhelmingly large” number of applications and Outreachy decided not to review those submitted on the day of the deadline.
This year, I decided I was going to be vigilant and proactive.
I had saved my essays from last year. I downloaded my university academic calendars, noted down the semester…
Let us try to make this a really fast paced, to the point article. Okay? Good. Let’s go!
So, ‘matlab’ is a Hindi language word which translates, in English, to ‘meaning of’. ‘Matlab’ can also be found in the Urdu language and here too it translates to ‘meaning of’.
And this word has got nothing to do with the software MATLAB.
MATLAB is short for MATrix LABoratory .
It’s case sensitive. The syntax is somewhat like that of C language.
There are four different windows in MATLAB.
(This is going to be very short.)
An important term in the study of Operating Systems is ‘kernel’.
The kernel is the core of the operating system that has complete control over everything in it. When the computer system is turned on, the kernel of the OS is the first program to load onto the system.
Thus, the kernel facilitates the interactions between hardware and software.
The Dual Mode of Operation of The CPU
It is understood that the CPU operates in two different modes. Namely, the kernel mode and the user mode.
In the kernel mode, the…
So, you want your computer to do a ‘2+2’ for you (you sucker). You already know that your computer (the hardware, the physical ‘thing’ you can see) is just a machine, made up of metal, plastic, silicon and stuff. You know that your computer (the thing) doesn’t actually understand your language. And you might also know that it has something to do with 1s and 0s. Yes, Binary! That’s its native language. Your computer is from ‘Binaras’.
You know that when your computer does a ‘2+2’, it is actually tweaking those 1s and 0s inside of it and producing the…
We are given two piles of coins containing A and B number of coins. In one move we can remove one coin from pile A and two coins from pile B or we can remove two coins from pile A and one from pile B.
(In other words, in one move, coins are removed from both piles and three coins should be removed in total.)
Given the number of coins in each pile, we have to find out whether it is possible to empty both the piles (in any number of moves) or not.
A = 1 coin…
Given a string, the task is to generate all different strings that can be created using it’s characters.
For example, given string = “abc”
All possible distinct strings that can be generated using the three characters in this string are:
Notice that there were three characters in the string, so that possible number of ways in which these three characters could be rearranged is 3! = 6.
We fix one character and then insert the remaining two characters to form one combination, and for the next combination we…
Given an integer ’n’, we are supposed to find out the number of trailing zeros in ‘n!’ .
One obvious way is to calculate n! and count the number of trailing zeros.
But this approach is not efficient as the value of n! can exceed the limit of unsigned long long for 1<n<10⁹ . Hence, we try to device some other method to count the number of trailing zeros in n! without actually having to calculate n!.
Take any number. Let’s say ‘7’.
Let us multiple it by ‘2’.
7*2 = 14
Does multiplying ‘7’ by ‘2’, give us an…
Given a string, the task is to rearrange the letters in such a way that the string becomes a palindrome.
After rearranging, the string becomes: AABBAA
Observe that there are four ‘A’s and two ‘B’s in the original string.
The length of the string is six.
Imagine the string being divided into two halves:
AAB + BAA
Clearly the the right half is a inverted version of the left half.
That means, the frequency of each letter in both the halves is equal.
The left half has two ‘A’s and one ‘B’, and so does the right half.
If writers wrote as carelessly as some people talk, then adhasdh asdglaseuyt[bn[ pasdlgkhasdfasdf.