General

Profile

lloeki (Loic Nageleisen)

  • Login: lloeki
  • Registered on: 08/11/2017
  • Last sign in: 07/08/2025

Issues

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

Activity

01/10/2024

12:04 PM Ruby Feature #20152: mkmf / extconf: Add a proper way to not compile the extension
There's [`spec.required_rubygems_version`](https://guides.rubygems.org/specification-reference/#required_rubygems_version) to enforce compatibility. On rubygems versions before the feature a dependency would then resolve to the last one ... lloeki (Loic Nageleisen)
09:22 AM Ruby Feature #20152: mkmf / extconf: Add a proper way to not compile the extension
> I agree that this isn't a mkmf/extconf.rb issue. This is a rubygems issue.
Sounds like so to me as well (although it may need a bit of support from the ruby side to be solved cleanly)
> ...
Not too fond of that.
>> Another possibili...
lloeki (Loic Nageleisen)

01/08/2024

04:04 PM Ruby Feature #20160: rescue keyword for case expressions
> If #parse is defined as:
This requires:
a) parse to be in your control
b) parse to handle every possible exception (including whatever it calls) for which one would want a rescuing clause to control flow.
> ...
A somewhat generic al...
lloeki (Loic Nageleisen)
03:48 PM Ruby Feature #20160: rescue keyword for case expressions
> If it were consistent with case/when it would jump to the else case if it did not match. If it were consistent with begin/else it would jump to the else case if no error was raised.
The idea is that:
- `else` applies when no case...
lloeki (Loic Nageleisen)
02:21 PM Ruby Feature #20160: rescue keyword for case expressions
Some clarifications. lloeki (Loic Nageleisen)
01:58 PM Ruby Feature #20160 (Rejected): rescue keyword for case expressions
It is frequent to find this piece of hypothetical Ruby code:
```
case (parsed = parse(input))
when Integer then handle_int(parsed)
when Float then handle_float(parsed)
end
```
What if we need to handle `par...
lloeki (Loic Nageleisen)

12/20/2022

02:53 PM Ruby Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
for the sake of thoroughness the nodejs one above was inspired by .Net https://learn.microsoft.com/en-us/dotnet/api/system.threading.asynclocal-1?view=net-7.0 lloeki (Loic Nageleisen)
01:42 PM Ruby Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
This is really nice for some use cases, and I was planning to propose basically exactly what @ioquatix proposed here to tackle these.
One example: we create context objects that allow us to track what happens across a given HTTP reque...
lloeki (Loic Nageleisen)

08/22/2022

08:50 PM Ruby Revision 615f79be (git): [rubygems/rubygems] Test platform's version-ness consistently
The symmetry with the "for command line" case is made more apparent.
https://github.com/rubygems/rubygems/commit/ab85d3558f
lloeki (Loic Nageleisen)
08:50 PM Ruby Revision f254b673 (git): [rubygems/rubygems] Test platform parsing stability
On past versions there were observed cases of inconsistencies when some
platforms were re-parsed.
Ensure that a platform's string representation parses again in a
platform object equal to the original.
https://github.com/rubygems/rubyg...
lloeki (Loic Nageleisen)

Also available in: Atom