Thursday, 20 August 2015




  ->Google Photos may have just gotten a number of organization improvements in its version 1.3 update a few days ago, but the search giant isn’t stopping there. Google has just announced a new feature that’s now rolling out to the new Photos app that will help you take a stroll down memory lane.

-> The new feature is already available on Google Photos for iOS and the web, and has just begun rolling out on Android. Like I said before, this is an opt-in feature, so you won’t start getting Assistant card notifications unless you tell the app it’s okay. Hit up the Play Store link below to grab the latest version!



  • The Aquaris E4.5 and Aquaris E5 Ubuntu Editions to be sold through Indian online marketplace, Snapdeal
  • Marks the inaugural launch of Ubuntu phone in India following a successful rollout of the Aquaris E4.5 and Aquaris E5 Ubuntu Editions in Europe
  • Phones will come preloaded with a number of scopes developed specifically for the Indian market
The Aquaris E4.5 and Aquaris E5 Ubuntu Edition handsets are set to launch in India through Snapdeal, India’s largest online marketplace. This follows on from two successful Aquaris Ubuntu Edition handsets launched in Europe earlier this year; the Aquaris E4.5 in February, and the Aquaris E5 in June. The devices will be available for purchase from Snapdeal by end of August at a price of Rs 11,999 for the Aquaris E4.5 and Rs 13,499 for the Aquaris E5.
There’s been palpable demand for Ubuntu Phones in India since the Aquaris E4.5 Ubuntu Edition was launched earlier this year. India has long been, and continues to be, a priority market for Ubuntu, having had a successful and established PC business in the region for many years.
The sleek, 8GB Aquaris E4.5 Ubuntu Edition features a five megapixel front camera and eight megapixel rear camera with autofocus, dual flash and full HD (1080p) for super sharp video. It boasts a MediaTek Quad Core Cortex A7 processor and  1GB RAM for a faster experience.
The Aquaris E5 Ubuntu Edition comes with a host of impressive features including a 5’’ display with IPS HD technology, HD screen resolution of 720 x 1280 pixels and 380 cd/m2 maximum brightness. The device features a five megapixel front camera and thirteen megapixel rear camera, equipped with high quality Largan lenses and BSI sensors. Both devices will be sold in black and come fully unlocked with dual SIM functionality so that users can select their operator of choice and can use SIMs from two different operators at the same time.
Both handsets being sold through Snapdeal in India come with all the same great Scopes available on the European Editions along with a new ones created especially with Indian users in mind. Some of the new Scopes on offer include Zomato, Star Plus, Zee TV, Eros Now, NDTV and Times of India.
“The success we have seen with the Aquaris E4.5 and E5 Ubuntu Editions in Europe has precipitated this follow-on launch with Snapdeal in India”, remarks German Lopez, COO of Spanish handset manufacturer BQ. “Snapdeal has proven to be an ideal launch partner given its fervent commitment to introducing exclusive and novel products to the Indian market, to ensure customers get a broad and differentiated choice’’.
Cristian Parrino, VP Mobile at Canonical states: ‘”Launching Ubuntu phones in India is a fantastic milestone as we strive to make Ubuntu phones available to enthusiasts and developers in as many markets as possible, during this first phase of our launch. I am thrilled that our partners BQ and Snapdeal have the drive and foresight to make this happen.”
Tony Navin, Senior Vice President, Partnerships and Strategic Initiatives, Snapdeal comments: “India is now globally one of the most attractive smartphone markets. Online, we are seeing an increasing demand for differentiated and versatile mobile devices that are feature rich at an affordable price and the Aquaris E4.5 and E5 with Ubuntu OS are great fits for the Indian market. We are very excited about our partnership with Ubuntu and look forward to successful relationship ahead”
The Aquaris E4.5 and Aquaris E5 Ubuntu Editions will be available for purchase by end of August from Snapdeal for Rs 11,999 for the Aquaris E4.5 and Rs 13,499 for the Aquaris E5.

About BQ

