The sweet new marshmallow(Android 6.0)…Will you test is soon? List of devices which will get Android Marshmallow

Android marshmallow is latest iteration in the Android OS. Its version number is six and as it is said it is nAndroid-6.0-Marshmallow-main1ext to L (Lollipop). The release date for android 6.0 is said to be 05-oct-2015(Today!!) and certainly like me you would like to know if your device will get it or not? What would be new features? And at last when you googled all your queries, what would that catchy words mean?

So let’s start from features, what will be the new features of marshmallow.

Google says that lollipop was design centric update, but 6.0 is performance oriented. Of course there are many new features, and exiting things but there are lot more bug fixes, which users may not notice. There are more exciting things for app developers and designers. Let’s dive now.

Google now on tap:

google-now-on-tap-movie-100589009-large.idge

This is simple, yet powerful feature. Here is how it works. You press and hold home key during any app and Google now will read the screen. It will look for any interesting links, photos celebrity name and what not. You will be prompted with more information about what is available on screen.

Let say someone sent you a name of a song, you tap and hold home key while you read a message. You might prompted with information about artist and may be a Youtube link.

Fun, or not?

Doze:

Doze-sync

Everybody claims to shave battery and then does nothing. This new update in masrshmallow may be different. It has simple idea. Pause apps which are not being used. Andoird monitors your device and pauses apps which are not being used. Nothing is free in this world and so is the battery life. The tradeoff here is we may not have updated content when we launch app which is paused, but we may have longer battery life. Sounds fair enough.

USB type c Support:

usb_types

If you are like me who thinks that as far as data is transferred and you don`t need to buy a new cable things are fine. This is worth to know. Apple already introduced this and google is adding support in 6.0. Does this makes difference? Well certainly. The idea is to replace both ends. Now a days we use usb 2.0 or 3.0. The data cable we use has one full size usb and other side is micro variant. In usb type c both ends will be the same. So on client device and host device there will be a same type of usb and no need to worry about which plus in where. You can tell it is reversible usb connector. You can go here and here  to know more.
Please note that this is a hardware based specification and your phone needs to have usb type 3 connectors. If you are buying new phone and want to know which phones have usb type 3 connector, go here.

App permissions:

ios_android_permissions

We all wanted it. At one time or another we have thought that what if we can deny to certain permissions and still be able to use apps. There are updates in this section and on someday we can see our dream come true.

For example let say you like to use certain app that can play music. The music app needs to read and write sd card, needs internet to update tags and metadata and of course ads may be downloaded. What if that app also need to read contacts and your messages. Things are fishy here. Earlier you had only once choice, if you are not agree, you don`t install app at all.

Now it changes with Android marshmallow. You are prompted to allow or decline when certain app needs certain resource. Like if the app need to record audio, you will be prompted. Unlike earlier days when you are asked for permissions at installation time, here you can allow or deny for individual requests. You can revoke access later on. You can look for any resource and who is using it. You may want to know which app is keeping tab on your location.

Sounds more power right?

Remember, with great power comes great responsibility.

Fingerprint support:

One more hardware dependent feature. The update is android will get native support for finger print. So if your device houses a finger print scanner, android will natively utilize it. For developers it will be easier to develop apps using in built classes rather than writing complex logics. Your screen may be used as finger print reader. Not sure yet. Hope is the moral of the story.

App links:

