Monday, December 14, 2015

Node.js for Dummies

I started to learn Node.js ma be five months back. Then by October I had enough knowledge to write something for beginners about Node.js, AngularJs, NPM but I could not have time for that. Something then put me in terrible busy days So I was not at all able to do so.
It happens with me or may be with many others, They want to learn a lot of things in a very less time at first GO. With me it happens always.

advertisements
As I am a Technologist. and for us - computer related professionals this is high requirement to keep us up to date. If we will not we will be finish. and in today's world I think it is applicable for everyone.
We should have to accept the change very soon to absorb lots of thing quicker.
So, Node.js is not very New now. but this is not late to get updated about technologies.
I am posting here few good tutorials:
Node.js, in the simplest most basic terms, is a framework to develop server-side applications through JavaScript.

In comparison to most other similar technologies, node.js is extremely well suited at doing things that send a lot of messages from one user to another, such as chat clients, Twitter-like services, game servers.
It is used for developing applications that make heavy use of the ability to run JavaScript both on the client, as well as on server side and therefore benefit from the re-usability of code and the lack of context switching.

Node.js is only an environment; you have to do everything yourself.


Node.js is pretty interesting because it uses Javascript. This is useful for two reasons. First, having the client side and server side code written in the same language creates convenience for writing interactive websites. Second, because browsers are so competitive, there are many fast implementations of Javascript, Node.js runs very quickly.
Here is a tutorial

Node is getting popular as a server-side platform and is used by IBM, Microsoft, Yahoo!, Walmart, Groupon, SAP, LinkedIn, Rakuten, PayPal, Voxer, and GoDaddy and many more.


Here is another Node.js tutorial.


I will very soon write about my own experience on using Node.js.

Saturday, December 12, 2015

How to Save Skype Video Messages

It happens that you received a video message on skype. You watched it and after some you tried you watch the same message again but it did not play.
Or when you watch the message you liked it and you wanted to save this.
But it did not because at some specific time it got expired.

There is a way you can save it. and can share it.

Following is the easy way to save it.
  • Step 1: Go to the link http://sourceforge.net/projects/sqlitebrowser/files/latest/download and download SQLite Database browser.
  • Step 2: Open SQLite Database Browser
  • Step 3: Open main.db for your skype account in SQLite Browser. That you can find from following location:
    C:\Users\[YourUserName]\AppData\Roaming\Skype\[YourSkypeID]\main.db
  • Step 4: Go to Browse Data
  • Step 5: Change the drop down option for the Table: to VideoMessages.
  • Step 6: Under Author column, search for the sender id who send video.
  • Step 7: Copy the link in vdo_path.
  • Step 8: Paste the link in Chrome or any other browser address bar.
  • Step 8: Right Click on the video, and save it.

Please note, you should have play the video in the skype first before open the main.db in SQLite.

Social Network - Linkedin

This is kind of strange on a very popular social network site that It delivers somehow wrong information to its users.

Did you ever post a link or something on Linkedin, then on the next day you noticed that the view of that post is so much huge? and then that makes you happy?

Actually, on linkedin the post views count does not mean that your contacts have actually clicked on the link and have view it. It delivers something else.

On linkedin What happens is, it just counts the total number to times your post has been loaded on the page on others home page. irrespective of the user has put some attention to it or not.

You can confirm this by posting a link after taking it short URL from google url shortener preferably with an image. because mostly people put attention to the images than to text. Next day or after some time check what google shows and what count does linkedin show.

At some point linkedin is showing Okay count. but same time it conveys wrong message to the one who posted it because it counts even if your post loaded when it is not on the view able screen.

Friday, December 11, 2015

by Steve Forte

There are many people around here wants to start their own business they should keep in mind that:
If you are thinking of doing a startup, remember you can’t do it alone. If you are non-technical, you can’t outsource your core intellectual property. Besides if you can’t convince a techie with a well paying and stable job to quit and work at your high risk venture for free, then well, you probably don’t have enough sales skills to convince customers to buy your revolutionary new product.

