vic4hub

Results 7 comments of vic4hub

```go package main import ( "time" "log" "github.com/patrickmn/go-cache" ) func main() { gc := cache.New(5 * time.Second, 3 * time.Second) gc.OnEvicted(func(k string, v interface{}) { log.Println("evicting key: ", k, "...

When provided, it is expected for eviction function to run every time key:val pair is evicted - however, if you run my code, you will see it does not happen.

I see where it happens, got to change increment/decrement logic from "if !found || v.Expired() {" to just "if !found" throughout

I agree with @n8jackson this feels like it is going to cripple valid use cases outside of adtech

Consider a scenario where a website utilizes a third-party service for specific functionality, such as a payment gateway or authentication service. These services may operate on separate IP addresses from...

Have a look here https://developer.chrome.com/docs/privacy-sandbox/first-party-sets-integration/#what-is-a-first-party-set and forgive my ignorance, is Safari considering an equivalent?

Amazing work! Sorry for posting in here, I am wondering if this is related to this article: http://www.cnx-software.com/2017/04/30/gpu-accelerated-object-recognition-on-raspberry-pi-3-raspberry-pi-zero/ and if so, whether an example will be made available - it...