CakePHP 3 adopts PSR-2

Recently read this article from James Watts: By adopting PSR-2 we can remove or reduce the code we maintain related to enforcing coding standards. As there are common tools, used by the rest of the community, to validate and revise CS issues, without requiring exceptions. james watts Looks like it’s the time to re-write our internal modules with PSR-2 standards in mind. If we want to share them with open-source community, of course

December 23, 2014 · 1 min · anvyst

Fedy - tweaking your Fedora

Fedy lets you install multimedia codecs and additional software that Fedora doesn’t want to ship, like mp3 support, Adobe Flash, Oracle Java etc. Soon, soon I’ll get back to Linux, but for now, this link remains here. dnf install https://dl.folkswithhats.org/fedora/$(rpm -E %fedora)/RPMS/fedy-release.rpm dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm dnf install fedy

October 20, 2014 · 1 min · anvyst

PHP functionphobs and doccomment fans

So in PHP functions are basically used in two cases: If the programmer doesn’t yet use OOP or if the script isn’t worth using OOP for. The notion of “helper function” or something like that does not seem to exist…(Reminder: Using classes does not mean your code is object-oriented!) So true! But what really got me on this article, was this part: Another tangentially related “standard” practice I feel badly about is the excessive use of doccomments....

October 16, 2014 · 2 min · anvyst

Docker partners Microsoft

Today, we announced an exciting set of joint initiatives with Microsoft, including: Extending Docker to Windows with Docker Engine for Windows Server Microsoft’s support of Docker’s open orchestration APIs Integration of Docker Hub with Microsoft Azure, and Collaboration on the multi-Docker container model, including support for applications consisting of both Linux and Windows Docker containers I’d like to provide some context for this announcement, and why we are so excited....

October 16, 2014 · 1 min · anvyst

Programming sucks: at its best

The only reason coders’ computers work better than non-coders’ computers is coders know computers are schizophrenic little children with auto-immune diseases and we don’t beat them when they’re bad. Every single paragraph is amazing. This one cracked me up: “Double you tee eff?” you say, and start hunting for the problem. You discover that one day, some idiot decided that since another idiot decided that 1/0 should equal infinity, they could just use that as a shorthand for “Infinity” when simplifying their code....

October 14, 2014 · 1 min · anvyst

Management inside Automattic

Great article describes how Automattic handles most of the managerial routines, and keep things running: The great irony in this, of course, is Mullenweg himself. In the jazz ensemble, Mullenweg’s notes overrode everything. “I’m married to WordPress,” he told me. All the high-stakes decisions for all three organisations were made by him - and often low-stakes ones as well. Employees jokingly referred to the following common occurrence as “Matt bombing,”...

September 30, 2014 · 1 min · anvyst

Cassandra at Github: integration

John Nunemaker on implementation of Analytics at Github using Cassandra: The collector became a Rails app with one purpose - to receive events and queue them in Kestrel, which I used on Gauges. The processor pulled from the queue and stored the raw data in Cassandra. The other component of processing (Hadoop) then iterated the raw data on intervals and turned it into aggregated “indexes”. The reporter became a Rails app with one purpose as well, to receive API requests from github....

September 29, 2014 · 1 min · anvyst

Programming languages as

Yet another interpretation of “if programming languages were..”. This time it is about programming languages as weapons. Perl is a molotov cocktail, it was probably useful once, but few people use it now. Ruby is a ruby encrusted sword, it is usually only used because of how shiny it is. PHP is a hose, you usually plug one end into a car exhaust, and the other you stick in through a window and then you sit in the car and turn the engine on....

September 23, 2014 · 1 min · anvyst

You're using an outdated browser, please use Chrome

Going through, stumbled upon this nice source code: <!--[if lt IE 7]> <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p> <![endif]--> Just out of curiosity, what would people heavily using IE do, if they’re offered Chrome. Ignore, or upgrade their IE?

August 29, 2014 · 1 min · anvyst

Technical Dept

Great article on software development sins from Ionel Cristian and great quote on technical dept: Management fear risks. Juniors fear getting in intractable situations or just don’t know how to solve it better. Seniors with cozy positions fear embarrassment - it’s already cozy enough and the golden shackles are so shiny. Why risk looking like a fool and give management reasons for downgrade or lose that minuscule 1% salary upgrade....

August 20, 2014 · 1 min · anvyst