Wednesday, December 9, 2015

JollyChic.com - Reviews on Purchases from Dubai UAE

When I visited this site very first time. I was amazed to see so much varieties of the dress and colors. So I cannot stop myself to buy some.
I bought dress online from jollychic.com only because of the different varieties of colors they have. I like knee length flowy dresses. So I spend a lot of time first to choose the best color and dress. I purchased around eight (8) dresses from this site with different cute colors. Most of the dresses I choose were from Friday sale so the price I paid was actually less than the original price.
After the purchase, First thing I thought was. Oh! This was my first order. I should have take advantage of their promotion that on First order 30% Off. This 30% off is based on each item not a total.
Anyways I purchased, paid so I did not return. Although as per their policy you can return within 24 hours before it has prepared. I did not knew this thing so I did not return.
Then, I keep on waiting to see the dress.





The delivery time was OK. It was delivered 2 days late as per actual delivery time.
Now, I opened the parcel. Take out dresses one by one. I was SURPRISED to see that the quality of the dress was not so good as compared to the price.

Here are a few reviews I noticed.

Quality

For example, There was one dress the price was 99.9 AED. but the quality of the dress was so bad that similar kind of dress you can easily find in UAE in less than 50 AED. The dress actually looks like hardly of 40 AED only. and I paid 99.9 on this website. For this particular dress I was so amazed because this was the dress I choose out of sale price and I paid full amount. With this price you can find better dress in Splash, MAX, ZARA OR ANY OTHER store in UAE.

Fit

The other thing, I noticed in almost all the dresses was: The size. The Size, I ordered was Good for me. I used to buy same size here. but from this site. except one all dress are smaller and too much fit.

Price

EXTREMELY TOO MUCH. The price as compared to quality is not worth. Here in UAE you can easily find a dress much better than on this site. If you are ordering dress from UAE I SUGGEST do not order because the price on this site are extremely high as compared to the quality.

Length

I suggest order one Extra bigger. If you think 30 INCHES length is ok for you, go for the next close and available length. Like if 32 is available or 33. if not available then choose another dress. either it would be too long or too short.

I can say is that the size of the dresses mention in the site is very different than the actual is. For example 34 length they menion and i measure it is less than 30.

Order details

Item Info Price Price in AED Review
X
Short Sleeve O-Neck Elegant Design Chiffon DressItem ID: 078242100TK
Color:Army Green
Size:US 6(Bust 34 ¾
Shoulder 13 ½
Largestwaist 27 ¼
Smallestwaist 41 ¾
Smallestlength 28 ¾
Largestlength 30 ¾)
US$ 17.99 66.07
X
Exquisite O Neck Patchwork Long Sleeve Lace DressItem ID: 0FE2411070Q
Color:Pink&white
Size:US 6(Bust 36 ¼
Waist 31 ½
Shoulder 14 ¼
Length 34 ¼
Sleeve 23 ½)
US$ 6.99 25.67
X
Sleeveless Print Colorful Stretch Mini DressItem ID: 0PN2521070Q
Color:Blue
Size:US 4(Shoulder 13 ¾
Length 34 ¾
Bust 36 ¼
Waist 26)
US$ 11.99 44.03 this one i choose just to make enough order price to avoid shiping charges.but later i thought 44.03+14.65=58.68 with this price i could have bought something else.
X
Special Design V-neck Mid-waisted Button Woman OL DressItem ID: 09P2421037G
Color:Green
Size:US 6(Shoulder 13 ¾
Length 37 ¾
Bust 33
Waist 27 ¼)
US$ 18.99 69.74
X
Patchwork Sheer Short Sleeve Lace DressItem ID: 0FL252104Z1
Color:Blue
Size:US 4(Shoulder 14 ½
Length 33 ½
Bust 34 ¾
Waist 28 ¼)
US$ 10.99 40.36
X
Plaid Long Sleeve Polo Collar Women DressItem ID: 0PV25310862
Color:Grey
Size:US 2(Bust 35 ½
Shoulder 13 ½
Length 31
Sleeve 22 ½)
US$ 10.99 40.36
X
Hot Sale Floral Sleeveless Chiffon DressItem ID: 0FE252101A0
Color:Black&white
Size:US 2(Bust 34 ¾
Length 33 ¾)
US$ 3.99 14.65 this one i choose just to make enough order price to avoid shiping charges. but later i thought 44.03+14.65=58.68 with this price i could have bought something else.
X
Solid Half Sleeves Lace Aline Dress With SashItem ID: 08D25210706
Color:White
Size:US 4(Length 34 ¼
Bust 34 ¾
Waist 27 ½
Hip 43 ¼)
US$ 26.99 99.12
Total items: 108.92
Product Total: US$ 108.92
Shipping Cost: US$ 0.00
Bonus: -US$5.00
Order total: US$ 103.92

