Falcor core was immediately considered one of the main JavaScript modules and it’s sister modules are well-liked as well. As part of helping Falcor be as successful as possible, I want to raise awareness of Bithound scores (which are already being used by the Falcor project), and point out why they matter.
Whether or not issues are addressed within a timely matter
… Most everyone knows the above are important to the success of an open source module.
Weaknesses of the Bithound score (Falcor’s score should be higher)
While all of the above are important, they are less important (by far) for devDependencies than for dependencies proper. While Falcor locks down the few deps it has (this is shockingly rare but good on the Falcor team), dev deps are with the caret and some of the modules used are way out of date. In other words, I think the Falcor score should be higher than it is.
We should still improve the little things that matter
In terms of adherence to Node & NPM best practices however, Falcor core can improve. A quick comparison using Bithound.
Falcor Path Utils (another falcor project)
KeyKey (an insignificant project of my own)
Falcor core
Size is part of this, and stats aren’t everything. However, in my modules I’ve found a strong correlation between my maintenance of them and what the Bithound score ends up being.
I’m going to open some issues & PRs to address this, and I encourage other, both inside of Netflix and without, to do so as well.
Back in Aug 26 2015 I posted hopefully about the future of web components in Netflix’s Digital Supply Chain. Since then, all fans of the open web have sided with expediency (and therefore React). You can’t stop the mob’s forward march :). Seeing this coming a year ago, I offered Reactive Elements as the virtually cost-free way to bridge the gap ‘tween React and WC, but interop be damned I guess. The group recently had the joy of bringin’ on Tim Branyen from Bocoup—I hope he’ll help folks “see the light”.
Scoped CSS
As a side note, I’m developing an answer to one of the main open questions. It’s tentatively called Stylescope and serves as a more traditional (but versatile) companion to ModCSS.
ModCSS
ModCSS assists in modularizing styles by enabling CommonJS-like system to pull in Stylus or CSS files as JSON. The primary use so far in Netlix has been assigning to style in JSX.
Stylescope
Stylescope assists in modularizing styles by enabling one to reliably assign style information to an HTMLElement with 100% security that style won’t affect other elements. The pain of an Enterprise front-end developer attempting to add their own flair to a large CSS cascade is traumatizing and I’m here to prevent others from experiencing the same fate :)
Stylescope is early alpha, but it already works well for one-deep style trees in its Mochify tests. For next steps, I plan to demonstrate distributing and sharing styles via ModCSS and then consuming them in a Web Component via Stylescope. I’ll need to locate a module containing all viable HTML tags to implement parent-child style relationships in Stylescope…
We changed a few things at Netflix.com to prepare for our new Japanese friends:
Image-Based Subtitles to support vertical text, furigana (rubies), bouten (emphasis). This also sets us up for subtitles in other languages that don’t use a Latin script
On-Screen Keyboard for Darwin (user selects kana, yielding kanji suggestions)
Search tokenizes input (no spaces in Japanese), normalize to two possible search scripts
Typographic differences (bold and italic not used)
Some folks in Netflix’s Digital Supply Chain have agreed that Web Components are a good interop container. I also (perhaps controversially) believe people should also use WCs whenever effective as it’s simply native to the web. Telling someone to not use WCs is like telling someone not to use document.querySelector or Array::forEach. The war against React zealots is treacherous and ongoing.
I was at a company called Amco a few years ago. It was my first Senior position outside of running my own company. The VP of Engineering there (Jason King) taught us something he called “asynchronous communication”. It’s the concept that sharing information globally and digitally is more efficient than individually & physically. By sharing with more people, and in a way that they can respond as convenient to them, you optimize the quality and quantity of feedback you can receive. When everyone does this, it make everyone better. It definitely made me better and I think Netflix will get better if we all start practicing asynchronous communication. Ways we can do this are:
Remote pair programming tools that support multiple people
JSONView has been one of the first things I ensure is installed in Chrome for years now. It adds interactivity and highlighting whenever you navigate to a JSON resource. I wanted the same for JS, CSS et al and Sight fit the bill for that. Both extensions add CSS to JSON resources and they were initially conflicting. It turns out that you can edit the CSS styling for JSONView (and the themes of Sight). By doing so I was able to get them to play nicely with one another.
Call me crazy, but viewing images from a CLI app can be pretty cool. Yes, we have the ancient art of ASCII (and that will not go away) but why not use a real image in some cases?
Now the nice folks behind iTerm 2 have made that possible in versions of iTerm post-2.9. I do not claim this has not been done before, but I am unaware of this capability in Terminal. Anyway, on to the goods:
There is no tracking information for the current branch.
I am too! So I searched the OhMyZSH repo for set-upstream-to and re-discovered this command: ggsup. Calling ggsup with the name of the branch you want to track will get you to the place you want to be. W00t!
To recap. Call
1 2 3
ggsup master ``` ...to track `master`. Call
ggsup dev ` …to track dev. Get trrrrrracking team!
The state in which all resistance to progress is non-present. Easy flow of information from subconscious to conscious mind, characterized by clarity of purpose, speed of achievement and the full architecture of your project being held intact at the front of your mind. “Peak zone” is typically sustainable for 2-4 hours but takes 15-30 minutes to “boot up” into and is easily knocked down like a deck of cards if the “zonee” is disturbed by someone outside the zone.
Some of the most useful and lasting content has come from letters between colleagues. In this tradition, I will post some developer insight that’s shared between myself and other developers.
Tim
You’ve sent out some good stuff lately [on our JavaScript DL]. What’s your source? Is there a site I can check daily—a TMZ for developers?
James
I’ve decided to share even when I’m really “in the zone”, whereas previously I shared when I was bored
I make liberal use of IFTTT. I let the computers monitor the web and ping me when something “interesting” happens. E.g. I have Facebook’s Github profile monitored for new repos
I listen to the “5 Minutes of JavaScript” podcast. 3/4 of their content is too junior, but the 1/4 that’s not is worth it