Remember creepy “Open with dialogue” and its minion notification saying “You can clear defaults blab la bla….”. Well google is not a fan. The app links are more intelligent now. Android marshmallow will know that which apps do what. You won’t be asked for a Youtube link for “Open with” or for email link. Respective app will fire up immediately. This is a small feature, but this is what Android m stand for. Increasing productivity. Lots of people will feel that Android is smarter and easier and they won`t know why.

Cut, copy and paste:

Most used functionality in this digital world. When you select text in current android, you are prompted with some icons which can be used for these functionality. Now google is improving these. You will have buttons with cut, copy or paste written over it. So you don’t have to deal with tiny icons. As I said earlier. More productivity is a mantra for marshmallow.

Who will be the lucky one?

Of course, nexus devices are first, they will be,

  • Nexus 5
  • Nexus 6
  • Nexus 7(2013)
  • Nexus 9
  • Nexus Player

You can skip line and use official factory image. Check out here. Your data will be wiped if you use factory image.

Motorola

Once owned by google and now a Lenovo company always delivers updates before others can.

  • 2015 Moto X Pure Edition (3rd gen)
  • 2015 Moto X Style (3rd gen)
  • 2015 Moto X Play
  • 2015 Moto G (3rd gen)
  • 2014 Moto X Pure Edition in the US (2nd gen)
  • 2014 Moto X in Latin America, Europe and Asia2 (2nd gen)
  • 2014 Moto G and Moto G with 4G LTE2 (2nd gen)
  • DROID Turbo
  • 2014 Moto MAXX
  • 2014 Moto Turbo

Know more at here and here.

HTC

  • One M9 (by the end of 2015)
  • One M8 (by the end of 2015)
  • One M9+
  • One E9+
  • One E9
  • One ME
  • One E8
  • One M8 EYE
  • Butterfly 3
  • Desire 826
  • Desire 820
  • Desire 816

For more.

So this is it. Keep it sweeter, Marshmallow…..

Attribution for images:

The images i used are not mine. They are used for non commercial information purpose only. The copy right are owned by respective owners. Thanks.

How to get paid application for free, legally from Google Play Store?

Here i will tell you How to get paid application for free, legally from Google Play Store?

From http://www.androidpolice.com/

What can be awesome than free?

What can be more interested than free?

Lets check out FREE APP OF THE WEEK n play store?

We are used to get some free app which were free otherwise from amazon app store. FREE thing is oldest and working marketing idea to get more customers. When you offer something for free, people feel that let`s check out. After all it is free. So on one mighty day at Google headquarter some one thought the same and here we are. Google play store offers free app of the week. You can download a paid application for free.

Now what you have to do is go to play store app, find the FAMILY FUN image and tap on it.

From https://i2.wp.com/www.androidpolice.com/wp-content/uploads/2015/06/nexus2cee_FreeApp1.pngOnce you tap on NEW FAMILY FUN, you are redirected to family section where you find another image saying free app of the week.

From https://i1.wp.com/www.androidpolice.com/wp-content/uploads/2015/06/nexus2cee_FreeApp2.png

Tap on free app of the week and you are good to go. Remember you have to install via taping FREE APP OF THE WEEK. if you manually search and install the same app, you will be charged. Be careful.

Source: http://www.androidpolice.com/2015/06/12/google-play-offers-its-first-free-app-of-the-week-a-pbs-app-tucked-away-in-the-family-section/

Which StackOverflow questions are worth to read, even without any reason?

Answer by Rohit Jain:

Oh dear.. There are hell lot of them. I usually mark such questions as favourite. So, I’m going to pour selected questions from my favourites list here. I hope you’d love to go through them:

General Programming Questions:

Java Related Questions:

Git Related Questions:

JavaScript Related Questions:

Python Related Questions:

C++ Related Questions:

And here comes the beauty – Regex Related Questions (hold your breath):

To end with, here’s something you should bookmark right-away, so you can read whenever you’re feeling low, to enlighten you:

Will keep on adding if I come across some interesting questions.

Which StackOverflow questions are worth to read, even without any reason?

Why can’t we access the sites in the Deep Web (Onion/Tor) without a specially built browser?

Answer by Franck Dernoncourt:

We can. E.g. for Chrome follow the instructions: How do you configure Google Chrome to use TOR?

1. Download Vidalia from
Download Tor
2. Install Vidalia – a TOR client with GUI.
3. Wait until Vidalia tells you that Tor is working.
4. Start Google Chrome.
5. Using the Tools menus (it looks like a wrench), choose options, “Under the hood”. Scroll down to “Network” and click the “Change Proxy Setting” button.
6. Under the “Connections” tab, choose “LAN Setting” – Select Use Proxy server and enter “Localhost” and port 8118.
7. Save your work and return to the Chrome web browser. Check that you are using TOR by going to
Are you using Tor?
A Green message will indicate that TOR is operating correctly. A Red message will indicate that TOR is not set up correctly.
8. Continue to surf using TOR

