So there is a decent amount of “flack” information out there about how to properly and securely save passwords via PHP to your database. I wonder if this is partially because so many years of old out dated answers and discussions have muddled the effectiveness of google, or if to many people it is just not clear or sure. No matter the reasons I decided to share some of the best ways to deal with passwords.
Ten years ago most people would answer this quite quickly with “use MD5” but as that has become less secure, computers have become more powerful, and hacks have become more advanced, using MD5 is not really a good idea. Some now would say use SHA256 or even SHA512, but it’s not just a simple, replace MD5 with a more secure HASH function ether. While currently that might work, it is not very future friendly as ASCII cracking machines get more powerful, in a few years you will be in the same boat. Also this does not solve any of the other issues with more advanced attacks like rainbow tables.
Posted in Computers, My Applications, Science
Tagged crypt, database, hash, md5, passwords, password_hash, php, salt, security, sha
Erica picked up a few things while at the store today to stock up for Christmas. I think she did great! 🙂 Thanks baby!
It’s time for Friends, Family, and all you love… oh and Cookies!!!
Merry Christmas Everyone!
I have had Irritable Bowl Syndrome off and on for some time now. I have of course learned a number of foods to avoid to decrease my chance of having issues. It really is a person to person thing, but for those looking to try and narrow it down, first look at Fodmap foods. Some of them are on my avoid list. Ideally you would want to avoid them all, and slowly introduce them one by one. When the pain has already started though, here are a few things I have found to help, or not help. So here are my on-going and rough notes on the subject.
Posted in Health
Tagged fodmap, Food, ibs
I have been a lover of the PNG formate for a very long time, and remember being frustrated working on some early projects with lack of support for the format in many browsers, that was a LONG time ago, and png files are very well supported and often used in web development. Back in 2004, another file format I was excited about was created, APNG or animated PNG files. Just like png was suppose to replace the copyright encumbered GIF format, this was suppose to replace the animated GIF format. Due to company and standards politics, though, only Mozilla , the inventor of the open format, has supported it. Very recently that changed when Apple added support for it in iOS 8 and Safari 7, which is really great news.
Posted in Apple, Computers, My Applications
Tagged animated, APNG, canvas, css, css3, gif, mng, spinner, webp
So if for some reason you are have to go though or visit Reedsburg, Wisconsin, I highly recommend you change your plans. Get a route around the place, avoid it like the plague. This small town of 10,000 has a large police force largely funded by out of towners caught making the mistake of entering the city limits.
We recently made this mistake. We entered the city limits and soon after a police car began to follow us, after a 10 minutes of no mistakes, he pulled us over, to “check us out”. After a long wait he came back with a ticket for a “no registration”. I had the registration, he did not ask for it, and when I showed it to him, he did not care, he said take it to the police station. So we did, and they said, sorry, you will have to fight it in court. The earliest court date was over 2 weeks away, so there was no way to make it back in town for it. I looked online, and called my BMV and my registration is valid and paid, and when I sent this information to the prosecutor, they just sent a letter back saying it would not be dismissed, and I owed the $100 fine or I would lose my license. It was like I was in a Kafka book, where I had to answer to people making up there own laws.
After more research I found this is a common way for them to make money. I made the mistake of going there, but you don’t have to, avoid this place.
The Double Food Pyramid puts importance of the environment next to health.
Last Wednesday, we lost a leg of power to the house. I called AEP, and had them come out and see what was going on with our power feed. It turned out, before I bought my house 10 years earlier, someone had “temporarily” hooked up the power to the house with electrical box wire clamps! So the main wire going to my house was just clamped to the wire that fed the meter! They somehow lasted 10+ years before the aluminum began to melt and finally failed. I was told by the AEP line man, it is quite common, and often they will even glow at night from the arcing and sparking electricity! It only took him 10 or so minutes to fix it correctly with led couplers and a crimping tool.
This is how the wires were connected! Notice the melted metal. It was wrapped in electrical tape.
What do I mean a leg of power? For those that don’t know, I will summarize. Continue reading
This week my friend Kevin bought a very cool little trailer, and Ryan and I went with him to pick it up. Check this beauty out! Made from a Nash Metropolitan convertible from the late 1950’s, it really catches your eye!
Although it is sad to see the rest of the car gone, I am glad this much still looks so good!
The Metropolitan was an interesting, innovative car. It was actually Continue reading
So I just bought an iPhone 5c on the cheap because it had a broken screen. Amazon had new screen kits for $40, so I got one, and set to work.
This is the before, notice all the broken glass!
So, in case you have not heard of Soylent, the powdered meal replacement, not the one one from the book or movie, I wanted to post a brief review of it. I also wanted to share my own notes on DIY meal replacements and supplements I worked on for travel and hurried days before Soylent came out.
This is the first batch of Soylent I mixed up! Notice the nice bottle I got from them.
Today marks the one year anniversary of when Erica and I started officially dating! We had met at a New Years Eve party last year just a little over a month before. We already have had a number of adventures, trips, and experiences. She has helped me heal, grow, and be a better person(excepting keeping up on my blog 😉 ). I am thankful to have met her. I plan to upload or blog about some of our past adventures here soon, I am VERY behind on my blog. But expect some posts about the trip we took down Route 66 to the Grand Canyon in the summer, some about the parties we have gone too, some of the breweries we have visited, and the projects we are working on(3d printer in the works??).
Here is to many more years my love! <3
Posted in Personal