A new distributed storage platform appears, tips on safely using PostgreSQL, Go 1.7's beta appears, SyntaxDB for polyglots and what happens when The Onion improves scrolling - all the links that caught the eye of Compose's technical content curator and other Composers this week, in one place for you. These are Compose's Little Bits.
Torus - The CoreOS developer have taken on the challenge of distributed storage with Torus, a new open sourced take on the persistent problem of persistence. It's a "release early" announcement that's looking to build community around the cloud-native, container-centric distributed block storage system which already has support for consistent hashing, replication, garbage collection and storage pool rebalancing.
PostgreSQL users - An article about Row Level Security and Users from the good folks at 2nd Quadrant looks at the question of if you map your application users to PostgreSQL users or use other techniques to leverage RLS while keeping shared logins.
PostgreSQL CTEs - And a useful reminder about CTE's aka
WITH... statements in PostgreSQL from Andrew Dunstan's blog. The thing is CTE's aren't efficient in PostgreSQL ; they are materialized first and are unindexed leaving a lot of work for the server to do with big data sets. So be careful with your CTE usage.
Go 1.7 Beta - The next edition of the Go language has gone into beta. The draft of the Go 1.7 release notes promises faster compilation and the establishment of Go 1.5's vendoring support as standard. There should be a speed up for most programs from a more optimized runtime, and whilst the language sees no changes, the
context package moves to the standard library and there's a lot of updates to other packages. Expect to see Go 1.7 released in August.
SyntaxDB - As you become a polyglot programmer, it can be hard remembering all the syntactical stylings of different languages. Enter SyntaxDB which is evolving a library of syntax and examples of use for different languages, making them available as a website or as a Slack bot (delivery method de jour).
fartscroll.js brings tunable um... noises to your web pages. And it's open source. And it no longer uses jQuery apparently.