JapanesePod101.com

Blog / January 2023

  • 31 January 2023Fixed : Study search by keyword issue

    A small fix today addresses the following issue:

    Searching for "-times" and clicking the corresponding kanji (#630) in the results takes the user to "olden times" (#35)

    Thanks to peyton for reporting issue #288 on Github!

    This is a fairly small change but since there is a change in behaviour to how the dropdown works I thought I'd go Full Monty on this, as the British say :)

    Sooooo. The main reason this bug happened, is because up until today the study search would redirect you to a URL that contained the keyword, for example /study/kanji/one. This isn´t a good idea because keywords can be customized by the user.

    The website also still supports URLs with frame numbers such as /study/kanji/1. This ALSO isn't a good idea because indexes can change, as the switch between 5th and 6th RTK editions made us painfully aware (and I'm sure lots of people who made their own apps and tools that dealt with RTK indexes).

    So I took the more general approach here to this fix, which is that when you pick a keyword in the "autocomplete" dropdown, it will do a search by kanji. No more shenanigans with odd punctuation in keywords, and proper encoding of these in the URL. Simple, short URLs.

    So if you lookup "times" and you select "-times" as you press enter, it will go to /study/kanji/回.

    THAT is the correct , most portable study page URL which you should use if you ever want to link to a Study page from outside.

    Lifehacks

    If you're still reading, here is a small fairly obscure but potentially keystroke-saving tip : if you have a kanji in the search term - it will use the first one. This isn't new, the search box always behaved like this and it can be handy if eg. you just copy/paste a Japanese word. As long as you are interested in the first kanji at least, no need to delete the extra characters, just paste eg. 食べています and you'll get to the page for .

    Study search UX ideas

    This actually gave me an idea if I ever get around to refactor the dropdown - which I really should doas it uses really obsolete javascript...

    I thought it could be useful, if you paste in a Japanese compound, that the dropdown shows the kanji in the word, so you can lookup the first, or second kanji. Perhaps only mildly useful?

    Another thing I'd like to address, as I often want to do this, is to have the dropdown show the kanji that matches a frame number. Often times, I want to type eg. 100 and just see what keyword it is. Admittedly this is probably more something I do as the developer - but if I refactor the dropdown it should come pretty much for free anyway so I put it on my list.

    Another thing I should fix eventually is the custom keywords. Due to recent refactorings I do in fact have access to the user's custom keywords, so I should be able to put them in the search box's "autocomplete" functionality.

    Small update to Export Flashcards

    Also comes to mind, there was a small update to the Flashcards Export - Sunday January 22 to be exact. This update adds your selected ("starred") example words to the flashcards CSV export. Thanks to Dragonforge for the suggestion and a PR by MarkMcCaskey!

    On further thought vocabulary has always been kind of half finished feature. I'm thinking a good step forward could be to have a Vocabulary List page where you would be able to see all the words you added to flashcards, and let you sort and/or filter it - perhaps for printing before you go out and to study on the go? Let me know if you like the idea of have any similar ideas, it can help me figure out what would actually be useful.

    Ramblings

    Hope you enjoyed this unnecessarily long post. Seriously though, it's so good to be able to sit down and code for a bit! Last few weeks have been very frustrating. My CMOS battery died so I had to replace that. The "Docker" developing environment started giving me file permission issues - something I still need to fix and I hate these kind of admin/backend chores with a passion. Don't you hate it when something just works for months on end, and then one day it decides it no longer wants to work? The life of a developer... Wifi also joined in the party and decided it didn't want to work anymore, so I had to order switch, cables etc. I'm glad I "wired" my PC though, as I haven't used Steam Link in a long while and it is actually pretty cool! I'm eager to play Rogue Legacy 2 as the first one was awesome.

  • 6 January 2023It's 2023! Holy cow!

    Happy New Year everybody!

    I'd like to thank everyone who has supported this little website last year - whether it is through donations or sending me your feedback! I'm super grateful for each and every donation - and I apologize if I haven't replied to all of them.

    Kanji Koohii is 17 years old !

    Just for fun here is a throwback screenshot from August 2007. It's sadly one of only two oldest screenshots I have of the actual running site - complete with the Firefox chrome!

    199 members

    This screenshot above is from Aug 2007, and we can compare it to an earlier one from Dec 2006 which I shared previously in Blast from the Past - December 2006 !.

    There are a few noticeable changes:

    • well obviously we have ~200 members reviewing, instead of ~100 ... "wow!" Haha, I think I took those screenshots as they were actually milestones. We have a list of people reviewing, and how many flashcards they reviewed that day. Interestingly this feature is no longer here on the members page we have the total amount of flashcards shown but not how many cards people reviewed that day.

    • then we have a small JapanesePod101 ad on the sidebar. Holy cow... JapanesePod101 is an amazing sponsor for this site and has been with us since 2007! I can't thank them enough!

    • moving on the main content, we have a finely crafted /facepalm dashboard consisting of three large buttons "Progress Chart" "Review" and "Study". Gotta love that web2.0 background gradient and the big glossy buttons (or, more likely, I have no idea what I was doing ;-) ). Pretty much the same format we've had until the complete redesign of the dashboard last winter - with moderate tweaks to the colours and layout over time

    • notice there is a "reading" tab. I really need to catch up on this but I am happy to say the "sight reading" section of the site is still here - as I have been asked about it a few times. I did redesign this functionality as it was rendered obsolete with all the Javascript refactoring I had to do throughout 2021. So the feature IS still here, just that I wanted to do some further optimizations... but what the heck, it's only available to members anyway so if you read thus far you can find the Kanji Recognition page here at /kanjirec. It's completely usable as it is. Please know the URL might change but you'll know as I'll eventually add it back to the main navigation.

    I 'member!

    I also have a screenshot from a review on JapanTimes.co.jp dated October 2007!

    While the article is still online (albeit it was cut short for some reason), I thought I'd post the screenshot I have from 2007 as it can be fun to compare with their live site.

    Japantimes.co.jp article

    Bless Mary Sisk Noguchi as she is no longer with us. Mary gracefully invited me and we had a lunch together while I visited Japan in April 2007. I remember she showed me her copy of the RTK book which was signed by Dr James Heisig.

    So ... that's enough nostalgia for today!

    Plans, plans plans

    It's too early to say what I may work on this year, but looking at my notes there's a few things that stand out:

    • I did write earlier that I want to add some kind of navigational pane to the Study search box, to make it easier to jump between kanji - so I may still work on that

    • the Kanji Recognition page is fully functional so it'd be a shame for it to just linger in a drawer, I need to finetune it and put it back in the main site navigation

    • an idea I had recently would be to add a choice of FONT in the User Settings - this require the user to know about the CSS font names - I guess I could have a dropdown with some common options - this would let you enforce sans serif / or serif fonts if you like for all the kanji on the site ... please let me know if you'd like to see me work on this!

    • there's a few minor bugs I need to fix, eg. Github issues #265 (a small visual bug), #277 (Review Summary table sorting is buggy)

    Here we go

    Things are looking brighter for me this year in recent developments - and I hope for you too.

    The world is quite a wild place today - from AI & ChatGPT to Twitter shenanigans, to post-pandemic life, to inklings of space brothers aka "UAP"s, to a warming planet... where do we even start?

    Again, deeply grateful for your support to this little website over the years! It makes a difference, whether you are a Patron for a month or more, it all adds up.

    All the best in your kanji learning journey!

By Month