JavaScript function call vs arrow functions

Greate quote from Agile Software Craftmanship describing some of the short-cuts in programming languages. Classical example - function call versus arrow functions. “…the ratio of time spent reading versus writing is well over 10 to 1. We are constantly reading old code as part of the effort to write new code.Because this ratio is so high, we want the reading of code to be easy even if it makes the writing harder....

August 24, 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

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

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

Cyprus web studios: domain purchase for 13 EUR, are you serious?

Going through some of the web studios on the island, I was amazed on skyscraping prices on domain registrations. .com/.net/.org TLD’s for over 13 EUR. I just got couple of questions to those who actually do the reselling of these services: Under which contact name the domains will be registered? What about VAT? Over 5 EUR overprice, do you really think that customers won’t find which service you use to register the domains cheaper than your offer?...

May 28, 2015 · 1 min · anvyst

Code elegance: one of those days

Ah, it’s just one of those days! It seems that I can wail about this topic in non-stop mode. Why do people overcomplicate problem domain with sophisticated solution. Have you tried to read what you wrote the day after? A week after? No? Then, read it, and try to guess what you’ve been trying to achieve! And at the meantime, read this Programmers Stackexchange topic on Code Elegance. Not enough?...

March 5, 2015 · 1 min · anvyst

WHMCS Addons: Domain Blocker

After few trials, I finally decided to publish some information on a small add-on I’ve been working on a month ago for WHMCS platform. Domain Blocker add-on emerged from attempts of cutting down the number of phishing domain registrations, that’s been received on daily basis for the last couple of months. It uses CartValidation hooks that prevent any domain registrations that use “offensive”/“blacklisted” words, and tiny eye-candy for the backend with Twitter Bootstrap v2....

February 21, 2015 · 1 min · anvyst

Useful Git commit messages: concept of "why"

Big cleaning Fridays - time of the week when the number of “wtf’s/hour” drastically increases. I had to dive into some of the projects that been aside of my daily working routine for a while, and just to refresh the notion of what’s been going on up there, I’ve fired git log on the repository. Oh, how I hate commit messages like ‘minor fixture for …’ and ‘fixed typo for …’!...

February 20, 2015 · 2 min · anvyst