Thursday, July 18, 2013

Blogger & AngularJs - Is it a better love story than Twilight ?

May Allah`s peace , mercy and blessing be upon you

I shared recently a post about how I got that idea to use AngularJs with Blogger using RSS as a resource and modding comments. Today, I want to share with you my impressions after two weeks since I launched the experiment.

Disclaimer: The experiment was on this blog, it's a small personal blog with minimalistic design, limited number of posts and few visitors, so my judgement will be based on those facts. Behavior on larger blogs isn't guaranteed to be the same.

What I like about it ?

It's very light, swift and fast, the page is visible quickly even with using a custom font and many base64 resources, not to mention that Angular for a reason that I don't understand loads resources for all posts even if they aren't rendered nor in the DOM yet !!!

Tuesday, July 2, 2013

Rebuilding Jaw,B blog

May Allah`s peace , mercy and blessing be upon you

Hello everyone, first of all, I think you noticed the comment's css bug, I don't know why the comments floats from the parent !! so I decided to redesign the blog and do some optimisations.

I didn't wanted the whole experience to be just old regular web development, like I used to do. Hence I decided to apply some of the great tools that I installed a long time ago but never used. I began with setting up directories and use Bower to download libraries, then I initialized Guard to watch javascript files and concatenate them and do Livereload. Also, I used Sass, Compass and Zen-grids for CSS.

Sunday, May 19, 2013

Guide : Installing Android Studio on Ubuntu

May Allah`s peace , mercy and blessing be upon you

Hi, if you watched (or assisted -if you are that lucky-) the Google I/O then you couldn't resist installing the new Android development environment the early access preview. Android Studio the IDE built on IntelliJ IDEA with a lot of features for Android development and debugging, making the process faster and more productive. Coming with extensible build tools, powerful code editing, smoother and richer GUI .. you can read these stuff here.

So, if you are like me, an Eclipse/ADT user you must wonder why they went with IntelliJ IDEA instead of Eclipse ? they responded with : "Because when we did just Eclipse, people kept asking for IntelliJ support" , "We will support both Eclipse and the new IntelliJ-based Android Studio. Eclipse support is not going away". Eclipse is still supported but I'm not that loyal :) to the IDE to stick with it.

Saturday, March 9, 2013

Pepper Pyramid - (Hologram) Experiment

May Allah`s peace , mercy and blessing be upon you

Nothing nerdy this time, I just wanted to share this experiment about pyramid holograms. In fact, many people prefer to call it Pepper Pyramid, called on John Henry Pepper who created the Pepper's Ghost effect. The principle is simple, the four sides of the pyramid are made of reflective glass or plastic so they can reflect four images taken from the sides of the object or scene, and they reflect each others which makes the object looks in a 3D way.

So here are some not very well pics due to the poor camera and the darkness :

Friday, December 7, 2012

MCPC 2012 - Problem D : Minimum bounding rectangle

May Allah`s peace , mercy and blessing be upon you

P.S: This is not the original text, I rephrased and summarized the original one because I'm lazy and I couldn't type the whole text. if there is an error it's my mistake.

[D] SCPC:
We need to build a contest hall in the shape of a cuboid (3D rectangle). for economical reasons, we need to minimize the size (area) of the rectangle. So given the coordinates of the teams, calculate the minimum rectangle area of land for a building big enough to fit all the teams.

Input :
T: number of cases.
N: number of teams.
Xi Yi: coordinates of each team.
1<=T,N<=100,
-10000<=Xi,Yi<=10000

Output:
Single line starting with case number, followed by the area of the minimum rectangle rounded to 4 decimal places.

Example :
4
4
0 0
1 1
1 0
0 1
4
0 0
2 2
2 0
0 2
4
0 0
1 2
1 0
0 2
3
0 0
1 0
1 1
--->
Case 1: 1.0000
Case 2: 4.0000
Case 3: 2.0000
Case 4: 1.0000

Contest Analysis :

Zoli Issam's blog proudly powered by Blogger | All rights reserved Jaw,B 2010-2013