Frederick Cheung

Results 8 issues of Frederick Cheung

Hi, Passenger already runs GC.start before forking ( https://github.com/phusion/passenger/blob/44ab81c9fe45456415bd5312c3d695e9f225730f/src/ruby_supportlib/phusion_passenger/preloader_shared_helpers.rb#L105 ) to increase CoW friendliness. Should it in fact run GC.start multiple times ( as demonstrated by https://github.com/ko1/nakayoshi_fork )? The core...

Enhancement

This adds match & case as keywords, used by python 3.10 structural pattern matching ( https://peps.python.org/pep-0634/ ) (screenshot from rouge's visual test page)

needs-review

One of the apps I work on uses delegated types ( https://api.rubyonrails.org/classes/ActiveRecord/DelegatedType.html ). Given ``` class Entry < ApplicationRecord delegated_type :entryable, types: %w[ Message Comment ] end ``` then in...

In handlePointerEnter, handlePointerLeave this is a separate code path for touch devices, gated by isTouchDevice(). However, just because a device supports touch inputs doesn't mean they are actually being used....

I've come across an issue while using ranked model and updating the position of multiple records in one go. I've written a failing test case here: https://github.com/fcheung/ranked-model/tree/multiple-updates In the app...

This allows one to do ``` config.cache_store = :dalli_elasticache_store, 'someendpoint.cfg.euw1.cache.amazonaws.com:11211', {:failover => true} ``` as suggested in #12

Previously only javascript files had their sourceMappingURL comments rewritten with the digested asset location. This PR adds the same treatment to sourceMappingURL comments in css files

Semantically equivalent to (array1 & array2).any? but doesn't create an intermediate array & can return as soon as one element in common is found