Develop the REST API to interact with another REST API

I think I’m nearly done with the REST API except for caching and testing the entire code. This week is quite an interesting week for me because there are two main things that I have to do: make a http request from the code itself to the Dropbox API, and upload a zipped file into the cloud storage. At first, I used Witty to make a http request but it turned out that POCO library is much easier as you Read more

Sort things out

This week I have fixed the last bug left in the website. After a few days I managed to fix it and after that I screenshots the things that I have done and send it to Dr Shawn to ask whether I am doing the right things or not. Then Dr Shawn list a few mistakes that I have done and need to be fix. One of them is the data in one of the pages need to be sorted Read more

Event handling

This week, I am working with javaScript. When I was trying to detect a double click event on the gutter, I made some mistakes but I also learned a lot from that. Mainly, I learn that I should never attach a single click handler and a double click handler to the same object because it is hard to tell which one is fired up. Hence the behavior is not guaranteed. After that, I studied about throttle. As debouncer is closely Read more

Coding the REST API

I spent the entire week on coding the REST API. I had always thought that coding REST API is a very difficult task but it turns out that it isn’t really that hard at all once you understand the whole thing. It’s all about dealing with the request and giving the corresponding response. I’m glad to be given this chance to work on the REST API and get to understand how the whole thing really works. On top of that, Read more

Halfway Point

This week marks the mid point of my internship. This week I managed to implement the basic structure of the C++ Driver with structs and functions prototypes being defined in a header file, the functionalities in C source code, and finally all put together via a wrapper class using a HPP header file. Moreover I’ve rewritten the GPIO and MSPI drivers following this file organization. This exercise has thought me a lot about good formatting when write code as well Read more

The Frightening Project Code

This week I have been learning a lot of random stuff. On my first day of the week, I tried to build the project and run it. I’m really impressed on how the whole thing is built up like login authentication and the interface with google drive. Though the whole thing looks simple, the code embedded in it is actually sophisticated and is terrifying to read. Reading and understanding the project code written by previous interns is not an easy Read more

At last, progress!

This week began very slowly as I had to quickly learn up on how computers worked, therefore I set out to finish a text book by A. Tanenbaum on Structured Computer Organization recommended by Dr. Shawn which I’ve previously only read 3 chapters. It turned out to be useful as in writing C++ drivers as some topics in the book did shed some light on it. As I started to work on the drivers, I failed terribly the first time Read more

An eye-opening internship

Working in Aeste Works is a unique experience that you rarely get in anywhere else. The task here is rather challenging and learning curve is never flat. I have definitely learnt a lot of skills from Aeste. Starting from a knowing-C-only student, I get to learn building a web application by using C++ and integrating different i/o modules onto fpga. I am very grateful that I get to learn both software and firmware from this position. The skill set that Read more

Working with jQuery

After fixing the bugs from last week’s work, I proceed to automate simulation on gutter click. Before I start to code, i studied about jQuery and learn about how requests work. Then, I started off with my first task of the week, that is to retrieve a file from the back-end. This task became easy with the help of an existing REST API. I use a jQuery Ajax method to interact with the REST API and then the file will Read more

Wrapping Up the Application

Continuing as an extension of the front-end from the previous week, I continued my Javascript marathon with coding up the head judge and attendance roles. Succumbing to temptation, I started off with the attendance role as it was trivial enough to be done in an hour or two which left me with the not so trivial head judge UI. Now, this took a while with the addition of new features for custom prizes and sorting on the front-end but was Read more