newspaint

Documenting Problems That Were Difficult To Find The Answer To

Monthly Archives: February 2013

Setting the Time on Technika Oven

Model B59MTI.

Here is what the front of the oven panel looks like:

Front panel of Technika oven

Front panel of Technika oven

To set the time hold down the 2nd and 3rd buttons from the left simultaneously and, to decrease the current time, press the – button as illustrated:

Hold down 2nd and 3rd buttons from the left and press the minus sign to decrease the time

Hold down 2nd and 3rd buttons from the left and press the minus sign to decrease the time

To increase the current time press the + button while holding down the 2nd and 3rd butons from the left simultaneously.

To increase the time hold down the 2nd and 3rd buttons from the left while pressing the plus sign button

To increase the time hold down the 2nd and 3rd buttons from the left while pressing the plus sign button

When finished let go of all of the buttons.

I Disabled The Microsoft Hosted Network Virtual Adapter In Windows 8

So you’re using Windows 8 as a WiFi repeater (or base station) after following the instructions in this blog post. Now you’re having a few troubles in Windows 8 and you think you’ll be smart and disable the Microsoft Hosted Network Virtual Adaptor and just re-start it in the hope your problems will disappear.

You start off by disabling the adaptor…

Disabling the virtual adaptor

Disabling the virtual adaptor

Now it is no longer listed in the Network Connections window. How do you get it back?

Open the Device Manager. It won’t be displayed there. But select “Show hidden devices” and the Microsoft Hosted Network Virtual Adaptor will be displayed.

Select "Show hidden devices" from Device Manager menu

Select “Show hidden devices” from Device Manager menu

Then right-click on the Microsoft Hosted Network Virtual Adaptor and choose “Enable”.

Enable the virtual adaptor

Enable the virtual adaptor

Now this won’t appear straight away in the Network Connections window but rest assured that when you run:

netsh wlan start hostednetwork

.. the virtual adaptor will re-appear in the Network Connections tab again (and don’t forget to re-set the network sharing if you were sharing an existing connection before-hand).

Mobile 3G Broadband Options 2013 in Selected Countries

Singapore

February 2013

StarHub in Singapore have stores that offer a 3G standard-sized SIM for SGD$18 (you have to show your passport when purchasing the SIM so your personal details can be kept and associated with the number). Once bought a data plan can be purchased as detailed here. I chose the 1GB valid for 7 days plan at $7 by dialing the number *131# and following the prompts.

The performance of the Internet was terrible. Just abysmal. During peak times there’d be absolutely no data flow whatsoever (not even the most basic HTML pages could be loaded). Other times (say, 4am or 10am on occasion) the connection was fine! Not really worth relying on but as some hotels (Amara Hotel is one such offender) charge $30 per day even the limitations on the StarHub offering is economic for some tourists. Of course some other hotels offer free Internet (Changi Village Hotel is such an example).

The remaining balance on my account (which should have been SGD$18 – $7 = $11) seemed to completely dissapate by the time I returned to Singapore a month later for some reason. Bizarre.

Balance Enquiry

Dial *113#

New Zealand

February 2013

2 degrees mobile offer a Mobile Broadband Data plan of 1GB for NZD$20 valid for 1 month (but “autorenews” unless you SMS “STOP MBB” to 233 immediately after activating the data plan by texting “buy 1gb” to 233).

You can go into a store, buy the SIM for NZ$10, and get a top-up voucher for $30. You then register the SIM by calling 200 which just involves setting a PIN number on the account. No passport information is needed.

Then you top up sending the code from the top-up voucher you purchased when buying the SIM.

The Internet seems not too bad.

Australia

February 2013

I bought a Virgin Mobile SIM from a corner store in the centre of Sydney for AUD$2. I also bought a top-up for AUD$29 which I applied AFTER I called the registration number and spent 20 minutes on the phone with somebody in India or China telling them where I lived etc (note you have to explicitly request to be put on the $29 cap plan before you apply your top up voucher).

The caps were listed at this web page at the time of this blog post. By the time you click on the link it may have disappeared. But in February 2013 it offered for the AUD$29 1GB of mobile data to use within 30 days.

You can check your balance by logging into the “My Account” webpage with your phone number and a 6-digit PIN you allocate during that registration phone call you did when setting up the SIM card – but the “My Account” will not tell you how much data is remaining (and that is below the standard I would expect of a reasonably competent mobile operator).

Performance seemed okay for my purposes. Australia is changing. Two or more years ago you would have been forced to pay outrageous amounts ($30 for a day or $10 for an hour) for Internet in a hotel or airport. Now both Melbourne and Sydney airports offer free Internet (usually capped around 500MB) and some hotels (Meriton Serviced Apartments in Sydney, for example) are now offering free capped Internet, too (usually capped around 1GB per day per room).

Why Won’t My JMeter Java Sampler Class Load?

Infuriating! Having build a Java Sampler for JMeter and having placed it in the lib/ext/ folder I start up JMeter but when I go to add a Java Sampler my custom class isn’t listed as one of those available!

It seems that JMeter is silently failing to load my JAR file.

So what is going on? Clearly we need to make JMeter more verbose. Time to create a properties file. Try this for measure:

log_level.jmeter=DEBUG
log_level.jmeter.junit=DEBUG
log_level.jmeter.control=DEBUG
log_level.jmeter.testbeans=DEBUG
log_level.jmeter.engine=DEBUG
log_level.jmeter.threads=DEBUG
log_level.jmeter.gui=WARN
log_level.jmeter.testelement=DEBUG
log_level.jmeter.util=DEBUG
log_level.jmeter.util.classfinder=DEBUG
log_level.jmeter.test=DEBUG
log_level.jmeter.protocol.http=DEBUG
# For CookieManager, AuthManager etc:
log_level.jmeter.protocol.http.control=DEBUG
log_level.jmeter.protocol.ftp=WARN
log_level.jmeter.protocol.jdbc=DEBUG
log_level.jmeter.protocol.java=WARN
log_level.jmeter.testelements.property=DEBUG
log_level.jorphan=DEBUG

log_file=jmeter-debug.log

Save this as “myprops.txt” (or whatever you like) and then issue the command:

bin/jmeter -p myprops.txt

Now, have a look in the newly created jmeter-debug.log file for the evidence!

2013/02/05 13:53:41 DEBUG - jorphan.reflect.ClassFinder: MyJMeterClass/src/JMeterAction01StartClient : Unsupported major.minor version 51.0

This indicates that the JAR was compiled using the JDK version 7 but I’m trying to run this using the version 6 JRE.