How could Google’s new logo be only 305 bytes, while its old logo is 14,000 bytes?

Answer by Ilya Yakubovich:

The old logo uses a complicated serif font which can only be created using bezier curves. All together, it has 100 anchor points, resulting in a 6 KB (6,380  bytes) file. When compressed, the size comes down to 2 KB (2,145 bytes).

A simplified version of the new logo, on the other hand, can be constructed almost entirely from circles and rectangles (with the exception of the lower-case g):

The entire logo consists of:

  • 10 circles (2 each for the capital G and lower case g, 2 for each O, and 2 for the e)
  • 5 rectangles (2 for the capital G, 1 for the lower case l, 2 for the e)
  • 1  shape made with 7 anchor points  (the descender on the lower-case g)

While Google hasn't released the optimized 305 byte logo and it doesn't seem to be available online, I believe that they got the size down to 305 bytes as they claim.

To verify this, I recreated the first letter (G) in the SVG format, resulting in a file that's 302 bytes uncompressed, and 195 bytes compressed.

Here's the entire uncompressed graphic, consisting of two circles and two rectangles:

1
2
3
4
5
6
<svg xmlns="http://www.w3.org/2000/svg">                                                        
<circle r="100" cy="100" cx="100" fill="#4885ed"/>
<circle r="70" cy="100" cx="100" fill="#ffffff"/>
<rect transform="rotate(-40 166,67)" height="78" width="99" y="27" x="117" fill="#ffffff"/>
<rect height="30" width="88" y="87" x="111" fill="#4885ed"/>
</svg>

This generates the graphic on the right:

As another user pointed out, there is also a way to generate the new logo using strokes rather than fills. This is also something that wasn't possible to do with the old log, and can result in an even smaller file. The code for the entire logo (courtesy of Jaume Sanchez Elias) is 290 bytes:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
<svg xmlns="SVG namespace" width="600" height="250">
<g stroke-width="16" fill="none">
  <path d="M173 102a51 51 0 1 1-13-30m20 37h-53" stroke="#4a87ee"/>
  <circle cx="227" cy="128" r="32" stroke="#d83038"/>
  <circle cx="313" cy="128" r="32" stroke="#f4c022"/>
  <path d="M401 160a31 31 0 1 1 0-61m-4 0a24 29 0 1 1 0 61m26-67v79m-1-12a20 20 0 1 1-52 17" stroke="#4a87ee"/>
  <path stroke="#4ab95a" d="M449 51v115"/>
  <path d="M529 118a30 30 0 1 0-2 24m5-32l-62 28" stroke="#d83038"/>
</g>
</svg>

