HNHacker News
TopNewBestAskShowJobs

zzmp

227 karma · joined March 2, 2014

[ my public key: https://keybase.io/zmp; my proof: https://keybase.io/zmp/sigs/ggm_QDCSMKYTxw7RvkchkElZ-BN3wryW6Qhrm--7yic ]
submissionscomments
zzmp··on Fresh – Next-gen web framework
Have other frameworks had the concept of ["interactive islands"]? I'd love to know more, but the docs aren't fleshed out yet. Does anyone know of other (documented) frameworks that use this concept?

["interactive islands"]: https://fresh.deno.dev/docs/concepts/islands

zzmp··on The Church of Interruption
This is beautifully written.
zzmp··on Markdown and mock = textmock
They typo’ed on the word poopular. Or not. :D
zzmp··on Facebook Delays Home-Speaker Unveil Amid Data Crisis
They call all of their sources "the people". It's not coming out yet, "the people said". Kinda strange...
zzmp··on A letter about Google AMP
This letter just seems to affirm that Google made a good business decision with AMP.
zzmp··on Why Is Node Being Forked?
node-forward stated in their issues [1] that it's just politics. They've taken it private for the time being.

[1] https://github.com/node-forward/discussions/issues/7

zzmp··on Show HN: Hacker News implemented using the new API
Are you able to show the comment counts as well?
zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
It's definitely a fun little toy...

http://node-os.com/

http://osjsv2.0o.no/

zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
In order to get a more comprehensive vocabulary/grammar, you need to substitute out the sample that it comes with. There are instructions in the README. For the demo, it just uses the sample grammar that voxforge provides, which is (as you can see) fairly limited.
zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
I believe that Julius offers their own tools for conversions like these, but the best place to consult would be the JuliusBook [1].

[1] http://julius.sourceforge.jp/juliusbook/en/

zzmp··on What do you think is the hottest programming language of 2014?
Why isn't Rust on that list?
zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
I'm literally sitting here hitting refresh. Thanks.
zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
This was my first emscripten project - I would definitely recommend it. I found it to be a great tool. Two things to point out:

- If something is not documented well, it is probably tested well. If you can find the tests that cover it, you can usually get a good idea of how it works. - There is no multithreading. I had to fake it by breaking up my loops with setTimeouts.

There is an IRC channel if you need a place to go for help. Also, feel free to PM.

zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
Right, it's all done on the client, so it is server agnostic.
zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
OK it's done! Not well documented yet - that will wait for another day - but you can now access the score through the `onrecognition` event.
zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
There is now a (very rudimentary) demo on the GitHub page: zzmp.github.io/juliusjs

Much thanks to @iffy for writing the first pass.

It uses voxforge's sample vocabulary, so you'll need to say things like "Dial 1 2 3" or "Call Kenneth McDougall" for it to understand you, but the vocabulary is easily swapped out for your own projects, as explained in the README.

zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
It does post them back from the worker, but the Julius interface doesn't expose them (yet). The way that Julius deals with confidence scores is also a little different (they're not fractional), so you'd need to account for that.

I'll be sure to include them soon - it's probably just a few more lines of code, so you can expect them in the onrecognition function this afternoon.

zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
True. Transpiled, with a few abstractions written over the transpiled code (such as a worker script), and some tweaks to the transpiled code to fake multithreading so that it can coexist with the Web Audio API.
zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
I used voxforge[1], a project made specifically to solve this problem:

> VoxForge was set up to collect transcribed speech for use with Free and Open Source Speech Recognition Engines (on Linux, Windows and Mac).

VoxForge's sample grammar is provided as a default, in its own folder [2]. It would be nice to get a high-quality acoustic model, as voxforge's is not that comprehensive yet, but I couldn't find anything with the right licensing and zero cost. If anyone knows of one, I'd love to hear about it.

[1] http://www.voxforge.org/ [2] https://github.com/zzmp/juliusjs/tree/master/dist/voxforge

zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
I'll try to whip one up today and post it to the README.
zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
pocketsphinx.js looks amazing, but there's definitely a barrier to entry if you've never worked with speech recognition before. That was my biggest goal in porting this tool - a nice, abstracted API. Glad you like it :)
zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
No, but I think it's a great idea. If you end up using JuliusJS for this, please let me know. I still need to make some example applications to showcase what JuliusJS can do - I'll have them listed in the README when they're done.

I also came across PocketSphinx, which has been around a little longer - that may have some users in the wild already, and I wouldn't be surprised if it was used for navigation somewhere.

[PocketSphinx] https://github.com/syl22-00/pocketsphinx.js/

zzmp··on Show HN: JuliusJS – Speech recognition in JavaScript
Creator here - I ported this over from the open-source Julius using emscripten. AMA
zzmp··on Parody copyright laws set to come into effect in the UK
"Owners of the copyrighted works will only be able to sue if the parody conveys a discriminatory message.

"It would then be down to a judge to decide if the parody is funny."

Can't wait to see that lawsuit...

zzmp··on NatI: Multi-language voice control system for Ubuntu written in Python
I've been working with Julius a lot, another open-source speech recognition engine.

How easy did you find it to work with NLTK?

Did you have a lot of NL experience before this project? Do you think something like NLTK would be easy to pick up?

zzmp··on Show HN: Iron, a fast middleware-oriented Rust web server framework
This should be fixed. Thanks again.
zzmp··on Show HN: Iron, a fast middleware-oriented Rust web server framework
We have a middleware for that! You can look at http://github.com/iron/persistent, which does wrap an RWLock in an Arc. It also provides a struct to make your middleware Share, so you can do similar things.

We also have session, which works on a HashMap under an Arc, although it isolates the mutable data to a session, instead of sharing it across isolated requests.

zzmp··on Show HN: Iron, a fast middleware-oriented Rust web server framework
Thanks for the heads up. We reworked our folder structure after writing the READMEs, and it looks like we forgot to update. I'll get working on that.

The 200 is being served as the default of `rust-http`. Static will never serve a 404 - it will only defer to the next middleware, and the docs server is overly simple, so it just goes to default.

zzmp··on Show HN: Iron, a fast middleware-oriented Rust web server framework
We built Iron on top of `rust-http`, but we're excited for `teepee` too, and there are a few others popping up as well.
zzmp··on Show HN: Iron, a fast middleware-oriented Rust web server framework
This looks like a great resource!

Unfortunately, I'm not sure if anything in Rust should be considered `production-ready` yet, and I haven't worked with any ORM wrappers in Rust (yet).

I think we could get tests 1 and 6, if you'd be interested. I'll try to get to those soon.

Page 1 of 2Next →