On Firefox there used to be a nice extension for this, but it has been stopped due to Firefox:
Tor Project: Torbutton :

Torbutton is the component in Tor Browser Bundle that takes care of application-level security and privacy concerns in Firefox. To keep you safe, Torbutton disables many types of active content.

Now that the Tor Browser Bundle includes a patched version of Firefox, and because we don’t have enough developer resources to keep up with the accelerated Firefox release schedule, the toggle model of Torbutton is no longer supported.

Regarding Freenet, you can also choose any browser you want.

Lastly, you confuse Deep Web with Tor/Onion. Check out Deep Web.

Why can’t we access the sites in the Deep Web (Onion/Tor) without a specially built browser?

 

I also found following from REDDIT thread here:

Background – The so called “Deep Web” is the name of the part of the internet that is not indexed by search engines. It is made to be browsed anonymously and therefore you can only access it by a specific method (see below). It uses mainly .onion URL extension and random combinations of letters and numbers for the domain name.

Content – The deep web contains almost everything, if you have the time to look for it. Content on the deep web can be generated per query, and therefore the amount of content it actually has might be greater than you might expect. However, when you combine a completely anonymous way of access and the internet, you obviously end up with a lot of child porn, illegal drug trade, hiring of trained killers, etc. But, if you ignore that stuff, you can find a lot of interesting topics here, and it is also a good way to get a status update on the armpit of society. The main access route to the deep web is known as “The Hidden Wiki.” It contains most of the .onion links that you will need to go skinny dipping in the shark tank known as the internet.

Access – Accessing the deep web is entirely up to you. I went on for the first time today, and so far have not had my identity stolen, and no police have shown up at my door. Maybe I am just lucky, maybe this is how it always is. I do, however, HIGHLY recommend you check this place out. It is very interesting, and you get to venture in to a brave new world full of things that will both shock and intrigue you.

With that said, here is all you need to access the deep web:

Tor Browser: https://www.torproject.org/download/download.html.en (download the Tor Browser Bundle)

The Hidden Wiki: http://kpvz7ki2v5agwt35.onion/wiki/index.php/Main_Page (once you have Tor up and running, enter this link in to the browser and prepare yourself)

Enjoy yourself, and remember: STAY SAFE! I cannot stress that enough. I do not know how dangerous this place is, but I do know that bad people lurk around there. Just try not to get too involved with whatever “community” you may find, and you should be fine.

EDIT 1: For information, visit the Wikipedia article.

EDIT 2: This is a picture of “The Hidden Wiki”

EDIT 3: The Hidden Wiki is currently DOWN.

 

This article is combined from a quora answer and reddit post. See them here and here.

Chrome is written in C++, Assembly and Python. How were they able to write three different languages and come up with one product?

Answer by Anoop Aryal:

Most of the popular applications are a mix of languages. It’s been a general “technique” for the longest time to write the base system using C/C++, embed a scripting language, build the rest of the application in that scripting language. I don’t have the exact details right – but generally speaking:

1. Adobe family of products (photoshop, acrobat, illustrator etc) are written in C/C++, embed a Javascript (adobe calls their implementation ActionScript), and then the UI etc. are written in Javascript.

2. Microsoft products (word, excel, powerpoint) are written in C/C++, embed a VB engine and the UI etc. are written in VB. Or were, at some point. Not sure what the state of the state is there anymore. Haven’t kept track in a long time.

3. Emacs – base is implemented in C. Embeds an elisp interpreter. Rest of the system is written in elisp. They have been trying to move to Guile instead of elisp for a long time. Don’t know where that’s at.

4. AutoCAD: embeds a lisp engine of some type.

So much so that there are languages created for the sole purpose of embedding into an app and building out the rest of the app in that language. Tcl, LUA, Guile to name a few.

