ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
peterhil` has quit [Quit: Must not waste too much time here...]
peterhil has joined #picolisp
peterhil has quit [Quit: Must not waste too much time here...]
peterhil has joined #picolisp
theruran has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #picolisp
_whitelogger has joined #picolisp
_whitelogger has joined #picolisp
_whitelogger has joined #picolisp
_whitelogger has joined #picolisp
<beneroth> Regenaxer, (rel ip (+Key +List +Number)) should be ok, right?
<Regenaxer> yep, if the list is uniqe
<Regenaxer> I never had this case though
<beneroth> for IP addresses
<beneroth> e.g. (127 0 0 1)
<beneroth> (IPv4 to be exact)
<beneroth> I have many botnet attacks on my infrastructure once again. bots doing brute force on customer website administrator logins. so now I like to detect and auto-block some of them, and naturally write the blocked ones into a pilDb
orivej has quit [Ping timeout: 265 seconds]
<Regenaxer> Makes sense
<Regenaxer> Perhaps the IP address as a string is smaller and faster
<aw-> yeah store the IP as a string, no need to complicate that
<beneroth> so did before.. but what about the index?
<beneroth> hm.. you are right
<aw-> also hi ;)
<beneroth> numbers only make sense when I also want to analyse the IP blocks. but I don't need that yet, just some ideas for the future.
<beneroth> hi aw- :)
<beneroth> how are you?
<aw-> you can always convert it in the future if/when you need to analyse it
<aw-> i'm fine thanks
<beneroth> T
<Regenaxer> Hi aw-
<beneroth> while parsing, I check if it is valid numbers, so I can abort if my parsing screws up for some reason (unlikely but just in case)
<beneroth> but yeah, storing as string
_whitelogger has joined #picolisp
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
Regenaxer has quit [Ping timeout: 255 seconds]
Regenaxer has joined #picolisp
orivej has joined #picolisp