Flite Text to Speech not working properly - raspberry-pi3

I tried following this post to get flite tts to work on raspberry pi 3, but unfortunately when I try
flite -t "word"
Nothing is read out but when I try
flite -t "All good men come to the aid of the rebellion"
Only "come to the aid of the rebellion" is read out. Any help on how to solve this? Thanks

Removing and Reinstalling flite solved the problem.

Related

Ubuntu 20.04 very slow to get shell

I've loaded Ubuntu 20.04 on a fast Xeon based machine and it takes ~ 20 seconds to get a shell, within a terminal window. I know I've seen something about which settings to check but now I can't find it. Any suggestions where to look or what to change most welcome. Thx. J
I found an answer thanks to this post!
https://askubuntu.com/questions/717961/shell-very-slow-to-load-ubuntu-14-04
I had a line, trying to get proper keyboard mapping in my .bashrc
##xmodmap ~/.xmodmap-uname -n
It was holding up proceedings, as soon as I commented it out, essentially removing it, now get shell instantly.

Mathematica on Raspberry Pi cannot read simple text file

Raspberry Pi question.
I ported a working notebook from my computer to RPi where Mathematica was pre-installed. It starts nicely, but stops as it tries to read a simple text file. The very first lines are these:
$HomeDirectory
/home/pi
dict0 = ToString /# ReadList["sv_JSPFirefoxRensadCRUTF-8.txt"]
ReadList::noopen: Cannot open sv_JSPFirefoxRensadCRUTF-8.txt.
$Failed
I have also contacted the Wolfram community, a lot of readers, no answer. I am turning into desperation mode.
I have not changed anything, same text file etc. Any suggestions would be much appreciated. Thank you very much in advance.
$HomeDirectory returns your home directory but does not set your working directory to that directory. DirectoryStack shows you what directories have been set. $Path is also useful here. You need to use SetDirectory.
SetDirectory[]
or
SetDirectory[$HomeDirectory]
You should see the Directories & Directory Operations guide for more information.
Hope this helps.

How to read updating Log file

I was wondering if there is a way/command to read the logs in window while it is getting updated at real time. My OS is windows 7.
Something similar to "tail -f *.log" in linux.
Any help would be really apreciated.
There is a lot of tools mentioned in this previous post
https://serverfault.com/questions/7263/convenient-windows-equivalent-to-tail-f-logfile
http://unxutils.sourceforge.net/ unxutils is one

Is cmd-key-happy dead on OS X 10.6.6?

I've been a happy user of cmd-key-happy for running emacs -nw on my Mac. After upgrading to 10.6.6 and rebooting, cmd-key-happy seems to run, but doesn't seem to function. There isn't much in the way of support or mailing lists for the tool itself, so I figured I'd at least post here to see if the problem is a general one or mine. Does anyone know if cmd-key-happy has a problem with 10.6.6?
Working fine for me on 10.6.6.
Is there anything in the logs that indicates a problem:
grep cmd-key-happy /var/log/*
No, it's not broken by 10.6, but it may have a conflict with Google Chrome. I had similar symptoms (had been running fine for a long time, then noticed it wasn't functioning even though the process was running, and cmd-key-happy-restart didn't fix it), but restarting Google Chrome fixed cmd-key-happy. Thanks to Drew R.'s comment on a different answer here for pointing that out.

Power Management API for auto-wake in OSX?

Hey, I need to write a program for OSX that will cause my macbook pro to wake up after a certain amount of time of sleeping. SleepX is almost perfect for me, but I want it to only go back to sleep if noone is moving the mouse/hitting the keyboard, etc.... I tried using the approach in the "wakeFromSleep" example in the Mac power management DDK, but it was unable to find the "Power Management Unit" in my computer, so obviously SleepX is using a different method than the DDK.
Does anyone have any ideas on where I can look to find this API that SleepX is using? Does anyone have suggestions on what software I could use to achieve the end result?
Thank you!
One place to start looking is
nm /Developer/Applications/Utilities/SleepX.app/Contents/MacOS/SleepX
the following lines look relevant
U _IOAllowPowerChange
U _IONotificationPortGetRunLoopSource
U _IOPMSchedulePowerEvent
U _IORegisterForSystemPower
which in turn come from IOPMLib.h
The pmset command makes it easy to schedule wakeups:
pmset schedule wake "07/04/09 20:00:00"
You want IOPMSchedulePowerEvent.

Resources