Monday 2 March 2015

What Functionality Would I Lose if I Disable Browser-Based Java?

For some time now, people have been warned to disable Java in
their browsers or to completely remove it from their systems
unless they actually need it. But if you disable it or remove it, are
you actually losing much, if any, functionality?

The Question

SuperUser reader RaQib  wants to know if he would lose
any functionality if he disabled browser-based Java:

I have read that disabling Java (not JavaScript) will make
my computer safer from malicious software attacks. All
indications are that it will indeed make it safer, but I have
not seen any real indications out there as to what
functionality I will lose in the browsing experience, if
anything. Can someone tell me what I would or would not
experience if I disable Java and is it really necessary for
browsing these days?

Will RaQib really lose any functionality if he disables browser-based Java?

The Answer

This is a fairly good question. What it boils down to is this:
If you need Java in a browser, you will know so right away.
If you do not need Java (and are unaware if you are even
using it or not), chances are good that you will never miss
it or bump into it again. The chances of a casual user
tripping over a website that would truly need Java to
function in 2015 is rare at best nowadays.

Just so you understand the history of Java and the web,
Java is essentially a “black box” virtual machine that
allows you to code in Java and then run that code on any
system that can run Java. The concept was that Java
would be a middle ground platform that could run on any
machine: Windows, Macintosh, Linux, etc. The Java plugin
simply allows you to run Java apps from within a web
browser. This was appealing in the early days of the
Internet due to a lack of cross-platform compatibilities and
other “rough edges” of the early Internet.

But in 2015, most of the “fancy” base-level functionality
that Java provided in the past (cool graphics, effects, and
such) are now handled within the browser itself via CSS,
HTML, and JavaScript. Back in the late 1990s/early-2000s,
lots of creative sites used Java because native browsers
could not handle the tricks one could only do in Java back
then. Java even came bundled as a basic plugin in
Netscape Navigator back in the day thanks to the
commonly accepted functionality it provided.

Now where you might miss it in 2015 depends on the kinds
of websites you access. For example, I know that many
financial systems accessible online (such as personal tax
systems, payroll gateways, and other such systems) use
complex Java applications to allow end users to get a
richer experience with their financial tools. So if you are
using your computer to access web-based financial
applications like that, then you definitely need Java
enabled. But in my experience, even in those cases, many
such institutions are slowly moving their archaic Java-
based systems to a more stable, non-Java-based setup
that takes better advantage of modern web browser
functionality.

For example, a little over a year ago anyone using the
browser-based screen sharing software/service
GoToMeeting needed to have Java enabled in their browser
as well as on their system. But as explained in this support
forum thread on their site , they have now officially
dropped the Java requirement in favor of their own non-Java-based software tool:

    * In the past we used to use Java to automate
       launching our software, we have since replaced that
       method with our own launcher. Since introducing our
       launcher, we no longer use Java.

So my advice is if Java worries you as a potential security
concern on a browser level, just disable it for now. I am
pretty confident that you will not miss it. And if, in like 8 to
9 months, you need Java for some reason, deal with it then.

How to Find Your PC’s Windows Product Key So You Can Reinstall Windows

You’ll need a unique product key to reinstall Windows on your PC .
This is more confusing than it sounds — you may not be able to re-use the key your computer’s manufacturer used.
Reinstalling Windows often feels necessary, especially on new PCs that come packed with bloatware . You can legally download
Windows 7, 8, and 8.1 installation media directly from Microsoft.

Three Places You Might Find the Key

The key you need will be in one of three places:

Stored in software on your PC :

When you (or your PC manufacturer) installs Windows, Windows stores its productkey in the registry. You can extract this product key, and —often — enter it when reinstalling Windows on your PC.
Crucially, you’ll need to grab it from your operating system
before you begin reinstalling Windows or it could be deleted if
you format your hard drive.

Printed on a sticker:

Some PCs use a technology called“System Locked Pre-installation,” or SLP. If your PC uses this,the product key on your PC — the one stored in the registry,and the one key-viewer applications display — will be different from the actual key your PC needs. The actual key is on a certificate of authenticity (COA) sticker on your PC or its power supply. The one in the registry and key-viewer application is a red herring. This system was common for Windows 7 PCs.

