Toots for ste@ruby.social account

Written by Stephann V. on 2025-01-30 at 22:04

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

Written by Stephann V. on 2025-01-25 at 15:49

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

Written by Stephann V. on 2025-01-24 at 18:15

same vibe as file.file.file and response.data.response

[#]crystal #crystallang

=> View attached media

=> More informations about this toot | View the thread

Written by Stephann V. on 2025-01-24 at 15:40

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

=> View attached media

=> More informations about this toot | View the thread

Written by Stephann V. on 2024-12-02 at 23:11

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

Written by Stephann V. on 2024-11-22 at 17:42

RubyUI beta1 was released:

https://rubygems.org/gems/ruby_ui

=> More informations about this toot | View the thread

Written by Stephann V. on 2024-11-09 at 14:21

Allef Gomes is now talking about hotwire.

[#]guruce

=> View attached media

=> More informations about this toot | View the thread

Written by Stephann V. on 2024-11-09 at 13:03

Frankyston Lins is talking about background jobs

[#]guruce

=> View attached media

=> More informations about this toot | View the thread

Written by Stephann V. on 2024-11-09 at 12:28

GURU-CE is starting with Arthur Molina talking about creating a design system with ViewComponent.

[#]guruce

=> View attached media

=> More informations about this toot | View the thread

Written by Stephann V. on 2024-10-17 at 20:15

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

Written by Stephann V. on 2024-09-26 at 13:23

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

=> View attached media

=> More informations about this toot | View the thread

Written by Stephann V. on 2024-09-25 at 13:51

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

Written by Stephann V. on 2024-09-21 at 13:36

Added a Form Builder to Blueprint in 0.9.0.

More examples at docs: https://stephannv.github.io/blueprint-docs/handbook/forms

[#]crystal #crystalang

=> View attached media

=> More informations about this toot | View the thread

Written by Stephann V. on 2024-09-08 at 13:21

@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

Written by Stephann V. on 2024-09-07 at 14:44

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

=> View attached media

=> More informations about this toot | View the thread

=> This profile without reblog | Go to ste@ruby.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/110005067973699785/reblog
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
327.480702 milliseconds
Gemini-to-HTML Time
4.198759 milliseconds

This content has been proxied by September (3851b).