#locals

2 posts · Last used 17d

Back to Timeline
Teh AnKorage ☑️ @ankorage@fe.disroot.org · Jul 27, 2026
NO AI - "Vocalinux: Local AI Voice Dictation on Linux" 👀👏🌻 All hail the Van Panther AI was not used in the production of this content. \*This may not apply to thumbnail images. Click on, "Show More" or "Read More" to get the links. DESCRIPTION of the content found at the links, below - "Today we look at Vocalinux for dictation on Linux using local-only AI models that will work on most computers." ========== NOTE - This post is best viewed on a PC. Switched To Linux is, “written by a broad spectrum computer consultant to help people learn more about the Linux platform.” This account is a supporter of Switched To Linux and provides convenience posts of thumbnails art, videos and streams. #SwitchedToLinux #Linux #Windows #Mac #Technology #Tech #AltTech #Privacy #Private #Security #Secure #FOSS #FreeAndOpenSource #FreeAndOpenSourceSoftware #FreeOpenSourceSoftware #YouTube #Odysee #Rumble #BitChute #Locals #Patreon #Twitch #AltTech #FactCheckTrue #Fediverse #SocialMedia #stoptheslop #vocalinux #ai #linux ========== After viewing the content located at the below links, Tell us what you think by filling out a "SATISFACTION SURVEY or ABUSE/SPAM REPORT" form from Teh AnKorage https://cryptpad.disroot.org/form/#/2/form/view/elsOVQUrXAmGuer4kd75JhA3mNELuCj8cTjEUynrZZo/ \*Videos and podcasts may take a considerable amount of time to post. If it is not present, it will be, soon(tm). MATRIX! Join our Matrix community where you can chat about Linux and general tech topics. Also, direct video links are provided for our Matrix community members! Don't miss out! https://matrix.to/#/#switchedtolinux:matrix.org #YouTube - https://www.youtube.com/@SwitchedtoLinux/videos #Odysee - @switchedtolinux:0?view=content@odysee.com #Rumble - https://rumble.com/c/SwitchedToLinux/videos #Bitchute - https://www.bitchute.com/channel/uf9hzD216LX0 ========== Keep an eye out for a possible podcast! PODCAST: https://podcast.switchedtolinux.com
0
1
1
Nishiki @nshki@hachyderm.io · May 06, 2026

I wanted something similar to ViewComponent in Hanami so I handrolled something that feels close enough for now.

  • app/views/component.rb: defines a Views::Component#locals method that makes instance variables and methods available as a hash
  • app/views/scope.rb: defines a Views::Scope#render_component method that calls render on the respective partial of a component in app/templates/components and spreads the component's Component#locals
  • app/views/components/*.rb: defines individual component Ruby classes
  • app/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!

3
1
0

You've seen all posts