Passed the First Evaluations

Passed the First Evaluations
I was very fortunate that I passed the First Evaluations and I got the first internship salary in my life. I am very grateful to my two mentor. They have given me a lot of help and patiently guided my questions.

這裏寫圖片描述
This week’s progress: Two cursor pointers are set in gl-journal.c to record the read pointer to ensure that the latest log information is obtained. But there are some obvious problems. The cursor settings seem to have some problems. It is not a correct rotation training. This is really a big problem.
these was add in fuction on_journal_changed.

            entry = _gl_journal_query_entry (self);
            priv->cursor_current = g_strdup (entry->cursor);

            ret = sd_journal_seek_cursor (priv->journal, priv->cursor_last);
            if (ret < 0)
            {
                g_warning ("Error seeking cursor string: %s",
                           g_strerror (-ret));
            }
            g_free (priv->cursor_last);

            sd_journal_previous (priv->journal);

            ret = sd_journal_next (priv->journal);
            if (ret < 0)
            {
                g_warning ("Error advancing the read pointer in the journal: %s",
                           g_strerror (-ret));
            }
            else if (ret == 0)
            {
                priv->cursor_last = g_strdup (entry->cursor);

                ret = sd_journal_seek_cursor (priv->journal,
                                              priv->cursor_current);
                if (ret < 0)
                {
                    g_warning ("Error seeking cursor string: %s",
                               g_strerror (-ret));
                }
                g_free (priv->cursor_current);

                sd_journal_next (priv->journal);
                break;
            }
            else
            {
                while (ret > 0)
                {
                    entry = _gl_journal_query_entry (self);
                    g_signal_emit (self, entries_signal, 0, entry);

                    ret = sd_journal_next (priv->journal);
                    if (ret < 0)
                    {
                        g_warning ("Error advancing the read pointer in the journal: %s",
                                   g_strerror (-ret));
                    }
                    else if (ret == 0)
                    {
                        gint r;

                        priv->cursor_last = g_strdup (entry->cursor);
                        r = sd_journal_seek_cursor (priv->journal,
                                                    priv->cursor_current);
                        if (r < 0)
                        {
                            g_warning ("Error seeking cursor string: %s",
                                       g_strerror (-r));
                        }
                        g_free (priv->cursor_current);

                        sd_journal_next (priv->journal);
                    }
                }
            }

By the way

This week, I received an invitation to attend the Student Open Source Conference in Chongqing University and invited me to give a speech.

I thought a lot and finally chose to introduce them to the GSoC and gnome communities.
To be honest, this is the first time I have spoken in front of a lot of people, so I made a lot of preparations. After searching and asking other experienced people online, I finally prepared the manuscript after several days of hard work. And my ppt, doing ppt is really not an easy thing. Through this I have improved my ability to create slides and I am very happy.
Next, it was 6.10. I went to Chongqing with my three classmates. When I got to the high-speed rail, I went to eat hot pot. It was so enjoyable. I went to Jiefangbei and Hongyadong.
Then I went back to the hotel to make final preparations for the speech. I repeatedly changed the speech several times and recorded the video several times to observe the effect.

On the afternoon of 6.11, it was the familiar place–Chongqing University. I remember that I came here last year to attend the gnome-asia summit. Last year I listened to other people’s speeches in the audience. This year I was able to make a speech for others to listen to. This is really very interesting, what an exciting experience, hahaha, before the speech, because of a lot of preparations, the result is of course good, about for more than an hour, there is still the feeling of unfinished, the audience’s speech The content is very interesting and asked me a lot of questions. I feel particularly proud and proud.
這裏寫圖片描述

After that, we will have a dinner together to celebrate the trip to Chongqing. Returning to Xi’an overnight in the evening

June 16, 2018

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章