|
281 | 281 | <p>
|
282 | 282 | <a href="#s:license"><img src="assets/cc-by-nc.svg" alt="CC-BY-NC License" width="50%" /></a>
|
283 | 283 | <a href="mailto: [email protected]?subject=JavaScript for Data Science"><img src="assets/email.svg" alt="Email" width="20%" /></a>
|
284 |
| - <a href="https://github.com/software-tools-in-javascript/js4ds/"><img src="assets/github.svg" alt="GitHub" width="20%" /></a> |
| 284 | + <a href="https://github.com/software-tools-books/js4ds/"><img src="assets/github.svg" alt="GitHub" width="20%" /></a> |
285 | 285 | </p>
|
286 | 286 | </nav>
|
287 | 287 | <div class="col-md-10 col-body">
|
@@ -359,12 +359,12 @@ <h2 id="s:intro-contributors">Who We Are</h2>
|
359 | 359 | <p><strong><a href="https://tbyhdgs.info/">Toby Hodges</a></strong> is a bioinformatician turned community coordinator, working on the <a href="https://bio-it.embl.de">Bio-IT Project</a> at <a href="https://www.embl.de">EMBL</a>. He teaches a lot of courses in computing, organizes a lot of community-building events, listens to a lot of punk rock, and occasionally still finds time to write code and ride his bike. Toby would like to thank his wife for her support and patience while he swore about how annoying JavaScript is to debug.</p>
|
360 | 360 | <p><strong><a href="http://third-bit.com/">Greg Wilson</a></strong> has worked for 35 years in both industry and academia, and is the author or editor of several books on computing and two for children. He co-founded <a href="http://carpentries.org">Software Carpentry</a>, a non-profit organization that teaches basic computing skills to researchers, and is now part of the education team at <a href="http://rstudio.com">RStudio</a>. Greg would like to thank everyone at <a href="https://rangle.io/">Rangle</a> who was so patient with him when he was learning JavaScript.</p>
|
361 | 361 | <h2 id="s:intro-setup">Setting Up</h2>
|
362 |
| -<p>You can find the examples for each chapter in the <code>src</code> directory in our <a href="https://github.com/software-tools-in-javascript/js4ds">GitHub repository</a>. Each sub-folder contains the code and data needed to follow along with the text.</p> |
| 362 | +<p>You can find the examples for each chapter in the <code>src</code> directory in our <a href="https://github.com/software-tools-books/js4ds">GitHub repository</a>. Each sub-folder contains the code and data needed to follow along with the text.</p> |
363 | 363 | <p>The exercises at the end of each chapter include new information that you will need later in the book, and are therefore not optional. You can do the first few online, using a service like <a href="https://runkit.com/">RunKit</a>, which gives you an interactive JavaScript playground in your browser. For larger things, and for chapters starting with the one on creating dynamic web pages (Chapter <a href="#s:dynamic" data-reference-type="ref" data-reference="s:dynamic">7</a>), you should <a href="https://nodejs.org/en/download/">download and install</a> the latest Long-term Support (LTS) versions of Node and NPM.</p>
|
364 | 364 | <p><a href="#g:node-js"><strong>Node</strong></a> is an open source implementation of JavaScript that includes a command-line interpreter like those for languages such as Python and R. The command <code>node</code> on its own starts a <a href="#g:repl"><strong>read-evaluate-print loop</strong></a> (REPL) that executes commands as they are typed in and displays their output. The command <code>node filename.js</code> reads and runs the commands in <code>filename.js</code>; we will see in Chapter <a href="#s:pages" data-reference-type="ref" data-reference="s:pages">6</a> how to run JavaScript in a browser.</p>
|
365 | 365 | <p><code>npm</code> is the Node <a href="#g:package-manager"><strong>Package Manager</strong></a>, a command-line tool for finding, installing, updating, building, and executing JavaScript libraries. The command <code>npm install --global library-name</code> (without a <code>.js</code> extension) installs a library <a href="#g:global-installation"><strong>globally</strong></a> so that all projects can use it, while <code>npm install --save library-name</code> installs the library <a href="#g:local-installation"><strong>locally</strong></a> (i.e., in the current project folder). Local installation is usually a better idea, since it isolates projects from one another.</p>
|
366 | 366 | <h2 id="s:index-contrib">Contributing</h2>
|
367 |
| -<p>Contributions of all kinds are welcome, from errata and minor improvements to entirely new sections and chapters: please submit an issue or pull request to <a href="https://github.com/software-tools- in-javascript/js4ds/">our GitHub repository</a>. Everyone whose work is incorporated will be acknowledged; please note that all contributors are required to abide by our Code of Conduct (Appendix <a href="#s:conduct" data-reference-type="ref" data-reference="s:conduct">18</a>). Please note that we use Simplified English rather than Traditional English, i.e., American rather than British spelling and grammar. We encourage translations; if you would like to take this on, please <a href=" [email protected]">email us</a>.</p> |
| 367 | +<p>Contributions of all kinds are welcome, from errata and minor improvements to entirely new sections and chapters: please submit an issue or pull request to <a href="https://github.com/software-tools- books/js4ds/">our GitHub repository</a>. Everyone whose work is incorporated will be acknowledged; please note that all contributors are required to abide by our Code of Conduct (Appendix <a href="#s:conduct" data-reference-type="ref" data-reference="s:conduct">18</a>). Please note that we use Simplified English rather than Traditional English, i.e., American rather than British spelling and grammar. We encourage translations; if you would like to take this on, please <a href=" [email protected]">email us</a>.</p> |
368 | 368 | <p>If you wish to report errata or suggest improvements to wording, please include the chapter name in the first line of the body of your report (e.g., <code>Testing Data Analysis</code>).</p>
|
369 | 369 | <h3 id="s:intro-acknowledgments">Acknowledgments</h3>
|
370 | 370 | <p>We are grateful as always to Shashi Kumar for help with the LaTeX. We are also grateful for fixes from:</p>
|
@@ -5201,7 +5201,7 @@ <h2 id="key-points-14" class="unnumbered unnumbered">Key Points</h2>
|
5201 | 5201 | <h1 id="s:finale">Finale</h1>
|
5202 | 5202 | <p>We have come a long way since <code>console.log(’hello, world’)</code> in Chapter <a href="#s:basics" data-reference-type="ref" data-reference="s:basics">2</a>. Callbacks and promises, JSON and web servers, packaging, unit tests, and visualization: every modern language can do them, but JavaScript is an increasingly popular choice. Yes, it has its flaws, but if we avoid some of the legacy features in Appendix <a href="#s:legacy" data-reference-type="ref" data-reference="s:legacy">23</a> it’s both usable and powerful.</p>
|
5203 | 5203 | <p>Our journey doesn’t stop here, though. The appendices explore some next steps, such as logging what our server does (Appendix <a href="#s:logging" data-reference-type="ref" data-reference="s:logging">25</a>) and using a relational database (Appendix <a href="#s:db" data-reference-type="ref" data-reference="s:db">27</a>) instead of a text file as a data store. Beyond that, you could look at more advanced techniques in JavaScript,[<a class="cite" href="#ref-Have2018">Have2018</a>] explore the full power of the <a href="https://d3js.org/">D3</a> library for interactive visualization,[<a class="cite" href="#ref-Meek2017">Meek2017</a>] dive into data wrangling,[<a class="cite" href="#ref-Davi2018">Davi2018</a>] or start over completely the way JavaScript programmers do every eight months and rewrite everything with <a href="https://developer.mozilla.org/en-US/docs/Web/Web_Components">Web Components</a>. Whatever you do, we hope that this tutorial has helped you get started.</p>
|
5204 |
| -<p>Contributions of all kinds are welcome, from errata and minor improvements to entirely new sections and chapters. Please <a href="https://github.com/software-tools-in-javascript/js4ds/issues">file an issue</a> or <a href="https://github.com/software-tools-in-javascript/js4ds/pulls">submit a pull request</a> in <a href="https://github.com/software-tools-in-javascript/js4ds/">our GitHub repository</a>. Everyone whose work is incorporated will be acknowledged. Please see the contributors’ guide for more information, and please note that all contributors are required to abide by our Code of Conduct.</p> |
| 5204 | +<p>Contributions of all kinds are welcome, from errata and minor improvements to entirely new sections and chapters. Please <a href="https://github.com/software-tools-books/js4ds/issues">file an issue</a> or <a href="https://github.com/software-tools-books/js4ds/pulls">submit a pull request</a> in <a href="https://github.com/software-tools-books/js4ds/">our GitHub repository</a>. Everyone whose work is incorporated will be acknowledged. Please see the contributors’ guide for more information, and please note that all contributors are required to abide by our Code of Conduct.</p> |
5205 | 5205 | <h2 id="key-points-15" class="unnumbered unnumbered">Key Points</h2>
|
5206 | 5206 | <ul>
|
5207 | 5207 | <li><p>We have learned a lot.</p></li>
|
@@ -5265,7 +5265,7 @@ <h2 id="s:conduct-enforcement">Enforcement</h2>
|
5265 | 5265 | <h2 id="s:conduct-attribution">Attribution</h2>
|
5266 | 5266 | <p>This Code of Conduct is adapted from the <a href="https://www.contributor-covenant.org">Contributor Covenant</a> version 1.4.</p>
|
5267 | 5267 | <h1 id="s:contributing">Contributing</h1>
|
5268 |
| -<p>Contributions of all kinds are welcome, from errata and minor improvements to entirely new sections and chapters: please submit an issue or pull request to <a href="https://github.com/software-tools- in-javascript/js4ds/">our GitHub repository</a>. Everyone whose work is incorporated will be acknowledged; please note that all contributors are required to abide by our Code of Conduct (Appendix <a href="#s:conduct" data-reference-type="ref" data-reference="s:conduct">18</a>). Please note that we use Simplified English rather than Traditional English, i.e., American rather than British spelling and grammar. We encourage translations; if you would like to take this on, please <a href=" [email protected]">email us</a>.</p> |
| 5268 | +<p>Contributions of all kinds are welcome, from errata and minor improvements to entirely new sections and chapters: please submit an issue or pull request to <a href="https://github.com/software-tools- books/js4ds/">our GitHub repository</a>. Everyone whose work is incorporated will be acknowledged; please note that all contributors are required to abide by our Code of Conduct (Appendix <a href="#s:conduct" data-reference-type="ref" data-reference="s:conduct">18</a>). Please note that we use Simplified English rather than Traditional English, i.e., American rather than British spelling and grammar. We encourage translations; if you would like to take this on, please <a href=" [email protected]">email us</a>.</p> |
5269 | 5269 | <p>If you wish to report errata or suggest improvements to wording, please include the chapter name in the first line of the body of your report (e.g., <code>Testing Data Analysis</code>).</p>
|
5270 | 5270 | <h1 id="s:gloss">Glossary</h1>
|
5271 | 5271 | <dl>
|
|
0 commit comments