Archive of articles classified as' "tech"

Back home

Twitter Widget with No Logo

24/12/2010

Since I realized the little twitter widget on the right was defunct (it was linking to bad links, non-posts), I decided to update it. Twitter provides code to give you an embedded widget, but out of the box it looks like this:

twitterwidget.png

Ew, logos. And giant boxes. Ugh.

So I modified the widget code to remove all that nonsense above and below, and JUST display the text of a single tweet. Here’s the code, help yourself:
Twitter Widget No Logo

Then take the code below and put it wherever you want your tweet to be displayed. Don’t forget to change the URL of the script (on line 1) to wherever you hosted it, and to put in your own twitter username instead of mine (line 30):

<script src="[URL OF THE SOURCE CODE]"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 1,
  interval: 6000,
  width: 'auto',
  height: 80,
  theme: {
    shell: {
      background: '#ffffff',
      color: '#414b56'
    },
    tweets: {
      background: '#ffffff',
      color: '#414b56',
      links: '#0f82db'
    }
  },
  features: {
    scrollbar: false,
    loop: false,
    live: true,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: 'all'
  }
}).render().setUser('[YOUR TWITTER USERNAME]').start();
</script>
14 Comments

Tron: Legacy is the lovechild of Star Wars,
The Matrix, and Daft Punk

18/12/2010

Instead of using words, I’ve decided to express my review of Tron: Legacy as a venn diagram. Because it was really just Matrix + Star Wars + Enginerd Parties + a little bit of extra shininess.

Click for full size!

Only other comment: they really should’ve done without the…script. Really fun movie, but I would have traded the sum total of all the words for another light cycle race.

1 Comment

Use the Mac OSX built-in Japanese Dictionary!

9/06/2009

This is perhaps one of the best-kept secrets of Mac OSX (10.5 or later) that any Japanese student should know about: the Dictionary app, inside your Applications folder, has a built-in Japanese Dictionary.

Koichi over at Tofugu just wrote an article about Why you should use a Mac to study Japanese, but I think the built-in dictionary is definitely one of the best resources on the Mac for Japanese. I had my MacBook for approximately two years before I even realized there was such a dictionary (would have been really helpful to know about during the year I lived in Japan and had my MacBook!) and it seems a lot of people I’ve talked to also don’t know about the Japanese dictionary.

The reason it’s a “secret” is that the Japanese dictionary doesn’t automatically show up as part of the Dictionary app. You’ll need to open the preferences, and then voila, you’ve discovered a gold mine:
dictionaryprefs.png

So just select to enable the Japanese-English and Japanese dictionaries, and you’re ready to go! (There’s also a Japanese synonym dictionary which I haven’t used too much, honestly)

If you’re familiar with inputting Japanese text on OSX, the dictionary is very easy and nice to use. Here’s an example looking up the Japanese word びっくり (bikkuri). Type the word (Dictionary will auto-complete the word for you as you’re doing this):
bikkuri1.png

Click for a definition, some synonyms, and example sentences:
bikkuri2.png

The dictionary gives you a very standard-Japanese definition (not a lot of slang or new words) but it’s very solid and extremely helpful.

English-Japanese isn’t bad either:
bikkuri3.png

And once your Japanese is coming along, you’ll want to start using the Japanese-Japanese dictionary as well. This dictionary is more extensive than the Japanese-English dictionary, so especially with proper nouns, old words that aren’t used much anymore, or more technical/specific/historical vocabulary, it may only be in the Japanese dictionary. Here’s what a Japanese dictionary entry looks like:
bikkuri5.png

This dictionary isn’t perfect, but since it’s a desktop app that doesn’t rely on an internet connection, it’s been extremely useful. I generally use it as my primary dictionary, and then seek other resources if I need them (like jisho.org for kanji-lookup, for example). I also used the Dictionary app during exams for my Japanese translation class this semester — we were allowed to have dictionaries, but no internet connection (I suppose so we wouldn’t chatting with other people taking the exam, or something like that).

As a Mac user/Japanese learner I’m excited about the cool new things Koichi mentioned, like the new Chinese input method that will come out with Snow Leopard, but I just wanted to make sure you don’t miss the built-in dictionary like I did!

124 Comments