News for hackers. Stuff that matters.

dsteinman

This one for fictional starships is well done https://youtu.be/aTPwbVqU6lc
Prettier has a VSCode extension to autoformat on save.

https://prettier.io/docs/en/install.html

Re:Amazon, Apple and Google Cut Off Parler on Sunday January 10, 2021 @12:07PM (#25716733)
Who gets to be the judge of speech liberties? Perhaps we need a bureau of the government to act in this manner, perhaps a ministry, who's mission is to determine whether words and opinions are true or not.
Re:Amazon, Apple and Google Cut Off Parler on Saturday January 09, 2021 @11:44PM (#25710213)
It seems this isn't something that Silicon Valley even thinks is a problem, and that is a very big problem.
Re:Building My Own Chess Engine on Thursday December 24, 2020 @09:23AM (#25527672)
I wrote a chess game using StockFish, and had it play against another computer player that only made random choices. And what surprised me is how long it would take StockFish to beat the random player.
Re:XB-1 Supersonic Rollout on Thursday October 08, 2020 @08:31AM (#24718518)
There are some companies attempting make petroleum from air:

https://www.nationalgeographic.co.uk/environment-and-conserv...

Re:Firefox Voice on Saturday August 08, 2020 @10:55PM (#24096918)
DeepSpeech is too large to run as a browser extension.
I was going to mention the same. It would be a childhood dream come true to talk to my computer and have it talk back to me in the TNG computer voice.
> Login management should be built into the browsers instead.

I would go even further than this, and say that a cryptocurrency might be among the best ways to build a universal login system. Imagine an Ethereum-like coin where the wallet is the username, and you spend the coins while authenticating, gaining privileges, and the blockchain stores your public info like a username and avatar that you can bring to any website.

This might be useful to use along side with DeepSpeech (https://github.com/mozilla/DeepSpeech), which doesn't work very well in noisy environments.
Re:Webgazer.js webcam eye tracking on the browser on Thursday July 16, 2020 @06:34PM (#23864624)
I tried using this one time but unfortunately found it didn't work when I wore my reading glasses. The screen reflection off my glasses just whites out both eyes.
Re:YouTube deleted an electronics repair channel [video] on Tuesday July 07, 2020 @10:03AM (#23759379)
With Joe Rogan moving to Spotify, including video streaming, I wonder if Spotify is seriously contemplating building out a true Youtube competitor.
The web browser extension would communicate with the electron app server, NodeJS would not be needed in that scenario (the electron app includes the nodejs server code). You can write your web voice app with static client-side JavaScript which communicates with the Electron server through the browser extension.

Web Page <-> Bumblebee JS API <-> Bumblebee Extension <-> Bumblebee Electron App (DeepSpeech)

DeepSpeech with the pretrained english model is enormous (1.4GB) it's not feasible to load it into a web worker. It can run in a server, but then every website would have to run its own server side speech recognition servers which is difficult and expensive to scale.

I am attempting to bring 100% client-side speech recognition to the web:

https://github.com/jaxcore/bumblebee

Although the first release is not officially out yet, the NodeJS code is working and you can install the development version of the app server and try out the hello world app locally.

The solution involves running Mozilla DeepSpeech inside an Electron desktop application with a websocket server and client API that NodeJS scripts can interact with, to receive speech recognition results, utilize "alexa" style hotword commands, and text-to-speech. The electron app handles all the heavy stuff, and you just use a simple API.

A web browser extension can also make use of this API to bring these capabilities to web sites, but that part isn't finished yet.

Re:Electron 9.0 on Tuesday May 19, 2020 @03:43PM (#23239240)
The Electron version numbers are essentially meaningless now. I have no idea what even changed between Electron 4 and 8, the changelogs are all just bug fixes that didn't necessitate so many major version releases.

Also there are some NPM packages that have to create builds for specific versions of Electron, and those builds come out after Electron does, so I'm always 1 or 2 versions behind on Electron which leads into dependency hell situations.

Trying to stay up to date is exhausting.

Re:Electron 9.0 on Monday May 18, 2020 @10:07PM (#23230630)
This is turning out to be a bad decision because there's been 5 major version bumps in the past year, yet the functionality in Electron hasn't materially changed very much, mostly bug fixes and minor changes.
Anyone recall how fast the G4 chips got phased out once Apple switched to Intel? It was pretty fast. Granted, they were a much smaller company at that time.
Re:Ask HN: Non-cloud voice recognition for home use? on Sunday March 15, 2020 @12:48AM (#22581363)
I've been using DeepSpeech to learn to build voice controls for all sorts of things in JavaScript. And I've got a way to connect it to the web so you'll be able write speech recognition enabled web pages using client side JavaScript.

https://github.com/jaxcore/deepspeech-plugin

Re:Corona: Free Cross-Platform 2D Game Engine on Friday February 28, 2020 @08:44AM (#22442688)
Now that is an unfortunately named company.
Re:Ask HN: How are you preparing for COVID-19 disruptions? on Wednesday February 26, 2020 @02:11PM (#22426166)
My last order of assembled PCB's has been on hold since late December. I don't even know of an affordable alternative that isn't also in China.
Re:On Voice Coding on Monday February 24, 2020 @06:55PM (#22409662)
I have been working on getting Mozilla's DeepSpeech and some additional JS libraries up to a level where it can be used (among other things) as a voice keyboard.

https://github.com/jaxcore/deepspeech-plugin

It's not quite there yet, but I'm working on it.

It can type numbers and symbols reasonably well, I need to do some additional work like build a custom language model to be able to type letters and plug some other gaps in Mozilla's CommonVoice model.

Here's the number typing example: https://github.com/jaxcore/deepspeech-plugin/tree/master/exa...

Any idea how it compares to Mozilla's DeepSpeech?
Re:Announcing Bluetooth LE Audio on Tuesday January 07, 2020 @02:25PM (#21983670)
Bluetooth LE uses substantially less battery than older Bluetooth devices do. It makes a big difference for anything that's battery powered. I was really bummed when I found out BLE didn't support audio at all.

I can't quite tell from the website, but I'm assuming we will need new BT antennas BLE Audio support before we can use it, which sadly means yet another generation of computers & smartphones have to come out before this can become ubiquitous.

Re:Open-Source Home Automation on Friday November 29, 2019 @06:30PM (#21667416)
Z-Wave is a bit slow/delayed even when interacting directly with the zwave open API.

Older »