Auto-generate Flow Chart from Java/C++ Codes:

Raptor Flowchart Tutorial For Beginners

Friday, November 29, 2013

Fake Kingston 512GB FlashDrive

Kingston Fake FlashDrive with 512GB space


While doing window shopping at Jalan Pudu, I come across a stall that sells FlashDrive. You might be excited to see a small FlashDrive with such a huge storage space. Unfortunately, it's a fake China-made FlashDrive. The seller allows you to try plugging the FlashDrive and check it using File Explorer. You may need to format it first and upon completion you see 499Gb which is promising. But truly, Kingston never had manufactured FlashDrive with such a huge storage space. It's a fake. Don't buy.

Kingston Genuine FlashDrive

Wednesday, November 27, 2013

hostinger.my- Hosting percuma dengan PHP dan MySQL


-----
I have just received an invitation email to try out a new web hosting service that is specially dedicated to Malaysian. (Wow! Look at the logo. It has even got a Malaysian Flag on it!)




2) Fill-in the registration form.
Click Buka Akaun.




3) Get response.



4) Wait for activation email.
Click the link for activation.




5) Registration done.



6) Select FREE option.


Click Order Sekarang.



7) Fill-in Sub-Domain Registration form.
(Sub-domain is a name for the web users to find your website in the Internet, e.g. www.notarazi.esy.es )
Click Buat.




8) Wait for your sub-domain name to be active.



8a) How long?
It could be up to 12 hours. Meanwhile, you can start planning now on what you want to do with this hosting.





9) Once it is activated, anyone can visit your website based on your registered subdomain name, e.g. www.notarazi.esy.es


Monday, November 25, 2013

Google Search Hits Count number is missing on its results page



Last week I searched for the word "mintutes". I posted the screenshot below:


The day after, I searched again and surprisingly something went missing!
Compare the above screenshot and the below screenshot. Notice that the counter is gone (forever?)

Wednesday, November 20, 2013

3 mintutes setup wireless camera


Nice design but, oh dear, wrong spelling!

Interestingly, Google search reveals that there are nearly 1 million++ webpages containing the misspelled word "mintutes" (as at 21st Nov 2013)


Monday, November 18, 2013

Steps to remove WebCake Virus


It sounds soft, creamy, delicious and harmless. But this WebCake is an unwanted cake that pops up on webpages and offers you troubles instead of joy.

When you see the WebCake sign, do not click on the offers. They are just tricks.




1) If you are using Chrome, go to the menu/settings/extension and find an option to remove the WebCake extension. (You can simply type chrome://chrome/extensions/ in the URL box of Chrome Web Browser)


2) Check in your program list of your Control Panel if WebCake has been installed without your knowledge. Uninstall it if the program exists in the list.


Villa Nabilla vs London Riot


Tales of the abandoned structure that is Villa Nabila have been trending on social media, with netizens giving their take on the spooky Johorian site. Social media network is so efficient at spreading news, be it facts or fictions. This reminds me of the London Riot Rumours 2011 that spread on Twitter which I had discussed in my Computer Ethics class last year.

Villa Nabila news:
In the beginning: http://www.thestar.com.my/News/Nation/2013/11/18/villa-nabila-tales-from-the-net.aspx
In the end...:http://www.ammboi.com/2013/11/19/remaja-hilang-di-villa-nabila-ditemui-selamat/

London Riot rumours: http://www.theguardian.com/uk/interactive/2011/dec/07/london-riots-twitter

Sunday, November 17, 2013

ePenyata Gaji Service Not Available


Someone asked me why did they get the error message "The service is unavailable"? when they try to access services from certain websites, e.g. the electronic payslip service like the above example.

I think most of layman nowadays could have answered "oh, there are many web users trying to access the same service at the same time, thus the server becomes tired and it goes down".

Sounds true, isn't it?

But, my college students would argue back "...computers are not human being, sir. Shouldn't they free from tiredness and boresome?"

Hmm, that is true as well.

So, what happens actually?

