IRC channel logs
2023-03-08.log
back to list of logs
<daviid>sneek: later tell dsmith any news about the guile-cairo 'official' paches? one with the code and a test, then one with the doc update ... lloda confirmed here (if you didn't see his message in this channel) that he has a machine on which he can rebuild the doc ... tx <cow_2001>old: when i write into the fifo `echo moo > fifo-file` it doesn't speak <cow_2001>i haven't gotten to the point where i can care about ctrl + c cleanup <flatwhatson>cow_2001: your comment says "Write lines into fifo write port and flush", but are you actually flushing? <flatwhatson>i think the "+" in your modes is a mistake, that makes them both input & output ports <cow_2001>flatwhatson: they are very out of date. sorry about that! <cow_2001>i think i add newlines everywhere i put-string <cow_2001>flatwhatson: do you ever come across something like this and go insane trying to make it work? <cow_2001>maybe i should just use some other interprocess communication conduit instead of raw fifo files? <flatwhatson>cow_2001: i'm well beyond the point of going insane over such things :) <flatwhatson>strace can be very useful for debugging this sort of thing <flatwhatson>you can get a precise view of what is being sent/received at each end <cow_2001>strace guile -e main clipboard-speaker.scm? <flatwhatson>that avoids flooding your terminal by sending the trace to a file, and extends the length of dumped strings (otherwise they can be too short to be useful) <flatwhatson>the trace will show all the syscalls made by the program, so you need to find where your fifos are opened and analyze from there <cow_2001>flatwhatson: i put a lot of those kind of commands into the Makefile. does it make sense to you? <flatwhatson>whatever works for you is good! nothing wrong with using a Makefile like this <flatwhatson>i tend to rely heavily on shell history for such things (configured to store the last 2 million commands) <cow_2001>you know what? maybe i should just feed input as an argument? <cow_2001>but then i'll start an espeak-ng process again and again <cow_2001>now i need to figure out how to turn it into a guix package. <cow_2001>tried it. this is the longest it accepts. espeak-ng "$(py "'a' * 131071")" <cow_2001>much bigger than anything a user might want to read per call <rekado>the Sugar desktop integrates espeak-ng as well; lets you read any selection. There doesn’t seem to be a cutoff.