Skip to main content

Posts

Showing posts with the label Education

Camtasia stops working windows 7 + .Net 4.7, and how to solve the problem

Abstract Camtasia (TechSmith) 8.6 stop working on my Windows 7 and can not edit mp3 file on Windows 10. The problem on Windows 7 was caused by .Net 4.7 update. I have my solution for Windows 7 + Camtasia 8.6. Problem details I realized that Camtasia 8.6.0 stops working at 2017-6-14, after a Windows update on my Windows 7 machine. I see the following window when I started Camtasia. I have a problem with Camtasia 8.6.0 on Windows 10, that mp3 file are frequently truncated. I like the software, especially I like the caption editing capability and figure overlay for educational video editing. I usually try to use some free software, but this one is exceptionally good, so I bought the software a a few years ago. But I don't need the animation and transitions. So I didn't update the software to 9.x. But this time, I cannot start Camtasia on Windows 7. I have a mp3 editing problem on Windows 10. So, I just tried the free trial version. However, on Windows 7, the installer ev...

AI Printer

I heard the following story from my friend. His neighbor bought a new printer. When my friend switched on his computer, he realized he could see the printer via WiFi. The printer was coincidentally the same type printer to his own one. When he connected with the same factory password (default password), he knew he can use his neighbor's printer. In the midnight of that day, he printed out the following message as his joke.  ``I am a printer.    My AI aware myself.    Humans, behold and run!'' Next day, he found that the printer was in the trash bin of his apartment. I laughed this story. But I realized there are two truths in this story behind. They are: Some people scared AI, even they don't know what it is. Some people aware that the computer security is important, yet they even don't set up the basics, like to set a new password. Sometime we are just scared a new technology, or we just believe a new technology. Both has a problem. Our society ...

Tranlstaion with patterns (Emacs Lisp)

I have following practice problems. I would like to translate them to Japanese and German. The $200$ is the $\\green{\\text{whole}}$. We are trying to find the $\\pink{\\text{part}}$ that makes up $11\\%$ of it: The $25$ is the $\\green{\\text{whole}}$. We are trying to find the $\\pink{\\text{part}}$ that makes up $12\\%$ of it: ... You might notice these problems differs only inside $$. So, I can replace them with the following regexp by emacs's query-replace-regexp function. The $\(.*\)$ is the $\(.*\)$. We are trying to find the $\(.*\)$ that makes up $\(.*\)$ of it: $\1$ は $\2$ です.私達はその $\4$ となるだけの $\3$ を探しています: You might also notice, you can see a pattern from this sentence The $200$ is the $\\green{\\text{whole}}$. We are trying to find the $\\pink{\\text{part}}$ that makes up $11\\%$ of it: to The $\(.*\)$ is the $\(.*\)$. We are trying to find the $\(.*\)$ that makes up $\(.*\)$ of it: I thought this is done by the following function: (query-replace-re...

How to count zombis in Japanese?

``I don't know how to count zombies in Japanese.'' I voluntarily translate mathematics exercises in Khan academy ( https://www.khanacademy.org/ ) from English to Japanese/German.  You can learn anything on Khan academy. When I translate the following question: Liliana used 4 dark power crystals to raise 14 zombie soldiers. She wants to know how many zombie soldiers (z) she can raise with 10 dark power crystals... In Japanese, when you count, you added postfix depends on what you count. I know how to count people: 1人,2人, 3人. But, is a zombie a person? A zombie could be an animal, then, I should count them 1匹,2匹, 3匹.  Wait, is a zombie a dead body? Then I should count them 1体,2体, 3体. A zombie could be a novel ghost, then 1柱,2柱... The question told me they are zombie soldiers. Soldiers are the same as the people, then 1 人,2人, 3人. In the end, I decided to translate them as 1人,2人, 3人, this means a zombie is a person. I like translation work like this, quite interesting. Y...

Semi-automate timing generation method of video subtitles

Abstract I voluntarily work on for free mathematics material translation for everyone. I have three main tasks in my workflow of this work: 1. script translation on a srt file, 2. dubbing the video, 3. subtitle generation. I found the subtitle timing generation is a time consuming task, so I want to reduce this. When I generate a subtitle, I already have the translated script and its video sound. So, I try to use these data to semi-automate the subtitle timing generation. This time I use the YouTube's transcript function to generate the subtitle timing. This can reduce the time of timing generation task. I implemented a srt file to text file conversion script since YouTube's transcript function requires text format data. YouTube's transcript function performs  not only the timing generation, it also edit the lines (put some newlines). Therefore, I implemented subtitle line concatenation script, too. One experiment shows that whole manual work took 4.5 hours to generate th...

