Besut Kode seminar Lampung

Embed Size (px)

Citation preview

PowerPoint Presentation

Besut KodeSeminarLampung

John VandenbergMentor Wikimedia

https://github.com/jayvdbhttps://slideshare.net/jayvdb

WelcomeWikimedia is an Open Community

Do you want to become a programmer?

Do you like mathematics or natural science?

Then you need to code, and code well!

This workshop will show you a few tools, to help you get started.

WelcomeOpen ContentWikimedia is an Open Community

Do you want to become a programmer?

Do you like mathematics or natural science?

Then you need to code, and code well!

This workshop will show you a few tools, to help you get started.

WelcomeOpen SourceOpen Content

Wikimedia is an Open Community

Do you want to become a programmer?

Do you like mathematics or natural science?

Then you need to code, and code well!

This workshop will show you a few tools, to help you get started.

Wikimedia components

Do you want to become a programmer?

Do you like mathematics or natural science?

Then you need to code, and code well!

This workshop will show you a few tools, to help you get started.

Open Science = Open Data + Science

Session topics

Besut Kode programGoogle Summer of Code programBuild your GitHub profile

Besut Kode SMA: results

Besut Kode program

Registration Elimination Mentoring GSOC

Besut Kode program

Registration Elimination Mentoring GSOC

1. Set up online accounts:

2. Use online services:

1. Create your own Jekyll website2. Edit Wikipedia article3. Earn one Stack Overflow badge4. Solve three Project Euler problems5. Fix a small bug in a GitHub repository

Besut Kode program

Registration Elimination Mentoring GSOC

Task 1

Task 2

Task 3

Task 4

Task 5

Besut Kode program

Registration Elimination Mentoring GSOC

Task 1

Task 2

Task 3

Task 4

Task 5

Besut Kode program

Registration Elimination Mentoring GSOC

Task 1

Task 2

Task 3

Task 4

Regular GitHub activity: every three days

Besut Kode program

Registration Elimination Mentoring GSOC

Task 1

Task 2

Task 3

Task 4

Earnt three Stackoverflow badges

20

Besut Kode program

Registration Elimination Mentoring GSOC

Each participant builds a small block of a common problem.

You choose the color of your block.

Mentors help you make decisions,and identify quality problems.

Your block must be merged.

https://www.flickr.com/photos/lumaxart/2137737248/ CC-BY-SA

Besut Kode program

Registration Elimination Mentoring GSOC

February 2017JakartaApplication writing workshop

Mid-March 2017 FOSSASIASingaporeBuild connections

March 2017Submit application

https://commons.wikimedia.org/wiki/File:Olivetti_Valentine.jpgPublic domain

Google Summer of Code
Application review

Applicants

Reviewer/Mentor

Google Summer of Code
Application review

What are my questions when reviewing?

Which University are they from?

What projects have they done at University?

What programming languages do they know?

What is their IELS score?

How well written is the application?

Have they defined good milestones?

Google Summer of Code
Application review

What are my questions when reviewing?

Which University are they from?

What projects have they done at University?

What programming languages do they know?

What is their IELTS score?

How well written is the application?

Have they defined good milestones?

Google Summer of Code
Application Review

Google Stalking

Apa itu Git?

Git is the canvas on which you work and collaborate.Git is an open source distributed version control system (VCS).Git was created by Linus Torvalds, to help him build an operating system that you may have heard of, called Linux.

Git adalah

Github adalah situs web yang dibangun disekitar Git. Setiap orang harus tahu Git itu apa (terutama pemrogram perangkat lunak)

Github is website built around Git.Everyone must know git.

https://commons.wikimedia.org/wiki/File:Git_operations.svg GFDL

Apa itu Git?

Git adalah kanvas dimana Anda bekerja dan berkolaborasi

Git adalah distributor perangkat lunak terbuka dengan dengan sistem terkendali (VCS)

Git diciptakan oleh Linus Torvalds, untuk membantunya membangun sistem operasi Linux.

https://github.com/GitIndonesia/handbookhttps://github.com/endymuhardin/buku-githttps://github.com/endymuhardin/belajarGit

Git is the canvas on which you work and collaborate.Git is an open source distributed version control system (VCS).Git was created by Linus Torvalds, to help him build an operating system that you may have heard of, called Linux.

Git adalahGit mengelola berkas yang disunting oleh orang-orang dari seluruh dunia, dan memberikan setiap berkas identifiernya, sehingga setiap orang tahu versi yang mana yang mereka punya, dan bagaimana mereka bisa menggabungkan perubahan yang mereka punya dengan perubahan yang dilakukan oleh orang lain ke berkas yang sama.

