Windows Tricks : Make your Keyboard Light Dance

  • Open Notepad.
  • Paste the below code,

Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
wshshell.sendkeys “{NUMLOCK}”
wshshell.sendkeys “{SCROLLLOCK}”
loop

  • Save the file with .vbs extension and close.
  • Now, Open the file and experience the amazing dancing light effect.

Windows Tricks: Make your PC speak

  • Open a Notepad.
  • Paste the following ,

 

Dim message, sapi
message=InputBox(“What do you want me to say?”,”ATT Text To Speak”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message

 

  • Save the file with .vbs extension and close
  • Open the same file.
  • Type some sentence in the dialog box that appears. Now Click ok.
  • Your Computer will Read it.

Configuring Xampp to host Python sites

  • Go to your xampp directory.
  • Then go to apache->conf folder.
  • There you can see httpd.conf file.Open it and look for,

“AddHandler cgi-script .cgi .pl .asp”

  • and add “.py” to it.
  • Now write a python program and place it htdocs folder.
  • Go to your browser and go the file in the localhost.

Eg python program is as follows,

#!C:\Python34\python.exe
import cgitb
cgitb.enable()
print (“Status: 200 OK\n”)
print (“<p><h1>It Works!</h1></p><h2><i>It Again Works!</i></h2>”)

Disney patents the idea of a piracy-free search engine

If a newly registered patent is anything to go by, Disney is building a search engine that ranks sites on authenticity and legitimacy rather than on popularity — in other words, if you search for “Dumbo” you’ll see Disney’s official site at the top of the results, with illegal streams and downloads of the movie nowhere to be seen.

Last month Google stepped up its anti-piracy measures by downranking sites hosting content without permission and promoting legal download sources for search queries instead (so a search for the title of a film would turn up a link to Google Play first, for example) — the company has been consistently pressured by international media corporations and governments around the world to do more to fight piracy.

Now it looks like Disney wants to go further, with a patent for an “online content ranking system based on authenticity metric values for Web elements” — in other words, Disney would decide which sites were authentic and which weren’t. The filing says that “undesirable search results, such as results referencing piracy websites” would be filtered out.

The majority of today’s search engines judge a site’s value by its popularity, but that can be unfairly gamed. “For example, a manipulated page for unauthorized sales of drugs, movies, etc. might be able to obtain a high popularity rating, but what the typical user will want to see is a more authentic page,” says Disney in the patent documentation, as TorrentFreak reports.

As Google knows only too well, trying to index everything on the Web and then present it in a way that’s fair and sensible is no easy task. We don’t know whether Disney plans to implement the idea on its own site or launch a Google alternative, but it looks like finding pirated material is going to get more difficult in the future.

 

Yahoo is shutting down its original Directory portal

In the mid-1990s, you didn’t type your online search queries into Google — you looked up sites in Yahoo’s Directory, a hand-picked, curated list of everything on the Internet. Such a concept seems ridiculous now, but it’s how Yahoo got started as a business. Now the company has announced its iconic Directory is going to be shuttered as it focuses on other areas.
“Yahoo was started nearly 20 years ago as a directory of websites that helped users explore the Internet,” explains a blog posting put up by Yahoo yesterday. “While we are still committed to connecting users with the information they’re passionate about, our business has evolved and at the end of 2014 (December 31), we will retire the Yahoo Directory. Advertisers will be upgraded to a new service; more details to be communicated directly.”
Yahoo was started by Stanford University graduates Jerry Yang and David Filo in January 1994. The pair’s fledgling directory service was called Yet Another Hierarchical Officious Oracle, and thus Yahoo was born.Being able to flick through a carefully compiled list of entertainment and news sites was seen as a much better option than the search engines of the day.

Of course the Internet soon exploded in size, and a Web directory service was no longer practical even before Google appeared on the scene in 1998. Old-time Internet users will still have fond memories of the original Yahoo, however, and today’s announcement marks another milestone in the evolution of the modern Web.

“At Yahoo, focus is an important part of accomplishing our mission: To make the world’s daily habits more entertaining and inspiring,” said Yahoo’s Jay Rossiter, SVP Cloud Platform Group. “To achieve this focus, we have sunset more than 60 products and services over the past two years, and redirected those resources toward products that our users care most about and are aligned with our vision. With even more smart, innovative Yahoos focused on our core products like search, communications, digital magazines, and video.we can deliver the best for our users.”