Making pages fast
Yesterday, we had a fun day about optimisation. The idea is that we had pages that were loading in 20 seconds or more, and we had to find ways to fasten them.
What we got from that is, among others :
- Use SQL requests to order, group, etc… It is MUCH faster than getting everything from the database and sorting it in ruby or JS
- JS allows you to act as if you loaded everything even if you did not, USE THAT. Play with ajax, load only the titles, and when somebody clicks on a button, you load the rest!
At the end, all the pages were loading under 200 ms. Next part is destroying these pages to make useful ones instead haha.
Group projects
We just finished the weekend group project with Armando, Hunter, Chermaine, and Matthew. It was really a bread group, a great dynamic. We were very laid back, no stress or anything. We did finish what we wanted and even more, everything works, and we had clear, maintainable, and tested code.
Now with that being said, we have the final group projects coming on Thursday. People have been talking about it fo a bit now, sharing ideas that people are gonna pitch, checking them out…
I know I have a few ideas on my own, and I am interested in pitching them and then leading a group with that. I will not talk about them now, especially since they’re not that clear in my mind even now, but don’t worry… It’s coming ;)
Teaching
Yesterday, I ate with fiery skippers. I find it really amazing that people are so different from the cohorts we could see so far. They are a huge group of very knowledge hungry people.
During the weekend, I also spent a lot of time with them, trying to push them in the right direction to solve Sudoku, the challenge people complete in the first week.
I also spent a bit of time with phase 2 Golden Bears, trying to share what I know.
And yesterday, I spent an hour with Armando showing him a way to complete some Javascript exercise without feeling lost about being in a language he is not used to. In the end, I just showed him how to solve the problem in Ruby, a language he feels more comfortable in, and how to translate it to Javascript.
I loved teaching in Korea, and before that. I like to share my knowledge (which, if you follow the famous french saying, means that I have very little knowledge myself). And now I see that even here, I love doing that.
I love trying to explain things to people actually listening, and using what you are showing them.
I think that after DBC, I will try to be a coach. I think I can be a decent help, and have a lot of fun doing it!
Anyway, that is for in 2 weeks, which in DBC time means something like 2 or 3 months ^.^