Skip to content

Commit f16cbd7

Browse files
Deploy preview for PR 119
1 parent c306ef6 commit f16cbd7

File tree

24 files changed

+242
-194
lines changed

24 files changed

+242
-194
lines changed

pr-previews/119/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<script src="/site_libs/bootstrap/bootstrap.min.js"></script>
4444
<link href="/site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
4545
<link href="/site_libs/bootstrap/bootstrap-b3bbcf82d66833753621706898a5f7a2.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
46-
<link href="/site_libs/bootstrap/bootstrap-dark-a94c7accbcda206655252593bab5ee3f.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
46+
<link href="/site_libs/bootstrap/bootstrap-dark-2d9a4076677246ee5d3947e3d2f7d787.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
4747
<link href="/site_libs/bootstrap/bootstrap-b3bbcf82d66833753621706898a5f7a2.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
4848
<script id="quarto-search-options" type="application/json">{
4949
"location": "navbar",

pr-previews/119/index.html

Lines changed: 104 additions & 140 deletions
Original file line numberDiff line numberDiff line change
@@ -21,41 +21,6 @@
2121
margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */
2222
vertical-align: middle;
2323
}
24-
/* CSS for syntax highlighting */
25-
html { -webkit-text-size-adjust: 100%; }
26-
pre > code.sourceCode { white-space: pre; position: relative; }
27-
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
28-
pre > code.sourceCode > span:empty { height: 1.2em; }
29-
.sourceCode { overflow: visible; }
30-
code.sourceCode > span { color: inherit; text-decoration: inherit; }
31-
div.sourceCode { margin: 1em 0; }
32-
pre.sourceCode { margin: 0; }
33-
@media screen {
34-
div.sourceCode { overflow: auto; }
35-
}
36-
@media print {
37-
pre > code.sourceCode { white-space: pre-wrap; }
38-
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
39-
}
40-
pre.numberSource code
41-
{ counter-reset: source-line 0; }
42-
pre.numberSource code > span
43-
{ position: relative; left: -4em; counter-increment: source-line; }
44-
pre.numberSource code > span > a:first-child::before
45-
{ content: counter(source-line);
46-
position: relative; left: -1em; text-align: right; vertical-align: baseline;
47-
border: none; display: inline-block;
48-
-webkit-touch-callout: none; -webkit-user-select: none;
49-
-khtml-user-select: none; -moz-user-select: none;
50-
-ms-user-select: none; user-select: none;
51-
padding: 0 4px; width: 4em;
52-
}
53-
pre.numberSource { margin-left: 3em; padding-left: 4px; }
54-
div.sourceCode
55-
{ }
56-
@media screen {
57-
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
58-
}
5924
</style>
6025

6126

@@ -81,7 +46,7 @@
8146
<script src="site_libs/bootstrap/bootstrap.min.js"></script>
8247
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
8348
<link href="site_libs/bootstrap/bootstrap-b3bbcf82d66833753621706898a5f7a2.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
84-
<link href="site_libs/bootstrap/bootstrap-dark-a94c7accbcda206655252593bab5ee3f.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
49+
<link href="site_libs/bootstrap/bootstrap-dark-2d9a4076677246ee5d3947e3d2f7d787.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
8550
<link href="site_libs/bootstrap/bootstrap-b3bbcf82d66833753621706898a5f7a2.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
8651
<script id="quarto-search-options" type="application/json">{
8752
"location": "navbar",
@@ -708,7 +673,12 @@ <h5 class="news-carousel-title anchored">Turing's Blog</h5>
708673
</div>
709674
<div class="listing-no-matching d-none">No matching items</div>
710675
</div>
711-
<p><a href="news/">See all news →</a></p>
676+
<div class="d-flex flex-column align-items-center gap-0">
677+
<a href="news/" class="button btn">
678+
See all news →
679+
</a>
680+
</div>
681+
712682
<style>
713683
/* Scoped styles for the news carousel to avoid conflicts with global themes */
714684
#news-carousel-container {
@@ -754,7 +724,7 @@ <h5 class="news-carousel-title anchored">Turing's Blog</h5>
754724
text-decoration: none;
755725
border-radius: 0.5rem;
756726
transition: background-color 0.3s ease, border-color 0.3s ease;
757-
background-color: #f8f9fa;
727+
background-color: #ffffff;
758728
border: 1px solid #e9ecef;
759729
color: #212529;
760730
}
@@ -988,121 +958,115 @@ <h5 class="news-carousel-title anchored">Turing's Blog</h5>
988958
startAutoplay();
989959
});
990960
</script>
991-
<h3 id="learn-more" class="anchored">Learn more</h3>
992-
<div class="list grid quarto-listing-cols-3">
993-
<a class="pseudolisting" href="./library">
994-
<div class="card-title h5">
995-
Ecosystem
996-
</div>
997-
<p class="quarto-grid-item">
998-
Learn about all the packages that are part of the TuringLang organization.
999-
</p>
1000-
</a>
1001-
<a class="pseudolisting" href="https://turinglang.org/docs/tutorials/docs-00-getting-started/">
1002-
<div class="card-title h5">
1003-
Documentation
1004-
</div>
1005-
<p class="quarto-grid-item">
1006-
Familiarize yourself with the mechanics of Turing.jl.
1007-
</p>
1008-
</a>
1009-
<a class="pseudolisting" href="https://turinglang.org/docs/tutorials/00-introduction/">
1010-
<div class="card-title h5">
1011-
Official tutorials
1012-
</div>
1013-
<p class="quarto-grid-item">
1014-
Learn to tackle specific modelling problems with Turing.jl.
1015-
</p>
1016-
</a>
961+
<div class="text-center section-start-space">
962+
<p class="responsive-heading" style="font-weight: 600; margin-bottom: 0;">Start Your Journey</p>
963+
<p class="fs-5 text-muted">Whether you're new to Bayesian modeling or an experienced researcher, find the resources you need.</p>
1017964
</div>
1018-
<!-- TODO
1019-
1020-
::: {.section-start-space}
1021-
1022-
### Algorithms
1023-
1024-
Placeholder text introducing this section on algorithms.
1025-
1026-
| Column 1 | Column 2 | Column 3 | Column 4 |
1027-
|----------|----------|----------|----------|
1028-
| Entry A | Entry D | Entry G | Entry J |
1029-
| Entry B | Entry E | Entry H | Entry K |
1030-
| Entry C | Entry F | Entry I | Entry L |
1031-
1032-
: Supported MCMC and other learning algorithms {.striped .borderless}
1033965