Using this approach, the entire logo can be drawn using 2 circles (for the 2 o's) and 4 paths (for the G, g, l, and e).

How could Google's new logo be only 305 bytes, while its old logo is 14,000 bytes?

SEBI for StartUps

Source: https://i2.wp.com/i.ndtvimg.com/i/2013-01/41358407281_625x300.jpg

In a move to help entrepreneurs and create more jobs Securities and Exchange Board of India (SEBI) decided to make change in disclosure norms. These are the norms which requires you to disclose all the information which may effect investors decision. This will help startups to raise fund and grow faster.

The most common problem for startups is funding. The move to ease norms may bring the light to the path to achieve funding goals and may drive the success of the startup companies, which can create more jobs and bring economy to the new levels.

The new norms eased relaxations for the companies which works in the areas of IT, data analytics, intellectual property, bio-technology or nano-technology related areas. This will help the companies to get listed on separate Institutional Trading Platform. This is specialised platform designed for SMEs. You can read about them here.

SEBI opened this for institutional investors and HNI(High Networth Individuals), as want to safeguard investors against higher risk of investment in this case. Under the new platform the promoter holding is locked for only six years while in case of main platform it is three years. Startus may not disclose how they will use the fund or other details like group of companis , litigation. The minimum investment lot is 10 lac , as sebi want only big players to invest. Later startup can graduate to main platform and small investors can invest also.

The idea is simple. Create a new platform for new entities and ease the norms which are implemented in general. Once new entity is mature enough, one can move on. There are also norms for delisting and exiting.

I created this small article in layman language so everybody can understand. I would suggets you can head over to following links for more specific insights.

 

Get bank details of anybody. No hacks. No technology. Simple flow in technology.

How to hack bank details of anybody?Here’s How I Can Know Anyone’s Bank Balance In India. Bank Security Bug Exposed.

From http://www.storypick.com/bank-security-bug/

Via: http://www.storypick.com/author/indrajeet/

Have you ever wondered how much money is there in your neighbours bank account? Do you want to know the bank account details of somebody but don`t want do any technical stuffs. Then indian banks made this easier for you. Here is what you can do to know the bank details of anybody using their passbook(yes passbook, not password). You just need the front page of their pass book and you can have all the details, all the transactions made with date and time. Moreover you can keep doing this as many times as you wanted.

Here goes the idea.

Get the barcode printed on the passbook.

Paste on your passbook and keep getting details.Simple and Hassle free.

PS: Tested by original author on various banks passbook printing machines.

Which is the best city in India to settle and why?

Gandhinagar: Why you should move here?

Answer by Ajeet Panigrahi:

Well before I answer this question, I would like to say that I lived in many different cities including Mumbai, Delhi, Kolkata , Chennai, Ahmedabad, Vadodara, Patna, Pathankot, Kochi, Nashik, Lonavala, Nicobar, Bhubaneshwar, etc.

But the city I liked the most and one of the city where anyone can live a peaceful and uninterrupted life goes like this:

1. The city is Planned, in a damn good way. It was planned by HK Mewada and Prakash M Apte, who worked as trainees under Legendary Architect Le Corbusier, the architect who designed Chandigarh. The plan somewhat looks like this.


(Image source:  Page on indiatravelite.com )

2. Some one said about Greenery. This is the Greenest City in Asia with 54% forest cover of its total area. For instance, a normal city has 150 Trees per 100 persons, but this city has more than 400 trees per 100 which is very high.

​( Image Source: www.swastikrealbiz.com)

3. Has a market place in every 1 Sq. Km where one can find all the basic daily needs.
4. Has got garden in every sector where people spend time with families.
Few of the Gardens are so well made that they do attract lots of people from outside.

​( Image Source: www.omnilexica.com)

5. The normal view of a road is like this. Its not a Highway, but only a Sector Road.


​( Image Source: epaper.timesofindia.com)

6. Temples! There is Akshar Dham, Gandhi Mandir, and many small temples in each sector.


​(Image Source: www.travelguru.com)

7. Has got very less traffic. A busy day somewhat looks like this.


​( Image source: Xossip)

8. Pollution, naah, I couldn’t find any.

9. And the best part are the people. Gujjus are the best and one of the least violent people in entire country. Ther are always Maja Ma Che.

10.Mahatma Mandir..
Don’t be surprised, its not airport..


​(Image source: swapnasrushtiwaterpark.com)

11.These kind of pedestrians


​And you can roam anywhere anytime without fears.!!!pretty safe.
(Image Source : katiraconstruction.com)

12.Celebrations (Navratri)


​(Image Source: www.gandhinagarportal.com)

13. Water show


(Image source: www.swaminarayan.org)​

14. IT Parks (TCS Builiding) Many such buildings are coming up. Also to mention the first smartcity of India, GIFT City is also coming up.


​( Image Source: www.snehalshaharchitect.com )

15. This is how intersections/circles look like. There are many like these in Gandhinagar. They are just like mini parks built in between the roads.

(Image source: Google Images)

16. And to all the Non Vegetarians out there, resist this if you can. For your information, that is completely vegetarian. (I am saying it being a non vegetarian).

(Image source: Google Images)

There are many more things I can say but need to leave office.
And Yes the city is GANDHINAGAR, Capital of Gujarat.

Some things which I couldn’t add due to time constraints, added by Mithil Leua.
Edit 1: Sources added.
Edit 2: Some details of Interchanges and Food added.

Which is the best city in India to settle and why?