lamont (Lamont Granquist)
- Login: lamont
- Email: lamont@scriptkiddie.org
- Registered on: 09/03/2015
- Last sign in: 07/23/2024
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 6 | 6 |
Activity
07/10/2021
-
01:20 AM Ruby Bug #15856: Performance of redundant `Kernel.require` is slow when many gems are activated
- We've still been using the David Rodriguez patch with no reported issues around it for the past ~2 years or so.
It is likely that we don't hit the Digest issue due to the way we already have to play games with that built-in gem due to...
04/10/2021
-
06:58 AM Ruby Bug #17787: Four AIX build issues with xlc compiler and ruby-3.0.1
- Those work fine, applied here:
https://github.com/chef/omnibus-software/pull/1328/files#diff-a57a53cdb786ca02b297de88fce6855e7928fc0ff4f7e022d0f22185955da1ea
I ditched all my old patches, combined yours with the existing fdeclspec ...
04/09/2021
-
04:05 AM Ruby Bug #17787: Four AIX build issues with xlc compiler and ruby-3.0.1
- xlc does not identify as GCC:
```
# egrep GCC ./3.0.0/powerpc-aix7.1.5.0/rbconfig.rb
CONFIG["GCC"] = ""
```
```
# egrep gnu config.log
ac_cv_c_compiler_gnu=no
ac_cv_cxx_compiler_gnu=no
rb_cv_prog_gnu_ld=no
```
IF I REM... -
03:38 AM Ruby Bug #17787: Four AIX build issues with xlc compiler and ruby-3.0.1
- fdeclspec section is:
```
configure:9228: result: yes
configure:9348: checking whether -fdeclspec is accepted as CFLAGS
configure:9375: xlc_r -q64 -c -q64 -I/opt/chef/embedded/include -D_LARGE_FILES -O -fdeclspec -q64 -I/opt/chef/...
04/08/2021
-
10:35 PM Ruby Bug #17787: Four AIX build issues with xlc compiler and ruby-3.0.1
- Yeah that road requires having all the build tooling installed on our builders, which it turns out we don't (chaotic versions of autoconf and lack of bison on many of them). Went down that road with some ruby-3.0.0-to-3.0-head patches t...
-
09:14 PM Ruby Bug #17787 (Closed): Four AIX build issues with xlc compiler and ruby-3.0.1
- Yesterday found 4 small issues trying to use xlc to build ruby 3.0 on AIX that prevented building. My solutions are ugly fixes just to get our own builds going which will not be acceptable, but I'll include links to them.
#1: intern...
04/02/2021
-
07:42 PM Ruby Feature #17472: HashWithIndifferentAccess like Hash extension
- And people should likely recall the reasons for the existence of symbols and strings. Originally strings were very expensive and not deduplicated, but were garbage collected. While symbols were very cheap, deduplicated and frozen and n...
-
07:34 PM Ruby Feature #17472: HashWithIndifferentAccess like Hash extension
- Any implementation should probably consider recursive structures under arrays and all the mutator methods on Array:
``` ruby
% pry
[1] pry(main)> require 'active_support/hash_with_indifferent_access'
=> true
[2] pry(main)> test = ...
04/01/2021
-
09:49 PM Ruby Feature #17472: HashWithIndifferentAccess like Hash extension
- +1 on adding this.
There are any number of bugs which are caused by reading mixed symbols and strings into Hashes, then round tripping them through JSON and having them change one way or the other.
I mildly disliked the use of Mash...
03/16/2021
-
12:07 AM Ruby Feature #13820: Add a nil coalescing operator
- Here's example code which works around the lack of a ??= operator in the wild:
https://github.com/chef/chef/blob/4d3b847aee1b917bb139862c623e9633d180fb31/lib/chef/chef_fs/file_system/chef_server/data_bag_dir.rb#L43-L48
```
...