← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 159
  1. Personal Server Backups

    Cloud hosting services like Linode or DigitalOcean offer backup services for your VPS.

  2. Snippet for when you’re using Circe and want to define custom Jackson serializers/deserializers from Circe’s codec definitions.

  3. I ❤️ Scala's Community

    I find Scala’s community to be really nice, welcoming, warm, and productive.

  4. Mutable collection types should only be used strategically, with purpose, otherwise for correctness/safety purposes, the default should be immutable collection types, aka persistent data structures.

  5. On Scala 3's Optional Braces

    I dislike Scala 3's significant whitespace syntax.

  6. Ever had the need to deliver messages on your queue at a certain timestamp in the future?

  7. Cut the Technobabble

    "Sir, we have a bug!"

  8. As Scala developers and fans of the functional programming promoted by Haskell, how do we justify the use of IO to newbies coming from Java?

  9. Execute Shell Commands in Java/Scala/Kotlin

    The following describes snippets for executing shell commands, in Java, Scala, and Kotlin, using standard functionality.

  10. The Trouble with Checked Exceptions: Part 2

    Java’s Checked Exceptions are problematic, and it’s not only due to their ergonomics.

  11. Proprietary Environments are a Trap

    Me, with my son, learning the Lua programming language on proprietary macOS laptops.

  12. Java 19

    Honestly, Java's mascot is pretty cool, Scala needs a mascot too.

  13. Akka Fork FUD

    Lightbend made Akka proprietary from version 2.7.x onward.

  14. Java's Cultural Problem

    Java is good by modern standards, from a technical perspective, the platform having received a lot of improvements from Java 8 to 17.

  15. Scripting with Scala

    Unix has a long tradition with scripting — small programs represented as text files that can be inspected, modified, and executed.

  16. #DeleteFacebook

    I finally managed to delete my Facebook account.

  17. Scala isn't fun anymore

    I’ve just spent over a day, going to sleep at 1:00 am, to upgrade dependencies and fix eviction warnings in the build of a Scala project.

  18. Akka is moving away from Open Source

    According to today’s announcement, Lightbend is changing Akka’s licensing to “Business Source License (BSL)”.

  19. Open Source vs Free Software

    You may think that Open Source is about having “access to source code”, whereas Free Software is about freedom.

  20. Limiting Toxic Technology

    Apuseni Moutains, Romania, near the Scărișoara Ice Cave Toxic usage patterns of technology, begone — inspired by a self-help book book 🤷‍♂️ I changed my philosophy and habits regarding the use of technology.

  21. Tracking Side Effects in Scala

    What if we’d use Scala’s type system for tracking side-effects in impure code, too?

  22. OOP vs Type Classes: Ideology

    Jacques-Louis David, The Intervention of the Sabine Women, 1799.

  23. Implicit vs Scala 3's Given

    I don’t like given, as an alternative to implicit in Scala 3.

  24. Scala OOFP Design Sample

    Scala is considered a multi-paradigm language, for better or worse, being one of the best OOP languages, which is why it's so versatile.

  25. Scala's Gitter to Discord migration mistake

    The Scala community is increasingly using Discord for “real-time chat”.

  26. On Typelevel and Monix

    Planning the future is difficult, but can bring clarity and purpose.

  27. A Return to Blogging

    I like writing about my personal projects and about programming in general.

  28. Finding Focus in Harsh Times

    Current events have obliterated my ability to focus, both at work, or in my personal projects.

  29. Cleanup Scala/Java project

    #!

  30. VSCode workplace recommended extensions

    You can recommend the required VSCode extensions per repository to your fellow programmers.

  31. Unsafe Lazy Resource.scala

    I need an impure way (no IO) to create a resource atomically only once and later be able to know if it was created or not, so I can close this resource safely. 🤔 Jules Ivanic (@guizmaii) ⬇️ August 2, 2021 import scala.util.control.NonFatal /** Builds a "…

  32. Combining the terminal (iTerm) with the IDE

    ⌘+Click on a file path triggers my terminal to open that file inside my IDE, and that helps a lot: Demo of iTerm's semantic history I’m a terminal-first, IDE-second guy.

  33. Tolerance

    I just refactored a piece of code.

  34. I stay connected to websites I care about via an RSS/Atom feed reader.

  35. We’ve had an ING Scala Meetup last night.

  36. Video link (open on YouTube.com) Yo dawg, I heard you liked concurrency primitives.

  37. Matomo (Analytics) Hosting via Docker

    For self-hosting Matomo, a FOSS alternative to Google Analytics — via docker-compose: version: '3.3' services: db: container_name: mariadb image: mariadb:10.5 ports: - "3306:3306" labels: - "com.centurylinklabs.watchtower.en…

  38. Scala's List has a Secret

    OOP couples the “data” with the methods operating on it, and that’s considered bad in FP circles, because supposedly data outlives the functions operating on it.

  39. Tail Recursive Functions (in Scala)

    Video link (open on YouTube.com) Turning imperative algorithms to tail-recursive functions isn’t necessarily obvious.

  40. Snippet: Tagless Final vs OOP

    These may as well be interview questions for Scala developers: Which signature do you prefer?

  41. Snippet: Remove blank lines from text

    text.replaceAll("(?

  42. Execute shell commands in F#

    #!

  43. Using ScalaTest for Effects

    ScalaTest helpers for testing effects (e.g. cats.effect.IO, monix.eval.Task).

  44. Best practice for natural Ordering

    Scala has scala.math.Ordering, Java has java.lang.Comparable.

  45. Managing Database Migrations in Scala

    The database schema should be described as code, in your repository.

  46. I maintain a Jekyll blog, with tagged articles (tags specified in the Markdown front-matter), but maintaining tags isn’t easy, because I often forget what tags I used.

  47. I like Option.get

    In strong, static, expressive FP languages, such as Scala, or Haskell, there’s the ongoing drive to “capture invariants in the type system” and “to make illegal states unrepresentable”.

  48. I maintain a growing Screenshots folder.

  49. Block comments on the web

    Comments on the web can be toxic, and a waste of time.

  50. Generic IOApp alternative

    This is a simple and generic IOApp and TaskApp replacement.