General

Profile

BertramScharpf (Bertram Scharpf)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 4 4

Activity

03/31/2025

05:48 AM Ruby Feature #21205: Make File::Stat#birthtime available on Linux
byroot (Jean Boussier) wrote in #note-1:
> Contrary to FreeBSD, on Linux the `birthtime` isn't present in the struct returned by `stat(2)`: https://man7.org/linux/man-pages/man3/stat.3type.html (see how there is no `btime`).
I know. ...
BertramScharpf (Bertram Scharpf)

03/30/2025

07:27 AM Ruby Feature #21205 (Closed): Make File::Stat#birthtime available on Linux
Not that I would run into any problem with it, but this behaviour is confusing:
RbConfig::CONFIG["platform"] #=> "amd64-freebsd14"
(File.birthtime "/").class #=> Time
(File.stat "/").birthtime.class #=> Time
...
BertramScharpf (Bertram Scharpf)

12/31/2024

03:48 AM Ruby Bug #20985: Undefined constant in net/http
nobu (Nobuyoshi Nakada) wrote in #note-1:
> Could you report it to the upstream, https://github.com/ruby/net-http?
Sorry, no. For just removing two lines of code, this report should suffice.
The net-http project currently has 16 ope...
BertramScharpf (Bertram Scharpf)

12/26/2024

07:32 PM Ruby Bug #20985 (Closed): Undefined constant in net/http
```console
$ grep -rnH HTTPAuthenticationError /usr/local/lib/ruby
/usr/local/lib/ruby/site_ruby/3.3/rubygems/vendor/net-http/lib/net/http.rb:2455: raise HTTPAuthenticationError.new('HTTP authentication failed', err)
/usr/local/l...
BertramScharpf (Bertram Scharpf)

12/06/2013

06:38 AM Ruby Bug #9167: Segmentation fault in cleanup
nobu (Nobuyoshi Nakada) wrote:
> Bertram, thank you for reporting this issue.
> ...
Thank you for fixing it.
I'll keep my eyes open.
BertramScharpf (Bertram Scharpf)

11/30/2013

02:20 AM Ruby Feature #9123: Make Numeric#nonzero? behavior consistent with Numeric#zero?
alexeymuranov (Alexey Muranov) wrote:
> Please correct me if i am wrong, but i think that the most useful
> ...
There _is_ _no_ useful part in this proposal. Its only effect is an
endless discussion between people, who embrace Ruby an...
BertramScharpf (Bertram Scharpf)

11/27/2013

09:49 PM Ruby Bug #9167 (Closed): Segmentation fault in cleanup
I don't know whether it is the interpreters fault or mine.
This is what I do:
- Subclassing StandardError in C
- Encapsulating some data into it using Data_Make_Struct
- Raising this exception
- Not catching it by "rescue"...
BertramScharpf (Bertram Scharpf)
07:20 PM Ruby Bug #9101: Reference to unset variable
Reminder: Not one single reaction in more than two weeks. BertramScharpf (Bertram Scharpf)

11/24/2013

01:31 AM Ruby Feature #9123: Make Numeric#nonzero? behavior consistent with Numeric#zero?
alexeymuranov (Alexey Muranov) wrote:
> In my opinion, it is because code is intended mostly for reading, not for writing.
> ...
That's a matter of taste. In my eyes, this code example is beautiful and clear.
It could be more efficien...
BertramScharpf (Bertram Scharpf)

11/21/2013

06:03 AM Ruby Bug #9101: Reference to unset variable
Reminder: Not one single reaction for ten days. BertramScharpf (Bertram Scharpf)

Also available in: Atom