A quick addendum to 3 dots in 4 places, which asks: Can you name four places where three dots (...) are used in Go? A quick TL;DR of the above is: Variadic function paramatersThat is, a function that takes a variable number of parameters - e.g. func RandomStrings( arguments ...string) Arguments to variadic functionsThis is similar to … Continue reading 3 dots in 5 places #golang
Scaling INET queries in POSTGRESQL
A very common requirement in most SOCs is to compare a given IP address against a table to extract contextual information such as originating country, owning organization and so on. At CyberSift we had a similar challenge. Most geo providers will allow you to download data to a table in this format: CREATE TABLE "ip_loc" … Continue reading Scaling INET queries in POSTGRESQL
You must be logged in to post a comment.