Blog / April 2024
-
30 April 2024Fix (again) for the account related emails
Some days ago I received a message from Google that the Kanji Koohii email account was suspended. Thankfully as I signed in today and provided authentication, the account is back up.
Emails should be working again so if you tried "Forgot Password" you should be receiving those emails again.
I am not 100% sure but I believe the account may have been flagged because I naïvely used GMail SMTP to send the contact form messages. I noticed a spammy message one day, let's just say the person's email pointed to a very unsavoury domain. One way spammers get around filters is they put a relatively meaningless message but use the sender email to advertise a domain name.
Perhaps naïvely so, I figured I could just send the user's messages to myself with the free GMail SMTP. However on the relatively few occasions a spammer/spambot sends a bad message, it looks like I'm the one sending those messages to Google servers.
In order to make sure the account doesn't get flagged again I disabled the contact form. You can always reach me of course, the email address for feedback and account related questions is shown on the Contact page when you're signed in.
As an aside I used to look up suspicious IPs with a site called "countryipblocks" and it would give me the CIDR for the "range" of IPs this IP belongs to, and I used that to tweak the Apache access file. Lately this site doesn't respond to IP searches. Would anyone know an alternative?
-
5 April 2024Minor fix to Vocab Shuffle page
The kanji on the flashcards of the Vocab Shuffle modes now correctly opens the Study page instead of flipping the card. Thanks to Vinickw for issue 320 on Github.
-
4 April 2024Fixed the Contact form and account related emails
Issues with sending account related emails as well as the contact form are hopefully fixed now.
I have now finally implemented the free GMail SMTP to replace the unreliable shared hosting's builtin mail. The limit of 500 emails per day with Google is plenty enough for Koohii - whereas a limit of 100 emails per day as part of the free tier on some services like SendGrid was just a tad under what we need. On a really good day I've seen peaks of 80 registrations. Throughout the year when traffic increases it's not rare to see 40-60 registrations per 24h period, with an average around 30. Add to that password update and forgot password emails and we would definitely hit a 100 emails/day limit sometimes during the year.
The main downside I found out using the free GMail SMTP - is all the emails must be sent "From" the Kanji Koohii email. For the contact form it prevents me from setting the user's email as the sender. It means 2-3 extra clicks/copy-paste when I reply to a Contact form message but it's a small price to pay for the free service.
Hopefully this provides a better experience for new users as well as returning users - turns out Forgot Password is a feature that's pretty frequently used!
Old laptops, new tricks
Since I recently moved to a new co-loc arrangement and I don't have my desk yet I did this update on a late 2009 Macbook Pro! I needed something to keep me busy and to be able handle Koohii emails etc. I normally never work on a laptop but I had this one lying around so I figured, why not, let's see what we can do with it. I had a 240 GB SSD lying around, so I grabbed 8 GB RAM fairly cheap on Amazon and loaded it up with Ubuntu 22.04 and Windows 10!
You can run some decent looking games like Tomb Raider Anniversary or Guild Wars, and of course emulators like DuckStation but I thought modern web tools like docker, npm Vite etc would be an issue... turns out I had low expectations! Running php/apache/mariadb in docker is pretty lightweight and building the frontend with Vite doesn't take long. It does take a good second when switching between pages in development mode however. Obviously the CPU usage goes up and down wildly when I fire up VSCode, or open Google Chrome or when I play YouTube videos. But otherwise the CPU tends to sit around 20%. No doubt it could be even lower with a lightweight Linux distro but I like the bells and whistles of Ubuntu + GNOME.
Turns out the biggest downside to using this late 2009 Macbook Pro laptop is the screen! The colours on this LCD panel are washed out and it's really not usable for serious front end since you can't do any sort of subtle shading when designing a web page. This old laptop would be insane with a good screen.
By Month
- Nov 2024 (1)
- Sep 2024 (1)
- Jun 2024 (2)
- May 2024 (4)
- Apr 2024 (3)
- Mar 2024 (1)
- Feb 2024 (1)
- Dec 2023 (1)
- Nov 2023 (2)
- Oct 2023 (2)
- Apr 2023 (2)
- Mar 2023 (2)
- Feb 2023 (1)
- Jan 2023 (2)
- Dec 2022 (1)
- Nov 2022 (2)
- Oct 2022 (3)
- Sep 2022 (1)
- May 2022 (4)
- Apr 2022 (1)
- Feb 2022 (2)
- Jan 2022 (2)
- Dec 2021 (4)
- Nov 2021 (2)
- Oct 2021 (2)
- Sep 2021 (2)
- Aug 2021 (1)
- Apr 2021 (2)
- Feb 2021 (3)
- Jan 2021 (3)
- Dec 2020 (1)
- Nov 2020 (1)
- May 2020 (1)
- Apr 2020 (1)
- Jan 2020 (1)
- Oct 2019 (1)
- Sep 2019 (1)
- Aug 2019 (4)
- Jul 2019 (3)
- Jun 2019 (1)
- May 2019 (1)
- Mar 2019 (2)
- Jan 2019 (1)
- Nov 2018 (3)
- Oct 2018 (8)
- Sep 2018 (4)
- Aug 2018 (3)
- Jul 2018 (1)
- Jun 2018 (4)
- May 2018 (1)
- Apr 2018 (1)
- Mar 2018 (1)
- Jan 2018 (1)
- Dec 2017 (6)
- Nov 2017 (4)
- Oct 2017 (4)
- Sep 2017 (5)
- Aug 2017 (5)
- Jun 2017 (3)
- May 2017 (2)
- Apr 2017 (3)
- Mar 2017 (7)
- Feb 2017 (10)
- Jan 2017 (11)
- Dec 2016 (6)
- Nov 2016 (5)
- Oct 2016 (6)
- Sep 2016 (7)
- Aug 2016 (3)
- May 2016 (1)
- Mar 2016 (2)
- Jan 2016 (1)
- Dec 2015 (3)
- Nov 2015 (1)
- Oct 2015 (1)
- Sep 2015 (7)
- Jul 2015 (2)
- Jun 2015 (1)
- May 2015 (5)
- Apr 2015 (4)
- Mar 2015 (5)
- Feb 2015 (4)
- Jan 2015 (5)
- Dec 2014 (4)
- Nov 2014 (3)
- Oct 2014 (2)
- Jun 2014 (1)
- Apr 2014 (2)
- Mar 2014 (4)
- Feb 2014 (3)
- Jan 2014 (4)
- Dec 2013 (2)
- Oct 2013 (1)
- Sep 2013 (1)
- Jun 2013 (4)
- May 2013 (1)
- Mar 2013 (1)
- Jan 2013 (2)
- Oct 2012 (2)
- Aug 2012 (1)
- Jul 2012 (2)
- Jun 2012 (2)
- May 2012 (1)
- Mar 2012 (2)
- May 2011 (1)
- Apr 2011 (4)
- Mar 2011 (3)
- Feb 2011 (2)
- Jan 2011 (2)
- Dec 2010 (8)
- Nov 2010 (8)
- Oct 2010 (3)
- Sep 2010 (3)
- Aug 2010 (1)
- Jul 2010 (2)
- Jun 2010 (5)
- May 2010 (1)
- Apr 2010 (3)
- Mar 2010 (4)
- Feb 2010 (2)
- Jan 2010 (1)
- Dec 2009 (5)
- Nov 2009 (5)
- Oct 2009 (1)
- Aug 2009 (1)
- May 2009 (5)
- Apr 2009 (2)
- Mar 2009 (1)
- Feb 2009 (2)
- Jan 2009 (2)
- Nov 2008 (1)
- Oct 2008 (1)
- Sep 2008 (1)
- May 2008 (2)
- Apr 2008 (1)
- Feb 2008 (6)
- Jan 2008 (5)
- Dec 2007 (6)
- Oct 2007 (1)
- Sep 2007 (2)
- Aug 2007 (3)
- Jun 2007 (1)
- May 2007 (5)
- Apr 2007 (1)
- Mar 2007 (2)
- Feb 2007 (1)
- Jan 2007 (4)
- Dec 2006 (3)
- Aug 2006 (1)
- Jun 2006 (3)
- Apr 2006 (6)
- Mar 2006 (8)
- Feb 2006 (1)
- Jan 2006 (4)
- Nov 2005 (1)
- Oct 2005 (4)
- Sep 2005 (1)
- Aug 2005 (11)