This is done so that you get an “easy” language that you do most of your work in (UI’s don’t need raw speed since most of the time they are waiting for user input anyhow), but the base system — written in C/C++ — integrates with the OS well and is fast.

Just google LUA and look up where that’s used. You might be surprised how many apps are using it this way.

TL;DR: it’s nothing new. Most big application suites embed a higher level language that allows extending the core that’s in C/C++.

Update (05/09/2015):
Some have commented asking about how to actually do it. So I’m including this update to get you started in the right direction.

The steps, at a very high level, are:
1. Figure out what the fundamental “primitives” are. It’s like settling/standardizing on 2″x4″x8′, 4″x4″x8′ etc. wood pieces for the basic building material.
2. Implement that in C/C++
3. Pick an imbedded language you want to use (Lua, Python, Tcl are the go-to open source options)
4. Follow the documentation to embed the language interpreter inside your app. Lua is arguably the simplest/easiest to do this with. See Embedding a scripting language inside your C/C++ code for Lua and specifically read the sections “Calling from C into a Lua script” and “Call from Lua into your C application“.
5. If you expose all the “primitives” from #1 using the steps from “Call from Lua into your C application”, you can now write the rest of your app in Lua.

For C/C++/Python:
Embedding Python in Another Application

For the rest, google “Embedding ” and you’ll find plenty of tutorials…

Chrome is written in C++, Assembly and Python. How were they able to write three different languages and come up with one product? What i…

Huston….Our GRUB needs to be rescued….

Here we are talking about grub rescue and reinint the GRUB.

#GRUB #GRUB2 #rescue #grubrescue #Linux #reinit

Hello all,

After so long time i am writing a new blog post. This post is about recent error i encountered on my dual boot machine. What i did was made some changes in my hard disk partitions. After that i restarted my pc and we had to call Huston!!!!

It was GRUB rescue which greeted me. GRUB rescue is linux-alike command prompt with limited commands. What went wrong is as i have changed partitions, it lost all it references to GRUB`s configuration file. Now i had two options. One was get bootable CD/DVD/PenDrive of Linux and reinstall GRUB. That was not possible for me as i didn’t have another machine to prepare any of such media. So i have to use GRUB rescue and get it running.

So i started like this. The problem was GRUB lost references to hard disk partitions. The solution coud be point grub to new partitions. With this in mind i started to search where is grub actually located on my hard disk.

Grub Rescue prompt
Grub Rescue prompt

After little Googling i came to know that i can use “ls” to list all my hard disk partitions with numbers. It goes as follows.

grub rescue> ls

grub rescue> (hd0), (hd0,msdos8), (hd0,msdos9), (hd0,msdos6), (hd0,msdos7)

Your output may be different but it should be like (hdX,msdosXX). Here big X after hd shows the number of storage attached with machine. One can have hd1, hd2 if more than one storage is attached with the machine. The msdos part says that the partition type is of msdos. It can also be different.

Lets move on. After using ls command we have to find where is GRUB. This can be done using suffix /boot.

grub rescue>ls (hd0)/boot

…. some error/not found

grub rescue>ls (hd0,msdos8)/boot

…. some error/not found

grub rescue>ls (hd0,msdos9)/boot

…. list of files like inintrd.img, vmlinuz and others…

Finally, Found it…

So my GRUB files are in msdos9. Now we just have to boot from here. Lets tell GRUB to boot from msdos9. Just follow below given small commands.

grub rescue> set root=(hd0,msdos9)

grub rescue> set prefix=(hd0,msdos9)/boot/grub

grub rescue> insmod normal

grub rescue> normal

Thats it…After writing last command you should see regular grub prompt. One final thing left.

Go to your linux command prompt and follow these commands. We are reinstalling grub with new references.

sudo grub-install /dev/sda

( In case, you have multiple storage installed, you have to find on which storage you are supposed to install GRUB. In my case i was installing on “sda”. ).

Now it`s time to say..

Huston we are up and running. Earth looks nice from here….

#GRUB #GRUB2 #rescue #grubrescue #Linux #reinit