grosser (Michael Grosser)
- Login: grosser
- Email: michael@grosser.it
- Registered on: 07/21/2014
- Last sign in: 04/30/2022
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 3 | 8 | 11 |
Activity
04/30/2022
-
07:25 PM Ruby Misc #18761 (Assigned): provide an example wasm project
- Neither the release notes nor the wasm/README.md include any runnable examples.
Please provide a docker image that can be used to generate a wasm binary (even if it's just "hello world"),
to show how this is supposed to work.
05/26/2019
-
07:13 PM Ruby Feature #15878 (Assigned): Make exit faster by not running GC
- I noticed that exit takes 0.2 ... I'm trying to write a fast cli, so any improvement here would be great or an option to opt-out of certain cleanup tasks
exit! takes a constant low time
```
ruby -rbenchmark -e 'puts Benchmark.realti...
05/25/2019
-
05:40 PM Ruby Bug #15876 (Closed): 1.to_s.encoding != Encoding.default_internal
- I ran into strange looking test output when I compared .to_s with an expected text, saying that the encoding was different, which is confusing/annoying especially to users that don't know how encodings work in ruby.
1.to_s.encoding shou...
12/25/2018
-
12:28 PM Ruby Feature #15463 (Open): oneshot coverage does not allow counting code lines without coverage
- Problem:
I'm using https://github.com/grosser/single_cov to alert when uncovered lines where added to the codebase after each test run.
I'd love to use oneshot coverage for that to make it faster, but noticed that this does not work ...
03/10/2018
-
03:21 AM Ruby Bug #14595 (Closed): Set filename when initializing a logger with a File object to make reopen work
- see https://github.com/rails/rails/issues/32211#issuecomment-371995187
would be great if it could auto-set filename from file.path
or alternatively handle the case of dev being a `File` during reopen
12/05/2016
-
05:44 AM Ruby Bug #13007 (Closed): Webbrick takes 5s to start when machine name looks like a real domain
- sudo scutil --set HostName foo.local
ruby -r socket -e "Socket.gethostbyname(Socket.gethostname)"
or much simpler:
ruby -r socket -e "Socket.gethostbyname('foo.local')"
called from webrick/config.rb:24 ... Utils::getservername
...
09/16/2016
-
11:03 PM Ruby Bug #12771 (Closed): Allow setting max memory consumption
- I want to limit a ruby process to 100mb ... if the limit is reached it should run GC
Already tried various RUBY_ settings but nothing seems to have that effect ... I don't want to sprinkle GC.start all over my codebase :(
06/23/2016
-
10:36 PM Ruby Bug #12480: Restarting Coverage does not capture additional coverage for already loaded files
- Solved this by using Coverage.peek_result in the before-fork part of my code to capture the current state and then merged it after the fork is done :D
Feel free to close this now!
06/10/2016
-
10:47 PM Ruby Bug #12480 (Closed): Restarting Coverage does not capture additional coverage for already loaded files
- I'm trying to combine coverage from before fork and after fork to make coverage reporting work in a forking test runner.
The problem I ran into is 2-fold:
- A: when forking, previous coverage is lost
- B: when restarting coverage, o...
04/22/2016
-
04:19 PM Ruby Bug #12312 (Closed): Make PTY take environment variables like popen does
- Need a PTY that also takes environment variables ... hacking around it with script (which works differently on OSX and Unix) is ugly ...