Daniel

Results 234 comments of Daniel

This would be killer for templating out config files....

If a case fails, the error message should log the actual content of the failing #[case], or the line number of the #[case] attribute that failed. That would make it...

Fixtures are factory methods, and every time they are called generate a new instance. Of course the #[once] fixture is called once. One way to fix this is have a...

> Added exec and execruntime commands. The exec command lets you simply execute any command on the host operating system as if you were logged in at the command line....

They can do more than that. > Added exec and execruntime commands. The exec command lets you simply execute any command on the host operating system as if you were...

I don't think you grasp how incredibly unsafe this is. You're asking every user out there to ensure they have NAT and a firewall set up properly on their home...

Are you sure you're measuring anything valid? Per Linus' response the code doesn't really measure what the blog poster thinks it's measuring.

If measuring latency is flawed, trying to measure throughput is likely flawed as well.

I would think the best action going forward is ask for help from kernel gurus. Because I don't think any of this is measuring what you think

what about detecting if a trait method `SomeTrait::some_method(x)` has a body, and if it does, simply create a new method like `SomeTrait::some_method__default(x)` which contains the method body. Then if the...