Should we give Firefox another chance?

While the Mozilla Firefox vs. Google Chrome seems to be a topic that comes up once in a while, while the recently, it is dwarfed by close to 60% of the market share by Chrome.  Recently there was an article called It’s time to give Firefox another chance.

The article emphasizes that the next version of Firefox Quantum will be the major release for Firefox.

I have been using Chrome as my primary web browser for a long time, while before, I have been using Firefox. But recently, I am finding I am using more Firefox more often.

From few different perspective, here are my thought on this topic. With this article, I am not making assertion that the one browser is better than others, but to get the foundation out so it can be compared time to time.

Platform Support

Chrome and Firefox both supports Windows, Linux, and Mac. Thus they are on par with this perspective.

Feature Comparisons

Browser Sync

Chrome supports syncing via Google Sync, and Firefox via Firefox Account. They offer similar functionality. Both Chrome and Firefox offer encrypted sync. Perhaps Firefox’s sync feature is a little more comprehensive as it supports history syncing while Chrome seems to be limited in this regard.

Security

Both Chrome and Firefox are discovered with good number of security issues. (and it is important they are addressed in timely manners, too!) Discussing these can be article of its own, so I am focusing here regarding the security feature.

Chrome has been supporting sandboxing and most recent version of Firefox is supporting it as well. From more robust multi process design with Chrome (more of that in later) perhaps in this area, Chrome has bit of edge compared to Firefox.

One thing I like about Firefox that lacks on Chrome is the support of master password, which you can lock password store with the master password.

Also Firefox has a useful extension called Firefox Multi-Account Containers, which can isolate session cookies, which makes it easier to confine certain sites (like Facebook) to reduce tracking.

Chrome has recently moved toward hiding security information from the browser interface, perhaps to make it more user friendly. One illustration of this problem is that they are making jump through some hoops to be able to look up certificate information. (Through developer tools.) While this can be turned back on through experimental features, it is bit concerning they are hiding this information for the sake of user friendliness; if that’s the reason.

Operating System Integration

Chrome uses operating system’s own certificate management where available, which makes it easy to integrate in environment where internal certificate (while this is not a best practice, but it happens!) or internal Active Directory authentications are used.

Firefox, in contrast, uses Network Security Service, which basically is a security storage independent of the system. This makes the system less integrated with the one configured through the system. While configuring Active Directory authentication for Firefox is certainly possible, it is not a simple one-click process.

With this regard, Chrome seems to integrate a little better with the operating system.

Google Service Integration

This is somewhat silly notion when Chrome is designed by Google who owns those Google services. One of the major blocking factor is if there’s Chromecast involved, as at least from the desktop, there is no practical way to control it outside of Chrome.

Other than that, aside from some services that heavily expect Chrome to be used, most of Google Service should work on both of those browsers.

Mobile Versions

With extensions support, it appears Firefox for Android, also known as Fennec feels like a mobile port of the desktop version rather than the scaled down version, which is the way every time I use Chrome I can’t help notice.

Internal Designs

Chrome is designed from the ground up with multi-process utilization in mind, which this development was relatively recent with Firefox. While they work similar, with this regard, perhaps Chrome has a slight advantage of this in stability. Multi process support for Firefox, called Electrolysis can be disengaged for having incompatible feature sets (like accessibility) or extensions. This problem usually comes from the older type of extensions, and perhaps will soon go away when Firefox 57 only supports WebExtension.

Other Features I Love

Firefox features a reader mode. This mode is very useful when reading long article as it removes a lot of clutter off the document. (Also supported on a mobile version as well!)

 

Reasons You Can’t Get Into Japanese Music Industry as a Foreigner (Unless You Really Try)

A little while ago, I stumbled upon an article named Why Independent Artists From USA, UK and the West, Cannot Get a Recording Deal in Japan. While this article is somewhat dated, I thought I would share what I know about the current industry.

Before I begin covering these topics, one thing I really like to emphasize is in Japanese music industry, often the merit of the musical work often does not play much of relevancy. So if you are getting rejected, that’s nothing about quality of music you are putting out.

First of all, how well music are consumed in Japan? Not too bad, some research reveals that 60% of respondent replied that they listen to music every day on their smart phone.

Reality: Japanese Music Industry Is, More or Less a Secondary Industry

