Summary of Microsoft Developer Conference #MDC2016

Luckily, i attended the 2016 Microsoft Developer Conference held in Egypt few days ago. It was an inspiring event where the latest tools and technology where discussed in the conference. I thought it will be useful to share a brief summary of the conference sessions. The conference agenda is shown below.

The opening speech was from Sherif El-Sanadily, Developer Experience Director at Microsoft. He talked about the idea of searching and finding opportunities and being creative and finding a way to success instead of making excuses.

Then the special keynote speech by Satya Nadella, Microsoft CEO. He talked about company mission which is “empower every person and every organization on the planet to do more and achieve more.” Satya was great to see the creativity and passion of Egyptian developers and startups after meeting with some of them.

Next, Walla Atef talked about Internet of Things (IoT) and Windows Azure as the backbone of Microsoft. Also, Azure is not a place to host Microsoft technology only , all other technologies are welcomed there. Two demos was shown in this session which was built on windows azure:

  • Twitter ballon: Mohamed Yamama demonstrated a solution where a twitter tweet is classified using machine learning as a negative tweet or positive tweet based on its content. The result of classification blows a corresponding balloon (one for negative and one for positive) using a simple hardware.
  • Money Box: Bishoy Labib from LinkDev talked about a project in UAE  of money boxes for charity. The problem is when to know the box is full of money and need to be collected from the box. He worked on a solution where each box is configured with a sensor to detect the fullness of the box and the readings was collected remotely using Microsoft Azure and results shown on dashboard.

Then the sessions are divided into two main tracks:

  • Cross Platform Track
  • Cloud Track

I attended the cloud track and will summarize the technologies mentioned in these sessions from my notes and memory.

First session was about big data and machine learning by Hany Azzam. He talked about Big Data and how to transform it into predictions and actions. He talked about the difference between static analytics and stream based analytics. The services he mentioned:

  • Azure Stream Analytics: a cloud service that provides real-time analytics for your solutions.
  • Azure Machine Learning: is a service that a developer can use to build predictive analytics models (using training datasets from a variety of data sources) and then easily deploy those models for consumption as cloud web services. He mentioned also this free book that can be downloaded.

Hany also demonstrated a demo for real time vehicle destination prediction. This demo was live where a car trip was started during the session and its location information was streamed to the cloud in real time. The model that was trained using previous trips kept predicting the destination of the car at run time based on its current location.

Second Session was about Azure Logic Apps by Shehab Fawzy. Azure Logic Apps is a cloud service that automate business process execution and workflow using an easy-to-use visual designer. Shebab talked how to modernize existing business workflows and building workflows using the service. Shehab showed a simple demo where an SMS is triggered and sent based on request inserted into a SQL database.

Third session was about Office 356 Development and Graph API introduced by Dina and Sherif El Mahdy. They talked about how to integrate Office 365 data into your application in addition to customizing Office 365 experience within Office itself using Office 365 APIs.

Sherif also talked about Windows Azure Active Directory (AD) and its integration with applications. Graph API was introduced also which is a unified API that includes APIs from other Microsoft services such as Outlook, OneDrive, OneNote, Planner, and Office Graph, accessible through a single endpoint and with a single access token. At the end, Sherif showed a demo for authentication using Universal Windows Platform (UWP) apps.

Fourth session was by Remon Zakaria talking about software delivery challenges and DevOps. Remon talked about working effectively in software projects using Microsoft technologies. The main focus was on Visual Studio Team Services which are services for teams to share code, track work, and ship software. Remon mentioned Team Services different features including version control, Agile Planning, Continuous integration, delivery and testing.

Remon also showed a demo using Application Insights on KetApp app. Application Insights is a cloud service that tracks usage in mobile apps and web apps including issue detection.

Last session was on Azure Billing APIs by Dina Helmy. Azure Billing APIs provide access to resource consumption for Azure subscriptions, providing the ability to better predict and manage Azure costs. It contains two APIs, one is Resource Usage API and the other is RateCard API. Dina demonstrated a demo of how to query this API.

