home.social

#pkl — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pkl, aggregated by home.social.

fetched live
  1. @cfgmgmtcamp Any more about #Pkl? I’d love an update on people who’ve adopted it in the 2 years it basically launched at CfgMgmtCamp

  2. @cfgmgmtcamp Any more about #Pkl? I’d love an update on people who’ve adopted it in the 2 years it basically launched at CfgMgmtCamp

  3. @cfgmgmtcamp Any more about ? I’d love an update on people who’ve adopted it in the 2 years it basically launched at CfgMgmtCamp

  4. @cfgmgmtcamp Any more about #Pkl? I’d love an update on people who’ve adopted it in the 2 years it basically launched at CfgMgmtCamp

  5. @cfgmgmtcamp Any more about #Pkl? I’d love an update on people who’ve adopted it in the 2 years it basically launched at CfgMgmtCamp

  6. PKL 12: दबंग दिल्ली की शानदार वापसी, तेलुगू टाइटंस को हराकर अंक तालिका में टॉप पर
    #pkl #breakingnews #prokabaddi #sports #asiacup

    fitsportsindia.com/sports/kaba

  7. PKL 12: दबंग दिल्ली की शानदार वापसी, तेलुगू टाइटंस को हराकर अंक तालिका में टॉप पर
    #pkl #breakingnews #prokabaddi #sports #asiacup

    fitsportsindia.com/sports/kaba

  8. We’ve open-sourced #Pkl support for CodeMirror.

    And we’re going to keep showing our support for #Pkl. More to come soon!

    Check it out → github.com/platform-engineering-labs/codemirror-pkl

  9. Exciting updates in the #Pkl ecosystem!

    New features coming: Pkl Renderer for dynamic code generation, LibPkl for zero-dependency bindings, and community-driven capabilities.

    We wrote about what's on the roadmap and why these updates make Pkl much more platform-friendly for real-world deployments. (Linked 👇)

    We're building the next gen of platform tooling. Follow us for insights and updates about our first tool, launching soon!

    #PlatformEngineering #Infrastructure #OpenSource

  10. #Pkl is great for config, but small syntax quirks can slow you down.

    We broke down three rules to make #JSON output predictable, with one quick way to verify results.

    Read it here: medium.com/platform-engineerin

  11. Trying the new #jdx_hk git-hook manager. It uses #pkl programming language for configuration, and that's a big red flag.
    I adapted the config file from their "getting started" and it just keeps crashing on syntax errors.
    I think I'm gonna say no to this one, it shouldn't be that complicated.

    And BTW, never was a big fan of gradle either.

    #git #gitHook #programming

  12. Trying the new #jdx_hk git-hook manager. It uses #pkl programming language for configuration, and that's a big red flag.
    I adapted the config file from their "getting started" and it just keeps crashing on syntax errors.
    I think I'm gonna say no to this one, it shouldn't be that complicated.

    And BTW, never was a big fan of gradle either.

    #git #gitHook #programming

  13. : , recently released by , is an open-source language for configuration. It's designed to simplify tasks and address the shortcomings of JSON and YAML.

    Pkl is based on a key value structure, similar to JSON, and is designed to specialize in configuration.

    knowledgezone.co.in/posts/Pkl-

  14. #ITByte: #Pkl, recently released by #Apple, is an open-source #Programming language for configuration. It's designed to simplify tasks and address the shortcomings of JSON and YAML.

    Pkl is based on a key value structure, similar to JSON, and is designed to specialize in configuration.

    knowledgezone.co.in/posts/Pkl-

  15. #ITByte: #Pkl, recently released by #Apple, is an open-source #Programming language for configuration. It's designed to simplify tasks and address the shortcomings of JSON and YAML.

    Pkl is based on a key value structure, similar to JSON, and is designed to specialize in configuration.

    knowledgezone.co.in/posts/Pkl-

  16. #ITByte: #Pkl, recently released by #Apple, is an open-source #Programming language for configuration. It's designed to simplify tasks and address the shortcomings of JSON and YAML.

    Pkl is based on a key value structure, similar to JSON, and is designed to specialize in configuration.

    knowledgezone.co.in/posts/Pkl-

  17. #ITByte: #Pkl, recently released by #Apple, is an open-source #Programming language for configuration. It's designed to simplify tasks and address the shortcomings of JSON and YAML.

    Pkl is based on a key value structure, similar to JSON, and is designed to specialize in configuration.

    knowledgezone.co.in/posts/Pkl-

  18. Pkl, an open source configuration as code language developed by Apple, appears on the latest thoughtworks Tech Radar as a language and framework to trial thoughtworks.com/radar/languag #pkl #opensource

  19. Pkl, an open source configuration as code language developed by Apple, appears on the latest thoughtworks Tech Radar as a language and framework to trial thoughtworks.com/radar/languag

  20. Pkl, an open source configuration as code language developed by Apple, appears on the latest thoughtworks Tech Radar as a language and framework to trial thoughtworks.com/radar/languag #pkl #opensource

  21. Pkl, an open source configuration as code language developed by Apple, appears on the latest thoughtworks Tech Radar as a language and framework to trial thoughtworks.com/radar/languag #pkl #opensource

  22. Pkl, an open source configuration as code language developed by Apple, appears on the latest thoughtworks Tech Radar as a language and framework to trial thoughtworks.com/radar/languag #pkl #opensource

  23. Unbiased take on configuration formats to replace
    #yaml

    - #toml, toml.io/en/
    the only real configuration language.

    - #kdl, kdl.dev/ 🌈
    this format has been gaining hurts because it has cristal clear specifications! 🤓

    It therefore benefits from having the most **implementations in many, many languages!**

    Clearly the people choice! 😁

    - #hcl hashicorp attempt to replace yaml that resembles pkl 😑
    - #pkl apple attempt to replace yaml that resembles pkl 😑

  24. Unbiased take on configuration formats to replace
    #yaml

    - #toml, toml.io/en/
    the only real configuration language.

    - #kdl, kdl.dev/ 🌈
    this format has been gaining hurts because it has cristal clear specifications! 🤓

    It therefore benefits from having the most **implementations in many, many languages!**

    Clearly the people choice! 😁

    - #hcl hashicorp attempt to replace yaml that resembles pkl 😑
    - #pkl apple attempt to replace yaml that resembles pkl 😑

  25. Unbiased take on configuration formats to replace
    #yaml

    - #toml, toml.io/en/
    the only real configuration language.

    - #kdl, kdl.dev/ 🌈
    this format has been gaining hurts because it has cristal clear specifications! 🤓

    It therefore benefits from having the most **implementations in many, many languages!**

    Clearly the people choice! 😁

    - #hcl hashicorp attempt to replace yaml that resembles pkl 😑
    - #pkl apple attempt to replace yaml that resembles pkl 😑

  26. : , recently released by , is an open-source language for configuration. It's designed to simplify tasks and address the shortcomings of JSON and YAML.

    Pkl is based on a key value structure, similar to JSON, and is designed to specialize in configuration.

    knowledgezone.co.in/posts/Pkl-

  27. #ITByte: #Pkl, recently released by #Apple, is an open-source #Programming language for configuration. It's designed to simplify tasks and address the shortcomings of JSON and YAML.

    Pkl is based on a key value structure, similar to JSON, and is designed to specialize in configuration.

    knowledgezone.co.in/posts/Pkl-

  28. #ITByte: #Pkl, recently released by #Apple, is an open-source #Programming language for configuration. It's designed to simplify tasks and address the shortcomings of JSON and YAML.

    Pkl is based on a key value structure, similar to JSON, and is designed to specialize in configuration.

    knowledgezone.co.in/posts/Pkl-

  29. #ITByte: #Pkl, recently released by #Apple, is an open-source #Programming language for configuration. It's designed to simplify tasks and address the shortcomings of JSON and YAML.

    Pkl is based on a key value structure, similar to JSON, and is designed to specialize in configuration.

    knowledgezone.co.in/posts/Pkl-

  30. #ITByte: #Pkl, recently released by #Apple, is an open-source #Programming language for configuration. It's designed to simplify tasks and address the shortcomings of JSON and YAML.

    Pkl is based on a key value structure, similar to JSON, and is designed to specialize in configuration.

    knowledgezone.co.in/posts/Pkl-

  31. My dream is that xcode projects and plist files are all destroyed and replaced with Pkl.

    #Pkl #Xcode

  32. My dream is that xcode projects and plist files are all destroyed and replaced with Pkl.

    #Pkl #Xcode

  33. My dream is that xcode projects and plist files are all destroyed and replaced with Pkl.

    #Pkl #Xcode

  34. This talk of the new #pkl config lang reminds me of this #CfgMgmtCamp talk from 5 years ago: Why your configuration should have a schema by Gareth Rushgrove

    youtube.com/watch?v=u3cvSkg_mG

  35. This talk of the new #pkl config lang reminds me of this #CfgMgmtCamp talk from 5 years ago: Why your configuration should have a schema by Gareth Rushgrove

    youtube.com/watch?v=u3cvSkg_mG

  36. This talk of the new config lang reminds me of this talk from 5 years ago: Why your configuration should have a schema by Gareth Rushgrove

    youtube.com/watch?v=u3cvSkg_mG0

  37. This talk of the new #pkl config lang reminds me of this #CfgMgmtCamp talk from 5 years ago: Why your configuration should have a schema by Gareth Rushgrove

    youtube.com/watch?v=u3cvSkg_mG

  38. Pkl; Cue; KISS

    Two Drops today! This one, which makes up for the time-crunch-skipped one from earlier in the week, and the WPE.

    TL;DR

    This is an AI-generated summary of today’s edition.

    • Apple introduces Pkl, a new “configuration-as-code” language with features like variables, conditionals, and loops, designed to reduce repetitive boilerplate code in configuration files. It supports packages, called “pantries,” and has editor support for IntelliJ, VSCode, and Neovim. Examples for Java, Go, Swift, and Kubernetes are provided, but a tool to convert existing YAML/JSON to Pkl is missing.
    • Google’s Cue, another configuration language, is designed to simplify defining and validating data, with a focus on Kubernetes and Terraform. Cue is a superset of JSON, making it easier to learn, and it can convert existing JSON and YAML files into Cue specifications. Cue and Pkl both offer advanced data validation and schema definition, but Pkl adds object-oriented features like classes and inheritance.
    • A Golang-based utility, yamltojson, is mentioned as a simpler alternative for converting YAML to JSON and vice versa, suggesting that sometimes simpler tools may be sufficient for configuration tasks without the need for more complex programming components.

    Type your email…

    Subscribe

    Pkl

    Photo by Ju00c9SHOOTS on Pexels.com

    As if we didn’t already have enough configuration “languages” to make life miserable across diverse projects, Apple enters the fray with Pkl. This is (as we’ll see) another “configuration-as-code” language + tooling pair vs. traditional, “static” configuration language + tooling such as JSON, YAML, or good ol’ INI files (though there are some aspects of YAML that also give it code-execution powers). That’s right, Pkl has full language features like variables, conditionals, and loops, which are designed to help us avoid repetitive boilerplate code.

    It also groks that configuration files need to be valid, so there’s full support for defining rules and testing configurations out, which is handy in a CI/CD context.

    While there’s a full, standalone, and robust CLI tool for working with Pkl files, it is also a library with multi-language support, and can be embedded in virtually any framework/app.

    Because it’s a language, it supports the use of packages, which can be sourced from any URL with that houses a consistent directory structure. These are called “pantries” (of course they are), and Apple’s core pantry sources are oddly on GitHub. Apple also has many Pkl-oriented project repositories y’all can explore.

    There is also nascent editor support for Pkl files (presently IntelliJ, VSCode, and Neovim). And, Apple has some examples for Java, Go, Swift, and Kubernetes which you can peruse to see how various Pkl bits translate to formats you are likely more familiar with.

    A glaring “miss” from my perspective is a “turn this existing YAML/JSON/etc. into Pkl” bit of tooling (there is some of this if you read through the various pantry offerings and the language examples referenced in the previous paragraph).

    Cue

    Photo by Tima Miroshnichenko on Pexels.com

    Google’s Configuration Language, Cue (GH), is yet-another language + tool pair for defining and using data constraints. It, like Pkl, is designed to simplify tasks involving defining and validating data (which include configuration files). With Cue, we can define a schema with constraints, which can then be used to validate data against that schema. It was really designed with Kubernetes and Terraform in mind (likely one reason Apple provided k8’s examples with Pkl). Unlike Apple, Google understood folks already have quite a bit of information to keep in their noggins, so they made Cue a superset of JSON vs. design a new, special, crunchy language syntax we need to learn.

    In terms of features, both Cue’s ecosystem and Pkl offer advanced data validation capabilities and the ability to define schemas with constraints. However, Pkl introduces object-oriented features like classes and inheritance, which are not a part of Cue’s more functional approach. Pkl also emphasizes integration with IDEs (oddly lacking direct support in Apple’s own Xcode) and aims to be a polyglot config solution, supporting multiple programming languages out of the gate.

    Because Cue has been around for a little longer, it has out-of-the gate support for ingesting existing JSON, YAML (etc.) files and turning them into Cue specifications. So, if you’re just looking to escape YAML hades, you might be better off working with Cue, for now.

    If you’re not familiar with Cue at all, there’s a handy Cuetorial.

    We’re not showing how to use either, since I cannot see why one would need either bit of tooling. We’ve covered many configuration languages and conversion tools across these 400+ Drops, and some like Jsonnet have been around for nearly a decade and accomplish the same tasks (and, may be able to do more given their age).

    Keep It Simple, Sir!

    Photo by Sohel Patel on Pexels.com

    I realize both Cue and Pkl have bigger scopes in mind, sometimes all you need is the ability to go from something sane-ish (JSON) to insane (YAML), and back. While we’ve covered many tools like that, one ~4-year-old one is a Golang-based utility dubbed yamltojson. It’s a simple install, can convert a single file, or entire directory, and works everywhere. And, perhaps, leave the programming components to the full-on languages?

    Type your email…

    Subscribe

    FIN

    Remember, you can follow and interact with the full text of The Daily Drop’s free posts on Mastodon via @[email protected] ☮️

    https://dailydrop.hrbrmstr.dev/2024/02/09/drop-417-2024-02-09-make-up-exam/

    #cue #pkl #yaml

  39. Pkl; Cue; KISS

    Two Drops today! This one, which makes up for the time-crunch-skipped one from earlier in the week, and the WPE.

    TL;DR

    This is an AI-generated summary of today’s edition.

    • Apple introduces Pkl, a new “configuration-as-code” language with features like variables, conditionals, and loops, designed to reduce repetitive boilerplate code in configuration files. It supports packages, called “pantries,” and has editor support for IntelliJ, VSCode, and Neovim. Examples for Java, Go, Swift, and Kubernetes are provided, but a tool to convert existing YAML/JSON to Pkl is missing.
    • Google’s Cue, another configuration language, is designed to simplify defining and validating data, with a focus on Kubernetes and Terraform. Cue is a superset of JSON, making it easier to learn, and it can convert existing JSON and YAML files into Cue specifications. Cue and Pkl both offer advanced data validation and schema definition, but Pkl adds object-oriented features like classes and inheritance.
    • A Golang-based utility, yamltojson, is mentioned as a simpler alternative for converting YAML to JSON and vice versa, suggesting that sometimes simpler tools may be sufficient for configuration tasks without the need for more complex programming components.

    Type your email…

    Subscribe

    Pkl

    Photo by Ju00c9SHOOTS on Pexels.com

    As if we didn’t already have enough configuration “languages” to make life miserable across diverse projects, Apple enters the fray with Pkl. This is (as we’ll see) another “configuration-as-code” language + tooling pair vs. traditional, “static” configuration language + tooling such as JSON, YAML, or good ol’ INI files (though there are some aspects of YAML that also give it code-execution powers). That’s right, Pkl has full language features like variables, conditionals, and loops, which are designed to help us avoid repetitive boilerplate code.

    It also groks that configuration files need to be valid, so there’s full support for defining rules and testing configurations out, which is handy in a CI/CD context.

    While there’s a full, standalone, and robust CLI tool for working with Pkl files, it is also a library with multi-language support, and can be embedded in virtually any framework/app.

    Because it’s a language, it supports the use of packages, which can be sourced from any URL with that houses a consistent directory structure. These are called “pantries” (of course they are), and Apple’s core pantry sources are oddly on GitHub. Apple also has many Pkl-oriented project repositories y’all can explore.

    There is also nascent editor support for Pkl files (presently IntelliJ, VSCode, and Neovim). And, Apple has some examples for Java, Go, Swift, and Kubernetes which you can peruse to see how various Pkl bits translate to formats you are likely more familiar with.

    A glaring “miss” from my perspective is a “turn this existing YAML/JSON/etc. into Pkl” bit of tooling (there is some of this if you read through the various pantry offerings and the language examples referenced in the previous paragraph).

    Cue

    Photo by Tima Miroshnichenko on Pexels.com

    Google’s Configuration Language, Cue (GH), is yet-another language + tool pair for defining and using data constraints. It, like Pkl, is designed to simplify tasks involving defining and validating data (which include configuration files). With Cue, we can define a schema with constraints, which can then be used to validate data against that schema. It was really designed with Kubernetes and Terraform in mind (likely one reason Apple provided k8’s examples with Pkl). Unlike Apple, Google understood folks already have quite a bit of information to keep in their noggins, so they made Cue a superset of JSON vs. design a new, special, crunchy language syntax we need to learn.

    In terms of features, both Cue’s ecosystem and Pkl offer advanced data validation capabilities and the ability to define schemas with constraints. However, Pkl introduces object-oriented features like classes and inheritance, which are not a part of Cue’s more functional approach. Pkl also emphasizes integration with IDEs (oddly lacking direct support in Apple’s own Xcode) and aims to be a polyglot config solution, supporting multiple programming languages out of the gate.

    Because Cue has been around for a little longer, it has out-of-the gate support for ingesting existing JSON, YAML (etc.) files and turning them into Cue specifications. So, if you’re just looking to escape YAML hades, you might be better off working with Cue, for now.

    If you’re not familiar with Cue at all, there’s a handy Cuetorial.

    We’re not showing how to use either, since I cannot see why one would need either bit of tooling. We’ve covered many configuration languages and conversion tools across these 400+ Drops, and some like Jsonnet have been around for nearly a decade and accomplish the same tasks (and, may be able to do more given their age).

    Keep It Simple, Sir!

    Photo by Sohel Patel on Pexels.com

    I realize both Cue and Pkl have bigger scopes in mind, sometimes all you need is the ability to go from something sane-ish (JSON) to insane (YAML), and back. While we’ve covered many tools like that, one ~4-year-old one is a Golang-based utility dubbed yamltojson. It’s a simple install, can convert a single file, or entire directory, and works everywhere. And, perhaps, leave the programming components to the full-on languages?

    Type your email…

    Subscribe

    FIN

    Remember, you can follow and interact with the full text of The Daily Drop’s free posts on Mastodon via @[email protected] ☮️

    https://dailydrop.hrbrmstr.dev/2024/02/09/drop-417-2024-02-09-make-up-exam/

    #cue #pkl #yaml