Assume that you have great music in your hand, now you are trying to sell, you bring it to the record company, you get rejected. Why?

First of all, you are nobody, let alone if you are independent musician. Did your music piece used in a movie? What about on TV? Aired on a radio show? If you answered no to all of those question, sorry, you are that nobody.

Media tie-ups are big in Japan. Although audiences of TV broadcast are often said to be declining, it still plays big part of the musical discovery process. Research by the Japanese record association shows that in 2016, 24% of respondents listen to music through TV and 21.6% from radio. (YouTube and CD and musical media are larger, but I will cover this other places in this article.)

If you see ORICON ranking, it is very evident. For example, ranking from May 2017, only two items out of top 10 are free of tie-ups. Most others are used in songs used in the commercials (yes, commercial music matters in Japan) drama, or anime. (And those remaining two have had established their tie-ups elsewhere.)

So the shortcut of getting your music successfully launched in Japan is by getting your music used in one of those shows.

Sounds easy, right? Perhaps if you know some famous musical producer, maybe? Otherwise you will have to be very creative.

Essentially, many musicians start establishing their presence by luck; you have to be in right place at right time. If you are foreigner outside of Japan trying to establish identity this way, you are already of disadvantage, as your exposure will be minimum.

Shortcut 1: Be (Very) Successful in Your Country

If you already have some, industrial presence in your country, pursuing to be successful there is perhaps most realistic way. (If your goal is truly to be successful in Japanese industry) if you are successful in a country of your choice outside of Japan, then perhaps Japanese music industry will take a notice on your work. The catch is that you will have to be very successful.

Shortcut 2: Establishing Digital Presence Yourself (And Cater to Your Audiences!)

If you are still not well established outside of Japan, and you want to get some presence in Japan, another way to go direct approach.

There are pretty decent presence in Japan for a streaming media in Japan, such as YouTube and Niconico. Previously mentioned year 2016 research by Japanese record association reveals that 42.7% of respondents listen to music on YouTube. (12.1% on Niconico) so there are audiences.

Since pure musical presence on YouTube is big, if you are to get some exposure, YouTube would be excellent medium to get you noticed.

Japanese people use Niconico differently; it’s commenting feature is very different from YouTube’s and hence, more listener interaction is active in Japan. Particularly, covers, experimental songs, and other performances are more prominent in Niconico.

There are many cases independent artists experienced major debut this way, particularly through providing music to anime. Kenichi Maeyamada, and ZAQ and others for example. Example of Kenichi Maeyamada is notable for the fact he is now performing compositions for well-known singers.

Vocaloids and YouTube/Niconico

One aspect of Niconico is that there are major prominence of using Vocaloid in YouTube and Niconico. If you are making vocal song, you may want consider taking advantage of this medium. (Especially if you are more about showing off your musical work than vocal.)

There are many established industry presence this way, including 40mP, Hachiouji P, and many others.

What Really Matters

In any case, the most important aspect of getting big in Japan is to be able to communicate with potential listeners. You are already behind the mark if your music does not specifically cater to the audiences, and you will have to communicate your work and yourself, thus there’s matter of language barrier.

Unlike traditional media where it resolves around TV and radio, there is a big contrast to make. After all, you really don’t have to be very good artist to be successful in TV and radio; major idol groups like SMAP, and AKB48 (and some of their sister groups) aren’t really well known for their quality as a musical talent — some are actually notoriously known (and self-admissive, more or less) for their tone-deafness. Metrics such as ORICON, is really a reflection of that part of industry, and unfortunately, a lot of record labels look for that. Essentially on those mediums, you just have to look presentable and has quality other than what traditionally people will be looking for when they talk about musicians.

YouTube and Niconico are more strict in the quality of the work, as you will have to very good or they will simply hit that “next” button. In other word, it is a few if not sole variable listeners will be considering. You will certainly overwhelmed by sheer number of works on those media, too.

Import thing is how you measure success. Do you measure success in the fact record label signs a contract with you? Or is it merely recognitions you are looking for? That’s up to you to decide.

What was the cruelest thing a school teacher did to you or someone else?

At Quora, there was a someone asking for What was the cruelest thing a school teacher did to you or someone else?

I have decided to share my story from my 1st (and 3rd) year of the school. It was very strange years…

