peterGo

Results 7 comments of peterGo

@spakin: An addendum to your proposal. --- The `time.ParseDuration` function parses Go decimal numbers with an optional fraction part. The function should also parse Go decimal floating-point numbers with an...

The WiFi router is a Netgear R6220: AC1200 WiFi Router (R6220) Dual-Band WiFi Router https://www.netgear.com/home/wifi/routers/r6220/ Support / R6220 R6220 — AC1200 Smart WiFi Router Model / Version: R6220 https://www.netgear.com/support/product/r6220 Documentation...

@bt90 I opened this Syncthing UPnP Port Table issue for a 9-year old (2014) WiFi router. However, Syncthing UPnP Port Table works for a 14-year old (2010) WiFi router. ![wnr2000v3...

@bt90 - `192.168.1.11` is the machine DHCP IP Address - `192.168.201.90` is the router Internet IP Address

> **Q1.** Why is it preferable to use the capacity of the `buf` variable rather than length when instantiating it? Go will zero-out the values anyway won't it? We don't...

> **Q.** Your argument about considering when other developers add more lines inbetween doesn't consider that even if you set buffer to have zero length, inbetween we can still do...

> **Q.** I've done some digging and it looks like the capacity approach doesn't actually help us. When we call `buf[:cap(buf)]` (checked via `fmt.Println(spew.Sdump(buf[:cap(buf)]))`) it looks like we're zeroing-out that...