Photo by Tim Gouw on Unsplash

Almost Done But Not Yet

Week number 7 in AESTE. Last week I had problem generating a workable QR code image to attach it in the registration slip. After some discussion with Dr Shawn, he told me that the issue might be caused by the color type of the PNG file. Previously, I was using color type palette to produce the QR code PNG image. Dr Shawn then suggested me to use gray scale color type instead because we just need black and white for Read more

OS needed to run TCPIP stack

Since the only reference I have is an example code of bearSSL that is working in PC environment, in order to sort out the problem I am facing that the bearSSL server does not reply to client hello, I’ll have to look inside the source code of bearSSL. After some study, I found that the handshake (the process of negotiation about how the SSL will be implemented before actual SSL communication begin) is processed in the first call to br_sslio_read or br_sslio_write. Before Read more

Photo by Tim Gouw on Unsplash

JointJs is Really Interesting!

In this week, I spent my time trying to trigger the simulation on the schematic part as I told you last week. In the beginning, it was confusing. I definitely needed to understand first how the schematic was built. The schematic was built using JointJs as I mentioned before. However, there are many cells that were customized. I went through many demos on JointJs website and had a good understanding of the attributes and features of the library and how Read more

Getting started with analytics

Last week, I was working on the database section of CAS. It is surely not perfect yet, in terms of class design, but sufficient for me to move on to my next tasks. I spent about one and a half day implementing the classes (CASTSVImporter, AdminImportTSVResource) that will handle the import and string parsing of TSV files exported from CMS database. I then spent some time to write down in detail, all of the analysis and calculations that I intend Read more

Photo by Carlos Muza on Unsplash
Photo by Tim Gouw on Unsplash

Unproductive Week

Nothing much happened this week since I was busy preparing for my internship report. At the same time making sure that all participants received their registration email for the competition especially for Kuantan and Kuching participants. I received an email that complained about the registration slip looks like strings competition even though they registered for the piano competition. The registration slip is actually still according to the competition that they have registered, piano or string but it just the email Read more

Relief

This week I implemented the part where P3 is responsible for pulling the latest project files from S3. This is suppose to be done when a project has expired in the cache and is about to be flushed to the user’s storage. Therefore, it is a last minute effort to ensure the project has its latest files before being uploaded back to the cloud storage. Fortunately, it wasn’t too difficult to add this simple change to P3’s caching mechanism. Usually, Read more

Photo by Fabian Grohs on Unsplash
Photo by Fabian Grohs on Unsplash

Productive Week!

Time flies, I am half way through my 12 weeks internship. I started my week by looking back at my first task which is the email template. After showing Dr Shawn what I have done last week, he told me that I have to modify the code so that there is no hard coding. Besides, he wanted to add some new information in the email content which are the type of competition and venue. Last week, I was struggling to Read more

HTTP Requests

Do you remember last week when I told you I am going to send fake data so that I can work on the technique of getting the code and schematic to communicate first then go back to the problem of matching the variable names with the right variable type? Well, I was able to send data in JSON form from C++ code to the JavaScript. This is possible to be done using HTTP requests. Let me explain to you a Read more

Photo by Jon Moore on Unsplash

Working on BearSSL

In order to apply bearSSL in the project, the first thing I need to do is to include the bearSSL library object. The source code is available as a git repository, simply type “git clone https://www.bearssl.org/git/BearSSL” in a terminal to download the newest version of bearSSL. Apart from this, the git will keep track of the released version of bearSSL so that you can stay updated with the latest release easily, I am again amazed by how powerful the git is. Read more

Immersing in Code

Last week, I’ve finally gotten a good idea of the kind of analysis I want to perform on the data (extracted from CMS) and the statistical models to be used (linear regression and logistic regression). For convenient fitting of such models, we obviously require a table of the form <predictor 1> <predictor 2> …. <predictor n> <score> , where each record (row) represents a single training data for the regression model. This table can be obtained in CMS via a Read more

Photo by Carlos Muza on Unsplash