Monday, December 7, 2015

A Little About Chess

I am not a Chess Master but I love to play and know what my brother told me about chess i.e. a few tricks and all the right rules of playing chess.


I want to be a Chess Master. I wish If my brother could live a little long so that I would too. Yes, my brother was a Chess Champion and won lots of Chess Championship from school till college, then he couldn't live.
I used to play Chess online and tried to learn from the experts, but those who knows how to play chess and know more tricks than me, they don't want to play with me - with someone who is kind of a beginner. and I don't want to play with someone who knows less than me.
I was exploring on Chess and I found few things for those who want to play chess. Here they are listed.

Thirty Rules of Chess

TEN OPENING RULES

  1. OPEN with a CENTER PAWN.
  2. DEVELOP with threats.
  3. KNIGHTS before BISHOPS.
  4. DON'T move the same piece twice.
  5. Make as FEW PAWN MOVES as possible in the opening.
  6. DON'T bring out your QUEEN too early.
  7. CASTLE as soon as possible, preferably on the KING SIDE.
  8. ALWAYS PLAY TO GAIN CONTROL OF THE CENTER.
  9. Try to maintain at least ONE PAWN in the center.
  10. DON'T SACRIFICE without a clear and adequate reason.

For a sacrificed pawn you must:

  1. GAIN THREE TEMPI,
  2. DEFLECT the enemy QUEEN,
  3. PREVENT CASTLING,
  4. BUILD UP a strong attack.

TEN MIDDLEGAME RULES

  1. Have all your moves fit into definite plans.

    Rules of Planning:

    1.    A plan MUST be suggested by SOME FEATURE IN THE POSITION.
    2.    A plan MUST be based on SOUND STRATEGIC PRINCIPLES.
    3.    A plan MUST be FLEXIBLE,
    4.    CONCRETE, and
    5.    SHORT.

    Evaluating a Position:

    1. MATERIAL
    2.    PAWN STRUCTURE,
    3.    PIECE MOBILITY,
    4.    KING SAFETY,
    5.    ENEMY THREATS
  2. When you are material AHEAD, EXCHANGE as many pieces as possible, especiallyQUEENS.
  3. AVOID serious pawn WEAKNESSES.
  4. In CRAMPED POSITIONS free yourself by EXCHANGING.
  5. DON'T bring your KING out with your OPPONENT'S QUEEN on the board.
  6. All COMBINATIONS are based on DOUBLE ATTACK.
  7. If your opponent has ONE or MORE pieces EXPOSED, look for aCOMBINATION.
  8. IN SUPERIOR POSITIONS, to ATTACK the ENEMY KING, you must OPEN a file (or less often a diagonal) for your HEAVY PIECES (QUEEN and ROOKS).
  9. IN EVEN POSITIONS, CENTRALIZE the action of ALL your PIECES.
  10. IN INFERIOR POSITIONS, the best DEFENSE is COUNTER-ATTACK, if possible.


