Home » Blog » Page 2

Blog

Name translator issues

arigatoThank you to everyone who emailed in about the issues with the name translation tool. It looks like the problem was caused by an expired SSL certificate. Hopefully things are working properly again now. Please keep me updated if you encounter any more problems.

Posted in names, Translation | Tagged | Comments Off on Name translator issues

Bulk text resizing in PowerPoint 2011

Original Japanese

Original Japanese

In-situ translation

In-situ translation

In-situ translation after bulk resizing

In-situ translation after bulk resizing

When Japanese is translated into English, the translated text generally occupies more space than the original. This can sometimes be a problem. For example, if you use a translation tool like OmegaT to perform an in-situ translation of a Japanese PowerPoint presentation, the English text is probably not going to fit properly. What you need is some sort of bulk text resizing tool.

PowerPoint doesn’t allow you to perform operations on all the slides in a presentation, like scaling down the font size of every text box. (As far as I can tell, it only allows you to select multiple text boxes and set them all to the same font size, one slide at a time.) However, it does support AppleScript, which can do the job for you.

The following script will adjust every text box in the entire presentation. It won’t do a perfect job because text boxes that contain text of different sizes will be resized to a single font size. However, it can save a lot of time when you have a large translated file with broken formatting.

You can run this script direct from the AppleScript Editor application, but if you think you’re going to use it a lot then you would be better off saving it in the PowerPoint scripts folder (~/Library/Application Support/Microsoft/Office/PowerPoint Script Menu Items/), from where it can be directly accessed via PowerPoint’s scripting menu.

The script below contains two variables that you can adjust to suit your needs: minFontSize (the font size below which no scaling takes place) and fontScaleFactor (the factor by which font sizes greater than minFontSize are scaled). Don’t forget to save a backup before running this script.

set minFontSize to 7
set fontScaleFactor to 0.65
tell application "Microsoft PowerPoint"
  tell active presentation
    set theSlideCount to count slides
    repeat with a from 1 to theSlideCount
      set numShapes to count shapes in slide a
      repeat with b from 1 to numShapes
        set sz to (font size of font of text range of text frame of shape b of slide a)
        if sz is greater than minFontSize then
          set sz to minFontSize + (szminFontSize) * fontScaleFactor as integer
          tell font of text range of text frame of shape b of slide a
            set font size to sz
          end tell
        end if
      end repeat
    end repeat
  end tell
end tell
Posted in Hacks, Localisation | Tagged | Comments Off on Bulk text resizing in PowerPoint 2011

Taking technology too far

There were two stories about Japanese technology in the news yesterday. One was about a remote control toilet. Yes, really.

The 21st century toilet

The 21st century toilet.

The Lixil Satis has a Bluetooth interface that can be accessed by installing an Android app on your smartphone. This allows you to control all sorts of functions, including opening/closing the lid, flushing the toilet, and operating the “wash/dry” system that seems to be a standard feature on Japanese toilets these days.

But yesterday a security advisory for this contraption was published online. It turns out that its designers had cut corners by making it unnecessary to enter a four-digit PIN when pairing an Android device with the toilet. (More precisely, they hard-coded the PIN to ‘0000’.) This means that anyone with an Android smartphone can control your toilet remotely, simply by downloading the free app. Oops.

Kirobo

In space … you don’t actually need legs.

The other story was that of Kirobo (キロボ), the talking robot that was dispatched to the International Space Station, supposedly to act as a companion to astronaut Koichi Wakata (若田 光一) who will be joining the ISS in November. I expect Kirobo will be staying in his box until then, as he only speaks Japanese.

According to Kirobo’s developers, this exercise is part of a study to see how machines can lend emotional support to people isolated over long periods. I suspect it’s more of a marketing manoeuvre. After all, Wakata won’t be alone on the ISS. And I’m sure they have Skype up there.

Cute little toy, though. I expect Kirobo will be appearing in the shops any day now.

Posted in inventions, Robotics | Comments Off on Taking technology too far

Domain registration scam

Back in March I mentioned a domain registration scam originating from a Chinese domain called picweb.net. It looks like the scammers have now relocated to ygitech.com, which was re-registered just a few weeks ago.

If you receive any emails that look like the following, then please ignore them. Their claims are completely bogus. Don’t visit their website either; their emails may simply be an enticement to visit their site so they can install malware on your computer.

(Please forward this to your CEO, because this is urgent. Thanks)We are a Network Service Company which is the domain name registration center in Shanghai, China. On July 22, 2013, we received an application from Taisheng Limited requested “japanesetranslator” as their internet keyword and China (CN) domain names. But after checking it, we find this name conflict with your company name or trademark. In order to deal with this matter better, it’s necessary to send email to you and confirm whether this company is your distributor or business partner in China?

Kind regards
Kenny Cheng

*********************************************
Kenny Cheng
General Manager
YGITECH (Headquarters)
B06, Yujing Building, No.1 Jihe Road,
Shanghai 201107, China
Tel: +86-21-6191-8696
Mobile: +86-182-2195-1605
Fax: +86-21-6191-8697
Web: www.ygitech.com