Hope this summary is useful. I’m glad I attended the conference and can’t wait to experiment and use these latest technology from Microsoft.

have FUN😀

20160107_202838

 

Printing Web Page

While browsing different websites, we usually find useful information that we need to print for later reference. It would be great if a web page provides this functionality instead of relying on the browser to do it. In addition it provides more customization to the output of the printing as we will see in this post.

JavaScript provides this functionality through the print function of the window object.

window.print();

The print function prints the contents of the current web page when executed. The function opens the Print Dialog , which lets the user to select preferred printing options.

Print Dialog

 

 

 

 

 

 

 

 

 

 

The print function can be called directly using the onclick event as shown in the following example.

<input type="button" value="Print" onclick="window.print()"/>;

Although the print function serves the purpose of getting a printout, it is not a recommended way alone.

Sometimes you need to customize the content that will be printed to be fitted exactly on the size of the paper by:

  • Use different styles to enhance the appearance of your content on paper.
  • Hide different parts of web page that are not related to its content such as navigation controls, menus, ads , … etc.
  • Use high resolution images to appear better on paper.
  • Display the URLs in the content instead of the reference link.

Some websites provides a printer-friendly version of the web page formatted for printing. This requires to make two pages rather than one. An alternative is to use a print style sheet that is used only when printing a page. To add a print style sheet, Add the following to your <head> tag in HTML page.

<link href="/print.css" rel="stylesheet" media="print" type="text/css" />

Where print.css is the CSS file that contains the styles used on your page when printing. Note that specificity and precedence rules still apply.

A modern way of using printing style sheet is using media queries. Media queries are CSS3 module allowing content rendering to adapt to different rules and used for responsive designs.

Media queries can also be used to create print styles using @media print which is added to the end of your style sheet:

@media print { 
 /* All your print styles go here */
 #header, #footer, #nav { display: none !important; } 
}

Enjoy printing and have FUN:)

Prepartion for Esri Web Application Developer Associate 10.2 Certification

Hello all. In my journey to study geographic information systems (GIS), I decided to enter the web developer exam provided by Esri which is Web Application Developer Associate. I took the latest exam version Web Application Developer Associate 10.2 few months ago and passed it. It was a challenging exam and requires knowing of different features to solve described scenarios and investigate/fix issues.

With every major release of ArcGIS (Currently latest is 10.3), Esri releases a number of new certification exams to cover new version if more than 10% of change to the overall exam content exists. For the version 10.3 exams, all exams are updated except for developer exams which will be updated for next releases.Esri Certifications Exams

The web application developer exam is not specific to a specific language. It covers general topics regardless of the language used to build applications. The exam material for Web API is available in three different languages:

Current releases for Flex and Silverlight are the last ones and the support will end through June 2016. The future of API will be based JavaScript and HTML5.

For anyone who want to enter this exam, let me share how i studied for this test in the following steps:

  • In the certification page, there are skills measured which must be familiar with before entering the exam
  • To get information about each skill, i read about it in the below resources:
  • There is sample exam given by Esri: HERE. This sample exam contains questions with explanation of correct answers to help understand how exam questions are structured.
  • Esri provide a list of preparation resources (Pdf) to help prepare for the exam, but are not required .
  • Last but not least, you need to get your hands dirty and build some applications using the API. There are a lot of samples where you can start with.

After passing the exam, you will be an Esri Certified Web Application Developer Associate

Here is my certification: Web Application Developer Associate 10.2 certificate

Hope this helps you in your preparation. I will talk on other related topics in details in future posts.

have FUN:)

Starting Mobile (Which Platform?)

Do you want to start mobile development, and don’t know which platform to start to learn the basics?

The following videos show  a “Hello World” app being created simultaneously for iPhone, Windows Phone, and Android, and demonstrates the steps to create the app from scratch.