TEN ENDGAMES RULES

  1. To win WITHOUT PAWNS, you must be at least a ROOK or TWO MINOR PIECES ahead (two knights excepted).
  2. The KING must be ACTIVE in the ENDING.
  3. PASSED PAWNS must be PUSHED (PPMBP).
  4. The EASIEST endings to win are PURE PAWN endings.
  5. If you are ONLY ONE PAWN ahead, EXCHANGE PIECES, not pawns.
  6. DON'T place your PAWNS on the SAME COLOR SQUARES as your BISHOP.
  7. BISHOPS are BETTER than KNIGHTS in all but BLOCKED pawn positions.
  8. It is usually worth GIVING UP A PAWN to get a ROOK ON THE SEVENTH RANK.
  9. ROOKS belong BEHIND PASSED PAWNS (RBBPP).
  10. BLOCKADE PASSED PAWNS with the KING.

Code - Compile And Run

For programmers, a lot of time they needed to execute a small code snippt. Just to make sure if their logic will work fine or not. For the same sometimes they needed to either create a sample page, sample project or execute the whole application a 100 times for complex logic. Here I will talk about the string manipulation for example. or regex test.
I have found a quite nice site to compile and execute a small piece of code just to check if it is ok or not. then once all is ok we can put it in out actuall applicatin and test the actual flow. That saves our lot of time.





Here is the site https://www.codechef.com/ide





Practice
Prepare your self for various kinds of programming challenges by solving practice problems of varying difficulty.
Compete
Compete against other techies in our monthly programming contests, gain recognition and win cool stuff. Coding contests begin on the first of every month.
Discuss
Hang out with other coders, discuss algorithms, get your questions answered and be inspired.

CodeChef - A Platform for Aspiring Programmers

CodeChef was created as a platform to help programmers make it big in the world of algorithms, computer programming and programming contests. At CodeChef we work hard to revive the geek in you by hosting a programming contest at the start of the month and another smaller programming challenge in the middle of the month. We also aim to have training sessions and discussions related to algorithms, binary search, technicalities like array size and the likes. Apart from providing a platform for programming competitions, CodeChef also has various algorithm tutorials and forum discussions to help those who are new to the world of computer programming.

Practice Section - A Place to hone your 'Computer Programming Skills'

Try your hand at one of our many practice problems and submit your solution in a language of your choice. Our programming contest judge accepts solutions in over 35+ programming languages. Preparing for coding contests were never this much fun! Receive points, and move up through the CodeChef ranks. Use our practice section to better prepare yourself for the multiple programming challenges that take place through-out the month on CodeChef.

Compete - Monthly Programming Contests and Cook-offs

Here is where you can show off your computer programming skills. Take part in our 10 day long monthly coding contest and the shorter format Cook-off coding contest. Put yourself up for recognition and win great prizes. Our programming contests have prizes worth up to INR 20,000 (for Indian Community), $700 (for Global Community) and lots more CodeChef goodies up for grabs.

Sunday, December 6, 2015

SAN - Storage Area Network

SAN (storage area network) is a high-speed network of storage devices that also connects those storage devices with servers. It provides block-level storage that can be accessed by the applications running on any networked servers. SAN storage devices can include tape libraries and disk-based devices, like RAID hardware.
Here are a few advantages of SAN:

Scalability

SAN has many advantages over DAS in your data center. Here are 10 reasons to consider making the leap from local storage to a SAN.
If you know, or have heard, one thing about a SAN, it's scalable. What does scalable mean? SAN scalability means that you don't have the limit of a handful of disks that you can attach to a system. SANs can grow to hundreds of disks in size, whereas your server has a physical limit of about a dozen.

2. Performance

SAN performance isn't affected by Ethernet traffic or local disk throughput bottlenecks. Data transmitted to and from a SAN is on its own private network partitioned off from user traffic, backup traffic and other SAN traffic.

