During the Mozilla Berlin All-Hands, we had some discussion with the engineers about if a community volunteer can help to build intents (voice commands) for Firefox Voice. We were wondering if this topic will be interesting for volunteers to work on, and decided to run a pilot workshop at Taipei Community Space.
As a branch event of our regular browser add-on workshop, on Feb 29, five people joined the very first Firefox Voice intents workshop with us from 2 to 6 pm.
The combination of attendees were one experienced add-on developer and evangelism to lead the workshop, one people who come to the add-on workshop often, and two new people who is able to write JS without any add-on dev experience.
In the end, we have came up with two PRs (1128 & 1129), and here are the problems we had, during the workshop:
Set-up the extension developing environment
It took us 2 hrs for everyone to fully set up their web extension developing environment (on Two Mac, one Windows and one Linux). The problems we bumped-in includes:
Need to install node/npm.
A broken git on Win laptop.
Need to download and install Firefox nightly.
Windows laptop unable to use npm run start to pack the source and run with nightly (resolved by download the pre-packed xpi file, extracted and replaced the files in the repo, and run with web-ext run.
npm run start is unable to find Nightly on Linux, because it’s named firefox-trunk instead of firefox-nightly, resolved by run web-ext run --firefox=firefox-trunk.
On Mac, the mic privilege requesting dialog (for iTerm) showed up pretty late, cause some privilege problem.
Problems people had when working on the intents
While working on intents, these are the problems we had:
The voice command panel is not working properly on the current master branch.
Intent matching is quite tricky. It’s hard to know if the command is handled by the new intent we’re working on, or get caught by the current intents. Eg., the intent (about tab) I tried to implement was always caught by find.find, whatever the different words I try to use.
The good-new-bugs the mentor had prepared to use as the examples had been patched before the workshop took place.
The biggest problem — the current STT doesn’t recognize our tones. We will need to retry like more than ten times before the STT can output the sentences we would like to say.
We eventually use another laptop’s TTS, to vocalize the sentences we like to test. After the workshop, one of us eventually found we can, in fact, typing the sentences instead of trying to say it again and again.
People did have lots of fun and positive feedback for the workshop. If you want to find an interesting topic to hack with the community member together, check some good-first-bugs for Firefox Voice now.
It’s may be a good time to run your first virtual gathering
We host a virtual version of community meetup at Mozilla Hubs last Friday night. It turned out to be a funny alternative to the meetup host in the physical space.
Po-chiang Chao suggested that we try hubs during the regular weekly meetup time, and shared the link on Telegram earlier. We connected to the room during our event at Taipei Community Space, and some community members joined from their homes.
We all gather at the “Hubs Commons” room. People play with all the features, summit items, move things around, share webcams and screens, open YouTube, and add the browser window to the AirMozilla website (and not knowing how to surf with it).
One of the main goals for us is to evaluate if we can use Hubs for online meetups, give remote talks, and perhaps hosting virtual conferences.
It turned out to be feasible — if people can prepare some time to get familiar with the control, find a suitable scene, and with lovely audiences who don’t summon a yellow duck during your talk.
One of the suggestions raised by the community member is quite interesting — we should provide a “beginning stage” for people to learn the basics of hubs. How to walk, turn around, add/remove & interact with the objects, share camera and screen, open and control the website, sit down, and the hardest one, stand-up after you sit (I still don’t find the way).
It’s a good time to try it with your community. Let’s stay home and going together to the Mozilla Hubs for some fun.