Marco Roth Profile Banner
Marco Roth Profile
Marco Roth

@marcoroth_

Followers
2,681
Following
1,576
Media
237
Statuses
4,692

Full-Stack Web Developer • OSS Contributor • Electronic Music Addict • Ruby/Rails, JavaScript/Stimulus • Hotwire Contributors Team • @StimulusReflex Core ✌🏼

Basel, Switzerland
Joined November 2011
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
Pinned Tweet
@marcoroth_
Marco Roth
4 months
I'm happy to announce the Stimulus LSP 1.0 release. It ships the completely overhauled Stimulus Parser release to improve accuracy and false-positives. A lot of new diagnostics, code actions, NPM package support and so much more! I'd love to hear your feedback!
Tweet media one
7
29
170
@marcoroth_
Marco Roth
11 months
Here's the summary slide of my #RailsWorld talk in full detail 🙌🏼 I'm really excited about the future of Hotwire!
Tweet media one
20
26
280
@marcoroth_
Marco Roth
11 months
Looks like the Stimulus LSP is trending on the VSCode marketplace landing page 👀
Tweet media one
8
8
124
@marcoroth_
Marco Roth
11 months
#RailsWorld is over! This was such an awesome experience, and all of this still feels so surreal. I don't think I experienced a conference quite like this one. Part of which also has to do with the fact that I gave my first talk at a conference. Attending a conference as a
6
0
115
@marcoroth_
Marco Roth
11 months
It's getting real. #RailsWorld
Tweet media one
1
4
104
@marcoroth_
Marco Roth
1 year
I'm more than thrilled to announce my conference talk debut in Amsterdam this October! 🥳
@rails
Ruby on Rails
1 year
The #RailsWorld speaker lineup is live! Meet all of the speakers coming to Amsterdam this October to help shape the future of Rails:
0
39
160
10
8
94
@marcoroth_
Marco Roth
1 year
Received some @rails swag today! Thanks @excid3 and @GoRails !
Tweet media one
@excid3
Chris Oliver
1 year
Shout-out to the @rails Foundation for sending us these amazing prize packs for the Rails Hackathon winners! 🎉
Tweet media one
10
4
199
6
2
96
@marcoroth_
Marco Roth
1 year
We are building a modern docs generator for any gem on @RubyGems at the @GoRails #RailsHackathon ! Part of the motivation is to have something similar to and as good looking as , but for any gem on RubyGems.
5
6
102
@marcoroth_
Marco Roth
2 years
I just opened a Pull Request for Stimulus to introduce the Outlets API. Outlets are very similar to Targets, with the exception that Outlets can be anywhere on the page and don't need to be within the scope of the controller element. #hotwire #stimulus
@marcoroth_
Marco Roth
2 years
I have an upcoming Pull Request for Stimulus which I'm super excited about!
1
0
26
12
11
92
@marcoroth_
Marco Roth
2 years
I packaged up a JavaScript file which I've been copying across multiple apps. It's also been circulating within the community for a while now, but for some reason, no one thought about turning it into an actual package... until now! Here is `current.js` 🦄
Tweet media one
14
14
84
@marcoroth_
Marco Roth
2 years
It's time for a change.  Over the years I learned so many new and interesting things. But I never had the courage and self-confidence to write and publish a thing. I felt too insecure about it and wasn't sure if anyone would care. Starting today, I want to change that!
10
4
83
@marcoroth_
Marco Roth
1 year
I'm really looking forward to this! 🙌🏼
@rails
Ruby on Rails
1 year
At #RailsWorld @marcoroth will share the latest advancements in the #Hotwire ecosystem, giving valuable insights about its current state and future trajectory, as well as potential new concepts that will shape the future of Rails as a full-stack framework.
Tweet media one
0
7
52
8
2
82
@marcoroth_
Marco Roth
2 years
I created a simple ERB to Phlex Converter just for fun 🙂
6
9
80
@marcoroth_
Marco Roth
1 year
I published a new blog post on my website titled "Supercharge your Stimulus controllers with Custom APIs" 🚀 In this post, we'll learn how to create a Stimulus Elements API from scratch, allowing you to easily access DOM elements using CSS selectors. Here's how it can be used.
Tweet media one
6
19
81
@marcoroth_
Marco Roth
10 months
En route to San Diego for #RubyConf2023 ! 🥳
Tweet media one
6
0
80
@marcoroth_
Marco Roth
1 year
Gem-wide search on 😍
Tweet media one
5
5
78
@marcoroth_
Marco Roth
1 year
It's a wrap! The @RailsSaaS Conference has been an incredible journey filled with learning, inspiration, meeting incredible people, and even a personal triumph! I am beyond grateful for the super unexpected appreciation. Huge thanks to @andrewculver for making this happen! ❤️
Tweet media one
Tweet media two
Tweet media three
Tweet media four
9
6
77
@marcoroth_
Marco Roth
11 months
#RailsWorld 2024 is going to be in Toronto!
Tweet media one
3
2
78
@marcoroth_
Marco Roth
1 year
Post-Hackathon optimization for : This change reduced the render time by about 10x. The render time for ActiveRecord went from ~20s down to ~3s. `GemInfo` is the class which statically analyzes a gem, and it was accessed up to 10 times per request 😅🤦🏼‍♂️
Tweet media one
8
4
77
@marcoroth_
Marco Roth
9 months
Ruby LSP fun at #RubyConf2023 !
Tweet media one
@marcoroth_
Marco Roth
10 months
This was super fun. I really loved the hackday concept!
1
0
22
1
3
78
@marcoroth_
Marco Roth
11 months
The first issue of Hotwire Weekly just went out! 🎉
@Hotwire_Weekly
Hotwire Weekly
11 months
Welcome to Hotwire Weekly! Our very first issue of the new weekly newsletter, dedicated to all things Hotwire, has just been delivered!
2
10
58
2
12
74
@marcoroth_
Marco Roth
1 year
The Ruby Conference triathlon starts today! 🥳 I can't wait to meet a lot of old and new #RubyFriends ! Come say hi if you are also attending Euruko, Friendly.rb or RailsWorld!
Tweet media one
4
0
68
@marcoroth_
Marco Roth
9 months
I'm at a **Java** meetup in Zurich today to learn about... Hotwire. It's super cool to see other language communities embrace the HTML-over-the-wire approach!
Tweet media one
3
4
66
@marcoroth_
Marco Roth
6 years
@Domtendo @vxSiCxv War unterhaltsam - muss sagen :P
0
3
52
@marcoroth_
Marco Roth
2 years
I'm super excited to start teaching @LeWagonParis in Zurich next week! Especially because I also get to teach about Stimulus, which kinda makes this a full-circle moment for me! 🎉
13
4
61
@marcoroth_
Marco Roth
11 months
Just released v0.2.0 of the Stimulus LSP including a few bug fixes, new diagnostics and new quick fix actions! There's more stuff like this in the pipeline! 🚀
4
9
60
@marcoroth_
Marco Roth
1 year
Hotwire needs some sort of DevRel or "official" community representative. I don't think it's too much to ask for a framework that ships by default with Rails.
3
3
54
@marcoroth_
Marco Roth
1 year
@_swanson The part that most people don't understand is that it never was about the external types that ship with the npm package. The part which is concerning, at least in my view, is that the PR stripped out most of the implicit documentation about library-internals which helped to
2
1
53
@marcoroth_
Marco Roth
1 year
@frantzfries This looks like Teams and seems like a big downgrade...
0
0
52
@marcoroth_
Marco Roth
11 months
Just landed back in Basel after an amazing trip to three very different, very unique, but also very inspiring conferences. It's great that you can pick from a wide range of conferences in the Ruby community, and each of them are awesome for different reasons. I met a bunch of
1
2
54
@marcoroth_
Marco Roth
11 months
That's what I'm talking about! This is awesome 🙌🏼 Thanks for making Stimulus LSP work on non-Rails projects, @tonysmdev !
@tonysmdev
Tony Messias
11 months
Stimulus LSP working on Laravel projects. ✌️ Thanks @marcoroth_ , it's awesome! And it's only getting started.
3
0
31
3
7
54
@marcoroth_
Marco Roth
1 year
Added more improvements for ! * Tweaks to landing page, including a section for featured gems * Show in which files a class/module was defined or reopened * Inspired by : Show source file content * Render method signatures and
Tweet media one
Tweet media two
Tweet media three
Tweet media four
5
6
52
@marcoroth_
Marco Roth
1 year
Thank you so much for this honor! 🙏🎉 This is just the cherry on top of the cake because we had so much fun hacking at the Hackathon either way! It's also so awesome to see so many other impressive, creative and fun submissions! Looking forward to the next one!
@excid3
Chris Oliver
1 year
🎉 Our winners for the Rails Hackathon 2023 are: * * Rails Duels * Locale Ninja @rails #rails #rubyonrails
6
18
126
1
4
51
@marcoroth_
Marco Roth
2 years
A new version of `turbo_power` dropped today! ⚡️ Turbo Power is a collection of common Custom Turbo Stream Actions one might need when building apps with Turbo Streams. Version `0.3.0` ships five new stream actions for you to use in your application!
2
8
48
@marcoroth_
Marco Roth
11 months
LSPs are true game-changers, yet they somehow remain surprisingly underrated and underutilized, especially in the Ruby world. They empower us to code with more confidence and efficiency, since they minimize the feedback-loop for debugging "wrong" code and looking up docs.
@nsoseka74
Ishak
11 months
@marcoroth_ thank you for the stimulus LSP. I started using it and I no longer have to read docs for syntax. You are an amazing guy. Grateful for this gift. Crazy that we get this for free. Thank you!
1
0
5
6
4
49
@marcoroth_
Marco Roth
11 months
@bradgessler From what I obsereved: RubyConf: very strong focus on Ruby, strictly no Rails RailsConf: focus on Rails, community, career and software engineering itself. Rails World: very strong focus on technical talks about new features in Rails and how it's shaping on the the future of
3
3
52
@marcoroth_
Marco Roth
2 years
The 2023 Ruby conference lineup is really stacked already! It's so awesome to see that smaller regional conferences are making a comeback! ❤️
Tweet media one
2
4
45
@marcoroth_
Marco Roth
1 year
Tweet media one
12
0
48
@marcoroth_
Marco Roth
1 year
I left some Hotwire stickers at the #RailsConf stickers table if want to grab some!
Tweet media one
1
0
45
@marcoroth_
Marco Roth
2 years
My new website is now live at I'm planning to write about Ruby, Rails, JavaScript, Hotwire, Turbo, Stimulus as well as adjacent frameworks.
2
6
45
@marcoroth_
Marco Roth
10 months
2
0
45
@marcoroth_
Marco Roth
3 years
Some stimulus-use goodness: The `useBreakpoints` mixin can be used to run controller actions whenever a breakpoint changes. Either by using callback functions are by listening for emitted events in your markup. Feedback is very welcome, check out the PR:
Tweet media one
Tweet media two
2
8
42
@marcoroth_
Marco Roth
1 year
I might have just submitted my first CFP proposal 👀
6
0
42
@marcoroth_
Marco Roth
2 years
I've got Hotwire stickers! Come find me @euruko if you want some!
Tweet media one
0
2
40
@marcoroth_
Marco Roth
1 year
Wow... the benefits of YARP are really showing! Not just for Ruby implementations, but for anything dealing with Ruby code! @kddnewton migrated from SyntaxTree to the YARP gem (along with a few other optimizations) and the improvements are remarkable.
2
5
42
@marcoroth_
Marco Roth
2 years
Stimulus 3.2 just dropped! Super excited about this release! 🚀
@dhh
DHH
2 years
Stimulus 3.2.0: Built-in support for hotkeys to trigger actions, and a whole new Outlets API to coordinate work between controllers 🎉
9
37
226
0
4
41
@marcoroth_
Marco Roth
1 year
#Euruko2024 will take place in Tuzla 🇧🇦
Tweet media one
@marcoroth_
Marco Roth
1 year
Feel free to vote for the next city to host #Euruko2024
2
2
6
1
6
39
@marcoroth_
Marco Roth
2 years
I just registered for my first @railsconf 🥳 I'm super excited!
3
1
40
@marcoroth_
Marco Roth
1 year
Just merged back in this sidebar-layout from 3 weeks ago. I like where this is heading!
Tweet media one
1
0
40
@marcoroth_
Marco Roth
9 months
0
0
39
@marcoroth_
Marco Roth
10 months
#HelveticRuby was a great success! I had so much fun. I hope to see you in 2024 for the next edition! 🚀
@helvetic_ruby
Helvetic Ruby
10 months
Thank you everyone for making #HelveticRuby 2023 a success! It's been a blast! See you next year!
1
7
34
0
5
40
@marcoroth_
Marco Roth
1 year
Just landed back home from #RailsConf and feeling really inspired and empowered! It's a great time to be a Ruby programmer! ❤️
3
0
36
@marcoroth_
Marco Roth
1 year
En route to Atlanta for #RailsConf 2023! 🎉
Tweet media one
3
1
36
@marcoroth_
Marco Roth
1 year
I just released `phlexing` version `0.4.0` which includes a bunch of new cool features. Phlexing is an ERB → Phlex converter which can do the heavy-lifting for you when converting HTML+ERB markup.
Tweet media one
2
4
39
@marcoroth_
Marco Roth
2 years
I just wrapped up and published a simple morphdom wrapper for the new Custom Turbo Streams Action that shipped with Turbo 7.2.0-beta.1 🚀
2
9
35
@marcoroth_
Marco Roth
1 year
On my way to @brightonruby ! 🙌🏼
Tweet media one
4
0
37
@marcoroth_
Marco Roth
2 years
In order to help other people build tools for and around Phlex I extracted the converter which powers into it's own separate gem. With that people can programmatically convert ERB to Phlex from within Ruby. The gem is available on Rubygems as `phlexing`
Tweet media one
2
4
35
@marcoroth_
Marco Roth
1 year
I've been asked a few times why I don't have a GitHub Sponsors profile, but I never had a good reason why I don't. So I created one! You can now support my open source work if you or your company benefit from my contributions to the Hotwire/Ruby on Rails ecosystem. 🙏
2
6
33
@marcoroth_
Marco Roth
9 months
@ThePrimeagen Ruby 😍
0
0
32
@marcoroth_
Marco Roth
1 year
I still feel like the Strada branding adds more confusion to an already super crowded mangle of terms in the Hotwire umbrella.
5
2
55
@marcoroth_
Marco Roth
1 year
@AdamRackis I haven't used Postman in years and I didn't recognize that this is a screenshot of Postman.
0
0
33
@marcoroth_
Marco Roth
1 year
Ugh, this really concerns me... In such an abstract library like Turbo it's a huge help to have abstract concepts, interfaces and types in general. It really helps with navigating the code and making sure the classes you implement comply with the interfaces you declare.
6
4
32
@marcoroth_
Marco Roth
2 years
On my way to Thailand for @rubyconfth ! I'm really looking forward to my first Asia trip! Let's meet up if you are also attending!
Tweet media one
3
1
34
@marcoroth_
Marco Roth
2 years
I had such a good time at #RailsConf2022 . Thanks to everyone in the community for being awesome! ❤️
2
2
31
@marcoroth_
Marco Roth
2 years
On this day 10 years ago I wrote my first line of Ruby code! It's crazy how much has changed and how much things have evolved over the last decade. But at the same time it's remarkable how things in Ruby just stayed consistent and compatible!
Tweet media one
4
0
32
@marcoroth_
Marco Roth
2 years
Web-devs: Please stop blocking the pasting of passwords into input fields. We live in a time where password managers are essential!
1
1
28
@marcoroth_
Marco Roth
1 year
We should look at packing this into Turbo Drive! 🤤
@argyleink
Adam Argyle
1 year
Can you believe these slides are full page loads to completely new HTML pages‽ #smashingconf ^ try it with Canary and enable the flag chrome://flags/ #view -transition-on-navigation what. rad. tech. 🤯
38
394
3K
2
1
30
@marcoroth_
Marco Roth
4 years
Here is a fun little weekend-project of mine. I ported the Ruby Library CableReady to @CrystalLanguage and let it do it's secret power move on the @amberframework ! 😊 The future is bright for real-time server-rendered web-applications! #cableready #crystal #ruby #stimulus
4
12
28
@marcoroth_
Marco Roth
8 months
I’m more than grateful for an incredible 2023! 🚀 I attended many inspiring conferences, reconnected with old friends, and made plenty of new ones along the way. Also, I gave my first conference talk – a significant and, admittedly, stressful milestone for me! Over the last two
4
3
31
@marcoroth_
Marco Roth
10 months
. @crackofdusk kicking off the first #HelveticRuby conference! 🇨🇭🥳
Tweet media one
0
0
31
@marcoroth_
Marco Roth
6 years
@iSartaji @coolstarorg You need Sileo 😋
1
0
24
@marcoroth_
Marco Roth
2 years
Have you ever heard of `morphdom` and can't quite imagine why and how it might be useful in your server-rendered web-applications? Here are some use-cases where you would want to use the new `morph` action 🧵
@marcoroth_
Marco Roth
2 years
I just wrapped up and published a simple morphdom wrapper for the new Custom Turbo Streams Action that shipped with Turbo 7.2.0-beta.1 🚀
2
9
35
1
10
29
@marcoroth_
Marco Roth
1 year
In Ruby, when dealing with `class` objects, we often use `klass` as a variable name due to the reserved keyword. What about `module` objects? Is there a similar convention for variable naming? I'm not really sold on `mod`, `mmodule` or `m` as an option. Any ideas?
39
0
28
@marcoroth_
Marco Roth
1 year
🙃
Tweet media one
3
2
27
@marcoroth_
Marco Roth
1 year
@WebReflection It really makes me sad... Ironically, there were exactly 15 `any` in this codebase, most of which in tests, unused or not library-relevant.
Tweet media one
1
0
28
@marcoroth_
Marco Roth
1 year
I released `current.js` 0.2.0 today! It includes a new setting to configure the prefix used to look up the meta tags.
Tweet media one
2
2
28
@marcoroth_
Marco Roth
1 year
@browsercompany I can't wait for the bug reports...
1
0
28
@marcoroth_
Marco Roth
11 months
Tweet media one
1
1
26
@marcoroth_
Marco Roth
2 years
See you @railsconf 🎉
Tweet media one
1
1
23
@marcoroth_
Marco Roth
1 year
@mikecodemonkey Ruby and either Rails or Hanami
2
0
23
@marcoroth_
Marco Roth
1 year
@coderberry ULID > UUID
1
0
26
@marcoroth_
Marco Roth
10 months
@gregnavis The biggest reason for me is that Rails has an awesome and mature ecosystem while still being innovative.
0
0
26
@marcoroth_
Marco Roth
2 years
I have an upcoming Pull Request for Stimulus which I'm super excited about!
1
0
26
@marcoroth_
Marco Roth
1 year
Doesn't this spark joy? ✨
Tweet media one
@yarotheslav
Yaro Shm 🔴 SupeRails
1 year
Tired of messing with _-_-_--__ in your StimulusJS controllers? Here's my solution 👇
Tweet media one
3
0
27
4
0
23
@marcoroth_
Marco Roth
2 years
@flaviocopes HTML-over-the-wire. There are a few frameworks in that space. Hotwire/Turbo (not the bundler), HTMX, LiveView, LiveWire, Unpoly to name a few.
0
0
26
@marcoroth_
Marco Roth
1 year
I did some Ruby conference ticket shopping today and I'm super excited to see you in Vilnius, Bucharest or Bern later this year!
Tweet media one
Tweet media two
Tweet media three
4
0
23
@marcoroth_
Marco Roth
1 year
A successful Sunday in my books: I bought a ticket for @RubyConf in San Diego and also submitted two CFPs for it! 🥳
Tweet media one
1
0
24
@marcoroth_
Marco Roth
2 years
RubyConfTH has been a blast! 🚀 I'm really looking forward to a future edition!
@rubyconfth
RubyConf Thailand
2 years
What an amazing conference we had! Over 200 attendees from over 20 countries. 19 speakers including 4 memorable keynotes. Thanks so much to everyone who made it possible and thanks to you, the Ruby community, for believing in us. Let's do it again next year? #rubyconfth #ruby
Tweet media one
1
13
55
0
0
22
@marcoroth_
Marco Roth
1 year
I had such a blast meeting old and new #RubyFriends at #RailsConf this year! I'm really looking forward to Detroit in 2024!
1
1
23
@marcoroth_
Marco Roth
9 months
Ending the year with one last conference! Really looking forward to my first CCC after all these years following the event online via livestreams. #37c3
Tweet media one
Tweet media two
3
1
24