Orchestration of thoughts

Orchestration of thoughts

Maheshwaran Subramaniya  //  A computer science engineer and mac geek, who pour thoughts on technology, computer science, mathematics and other thoughtful stuffs.

I'm blogging at My Mind Leaks ( http://mymindleaks.com )

Oct 14 / 7:09pm

First bite of Apple...

It was a three day seminar for Tamil Computing at Anna University, where some 'pisths' ( i.e IIT Professors and Researchers from the companies) have come to collaborate on improving Tamil Language in Computers and make it more easy in computers for people to use i.e "Tamilify the Computer". I was a student of Sona College and with lots of interests in Natural Language Processing and was attending this three day seminar. It was the first time I encountered the most beautiful thing in the computer world. That was the Powerbook G4. So, do anyone have an idea of what it is? Hmm...some might be and some might not. For those who are not aware of this name, it's the predecessor of the today's Apple one of the flagship product MacbookPro. Frankly I didn't even know the name of the old machine (but I know it's from apple), it until 4 months ago and which provoked me to write this.

 

That was the love at first sight on a machine in my life ( surely after Geetha ;-) ). But at that time, it was a dream for a student to get a computer at his home and this machine costed a lakh. What a dream, went in air...The first catch is, it's body..it's structure ( :-D ) and the iconic "Apple" symbol. Then I got a chance to try out that machine ( means, work with the machine ) and man, during that time after living with the Windows XP and Redhat Linux or Mandrake Linux, Mac OS was like staying in luxury hotel in Vegas. You get things quick, easy and without much pain. It's animation, speed in that machine was impressive. It was that moment somewhere in my Neurons, a thought got registered that I should buy a Mac laptop once I become Big ( "Big" in the slang means, an individual who have his own earnings and have freedom to do whatever crap he can do ). And I started to dream that I should write software programs for this company which makes such machines.

 

Time flies and I joined TCS and it's been 3 years, I literally archived the thought of Macbook and settled with an HP laptop in Chennai. So came the opportunity to work at San Antonio,TX. Landed here and in a flash the archived memory was brought live into my mind and in a week after I came to San Antonio, I bought iMac 24", a machine I have dreamed of all these days right from the year 2003 to 2008 and I have a series of Apple product at my home now. And daily I touch them and live with them as well..

 

Thanks to Apple, it's designers and engineers and Mr.Jobs who have given me such a wonderful piece of machine.

 

Trivia:

I've seen people praising Steve Jobs for making revolution in Phone & Tablets, but still, they should also remember him for making revolution in Personal Computer (Mac OS, Mac Machine etc.,).

Nov 20 / 8:47pm

Windows 7 phone - First look

This is not a review of Windows 7 or HD7. Just my thoughts when I had a first look at Windows 7 phone "HD 7". The hardware is quite responsive and the software is good to use. The phone is designed very much towards Concept centric ( social/messaging, mail, browse ) than App Centric(Facebook, Twitter, Mail etc., ).

Example: To post message to facebook, twitter and live, neither u dont need  3 different appsnor you dont have to link facebook with twitter. The Windows 7 makes sure that it posts messages to all the social networking sites. Only thing it requires is , you need to have an account in it.

Default browse is IE. But it was loading the websites bit slow. Probably due to network signal strength. The on screen keyboard displayed to type URL is not that spacious to occupy my big fingers. Though HD7 is quite widescreen, the OSK ( Onscreen Keyboard) was not wide enough to type.

The hardware HD7 had great display, responsive screen and buttons on the bottom.
Basically the Windows 7 was running smooth and didn't slog anywhere during my test.

Nov 13 / 1:47pm

Cleaning up my facebook personal profile

Planning remove my blogosphere friends from my facebook profile. I would request them to subscribe to My Mind Leaks facebook page. I would like to keep my personal facebook profile just for the people I know personally :-).

If you like to become my blogosphere friend, please hit "LikeMy Mind Leaks page. 

Sep 15 / 11:19pm

Webneering = Web Technology + Engineering

Webneering = Web Technology + Engineering, there should be a new course  to study the advances in web technologies. People should be taught on engineering the next generation web. Just writing HTML5, CSS doesn't mean a web engineer. A web is a connected - massive - heterogenous - multi processing system.
Sep 8 / 5:50pm

யார் முகத்தில்

