I have recently upgraded one of work project to PHP 7. What a bliss… Just by upgrading we have managed to reduce response time for Symfony based API from 100ms to 75ms (25% boost). (Note: responsibility of the decreased timing might also be from some updated libraries and drivers)
I have also managed to upgrade the present blog to the new PHP version and a similar improvement was observed.
Other major improvements from my perspective:
- Strong type return methods (this can help increase the code quality and will help resolve some bugs in some early stages). I was a bit disappointed that overloading is still not available.
- Syntax errors are now catchable
Today i’ve worked hard to make some changes to “wakeup tool” and so it came v2.
Changes that worth mentioning:
- New layout based on bootstrap. It’s responsive now 🙂
- Grouped hosts by type (Linux, Windows, Webserver). Each with it’s own verification procedure
- Changed WOL mechanism in order to remove dependencies on some installed binaries.
- Changed autodiscovery mechanism. Now it will check if host alive trough checking ports 3389,22,80. Again removed dependencies on external binaries.
- Changed log in mechanism to sfDoctrineGuard in order to allow future features that require permissions. If you require integration with Active Directory have a look here.
You can have a look yourself at: https://github.com/alexbumbacea/wakeup
It seems like nothing is secure those days. I found a post about possible security issues with HTTPS on Firefox and Chrome. The issues is realted to some features enabled by default in those browsers(TLS compression or SPDY) that would allow access to cookies from https sites. In the latest versions of Firefox and Chrome those features were disabled, so update as soon as possible.
Surprising for me it’s that this happends to Firefox and Chrome and not to Internet Explorer, but it seems like the fact that they don’t implement all the new cool stuff saved them.
Also as webmaster you can protect your users by disabling those features in your webserver.
Today was the first expose to public of the wakeup tool. It’s available on github here https://github.com/alexbumbacea/wakeup/
The tool is designed for companies that want to reduce the amount of power consumer by the computers while employees are not using them, but also offer possibility during VPN connections to access the machines.
It requires wake-on-lan to be enabled from bios and, for the auto-discovery functionality, it requires that computer would have Windows Shares enabled( it uses netbios scans ). Also computer may be added manually to the list.
Currently documentation and interface are still in work, but the core functionality is working.