CategoryTechnology

All the articles related to Information Technology related fields, including programming snippets, and other things I’m interested in

SPA reload after deploy

John Resig, founder of jQuery, recently raised a great discussion on how to handle Single Page Application reloading after deployment.

Some of the options included:

  • Pass build version with each Ajax response and reload if mismatched.
  • Send a version hash to a server and force 412 code if versions not matching.
  • Notification on version update to leave refresh up to user to decide.
  • Client version passed in HTTP header to check for updates.
  • Log out all the clients at midnight
  • Turning on the servers only from 9 till 5.

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. As younger generation use emojis more often, I would still consider Ruby programming language as a young one (it’s mid 90s). 

On another hand, showing some basic appreciation to someone’s work would retain these people contributing to the community.

People often forget that most of open-source projects are voluntary. So you have to give some feedback to contributors. 

On the contrary, it wouldn’t mean that the world is all unicorns and rainbows. Scott Gilbertson from Wired magazine published an article about the most “swearing” programming communities back in 2011. 

C++ takes top honours, but just barely. Ruby and JavaScript are neck and neck behind C++. 

Wired magazine

We’ve been trying to adapt culture of appreciation in Qobo, whenever we receive contributions from in the wild. So far, we managed to keep our WTF/minute ration quiet low, and show as much positive feedback as we could.

So, whenever you contribute to any of our projects – don’t forget to buy us the beer. It will definitely boost the approval speed  of your pull requests. 

Indiana Jones GIF - Find & Share on GIPHY

“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:

Chromium build to replace Edge on Windows

Microsoft is building its own Chromium browser to replace the default on Windows 10. The software giant first introduced its Edge browser three years ago, with a redesign to replace Internet Explorer and modernize the default browsing experience to compete with Chrome and others.

While the modern look and feel has paid off for Edge, the underlying browser engine (EdgeHTML) has struggled to keep up with Chromium. Microsoft is finally giving up and moving its default Windows 10 browser to Chromium.

theverge

And yet, I will hold my sight. I quoted from Brad Frost 3 years ago: “But the truth is I don’t care”. 

Update: SwiftOnSecurity brings up interesting thoughts on the reasons behind this move. Mostly related with Electron, Skype for Business and EdgeHTML.

Birth & Death of JavaScript

Absolutely brilliant talk from Gary Bernhardt about JavaScript. Appearance of asm.js and all the low-level fun, that was going on in 2000’s.

This science fiction / comedy / absurdist / completely serious talk traces the history of JavaScript, and programming in general, from 1995 until 2035. It’s not pro- or anti-JavaScript; the language’s flaws are discussed frankly, but its ultimate impact on the industry is tremendously positive. For Gary’s more serious (and less futuristic) thoughts on programming, try some Destroy All Software screencasts.