While computers do not feel tired, their capacity is restricted to their software and hardware limits. If you push it to the limit, it will eventually stop responding.

"But how come Gmail almost doesn't have that problem?

This mind-provoking question is interesting.

"Does that mean Google have unlimited resources of hardware and software capacity?"

Well, I think that is partially true.

While hardware and software are critical to the "availability" aspect of a web service, the creativity of the web application developers also contribute to the overall system performance.

I am not a civil servant and therefore not directly affected by this kind of problem. But I could imagine how disappointing it is when somebody who badly need a service being denied an assistance because of technical problem. Hopefully the developer could brainstorm more ideas on overcoming congested service requests problem like this.

Monday, October 28, 2013

Error messages in webapps may help hacker to dig more info


Today I logged into maybank2u for several times only to get error messages.
While these may be helpful for the admin to troubleshoot problems, it also provides opportunities for hacker to help "solving" the problem as well. That's why in computer security training, developers are reminded to hide error messages. Otherwise, the whole world knows your problems and weaknesses. The worrying part is that public users become "sceptic" of your security assurance.

Wednesday, October 23, 2013

AmBank officer shot in the head

from: Astro Awani| Updated: October 23, 2013


Bank officer shot in the head

SUBANG JAYA: A female bank officer was shot in the head by a security guard who wanted to rob the vault on Wednesday.

A police source said the incident, which took place in USJ Sentral 2 in Subang Jaya, happened when the suspect was with the victim and four other officers inside the vault.

The bank officers had wanted to keep an undisclosed amount of money at 6.18pm.

However, the suspect, believed to be from Sabah, fired a shot from his pump gun and hit the 37-year-old victim in the head, killing her instantly.

The suspect got away on a motorcycle together with an undisclosed amount of money.

Meanwhile, quoting Selangor deputy police chief Deputy Comm Datuk Abdul Rahim Jaafar,The Star Onlinereported that the suspect was the only male staff among the five stationed at the bank.

He said according to the security firm, the suspect who had only been employed for a year, was meant to be a replacement guard and had worked in another bank next to the crime scene.

Abdul Rahim said facts over the suspect’s identity were, however, dubious.

“Checks on his I.C. reveal that it was a fake. We are going to look into this more and find out how he was employed with a fake IC,” the portal quoted him as saying.

He warned the public to be cautious as the suspect is still at large and urged those with any information on the suspect to come forward.

It was reported that the victim has been identified as Norazita Abu Talib, 37, a mother of two.

AmBank security guard shoots colleague dead in robbery

Ditembak mati rakan sekerja sendiri....

(Photo Of The SUSPECT)

BY ELIZABETH ZACHARIAH
OCTOBER 23, 2013
‎A security guard shot dead a bank operations officer in a robbery at the Ambank branch in USJ Sentral, Subang Jaya today.
Noazita Abu Talib, 37, was shot once in the face with a pump-gun in the 6.20pm incident.
It is learnt that the victim was opening the door to the vault‎ when she was shot.
Noazita is a mother of two and had been working at Ambank for 16 years.
The security guard, who fled with an undisclosed amount of cash on a motorcycle, has been identified as a 37-year-old Sabahan with a fake IC.
Subang Jaya deputy superintendant Tan ‎Ah Chua was at the scene when contacted and confirmed the incident. But he declined to elaborate further.
State deputy police chief Datuk Abdul Rahim Jaafar said the suspect was armed and considered to be dangerous, cautioning the public to stay vigil.
Meanwhile, police are looking for Ardi Hamza whose last known address is 70, Jalan Apas, Batu 2, ‎Tawau, Sabah to facilitate investigations. - October 23, 2013.

Tuesday, October 15, 2013

Saturday, October 12, 2013

Google Malaysia Site DNS Hacked

copied from: http://techcrunch.com/2013/10/10/google-malaysia-site-hacked-credit-claimed-by-team-madleets/
-----

Google Malaysia Site DNS Hacked, Credit Claimed By ‘Team Madleets’ Hacker 1337

MATTHEW PANZARINO

