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)
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)
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)
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)
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)
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)
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)