Chronos: CakePHP replacement for carbon

Chronos is a drop-in library replacement for nesbot/carbon. It provides immutable date/datetime objects. Immutable objects help us to ensure, that DateTime objects aren’t accidentally modified. <?php<br>require 'vendor/autoload.php';<br>use Cake\Chronos\Chronos;<br>printf("Now: %s", Chronos::now());<br>?>

August 23, 2016 · 1 min · anvyst

Simplenote went fully open-source

One the reasons why I love about Automattic - is its freedom and community-driven development: We are announcing today that all of the official Simplenote client apps are now Open Source Software under the GPLv2 license. Automattic As an avid notes keeper, I used to try various apps: Evernote Mou MacDown So far, Simplenote stayed longer than all of the above. Minimal UI, that has only what’s required to keep notes organised....

August 23, 2016 · 1 min · anvyst

Shortest explanation of Marketing

The first step is to invent a thing worth making, a story worth telling, a contribution worth talking about. The second step is to design and build it in a way that people will actually benefit from and care about. The third one is the one everyone gets all excited about. This is the step where you tell the story to the right people in the right way. The last step is so often overlooked: The part where you show up, regularly, consistently and generously, for years and years, to organize and lead and build confidence in the change you seek to make....

August 23, 2016 · 1 min · anvyst

EmberJS: JCF with components

JavaScript Custom Form elements is a useful jQuery plugin for customising your form elements, in case you have to get away from the default styling of the form elements. However, there’s a tiny “but” with the plugin when you use it with EmberJS. JCF initially designed to be used on the global scope, and in some case (like mine), it’s not what you need. If you’re using custom select-element with JCF without JCF....

August 22, 2016 · 2 min · anvyst

Classic programmer paintings

“Github Major Service Outage”. Georges Seurat, 1884 Brilliant collection of classical oil paintings with modern interpretation. “InfoSec team verifies security flaw.” Caravaggio, 1601-1602

July 29, 2016 · 1 min · anvyst

Google open sources its English parser

Today, we are excited to share the fruits of our research with the broader community by releasing SyntaxNet. An open-source neural network framework implemented in TensorFlow that provides a foundation for Natural Language Understanding (NLU) systems. Our release includes all the code needed to train new SyntaxNet models on your own data, as well as Parsey McParseface. Parsey McParseface - English parser that we have trained for you and that you can use to analyze English text....

May 12, 2016 · 1 min · anvyst

JavaScript: shooting yourself in the foot with configs once again

I’m not the only one blown away after digging up some of React/Redux boilerplate code. Great article proving some of my thoughts on the subject: ** Copy-pasting configs from boilerplate projects always leads to hard-to-debug issues like this.** It’s easy to miss somebody’s configuration decisions when you’re not the one making them. Don’t use boilerplate projects unless you understand each and every technology it uses! I understand Dan’s frustration. But could we look at this from a different perspective?...

May 12, 2016 · 1 min · anvyst

Electron: built desktop apps in JavaScript

Electron allows you to build desktop applications with web technologies like HTML, JavaScript and CSS. Among the early adopters of Electron, you can see these names: Atom Harmony music player Discord chat app GitHub Desktop

May 12, 2016 · 1 min · anvyst

Development: code of conduct

Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live. Code of conduct - absolutely great thing in the world of open source and overwhelming media. We try to setup a certain pattern of communication with others, to avoid bashing, insults or any other types of miscommunication. It perfectly works in community organisation. People know their “do’s” and “don’ts”....

May 9, 2016 · 3 min · anvyst

How many seconds a day have?

Pretty neat example of how you shouldn’t calculate days/weeks from Swizec Teller. If you think that day is equal 60 * 60 *24 seconds - this post’s for you. Thanks to the wonder that is daylight savings time (DST), we have a day that’s only 23 hours long. We also have a day that’s 25 hours long. Then, every few years, we have a day that’s 86,401 seconds long. In theory, we could even have a day that’s 86,399 seconds long....

November 23, 2015 · 1 min · anvyst