This e-mail contains information (including any attachments) intended only for the use of the individual or entity named above. If the reader of this e-mail is not the intended recipient or the authorized employee or agent responsible for delivering it to the intended recipient, any dissemination, publication or copying of this e-mail is strictly prohibited and may be illegal. If you have received this communication in error, please notify the sender. Thank you for your cooperation.


Update: 17th October 2013

They’re at it again. I just received a similar email asking me to visit dunic.org:

(Letter to Head of Brand Business or CEO, thanks)

Dear Sir or Madam,

This is a formal email. We are the auditing department of a professional domain name registration and dispute solution organization in China. Here I have something to confirm with you. We formally received an application on October 17, 2013 that a company claimed “MAX Holdings Ltd” were applying to register “japanesetranslator” as their Brand Name and some “japanesetranslator” Asian countries top-level domain names through our firm.

Now we are handling this registration, and after our initial checking, we found the name were similar to your company’s, so we need to check with you whether your company has authorized that company to register these names. If you authorized this, we would finish the registration at once. If you did not authorize, please let us know within 7 workdays, so that we could handle this issue better. After the deadline we will unconditionally finish the registration for “MAX Holdings Ltd”. Looking forward to your prompt reply.

Best Regards,
Victor Yang
Tel: +86.7395266069 Fax:+86.7395266169
Address: 124 Changjiang Road Hefei 230001 Anhui, China
Website:Http://www.dunic.org

The URL at the end of this email was actually displayed as a JPEG image instead of being typed at the end of the email. This is an old trick used by spammers to get past spam filters that trap links to blacklisted websites.

Posted in Miscellaneous | Tagged | Comments Off on Domain registration scam

Manhole covers of Japan

This photo collection of 423 manhole covers in Japan is nowhere near as dull as it sounds. No, really. I’m being serious!

Posted in Miscellaneous | Comments Off on Manhole covers of Japan

WordPress login failures

Back in January I started noticing a lot of failed attempts to log into this website’s admin section, presumably in an attempt to hijack the website and use it to send spam, host illegal content or join some sort of botnet. It seems that many other websites are being affected in the same way.

I’m not particularly worried about this. All of these attempts have so far used the default WordPress user name of “admin”, which doesn’t exist here, and nobody has yet realised that this website is configured to only accept logins over secure connections (i.e., https, not http). Even if they did get that right, it would still take about a billion years to crack the password by brute force. (Well, OK. Perhaps not quite as long as that. But still…)

Anyway, I wrote a script to monitor these failed logins and disable logins altogether from repeat offenders. Since January it’s caught quite a few. Here’s the list of IP addresses that have tried 10 or more times to log in to the non-existent admin account. (Note: This list is updated live, so it will probably keep growing for a while yet.)

List of rogue IP addresses

5.39.98.242 5.101.40.93 5.135.164.43 5.188.87.12 5.188.211.25 5.196.72.102 31.210.47.92 45.227.253.243 45.227.254.240 45.227.254.241 45.227.254.252 46.119.116.151 46.119.120.176 46.148.22.210 51.15.145.148 52.47.201.74 62.4.15.41 62.210.15.96 66.206.231.94 67.222.102.11 77.39.90.54 77.72.82.15 77.72.83.230 88.132.15.90 91.197.234.45 91.200.12.2 91.200.12.22 91.200.12.49 91.200.12.52 91.200.12.53 91.200.12.91 91.200.12.113 91.200.12.151 91.210.145.26 91.210.145.252 91.210.146.7 91.211.88.70 91.236.251.178 94.45.140.186 94.177.238.146 103.14.42.32 103.56.115.156 109.163.234.7 109.163.234.8 112.78.4.176 119.23.200.187 123.206.197.121 123.206.207.134 134.249.48.162 142.4.17.157 142.54.160.154 160.202.162.45 160.202.162.204 163.172.255.16 173.208.169.26 176.31.252.11 183.48.23.139 185.51.247.212 185.68.111.81 185.85.190.132 185.85.191.196 185.85.191.201 185.85.238.244 185.85.239.110 185.85.239.157 185.85.239.195 185.86.5.212 185.86.5.251 185.86.13.213 185.86.164.98 185.86.164.99 185.86.164.100 185.86.164.101 185.86.164.102 185.86.164.103 185.86.164.104 185.86.164.106 185.86.164.107 185.86.164.108 185.86.164.109 185.86.164.110 185.86.167.4 185.92.73.31 185.119.81.11 185.119.81.39 185.119.81.50 185.159.36.8 185.222.210.60 185.222.211.40 185.234.216.55 185.234.218.21 192.187.98.42 192.187.100.58 192.187.111.146 193.201.224.8 193.201.224.28 193.201.224.193 193.201.224.207 193.201.224.210 193.201.224.215 193.201.224.217 193.201.224.220 193.201.224.225 195.154.48.192 195.154.52.152 195.154.63.84 195.154.156.211 195.154.223.224 195.154.240.26 195.154.251.162 199.36.221.179 204.12.193.74 210.177.143.157 212.83.166.123 212.83.178.35 212.83.178.42 212.83.188.26 213.251.182.115 217.61.22.139