BQ is a leading European technology company. Its goal is to help people to understand technology, encourage them to use and inspire them to create it.  It is committed to education in technology, DIY philosophy and the Open Source Initiative.  BQ applies this philosophy to its products (smartphones, 3D printers, robotics and much more) and software solutions by working to make technology a tool for improving the world and the lives of its users.

About Snapdeal

Snapdeal’s vision is to create India’s most impactful digital commerce ecosystem that creates life-changing experiences for buyers and sellers. In February 2010, Kunal Bahl along with Rohit Bansal, started Snapdeal.com – India’s largest online marketplace, with the widest assortment of 15 million+ products across 500+ diverse categories from thousands of regional, national, and international brands and retailers. With millions of users and 150,000 sellers, Snapdeal is the shopping destination for internet users across the country, delivering to 5000+ cities and towns in India. In its journey till now, Snapdeal has partnered with several global marquee investors and individuals such as SoftBank, BlackRock, Temasek, eBay Inc., Premji Invest, Intel Capital, Bessemer Venture Partners, Mr. Ratan Tata, among others.
For further information, visit www.snapdeal.com

About Canonical

Canonical produces Ubuntu, the leading open-source platform for cloud, personal computing and next-generation devices.  Ubuntu introduces a new mobile experience for phone users, a smarter ecosystem dynamic for developers, and unprecedented differentiation opportunities for carriers and device manufacturers. Ubuntu ships on millions of PCs annually, aimed at education, government and enterprise markets.  Ubuntu also enables next-generation devices at the heart of the internet of things.

Samsung Galaxy Note 5 display is the best in any smartphone

We can complain about many Samsung shortcomings, but there is one thing the Korean manufacturer will never fail at. Their displays are stunning, and they keep getting better every single time (twice a year, to be exact)! In fact, multiple DisplayMate studies show Samsung has been offering the top screens in the market for quite some time. The Note 4 had the best smartphone panel last year, and the Galaxy S6 took that title more recently. In addition, the Galaxy Tab S series touted the best tablet displays for a while. What’s next?
You guessed it. It’s time for the Samsung Galaxy Note 5 to triumph, and they have taken the DisplayMate title for the best smartphone screen around. And these are no simple tests; DisplayMate makes complex studies and uses advanced tools to measure screen brightness, accuracy, color gamut and many other factors. These guys go all out.
                             

                   The Samsung Galaxy Note 5 still sports a QHD (2560x1440p) Super AMOLED display measuring 5.7 inches, which sounds identical to the Galaxy Note 4. The truth is these displays are quite different, though. DisplayMate’s analysis proves the newer phone increases screen performance heavily when compared to the predecessors.



                
                        For starters, peak brightness has been significantly improved, making it easier to read outdoors (in direct sunlight). And though the screen is brighter, it actually uses less power than the one in the Note 4, as energy optimizations are outstanding. To make matters even more interesting, the Galaxy Note 5 panel broke records in color accuracy, making this the best smartphone screen DisplayMate has ever tested. Now, that is definitely saying something!
Does this mean the Samsung Galaxy S6 Edge+ is also a winner? Pretty much. DisplayMate doesn’t go too much into detail on the edged handset, but they do mention performance is nearly identical. The only main difference is the fact that it uses a flexible panel, which is what allows the screen to bend on each side.

     


           With multiple wins in a row, we say it’s time for the competition to really improve its game. Meanwhile, Samsung keeps dominating the display game (and sales). I will have to say I have seen no better screens coming from other manufacturers in a while. I am not exactly a Samsung fan, but I must accept they know how to make a gorgeous display.
What do you guys think? Will Samsung continue making the best displays in the market, or is it time for someone else to step in?

Friday, 2 May 2014


Apple's redesigned OS X reportedly debuting next month

