<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7656369716665383369</id><updated>2012-02-16T09:55:31.154-08:00</updated><category term='web-designing'/><category term='Python'/><category term='xml'/><category term='flash'/><category term='macintosh'/><category term='installations'/><category term='MySQL'/><category term='introduction'/><category term='php'/><category term='snow leopard'/><category term='MAMP'/><category term='jsp'/><category term='tomcat'/><category term='human rights'/><category term='web-programming'/><category term='socket problem'/><category term='c programming'/><category term='object oriented programming'/><category term='c compilers'/><category term='unicode to preeti conversion'/><category term='content management system'/><category term='polymorphism'/><category term='Apache'/><category term='actionscript'/><category term='basics'/><category term='database'/><title type='text'>Programming Bullets</title><subtitle type='html'>Any intelligent fool can make things bigger, more complex, and more violent.&lt;br&gt;It takes a touch of genius - and a lot of courage - to move in the opposite direction.&lt;br&gt;
- EF Schumacher&lt;br&gt;
&lt;br&gt;
Any man can shoot a bullet! It takes a real man to ride one!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-8689415088951222794</id><published>2012-01-15T07:49:00.000-08:00</published><updated>2012-01-15T07:55:22.988-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='macintosh'/><title type='text'>Staying safe from MacDefender, MacProtector or MacSecurity malwares</title><content type='html'>According to the Apple KnowledgeBase article (http://support.apple.com/kb/HT4650),&lt;br /&gt;&lt;br /&gt;This “anti-virus” software is malware (i.e. malicious software). Its  ultimate goal is to get the user's credit card information which may be  used for fraudulent purposes.&lt;br /&gt;&lt;br /&gt;The most common names for this malware are &lt;span style="font-weight: bold;"&gt;MacDefender&lt;/span&gt;, &lt;span style="font-weight: bold;"&gt;MacProtector&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;MacSecurity&lt;/span&gt;. &lt;p&gt;&lt;/p&gt;A recent phishing scam has targeted Mac users by redirecting  them from legitimate websites to fake websites which tell them that  their computer is infected with a virus. The user is then offered Mac  Defender "anti-virus" software to solve the issue.&lt;br /&gt;&lt;p&gt;Apple released a free software update (&lt;a href="http://support.apple.com/kb/DL1387"&gt;Security Update 2011-003&lt;/a&gt;) that will automatically find and remove Mac Defender malware and its known variants.&lt;br /&gt;&lt;br /&gt;The Resolution section below also provides step-by-step instructions on how to avoid or manually remove this malware.&lt;/p&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;      For details visit:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://support.apple.com/kb/HT4650"&gt;http://support.apple.com/kb/HT4650&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-8689415088951222794?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/8689415088951222794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=8689415088951222794' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8689415088951222794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8689415088951222794'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2012/01/staying-safe-from-macdefender.html' title='Staying safe from MacDefender, MacProtector or MacSecurity malwares'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-8345334747371968234</id><published>2011-12-28T01:14:00.001-08:00</published><updated>2011-12-28T01:21:54.531-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='web-programming'/><category scheme='http://www.blogger.com/atom/ns#' term='MAMP'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='Apache'/><title type='text'>Trying out MAMP!</title><content type='html'>As this year comes to an end and 2012 is just lurking around the corner, I feel the sudden urge to try something new and write about it.&lt;br /&gt;&lt;br /&gt;So here goes, over the next few days, I will be trying out the MAMP server environment and writing about it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;What exactly is MAMP?&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(80, 80, 80); font-size: 11px; line-height: normal; font-style: italic;"&gt;&lt;span class="Apple-style-span" style="color: rgb(80, 80, 80); line-height: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;MAMP stands for Macintosh, Apache, MySQL and PHP and for years has offered the perfect solution for a local developing environment under Mac OS X. The MAMP is also available free of charge for smaller projects.*&lt;/blockquote&gt;MAMP  is a development  I have heard a lot about and so far, I did not feel the need to migrate as my own (stock) configured Apache, MySQL and PHP works wonders, not saying that they still don't work wonders. But one thing that I read about MAMP PRO got my ears up:&lt;br /&gt;&lt;blockquote&gt;With MAMP PRO, you can easily connect your local server with an existing Dynamic DNS provider, as for example dyndns.com. Making it very simple to quickly make the results of your work accessible externally for superiors and prospective customers. And because you can set up many virtual hosts, you can easily offer alternative configurations or suggestions.*&lt;/blockquote&gt;So keep checking back as I delve into this subject and write back what I find.&lt;br /&gt;&lt;br /&gt;[* = quotes from MAMP's website: http://www.mamp.info/en/mamp-pro/]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-8345334747371968234?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/8345334747371968234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=8345334747371968234' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8345334747371968234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8345334747371968234'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2011/12/trying-out-mamp.html' title='Trying out MAMP!'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-8191522657489685499</id><published>2011-11-08T00:03:00.000-08:00</published><updated>2011-11-08T00:07:34.934-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='unicode to preeti conversion'/><title type='text'>Important message regarding Preeti-Unicode Utility</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Important message regarding Preeti-Unicode Utility for Non-Profit or Social Organizations&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you or your organization is involved in non-profit, social or other kind of work that aims for the good of the entire society, or you are a researcher or scholar, and need to use this software, please contact me through email regarding the nature of your work.&lt;br /&gt;&lt;br /&gt;For such work, no amount would be charged for the system.&lt;br /&gt;&lt;br /&gt;My contact details can be found on my website at &lt;a href="http://www.vibhumishra.com"&gt;http://www.vibhumishra.com&lt;/a&gt; or &lt;a href="http://www.vibhumishra.com/contact.php"&gt;http://www.vibhumishra.com/contact.php&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thank you,&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-8191522657489685499?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/8191522657489685499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=8191522657489685499' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8191522657489685499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8191522657489685499'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2011/11/important-message-regarding-preeti.html' title='Important message regarding Preeti-Unicode Utility'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-8160151295183959710</id><published>2011-11-08T00:01:00.000-08:00</published><updated>2011-11-08T00:02:24.024-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='human rights'/><category scheme='http://www.blogger.com/atom/ns#' term='actionscript'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>100 day campaign against caste discrimination and untouchability</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-ULwWH1cBylI/TnrKpuGlCPI/AAAAAAAAAJs/c8gmqEodEGg/s1600/campaign.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 203px;" src="http://4.bp.blogspot.com/-ULwWH1cBylI/TnrKpuGlCPI/AAAAAAAAAJs/c8gmqEodEGg/s400/campaign.png" alt="" id="BLOGGER_PHOTO_ID_5655055100216150258" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Despite national legal standards and international obligations, caste  discrimination and untouchability practices are still prevalent in  Nepal, particularly in rural parts of the country.&lt;br /&gt;&lt;br /&gt;To widely disseminate the content of the recently promulgated  Caste-based Discrimination and Untouchability (Offence and Punishment)  Act 2068 to ensure its effective implementation, the United Nations Human Rights Office in Nepal (OHCHR-Nepal) and the National Dalit Commission have jointly launched this campaign.&lt;br /&gt;&lt;br /&gt;On 16th September, the President of Nepal officially inaugurated the  launch of the campaign and over a 100 participants, including Government  representatives, Human Rights Defenders and media personalities, took  part in the campaign's first National Consultation programme organized later in the day.&lt;br /&gt;&lt;br /&gt;The ultimate goal is to ensure that victims as well as their family  members are able to invoke the rule of law in order to access justice. A  culture of accountability must replace the present culture of impunity  in Nepal.&lt;br /&gt;&lt;br /&gt;To pledge your commitment to end practices of caste discrimination and untouchability, visit the campaign website: &lt;a href="http://www.100daysagainstcastediscrimination.com"&gt;http://www.100daysagainstcastediscrimination.com&lt;/a&gt; and make your mark today!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-8160151295183959710?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/8160151295183959710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=8160151295183959710' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8160151295183959710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8160151295183959710'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2011/11/100-day-campaign-against-caste.html' title='100 day campaign against caste discrimination and untouchability'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-ULwWH1cBylI/TnrKpuGlCPI/AAAAAAAAAJs/c8gmqEodEGg/s72-c/campaign.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-720470443285697998</id><published>2011-10-12T22:09:00.000-07:00</published><updated>2011-10-12T22:16:52.318-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='human rights'/><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='actionscript'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Flash - XML - MySQL - PHP integration project</title><content type='html'>It has been a while since my last post, though I did not do much or did do a lot... strange that I can't remember, I did infact finish one project.&lt;br /&gt;&lt;br /&gt;The project involves Flash - XML - MySQL and PHP integration. Primarily using Action Script, this is a campaign web presence and I urge  to visit the website &lt;a href="http://www.100daysagainstcastediscrimination.com/"&gt;http://www.100daysagainstcastediscrimination.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;On a side note, I will also encourage everyone, even if you who are not in Nepal or do not do any work related to human rights or social inclusion, to pledge your commitment to end caste discrimination and untouchability practicies. By getting people to know about these ghastly practicies in which people of "certain" communities are treated as "untouchables", and are subjected to inhumane acts and at times even killed for "violating" these so called norms.&lt;br /&gt;&lt;br /&gt;Nepal has recently enacted  a new law that outlaws such practicies and discrimination based on caste. This campaign aims to raise public awareness about the law and to advocate for its effective implementation.&lt;br /&gt;&lt;br /&gt;Jointly undertaken by the United Nations Human Rights Office in Nepal (OHCHR-Nepal) and the country's National Dalit Commission, the campaign was started on 16 September and will continue until 24 December.&lt;br /&gt;&lt;br /&gt;Make your mark - pledge your commitment - spread the word!&lt;br /&gt;&lt;a href="http://www.100daysagainstcastediscrimination.com/"&gt;http://www.100daysagainstcastediscrimination.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-720470443285697998?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/720470443285697998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=720470443285697998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/720470443285697998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/720470443285697998'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2011/10/flash-xml-mysql-php-integration-project.html' title='Flash - XML - MySQL - PHP integration project'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-4119061539145044154</id><published>2011-08-07T23:48:00.000-07:00</published><updated>2011-08-07T23:54:44.213-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='unicode to preeti conversion'/><title type='text'>Unicode to Preeti Conversion - Mac OS X 10.7 "Lion" compatibility</title><content type='html'>Regarding compatibility for the Macintosh OS X version of this utility, &lt;span class="default_text"&gt;the last release of the project, 0.8.4b (for Mac OS X 10.6.6) &lt;em&gt;should work&lt;/em&gt;  on Lion.&lt;br /&gt;&lt;br /&gt;People who tried this version on OS X 10.7 have reported  no issues, if you are using an earlier version of the Converter and  encounter problems in Lion, please upgrade to version 0.8.4b.&lt;br /&gt;&lt;br /&gt;Meanwhile, I continue to work on a release for a full "Lion" version. Support will be gradually added for converting Unicode to other fonts (including Hindi fonts) continues.&lt;br /&gt;&lt;br /&gt;The last stable version, 0.8 already has support for converting  following fonts:&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;Preeti, &lt;span style="font-weight: bold;"&gt;to and from&lt;/span&gt;, Unicode&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Kantipur, &lt;span style="font-weight: bold;"&gt;to and from&lt;/span&gt;, Unicode&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Fontasy Himal, &lt;span style="font-weight: bold;"&gt;to&lt;/span&gt;, Unicode&lt;/li&gt;&lt;/ul&gt;For regular updates, please visit: &lt;a href="http://www.vibhumishra.com/unicode-preeti.php"&gt;http://www.vibhumishra.com/unicode-preeti.php&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-4119061539145044154?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/4119061539145044154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=4119061539145044154' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/4119061539145044154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/4119061539145044154'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2011/08/unicode-to-preeti-conversion-mac-os-x.html' title='Unicode to Preeti Conversion - Mac OS X 10.7 &quot;Lion&quot; compatibility'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-8885713296091893730</id><published>2010-07-22T23:33:00.000-07:00</published><updated>2010-07-22T23:49:42.008-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='human rights'/><title type='text'>Discrimination kills  - Maternal mortality and human rights</title><content type='html'>&lt;center&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-style: italic;"&gt;Though this is not on a programme subject, it is something very important - the importance of which cannot be expressed even if all lines of code written in the world so far or will be written is raised to the power of nth degree where n is all lines of code written in the world so far and be written... &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Please share this documentary as widely as you can in your blogs, on Facebook, through emails etc...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;object style="background-image: url(&amp;quot;http://i4.ytimg.com/vi/oS_MFDP3BXc/hqdefault.jpg&amp;quot;);" height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/oS_MFDP3BXc&amp;amp;hl=en_US&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/oS_MFDP3BXc&amp;amp;hl=en_US&amp;amp;fs=1" allowscriptaccess="never" allowfullscreen="true" wmode="transparent" type="application/x-shockwave-flash" height="344" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Discrimination kills - Maternal mortality and human rights&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Discrimination against women leads to preventable deaths and injuries during pregnancy and child birth. Each year hundred of thousands of women and girls die and millions more become disabled as a result of complications during pregnancy and child birth.&lt;br /&gt;&lt;br /&gt;A study by United Nations Human Rights office (OHCHR) finds a clear relationship between maternal mortality and morbidity and violations of human rights.&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;------&lt;br /&gt;&lt;a href="http://www.youtube.com/unohchr"&gt;http://www.youtube.com/unohchr&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The study by the UN Human Rights office is produced under the request of the Human Rights Council.&lt;br /&gt;&lt;br /&gt;The short documentary is the story of a widower whose wife died during childbirth. He speaks of  how his wife's death could have been prevented. The UN human rights  office says discrimination against women is causing unnecessary deaths  and injuries during pregnancy and childbirth. &lt;br /&gt;&lt;br /&gt;For more details on this and other works of OHCHR, visit their global website: &lt;a href="http://www.ohchr.org/"&gt;www.ohchr.org&lt;/a&gt; or the website of its Nepal office: &lt;a href="http://nepal.ohchr.org/"&gt;nepal.ohchr.org&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-8885713296091893730?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/8885713296091893730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=8885713296091893730' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8885713296091893730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8885713296091893730'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2010/07/discrimination-kills-maternal-mortality.html' title='Discrimination kills  - Maternal mortality and human rights'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-7610278086500699492</id><published>2010-07-18T08:07:00.000-07:00</published><updated>2010-07-18T08:23:46.129-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web-programming'/><category scheme='http://www.blogger.com/atom/ns#' term='content management system'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='web-designing'/><title type='text'>PHP/MySQL based Content Management System (CMS)</title><content type='html'>I have just finished the development of a PHP/MySQL based Content Management System (CMS). Below is a low-resolution screen-shot of the system.&lt;br /&gt;&lt;br /&gt;Details about this system can be viewed on my website at &lt;a href="http://www.vibhumishra.com/index.php?projects&amp;amp;cms_1"&gt;http://www.vibhumishra.com/index.php?projects&amp;amp;cms_1&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;There are two versions of this system, one with an ordering component which will let one do business online and the other without this component, some of the other features (common to both versions) include:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Display web-based advertisements such as Google AdSense ads.&lt;/li&gt;&lt;li&gt;Ability to publish pages straight away, save drafts and archive pages.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Flash and other multimedia integrated.&lt;/li&gt;&lt;li&gt;Tracking individual page hits, user browsing trends and other information.&lt;/li&gt;&lt;li&gt;Full-featured password-protected administrator side, including with Secured HTTP (https://) support (server feature).&lt;/li&gt;&lt;li&gt;3-customizable colour themes (customizable by site visitors).&lt;/li&gt;&lt;li&gt;Multiple font support (not restricted to standard web fonts).&lt;/li&gt;&lt;/ul&gt;A screen shot of the CMS, (populated with dummy data):&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_1lZFbE1kfJ4/TEMbp9ivwKI/AAAAAAAAAJA/xR94F77e9xY/s1600/design_am_small.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: left; cursor: pointer; width: 400px; height: 311px;" src="http://4.bp.blogspot.com/_1lZFbE1kfJ4/TEMbp9ivwKI/AAAAAAAAAJA/xR94F77e9xY/s400/design_am_small.jpg" alt="" id="BLOGGER_PHOTO_ID_5495266378031022242" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-7610278086500699492?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/7610278086500699492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=7610278086500699492' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/7610278086500699492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/7610278086500699492'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2010/07/phpmysql-based-content-management.html' title='PHP/MySQL based Content Management System (CMS)'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_1lZFbE1kfJ4/TEMbp9ivwKI/AAAAAAAAAJA/xR94F77e9xY/s72-c/design_am_small.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-3267622495795222300</id><published>2010-07-16T02:35:00.000-07:00</published><updated>2011-10-12T22:18:32.280-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installations'/><category scheme='http://www.blogger.com/atom/ns#' term='macintosh'/><category scheme='http://www.blogger.com/atom/ns#' term='snow leopard'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Enabling PHP on stock Mac OS X 10.6 Snow Leopard</title><content type='html'>&lt;span style="font-size:100%;"&gt;A quick way of enabling the stock installation of PHP on Mac OS X 10.6 "Snow Leopard". You may use either the Terminal or the user interface of the Finder.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;1. Go to "&lt;span style="font-weight: bold;"&gt;/etc/apache2&lt;/span&gt;"&lt;br /&gt;&lt;br /&gt;2. Use either of the options:&lt;br /&gt;&lt;br /&gt;2.a. If using Finder: Give yourself access privileges (read-write access) to file "&lt;span style="font-weight: bold;"&gt;httpd.conf&lt;/span&gt;" and open the file using your favourite text editor&lt;br /&gt;&lt;br /&gt;2.b. If using Terminal: Using your favourite text editor (vi, pico etc), using sudo open the "&lt;span style="font-weight: bold;"&gt;httpd.conf&lt;/span&gt;" file.&lt;br /&gt;&lt;br /&gt;3. Uncomment (remove the #) in front of line:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;  &lt;blockquote&gt;LoadModule php5_module libexec/apache2/libphp5.so&lt;/blockquote&gt;&lt;/span&gt;4. Add the following lines (preferably at the end of the document so that it is easier to debug later if required):&lt;/span&gt;#IfModule php5_module$&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;font-size:100%;"  &gt;&lt;blockquote&gt;AddType application/x-httpd-php .php&lt;br /&gt;AddType application/x-httpd-php-source .phps&lt;br /&gt;&amp;lt;IfModule dir_module&amp;gt;&lt;br /&gt;DirectoryIndex index.html index.php&lt;br /&gt;&amp;lt;/IfModule&amp;gt;&lt;br /&gt;&amp;lt;/IfModule&amp;gt;      &lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;In the above, replace &lt;span style="font-style: italic;"&gt;#&lt;/span&gt; with an &lt;span style="font-weight: bold;"&gt;"&amp;lt;"&lt;/span&gt; and the &lt;span style="font-style: italic;"&gt;$&lt;/span&gt; with an&lt;span style="font-weight: bold;"&gt; "&amp;gt;"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;5. Try by running a test php page.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;font-size:100%;"  &gt;    &amp;lt;?php phpinfo(); ?&amp;gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;In the above, replace&lt;span style="font-style: italic;"&gt; #&lt;/span&gt; with an &lt;span style="font-weight: bold;"&gt;"&amp;lt;"&lt;/span&gt; and the &lt;span style="font-style: italic;"&gt;$&lt;/span&gt; with an&lt;span style="font-weight: bold;"&gt;  "&amp;gt;"&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-3267622495795222300?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/3267622495795222300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=3267622495795222300' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/3267622495795222300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/3267622495795222300'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2010/07/enabling-php-on-stock-mac-os-x-106-snow.html' title='Enabling PHP on stock Mac OS X 10.6 Snow Leopard'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-2417717846897723035</id><published>2010-02-23T21:55:00.000-08:00</published><updated>2010-02-23T22:27:16.499-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web-programming'/><category scheme='http://www.blogger.com/atom/ns#' term='polymorphism'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='object oriented programming'/><title type='text'>Object Oriented Programming and Polymorphism in PHP</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Introduction:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;One of the greatest strengths of any programming language is its Object Orientation and from this comes Polymorphism, way back when I was in college, I studied this section of programming with immense interest and while at first, avenues for its implementation were very limited this is growing day by day.&lt;br /&gt;&lt;br /&gt;Following are some examples and implementation of these concepts.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Example:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;All Object Oriented Programming languages (OOP languages) offer some form of polymorphism. Following is an example of implementation of polymorphism using PHP:&lt;br /&gt;&lt;br /&gt;&lt;div style="border: 1px solid rgb(212, 212, 212); padding: 10px; font-family: courier new;"&gt;&lt;br /&gt;    interface vehicle{&lt;br /&gt;        function getType();&lt;br /&gt;        function getCapacity();&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;    abstract class baseVehicle implements vehicle{&lt;br /&gt;        protected type = $type;&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;       function getType(){&lt;br /&gt;           return ($this-&gt;type);&lt;br /&gt;       }&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   class motorbike extends baseVehicle{&lt;br /&gt;       function getCapacity(){&lt;br /&gt;           return ("2 people");&lt;br /&gt;       }&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   class car extends baseVehicle{&lt;br /&gt;       function getCapacity(){&lt;br /&gt;           return ("5 people and 400 litres of boot space");&lt;br /&gt;       }&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   class truck extends baseVehicle{&lt;br /&gt;       function getCapacity(){&lt;br /&gt;           return ("3 people and 10 tonnes of cargo space");&lt;br /&gt;       }&lt;br /&gt;   }&lt;br /&gt; &lt;br /&gt;   $vehicleArray = array(&lt;br /&gt;       new motorbike("Enfiled Bullet Motorcycle"),&lt;br /&gt;       new car("Tata Indigo Station-wagon"),&lt;br /&gt;       new truck("Leyland Flatbed Truck")&lt;br /&gt;   );&lt;br /&gt;&lt;br /&gt;   foreach ($vehicleArray as $vehicleData) {&lt;br /&gt;       echo $vehicleData-&gt;getType() . " - " . $vehicleData-&gt;getCapacity() . "\n";&lt;br /&gt;   }&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Output:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="border: 1px solid rgb(212, 212, 212); padding: 10px; font-family: courier new;"&gt;Enfiled Bullet Motorcycle - 2 people&lt;br /&gt;Tata Indigo Station-wagon - 5 people and 400 litres of boot space&lt;br /&gt;Leyland Flatbed Truck - 3 people and 10 tonnes of cargo space&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;If there are any questions or feedback regarding this, please post in the comments box!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-2417717846897723035?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/2417717846897723035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=2417717846897723035' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/2417717846897723035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/2417717846897723035'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2010/02/object-oriented-programming-and.html' title='Object Oriented Programming and Polymorphism in PHP'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-7138603101218550468</id><published>2009-11-23T06:42:00.000-08:00</published><updated>2009-11-23T06:45:20.041-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>Examples of Flash Charts and Graphs soon</title><content type='html'>I will try to upload some examples and screen-shots of some graphs and charts generated through Flash which gets in the data from databases or XML files.&lt;br /&gt;&lt;br /&gt;Check in soon!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-7138603101218550468?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/7138603101218550468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=7138603101218550468' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/7138603101218550468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/7138603101218550468'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2009/11/examples-of-flash-charts-and-graphs.html' title='Examples of Flash Charts and Graphs soon'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-6777245875617027671</id><published>2009-10-12T06:47:00.000-07:00</published><updated>2009-10-12T06:50:22.670-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Implementation of PHP-Flash-XML - Realtime Graphs!</title><content type='html'>Hi all,&lt;br /&gt;&lt;br /&gt;One great implementation I have of PHP-Flash-XML project is for generating real time graphs. I already have this working for Pie Charts, Bar Graphs and Line Graphs. Now I am working on Line Graphs with 2 or more variables and scatter plots.&lt;br /&gt;&lt;br /&gt;For more details about this project, see my website, &lt;a href="http://www.vibhumishra.com/index.php?php-flash-xml"&gt;http://www.vibhumishra.com/index.php?php-flash-xml&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;More updates soon...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-6777245875617027671?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/6777245875617027671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=6777245875617027671' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/6777245875617027671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/6777245875617027671'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2009/10/implementation-of-php-flash-xml.html' title='Implementation of PHP-Flash-XML - Realtime Graphs!'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-6495776918532285899</id><published>2009-08-26T07:53:00.000-07:00</published><updated>2009-08-26T07:57:45.034-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web-programming'/><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='actionscript'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>PHP - XML - Flash Integration</title><content type='html'>Since the past few months, I have been working on projects involving a great deal of PHP, XML and Flash integration.&lt;br /&gt;&lt;br /&gt;Some common example of such integration are dynamic Flash websites, XML-based Flash applications, components for PHP-based websites, the list is endless.&lt;br /&gt;&lt;br /&gt;Examples and sample of this work can be seen on my website: &lt;a href="http://www.vibhumishra.com"&gt;www.vibhumishra.com&lt;/a&gt;. Over the next few days, I will be putting some samples of the ActionScript involved on this blog as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-6495776918532285899?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/6495776918532285899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=6495776918532285899' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/6495776918532285899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/6495776918532285899'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2009/08/php-xml-flash-integration.html' title='PHP - XML - Flash Integration'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-4643104689489408822</id><published>2009-06-12T06:28:00.000-07:00</published><updated>2010-03-24T07:45:45.034-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>Updates &amp; Examples of Python coming soon</title><content type='html'>Hi all,&lt;br /&gt;&lt;br /&gt;I haven't been able to update this blog all that often but I will do so very soon.&lt;br /&gt;&lt;br /&gt;Just a few quick updates:&lt;br /&gt;&lt;br /&gt;1. Along with this blog, do visit my website too, it has a comprehensive list and details of many projects I have been working on - including the Unicode to Preeti converter. The address of my website is &lt;a href="http://www.vibhumishra.com"&gt;http://www.vibhumishra.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. I will be putting a number of great example code for those of you starting to learn Python as well as some higher end examples for the more experienced programmers, do check back in soon.&lt;br /&gt;&lt;br /&gt;All for now - Please send in your comments - I would love to hear from you!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-4643104689489408822?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/4643104689489408822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=4643104689489408822' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/4643104689489408822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/4643104689489408822'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2009/06/updates-examples-of-python-coming-soon.html' title='Updates &amp; Examples of Python coming soon'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-9044208756648389744</id><published>2009-04-09T02:17:00.000-07:00</published><updated>2009-04-09T02:21:35.624-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c compilers'/><category scheme='http://www.blogger.com/atom/ns#' term='c programming'/><title type='text'>C / C++ Compilers for Mac OS X</title><content type='html'>A new post after a long time...&lt;br /&gt;&lt;br /&gt;Getting straight to the point, there are loads of C/C++ compilers around.&lt;br /&gt;&lt;br /&gt;I used to use one back in the old days of System 9.1... I am forgetting what it was called but it was a pretty good one, a few functions were quirky and sometimes the debug mode didn't work all that well.&lt;br /&gt;&lt;br /&gt;Now we have MacOS X, and there are also quite a few compilers around. I will soon put a list of them as well as installing them on the Mac...&lt;br /&gt;&lt;br /&gt;Till next time...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-9044208756648389744?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/9044208756648389744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=9044208756648389744' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/9044208756648389744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/9044208756648389744'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2009/04/c-c-compilers-for-mac-os-x.html' title='C / C++ Compilers for Mac OS X'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-2194787124728664602</id><published>2009-02-24T07:46:00.000-08:00</published><updated>2009-02-24T20:24:40.353-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installations'/><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>Installing Python on Mac OS X (10.3, 10.4 or 10.5) from scratch</title><content type='html'>Installing Python on a Macintosh running Mac OS X 10.3 "Panther", 10.4 "Tiger" or 10.5 "Leopard" is quite simple and straight forward, the steps are very similar to the ones for&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download the installer from &lt;span style="font-family:courier new;"&gt;http://pythonmac.org/packages/py25-fat/dmg/python-2.5-macosx.dmg&lt;/span&gt; (approximately 18MB)&lt;/li&gt;&lt;li&gt;Mount the disk image.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Backup your &lt;span style="font-family:courier new;"&gt;.bash_profile&lt;/span&gt; before you install.&lt;/li&gt;&lt;li&gt;Double click &lt;span style="font-family:courier new;"&gt;MacPython.mpkg&lt;/span&gt; to start the install process. This would install the Python Frameworks along with the extras including IDLE. They would be installed in the &lt;span style="font-family:courier new;"&gt;Applications/MacPython 2.5&lt;/span&gt; folder.&lt;/li&gt;&lt;/ol&gt;Once installed, you may try the installation with the simple "hello world" trial.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open TextEdit or your favourite text editor, in a blank text only file, type&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;print "hello world"&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Save the file with the extension &lt;span style="font-family:courier new;"&gt;.py&lt;/span&gt; and close the text editor.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Open this file with IDLE and from the &lt;span style="font-family:courier new;"&gt;Run&lt;/span&gt; menu, select &lt;span style="font-family:courier new;"&gt;Run Module&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;You should see &lt;span style="font-family:courier new;"&gt;hello world&lt;/span&gt; in the Python Shell.&lt;/li&gt;&lt;/ol&gt;All done, Python is now installed! Have fun!&lt;br /&gt;&lt;br /&gt;If you have any questions or problems, just post back!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-2194787124728664602?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/2194787124728664602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=2194787124728664602' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/2194787124728664602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/2194787124728664602'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2009/02/installing-python-on-mac-os-x-103-104.html' title='Installing Python on Mac OS X (10.3, 10.4 or 10.5) from scratch'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-8678128710071799485</id><published>2009-02-12T06:18:00.000-08:00</published><updated>2009-02-24T20:24:40.353-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installations'/><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>Installing Python on Mac OS X (Leopard)</title><content type='html'>Mac OS X 10.5.x (Leopard) comes with Python 2.5.1 pre-installed. However this installation is without the IDLE.app, the need for IDLE.app comes in if you are interested in a light-weight Python development (Leopard's Xcode 3.0 allows working with Python though...)&lt;br /&gt;&lt;br /&gt;To install IDLE.app and other Python 2.5 extras,&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download the installer from &lt;span style="font-family:courier new;"&gt;http://pythonmac.org/packages/py25-fat/dmg/python-2.5-macosx.dmg&lt;/span&gt; (approximately 18MB)&lt;/li&gt;&lt;li&gt;Mount the disk image.&lt;/li&gt;&lt;li&gt;Do a "Show Package Contents" on the &lt;span style="font-family:courier new;"&gt;MacPython.mpkg&lt;/span&gt; (context-click / control-click the package)&lt;/li&gt;&lt;li&gt;Backup your &lt;span style="font-family:courier new;"&gt;.bash_profile&lt;/span&gt; before you install.&lt;/li&gt;&lt;li&gt;Navigate to &lt;span style="font-family:courier new;"&gt;Contents &gt; Packages &gt; PythonApplications-2.5.pkg&lt;/span&gt;, double click to install. This would install the extras including IDLE.app. They would be installed in the &lt;span style="font-family:courier new;"&gt;Applications/MacPython 2.5&lt;/span&gt; folder.&lt;/li&gt;&lt;li&gt;Using Terminal, create a symbolic link for the system's &lt;span style="font-family:courier new;"&gt;Python.framework&lt;/span&gt; in the location expected by the pythonmac.org tools:&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;cd /Library/Frameworks&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;sudo ln -s /System/Library/Frameworks/Python.framework/ Python.framework &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;It is recommended that you delete the newly installed Python Launcher.app, because it is already present inside the system &lt;span style="font-family:courier new;"&gt;Python.framework&lt;/span&gt;.&lt;br /&gt;If you have installed Apple's developer tools (Xcode et al), it is recommended that you delete the newly installed Build Applet.app, because it is already present in &lt;span style="font-family:courier new;"&gt;/Developer/Applications/Utilities/MacPython 2.5&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;For more information:&lt;br /&gt;•  &lt;a href="http://wiki.python.org/moin/MacPython/Leopard"&gt;http://wiki.python.org/moin/MacPython/Leopard&lt;/a&gt;&lt;br /&gt;•  &lt;a href="http://python.org/download/mac/"&gt;http://python.org/download/mac/&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-8678128710071799485?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/8678128710071799485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=8678128710071799485' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8678128710071799485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8678128710071799485'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2009/02/installing-python-on-mac-os-x-leopard.html' title='Installing Python on Mac OS X (Leopard)'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-6018715950948613410</id><published>2009-02-10T21:30:00.000-08:00</published><updated>2009-02-10T21:40:47.466-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='unicode to preeti conversion'/><category scheme='http://www.blogger.com/atom/ns#' term='macintosh'/><title type='text'>Unicode to  Preeti Converter...</title><content type='html'>Over the past few months, I have been working on a robust Unicode to Preeti and Preeti to Unicode Conversion Software, the "Unicode to Preeti Converter Project", there are three versions of the software - (a) Web Based, (b) Windows Based and (c) Macintosh Based. Currently, the supported fonts include Preeti and Kantipur. Support for the fonts will be added in due course of time.&lt;br /&gt;&lt;br /&gt;The prototype for the Macintosh (OS X) and the Web-based versions are ready and currently in the &lt;span style="font-weight: bold;"&gt;Beta Testing&lt;/span&gt; phase. Once the Macintosh version has finished this phase, work would commence on the Windows version.&lt;br /&gt;&lt;br /&gt;This software can be used to convert text in legacy fonts like Preeti, Kantipur or other Nepali or Hindi (Devanagari Script) Fonts into UTF-8 encoded (unicode) text.&lt;br /&gt;     &lt;br /&gt;For more details and updates or to know more about other projects visit my website, &lt;a href="http://www.vibhumishra.com/"&gt;www.vibhumishra.com&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div  style="text-align: left;font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;You might want to look at:&lt;br /&gt;&lt;li style="text-align: left; font-family: trebuchet ms;"&gt;&lt;a href="http://en.wikipedia.org/wiki/UTF-8"&gt;http://en.wikipedia.org/wiki/UTF-8&lt;/a&gt;&lt;/li&gt;&lt;li face="trebuchet ms" style="text-align: left;"&gt;&lt;a href="http://www.vibhumishra.com/index.php?unicode-preeti"&gt;http://www.vibhumishra.com/?unicode-preeti&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-6018715950948613410?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/6018715950948613410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=6018715950948613410' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/6018715950948613410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/6018715950948613410'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2009/02/unicode-to-preeti-converter.html' title='Unicode to  Preeti Converter...'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-2595911335888837562</id><published>2009-02-03T20:29:00.000-08:00</published><updated>2009-02-24T20:24:52.749-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web-programming'/><category scheme='http://www.blogger.com/atom/ns#' term='installations'/><category scheme='http://www.blogger.com/atom/ns#' term='jsp'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>Setting up Tomcat on Mac OS X</title><content type='html'>&lt;span style="font-style: italic;"&gt;from &lt;a style="font-style: italic;" href="http://wiki.apache.org/tomcat/TomcatOnMacOS"&gt;http://wiki.apache.org/tomcat/TomcatOnMacOS&lt;/a&gt; - many thanks!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Found this link after a long search for trying to setup Apache Tomcat on my Mac OS X:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Many thanks again to Basil Bourque and Michael Valentiner - for the 2008 update,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Steps:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. Upgrade to Mac OS X 10.4.6&lt;/span&gt;   &lt;p&gt;- I do not know if 10.4.6 is required, but it sure made an easy Tomcat install.&lt;br /&gt;- Apply all of Apple's Software Updates, especially the Java 5 update. &lt;/p&gt;  &lt;h5 id="head-2bc99b558851ca097f4d08d71481eec3eeeaaa01"&gt;2. Download apache-tomcat-5.5.16&lt;/h5&gt;   &lt;p&gt;- Unzip.&lt;br /&gt;- Move it to your home folder. &lt;/p&gt;  &lt;h5 id="head-b5f3055ecb31d53c8284b944af382a8ec473bcd9"&gt;3. Fix the Unix file permissions&lt;/h5&gt;    &lt;p&gt;- Download the freeware &lt;a href="http://wiki.apache.org/tomcat/BatChmod" rel="nofollow"&gt;BatChmod&lt;/a&gt;, a GUI wrapper around the Unix "chmod" command.[&lt;a rel="nofollow" href="http://macchampion.com/arbysoft/"&gt;http://macchampion.com/arbysoft/&lt;/a&gt;]&lt;br /&gt;- Drag and drop the entire Tomcat folder onto the &lt;a rel="nofollow" href="http://wiki.apache.org/tomcat/BatChmod"&gt;BatChmod&lt;/a&gt; icon.&lt;br /&gt;- Check *all* the checkboxes.&lt;br /&gt;- Click "Apply" and give your Administrator password. &lt;/p&gt;&lt;h5 id="head-ebafc66d4ce9cfc3bf4fc7cbe0e261a1fd088ed3"&gt;4. Start Tomcat&lt;/h5&gt;   &lt;p&gt;- Launch /Applications/Utilities/Terminal.&lt;br /&gt;- Navigate to the Tomcat folder (apache-tomcat-5.5.16): &lt;/p&gt;&lt;pre&gt;  cd ~/apache-tomcat-5.5.16&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;- Run the startup script:  &lt;/p&gt; &lt;pre&gt;  ./bin/startup.sh&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;- You should see something like this:  &lt;/p&gt;&lt;br /&gt;&lt;pre&gt;  Using CATALINA_BASE:   /Users/basilbourque/apache-tomcat-5.5.16&lt;br /&gt; Using CATALINA_HOME:   /Users/basilbourque/apache-tomcat-5.5.16&lt;br /&gt; Using CATALINA_TMPDIR: /Users/basilbourque/apache-tomcat-5.5.16/temp&lt;br /&gt; Using JRE_HOME:        /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;- Notice that somehow the startup script(s) have used Java 5 on Mac OS X even though it is not the default Java runtime at the command line. I hope to parse that script later to discover how they did this.&lt;br /&gt;&lt;/p&gt;&lt;h5 id="head-3e79f5a43cd4b705a39609ca043d8ea4f5c91053"&gt;5. Test Tomcat&lt;/h5&gt;    &lt;p&gt;- Launch a web browser such as Safari.&lt;br /&gt;- Goto &lt;span style="color: rgb(51, 102, 255);"&gt;http://127.0.0.1:8080/&lt;/span&gt;&lt;br /&gt;- You should see the cute Tomcat logo on the welcome page. &lt;/p&gt; &lt;p&gt;You are technically done at this point. But as a good pratice, I also did the following additional steps. &lt;/p&gt;&lt;h5 id="head-73d05742427309385ea0b325ec8ea852c7c48a92"&gt;6. Start the Firewall&lt;/h5&gt;   &lt;p&gt;- System Preferences &gt; Sharing &gt; Firewall &gt; Start&lt;br /&gt;- Also, click the Advanced button on that panel, to (a) block UDP, and (b) start logging. It is fascinating to see how quickly a computer directly on the Internet starts to get queried/tested/attacked. Open /Applications/Utilities/Console to see the log. &lt;/p&gt;&lt;h5 id="head-2aba2c2ecd31e715a921ac57238b7ccb48aebacb"&gt;7. Enable Port-Forwarding&lt;/h5&gt;  &lt;p&gt;- Add a rule to do port-forwarding from port 80 to Tomcat's default port 8080. Type this in the Terminal:  &lt;/p&gt; &lt;pre&gt;  sudo ipfw add 100 fwd 127.0.0.1,8080 tcp from any to any 80 in&lt;/pre&gt;This would not be necessary if you are already using another server for example Apache (web server) which uses port 80 by default.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8. Test Tomcat&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- Launch a web browser such as Safari.&lt;br /&gt;- Goto: http://127.0.0.1/ [note: no port 8080 at the end]&lt;br /&gt;- You should see the cute Tomcat logo on the welcome page.&lt;br /&gt;- To be sure it is working, and not cached by the browser:&lt;br /&gt;• Try another browser.&lt;br /&gt;• Click the Reload button in the toolbar of the browser.&lt;br /&gt;• Choose the Reload command, such as View &gt; Reload Page in Safari.&lt;br /&gt;&lt;h4 id="head-1bf854e79acf5c401d066c98c06484ce2d387997"&gt;Updated for 2008 (by Michael Valentiner)&lt;br /&gt;&lt;/h4&gt;Verified running Tomcat 6.0.14 on Mac OS X 10.5.1.&lt;br /&gt;Did not need to set up JAVA_HOME and did need to fix Unix file permissions.&lt;br /&gt;The System Preferences &gt; Sharing &gt; Firewall has moved to System Preferences &gt; Security &gt; Firewall. Able to enable logging, but haven't figured out how to block UDP.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div  style="text-align: left;font-family:trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;You might want to look at:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="post-body entry-content"&gt;&lt;li  style="text-align: left;font-family:trebuchet ms;"&gt;&lt;a href="http://wiki.apache.org/tomcat/TomcatOnMacOS"&gt;&lt;span style="font-size:85%;"&gt;http://wiki.apache.org/tomcat/TomcatOnMacOS&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li face="trebuchet ms" style="text-align: left;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://tomcat.apache.org/"&gt;http://tomcat.apache.org/&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="text-align: left; font-family: trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Apache_Tomcat"&gt;http://en.wikipedia.org/wiki/Apache_Tomcat&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-2595911335888837562?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/2595911335888837562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=2595911335888837562' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/2595911335888837562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/2595911335888837562'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2009/02/setting-up-tomcat-on-mac-os-x.html' title='Setting up Tomcat on Mac OS X'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-8525929220405235729</id><published>2008-07-10T07:32:00.000-07:00</published><updated>2009-02-24T20:22:47.079-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='socket problem'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>Fixing MySQL Problem - Unable to connect via socket</title><content type='html'>A common problem I saw with MySQL, after a system update (10.4.4) or on later systems (Leopard on PPC computers) there are problems connecting via the MySQL Socket, it says the socket file not found.&lt;br /&gt;&lt;br /&gt;Apparently is it because the socket file got moved during the update [&lt;a href="http://www.macosxhints.com/article.php?story=20060111113313511"&gt;http://www.macosxhints.com/article.php?story=20060111113313511&lt;/a&gt;]. To repair this problem, open the Terminal and enter the following commands:&lt;br /&gt;&lt;pre style="font-family: courier new; color: rgb(51, 0, 51);"&gt;&lt;blockquote&gt;$ sudo mkdir /var/mysql&lt;br /&gt;&lt;br /&gt;$ sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock&lt;/blockquote&gt;&lt;/pre&gt;The first line is creating a folder called "&lt;span style="font-style: italic;"&gt;mysql&lt;/span&gt;" inside the "&lt;span style="font-style: italic;"&gt;var&lt;/span&gt;" folder at the root level, the second line is making a link called "&lt;span style="font-style: italic;"&gt;mysql.sock&lt;/span&gt;" to the actual "&lt;span style="font-style: italic;"&gt;mysql.sock&lt;/span&gt;" file (at the changed location) inside the invisible "&lt;span style="font-style: italic;"&gt;tmp&lt;/span&gt;" folder.&lt;br /&gt;&lt;br /&gt;Do this and you should be fine again.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left; font-family: trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;You might want to look at:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;li style="text-align: left; font-family: trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Ln_%28Unix%29"&gt;http://en.wikipedia.org/wiki/Ln_(Unix)&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="text-align: left; font-family: trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Mkdir"&gt;http://en.wikipedia.org/wiki/Mkdir&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="text-align: left; font-family: trebuchet ms;"&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Sudo"&gt;http://en.wikipedia.org/wiki/Sudo&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-8525929220405235729?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/8525929220405235729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=8525929220405235729' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8525929220405235729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/8525929220405235729'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2008/07/fixing-mysql-problem-unable-to-connect.html' title='Fixing MySQL Problem - Unable to connect via socket'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7656369716665383369.post-1942217621354027423</id><published>2008-07-07T07:47:00.000-07:00</published><updated>2008-07-07T07:56:48.094-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='introduction'/><category scheme='http://www.blogger.com/atom/ns#' term='basics'/><title type='text'>The first shot!</title><content type='html'>Java, .Net, C#...&lt;br /&gt;&lt;br /&gt;We have been hearing this everyday... I come from a different time... a time when alphabets were easy... when we were at A-B-C, with a few increments...&lt;br /&gt;&lt;br /&gt;Well this is not place for philosophy... if you are interested in philosophy and my take on what is all around this is clearly not the place for you... instead try out &lt;a href="http://himalayanbullet.blogspot.com"&gt;http://himalayanbullet.blogspot.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I think you must have gotten the clue... I am a C Programmer period!&lt;br /&gt;&lt;br /&gt;But one thing that C has taught us is to adapt... adapt to the changing environment around us... and at times create an environment ourself...&lt;br /&gt;&lt;br /&gt;As they say - enough said... lets get down to coding... lets get it all started!!! Oh and before I forget, all that I write here would be mainly centered around the Macintosh - both pre OS X era and the OS X era...&lt;br /&gt;&lt;br /&gt;In the next few days, I hope to put indepth information about Ruby on Rails, PHP and the trusty MySQL... which I believe to be the are back-bone of today's and tomorrow's web - be sure to check it out...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7656369716665383369-1942217621354027423?l=programmingbullet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingbullet.blogspot.com/feeds/1942217621354027423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7656369716665383369&amp;postID=1942217621354027423' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/1942217621354027423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7656369716665383369/posts/default/1942217621354027423'/><link rel='alternate' type='text/html' href='http://programmingbullet.blogspot.com/2008/07/first-shot.html' title='The first shot!'/><author><name>Vibhu Mishra</name><uri>http://www.blogger.com/profile/01311145417755865415</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://www.vibhumishra.com/bike.jpg'/></author><thr:total>0</thr:total></entry></feed>
