Design, Programming, Music and Life

Saturday, December 20, 2014

Setting up a new build environment for Android

4:21 PM Posted by Unknown , , , , No comments
Ok,
So the past week, I have installed about a dozen different Linux distros on my HP x360 in order to be able to build Android ROM's from source. Most of them work out of the box, but only a few came with support for the touchscreen. So that limited my selections to variants of Ubuntu 14.10. From those, I found the Unity and Gnome distros to be the best. Builduntu 1.2 was able to build from the Blissrom repos with only updating to OpenJDK 7, but the problem was no touchscreen :(

So after settling with Ubuntu GNOME 14.10, I set out to automate the setup of a decent build environment with minimal effort while I continue to test out different repos. I started with @rharshit script since it was recently updated, and I modified it quite a bit. So now I share my result with you all :)

Some things you should know first:
  • I will be updating these over time to only apply to 64 bit systems. 
  • I will be adding to this to make it a relevant as possible for Lollipop development
  • I will not tie it down to one repo source. That is all you. 
  • I would be happy if you find a way to thank me for my work.

Monday, December 1, 2014

Not just another Christian

Socially, I'm at a point where I am surrounded by a lot of people who believe they are Christians, but philisophically, or theologically, I am having a hard time understanding their belief in God. They typically see God in one of a few different ways;
A) They understand God to be a single humanoid type being, with superpowers, living somewhere up above.
B) They understand God to be this Great War General in the sky, commanding religious armies and individuals to do Gods bidding.
C) They understand God to be some kind of puppet master,placing trials and tribulations in our path, just for spite.
D) They understand God to be a vengeful, demeaning being that only shows grace towards certain people who have either paid their way into heaven (penance), or have signed some kind of contract that signifies a firm understanding in the trinity (The Father, Son, & Holy Ghost).
E) Then there's those who take the Ancient Aliens approach to God, and actually understand God to be an race of creatures from outside our world.

Now I may not be the worlds foremost expert on what God actually is, and I will never claim to be such a person, but I am fairly certain that God is not any of the things above. If you can go through your life blaming God on every hardship or negative event in your life, then I think its time to take a step back and gain a little more perspective on how you value what you might already have and how you might be missing the boat when it comes to aligning yourself positively with the world. If you can say that you always do the right thing and God still puts roadblocks in your path, then I would have to ask you how you are teaching others to do the the right thing while facing hardship. Or a better way to put it would be, how can you always be doing the right thing, if you are still facing up to wrong things happening in your life?
The majority of the Christians I know, typically believe that God is in complete control of their lives, and this way of looking at things allows them to "pass the blame" on to God, for anything they might not completely agree with. This is not how I think God operates, and I find it hard to even think of labeling myself with the "Christian" branding that so many others who do not even have a loose understanding of what God is do. I will not be labeled with the same name as those that believe God will not accept those that have not heard his word and testament. I will not be labeled along with those that believe Gods will is to wipe out entire families and bloodlines, all for some kind of perverse property dispute. I will not be labeled the same as those who believe God is a vengeful, jealous, ruler that requires you to pay your way into heaven.

What other word, or label can I possibly use to signify that the God I believe in is full of grace, love, understanding, perspective, and wisdom. A God that shows us what we can do in our lives to maximize our positive influence on others through actions and not just words. A God that can help us understand what true enlightenment/heaven/etc. really is, and how we can achieve it. A God that shows us how to embody all the qualities of Christ. Since the Christian label has been ruined in my eyes by those that use it, I am looking for a better word that actually fits what I believe.

Suggestions are welcome...

Monday, September 22, 2014

I'm not dead, just been busy

I have been working full time as a Graphic Designer/Animator/Video Producer/Web Programmer/etc. for a little over a year now, and I have not been able to share much of what I have been working on. Well, recently I have been given a little more creative freedom to work on some Web/Programming stuff, so I thought I would take some time out to share a snippit with you all :)

Speed Demon - eBay Store Template
This is a single eBay template, that carries some of the theme and branding from the main website over to eBay. Single .html file with all styling and Javascript done in line.

Speed Demon - Website
This is a responsive single page website, using html5 and css3, so it will change format to fit screen size and orientation dynamically. It is broken down to sections and mostly all information and links are optimized for search engines.


Stay tuned for some more stuff. I have a few CSS3 and HTML5 tricks up my sleeve that I can't wait to share with you all soon. 

Wednesday, August 7, 2013

OMG! Best Use Of A Billboard I Have Ever Seen.

11:23 AM Posted by Unknown , , , , No comments
Putting a reverse osmosis water collection unit into a billboard is a really smart idea for impoverished nations. Give these people an award!

The link: OMG! Best Use Of A Billboard I Have Ever Seen. http://www.upworthy.com/omg-best-use-of-a-billboard-i-have-ever-seen?c=ufb1 I fricking love engineers.

Friday, July 12, 2013

iOS 7 - Feature: Use camera to redeem

9:08 PM Posted by Unknown , , , , , , , , , , No comments

So I stumbled upon a nice little feature in iOS 7 for my iPad & iPhone, and it is a much needed feature, redeeming a gift card through the camera on the device. I haven't seen much on this feature as of yet, so I figured I would post a few pics of the process.

When you hit the Redeem button in the App Store, you are asked to use the camera or enter a code manually to redeem a gift card. Once you hit the Use Camera button, it ises the front facing camera to identify the code on the back of the card.



Once it finds the code, it will show a box around it for a second, and then blink and show the text (not backwards) and then ask for your account password.




Once the password is confirmed, the box will turn blue and then the camera view will close and go back to the App Store's redeem dialog.



That's about it! Nice feature for iOS 7 I think, and gone are the days of entering a redeem code 2-20 times until it takes :)

Saturday, July 6, 2013

IDEA: A different take on how we record sound.

2:42 PM Posted by Unknown , , , , , , , , , No comments
When we are at a concert or listening to a guitar, we aren't just hearing a guitar, but we are hearing the guitar, the string, the reverb, and they are all coming from different places, so the sound is more pleasurable to our ears. So what we hear is analog when it comes from the guitar. Once we record that sound, we lose the quality of the sound, and it doesn't matter what medium we use to record, the sampling rate is still dependent on the medium used. Currently, we convert analog audio to digital audio in a form that uses sampling, or grabbing a snapshot of the analog wave at a certain rate per second. The way it is stored is a lot like how we store a picture too, where you will only get one sound/pixel per sample.
 
In Graphic Arts, I have learned a lot about using vector information I my graphics for scalability, and the way a vector is made is by grabbing the relative point and curve values, along with attached lie or color info. This could be done with sound too, by initially recording at a high enough ate to be able to analyze the point, frequency and curve values of a single wave. With a high enough sample rate, it is theoretically possible to be able to separate each wavelength by source and curve, allowing for a much higher quality recording, along with a much smaller file size, because all that is being stored is point values, curves and metadata.