ProCodeCG – Private Coding Class – Online – Python Programming – Day #1

Standard

Day #1 of Python Programming Private Class, we learn about basic principles of programming

Screen Shot 2020-08-03 at 10.05.56 Screen Shot 2020-08-03 at 10.06.03

Screen Shot 2020-08-03 at 10.07.01 Screen Shot 2020-08-03 at 10.08.35

Screen Shot 2020-08-03 at 10.09.08 Screen Shot 2020-08-03 at 10.11.53

Screen Shot 2020-08-03 at 10.12.03 Screen Shot 2020-08-03 at 10.13.36

and then we use Google Colab to make it easier to compile, create documentation and share the code

Screen Shot 2020-08-03 at 10.15.49 Screen Shot 2020-08-03 at 10.18.01

Then we start to practice all of the principles :

Sequence

Screen Shot 2020-08-03 at 10.21.37 Screen Shot 2020-08-03 at 10.25.32

Looping

Screen Shot 2020-08-03 at 10.27.59

Conditionals

Screen Shot 2020-08-03 at 10.36.14

Screen Shot 2020-08-03 at 10.38.53 Screen Shot 2020-08-03 at 10.44.47

Screen Shot 2020-08-03 at 10.48.03

Data types

Screen Shot 2020-08-03 at 10.50.18

Screen Shot 2020-08-03 at 10.57.29

Functions

Screen Shot 2020-08-03 at 10.59.30

Screen Shot 2020-08-03 at 11.04.22 Screen Shot 2020-08-03 at 11.07.00

Screen Shot 2020-08-03 at 11.09.56

and then combine all of the principles altogether

Screen Shot 2020-08-03 at 11.20.06

what we have learned so far 😉

Screen Shot 2020-08-03 at 11.25.20 Screen Shot 2020-08-03 at 11.21.32

Screen Shot 2020-08-03 at 11.25.59

On the next class we will learn some simple implementation of data science with Python 🙂

ProCodeCG – Private Coding Class – Creating Games – Day #3

Standard

The last day 😉 Maxime learns more about basic programming principles with CodeCombat

Screen Shot 2020-07-30 at 10.01.24

CodeCombat is like a game but it actually teaches you how to code 🙂

Screen Shot 2020-07-30 at 10.05.04

you will learn about programming concepts along the adventure

Screen Shot 2020-07-30 at 10.07.44 Screen Shot 2020-07-30 at 10.08.10

Screen Shot 2020-07-30 at 10.13.54 Screen Shot 2020-07-30 at 10.14.44

Screen Shot 2020-07-30 at 10.19.28 Screen Shot 2020-07-30 at 10.23.22

Screen Shot 2020-07-30 at 10.25.02 Screen Shot 2020-07-30 at 10.26.00

Screen Shot 2020-07-30 at 10.28.36 Screen Shot 2020-07-30 at 10.31.11

Screen Shot 2020-07-30 at 10.32.01 Screen Shot 2020-07-30 at 10.42.25

Screen Shot 2020-07-30 at 10.33.15 Screen Shot 2020-07-30 at 10.50.00

Screen Shot 2020-07-30 at 11.04.15 Screen Shot 2020-07-30 at 11.08.57

Screen Shot 2020-07-30 at 11.14.48 Screen Shot 2020-07-30 at 11.15.54

Screen Shot 2020-07-30 at 11.19.33

and then we get back to Game Maker Studio and finish Maxime’s Simple Shooting Game 🙂 Hope that what we have learned so far will be useful for you Maxime, until next time 😉

Screen Shot 2020-07-30 at 11.42.17

ProCodeCG – Private Coding Class – Algorithm & Data Structure – Day #5

Standard

The last day of private class on algorithm & data structure 😉 Today we learned more about frequency analysis

Screen Shot 2020-07-28 at 12.01.14

we learned of to trim out unwanted symbols and whitespaces etc.

Screen Shot 2020-07-28 at 10.25.00

Screen Shot 2020-07-28 at 10.47.32

we learned about regex and data preprocessing

Screen Shot 2020-07-28 at 10.47.40

