Receiving Fanout Messages on SockJS Subscribers in RabbitMQ

By // No comments:
SockJS is a popular library for receiving and sending messages from messaging queues in Javascript which works on Stomp over Websockets. The basic underlying architecture of RabbitMQ consists of Exchanges which receive messages and distribute them to respective queues. One message in general is received by one consumer. Sometimes there is a need to send (or broadcast) messages to multiple consumers. In this case, the Publish/Subscribe mechanism of RabbitMQ can be utilized.

This tutorial focuses on creating a RabbitMQ publisher in Python using the Pika library and consuming the messages in a SockJS client. Since this we will be consuming messages directly from the Exchange, any number of consumers can be created and they will all receive the messages.

Creating a Publisher in Python

The following code creates a connection to RabbitMQ server on localhost, creates a new exchange named 'broadcast' and publishes a message 'Hello World!' to it.

#!/usr/bin/env python
import pika
import sysimport os
url = os.environ.get('CLOUDAMQP_URL', 'amqp://localhost')
params = pika.URLParameters(url)params.socket_timeout = 5
connection = pika.BlockingConnection(params) 
channel =
channel.exchange_declare(exchange='broadcast', type='fanout')
message = 'Hello World!'
channel.basic_publish(exchange='broadcast', routing_key='', body=message)
print(" [x] Sent %r" % message)

Credits and more explanation:

The exchange is of type fanout, which means that it will broadcast messages to all the consumers. The routing_key is kept blank because we don't want to publish this message in any particular queue but the exchange.

Creating Consumers in JavaScript using SockJS

The following code connects to a SockJS service running on localhost and consumes messages from the broadcast exchange.

Stomp.WebSocketClass = SockJS;
var mq_username = "guest",    
mq_password = "guest",    
mq_vhost    = "/",    
mq_url      = 'http://' + window.location.hostname + ':15674/stomp',
    mq_exchange = "/exchange/broadcast";
