Anonymous
I did haskell for web -> with yesod framewor
Anonymous
So I've been through
Anonymous
servant and acid state for the database
Anonymous
but it also needs a bunch of machine learning stuff
Anonymous
which i am gonna have to implement
Anonymous
but i found making a compiler for something like lisp is a great way to learn the langauge
Manish
/ban
klimi
/ban
hm?
Ибраги́м
U might wanna slap him
klimi
U might wanna slap him
is this a thing?
Ибраги́м
Nah
Ибраги́м
Just joking
klimi
:D
Roxifλsz 🇱🇹
Roxifλsz 🇱🇹
/ban
/slap
Roxifλsz 🇱🇹
Wait, Fuck
klimi
interesting
Roxifλsz 🇱🇹
klimi
/adminlist
klimi
doesnt work either
Roxifλsz 🇱🇹
doesnt work either
Damn, is Marie ded again
Max
guys, how do you fiter tons of bots joining groups?
klimi
jsut part
klimi
this
klimi
you have this in the function
klimi
it would be nice
Max
this
I have a lot of bots joining with long names - they do nothing, but their names contains spam links.
klimi
we just do it manually
klimi
but i think i ill rewrite the welcome module of maria
Anonymous
/slap
i disabled it
Anonymous
no afaik
Roxifλsz 🇱🇹
i disabled it
Was it being abused or smth?
Anonymous
Was it being abused or smth?
nope but when someone would use it .. it would be followed by a series of "BLUE TEXT MUST CLICK"s so i disabled it to avoid spam in advanced
Anonymous
is kinda OT anyways
Anonymous
?
marie isnt dead
klimi
ye
Max
we just do it manually
either you killing them way more faster than me, or not too much bots are trying to breach into this group. if it is a 2nd case, I wonder why I'm not so lucky with my 60 person group :)
klimi
mhm
klimi
only some
Max
I have like 10+ bots with lengthy Chineese names joining each day. Damn.
Anonymous
xD
Anonymous
we are just killin them fast
Max
we are just killin them fast
it is time to automate a process. hell, I just too lazy to write a decend bot for that hehe
Anonymous
log channel is literally filled with bans of those bots
Roxifλsz 🇱🇹
rokas is probably doin it ig ... @roxifas ?
I'll make a bot for that in the evening, at work rn
Anonymous
alright!
Ибраги́м
I don't know why I always feel like using Code::Blocks with it's imperfections
Ибраги́м
Anonymous
Ибраги́м
They provide better Code Completion
klimi
I'll make a bot for that in the evening, at work rn
Wouldn't be simplier modify the Maria bot?
Roxifλsz 🇱🇹
Wouldn't be simplier modify the Maria bot?
Maybe yes, maybe no. I haven't seen Maria's source yet, can't say for sure
klimi
Maybe yes, maybe no. I haven't seen Maria's source yet, can't say for sure
I think it would be easy, just modify the welcome function to filter
Roxifλsz 🇱🇹
I think it would be easy, just modify the welcome function to filter
You see, I'd like the filter to be configurable easily, so more banned names could be added without changing any code, because I'm certain that there will be different spammers in the future
Roxifλsz 🇱🇹
Plus, I'd like to experience how it's like to make my own bot :)
klimi
oh okay
Anonymous
Hello everyone
Ubeid
i do not know if gets is enough
what's wrong with it! I use it all the time
Ubeid
yoou might want to use a scanf
I have defined the library <string.H> .. so it would work fine
Anonymous
gets is not as secure as it can be
Anonymous
for instance where is the length of the array
Anonymous
how will gets know to just not get anymore then this
Anonymous
i personally use: fscanf(stdin, "%[^\n]100s", str);
Dima
using scanf in production
Dima
total rip
Anonymous
this way we have a limit on how many characters can be left
Anonymous
Dima
both
Anonymous
what do you use then?
Dima
made a custom one