and how to sort a dictionary in ascending or descending orders

Screen Shot 2020-07-28 at 10.50.49 Screen Shot 2020-07-28 at 10.53.55

Screen Shot 2020-07-28 at 10.57.34

the result 🙂

Screen Shot 2020-07-28 at 10.57.37

then we moved on the learn about graph

Screen Shot 2020-07-28 at 11.19.46

about json and xml

Screen Shot 2020-07-28 at 11.19.53

how to parse data from json

Screen Shot 2020-07-28 at 11.20.00

the example is crawling data from instagram and count the appearance of words in caption correlated with a hashtag

Screen Shot 2020-07-28 at 11.27.02

Screen Shot 2020-07-28 at 11.27.46

then we started to built our own simple graph

Screen Shot 2020-07-28 at 11.37.34

Screen Shot 2020-07-28 at 11.39.02

and analyse the representation in our head compared to the code 😉

Screen Shot 2020-07-28 at 11.51.01

Screen Shot 2020-07-28 at 11.49.36

graph is basically built with dictionary

Screen Shot 2020-07-28 at 11.52.12

we are finding the shortest path from one node to another 😉

Screen Shot 2020-07-28 at 11.56.53

this is the result

Screen Shot 2020-07-28 at 11.59.08

same with we figured out manually 😉

Screen Shot 2020-07-28 at 11.59.24

these are the files from our 5-days training 😉 well-documented 😉 hoping that the class is useful for you James! until next time 🙂

Screen Shot 2020-07-28 at 12.00.47

ProCodeCG – Private Coding Class – Algorithm & Data Structure – Day #4

Standard

Today we reviewed about data structures in Python, comparing sorting algorithm and then start to learn about searching algorithm.

We started with a simple code to search one element out a list

Screen Shot 2020-07-23 at 10.47.09 Screen Shot 2020-07-23 at 10.55.05

and then find the position

Screen Shot 2020-07-23 at 11.00.25 Screen Shot 2020-07-23 at 11.01.32

then we learned about simple caesar cipher because we want to do frequency analysis to implement our new skill about dictionary and searching

Screen Shot 2020-07-23 at 11.05.57 Screen Shot 2020-07-23 at 11.07.04

Screen Shot 2020-07-23 at 11.10.28

Screen Shot 2020-07-23 at 11.17.32

we started the frequency analysis code with a simple code to count occurrence of an element in a list and also learn how to use a dictionary

Screen Shot 2020-07-23 at 11.19.01 Screen Shot 2020-07-23 at 11.19.33

Screen Shot 2020-07-23 at 11.21.03 Screen Shot 2020-07-23 at 11.25.08

Screen Shot 2020-07-23 at 11.34.12 Screen Shot 2020-07-23 at 11.40.22

and we need to sort it

Screen Shot 2020-07-23 at 11.43.16 Screen Shot 2020-07-23 at 11.44.05

we have found way to count each distinct element of a list with associative array a.k.a dictionary

Screen Shot 2020-07-23 at 11.55.40

this is the homework 😉 we’re going to finish the frequency analysis code next week before we explore more about tree and graphs 🙂

Screen Shot 2020-07-23 at 12.00.37

ProCodeCG – Private Coding Class – Algorithm & Data Structure – Day #3

Standard

Day #3 of Algorithm & Data Structure Private Class 🙂

We went through the homework about nested loop

Screen Shot 2020-07-21 at 14.07.44

Screen Shot 2020-07-21 at 14.09.07 Screen Shot 2020-07-21 at 14.09.59

Screen Shot 2020-07-21 at 14.12.08 Screen Shot 2020-07-21 at 14.15.00

Screen Shot 2020-07-21 at 14.18.44

and then we learned about simple sorting

Screen Shot 2020-07-21 at 14.26.10 Screen Shot 2020-07-21 at 14.29.18

then we develop the code from scratch, starting with the swap function

Screen Shot 2020-07-21 at 14.33.41 Screen Shot 2020-07-21 at 14.41.08

then we started with only three numbers to sort

Screen Shot 2020-07-21 at 14.44.26 Screen Shot 2020-07-21 at 14.51.47