My first year in my elementary was cruel all year round due to crazy home room teacher. (This was in Japan.) I got picked on every little thing, I forgot to bring a single pencil? I got written up for it. Ate school lunch slow? I got written up for that too, and literally made me sit through reminder of a school day with my unfinished lunch on my desk and sometimes well into after school hours. (Keep in mind this was my first year in school, at 6 years old.) A slight deviation from what he considered standard would have resulted in write up, and had to face this guy for up to 4 hours a day at time, 6 days a week. (Back then, Saturdays were not off.) I later found out noone else in the class were subjected to this, so certainly I was being bullied by this teacher.

I was stressed and had a meltdown to the point that I refused to do any homework for a month — it could have lasted longer, but eventually my parents found out about it and did get chewed me out for it, although that didn’t make any different as I have been written up for it for other things anyways. (I don’t remember how I managed to hide the fact I didn’t turn in my homework for this long, however.)

Irregularities caused by this teacher was fairly apparent considering this never happened for a year with different teacher, until he was my home room teacher again in my third year at school, which basically threw me into same hell, but longer, for another year. (1st year student dismissed around noon, but 3rd grader had 1 or 2 extra hours, which basically means I’ve had to deal with this for up to 6 hours a day!) Fortunately teachers for latter three years of my elementary school after this were very decent.

Probably, these days, this type of actions by teacher would cause question in teacher’s competencies, but back then, teachers were bit more respected, at least to the extent they didn’t get scrutiny of what happening despite complaints. (and due to overall naivete of my end, I was very young after all.) While I generally did okay in school but I can only remember horrible things in my first and third years of school.

The point of this story… teachers, please don’t bully your student. It’s awful.

On Characteristics of Machine Learning

My previous article, Do Neural Networks Dream of Pokémon? I have inferred it is not very effective use of the machine learning technology, and I wanted to do some follow up on that aspect.

First of all, the definition of machine learning is that technology that allows machine to determine outcome without explicitly programming covering all the cases. Generally, when the program is written, in context of normal application programs, programmers have already programmed what to do when certain things happens. For instance, if you write in URL to your web browser, it displays the page under that URL. It is because programmers who have programmed your web browser program to do that.

Therefore, with elements on Pokémon where all the combination of elements are already known, it is more reliable to program all the case for it. (And Pokémon is programmed to do so.)

Unlike the case above, machine learning is effective in the cases like below:

  • Cases where input parameters and their combinations are large, and is not practical to program for all.
  • There are unknowns and ambiguities in expected input.
  • Rate of change and characteristics in input is very subtle. (For it would require a lot more data to determine certain outcome, it is related to the characteristics on input parameters.)

For example, self-driving car is very difficult problem, because it is not possible to explicitly program virtually infinite cases that it has to deal with. (For instance, let’s say the self-driving car has to determine if someone’s standing on the road, it is not realistic to program for all the situations, for example, it can be varying weather, lighting condition, place where the person is standing, and their motion.)

However, there are way such ambiguities can be reduced, for example by the traffic infrastructure, such as traffic signals, and communications between cars, and while current self-driving car technologies focuses on co-existence between current cars and environment, but opposite approach of revising traffic infrastructure should be also taking place.

Before, Google CEO said “It’s a bug that cars were invented before computers” and if he meant that by having computer prior, traffic infrastructure would have been designed that way, I think he was right on.

Back to Pokémon, with Pokémon, it’s 18 elements that each can have up to 2 overlaps, and it is not a large information to process, and can be programmed so without too much of effort. However, if this becomes hundreds, and thousands, with varying overlaps, it becomes very difficult problem to program. (It is however, to program for their patterns, thus, it’s not something that has to be programmed one-by-one.)

Pokémon neural network I’ve experienced other day is a very simple case of neural network, but image recognition and other advanced recognitions are just mere extension of it.

Democratization of machine learning is certainly a big topic in near future, and my intent is to continue experimenting for it.

Do Neural Networks Dream of Pokémon?

One thing I wanted to experiment with TensorFlow (and neural network) is a some simple numerical processing. I have decided to put it into test.