ஆகத்து மாதம் - 13வது நாள், காலை 5:45 மணி, செண்ட்டர்ல்  ரயில் நிலையம், நானும் என்னொடைய அம்மாவும் அவசர அவசரமாக ரயில் பிடிக்க விரைந்து சென்று கொண்டிருந்தொம். என்னுடைய கையில் ஒரு பெரிய பெட்டி எடுத்துக்கொன்ண்டு அவசர அவசரமாக ஓடி சென்று 6:15 மனிக்கு சேலம் புறப்படும் அதி வேக ரயில் வண்டி, கோவை எக்ஸ்ப்ரெஸ்ல் யேறினோம் . அது ஜெனரல் கொச் பெட்டி. எப்படியொ தள்ளு முள்ளு செயிது ஒரு இடத்தை என்னொடிய அம்மாவுக்கு பிடிது கொடுத்துவிட்டேன். அது என்னமோ தெரியவில்லை, என்னொடைய உடம்பின் பெருமானதை பார்தோ, அல்லது மீசையின் முருகை பார்தொ பெரிதாக வாக்கு வாதம் செய்யாமல்  இடம் கொடுத்துவிட்டார்கள், நமது அன்பான சக இரயில் பயனிகள். எனக்கு கொஞம் பருமனான உடம்பு , அதனால் என்னால் அந்த நெரிசலில் நிற்க கூட முடியவில்லை. அதனால் போய் இரயில் கம்பார்ட்டுமெண்டு  கதவிர்பக்கம் நின்று கொண்டென். கதவிற்பக்கம் நிண்டறது தப்பகபொயிற்று. வருபவற்கள் போவற்பவர்கல் எல்லம் "சார் இந்த ரயில் காத்படி பொகுமா?", "சார் இந்த ரயில் திருச்சி போகுமா?", "சாப் யெ டிரைன் திரிசுர் ஜாயெகி? மைசூர் பாகு ஆயீகீ நு", என்னை டார்ச்சர் பன்னிவிட்டார்கள் கொஞ்ச நேரதில் நானே கொழம்பிவிட்டேன் "நன் சரியான இரயிலில்தான் யேறிஇருகிறனா என்று? நன் எதர்கும் "டி டி ஆர்" இடம்  கண்பர்ம் செய்து கொண்ட்யண்  கன்பொரிம் செய்து கொண்டேன்.

ரயில் சரியாக 6:15 மணிக்கு புறபட்டது. என்னகு ஒரு சிரிய சந்தோசம், ரயில் சரியான நேரத்திற்கு புறப்பட்டுவிட்டது என்று. அதுவரை அந்த  கம்பார்ட்டுமெண்டு நுழைவு வாயில் என்னகு சொந்தமாக இருந்தது, பின்னர் அங்கு மட்டும் சுமார் 10 பேர்  நின்று கொண்ட்டிருந்த்தாற்கள். சரி ஆனது ஆகட்டும் எண்ரு நானும் அங்கு நின்று கொண்டு  பராக்கு பார்து கொண்டு, மற்றவர்கள் பேசுவதை கவனிது கொண்டு வந்தென். பொழுது பொயிற்ழு. மனி சுமார் 7:15 இறுக்கும் ( என்று நினைக்கிறேன் ). "டி டி ஆர்" டிகெட்டு செக்கீங் செய்து கொண்டிருந்தஅர். நான் என்னோடைய டிக்கட்டை அவரிடம் காட்டி சரி செய்து கொண்டேன். பின்னர் அவர் அந்த கதவிற்பக்கம் உள்ளவர்கள் எல்லோரிடமும் செச்க் செய்து கொண்டிருந்தார். சில நிமிடஙல் கழித்து என்னு பின்னல் ஒரே கூச்சல் , யாரொ யாரையொ அடிப்பது பொன்று சப்தம். என்னவென்று திரும்பி பார்தல், "டி டி ஆர்" ஒரு இளைஞனை அடித்துக்கொண்டிருந்தார் ( அவனுகு வயது சுமார் 15-18 குல் இருகும் ). நல்ல அடி உதை. பின்னர் அவனுடைய சட்டை பையில் வைத்து இருந்த பணத்தை பிடுங்ஙிகொண்டர். அதொடு அந்த பையன் அடிவாங்கிக்கொண்டு ஒன்றும் பேசாமல் நின்று கொண்டிருந்தான். எனகு ஒன்றும் விளங்கவில்லை. அங்குநடப்பதை மற்றவகழும் பார்த்து கொண்டிருந்தாற்கள். நன்றாக அடித பின்னர், அவனை போலிசில் பிடிது கொடுபதாக சொன்னர். பின்னர் அந்த பையயனை அவருடன் இழுத்து சென்ற்ரர். 

