h1

Japanese Language Learning Resources

February 10, 2019
I’ve recently started learning Japanese. These are some of the resources that I’m using.

Rosetta Stone for Japanese

https://amzn.to/2I50JiL
This is the core of my study, but it’s also the most expensive. There are ways that you can get access to it for free. Our local library has a deal where you log into the library web site, link over to Rosetta Stone and then it launches the app on your iPad. The route to the app is a little circuitous, but it’s saves some money. The only disadvantage is that you have to be online to use the app. Not a problem most of the time, but if you’re on a plane without WiFi, it can be annoying.

Drops Japanese

https://languagedrops.com/learn-japanese/
Drops is a visual way of learning vocabulary by dragging words to pictures on iOS or Android. The free version of the app gives you 5 minutes per day. Since I’m using it with a bunch of other things, that’s just fine for me. If you pay for the full version ($159 for life) you get unlimited time each day.

Sticky Study Japanese

http://www.stickystudy.com/japanese.html
I’m a HUGE advocate for flashcards. I made thousands of them when I was in language school and had this method of speed learning small groups of cards and then bringing them back together into larger groups based on how confident I was with the word. Sticky Study does that in digital form. It covers thousands of characters and includes reading writing and hearing. It also shows larger words the characters fit into, phrases and a lot more. I found that I got a lot out of reading the user guide (http://www.stickystudy.com/manuals/japanese/index.html) before I started using the app. It describes their approach to flash cards and a few elements of the user interface that I didn’t grok at first.
StickyStudy is $8.99 to own the full version.

Japanese Pod 101

https://www.japanesepod101.com/
This site is just bursting with quality PDFs, videos, podcasts and other materials. Their YouTube channel (https://www.youtube.com/user/japanesepod101) is awesome. Right now I’m just using all of their free content, but I’m very tempted to move to the paid version. The only problem is that it’s a subscription model and I really prefer just paying all at once and keeping it for life. They have a $4, $10 and $24 a month plan. But for now I’ll just use the free stuff. Two of my favorite videos so far: 1) Learn Kanji in 45 Minutes (https://www.youtube.com/watch?v=mPppVDX_GiY) – gives you an overview of Kanji the radicals and how it’s built. 2) 10-Day Hirigana Challenge (https://www.youtube.com/playlist?list=PLPSfPyOOcp3SxDZf7gkbApq_PrJsGf7Pn) – These videos teach you all of the sounds in the Japanese alphabet and mnemonics to help you remember them. I’ve been watching these videos on the elliptical. Great material.

Learn Japanese: A Complete Phrase Compilation for Traveling to Japan

https://amzn.to/2WOPmil
This is an audiobook that is more focused on Japanese for travel. It’s from the folks at Japanese Pod 101. The difference between this and the other materials is that it dives straight into the vocabulary that you need for getting a table at a restaurant, buying a train ticket, etc. They don’t do enough repetition to make you really learn it, but if you just play the lessons again and again, it works.

DuoLingo for Japanese

https://www.duolingo.com/course/ja/en/Learn-Japanese-Online
I’ve been dabbling with this one. It’s not part of my core materials, but there is some good stuff there.
Have some suggestions of your own? Please comment below.
Advertisements
h1

Not Being Evil (Google and Japan)

March 11, 2011

This post isn’t about Java, or food or an interesting quote. It’s about Google honoring its corporate motto of Don’t Be Evil. Not only are they not being evil, but they’ve done a good thing today.

Within hours of the recent earthquake in Japan they’ve set up a Google Crisis Response for the 2011 Japanese Earthquake and Tsunami.The page has alerts and warnings, bulletin boards, transportation information, power outages information, maps (with KML data links so it can be used in other applications) and a Person Finder where people can post information about people they are looking for or people they have information about.

That’s awesome! Kudos to the folks at Google!

Feel free to leave comments below.

Josh

h1

Definition: Programmer

January 3, 2011

“Programmer – def: an organic machine which converts caffeine into source code”
(on a shirt at CafePress)

h1

Smitty’s Sangria

October 15, 2010

I spent some time living in Spain and tried a bunch of sangrias. Once I returned stateside I missed the sangria on hot afternoons. After trying dozens of recipes I took elements of each and ended up with my own recipe that my friends and family seem to really like. Enjoy!

Ingredients

  • Approximately 1/2 gallon of red wine (Carlos Rossi Sangria base or another Spanish red)
  • 1  to 1 1/2 cup apricot brandy
  • 1/2 to 1 cup triple sec
  • 1 cup orange juice
  • 1 cup apricot nectar
  • 1/2 to 1 cup sprite
  • half an apple
  • half an orange
  • cinnamon

Directions

  1. Combine the liquid ingredients in a large pitcher.
  2. Chop the fruit into bite size pieces and add to pitcher.
  3. Sprinkle cinnamon over the top.
  4. Chill.
  5. Drink. Mmmmmm.
h1

Extracting Integers from Strings

October 7, 2008

The following snippet of source code extracts a single digit from a String and converts it to an int. The String.charAt() method takes a zero-based index of the position of the character to be extracted from the String and the Character.digit() method takes the String from which to extract the digit and the radix.

In the example below I pass 0 to the charAt() method since I want the first character extracted and I pass 10 as the radix since I’m working in base 10.


String myString = "3blindmice";
int digit = Character.digit(myString.charAt(0), 10);
System.out.println("Digit: " + digit);

Output: 3

If the position passed to charAt is not a valid position within the String then a java.lang.StringIndexOutOfBoundsException is thrown.

If the radix is not between Character.MIN_RADIX and Character.MAX_RADIX, -1 is returned.

Comments, alternate solutions and related snippets of code are welcome.

Joshua Smith


References:

API for java.lang.Character.digit(char, int)

API for java.lang.String.charAt(int)

h1

Adding a Java Platform to NetBeans Under Mac OS X

October 13, 2007

This article describes how to add a Java Platform to NetBeans under Mac OS X. This enables you to compile and run your applications under different virtual machines and also to associate Javadocs and source code with a Java platform so that they can be used by NetBeans for code generation and in-context tips and documentation.

These steps assume that you are running NetBeans 6

  1. Select Tools -> Java Platform
  2. Click the Add Platform… button. This will open the Add Java Platform window. Here you will seen all of the Java Platforms that are installed your system.
  3. Drill down until you find the Home folder. Select it and click the Next button.
  4. If you have locally stored copies of source or Javadocs you can associate those with the platform using the Browse buttons. Click the Finish button when you’re done.
  5. Click the Close button.
  6. You can now select this platform for a project by right-clicking a project and selecting Properties. The setting is under the Libraries node.
  7. Finished

Screenshots:

Java Platform ManagerAdd Java PlatformAdd Java Platform 2Project Properties Library

    h1

    Application Monitoring with JConsole

    January 31, 2007

    Introduction

    Hidden in the bin directory of the JDK distribution are some little known, but useful tools. In this article we’ll look at the basics of using jconsole to monitor threads, memory usage and object creation.

    Setting Your App Up to Be Monitored

    If you’re running Java 6, you’re all good to go. The option to allow your application to be monitored is on by default. Skip to the section entitled Launching JConsole and collect 100 points for being on the cutting edge.

    If you’re on Java 1.42 or earlier, do not pass go, or collect $200. Time to upgrade. JConsole requires Java 5 or later.

    If you’re on Java 5, then you need to start the application that you want to monitor while passing an extra flag to the JVM to enable monitoring. For our example we’re going to launch the SwingSet demo that comes with the JDK. If you’re on Windows, Linux or Solaris it’s usually located in %JDK_HOME%/demo/jfc/SwingSet2. If you’re on Mac OS X, it’s usually in /Developer/Examples/Java/JFC/SwingSet2.

    Launching the Application to be Monitored

    If you’re launching the application from the command line, simply add -Dcom.sun.management.jmxremote=true right after the java command. Like this:

    java -Dcom.sun.management.jmxremote=true -jar SwingSet2.jar

    If you’re launching the application from within Eclipse, select Run -> Run…, click on the Arguments tab and specify -Dcom.sun.management.jmxremote=true in the VM arguments field.

    If you’re launching the application from within NetBeans, select the Project, right-click and select Properties, select Run node and specify -Dcom.sun.management.jmxremote=true in the VM Options field.

    Launching JConsole

    JConsole comes with the JDK (not the JRE) and can be found in %JDK_HOME%/bin on Windows, Solaris and Linux and in /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands on Mac OS X. To launch it, open a terminal or command window, change to the directory containing it and execute jconsole. This should open a window that looks like this:

    Jconsole Start

    Click the Connect button to begin monitoring your app. As you can see from the screenshots below you can can view summary information, threads usage, memory usage, current and total classes loaded.

    Jconsole Summary

    Jconsole Threads

    Jconsole Memory

    Jconsole Classes

    The information provided by jconsole is invaluable when tracking down thread creep or memory leaks. It works great to monitor an app while putting it through its paces or when leaving it to run over the weekend to ensure there aren’t any uphill graphs. It’s easy, free and doesn’t require any extra work during application development.

    Joshua Smith

    Technorati Tags: , , , ,