The problem comes with how PHP handles its typing behind the scenes mostly. When a string starts with '0e..' PHP interprets it as scientific notation and sees it as a value equal to zero. As a result, two strings, even if they don't match, that start with '0e...' will evaluate as equal. Fortunately, the answer is relatively simple (though could be time consuming to fix): change == (double equals) to === (triple equals). This prevents PHP from trying to do the type juggling and compare them on the types they are when presented (string to string in the case of hashes).
"Since it's hard to predict your data usage, you'll get credit for the full value of your unused data. Let's say you go with 3 GB for $30 and only use 1.4 GB one month. You'll get $16 back, so you only pay for what you use."
Contrast this to the current situation: You pay (heavily) for the maximum data you may or may not use in any given month.
If you do not use your entire data allowance, you do not get a refund, and the data is not carried forward to the next month.
If you go over your data allowance, you are charged excessively for the privilege, or throttled to 64 KBit/s (T-Mobile Germany), until you buy an add on, to get back full LTE speed.
Basically, the customer looses three times, while the network provider wins.
Google: Credits for unused data each month is an awesome idea. I hope the concept gains momentum.
I was not aware that similar techniques are currently being used on (restaurant) menu design, but it does not surprise me at all. Effectively, restaurants want you to purchase specific foods (where the profit margin is the highest), thus they have to draw your attention to the "correct" part of the menu, in the same way, we as web professionals, need to draw our web site visitors to specific parts of our landing pages (usually the call to action part).
The "problem" is essentially the same, therefore, it is not surprising that the "solution" is very similar too.
Git auf Deutsch
Die tägliche Kommunikation in deutschen Entwicklungsteams, die git (übersetzt: Schwachkopf) anwenden, ist oft das feinste Denglish. "Kannst du bitte pullen" oder "Hast du gepusht" sind nur zwei der oft seltsam klingenden Konstruktionen.
Git auf deutsch schafft abhilfe!
via +Alexander Over and +Kristian Köhntopp
I have been involved in web application conceptualization and development since 1996. I lead a transcontinental and multi-functional team of programmers, graphical artists, authors and search engine optimizers. Our team builds highly usable, multi-lingual, fully localized web applications, which rank well in all search engines for all applicable languages and countries.
Being an advocate of the FOSS movement, I promote the use of Open Source software, motivating and assisting team members to deploy Linux on the desktop and server. I reject the notion of reinventing the wheel and consequently prefer to develop with established frameworks, components and tool kits where applicable.
I am an active member of the Zend Framework, having authored Zend_Service_LiveDocx, a really exciting project, which offers PHP developers a dead easy and very quick way of creating beautiful word processing documents, such as PDF, DOCX, DOC or RTF files with PHP.
I prefer Debian GNU/Linux on production servers and my desktop. Please bear this in mind, when reading my profile.
In my somewhat sparse spare time, I like to cycle, windsurf and enjoy the Great Outdoors.
- The Imaging SourceHead of Web Development and Operations, 2012 - present
- The Imaging SourceSenior Web Developer, 2006 - 2012
- The Imaging SourceWeb Developer, 1996 - 2006