1034-
:::
966+
<div class="d-flex flex-row flex-wrap panel-wrapper gap-4 section-end-space">
1035967

1036-
::: {.section-start-space}
968+
<div class="panel">
969+
<div style="font-size: 2.5rem; text-align: center;">🚀</div>
970+
<h5 class="panel-title pb-1 text-center anchored">New to Turing?</h5>
971+
<p>Begin with the basics. Our step-by-step tutorials will guide you from installation to your first probabilistic models.</p>
972+
<div class="d-flex flex-column align-items-center gap-2 pt-3">
973+
<a href="https://turinglang.org/docs/getting-started/" class="button btn">Get Started</a>
974+
<a href="https://turinglang.org/docs/tutorials/coin-flipping/" class="text-muted" style="font-size: 0.9em;">View Introductory Concepts</a>
975+
</div>
976+
</div>
1037977

1038-
### Bayesian Workflow
978+
<div class="panel">
979+
<div style="font-size: 2.5rem; text-align: center;">🔬</div>
980+
<h5 class="panel-title pb-1 text-center anchored">For Researchers</h5>
981+
<p>Dive into advanced models, explore the rich package ecosystem, and learn how to cite Turing.jl in your work.</p>
982+
<div class="d-flex flex-column align-items-center gap-2 pt-3">
983+
<a href="./library" class="button btn">Explore Ecosystem</a>
984+
<a href="#cite" class="text-muted" style="font-size: 0.9em;">How to Cite Turing.jl</a>
985+
</div>
986+
</div>
1039987

1040-
Placeholder text introducing the Bayesian Workflow diagram from the ACM special issue submission.
988+
<div class="panel">
989+
<div style="font-size: 2.5rem; text-align: center;">💻</div>
990+
<h5 class="panel-title pb-1 text-center anchored">For Developers</h5>
991+
<p>Join our community, contribute to the project on GitHub, and connect with fellow developers on Slack.</p>
992+
<div class="d-flex flex-column align-items-center gap-2 pt-3">
993+
<a href="https://github.com/TuringLang" class="button btn">View on GitHub</a>
994+
<a href="https://julialang.slack.com/archives/CCYDC34A0" class="text-muted" style="font-size: 0.9em;">Join the Slack Channel</a>
995+
</div>
996+
</div>
1041997