Total number of failed logins: 20690

Posted in Hacks | Comments Off on WordPress login failures

Air hockey robot

Researchers led by Professor Akio Namiki at Chiba University’s Namiki Lab have developed an air-hockey robot that can hold its own against human players. Although it’s not the first robot to play this game, it has the ability to change its strategy based on the playing style of its opponent.

(Previously)

Posted in inventions | Comments Off on Air hockey robot

Translating names into Kanji

Cloak decorated with kanji characters (1973), designed by Kansai Yamamoto for the Aladdin Sane tour

Cloak decorated with kanji characters (1973), designed by Kansai Yamamoto for the Aladdin Sane tour (© The David Bowie Archive)

This summer’s David Bowie exhibition at the V&A museum apparently features several Japan-themed outfits designed by Kansai Yamamoto. The cloak shown here is decorated with the calligraphic characters 出火吐暴威, which represents the name “David Bowie” as follows:

Kanji Meaning
de exit; leave; emit
bi fire (usually hi)
to spit; vomit; belch
outburst; rave; fret; force; violence
i intimidate; dignity; majesty; menace

This translates roughly as “the one who spits fire with forceful menace” (or “one who spits out words in a fiery manner” according to the rest of the blogosphere). Regular visitors to this site are probably already aware that foreign names are normally written using the phonetic katakana syllabary, and not without good reason — kanji characters can usually be read in at least two different ways, so it’s almost impossible to achieve unambiguous results.

For example, film director Yoshikazu Katō and human rights activist Giichi Nomura both share the same given name (義一) but with completely different pronunciations (Yoshikazu and Giichi). At least with Japanese names it’s usually possible to make an educated guess of the most likely pronunciation. But with foreign names and words, it’s much harder. This is precisely the sort of ambiguity that katakana was designed to eliminate.

If you really do want to translate your name into kanji, there are a few things you need to bear in mind:

Linguist Jack Halpern writes his name as 春遍雀來 (Harupen Jakku), but with a furigana pronunciation guide (ハルペン ジャック) to avoid confusion. (From the Japanese title page of the New Japanese-English Character Dictionary)

Linguist Jack Halpern writes his name as 春遍雀來 (Harupen Jakku), but with a furigana pronunciation guide (ハルペン ジャック) to avoid confusion. (From the Japanese title page of the New Japanese-English Character Dictionary, 1st edition)

  • Kanji characters are ideographs, so you have to consider the meaning as well as the pronunciation of each one. (Try to avoid characters like “vomit”!)
  • Katakana offers a better range of pronunciation. For example, デイヴィッド (deividdo) is much closer to the English pronunciation of “David” than debito.
  • Unless you’re already well known, you’ll still have to explain to Japanese people how your name should be pronounced.
Posted in Translation | 1 Comment

Space Invaders

Space Invaders — the original “shoot-em-up” video game — was released thirty five years ago this month.

The game was developed almost single-handedly by an engineer called Toshihiro Nishikado (西角友宏) at Taito Corporation in Japan. For the aliens in the game, he drew inspiration from the octopus-like creatures in the 1953 film The War Of The Worlds. This led on to various other sea creatures:

The octopus came first, so I thought, maybe I should try a squid and a crab. But then they didn’t look very threatening, so I kept trying to come up with something else.

Here are some of his original sketches:

If you’ve got a few minutes to spare, why not see how far you can get with this Flash version of the game. Use the left and right arrow buttons to move, and press the space bar to fire:


This version of Space Invaders is hosted by flashgames312.com

Posted in Games | 1 Comment

False fingers for ex-Yakuza

Yubi-tsume (指詰め) — the practice of chopping off a little finger as an act of penitence — has been going on in the Japanese underworld for many years.

Recent anti-gang laws have persuaded many of Japan’s Yakuza that life would be easier on the straight and narrow. However, it can be difficult for them to find an honest job. Their trademark tattoos (irezumi; 入れ墨) are widely frowned upon, and many establishments will refuse to serve — let alone employ — anyone bearing them. But at least tattoos are easy to cover up. Missing fingers are more of a problem.

This has resulted in a flourishing prosthetics business.


Video by ABC News

Here’s another news item on the same subject by the Australian ABC. You’ll have to click through for the video as they don’t allow off-site embedding. But here’s a nice screenshot:

Prosthetic pinkies for digitally deficient delinquents

A selection of prosthetic pinkies

Posted in Uncategorized | Tagged | Comments Off on False fingers for ex-Yakuza


Header image: Dusk falls over the harbour at Takamatsu (高松市), as seen from the top floor of the 30-storey Symbol Tower. Photo: Frank Gualtieri.

Powered by WordPress