General

Profile

sikachu (Prem Sichanugrist)

  • Login: sikachu
  • Email: s+ruby@sikac.hu
  • Registered on: 07/23/2011
  • Last sign in: 01/21/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 2 3

Activity

07/30/2019

04:32 AM Ruby Misc #15996: DevelopersMeeting20190829Japan
* [Misc #15723] Reconsider numbered parameters
* Reading from description, I think there are a few supporters of removing `@1`, `@2` in favor of just having `@` refer to the first argument.
* I also believe having just `@` is enoug...
sikachu (Prem Sichanugrist)

07/24/2019

08:04 AM Ruby Misc #15723: Reconsider numbered parameters
I would like to voice my support for only having `@` for the single argument as well.
I think this should already cover majority of the use case, where we want to refer to the only argument that is being passed to the block. For me, t...
sikachu (Prem Sichanugrist)

05/27/2019

01:00 AM Ruby Misc #15874: DevelopersMeeting20190613Japan
* [Feature #15725] Add `Array#reverse_sort`, `#revert_sort!`, `#reverse_sort_by`, and `#reverse_sort_by!`
I would like to propose these methods as the preferred way for developers to create reverse sorted array, which is to call `sort...
sikachu (Prem Sichanugrist)
12:53 AM Ruby Feature #15725: Proposal: Add Array#reverse_sort, #revert_sort!, #reverse_sort_by, and #reverse_sort_by!
Thank you for your initial feedback. I would like to quote one thing:
> I myself usually use `.sort` and `.sort_by`, and then apply `.reverse` afterwards.
That's definitely the reason why I submit this proposal, because `array.sort...
sikachu (Prem Sichanugrist)

03/23/2019

10:13 AM Ruby Feature #15725 (Rejected): Proposal: Add Array#reverse_sort, #revert_sort!, #reverse_sort_by, and #reverse_sort_by!
Hello,
I would like to propose four new methods: `#reverse_sort`, `#revert_sort!`, `#reverse_sort_by`, and `#reverse_sort_by!` to Array.
These methods provides the most efficient way for user to get a reversed sorted array by calli...
sikachu (Prem Sichanugrist)

12/25/2018

04:30 PM Ruby Misc #15464: ruby-lang.org website doesn't has social media meta tags
I actually like this idea.
www.ruby-lang.org is actually a Jekyll site and it's repository is on GitHub at https://github.com/ruby/www.ruby-lang.org. Would you mind submit a pull request there to add those necessary meta tags?
Than...
sikachu (Prem Sichanugrist)

03/08/2018

01:43 AM Ruby Bug #14584: Squigly heredoc with interpolation that has a string literal withe spaces gets incorrect value
👍 I can confirm this bug exists in 2.5.0p0.
Also, it seems like the number of spaces it's removing is based on the gutter size as well (which is expected?)
~~~ ruby
# two spaces gutter, four leading spaces in literal
<<~FOO
tw...
sikachu (Prem Sichanugrist)
01:29 AM Ruby Feature #14585: Array#each_pair
> it may not be clear that Array#each_pair groups overlapping pairs vs. chunking elements
Yeah, I think that's one reason I'm against an ambiguous method like this. I feel like `each_cons(2)` is already good for the job and more fitti...
sikachu (Prem Sichanugrist)

02/09/2016

03:41 PM Ruby Feature #12059: `Array#single?`, `Hash#single?`
I feel like the usage of this method wouldn't be generic enough, and could be accomplished easily by `.size.one?` sikachu (Prem Sichanugrist)

01/22/2016

08:47 PM Ruby Misc #12004: Code of Conduct
I think the moderators have been pinged. However, due to time zone, we might not see any action until 12:00AM GMT given it's Saturday morning.
Please enjoy this thread responsibly, and happy Friday! You've made it through another week! 🐱
sikachu (Prem Sichanugrist)

Also available in: Atom