background preloader


Facebook Twitter

Focus on Force

LWC Trail Head. Business ideas process reaseach. Paypal. Sage Live. Writing Modular Node.js Projects for Express and Beyond. I have worked with Express for over four years now and I cannot count how many different ways I have reorganized my code!

Writing Modular Node.js Projects for Express and Beyond

Express bills itself as an un-opinionated framework. This is true. If you search for “express boilerplate” you will find a lot of different ways to organize your project. In my experience, there isn’t “one best way” to structure a project. If you are looking for that, you probably won’t find it. In this article, I propose a minimal and flexible pattern that I think works well for projects that are larger or have the potential for growth. Modularizing the code base It’s hard to anticipate how a code base will grow and change. A modular structure understands that you won’t have complete isolation between the components. The Node mantra of small npm modules is carried over then into small components.

The minimal modular structure Here is a base structure that is as minimal and un-opinionated as I could make it: D3.js – From Zero to Data Viz Hero with Kent English. The first stop for security news. 51 Best jQuery Plugins. jQuery is a popular javascript framework.

51 Best jQuery Plugins

The reason it’s so popular because it is very easy to extend with plugins. There is a vast and active community which continuously build plugins to suite different needs, however it is not that easy to keep track of them in your must have lists. This is why, in this post you’ll find 51 best jQuery plugins which you can implement in your project. 1. jQuery-Kit A very easy to use, cross platform, jQuery based UI toolkit, that’s still small in size, has the features you need, and doesn’t get in your way of doing things!

Sample Usage Code. Color Scales · gka/chroma.js Wiki. Wiki ▸ Color Scales Chroma.js comes with support for color scales which aims to simplify the mapping of data values to colors.

Color Scales · gka/chroma.js Wiki

It supports: color interpolation in different color spacesdifferent classification systems (e.g. quantiles) highly customizable multi-color gradients Simple usage In the simplest case, you would just pass two colors to chroma.js. Var scale = chroma.scale(['white', 'red']); scale(0.5).hex(); // #FF7F7F Specify in which color space the colors should be interpolated by setting the mode. Natural Language Parsing with Retext. Retext (GitHub: wooorm / retext, License: MIT, npm: retext) by Titus Wormer is an extensible module for analysing and manipulating natural language text.

Natural Language Parsing with Retext

It’s built on two other modules by the same author. One is TextOM, which provides an object system for manipulating text, and the other is ParseLatin. Given some text, ParseLatin returns syntax trees: parseLatin.parse('A simple sentence.');/* * ˅ Object * ˃ children: Array[1] * type: "RootNode" * ˃ __proto__: Object */ Building Impressive Presentations with Impress.js eBook: Rakhitha Nimesh Ratnayake: Kindle Store. Dashboard - JSFiddle - Online JavaScript Editor - jQuery, Angular, Backbone, Underscore, Knockout, YUI. Karpathy/forestjs. Transition Words & Phrases. As a "part of speech" transition words are used to link words, phrases or sentences.

Transition Words & Phrases

They help the reader to progress from one idea (expressed by the author) to the next idea. Thus, they help to build up coherent relationships within the text. Transitional Words This structured list of commonly used English transition words — approximately 200, can be considered as quasi complete. It can be used (by students and teachers alike) to find the right expression. There is some overlapping with prepositions and postpositions, but for the purpose of usage and completeness of this concise guide, I did not differentiate. Agreement / Addition / Similarity The transition words like also, in addition, and, likewise, add information, reinforce ideas, and express agreement with preceding material. in the first place not only ... but also as a matter of fact in like manner in addition coupled with in the same fashion / way first, second, third in the light of not to mention to say nothing of.

Lecture 1 in 6.851: Advanced Data Structures (Spring'12) Persistent data structures The first lecture is about “persistence” (which corresponds to the “branching universe” model of time travel).

Lecture 1 in 6.851: Advanced Data Structures (Spring'12)

On the one hand, we'd like to remember all past versions of our data structure (“partial persistence”). On the other hand, we'd like to be able to modify past versions of our data structure, forking off a new version (“full persistence”). Surprisingly, both of these goals are achievable with only a constant-factor overhead, in a fairly general model called the “bounded-degree pointer machine”. A bigger challenge is the ability to merge different versions into one version, which can e.g. allow you to double your data structure's size in one operation (“confluent persistence”).

[Details and references]


Danilogasquesrodrigues. Pearl links. Inspiration & Motivation. U101. TU100. Ubuntu. Pearltrees videos. Pearltrees tips.