Guillaume Raffin

Results 97 comments of Guillaume Raffin

I can think of a nice way to do that: give a special conversion table to the `ObjectConverter`, taking into account the type (toml value type) and destination type (Java...

yes, that would be a nice feature to offer! Thank you for the proposal. We could take inspiration from [clap](https://docs.rs/clap/latest/clap/struct.Arg.html#method.env) here (also [available in "derive" mode](https://docs.rs/clap/latest/clap/_derive/index.html#arg-attributes), which is analogous to...

Subconfigs are supported, they must be `Config` not `HashMap`: ```java public class MyConfig { public Config commands; } ```

If you or someone else wonder why, let me explain :) A configuration is a hierarchical data structure. You can access its different levels from anywhere with `config.get("parent.child.grandchild")`. To walk...

Hi! I've created #133 to track your feature request about modification tracking. `Config#copy()` is intended to be a shallow copy, in a similar way to `clone()`. A `deepCopy()` or `deepClone()`...

I'm still wondering what the right interface is. One possibility is to add these to Config ```java /** * Puts a deep copy of the given configuration to the root...

Ah that's right, I miscopied some code. The design choice here is: how do you choose the type of the new config. For simple configs that maps a HashMap and...

Note that on some recent laptops, the consumption of the whole machine*, including the screen, is reported by RAPL in `intel-rapl:1`. *or almost: I've used a powermeter to compare

> This is very new information to me and I have never head that RAPL will report such values. Can you cat the name that this domain is assigned to?...

~~Without checking the source code, I guess that `host_power` is the instantaneous power, whereas `energy` is the amount of energy consumed since the last measurement. The instantaneous power is unprecise,...