Thursday, October 10th, 2013
147 Comments
google
Google’s Malaysian site has been hacked and replaced with a splash screen giving credit to a group called “Team Madleets.” The normal site has been offline for several hours as of late Thursday afternoon and the page lists a series of handles that are ostensibly part of the team responsible.Updated with brief statement from the hackers below.
The attack appears to have been of the DNS poisoning variety, in which a hacker gained access to the Malaysia Network Information Center and changed the DNS records of Google’s site to Madleets-controlled servers. So no information appears to have been changed on Google’s servers at this time, as this is a redirect attack of sorts.
The stamp at the top says ‘[!] Struck by 1337′, which is apparently a reference to an individual hacker within the group called 1337, who has recently (allegedly) performed hacks on domain registrars of several countries. A message on 1337′s Facebook page says “Google Malaysia Stamped By 1337″ and references the google.com.my and google.my domains. The only other indicator about who the group could be is a reference to them being Pakistani in origin.
The Madleets address leads to a Facebook page for the team that has the following message posted:
We feel we need to alert anyone, that we don’t hack any country tlds for example google.com.my as a result of any kind of hate, We don’t hate anyone, We love all humanity, there is no obvious reason for stamping the tlds.
Least the reason is not any kind of hate.
Whatever the reason is we can’t explain except we love all of you.
Regard’s
H4x0rL1f3
The page info states that “MadLeets is a Ethical and 1337 White Hat Hackers Community. We are Anti Hackers , we teach how to protect yourself from getting hacked.”
Screen Shot 2013-10-10 at 3.43.54 PM
If the reasoning on the team’s Facebook page is accurate, then this is simply a matter of doing it because they can and not to make a political statement. A link placed in the source code of the page leads to a music video for the artist Instrumental Core.  The music is auto-played on the site while visitors are there.
Google Malaysia was hacked back in July, along with several other Malaysian sites, by a group protesting the treatment of Bangladeshi workers in that country. One possible motivation for the group taking action now, if it is indeed not simply “exposing vulnerabilities” would be the Global Entrepreneurship Summit in Kuala Lumpur, which will be attended by Secretary of State John Kerry in lieu of President Barack Obama.
We’ve reached out to both the email address given for the team on the site and to Google. We will update this story if we receive a response from either side.
Update: The hackers responded with a brief statement to TechCrunch:
There’s not much reason behind it, only to prove that security is just an illusion. It does not exist.
We have no political intentions whatsoever, as you have already stated.
Regards, LeeT
Catherine Shu contributed additional reporting to this story.

Saturday, September 28, 2013

Microsoft + Nokia = what comes next?


from:http://seattletimes.com/html/localnews/2021743100_microsoftnokiaxml.html
-----

Microsoft buys Nokia’s phone business

Microsoft is paying $5 billion for Nokia’s Devices and Services Business. In addition, it is paying about $2.18 billion to license Nokia’s patents and to license and use Nokia’s mapping services.
Seattle Times staff reporter
MOST POPULAR COMMENTS
HIDE / SHOW COMMENTS
yikes... nokia has been posting losses since they committed to windows os. elop must...  MORE
Balmer just had to waste shareholder money one last time before bowing out. Nokia is a...  MORE
Everyone is falling for the spin here. The previous contract between Microsoft and...  MORE
advertising
Microsoft is buying Nokia’s cellphone handset business as part of a $7.2 billion deal, the two companies announced Monday.
The acquisition represents an aggressive move by Microsoft to compete in the smart-devices market, as the company transforms itself into a devices-and-services business.
“To accelerate our growth in the phone business, we thought it was important to move even faster,” Microsoft CEO Steve Ballmer said in a phone interview.
Microsoft is paying $5 billion for Nokia’s Devices and Services Business. In addition, it is paying about $2.18 billion to license Nokia’s patents and to license and use Nokia’s mapping services.
The businesses that Microsoft is getting from Nokia brought in about $19.7 billion revenue in 2012, about half of Nokia’s sales that year.
Nokia retains other substantial parts of its business, including networking infrastructure and services, technology development and licensing, and mapping and location services.
Microsoft and Nokia, both of which have struggled to compete against Apple and Google Android phones, have been close partners since Nokia announced in February 2011 that it was making Windows Phone its primary smartphone operating system. Its Lumia line of Windows Phone has been credited with Windows Phone’s gain over the past several months, even as the operating system struggles to build beyond its currently worldwide market share of about 3.3 percent
With the acquisition, instead of having to go through two companies for each innovation or marketing move, “we remove any boundaries in agility,” Ballmer said.