1042-
```{=html}
1043-
<div style="text-align:center;">
1044-
<img src="https://i0.wp.com/www.honeybeesuite.com/wp-content/uploads/2019/09/Multiple-teeth-HBS.jpg?w=400&ssl=1" style="margin:0.5rem 0;border-radius:10pt">
1045-
<p>An example of the Beeysian workflow.</p>
1046-
</div>
1047-
```
1048-
1049-
:::
1050-
1051-
-->
1052-
<!-- TODO
1053-
1054-
```{=html}
1055-
<div class="d-flex flex-row panel-wrapper gap-3 section-start-space">
1056-
<div class="flex-grow-1">
1057-
<h3>Talks</h3>
1058-
<p>Placeholder for intro text on list of talks which are available online</p>
1059-
<ul>
1060-
<li>Talk 1
1061-
<li>Talk 2
1062-
<li>Talk 3
1063-
</ul>
1064998
</div>
1065-
<div class="flex-grow-1">
1066-
<h3>Other resources</h3>
1067-
<p>This list contains a few other written resources for learning Turing. If you have written something and would like to share it with the community, please <a href="https://github.com/TuringLang/docs/issues/new">get in touch</a>!</p>
1068-
<ul>
1069-
<li><a href="https://github.com/StatisticalRethinkingJulia/SR2TuringPluto.jl">Statistical Rethinking</a>
1070-
<li><a href="https://storopoli.github.io/Turing-Workshop/">Jose Storopoli's Turing workshop (outdated in parts)</a>
1071-
<li><a href="https://storopoli.github.io/Bayesian-Julia/">Jose Storopoli's blog on Turing and Bayesian Statistics</a>
1072-
<li>Placeholder for more...
1073-
</ul>
1074-
</div>
1075-
</div>
1076-
```
1077-
-->
1078999
<div class="section-start-space">
1000+
<div class="citation-container">
10791001
<h3 id="cite" class="pb-1 text-center anchored">
1080-
Turing.jl is an <a href="https://github.com/TuringLang/Turing.jl/blob/main/LICENCE" data-original-href="https://github.com/TuringLang/Turing.jl/blob/main/LICENCE" class="turing-license-link"><code>MIT</code></a> Licensed Open Source Project
1002+
Turing.jl is an <a href="[https://github.com/TuringLang/Turing.jl/blob/main/LICENCE](https://github.com/TuringLang/Turing.jl/blob/main/LICENCE)" class="turing-license-link"><code>MIT</code></a> Licensed Open Source Project
10811003
</h3>
10821004
<p class="text-center">
1083-
If you use Turing.jl in your research, please consider citing our paper.
1005+
If you use Turing.jl in your research, please consider citing our papers.
1006+
</p>
1007+
<div class="citation-entry">
1008+
<p class="citation-text">
1009+
Fjelde, T. E., Xu, K., Widmann, D., Tarek, M., Pfiffer, C., Trapp, M., Axen, S. D., Sun, X., Hauru, M., Yong, P., Tebbutt, W., Ghahramani, Z., &amp; Ge, H. (2025). <span class="citation-title">Turing.jl: a general-purpose probabilistic programming language.</span> <em>ACM Transactions on Probabilistic Machine Learning</em>. Just Accepted.
10841010
</p>
1085-
<div class="example-code" style="max-width: 800px; margin: auto; text-align: left;">
1086-
<div class="sourceCode" id="cb1"><pre class="sourceCode bibtex code-overflow-scroll code-with-copy"><code class="sourceCode bibtex"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="va">@inproceedings</span>{<span class="ot">ge2018t</span>,</span>
1087-
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a> <span class="dt">author</span> = {Hong Ge and Kai Xu and Zoubin Ghahramani},</span>
1088-
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a> <span class="dt">title</span> = {Turing: a language for flexible probabilistic inference},</span>
1089-
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a> <span class="dt">booktitle</span> = {International Conference on Artificial Intelligence and Statistics, {AISTATS} 2018, 9-11 April 2018, Playa Blanca, Lanzarote, Canary Islands, Spain},</span>
1090-
<span id="cb1-5"><a href="#cb1-5" aria-hidden="true" tabindex="-1"></a> <span class="dt">pages</span> = {1682--1690},</span>
1091-
<span id="cb1-6"><a href="#cb1-6" aria-hidden="true" tabindex="-1"></a> <span class="dt">year</span> = {2018},</span>
1092-
<span id="cb1-7"><a href="#cb1-7" aria-hidden="true" tabindex="-1"></a> <span class="dt">url</span> = {[http://proceedings.mlr.press/v84/ge18b.html](http://proceedings.mlr.press/v84/ge18b.html)},</span>
1093-
<span id="cb1-8"><a href="#cb1-8" aria-hidden="true" tabindex="-1"></a> <span class="dt">biburl</span> = {[https://dblp.org/rec/bib/conf/aistats/GeXG18](https://dblp.org/rec/bib/conf/aistats/GeXG18)},</span>
1094-
<span id="cb1-9"><a href="#cb1-9" aria-hidden="true" tabindex="-1"></a>}</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
1011+
<div class="citation-actions">
1012+
<p><a href="[https://doi.org/10.1145/3711897](https://doi.org/10.1145/3711897)" target="_blank" rel="noopener noreferrer" class="button">View Paper</a> <button class="button button--primary" onclick="copyCitationBibtex('bibtex-jmlr-2025', this)">Copy BibTeX</button></p>
10951013
</div>
1096-
<style>
1097-
.turing-license-link code{
1098-
color: #34b8bf !important;
1099-
text-decoration: none !important;
1100-
}
1101-
1102-
.turing-license-link code:hover {
1103-
color: #31dce6 !important;
1104-
}
1105-
</style>
1014+
<pre id="bibtex-jmlr-2025" class="citation-bibtex-data">@article{10.1145/3711897,
1015+
author = {Fjelde, Tor Erlend and Xu, Kai and Widmann, David and Tarek, Mohamed and Pfiffer, Cameron and Trapp, Martin and Axen, Seth D. and Sun, Xianda and Hauru, Markus and Yong, Penelope and Tebbutt, Will and Ghahramani, Zoubin and Ge, Hong},
1016+
title = {Turing.jl: a general-purpose probabilistic programming language},
1017+
year = {2025},
1018+
publisher = {Association for Computing Machinery},
1019+
address = {New York, NY, USA},
1020+
url = {[https://doi.org/10.1145/3711897](https://doi.org/10.1145/3711897)},
1021+
doi = {10.1145/3711897},
1022+
note = {Just Accepted},
1023+
journal = {ACM Trans. Probab. Mach. Learn.},
1024+
month = feb
1025+
}
1026+
</pre>
1027+
</div>
1028+
<div class="citation-entry">
1029+
<p class="citation-text">
1030+
Ge, H., Xu, K., &amp; Ghahramani, Z. (2018). <span class="citation-title">Turing: a language for flexible probabilistic inference.</span> In <em>Proceedings of the 21st International Conference on Artificial Intelligence and Statistics (AISTATS)</em> (Vol. 84, pp.&nbsp;1682-1690). PMLR.
1031+
</p>
1032+
<div class="citation-actions">
1033+
<p><a href="[http://proceedings.mlr.press/v84/ge18b.html](http://proceedings.mlr.press/v84/ge18b.html)" target="_blank" rel="noopener noreferrer" class="button">View Paper</a> <button class="button button--primary" onclick="copyCitationBibtex('bibtex-aistats-2018', this)">Copy BibTeX</button></p>
1034+
</div>
1035+
<pre id="bibtex-aistats-2018" class="citation-bibtex-data">@inproceedings{ge2018t,
1036+
author = {Hong Ge and Kai Xu and Zoubin Ghahramani},
1037+
title = {Turing: a language for flexible probabilistic inference},
1038+
booktitle = {International Conference on Artificial Intelligence and Statistics, {AISTATS} 2018, 9-11 April 2018, Playa Blanca, Lanzarote, Canary Islands, Spain},
1039+
pages = {1682--1690},
1040+
year = {2018},
1041+
url = {[http://proceedings.mlr.press/v84/ge18b.html](http://proceedings.mlr.press/v84/ge18b.html)},
1042+
biburl = {[https://dblp.org/rec/bib/conf/aistats/GeXG18](https://dblp.org/rec/bib/conf/aistats/GeXG18)},
1043+
}
1044+
</pre>
1045+
</div>
1046+
</div>
1047+
<script>
1048+
function copyCitationBibtex(elementId, buttonElement) {
1049+
const bibtexElement = document.getElementById(elementId);
1050+
const bibtexText = bibtexElement.textContent.trim();
1051+
navigator.clipboard.writeText(bibtexText).then(() => {
1052+
const originalText = buttonElement.innerHTML;
1053+
buttonElement.innerHTML = '✅ Copied!';
1054+
buttonElement.classList.add('citation-copied');
1055+
buttonElement.disabled = true;
1056+
setTimeout(() => {
1057+
buttonElement.innerHTML = originalText;
1058+
buttonElement.classList.remove('citation-copied');
1059+
buttonElement.disabled = false;
1060+
}, 2000);
1061+
}).catch(err => {
1062+
console.error('Failed to copy BibTeX: ', err);
1063+
buttonElement.innerHTML = 'Error!';
1064+
setTimeout(() => {
1065+
buttonElement.innerHTML = 'Copy BibTeX';
1066+
}, 2000);
1067+
});
1068+
}
1069+
</script>
11061070
</div>
11071071

11081072

pr-previews/119/library/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<script src="../site_libs/bootstrap/bootstrap.min.js"></script>
4646
<link href="../site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
4747
<link href="../site_libs/bootstrap/bootstrap-b3bbcf82d66833753621706898a5f7a2.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
48-
<link href="../site_libs/bootstrap/bootstrap-dark-a94c7accbcda206655252593bab5ee3f.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
48+
<link href="../site_libs/bootstrap/bootstrap-dark-2d9a4076677246ee5d3947e3d2f7d787.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
4949
<link href="../site_libs/bootstrap/bootstrap-b3bbcf82d66833753621706898a5f7a2.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
5050
<script id="quarto-search-options" type="application/json">{
5151
"location": "navbar",

0 commit comments

Comments
 (0)