From 6455fe0675bdd6cf4ad1f8e0c8f185d1f1cdc13b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Correa?= Date: Mon, 23 Aug 2021 18:55:11 -0300 Subject: [PATCH] Se agregan toas las charlas de sesiones, se prueban horarios en conferencias, se pone calendario con fullcalendar.js, se cambian todas las rutas a absolutas y se modifican las vistas de conferencias y sesiones actuales con dropdowns --- data/conferencias.yml | 52 ++++++++++----------- data/data-sesion-charlas-template.yml | 55 ++++++++++++++++++++++ data/sesiones.yml | 4 +- data/sponsors.yml | 2 +- public/img/logos/impa.png | Bin 0 -> 4302 bytes public/js/app.js | 7 +-- src/routes.php | 63 +++++++++++++++++++------- templates/conferencias.html | 5 +- templates/footer.html | 2 +- templates/head.html | 28 ++++++------ templates/header.html | 16 +++---- templates/practicalinfo.html | 15 ++++-- templates/program.html | 3 +- templates/sesion.html | 45 ++++++++++++++++++ templates/sesiones.html | 9 +++- templates/sidebar.html | 6 +-- 16 files changed, 230 insertions(+), 82 deletions(-) create mode 100644 data/data-sesion-charlas-template.yml create mode 100644 public/img/logos/impa.png create mode 100644 templates/sesion.html diff --git a/data/conferencias.yml b/data/conferencias.yml index 74663c4..a1b8e12 100644 --- a/data/conferencias.yml +++ b/data/conferencias.yml @@ -8,8 +8,8 @@ nombre: Jairo Bochi afiliacion: Penn State University web: http://www.mat.uc.cl/~jairo.bochi/ - start: 2021-09-13T09:00 - end: 2021-09-13T10:30 + start: 2021-09-13T09:00-03:00 + end: 2021-09-13T10:30-03:00 - titulo: Symmetrical optimal partitions for the Yamabe equation abstract: | The Yamabe equation is relevant in differential geometry. A positive solution to it gives rise to a metric on a Riemannian manifold \((M,g)\), conformally equivalent to its given metric \(g\), which has constant scalar curvature. @@ -30,8 +30,8 @@ nombre: Alicia Dickenstein afiliacion: Universidad de Buenos Aires web: http://mate.dm.uba.ar/~alidick/ - start: 2021-09-15T09:00 - end: 2021-09-15T10:30 + start: 2021-09-15T12:00 + end: 2021-09-15T13:30 - titulo: Entropy methods and sharp convergence of Markov Chains. abstract: We describe how entropy methods can be used to derive quantitative versions of various scaling limits of Markov chains. We will focus on the the description of non-equilibrium states of interacting particle systems. pdf: '' @@ -39,8 +39,8 @@ nombre: Milton Jara afiliacion: Instituto de Matemática Pura e Aplicada web: https://impa.br/page-pessoas/milton-jara/ - start: 2021-09-16T09:00 - end: 2021-09-16T10:30 + start: 2021-09-16T09:00-03:00 + end: 2021-09-16T10:30-03:00 - titulo: Measuring the complexity of countable objects abstract: Computability theory is the sub-area of mathematical logic that studies ways to measure the complexity of objects, constructions, theorems, and mathematical proofs related to countably infinite objects. On one hand, the natural objects seem to be linearly ordered from simpler to more complex, while, on the other hand the general objects are ordered in a chaotic way. This dichotomy between natural objects and objects in general is hard to study mathematically, as we don't have a formal definition of "natural object." The objective of this talk is to introduce Martin's conjecture (open for more than 40 years) and see how it explains this dichotomy. pdf: '' @@ -48,8 +48,8 @@ nombre: Antonio Montalbán afiliacion: University of California, Berkeley web: https://math.berkeley.edu/~antonio/ - start: 2021-09-17T09:00 - end: 2021-09-17T10:30 + start: 2021-09-17T11:00 + end: 2021-09-17T12:00 - categoria: Semiplenarias charlas: - titulo: Eigenfunction concentration via geodesic beams @@ -59,8 +59,8 @@ nombre: Yaiza Canzani afiliacion: University of North Carolina web: https://canzani.web.unc.edu/ - start: 2021-09-13T11:00 - end: 2021-09-13T12:30 + start: '2021-09-13T11:00-03:00' + end: '2021-09-13T12:30' - titulo: Unconditional discriminant lower bounds exploiting violations of the generalized riemann hypothesis abstract: | In the 1970’s Andrew Odlyzko proved good lower bounds for the discriminant of a number field. He also showed that his results could be sharpened by assuming the Generalized Riemann Hypothesis. Some years later Odlyzko suggested that it might be possible to do without GRH. I shall explain Odlyzko’s ideas and sketch how for number fields of reasonably small degree (say up to degree 11 or 12) one can indeed improve the lower known bounds by exploiting hypothetical violations of GRH. This is joint work with Karim Belabas, Francisco Diaz y Diaz and Salvador Reyes, extending unpublished results of Matías Atria. @@ -89,8 +89,8 @@ nombre: Luz Roncal afiliacion: UBCAM -Basque Center for applied mathematics web: https://sites.google.com/view/luzroncal - start: 2021-09-14T11:00 - end: 2021-09-14T12:30 + start: '2021-09-14T10:00-03:00' + end: '2021-09-14T11:00-03:00' - titulo: Characterizations of Nonnegative polynomials of some varieties abstract: | I will describe some recent results on the characterization of those polynomials that are nonnegative on a variety \(X\) in \(R^n\). In the first part of the talk I will explain why this is an interesting problem it turns out to have a wealth of applications ranging from nonconvex optimization to stochastic control. In the second part of the talk I will explain how this problem can be approached on algebraic curves and surfaces, presenting ongoing joint work with G. Blekherman (GA Tech), R. Sinn (U. Lepizig) and G.G. Smith (Queen's U). @@ -99,8 +99,8 @@ nombre: Mauricio Velasco afiliacion: Universidad de los Andes web: http://wwwprof.uniandes.edu.co/~mvelasco/Velasco.html - start: 2021-09-14T11:00 - end: 2021-09-14T12:30 + start: 2021-09-14T11:00-03:00 + end: 2021-09-14T12:30-03:00 - titulo: Pointed Hopf algebras over nilpotent groups abstract: I will report on the ongoing project of classifying pointed Hopf algebras with finite Gelfand-Kirillov dimension. pdf: '' @@ -108,8 +108,8 @@ nombre: Nicolás Andruskiewitsch afiliacion: Universidad Nacional de Córdoba web: https://www.famaf.unc.edu.ar/~andrus/ - start: 2021-09-15T11:00 - end: 2021-09-15T12:30 + start: 2021-09-15T11:00-03:00 + end: 2021-09-15T12:30-03:00 - titulo: Optimal adjustment sets in non-parametric causal graphical models abstract: Causal graphical models are statistical models represented by a directed acyclic graph in which each vertex stands for a random variable and a structural equation that generates it which is a function of its parents in the graph and an independent error. I will start with a brief introduction of causal graphical models and of their use in the determination of identifiability and optimal estimation of the so-called average treatment effect (ATE) of static and personalized treatments in the presence of confounding variables. @@ -119,8 +119,8 @@ nombre: Andrea Rotnizky afiliacion: Universidad di Tella, Buenos Aires web: https://www.hsph.harvard.edu/andrea-rotnitzky/ - start: 2021-09-16T11:00 - end: 2021-09-16T12:30 + start: 2021-09-16T11:00-03:00 + end: 2021-09-16T12:30-03:00 - titulo: Inviscid dissipation and turbulence abstract: 'Turbulence is a phenomenon of wide theoretical and practical interest and an area of research with intense current activity. Mathematical modeling of turbulence relies, in an essential manner, on a thorough understanding of solutions of the Navier-Stokes @@ -140,8 +140,8 @@ nombre: Helena Nussenszveig Lopes afiliacion: Universidad Federal de Rio de Janeiro web: http://www.im.ufrj.br/hlopes/ - start: 2021-09-16T11:00 - end: 2021-09-16T12:30 + start: 2021-09-16T11:00-03:00 + end: 2021-09-16T12:30-03:00 - titulo: Unique Continuation for some Nonlinear Dispersive Models abstract: | We shall study unique continuation properties (UCP) of solutions to some time evolution eq’s. We are interested in the following two questions: @@ -157,8 +157,8 @@ nombre: Gustavo Ponce afiliacion: University of California web: http://web.math.ucsb.edu/~ponce/ - start: 2021-09-17T011:00 - end: 2021-09-17T12:30 + start: 2021-09-17T011:00-03:00 + end: 2021-09-17T12:30-03:00 - titulo: Transfer operators and atomic decomposition abstract: Since the groundbreaking contributions of Ruelle, the study of transfer operators has been one of the main tools to understand the ergodic theory of expanding maps, that is, discrete dynamical systems that locally expand distances. Questions on the existence of interesting invariant measures, as well the statistical properties of such dynamics system, as exponential decay of correlations and Central Limit Theorem, can be answered studying the spectral properties of the action of these operators on suitable spaces of functions. Using the method of atomic decomposition, we consider new Banach spaces of functions (that in some cases coincides with Besov spaces) that have a remarkably simple definition and allows us to obtain very general results on the quasi-compactness of the transfer operator acting in these spaces, even when the underlying phase space and expanding map are very irregular. Joint work with Alexander Arbieto (UFRJ-Brazil). pdf: '' @@ -166,8 +166,8 @@ nombre: Daniel Smania afiliacion: Universidade de São Paulo web: http://conteudo.icmc.usp.br/pessoas/smania/ - start: 2021-09-17T11:00 - end: 2021-09-17T12:30 + start: 2021-09-17T11:00-03:00 + end: 2021-09-17T12:30-03:00 - categoria: Cursos charlas: - titulo: Reversible Markov chains with nonnegative spectrum @@ -177,8 +177,8 @@ nombre: Roberto Imbuzeiro afiliacion: IMPA web: https://impa.br/page-pessoas/roberto-imbuzeiro-oliveira/ - start: 2021-09-13T15:00 - end: 2021-09-13T16:30 + start: '2021-09-13T15:00' + end: '2021-09-13T16:30' - titulo: Rigidity of actions of Lie groups and its lattices abstract: This will be an introductory course about lattices in (semi-simple) Lie groups and some famous theorems of Furstenberg, Margulis and Mostow (among others) about the "rigidity" of these groups. Time allowing, I'll discuss some recent theorems about actions of lattices on manifolds. pdf: '' diff --git a/data/data-sesion-charlas-template.yml b/data/data-sesion-charlas-template.yml new file mode 100644 index 0000000..14b1a44 --- /dev/null +++ b/data/data-sesion-charlas-template.yml @@ -0,0 +1,55 @@ + charlas: + - titulo: + abstract: | + + start: + end: + speaker: + - titulo: + abstract: | + + start: + end: + speaker: + - titulo: + abstract: | + + start: + end: + speaker: + - titulo: + abstract: | + + start: + end: + speaker: + - titulo: + abstract: | + + start: + end: + speaker: + - titulo: + abstract: | + + start: + end: + speaker: + - titulo: + abstract: | + + start: + end: + speaker: + - titulo: + abstract: | + + start: + end: + speaker: + - titulo: + abstract: | + + start: + end: + speaker: \ No newline at end of file diff --git a/data/sesiones.yml b/data/sesiones.yml index aaf3c6f..2a4c40b 100644 --- a/data/sesiones.yml +++ b/data/sesiones.yml @@ -2278,8 +2278,8 @@ Es importante entender que cada individuo requiere de tiempos distintos para hacer suya una idea y desarrollarla, y entender también que errar es parte sustancial del aprendizaje. Comprender las cosas a profundidad no sólo favorece la seguridad del ser humano, sino que fomenta la existencia y desarrollo de perspectivas distintas. Ante esta situación, el objetivo principal del proyecto de Círculos Matemáticos del Instituto de Matemáticas es despertar e infundir en los jóvenes la confianza en su propio razonamiento, así como el respeto de sus propios tiempos. Desplazar la noción de éxito basada en la velocidad y las actitudes competitivas, y comprender que el error es algo inherente al proceso de aprendizaje, hace que los estudiantes recuperen la confianza en sí mismos y se atrevan a proponer y explorar caminos. Esto concierne no sólo a las matemáticas sino a la vida misma. - start: - end: + start: '2021-09-13T15:00:00.-03:00' + end: '2021-09-13T15:45:00.-03:00' speaker: Laura Ortíz (Universidad Nacional de México, México) - titulo: El abrazo del escutoide abstract: | diff --git a/data/sponsors.yml b/data/sponsors.yml index 3aad83b..75dd2a0 100644 --- a/data/sponsors.yml +++ b/data/sponsors.yml @@ -3,7 +3,7 @@ img: img/logos/umalca.png web: http://www.umalca.org - nombre: IMPA - img: https://impa.br/wp-content/themes/impa/src/img/logo-home-horizontal.png + img: img/logos/impa.png web: https://impa.br linkstyle: 'display:block;background:#0c456f;' imgstyle: 'max-width:120px;' diff --git a/public/img/logos/impa.png b/public/img/logos/impa.png new file mode 100644 index 0000000000000000000000000000000000000000..a43fa88d7d0db4ce59dc21a417dc35d567d5a984 GIT binary patch literal 4302 zcmV;<5HatGP)&r}`JvZn9%s6H zdU{S)s}%tN0PKQqC;|WgKp+4BfIt8M0D%Ai00IF3004mi00063000C6000OC000mO z000081ONaK2mk;*!9P1(6MQC*zh|E*K`{crapGi$)ws*g6!Q1@GhLt<0RSot00008 z1OR~UsxSZm0FXcc0BD~;CiK^ky5#Rg$0GVWTQmJkE0sPz)0py^oRH7A&zY)o%AVmn zo?+6Qa$|21JkHCTHaXo)~v>I7M8O6=&k zRKebmGAX(6WIg}VB8L-|TzMFyc>q8;{^@!C(=A9W+91gUoP1W7jHD5wX#l|R3FLLd z@!usXh*4=UO$z`=OdzK_UT4T-?ogW&CLNJ%rf4DnFkAxJWMDnF2tuG8;EMb_pvC~e z2K3#PJt!d&-y(t3IwtrxO<5{Rf77xZ-|#dfoQDY*W70eL(eQ9JMy8GDxG zrt!)|oDe*7fq@W+Y4mSOk}%T6ttFY5MnAKDixhIlo#ur}DB$aThe|V~2y7!JijcN< zk_#=>&-mMzYK zq}&XFJc3A$4}G_RB=ptWl`KiaWgs2XS5H;@x~lSDc0x^7}J_ns4MM@NNS zR^yfhRo*7x^1kO3tp*-hqIkk0b{TxWmsVF|MI4^h;TAnoVLVpPZd>lu*}%vbsF^?x z4Fq-GOp4I~h{J|iI5|Ugzy<>Jhd3T+vn{7Bh!Y-2WWYd3!~P@S&idXV^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cNZ)J&u1*lq{>$!%L>}4(H17#< zxQxELwhukB2jt#k#wGcjTlsLE6DfnQZ5Nq2@{nyQnvibw2t!O~g}m zP9;h6+W-k9WoG{2=m^q576jjgd&=FcO#}MHV(e@n@8=bKw{gdv=wBwJ#|@Wb@7hf&O|JlTEumh&a=|I(BM(npEI zHEP9_`+SH6{EQB_U+y8GrxdjsGo-d4!I@Gj53rmm$sko~T;Px{W~#$UbTf~>#yzuMhQnPvz@_(^S2Gzget('/conferencias', function (Request $request, Response $response, array return $this->renderer->render($response, 'conferencias.html', ['charlas' => $charlas]); }); +$app->group('/sesiones',function($app){ + $app->get('', function (Request $request, Response $response, array $args) { + $this->logger->info("GDDWorkshop '/sesiones' route"); + /*$sesiones = Yaml::parseFile(__DIR__."/../data/sesiones.yml"); + + function removeAccents($string) { + return strtolower(trim(preg_replace('~[^0-9a-z]+~i', '-', preg_replace('~&([a-z]{1,2})(acute|cedil|circ|grave|lig|orn|ring|slash|th|tilde|uml);~i', '$1', htmlentities($string, ENT_QUOTES, 'UTF-8'))), ' ')); + } -$app->get('/sesiones', function (Request $request, Response $response, array $args) { - $this->logger->info("GDDWorkshop '/sesiones' route"); - $sesiones = Yaml::parseFile(__DIR__."/../data/sesiones.yml"); - - function removeAccents($string) { - return strtolower(trim(preg_replace('~[^0-9a-z]+~i', '-', preg_replace('~&([a-z]{1,2})(acute|cedil|circ|grave|lig|orn|ring|slash|th|tilde|uml);~i', '$1', htmlentities($string, ENT_QUOTES, 'UTF-8'))), ' ')); - } - - usort($sesiones,function($s1,$s2){ - $a = removeAccents($s1['sesion']); - $b = removeAccents($s2['sesion']); - return strcasecmp($a,$b)<0?-1:1; + usort($sesiones,function($s1,$s2){ + $a = removeAccents($s1['sesion']); + $b = removeAccents($s2['sesion']); + return strcasecmp($a,$b)<0?-1:1; + });*/ + $sesiones = getSesiones(); + + //echo "
".var_export($sesiones,true)."
"; + return $this->renderer->render($response, 'sesiones.html', ["sesiones"=>array_chunk($sesiones,5,true)]); }); - - //echo "
".var_export($sesiones,true)."
"; - return $this->renderer->render($response, 'sesiones.html', ["sesiones"=>array_chunk($sesiones,8,true)]); + $app->get('/{sesionId}', function (Request $request, Response $response, array $args) { + $sesion = getSesiones($args['sesionId']); + $charlas = array_reduce($sesion['charlas'], function($acc,$charla){ + $index = $charla['start']; + return $acc; + },[]); + return $this->renderer->render($response, 'sesion.html', ["sesion"=>$sesion]); + + }); + }); + $app->get('/calendario', function (Request $request, Response $response, array $args) { $this->logger->info("GDDWorkshop '/program' route"); return $this->renderer->render($response, 'program.html', $args); @@ -198,7 +229,7 @@ $app->group('/api', function($app){ }); $app->get("/eventos/sesiones[/{sesionId}]",function(Request $request, Response $response, array $args) { - $newres = $response->withJson(getEventos('sesiones')); + $newres = $response->withJson(getSesiones($args['sesionId'])); return $newres; }); $app->get("/test", function(Request $request, Response $response, array $args) { diff --git a/templates/conferencias.html b/templates/conferencias.html index 677ee34..a6b869e 100644 --- a/templates/conferencias.html +++ b/templates/conferencias.html @@ -24,8 +24,9 @@

{{charla.titulo|default('Título:')}}

{% if charla.speaker.web %}{% endif %} {{" "~charla.speaker.nombre}}{{" - "~charla.speaker.afiliacion|default('')}} - {{ charla.speaker.web ? '':"" }} -

{{charla.abstract|default('Resumen')}}

+ {{ charla.speaker.web ? '':"" }}
+ Abstract +

{{charla.abstract|default('Resumen')}}

diff --git a/templates/footer.html b/templates/footer.html index c6cb585..96f7933 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -7,7 +7,7 @@ {% for sponsor in sponsors %} {% endfor %} diff --git a/templates/head.html b/templates/head.html index 9f136ae..5dae358 100644 --- a/templates/head.html +++ b/templates/head.html @@ -4,34 +4,34 @@ - + - + - + - + - + - + - - + + - - + + - - + + @@ -42,7 +42,7 @@ - - + + \ No newline at end of file diff --git a/templates/header.html b/templates/header.html index ae667c9..e631921 100644 --- a/templates/header.html +++ b/templates/header.html @@ -3,10 +3,10 @@ -