Git manages files that are being edited by people all over the world, giving each copy its own version identifier. So each person knows which version they have, and how to merge their changes with other peoples changes, to the same file.

Apa itu GitHub?

Git is the canvas on which you work and collaborate.Git is an open source distributed version control system (VCS).Git was created by Linus Torvalds, to help him build an operating system that you may have heard of, called Linux.

GitHub.com35 juta repo

Publik : Sumber terbuka (Open Source)

Privat : Untuk komersil

125,000 baris kode (lines of code -LOC) diciptakan per hari

14 juta pengguna

Halaman GitHub hosting situs web gratis

Github has more than 14 million users and more than 35 million repositories. 125,000 LOC added per day.

It the largest host of source code in the world.

It also host websites on Github Pages.

GitHub.comRanking Global Alexa: 53

53rd most visited site on the Internet

Up 10 in last three months

i.e. was 63rd three months ago

GitHub.comThe same size as

Foursquare

Academia.edu

LiveJournal

1/2x the size ofFlickr

DeviantArt

2x the size ofWAYN

SoundCloud

Delicious

Bahasa Inggris

CompetitorsGitLab.com

BitBucket.com

Launchpad.com

SourceForge.com

CodePlex.com

Profil Github Anda

Your Github profile is your most important CV.

It doesnt lie.

It does not include information, such as I am a PLSQL programmer extrordinaire, but PLSQL is not in my github repositories as it is all commercial.

GitHub mempublikasikan metadata https://www.githubarchive.org/

And Github publishes their prime asset; thier metadata .

You can download it on Github Archive.

Statistik GitHub

http://octoboard.com/ (Defunct) on March 11, 2012People fetch the Github Archive data, and publish new statistics

Such as http://octoboard.com/ (Defunct) showing statistics as of March 11, 2012

https://web.archive.org/web/20150801193208/http://octoboard.com/

Github Awards - Indonesiahttp://github-awards.com/users?type=country&language=java&country=Indonesia

Another tool shows the most starred developers, per country

Notice faisalman, best in Bandung

Github Awards - Malanghttp://github-awards.com/users?type=country&language=javascript&country=Indonesia

Per city

Github Awards - mnafianhttp://github-awards.com/users/mnafian

If you are a startup company in Bandung, and you need a good developer, who are you going to call

Repo Indonesia yang keren

https://github.com/GitIndonesia/awesome-indonesia-repohttps://facebook.com/groups/GitHubIDAnother way to look for Indonesians is to look for Awesome repositories

This is an awesome github project, linking to all the other awesome github projects by Indonesians

This list is managed by the GitIndonesia organisation

GitHub bukan sekedar perangkat lunakPerangkat lunak (software) itu bukan hal istimewa, mereka hanya berkas

Publik atau pribadi (privat)

Publik:Data terbuka

Rumah terbuka

Perusahaan terbuka

Situs web terbuka

Tulisan

Terjemahan

Any thing you can legally share

Public domain, Creative Commons, and other Open Licenses.

Berbagi berkas di GitHub

https://github.com/CMAA/nova-organi-harmonia

The Nova Organi Harmonia , by German priest and musicologist Jules Van Nuffel

Organ accompaniments for Gregorian Chant

Berbagi berkas di GitHub

https://github.com/CMAA/nova-organi-harmonia

LilyPond transcription

LilyPond is a computer program and file format for music *engraving* , to make printed music look beautiful, accurately representing the original printing .

GitHub geospacial datahttps://github.com/tyohan/bandung-map-dataset

https://github.com/tyohan/bandung-map-dataset{"type": "FeatureCollection","features": [{"type": "Feature","properties": {"FID": 0,"KECAMATAN": "Sukajadi","WILAYAH": "Bojonegara","AREA": 5480185.146,"PERIMETER": 10298.719,"ACRES": 125.808,"HECTARES": 50.913},"geometry": {"type": "Polygon","coordinates": [[[107.57003930459555, -6.882494694920302],[107.57030879918078, -6.882441184395826],[107.5706591421416, -6.882753329036982],[107.57142271013309, -6.882922778899057],[107.57935483409187, -6.88047912766603],[107.5794716150788, -6.880505883039601],[107.57972314335836, -6.8813085435457255],[107.58231029137661, -6.880523719954478],[107.58210367886127, -6.879712139649211],[107.58218452723685, -6.879587281017616],[107.58802357658362, -6.877981952829806],[107.59081733711723, -6.878383285385431],[107.59183243338829, -6.878383285385431],[107.59219175950194, -6.878303018901451],[107.59281159704798, -6.877714397604333],[107.5933146536071, -6.877616293983891],[107.59383567647187, -6.877874930757695],[107.59473399175599, -6.878677595710719],[107.59478789067303, -6.879587281017616],[107.59670130222821, -6.879498096260649],[107.59796792677882, -6.881879323524487],[107.59974659104138, -6.883698680126476],

