ChanServ changed the topic of ##yamahasynths to: Channel dedicated to questions and discussion of Yamaha FM Synthesizer internals and corresponding REing. Discussion of synthesis methods similar to the Yamaha line of chips, Sound Blasters + clones, PCM chips like RF5C68, and CD theory of operation are also on-topic. Channel logs: https://freenode.irclog.whitequark.org/~h~yamahasynths
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andlabs has joined ##yamahasynths
andlabs has quit [Ping timeout: 265 seconds]
andlabs has joined ##yamahasynths
<cr1901_modern> clients can PING too?
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andlabs has joined ##yamahasynths
ej5 has quit [Quit: Leaving]
<andlabs> oh
<andlabs> those chips I bought from that japanese site came today
<andlabs> not sure what the YM2608s are, they are wrapped in tinfoil for some reason
<Lord_Nightmare> to keep government mind control rays from damaging the fidelity of your FM songs, of course
<Sarayan> ESD protection, more seriously?
<Lord_Nightmare> that's probably it. I've used aluminum foil as a crude antistatic bag replacement befoe
_whitelogger has joined ##yamahasynths
<andlabs> the floppy disk controller chips I bought were not protected
<andlabs> so ?????
<andlabs> *protected like that
iwxzr has quit [Ping timeout: 245 seconds]
iwxzr has joined ##yamahasynths
Xyz39808 has quit [Read error: Connection reset by peer]
Xyz_39808 has joined ##yamahasynths
<whitequark> balrog: your solution only works better for low-traffic servers (since it avoids spurious pings)
<whitequark> otherwise, triggering the watchdog on the user-visible conditions (no messages logged) is better than on user-invisible conditions (no PONG)
<whitequark> i think netsplits can cause lack of messages too
<cr1901_modern> At least you know the bot works when you "turn it off and back on again" :)
<whitequark> yes, exactly
<whitequark> the purpose of the bot is not to handle every possible error in the best possible way. the purpose is to log the damn messages without me being on-call
<whitequark> i'm emphatically uninterested *how* it gets done so long as it does. i wrote the entire thing in like 2 days and spent maybe a week total on it over many years, most of it wasted on bugs in postgres
<whitequark> that's probably my project that brings the absolute largest amount of value per minute spent working on it
<whitequark> since so many people use it
<cr1901_modern> Last time I tried to make a bot for fun, I attempted to make it "disconnect-aware". Turns out that vastly increases the scope of a bot (or it did in my case), and I shelved that project. Might be fun to try it again w/ an async library tho.
<whitequark> a logger is easier to write because of its fire-and-forget nature with only short running responses to any message
<whitequark> so you might actually have to handle many errors in a bot with a wider scope
<cr1901_modern> This was a trivia/game bot that used berkeley DB as a backend (I didn't feel like dealing w/ postgres, okay :P?)
<whitequark> postgres works fine for the most part fwiw
<whitequark> like, my problem is that i stuff like 10 GB of logs into it and expect indexes to work
<whitequark> unless you have 10 GB of trivia you'll probably be fine
<cr1901_modern> more like 1MB, if that.
<cr1901_modern> Most of it was extracted from the Quiz And Dragons ROMs. Another batch came from Grayhound, an early 80's arcade manufacturer that was the front for the mafia. High quality sources.
<whitequark> i'd probably use sqlite then
<whitequark> if i wanted sql specifically
<whitequark> if it's read only then more like json or whatever other plaintext format
<cr1901_modern> Don't remember if it was readonly... seem to recall I was gonna let ppl add their own questions via a bot command (of course, that probably would've been abused)
<cr1901_modern> But the questions were json, so I just dumped them verbatim into BDB and parsed them just-in-time
cr1901_modern has quit [Quit: Leaving.]
cr1901_modern has joined ##yamahasynths
SceneCAT has quit [Quit: *Mreow*]
SceneCAT has joined ##yamahasynths
cr1901_modern has quit [Quit: Leaving.]
cr1901_modern has joined ##yamahasynths
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SceneCAT has quit [Quit: *Mreow*]
andlabs has joined ##yamahasynths
andlabs has quit [Ping timeout: 250 seconds]
SceneCAT has joined ##yamahasynths
andlabs has joined ##yamahasynths
kode54 has quit [Read error: Connection reset by peer]
<balrog> Ah yes, how do you detect netsplits...
<balrog> Could look for a flood of people disconnecting, but easier said than done and yeah scope expands greatly
Xyz_39808 has quit [Read error: Connection reset by peer]
Xyz_39808 has joined ##yamahasynths
Xyz_39808 has quit [Ping timeout: 245 seconds]
Xyz_39808 has joined ##yamahasynths