அப்படி செல்லும்பொது  கதவிற்பக்கம் நின்ற ஒரு சக பயனி, அந்த பையன் காதில் கிசு கிசுதார் "டேய் சிகிரம் டரைனில்  இருந்து குதிசிடுடுட்டா". அந்த பையன் என்ன நினைத்தானோ தெரியவில்லை, உடனே குதித்துவிட்டான். நான் அவன் தப்பித்துவிட்டான்  என்று  நினைதேன், ஆனால் பாவம் அந்த பையன் காலையில் யார் முகதில் முழிதான் என்று தெரியவில்லை, அவன் குதிகும் பொது, விதி ஒரு பெரிய கம்பதை அவன் வழியே வைத்து விட்டது. ஓடும் ரையில் குதித்து, கம்பதில் மொதி , ரயில் தண்டவாளதில் இருக்கும் ஜல்லி கற்கள் அவன் தலையில் மொதி, அவன் மண்டை பொழந்துவிட்டது. குபு குபு என ரத்த்ம் ஓடியது. பின்னை எண்ணால் நான் அவனை பார்க முடியவில்ல. அவன் உயிருடன் இருகிறானா இல்லயா என்று கூட தெரியவில்லை. அவனை குதிக சொன்னவர் சொல்கிறார், அவன் கஞ்சா குடித்திருகிரான் என்று. ஒரு சில நொடிகளே அந்த பையனை அவர் பார்திருபார், அவன் வாயில் இருந்து எந்த ஒரு வாசனையும் வரவில்லை, பின்னர் அவன் எப்படி கஞ்சா குடிதான் என்று சொல்கிறர் என்று தெரியவில்லை. பின்னர் நினைது கொண்டேன் இவர் பெரும் கஞ்சா கண்டுபிடிபாளர் போல. இந்த 10 நிமிடத்தில் நடந்து முடிந்த இந்த சம்பவதில், யார் அந்த பையனுடைய வாழ்கையயில் விளையாடியுள்ளார்கள்? அவனை அடித்த "டி டி ஆர்" ஆ? இல்லை அவனை இரயில் இருந்து குதிக்க சொன்ன் அந்த நபர்ஆ? இல்லை அந்த கம்பமா? இதே கேள்வியுடன் இரயில் சேலம் போய் சேர்ந்தது. 

- 
Jun 27 / 3:45pm

Turn on line number in the vi editor using “set number” command

Turn on line number in the vi editor using “set number” command

>vi somefile.txt

Type the following in the editor

: set number

Jun 13 / 11:57am

httpd.conf file in MacOS

Are you are not sure where you will find the apache’s “httpd.conf” file in mac OS?

You will find at /etc/apache2

> vi /etc/apache2/httpd.conf
Jun 12 / 11:29am

Best Practices for Speeding Up Your Web Site - From Y! Developers

Good post about enhancing the performance of your website. To sum up, here are the 25 things you should concentrate.

1. Minimize HTTP request
2. Use a CDN - Content Delivery Network
3. Add an Expieres / Cache-Control header
4. Compress the Contents
5. Stylesheets on top
6. Use scripts at the bottom ( Seriously solves many issues )
7. No CSS Expressions
8. No Inline Javascript / CSS
9. Reduce DNS Lookups
10. Avoid Redirects
11. Remove Duplicate Scripts
12. Configure ETags
13. Make Ajax Cacheable
14. Flush the Buffer Early
15. Use GET requests for Ajax
16. Pre/Post load components
17. Make DOM Light weight
18. Minimize IFrame or No IFrames
19. No 404s ( yes, make 404 user friendly )
20. Reduce Cookie Size
21. Smart Event Handler ( needs real smart programmers )
22. No @import statements
23. No filters for images
24. Try to cache most of the resources ( favicon, css, js )
25. Anything should be < 25k ( better is one page download is < 25K)

Warning: The blog post you are going to read is really big.

Jun 12 / 10:33am

Fix for Textmate - Command + Arrow Keys not working

Like many, I’m one of the loyal user of the TextMate application. I was fine withTextMate for all the days, until few weeks. The  Command + Arrow keys ( ⌘↑/⌘↓/⇧⌘↑/⇧⌘↓ ) didn’t work properly. I was not sure what was the sudden break in the application. Problem seems to be strange and thought that it’s only with my system. Then went tweaking some thing in TextMate , reinstalling TextMate : nothing worked. So, at-last planned to give up TextMate but wanted to do a last try.  When I did a google again, came across the same defect logged in the macromates ( developers of textmate ) site and realized that my recent snow leopard upgrade have made the TextMate numb. And fortunately, they had a fix too. Good it worked.

Fix:

1. Download the zip (Snow Leopard Compatibility.zip) from the above link
2. Unzip and run the bundle.
3. You are done. The effect is immediate.