The State of Developer Ecosystem 2018 JetBrains has recently released their “State of Developer Ecosystem” report. It’s something interesting to look through. The sample size is only around 6000 people, but it is interesting to see the information spread over multiple programming languages. A minimal guide to ECMAScript Decorators Decorators are still only a draft and have not been finalized, but they are making their way through the standards process. Explaining them isn’t too hard, but explaining how to use them is a little tricky.
Don’t Use The Placeholder Attribute This article makes a strong case as to why the placeholder attribute added to input elements in HTML5 should not be used. Most of the reasons revolve around user experience and accessibility. UI Goodies UI Goodies is a directory of design and frontend resources. I’ve not gone through everything, but I haven’t found any that I wish they had and don’t. xo/usql One tool for MS SQL, another for MySQL, yet another for PostgreSQL.
UTC is Enough for Everyone, Right? Read this, even if you ignore everything else One of the fastest ways to gauge a developer’s experience is to start asking about time and timezones. It’s an absolute mess. This article does an absolutely amazing job going through why time is so complicated, with fun facts along the way, and how you should be handling time in your applications. Usability.gov This is probably the most pleasant US Government website I have ever visited.
Article Roundup - Week of Jun 03, 2018 DRY to the point of WET yak shaving DRY is a great principle, but it is just that: a principle. This article does a good job of going through that, though with a few too many images. If you get to nothing else, read the quote from Dave Thomas near the end. yak shaving: Any apparently useless activity which, by allowing you to overcome intermediate difficulties, allows you to solve a larger problem.
CSS Grid Builder This is a very cool tool that makes building CSS grids super easy. Tips for High Availability – Netflix Technology Blog – Medium When it comes to high availablity you know Netflix knows what they are talking about. If you have been a subscriber long enough you’ll know they have always been pretty good, but have gotten even better in recent years. This article goes through some tips from Netflix.
In most cases, you can assume one character in a string is 1 byte, but that is only in most cases. How many bytes do you think ü is? It turns out it is 2 bytes. But if you run 'ü'.length it will return the string’s length as 1. Unicode characters can appear as a single character but be made up of multiple bytes of data. Usually, this isn’t a big deal if you just need the length of a string, but if you actually need the size in bytes of a string it is a big deal.
The Eponymous Laws of Tech This is just a fun collection of all those laws and such things you find used in tech frequently. Occam’s Razor, Godwin’s Law, Brooks’ Law, those kinds of things. CloudEvents There isn’t a consistent model for events in serverless and cloud computing. Amazon’s SQS events are described one way, Google’s Pub/Sub events another. Kafka has a different format. CloudEvents is an effort to create a spec to be submitted to the Cloud Native Computing Foundation (CNCF).