Thursday, November 29, 2012

Don't shop from tmart.com


Their website said they had 32 of these big ticket items in stock. Then after ordering I got this. To have 32 and then say you are out of stock sounds like a gross case of software management. They lost my business for good.

Here is their reply:

Dear Mr. /Ms. ,

Greetings! Thank you for purchasing from Tmart.com.

We are sorry to tell you the items you ordered are currently out of stock in ourUS warehouse. Would you like exchange unshipped item(s) for in-stock one?In most cases, we may replenish the stock within 1-2 weeks, and we will ship them to you as soon as possible.

If we did not receive your reply, we will consider that you agreed to wait, and send the items to you once they are restocked.Weappreciate your kind understanding.

If you need to change or cancel unshipped items(s), you may clickContact Us or reply us directly.

Have a nice day
Flora
Support@Tmart.com

Tuesday, November 27, 2012

unetbootin install "not a valid win32 application" windows 7 fix

So I got that error message when I tried to install unetbootin on windows 7. I could not find any work around online, but i did find an alternative that worked that I was not familiar with:

http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

This worked fine on windows 7.


Wednesday, November 7, 2012

2012 Presidential Election Popular Vote to Unemployment Correlation

I was so surprised that Nevada and some of the other states with high employment voted for 4 more years of this. So I decided to look at the correlation between state unemployment rate in September 2012 and the popular presidential vote. Surprisingly it is the EXACT opposite of what you would expect. The states with the highest unemployment gave Obama the most popular vote support, meaning they are fine going forward. The states with the lowest unemployment want a change. Part of this correlation may include the fact that the states with the highest unemployment have the highest government dependents and don't want to bite the hand that feeds them.


Sunday, November 4, 2012

How to have php mkdir with correct permissions

I had some issues making directories in php without doing 777 permissions. So I did this, first I wanted to find out what user was running apache, I know it is usually nobody, but I wanted to be sure so I did this:

ps -ef  | grep apache

which returns:

www-data 15933 11814  0 06:54 ?        00:00:00 /usr/sbin/apache2

So I know my user is actually www-data, now I change the owner to www-data

x@x:/var/www/grid/sess$ sudo chown www-data scratch/ -R
x@x:/var/www/grid/sess$ sudo chmod 775 scratch/ -R

and now I can get it to write with 775 or 765 permissions! By the way I was writing my new PHP folders into this scratch folder