For the past few years, Apple's desktop software has played second fiddle to iOS at its annual developer conference WWDC. According to 9to5Mac's Mark Gurman, who is seen as a reputable source for Apple news, that won't be the case next month.
It's long been speculated that OS X 10.10 will see a big refresh this year. Gurman states that this "end-to-end redesign" will be Apple's most comprehensive since launching OS X over a decade ago. Although the new look will reportedly take design cues from last year's radical rethink of iOS, these aesthetic changes will not change the fundamentals of OS X.
OS X WILL LOOK MORE LIKE IOS, BUT REMAIN DISTINCT
Codenamed "Syrah," OS X 10.10 will reportedly have sharper corners, more white space, and iOS 7-esque toggles. Apple will also apparently continue its trend of bringing certain features from iOS into its desktop OS. Apple has repeatedly reassured its users that its two operating systems will remain distinct, despite the past few years seeing the addition of an iOS-like Launchpad, Mac App Store, and applications that began on mobile like Maps.
As for what's in store for iOS 8, Gurman builds on his previous rumors, saying that new apps like Healthbook, TextEdit, and Preview are on the way, along with changes to Siri and iCloud. He notes that "some of the notable features in the works" could potentially be pushed back to a later release, as a number of employees that usually work on iOS have been moved over to work on getting OS X ready for its WWDC unveil. The rumor is similar to those spread last year that Apple's OS X team was being tapped to work on iOS 7.
A NEW APPLE TV IS LESS LIKELY
Despite earlier earmarking a new Apple TV for the first half of this year, 9to5Mac is now stating that "the product's debut seems to have been pushed back." According to the site's sources, both a new set-top box and a "thorough revamp" of the Apple TV software are in the works, but the two projects are not explicitly tied together. That means we could see new software coming to older Apple TVs. Gurman says the new set-top box, which has been the source of major speculation this year, is a major priority for Apple. WWDC officially kicks off a month from now on June 2nd, and we'll be covering all the news from its opening keynote live.

Sunday, 6 April 2014



Write a C++ program to find the optimal binary search tree for the given set



Optima binary search tree:-
We can construct [1/(n+1)](2ncn) binary search trees for a given set which will be a time consuming process.in order to reduce that we will solve this problem by using dynamic programming.
Formulas for obst
    c[i][i]=0.0;
    r[i][i]=0;
                wt[i][i]=q[i];
           
                wt[i][j]=p[j]+q[j]+wt[i][j-1];
                c[i][j]=c[i][k-1]+c[k][j]+wt[i][j];
                r[i][j]=k;
            To construct a tree  consider the last row first column of  a tree
            T[i][j]=t[i][k-1],t[k][j];
