Why Care About Coding?
-
Upload
bohyun-kim -
Category
Technology
-
view
325 -
download
0
Transcript of Why Care About Coding?
![Page 1: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/1.jpg)
CODING FOR LIBRARIANS
PART 1: WHY CARE ABOUT CODING?
Bohyun Kim Associate Director, Health Sciences & Human Services Library
University Of Maryland, Baltimore
Reaching Across Illinois Library System - WebinarTue, May 31, 2016 10:00 Am - 11:00 Am Cdt
![Page 2: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/2.jpg)
WE WILL COVER TODAY:
A. Why care about coding?
B. Why is coding relevant to libraries?
C. What does ‘coding’, ‘scripting’, ‘programming’ exactly mean?
D. What would I use the coding skill for?
E. Tips & Resources
![Page 3: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/3.jpg)
SOME QUESTIONS FOR YOU
• Q1. At what type of library & in what area of the library service do you work?
• Q2. Why are you interested in coding?
• Q3. Do you have any experience with coding, and if so what is it?
• Q4. Have you tried teaching yourself how to code before, and if so what where some of the difficulties?
![Page 4: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/4.jpg)
A. WHY CARE ABOUT CODING?
• An increasing emphasis on coding in the K12 education
• People in many different professions - both academics and professionals -are using the coding skill for their work.
• Code literacy? – Knowing how everyday software does what it does.
• Education – One of the library’s important mission
• More and more people are interested in learning how to code.
• Wider adoption of programming in academia across many different disciplines
![Page 5: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/5.jpg)
http://www.parentherald.com/articles/45853/20160526/why-coding-taught-second-language-primary-school-children-according-apple-ceo-tim-cook.htm
![Page 7: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/7.jpg)
https://www.edsurge.com/news/2015-03-26-choosing-a-summer-coding-camp
![Page 10: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/10.jpg)
http://techcrunch.com/2014/12/08/barack-obama-becomes-the-first-president-to-write-code/
![Page 12: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/12.jpg)
https://www.quora.com/Should-I-learn-how-to-code-if-I-plan-on-being-a-full-time-real-estate-investor?share=1
![Page 18: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/18.jpg)
B. WHY IS CODING RELEVANT TO LIBRARIES?
• A better understanding of information systems & applications
• Improve communication and collaboration with IT.
• Participate in development projects as a partner rather than a client simply asking for a product
• Being Able to do custom design / development for your library
![Page 19: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/19.jpg)
Knowing how the access to e-resources Is controlled
http://booksandjournals.brillonline.com/content/journals/10.1163/15685284-12341297
![Page 20: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/20.jpg)
http://www.hshsl.umaryland.edu/resources/databases/index.cfm
![Page 21: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/21.jpg)
http://survey.hshsl.umaryland.edu/?url=http://search.ebscohost.com/login.aspx?direct=true&bquery=(introduction+AND+to+AND+biostatistics+AND+sokal)&cli0=LB&clv0=LB+Hea*&type=0&site=eds-live
![Page 23: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/23.jpg)
https://www.docdel.umaryland.edu http://ares.hshsl.umaryland.edu/
![Page 24: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/24.jpg)
http://search.library.utoronto.ca
http://search.library.utoronto.ca
![Page 26: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/26.jpg)
![Page 27: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/27.jpg)
![Page 28: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/28.jpg)
![Page 29: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/29.jpg)
![Page 31: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/31.jpg)
![Page 32: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/32.jpg)
![Page 34: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/34.jpg)
![Page 35: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/35.jpg)
![Page 36: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/36.jpg)
INFO DESK SERVICES STATISTICS THROUGHOUT THE WEEK
![Page 37: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/37.jpg)
WHICH SCHOOL BORROWS MOST ARTICLES THROUGH OUR ILL SERVICE?
![Page 38: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/38.jpg)
E-BOOKS USERS WANT
BUT WE DON’T
HAVE
![Page 39: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/39.jpg)
DATABASES THAT NEED MORE USER
SEATS
![Page 40: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/40.jpg)
C. WHAT DOES ‘CODING’, ‘SCRIPTING’, ‘PROGRAMMING’ EXACTLY MEAN?
• XML
• BOOTSTRAP
• PHP
• API
• R
• HTML5
• JAVASCRIPT
• PYTHON
• Node
• MashUp
• RoR
• CSS
• .NET
• Regex
• XPATH
• C++
• Drupal
• VB
• Django
• XSLT
• RDF
• Ruby
• SPARQL
• CakePHP
• MySQL
• Apache
![Page 41: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/41.jpg)
MARKUP LANGUAGE
http://www.w3schools.com/css/tryit.asp?filename=trycss_list-style-type_ex
![Page 42: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/42.jpg)
![Page 43: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/43.jpg)
WHAT IS PROGRAMMING?
• Markup language vs. Programming language
• Is it knowing how to use a CMS (Wordpress, Drupal) or a certain computer software like Dreamweaver?
• Is it knowing how to edit HTML, CSS, XML? (http://www.cs.tut.fi/~jkorpela/prog.html )
• Programming is knowing and writing the logic for a computer to execute in a programming language that a computer understands.
![Page 44: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/44.jpg)
• JavaScript
• PHP
• PHP
• Python
• var a = ["do", "re", "mi", "fa"];var len = a.length;for (var i = 0; i < len; i++) {
console.log(a[i]);}
• $a = array("do", "re", "mi", "fa");for ($i=0; $i<count($a); $i++){
echo $a[$i]."<br/>";}
• $a = array("do", "re", "mi", "fa");foreach ($a as $i=>$note){
echo $note."<br/>";}
• a = ['do', 're', 'mi', 'fa']for i in a:
print i
![Page 45: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/45.jpg)
![Page 46: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/46.jpg)
![Page 47: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/47.jpg)
PROGRAMMING ENABLES THE DYNAMIC
MANIPULATION/TRANSFORMATION OF THE INPUT.
![Page 48: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/48.jpg)
CODE, SCRIPT, PROGRAM
• Usually the term, ‘coding,’ refers to the knowledge of a programming language, not a markup language. (Web designer vs programmer)
• http://blogs.jbllanda.com/markup-language-versus-programming-language/
• Code and scripts are also generally much smaller than a full-blow program.
• Here, I will use both terms – coding & programming – interchangeably.
• See the difference between scripting vs. programming:
• https://en.wikipedia.org/wiki/Scripting_language
• http://stackoverflow.com/questions/17253545/scripting-language-vs-programming-language
![Page 49: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/49.jpg)
D. WHAT WOULD I USE THE CODING SKILL FOR?
![Page 50: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/50.jpg)
Need to add an empty column in the front for the ID to import the file into a db table.
![Page 51: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/51.jpg)
Excel messes things up.
![Page 52: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/52.jpg)
A Python script takes care of this!
![Page 53: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/53.jpg)
http://stroke.ahajournals.org/content/47/6/1421.full
http://stroke.ahajournals.org/content/47/6/1421.full
Help those users who forget to log in through the library proxy and can’t get to the full-text!
![Page 54: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/54.jpg)
https://login.proxy-hs.researchport.umd.edu/login?qurl=
![Page 55: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/55.jpg)
The library proxy automatically added!
http://stroke.ahajournals.org.proxy-hs.researchport.umd.edu/content/47/6/1421.full
![Page 56: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/56.jpg)
MORE INFO
• Playing with JavaScript and JQuery – the Ebook link HTML string generator and the EZproxy bookmarklet generator http://www.bohyunkim.net/blog/archives/255
![Page 57: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/57.jpg)
WHAT WOULD I USE THE CODING SKILL FOR?
![Page 58: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/58.jpg)
![Page 59: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/59.jpg)
“Building a Faculty Publications Database” presented at LITA Forum 2014http://www.slideshare.net/bohyunkim/building-a-faculty-publications-database
![Page 60: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/60.jpg)
![Page 61: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/61.jpg)
![Page 62: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/62.jpg)
![Page 63: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/63.jpg)
E. TIPS & RESOURCES
Photo from Flickr: https://www.flickr.com/photos/51035800575@N01/94995636/
![Page 64: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/64.jpg)
TIPS
• Don’t be discouraged or frustrated. You are teaching yourself a language.
• Be persistent and realistic.
• Set small goals that solve real-life problems.
• Form or join a study group & find like-minded folks!
• Comment your code and document since you will forget what you have learned and made.
![Page 65: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/65.jpg)
COMMON OBSTACLES
• Coding can be more tedious than exciting.
• Not enough attention to the syntax
• More time will be spent on debugging than code writing!
• A slow learning curve
• Not enough time for intensive learning
• Not always a clear connection with your library work
• Life events
![Page 66: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/66.jpg)
http://www.vikingcodeschool.com/posts/why-learning-to-code-is-so-damn-hard
![Page 67: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/67.jpg)
http://www.vikingcodeschool.com/posts/why-learning-to-code-is-so-damn-hard
![Page 68: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/68.jpg)
![Page 69: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/69.jpg)
RESOURCES
• Many resources online – discussions, tutorials, books…
• W3Schools Tutorials
• Tuts+
• MOOC
• Codecademy / CodeYear
• Lynda.com; Treehouse; Code School
• Pick One and ACTUALLY DOING IT
• Code4Lib listserv/IRC/journal/conference (http://code4lib.org/)
• LibTechWomen (http://libtechwomen.org/)
![Page 70: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/70.jpg)
![Page 71: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/71.jpg)
For the Afternoon Workshop, follow the instructions
in the Set-up Section below:
https://github.com/bohyunkim/examples/tree/master/rails
![Page 72: Why Care About Coding?](https://reader031.fdocuments.in/reader031/viewer/2022030401/58ee34241a28abe21b8b45ef/html5/thumbnails/72.jpg)
QUESTIONS?
IT’S JUST SOME CODE!
¯\_(ツ)_/¯