***: hive-mind has joined #arpnetworks
eryc has quit IRC (*.net *.split)
tooth has quit IRC (*.net *.split)
toeshred has quit IRC (*.net *.split)
trobotham has quit IRC (*.net *.split)
pyvpx has quit IRC (*.net *.split)
plett has quit IRC (*.net *.split)
mercutio has quit IRC (*.net *.split)
yuicat has quit IRC (*.net *.split)
joepie91_ has quit IRC (*.net *.split)
relrod has quit IRC (*.net *.split)
karstensrage has quit IRC (*.net *.split)
staticsafe has quit IRC (*.net *.split)
sorressean has quit IRC (*.net *.split)
reardencode has quit IRC (*.net *.split)
kevr has quit IRC (*.net *.split)
relrod has joined #arpnetworks
eryc has joined #arpnetworks
karstensrage has joined #arpnetworks
staticsafe has joined #arpnetworks
toeshred has joined #arpnetworks
tooth has joined #arpnetworks
sorressean has joined #arpnetworks
reardencode has joined #arpnetworks
kevr has joined #arpnetworks
trobotham has joined #arpnetworks
plett has joined #arpnetworks
pyvpx has joined #arpnetworks
mercutio has joined #arpnetworks
yuicat has joined #arpnetworks
joepie91_ has joined #arpnetworks
nylund.freenode.net sets mode: +o mercutio
ziyourenxiang has joined #arpnetworks
up_the_irons: nathani: godaddy wasn't around either, yeah
we go back to 1999
man i was only 19... why did i think starting a hosting company was a good idea, lol...
nathani: what is something you would have done differently looking back now?
***: RandalSchwartz has quit IRC (Ping timeout: 240 seconds)
nathani: tucows acuired the domain registration portion of Melbourne IT - almost 2 million domains
s/acuired/acquired
BryceBot: <nathani> tucows acquired the domain registration portion of Melbourne IT - almost 2 million domains
nathani: ping BryceBot
up_the_irons: nathani: no, not really, i've really enjoyed running this company. been far from easy, but way rewarding.
when one does a tcpdump on an interface with a lot of traffic, is it normal to see dropped packets
?
Like:
81465 packets received by filter
73025 packets dropped by kernel
Like that seems awfully high
***: Nahual has joined #arpnetworks
Lucifer333 has quit IRC (Ping timeout: 248 seconds)
RandalSchwartz has joined #arpnetworks
RandalSchwartz has quit IRC (Changing host)
RandalSchwartz has joined #arpnetworks
ziyourenxiang has quit IRC (Quit: Leaving)
brycec: up_the_irons: normal? Yes. Is that high? also yes.
nathani: from where I'm sitting, BryceBot had replied to your s// within 1 second. https://www.dropbox.com/s/pmvnxijyymtmed8/screenshot_2017-01-06_08-54-09.png?dl=0
BryceBot: Dropbox photo: "https://www.dropbox.com/s/pmvnxijyymtmed8/screenshot_2017-01-06_08-54-09.png?dl=0"
brycec: nathani: unless of you were looking for the @ping command :) (or really, any self-returning command. I prefer @uptime)
@uptime bot
BryceBot: Bot uptime: 3 days, 22 hours, 51 minutes, and 57 seconds.
brycec: (Could BryceBot be faster? For sure. But then it wouldn't be written in PHP which was the whole exercise... an exercise in sadomasochism.)
RandalSchwartz: Next version in InterCal? :)
brycec: Unlikely :P
(Ruby is my language of choice these days, so it would probably be in Ruby if I rewrote it.)
mercutio: i think most of the lag comes from irc rather than the bot
brycec: mercutio: Quite right, but there's still up to 1 second of lag in the bot because it's single-threaded
mercutio: 1 second seems a lot
s/1/one/
BryceBot: <mercutio> one second seems a lot
mercutio: that's pretty quick to me still
brycec: There's a lot for the bot to do in its service loop - checking on channels, getting responses, etc
mercutio: is parsing slow?
just do it in c! :)
brycec: But that completely defeats the very purpose for BryceBot -- to see if I could duplicate qbit's bot using purely PHP
mercutio: ahh
brycec: (Which, btw, I did with great success and continued to add features to it)
It's now something of a Frankenstein's monster :)
qbit: except your bot only does irc, mine does all the chats :D
nbdjs
brycec: But no, lag isn't typically 1 second, but it can get up that high if it's waiting on a database lookup, or an https request.
qbit: Mine does Telegram too :P
qbit: for small values of "does"
i would say it "lurks" :P
brycec: I lost interest before fulling implementing it :P
qbit: uuhuh
mercutio: did you update to the new php?
brycec: @version
version:
-: brycec smacks BryceBot
qbit: haha
brycec: (clearly I don't remember my own bot's commands)
mercutio: i didn't think of waiting on db lookup
does php not have non blocking db lookups?
brycec: Not really, definitely not in the MySQL libs
BryceBot: That's what she said!!
brycec: And BryceBot wasn't written with that degree of async in mind
mercutio: ahh
qbit: my bot is in node, so i had no choice
h9 node
brycec: (Fun fact: http requests are non-blocking because BryceBot has its own scheduler and I can make semi-async requests. But https is much harder to do "by hand" so I never bothered.)
mercutio: i love async coding
or i more i should say i hate synchronous/blocking
brycec: But to keep those https and other high-latency lookups from consuming the bot's time, I have a small number of http endpoints for the bot so it can make an easy http request and come back later, leaving the sync handling to a web server.
mercutio: the problem comes when doing async stuff is you find this or that can block
even though it's normally fast
like dns...
brycec: Anyways, suffice to say, BryceBot is inefficient and ought to be rewritten. Someday.
mercutio: if everything is cached it's sweet, if it's not everything else can stop
***: awyeah has quit IRC (Quit: ZNC - http://znc.in)
awyeah has joined #arpnetworks
Lucifer333 has joined #arpnetworks
nathani: qbit, what other chats are there? Slack? ICQ? FB Messenger? Whatsapp? Google Chat? Hangouts? Skype?
qbit: nathani: matrix/riot, telegram, xmpp
are the ones my bot specifically supports
nathani: is your bot in here?
qbit: nope
nathani: rather where can your bot be found?
qbit: #devious
https://github.com/qbit/mcchunkie
and there
nathani: is there a list of supported commands
qbit: half implemented one via the help command
best bet is looking in the plugins directory
BryceBot: That's what she said!!
qbit: BryceBot: no
BryceBot: Oh, okay... I'm sorry. 'best bet is looking in the plugins directory'
brycec: All these people always demanding lists of commands and capabilities, sheesh :p
RandalSchwartz: I've been hacking FreeBSD for years now, and just today learned about sysrc!
***: ziyourenxiang has joined #arpnetworks
brycec: To be fair, sysrc hasn't been around /that/ long
only since 9.2
***: Lucifer333 has quit IRC (Ping timeout: 240 seconds)
sorressean: RandalSchwartz: I learned about sysrc the other day too.
I just edit all the things.
nathani: @google sysrc
BryceBot: 1,570 total results returned for 'sysrc', here's 3
sysrc (https://www.freebsd.org/cgi/man.cgi?query=sysrc) DESCRIPTION The sysrc utility retrieves rc.conf(5) variables from the collection of system rc files and allows processes with appropriate privilege to change ...
How to control and setup service? (https://lists.freebsd.org/pipermail/freebsd-hackers/2015-August/048178.html) Aug 27, 2015 ... Or realize them because it can be useful for such tools like > service(8), sysrc(8) or even your_new_tool(8), and code written once > would not ...
FreeBSD Quarterly Status Report (https://www.freebsd.org/news/status/report-2013-04-2013-06.html) Userland Programs. bsdconfig(8) and sysrc(8); bsnmpd(1) Support in hastd(8); Capsicum; LLDB Debugger Port. Ports. FreeBSD Haskell Ports; GNOME/ ...
***: Lucifer333 has joined #arpnetworks
Nahual has quit IRC (Quit: Leaving.)
JC_Denton: up_the_irons: idea for trello: 2fa for the customer portal
/1