I was looking for some subject, and then I noticed something about Pokémon Sun & Moon. There is a Festival Plaza feature in the game where players can play set of minigame. One of those minigame is where player can attempt to match “most effective” elements given a single or a set of element. For example, one of such example with be Bug and Grass — the answer is Fire gives Super Effective, which earns you point. There are four classes of effectiveness, from none to most effective are, No Effect, Not Very Effective, Normal and Super Effective.

There is a truth table on how this is layouted, but I wanted to see if some learning from mistake approach can predict outcome of this minigame.

Using a dozen of festival tickets, I’ve collected around 80 of log. Next quest is to research how these data can be normalized to test — as I am not yet very familiar with the way TensorFlow works in this regard, with a lot of focus on image recognition, it is surprisingly hard to find information about where numeral data is processed, then I stumbled upon existing effort by mtitg, using TensorFlow to see if TensorFlow can predict survivors of Titanic incident based on multiple parameters.

mtitg’s example uses many parameters, 8 to be exact, but in my case, I will be using three. mtitg’s code is very great starting point as it covers topics about how textual data can be prepared to be converted to numeral value for TensorFlow to process.

I have adopted mtitg’s code to work with my test data.

Long story short, with my limited testing on 80, it turns out to be 50% at most I can get leverage out of. I think the reason as follows:

  • Not enough variety of data; since this is obtained through manual process, there are manual process and considering fairly complexity of Pokémon’s elements, data represented is certainly not a exhaustive set of data.
  • Too many “Normal” outcome. Default for most of outcome that are not affected by certain elements, for example, fire element for bug is normal. Thus data tend to revert to normal, which provided more example where outcome is normal than other three classes.
  • Perhaps neural network is not very good approach for this problem. Perhaps simple logistic regression, and/or Bayesian algorithms would work better.

Conclusion

As I wrote earlier, with existence of actual element pairing data, there is no practical reason of this attempt; it’s really for learning and fun, after all.

With further optimization and research, TensorFlow and machine learning method have a great potential in making sense of data as well as to provide added value from dataset that may be already present. Machine visions and self-driving cars are very cool application for the machine learning technologies, but we shouldn’t forget adopting this technology on our personal computers we already have.

Jupyter the Python Based Notebook System

Jupyter the Python based notebook system

Started using fairly recently, there is a tool called Jupyter. Characteristics are:

  • It is based on Python; it was originally called IPython which provided interactive Python environment.
    • It now supports more than Python, thus is now developed under Project Jupyter. IPython, however, is still in development for providing interactive Python environment, which Jupyter uses for its Python execution.
  • For the format options, it is possible to use Markdown (and LaTeX!) for documentation.
  • Code can be executed within the notebook.

and more. (I really use this with Python only, and I cannot tell much about other part where some other languages are used.) I personally like:

  • It can use many features in Python. For instance, libraries such as Tensorflow can be used. Depending on the purpose, libraries like SciPy, NumPy to perform advanced calculation and plotting, SymPy to use it as a CAS (Computer Algebra System) to do symbolic math, and use Pandas and Python internal libraries to interact with databases.
  • Notes can be saved to share. There is nbviewer that enable people to view notebooks right on the browser. Services like GitHub uses it on Gist which can display the notebook.
  • Codes can be saved as Python, which makes it a development environment that can execute Python expressions interactively. Written notes are exported as a comment.

I have done installation on Linux and Windows, and I found Anaconda to be easy to install. (Anaconda uses it as a based on its commercial platform, and additional features are available for purchase thus making it scalable platform where these modules and supports are needed and have enough budget to do so. It is however, is bit too expensive for personal use.) For Linux, you can just use pip to install Jupyter on pre-existing installation. I will write more some details as I feel like it.

Clannad English (Physical) Release Unboxing

This article contains an update regarding the soundtrack.

So this huge box just showed up. It’s not a monolith, but a box from Sekai Project. I’ve backed Clannad English version, and this is their shipment. (1 of 2, I believe, as they are still working on one for extra side-stories, anthology comic, and such.)
Sekai Project Box Arrival
Here’s my version of unboxing.
Sekai Project Box Comparison with Yuno
The box is big — see how it compares with Yuno.
Opening the box
As expected, mostly packing materials.
Clannad Box Contents
Here are things in the box. I actually used their digital/physical tier as a base, and then added extra things, as they had a number of add-ons. (Honestly, I needed to create an spreadsheet to figure this out!) This is not entire set, as there are some elements still in development.

  • Clannad English version
  • 3 Mini-shikishi’s
  • Original Sound Track
  • A tapestry

