Intimate Session with Wt

For this week, I’ve worked on several different things, mostly to complete the linking between schematic, compiler and processor simulator. To communicate among the components, I have used emit() in Wt which implement the signal and slot system. Jsignal and Jslot The signal and slot system allows user to send up to 6 arguments. In official Wt documentation, there is little elaboration on how to perform the Wt.emit function. In any web application, it is important to send information among Read more

HOTP for Wt

This is my sixth week of intern in AESTE. I started the week with discussing with Maisha on how should I get started on using Wt. She taught me some of the basic stuff of Wt and with the help of Peter, they set up a simple Wt Application template for me to write my HOTP library on the template and also so that my work will not conflict with theirs. I am really fortunate because all my current colleague Read more

Just so close

The struggle is real. As mentioned before, considering the fact that Dropbox is only created to support Javascript, Python, Ruby, HTTP etc. So there is faint hope of these being anything similar to what I am working on- witty, a library of C++. So their documentations are quite irrelevant to my case. Since the basic concept is the same, I have been using the HTTP documentation for reference. Initially in the week, I was struggling to grasp the idea of which part Read more

Creating an IO object in Javascript

Creating an IO object After nearly giving up and getting some hints from Dr. Shawn, I finally achieved my small task. As I am working on a virtual processor in Javascript, I am required to enhance the LW and SW instructions to be able to handle IO instructions on port-mapped addresses. There are a set of predefined addresses which are used to store the information of the IO. So, it is important that the IO addresses are being handled correctly. Read more

Hardware Implementation of Demosaicing Algorithm

This week I was assigned to draw the schematic for the demosaicing algorithm. The algorithm is separated into two parts, which is bilinear interpolation in the boundary of image, and PPG interpolation for the rest of image pixels. The Overview of Demosaicing Schematic The hardware implementation of the demosaicing requires the storing of pixels information in buffers (RAM), processing, and finally output in RGB form. As I was finding the way to store the buffer, I found that there is Read more

PIC18 SHA1/MD5 Performance and Internal Flash Storage

This is my fifth week of intern in AESTE. Continuing with synchronizing SHA1 for CLIENT and SERVER also added HMAC-MD5 into my project. The code to generate a HMAC-MD5 is exactly the same with the code I written for HMAC-SHA1 just slight different in the Hash function used (which is based on HASHES.c from TCPIP Stack provided by Microchip). After having both MD5 and SHA1 capable of producing HOTP value, I did some performance test for this 2 hashes, the Read more

Justify Demosaicing Algorithm

This week, I spent my time to understand and test the demosaicing algorithms in C. Finding the Right Algorithm I had done a lot of searching through the Internet, try to figure out what is the best algorithm to be used, and implement it in C program so that I could test it and visualize the effect of it. There are many open source software that provides demosaicing, such as Darktable, RawTherapee, and TISCamera. RawTherapee has a default demosaicing algorithm, Read more

Race Against Time

This week of mine was a bit short for the Eid (Hari Raya) holidays. It is never the best feeling to have Eid away from home and family, but we all try to make the best of what situation we are in. Anywho, this caused the progress of my project to be slower than other weeks. Getting back to my work, my project can now successfully retrieve access_tokens, token type and uid, which are unique generated id from dropbox server Read more

PIC18 SHA1, HMAC-SHA1 and HOTP Generator

This is my Fourth week working in AESTE and i got my PAY!!! Woots~ I’m starting to get comfortable and used to the working environment here, everyday having something to look forward to is really fun. Well for this week I continue on the topic about implementing HOTP. SHA1 calculation was successfully tested and very straight forward to implement just type the following code (with HASHES.c and HASHES.h library included) BYTE TEST1[] = “abc”; HASH_SUM sha; SHA1Initialize(&sha); //HashAddData(&sha,”abc”, 3); //not Read more

Fun with Javascript

Fourth week my internship in Aeste has officially passed, I must admit it is a pleasure working here. I spent the week continuing my work on achieving my first task, which is to integrate IO signals to jointJS. Last week, I talked about generating text files using boost::filesystem. The file was generated in the JSON format which listed some important data. Initially, I planned to use Wt Json library to transmit the data to the Javascript component but my colleague Read more