General

Profile

ngan (Ngan Pham)

  • Login: ngan
  • Registered on: 04/14/2020
  • Last sign in: 08/25/2024

Issues

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

Activity

08/25/2024

02:14 AM Ruby master Bug #20694: "try to mark T_NONE object" error for very large hash
Looking at the backtrace, looks like it's coming from the ffi gem. The problem seems to have been fixed here:
https:...
ngan (Ngan Pham)
02:05 AM Ruby master Bug #20694: "try to mark T_NONE object" error for very large hash
This is the complete backtrace: https://gist.github.com/ngan/0e81cf7a4d822e46aab12acbadd10765
Sorry for the delay!
ngan (Ngan Pham)

08/24/2024

10:04 PM Ruby master Bug #20694: "try to mark T_NONE object" error for very large hash
Ah yes, I meant hash.
I’ll upload the full back trace when I’m back online later today.
ngan (Ngan Pham)

08/23/2024

12:22 AM Ruby master Bug #20694 (Third Party's Issue): "try to mark T_NONE object" error for very large hash
In CI, we've been occasionally seeing `[BUG] try to mark T_NONE object`. I don't have any way to reproduce it but I'm... ngan (Ngan Pham)

08/25/2023

02:33 PM Ruby master Feature #19850: Get thread creation time
In the process of debugging a stuck process on production (Sidekiq), we've been dumping all the threads' backtraces. ... ngan (Ngan Pham)

08/24/2023

10:24 PM Ruby master Feature #19850 (Rejected): Get thread creation time
I was debugging some threads hanging issue and thought it would be nice to know how long a thread has been around for... ngan (Ngan Pham)

06/13/2023

01:20 PM Ruby master Bug #19715: Coverage oneshot_lines mode is not working after result clear
mame (Yusuke Endoh) wrote in #note-1:
> `oneshot_lines` is a mode that reports execution at most once for each line....
ngan (Ngan Pham)

06/07/2023

12:08 AM Ruby master Bug #19715 (Rejected): Coverage oneshot_lines mode is not working after result clear
Given a simple Ruby file (`foo.rb`):
```ruby
def hello
puts "hello"
end
```
If I do the following in `irb`,...
ngan (Ngan Pham)

08/29/2022

02:11 PM Ruby master Feature #18951: Object#with to set and restore attributes around a block
I really like Rails’ `with_options`:
```ruby
class Account < ActiveRecord::Base
with_options dependent: :destroy d...
ngan (Ngan Pham)

04/14/2020

04:37 PM Ruby master Misc #16047: Reconsider impact of frozen_string_literal on dynamic strings
I find myself only applying ".freeze" to all-cap constants:
RED = "red".freeze
I think it would nice if Ruby 3 only...
ngan (Ngan Pham)

Also available in: Atom