next-generation package manager

Duo is a next-generation package manager that blends the best ideas from ComponentBrowserify and Go to make organizing and writing front-end code quick and painless.

Install It

Install Duo straight from npm with:
$ npm install -g duo

Getting Started

To get started just write normal Javascript, requiring from GitHub as you need them:
var uid = require('matthewmueller/uid');
var fmt = require('yields/fmt');

var msg = fmt('Your unique ID is %s!', uid());
That matthewmueller/uid will pull the dependency straight from GitHub, without you needing to edit any package manifest file! You can also require modules straight from your file system:
var modal = require('./modal/index.js');
Then use duo to install your dependencies and build your file:
$ duo index.js
Finally, drop a single <script> onto your page and you’re done!
<script src="build/index.js"></script>
Same goes for CSS! You can require dependencies and assets straight from GitHub or from the file system:
@import 'necolas/normalize.css';
@import './layout/layout.css';

body {
  color: teal;
  background: url('./background-image.jpg');
Then bundle up your CSS with duo:
$ duo index.css
And add your bundled-up stylesheet to your page!
<link rel="stylesheet" href="build/index.css">


  1. has first-class support for Javascript, HTML and CSS
  2. exposes a unix-y command line interface
  3. pulls source directly from GitHub with semantic versioning
  4. supports source transforms, like Coffeescript or Sass
  5. does not require a manifest


Duo was designed from the ground up to grow alongside your application, making your three main workflows incredibly simple:
  1. creating quick proofs of concept
  2. writing modular components
  3. building large web applications

I. Proofs of Concept

As developers, we often need to test out an idea or isolate a bug. One of the big issues with existing package managers is that you cannot use your package manager without a lot of boilerplate files like package.json or component.json. Duo removes this boilerplate, letting you require packages straight from your source code:
var events = require('component/events');
var uid = require('matthewmueller/uid');
You can also include versions, branches or paths:
var reactive = require('component/reactive@0.14.x');
var tip = require('component/tip@master');
var shortcuts = require('yields/shortcuts@0.0.1:/index.js');
And the same goes for CSS with import:
@import 'necolas/normalize.css';
@import 'twbs/bootstrap@v3.2.0:dist/css/bootstrap.css';
You can even directly require .html or .json files:
var template = require('./menu.html');
var schema = require('./schema.json');
Duo will take care of the rest, transforming the .html into a Javascript string, and .json into a Javascript object. When you’re ready to build your files, just run:
$ duo index.js index.css
The new files will be located in the newly created build/ directory, using the same structure as your project.

II. Components

A successful package manager needs to have a strong component ecosystem. Duo supports all of the existing Component packages out of the box. And, since Duo can load from paths, it supports many Bower packages too. There are even plans to support Browserify packages as well. We’re hoping to bridge the gap between all the different package managers and come up with a solution that works for everyone. To create your own public component, just add a component.json to your repository:
  "name": "duo-component",
  "version": "0.0.1",
  "main": "index.js",
  "dependencies": {
    "component/tip": "1.x",
    "jkroso/computed-style": "0.1.0"
And then publish your component on GitHub, so that others can install it by simply requiring it into their application:
var thing = require('your/duo-component');
If you’re coming from the Component community, you’ll notice that we no longer need to add scriptsstyles or templates. Duo handles all of this for you, walking the dependency tree like Browserify and including everything you need automatically, for both Javascript and CSS!

III. Web Applications

In order for a package manager to be truly useful, it needs to scale to accommodate building entire web applications. Once again, Duo makes this process seamless. Duo allows for building multiple pages at once, so that you can split up your application into different bundles and keep your page assets slim. To build from multiple entry files, just pass more than one entry into duo:
$ duo app/home.js app/about.js app/admin.js
You can even use brace expansion:
$ duo app/{home,about,admin}/index.{js,css}
If Duo discovers an asset like an image or font along the way, it will automatically include it in your build/ directory. Say we have the following image in our CSS file:
@import 'necolas/normalize.css';

body {
  background: url('./images/duo.png');
Duo will symlink duo.png to build/images/duo.png, so that you can serve the entire build/ directory from your web server.


To see some more complex examples of Duo in the wild, check out any of these repositories on GitHub:


For more information, read through some of the resources put together by the folks in the Duo community:

RCA Sport Neckband Review

RCA Sport Neckband review
Although I am quite happy with the pair of headphones that I am using, a couple of Panasonic Stereo Headphones, a friend of mine let me borrow a pair of their headphones. After trying them out, I thought I would write a review of what I thought of them. The headphones are a pair of RCA Sport Neckband Headphones. RCA Sport NeckbandThe first thing that I noticed about these headphones was that the cord didn’t look like the plastic cord you usually see on a pair of headphones but rather a cord-like what you would see on a boot for a shoelace. This was both intriguing and a little bit disappointing, while I assume that the cable is designed this way to look fresh and possibly for better protection, I, for one, like to have a volume control device on my headphones cord. Still, I had to give the design props because, as I said, the RCA Sport Neckband Headphones looked very cool. My friend said that the headphones were very inexpensive, under fifteen dollars, and that they had been using them for quite a while and had not noticed any decrease in the quality of sound. I thought that their sound quality was excellent too. Although it is not my favorite design for headphones to have them with a behind-the-neck fitting, these ones were not uncomfortable and very lightweight. When it comes to canceling out a sound, I don’t think that these are the best headphones, though. If someone is using them and has their music turned up, then everyone else in the room can hear the music, although not clearly, and that can be kind of annoying for surrounding people, plus bad for the person listening to such loud music. When the TV is on, you have the urge to turn the volume up of the music because the RCA Sport Neckband Headphones do not keep out other noises very well. I would recommend these headphones to anyone who was looking for a pair of headphones that had the behind-the-neck fitting. If you don’t like that kind of accessory or are looking for a couple of headphones that you can use to keep other people from hearing your music, as well as you from hearing other things while you are listening to your music I wouldn’t recommend these and would suggest that you check out the review of the Panasonic headphones that is mentioned at the beginning of this article. All in all, I thought that the RCA Sport Neckband Headphones were great; they just were not for me.

Are In-Ear Monitors Safe For Singers?

Are In-Ear Monitors Safe For Singer
There is no doubt that singers have a lot of tools available to them. This can be both a good and bad thing. These tools are essential for recording and live performances and tools are just that. Sure, they are designed with the most innovative technologies and reliability, but there is always that off chance that something could go wrong. One such device that singers depend on is in-ear monitors. These devices are used in loud stage environments and they help reduce the impact of loud and harsh noises. However, these devices should only be considered a protection device if they are used at the right levels. Below, you are going to learn what you need to know about in-ear monitors and how they can better protect your hearing.

Eliminating Feedback

The best in-ear monitor system for singers can really eliminate unwanted feedback. For a singer or musician, there is nothing worse than unwanted feedback. Feedback in that intense buzzing whine that will immediately send your hands to your ears. This is something that can be extremely harsh on the hearing and this is where in-ear monitor systems come in handy. Feedback usually occurs when amplified sound from a loudspeaker is picked up by a microphone and re-amplified. Simply put, when microphones and monitor loudspeakers are too close together it is going to produce feedback. When you crank the mics to higher levels, you are probably going to get tons of painful and deafening feedback, but in-ear speakers can eliminate the issue. In-ear speakers really eliminate this issue because they seal the loudspeakers, which breaks the feedback loop.

Improves Overall Hearing Health

When your ears are exposed to harsh and loud sounds for prolonged and extended periods of time the end result is hearing damage. There are a number of in-ear products out there, but it really is the in-ear monitors that excel at protecting your hearing. It is true that singers and musicians can use earplugs to combat these conditions, but this poses another problem. When using earplug, you are going to alter the frequency response to levels where it will muffle the audio. This is where in-ear monitors can provide the best of both worlds. They will not only not muffle the sound, but they will provide the protection that you need to keep your hearing in top condition. Along with this, you will have controls in your hands that will allow you to adjust the levels within the blink of an eye. IEM  

Eliminates Tinnitus And Hearing Loss

Have you ever been to a concert where your ears just rang and rang afterward? Well, you were just in the crowd. Consider the singer or musician that was on stage amongst all the high powered equipment. When you hear ringing in your ear, you are most certainly in danger of noise-induced hearing loss. In fact, even if your ears don’t ring there is a good condition that you are still in danger of hearing loss when exposed to such harsh sounds. In-ear, monitors can protect singers and musicians from such conditions. These devices will not only block out unwanted feedback, but they will provide the protection that you need to eliminate tinnitus and future hearing loss.

Protection For Limited Time

It is true that in-ear monitors are excellent protection devices but singers and musicians. However, one needs to know that there are limits as to the amount of protection these devices can offer. This, of course, can depend on the type of system that you are using and the noise levels that you are being exposed to. However, for standard purposes, most experts would only recommend exposing yourself to one or two hours of loud sound. For bands and singers that play multiple sets for three or more hours, it would probably be highly advisable to lower the volumes. The average volume of the speakers should be no more than 95 to 97 dB. That being said this can be somewhat of a problem because it can be extremely hard to determine the actual decibel level that is coming in through the in-ear monitors. The only way to measure such levels is by taking advantage of ear-probe technology.

What is Managed WordPress Hosting?

Managed Wordpress Hosting
Do you have the website you need? Most businesses have an online presence, but not many are happy with the hosting plan they have. Your website offers your visibility to build brand credibility and can help you to acquire new leads to engaging with customers in a better way. However, you need a website that is easy to access, quick to load and runs all the time. Basically, you need a web host provider who offers a high uptime, and plans suited to your different needs. While it’s easy to build the site you need today without much technical knowledge, you need to have the right expertise to choose the right hosting provider. Your web host provider could offer you a lot many things apart from server space – they could help you design beautiful websites using the website builder provided by them, or provide extra security and backup features you need.
Your Web Host Provider – The Platform to Start Building Your Website
To make a website, you first need to choose a provider whose platform you are going to utilize to host the site. You can choose from various types of hosting including shared hosting, Virtual Private Servers (VPS), dedicated servers or WordPress hosting. You need to determine the requirements of your business and select the one that is best for you. For one, you might need to go for the VPS option if you have an expanding business with more visitors. You might even have to opt for a dedicated server if you have a large organization and are paranoid about your website’s security – dedicated servers ensure that you have an entire server to yourself, without having to share resources to anyone else.

What is Managed WordPress Hosting?

Managed WordPress Hosting Managed WordPress hosting, as the term suggests is a type of hosting which is ‘managed.’ Typically when you have a bigger budget and have a high traffic site, then Managed WordPress hosting is the one you should choose. The WordPress hosting companies manage all the technical stuff related to your WordPress site, so you don’t have to worry about them. The main features in a Managed WordPress hosting are:
  • Security
  • Site Speed
  • Offsite Backups
  • Website uptime monitoring
  • WordPress support
  • Server Updates
Site Speed: One of the most significant advantages of Managed WordPress hosting is that you can get excellent speeds for your sites and thus your site will run all the feature and functions efficiently and provide users a great experience. Security: Managed WordPress hosting provides you enhanced protection as compared to shared WordPress hosting, and you will be protected against attacks from Viruses and Malware with your site being managed by these hosting companies. Offsite Backups: You can have offsite backups for your site and not on your dashboard. So, you don’t have to worry even if- Your site goes down due to some maintenance or other error – Someone aware of your password takes down your place, You can have a backup of your site and not worry about losing all your data or losing online traffic, because the data was lost and your site is no longer accessible.

What should you expect from Managed WordPress hosting?

The following points are what you should be expecting when looking towards Managed WordPress hosting: The primary site speeds should be about in the 20% of all the tested websites Sites with Content delivery network /content distribution network should have the speeds within the 1% of all tested sites. This gives the website visitors a smoother experience surfing your site, and thus Google seems to appreciate this and increase your website ranking up. Managed WordPress hosting should provide you the ability to defend against brute force attacks by restricting the failed login attempts to your site. The Managed WordPress hosting company should offer you enhanced protection and have Anti-Virus and Anti-Malware functionality. They should provide a regularly scheduled scanning for any malicious or harmful content, so any such threats get detected and get removed timely. “404 Errors” which are the result of attack bots, on the sites, should be identified when you have Managed WordPress hosting. They should be locked out from your system and recognized in case of intrusion. For privacy and security reasons, the Admin panel and Login areas should have the ability to be locked down for hiding the IP address of the admin. Managed WordPress hosting should give you the option to block specific IP addresses or IP addresses from certain countries, locations, regions or even entire countries if you are facing a lot of spamming or attacks from those locations. Drawbacks/Disadvantages: There are certain drawbacks or disadvantages associated with Managed WordPress hosting which are:
  • Managed WordPress hosting is quite expensive.
  • Your site can go offline for some time in the case, e.g. your broadband connection or if WordPress is in maintenance mode.
  • There would be server updating, and your site can become unavailable due to that.
  • The Managed WordPress hosting service is ‘metered,’ and you have to pay per site, which can also lead to an increase in your costs.
  • There is a limit on the traffic that you get on your website.


If you are starting out as a beginner blogger and want to have your website for your photography, travel or cooking blog, and are low on budget, then Share WordPress hosting should be your choice. But if you have a bigger budget and are planning to go big then Managed WordPress hosting is the thing for you. You can have all the advantages of increased speeds, best security and not having to worry about any updates that need to be done to the site. Similarly, if you need just have a personal blog or your small business, all you need is a simple shared hosting plan. Most of the web host providers off you the WordPress option, and you can install them – WordPress is the most common website platform available today.

What is WordPress Cloud Hosting?

WordPress Cloud Hosting
WordPress Cloud Hosting is a relatively newer and increasingly popular type of WordPress hosting. It is basically an alternative to Managed WordPress hosting and share WordPress hosting. WordPress Cloud hosting your website is not hosted on a single server like in shared WordPress hosting you share your site with several other sites, possibly thousands of them. And in managed WordPress hosting you have a dedicated server for your website. However, in WordPress cloud hosting, there is not a single server to do the WordPress hosting, and instead, there is a ‘cluster’ of servers spread across different locations in a country/region or even different countries worldwide. The data of websites is stored, not on a single server but multiple servers on the Cloud, which act together as a single large server. The resources are also spread across multiple servers in WordPress Cloud hosting and can be easily used by anyone who has their website on these Cloud WordPress hosting servers. There are several advantages of WordPress Cloud hosting. We will take a look at a few of them below:
  • Reliability.
  • Faster speed.
  • Reduced downtime.
  • Maximum resources are available.
  • Scalability.
We will take a look at each of them in detail below.


WordPress Cloud hosting is a really reliable form of WordPress hosting because there are multiple servers available for hosting your WordPress website and in case there is a failure of one of the servers or its hardware, then there are other alternative servers available, and they can store mirror copies of your WordPress website. So, you can rely on the WordPress Cloud hosting companies that your site will not go down in case of server or hardware failure. All your WordPress data will be stored not only on one server, but it will have its copies on the Cloud to all its other servers too, and this gives you a lot of benefits. cloud hosting

Faster speed:

In WordPress Cloud hosting there are multiple servers in clusters which act together as a unit and hence there are faster speeds available to host your website. There is load balancing done by WordPress Cloud hosting companies, so in case of a particular server let’s say in Germany, having high traffic, the WordPress Cloud hosting company can balance the load to another server, like in the U.K.

Reduced downtime:

In WordPress Cloud hosting there is a redundancy of servers since there are multiple servers on the Cloud, so there is a highly reduced downtime for your WordPress website. You can expect to have increased uptime available for your site because of this. And this is the reason a lot of people now tend to prefer WordPress Cloud hosting than the conventional WordPress hosting options.

Maximum resources available:

In WordPress Cloud hosting you can avail the benefit of utilizing virtually 100% of the funds allocated to you, because alternative servers are available, and you don’t have to rely on a single server which distributes its resources to all the websites that are hosted on the WordPress Cloud hosting company.


There is another advantage of choosing WordPress Cloud hosting and that is scalability. The resources available for your website are scalable and according to your websites’ demands and requirements. The resources are scaled according to the time, the number of users, and the number of your site visitors. So, if your site is growing, you don’t have to worry about the resources available to you or the downtime.  

Which WordPress Cloud Hosting Company Should You Go For?

There are several WordPress Cloud hosting companies who offer Cloud hosting. Here is a list to give you an idea about them:

1 & 1 Web Hosting

The web hosting provider is almost similar to HostGator in its offerings, but it stands out from the rest due to one reason. It is the best WordPress hosting provider available out there. Millions of websites are powered by WordPress all over the world, and it is an excellent choice for WordPress users. It also offers dedicated servers, VPS and shared hosting.

2. Bluehost

They have been there for as long as we know it. Bluehost is a reliable web hosting company which can be ranked a bit lower than HostGator due to lack of some features, but it is really worth checking out. It has a balanced offering between features and pricing and provides VPS, shared hosting, dedicated servers and WordPress hosting.


WordPress Cloud is hosting an increasingly popular alternative to Managed WordPress hosting and Shared WordPress hosting. More and more people are moving to the Cloud WordPress hosting because of the several advantages and benefits it offers to its customer. You get speeds higher than the other options. You don’t have to worry about the uptime for your WordPress website and how much downtime will the WordPress hosting company has in 30 days. You will have a reliable solution for your WordPress website’s hosting and will not have to worry about the allocation of resources to you. There are many WordPress hosting companies, and you can decide any one of them according to your budget and requirement. Google Cloud is one of the largest and reliable solutions since it is the biggest and leading tech company. But obviously, it is up to you to make your choice.