They’ve used one from the box art, another one from the artbook which I happened to own. The third one I don’t recognize, maybe this is new.
Clannad English Box
The game itself is in a special box,
Clannad English Box Back
And the back of it.
Kickstarter Serial Number
My backer number is 1424, so I guess, and my serial number of the box is 920, about 65% of people opted for boxed set? (One could argue, at 1400th being relatively early in the campaign, perhaps they are more people who are opting to physical rewards, in any case, I don’t even know if they have any significance, so it is a pure speculation.) More on the box later.
Clannad OST
The soundtrack is identical to the Japanese release, in fact, they are KSLA-0012~14 denoting it’s same soundtrack released in 2014 in Japan. This actually makes it “what you get on the CD is not what in the game” as according to Shinji Orito, the one of the composers for Clannad, said that music for the English version is improved.

Update: 2016-10-08: They have provided digital download to physical backers, too.

Update: 2016-09-29: And then, Sekai Project is saying that they are releasing an updated version of the Soundtrack only if you have purchased a digital version, but nothing for those opted for a physical version. That’s pretty deceptive, considering such “bonus” would be applicable only to a digital version when making backing decision. Hope they will correct this problem instead of blaming Visual Art’s for it. To align with their claim, I have reached out Visual Art’s for clarification on 2016-09-27, but I have never received a response from them as of 2016-09-29.

Clannad Official Guidebook
Opening the box, the first thing I see is a guidebook, with many arts and is printed on glossy paper. The only problem I have is that it took me good 20 minutes to find my name on the Kickstarter backer list. (They are not in alphabetical order — seems very random.) But here it is, I found me…
Clannad English Disc
And here’s the game disc itself. DRM-free, I think.
Clannad MABINOGI Disc
Under the disc, there is a arrange soundtrack Mabinogi, which is a music arrange of the original. (This one has never released outside of the inclusion with the first batch of Japanese version of the game, so this is actually fairly rare to find it now.)
Clannad Tapestry
Finally, a tapestry. This same art as the box.
So this concludes my unboxing. Though I already have a digital version installed on my machine. Time to fire up WINE again to play some more…

Why I like Gmail better than Inbox

I’ve tried to use Inbox for a while, and after few about a half year of usage, I determined Gmail interface is more of what I find more useful than Inbox in daily E-mail usage.

What I like about Inbox

Inbox has its own charm, it’s somewhat easier to navigate, and offers wide variety of snippets. If there  are attachments, they are highlighted, and I’d say, it’s more fun to use.

What Inbox is trying to do is very ambitious and is a very interesting attempt to improve E-mail as we interact today.

What I don’t like about Inbox

Then there are bit of complaints I have with Inbox, it’s mostly features available on Gmail, but not on Inbox.

No alternative signatures for alternative address

I have some alternative addresses I have set up, for example for the convention E-mail and such. What really bothers me is that I can’t set up an alternative E-mail signatures for them.

Send style defaults to HTML and there’s no way to change this

I don’t usually send HTML mails, because, they may hide invisible changes I don’t mean to send. Gmail allows me to switch between HTML and text, but Inbox doesn’t.

No “view source” option

OK. I admit, this is not something 99% of the population would seek for. I like to be able to view E-mail source to inspect headers. Why do I want check an E-mail header anyways? Well, it is one of the best ways to detect phishing E-mail.

Language specific reply header and I can’t change it

When you hit reply to E-mail with Gmail, I see something like this as a reply header:

2016-02-17 13:26 GMT-08:00 John Doe <johndoe@example.com>:

If I do the same on Inbox, I see this: (I set my UI default to Japanese)

2016年2月17日(水) 13:26 John Doe <johndoe@example.com>:

Why I like Gmail version better? Because it doesn’t matter whether I am sending my E-mail to someone in Japan, US, or any other countries I’m sending my E-mail to and make sense to everybody. Reply header that Inbox use only makes sense to Japanese people. At least I expect the option to change this.

Conclusion

From what I observe above, Inbox seems to be designed for more of casual E-mail users, perhaps consuming more E-mail than writing one. What I really want to see is either Inbox with more of Gmail features implemented, or vice-versa. Come on Google, you should be able to do that!