GitHub geospacial dataNo code here just data in JSON files

GitHub website hosting

https://sourcecode.cio.gov

GitHub website hosting

76 commits (changes)

17 different people

GitHub website hosting

CSS 50.7%JavaScript 41.5%HTML 7.5%Ruby 0.3%

GitHub website hosting

We can find out who made those changes.

Menghosting situs web di GitHub

One of those contributions is by Mylee, who is Mika from Finland.

Who knows what this change does?

It is not surprising that it requires someone outside of USA to fix this bug.

Menghosting situs web di GitHub

And here is their bug tracker.

Mengerjakan laporan di GitHub

Maybe you do not want to create a website by hand?

GitBook will help you focus on writing,And they will create a beautiful website for you.

Mengerjakan laporan di GitHub

Here is the Github Repository

Mengerjakan soal matematika menggunakan LaTeX di Github

A research paper with Latex formula

GitHub dengan SiteLeaf

Perangkat tambahan Github lainnya adalah SiteLeaf, yang termasuk alat penyuntingan beta WYISWYG (apa yang anda lihat anda dapatkan)

Another Github addon tool is SiteLeaf, which includes a beta WYSIWYG editor.

This is a Wordpress killer.

Continuous Integration (CI) Integrasi berkelanjutan

https://github.com/integrations/feature/continuous-integration

Continuous Integration (CI) atau integrasi berkelanjutan adalah sebuah cara untuk membuat tes berjalan secara otomatis (seperti menyusun program, menjalankan unit tes, dll).

CI digunakan dengan cara memerintahkan apa yang harus dilakukan ( seperti: susun program ini dengan clang, jalankan program ini, Tes kecepatan program, dll ).

Instruksi ini biasanya ditulis dengan berkas konfigurasi (configure files), dan perintahnya adalah command Linux/*nix. Karena itu, pengetahuan dasar Linux dibutuhkan untuk memakai CI.

Free cloud servers, building open source projects.

GitHub Continuous Integration (CI) Integrasi Berkelanjutan

https://www.traviscistatus.com/

Travis CI provides free virtual machines for open source projects.

In return, Open source programmers fix bugs for them.

Everyone wins.

Kualitas perangkat lunak GitHub

https://github.com/integrations/feature/code-quality

Alat yang memberi peringatan untuk aspek aspek yang mencurigakan dalam kode sumber, yang bisa jadi kesalahan (bug)Biasanya menggunakan analisa statik dimana mereka tidak menjalankan program saat analisa berjalan.

Finding bugs.

We dont need to open a text editor, or a command prompt.

Github integrates many online services that do the linting for us.

Code Climatehttps://codeclimate.com/dashboard

Code Climate menyatukan hasil-hasil dari serangkaian analisa statik menjadi satu laporan langsung, yang memberikan tim Anda informasi yang mereka perlukan apabila mereka perlu untuk mengidentifikasikan daerah daerah kritis, mengevaluasi cara-cara baru, dan memperbaiki kualitas kode. Here are some projects I have in Code Climate.

Code Climate consolidates the results from a suite of static analysis tools into a single, real-time report, giving your team the information it needs to identify hotspots, evaluate new approaches, and improve code quality.

Code Climate

CSS Go JavaScript PHP Python Ruby

Apex CoffeeScript Ember ESLint Haskell Haxe RubyMotion Rails SCSS Swift Vim Script

Brakeman OSSBundler-AuditCoffeelintCSSLintDuplicationESLintFIXMENode Security Project (nsp)Pep8PHP Code SnifferPHP Mess DetectorRadonRuboCopApexMetricsEmber-watsonFoodcriticgofmtgolint...Mendukung banyak bahasa pemrograman & linters. Tapi tidak mendukung CIt supports many languages and linters.

But it doesnt support C.

Code Climate

Beberapa masalah yang ditemukan

Some of the problems it finds

Code Climate

Contoh penjelasan masalah

An explanation of the problem.

blissai.com

blissai.com

BLISSAIBlissai mendukung banyak bahasa pemrograman dan memiliki banyak tipe linters.

Go JavaScript TypeScript Java C C++ C# Objective-C Objective-C++ PHP Python Ruby CoffeeScript Rails CSS SCSS Swift Scala Elixir Perl Stylus

Blissai supports the most languages, with many types of linters.

Includes the C family of languages.