IBM Open Source Book, a short summary

Every­time we browse the net or just doing some “Googling” there will always be a time that we came across some terms such as “Free Software”,“Open Source” or “FLOSS” either by direct link from a news or even from ban­ner ads. For those who is not famil­iar with those ter­mi­nol­ogy then this hum­ble blog post is for you and per­haps rec­om­mend­ing a book might shed a lit­tle light on the tech­nol­ogy around us. I was still com­plet­ing the book “Google Hack­ing For Pen­e­tra­tion Testers” when one mem­ber from Open Source Group in LinkedIN posted a link to the newly released IBM Books which I’ve down­loaded right away and since the free ebook con­tains only 138 pages read­ing material,might as well fin­ished it first.

I’ll divide the sum­mary into 2; first half con­tains on what to expect on the first 3 chap­ters and the other half deals with the remain­ing chapters.

The first few chap­ters gives the reader a glimpse on the his­tory, some peo­ple behind it and evo­lu­tion of how “Open Source” soft­ware came into exis­tence, con­sid­er­a­tions on the pos­si­ble ben­e­fits and risk of using such solu­tion, on going trends and how being involve with dif­fer­ent projects could ben­e­fit you as a pos­si­ble con­trib­u­tor on your career. There are some “Did you know?” stuff that a user might find infor­ma­tive and check the web for rel­e­vant data like one below.

First web server was devel­oped in Decem­ber 24,1990 which was CERN httpd, how­ever Apache HTTP server that was devel­oped in 1994 by Robert McCool still pow­ers major­ity of web­sites today com­pris­ing of almost 100+ mil­lions hosted sites.”

Addi­tional source: http://en.wikipedia.org/wiki/CERN_httpd

These sec­tion also focuses on how com­mer­cial com­pany could use “Open Source” and how exist­ing com­pa­nies earn money despite releas­ing soft­ware as “Free” in the com­mu­nity at large.Lastly on first half, the authors dis­cusses to the con­fus­ing dif­fer­ent licens­ing scheme that a devel­oper or com­pany can adapt to fit their busi­ness needs when releas­ing solution/s that has “Open Source” com­po­nent or has some GPL,MIT,BSD to name a few Open Source licenses attached to it.

The other half of course deals with com­mu­nity and the par­tic­i­pa­tion on “Open Source” project; if you have ques­tions on how a project is deliv­ered by com­mu­nity, the stages/cycles it under­goes and some devel­op­ment tools that devel­op­ers used; then read­ing this part is worth a time. This sec­tion also give exam­ples on what means or chan­nels avail­able to sync/coordinate peo­ple since most devel­op­ers are doing work in dif­fer­ent time­zone and some are from dif­fer­ent part of the world.The remain­ing few chap­ters also sited some case stud­ies done by IBM on how they’ve con­tributed in the com­mu­nity includ­ing their “Express” edi­tion of DB2, one of the lead­ing enter­prise data­base solu­tion today.

Above sum­mary is short but for a 138 pages ebook giv­ing intro­duc­tion on how “Open source” works, the ecosys­tem it has and the ben­e­fits it can give to a devel­oper or com­pany; the authors indeed deliv­ers to inform and gives the big pic­ture that the reader can eas­ily understand.

Title:
Get­ting Started with Open Source Devel­op­ment
A book for the com­mu­nity by the com­mu­nity
Pub­lisher: IBMDB2 On Cam­pus Series
ISBN: ???
Num­ber of Pages: 138
Authors:
Rachna Kapur, Mario Briggs,Tapas Saha,Ulisses Costa,Pedro Carvalho,Raul F. Chong,Peter Kohlmann

Down­load the Open Source Devel­op­ment Ebook now! (You need an IBM ID which reg­is­tra­tion is easy)
Dis­claimer: Above sum­mary is a per­sonal inputs after read­ing the ebook…Cheers. c”,)

Posted in Reading | Tagged , , , , , , , | Leave a comment

MIDORI, another javascript framework worth checking out…

Most devel­op­ers are com­fort­able work­ing with the lead­ing frame­work to achieve dif­fer­ent func­tion­al­ity that uses javascript whether it’s a web 2.0 or mobile related projects; we have the ele­gance of Mootools, cool effects of Dojo, stan­dard look/feel using Yahoo User Interface(YUI) library and of course, every programmer/developer sweet­heart…jQuery!

Above men­tioned are just a few of them and check­ing Wikipedia alone…we still have sev­eral on the list that is worth eval­u­at­ing and add in our web devel­op­ment arse­nal, some are open source oth­ers are not. Yes­ter­day, I’ve stum­bled upon MIDORI cre­ated by Aycan Gulez which check­ing the exam­ples given; IMHO, it would surely be another frame­work that any devel­oper can use on their appli­ca­tion or project. Based on the intro­duc­tion from the site, below are some of the things that the frame­work can offer…

What is midori?
midori is an ultra-lightweight JavaScript frame­work that gets the job done with­out get­ting in your way.

  • Use CSS selec­tors to quickly access match­ing ele­ments on a page: midori.get(‘div.serious’).apply(‘className += ” fun”’) anyone?
  • Ajax with­out break­ing the back but­ton. Peo­ple don’t like to go back to the home­page after click­ing 30 links (“what do you mean they weren’t actu­ally links?!”), nor do they like bro­ken bookmarks.
  • Auto com­plete. Thanks to social net­work­ing, every­one on the planet knows about a mil­lion peo­ple on aver­age now. So, make it easy for them to find the right “John” in your next-gen address book app.
  • And more which check­ing the site is a must to know more on what MIDORI can offer!