Algorithm
void con_obst(void)
{
      int i,j,k,min;
      for(i=0 to n)
      { //Initialisation
                c[i][i]=0.0;
                r[i][i]=0;
                w[i][i]=q[i];
                j=i+1;
                k=j;
                w[i][j]=p[j]+q[j]+w[i][j-1];
                c[i][j]=c[i][k-1]+c[k][j]+w[i][j];
                r[i][j]=k;
      }
      //for j-i=2,3,4….,n
      for(j=2 to n)
      {
                for(i=0;i<=n-j;i++)
                {
                          j=j+i;
                          w[i][j]=p[j]+q[j]+w[i][j-1];
                          c[i][j]=9999;
                          for(k=i+1 to j)
                          {
                                    if(c[i][j]>(c[i][k-1]+c[k][j]))
                                    {
                                          c[i][j]=c[i][k-1]+c[k][j];
                                          r[i][j]=k;
                                    }
                          }
                          c[i][j]+=w[i][j];
                          j=j-i;
                }
                cout<<endl;
      }

Analysis:- The time complexity is O(n3)
Program
#include<iostream>
using namespace std;
//#include<conio.h>
//#include<stdio.h>
class obst
{
public:
void obstm(int);
void print(int,int);
public:
float p[20],q[20],wt[20][20],c[20][20];
int r[20][20],i,j,t[20][20],k;
};
void obst::obstm(int n)
{
//      int i;
      cout<<"\n****** PROGRAM FOR OBST ******\n";
//      cout<<"\nEnter the no. of nodes : ";
  //    cin>>n;
      cout<<"\nEnter the p values ";
      for(i=1;i<=n;i++)
      {
                cout<<"\np["<<i<<"]  :";
                cin>>p[i];
      }
      cout<<"\nEnter the q values ";
      for(i=0;i<=n;i++)
      {
                cout<<"\nq["<<i<<"]  :";
                cin>>q[i];
      }
//      int i,j;
      for(i=0;i<=n;i++)
      { //Initialisation
                c[i][i]=0.0;
                r[i][i]=0;
                wt[i][i]=q[i];
                j=i+1;
                k=j;             
                wt[i][j]=p[j]+q[j]+wt[i][j-1];
                c[i][j]=c[i][k-1]+c[k][j]+wt[i][j];
                r[i][j]=k;
      }
      //for j-i=2,3,4….,n
      for(j=2;j<=n;j++)
      {
                for(i=0;i<=n-j;i++)
                {
                          j=j+i;
                          wt[i][j]=p[j]+q[j]+wt[i][j-1];
                          c[i][j]=9999;
                          for(k=i+1;k<=j;k++)
                          {
                                    if(c[i][j]>(c[i][k-1]+c[k][j]))
                                    {
                                          c[i][j]=c[i][k-1]+c[k][j];
                                          r[i][j]=k;
                                    }
                          }
                          c[i][j]+=wt[i][j];
                          j=j-i;
                }
                cout<<endl;
      }
      cout<<"\n\nOptimal BST is :: ";
      cout<<"w values are\n";
      for(i=0;i<=n;i++)
      {
      k=0;
      for(j=i;j<=n;j++,k++)
      cout<<wt[k][j]<<"\t";
      cout<<"\n";
      }
      cout<<"c values are \n";
      for(i=0;i<=n;i++)
      {
      k=0;
      for(j=i;j<=n;j++,k++)
      cout<<c[k][j]<<"\t";
      cout<<"\n";
      }
      cout<<"r values are \n";
      for(i=0;i<=n;i++)
      {
      k=0;
      for(j=i;j<=n;j++,k++)
            {
            t[k][j]=r[k][j];
      cout<<r[k][j]<<"\t";
}
      cout<<"\n";
      }

}
void obst::print(int i,int j)
{
            int k;
      if(i>=0&&i!=j)
      {
            k=t[i][j];
      cout<<"\n Left child of   "<<k<<" is   "<<t[i][k-1];
      cout<<"\n Right child of  "<<k<<" is   "<<t[k][j];
      print(i,k-1);
      print(k,j);
}
      return;
}
int main()
{
int n;
cout<<"enter n";
cin>>n;
obst o;
o.obstm(n);
o.print(0,n);
return 0;
}
Enter the no. of nodes : 4

Enter the p values
p[1]  :3

p[2]  :3

p[3]  :1

p[4]  :1

Enter the q values
q[0]  :2

q[1]  :3

q[2]  :1

q[3]  :1

q[4]  :1


Output
Optimal BST is :: w values are
2       3       1       1       1
8       7       3       3
12      9       5
14      11
16
c values are
0       0       0       0       0
8       7       3       3
19      12      8
25      19
32
r values are
0       0       0       0       0
1       2       3       4
1       2       3
2       2
2

 Left child of   2 is  :: 1
 Right child of  2 is  :: 3
 Right child of  3 is  :: 4



Output-2
p[1]  :1

p[2]  :4

p[3]  :2

p[4]  :1

Enter the q values
q[0]  :4

q[1]  :2

q[2]  :4

q[3]  :1

q[4]  :1

Optimal BST is :: w values are
4       2       4       1       1
7       10      7       3
15      13      9
18      15
20
c values are
0          0          0          0          0
7          10        7          3
22        20        12
32        27
39
r values are
0       0       0       0       0
1       2       3       4
2       2       4
1       2
1

 Left child of   1 is   0
 Right child of  1 is   2
 Left child of   2 is   0
 Right child of  2 is   4
 Left child of   4 is   3
 Right child of  4 is   0
 Left child of   3 is   0
 Right child of  3 is   0