How To Upgrade Jasper’s Voice Recognition With AT&T’s Speech-to-Text API

Jarvis upgrade

Jasper is an open-source platform for developing always-on voice-controlled applications — you talk and your electronics listen! It’s designed to run on a Raspberry Pi. [Zach] has been playing around with it and wasn’t satisfied with Jasper’s built-in speech-to-text recognition system. He decided to take the advice of the Jasper development team and modify the system to use AT&T’s speech-to-text engine.

The built-in system works, but it has limitations. Mainly, you have to specify exactly which keywords you want Jasper to look out for. This can be problematic if you aren’t sure what the user is going to say. It can also cause problems when there are many possibilities of what the user might say. For example if the user is going to say a number between one and one hundred, you don’t want to have to type out all one hundred numbers into the voice recognition system in order to make it work.

The Jasper FAQ does recommend using the AT&T’s speech-to-text engine in this situation but this has its own downsides. You are limited to only one request per second and it’s also slower to recognize the speech. [Zach] was just fine with these restrictions but he couldn’t find much information online about how to modify Jasper to make the AT&T engine work. Now that he’s gotten it functional, he shared his work to make it easier for others.

The modification first requires that you have at AT&T developer account. Once that’s setup, you need to make some changes to Jasper’s mic.py module. That’s the only part of Jasper’s core that must be changed, and it’s only a few lines of code. Outside of that, there are a couple of other Python scripts that need to be added. We won’t go into the finer details here since [Zach] goes into great detail on his own page, including the complete scripts. If you are interested in using the AT&T module with your Jasper installation, be sure to check out [Zach’s] work. He will likely save you a lot of time.

 

VCF East: PR1ME And AT&T Unix Boxes

unix

At the Vintage Computer Festival last weekend, there was a wonderful representation of small 8 and 16-bit home computers from the 80s, an awful lot of PDP and VAX-based minicomputers, and even some very big iron in the form of a UNIVAC and a Cray. You might think this is a good representation of computing history, but there was actually a huge gap in the historical reality. Namely, workstations and minicomputers that weren’t made by DEC.

[Ian Primus] was one of the very few people to recognize this shortcoming and brought his PRIME minicomputer. This was a huge, “two half racks, side by side” computer running PRIMOS, an operating system written in FORTRAN. Of course this made it extremely popular with engineering teams, but that doesn’t mean [Ian] can’t have fun with it. He had two terminals set up, one running Dungeon (i.e. Zork pre-Infocom) and a text-based lunar lander game.

Because the VCF East is held in New Jersey, it’s probably no surprise a few vintage AT&T Unix boxes showed up. [Anthony Stramaglia] brought in a few very cool vintage Unix workstations, dating from the early to mid 80s. In the video, he shows off two AT&T boxes. The first is a UNIX PC, containing a 68010 clocked at a blistering 10 MHz. Next up is the UNIX PC’s bigger brother, the 3B2 400. This is the workstation found on just about every desk at Bell Labs in the 80s, meaning this is the same computer [Ken Thompson] and [Dennis Ritchie] used for their work on UNIX.

 

Continue reading “VCF East: PR1ME And AT&T Unix Boxes”

Retrotechtacular: Bell Labs Introduces A Thing Called ‘UNIX’

dennis

Modern operating systems may seem baroque in their complexity, but nearly every one of them  – except for Windows, natch – are based on the idea of simplicity and modularity. This is the lesson that UNIX taught us, explained perfectly in a little film from Bell Labs in 1982 starring giants of computation, [Dennis Ritchie], [Ken Thompson], [Brian Kernighan], and others.

At the time this film was made, UNIX had been around for about 10 years. In that time, it had moved far from an OS cloistered in giant mainframes attached to teletypes to slightly smaller minicomputers wired up to video terminals. Yes, smallish computers like the Apple II and the VIC-20 were around by this time, but they were toys compared to the hulking racks inside Bell Labs.

