Prem Sichanugrist's Avatar

Prem Sichanugrist

@sikac.hu

Ruby Engineer in Japan. Apple nerd. Fediverse: https://mastodon.social/@sikachu

232
Followers
311
Following
432
Posts
15.07.2023
Joined
Posts Following

Latest posts by Prem Sichanugrist @sikac.hu

Praise Japanese health insurance and their 30% co-pay that my Mounjaro pen only cost 2,953 JPY each...

06.03.2026 13:50 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
rails/activesupport/lib/active_support/environment_inquirer.rb at main Β· rails/rails Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.

Apparently `Rails.env.local?` is a thing, which returns `true` if `env` is `development` or `test`.

However it was :nodoc: so it never showed up on API documentation ...

Maybe I should submit a patch to un-nodoc it...?

github.com/rails/rails/...

05.03.2026 04:47 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Not sure when you all added them, but really appreciate the chapter markers! I no longer have to rewind back to find the game name once I realized the game you all were talking about sounded interesting.

16.02.2026 11:38 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Gemspec :: RuboCop Docs

Does anyone know why RuboCop suggested specifying development dependencies in Gemfile instead of in gemspec file as the default behavior?

I know that RubyGems.org shows development dependencies as well, so isn't that kind of defeating the purpose?

docs.rubocop.org/rubocop/cops...

06.02.2026 10:34 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I've been doing this for 10+ years and it's always the same thing β€” feature spec is expensive, don't take all permutations using feature spec.

Less feature spec = less records need to be created in database.

06.02.2026 05:30 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I'm a fan of minitest myself, but isn't the recently popular post about moving from RSpec to minitest reduced test suite time from 14 min to 4 seconds a bit misleading?

Creating fewer DB records + parallelization will of course improve realtime.

Let's blame the testing method, not the tool.

06.02.2026 05:27 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Someone really should make a case study on how Election Commission of Thailand tries their hardest to make sure people are unable to vote in the general election, causes people's votes to become "invalid", or misinforms people that the candidate has been disqualified.

It's so amazing πŸ₯²

03.02.2026 13:46 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

Reality depends on your perspective, and what you can't see... doesn't exist. Rotate the map to uncover hidden paths and defeat powerful bosses in your journey to restore the missing moon!

πŸŒ• Discover CASSETTE BOY now on #NintendoSwitch: https://ninten.do/6016QBRTj

21.01.2026 20:00 πŸ‘ 5 πŸ” 3 πŸ’¬ 1 πŸ“Œ 0

I'm actually surprised that this is not a syntax error in Ruby

>> x = [foo: "bar", baz: "boo"]
=> [{foo: "bar", baz: "boo"}]

22.01.2026 09:53 πŸ‘ 4 πŸ” 2 πŸ’¬ 1 πŸ“Œ 0

It seems so silly seeing many recruitment ads for (English-speaking) Senior Ruby Engineer for around 10M JPY annually while it's pretty common to see ~15M JPY annually for other languages like Java or Python.

21.01.2026 14:27 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

Trying to cheat my way through in CASSETTE BOY and managed to fell out of the world through the waterfall 🀣

I’m actually surprised there is no death pane down there.

#CASSETTEBOY

19.01.2026 02:41 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Played the demo and bought it. Looking forward to see what secret's inside this game.

16.01.2026 09:00 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
module Forwardable - forwardable: Ruby Standard Library Documentation

Oh, I actually forgot about Forwardable ... thanks!

Seems like Forwardable#delegate is also a thing too, with similar method signature (but use hash instead of `:to` kwargs) ruby-doc.org/3.4.1/stdlib...

16.01.2026 08:05 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Module Attribute AccessorsΒΆ ↑ Extends the module object with class/module and instance accessors for class/module attributes, just like the native attr* accessors for instance attributes.

I thought that Module#delegate is already built-in to Ruby, but apparently it's not (you need to require core_ext/module/delegation from Active Support).

Kind of wondering if they'd considered adding this to Ruby core?

16.01.2026 07:51 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

CASSETTE BOY is finally out.
Years of graphics, programming, and sound all done solo.
Huge thanks to the publishers who supported me, and to my family.
This game is my idea of what a ”game" is. I hope you enjoy it.

#IndieGame #IndieDev #SoloDev #GameLover