Sunday, September 01, 2013

Maksud SuperGlobal - Pembolehubah Global PHP

-----
-
-
Pembolehubah Global PHP  - Superglobals
«Bab sebelumnya        
Superglobals telah diperkenalkan dalam PHP 4.1.0, dan terbina dalam pembolehubah yang sentiasa ada dalam semua skop.
Pembolehubah Global PHP - Superglobals
Beberapa pembolehubah yang telah ditetapkan dalam PHP adalah "superglobals", yang bermaksud bahawa mereka sentiasa diakses tanpa mengira skop - dan anda boleh mengakses mereka dari mana-mana functionclass atau file tanpa perlu melakukan apa-apa yang khusus.
Pembolehubah PHP Superglobal adalah:
  • $ GLOBALS
  • $ _SERVER
  • $ _REQUEST
  • $ _POST
  • $ _GET
  • $ _FILES
  • $ _ENV
  • $ _COOKIE
  • $ _SESSION
Bab ini akan menjelaskan beberapa superglobals, dan selebihnya akan diterangkan dalam bab seterusnya.
PHP $ GLOBAL
$GLOBALS adalah sejenis superglobal variable PHP yang digunakan untuk mengakses global variable dari mana-mana tempat dalam skrip PHP (juga dari dalam function atau method).
PHP menyimpan semua pembolehubah global dalam variable yang dipanggil $GLOBALS [index] di mana index itu mewakili nama sesuatu variable.
Contoh di bawah menunjukkan bagaimana untuk menggunakan  $GLOBALS:
Contoh
$x = 75;
$y = 25;

function addition()
{
$GLOBALS['z'] = $GLOBALS['x'] + $GLOBALS['y'];
}

