From: Laura Lazzati <laura.lazzati.15@gmail.com>
To: Paul Garlick <pgarlick@tourbillion-technology.com>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: Video narration
Date: Sat, 4 May 2019 16:34:21 -0300 [thread overview]
Message-ID: <CAPNLzUN02+iz6B5e5Gdi_Pia-2=FfzgBDkWD6=o6fzWFH-Xh8A@mail.gmail.com> (raw)
In-Reply-To: <edc3fcb6bc17f01450a74cc983d1d08b3bcf48ec.camel@tourbillion-technology.com>
Hi Paul!
> I have implemented the repeat procedure and pushed the commit to the
> repository.
>
> > I definitely HAVE TO learn Guile.
>
> This is a good example.
>
> There is some arithmetic needed to convert the sleep durations, in
> milliseconds, to frames, using the frame rate. If you have seen
> reverse polish notation before you will recognise the way the
> arithmetic expressions are built up.
>
> The function comes first and the arguments afterwards. So (/ wait
> 1000), for example, means divide the variable 'wait' by one thousand.
>
> The repeat procedure uses a 'named let' for recursion. This calls the
> snap! procedure the correct number of times to generate the extra
> frames.
>
> The slightly tricky part was making sure that the snap! procedure and
> the repeat procedure are in the same scope. Otherwise, an 'unbound
> variable' error is generated. I was able to do this by moving the
> repeat procedure, plus the other procedures that are needed for
> processing the session files, inside the same let construct in the main
> body.
Thanks for your explanation, I did a tutorial and I will be playing
with Guile <3
>
> To test I used the firstCli session file from 02-daily-use1. I changed
> the last line from '#:sleep 30000' to '#:sleep 40000'. The time
> durations were:
>
> before: 78.408000
> after: 88.408000
My good news are that I get the 10 secs difference, the bad ones that
the timing is different:
00:01:18.408000000
and
00:01:28.407000000
Any clue?
Regards!
Laura
next prev parent reply other threads:[~2019-05-04 19:35 UTC|newest]
Thread overview: 87+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-05 12:52 Video narration Laura Lazzati
2019-03-05 15:14 ` Paul Garlick
2019-03-05 16:27 ` Laura Lazzati
2019-03-15 11:48 ` Paul Garlick
2019-03-15 14:27 ` Laura Lazzati
2019-03-16 3:27 ` Laura Lazzati
2019-03-18 17:07 ` Paul Garlick
2019-03-19 5:00 ` Laura Lazzati
2019-03-19 21:02 ` Laura Lazzati
2019-03-20 12:39 ` Paul Garlick
2019-03-20 13:38 ` Ricardo Wurmus
2019-03-20 16:20 ` Laura Lazzati
2019-03-22 17:11 ` Paul Garlick
2019-03-22 17:35 ` Laura Lazzati
2019-03-22 19:39 ` Paul Garlick
2019-03-24 3:47 ` Laura Lazzati
2019-03-24 10:17 ` Gábor Boskovits
2019-03-24 18:52 ` Laura Lazzati
2019-03-25 12:55 ` Paul Garlick
2019-03-25 22:49 ` Laura Lazzati
2019-03-25 23:16 ` sirgazil
2019-03-26 17:08 ` Paul Garlick
2019-03-26 17:58 ` Laura Lazzati
2019-03-27 21:00 ` Paul Garlick
2019-03-27 22:01 ` Laura Lazzati
2019-03-29 22:32 ` Paul Garlick
2019-03-29 22:45 ` Laura Lazzati
2019-04-01 15:16 ` Paul Garlick
2019-04-01 18:02 ` Laura Lazzati
2019-04-02 8:34 ` Paul Garlick
2019-04-02 18:19 ` Laura Lazzati
2019-04-03 14:05 ` Paul Garlick
2019-04-03 14:25 ` sirgazil
2019-04-03 15:38 ` Gábor Boskovits
2019-04-03 16:45 ` sirgazil
2019-04-03 19:11 ` Laura Lazzati
2019-04-05 14:36 ` Paul Garlick
2019-04-05 18:23 ` Laura Lazzati
2019-04-05 18:49 ` Ricardo Wurmus
2019-04-08 16:19 ` Paul Garlick
2019-04-09 10:46 ` Laura Lazzati
2019-04-09 14:10 ` Paul Garlick
2019-04-17 19:44 ` Laura Lazzati
2019-04-17 22:11 ` Paul Garlick
2019-04-18 17:12 ` Ludovic Courtès
2019-04-19 12:14 ` Ricardo Wurmus
2019-04-18 17:20 ` Laura Lazzati
2019-04-19 0:25 ` Paul Garlick
2019-04-20 21:11 ` Laura Lazzati
2019-04-22 12:29 ` Paul Garlick
2019-04-22 18:27 ` Laura Lazzati
2019-04-22 22:29 ` Paul Garlick
2019-04-26 22:01 ` Paul Garlick
2019-04-26 22:54 ` Laura Lazzati
2019-04-29 17:53 ` Paul Garlick
2019-04-29 19:50 ` Laura Lazzati
2019-04-29 20:06 ` Paul Garlick
2019-04-29 20:19 ` Laura Lazzati
2019-04-29 22:50 ` Paul Garlick
2019-04-30 8:52 ` Laura Lazzati
2019-04-30 13:22 ` Laura Lazzati
2019-04-30 23:36 ` Paul Garlick
2019-05-01 14:05 ` Laura Lazzati
2019-05-02 21:36 ` Paul Garlick
2019-05-04 19:34 ` Laura Lazzati [this message]
2019-05-06 11:22 ` Paul Garlick
2019-05-08 20:47 ` Laura Lazzati
2019-05-08 23:14 ` Paul Garlick
2019-05-09 14:57 ` Laura Lazzati
2019-05-09 17:54 ` Paul Garlick
2019-05-10 19:50 ` Laura Lazzati
2019-05-10 21:54 ` Paul Garlick
2019-05-10 21:58 ` Laura Lazzati
2019-05-10 20:19 ` Gábor Boskovits
2019-05-10 21:57 ` Laura Lazzati
2019-05-10 22:34 ` sirgazil
2019-05-21 2:52 ` Laura Lazzati
2019-05-21 8:29 ` Gábor Boskovits
2019-05-22 12:54 ` Laura Lazzati
2019-05-23 10:14 ` Paul Garlick
2019-05-23 14:07 ` Laura Lazzati
2019-05-23 21:36 ` Paul Garlick
2019-05-25 18:19 ` Laura Lazzati
2019-05-06 13:35 ` Ricardo Wurmus
2019-05-06 20:34 ` Paul Garlick
2019-04-02 17:21 ` Gábor Boskovits
2019-04-02 18:16 ` Laura Lazzati
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPNLzUN02+iz6B5e5Gdi_Pia-2=FfzgBDkWD6=o6fzWFH-Xh8A@mail.gmail.com' \
--to=laura.lazzati.15@gmail.com \
--cc=guix-devel@gnu.org \
--cc=pgarlick@tourbillion-technology.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).