Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time. EN/日本語/中文
Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time.
EN/日本語/中文
Posts
Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time. EN/日本語/中文
Released v1.5.0 of Chusaku: https://github.com/nshki/chusaku/releases/tag/v1.5.0
Thanks to 1990eam@github.com for the contribution! There is now a new `--format` flag that allows users to pick `yard` or `rdoc` as the annotation style.
Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time. EN/日本語/中文
Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time. EN/日本語/中文
I wanted something similar to ViewComponent in Hanami so I handrolled something that feels close enough for now.
app/views/component.rb: defines aViews::Component#localsmethod that makes instance variables and methods available as a hashapp/views/scope.rb: defines aViews::Scope#render_componentmethod that callsrenderon the respective partial of a component inapp/templates/componentsand spreads the component'sComponent#localsapp/views/components/*.rb: defines individual component Ruby classesapp/templates/components/_*.html.erb: defines individual component templates
And the usage in Hanami templates looks like:
<%= render_component Components::Button.new(text: "Click me", variant: :secondary) %>
So far, so good!
Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time. EN/日本語/中文
Now that I’m digging more into Hanami, I’m really liking dry-operations! The dry-monads + steps approach makes a lot of sense and I like the graceful error handling.
Think I’ll be able to get one of my Rails projects completely migrated soon. Will share when done.
Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time. EN/日本語/中文
Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time. EN/日本語/中文
I think a combination of Hanami/Hanakai's new site + discovering https://honker.dev has me wanting to spin personal Ruby projects back up. Just installed `rv` and am well aware of https://gem.coop as well.
The spark is back.
Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time. EN/日本語/中文
Wow congrats to @timriley@ruby.social and the @hanakai@ruby.social team on the new site! Looks fantastic.
Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time. EN/日本語/中文
Would love to switch back to Asahi Linux as a daily driver if thunderbolt support is added. Eyeing the new Framework 13 Pro in the meantime. 👀
Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time. EN/日本語/中文
You know there's something truly wrong with the current state of society when healthcare providers add you to their marketing lists.
Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time. EN/日本語/中文
Just deployed a new build for Naisho. California residents now get a notice that the DROP service from the state government is available as a way to submit data deletion requests.
Defender of the Oxford Comma. Discovered I was a Japanese citizen. #OpenSource lover living in a capitalist world. Writing code is like growing a garden together. Opinions are my own. Posts evaporate after some time. EN/日本語/中文
Powerful internal voices urging me to embrace GrapheneOS and Fedora/COSMIC as my daily drivers again.