“Hello World” Mobile APP which contains:

  • Text Field
  • Button

and when clicking the Button, the word “Hello World” displays in the Text Field.

The code to implement the “logic” of the app is essentially the same on all platforms. However, the video shows:

  1. First the Visual Studio (Windows Phone) only takes about 35 seconds to finish and run the app
  2. In the second place comes the Xcode (iPhone) which takes about 2:40 minutes to finish the app
  3. And in the last place, Eclipse (Android) takes about 3:00 minutes to finish.

What do you think about these conclusions? Of course this is a simple example, but when the logic of the app gets complex, is it important to spend your time improving an app, or just making it run?

have FUN😀

Tocco….Winning First Place in EED (Egyptian Engineering Day) 2009

Every year the IEEE organize the Egyptian Engineering Day which is an annual exhibition, i talked about it in this previous post.

This year it is the 8th Egyptian Engineering Day (EED 2009)  which took place at Cairo International Conference Center, Nasr City, Egypt. The EED event this year was three days.

At First Day (Day Zero), it is required from the teams participating  to sign in and set-up their project in their assigned booth.

The booth assigned for each team is 2×1 meters in space and allowed to take one meter in the hall. Each booth should contains 2 chairs, 1 table and an electrical plug.

The booths was divided by category, each category is grouped together in one place as you can see in the map.

EED Map

EED Map

Also there was Made In Egypt (MIE) Competition taking place, where the participants was making presentations for judged to evaluate them as final part of competition as i will discuss later on another post.

At the same day,there was also some useful sessions.

In the Second Day (Day One), there was an opening ceremony to welcome the guests and announce the EED program attended by some ministers and other important people in the field.

Main Hall

Main Hall

1

Dr.Samir Shaheen and ministers Dr.Ahmed Darwish and Dr.Said Meshaal at the opening ceremony

Hall where the opening took place

Audience at opening ceremony

Then the projects gallery was open for visitors, and there was sessions and discussions also taking place concurrently with the exhibition.

At the same time, the EED Competition’s Judgment starts for participant teams. The Judges are expected to pass by the projects at any time within the day. Every team have  only 10 minutes to present their project.

At the Third Day (Day Two) and final day, the project exhibition is opened for visitors and there are concurrent sessions running on in different fields.

At the end of the day and EED, there is a closing ceremony and announcement of the results of the two competitions which are Made In Egypt (MIE) Competition  and Egyptian Engineering Day (EED) Competition.

In the MIE competition, there are only five winners from about 60 teams that passed the phases of competition succesfuly.

The winners of MIE are from any engineering field. On the other hand, in the EED competition there are categories for each award with respect to engineering field.

There are many awards also for each category, as you can see in next figure.

EED Awards

Tocco won the award: Dr. Othman Abdel-Latif Badr Award for Best Graduation Project in Computer Engineering. The award was certificates for each member and 3,000 L.E.

They don’t announce the places, each team takes an award.  But because our project was very popular to the people (especially the organizers) and they liked it very much. The results was leaked to us before announcing it😀,  knowing that we took highest grade of all teams in the field of Computer Engineering.

At the closing ceremony, the hall crowded and full, and many people did not find any place to sit and stayed standing up. The hall was full of press and television to cover the event.

Crowded Hall

Crowded Hall

Closing Ceremony

Closing Ceremony

win

Giving Awards

One of the Winners

One of the Winners

OTV talking with one of the winners

OTV talking with one of the winners

Back to Tocco, we made a brochure for the project to give an idea about the project to the visitors of EED.

Tocco Brouchure

Tocco Brouchure

Tocco was very popular in the EED and all the visitors was very amazed and excited about it.

Tocco booth was crowded with people all the time. The visitors that liked Tocco was from all ages from small kids to old people.  Also from all fields of engineering and outside it.