14.01.2026 15:12 πŸ‘ 134 πŸ” 25 πŸ’¬ 13 πŸ“Œ 2
Preview
CASSETTE BOYγ€€-γ‚«γ‚»γƒƒγƒˆγƒœγƒΌγ‚€- みてγͺγ„γƒ’γƒŽγ―γ€ε­˜εœ¨γ—γͺい・・・ β€εœ¨γ‚‹β€γ‚’ζ“γ‚‹RPGγ€Œγ‚«γ‚»γƒƒγƒˆγƒœγƒΌγ‚€γ€

This game gives me so much FEZ vibe.

16.01.2026 07:22 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1

@bsky.app still waiting for an ability to delete and re-draft a post if post editing is not possible to be implemented in atproto πŸ’™

16.01.2026 06:59 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Ruby 3.2.10 Released | Ruby Ruby 3.2.10 has been released.

Ruby 3.2.10 has been released. ruby-lang.org/en/news/2026...
This version applied past CVE fixes and fixed build errors and issues with OpenSSL 3.6.0. Ruby 3.2.x will be released with same fixes in March and will reach EOL, so please plan to update to 3.3/3.4.

14.01.2026 08:00 πŸ‘ 7 πŸ” 4 πŸ’¬ 0 πŸ“Œ 0

Opening the CFP for Brighton Ruby 2026.
All the videos are up for last year.
Tickets still on sale.
Please sponsor. (PLEASE)

12.01.2026 08:00 πŸ‘ 9 πŸ” 7 πŸ’¬ 1 πŸ“Œ 0
Preview
Ruby 4.0.1 Released | Ruby Ruby 4.0.1 has been released.

Ruby 4.0.1 Released www.ruby-lang.org/en/news/2026...

This release includes a bugfix for Kernel#sleep, along with other bugfixes. We recommend upgrading your Ruby version at your earliest convenience.

13.01.2026 04:38 πŸ‘ 19 πŸ” 6 πŸ’¬ 0 πŸ“Œ 0
Preview
The Playdate gets its Monument Valley A perspective-twisting adventure.

The Playdate gets its Monument Valley

10.01.2026 14:20 πŸ‘ 36 πŸ” 5 πŸ’¬ 0 πŸ“Œ 0

I really like the fact that I no longer need to enter my PIN or scan my face at medical institutions after they start accepting My Number Card in Apple Wallet. Such a game changer.

10.01.2026 06:14 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

The funny part is the option to extend the warranty only show up when I checked my coverage on US side, and no where to be found in JP side. I guess they really want to increase their service revenue there.

10.01.2026 05:48 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I extended my AirPods Pro’s Apple Care+ for another year for 10.49 USD (β‰ˆ Β₯1,700) and then got my right AirPod replaced due to a broken microphone. Out-of-warranty repair would have cost me 13,091 JPY for one side.

I’m glad I didn’t have to pay OOW fee, but it feels like the math doesn’t work out?

10.01.2026 05:46 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

We are loading out media locally in 2026. We are putting our fruity little bandcamp purchases on tiny portable players. We are running baby media servers connected to our routers. This is the year of FLAC.

10.01.2026 00:21 πŸ‘ 522 πŸ” 73 πŸ’¬ 24 πŸ“Œ 11
Preview
Tim Cook and Sundar Pichai are cowards Once you’ve traded your principles for proximity to power, do you even run your own company?

Sometimes you just have to let @lopatto.bsky.social say it out loud www.theverge.com/policy/85990...

09.01.2026 21:29 πŸ‘ 1018 πŸ” 286 πŸ’¬ 35 πŸ“Œ 41

"17 years with Ruby on Rails" 🫠

09.01.2026 16:47 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Did some "research" by watching my old talks and I just amazed by how much "ummm" and "uhhh" was there.

Definitely needed more rehearsal.

09.01.2026 16:31 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Looks like sakura is going to bloom exactly around the time RubyKaigi is happening in Hakodate this year. What a perfect timing!

#RubyKaigi

08.01.2026 09:25 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

It's easy to dismiss the Lego Smart Brick as just sounds kids could make with their own mouths β€” but it's way smarter than I thought. This has legs Lego Mario never did.

I shot and edited this to show you:

07.01.2026 23:46 πŸ‘ 76 πŸ” 12 πŸ’¬ 3 πŸ“Œ 3