Profile

Cover photo
Verified name
Mohamed Mansour
Works at Microsoft
Attended University of Ottawa
Lives in San Francisco Bay Area
143,686 followers
AboutPosts
Story
Tagline
Software Engineer at Microsoft
Introduction
My views expressed here are my own and do not necessarily represent the views of my current or former employers.
 

I am Lebanese Canadian, born and raised in Canada, and currently living in the San Francisco Bay Area working at Microsoft.
 
At Microsoft, I am a Software Engineer at Bing. During the day I write a lot of JavaScript and develop new Social User Experiences at Bing Social. As well, I am deeply involved in the Innovation team where we are a bunch of hackers creating cool social experiences in Microsoft using our Bing Platform. Finally, I contribute to many internal special project tools to help innovate very rapidly.
 
At home, when I code, I attend many local hackathons, I write free software, contribute to many open source software projects, such as Google Chrome (2008-2011), hundreds of browser extensions (Firefox / Chrome / Safari), maintained dozens of projects on GitHub and contributed to many projects around the internet. That allows me to spread the knowledge I gained at Microsoft to all over the world, and vice versa :)
I will be posting stuff about programming, work at Microsoft, and stuff I find interesting.
Bragging rights
Google Chrome has some code written by me!
Education
  • University of Ottawa
    Software Engineering
Basic Information
Other names
m0, محمد منصور
Work
Occupation
Software Engineer at Microsoft
Employment
  • Microsoft
    Software Engineer, present
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
San Francisco Bay Area
Previously
Beirut, Lebanon - Ottawa, Canada
Links
Other profiles
Contributor to

Stream

Mohamed Mansour

Shared publicly  - 
 
Updated 'Reload All Tabs' Extension to v4

I had the need to reload all the tabs in my current window (around 10), so this 7 year old extension I created, stopped working. And it still has 50K users who installed it. So I decided to update it and add more feature.

1) Context menus (Customizable)
2) Keyboard shortcuts (Customizable)
3) New look and feel

Enjoy this developer tool!

Source code available in GitHub:
https://github.com/mohamedmansour/reload-all-tabs-extension
Reload all tabs using keyboard shortcut(ctrl + shift + r), context menu, or browser action button.
10
Muhammad Arsalan's profile photoAmina Jannat's profile photo
3 comments
 
Yes
Add a comment...

Mohamed Mansour

Shared publicly  - 
 
So how do you generate a random string? :-)
62
18
Gustavo Campanelli's profile photoKjetil Wikestad's profile photoMarcin Wisniowski's profile photoсергей харламенко's profile photo
6 comments
 
cryto i ymno
Add a comment...

Mohamed Mansour

Shared publicly  - 
 
Pretty cool Machine, amazing to watch :)
 
I'm impressed.

https://www.youtube.com/watch?v=QQ9gs-5lRKc

The creator notes that due to space and reproducibility concerns this was not all done in one take but was pieced together over time, but it's still super cool.
2 comments on original post
36
10
Greg Domjan's profile photoJohn short (shorty)'s profile photoсергей харламенко's profile photoMohamed Hamza's profile photo
5 comments
 
جميل جدا 
 ·  Translate
Add a comment...

Mohamed Mansour

Shared publicly  - 
 
As a Canadian, I would be proud to see a ruler like +Bernie Sanders in America, the words coming out of his mouth makes me proud living here!
14
Steve Morse's profile photoIgor Merkulow's profile photoClayton Reeves's profile photoNadia Boussoufi's profile photo
8 comments
 
Nice
Add a comment...

Mohamed Mansour

Shared publicly  - 
 
 
What are the different kinds of USB C-to-C cables?

Now that everyone has more and more #USB #TypeC phones, tablets, and laptops and we’re getting more and more USB Type-C hubs and chargers, let’s talk a little bit about C-to-C cables. Not Legacy. :)

The USB Type-C Specification (available here : http://www.usb.org/developers/docs/usb_31_032516.zip) defines 2 different kinds of C-to-C cables. I've listed the parts of the spec for convenience in reading.

What are the major differences between these two kinds of cables?

Section 3.4.1 : USB Full-Featured Type-C Cable Assembly -
This type supports USB 3.1 functionality up to 10gbps. This kind of cable requires between 15 and 18 wires in total.
As an additional requirement, these cables are now required in the Type-C spec to have e-marker identifier chips, increasing the complexity and cost of this kind of cable.

Section 3.4.2 : USB 2.0 Type-C Cable Assembly -
This type of cable only supports USB 2.0 High Speed operation.
It has a total of 5 or 6 wires. Most typical is 5 wires, Gnd, Vbus, CC, and Dp, Dn.
This kind of cable's e-marker is optional.

The USB 3.1 Full Featured cables have 10 more wires than the USB 2.0 variant. With those extra wires, the cable is capable of faster USB 3.1 data rates with supported hosts and clients, meaning support for SuperSpeed 5gbps and SuperSpeed+ 10gbps. See the pictures I’ve attached below of two tables from the Type-C spec that illustrate this stark difference in the number of wires.

In addition, these extra wires make Alternate Modes such as VESA DisplayPort possible. Type-C alternate modes allow for some or all of the SuperSpeed data wires and other wires in the full-featured cable to be switched over to a different purpose other than USB data. In the case of VESA DP alternate mode, these are switched over to allow DisplayPort video traffic. This means that the Full-Featured Type-C cable above isn’t just a replacement for your USB 3.1 A-to-B cable, but it also represents a complete replacement of DisplayPort cables or HDMI cables as well!

USB 2.0 cables cannot support this functionality, but they are simpler and far cheaper for the manufacturer. They also have several very important advantage over Full Featured cables : 1) It’s WAY easier to get much longer cables when they are USB 2.0. The 8 superspeed wires must meet USB 3.1 signal integrity requirements, which get harder as the cable length grows. USB 2.0 cables don’t have that problem and easily get to 2M or 3M.
2) Since there are fewer wires, USB 2.0 cables will be thinner and more flexible than their USB 3.1 Full-Featured cable variants.