Even the organizers left their work and came to see Tocco😀.

There was also another contest which called X-treme innovation Contest where it is decided by the visitors for best project in each filed of engineering. The visitors are given stickers to give it to best project they see in their opinion. The Project with more stickers will win. Most of the visitors gave us the sticker and we collected the largest number of stickers in the Computer Engineering Field (Dark Blue Sticker).

Stickers Given by Vistors at contest

Stickers Given by Vistors at contest

They was very nice days and we were having a lot of fun. I will not discuss more and leave you with some pictures of Tocco at EED.

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Tocco

Hope you enjoyed the pictures.

There was about 200 teams (including the MIE teams) participating in the EED, all are engineers from different fields from all around Egypt. For more information about projects participated in the Egyptian Engineering Day (EED) 2009, you can download the (PDF): EED_2009_Booklet.

For more details about EED, go to their main website.

have FUN😀

Tocco at Faculty Graduation Projects Exhibition

Finally we presented our graduation project (Tocco) and graduated in that day😀 .It was an amazing day and we had a lot of fun.

The Exhibition as mentioned before took place at Faculty of Engineering-Cairo University inside the Computer Department in the 7th floor of architectural building.

Project ready for exhibition

Project Tocco ready for exhibition


At the first part of the Day (from 9:00 to 12:00), the evaluation of the project is done by judges, at least there is an internal judge (from the staff) and an external one.

At the same time our supervisor Dr.Said Hemayed saw our project.

Our Supervisor Listening to presentation

Our Supervisor Listening to presentation

Our Supervisor Playing X-O

Our Supervisor Playing X-O😀

In the second part of the day ( from 12:00 to 6:00), the exhibition is open for the public who want to visit.

A lot of people visted our project including the minister Dr. Ahmed Darwish the Minister of State for Administer Development in Egypt, he saw our project, tested it, liked it and made a discussion with us.

Dr. Ahmed Darwish Listening to our presentation

Dr. Ahmed Darwish Listening to our presentation

Dr. Ahmed Darwish testing the touch table.

Dr. Ahmed Darwish testing the touch table.

Also Dr. Wael Mohamed El-Degwy , the Faculty Dean visited our project with Dr. Samir Shaheen, the vice Chair of IEEE Egypt Section.

Dean watching demo of project

Dean watching demo of project

Dr. Samir Shaheen Trying the table

Dr. Samir Shaheen Trying the table

Also most of the staff members of computer department including Dr. Nevin Darwish (Chairman of Computer Department)  visited our project and liked it, in addition to companies.

Most of the students of our department and other departments from the faculty visited our project and was amazed and was having fun trying it.

By the way, most of the visitors loved our project that they visited the project more than one time and hanged around for watching again and again.

We took Excellent for evaluation of the project and was one of the best projects in the exhibition.

I will leave you with some pictures of the project.

Visitors Around Table

Visitors Around Table

21072009708

Vistors around the table and in the background playing with the globe

Playing Pong

Playing Pong

A moment of observation

A moment of observation

Watching the Earth and in the background playing

Watching the Earth and in the background playing

Playing with Touch Table

Playing with Touch Table

Wait for more news coming very soon about the Tocco Project in the Egyptian Engineering Day (EED) 2009

have FUN😀

CE 2009 Graduation Projects Exhibition

Finally, my graduation project is finished and it will be presented at Faculty Exhibition.

The Graduation Projects implemented by students of CE 2009 (Computer Engineering-Class of 2009-Cairo University)  will be presented in the faculty annual Graduation Project Exhibition.

The exhibition will take place 21th of July 2009 at Faculty of Engineering-Cairo University inside the Computer Department in the 7th floor of architectural building.

At this day every group delivers its project to the judges in the first part of the day, and in the second part the exhibition is open for the public.

A poster was created for my graduation project for announcing it.

There is a facebook event created for the exhibition.

Hope it will be a nice day

have FUN😀