Monday, 10 August 2009
Aargh! Need an English lesson!
How would you correctly call these mini bowls (click on each thumbnail to see bigger image)? They are used for serving small portions of various salads which people pick up and put onto their plates.



These are bought in Russia. I need to sell them on eBay but don't know the word! Tried to find them being sold anywhere without much luck - apparently British (being primitives!) only like big round ones.



These are bought in Russia. I need to sell them on eBay but don't know the word! Tried to find them being sold anywhere without much luck - apparently British (being primitives!) only like big round ones.
Labels: bowl, ebay, english, salad
Sunday, 31 May 2009
Wireless Access Point on my Linux server finally works!
Approx 3 months ago after I've built a Linux home server for myself I thought to make it also into a wireless access point. I then ran into several issues that were all more or less caused by the fact that the open source driver for my Linksys WMP55AG PCI Wireless adapter did not support the AP (master) mode well. I needed all possible patches to all possible modules and eventually made it work but only for my WM5 Pocket PC and only in open (unsecured) mode.
After all the issues I had I decided to wait until all patches made it into the official tree. Yesterday I've downloaded the latest compat-wireless, hostapd 0.6.9, installed them and everything worked out of the box, including open mode and WPA and on both WM6 smartphone and WM5 Pocket PC! I am much more happy now.
Now why did I need an access point on Linux when it's built into any cheap router? First, my current Draytek router supporting more than 1 IP adress on a PPPOA interface is not wireless. I've got a spare Linksys router but keeping it switched on just for wi-fi that I use once a week is not green! And secondly, well, just for fun. If I could also find an internal/extrernal ADSL2+ modem card my Linux box would be a full home networking solution.
After all the issues I had I decided to wait until all patches made it into the official tree. Yesterday I've downloaded the latest compat-wireless, hostapd 0.6.9, installed them and everything worked out of the box, including open mode and WPA and on both WM6 smartphone and WM5 Pocket PC! I am much more happy now.
Now why did I need an access point on Linux when it's built into any cheap router? First, my current Draytek router supporting more than 1 IP adress on a PPPOA interface is not wireless. I've got a spare Linksys router but keeping it switched on just for wi-fi that I use once a week is not green! And secondly, well, just for fun. If I could also find an internal/extrernal ADSL2+ modem card my Linux box would be a full home networking solution.
Labels: ath5k, linux, wifi, wireless
Tuesday, 22 July 2008
Unbeatable advantages of Nationwide credit card

Just got a brand new set of Nationwide credit cards. For me and Julia. Interestingly, unlike HSBC's, these two are exactly the same, the only difference is the name on the card. HSBC cards had different numbers, CVC codes etc. A bit less secure I think... Anyway, this is what's good about them:
- Extended 12 months warranty on electrical items + protection against loss or damage on any personal items for 100 days. But what's more important,
- the account is accessible via Nationwide internet banking, which means automatic sync with MS Money! This was the primary reason for applying and it's really, really convenient. All your transactions just appear in Money by themselves. On top of that,
- there is no commission for using card abroad, albeit this is not as valuable as it sounds: it would only save you around £15 on a £600 purchase (as they claim).
Labels: money, nationwide
Tuesday, 10 June 2008
HSMP extensions: any age of the English test is good!
I've just received a reply from Work Permits UK to my question on whether my IELTS test that I sat in 2004 is still acceptable. Note that when they first introduced English Language requirement for HSMP they were accepting only IELTS and only up to 2 years old for new applications and any age for extensions. I was good as I had my 2004 IELTS. Later they removed this exception for extensions and required only the valid IELTS certificate (that is no older than 2 years) for both extensions and new applications. I specifically called them and asked.
Now the good news is, now that Tier system is officially fully live, the English Language requirements have changed again. They now accept a whole bunch of various tests but the best news is, quoting
Whoohoo! I better apply for extension fast before they change their minds. However I'll have to wait until Polina's birth certificate is ready to apply for her passport and only then apply for Tier 1. Anyway, congratulations to you all, HSMP people!
Now the good news is, now that Tier system is officially fully live, the English Language requirements have changed again. They now accept a whole bunch of various tests but the best news is, quoting
Please Note: All approved English language tests meet the requirements regardless of the date of the award.
Note: an IELTS test result can be more than 2 years old.
Whoohoo! I better apply for extension fast before they change their minds. However I'll have to wait until Polina's birth certificate is ready to apply for her passport and only then apply for Tier 1. Anyway, congratulations to you all, HSMP people!
Labels: hsmp, immigration
Tuesday, 29 January 2008
Why I am disappointed with o2