3. Data Isolation

There's no chance of your data being copied or stolen by anyone sharing the same SAN with you. Not even the SAN admins can see your data. When correctly configured, SAN data is zoned. These zones protect your data from everyone else's on the same SAN. An example of SAN zone separation is how UNIX servers can connect to a SAN and Windows servers connect to the same SAN, but the data that each group of servers accesses is different. In effect, Windows systems can't "see" UNIX data and vice versa.

4. Uptime

There's nothing quite like a SAN to assure 100-percent storage availability. SAN systems require no reboots to add new disks, to replace disks or to configure RAID groups. The ability to stream data between SANs for data backup and recovery also increases performance by bypassing server systems completely.

5. Workload Isolation

Zoning also separates your workloads from one another on a SAN. Not only is your data protected by zoning, but it also provides a barrier against other non-related workloads from affecting your application's performance. Sharing a SAN isn't a performance problem for applications when zones are in place.








Long Distance Connectivity

SANs have the advantage over all other storage connectivity for distance at 10km (about 6 miles). Not that you'll necessarily use that distance capability, but it's there if you need it. Having the advantage of distance allows you to consolidate your storage into an isolated location dedicated to storage and separate from the systems it serves.

7. Increased Utilization

Rather than hundreds or thousands of partially utilized local disks wasting power and generating heat in your data center, you could have dozens of SAN disks have no wasted space on them. How so? Thin provisioning on the storage side (i.e., on the SAN) uses space more effectively than local storage does. As a system requires more storage, the SAN allocates it dynamically. Yes, this means that physical systems can enjoy thin provisioning just like your virtual ones do.

8. Bootable

Despite the benefit of more fully utilized disks, as highlighted in advantage No. 7, you do not need to use local disks for the server operating system. It's possible to run diskless physical servers and boot directly to the SAN for your operating system, swap space (pagefile), and all applications. That's right, just like virtual machines.

9. Centralized Management

If you have SAN arrays from several different vendors because your data center has grown over the years, stress not, SAN vendors have created software management tools to manage your heterogeneous environment with ease. But, better than multiple vendor management capability, all of your SAN environments can be centrally managed from this single interface. This capability provides efficient and centralized storage management.

10. Disaster Recovery

The cost of a SAN is high. As you can see, there's no entry for SAN being a particularly frugal technology in this list. However, in the case of disaster recovery, a SAN can and does earn back its high price by providing a speedy recovery when the clock is ticking. A SAN is a reliable and fast data recovery solution. Server systems might go offline, but the SAN remains available.



Choosing SAN, NAS, or DAS
But newer developments are changing the picture, pushing NAS up the performance scale and SANs down the cost curve, in some ways blurring the performance line between these two technologies. The arrival of iSCSI SANs is driving down the cost of SANs. The iSCSI protocol is a serial implementation of SCSI that aligns with IP packets. While operating at slower speeds and offering lower throughput than Fibre Channel, iSCSI uses standard networking gear, can operate over long distance for remote backup, and is easy for network administrators to understand and manage. However, because of its better performance, Fibre Channel is still the preferred technology for most data center applications.

This becomes clearer by contrasting SANs with another networked storage technology: NAS Network Attached Storage. While both NAS and SAN provide remote access to storage devices via a network, the similarity ends there. In technical terms, the primary distinction between the technologies is that NAS operates at a file level while SAN operates at a block level.


You have to dig somehow more into this topic.

Saturday, December 5, 2015

My Overall Experience of Buying Online