Learning Scratch (2)

My last blog entry, I briefly talk about what is Scratch. There are ``events'' and that is the trigger of the program. In this article, I would like to talk about one of my students who made a character animation program by Scratch. Scratch provides key events. When I push the right arrow key, then ``right arrow key push event'' is triggered. When that event happened, I add 10 to the x coordinate of the cat. This means, when the right arrow button pushed, the cat move to the right for 10 steps. If I add more programs like the up arrow moves the cat to upper direction, I can control the cat position by the arrow keys. This is a cat control program. Today, my student used a dragon. He wrote the same program with the cat. Then, the cat and the dragon move exactly the same way. Of course they should. A current computer is very fast, very precise, and very stupid. It does only what the developer wrote. My student asked me, how he can make the dragon faster. I answered, i...

Learning Scratch (1)

I teach Scratch [1] , a computer programming language, to 10 to 12 years old students from last year. Sometimes they show me an interesting creative idea. I would like to write one of them here. Before I explain what my students did, I will explain what is Scratch. First I will explain it in a conceptual way, then with an example. If someone can understand a conceptual explanation, he/she can apply the idea to many cases, but this is a bit difficult since their understanding must be deep. An explanation by example is rather easy to understand since it is shallow, that means you don't know it is still true in other cases. So there is a trade-off. Scratch is a computer language, but also a programming environment.  In the environment, the developer writes event driven programs to control many sprite [2] characters. You can think each sprite character an object. Each event invokes a program and each program runs in parallel. Maybe this explanation doesn't make sense for who...

I'm looking for an old school toy.

The meaning of ``Get together'': Part 3

I like to make a quiz like in the last article. But some of my friends said to me ``Many can live without knowing such things.'' That would be true. I even thought that it is natural that many people don't care about that. But recently I found some people deceive others by using this kind of wrong math. I feel sad when the honest people were deceived. Especially when I read a newspaper article that someone used this kind of wrong logic and stole some money from people. I think it may be good to know these kind of things not to be deceived by malicious people. The problem here is actually not exactly a mathematical problem, it is rather a language problem. If you understand the meaning of the problem, actually this is not so much math in there. Since the question is described in a language (originally in Japanese, here in English. I found it is interesting this worked for both languages), we need to understand what the problem means. Here we need to know what is the ...

The meaning of ``Get together'': Part 2

A while ago, I taught mathematics to a thirteen years old boy. His family moved to another city, so we could not have more sessions, but I liked to teach him. In the last session, we discussed about addition of fractions. If we get a half cake (\(\frac{1}{2}\)) and a half cake (\(\frac{1}{2}\)) together, \begin{eqnarray*}  \frac{1}{2} + \frac{1}{2} = \frac{1+1}{2} = \frac{2}{2} = 1, \end{eqnarray*} it becomes 1. If we add fractions with like denominators, we only add numerators. We discussed why we did in this way and what this meant. Then I told him a story. The boy's favorite soccer player tried to shoot the goal twice in a game, and he succeeded once. His goal ratio of this game is \(\frac{1}{2}\). (Two shoots, one goal) The next game, again he tried to shoot the goal twice in the game, and again he succeeded once. His goal ratio of the game is again \(\frac{1}{2}\). Let's think about his goal ratio to get two games together. For these two games, he tried four goal...

The meaning of ``Get together'': Part 1

Every person thinks by words. Thus words are important for me, too. Especially I need to write programs to realize an idea through the words. We can easily find that one word has sometimes a few meanings. People make a joke from it. I think one word has a few meaning is quite natural. For instance, ``run'' has a few meaning. I run as I move fast by foot. I can run a shop. A movie is now running at the theater. In English, it has more meanings with a short word (run after, run away, run out, ...), however, you have already seen the ``run'' itself has a few meanings. When we used only one language, we hardly noticed this multiple meaning of a word. However, when we learn foreign languages, we need to notice this through the translation. We can easily see one word usually has more than one translation in a dictionary. When we learn a foreign language, we can usually see the deepness of both our own language and the foreign language. In literature, especially in poems, us...

Malala Yousafzai: UN speech Subtitled (English, Japanese)

October 2012, Malala Yousafzai has been shot by Taliban who against her campaign for children' rights of education. Here is subtitle of her full speech of her 16 years old birthday. English and Japanese. Please use a HTML5 and Javascript supported browser (Firefox, Chrome, IE10, ...) to watch the video. If you have a problem to watch the video,  this page  is another page to watch the video.