Embedded in your PC’s UEFI firmware :

Many newer PCs that come with Windows 8 use a new method. The key for the version of Windows the PC comes with is stored in
the computer’s UEFI firmware or BIOS. You don’t even need
to know it — assuming you’re installing the same edition of
Windows the PC came with, it should automatically activate
and work without you needing to enter a key. It’ll all happen
automatically.

Be sure to use the same version and edition of Windows the
computer came with. In other words, if it came with Windows 7
Home Premium, you can’t install Windows 7 Professional.

Find the Key In Software

The product key is stored in the registry on your computer, and it
can be read by simple key-viewing programs or even basic scripts.
We recommend NirSoft ProduKey for this. Despite all our railing
against the Windows freeware ecosystem, NirSoft’s software has
always been excellent and never tried to force junk onto your PC.
Be sure to download it from NirSoft’s official website and not a
third-party download site, though.

Download ProduKey, run it, and look at the Windows product key it displays. Be sure to read the “Product Key” column, and not the
“Product ID” column. Write this product key down, print it out, or
store it somewhere electronically. You’ll need it when reinstalling
Windows, and you may not be able to get it again if you wipe your
hard drive.

But, beware — this product key may not actually work
for reinstalling Windows on your PC.

Read the Key From the COA Sticker

So, is that product key usable for reinstalling Windows on your PC?

If you have a Windows 7-era PC, there’s a good chance the PC’s
key is a single key the manufacturer uses for all their PCs. Thanks to “System Locked Pre-installation,” you’re not allowed to use that key to install Windows. If you try, you’ll get error messages about the key being invalid.

To check, you’ll need to look for a certificate of authenticity sticker
on your computer. The COA sticker verifies that the computer
came with an authentic copy of WIndows, and that sticker has a
product key printed on it. You’ll need that product key to reinstall
Windows — and, if the manufacturer used System Locked Pre-
installation, that key is different form the one your PC came with in software.

Examine your computer to find the key. On a laptop, it may be on
the bottom of the laptop. If your laptop has a removable battery, it
may be under the battery. If there’s some sort of compartment you can open, it might be in there. It may even be stuck to the laptop’s charger brick. If it’s a desktop, look on the side of the desktop’s case. If it’s not there, check the top, back, bottom, and anywhere else it might be.

If the key has rubbed off of the sticker, there’s not much you can
do. You can try contacting your computer’s manufacturer and
explaining what happened, but we can’t guarantee they’ll help.
Microsoft would always be happy to sell you another key, though!

Is the Key Stored in Hardware?

Newer Windows 8 PCs can avoid all these problems. The key isn’t
stored on software where it can be wiped, or on a sticker where it
could be smudged off or removed. No one can glance at your
computer’s COA sticker to steal its product key. Instead, the key is
stored in the computer’s UEFI firmware or BIOS by the
manufacturer.

You don’t have to do anything special if you have this. If your
computer came with WIndows 8 and it doesn’t have a COA sticker,
don’t worry. You should just be able to reinstall the same edition of Windows the PC came with and it should just work without even asking you for a key. (Still, it may be best to run NirSoft’s ProduKey and write down any key you find there before reinstalling Windows — just in case.)

Friday 20 February 2015

5 Tips To Become Better JavaScript Developer!

JavaScript is still a mystery to a lot of people. With it’s growing popularity with things like Node.js, Angular.js, and jQuery, people are wanting to know more and more about the language

With more beginners jumping in, there’s room to make mistakes that JavaScript will more than willing let you do. Right now, JavaScript is being bombarded with new frameworks and libraries that completely change our regular workflow. In this article we have listed 5 simple and quick JavaScript tips that will help beginners improve their code quality.

1.Work on API for security

Beginners often think that hiding elements from user using JavaScript is security but you should rather focus on your lack of obedience, that will make you a better coder. It’s always best to work with API layer so it will help you put up real security walls. API checks everything that passes through it. So API can prevent access to the unauthenticated call.

