π if only.
π if only.
New #AshFramework extension incoming soon. Something long awaited π
#ElixirLang
This is also excellent for migrating to Ash if you already have a postgres database π
#AshFramework can generate resources from your database. Now, with `--fragments` you can just re-run the generator and your customizations are preserved, only the schema fragments get refreshed. Perfect for working against databases you don't ownπ
#ElixirLang
I cannot stress enough how amazing Ashβs timing was with AI coding agents. Its design is absolutely perfect for building apps with tools like Claude that donβt ever get tired and just code things the right way. The DSL for attributes, relationships, actions, policies, aggregates, etc make the agentβs job almost feel effortless. Policy enforcement specifically has been bonkers easy and so utterly powerful. Drink the kool aid!
www.reddit.com/r/elixir/s/4... Ash is in the right place at the right time.
Your jobs table isn't a domain model. @zachdaniel.dev shows durable workloads with AshFramework, AshStateMachine, and AshOban.
Model work as state, not tasks.
www.elixirconf.eu/talks/model-...
AshJsonApi 1.6-rc.1 is out that allows transforming fields, with convenient builtins for camelizing/dasherizing fields. This applies automatically to reading, writing, filtering, sorting, field selection: everything π #AshFramework #ElixirLang
AshAdmin 1.0rc is out, with a complete UI overhaul, a rework of our markdown/json editor to code mirror, and features for more convenient relationship management and multitenancy drop-down/typeahead π #AshFramework #ElixirLang
Constructing skills with your usage_rules
usage_rules now supports copying skills from your packages in addition constructing skills from the usage rules files π Package authors can now provide entire skills for your project, and when you update your dep you can get the new version of the skill! #ElixirLang
π’The latest AshTypescript release brings you t typed controllersπ Using Typescript with Phoenix has never been easier, with or without #AshFramework. Thanks to Torkild for his awesome package! I might be working on a PR for something pretty cool there myself π #ElixirLang
Thanks for the feedback!. I'd suggest much of the topics you'd like to see just don't fit in what the first book on the topic. Has to be widely accessible. Maybe an advanced book later. For comparing to alternatives, I think also there are better venues. At least its not one star π
For more information, check out the docs: hexdocs.pm/ash_oban/0.8...
AshOban v0.8.0-rc.0 is out, with support for Oban Pro's chunk workers! This allows you to leverage #AshFramework's ability to run any action as a bulk action(with progressive enhancement) to process many records at a time without having to modify your trigger logic at all π
Honestly I get why some people aren't into LLMs & GenAI. It's a real life version of Rita Skeeter's Quick-Quotes Quill.
If I want to get started with a home lab, self-hosting some apps, setting up network controls, running smart home systems etc, where should I start?
I am stunned by how big the effect of usage_rules is. Forgot to add it recently to a new project, and only noticed because the agent performed way below what I was used to. Thank you for this initiative!
arxiv.org/abs/2602.12670 This is why hexdocs.pm/usage_rules exists. Package authors need to be providing the context that will guide your agent to successfully use their package. As their library changes, they can update their agent guidance. #ElixirLang
Wrote a little thing: open.substack.com/pub/zachdani...
π€ I'm not sure about that. I mean you can, but one overwrites the other. We conditionally define that module different ways depending on if `Plug` is available.
Yes, I'd definitely accept that. Perhaps `mix usage_rules.info` listing all available and `mix usage_rules.info package` listing those for that package?
Bestsellers this week at pragprog.com
1οΈβ£ Common-Sense Guide to AI Engineering - Jay Wengrow
2οΈβ£ More SQL Antipatterns @billkarwin.geek.org
3οΈβ£ Ash Framework - @sevensea.cat @zachdaniel.dev
4οΈβ£ Advanced Functional Programming with Elixir @jkwa.bsky.social
5οΈβ£ Programming Ruby 4 @noelrappin.com
This person made a production management tool for his spouse's bakery in #ElixirLang + Ash + LiveView. It's super valuable to have an codebase like this be open source for people trying to get into that tech stack. π
github.com/puemos/craft...
Sharing just cuz I used Claude Opus to make something similar last week for a client. I knew the data model, and I am well versed in Elixir and Ash. Within 8 hours I had a shippable full featured and tested product. Claude was amazing for Ash Policies. Tidewave.ai also made the speed possible.
You can now set attributes to the results of expressions in create actions. This can be useful for a whole slew of reasons, one of which is being able to use aggregates, fragments, etc. Especially powerful when paired with upserts.
#AshFramework #ElixirLang
If you haven't, I'd take a peek at Spark, might make your DSL life easier and have less hair pulling out π hexdocs.pm/spark