addition();
echo $z;
?>
Dalam contoh di atas, oleh kerana z berada di dalam array $GLOBALS, ia juga boleh diakses di luar function!
PHP $ _SERVER
$_SERVER memegang maklumat mengenai headerpath, dan location skrip.
Contoh di bawah menunjukkan bagaimana untuk menggunakan beberapa elemen dalam $_SERVER:
Contoh
echo $_SERVER['PHP_SELF'];
echo "
";
echo $_SERVER['SERVER_NAME'];
echo "
";
echo $_SERVER['HTTP_HOST'];
echo "
";
echo $_SERVER['HTTP_REFERER'];
echo "
";
echo $_SERVER['HTTP_USER_AGENT'];
echo "
";
echo $_SERVER['SCRIPT_NAME'];
?>
Jadual berikut menyenaraikan elemen yang paling penting yang boleh dimasukkan ke dalam $_SERVER:
Element/Code
Description
$_SERVER['PHP_SELF']
Returns the filename of the currently executing script
$_SERVER['GATEWAY_INTERFACE']
Returns the version of the Common Gateway Interface (CGI) the server is using
$_SERVER['SERVER_ADDR']
Returns the IP address of the host server
$_SERVER['SERVER_NAME']
Returns the name of the host server (such as www.w3schools.com)
$_SERVER['SERVER_SOFTWARE']
Returns the server identification string (such as Apache/2.2.24)
$_SERVER['SERVER_PROTOCOL']
Returns the name and revision of the information protocol (such as HTTP/1.1)
$_SERVER['REQUEST_METHOD']
Returns the request method used to access the page (such as POST)
$_SERVER['REQUEST_TIME']
Returns the timestamp of the start of the request (such as 1377687496)
$_SERVER['QUERY_STRING']
Returns the query string if the page is accessed via a query string
$_SERVER['HTTP_ACCEPT']
Returns the Accept header from the current request
$_SERVER['HTTP_ACCEPT_CHARSET']
Returns the Accept_Charset header from the current request (such as utf-8,ISO-8859-1)
$_SERVER['HTTP_HOST']
Returns the Host header from the current request
$_SERVER['HTTP_REFERER']
Returns the complete URL of the current page (not reliable because not all user-agents support it)
$_SERVER['HTTPS']
Is the script queried through a secure HTTP protocol
$_SERVER['REMOTE_ADDR']
Returns the IP address from where the user is viewing the current page
$_SERVER['REMOTE_HOST']
Returns the Host name from where the user is viewing the current page
$_SERVER['REMOTE_PORT']
Returns the port being used on the user's machine to communicate with the web server
$_SERVER['SCRIPT_FILENAME']
Returns the absolute pathname of the currently executing script
$_SERVER['SERVER_ADMIN']
Returns the value given to the SERVER_ADMIN directive in the web server configuration file (if your script runs on a virtual host, it will be the value defined for that virtual host) (such as someone@w3scholls.com)
$_SERVER['SERVER_PORT']
Returns the port on the server machine being used by the web server for communication (such as 80)
$_SERVER['SERVER_SIGNATURE']
Returns the server version and virtual host name which are added to server-generated pages
$_SERVER['PATH_TRANSLATED']
Returns the file system based path to the current script
$_SERVER['SCRIPT_NAME']
Returns the path of the current script
$_SERVER['SCRIPT_URI']
Returns the URI of the current page
PHP $ _REQUEST
PHP $_REQUEST digunakan untuk mengumpul data selepas pengguna menghantar HTML form.
Contoh di bawah menunjukkan satu HTML Form dengan input field dan submit button. Apabila pengguna mengklik pada "Submit", data dihantar kefile yang dinyatakan pada elemen action dalam tag
. Dalam contoh ini, data dihantar kepada 
file yang sama untuk pemprosesan. Jika anda ingin menggunakan file yang lain, gantikan dengan nama file pilihan anda. Kemudian, kita boleh menggunakan superglobal variable $_REQUEST untuk mengumpul data tadi:
Contoh




Name:


$name = $_REQUEST['fname'];
echo $name;
?>
($_REQUEST is a merging of $_GET and $_POST where $_POST overrides $_GET. Good to use $_REQUEST on self refrential forms for validations.)
($_REQUEST adalah gabungan $_GET dan $_POST di mana server akan memberi keutamaan kepada variable $_POST. Sesuai untuk panggilan kepada file sendiri.)
PHP $_POST
PHP $_POST digunakan secara meluas untuk mengumpul data selepas HTML Form dihantar oleh pengguna menggunakan kaedah "post".
Contoh di bawah menunjukkan satu HTML Form dengan input field dan submit button. Apabila pengguna menghantar data dengan mengklik pada "Submit" button, data dihantar kepada file yang dinyatakan pada elemen action dalam
itu. Dalam contoh ini, data di hantar kepada 
file yang sama untuk pemprosesan. Jika anda ingin menggunakan file yang lain, gantikan dengan nama file pilihan anda. Kemudian, kita boleh menggunakan superglobal variable $_POST untuk mengumpul data tadi:
Contoh




Name:


$name = $_POST['fname'];
echo $name;
?>
PHP $_GET
PHP $_GET digunakan untuk mengumpul data selepas HTML Form dihantar dengan menggunakan kaedah “GET”.
$_GET juga boleh mengumpul data yang terdapat di dalam alamat URL.
Andaikan kita mempunyai halaman HTML yang mengandungi link dengan parameter:
Apabila pengguna mengklik pada link "Test $GET", parameter "subject" dan "web" dihantar ke file "test_get.php". Kemudiannya, anda boleh mendapatkan kedua-dua nilai input ini dengan menggunakan variable $_GET.
Contoh di bawah menunjukkan kod dalam "test_get.php":
Contoh



echo "Study " . $_GET['subject'] . " at " . $_GET['web'];
?>

--