var output; 
function on_connect() {  
output.innerHTML += 'Connected to RabbitMQ-Web-Stomp';  
client.subscribe(mq_exchange, on_message);
function on_connect_error() 
output.innerHTML += 'Connection failed!';
function on_message(m) {  
console.log('message received');   
output.innerHTML += m.body + '';
var client = Stomp.client(mq_url);
window.onload = function () {
  output = document.getElementById("output");
Credits and more explaination: 

You can create any number of such consumers and they all will be receiving the sent messages.

This tutorial was brought to you by WeboGraffiti. Thanks for reading.

10 most common logo design mistakes

By // 3 comments:

Designing a logo or getting a logo designed nowadays is quite multifaceted and difficult. As the technology is progressing and advancing each day. So is the logo designing business, the competition is getting more complex by each passing day and so is the designing. Although there are numerous tools and techniques which can be utilised to design auspicious and pertinent logo designs for the companies and brands.While designing a logo most of the designers make some very stupid and careless mistakes. And these mistakes lead them to devastation, there are numerous mistakes done by the designers although they are quite small but highly affects the whole look of the design. In logo designing very minuet details are noticed and thus one has to be very careful while designing a logo.

1. Using the wrong typography

There are heaps of websites to download fonts at no cost however be responsive of the latent consequences in terms of authorisation as well as rights, which might leave you having to create over your effort with a fresh font. If you're doing specialised exertion, don't withdraw away from the initiative of paying for proficient fonts. Try to utilise the professional fonts present in the market which can assist you.As well as choosing from where to acquire your fonts from, your typography preferences are similarly significant. Utilising the wrong and in accurate typography can be devastate the whole outlook of design. So always look out for the pertinent font and style.

2. Font overload

Having an apparent, systematic design is essential and so it's imperative not to utilise countless assorted fonts within part. You yearn for your kind to appear reliable so don't mystify the onlooker by layering up your page with heaps of mottled typefaces.As a universal rule, try to fuse to two diverse fonts and utilise the variety of font weights to distinguish and show up areas.

3. Failing to proofread

By means of the spellchecker is a pertinent way for finding out the misspelled words which can be seen in your work and design. However some words or mistakes are not highlighted but the spell checkers such words like ‘don’t’ or ‘do not’ or many other words like these. You must always proofread your each and every piece of work to avoid mistakes and rejection in future.

4. Not considering context

Even if you're designing a symbol, an icon or any other design aspect, nowadays you'll call for to make certain it's relocate across a variety of diverse mediums – both digital as well as analogue. So you'll have to make certain that the size, shades, and the whole design will toil on in print products such as symbols and fabric material across a variety of technology touch points for example on cellular devices, desktop computers and several more devices.

5. Slavishly following logo trends

Opting to create as well as design your logo based on recent and contemporary trends is probable to leave-out your logo looking old-fashioned and obsolete as soon as the style expire out, not to refer to you appear faintly recreational. Relatively than opting the trendy flavor of the year, think regarding to the fact what's more probable to have prolonged existence for your brand.

6. Plagiarism

Inventiveness is a key and must be the focal point of every designer, stealing will not be overlooked. Assembling manipulation and encouragement is exceptional but directly copying other people’s design is not. Furthermore with the up to date augmentation of social media, you menace your design offence being made preposterously populace. Keep your integrity and keep your work genuine.

7. Using too many stock images

Stock imagery can be extremely obliging to a designer, in particular when you don’t have sufficient money to appoint a specialised photographer. Nevertheless, certain stock photograph appears to make the design circuit, particularly within digital knack and can turn out to be overly recognisable. Endeavour to shun utilising stock model images the same as a central focal point for your design since if you sense it's a first-rate photograph then it's more than probable others will too. It would be a disgrace if you created a striking design only to stumble on if others are utilising the similar image in a new design, taking the buff and inventiveness off yours.

8. Unable to comprehend and articulate

Devoid of an apparent initiative of what the customer requires, you can wind up making matters knotty for yourself. A lot of time can be tired out adjourning, or toiling up design thoughts that might not be pertinent to the customer’s needs. As an option, you require interpreting and comprehending the concise vigilantly from the beginning, make some notes but do brainstorm and strive to keep get in touch with the consumer to make certain that what you are toiling up is moving on the accurate route.

9. Bizarre Shades

Shades or the color scheme must be according to the brand for which the logo is being designed. However, there many designers who are not able to understand the main essence of the brand and chooses some bizarre and unappealing shades or color scheme which devastates the whole design. The color scheme must be according to the brand and should signify it effortlessly.

10. Jumbled-up

Usually the logos are quite clean but there are some logos which are quite jumbled up and it becomes difficult to comprehend the logo and its design. Which devastates and destroys the whole logo as the designer should always bear in mind to design a clear and comprehensible logo.

These are the most common mistakes or you can say blunders ever done by the designers and creators. However these mistakes can be avoided if the designer carefully designs a logo while keeping in view what the brand or company requires or what message they want to convey through their logo design.A logo is an identity of a brand so it must be striking, proficient and innovative one so it could grab the user’s attention within no time and can give salubrious results and outcomes.

Author Bio:
I am Victoria Lucy, I have been working in Logo Design Company in UK as a Content Writer. I yearn to moil for this company, an inimitable and fine company to endeavor. It is a premium services yielder and impeccable for its consumers.

How to Migrate From iPhoto to Photos for Mac

By // 3 comments:
How to Migrate From iPhoto to Photos for Mac

Apple has launched its latest Mac OS named Yosemite in 2015. With that, the company also released the new image editing application called Photos for Mac. The app was indeed announced in 2014 in the Worldwide Developers Conference. One of the best things about the Photos for Mac is that it was built from the scratch to be compatible with Yosemite. Another great thing about this app is that it can be integrated with the Photos app designed for iOS devices.

Now, Photos app has replaced iPhoto on the iOS devices. This is why you may need to move your photos from iOS to the Photos for Mac OS. This will allow you to use your photos and images with the greatest image editing app Apple has ever come up with.


The photos get migrated from iPhoto to Photos for Mac automatically if your Pictures folder has only one library. But, if there are more photo libraries on your Mac computer, then the things can get a little tricky. Also, if you have split any of your iPhoto libraries, again it may become a little difficult to synchronize automatically. In this case you may need some assistance to manually migrate the libraries from iPhoto to Photos.

If you want to make sure of the iCloud Photo Library then you will need to make sure that your iCloud account has enough storage space. If you have turned the iCloud Library on in your Mac Photos application then all your photos and images will get uploaded in the cloud storage and it will take up a lot of space. You can go to Preferences and turn the iCloud Photo Library off. Apart from all, now user can download iPhoto for PC.

Migrating the Photos from iPhotos to Photos

When you launch the Photos app on your Mac for the first time, it will ask you to pick the library. It would be a good idea to pick the biggest library and allow it to migrate to Photos. Once it has migrated, you can start the migration of the other libraries.

In case you need to do it manually, here are the steps you can follow:
  • 1. Close the Photos application on your Mac
  • 2. Press and hold the Option key and start the Photos app now
  • 3. You will be prompted to choose the library you want to migrate or open. If you don’t see the library listed, you can click “Other Library”
  • 4. Pick the library you wish to migrate and then click on “Choose Library.”
There is an alternate way to migrate the libraries. Choose the library you wish to migrate and drag it over the icon of the Photos app. If you wish to create a completely new directory, you can select “Create New.”

Once you have installed the multiple libraries, you can also toggle between them when the Photos app is open:
  • Press and hold the Option button on your keyboard
  • Double click on the Photos icon
  • Choose the library that you want to open
If you find any issues while transferring pictures then can drop your comment below.

Author Bio:

Deepak is part time blogger cum writer having good knowledge of SEO. He is the editor of

How to Make the Most of Parental Control Apps

By // No comments:
Spy applications are a brilliant invention. They might have made the process of stalking people way too easy but at the same time, seeing the world that we live in, dealing with stalkers is the least of our concerns. Now-a-days it is hard enough as it is for people to be able to go outside without having to worry about the danger that is lurking around every corner, just waiting for you. While teenagers might find such concern amusing, seeing the fast paced life that they live, for most adults, especially for parents it is the worst sort of nightmare. In such situations, spy apps are akin to a miracle. Using the various features offered by spy applications, parents are not only able to keep track of their child’s whereabouts but at the same time they are also capable of telling them about the various parts of their teen’s life.

Yet, when push comes to shove most parents do not monitor their kids closely. Even when they are using spy applications, parents still need to watch their wards closely in order to make sure that they are not in any sort of danger. Therefore, to make the most out of a parental control app, parents need to:

Read the Reports Regularly

One of the primary benefits of spy applications is its reporting feature. Usually they always notify you of the changes that take place on the target device in real time, like the arrival of a new text or a call being made, but the best feature might just be the reports about the tiniest, nitty-gritty details of your teen’s online activities that it sends your way when you are not able to receive such notifications in real-time. The reason behind the delivery of such reports is to assure that parents are able to keep an eye on whatever little piece of information they might have missed. Additionally, having all the online transactions in one place allows parents to look into the bigger picture and figure out a bigger problem before it can transpire, ultimately getting the most out of the use of spy applications. Therefore unless you send the reports sent by most spy applications regularly, they are not going to be of any use to use to you and you might not be able to benefit from their services and end up missing something very important.

Keep a Close Watch on the Live Feed

Most spy applications, like TheOneSpy app allows its users to monitor the target live and in real-time. This way you can not only read the logs about the calls being sent and received by the target device but also listen to the said calls in real-time. This way you can learn all that you need to know about your child, since teenagers today usually call their peers unless they have something very very important to share with them that is too urgent to do on text or to meet up in person. Additionally, most spy apps provide you with the live, real-time location of the target device and its user via the GPS tracker. It uses the phone network’s GPS to tell parents the location of their teen in real time. This can prevent loss or theft of device and at the same time keep your child safe at all times by spy app’s services as your eyes and ears that can be accessed remotely.

Take Necessary Actions

The only things spy applications can do is provide you with all things that you wanted to know, the next step – the step that requires you to take action is completely up to you. Children, for most part are innocent. Even when they do things that are wrong and deemed inappropriate by the society they mostly do it because they thing it is completely okay to do so or maybe because it may make them seem cool and hip. Thus, as parents, you need to be extremely careful when it comes to approaching them with such matters because at times it might have the opposite of the desired effect. Whatever you have caught them doing, cyber-bullying their peers or sexting is wrong in its own way but they can get much worse if your child is not dealt with carefully. Therefore, use a calm tone and try to make a reasonable argument telling them how they are a good person and they are better than all of this.
Children and teenagers, no matter what age they may be, are too young and impressionable. In an effort to fit in with their peers they might veer off the tracks and do something that might follow them for the rest of their lives. Therefore, using parental control apps to keep a close digital eye on them and protect them from themselves is not only in the best interests of both the parents and the children.
Author Bio:
Angelica Dowson, a blogger by profession, an author significantly contributes towards android spy software, monitoring your kid. If you want to know more about her you can follow her on twitter @angelicadowson2

[Infographic] 10 Most Common Security Attacks That Can Kill Your WordPress Blog

By // No comments:
WordPress is perhaps the most common blogging platform used today because of the multitude of customization options that it offers and the ease of posting and updating content. It’s very user-friendly, so it’s easy to set up your blog within minutes.

Most of the time, when you create a blog, you focus your attention too much on making your site beautiful and presentable, but you forget to ensure its security. You must take note that your site contains substantial information about you.

wordpress logo

It includes personal information, pictures, followers’ information and other sensitive data. Just imagine the horror of finding out that someone accessed your site without your permission. You might end up becoming a victim of identity theft.

Since a lot of data nowadays are being shared and transmitted online, there is also a stronger call to secure your online presence. You must be extra careful with what you share on the site, as well as make sure that you take the necessary measures to fortify your sites’ security.
Before you begin achieving this goal, you should first acquaint yourself with the most common threats the WordPress bloggers face. By doing this, you can gauge the individual measures you need to implement.

We understand how you want to improve your WordPress site and at the time make sure that your content and personal information are safe, so we prepared this infographic that will educate you about the threats that are commonly encountered by WordPress users.
Learn how these threats affect your blog here. Here is the visual.
Wordpress Security Attacks

Review: Philips SHE1455WT Earphones Specifications, Price in India

By // No comments:
Up for review today is the budget earphone from Philips, the SHE 1455WT. This in-ear earphone is available in India for less than Rs. 300 or $5. Being one of the very less branded earphones in this price range, a big question might arise on the quality of sound and durability. This review might help if you are planning to buy one soon.


Weight9 g
Dimensions7.5 x 1.8 x 2.5 cm
Connector Typewired-3.5mm single pin
Available ColoursBlack, White
Wire Length1.2 m
Frequency10 - 22000 Hz
Impedance16 Ohm

In the Box

  • Earphones with Mic
  • Three ear caps
  • Warranty Card

Key Features

SHE 1455 can be called best in low budget class of earphones. It outperforms all other options available in this price range and gives  great value for money. There is also a microphone attached in the cable which generally is not available in branded earphones at this price. The earphone's rubber finish gives it a premium look and feel. The different sizes of earbuds that come with the earphones provides good fit in ears of different sizes. 


  • Best in the low budget class, value for money
  • 120 cm cable sufficiently long for regular usage
  • Comes with microphone
  • Good fit in the ear, good noise cancellation
  • Serves the purpose 


  • Thin rubber cable
  • Average sound quality, not recommended for extreme music lovers
  • Audible disturbance when connected to some devices


Overall, Philips SHE 1455WT is a good option to go for in low budget. For the price they are asking, they provide a good quality and reliable product. We would give it 3.5 out of 5 stars.

Online movie watching; how legal is your entertainment?

By // 1 comment:
Searching on web for latest movies and tv shows will present you with infinite options. You can download unlimited movies and shows for free from some of the sites. They very interestingly provide you enticing deals and movies to watch. They tell you to download movies for free on your computer or smartphones. But they never mention that these sites are totally illegal and have copyrighted content stored.

In fact, for the users who are not aware, let me tell you that there are government and private agencies regularly on patrolling on these sites to catch illegal downloaders. Therefore it is better to watch movies legally on your computer or smartphones.

Free movies

One way to watch free movies on your computer or smartphones legally is through few sites that provide you free movies and tv shows. They are totally legal. It is free because every movies or episode is interrupted by advertisements. There example can be YouTube, Crackle, Hulu, CinemaBox HD and Google Video. These sites and applications typically feature impressive free content for entertainment.

Public Domain

The other way to watch movies legally on your system is through Public domains. A movie or tv show in public domain means its copyright has expired and its owner has contributed it to the public for watching for free. They don’t charge any royalties or charges to the owners as well as viewers. There are around 500,000 public domain that provide you free content to watch like The Internet Archive, Uncle Earl’s Classic tv Channel, Retrovision and many more. All the shows and movies are free and legal.

Paying also an option

There are impressive applications and websites that ask you to pay for a monthly subscriptions. You will be happy to know that with movies and shows, unlimited streaming is also allowed. Applications like NetFlix, Hulu Plus, Amazon Prime and many more allow you to watch unlimited movies on subscription basis.

Final Words

All said and done but watching movies and shows on legal sites can be much more safer and of better quality. You can enjoy movies without any tension and with full comfort. What more do we need!

Author Bio

Swati Sharma is an avid tech-enthusiast and geek. She writes at where she covers topics related to gadgets, apps and operating systems.

The Best IPhone Apps for Image Annotation and Markup

By // No comments:

Which apps can you recommend for annotation and markup of images on my iPhone?” This has become a more common question recently as more and more people seek for better ways to annotate and markup their images. In the past, this would have been an almost impossible task on iPhone although this has changed in recent times and has become a fairly easy and straight forward process.

 Image annotation is the process through which metadata is assigned to an image in the form of captions and keywords. This is essential for the retrieval of images, for organizing and locating images from a database with ease and faster. The following are the best apps in the market right now running on iOS platform:


For those who often add loupes and callouts to images, this is your best help. This app maximizes on this feature with an impeccable result. It was developed by Demarco Marek Moi and is a free iPhone app which supports several image type annotation and canvas layouts. The app allows the user to add magnifiers to an image and also number the steps followed in the annotation. Therefore, in the case where you have several steps in one screenshot, users can be able to track easily what you want to show to them with great ease and clarity. PointOut can import images to your clipboard from wherever the image is saved i.e. camera roll or pull. Several layouts are available for the user to choose from. You can also lighten or darken a callout or loupe to make them more appealing and to stand out more.

An notable

According to latest fusecruch tech news, this app is comparable to Skitch, which is not supported on iPhone anymore. In case you were using Skitch, An notable should be fairly easy to get acquainted with. In addition to the features that Skitch offered, An notable enables you to add callouts and perform some other tricks on the images. However, even if the callouts are not as impressive and robust as those on PointOut, you may find yourself migrating to An notable due to familiarity with its feature.
Regular magnifiers can be added to images at no cost whereas loupes will require you to pay an in-app purchase of $2 in order to have the feature. For additional colors and tools, it will cost you an extra $8. This is fairly expensive bearing in mind that PointOut offers most of the functions at no charge. The best way to get around the cost is to assume that you are making a donation to the developer for delivering a good product. However, using PointOut and the free Annotable version concurrently delivers quite impressively. It is also a clever way to maximize on the features offered in both apps. This is in case you are not bothered by constant switching between apps.


Referring to this app as impressive is clearly an understatement of its performance. LongScreen completes the loop in image annotation. The app enables instant stitching together of iPhone screenshots and also provides several options for alignment of the screenshots. The user can also add place holders for devices around the screenshot in an instant. This provides an appealing marketing asset. The app can support screenshots from iPhone, iPad, and Apple Watch. You can also set search filters so as to display only particular screenshots which are very convenient in weeding through the photo library.


There are many other small and simple apps that can help you in image annotation and markup, but the ones listed above are currently the best options in the market. Other available apps worth considering include; PhotoPen, iAnnonate, A+ Signature, iDoodle2 just to mention a few. However, each of the apps can address some specific needs for each user better as compared to others. The key in choosing one app over the other is to identify the specific need you want to meet. After identifying the need, then evaluate from the option, which one offers the best solution to the need and use it. A clever way is to have two or three of the apps and to use them simultaneously to address specific tasks.

Author Bio

Margaux Diaz is a technology and gadget geek. She is an inspirational writer and has written numerous Articles on Glozine technology, gadgets, mobile phones, and many more stuffs related to upcoming technology. Her main motive is to help and support people around the world and give them information regarding new latest technology. Connect with her on Facebook , Twitter and Google+

How to Download Gmail Blocked Attachments [With Pictures]

By // No comments:
A lot of people like me used gmail to send archives before cloud storage services like Dropbox or Onedrive were born. Through time, gmail has started blocking some typical types of files and you can't send or receive or send them on mails.

Fair enough, these files might prove dangerous as they can be used to send malware and viruses through mails.

The problem which arises is how can we access the files that we have stored in our past emails. For example, today I needed my high school project which I sent to my project partner in 2010. When I tried downloading the attachment, gmail prompted me that it is blocked and I cannot download it. After a quick search on the internet, I found a solution which wasn't properly formatted across various blogs and websited, so I am sharing this solution with you.

Prologue: A little information about mail file formats


An email format which is used by mostly all the email providers we know. A MIME file contains all the information you send in emails including all your attachments, sender, recipients etc. in encoded plain text.


EML is a file extention which is used in email messages which are stored in the MIME format. Files with this extension can be opened in email processors such as Outlook, Thunderbird etc.

Download Blocked Attachments

1. Open the mail you want to download the attachments from in Gmail. 

2. Click on the mail menu an click on "Show original" as shown in the figure

Download Gmail Blocked Attachments 
3. Your mail's MIME format will open which looks somewhat like this: 

Download Gmail Blocked Attachments
4. Right click on this MIME and click on "Save Page As" or "Save As" and save the page with the extension ".eml". For example "email.eml".

5. Open an email client like Outlook or Thunderbird. I am using Thunderbird for this example.

6. Click on "Open Saved Message" from the file menu.

 7. Open the file you just saved with .eml extension. Your original mail will open in Thunderbird with the attachment you wanted to download.
Download Gmail Blocked Attachments

8. Click on "Save" in the list of attachments and save your attachments wherever you need. 

That's it.

If you enjoyed reading this post or it helped you in something you were trying to do, do let us know in the comments section below. Like us on Facebook to get in touch. Thanks for reading WeboGraffiti.

[Infographic] How Do We Use Cell Phones

By // 1 comment:

Smartphones are now a inseparable part of our lives. This interesting infographic showcasts some interesting information about how we use our cell phones.
How Do We Use Cell Phones Co-produced by :Rebateszone & WeboGraffiti

6 Reasons Why I Would Go For Android One Rather than Redmi 1S

By // 1 comment:
This era marks the crowding of low budget Android based smartphones. It all started with Xiaomi introducing a 13k phone with features which were provided only by high end smartphones in a price above 20k or even more. Another phone recently introduced by Xiaomi was the Redmi 1S which became even more popular than the previous Mi3. In this post, I am comparing it with the new Android One phones introduces by Micromax, Spice and Karbonn in partnership with Google.

Redmi 1s vs Android One

It's hard pain to get a Redmi 1s

Xiaomi phones are made for sale exclusively on Flipkart and to get one, you need to register for the sale beforehand. Even if you are registered, it doesn't guarantee that you will get a phone. The sale goes out of stocks in seconds and you'll probably end up getting disappointed or paying a few hundred more bucks to someone who got one for the same phone.

Heating Issue in Redmi 1s

Many of the Redmi 1s users have reported that their phone gets heated up with long use or playing games. If you don't mind your phone getting heated, Redmi 1s might be the right choice for you but if it concerns you, go for Android One.

Stock Android in Android One

All of the Android one phones come with a stock Android version 4.4 (Kitkat), but the Redmi 1s has a customized user interface called the MIUI. If you like your phone to look like an Android phone, you must go for Android one. If you like it to look different, MIUI is the thing for you.

Guaranteed Updates

Android One phones will get all the software updates guaranteed for two years. They will be the first ones which will run on the Android L OS and the first which will use the proposed material design. Xiaomi does not guarantee any updates. If the OS version and new features doesn't matter to you, go for Redmi 1s.

Launch Offers

Besides in box accessories, all the Android One phones are coming with exciting launch offers which include a free 8GB microSD card, free shopping coupons, free data and updates from Airtel and more.

After Sale Service

Xiaomi has limited service centres in India while the Android One manufactures beat them anytime. Micromax, Spice and Karbonn all have a service centre in my city but for getting a Redmi 1s serviced,  I would have to travel 300km as this is the distance to the nearest service centre from my place.

These are the standard 6 reasons to go for Android One devices. Below are possible drawbacks you'll see with the same.
  • Lower configuration as compared to Redmi 1s (RAM, processor, screen resolution).
  • Lower camera resolution and quality.
  • Less battery capacity.
  • Stock Android, if you don't like it.
So this is all in this post. I hope it gave you a clear picture about which one you should go for. Let us and the other readers know what you think in the comments section below. Thank you for reading.