Slide 1

Slide 1 text

Golang Tokyo 2019/10/24 Evan Lin

Slide 2

Slide 2 text

Evan Lin • Golang Taipei Co-Organizer • LINE Taiwan Developer Relations • Go GDE LINE Technical Evangelist

Slide 3

Slide 3 text

• Golang.tw Golang Taipei • https://github.com/golangtw • Start from 2013. • ~ 7000 participants on Facebook group • https://www.facebook.com/groups/269001993248363 • Monthly meetup (~50) • https://meetup.com/golang-taipei-meetup/ Introducing Golang Taipei

Slide 4

Slide 4 text

Introducing Golang Taipei

Slide 5

Slide 5 text

Introducing Golang Taipei

Slide 6

Slide 6 text

My history background

Slide 7

Slide 7 text

Windows Application Developer 10+

Slide 8

Slide 8 text

Web application development Surveillance Smart Home

Slide 9

Slide 9 text

Our Tech Stack. (before)

Slide 10

Slide 10 text

My (ex) boss told me.. ここにヒントがあります。 I have secret tip..

Slide 11

Slide 11 text

What is pokemon Go?

Slide 12

Slide 12 text

What is Go • Create by Google • Design by • Ken Thompson • Rob Pike • Robert Griesemer, • Feature: • Compiled • Statically Typed • Garbage Collection

Slide 13

Slide 13 text

Go is fast!

Slide 14

Slide 14 text

gofmt / goimport

Slide 15

Slide 15 text

In the meantime..

Slide 16

Slide 16 text

COSCUP (Conference for Open Source Coder, Users and Promoters)

Slide 17

Slide 17 text

COSCUP 2014 Have you met the Mr. Desktop? https://www.facebook.com/Mr.Desktop

Slide 18

Slide 18 text

COSCUP 2015

Slide 19

Slide 19 text

Can’t get the ticket?

Slide 20

Slide 20 text

My friend told me the tip ここにヒントがあります。 I have secret tip..

Slide 21

Slide 21 text

Conference Speaker is who cannot get ticket willing to share! - anonymous

Slide 22

Slide 22 text

But, I don’t have topic!

Slide 23

Slide 23 text

So, I found this.. https://speakerdeck.com/jeffersonlam/reflections-from- 52-weeks-52-projects

Slide 24

Slide 24 text

https://speakerdeck.com/jeffersonlam/reflections-from- 52-weeks-52-projects

Slide 25

Slide 25 text

Project 52 Go Challenge

Slide 26

Slide 26 text

Project 52 Constraints • The project could be small or big, but it should be something new not just refactoring an old project. • Don't need to create brand new project, you could rewrite some exist project. (but on your own way, not allow to fork and refine.)

Slide 27

Slide 27 text

Let’s start Project52..

Slide 28

Slide 28 text

1. goFBPages

Slide 29

Slide 29 text

2. goInstagram

Slide 30

Slide 30 text

3. iloveptt

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

Write what you interest first!

Slide 33

Slide 33 text

Tools in project 52

Slide 34

Slide 34 text

mstranslator Github: https://github.com/kkdai/mstranslator

Slide 35

Slide 35 text

mstranslator Github: https://github.com/kkdai/twitter

Slide 36

Slide 36 text

youtube Github: https://github.com/kkdai/youtube

Slide 37

Slide 37 text

Oxford-face Github: https://github.com/kkdai/oxford-face

Slide 38

Slide 38 text

Oxford-face-cli Github: https://github.com/kkdai/oxford-face-client

Slide 39

Slide 39 text

Oxford-emotion Github: https://github.com/kkdai/oxford-emotion

Slide 40

Slide 40 text

Slack-bot Github: https://github.com/kkdai/slack-console

Slide 41

Slide 41 text

Other tools A github notification (starred, follower, followed) RSS feed in Golang A simple Github Status RSS feeder server in Golang plurk-makerserver: IFFF maker server for plurk

Slide 42

Slide 42 text

Algorithm and Data Structure Github: https://github.com/kkdai/slack-console

Slide 43

Slide 43 text

KMP – blog post https://www.evanlin.com/about-kmp/

Slide 44

Slide 44 text

Google Maglev – A Fast and Reliable Software Network Load Balancer Github: https://github.com/kkdai/maglev

Slide 45

Slide 45 text

Other algorithms Github: https://github.com/kkdai/paxos https://github.com/kkdai/raft PAXOS Raft

Slide 46

Slide 46 text

Other algorithms and data structure - more PubSub Bloom Filter Radix Tree jsonop Skip List Consistent Hashing Trigram Ngram React-Diff Aho–Corasick Algorithm

Slide 47

Slide 47 text

Networking DiskQueue CoAPMQ CoAP PubSub

Slide 48

Slide 48 text

Useful tools?

Slide 49

Slide 49 text

LINE Bot - Taipei Pet Need Me Github:https://github.com/kkdai/LineBotPetNeedMe

Slide 50

Slide 50 text

Let’s stop here.. Github:https://github.com/kkdai/project52

Slide 51

Slide 51 text

Wondering how to find those topics?

Slide 52

Slide 52 text

Learn from guru (experts)

Slide 53

Slide 53 text

Learn from guru (experts)

Slide 54

Slide 54 text

Using Trello to record your ideas

Slide 55

Slide 55 text

Spending more time on developer SNS github

Slide 56

Slide 56 text

What happen after I finished Project 52 試験は100パーセントテストされています

Slide 57

Slide 57 text

What happen after I finished Project 52

Slide 58

Slide 58 text

What happen after I finished Project 52

Slide 59

Slide 59 text

What happen after I finished Project 52

Slide 60

Slide 60 text

How I became Go GDE l learn Go • Blog post (weekly) • Write all LINE API example with Go • Learn new Go feature • SHARE! SHARE! SHARE!! With everyone

Slide 61

Slide 61 text

How to write more blog posts • Start from learning note. • TIL (Today I learn) is the best practice. • Writing is the best way to learn deeper.

Slide 62

Slide 62 text

Writing LINE API with Go

Slide 63

Slide 63 text

Learn new Go features • Learn new features using `go get` • Learn from document • Write related into your language TIL.

Slide 64

Slide 64 text

SHARE! SHARE! SHARE!!

Slide 65

Slide 65 text

SHARE! SHARE! SHARE!! • Meetup approach learning • Share >>> Learn • Open mind

Slide 66

Slide 66 text

SHARE! Your turn! [email protected]

Slide 67

Slide 67 text

Golang 10 Anniversary Taipei • 2019/11/05 (Tue) • Google Taipei Office

Slide 68

Slide 68 text

LINE Engineering

Slide 69

Slide 69 text

Thank you 一気飲み

Slide 70

Slide 70 text

10 Anniversary Taipei Gopher stickers