About Me

My photo
PhD Candidate at Purdue University, Computer Science.
Showing posts with label technologies. Show all posts
Showing posts with label technologies. Show all posts

Wednesday, February 22, 2012

Blame the Computers

It is easy to blame the computers.

There is an error that may undo the Faster-Than-Light Neutrino results.
http://news.sciencemag.org/scienceinsider/2012/02/breaking-news-error-undoes-faster.html

Wednesday, March 31, 2010

Taysseer Zilmenna Launch

Today, We released Taysseer Zilmenna alpha release.
The current release is not still stable, We hope that we will add some enhancements later. I am not able to dedicate time for it now, as I have many projects and assignments to do. But I have some ideas to add.

Friday, March 19, 2010

MAC expose bug


I have a macbook-pro, and whenever I use show all applications using the expose feature.
I got a shadow of un-existing application within the displayed windows...
u can see it in the picture, i am marking it in gray.

Friday, October 16, 2009

Intel Ads

I didn't use of watching ads for such companies, Some ads are really nice.
Watch them here.
Enjoy..

Monday, April 20, 2009

MapReduce .. Another Chance

I have been calling for MapReduce and to replace the Relational Database.... I was just one guy of its thousands attracted by this.
I will be waiting for the release of this paper. at the end it depends on your system. sometimes you may need flexible designs more than performance. I think MapReduce is better in this.

Tuesday, April 14, 2009

Scala threading

Scala augments Java's native support for concurrency by adding actors. The Scala's actors library does address the fundamental problem of shared data and locks model by providing an alternative, share-nothing, message passing model that programmers tend to find much easier to reason about. They are implemented on top of normal Java threads, so that every actor must be given its own thread, so that all the act methods get their turn.

It is clear, that this model is not efficient as the creation and switching of threads are not cheap in Java. The normal implementation of receive returns after it finds and processes a message. To overcome this problem Scala adds an alternative to the usual receive method which is called react. react takes a partial function, but it doesn't return, its result type is Nothing.

Scala users, you should be ware that you are still on top of Java threading model...

Thursday, February 19, 2009

Above the Clouds

Don't go too far..this is not my romantic post for the Valentine 's Month.

Enjoy this paper..
Above the Clouds..is a Berkeley's view of Cloud Computing...If you are interested in knowing some brief issues about the cloud computing, then this is a very recommended reading..link

Sunday, December 14, 2008

Aiming at SVG..Experience Rich Web


I think that the future will be for the SVG replacing the normal image formats..
First time for me to hear about SVG was when I was discovering the Batik. I liked at that time the easy way the batik provide access to SVG.
But I didn't go deep with this as SVG couldn't be used with web products at that time.
Currently, the latest versions of Mozilla is supporting SVG, and work is still going to fully integrate it to the firefox. check the Mozilla SVG project for further information.
Opera also announced that it has support to some extent for the SVG
Adobe released Adobe viewer which is a plugin to support SVG in browsers, though I prefer a native support without relying on plugins.
So why someone should use SVG instead of normal image formats in web:
  • SVG is a vector format, SVG images can be printed with high quality at any resolution.
  • SVG is plain text, it's W3C standard. So, you can deduce that it is much more easy to compress these text formats.
  • As it is text .. then SVG support search in text! Suppose you implement google maps on SVG then you can search the text in the maps. (interesting)
  • Did you worry every time by the level of zooming you provide vs the resolution you have for your image? With SVG there is no worries about pixelization with increasing zooming level. You can get very good zooming quality.
  • You can get the same effect you want with Flash as the SVG supports animation.
  • It's open source if you seek openess.


Thursday, December 11, 2008

Back to Shell

Finally, I am back to the open source world.

After getting my new used Toshiba Satellite A100, I downloaded Ubuntu 8.10.
Something I liked when installing the new ubuntu is its ability to be installed within Windows. So, u don't have to bother about restarting, disk formats..bla..bla..bla.

I checked the new OS installation on my laptop. Well, I am impressed, everything seemed to be working smoothly.

My next step was to run the JikesRVM on eclipse to start some development.
in order to achieve this:

if you run
$ dpkg --get-selections | egrep '32|gcc'

u will get a list of the libraries you have on your system.
While for the jikes compilation u will need gcc multilib and g++ multilib
so, you should get the g++-multilib by running
$ sudo apt-get install g++-multilib
You will also need Bison
$ sudo apt-get install bison
get ant
$ sudo apt-get install ant
get your Java packages by running..
$ sudo apt-get update
$ sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin

In case you have other java installations ..Run this command to fix configurations.
$ sudo update-java-alternatives -s java-6-sun
Set your $JAVA_HOME variable
$ sudo gedit /etc/environment
and add JAVA_HOME = "/usr/lib/jvm/java-sun-6"