API should strictly not produce any information that user doesn't have the permission to access. It is best to build your own API with multiple layers of protection. JavaScript doesn't automatically hide and mask things.

2.Use Strict mode while writing the code

Strict mode was introduced in ECMA 5. It allows you to put a function or an entire script into strict operating context. It eliminates some of the silent JavaScript errors by throwing the errors explicitly. It is capable to throw exceptions when relatively unsafe actions take place. And sometimes strict mode code can run faster than non strict mode code. As currently all the major browsers support this feature you should start using strict mode.

3.Write easy to understand code

You must not write a confusing code, it will just make things worse. You should avoid the shortcuts while writing the code. A function like ShoeBox(); can be represented as ShBx(); but, that is not easy to understand. It is necessary to write the code as if you are writing the story in normal language. This approach really helps while debugging and beta testing.

Beginners often focus on number of lines and speed of coding. But to be fair, in the end, whether the app works flawlessly or it is buggy is all that matters. Number of lines of codes and efficiency of the app, both things are totally irrelevant.

4. Cache the length while looping

Beginners often forget this while writing a code and then end up debugging the thousands of lines of codes. While looping through a JavaScript array you can cache the length so that the overall performance is better. Be careful while creating an inner loop. You need to name the length variable differently in the inner one.

5.Test

To improve your confidence that code will behave as expected, write unit tests using a framework such as Jasmine or QUnit for each of your functions, using both expected and unexpected input parameters.

Run these tests in multiple browsers across multiple operating systems. if your code is stored in GitHub, you can take advantage of BrowserSwarm, a tool that automatically runs your unit tests when you commit your code

Wednesday 14 January 2015

VMware Workstation 11.0.0 Build 2305329

Requirements:           Windows XP / 2003 / Vista / Windows 7 /                                                                Windows 8         

           VMware Workstation is one of the most popular and widely used applications for running and managing virtual operating systems via remote connections. By offering broad operating system support, industry leading feature set, high performance tools, and rich user experience, VMware Workstation represents the perfect companion for serious PC enthusiasts, technical professionals and businesses who wants to have access to the best possible tools in the world.

By using VMware Workstation and its many included tools such as totally free to use VMware Player, you will have complete control over your remote operating systems and virtual machines that provide full access their storage devices, USB drives and access their local network connections. Interface of VMware Workstation is very much streamlined in the way of the other apps that were made by VMware since their formation in 1998 and development over the next years (VMware Server, VMware Player and others).  Novice users will be happy that this app is fully streamlined to be used by them, with main dashboard promoting easy to use shortcuts to most popular tools such as “Create new Virtual Machine”, “Open a Virtual Machine”, “Connect to a Remote Server”, “Virtualize a Physical Machine”, “Virtual Network Editor” and “Workstation Preferences”.

The full version VMware Workstation even gives you the opportunity to connect and completely control virtual machines that were created with other programs (Microsoft, Workstation, ESX Server, GSX, etc.). If you are person who likes to run virtual machines that execute Microsoft Windows, Linux or BSD, then  VMware Workstation is the perfect hypervisor program for you.

What’s New in Workstation?

Best in Class Windows 8 Support

To help you and your organization evaluate Windows 8, master the Metro UI and test your applications, VMware Workstation 9 is optimized for running Windows 8 virtual machines and running on Windows 8 PCs. Easy Install simplifies the task of creating Windows 8 virtual machines, Unity mode will intelligently scale windows with Metro applications and multi-touch support will ensure you get the true Windows 8 experience in a virtual machine.

Set It and Send It

Create virtual machines that are encrypted, block USB devices, require a runtime password, and another password to change virtual machine settings. Once set, send the virtual machine to anyone to run on their Mac, Windows, or Linux machines by using VMware Fusion Professional.

Better 3D Graphics

With faster 3D graphics and support for DirectX 9.0c Shader Model 3 and OpenGL 2.1 3D graphics in a Windows and now Linux virtual machine, VMware Workstation easily handles demanding 3D applications like AutoCAD, Solidworks, and many current games.

