Daniel Swarbrick

Results 298 comments of Daniel Swarbrick

I'm glad I'm not the only one seeing severe performance differences between InfluxQL and Flux. I have a relatively small DB on InfluxDB 2.0 alpha18, which has no trouble ingesting...

If you are going to make use of `math/big`, wouldn't it make more sense to handle the number as `big.Int` (since they are originally integer types), and only convert to...

@rexagod Yes, I'm aware that `int(a) * int(b)` (in the computer programming sense) can under/overflow. I meant more in the _mathematical_ sense - a whole number multiplied by a whole...

Ah, I see that `unix.Statfs_t.Bsize` is either int32 or int64, depending on the host arch - so you will at least need to explicitly cast that to int64 for `SetInt64()`...

@SuperQ Rebased, PTAL.

Rebased, again, due to incoming log/slog migration. PTAL, A.

CircleCI test failures appear to have been transient due to them having a bad day, but I not able to retry the job.

@crazyoptimist The `net.ipv4.ping_group_range` sysctl setting defines the minimum and maximum group IDs which are allowed to create ICMP echo sockets (i.e. `socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP)`) as an alternative to the traditional...

@Tchoupinax Most modern Linux distros set [capabilities](https://man7.org/linux/man-pages/man7/capabilities.7.html) on the `/usr/bin/ping` binary, so that it is permitted to create raw IP sockets. ``` $ getcap /usr/bin/ping /usr/bin/ping cap_net_raw=ep ``` Prior to...