{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "Forward Thinking",
  "home_page_url": "https://forwardthinking.pemo.me/",
  "feed_url": "https://forwardthinking.pemo.me/feed.json",
  "description": "[ˈfɔːwədˌθɪŋkɪŋ]",
  "icon": "https://forwardthinking.pemo.me/icons/icon-512.png",
  "favicon": "https://forwardthinking.pemo.me/icons/favicon-32x32.png",
  "language": "en",
  "authors": [
    {
      "name": "Peter A. Moelgaard",
      "url": "https://forwardthinking.pemo.me/about"
    }
  ],
  "items": [
    {
      "id": "https://forwardthinking.pemo.me/posts/cloudapp-local-cache",
      "url": "https://forwardthinking.pemo.me/posts/cloudapp-local-cache",
      "title": "CloudApp Local Cache",
      "summary": "Sometimes you want to add the local files easily using CloudApp, e.g. for Dragging and Dropping into Communication Channels that doesn't play so well with…",
      "content_html": "<p>Sometimes you want to add the local files easily using CloudApp, e.g. for Dragging and Dropping into Communication Channels that doesn&#39;t play so well with CloudApp when it comes to Preview and Interactions.</p>\n<p>Finding the location where CloudApp saves their locally cached files is not entirely straight-forward, since they nest it inside the library under an Organization Identifier that is not so well-published: &quot;LineBreak&quot;.</p>\n<p>On MacOS you can find the cache here:</p>\n<p><code>/Users/{username}/Library/Caches/com.linebreak.CloudAppMacOSX/draggingCache</code></p>\n",
      "date_published": "2021-06-05T03:39:56Z",
      "date_modified": "2021-06-05T03:39:56Z",
      "tags": [
        "Tools",
        "Uncategorized",
        "undocumentation"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/opencart-on-localhost-via-ngrok",
      "url": "https://forwardthinking.pemo.me/posts/opencart-on-localhost-via-ngrok",
      "title": "OpenCart on LocalHost via NGROK",
      "summary": "OpenCart Ecommerce System has A LOT of flaws, apparently written by an army of unknown developers spread around the Russian OpenSource Community, it shows…",
      "content_html": "<p>OpenCart Ecommerce System has A LOT of flaws, apparently written by an army of unknown developers spread around the Russian OpenSource Community, it shows very little cohesion in the source-code (Read spaghetti). One of the more tangible caveats of this is the way that everything is implemented multiple times and in different ways... and this leads me to this following issue: It doesn&#39;t observe the Host-Header HTTP parameter but instead uses a hard-coded configuration. Since I have no interest and ambition in contributing to OpenCart, and to to get it to run through NGROK on the local-host, I found the easiest way was to change the configuration...  </p>\n<p><img src=\"/media/wp/2020/05/opencart-hostrewrite-public.png\" alt=\"opencart-hostrewrite-public\" loading=\"lazy\" decoding=\"async\"></p>\n<p><img src=\"/media/wp/2020/05/opencart-hostrewrite-admin.png\" alt=\"opencart-hostrewrite-admin\" loading=\"lazy\" decoding=\"async\"></p>\n",
      "date_published": "2020-05-19T05:39:17Z",
      "date_modified": "2020-05-19T05:39:47Z",
      "tags": [
        "NGROK",
        "undocumentation"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/development-of-node-red-nodes-w-docker-has-one-big-issue",
      "url": "https://forwardthinking.pemo.me/posts/development-of-node-red-nodes-w-docker-has-one-big-issue",
      "title": "Development of node-red nodes w. docker has one big issue",
      "summary": "Its a common known design decision by the Docker team that they don't want to have support for symbolic links in their volumes, which means that using the…",
      "content_html": "<p>Its a common known design decision by the Docker team that they don&#39;t want to have support for symbolic links in their volumes, which means that using the Node-RED docker images while developing Node-RED nodes has a critical flaw since it means that the approach recommended by the Node-RED team which involves creating symbolic links to the source directory from the root of the Node-RED runtime.</p>\n<p>Gulp to the rescue... Just setup a pre-launch Gulp script to copy the contents into the root of the Node-RED instance.<br><code>   import {Gulp} from &quot;gulp&quot;;</code></p>\n<p>let gulp:Gulp = require(&#39;gulp&#39;);</p>\n<p>gulp.task(&#39;default&#39;, function () {<br>return gulp<br>.src([&#39;../../your_project/**/*&#39;])<br>.pipe(gulp<br>.dest(&#39;./node_modules/your_project&#39;));<br>});</p>\n",
      "date_published": "2020-05-19T05:30:31Z",
      "date_modified": "2020-05-19T05:40:26Z",
      "tags": [
        "Docker",
        "Gulp",
        "Node-RED",
        "undocumentation"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/node-red-email-validator",
      "url": "https://forwardthinking.pemo.me/posts/node-red-email-validator",
      "title": "Node-RED Email Validator",
      "summary": "As an experiment to get re familiarized with Node RED as part of research for a new type of software, I implemented a small utility node for simple Email…",
      "content_html": "<p>As an experiment to get re-familiarized with Node-RED as part of research for a new type of software, I implemented a small utility node for simple Email Validation.</p>\n<ul>\n<li>GitLab: <a href=\"https://gitlab.com/node-red-contrib/node-red-contrib-email-validator\" target=\"_blank\" rel=\"noopener noreferrer\">https://gitlab.com/node-red-contrib/node-red-contrib-email-validator</a></li>\n<li>NPM: <a href=\"https://www.npmjs.com/package/node-red-contrib-email-validator\" target=\"_blank\" rel=\"noopener noreferrer\">https://www.npmjs.com/package/node-red-contrib-email-validator</a></li>\n<li>Node-RED Library: <a href=\"https://flows.nodered.org/node/node-red-contrib-email-validator\" target=\"_blank\" rel=\"noopener noreferrer\">https://flows.nodered.org/node/node-red-contrib-email-validator</a></li>\n</ul>\n",
      "date_published": "2020-05-12T07:10:54Z",
      "date_modified": "2020-05-19T05:14:07Z",
      "tags": [
        "Node-RED",
        "Uncategorized"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/angular-material-still-has-flex-layout",
      "url": "https://forwardthinking.pemo.me/posts/angular-material-still-has-flex-layout",
      "title": "Angular-Material still has Flex-Layout",
      "summary": "After having nearly panicked when coming to the realization that there wouldn't be support for the usual Layout mechanisms from previous versions, fortunately…",
      "content_html": "<p>After having nearly panicked when coming to the realization that there wouldn&#39;t be support for the usual Layout mechanisms from previous versions, fortunately I came across the following library: <a href=\"https://github.com/angular/flex-layout\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/angular/flex-layout</a></p>\n<p>So now we have all the lovely layout mechanisms we have come to like so much from previous Angular versions still available in the latest version.</p>\n",
      "date_published": "2019-11-15T14:16:56Z",
      "date_modified": "2019-11-15T14:16:58Z",
      "tags": [
        "Technology",
        "Angular",
        "Angular-Material",
        "Material-Design"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/multiple-environment-with-loopback-4",
      "url": "https://forwardthinking.pemo.me/posts/multiple-environment-with-loopback-4",
      "title": "Multiple Environments with Loopback 4",
      "summary": "When configuring multiple environments for a Loopback 4 Application, it can appear less straight forward than with Loopback 3, so here is a quick fix for how…",
      "content_html": "<p>When configuring multiple environments for a Loopback 4 Application, it can appear less straight forward than with Loopback 3, so here is a quick fix for how to get over this obstacle as elegantly as possible in 5 minutes.</p>\n<ol>\n<li>Import dotenv and create a .env file in the root of the app.</li>\n<li>Put your database configuration in this file.</li>\n<li>Empty the existing datasource file so it contains an empty JSON (file is required by compiler and the bootstrapping).</li>\n<li>Add the code below to the application.ts file in the src directory.</li>\n<li>Don&#39;t forget to require the dotenv from the run command.</li>\n</ol>\n<blockquote>\n<p>this.bind(&#39;datasources.default&#39;).to(new DefaultDataSource());\nthis.dataSource(new DefaultDataSource());\nthis.bind(&#39;datasources.config.default&#39;).to({\n  name: &#39;default&#39;,\n  connector: &#39;mongodb&#39;,\n  hostname: process.env.DB_DEFAULT_HOSTNAME,\n  port: process.env.DB_DEFAULT_PORT,\n  user: process.env.DB_DEFAULT_USER,\n  password: process.env.DB_DEFAULT_PASSWORD,\n  database: process.env.DB_DEFAULT_DATABASE,\n  useNewUrlParser: process.env.DB_DEFAULT_USENEWURLPARSER,\n  authSource: process.env.DB_DEFAULT_AUTHSOURCE\n});\nthis.bind(&#39;datasources.default&#39;).toClass(DefaultDataSource);</p>\n</blockquote>\n<p>This is a quick fix intended to help move on if in a pickle, I will refine this further so the application will check the process.env.NODE_ENV variable instead and load the corresponding file. For the original inspiration to this post, head over here: <a href=\"https://medium.com/p/8f085399268/responses/show\" target=\"_blank\" rel=\"noopener noreferrer\">https://medium.com/p/8f085399268/responses/show</a></p>\n",
      "date_published": "2019-09-17T07:01:29Z",
      "date_modified": "2019-09-17T07:06:12Z",
      "tags": [
        "Documentation",
        "Uncategorized",
        "Loopback"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/quickfix-how-to-deploy-a-loopback-4-application-to-heroku",
      "url": "https://forwardthinking.pemo.me/posts/quickfix-how-to-deploy-a-loopback-4-application-to-heroku",
      "title": "QuickFix how to deploy a Loopback 4 Application to Heroku",
      "summary": "When you are prototyping, sometimes you just need something to work, this was my case with a new experiment I'm working using Loopback 4 which I wanted to…",
      "content_html": "<p>When you are prototyping, sometimes you just need something to work, this was my case with a new experiment I&#39;m working using Loopback 4 which I wanted to deploy for to Heroku for some rapid testing. Generally CLI generated App&#39;s doesn&#39;t like environments like Heroku too much and since I later will deploy to DigitalOcean through some Docker containers, I just needed a QuickFix. Anyways, let&#39;s get to the point... this is a very opiniated post which takes for granted you are using the exact same development workflow that I have, if not, post a comment and I will do my best to help you out.</p>\n<ol>\n<li>Remove the /dist entry from .gitignore so it will be committed to Git, and subsequently caught by the CD routine running on Heroku through the GitHub Webhook.</li>\n<li>Remove the prestart script entry from package.json.</li>\n<li>Remove the &quot;-r source-map-support/register&quot; from the start script entry in package.json.</li>\n</ol>\n<p>Now you are good to deploy it to Heroku via GitHub, however don&#39;t forget to build before you commit.</p>\n",
      "date_published": "2019-09-15T16:21:34Z",
      "date_modified": "2019-09-15T16:21:34Z",
      "tags": [
        "Documentation",
        "Heroku",
        "Loopback"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/angular-8-and-ngx-store-configuration",
      "url": "https://forwardthinking.pemo.me/posts/angular-8-and-ngx-store-configuration",
      "title": "Angular 8 and ngx-store configuration",
      "summary": "The very convenient ngx store library is easily integrated with Angular 8, even this is not documented. Simply add the configuration script to the \"scripts\"…",
      "content_html": "<p>The very convenient <a href=\"https://github.com/zoomsphere/ngx-store\" target=\"_blank\" rel=\"noopener noreferrer\">ngx-store</a> library is easily integrated with Angular 8, even this is not documented. Simply add the configuration script to the &quot;scripts&quot; of the angular.json configuration for the build task.  </p>\n<p><img src=\"/media/wp/2019/08/2019-08-15_0204.png\" alt=\"2019-08-15\\_0204\" loading=\"lazy\" decoding=\"async\"></p>\n<p><img src=\"/media/wp/2019/08/2019-08-15_0205.png\" alt=\"2019-08-15\\_0205\" loading=\"lazy\" decoding=\"async\"></p>\n",
      "date_published": "2019-08-15T00:06:51Z",
      "date_modified": "2019-09-22T14:44:39Z",
      "tags": [
        "Documentation",
        "Uncategorized",
        "Angular"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/cors-with-loopback-angular-apps",
      "url": "https://forwardthinking.pemo.me/posts/cors-with-loopback-angular-apps",
      "title": "CORS with Loopback & Angular Apps",
      "summary": "To get the two running nicely together in respect to CORS, don't forget to disable the origin only default policy of Loopback by setting the origin in the…",
      "content_html": "<p>To get the two running nicely together in respect to CORS, don&#39;t forget to disable the origin only default policy of Loopback by setting the origin in the CORS configuration to &quot;*&quot; in the middleware.json file.</p>\n<p>{\n  ...\n  &quot;initial&quot;: {\n    &quot;compression&quot;: {},\n    &quot;cors&quot;: {\n      &quot;params&quot;: {\n        &quot;origin&quot;: &quot;*&quot;,\n        &quot;credentials&quot;: true,\n        &quot;maxAge&quot;: 86400\n      }\n    }\n    ...\n  }\n}</p>\n",
      "date_published": "2019-08-05T17:47:00Z",
      "date_modified": "2019-08-05T17:48:26Z",
      "tags": [
        "Documentation",
        "AngularJS",
        "Loopback"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/enable-uuid-on-postgresql",
      "url": "https://forwardthinking.pemo.me/posts/enable-uuid-on-postgresql",
      "title": "Enable UUID on PostgreSQL",
      "summary": "Sometimes we want to have native support for UUID's in Postgres, fortunately there is already a ready made extension that makes it easy. Enter the \"uuid ossp\"…",
      "content_html": "<p>Sometimes we want to have native support for UUID&#39;s in Postgres, fortunately there is already a ready-made extension that makes it easy. Enter the &quot;uuid-ossp&quot; extension... fortunately furthermore, its very easy to use...</p>\n<ol>\n<li><p>Enable the extension:</p>\n<blockquote>\n<p>CREATE EXTENSION IF NOT EXISTS &quot;uuid-ossp&quot;</p>\n</blockquote>\n</li>\n<li><p>Set default value on the column to &quot;expression&quot; and use the following default value:</p>\n<blockquote>\n<p>uuid_generate_v4()</p>\n</blockquote>\n</li>\n</ol>\n",
      "date_published": "2019-08-01T10:41:01Z",
      "date_modified": "2019-08-01T10:41:01Z",
      "tags": [
        "PostgreSQL"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/keyboard-shortcut-for-inserting-comment-in-word-for-mac",
      "url": "https://forwardthinking.pemo.me/posts/keyboard-shortcut-for-inserting-comment-in-word-for-mac",
      "title": "Keyboard Shortcut for Inserting Comment in Word for Mac",
      "summary": "If you have come to this post, chances are you like me found yourself tired of adding comments by using the mouse and was surprised that the \"Insert Comment\"…",
      "content_html": "<p>If you have come to this post, chances are you like me found yourself tired of adding comments by using the mouse and was surprised that the &quot;Insert Comment&quot; didn&#39;t feature a keyboard shortcut... but dispair not, the solution is here... Very intuitively (not really), the keyboard shortcut to insert comment is</p>\n<blockquote>\n<p><strong>Command + Alt + A</strong></p>\n</blockquote>\n<p>If you want to see for yourself or set it to something else, you can find the setting here:</p>\n<blockquote>\n<p><strong>Tools &gt; Customize Keyboard &gt; Insert &gt; InsertAnnotation</strong></p>\n</blockquote>\n<p>Now, you can enjoy the thrill of being able to review documents galore without having to let your fingers leave your keyboard... what a production boost, eh !?</p>\n",
      "date_published": "2015-10-29T04:21:19Z",
      "date_modified": "2015-10-29T04:25:28Z",
      "tags": [
        "Uncategorized",
        "Undocumentation"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/early-fuse-experiment-porting-the-angular-resource-module-to-fuse",
      "url": "https://forwardthinking.pemo.me/posts/early-fuse-experiment-porting-the-angular-resource-module-to-fuse",
      "title": "Early Fuse Experiment... porting the Angular-Resource Module to Fuse",
      "summary": "Fuse is a cool new front end technology, probably the coolest alternative right now creating cross platform mobile applications with Native Performance... I…",
      "content_html": "<p>Fuse is a cool new front-end technology, probably the coolest alternative right now creating cross platform mobile applications with Native Performance...</p>\n<p>I do a lot of CRUD applications, so as part of the learning process, I decided to experiment with how it would be to port the omni-present Angular-Resource (<a href=\"https://docs.angularjs.org/api/ngResource/service/$resource\" target=\"_blank\" rel=\"noopener noreferrer\">https://docs.angularjs.org/api/ngResource/service/$resource</a>) module to be used in Fuse.</p>\n<p>This is still very very early stuff, I just wanted to share it quickly to inspire other people just starting out with Fuse to tinker themselves and share their own cool stuff...</p>\n<p>Anyways, enough talking, let&#39;s get to it...</p>\n<p>My first task was to use the fetch operation which is the recommended way to make network requests via HTTP, it&#39;s a first-class citizen in Fuse which resembles the same status it will take the browser in the future...<br>You can read more about the proposed standard for the Fetch API here:<br><a href=\"https://developer.mozilla.org/en/docs/Web/API/Fetch_API\" target=\"_blank\" rel=\"noopener noreferrer\">https://developer.mozilla.org/en/docs/Web/API/Fetch_API</a></p>\n<p>My experiment is based on the lab recently published by <a href=\"https://twitter.com/ferristweetsnow\" target=\"_blank\" rel=\"noopener noreferrer\">Jake</a> from <a href=\"https://www.fusetools.com/\" target=\"_blank\" rel=\"noopener noreferrer\">FuseTools</a>... basically just replacing his call to fetch with a call to the Get operation on my resource implementation, which eventually wraps and uses fetch...<br><a href=\"https://github.com/yupferris/fuse-example-fetching-and-displaying-data\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/yupferris/fuse-example-fetching-and-displaying-data</a></p>\n<p>It illustrates how it&#39;s relatively easy to implement a 3rd party reusable library and how it can be imported into your Fuse project.</p>\n<p>The standard used is CommonJS, and contrary to what FuseTools document themselves, I found during my experiment that its possible to both use the advised syntax of module.exports, but also the less convoluted syntax of exports.[memberName], which is the default for e.g. the TypeScript compiler.</p>\n<p>I have included a link to an archive at the end of the post which contains all the files required for the experiment, please feel free to play around with it.</p>\n<p>If you are interested in contributing to the further development of the fuse-resource module, please take a look <a href=\"https://github.com/pmoelgaard/fuse-resource\" target=\"_blank\" rel=\"noopener noreferrer\">here (https://github.com/pmoelgaard/fuse-resource)</a>.</p>\n<p>Until an official TypeScript definition is released for Fuse, I&#39;m maintaining my own definition which allows me to compile against the global members of Fuse...<br><a href=\"https://github.com/pmoelgaard/fuse\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/pmoelgaard/fuse</a></p>\n<p>Now, this is very early stuff, so please understand that it&#39;s very rough around the edges and covered in wet paint, and that I&#39;m only sharing it because I&#39;m very excited of where Fuse is taking the next generation of cross-platform development for both mobile, but also desktop, which is one of the really cool features of Fuse...</p>\n<p><strong>Example usage</strong></p>\n<p><a href=\"https://gist.github.com/pmoelgaard/ea0cdee77fdfce16438e\" target=\"_blank\" rel=\"noopener noreferrer\">https://gist.github.com/pmoelgaard/ea0cdee77fdfce16438e</a></p>\n<p>Download the project files from here: <a href=\"http://cl.ly/16280D0n1L0I\" target=\"_blank\" rel=\"noopener noreferrer\">http://cl.ly/16280D0n1L0I</a></p>\n",
      "date_published": "2015-10-18T03:41:12Z",
      "date_modified": "2015-10-18T04:02:56Z",
      "tags": [
        "Labs",
        "fusetools"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/fuse-singapore-user-group",
      "url": "https://forwardthinking.pemo.me/posts/fuse-singapore-user-group",
      "title": "Fuse Singapore User Group",
      "summary": "We're rolling... if you are interested in cross platform development platforms, take a look at FuseTools. Come and Slack around with Fusers from all over the…",
      "content_html": "<p><a href=\"https://www.fusetools.com/\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2015/10/12108964_10204542482514304_6104581158965946665_n.jpg\" alt=\"12108964\\_10204542482514304\\_6104581158965946665\\_n\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>We&#39;re rolling... if you are interested in cross-platform development platforms, take a look at FuseTools.</p>\n<p>Come and Slack around with Fusers from all over the world...<br><a href=\"http://slackcommunity.fusetools.com\" target=\"_blank\" rel=\"noopener noreferrer\">slackcommunity.fusetools.com</a></p>\n<p>If you happen to be in Singapore and are on Facebook, come join our newly started group !<br><a href=\"https://www.facebook.com/groups/fuse.singapore/\" target=\"_blank\" rel=\"noopener noreferrer\">https://www.facebook.com/groups/fuse.singapore/</a></p>\n",
      "date_published": "2015-10-16T06:08:16Z",
      "date_modified": "2015-10-16T06:16:13Z",
      "tags": [
        "Community",
        "fusetools"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/recommended-contents-of-gitignore-for-fuse-projects",
      "url": "https://forwardthinking.pemo.me/posts/recommended-contents-of-gitignore-for-fuse-projects",
      "title": "Recommended contents of .gitignore for Fuse Projects",
      "summary": "It's always a good discussion what to include in a Git repository and hence what to include in a projects .gitignore file... Here is what we are using at the…",
      "content_html": "<p>It&#39;s always a good discussion what to include in a Git repository and hence what to include in a projects .gitignore file...</p>\n<p>Here is what we are using at the time of writing...</p>\n<p><code>.build/* .cache/*</code></p>\n",
      "date_published": "2015-10-12T10:36:17Z",
      "date_modified": "2015-10-12T10:38:15Z",
      "tags": [
        "undocumentation",
        "fusetools",
        "git"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/hacks-to-get-loopback-apps-running-on-heroku",
      "url": "https://forwardthinking.pemo.me/posts/hacks-to-get-loopback-apps-running-on-heroku",
      "title": "Hacks to get Loopback App's running on Heroku",
      "summary": "To get Loopback App's running on Heroku, a couple of hacks are required due to the way Loopback manages it's configurations. The first issue to solve is to…",
      "content_html": "<p>To get Loopback App&#39;s running on Heroku, a couple of hacks are required due to the way Loopback manages it&#39;s configurations. The first issue to solve is to get Loopback to take the port number from the environment since Heroku uses arbitrary port numbers to target different applications. There is probably a more elegant way, however I first wanted to stay out of node_modules files, so I opted to just focus on modifying server.js. It&#39;s actually very easy, since loopback internally supports passing arguments to the listen function all the way out from the server.js file. It does this by switching between automatic configuration and explicit configuration from the arguments passed to the listen function. So, basically it&#39;s just amending the &quot;start&quot; function to fetch the port number from the environment and pass it as argument to the listen function. I have done it this way...</p>\n<p>app.start = function () {\n   // start the web server\n   var port = process.env.PORT || 8000;\n   return app.listen(port, function () {\n      app.emit(&#39;started&#39;);\n      console.log(&#39;Web server listening at: %s&#39;, app.get(&#39;url&#39;));\n  });\n};</p>\n",
      "date_published": "2015-03-27T10:52:28Z",
      "date_modified": "2015-03-28T03:59:43Z",
      "tags": [
        "undocumentation",
        "Heroku",
        "Loopback",
        "NodeJS"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/using-node-sass-with-latest-version-of-io-js",
      "url": "https://forwardthinking.pemo.me/posts/using-node-sass-with-latest-version-of-io-js",
      "title": "Using node-sass with latest version of io.js",
      "summary": "When using node sass together with io.js, one of the problems is that it's not updated to work with the latest version of io.js (at the time of writing,…",
      "content_html": "<p>When using node-sass together with io.js, one of the problems is that it&#39;s not updated to work with the latest version of io.js (at the time of writing, v.1.6.2). Currently node-sass only supports io.js until v.1.2. This causes the installation of node-sass and any libraries that depends on node-sass to fail to fetch all resources during installation, which eventually causes processes that tries to use the node-sass library to fail. The error message during installation is (in my case, using io.js 1.6 on a MBP) the following:</p>\n<blockquote>\n<p>Can not download file from <a href=\"https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.1/darwin-x64-iojs-1.6/binding.node\" target=\"_blank\" rel=\"noopener noreferrer\">https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.1/darwin-x64-iojs-1.6/binding.node</a></p>\n</blockquote>\n<p>The error message in the process trying to use node-sass:</p>\n<blockquote>\n<p>Error: `libsass` bindings not found. Try reinstalling `node-sass`?</p>\n</blockquote>\n<p>The failing part is when the node-sass library tries to fetch binding files which are necessary to connect to some of it&#39;s libraries, the solution is therefore to either change the code where it fails (easy, but messy, not my recommendation) or simply download the binding files and manually add it to node-sass (easy, and also a bit messy, but at least we don&#39;t change the code, so a bit easier to manage). So, what I did, downloaded the file from here: <a href=\"https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.1/darwin-x64-iojs-1.2/binding.node\" target=\"_blank\" rel=\"noopener noreferrer\">https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.1/darwin-x64-iojs-1.2/binding.node</a> and save it to the following location: node-sass/vendor/darwin-x64-iojs-1.6/binding.node Now, when you execute a process that uses node-sass, it will find the file, and even you are not running io.js 1.2, the binding still works (only tried with io.js 1.6). It&#39;s by no means a perfect solution, but it solves the problem immediately and it&#39;s something easily automated since it only involves downloading and copying some files, not changing some code...</p>\n",
      "date_published": "2015-03-27T04:38:50Z",
      "date_modified": "2015-03-27T06:38:30Z",
      "tags": [
        "undocumentation",
        "io.js",
        "node-sass",
        "NodeJS",
        "sass"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/simple-whoami-for-loopback",
      "url": "https://forwardthinking.pemo.me/posts/simple-whoami-for-loopback",
      "title": "Simple WhoAmI for Loopback",
      "summary": "Retrieving the currently authenticated user in a Loopback Application can be done in many ways, and one of them is the one I want to share in this post. I…",
      "content_html": "<p>Retrieving the currently authenticated user in a Loopback Application can be done in many ways, and one of them is the one I want to share in this post. I wanted to be able to utilise the Angular SDK as well as the Explorer, so adding a routing manually in a boot script was not really an option, however simple that might be, so I decided to opt for implementing it as a custom Model. The first thing to do is to create a whoami.json and whoami.js file in the commons directory. <em>whoami.json</em></p>\n<p>{\n  &quot;name&quot;: &quot;WhoAmI&quot;,\n  &quot;base&quot;: &quot;Model&quot;,\n  &quot;plural&quot;: &quot;whoami&quot;,\n  &quot;acls&quot;: [\n    {\n      &quot;accessType&quot;: &quot;*&quot;,\n      &quot;principalType&quot;: &quot;ROLE&quot;,\n      &quot;principalId&quot;: &quot;$everyone&quot;,\n      &quot;permission&quot;: &quot;DENY&quot;\n    },\n    {\n      &quot;accessType&quot;: &quot;*&quot;,\n      &quot;principalType&quot;: &quot;ROLE&quot;,\n      &quot;principalId&quot;: &quot;$authenticated&quot;,\n      &quot;permission&quot;: &quot;ALLOW&quot;\n    }\n  ]\n}</p>\n<p><em>whoami.js</em></p>\n<p>module.exports = function (WhoAmI) {</p>\n<div class=\"code-block\" data-lang=\"text\"><div class=\"code-header\"><span class=\"code-lang\">text</span><button type=\"button\" class=\"code-copy-btn\" data-copy-code>Copy</button></div><pre><code class=\"hljs language-text\"><span class=\"hljs-title class_\">WhoAmI</span>.whoAmI = function (req, next) {\n    <span class=\"hljs-keyword\">var</span> <span class=\"hljs-title class_\">AccessToken</span> = <span class=\"hljs-title class_\">WhoAmI</span>.app.models.<span class=\"hljs-title class_\">AccessToken</span>;\n    <span class=\"hljs-title class_\">AccessToken</span>.<span class=\"hljs-title function_\">findForRequest</span>(req, {}, function (aux, accesstoken) {\n        <span class=\"hljs-keyword\">var</span> <span class=\"hljs-title class_\">UserModel</span> = <span class=\"hljs-title class_\">WhoAmI</span>.app.models.<span class=\"hljs-title class_\">User</span>;\n        <span class=\"hljs-title class_\">UserModel</span>.<span class=\"hljs-title function_\">findById</span>(accesstoken.userId, function (error, user) {\n            <span class=\"hljs-title function_\">next</span>(error, user);\n        });\n    });\n}\n\n<span class=\"hljs-title class_\">WhoAmI</span>.<span class=\"hljs-title function_\">remoteMethod</span>(\n    <span class=\"hljs-string\">&#x27;whoAmI&#x27;</span>,\n    {\n        accepts: {arg: <span class=\"hljs-string\">&#x27;req&#x27;</span>, type: <span class=\"hljs-string\">&#x27;object&#x27;</span>, http: {source: <span class=\"hljs-string\">&#x27;req&#x27;</span>}},\n        returns: {arg: <span class=\"hljs-string\">&#x27;user&#x27;</span>, type: <span class=\"hljs-string\">&#x27;object&#x27;</span>},\n        http: {path: <span class=\"hljs-string\">&#x27;/&#x27;</span>, verb: <span class=\"hljs-string\">&#x27;get&#x27;</span>}\n    }\n);</code></pre></div>\n<p>};</p>\n<p>Secondly, I make sure to add the model to the model-config.json</p>\n<p>...\n&quot;WhoAmI&quot;: {\n  &quot;dataSource&quot;: null,\n  &quot;public&quot;: true\n}\n...</p>\n<p>Now, when you restart the server, you will see the following endpoint having been added to your API <a href=\"/media/wp/2015/03/2015-03-01_23-05-18.png\"><img src=\"/media/wp/2015/03/2015-03-01_23-05-18.png\" alt=\"2015-03-01\\_23-05-18\" loading=\"lazy\" decoding=\"async\"></a> And because of the ACL&#39;s we set in the model, all requests without an access-token are handled by the security of Loopback... so there you go, a nice and easy WhoAmI ! <strong>Alternatively... a bootscript</strong> If you for some reason should be inclined to prefer putting it in a boot script, all you have to do is to create a file in the boot directory of the server with the following content</p>\n<p>module.exports = function (server) {</p>\n<div class=\"code-block\" data-lang=\"text\"><div class=\"code-header\"><span class=\"code-lang\">text</span><button type=\"button\" class=\"code-copy-btn\" data-copy-code>Copy</button></div><pre><code class=\"hljs language-text\">var router = server.loopback.Router<span class=\"hljs-punctuation\">(</span><span class=\"hljs-punctuation\">)</span><span class=\"hljs-comment\">;</span>\n\nrouter.get<span class=\"hljs-punctuation\">(</span>&#x27;/whoami&#x27;, function <span class=\"hljs-punctuation\">(</span>req, res<span class=\"hljs-punctuation\">)</span> {\n\n    var AccessToken = server.models.AccessToken<span class=\"hljs-comment\">;</span>\n    AccessToken.findForRequest<span class=\"hljs-punctuation\">(</span>req, {}, function <span class=\"hljs-punctuation\">(</span>aux, accesstoken<span class=\"hljs-punctuation\">)</span> {\n        if <span class=\"hljs-punctuation\">(</span>accesstoken == undefined<span class=\"hljs-punctuation\">)</span> {\n            res.status<span class=\"hljs-punctuation\">(</span><span class=\"hljs-number\">401</span><span class=\"hljs-punctuation\">)</span><span class=\"hljs-comment\">;</span>\n            res.send<span class=\"hljs-punctuation\">(</span>{\n                &#x27;Error&#x27;: &#x27;Unauthorized&#x27;,\n                &#x27;Message&#x27;: &#x27;You need to be authenticated to access this endpoint&#x27;\n            }<span class=\"hljs-punctuation\">)</span><span class=\"hljs-comment\">;</span>\n        }\n        else {\n            var UserModel = server.models.User<span class=\"hljs-comment\">;</span>\n            UserModel.findById<span class=\"hljs-punctuation\">(</span>accesstoken.userId, function <span class=\"hljs-punctuation\">(</span>err, user<span class=\"hljs-punctuation\">)</span> {\n                res.status<span class=\"hljs-punctuation\">(</span><span class=\"hljs-number\">200</span><span class=\"hljs-punctuation\">)</span><span class=\"hljs-comment\">;</span>\n                res.send<span class=\"hljs-punctuation\">(</span>user<span class=\"hljs-punctuation\">)</span><span class=\"hljs-comment\">;</span>\n            }<span class=\"hljs-punctuation\">)</span><span class=\"hljs-comment\">;</span>\n        }\n    }<span class=\"hljs-punctuation\">)</span><span class=\"hljs-comment\">;</span>\n}<span class=\"hljs-punctuation\">)</span><span class=\"hljs-comment\">;</span>\n\nserver.use<span class=\"hljs-punctuation\">(</span>router<span class=\"hljs-punctuation\">)</span><span class=\"hljs-comment\">;</span></code></pre></div>\n<p>}</p>\n<p>Gist: <a href=\"https://gist.github.com/pmoelgaard/af6aa61146766f0e8551\" target=\"_blank\" rel=\"noopener noreferrer\">https://gist.github.com/pmoelgaard/af6aa61146766f0e8551</a></p>\n",
      "date_published": "2015-03-01T16:09:07Z",
      "date_modified": "2015-03-01T16:32:44Z",
      "tags": [
        "Uncategorized",
        "AngularJS",
        "Loopback",
        "NodeJS"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/sequelize-for-dash",
      "url": "https://forwardthinking.pemo.me/posts/sequelize-for-dash",
      "title": "Sequelize for Dash",
      "summary": "While getting one's hands dirty with Sequelize, it can be useful to have access to the documentation, so even it's relatively simple I decided to wrap the…",
      "content_html": "<p>While getting one&#39;s hands dirty with Sequelize, it can be useful to have access to the documentation, so even it&#39;s relatively simple I decided to wrap the documentation for Sequelize in a docSet for Dash...</p>\n<p><a href=\"//http%3A%2F%2Fcdn-nexoes.herokuapp.com%2Fsequelize%2Fdocs%2Fdash%2Fsequelize.xml\"><img src=\"/media/wp/2014/04/sequelize.png\" alt=\"sequelize\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>Here is the link for the feed file...<br><a href=\"http://cdn-nexoes.herokuapp.com/sequelize/docs/dash/sequelize.xml\" target=\"_blank\" rel=\"noopener noreferrer\">Direct Link</a></p>\n<p>...and here is the link for the custom URL for adding the feed to your Dash...<br><a href=\"//http%3A%2F%2Fcdn-nexoes.herokuapp.com%2Fsequelize%2Fdocs%2Fdash%2Fsequelize.xml\">Add Feed Automatically</a></p>\n<p>*** UPDATE ***<br>This is a 2.5 year old post, the links above are broken and not likely to come back online. Apologies for the inconvenience.</p>\n<p>I recommend looking here for a working equivalent which is already registered as a curated member of the Dash user contribution sets:</p>\n<p><a href=\"https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets/Sequelize#readme\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets/Sequelize#readme</a></p>\n",
      "date_published": "2014-04-07T16:52:57Z",
      "date_modified": "2016-08-03T08:00:34Z",
      "tags": [
        "Dash",
        "Documentation",
        "Sequelize",
        "Undocumentation"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/angularjs-nvd3-directives-for-dash",
      "url": "https://forwardthinking.pemo.me/posts/angularjs-nvd3-directives-for-dash",
      "title": "AngularJS NVD3 Directives for Dash",
      "summary": "Most recent addition for Dash is the documentation for the AngularJS NVD3 Directives by Christian Maurer... Add the documentation from here... Direct Link",
      "content_html": "<p>Most recent addition for Dash is the documentation for the AngularJS NVD3 Directives by <a href=\"https://github.com/cmaurer\" target=\"_blank\" rel=\"noopener noreferrer\">Christian Maurer</a>...</p>\n<p><a href=\"https://github.com/cmaurer/angularjs-nvd3-directives\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2014/04/angularjs-nvd3-directives.png\" alt=\"angularjs-nvd3-directives\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>Add the documentation from here... <a href=\"http://cdn-nexoes.herokuapp.com/angularjs-nvd3-directives/docs/dash/angularjs-nvd3-directives.xml\" target=\"_blank\" rel=\"noopener noreferrer\">Direct Link</a></p>\n",
      "date_published": "2014-04-07T15:59:49Z",
      "date_modified": "2014-04-07T15:59:49Z",
      "tags": [
        "AngularJS",
        "D3",
        "Dash",
        "Documentation",
        "NVD3",
        "Undocumentation"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/bookshelf-for-dash",
      "url": "https://forwardthinking.pemo.me/posts/bookshelf-for-dash",
      "title": "Bookshelf for Dash",
      "summary": "In addition to the recent Moment and Async docSet for Dash, I have created a third docSet distribution, this time for the cool library Bookshelf which is…",
      "content_html": "<p>In addition to the recent Moment and Async docSet for Dash, I have created a third docSet distribution, this time for the cool library Bookshelf which is pretty cool Node.js ORM for PostgreSQL, MySQL and SQLite3 in the style of Backbone.js.</p>\n<p><a href=\"https://github.com/tgriesser/bookshelf\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2014/04/bookshelf.png\" alt=\"bookshelf\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>Created by <a href=\"https://github.com/tgriesser\" target=\"_blank\" rel=\"noopener noreferrer\">Tim Griesser</a>, its just one project in the line of many which is solving every day issues with elegance and efficiency... Currently its the same approach as with Moment and Async, where its merely an embedded version of the online documentation...</p>\n<p><a href=\"http://cdn-nexoes.herokuapp.com/bookshelf/docs/dash/bookshelf.xml\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2014/04/bookshelf-dash.png\" alt=\"bookshelf-dash\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>Add the documentation from here... <a href=\"http://cdn-nexoes.herokuapp.com/bookshelf/docs/dash/bookshelf.xml\" target=\"_blank\" rel=\"noopener noreferrer\">Direct Link</a></p>\n",
      "date_published": "2014-04-07T14:12:13Z",
      "date_modified": "2014-04-07T14:36:47Z",
      "tags": [
        "Bookshelf.js",
        "Dash",
        "Documentation",
        "Undocumentation"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/async-for-dash",
      "url": "https://forwardthinking.pemo.me/posts/async-for-dash",
      "title": "Async for Dash",
      "summary": "In addition to the recent Dash docSet for Moment.js, I have created a second docSet distribution, this time for the popular JavaScript library Async by Caolan…",
      "content_html": "<p>In addition to the recent Dash docSet for Moment.js, I have created a second docSet distribution, this time for the popular JavaScript library Async by <a href=\"https://github.com/caolan/\" target=\"_blank\" rel=\"noopener noreferrer\">Caolan McMahon</a>.</p>\n<p><a href=\"/media/wp/2014/04/async.png\"><img src=\"/media/wp/2014/04/async.png\" alt=\"async\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>It can be installed from here: <a href=\"http://cdn-nexoes.herokuapp.com/async/docs/dash/async.xml\" target=\"_blank\" rel=\"noopener noreferrer\">Direct URL</a> ...<br>or via a custom URL for DashFeed&#39;s here: <a href=\"%2F%2Fcdn.nexoes.com%2Fasync%2Fdocs%2Fdash%2Fasync.xml/\">Custom DashFeed URL</a></p>\n",
      "date_published": "2014-04-07T13:23:28Z",
      "date_modified": "2014-04-07T14:35:23Z",
      "tags": [
        "Async",
        "Dash",
        "Documentation",
        "Undocumentation"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/moment-js-for-dash",
      "url": "https://forwardthinking.pemo.me/posts/moment-js-for-dash",
      "title": "Moment.js for Dash",
      "summary": "I have decided to add all the documentation I'm using to my setup for offline access, for this I'm using Dash (Dash is an API Documentation Browser and Code…",
      "content_html": "<p>I have decided to add all the documentation I&#39;m using to my setup for offline access, for this I&#39;m using Dash (Dash is an API Documentation Browser and Code Snippet Manager).</p>\n<p><img src=\"/media/wp/2014/04/dash.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></p>\n<p>Dash is the same docSet standard used by Zeal (&quot;...a simple offline API documentation browser inspired by <a href=\"http://kapeli.com/dash/\" target=\"_blank\" rel=\"noopener noreferrer\">Dash</a> (OS X app), available for Linux and Windows&quot;, <a href=\"http://zealdocs.org/\" target=\"_blank\" rel=\"noopener noreferrer\">http://zealdocs.org/</a>).</p>\n<p><img src=\"/media/wp/2014/04/zealdocs-org.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></p>\n<p>For my first docSet I chose to make the documentation for <a href=\"http://momentjs.com/\" target=\"_blank\" rel=\"noopener noreferrer\">Moment.js</a> available (a javascript date library for parsing, validating, manipulating, and formatting dates).</p>\n<p><img src=\"/media/wp/2014/04/moment-js.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></p>\n<p>Since the most laborious part of generating a docSet is adding all entries to the searchIndex database (an embedded SQLLite database), I opted for simply embedding the online documentation in an archive and expose it as the docSet in a single resource.</p>\n<p>To install the docSet, simply client the link below and it will automatically add the reference to Dash (or Zeal):<br><a href=\"//http%3A%2F%2Fcdn.nexoes.com%2Fmoment%2Fdocs%2Fdash%2Fmoment.xml\">Custom DashFeed URL for adding the docSet</a></p>\n<p>If you prefer you can also add it manually by adding the following link to the list of docSets:<br><a href=\"http://cdn.nexoes.com/moment/docs/dash/moment.xml\" target=\"_blank\" rel=\"noopener noreferrer\">Direct URL to the docSet definition</a></p>\n<p>Next step would be to create a script that would allow me to extract the different documentation points from the online documentation and add it to the searchIndex, however for now it fullfills my need to have an easy and structured way to access the documentation when offline.</p>\n",
      "date_published": "2014-04-07T12:11:43Z",
      "date_modified": "2014-04-07T14:38:39Z",
      "tags": [
        "Dash",
        "Documentation",
        "Moment.js",
        "Undocumentation"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/startup-advice-motivator-list",
      "url": "https://forwardthinking.pemo.me/posts/startup-advice-motivator-list",
      "title": "Startup Advice... motivator list",
      "summary": "1\\. Make something people want. 2\\. A great team and a great market are both critically important—you have to have both. The debate about which is more…",
      "content_html": "<p>1. Make something people want.<br>2. A great team and a great market are both critically important—you have to have both. The debate about which is more important is silly.<br>3. Write code, talk to users, and build the company (hire the best people you can find, get the culture right, fundraise, close sales, etc.) Most other things that founders do are a waste of time.<br>4. Set a clear, easy-to-understand vision for your company, and make it be a mission people believe in.<br>5. Stay focused and don’t try to do too many things at once. Care about execution quality.<br>6. You have to have an almost crazy level of dedication to your company to succeed.<br>7. In general, don’t start a startup you’re not willing to work on for ten years.<br>8. Be relentlessly resourceful.<br>9. In the current pivot-happy world, good ideas are underweight. It’s worth the time to think through a good one.<br>10. Growth solves (nearly) all problems.<br>11. While growth is critical and you should focus on it, occasionally consider where you’re going—you need both growth and to be growing towards something valuable.<br>12. Obsess about the quality of the product.<br>13. Overcommunicate with your team. For some reason most founders are really bad at this one. Transparency is your friend.<br>14. Move fast. Speed is one of your main advantages over large companies.<br>15. Hire slow; fire fast. Hiring is the most important thing you do; spend at least a third of your time on it.<br>16. Occasionally think about why the 20th person will join your company.<br>17. Hire smart and effective people that are committed to what you’re doing. The last five words there are important.<br>18. Hire friends and friends of friends. Go after these people like crazy to get them to join. Some other candidate sources are ok, but I always got bad results from technical recruiters.<br>19. Generally, value aptitude over experience.<br>20. Hire people that you could describe as animals.<br>21. Eliminate distractions.<br>22. Don’t die.<br>23. Be frugal.<br>24. You’ll often hear conflicting advice about everything but “build a great product”. This means you can go either way on much of the rest of it and it doesn’t really matter. Just make a decision and get back to work. Product/market fit is what matters. You can—and will—make a lot of mistakes.<br>25. You make what you measure.<br>26. Startups are very hard no matter what you do; you may as well go after a big opportunity.<br>27. Momentum is critical. Don’t lose it.<br>28. Keep salaries low and equity high.<br>29. Keep the organization as flat as you can.<br>30. When working on a deal—raising money, trying to get a partnership, etc.—it’s important to create a competitive situation.<br>31. Schleps are good.<br>32. Don’t forget to make money.<br>33. Journalists like hearing directly from founders. If you hire PR people, resist their desire to control all the contact.<br>34. It’s standard for founders to keep board control in the first round.<br>35. Listen to everyone. Then make your own decision.<br>36. Remember that you are more likely to die because you execute badly than get crushed by a competitor.<br>37. Get lucky.<br>38. Have a direct relationship with your customers.<br>39. Be formidable—do not be easy to push around.<br>40. Don’t let your company be run by a sales guy. But do learn how to sell your product.<br>41. Have a culture that rewards output.<br>42. Don’t hire professional managers too early.<br>43. Simple is good. Be suspicious of complexity.<br>44. Get on planes in marginal situations. In-person is still better than tele-anything.<br>45. Most things are not as risky as they seem.<br>46. Be suspect of anyone who says the word process too often.<br>47. Raise a bit more money than you think you need.<br>48. Ignore the fact that “the press loves [you]”.<br>49. Have great customer service.<br>50. You can create value with breakthrough innovation, incremental refinement, or complex coordination. Great companies often do two of these. The very best companies do all three.<br>51. The role of the board is advice and consent. If the CEO does not lay out a clear strategy and tries to get the board to set one, it will usually end in disaster.<br>52. Board observers are usually a headache.<br>53. If you pivot, do it fully and with conviction. The worst thing is to try to do a bit of the old and the new—it’s hard to kill your babies.<br>54. It’s better to make a decision and be wrong than to equivocate.<br>55. Set goals for the company and motivate people to get there.<br>56. Always praise good work.<br>57. Celebrate your wins as a company. Get t-shirts for big milestones.<br>58. Have a good operational cadence where projects are short and you’re releasing something new on a regular basis.<br>59. You can win with the best product, the best price, or the best experience.<br>60. Meetups and conferences are generally a waste of time.<br>61. If the founders of your company seem to care more about being founders than they care about your specific company, go join another company.<br>62. It’s easier to sell painkillers than vitamins.<br>63. Be suspicious of any work that is not building product or getting customers. It’s easy to get sucked into an infrastructure rewrite death spiral.<br>64. It’s better to have a few users love your product than for a lot of users to sort of like it.<br>65. Learn how to stay extermally optimistic when your world is melting down.<br>66. Startups should require as few miracles as possible, but at least one.<br>67. You have to have great execution—far more people have good ideas than are willing to roll up their sleeves and get shit done.<br>68. Don’t have a diverse culture in the early days.<br>69. Keep a to-do list every day. At the top of it, put the one or two big things you want to work on.<br>70. Being the CEO is miserable more often than it’s good. But when it’s good, it’s really good.<br>71. On the really bad days, remember that tomorrow will be better—it’s hard to see it being much worse!<br>72. Sleep and exercise.<br>73. Success in a startup is usually pass/fail. Worry more about making sure you pass than an extra point of dilution.<br>74. Good investors are worth a reasonable premium.<br>75. Give your investors something to do.<br>76. Go for a few highly involved investors over a lot of lightly engaged ones.<br>77. Raise money on promise. Raise money on clean terms.<br>78. Do reference checks on your potential investors. Ask other founders how they are when everything goes wrong.<br>79. Investors love companies other investors love.<br>80. A lot of the best ideas seem silly or bad initially—you want an idea at the intersection of “seems like bad idea” and “is good idea”. (It’s important to note you need to be contrarian and right, not simply contrarian.)<br>81. Surf someone else’s wave.<br>82. Sometimes you can succeed through sheer force of will.<br>83. All startups are fucked in at least one major way. Keep going.<br>84. Keep an eye on cash in the bank and don’t run out of it.<br>85. Pay a lot of attention to the relationship between cofounders, especially if both/all of you want to be CEO.<br>86. Stay small and nimble.<br>87. Have a staff meeting at least once a week.<br>88. Find a mentor that will teach you how to manage.<br>89. Keep burn low until you’re sure everything is working.<br>90. Be suspect about buying users.<br>91. Lead by example.<br>92. Have the right kind of office. The proper office for a very small company is an apartment or house.<br>93. Share results (financial and key metrics) with the company every month.<br>94. Have a table in your offer letters that shows how much the stock you’re granting a new hire could be worth in various scenarios.<br>95. The best startups are defined by exceptions; all of these rules are probably breakable, but probably not all at the same time.</p>\n",
      "date_published": "2013-10-08T06:07:04Z",
      "date_modified": "2013-10-08T06:07:04Z",
      "tags": [
        "Uncategorized",
        "Arbitrary Thoughts",
        "Inspiration",
        "Startup"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/mathjax-beautiful-math-in-all-browsers",
      "url": "https://forwardthinking.pemo.me/posts/mathjax-beautiful-math-in-all-browsers",
      "title": "MathJax - beautiful math in all browsers",
      "summary": "Having come across this and having the regular need to represent complex math in web... I was happy to be introduced to MatchJax.... MathJax is an open source…",
      "content_html": "<p>Having come across this and having the regular need to represent complex math in web... I was happy to be introduced to MatchJax....</p>\n<p>MathJax is an open source JavaScript display engine for mathematics that works in all modern browsers.</p>\n<p>This means no more setup for readers. No more browser plugins. No more font installations… It just plain works.</p>\n<p><a href=\"http://www.mathjax.org/\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/12/mathjax.png\" alt=\"MathJax\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>It&#39;s the most elegant way currently available to include math in your markup... check it out...<br><a href=\"http://www.mathjax.org/\" target=\"_blank\" rel=\"noopener noreferrer\">http://www.mathjax.org/</a></p>\n",
      "date_published": "2012-12-13T03:52:26Z",
      "date_modified": "2012-12-13T03:52:26Z",
      "tags": [
        "JavaScript"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/tineye-multicolor-search-demo",
      "url": "https://forwardthinking.pemo.me/posts/tineye-multicolor-search-demo",
      "title": "TinEye - Multicolor Search Demo",
      "summary": "Multicolor Search allows you to search images by colors, its a demo of TinEye Lab's MultiColorEngine Search functions... Basically you can select up to 5…",
      "content_html": "<p>Multicolor Search allows you to search images by colors, its a demo of TinEye Lab&#39;s MultiColorEngine Search functions...</p>\n<p>Basically you can select up to 5 colors and then search Flickr for images containing those 5 colors... this is how a search looked with 5 different scales of blue... it&#39;s fun to play around with, try it for yourself...</p>\n<p><a href=\"http://labs.tineye.com/multicolr\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/12/tineye.png\" alt=\"TinEye\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>Check it out...<br><a href=\"http://labs.tineye.com/multicolr/\" target=\"_blank\" rel=\"noopener noreferrer\">http://labs.tineye.com/multicolr/</a></p>\n",
      "date_published": "2012-12-11T18:16:26Z",
      "date_modified": "2012-12-11T18:16:26Z",
      "tags": [
        "Tools",
        "ImageSearch",
        "Services"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/jqplot-a-versatile-and-expandable-jquery-plotting-plugin",
      "url": "https://forwardthinking.pemo.me/posts/jqplot-a-versatile-and-expandable-jquery-plotting-plugin",
      "title": "JQPLOT - A Versatile and Expandable jQuery Plotting Plugin",
      "summary": "jqPlot is a plotting and charting plugin for the jQuery Javascript framework. jqPlot produces beautiful line, bar and pie charts with many features: Numerous…",
      "content_html": "<p>jqPlot is a plotting and charting plugin for the jQuery Javascript framework. <a href=\"http://www.jqplot.com/\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/12/2012-12-10_19-59-46.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></a> jqPlot produces beautiful line, bar and pie charts with many features:</p>\n<ul>\n<li>Numerous chart style options.</li>\n<li>Date axes with customizable formatting.</li>\n<li>Up to 9 Y axes.</li>\n<li>Rotated axis text.</li>\n<li>Automatic trend line computation.</li>\n<li>Tooltips and data point highlighting.</li>\n<li>Sensible defaults for ease of use.</li>\n</ul>\n<p>jqPlot is an open source project by Chris Leonello Check it out... <a href=\"http://www.jqplot.com/\" target=\"_blank\" rel=\"noopener noreferrer\">http://www.jqplot.com/</a></p>\n",
      "date_published": "2012-12-10T12:01:20Z",
      "date_modified": "2012-12-10T12:02:41Z",
      "tags": [
        "JavaScript",
        "Uncategorized",
        "Charting",
        "jQuery",
        "Open Source",
        "Reporting",
        "Visualization"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/flot-attractive-javascript-plotting-for-jquery",
      "url": "https://forwardthinking.pemo.me/posts/flot-attractive-javascript-plotting-for-jquery",
      "title": "FLOT - Attractive JavaScript plotting for jQuery",
      "summary": "Flot is a pure JavaScript plotting library for jQuery, with a focus on simple usage, attractive looks and interactive features. Who's behind this? Flot is the…",
      "content_html": "<p>Flot is a pure JavaScript plotting library for jQuery, with a focus on simple usage, attractive looks and interactive features. <a href=\"http://www.flotcharts.org/\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/12/2012-12-10_17-55-44.png\" alt=\"FlotCharts Homepage\" loading=\"lazy\" decoding=\"async\"></a></p>\n<h1 id=\"who-39-s-behind-this\"><a class=\"heading-anchor\" href=\"#who-39-s-behind-this\" aria-hidden=\"true\">#</a>Who&#39;s behind this?</h1>\n<p>Flot is the combined result of countless suggestions, patches and bug reports by the people using Flot. It was started by Ole Laursen, sponsored by IOLA, an agile little Danish web-development house with a keen eye for Python/Django and jQuery. If you need commercial support, you&#39;re welcome to contact us - read more here. It is currently being maintained by David Schnur. Check it out... <a href=\"http://www.flotcharts.org/\" target=\"_blank\" rel=\"noopener noreferrer\">http://www.flotcharts.org/</a></p>\n",
      "date_published": "2012-12-10T09:59:13Z",
      "date_modified": "2012-12-10T09:59:13Z",
      "tags": [
        "JavaScript",
        "Charting",
        "jQuery",
        "Open Source",
        "Reporting",
        "Visualization"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/great-perspective-100-000-stars",
      "url": "https://forwardthinking.pemo.me/posts/great-perspective-100-000-stars",
      "title": "Great Perspective... 100.000 stars",
      "summary": "When you have 5 mins. check out our galaxy...",
      "content_html": "<p>When you have 5 mins. check out our galaxy...</p>\n<p><a href=\"http://workshop.chromeexperiments.com/stars/\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/11/2012-11-15_10-23-021.png\" alt=\"\" title=\"100.000 stars\" loading=\"lazy\" decoding=\"async\"></a></p>\n",
      "date_published": "2012-11-15T02:29:39Z",
      "date_modified": "2012-11-15T02:29:39Z",
      "tags": [
        "Arbitrary Thoughts",
        "Inspiration",
        "UI"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/evernotes-new-home-screen",
      "url": "https://forwardthinking.pemo.me/posts/evernotes-new-home-screen",
      "title": "Evernote's New Home Screen",
      "summary": "Now and then new User Interface patterns emerge... sometimes causing attention and other times just being accepted as natural evolutions of existing…",
      "content_html": "<p>Now and then new User Interface patterns emerge... sometimes causing attention and other times just being accepted as natural evolutions of existing concepts...</p>\n<p>Evernote just announced their new version with a couple of new User Interface patterns weaved in... one of them is the new Home Screen on their mobile applications...</p>\n<p><a href=\"/media/wp/2012/11/2012-11-07_18-33-42.png\"><img src=\"/media/wp/2012/11/2012-11-07_18-33-42.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>This way of combining a set of shortcuts with a hierarchical navigator using 2.5D for imitating perspective will be interesting to try in real life...</p>\n",
      "date_published": "2012-11-07T11:42:09Z",
      "date_modified": "2012-11-07T11:42:09Z",
      "tags": [
        "Uncategorized"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/criticism-constructive-we-love-it",
      "url": "https://forwardthinking.pemo.me/posts/criticism-constructive-we-love-it",
      "title": "Criticism ! Constructive ? We love it !",
      "summary": "The next time you receive constructive criticism from your manager or a peer, use this six step process to handle the encounter with tact and grace. 1. Stop…",
      "content_html": "<p>The next time you receive constructive criticism from your manager or a peer, use this six-step process to handle the encounter with tact and grace.</p>\n<ol>\n<li>Stop Your First Reaction</li>\n<li>Remember the Benefit of Getting Feedback</li>\n<li>Listen for Understanding</li>\n<li>Say Thank You</li>\n<li>Ask Questions to Deconstruct the Feedback</li>\n<li>Request Time to Follow Up</li>\n</ol>\n<p>Constructive criticism is often the only way we learn about our weaknesses—without it we can&#39;t improve. When we&#39;re defensive, instead of accepting and gracious, we run the risk of missing out on this important insight. Remember, feedback is not easy to give and it&#39;s certainly not easy to receive, but it will help us now and in the long run.</p>\n<p>The recipe is inspired from this great article... <a href=\"http://nxg.li/XeQMAb\" target=\"_blank\" rel=\"noopener noreferrer\">http://nxg.li/XeQMAb</a></p>\n",
      "date_published": "2012-11-05T23:22:12Z",
      "date_modified": "2012-11-05T23:22:12Z",
      "tags": [
        "Uncategorized"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/introducing-web-platform-docs-a-unified-approach",
      "url": "https://forwardthinking.pemo.me/posts/introducing-web-platform-docs-a-unified-approach",
      "title": "Introducing Web Platform Docs... a unified approach",
      "summary": "On the 8. October 2012 something historically happened... W3C, in collaboration with Adobe, Facebook, Google, HP, Microsoft, Mozilla, Nokia, Opera, and…",
      "content_html": "<p>On the 8. October 2012 something historically happened... W3C, in collaboration with Adobe, Facebook, Google, HP, Microsoft, Mozilla, Nokia, Opera, and others, announced the alpha release of Web Platform Docs (<a href=\"http://docs.webplatform.org\" target=\"_blank\" rel=\"noopener noreferrer\">docs.webplatform.org</a>), a new community-driven site that aims to become a comprehensive and authoritative source for web developer documentation. <a href=\"http://www.webplatform.org/\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/10/webplatform.png\" alt=\"\" title=\"webplatform\" loading=\"lazy\" decoding=\"async\"></a> In the past, developers who use HTML5, CSS and other technologies of the Open Web Platform have had to consult multiple sites to understand how to use these technologies in a way that works across browsers, operating systems and devices. This was time-consuming and in many cases increased development costs. With Web Platform Docs, the vision is that web professionals will save time and resources by consulting a single site for current, cross-browser and cross-device coding best practices, including:</p>\n<ul>\n<li>How to use each feature of the Open Web Platform, with syntax and examples;</li>\n<li>The interoperability of various technologies across platforms and devices;</li>\n<li>The standardization status of each technology specification;</li>\n<li>The stability and implementation status of features.</li>\n</ul>\n<p>The project is implemented as a Wiki, which means that anyone can contribute content to Web Platform Docs. The organizations mentioned above - collectively known as the &quot;stewards&quot; - have launched this new site with initial documents contributed as raw material for the community to shape. The W3C will serve as the site’s convener. As the Open Web Platform evolves, the entire community, including the original stewards and new stewards, will help maintain and improve the content. All materials on the site will be freely available and licensed to foster sharing and reuse. <a href=\"http://www.webplatform.org/\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/10/webplatform-stewards.png\" alt=\"\" title=\"webplatform-stewards\" loading=\"lazy\" decoding=\"async\"></a> &quot;People in the web community — including browser makers, authoring tool makers, and leading edge developers and designers — have tremendous experience and practical knowledge about the web,&quot; said Tim Berners-Lee, W3C Director. &quot;Web Platform Docs is an ambitious project where all of us who are passionate about the web can share knowledge and help one another.&quot; The W3C and the stewards envision webplatform.org as the home of future collaboration with developers and designers. Those interested in contributing to this effort as a steward or as an editor can visit <a href=\"http://docs.webplatform.org\" target=\"_blank\" rel=\"noopener noreferrer\">docs.webplatform.org</a></p>\n",
      "date_published": "2012-10-24T16:47:33Z",
      "date_modified": "2012-10-24T16:47:33Z",
      "tags": [
        "Uncategorized",
        "Documentation",
        "Open Web Standards"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/brackets-recent-projects-another-useful-extension",
      "url": "https://forwardthinking.pemo.me/posts/brackets-recent-projects-another-useful-extension",
      "title": "Brackets.... recent-projects... another useful extension",
      "summary": "When (or if) you start using Brackets now, you see that its still very early stuff. This is deliberate and with full intend of the team behind it, in order to…",
      "content_html": "<p>When (or if) you start using Brackets now, you see that its still very early stuff.</p>\n<p>This is deliberate and with full intend of the team behind it, in order to truly make it a community driven effort and to ensure that the project stays aligned with its commission: developed for developers by developers.</p>\n<p>This also means that its far from the IDE you may be used to still has a long way to go before its a fully fletched code editor at the level we are used to from other tools...</p>\n<p>Anyways, one of things you will start missing is the management of Projects, now luckily Narciso Jarmilo (member of the Brackets team and employee at Adobe), has implemented a simple way of maintaining a list of the most recent projects.</p>\n<p>Not only does it provide you with a shortcut to the most recent projects you have been working on, but it also illustrates how simple it is to add functionality that you find necessary.</p>\n<p><a href=\"/media/wp/2012/06/image-2012-06-27-10-43-20-am.png\"><img src=\"/media/wp/2012/06/image-2012-06-27-10-43-20-am.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>Having a rich extensibility model has proven over and over again to be more critical to the viability of a tool than having it being springloaded with code-editor-killer features out of the box... and Brackets has done exactly that.</p>\n<p>If there is something you see missing, you can easily build it yourself and share it back into the community... thats the groove of Brackets and that&#39;s actually pretty cool...</p>\n<p>A 3rd thing Narciso&#39;s extension does, is to illustrate how its possible to integrate your extension with the ProjectManager... now this was what actually brought me to his extension in the first place, because I will now start building my own extension using the notion of projects...</p>\n<p>Check out Narciso&#39;s extension here...<br><a href=\"https://github.com/njx/brackets-recent-projects\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/njx/brackets-recent-projects</a></p>\n",
      "date_published": "2012-06-27T03:49:52Z",
      "date_modified": "2012-06-27T04:09:08Z",
      "tags": [
        "Tools",
        "Brackets",
        "JavaScript"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/brackets-another-extension-annotation",
      "url": "https://forwardthinking.pemo.me/posts/brackets-another-extension-annotation",
      "title": "brackets... another extension... annotation",
      "summary": "To get into extending and adding functionality for Brackets is impressively easy... David Deraedt has undertaken the feat of implementing an Annotation…",
      "content_html": "<p>To get into extending and adding functionality for Brackets is impressively easy...</p>\n<p>David Deraedt has undertaken the feat of implementing an Annotation Extension which will provide developers with shortcuts to adding comments to their Brackets files...</p>\n<p>Here is how it looks when I run it on my machine...</p>\n<p><a href=\"/media/wp/2012/06/image-2012-06-26-11-14-40-am.png\"><img src=\"/media/wp/2012/06/image-2012-06-26-11-14-40-am.png\" alt=\"\" title=\"Image 2012.06.26 11-14-40 AM\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>Obviously, the comment inserted is very simple, however remember this is very very early work and if you take a look at the code for generating this, you will appreciate the simplicity of the Brackets Extensibility Model and see that the entire extension is a mere 133 lines of JavaScript code at this point (including comments).</p>\n<p>Check out the extension here...<br><a href=\"https://github.com/davidderaedt/annotate-extension\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/davidderaedt/annotate-extension</a></p>\n<p>...or have a look at other extension initiatives here...<br><a href=\"https://github.com/adobe/brackets/wiki/Brackets-Extensions\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/adobe/brackets/wiki/Brackets-Extensions</a></p>\n<p>...and please don&#39;t forget, if you dont see what you like or need, its simple to just do it yourself using HTML, CSS and JavaScript combined with the elegant Extensibility API&#39;s of Brackets.</p>\n",
      "date_published": "2012-06-26T04:26:04Z",
      "date_modified": "2012-06-26T04:28:04Z",
      "tags": [
        "Tools",
        "Adobe",
        "Brackets",
        "JavaScript"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/brackets-your-first-extension",
      "url": "https://forwardthinking.pemo.me/posts/brackets-your-first-extension",
      "title": "BRACKETS... Your First Extension",
      "summary": "...at the core of Brackets, you find an unparalleled open ness and tremendously awesome technology stack ! On top of the awesomeness of the technology stack…",
      "content_html": "<p>...at the core of Brackets, you find an unparalleled open ness and tremendously awesome technology stack !</p>\n<p>On top of the awesomeness of the technology stack and in the middle of some tremendously cool features build into Brackets by the team, you find a very simple extensibility model which allows anyone with knowledge of the basic Web Technologies, to write their own custom extensions in Brackets itself and using the same technologies we are using for the system we are making with Brackets...</p>\n<p>Basically, every developers wet dream come true...</p>\n<p>To get you started, the team behind Brackets has made a Quick-Start tutorial for getting started writing you own extension... it&#39;s naturally a Hello World extension.</p>\n<p>It will take you less than 5 mins to go through every step in the tutorial (including downloading the only 34 MB Brackets binary) and tweaking Mr. Hello World to say your name and make another or two small tweaks...</p>\n<p><a href=\"/media/wp/2012/06/image-2012-06-26-9-46-57-am.png\"><img src=\"/media/wp/2012/06/image-2012-06-26-9-46-57-am.png\" alt=\"\" title=\"Image 2012.06.26 9-46-57 AM\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>You can find the tutorial here...<br><a href=\"https://github.com/adobe/brackets/wiki/How-to-Write-Extensions\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/adobe/brackets/wiki/How-to-Write-Extensions</a></p>\n<p>The source code for the tutorial are made available, and can be found here...<br><a href=\"https://github.com/adobe/brackets/wiki/Simple-%22Hello-World%22-extension\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/adobe/brackets/wiki/Simple-%22Hello-World%22-extension</a></p>\n<p>Now, obviously popping up an Alert in response to a MenuClick is poor UI, so don&#39;t make that mistake; but instead take a look at the Extension UI Guidelines:<br><a href=\"https://github.com/adobe/brackets/wiki/Extension-UI-Guidelines\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/adobe/brackets/wiki/Extension-UI-Guidelines</a></p>\n<p>If you&#39;re working on anything big, its recommended you post to the <a href=\"http://groups.google.com/group/brackets-dev\" target=\"_blank\" rel=\"noopener noreferrer\">brackets-dev Google group</a> or the <a href=\"http://freenode.net/\" target=\"_blank\" rel=\"noopener noreferrer\">#brackets IRC channel on freenode</a> early on so you can get feedback (there may be others working on similar ideas!).</p>\n<p>For more detail on Brackets internals, see <a href=\"https://github.com/adobe/brackets/wiki/Brackets-Development-How-Tos\" target=\"_blank\" rel=\"noopener noreferrer\">Brackets Development How Tos</a>.<br>If you&#39;re interested in contributing to the core Brackets codebase, see <a href=\"https://github.com/adobe/brackets/wiki/How-to-Hack-on-Brackets\" target=\"_blank\" rel=\"noopener noreferrer\">How to Hack on Brackets</a>.</p>\n",
      "date_published": "2012-06-26T02:59:28Z",
      "date_modified": "2012-06-26T03:50:37Z",
      "tags": [
        "Tools",
        "Adobe",
        "Brackets",
        "HTML",
        "JavaScript"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/using-semantic-html-why-you-should",
      "url": "https://forwardthinking.pemo.me/posts/using-semantic-html-why-you-should",
      "title": "Using semantic HTML, why you should...",
      "summary": "Terry Ryan posted a nice article serving as an introduction to semantic HTML... Check it out.... http://www.adobe.com/devnet/html5/articles/semantic markup.html",
      "content_html": "<p>Terry Ryan posted a nice article serving as an introduction to semantic HTML...</p>\n<p><a href=\"http://www.adobe.com/devnet/html5/articles/semantic-markup.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"http://f.cl.ly/items/3h1S1h1U3s1i25400l3T/Image%202012.06.19%208:45:50%20AM.png\" alt=\"\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>Check it out....<br><a href=\"http://www.adobe.com/devnet/html5/articles/semantic-markup.html\" target=\"_blank\" rel=\"noopener noreferrer\">http://www.adobe.com/devnet/html5/articles/semantic-markup.html</a></p>\n",
      "date_published": "2012-06-19T01:51:41Z",
      "date_modified": "2012-06-19T01:51:41Z",
      "tags": [
        "HTML5",
        "Adobe"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/angularjs-directive-preloader-experiment",
      "url": "https://forwardthinking.pemo.me/posts/angularjs-directive-preloader-experiment",
      "title": "AngularJS Directive... preloader experiment",
      "summary": "I'm still a newbie to AngularJS development, however I have to admit that I'm having a lot of fun thinking of new directives and exploring increasingly better…",
      "content_html": "<p>I&#39;m still a newbie to AngularJS development, however I have to admit that I&#39;m having a lot of fun thinking of new directives and exploring increasingly better ways to implement them, mostly inspired by the lively and vital AngularJS community. I&#39;m posting one of my most recent experiments which was to have a very simple way to add preloading functionality to an AngularJS application... and this i what I came up with. Please note that this is purely experimental and the reason for me posting it is to allow others to start thinking of their own directives as well as learn something in the process.. Now... one of my objectives was that I wanted to be able to point to an external file for the preloader content, however the preloader content should also be able to contain AngularJS itself. This lead me to the use of the AngularJS-native &quot;include&quot; directive and the &quot;$compile&quot; service. The actual implementation of the loading was out of scope for this small experiment, so I decided to fake it with a simple timer using the relatively new &quot;$timeout&quot; service, which recently replaced the &quot;$defer&quot; service as a way of postponing function calls. Furthermore, since basically every application I build contains some level of DOM manipulation, I have no problem with having jQuery as a pre-requisite, so the implementation is using jQuery for the DOM manipulation, however it would be trivial to remove or replace this requirement. AngularJS Community Member, Glen Maddern, has been so kind to post my experiment as a executing sample in the form of a Gist on GitHub: <a href=\"http://2886724.run-a-gist.herokuapp.com/\" target=\"_blank\" rel=\"noopener noreferrer\">http://2886724.run-a-gist.herokuapp.com/</a> The contents of the splash.html is very crude for this example, however it could be any HTML content...</p>\n<div class=\"code-block\" data-lang=\"xml\"><div class=\"code-header\"><span class=\"code-lang\">xml</span><button type=\"button\" class=\"code-copy-btn\" data-copy-code>Copy</button></div><pre><code class=\"hljs language-xml\"><span class=\"hljs-symbol\">&amp;lt;</span>h1 ng-click=<span class=\"hljs-symbol\">&amp;quot;</span>clickHandler(event)<span class=\"hljs-symbol\">&amp;quot;</span> ng-controller=<span class=\"hljs-symbol\">&amp;quot;</span>PreloaderController<span class=\"hljs-symbol\">&amp;quot;</span><span class=\"hljs-symbol\">&amp;gt;</span>\n\tLoading, please wait...still loading {{percentCompleted}}%\n<span class=\"hljs-symbol\">&amp;lt;</span>/h1<span class=\"hljs-symbol\">&amp;gt;</span></code></pre></div>\n<p>As you can see in the the snippet above, the preloader HTML is driven by a PreloaderController... and it has a clickHandler for demo purposes to shurtcut the preloading...</p>\n<div class=\"code-block\" data-lang=\"javascript\"><div class=\"code-header\"><span class=\"code-lang\">javascript</span><button type=\"button\" class=\"code-copy-btn\" data-copy-code>Copy</button></div><pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">function</span> <span class=\"hljs-title function_\">PreloaderController</span>(<span class=\"hljs-params\"> $scope, $timeout </span>) {\n\n\t$scope.<span class=\"hljs-property\">percentCompleted</span> = <span class=\"hljs-number\">0</span>;\n\n\t$scope.<span class=\"hljs-property\">applicationProgressMock</span> = <span class=\"hljs-keyword\">function</span>(<span class=\"hljs-params\"></span>) {\n\n\t\t<span class=\"hljs-keyword\">if</span>( $scope.<span class=\"hljs-property\">percentCompleted</span> == <span class=\"hljs-number\">100</span> ) {\n\t\t\t$scope.$emit( &amp;quot;applicationComplete&amp;quot; );\n\t\t}\n\t\t<span class=\"hljs-keyword\">else</span>\n\t\t{\n\t\t\t$scope.<span class=\"hljs-property\">percentCompleted</span> += <span class=\"hljs-number\">5</span>;\n\t\t\t$timeout( $scope.<span class=\"hljs-property\">applicationProgressMock</span>, <span class=\"hljs-number\">100</span> );\n\t\t}\n\t}\n\t$timeout( $scope.<span class=\"hljs-property\">applicationProgressMock</span>, <span class=\"hljs-number\">100</span> );\n\n\t$scope.<span class=\"hljs-property\">clickHandler</span> = <span class=\"hljs-keyword\">function</span>(<span class=\"hljs-params\"> event </span>) {\n\t\t$scope.<span class=\"hljs-property\">percentCompleted</span> = <span class=\"hljs-number\">100</span>;\n\t}\n}</code></pre></div>\n<p>The directive itself is fairly simple and straightforward JavaScript...</p>\n<div class=\"code-block\" data-lang=\"javascript\"><div class=\"code-header\"><span class=\"code-lang\">javascript</span><button type=\"button\" class=\"code-copy-btn\" data-copy-code>Copy</button></div><pre><code class=\"hljs language-javascript\"><span class=\"hljs-title class_\">PreloaderFactory</span> = <span class=\"hljs-keyword\">function</span>(<span class=\"hljs-params\"> $compile </span>) {\n\n\t<span class=\"hljs-keyword\">var</span> directive = {\n\n\t\trestrict : &amp;quot;A&amp;quot;,\n\n\t\tlink : <span class=\"hljs-keyword\">function</span>(<span class=\"hljs-params\"> scope, elm, attrs </span>) {\n\n\t\t\tscope.<span class=\"hljs-property\">preloader</span> = <span class=\"hljs-title function_\">jQuery</span>( &amp;quot;&amp;lt;ng-include /&amp;gt;&amp;quot; );\n\t\t\tscope.<span class=\"hljs-property\">preloader</span>.<span class=\"hljs-title function_\">attr</span>( &amp;quot;src&amp;quot;, &amp;quot;<span class=\"hljs-string\">&#x27;&amp;quot;+ attrs.preloader +&amp;quot;.html&#x27;</span>&amp;quot; );\n\n\t\t\t$compile( scope.<span class=\"hljs-property\">preloader</span> )( scope );\n\n\t\t\t<span class=\"hljs-title function_\">jQuery</span>( &amp;quot;body&amp;quot; ).<span class=\"hljs-title function_\">append</span>( scope.<span class=\"hljs-property\">preloader</span> );\n\n\t\t\tscope.$on( &amp;quot;applicationComplete&amp;quot;, <span class=\"hljs-keyword\">function</span>(<span class=\"hljs-params\"> event </span>) {\n\n\t\t\t\t<span class=\"hljs-title function_\">jQuery</span>( scope.<span class=\"hljs-property\">preloader</span> ).<span class=\"hljs-title function_\">remove</span>();\n\t\t\t});\n\t\t}\n\t}\n\t<span class=\"hljs-keyword\">return</span> directive;\n}</code></pre></div>\n<p>Now, my main HTML looks like this, pretty advanced app...</p>\n<div class=\"code-block\" data-lang=\"xml\"><div class=\"code-header\"><span class=\"code-lang\">xml</span><button type=\"button\" class=\"code-copy-btn\" data-copy-code>Copy</button></div><pre><code class=\"hljs language-xml\"><span class=\"hljs-symbol\">&amp;lt;</span>html ng-app=<span class=\"hljs-symbol\">&amp;quot;</span>application<span class=\"hljs-symbol\">&amp;quot;</span> preloader=<span class=\"hljs-symbol\">&amp;quot;</span>splash<span class=\"hljs-symbol\">&amp;quot;</span><span class=\"hljs-symbol\">&amp;gt;</span>\n  <span class=\"hljs-symbol\">&amp;lt;</span>head<span class=\"hljs-symbol\">&amp;gt;</span>\n    \n    <span class=\"hljs-symbol\">&amp;lt;</span>meta http-equiv=<span class=\"hljs-symbol\">&amp;quot;</span>content-type<span class=\"hljs-symbol\">&amp;quot;</span> content=<span class=\"hljs-symbol\">&amp;quot;</span>text/html; charset=UTF-8<span class=\"hljs-symbol\">&amp;quot;</span><span class=\"hljs-symbol\">&amp;gt;</span>\n    \n    <span class=\"hljs-symbol\">&amp;lt;</span>title<span class=\"hljs-symbol\">&amp;gt;</span>Preloader Experiment<span class=\"hljs-symbol\">&amp;lt;</span>/title<span class=\"hljs-symbol\">&amp;gt;</span>\n    \n    <span class=\"hljs-symbol\">&amp;lt;</span>script src=<span class=\"hljs-symbol\">&amp;quot;</span>http://code.angularjs.org/angular-1.0.0rc10.min.js<span class=\"hljs-symbol\">&amp;quot;</span><span class=\"hljs-symbol\">&amp;gt;</span><span class=\"hljs-symbol\">&amp;lt;</span>/script<span class=\"hljs-symbol\">&amp;gt;</span>\n    <span class=\"hljs-symbol\">&amp;lt;</span>script src=<span class=\"hljs-symbol\">&amp;quot;</span>http://code.jquery.com/jquery-1.7.2.min.js<span class=\"hljs-symbol\">&amp;quot;</span><span class=\"hljs-symbol\">&amp;gt;</span><span class=\"hljs-symbol\">&amp;lt;</span>/script<span class=\"hljs-symbol\">&amp;gt;</span>\n    <span class=\"hljs-symbol\">&amp;lt;</span>script src=<span class=\"hljs-symbol\">&amp;quot;</span>preloader-0.0.1.js<span class=\"hljs-symbol\">&amp;quot;</span><span class=\"hljs-symbol\">&amp;gt;</span><span class=\"hljs-symbol\">&amp;lt;</span>/script<span class=\"hljs-symbol\">&amp;gt;</span>\n    \n    <span class=\"hljs-symbol\">&amp;lt;</span>script<span class=\"hljs-symbol\">&amp;gt;</span>\n    \n    \tangular.module( <span class=\"hljs-symbol\">&amp;quot;</span>application<span class=\"hljs-symbol\">&amp;quot;</span>, [] )\n    \t\n    \t.directive( <span class=\"hljs-symbol\">&amp;quot;</span>preloader<span class=\"hljs-symbol\">&amp;quot;</span>, PreloaderFactory );\n    \t\n    <span class=\"hljs-symbol\">&amp;lt;</span>/script<span class=\"hljs-symbol\">&amp;gt;</span>\n    \n  <span class=\"hljs-symbol\">&amp;lt;</span>/head<span class=\"hljs-symbol\">&amp;gt;</span>\n  <span class=\"hljs-symbol\">&amp;lt;</span>body<span class=\"hljs-symbol\">&amp;gt;</span>\n  \n  <span class=\"hljs-symbol\">&amp;lt;</span>/body<span class=\"hljs-symbol\">&amp;gt;</span>\n<span class=\"hljs-symbol\">&amp;lt;</span>/html<span class=\"hljs-symbol\">&amp;gt;</span></code></pre></div>\n<p>That&#39;s it, a faily simple and crude implementation of a preloader tag... comments are much appreciated, however please note that this was purely intended as an inspiration and not a cookbook recipe... In any case I decided to put it on GitHub... I sincerely hope to be able to get much more samples up there and that they will increase in quality... <a href=\"https://github.com/pmoelgaard/labs/tree/master/angular/preloader-directive\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/pmoelgaard/labs/tree/master/angular/preloader-directive</a></p>\n",
      "date_published": "2012-06-07T04:10:26Z",
      "date_modified": "2012-06-07T05:32:04Z",
      "tags": [
        "JavaScript",
        "AngularJS"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/how-to-implement-a-blink-tag-in-angularjs",
      "url": "https://forwardthinking.pemo.me/posts/how-to-implement-a-blink-tag-in-angularjs",
      "title": "How to implement a BLINK tag in AngularJS",
      "summary": "One of the features of early HTML that is so uncool that it's so extremely cool now that it has taken epic proportions, is that much celebrated as well as…",
      "content_html": "<p>One of the features of early HTML that is so uncool that it&#39;s so extremely cool now that it has taken epic proportions, is that much celebrated as well as hated BLINK tag... Now, it disappeared from most implementations due to the massive criticism it received, In 1996 <a href=\"http://en.wikipedia.org/wiki/Jakob_Nielsen_(usability_consultant)\" title=\"Jakob Nielsen (usability consultant)\" target=\"_blank\" rel=\"noopener noreferrer\">Jakob Nielsen</a> even described the element as &quot;simply evil&quot; in his <em>Alertbox</em> column <a href=\"http://www.useit.com/alertbox/9605a.html\" target=\"_blank\" rel=\"noopener noreferrer\"><em>Top Ten Mistakes in Web Design</em></a>. Anyways, its back for the ones who think it could be a fun little thing to add anywhere, and now with AngularJS... let me just add, that I think it would be a horrible idea to put it in any website short of being a tribute website to horrible websites from the 80&#39;s...</p>\n<div class=\"code-block\" data-lang=\"javascript\"><div class=\"code-header\"><span class=\"code-lang\">javascript</span><button type=\"button\" class=\"code-copy-btn\" data-copy-code>Copy</button></div><pre><code class=\"hljs language-javascript\">\n<span class=\"hljs-keyword\">var</span> blink = angular.<span class=\"hljs-title function_\">module</span>(<span class=\"hljs-string\">&#x27;blink&#x27;</span>, [])\n    .<span class=\"hljs-title function_\">directive</span>(<span class=\"hljs-string\">&#x27;blink&#x27;</span>, <span class=\"hljs-keyword\">function</span>(<span class=\"hljs-params\">$timeout</span>) {\n    <span class=\"hljs-keyword\">return</span> {\n        <span class=\"hljs-attr\">restrict</span>: <span class=\"hljs-string\">&#x27;E&#x27;</span>,\n        <span class=\"hljs-attr\">transclude</span>: <span class=\"hljs-literal\">true</span>,\n        <span class=\"hljs-attr\">scope</span>: {},\n        <span class=\"hljs-attr\">controller</span>: <span class=\"hljs-keyword\">function</span>(<span class=\"hljs-params\">$scope, $element</span>) {\n            <span class=\"hljs-keyword\">function</span> <span class=\"hljs-title function_\">showElement</span>(<span class=\"hljs-params\"></span>) {\n                $element.<span class=\"hljs-title function_\">css</span>(&amp;quot;display&amp;quot;, &amp;quot;inline&amp;quot;);\n                $timeout(hideElement, <span class=\"hljs-number\">1000</span>);\n            }\n\n            <span class=\"hljs-keyword\">function</span> <span class=\"hljs-title function_\">hideElement</span>(<span class=\"hljs-params\"></span>) {\n                $element.<span class=\"hljs-title function_\">css</span>(&amp;quot;display&amp;quot;, &amp;quot;none&amp;quot;);\n                $timeout(showElement, <span class=\"hljs-number\">1000</span>);\n            }\n            <span class=\"hljs-title function_\">showElement</span>();\n        },\n        <span class=\"hljs-attr\">template</span>: <span class=\"hljs-string\">&#x27;&amp;lt;span ng-transclude&amp;gt;&amp;lt;/span&amp;gt;&#x27;</span>,\n        <span class=\"hljs-attr\">replace</span>: <span class=\"hljs-literal\">true</span>\n    };\n});​</code></pre></div>\n<p>Using it from HTML would be as simple as this...</p>\n<div class=\"code-block\" data-lang=\"xml\"><div class=\"code-header\"><span class=\"code-lang\">xml</span><button type=\"button\" class=\"code-copy-btn\" data-copy-code>Copy</button></div><pre><code class=\"hljs language-xml\">\n<span class=\"hljs-symbol\">&amp;lt;</span>div ng-app=<span class=\"hljs-symbol\">&amp;quot;</span>blink<span class=\"hljs-symbol\">&amp;quot;</span><span class=\"hljs-symbol\">&amp;gt;</span>\n    <span class=\"hljs-symbol\">&amp;lt;</span>blink<span class=\"hljs-symbol\">&amp;gt;</span>Forward Thinking<span class=\"hljs-symbol\">&amp;lt;</span>/blink<span class=\"hljs-symbol\">&amp;gt;</span>\n<span class=\"hljs-symbol\">&amp;lt;</span>/div<span class=\"hljs-symbol\">&amp;gt;</span>​</code></pre></div>\n<p>You can check out the JSFiddle here... <a href=\"http://jsfiddle.net/qy7Bt/59/\" target=\"_blank\" rel=\"noopener noreferrer\">http://jsfiddle.net/qy7Bt/59/</a> The initial implementation was created by Søren Kyndi-Wiuff and it was then later refined to support a more mature version of AngularJS by Misko Hevery, both guys heavy-weight contributors to AngularJS... helped along the way by Mr. Ganaraj who was kind enough to point out and illustrate deprecated parts of the AngularJS... Check out AngularJS if you haven&#39;t done so yet and you are in the process of working on HTML systems, this is how HTML would have been if it had been created for Applications... <a href=\"http://angularjs.org\" target=\"_blank\" rel=\"noopener noreferrer\">angularjs.org</a></p>\n",
      "date_published": "2012-05-31T03:23:37Z",
      "date_modified": "2012-05-31T06:02:05Z",
      "tags": [
        "CookBook",
        "AngularJS",
        "framework",
        "HTML5",
        "JavaScript"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/trello-now-with-an-api-beta-6",
      "url": "https://forwardthinking.pemo.me/posts/trello-now-with-an-api-beta-6",
      "title": "Trello... now with an API (Beta)",
      "summary": "Trello is not only a very useful task management system, incorporating SCRUM board approach with HTML5 and an exceptional nice look and feel... now it also…",
      "content_html": "<p>Trello is not only a very useful task management system, incorporating SCRUM board approach with HTML5 and an exceptional nice look and feel... now it also has a very elegant REST API.</p>\n<p>Check it out...<br><a href=\"https://trello.com/docs/\" target=\"_blank\" rel=\"noopener noreferrer\">https://trello.com/docs/</a></p>\n<p>Here is a quick sample on how to retrieve the cards for the current user... using the Client.js JavaScript class that Trello is providing asn easy way to get started...<br><a href=\"http://jsfiddle.net/nNesx/\" target=\"_blank\" rel=\"noopener noreferrer\">http://jsfiddle.net/nNesx/</a></p>\n<p>They have opened up their development plans in the form of their internal development board...<br><a href=\"https://trello.com/api\" target=\"_blank\" rel=\"noopener noreferrer\">https://trello.com/api</a></p>\n",
      "date_published": "2012-05-13T12:51:35Z",
      "date_modified": "2012-05-13T13:02:17Z",
      "tags": [
        "Tools",
        "Uncategorized",
        "API",
        "JavaScript",
        "Trello"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/appjs-build-cross-platform-applications",
      "url": "https://forwardthinking.pemo.me/posts/appjs-build-cross-platform-applications",
      "title": "AppJS... Build Cross-Platform Applications",
      "summary": "...for desktop using HTML, CSS, Javascript ! It's still very early stuff, however its interesting to see how a lightweight container like this may develop…",
      "content_html": "<p>...for desktop using HTML, CSS, Javascript ! It&#39;s still very early stuff, however its interesting to see how a lightweight container like this may develop into something pretty useful, at least the stack of technologies used is entirely aligned with how I would set out to build a lightweight app container... <a href=\"http://appjs.org/\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/05/screen-shot-2012-05-12-at-6-56-27-pm.png\" alt=\"\" title=\"AppJS\" loading=\"lazy\" decoding=\"async\"></a></p>\n<h2 id=\"why-appjs\"><a class=\"heading-anchor\" href=\"#why-appjs\" aria-hidden=\"true\">#</a>Why AppJS?</h2>\n<p>Because it is simple and yet powerful. Using AppJS you don&#39;t need to be worry about coding cross-platform or learning new languages and tools. You are already familiar with HTML, CSS and Javascript. What is better than this stack for application development? Beside, AppJS uses Chromium at the core so you get latest HTML 5 APIs working. So relax and focus on the task your application should do.</p>\n<h3 id=\"html-5\"><a class=\"heading-anchor\" href=\"#html-5\" aria-hidden=\"true\">#</a>HTML 5</h3>\n<p>AppJS allows you to use HTML 5 APIs to create attractive applications from Word Processors to 3D Games. You are no longer limited to default GUI widgets that plaforms force you to use. Creating custom UIs is now only limited to your imagination!</p>\n<h3 id=\"css-3\"><a class=\"heading-anchor\" href=\"#css-3\" aria-hidden=\"true\">#</a>CSS 3</h3>\n<p>Using CSS you can decorate widgets as you like. Create a custom widget in HTML and complete your work with decorating it. Adding shadows, animating elements and transforming objects in 3D space are a few examples of what you can do with CSS 3.</p>\n<h3 id=\"node-js\"><a class=\"heading-anchor\" href=\"#node-js\" aria-hidden=\"true\">#</a>Node.js</h3>\n<p>The interesting part of AppJS is that it uses Node.js as the backbone. Node.js has been built to ease the process of developing scalable network applications. But today, you can see Node nearly everywhere! It has a nice API and lots of modules. Check it out... <a href=\"http://appjs.org/\" target=\"_blank\" rel=\"noopener noreferrer\">http://appjs.org/</a></p>\n",
      "date_published": "2012-05-12T12:01:56Z",
      "date_modified": "2012-05-12T12:01:56Z",
      "tags": [
        "JavaScript",
        "CSS",
        "NodeJS"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/jsperf-javascript-performance-playground-3",
      "url": "https://forwardthinking.pemo.me/posts/jsperf-javascript-performance-playground-3",
      "title": "jsPerf — JavaScript performance playground",
      "summary": "jsPerf aims to provide an easy way to create and share test cases, comparing the performance of different JavaScript snippets by running benchmarks. For more…",
      "content_html": "<p>jsPerf aims to provide an easy way to create and share <a href=\"http://jsperf.com/browse\" title=\"View some examples by browsing the jsPerf test cases\" target=\"_blank\" rel=\"noopener noreferrer\">test cases</a>, comparing the performance of different JavaScript snippets by running benchmarks. For more information, see <a href=\"http://jsperf.com/faq\" title=\"Frequently asked questions\" target=\"_blank\" rel=\"noopener noreferrer\">the FAQ</a>.</p>\n<p>An example of what an entry in jsPerf looks like, check out this comparison between inner and prototype functions...</p>\n<p><a href=\"jsperf.com/inner-function-vs-prototype-function\"><img src=\"/media/wp/2012/05/inner-function-vs-prototype-function-c2b7-jsperf.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>Anyways... check it out...<br><a href=\"jsperf.com/inner-function-vs-prototype-function\">jsperf.com/inner-function-vs-prototype-function</a></p>\n",
      "date_published": "2012-05-08T03:33:30Z",
      "date_modified": "2012-05-08T03:51:20Z",
      "tags": [
        "Tools",
        "JavaScript"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/fixiejs-a-tremendously-cool-html-utility-4",
      "url": "https://forwardthinking.pemo.me/posts/fixiejs-a-tremendously-cool-html-utility-4",
      "title": "FixieJS... a tremendously cool html utility",
      "summary": "Fixie.js is an open source tool that automatically adds filler content to HTML documents. Adding lorem ipsum text to HTML documents involves copy pasting,…",
      "content_html": "<p>Fixie.js is an open source tool that automatically adds filler content to HTML documents.</p>\n<p><a href=\"http://fixiejs.com/\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/05/screen-shot-2012-05-08-at-12-00-32-am.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>Adding lorem ipsum text to HTML documents involves copy-pasting, manual editing, and increasingly unwieldy code.</p>\n<p>By interpreting your semantic HTML5 tags, Fixie will automagically add the right type of content in the right places. Headings, paragraphs, links, images, sections... trust me, it&#39;s all there. That way you can focus on your design, instead of finding the right filler content.</p>\n<p>A nice example on how this can be useful can be found in the equally clever utility: FlickHoldr<br><a href=\"http://flickholdr.com/\" target=\"_blank\" rel=\"noopener noreferrer\">http://flickholdr.com/</a></p>\n<p><a href=\"http://flickholdr.com/\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/05/screen-shot-2012-05-08-at-12-09-52-am.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>FlickHoldr simply gets placeholders related to the site you are developing, by pulling images from flickr based on tags... very simple and elegant...</p>\n",
      "date_published": "2012-05-07T17:14:44Z",
      "date_modified": "2014-04-07T17:08:21Z",
      "tags": [
        "JavaScript"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/angularjs-selection-change-directive-an-early-implementation",
      "url": "https://forwardthinking.pemo.me/posts/angularjs-selection-change-directive-an-early-implementation",
      "title": "AngularJS... a selection-change directive... an early implementation",
      "summary": "having run into some issue implementing a change handler on the select control without setting the model property... I decided to see how it could be to…",
      "content_html": "<p>having run into some issue implementing a change handler on the select control without setting the model property... I decided to see how it could be to implement a selectionHandler directive... I started out with this implementation which obviously is far from best practice and far from ideal yet... next step will be to find the best practice to implement a tag for an entire &quot;combobox&quot;...</p>\n<h3 id=\"html\"><a class=\"heading-anchor\" href=\"#html\" aria-hidden=\"true\">#</a>HTML</h3>\n<div class=\"code-block\" data-lang=\"xml\"><div class=\"code-header\"><span class=\"code-lang\">xml</span><button type=\"button\" class=\"code-copy-btn\" data-copy-code>Copy</button></div><pre><code class=\"hljs language-xml\"><span class=\"hljs-symbol\">&amp;lt;</span>select ng-datasource=<span class=\"hljs-symbol\">&amp;quot;</span>candidateContacts<span class=\"hljs-symbol\">&amp;quot;</span> ng-selection-change=<span class=\"hljs-symbol\">&amp;quot;</span>selectContact<span class=\"hljs-symbol\">&amp;quot;</span><span class=\"hljs-symbol\">&amp;gt;</span>\n\t<span class=\"hljs-symbol\">&amp;lt;</span>option ng-repeat=<span class=\"hljs-symbol\">&amp;quot;</span>candidateContact in candidateContacts<span class=\"hljs-symbol\">&amp;quot;</span> ng-selected=<span class=\"hljs-symbol\">&amp;quot;</span>candidateContact.id == contact.item.id<span class=\"hljs-symbol\">&amp;quot;</span><span class=\"hljs-symbol\">&amp;gt;</span>\n\t\t{{candidateContact.name}}\n\t<span class=\"hljs-symbol\">&amp;lt;</span>/option<span class=\"hljs-symbol\">&amp;gt;</span>\n<span class=\"hljs-symbol\">&amp;lt;</span>/select<span class=\"hljs-symbol\">&amp;gt;</span></code></pre></div>\n<h3 id=\"javascript\"><a class=\"heading-anchor\" href=\"#javascript\" aria-hidden=\"true\">#</a>JavaScript</h3>\n<div class=\"code-block\" data-lang=\"javascript\"><div class=\"code-header\"><span class=\"code-lang\">javascript</span><button type=\"button\" class=\"code-copy-btn\" data-copy-code>Copy</button></div><pre><code class=\"hljs language-javascript\">.<span class=\"hljs-title function_\">directive</span>( &amp;quot;ngSelectionChange&amp;quot;, <span class=\"hljs-keyword\">function</span>(<span class=\"hljs-params\"> $compile </span>) {\n\t\t<span class=\"hljs-keyword\">return</span> <span class=\"hljs-keyword\">function</span>(<span class=\"hljs-params\"> $scope, $element, $attrs </span>) {\n\n\t\t\t<span class=\"hljs-title function_\">jQuery</span>( $element ).<span class=\"hljs-title function_\">change</span>( <span class=\"hljs-keyword\">function</span>(<span class=\"hljs-params\"> e </span>) {\n\n\t\t\t\t<span class=\"hljs-keyword\">var</span> target = <span class=\"hljs-title function_\">jQuery</span>( e.<span class=\"hljs-property\">target</span> );\n\n\t\t\t\t<span class=\"hljs-keyword\">var</span> datasourceKey = target.<span class=\"hljs-title function_\">attr</span>( &amp;quot;ng-datasource&amp;quot; );\n\t\t\t\t<span class=\"hljs-keyword\">var</span> datasource = $scope.$eval( datasourceKey);\n\n\t\t\t\t<span class=\"hljs-keyword\">var</span> actionKey = target.<span class=\"hljs-title function_\">attr</span>( &amp;quot;ng-selection-change&amp;quot; );\n\t\t\t\t<span class=\"hljs-keyword\">var</span> action = $scope.$eval( actionKey );\n\n\t\t\t\t<span class=\"hljs-keyword\">var</span> selectedIndex = target.<span class=\"hljs-title function_\">prop</span>( &amp;quot;selectedIndex&amp;quot; );\n\t\t\t\t<span class=\"hljs-keyword\">var</span> selectedItem = datasource[ selectedIndex ];\n\n\t\t\t\taction.<span class=\"hljs-title function_\">call</span>( $scope, selectedItem );\n\t\t\t});\n\t\t}\n\t})</code></pre></div>\n<p>UPDATE I just stumbled upon the concept of using accessor&#39;s in the directive scopes, that will help me get rid of the redundancy in the declaration of the datasource/iterator... <a href=\"http://jsfiddle.net/ADukg/10/\" target=\"_blank\" rel=\"noopener noreferrer\">http://jsfiddle.net/ADukg/10/</a> UPDATE I came across this directive when browsing the recently updated documentation system, this will do fine so there is no need to implement a ComboBox since the functionality is covered by the native select directive... <a href=\"http://docs.angularjs.org/api/angular.module.ng.$compileProvider.directive.select\" target=\"_blank\" rel=\"noopener noreferrer\">http://docs.angularjs.org/api/angular.module.ng.$compileProvider.directive.select</a></p>\n",
      "date_published": "2012-05-07T14:25:01Z",
      "date_modified": "2012-05-07T21:35:09Z",
      "tags": [
        "JavaScript"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/base64-encodingdecoding-in-javascript-wrapped-in-jquery-3",
      "url": "https://forwardthinking.pemo.me/posts/base64-encodingdecoding-in-javascript-wrapped-in-jquery-3",
      "title": "Base64 Encoding/Decoding in JavaScript... wrapped in jQuery",
      "summary": "Integrating a Google Gadget with Solve360's API, I needed to have a way to Base64 encode some strings before appending them as headers to my server calls...…",
      "content_html": "<p>Integrating a Google Gadget with Solve360&#39;s API, I needed to have a way to Base64 encode some strings before appending them as headers to my server calls... instead of rolling my own, I went to look for my old friend: <a href=\"http://stringencoders.googlecode.com/svn-history/r210/trunk/javascript/base64.js\" target=\"_blank\" rel=\"noopener noreferrer\">Nick Galbreath&#39;s base64 string encoder</a>...</p>\n<p>In the search results I stumbled upon a 2 year old jQuery&#39;fication of it by <a href=\"http://github.com/carlo\" target=\"_blank\" rel=\"noopener noreferrer\">Carlo Zottmann</a>...</p>\n<p>Check it out...<br><a href=\"https://github.com/carlo/jquery-base64\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/carlo/jquery-base64</a></p>\n",
      "date_published": "2012-05-06T08:08:08Z",
      "date_modified": "2012-05-06T08:08:08Z",
      "tags": [
        "Uncategorized",
        "JavaScript",
        "jQuery",
        "Open Source"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/statemachines-in-javascript-on-the-path-to-programmable-workflows",
      "url": "https://forwardthinking.pemo.me/posts/statemachines-in-javascript-on-the-path-to-programmable-workflows",
      "title": "StateMachines in JavaScript... on the path to programmable workflows",
      "summary": "In the need for a Sequential Workflow for JavaScript applications, I was lucky to find a great StateMachine implementation of a Finite StateMachine...…",
      "content_html": "<p>In the need for a Sequential Workflow for JavaScript applications, I was lucky to find a great StateMachine implementation of a Finite StateMachine...</p>\n<p>Unfortunately, I wasn&#39;t really looking for a Finite StateMachine, but more of a Sequential Workflow that I can use to drive an application consisting of a distinct set of actions in a predictable order... Anyways...</p>\n<p>Jakes Gordon has gone the effort of implementing a swift and cleverly designed finite statemachine and made it available on GitHub... its entirely standalone and has no dependencies on other frameworks or libraries.</p>\n<p>If you are familiar with using finite statemachines, it will come easy to use the library, otherwise Jakes has formulated a well articulated and easily-understandable ReadMe...<br><a href=\"https://github.com/jakesgordon/javascript-state-machine/#readme\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/jakesgordon/javascript-state-machine/#readme</a></p>\n<p>Jakes has documented the library well, and is providing a great example on how to use it in a graphical way...<br><a href=\"http://codeincomplete.com/posts/2011/8/19/javascript_state_machine_v2/example/\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/05/screen-shot-2012-05-06-at-11-05-51-am.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></a><br><a href=\"http://codeincomplete.com/posts/2011/8/19/javascript_state_machine_v2/example/\" target=\"_blank\" rel=\"noopener noreferrer\">http://codeincomplete.com/posts/2011/8/19/javascript_state_machine_v2/example/</a></p>\n<p>Anyways, check out the library if you are in need of a finite statemachine for your JavaScript applications...<br><a href=\"https://github.com/jakesgordon/javascript-state-machine/\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/jakesgordon/javascript-state-machine/</a></p>\n",
      "date_published": "2012-05-06T04:08:06Z",
      "date_modified": "2012-05-06T04:09:06Z",
      "tags": [
        "JavaScript",
        "Open Source"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/using-angularjs-with-jquery",
      "url": "https://forwardthinking.pemo.me/posts/using-angularjs-with-jquery",
      "title": "Using Angular with jQuery",
      "summary": "When familiarizing oneself with AngularJS, its on some occasions a forthcoming thought if this is all you need since they do exclude each other in many ways,…",
      "content_html": "<p>When familiarizing oneself with AngularJS, its on some occasions a forthcoming thought if this is all you need since they do exclude each other in many ways, however they have been build with two very different perspectives on application design... jQuery is basically a library focused on DOM querying and manipulation, AngularJS is an application framework and micro-architecture... That they however are not entirely mutually exclusive becomes evident when diving in to the <a href=\"http://docs.angularjs.org/api/angular.element\" target=\"_blank\" rel=\"noopener noreferrer\">angular.element</a> method... as it turns out Angular is actually using jQuery (or of jQuery is not loaded, an embedded version referred to as jqLite).</p>\n<blockquote>\n<p>angular.element wraps a raw DOM element or HTML string as a <a href=\"http://jquery.com/\" target=\"_blank\" rel=\"noopener noreferrer\">jQuery</a> element. <code>angular.element</code> can be either an alias for <a href=\"http://api.jquery.com/jQuery/\" target=\"_blank\" rel=\"noopener noreferrer\">jQuery</a> function, if jQuery is available, or a function that wraps the element or string in Angular&#39;s jQuery lite implementation (commonly referred to as jqLite). Real jQuery always takes precedence over jqLite, provided it was loaded before <code>DOMContentLoaded</code> event fired. jqLite is a tiny, API-compatible subset of jQuery that allows Angular to manipulate the DOM. jqLite implements only the most commonly needed functionality within a very small footprint, so only a subset of the jQuery API - methods, arguments and invocation styles - are supported. Note: All element references in Angular are always wrapped with jQuery or jqLite; they are never raw DOM references.</p>\n</blockquote>\n<p>So, if you are using Angular as your application framework and you see a need to use jQuery for one or more of the many things jQuery is absolutely amazing and almost second to none, then don&#39;t hesitate to do so, they are both great system citizens and work great as peers in your applications...</p>\n",
      "date_published": "2012-05-05T16:29:39Z",
      "date_modified": "2012-05-05T18:16:06Z",
      "tags": [
        "JavaScript",
        "AngularJS",
        "jQuery"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/introducing-backbone-js",
      "url": "https://forwardthinking.pemo.me/posts/introducing-backbone-js",
      "title": "Introducing Backbone.js...",
      "summary": "Backbone.js gives structure to web applications by providing models with key value binding and custom events, collections with a rich API of enumerable…",
      "content_html": "<p>Backbone.js gives structure to web applications by providing <strong>models</strong> with key-value binding and custom events, <strong>collections</strong> with a rich API of enumerable functions,<strong>views</strong> with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.<br><a href=\"http://documentcloud.github.com/backbone/\" target=\"_blank\" rel=\"noopener noreferrer\">http://documentcloud.github.com/backbone/</a></p>\n<p>When working on a web application that involves a lot of JavaScript, one of the first things you learn is to stop tying your data to the DOM. It&#39;s all too easy to create JavaScript applications that end up as tangled piles of jQuery selectors and callbacks, all trying frantically to keep data in sync between the HTML UI, your JavaScript logic, and the database on your server. For rich client-side applications, a more structured approach is often helpful.</p>\n<p>With Backbone, you represent your data as Models, which can be created, validated, destroyed, and saved to the server. Whenever a UI action causes an attribute of a model to change, the model triggers a <em>&quot;change&quot;</em> event; all the Views that display the model&#39;s state can be notified of the change, so that they are able to respond accordingly, re-rendering themselves with the new information. In a finished Backbone app, you don&#39;t have to write the glue code that looks into the DOM to find an element with a specific <em>id</em>, and update the HTML manually — when the model changes, the views simply update themselves.</p>\n<p>This is similar to most other template based general purpose javascript frameworks today, and the way Backbone.js is approaching is code centric and gives the developer a high degree of very finely granulated control over how the application is tied together and driven...</p>\n<p>Backbone Aura is a decoupled, event-driven Backbone architecture for developing applications and can in the same sentence be coined as a General Purpose Application Micro Architecture.<br><a href=\"https://github.com/addyosmani/backbone-aura\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/addyosmani/backbone-aura</a> </p>\n<p>The application is broken down into AMD modules that contain distinct pieces of functionality (eg. views, models, collections, app-level modules). The views publish events of interest to the rest of the application and modules can then subscribe to these event notifications.</p>\n<p>All <code>subscriptions</code> go through a facade (or sandbox). What this does is check against the subscriber name and the &#39;channel/notifcation&#39; it&#39;s attempting to subscribe to - if a subscriber <em>doesn&#39;t</em> have permissions to do this (something established through permissions.js), the subscription isn&#39;t allowed through. The rest of the application is however able to continue functioning.</p>\n",
      "date_published": "2012-05-04T18:51:32Z",
      "date_modified": "2012-05-04T18:51:32Z",
      "tags": [
        "Uncategorized",
        "Backbone.js",
        "JavaScript"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/angularjs-by-google",
      "url": "https://forwardthinking.pemo.me/posts/angularjs-by-google",
      "title": "AngularJS... by Google",
      "summary": "AngularJS is by far one of the most promising frameworks to fill the gap of JavaScript development in the RIA developer's toolbox.... so regardless of me…",
      "content_html": "<p>AngularJS is by far one of the most promising frameworks to fill the gap of JavaScript development in the RIA developer&#39;s toolbox.... so regardless of me posting about it before, I felt compelled to do it again...</p>\n<p><a href=\"http://angularjs.org\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/05/screen-shot-2012-05-03-at-8-30-53-pm.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></a></p>\n<p>The übercool thing about AngularJS is that its entirely unobtrusive and an excellent system citizen, it works perfectly fine together with any other framework you may depend on...</p>\n<p>Brackets is build using jQuery, so targeting technology agnosticism when choosing an application framework is empiric... enter AngularJS.</p>\n<p>Comparing to KnockoutJS and BackboneJS; AngularJS is definitely comparable in features and the coding elegance is by far higher than with either of the aforementioned...</p>\n<p>Check it out (again)...<br><a href=\"http://angularjs.org\" target=\"_blank\" rel=\"noopener noreferrer\">http://angularjs.org</a></p>\n",
      "date_published": "2012-05-03T13:38:57Z",
      "date_modified": "2012-06-26T16:40:47Z",
      "tags": [
        "JavaScript",
        "AngularJS",
        "Google"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/adobe-brackets-team-using-trello",
      "url": "https://forwardthinking.pemo.me/posts/adobe-brackets-team-using-trello",
      "title": "The Brackets Team... using Trello",
      "summary": "In my optics (and obviously when wearing my coders goggles) Brackets is the most exciting news to come out of San Jose this year... not only is the team…",
      "content_html": "<p>In my optics (and obviously when wearing my coders goggles) <strong>Brackets</strong> is the most exciting news to come out of San Jose this year... not only is the team targeting to build an entirely new code IDE for web projects, but they have decided to do it in a new way... a way that may prove both to be more challenging as a traditional product development approach as well as more rewarding as members of the community starts joining the development effort by adding both core features as well as extensions (an extension API is on its way) even from the very beginning of its lifetime...</p>\n<p>Anyways, what I wanted to share was that the <strong>Brackets</strong> team is using Trello as their SCRUM board.. being a happy Trello user myself, this is off course both interesting and exciting...</p>\n<p><a href=\"https://trello.com/board/brackets/4f90a6d98f77505d7940ce88\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"/media/wp/2012/05/screen-shot-2012-05-03-at-9-53-59-am.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></a> The Brackets Team obviously practices Scrum. They have decided to work iteratively and produce stable builds every 2.5 weeks (12 coding days to be exact). A rather unusual number, however it works for the Adobe Brackets team... Development started in January 2012 so it&#39;s still in the very early stages of the project.</p>\n<p>The project goes under the parole: Code Free ! So I suggest you do exactly that, join the project, contribute a feature or two, learn a lot and then take this approach and apply to your development efforts in your own circles, being commercial or not, the approach is clever and when executed correctly, can empower to teams and the extended teams like no other approach...</p>\n",
      "date_published": "2012-05-03T03:05:21Z",
      "date_modified": "2012-05-03T03:33:00Z",
      "tags": [
        "Methodology",
        "Tools",
        "Adobe",
        "Brackets",
        "Trello"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/introducing-adobe-brackets-a-new-htmlcssjavascript-code-ide",
      "url": "https://forwardthinking.pemo.me/posts/introducing-adobe-brackets-a-new-htmlcssjavascript-code-ide",
      "title": "Introducing Adobe Brackets... a new HTML/CSS/JavaScript Code IDE",
      "summary": "Brackets ... a new HTML/CSS/JavaScript Code IDE ...by putting this into the eco system, Adobe has just shaken the bag once again... sparking off their ideas…",
      "content_html": "<p><strong>Brackets</strong>... a new HTML/CSS/JavaScript Code IDE ...by putting this into the eco-system, Adobe has just shaken the bag once again... sparking off their ideas and possibilities on ways to optimize the development stack for Web Applications and Experiences... this is most recent newcomer... <a href=\"/media/wp/2012/05/screen-shot-2012-05-02-at-5-02-01-pm.png\"><img src=\"/media/wp/2012/05/screen-shot-2012-05-02-at-5-02-01-pm.png\" alt=\"Image\" loading=\"lazy\" decoding=\"async\"></a> Among the most interesting aspects to this new IDE project is that...</p>\n<ol>\n<li>It&#39;s Adobe Systems Inc.</li>\n<li>It&#39;s 100% Open Source</li>\n<li>It&#39;s being developed in entirely the open, a new approach by Adobe and means everyone is invited to join the team (and release party)</li>\n<li>Its written entirely in HTML, CSS and JavaScript itself...</li>\n</ol>\n<p><strong>Brackets</strong> seek to differentiate itself from other IDE&#39;s by being envisioned with the following key parameters...</p>\n<ul>\n<li><strong>Tools shouldn&#39;t get in your way.</strong> Instead of cluttering up your coding environment with lots of panels and icons, the Quick Edit UI in Brackets puts context-specific code and tools inline.</li>\n<li><strong>Brackets is in sync with your browser.</strong> With Live Development, Brackets works directly with your browser to push code edits instantly, set breakpoints, and jump back and forth between your real source code and the browser view.</li>\n<li><strong>Do it yourself.</strong> Because Brackets is open source, and built with HTML, CSS and JavaScript.</li>\n</ul>\n<p>You can already now download a very early binary and start playing with it, or you can download the source code and compile for yourself. It&#39;s important to note that... <strong>Brackets isn&#39;t ready for general use yet.</strong> It&#39;s still <em>very</em> early in development, is missing a lot of basic editor features, and <em>probably</em> has bugs. That said, we&#39;ve actually been using Brackets to develop Brackets for awhile now, so what&#39;s there is reasonably stable. Although <strong>Brackets</strong> is built in HTML/CSS/JS, it currently runs as a desktop application in a thin native shell, so that it can access your local files. (If you just try to open the index.html file in a browser, it won&#39;t work yet.) The native shell for Brackets lives in a separate repo, <a href=\"https://github.com/adobe/brackets-app/\" target=\"_blank\" rel=\"noopener noreferrer\">adobe/brackets-app</a>, which includes this repo as a submodule. The project is hosted at GitHub and offers you to both download binaries for MAC and Windows as well as the entire source code... Check it out... <a href=\"https://github.com/adobe/brackets\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/adobe/brackets</a> <strong>Brackets</strong> will be one of the first to take the place in the Code section among Tools and Services on Adobe&#39;s page dedicate for HTML development... so that would be the place to check for public announcements along with Adobe Labs... <a href=\"http://html.adobe.com/toolsandservices/\" target=\"_blank\" rel=\"noopener noreferrer\">http://html.adobe.com/toolsandservices/</a></p>\n",
      "date_published": "2012-05-02T10:18:40Z",
      "date_modified": "2012-05-03T03:29:31Z",
      "tags": [
        "Tools",
        "Adobe",
        "Brackets",
        "JavaScript"
      ]
    },
    {
      "id": "https://forwardthinking.pemo.me/posts/jasmine-a-javascript-testing-framework-2",
      "url": "https://forwardthinking.pemo.me/posts/jasmine-a-javascript-testing-framework-2",
      "title": "Jasmine - A JavaScript Testing Framework",
      "summary": "Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited…",
      "content_html": "<p>Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it&#39;s suited for websites, <a href=\"http://nodejs.org\" target=\"_blank\" rel=\"noopener noreferrer\">Node.js</a> projects, or anywhere that JavaScript can run.</p>\n<p>Check it out...<br><a href=\"https://github.com/pivotal/jasmine\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/pivotal/jasmine</a></p>\n<p>Jasmine is a <a href=\"http://en.wikipedia.org/wiki/Behavior_Driven_Development\" target=\"_blank\" rel=\"noopener noreferrer\">behavior-driven development</a> (BDD) JavaScript testing framework <a href=\"http://pivotallabs.com/\" target=\"_blank\" rel=\"noopener noreferrer\">Pivotal Labs</a> maintains it and makes it available on <a href=\"https://github.com/pivotal/jasmine\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub</a> under the MIT license. Jasmine allows tests to be written independent of the DOM or other JavaScript frameworks. You run Jasmine in a browser, or headless without a browser by integrating with other frameworks such as Rhino, Envy, or the <a href=\"http://johnbintz.github.com/jasmine-headless-webkit\" target=\"_blank\" rel=\"noopener noreferrer\">Jasmine-headless-webkit library</a>.</p>\n<p>Jasmine API includes features such as:</p>\n<ul>\n<li>A more natural BDD syntax for organizing the test logic than JUnit style assertion test frameworks</li>\n<li>Asynchronous testing</li>\n<li>Mocks</li>\n<li>Spies</li>\n<li>Easy to create custom matchers</li>\n<li>Ability to share or isolate behaviors between tests within a spec encapsulating parts of your spec.</li>\n<li>Continuous integration support</li>\n</ul>\n<p>If this has caught your interest, I recommend that you check out this article on the Adobe Developer Network about how to get started using Jasmine to test your Javascript applications...<br><a href=\"http://www.adobe.com/devnet/html5/articles/unit-test-javascript-applications-with-jasmine.html\" target=\"_blank\" rel=\"noopener noreferrer\">http://www.adobe.com/devnet/html5/articles/unit-test-javascript-applications-with-jasmine.html</a></p>\n",
      "date_published": "2012-05-01T17:52:31Z",
      "date_modified": "2012-05-01T17:52:31Z",
      "tags": [
        "Uncategorized",
        "Frameworks",
        "JavaScript",
        "Testing",
        "Tools"
      ]
    }
  ]
}