I think I was trying Hanami with wrong mindset. I was trying to replicate the same things I used to do in Rails apps, but now I'm trying to learn the Hanami-way before I start to tweak some things.
[#]hanami
=> More informations about this toot | View the thread
Finally I could release Blueprint 1.0.0 after almost 2 years in development.
https://github.com/stephannv/blueprint/releases/tag/v1.0.0
=> More informations about this toot | View the thread
same vibe as file.file.file and response.data.response
[#]crystal #crystallang
=> More informations about this toot | View the thread
A great feature from Crystal lang is its method arguments.
In this example, I don't need to choose if I want positional args or keywords args, or mixed.
I can define external names for my args, in this code, "to" is the argument external name, and "buffer" is the internal name.
More details: https://crystal-lang.org/reference/1.15/syntax_and_semantics/default_values_named_arguments_splats_tuples_and_overloading.html
[#]crystallang #crystal
=> More informations about this toot | View the thread
Advent of Code Day 2: Cool.
I'm posting my Crystal/Ruby code on Github: https://github.com/stephannv/aoc
[#]aoc #aoc2024
=> More informations about this toot | View the thread
RubyUI beta1 was released:
https://rubygems.org/gems/ruby_ui
=> More informations about this toot | View the thread
Allef Gomes is now talking about hotwire.
[#]guruce
=> More informations about this toot | View the thread
Frankyston Lins is talking about background jobs
[#]guruce
=> More informations about this toot | View the thread
GURU-CE is starting with Arthur Molina talking about creating a design system with ViewComponent.
[#]guruce
=> More informations about this toot | View the thread
It would be nice if we could define a few scripts on Gemfile, eg.:
scripts do
test "bundle exec rspec"
lint "bundle exec standardrb"
dev "bin/dev"
end
So we can run: bundle run test. Like we do when working with Javascript projects (yarn dev, yarn lint, yarn test, etc).
Because I have to remember everytime if the project I'm contributing uses rspec, minitest, quickdraw, rubocop, standardrb, etc.
=> More informations about this toot | View the thread
I just published Phlex::Variants gem, to help building components with Phlex + utility-first CSS frameworks (eg. Tailwind CSS).
https://github.com/stephannv/phlex-variants
[#]phlex #ruby
=> More informations about this toot | View the thread
Is there anyone who has decided to use engines to modularize their Rails apps and stayed at the company long enough to suffer the consequences?
I see many (new/old) blog posts talking about how using engines is a good choice, but only talks about simple scenarios (most of them just teach how to setup engines).
I worked in 3 companies that used Rails engines in their apps, in all of them the engines did not solve the problems they promised to solve, on the contrary.
=> More informations about this toot | View the thread
Added a Form Builder to Blueprint in 0.9.0.
More examples at docs: https://stephannv.github.io/blueprint-docs/handbook/forms
[#]crystal #crystalang
=> More informations about this toot | View the thread
@joeldrapper thanks for teaching how to build a new Phlex from scratch.
https://beta.phlex.fun/handbook/under-the-hood.html
=> More informations about this toot | View the thread
I published FileWatcher, my Crystal shard to listen to file changes. Pure Crystal implementation, no dependencies.
https://github.com/stephannv/file_watcher
Using FileWatcher I wrote a script to export .aseprite files to .png on any .aseprite file changes. I had a Ruby version of this script, but it requires an installed Ruby to work, now using Crystal I could export it as a binary.
[#]crystal
=> More informations about this toot | View the thread
=> This profile with reblog | Go to ste@ruby.social account This content has been proxied by September (3851b).Proxy Information
text/gemini