From PC to Datacenter and Back Again

In Workstation 8 we introduced the ability to upload a virtual machine from your PC to vSphere. Workstation 9 takes the next step and allows you to drag and drop a virtual machine from vSphere to your PC. It’s the easiest way to move virtual machines between your PC and your internal cloud.

Download it here for free.

Note: 30 day trial version.

But if you are visiting my blog then congrats you have got it for free.............
Here are the keys:

CV512-FAW91-085NP-DMXQX-QLHAF
AA7DU-APW15-H848Q-P5ZGZ-PCRC2
VU1N2-6DE5N-M8DLQ-AEMEV-XA2Z4
UV3NR-AMZ17-08EZP-9YQQE-MZAY8
GC75U-21E50-M8D5Q-K6YQX-W28V8

Follow me on google+

Friday 9 January 2015

Eclipse, NetBeans or IntelliJ: Which is the best Java IDE?

Eclipse’s Luna release brought a range of
interesting new functions –– but how does
the Java IDE stand up to rivals NetBeans
and IntelliJ?
..

For quite some time now, Eclipse has had a thorn in its IDE.
With NetBeans and IntelliJ ever at its heels, the Eclipse
development environment has been battling to hold sway
over the Java community. It’s about time we compared the
big three in Java IDEs.

Over on JAXenter.de , the German Java community has voted
on how Eclipse stands up against the competition. Only 21%
of developers believed the Luna release has re-established
Eclipse as the best Java IDE in the world. And just over a
quarter of participants (26%) would say that Eclipse and its
competitors are generally the same, and that each software
has its own advantages and disadvantages.
Like in the Windows vs Mac vs Linux debate, it seems that
most devs have picked one IDE and are sticking firmly to it.
The results make it pretty clear that Eclipse’s Luna hasn’t
quite won back the entire Java community.

Eclipse: More than an IDE

While IntelliJ IDEA had already long since delivered support
for Java 8 (albeit slightly rudimentary), Eclipse struggled to
catch up with Java 8 support for its much-awaited Luna
release . On top of its new Java 8 features, Luna blinged out
with a brand new ‘Dark Theme’ which lets users change the
IDE’s background hue – but that’s also nothing that would
impress anyone working with NetBeans and IntelliJ IDEA.
The latest update has brought Eclipse up to an impressive
76 individual projects – from software modelling to IoT tools
and even runtime projects. Beating that in mind, you might
say Eclipse is less of an IDE and more of a technology
platform and open source community.
Being slow off the mark to adopt Java 8 functions is
relatively insignificant when compared with rough times
Eclipse had with the infamous Juno release and its frustrated
users. In spite of these troubles, Eclipse makes up for its
vices with a vibrant community of developers and a wide
range of plugins.

IntelliJ IDEA and NetBeans

In contrast to Eclipse, there’s no doubt about what exactly
IntelliJ IDEA does. Since it’s developed by one single
company (JetBrains), there’s somewhat less community
participation. But that also means that its built-in features
are far more cohesive. Eclipse can easily become confusing
with its endless plugins built by various community
members. IntelliJ IDEA could add a further feather to its cap
when Google selected it as the basis for Android Studio – the
new development environment for Android.

Right in middle, between Eclipse and IntelliJ IDEA, is
NetBeans. Previously part of the Sun development
environment, NetBeans slipped into the hands of Oracle, but
has managed to hold onto its faithful community. NetBeans
features platform functions for various extensions, and yet it
still provides a clearly framed functionality. The software
also has a head start on other IDEs with its JavaFX and
HTML5 features.

Each to their own IDE
When it comes to Java IDEs, developers are spoiled for
choice. Three free services battling each other to provide the
best functions and services – it’s something that other tech
communities can only dream of.
Like ninjas vs pirates, deciding on the world’s best Java IDE
is purely subjective – it all depends on what you need. A
swashbuckling, if sometimes chaotic, collection of plugins or
a stealthily integrated functionality?