After min­utes of read­ing the exam­ples, I’ve open up my Intype and do some basic codes to eval­u­ate the frame­work. Voila, after a few minutes…got a basic exam­ple which basi­cally access DOM ele­ment and it’s quite really easy! Just like the lead­ing frame­work that most devel­op­ers are already using, MIDORI had sev­eral func­tion­al­ity that is ready to use; DOM Manip­u­la­tion, FX effect, Auto­com­plete, AJAX..and more.

HTML:

<!-- somewhere in header -->
<link rel="stylesheet" href="reset-min.css" type="text/css" media="screen" />
<link rel="stylesheet" href="demo.css" type="text/css" media="screen" />

<!-- somewhere in body -->
<div id="container">
 <div id="el-example">"Use CSS selectors to quickly access matching elements on a page..."</div>
 <div id="el-trigger">
 Trigger: <input type="button" id="el-button" value="Run" />
 </div>
 <div id="el-output"></div>
</div>

CSS:

body {
 margin:0;
 padding:0;
 font-family:"Lucida Grande", Verdana, Arial, sans-serif;
 font-size: 12px;
}

a:link,
a:visited { text-decoration: none; color: #cd5500; }
a:hover { color: #147DB6; }

#container {
 margin-top: 50px;
 margin-left: 100px;
 margin-bottom: 50px;
 margin-right: 100px;
}

#el-example {
 padding: 5px;
 border: gray dotted 1px;
 color: white;
 background-color: black;
}

#el-trigger {
 padding-top: 10px;
 padding-left: 0;
 padding-bottom: 10px;
 border-bottom: black solid 3px;
}

#el-output {
 margin-top: 5px;
 padding-top: 20px;
 padding-left: 10px;
 padding-bottom: 20px;
 padding-right: 10px;
 border: orange solid 1px;
}

.el-demo {
 color: white;
 background-color: orange;
}

JS:

<script type="text/javascript">
 //<![CDATA[
 midori.addEventListener(window,'ready',function(e) {
 midori.addEventListener(midori.get("#el-button"),'click',function(e) {
 var oOutput = midori.get("#el-output");
 oOutput.innerHTML = "Welcome midorijs!";
 oOutput.className = 'el-demo';
 });
 });
 //]]>
 </script>

Source code can be down­loaded MIDORI Demo.

Some JS library achieve things in shorter line of codes with prob­a­bly better/faster imple­men­ta­tion but there’s no harm in try­ing so check­ing it out is def­i­nitely worth it. The only minus point on my very short eval­u­a­tion of the frame­work is that I can’t minify/pack the library and there seems to be no forum or basic sup­port at least within the site.

Posted in Web Development | Tagged , , , , | 1 Comment

Using Google to discover “things” that might interest you!

Google, as we know offers lot of fea­ture includ­ing; doc­u­ment trans­la­tion, brows­ing free and not free images or stock,underground arti­cles, pri­vate files and many other things. How­ever, some uses it to dis­cover new things or stuff that might inter­est them; exam­ple I’m using it to find ref­er­ences needed at work by using Google advance syntax/parameter. Any­way, should you hap­pen to admin­is­ter a server or involve in man­ag­ing a server exposed in internet(public IP)…make sure that your site,directory or pri­vate files not “INDEXED” else peo­ple can freely “get” some­thing which is not intended for public.

I’ve remem­ber once at PHPUGPH.COM when we had the dis­cus­sion on one Philip­pine manning/agency site which our found­ing mem­ber AJ reported it to site owner because it exposes our fel­low “Kababayan” per­sonal iden­tity. Why bother report­ing it? because the site itself hosted all scanned doc­u­ments that they processed that have; pass­port and VISA information,resume/cover letter,credentials and other per­sonal notes of a spe­cific per­son. Unfor­tu­nately, we had a very unusual and unex­pected reply…lol.

Fig. 1 Email to the Agency/Manning Site

Fig. 2 Unusual Reply(Probably an Auto­mated Reply…)

Any­way, what are the things that we can find at Google by using advance syn­tax of what often referred to by media as “Google Hack­ing”?
1. Files (index.of? pdf)

Fig. 3 Free Ebooks

2.Default Instal­la­tion that any­body can make fun of?!! (xampp “inurl:xampp/index)

Fig. 4 XAMPP

3. Infor­ma­tive Stuff and many other things by using other syntax/search query that any­body can try:

inurl:Proxy.txt

intitle:index.of administrators.pwd

Index of php­MyAd­min
Notes:
* To search for a phrase, sup­ply the phrase sur­rounded by dou­ble quotes (“ ”).
* A period (.) serves as a single-character wild­card.
* The index.of: oper­a­tor instructs Google to search for a term that Google had indexed.
* The inurl: oper­a­tor instructs Google to search only within the URL (web address) of a document.

I’d rec­om­mend to check the book by Johnny Long or type in “Google Hack­ing” within Google search and it will tell you more!

Resources:
Wikipedia

http://en.wikipedia.org/wiki/Google_hacking

Johnny Long

http://www.amazon.com/Google-Hacking-Penetration-Testers-1/dp/1931836361

http://www.hackersforcharity.org

Posted in Uncategorized | Tagged , | Leave a comment