Screen Shot 2020-07-21 at 14.54.16 Screen Shot 2020-07-21 at 14.57.44

Screen Shot 2020-07-21 at 15.03.11 Screen Shot 2020-07-21 at 15.17.17

Screen Shot 2020-07-21 at 15.27.41

then we create the code for more numbers and it worked 😉

Screen Shot 2020-07-21 at 15.34.03

Screen Shot 2020-07-21 at 15.47.15 Screen Shot 2020-07-21 at 15.49.31

Screen Shot 2020-07-21 at 15.51.03 Screen Shot 2020-07-21 at 15.57.34

Screen Shot 2020-07-21 at 15.58.26 Screen Shot 2020-07-21 at 15.59.31

will learn more about sorting and searching in the next class 🙂

ProCodeCG – Private Coding Class – Algorithm & Data Structure – Day #1

Standard

Today we learn about programming languages, datatypes and basic principles of programming: sequences, looping, conditionals dan functions 🙂

Screen Shot 2020-07-14 at 10.46.55

we started with looping

Screen Shot 2020-07-14 at 10.53.02

and then operators

Screen Shot 2020-07-14 at 10.54.41

and then conditionals

Screen Shot 2020-07-14 at 11.01.17

functions

Screen Shot 2020-07-14 at 11.05.21

then we did some challenges 🙂 this one is how to determined whether a number is prime or not

Screen Shot 2020-07-14 at 11.09.13

Screen Shot 2020-07-14 at 11.10.39

we learned different techniques and logics to solve the problem

Screen Shot 2020-07-14 at 11.19.26

comparing different codes

Screen Shot 2020-07-14 at 11.22.32

and modify it to be able to display list of prime numbers in a certain ranges 🙂

Screen Shot 2020-07-14 at 11.31.34

we’re going to learn about data structures in the next class 😉

ProCodeCG – Private Training – Object Classification with Tensorflow – 11 Sept 2019 – Day #4

Standard

Day #4 🙂

We finally figured out all errors and managed to make Tensorflow learn our own datasets 😉

IMG_2860

IMG_2861

Lots of things is going on, so many files to be modified

Screen Shot 2019-10-11 at 19.20.51

Screen Shot 2019-10-11 at 18.57.41

we’re going to make a proper notes and tutorial for this long and tiring process 😀

Screen Shot 2019-10-11 at 18.57.29

Screen Shot 2019-10-12 at 22.33.47 Screen Shot 2019-10-12 at 16.34.32

Screen Shot 2019-10-12 at 11.16.14 Screen Shot 2019-10-12 at 11.08.14

IMG_2858

We’re going to add more datasets and categories next week 🙂

ProCodeCG – Private Training – Object Classification with Tensorflow – 26 Sept 2019 – Day #3

Standard

We have installed Tensorflow and the dependencies to do object recognition and object counting. Today we started to collect our own data and do labelling so we can start do training with our own data set

IMG_1807

it requires lots of steps and lots of time 😀

IMG_1808

IMG_1809 IMG_1810

we have to resize all the images and label the image before feeding it to the learning system

Screen Shot 2019-09-26 at 20.07.57

We started with very few data set and going to how the result is. And then we will add more data and do classifications.

IMG_1811

Great progress for today 🙂 We still have 2 more sessions and we’re going to finish the target by then 🙂

ProCodeCG – Private Training – Malware – 12 Sept 2019 – Day #1

Standard

Day #1 of Malware Private Training 🙂

Today we learned about what malware are, how do they infect, how do they hide, how do they propagate, and how to detect them in general 🙂

We tried to infect some files with our own virus too 😀

Screen Shot 2019-09-13 at 11.06.54

a virus in Python

Screen Shot 2019-09-13 at 11.07.23

the anti-virus

Screen Shot 2019-09-13 at 11.07.23

and we also take a look on how to dump some hex for a file 😀

Screen Shot 2019-09-13 at 11.15.23

we’re going to use Python for learning the general ideas and algorithms, but later we will use C to be able to access lower level 😉

IMG_0797

Next week we’re going to do more investigation about viruses and dissect them 🙂