Skip to main content

Posts

Showing posts from April, 2012

Huawei Ascend G300 Phone Reviews and Unlocking

Last year, it was the Orange San Francisco which stole techies heart by being value for money. 2012 has been already hit by another gem "Huawei Ascend G300" Vodafone is having exclusive sale Why G300? 1. Simple comparison of SAMSUNG GALAXY ACE S5830 vs Huawei Ascend G300 Shows how better G300 is !! 2. Pure technical details Keythings with Huawei Ascend G300 aka Huawei U8815 Processor: Qualcomm Snapdragon S1, 1 GHz, MSM7227A RISC 32bit , ARMv7-A, ARM Cortex-A5 GSM 850 / 900 / 1800 / 1900 , GPRS Class 10, and 3G EDGE Class 10, HSDPA 7.2, HSUPA 5.76 RAM: 512 MiB, 393MiB usable (which is very good compared to other phones) ROM: 4GB built in, external SD upto 32GB (microSD, microSDHC) Bluetooth, USB Hi-Speed Micro-B (Micro-USB) connector, Wireless 802.11 b/g/n GPS, FM radio with headset, Geotagging capacitive touch screen, TFT screen, 480 x 800 pixels, 4.0 inches, 232.3 pixel/inch (much better than other rivals) Size: 122.5 x 63 x 10.5 mm and 140g weight Battery...

Find process listening on a port

How to Find process listening on a port I recently had an issue while implementing my web-server as the default port was used by something else. I used below commands in AIX to find more details of that process 1. Use netstat command to find the protocol control block or PCB which is a protocol layer for UDP or TCP sockets eg.  netstat -Aan | grep <port_number> netstat -Aan | grep 30501 output will be something like $ netstat -Aan | grep 30501 f1000e0001363bb8 tcp4     0     0  *.30501     *.*     LISTEN 2. As "root" user, run rmsock command. Don't worry it won't remove anything as specified in the documentation . usage: rmsock Address TypeofAddress eg. rmsock f1000e0001363bb8 tcpcb output: The socket f1000e0001363bb8 is being held by proccess 15854120 (perl). You can further diagnose the process using "ps -ef | grep <process_id>" and see the real process. A good documentation can be found in IBM site which caters for Windows as well.

Perl Convert Epoch to Human timestamp YYYY-MM-DD HH:MM:SS

Ready made module in Perl to convert epoch time to DB2 or Human timestamp formats  (YYYY-MM-DD HH:MM:SS) Write a function convertEpochToHumanTimestamp and call this from the required sub.     # Function    : convertEpochToHumanTimestamp # Description : Convert Epoch into a formatted time suitable for insertion into a Human database timestamp #               column. The output format is "YYYY-MM-DD HH:MM:SS" my $inputEpoch = shift; my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime($inputEpoch); $mon++; $year = $year + 1900; my $humanTime = sprintf ("%04d-%02d-%02d %02d:%02d:%02d", $year, $mon, $mday, $hour, $min, $sec); return ($humanTime);

Handheld Futuristic weapons and society

Everyone must have seen in sci-fi movies about the handheld guns with lasers and waves going. But I would say the modern weapons are more advanced than that. Its more fearful that governments are now officially supporting it. Recent article from Russia http://www.dailymail.co.uk/news/article-2123415/Putin-targets-foes-zombie-gun-attack-victims-central-nervous-system.html Technologies might include direct-energy weapons - http://en.wikipedia.org/wiki/Directed-energy_weapon wave-energy weapons genetic weapons - all for mass destruction geophysical weapons - like weather modification, changing layers of atmosphere  (check HAARP project) psychotronic weapons - Brain manipulation remotely. Of course no one can gurantee these technologies won't reach others who are NOT intended for !! All these I feel are dangerous to human kind.