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:

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.

6 Things to Know Before Buying Your Next Electric Lighter

Buying Your Next Electric Lighter
The world is continuously and steadily advancing towards futuristic, eco-friendly, and sustainable alternatives to traditional products. It is high time we shift our heavy dependence from natural resources and make the most of the substitutes available to us which are not only more technologically advanced, modern, and efficient but also contribute a great deal towards a world more sustainable and free of its dependence on fossil fuels. The market is now filled with alternative options in simple tools which not only comply with the needs of the present generation but are also sustainable and energy saving. Many devices that we use in our day-to-day lives have changed, owing to the rethinking of technology. One such alternative is the electric lighter. It is the future and the substitute of butane and fossil fuel-filled lighters. However, we must admit that the word lighter inspires images of a conventional fire in our minds. However, that’s not what the electric lighter does. As the name rightly depicts, it is run by electricity rather than mercury, as opposed to conventional lighters. More and more people are adopting them for their efficiency and longer lifespan. electric current flows

The 6 Things to Know Before Buying Your Next Electric Lighter

What do you need to know before you purchase your first/next electric lighter? Read on to find out:

1. It’s Inexpensive in The Long Run

The general, uninformed consensus about electric lighters is that it’s more expensive than traditional lighters. Yes, they are an investment at first but considering their lifespan, which is way longer than standard lighters, and their sturdiness, it’s an investment worth making. Traditional lighters are often made of cheap plastic which is highly prone to breakage, and eventually leakage. However, that’s not the case with electric lighters. They have a heavy duty body and last for a long while because they are safe from breakages.

2. They are Butane and Fossil Fuel Free

Are you aware of that odd smell that lighters give out when lit? That’s greenhouse gases being emitted due to the butane present in the lighter. These liquids are not only susceptible to leakage but also highly detrimental to the environment. Moreover, you have to buy one every time the fluid gets exhausted. Instead, when you shift to rechargeable lighters, you invest in something that is free of fossil fuels and is built to last longer than any traditional lighter.

3. They are A Lot Safer

When you carry a regular lighter, you’re bringing nothing but a plastic tube filled with highly flammable gas. Does that sound too safe to you? No, right? That’s because it’s not. They can break, spill, and cause a fire anywhere. They are especially highly detrimental to carry/use somewhere with a high density of vegetation around. Electric lighters, on the other hand, don’t run any such risks. They are even weatherproof, meaning that they aren’t interrupted by the wind. Some electric lighters are also made water-resistant so that you can light a fire even if it’s raining outside. These battery-operated lighters are safe to use even for children. So you can now give your child the lighter during camping or fishing without any worries of mishandling. lighter  

4.Simple USB Recharge

A lighter than can be recharged. Is there anything more efficient than that? Electric lighters can be quickly restored with a simple USB for a very short span of time and used for a way more extended period. This makes it very modern because in the present date, who has the time anyway, right? You can put it on charge a few minutes before you leave the house and you’ll be set for the day. No worries of buying a new lighter every time the butane gets exhausted,

5. They are Travel-Friendly

Thanks to the super sturdy built, comfortable and light-weight feature, and safety of the electric lighters, they can be carried anywhere without any worries of spillage or breakage. You might know that traditional lighters are not allowed during air travel due to their high flammability. That isn’t the case with electric lighters. They are a hundred percent safe to carry in your luggage. You don’t have to worry about your clothes smelling of butane or even an accidental fire. Moreover, this saves the cost of buying a new lighter every time you take a flight.

6. They Are Eco-Friendly

More than anything, these lighters are modern because they succeed in coping with the sustainability trend that has seized every item we use on a daily basis. You will be surprised to know that over 2 billion disposable, plastic lighters land up in landfills, contributing to the more significant issue of environment and plastic pollution. Not only do they release those harmful gases but also eventually break up into smaller pieces of plastic due to their inability to be recycled. These bits of plastic then end up in the oceans, harming the water quality and marine life. Electric lighters last for long and are made of materials that can be recycled to be used again and don’t give out harmful gases when lit or disposed of. It is high time that you think of the bigger picture and takes into consideration investing in an electric lighter the next time you buy a lighter. This will save you money in the long term, prove to be very practical and useful, and be a much more responsible and sustainable decision.

Buying Your Next Electric Lighter

Do your part to save the environment. In turn, you can ensure that you have it quick and easy when it comes to getting the lighter to light up your cigarette. Have you thought about buying your next electric lighter yet? Reference: