Day 4: React and maybe some D3?

Wellllllllll…..

I finally finished my game of life!! I didn’t think it would be too hard. It actually turned out to be quite hard… There were some bugs that I wasn’t planning on having. Some of the states weren’t getting transferred and copied cleanly… So I had to think of other ways of getting around this problem (or I mean unintentional feature). I’m quite proud of it. It’s actually quite a cool project. I’m happy that I spent the time on it, now I just need to spend some time styling the background for it, then it is basically done! Rather than trying to attempt the dungeon crawler game that is the last react development project I am now attempting D3, for a while before I go and finish the last react project.

D3 is much different than I thought it would be. I thought it would be something like react. Nice and simple to work, and something like a framework where I just inputted the data and out came a graph! Boy I was wrong… It’s basically JQuery for graphs. Essentially it’s all about adding and removing css attributes. For example you select all bars (in a bar graph) and give them a certain height or color. You also manipulate the data essentially using iterators and callbacks. It’s quite neat but will take a while to get used to I guess. Then again loads of people have done this before so why shouldn’t I be able to do it.

I will see you tomorrow after some more development!

Day 3. Recipe box complete!

Hi all!

Welcome to the fourth day of 100 days of code. Yes the title is confusing, but guess what I’m a computer scientist, and so I start counting at 0. Not really but I thought just for the fun of this series I thought I would start counting at 0… It’s actually quite annoying because I had to think about what day I was writing about. From that point of view it’s actually quite annoying. However today has been a good day!

I have completed, at least the logic part of my recipe box application. So it all works quite smoothly now. I’m actually alright at coding in react now, I mean I am by no means an expert, but I’m getting the basic grasps of it now. I just need to work a lot on some of my front end designing. It’s very poor. For this I guess I just need to spend some time designing all my projects… For this I need to get the basic grasps of image editing software namely GIMP. It’s free and opensource. Moreover it also runs on linux which is the operating system I am currently running. Not many other photo editing softwares run on linux so I’m not left with much choice. But GIMP is very good, it’s actually quite a good photoshop alternative.

The next challenge that I have been presented by the freecodecamp community is the replication of the game of life. See the link for details on what the game of life is.

I made good progress with this application, however I have already run into my first road block. It seems that every iteration that is currently completed, all the cells are dead within the first iteration…I guess I will have a look at this tomorrow.

post.close();

Day 2, react react and more react.

Hi All,

Well today I’ve cracked on with a lot of react. I got past the problems I had yesterday and I feel like I made a lot of progress. I feel like I can now finish this project tomorrow, which will be good. I feel like the game of life shouldn’t be too hard. Of course it will be difficult, but how hard can it actually be? First lets finish the recipe box project. I firstly had to learn about all the localstorage and how that will work. I feel like I have a good grasp of that concept now and should be able to use it more freely and usefully. Moreover I feel more and more confident with react, day by day I learn more and become more comfortable with using it. It really is a great framework for JavaScript. I especially like ES6. Moreover facebook just recently released a post that states that they will release their framework (React) under the MIT license (i think). Here is the link This is actually quite cool as before hand it had been released under the BSD + patents license. This meant that anyone who uses their framework and tries to sue facebook, for whatever reason, has a very poor case and most likely will lose. Moreover if the company who has coded their software in React, will seem less attractive to companies like google and microsoft, as this will disallow them to to sue Facebook as well. However this on the other hand has made lots of companies shy away from using react. Hence why PREACT and Infernojs were really born.

I feel like this blog has made it’s two cents.

See you tomorrow for some more React Updates!

post.close();

Day 1

Hi Readers,

I have now finished my second day in my #100daysofcode challenge. Today wasn’t great, I really struggled with lots of things. Firstly I had a problem whenever I tried running “`npm start“`. That took me quite a while to try and fix. Then after that I tried coding the Recipe Box challenge of Freecodecamp. However I wasn’t sure how to do the popup window neither did I know how to do the collapsing list. So I spent some time learning about these two things and found some bootstrap libraries which I could use for the Modal (which is the popup window essentially).

Moreover I tried to gain access to Upwork again, however I keep getting denied, I’m not sure why, but I will keep persisting. I really want to finish the recipe box by tomorrow so I can move onto something more interesting!

Thank you for reading this post, I mean it’s quite boring but I feel I made some basic progress!

post.close();

Day 0: 100 Days of code.

Hello,

I guess it’s been a long time since I’ve posted last but I wanted to get back into it. I feel like I wanted to post something and to challenge myself. So I guess for the next 100 days I will embark on the journey of coding each day.

I will try and get a blog post out for every day, and keep you guys posted!

Just recently I recieved my front-end development certificate from Freecodecamp, so I guess by their standards I am a front-end developer already. However if I want my websites looking peng, and not as bad as they currently look, I still need lots and lots of practice. I now embark on the data visualisation and react projects. I’ve already dabbled in a bit of react. However I haven’t really looked at things like Redux/Flux and plus I still can’t write a proper back-end. I really want to get stuck into databases and back-end work. I can already code in Java and Python, but I would like to learn some Node.js/PHP. I would also like to develop an application in each of the languages I can write a backend in. Java being one of my favourite languages. I’ve signed up for another hackathon in a couple of weeks, so that is another thing to look forward to and get stuck into.

System.out.println(“See ya tomorrow, I’m out.”);
post.close();

System.out.println(“Hackathons”);

Hello World!

This will be my first blog post that I have written, it’s one thing that I have always wanted to try and now I am stepping out of my comfort zone to give it a shot. So here it is:

A Hackathon is a design sprint-like event in which computer programmers and others involved in software development, including graphic designers, interface designers, project managers, and others, often including subject-matter-experts, collaborate intensively on software projects. I was luckily given an invitation to this prestigious event, which was all about creating technology, in 36 hours, revolving around ‘Fintech’ in Africa. This allowed me to step out of my comfort zone as I haven’t really thought about applying technology into the finance sector before this allowed me to hugely develop myself and improve my skill set.

I mean the title of this post is ‘Hackathons’, however I wanted to more broadly talk about stepping outside of your comfort zone. This has been a particular interest of me throughout the past year, after discovering a youtube channel called, ‘Yes Theory’. These guys make insanely good videos and if you’re lacking motivation or need some persuasion I would definitely recommend you go check them out. The most recurring theme within their videos seems to be something along the lines of ‘seek discomfort’. I strongly agree with this statement, and have been exploring this statement over the past year.

I believe that when we step out of our comfort zones, we are able to learn so much. Whether this (in the case of the hackathon) be:
– Meeting new people
– Learning to work in a group
– Learn how to work with new technologies
– Improving your pitching and persuasive ability.
Moreover these new situations give you the opportunity to learn something new and apply it to a real world problem, which in the case of technology is a very useful skill.

This hackathon has definitely opened my eyes to new opportunities and showed me how technology could be successfully applied to something like the financial sector in developing countries and continents such as Africa, as well as giving me the opportunity to meet so many awesomely talented people.

I want to thank the organisers at Angelus Consulting and everyone else who made this event happen!

So I challenge whoever decides to read this post, try something new, step out of your comfort zone and develop yourself!

Peace

Leon.