I like shopping. It might include online shopping, I am based in a city where this is somehow a newly introduced trained, and that's why I feel like it is a big risky.
For most people, purchasing a something online without physically viewing the product can induce a lot of stress and fear. This is especially true if you are not accustomed to e-commerce and online shopping.
Here is UAE, there are a lot site getting introduced to purchase online. But the problem is those who are starting this business are not fully aware of how to showcase their product so that customers can buy them without hesitation.
In UAE souq.com is quite famous and can say that this is the very first very successful online shopping site in UAE.
I do not know how and why did it get such a big popularity. The problem is, some products which are available on this site are not available in any other store. That's why when people see them over the online store they cannot wait to buy it. and when the product becomes very popular then it comes in the market.
But souq.com doesn't know how to display the item. For example: they are selling a dress, you will see only ONE picture of that dress and i.e. the front side of the dress, which definitely is not enough for the customers to buy it. same goes for bed sheets. for electronic items: they are not displaying all the details which user want to know before buying.
I bought a few items electronic items from souq.com and few household. Then because of the bad experience, I, now stopped to buy anything from souq.com.
When I buy online, I want to see each and every details of the product.
Then Few month ago, I came across a website not based in UAE that was jollychic.com, they are showcasing their products quite nicely. I though OK, nice. the reviews seems to be good. products appears to be good. OK buy it.
I did. I bought some dresses. Items got delivered. They were good but not as mention or look on the website. I am not satisfied and because it was shipped from china I cannot return them. returning will be quite expensive.
If I calculate a lump-sum of how many things I bough online, my overall experience would be Not So Good.
Here I am giving a chart.  I am giving ranks from 0 to 10. from 5 to 10 are good and less than 5 are worst experience.
This list has only few items i have purchased.

Hot PillowVery Best Thing10
Steam MopOK. Lifetime was short6
InStylerBROKEN Piece0
Go-DusterOK6
electric massagernot as described. They delivered without any pack. open item 2
Fan HeaterGood8
Cushion For Neck Massagingdoesn't work as expected.4
Plastic Square Boxdoes not close1
Nicer Dicerok5
Samsung 32 Inchok5





Claro Glass does not like the same as mention or look in the pic1
Dinnerware SetWORST WORST WORST I did not see anything worst than this.0
Saachi 5 in 1 Multi Snacks Makergood8
Magic Mopgood but not easy to use8
One For All USB to USBgood8
5-in-1-air-sofa-bednot as mention0
bedding-set-6pca good thing9
feather pillowgood7
bedsheetOK7
blendergood9
tableworst ever0
bedsheetnot good as look1
a few items from souqnot available. takes almost a month to refund.0








Friday, December 4, 2015

Television Programs

There are some really nice TV programs that you can watch online anytime, no need to buy or pay for the channel. but yes might be some of them are not full length.

I was never in favor of Television at all rather I always hate it. because if you have it you mostly spend a lot of time in watching, time wasting things and like wise people says time is money that summarizes that you spend a big amount of money buying a TV then spend your precious time in watching unnecessary programs, which gives no benefit to you. so double wastage of money.
well, recently about 5 years ago I bought a TV and started watching National Geographic, Animal Planet and History kind of channels, I have become a fan of TV but only SMART TV. I still do not want TV channels. I do not buy channel license. I used to watch only few programs that I like or I like to watch movies.


I don't remember how did I first came across the very sweet youtube channel "The Ellen Show" very much entertainment. You never get bored of watching this show. She almost talked about everything.
Once she show something which I always see on youtube with a big number of viewers also have seen a lot time a TV ad of that program but never happen to clicked on it or watch it on National Geographic. That show was named as "Na ed and Afraid". Because Ellen was talking about it that means there's something about this. I clicked on ellen's video where she was talking about this show.
I watch it and I was like oh MY God! what the hell. Na ed and Afraid is a show on national geographic channel and there are a lot of other shows like this. what the hell! The youtube channel disabled comments on this video. https://www.youtube.com/watch?v=yibMAnXVGoA then she once talked about some reality shows here : https://www.youtube.com/watch?v=jbIxszpx4ZA
then here she noticed a trend on TV, and she’s talking to her audience about it https://www.youtube.com/watch?v=lOOSbxosQxE