Differentiation
How are we as consumers going to tell these two kinds of cables apart? Unlike in previous generations of USB connectors, where the connectors are all different based on the capabilities of the cable, both of these types of cables may look identical based on the plugs on each end. The USB-IF’s solution to the possible confusion to these different cables is careful labeling with new logos. If a C-to-C cable is labeled clearly with the SuperSpeed USB trident logo (with a “SS”), then that cable should be guaranteed to be a Full-Featured cable. Otherwise, expect the cable to be USB 2.0 only.

I’ve posted pictures of two different USB Type-C cables from each class of cable above. The first is Google’s 1.8M USB 2.0 C-to-C cable. The second is Black Squid’s Full-Featured USB 3.1 C-to-C cable.

#USBC
39 comments on original post
16
1
Bart Locanthi's profile photoRiyad Bouhassoun's profile photo
2 comments
 
bonjour
Add a comment...

Mohamed Mansour

Shared publicly  - 
 
Well written article!
 
Just published: Part I of an overview of the old android webview architecture, mostly describing the move from software rendering to the hardware accelerated pipeline.

#Android #AndroidDev

The Old Android Browser Graphics Architecture
1 comment on original post
11
1
Kamal Tailor's profile photo
 
Good to see you posting again +Mohamed Mansour! =)
Add a comment...

Mohamed Mansour

Shared publicly  - 
 
The funniest chart I have seen in a while. The subjectivity chart in the tech workplace :)
124
63
Noel Acosta (Nono)'s profile photoBrahim Rabah Zohir's profile photoHasen Farhan's profile photoADAM ALHASSANE's profile photo
8 comments
 
Je cherche a me faire culture pas besoin de faire des idées merci. 
 ·  Translate
Add a comment...

Mohamed Mansour

Shared publicly  - 
 
I just published “Introducing fBlock, AdBlocker for the new Facebook”

So this morning over at Techmeme, Facebook said this: Facebook Will Force Advertising on Ad-Blocking Users. So I created a Chrome Extension to defeat that. Open Source as usual
22
9
Mohamed Mansour's profile photoRobert Forslund's profile photo
2 comments
 
Cool! Love it! =D However, need a function to turn on/off ads like Adblocker Plus has! :P Thanks for giving me control over the annoying ads on FB! ^_^
Add a comment...

Mohamed Mansour

commented on a post on Blogger.
Shared publicly  - 
 
Isn't Spaces a rebranding to Google+ Communities? I am so confused
19
2
Sarah Carlton (Formerly Sarah Pagan)'s profile photovinay moharil's profile photoGraham Knights's profile photoMohamed Mansour's profile photo
7 comments
 
It brings back Google sidewiki from the dead too
Add a comment...

Mohamed Mansour

Shared publicly  - 
 
Who else is going to #io16, this year is going to be interesting, will be my 5th time! If you are planning on going, lets hangout :) I will be attending the Android and VR talks mostly !
Google I/O 2016 brings together developers for an immersive, three-day experience focused on exploring the next generation of technology, mobile and beyond. Join us online or in person May 18-20, 2016. #io16
18
1
Mohamed Mansour's profile photoRiël Notermans's profile photoKathryn Marie's profile photoMohammed Harshad M's profile photo
16 comments
 
OK mansoor that was a good
Add a comment...

Mohamed Mansour

Shared publicly  - 
 
Pretty funny :) Code Written by A CS 101 Student vs Hackathon , A Startup , Large company , Math Ph.D. , your Cat.


(source) http://biblipole.com/top-rated/code-written-by-a-cs-101-student-vs-hackathon-a-startup-large-company-math-phd-your-cat-995
159
58
Marius Piedallu van Wyk's profile photoAmokrane Chentir's profile photoJarrod Frates's profile photoMarwa Mansour's profile photo
9 comments
 
Great
Add a comment...

Mohamed Mansour

Shared publicly  - 
 
I wish I can vote, @SenSanders will make USA great again! But I can't, I am just some Lebanese/Canadian :)
31
2
Devesh Parekh's profile photoJoshua Alvarez's profile photoshankaron dirie's profile photoсергей харламенко's profile photo
9 comments
 
klinton scoree bysh
Add a comment...