Υποβλήθηκε από Βασίλης στις Κυρ, 06/12/2015 - 12:16πμ.
It's been a couple of days since the final PHP 7.0.0 was released. Among the new features/improvements brought by this new version are improved speed and reduced memory usage. So they say. It's about time to find out if this is the case.
To use it in your favorite web development environment, if you're a Linux user (like me), you will have to wait until a package is available for your distribution. If you're on a rolling release (Gentoo forever!), version 7.0.0 is probably a couple of hours away from commit in the portage tree. If you're on Windows (no comment...), grab your binary build from the official Windows releases page, at http://windows.php.net/download/
Υποβλήθηκε από Βασίλης στις Δευ, 27/04/2015 - 9:45μμ.
This is a post about a few thoughts about programming practices. These thoughts arose after my involvement with two projects.
The first project was a web application using PHP as the server-side language and MySQL as the database. A colleague came to me asking for some help in their project and hints about it. After going through some of the code and regarding my relatively little programming experience (I'm not a full time programmer), some random thoughts came to mind.
Υποβλήθηκε από Βασίλης στις Κυρ, 23/11/2014 - 12:26πμ.
This is a blog post about why you should dump MySQL (or any forks...) and choose another database for your projects. It is not exhaustive at all, it just reflects my opinion about this database that I have formed so far after many years using it. Many are going to hate this post, many will probably love it. Feel free to comment below in any case. I have blogged about MySQL in the past (read here and here), but things have changed since then.
Υποβλήθηκε από Βασίλης στις Δευ, 10/11/2014 - 9:29μμ.
My (our) favorite browser, Firefox, yesterday turned 10 years old for its 1.0 release. Since the words "privacy" and "free and independent web" have special meanings these days and become more and more important, let's try to keep web a independent place for all and our data under our control. Use Firefox and these goals will come closer. Do not use closed source browsers, like Google Chrome, Microsoft Internet Explorer, Opera or any derivatives. They might be better (or even worse), but use the only free (as in freedom) and decent alternative free browser, use Firefox!
Υποβλήθηκε από Βασίλης στις Πέμ, 16/10/2014 - 10:35μμ.
Today I discovered an issue with Firefox. It was a rather annoying issue, since it made Firefox skip its cache and loaded already visited content.
While navigating with the web developer console open (press F12 while inside a page to open, it's a lifesaver tool and a must for all web developers), I noticed that while visiting a site that I visited a couple of minutes ago, I looked at many 200 HTTP status codes for images. "This is strange" is the first thing that came to mind. Pressing F5, it loads the images again, while it shouldn't.
Υποβλήθηκε από Βασίλης στις Κυρ, 17/11/2013 - 12:27πμ.
A few months ago, I did some tests regarding the memory usage of PHP 5.4 with and without Xcache, compared to 5.3. You can read the article here. My conclusion at the time is that version 5.4 indeed dropped the memory footprint by a great deal and that by itself is a huge improvement.
This time, I thought of comparing all current major stable branches of PHP, in terms of speed and peak memory usage. So, I'm comparing the latest (as of now) versions of PHP 5.3.27, 5.4.22 and 5.5.6. This time, I'm looking for numbers with regard to speed and peak memory usage, without using any accelerator (like Xcache, APC, etc.).
Υποβλήθηκε από Βασίλης στις Παρ, 17/12/2010 - 10:00μμ.
Those of you Opera users that have problems with accents in the address and search bars (for example, I couldn't type έ or ά in Greek), in case you have compositing enabled, disable it and restart Opera. Otherwise you can start Opera like this:
and the problems will go away. This has been an annoying problem for me (I don't remember which version introduced this issue, maybe 10.60) and I was looking forward for a solution. This simply does it.