The film explains the core concept of UNIX by demonstrating modularity with a great example by [Brian Kernighan]. He took a short passage from a paper he wrote and found spelling errors by piping his paper though different commands from the shell. First the words in the paper were separated line by line, made lowercase, and sorted alphabetically. All the unique words were extracted from this list, and compared to a dictionary. A spell checker in one line of code, brought to you by the power of UNIX.

Rooting Your AT&T U-verse Modem

Unhappy with the performance of his U-verse modem [Jordan] decided to dig in and see if a bit of hacking could improve the situation. Motorola makes this exclusively for AT&T and there are no other modems on the market which can used instead. Luckily he was able to fix almost everything that was causing him grief. This can be done in one of two ways. The first is a hardware hack that gains access to a shell though the UART. The second is a method of rooting the device from its stock web interface.

We think the biggest improvement gained by hacking this router is true bridge mode. The hardware is more than capable of behaving this way but AT&T has disabled the feature with no option for an unmodified device to use it. By enabling it the modem does what a modem is supposed to do: translate between WAN and LAN. This allows routing to be handled by a router (novel idea huh?).

Retrotechtacular: 1983’s Answer To Information Overload

We can’t say we ever really thought that the problem with the early 1980’s was too much information in the hands of the people. But this promotional video for the Sceptre Videotex Terminal claims that it is the solution to the information overload of the time. The entire video is embedded after the break.

You use your TV as a display, connecting the hardware to a phone line and using a keyboard for navigation. Perhaps our favorite bit is when the announcer informs us that the secret behind the system is its “vast sources of information”. These include the Miami Herald, the Associated Press, the Wall Street Journal, and Consumer Reports. Just remember that at the time you’d need to hit the local library to access all of those resources. Also, searching them wasn’t a possibility.

But wait, this wasn’t just conceived for news. The system — which was backed by Night-Ridder (a huge Newspaper conglomerate) and AT&T — boasted commerce and banking abilities as well as education services. It’s the vision of the Internet which Ma Bell would have preferred to be in place today.

Continue reading “Retrotechtacular: 1983’s Answer To Information Overload”

Poking At The Femtocell Hardware In An AT&T Microcell

Here’s a picture of the internals of an AT&T Microcell. This hardware extends the cellular network by acting as its own cell tower and connecting to the network via a broadband connection. So if you don’t get service in your home, you can get one of these and hook it up to your cable modem or DSL and poof, you’re cellphone works again. [C1de0x] decided to crack one open and see what secrets it holds.

On the board there are two System-0n-Chips, an FPGA, the radio chip, and a GPS module. There is some tamper detection circuitry which [C1de0x] got around, but he’s saving that info for a future post. In poking and prodding at the hardware he found the UART connections which let him tap into each of the SoCs which dump data as they boot. It’s running a Linux kernel with BusyBox and there are SSH and ROOT accounts which share the same password. About five days of automated cracking and the password was discovered.

But things really start to get interesting when he stumbles upon something he calls the “wizard”. It’s a backdoor which allow full access to the device. Now it looks like the developers must have missed something, because this is just sitting out there on the WAN waiting for someone to monkey with it. Responses are sent to a hard-coded IP address, but a bit of work with the iptables will fix that. Wondering what kind of mischief can be caused by this security flaw? Take a look at the Vodafone femtocell hacking to find out.

Fanboys Want To Take AT&T Down

A post about Operation Chokehold popped up on (fake) Steve Jobs’ blog this morning. It seems some folks are just plain tired of AT&T giving excuses about their network. The straw that broke the camel’s back came when AT&T floated the idea of instituting bandwidth limitations for data accounts. Now, someone hatched the idea of organizing enough users to bring the whole network down by maxing their bandwidth at the same time.

We’re not quite sure what to think about this. Our friend Google told us that there’s plenty of press already out there regarding Operation Chokehold so it’s not beyond comprehension that this could have an effect on the network. On the other hand, AT&T already knows about it and we’d wager they’re working on a plan to mitigate any outages that might occur.

As for the effectiveness of the message?  We’d have more sympathy for AT&T if they didn’t have exclusivity contracts for their smart phones (most notably the iPhone). And if you’re selling an “Unlimited Plan” it should be just that. What do you think?

[Thanks Bobbers]

[Headlock photo]