From 42af92d29a1c91c6c24ebf2baff2d6a7f4e2a440 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Thu, 12 Dec 2024 14:47:02 -0800 Subject: [PATCH] add our Bluesky, and change Twitter->X --- _data/ambassadors.yml | 1 + _data/common.yml | 3 ++- _data/footer.yml | 8 +++++--- .../functional_programming_principles_scala.md | 2 +- community/index.md | 12 ++++++------ resources/js/tweetMachine-update.js | 12 ++++++------ scala-core/index.html | 2 +- 7 files changed, 22 insertions(+), 18 deletions(-) diff --git a/_data/ambassadors.yml b/_data/ambassadors.yml index 3fdcd923b..181297b5f 100644 --- a/_data/ambassadors.yml +++ b/_data/ambassadors.yml @@ -8,6 +8,7 @@ # image: /resources/img/frontpage/scala-spiral.png # city: Lausanne, Switzerland # email: scala.center@epfl.ch +# bluesky: scala-lang # twitter: scala_lang # github: scala # linkedin: https://www.linkedin.com/in/janedoe/ diff --git a/_data/common.yml b/_data/common.yml index 41d0ec7cb..af2d66568 100644 --- a/_data/common.yml +++ b/_data/common.yml @@ -1,6 +1,7 @@ # SNS URLs githubUrl: https://github.com/scala/scala -twitterUrl: https://twitter.com/scala_lang +blueskyUrl: https://bsky.app/profile/scala-lang.bsky.social +twitterUrl: https://x.com/scala_lang scaladexUrl: https://scaladex.scala-lang.org scastieUrl: https://scastie.scala-lang.org courseraMoocsUrl: https://www.coursera.org/specializations/scala diff --git a/_data/footer.yml b/_data/footer.yml index f525c52ab..6ce2a0d16 100644 --- a/_data/footer.yml +++ b/_data/footer.yml @@ -57,9 +57,11 @@ - title: GitHub url: "https://github.com/scala" - title: Mastodon - url: https://fosstodon.org/@scala_lang - - title: Twitter - url: "https://twitter.com/scala_lang" + url: "https://fosstodon.org/@scala_lang" + - title: Bluesky + url: "https://bsky.app/profile/scala-lang.bsky.social" + - title: X + url: "https://x.com/scala_lang" - title: Discord url: "https://discord.com/invite/scala" - title: LinkedIn diff --git a/_online_courses/functional_programming_principles_scala.md b/_online_courses/functional_programming_principles_scala.md index a3323f12a..44960110c 100644 --- a/_online_courses/functional_programming_principles_scala.md +++ b/_online_courses/functional_programming_principles_scala.md @@ -8,7 +8,7 @@ paid: false showDate: false --- -Functional programming is becoming increasingly widespread in industry. This trend is driven by the adoption of Scala as the main programming language for many applications. Scala fuses functional and object-oriented programming in a practical package. It interoperates seamlessly with both Java and Javascript. Scala is the implementation language of many important frameworks, including Apache Spark, Kafka, and Akka. It provides the core infrastructure for sites such as Twitter, Tumblr and also Coursera. +Functional programming is becoming increasingly widespread in industry. This trend is driven by the adoption of Scala as the main programming language for many applications. Scala fuses functional and object-oriented programming in a practical package. It interoperates seamlessly with both Java and Javascript. Scala is the implementation language of many important frameworks, including Apache Spark, Kafka, and Akka. It provides the core infrastructure for sites such as X, Tumblr and Coursera. In this course you will discover the elements of the functional programming style and learn how to apply them usefully in your daily programming tasks. You will also develop a solid foundation for reasoning about functional programs, by touching upon proofs of invariants and the tracing of execution symbolically. diff --git a/community/index.md b/community/index.md index 439dd977d..dd79f3632 100644 --- a/community/index.md +++ b/community/index.md @@ -188,8 +188,9 @@ There is a large and active Scala community on the community-managed Official: - [Blog/News Page](https://www.scala-lang.org/blog/) on this site +- [@scala-lang](https://bsky.app/profile/scala-lang.bsky.social) on Bluesky - [@scala_lang](https://fosstodon.org/@scala_lang) on Mastodon -- [@scala_lang](https://twitter.com/scala_lang) on Twitter +- [@scala_lang](https://x.com/scala_lang) on X Community: @@ -199,13 +200,12 @@ Community: - [blog directory](https://www.scalanews.net/Resources/Blog_Directory.html) - [Tooling Talks](https://www.tooling-talks.com) A series of talks about Scala and tooling. -- [The Scala Logs](https://twitter.com/thescalalogs) Podcast with interviews +- [The Scala Logs](https://x.com/thescalalogs) Podcast with interviews with developers, open source contributors, subject matter experts, and the like -Many Scala users are active on Twitter for sharing Scala-related news items and -opinions. Ask your Scala friends who they follow on Twitter (besides -[@scala_lang](https://twitter.com/scala_lang)!). +Many Scala users are active on social media, sharing Scala-related +news items and opinions. Ask your Scala friends who they follow. ## Learning resources @@ -222,7 +222,7 @@ opinions. Ask your Scala friends who they follow on Twitter (besides Integrated Development Environments: * [Scala IDEs](https://docs.scala-lang.org/getting-started/scala-ides.html) discusses main Scala IDEs - + Finding libraries: - [Scaladex](https://index.scala-lang.org), maintained by the Scala Center, is diff --git a/resources/js/tweetMachine-update.js b/resources/js/tweetMachine-update.js index a7604d2ba..0addd1b95 100755 --- a/resources/js/tweetMachine-update.js +++ b/resources/js/tweetMachine-update.js @@ -133,11 +133,11 @@ }); // Usernames text = text.replace(/@[A-Za-z0-9_]+/g, function (u) { - return '' + u + ''; + return '' + u + ''; }); // Hashtags text = text.replace(/#[A-Za-z0-9_\-]+/g, function (u) { - return '' + u + ''; + return '' + u + ''; }); return text; }, @@ -160,7 +160,7 @@ // Set the user screen name var usernameLink = "" + "@" @@ -170,7 +170,7 @@ // Set the username: var userLink = "" + actualTweet.user.name @@ -178,7 +178,7 @@ tweetObj.find('.user').html("" + userLink); // Set the timestamp - var dateLink = "" + tweetMachine.relativeTime(actualTweet.created_at) @@ -411,4 +411,4 @@ } }); }; -})(jQuery); \ No newline at end of file +})(jQuery); diff --git a/scala-core/index.html b/scala-core/index.html index 810f1c727..a8175f0e2 100644 --- a/scala-core/index.html +++ b/scala-core/index.html @@ -48,7 +48,7 @@

Scala Core Team

{% endif %} {% if coreMember.twitter %} - + {% endif %}