Programming Leftovers
-
Mohamed Ahmed: NVK YCbCr Support Part 0 - Hello World
I am Mohamexiety, a (soon-to-be) 4th year electronics engineering student and a recently accepted contributor in the Google Summer of Code program with my project being implementing YCbCr support for NVK, the new open-source nouveau Vulkan driver, under the mentorship and supervision of Faith Ekstrand @gfxstrand for the X.Org foundation.
-
Python Program to Check Prime Number
Understanding the concept of prime numbers and how to identify them is an essential aspect of mathematics. A prime number is a number that has only two distinct natural number divisors: 1 and itself.
-
C Program to Check Prime Number
A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. The first few prime numbers are 2, 3, 5, 7, 11, and so on. To check if a number is prime or not, we can use the concept of loop structures in C programming.
-
Java Program to Check Prime Number
A prime number is a natural number greater than 1 that is not a product of two smaller natural numbers. In simpler terms, a prime number is a number that has only two distinct natural number divisors: 1 and itself.
-
One temptation of shell scripting is reusing other people's code
Here I don't mean reusing code from other shell scripts, because you can do that in any language. Where shell scripting is unique is that you immediately get to reuse a large mass of code in the form of all of the Unix utilities out there. Some of these utilities have relatively direct equivalents in languages like Python (especially if you're willing to be brute force), but not all of them and often not as easily, and you also don't get to integrate with other utilities in the fluid way you do with shell scripts.
-
Shell Script to Check Prime Number
A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. In this article, we will explore how to write a shell script to check if a given number is prime or not.
-
The Booth at Akademy-es/OpenSouthCode
There’s no better measure of success than having a diminutive eight-year-old girl demand to know the name of the painting program she has been using for the last 20 minutes.