Monday, January 20, 2014

"Your security settings have blocked an untrusted application from running" how to workaround

  Got this error message in Internet Explorer, preventing the pop up from opening. I wanted to add an security exception since I knew what I was opening was a trusted internal site. So it should be done only when you are sure that the site is secure and not done when you are not sure, use your discretion.

  Press on Windows Start button, type "Configure Java" hit enter. "Java Control Panel" window will open. Click on the "Security" tab. Click on the "Edit Site List" button. Add the URL that you wish to bypass the security check for. Click Add and Ok.

   This would bypass the security check and refreshing the website in IE opened the pop up.


Friday, January 10, 2014

Add xml so that it renders "as you type" to your blog

If you paste the XML code as such it gets interpreted by your browser and doesn;t show as you type it and eventually the way you would want your readers to be reading it.

Came across this tool called http://www.freeformatter.com/xml-escape.html Here you need to paste your XML and you hit escape button. The resulting text is the "Escaped" version of your XML. You can paste this "Escaped" version of your XML as such to your blog and it will finally render in the browser as its original text/XML version.

Building Weka source code GPG error and resolution

Tried to check out svn repository of Weka using

"svn co https://svn.cms.waikato.ac.nz/svn/weka/tags/stable-3-6-10"


Loaded it as Maven project in Idea Intellij 13.

From Pom targets hit compile - it succeeds.
Pom target -> build succeeds.
Pom target install -> Build hangs at following message :

[INFO] Building jar: C:\Users\user\Desktop\Code\Weka\stable-3-6-10\weka\dist\weka-stable-3.6.10-SNAPSHOT-javadoc.jar
[INFO] 
[INFO] --- maven-gpg-plugin:1.1:sign (sign-artifacts) @ weka-stable ---
GPG Passphrase:   * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *...



It will keep on printing ***s on the console and never stop !!

Found the addition of following in your pom.xml to be resolving the issue.

------------------------
<configuration>
       <skip>true</skip>
</configuration>
------------------------

which may finally look like this

-----------------------
<plugin>
  <groupid>org.apache.maven.plugins</groupid>
  <artifactid>maven-gpg-plugin</artifactid>
  <configuration>
    <skip>true</skip>
  </configuration>
  <version>1.1</version>
  <executions>
    <execution>
      <id>sign-artifacts</id>
      <phase>verify</phase>
      <goals>
        <goal>sign</goal>
      </goals>
    </execution>
  </executions>
</plugin>
-----------------------


The general idea behind this plugin is to protect what you might create and share, with a passphrase that only you know. More information about what it does and how to use it is here http://maven.apache.org/plugins/maven-gpg-plugin/usage.html

However as in my case it became a bottleneck in the build process of a freshly downloaded source, not sure what the bug was there, but adding the skip tag bypassed it and the build succeeded.

Wednesday, November 20, 2013

Irresponsible marketing spam emails from indiatimes.com

Nowadays the spammers are more responsible then they ever were, atleast they have the courtesy to add a "unsubscribe" link on which if you click, it takes you to a page confirming your unsubscription, which is honored most of the times.

A big and supposedly responsible group like indiatimes.com sends a marketing email purely as spam and do not have the courtesy to have a "unsubcribe" link which even worst of the spammers have started adding nowadays.

Shame on you indiatimes.com ! Folowing is a sample email i received from them:

==============================================================
Subject: Missed your daily dose of business news last week?
From: The Economic Times  Wed, 20 Nov '13 8:55p
To: You
Show full Headers
GE 
 
Live-MarketNewsPortfolioMobileLive TVNewsletterCommoditiesSpeedBlogsAlerts
Follow Us on ET:
FacebookTwitterYouTubeLinkedIn
© 2013 Times Internet Limited.
==============================================================

Friday, September 27, 2013

Best online radio for Hindi Bollywood songs

After a lot of search finally I have settled for this online Radio which does not have Ads, noisy Rjs or any other "noise". It has a bunch of options like, a channel for New bollywood hindi songs (Meethi mirchi), a channel for old bollywood hindi songs (Purani Jeans), a channel for non-filmi hindi songs (Mirchi Edge), a channel for Discotheque themed hindi songs (Club Mirchi), recently also added a channel for English romantic songs (Radio Romance), and a channel for Pop english songs (Cassette classics).

Runs 24/7, online, no ads, no Rjs, just pure music and a very good collection of songs in pretty much every channel, it actually does sound too good to be true, until you listen for yourself : http://www.gaana.com/radio