Wednesday, September 17, 2014

GitHub!!

No not for Android, sorry.

But yeah, I tried my hand at programming for Linux. I had a small script I had used personally for a while that was written in bash called pstate-frequency. I decided to re-write the script in C++, to put my classes at university to good use. Later on, I decided one day to try and re-write it in C, in the spirit of Linux.

Now keep in mind I don't know C.

So it was a fun experience. I learned a lot.

And one day I thought, well, because I use this program, maybe someone else would like to have it too.

And thus, GitHub.

Almost imediately I was overwhelmed by GitHub. There are just so many things that I have absolutely no idea about. It really amazes me how much stuff Git is capable of, and all of the functionality that I've just simply never used.

As I was wrapping my head around GitHub, I decided to visit the repository for i7z, a very useful CPU monitor that I've used myself multiple times. From there I found some very useful code that I shamelessly pulled verbatim into my application to dynamically resolve CPU maximum frequencies.

(The code from i7z however, was pulled from another person off of a kernel mailing list it appears, so that's pretty cool as well.)

As a result, I finally had a program that had a chance of working on another person's computer.
It was a strange feeling. Running valgrind and watching it come back clean. Seeing my program in source up on a GitHub repository.

This does NOT mean I'm done with Android. I have too much fun with Android to even think about that. All this means is that occasionally, sometimes, I may upload some non Java code to a GitHub repository. I may occasioanlly make non Android related posts here. Who knows.

For now, I'll leave you with this link to the repository:  pstate-frequency

Keep following pyamsoft for updates and announcements about the newest applications!

==
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: http://pyamsoft-official.blogspot.com/