Re-login
Download eclipse from its official site.
$ sudo apt-get install subversion
$ svn co https://jikesrvm.svn.sf.net/svnroot/jikesrvm/rvmroot/trunk jikesrvm
$ cd jikesrvm
jikesrvm$ bin/buildit --eclipse localhost -j $JAVA_HOME
Import the project into workspace.

I found some errors in the source code after getting the project into eclipse.
My friend Morshedy advised that it may be a common problem with the eclipse, so I run the
jikesrvm$ find -wholename *.java  -exec touch {} \;
but didn't solve it.

So, I guess I will wait for an update on the SVN.

Update: it was not my lucky day when I was building jikes..I tried to build it many times on that day. but I got errors when openening in eclipse...
So, I retired again a day later by :
jikesrvm$ rm rf components
jikesrvm$ ant very-clean
and then rebuild..it worked fine this time

Saturday, November 22, 2008

Archiving Scalability in NARA

Today I read this interesting article. It's a typical problem I was thinking about for a long time ago.
Archiving projects are the core of the Bibliotheca Alexandrina Strength, but so far we didn't face this huge amount of data described in the article.
Although we made archive for famous Egyptian figures like Boutros0Boutros Ghali, Gamal AbdElNasser, Anwar el-Sadat, and a collection of "History of Modern Egypt" noone of these collections exceeds some of hundreds of thousands of documents.
I have many thought about how can I deal with these amounts of data. the key is to design a scalable system based on clusters of data and not to wait for a president to conduct his heritage after termination. You should invest your time building a "generic" system capable of drinking whatever you throw to it given the key performance points you consider..
Is it surprising that you know that the president of USA will get billions of messages!
I would propose hadoop as a starting phase, a good step to start the cluster you want to create. But of course you may to ass some enhancements based on your system requirements.
This would be a great challenge if we come across such huge collection in some projects.

Thursday, November 20, 2008

Monday, October 27, 2008

Memory of Modern Egypt..Here we come

Today, Memory of Modern Egypt will be finally launched.

"Memory of Modern Egypt is an endeavor to produce the definitive repository for culturally and historically significant material pertaining to the modern history of Egypt, from the French Expedition in 1798 to the end of Al-Sadat’s presidency in 1981".

Wednesday, October 08, 2008

Will we say Goodbye to RDBMS?

Through my work in the last 2 web projects I made a different architecture different that the usual ones.
The projects depend basically on a powerful multilingual search engine.
Using the Lucene technology for both projects created a big bunch of index files.

All I did, that I made all the navigation in the site be done through the search engine. So, I don't need to retrieve data from DB anymore.
Of course the site is dynamic, I think that I can just rebuild the index file from time to time(from scratch)..and if the site you work on has huge index files that will take months to be rebuild then you can rely on the (add/delete) command in the Lucene.

But in all cases, I expect this will future of Data storage. later, I figured out that Google App Engine provides way to connect directly to the BigTable.
Also, many Document based storage were released such as CouchDB build in Erlang (my beloved language) and thrudb.

I expect to release technical details about the architecture and the tradeoffs.

Wednesday, October 01, 2008

Taysseer Zi El Menna ( the History)

"Taysseer Zi El Menna" started as an ambitious project to assemble islamic contents and provide them to the user hands in a very easy way.
We noticed that majority of implemented islamic web-sites/applications were poorly implemnted.
For example, the search was limited to exact search, or %like%.another aspect was the repository used to implement this search. if it was Database it was very slow, or limited to a specific book.
At that time we decided to implement a desktop application that assembles some islamic books abt "tafsseer" (Quraan explanation) and make a more advanced search techniques. we used Lucene to provide morphological search.

The end product was something good (Java desktop application) . But we didn't pay much effort to distribute this desktop application.





Tuesday, September 23, 2008

Friday, August 01, 2008

Everything as a Service

As Amazon taking lead on the EC2 (Elastic Compute Cloud); HP, Intel and Yahoo are trying to catch it now.

I think that exposing processing services is really helpful in research field specially for those who need to run very heavy instructions without the need to buy a supercomputer.

Hopefully, soon I will try to make some development on EC2, fell it will be awesome experience.

In Bibliotheca Alexandrina, there will be a running project for Super Computer, I think it will be great if this will be the door for Egyptian organization to access the Cloud Computing era.

Friday, June 20, 2008

Photosynth

I liked the idea of Photosynth... Collecting all photos from individual to build 3D models can be a very good idea.. You can take a quick overview in the following video..

Tuesday, May 27, 2008

Waiting for Flash Player 10

I saw that video demonstrating some of the features that will be embedded in the flash player 10.0..

Well, I think I will try to test it and think about flash in my next project..(given that it works)
Go Adobe Go.............