Logboek - RooyyDoe/functional-programming GitHub Wiki
Daily Look Back
I want to keep this page up to date with my everyday work, struggles and progress. I will do this on a daily basis, so whenever I am finished with my day I will take a couple of minutes to write a summary of that day. This allows me to continue more easily the next day by rereading this summary.
Monday 4 Nov 2019
This day I started working on the new project. We got an introduction to the project by Rick, he explained that he was making an exhibit where he wanted to show how many objects they really have compared to the objects that are on display in the museums. He gave us a couple of options that we could work with for the assignment. After this presentation I started working on my concept and did a bit of research on the collection database of the museum. When I had written down my concept and talked about it with some class mates I started to look for a chart that could fit exactly what I wanted. I finally chose the Radar Chart. This chart was going to help me get a good visualization of the concept that I have. I started drawing and sketching and will finish that tomorrow.
#NewCourse #HypedForD3 #QueryTime...
Tuesday 5 Nov 2019
Today I finished my sketching for the pitch that we needed to do in the afternoon. It was a pretty busy day with a lot of lectures about code and functional programming. We got an assignment to clean up the enquete that we filled in for data visualization. We needed to do this by making use of functional programming and show/explain this on Friday. I finished my concept and wrote it down in my wiki. After this we needed to pitch and I pitched my idea to Rick. He asked me a couple of questions and said that it was a good concept. So when this was over we had another lecture about cleaning up data and after that I started working on my query but I got stuck and it was time to go home.
#GoodConcept #StructuredWork #SparQLHeadache
Wednesday 6 Nov 2019
On this day I started working on the real functional programming (Cleaning my Sparql data). I made a couple Sparql queries and spoke with Thijs Spijker about how I should obtain my data and he explained to me that I could make a couple of different queries that would give me back all the continents and all the main categories and then I needed a count of all the objects in the categories and sub categories. For my project I will probably have to use three queries. These query results are going to get cleaned by javascript. The progress I am making in this project with cleaning data will be better explained in another chapter of this wiki. Whenever I got stuck or needed an explanation for something that I did not understand, Thijs Spijker helped me out and I am thankful that he did all this!
#FunctionalProgramming #GotSomeHelp #GotShitWorking
Thursday 7 Nov 2019
This day I wanted to document all my progress I made on the functional programming and add comments to the code I made. This day I did not feel that well and therefore did not do that much work. I also stayed at home for the day what wasn't the best idea because of the many distractions. Anyway I tried to work on my wiki page and the code comments so that I could show my progress on Friday.
#LazyDay #FeelingSick #NoSleep
Friday 8 Nov 2019
This day we had the first formal evaluation. We needed to show our progress and what we have done this week. In the morning I wanted to keep working on my Wiki/Readme, because although I had a lot of code done I had forgotten to document it all. So I needed to go back to step one and redo my process again. This helped me understand my code even better. Now I knew how to fix the problems that I was having issues with before. You can really see that if you just write everything down it is easier to remember all the different steps in the coding process. After the evaluation the teacher told me that I was doing just fine and that I needed to fix some code issues and just keep working and don't stop. He also told me that my D3 radar chart was very easy to use.
#FinallyWeekend #BeersForEveryone #MuchWorkToDo
Monday 11 Nov 2019
This was the day we needed to work at the HVA in Amsterdam. We had a lecture of the dataweek that lasted for two boring hours from 10:30 till 12:00 and after that we started around 12:30 with the class. We had a small room on the HVA and almost no outlets. Then the teacher also held a lecture that lasted for two hours and he finished around 15:00 and it was almost the end of the day. I was so tired of all the talking and information that I couldn't get any work done. The only thing I have done this day is researching my D3 chart and how I needed to get this chart to work in my own code. This worked out so hopefully, when I finish cleaning my data, I can do this and finish this course.
#BrainFart #Mondayss... #WastedByInformation
Tuesday 12 Nov 2019
This day I started with further cleaning my code and trying to get the exact data structure I need for D3. I started deleting my IIFE and tried to make use of the .then chain with promises and async. I am very new to this and I am still having trouble with understanding what some features of my code do and I am scared that I can't explain it in the right way. I got close to finishing my cleaning process to get the data structure I needed, but there were some flaws in my code that I don't really understand and it is still not completely done. I still need to get the object into an object structure and for this I need to use two foreach or a for loop and a foreach. However, my teacher told me that I needed to do this differently. This was because it wasn't a clean functional code. I think I am just going to do it anyway, I have no other options that I know that work and I asked around in my group and they also don't know anything that I can use in my code.
#Headache #HeavyCodingDay #LoveThijs<3
Wednesday 13 Nov 2019
This day I kept working on cleaning my code and getting the exact data structure that I want. I am really having big troubles with the functions and code I am working with. I think I took it to a way to high level for me to achieve what I wanted to achieve. It is not that I am going to give up, but for the next time I need to have a closer look at what I need to do for coding and functional programming. I am still learning a lot of friends and teachers explaining things to me and I also learn a lot from testing the code and trying to get it to work. After a while I finally fixed one of my problems and now I can count up all the objects into one value and have 19 of them in one array. Now that I have all the values I need to figure out how to put them all together in one structure.. I am a bit stressed that I am not going to finish my project in time.
#StressedForTheEnd #NeedAnMiracle #FuckMyLife
Thursday 14 Nov 2019
This is the last day that I can finish my final product. Well I can work on it tomorrow as well but I need to get as far as possible. I am behind and I am still having trouble with my code and getting the exact data I need. At the end of this day I reached my goal and got the final structure I needed. Now I only need to add some extra structure to get the percentages out of the counts. I am kind of happy but also not at the same time. It is evening now and I still need to do a lot of work and I am kind of scared that I am not going to finish everything in time before tomorrow. I still need to edit my functional cleaning page on my wiki and add the new process I made. Next to that I still need to load all my code into D3. Hopefully I can get this done wish me luck....
#Scared #NeedMoreTime #NoTimeToFail