bug-reporting

Why does IPAddress.MapToIPv4() throw ArgumentOutOfRangeException?

坚强是说给别人听的谎言 提交于 2019-12-04 17:02:36
问题 This code throws an ArgumentOutOfRangeException on the last line var initAddress = IPAddress.Parse("1.65.128.190"); var ipv6Address = initAddress.MapToIPv6(); Assert.IsTrue(ipv6Address.IsIPv4MappedToIPv6); var ipv4Address = ipv6Address.MapToIPv4(); Can anyone explain why MapToIPv6() and MapToIPv4() are not round trip compatible? edit: The exception originates from the IPAddress constructor, called by MapToIPv4(). Also, when the first line is var initAddress = IPAddress.Parse("1.65.128.90");

Explicit specialization in non-namespace scope does not compile in GCC

偶尔善良 提交于 2019-12-03 18:02:02
问题 The following code compiles in Clang but does not in GCC: template<typename T> struct Widget { template<typename U> void foo(U) { } template<> void foo(int*) { } }; According to the C++ standard ([temp.expl.spec], paragraph 2): An explicit specialization may be declared in any scope in which the corresponding primary template may be defined Is this a bug in GCC and if so how can I find it in its bug tracker? This is GCC's output: prog.cc:13:14: error: explicit specialization in non-namespace

Why does IPAddress.MapToIPv4() throw ArgumentOutOfRangeException?

独自空忆成欢 提交于 2019-12-03 11:03:02
This code throws an ArgumentOutOfRangeException on the last line var initAddress = IPAddress.Parse("1.65.128.190"); var ipv6Address = initAddress.MapToIPv6(); Assert.IsTrue(ipv6Address.IsIPv4MappedToIPv6); var ipv4Address = ipv6Address.MapToIPv4(); Can anyone explain why MapToIPv6() and MapToIPv4() are not round trip compatible? edit: The exception originates from the IPAddress constructor, called by MapToIPv4(). Also, when the first line is var initAddress = IPAddress.Parse("1.65.128.90"); no exceptions are thrown anymore edit2: as @Luaan reproduced this, I added the tag [bug-reporting]. Also

SVG stroke-dasharray offset not consistent

走远了吗. 提交于 2019-12-03 10:37:11
I have a series of circles with borders comprised of smaller circles which I will call 'dots'. I am then animating the circles by rotating them with CSS3's transform , each by either 5 or 15 degrees (alternating) more than the last starting with the middle circle not rotating at all. This alternating of degrees is due to the original offset of half of them of 5deg The animation itself works great, but the offset between each dot in a circle is not consistent. This is made obvious when the animation completes, some dots jump back. If they were all off by a consistent amount then it would be an

Which is the best tool for finding bugs in the Java code? [closed]

拟墨画扇 提交于 2019-12-03 03:19:57
I would like to know which tool is best for finding any kind of bugs in my code. I know this may be some what theoretical or never ending question so I would like to modify it in terms of the efficiency of bug reporting (including the naming convention as well). So you can say which tool reports and maximum bugs and if effectively used in the industry? I heard about findbug is it really good? FindBugs is probably one of the most prominent ones and well worth a try. For naming conventions etc, I'd suggest you have a look at CheckStyle . Findbugs is quite good. However, I would recommend using

Issues and contribution for Volley [closed]

冷暖自知 提交于 2019-12-03 02:40:48
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . Since there was this awesome presentation on Volley I tried to include it in a project I am working on. I found myself correcting some bugs I found in the source code that was published. Does anybody know if there is gonna be some GitHub project where one could contribute to the

Issues and contribution for Volley [closed]

拜拜、爱过 提交于 2019-12-02 16:14:46
Since there was this awesome presentation on Volley I tried to include it in a project I am working on. I found myself correcting some bugs I found in the source code that was published. Does anybody know if there is gonna be some GitHub project where one could contribute to the project or is there another way to communicate bugs and feature requests to the developer? Regarding the problems I had with Volley: 1. It seems that redirection does not work as it should: Volley returns an error code 302 instead of redirecting to the location given in the response header. 2. Getting the cache

Where to report PyQT5 bug?

陌路散爱 提交于 2019-11-30 09:48:00
问题 Where can I report bugs related to PyQT5 / QT? For example if object is not emitting signal correctly (on some platforms) as stated in documentation. 回答1: Instructions for reporting Qt bugs can be found here. As for PyQt you can using the PyQt mailing list. 来源: https://stackoverflow.com/questions/44830032/where-to-report-pyqt5-bug

Best Practices for Error Logging and/or reporting for iPhone

烂漫一生 提交于 2019-11-30 06:11:59
问题 When I do web development, I use a custom made logger that catches fatal errors and appends a trace to a file and displays a message to the user. I can occasionally glance to see if the file changed, which means, some user encountered an error and I can dig in to see what they encountered. I'd like something similar on the iphone, with some caveats: While developing, it should be trivial to reset the list of errors or turn off notification. While developing, the error messages should also

Where to report PyQT5 bug?

和自甴很熟 提交于 2019-11-29 16:33:32
Where can I report bugs related to PyQT5 / QT? For example if object is not emitting signal correctly (on some platforms) as stated in documentation. Instructions for reporting Qt bugs can be found here . As for PyQt you can using the PyQt mailing list . 来源: https://stackoverflow.com/questions/44830032/where-to-report-pyqt5-bug