iTranslated by AI
Attending RubyKaigi 2022
RubyKaigi was held offline for the first time in three years, so I went there.
Those who wanted to go could treat it as a business trip, so it was a 5-day, 4-night trip including stays before and after the event.
This was my first RubyKaigi where my employer was a sponsor. Since we had a booth, I occasionally took turns staffing it.
Having worked fully remotely and never having visited the office since joining the company, it was my first time meeting my colleagues in person.
Day 1
On the first day, there was a shuttle bus from Tsu Station, but since it was only about 2km from my hotel to the venue and the rain was light, I decided to walk. However, the rain started pouring halfway through. I should have just taken the shuttle bus.
Ruby meets WebAssembly
Ruby runs in the browser. Amazing.
It seems you can't access the file system, network, or DOM directly and need to do it via JavaScript, but with the available libraries, it looks like you can achieve quite a bit.
Amazing.
Making *MaNy* threads on Ruby
A talk about making Ruby use M:N threading to create a large number of threads.
Types teaches success, what will we do?
A talk about writing types (RBS files).
Tools for Providing rich user experience in debugger
Chrome DevTools becoming a Ruby debugger, or debugging Ruby in VS Code.
It was interesting to see Ruby objects displayed visually in VS Code.
It seems very useful once you master it.
TRICK 2022
A dimension-defying play for people with special abilities.
Others
Before heading back to the hotel, I got the URL for the Cookpad Code Puzzle for RubyKaigi 2022 at the Cookpad booth and spent the night at the hotel solving all the questions.
Solving all 20 questions then was the right call. If I hadn't, I probably would have spent the rest of the event solving the puzzle instead of listening to the talks.
Day 2
On this day as well, I planned to walk to the venue, but I wasn't going to make it in time, so I took the shuttle bus. It arrived in a flash. Comfortable. Modern technology is incredible.
Matz Keynote
Matz told us to write blog posts, so I finally did.
Do Pure Ruby Dream of Encrypted Binary Protocol?
Implementing communication protocols is challenging but fun, isn't it?
I think there was some discussion about pack / unpack being confusing, but I wonder... I haven't really felt that way myself.
I suppose it might be easier if there were a library dedicated to protocols.
If it's a struct, maybe just defining a class with Fiddle would actually be enough?
Lunch
Booth Staffing
Packet analysis with mruby on Wireshark - dRuby as example
A talk about creating an extension for Wireshark that can handle the dRuby protocol using mruby.
Ruby Committers vs The World
Usually, they would talk while sitting in their seats, but this time they stood at the microphone stands. The composition looked like a rap battle, which was entertaining.
Night
Day 3
error_highlight: user-friendly error diagnostics
In Ruby 3.1, ^^^ started appearing to point out the location of errors during a NoMethodError. This talk was about its implementation and the fact that from 3.2 onwards, you can retrieve the error location from the program.
When outputting errors as a single line in a log file, ^^^ can make it hard to tell which character position it is, so this seems useful.
RBS generation framework using Rack architecture
It sounded impressive, but maybe because of the speaker's tone, I couldn't quite grasp the content...
Let's collect type info during Ruby running and automaticall
An attempt to automatically generate RBS files while running Ruby.
It seems like a good starting point for creating RBS files for existing Ruby code that already has tests.
Why is building the Ruby environment hard?
A talk about the difficulties of building Ruby in various environments.
It sounds like macOS is quite tough. Come to think of it, I heard someone say they couldn't build Ruby after an OS update recently.
As I thought, using desktop Linux is really the best.
Lunch
The Better RuboCop World to enjoy Ruby
A talk about how RuboCop is tough. I get it.
But the toughness is just that the default RuboCop rules are difficult, so if you prioritize freedom, I thought it might be better to just disable all Style/* rules once.
A proposal was presented to separate error levels from reference levels, but I feel like the "reference levels" would ultimately be ignored and things would fall apart over time.
String Meets Encoding
A talk about making CSV parsing faster through encoding-related optimizations. It was good.
Snack Break
Stories from developing YJIT
I felt like it was more about CPUs and assembly than Ruby.
It was in English, so I didn't understand a thing.
I'm not even sure I would have understood it in Japanese, though.
Matsumoto
The End
Regardless, long-distance travel is exhausting. Especially the three hours on the Limited Express Shinano. I get motion sick, so I can't do anything while on board. Maybe it's because I've shifted to a lifestyle where I barely go out, despite having gone on business trips several times a month not too long ago.
Unlike my previous company, requiring receipts for limited express tickets for travel expense reimbursement is a hassle. I almost forgot to press the receipt button a few times. Dangerous. I wish receipts were no longer necessary...
I was thinking of doing some sightseeing at Ise Grand Shrine the day after the final day, but my legs started hurting, so I gave up. I guess my daily lack of exercise finally caught up with me.
I bought "Akafuku-mochi," "Naga-mochi," and "Matsusaka Beef Shigure-ni" as souvenirs at a convenience store inside the Tsu Station gates before heading home.
Discussion