I've recently got an O2 contract as a side effect of buying a phone I wanted as a present for Julia. I was on T-Mobile pay as you go before. What can I say? I am generally disappointed in many ways. Namely:
- You can't get SMS delivery notifications in a standard way. "Require delivery notification" flag is ignored. But you still can receive them - in a very awkward O2 way. You must begin your message with "*0# " (not forgetting the trailing space). Nice, isn't it? And I won't be surprised that my message character limit is now 4 characters less.
- Texts sent to my mom's Russian mobile (Beeline) are not delivered. I had no problems sending texts abroad with T-Mobile. O2's customer support suggested that they had no agreement with the target network. But I have a friend on Beeline who receives my texts with no problems! Yesterday mom's changed her operator to MTS so we could text.
- Recent charges (detailed call list) is available online but despite their promise that it gets updates within 24 hours, it's 3rd of Feb today and latest calls I can see are from 30 Jan. This will be less important later when my spending stabilises and I won't need to watch it closely.
- If I were on O2 pay as you go... I wouldn't be on O2 pay as you go. Their PAYG call charges are higher than anywhere else. 40p/min on calls to non-O2 mobiles while Virgin and T-Mobile offer 15p/min, and on 3 it's 12p/min. Ridiculous.
Thursday, 3 January 2008
Activesync via Bluetooth using Toshiba bluetooth stack
After spending too much time trying to set this up, here is the recipe (taken from many sources, for example from comments to this article):
- First of all, check (on your PC) from Start -> Control Panel -> Bluetooth Local COM which Com port the "LocalCOM-Server[SerialPort]" is assigned to (in my case COM7)
- Set SerialPort in "HKLM\Software\Microsoft\Windows CE Services" to the assigned COM port you found before (for example, "COM7")
- Make sure in ActiveSync settings on your PC "Allow connections to one of the following" is checked and "COM7" is selected in the dropdown.
- Pair your Windows Mobile device with your PC (I've done it from mobile device).
- While mobile device is discovering services on your PC, you should be able to see ActiveSync activity on the PC as the BT serial port is probed for ActiveSync.
- The Serial Port profile, which was displayed before as available profile type should appear now as ActiveSync.
- Depending on Windows Mobile bluetooth stack, you now should be able to initiate sync by either
- starting ActiveSync on the device and going to Menu->Connect via Bluetooth, or
- if Broadcom stack is installed on the device (all iPAQs go with it AFAIK), going to Bluetooth Manager, finding "ActiveSync with <your PC name>
" shortcut and tapping connect on it. You create this shortcut by going to Bluetooth Connection Wizard and selecting "ActiveSync via Bluetooth".
Thursday, 29 November 2007
XSLT: output an XML escaped copy of the source tree fragment
I've assembled the following hack after gathering some ideas from the net. It allows to have a copy of the source tree in the output, but unlike <xsl:copy>, it outputs the copy as text with XML escaping. Limitation is that it only supports elements, text nodes and attributes. But this can easily be extended if need arises.
<!-- the hack below outputs escaped copy of the current node set -->
<xsl:template match="*|@*" mode="verb">
<xsl:variable name="node-type">
<xsl:call-template name="node-type"/>
</xsl:variable>
<xsl:choose>
<xsl:when test="$node-type='element'"> <!-- element -->
<xsl:text><</xsl:text>
<xsl:value-of select="name()"/>
<xsl:apply-templates select="@*" mode="verb"/>
<xsl:text>></xsl:text>
<xsl:apply-templates mode="verb"/>
<xsl:text></</xsl:text>
<xsl:value-of select="name()"/>
<xsl:text>></xsl:text>
</xsl:when>
<xsl:when test="$node-type='text'"> <!-- text -->
<xsl:value-of select="self::text()"/>
</xsl:when>
<xsl:when test="$node-type='attribute'"> <!--any attribute-->
<xsl:text> </xsl:text>
<xsl:value-of select="name()"/>
<xsl:text>="</xsl:text>
<xsl:value-of select="."/>
<xsl:text>"</xsl:text>
</xsl:when>
</xsl:choose>
</xsl:template>
<xsl:template name="node-type">
<xsl:param name="node" select="."/>
<xsl:apply-templates mode="nodetype" select="$node"/>
</xsl:template>
<xsl:template mode="nodetype" match="*">element</xsl:template>
<xsl:template mode="nodetype" match="@*">attribute</xsl:template>
<xsl:template mode="nodetype" match="text()">text</xsl:template>
Labels: xml xsl xslt programming