“Global data” by M. Fowler & K. Beck

Since our earliest days of writing software, we were warned of perils of global data - how it was invented by demons from the fourth plane of hell, which is the resting place of any programmer who dares to use it. (C) Refactoring, 2nd Edition

July 13, 2019 · 1 min · anvyst

Refactoring UI to Common UI Problems

July 1, 2019 · 0 min · anvyst

Docker: access host database from container on Mac

With things like homebrew you kind of forget that you’re not on Linux, and some things might actually work differently. Trying to connect to a host database server from the container using 172.17.0.1 didn’t work out. After few hours, figuring out that everything’s setup right, you’re not going crazy, you stumble upon this note: The host has a changing IP address (or none if you have no network access). From 18....

June 29, 2019 · 1 min · anvyst

SVG libraries worth checking

https://frappe.io/charts http://snapsvg.io/ https://svgjs.com/docs/2.7/

June 27, 2019 · 1 min · anvyst

PHP RFC: Comprehensions

Another interesting RFC recently landed to PHP community. So far the easiest way of explaining comprehensions for me comes from Python world: Comprehensions are constructs that allow sequences to be built from other sequences. Here’re some examples from List comprehensions in Python: def palindromes(strings): return [s + s[::-1] for s in strings] def starting_with(letter, names): return [name for name in names if name[0].lower() == letter.lower()] JavaScript, however, decided to remove its support from standard in favour of filter/arrow/map functions....

April 13, 2019 · 1 min · anvyst

Disney to compete with Netflix

Disney executives didn’t mention Netflix once during their three-hour-plus investor presentation Thursday, at which the company laid out its plans to build up a suite of subscription streaming services — most notably Disney+, a $7-a-month service bursting with movies and TV shows. Disney+ launches in the US in November and will feature everything from Disney’s recent theatrical offerings, like Captain Marvel, to classic Disney movies like Bambi, and new, original stuff like The Mandalorian, a _Star Wars _TV-show spinoff....

April 12, 2019 · 1 min · anvyst

Rumours: Facebook brings back Messenger to App

FastCompany recently posted some rumours on possible integration of FB Messenger back to Facebook app: Until 2014, Facebook users were able to send and receive Facebook messages in the primary app. But then Facebook decided to remove the messaging feature from the app and forced users to use the dedicated Facebook Messenger app to send and receive Facebook messages. Wong speculates that the reversal of this policy is in preparation of Facebook integrating its messaging services across all its apps: Messenger, WhatsApp, and Instagram....

April 12, 2019 · 2 min · anvyst

SPA reload after deploy

John Resig, founder of jQuery, recently raised a great discussion on how to handle Single Page Application reloading after deployment. For folks that've developed Single Page Apps - how do you deal with users leaving pages open for a *really* long time? Reload every N days? Reload after a deploy? We frequently have users attempt actions many weeks after a feature was removed! — John Resig (@jeresig) January 10, 2019 Some of the options included:...

January 11, 2019 · 1 min · anvyst

Culture of appreciation in dev communities

Github recently released its annual report - Octoverse 2018. Ben Halpern descried an interesting fact about the use of emojis in in Github issue tracker. According to Github infographics in the report, “the kindest” development community is Ruby developers. In a sense of support and appreciation for other developers via the use of emojis. Some might say that this metric won’t say much about the “the kindness” of the community. So you might consider also the age distribution of the developers....

December 11, 2018 · 2 min · anvyst

"The mess we are in" by Joe Armstrong

Great talk from Joe Armstrong on how they created Erlang, and how Programming community looked back in the days. Amazing, inspiring, worth watching:

December 10, 2018 · 1 min · anvyst