No, it's not science fiction. For the first time ever, scientists in Albany, NY were able to use a "brain-to-text" interface to read thoughts and translate them into text. But it wasn't as simple as one might imagine. In fact, the experiment made me a bit squeamish. To use the "device," researchers placed seven patients in a controlled environment to perform a bit of surgery.
The patients' skulls were split open and electrode sheets were attached directly to their brains. They were also asked to read aloud from various texts (the Gettysburg Address, JFK's inaugural address, Charmed fan fiction, and a children's story) to get a baseline of what their brains were doing while they were speaking.
Finally, the "brainwave recognition device" was able to translate the patients' thoughts onto paper, although the translations were rough and limited. Until this device can read minds without cracking someone's head open, I think I'll keep my thoughts to myself.
For more details see the full story on Vice.