33 karma · joined Dec 7, 2019 (6y ago) · 13 submissions
comment 3y ago · link · parent
comment 6y ago · link · parent
There is also a command line utility that accompanies the library: https://github.com/nixer-io/nixer-spring-plugin/tree/master/....
comment 6y ago · link · parent
It is not FastAI fault though.
comment 6y ago · link · parent
comment 6y ago · link · parent
When a new exception object is created, the slowest operation is filling information about the stack trace. It is possible to override Exception's fillInStackTrace() with an empty implementation. In this case throwing exceptions with new exception objects, is only slightly slower than using one exception object (17ms vs 15ms for 1M throws).
Deeper stacks make difference even bigger. Adding 100 nested invocations to the stack slow downs the classic approach (a new exception object created just before invocation) to 9 seconds, while alternative approaches are not affected.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Even if we find that life on Mars has common roots with life on Earth, it will be gives us new perspective on early life forms plus we will learn that lifeforms could survive interplanetary trips without special protections.
comment 6y ago · link · parent
comment 6y ago · link · parent
In the longer term (hundreds of years), humanity should be worried exhausting non-renewable resources, but in a shorter perspective the climate change is a bigger concern.