ASUS WL-330NUL

I have bought the ASUS WL-330NUL, a wireless-N150 combo USB adapter, for a long while now and I had not get it to work with my MacBook Pro… …until now. The manual doesn’t illustrate fully some of the alternative steps and I am recording what I have done, in proper sequence, to make it connect to my ASUS RT-AC68U dual-band wireless-AC1900 gigabit router.

  1. Download WL-330NUL manual and scroll to the section for MAC OS X users, specifically Mode 4.
  2. For Yosemite, you need to update the adapter’s firmware. Log into the adapter from another computer using the instructions given in the manual and update the firmware downloaded.
  3. Connect the adapter to your MacBook and log into it via the new url http://router.asus.com.
  4. My router is set up with mac address filter for security so in the adapter under the “MAC Clone” tab, clone the mac address. It should show the mac address of the adapter in the text field and add it to the router’s filter list.
  5. Save all settings.
  6. Under the “WAN” tab, scan for your router’s SSID and connect to it. A prompt would ask for your router network’s passkey. Fill that in and save.

You should be able to surf the internet now and this mode is particularly useful for my case where my laptop’s built-in wireless is faulty.

Posted in Uncategorized | Tagged | Leave a comment

Small Java Programming Quick Tips

  1. Build Java class starting from the default scope before making way up to the protected scope and then the public scope.
  2. Use small short-lived immutable objects as opposed to large objects as much as possible.
  3. Restrict the use of getters/setters and if one is provided, ensure the attribute get/set is immutable and not modifiable via reference (eg. elements in a collection).
  4. Methods should return either a value or an exception. Returning a null object is not recommended and should be limited to checking that a variable has been removed/cleared/nullified.
Posted in Program Coding | Tagged | Leave a comment

For those working from 9 to 6…

blue-rounded-with-number-9-mdno-sign-md

A clock that works while you work!


Posted in Uncategorized | Leave a comment

OCPJSE7 (upgraded from SCJP1.4)

OCP_JavaSE7Programmer

Posted in Uncategorized | Tagged , , | Leave a comment

NetBeans Connector for Chrome not working on Mavericks

I have installed the latest Chrome browser and NetBeans 8.0 on my MacBook Pro upgraded to OSX 10.9.3. However, the NetBeans Connector extension on my Chrome fails to redirect to my HTML5 application on the embedded web-server (http://localhost:8383) and simply just shows a blank screen.

After performing several troubleshooting procedures, my friend and I found that the JavaScript in the extension is trying to connect to ws://127.0.0.1:8008/. When we ran the command ‘netstat -na | grep 8008’, we noticed that Mavericks assigned the system’s current IP to the port instead, eg. 192.168.1.106:8008.

Hence the chrome extension has no way to redirect the page to the embedded web-server. Though we have found the problem, we have yet to find the solution. Please feel free to suggest any workaround by commenting to this post while we try to log this bug to NetBeans have logged it under Bug 245227.

Posted in Application Development | Tagged , , | Leave a comment